@octocodeai/octocode-core 1.0.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configLoader.d.ts +5 -1
- package/dist/data/compressed.js +1 -1
- package/dist/data/default.json +319 -0
- package/dist/index.d.ts +2 -6
- package/dist/index.js +1 -1
- package/dist/schemas/descriptions.d.ts +17 -0
- package/dist/schemas/descriptions.js +1 -0
- package/dist/schemas/extraTypes.d.ts +205 -0
- package/dist/schemas/index.d.ts +431 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/outputs.d.ts +817 -0
- package/dist/schemas/outputs.js +1 -0
- package/dist/schemas/runtime.d.ts +32 -0
- package/dist/schemas/runtime.js +1 -0
- package/dist/types/index.d.ts +383 -0
- package/dist/types/index.js +1 -0
- package/package.json +31 -8
- package/dist/latest/index.d.ts +0 -3
- package/dist/latest/index.js +0 -8
- package/dist/lib/deep-merge.d.ts +0 -7
- package/dist/lib/deep-merge.js +0 -1
- package/dist/metadata-types/metadata.d.ts +0 -44
- package/dist/schemes/base/baseSchema.d.ts +0 -24
- package/dist/schemes/base/baseSchema.js +0 -1
- package/dist/schemes/helpers/githubSchemaHelpers.d.ts +0 -158
- package/dist/schemes/helpers/githubSchemaHelpers.js +0 -1
- package/dist/schemes/helpers/localSchemaHelpers.d.ts +0 -164
- package/dist/schemes/helpers/localSchemaHelpers.js +0 -1
- package/dist/schemes/helpers/lspSchemaBuilders.d.ts +0 -20
- package/dist/schemes/helpers/lspSchemaBuilders.js +0 -1
- package/dist/schemes/helpers/lspSchemaDescriptions.d.ts +0 -5
- package/dist/schemes/helpers/lspSchemaDescriptions.js +0 -1
- package/dist/schemes/helpers/lspSchemaHelpers.d.ts +0 -52
- package/dist/schemes/helpers/lspSchemaHelpers.js +0 -1
- package/dist/schemes/helpers/schemaHelperFactory.d.ts +0 -3
- package/dist/schemes/helpers/schemaHelperFactory.js +0 -1
- package/dist/schemes/index.d.ts +0 -25
- package/dist/schemes/index.js +0 -1
- package/dist/schemes/input/githubCloneRepo.d.ts +0 -33
- package/dist/schemes/input/githubCloneRepo.js +0 -1
- package/dist/schemes/input/githubFetchContent.d.ts +0 -50
- package/dist/schemes/input/githubFetchContent.js +0 -1
- package/dist/schemes/input/githubSearchCode.d.ts +0 -46
- package/dist/schemes/input/githubSearchCode.js +0 -1
- package/dist/schemes/input/githubSearchPullRequests.d.ts +0 -140
- package/dist/schemes/input/githubSearchPullRequests.js +0 -1
- package/dist/schemes/input/githubSearchRepos.d.ts +0 -62
- package/dist/schemes/input/githubSearchRepos.js +0 -1
- package/dist/schemes/input/githubViewRepoStructure.d.ts +0 -40
- package/dist/schemes/input/githubViewRepoStructure.js +0 -1
- package/dist/schemes/input/localFindFiles.d.ts +0 -109
- package/dist/schemes/input/localFindFiles.js +0 -1
- package/dist/schemes/input/localGetFileContent.d.ts +0 -37
- package/dist/schemes/input/localGetFileContent.js +0 -1
- package/dist/schemes/input/localSearchCode.d.ts +0 -143
- package/dist/schemes/input/localSearchCode.js +0 -1
- package/dist/schemes/input/localViewStructure.d.ts +0 -65
- package/dist/schemes/input/localViewStructure.js +0 -1
- package/dist/schemes/input/lspCallHierarchy.d.ts +0 -45
- package/dist/schemes/input/lspCallHierarchy.js +0 -1
- package/dist/schemes/input/lspFindReferences.d.ts +0 -37
- package/dist/schemes/input/lspFindReferences.js +0 -1
- package/dist/schemes/input/lspGotoDefinition.d.ts +0 -31
- package/dist/schemes/input/lspGotoDefinition.js +0 -1
- package/dist/schemes/input/packageSearch.d.ts +0 -79
- package/dist/schemes/input/packageSearch.js +0 -1
- package/dist/schemes/output/outputSchemas.d.ts +0 -1311
- package/dist/schemes/output/outputSchemas.js +0 -1
- package/dist/schemes/output/outputTypes.d.ts +0 -66
- package/dist/schemes/output/outputTypes.js +0 -1
- package/dist/toolMetadata.d.ts +0 -2
- package/dist/toolMetadata.js +0 -1
- package/dist/types.d.ts +0 -54
- package/dist/types.js +0 -1
- package/dist/versionLoader.d.ts +0 -11
- package/dist/versionLoader.js +0 -1
- /package/dist/{metadata-types/metadata.js → schemas/extraTypes.js} +0 -0
package/dist/latest/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import{createRequire as e}from"node:module";import t from"node:process";import{createHmac as n,createPrivateKey as r,randomFillSync as i,randomUUID as o,subtle as a,timingSafeEqual as s}from"node:crypto";import c from"util";import l,{Readable as u}from"stream";import p,{dirname as d,join as m}from"path";import f from"http";import h from"https";import g from"url";import _,{promises as y}from"fs";import v,{createHash as b}from"crypto";import E from"http2";import x from"os";import w from"zlib";import{EventEmitter as A}from"events";import{spawn as T}from"child_process";import{Buffer as S}from"node:buffer";import{readFile as k,stat as C}from"fs/promises";var O,R,D=Object.create,P=Object.defineProperty,F=Object.getOwnPropertyDescriptor,I=Object.getOwnPropertyNames,N=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty,M=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),B=(e,t,n)=>(n=null==e?{}:D(N(e)),((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,o=I(t),a=0,s=o.length;a<s;a++)i=o[a],!L.call(e,i)&&void 0!==i&&P(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(r=F(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?n:P(n,"default",{value:e,enumerable:!0}),e)),U=e(import.meta.url);!function(e){e.assertEqual=e=>{},e.assertIs=function(e){},e.assertNever=function(e){throw Error()},e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(O||={}),(R||={}).mergeShapes=(e,t)=>({...e,...t});const $=O.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),z=e=>{switch(typeof e){case"undefined":return $.undefined;case"string":return $.string;case"number":return Number.isNaN(e)?$.nan:$.number;case"boolean":return $.boolean;case"function":return $.function;case"bigint":return $.bigint;case"symbol":return $.symbol;case"object":return Array.isArray(e)?$.array:null===e?$.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?$.promise:typeof Map<"u"&&e instanceof Map?$.map:typeof Set<"u"&&e instanceof Set?$.set:typeof Date<"u"&&e instanceof Date?$.date:$.object;default:return $.unknown}},G=O.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"]);var j=class e extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(t){if(!(t instanceof e))throw Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,O.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},n=[];for(let r of this.issues)if(r.path.length>0){let n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}};j.create=e=>new j(e);var V=(e,t)=>{let n;switch(e.code){case G.invalid_type:n=e.received===$.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case G.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,O.jsonStringifyReplacer)}`;break;case G.unrecognized_keys:n=`Unrecognized key(s) in object: ${O.joinValues(e.keys,", ")}`;break;case G.invalid_union:n="Invalid input";break;case G.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${O.joinValues(e.options)}`;break;case G.invalid_enum_value:n=`Invalid enum value. Expected ${O.joinValues(e.options)}, received '${e.received}'`;break;case G.invalid_arguments:n="Invalid function arguments";break;case G.invalid_return_type:n="Invalid function return type";break;case G.invalid_date:n="Invalid date";break;case G.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:O.assertNever(e.validation):n="regex"===e.validation?"Invalid":`Invalid ${e.validation}`;break;case G.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case G.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case G.custom:n="Invalid input";break;case G.invalid_intersection_types:n="Intersection results could not be merged";break;case G.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case G.not_finite:n="Number must be finite";break;default:n=t.defaultError,O.assertNever(e)}return{message:n}};let q=V;function H(e,t){let n=q,r=(e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,o=[...n,...i.path||[]],a={...i,path:o};if(void 0!==i.message)return{...i,path:o,message:i.message};let s="",c=r.filter(e=>!!e).slice().reverse();for(let e of c)s=e(a,{data:t,defaultError:s}).message;return{...i,path:o,message:s}})({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===V?void 0:V].filter(e=>!!e)});e.common.issues.push(r)}var K=class e{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if("aborted"===r.status)return W;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(t,n){let r=[];for(let e of n){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return e.mergeObjectSync(t,r)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if("aborted"===t.status||"aborted"===i.status)return W;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}};const W=Object.freeze({status:"aborted"}),X=e=>({status:"dirty",value:e}),Z=e=>({status:"valid",value:e}),Y=e=>"aborted"===e.status,Q=e=>"dirty"===e.status,J=e=>"valid"===e.status,ee=e=>typeof Promise<"u"&&e instanceof Promise;var te;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:e?.message}(te||={});var ne=class{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}};const re=(e,t)=>{if(J(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){return this._error||=new j(e.common.issues),this._error}}};function ie(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{let{message:o}=e;return"invalid_enum_value"===t.code?{message:o??i.defaultError}:void 0===i.data?{message:o??r??i.defaultError}:"invalid_type"===t.code?{message:o??n??i.defaultError}:{message:i.defaultError}},description:i}}var oe=class{get description(){return this._def.description}_getType(e){return z(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:z(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new K,ctx:{common:e.parent.common,data:e.data,parsedType:z(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(ee(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){let n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:z(e)};return re(n,this._parseSync({data:e,path:n.path,parent:n}))}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:z(e)};if(!this["~standard"].async)try{let n=this._parseSync({data:e,path:[],parent:t});return J(n)?{value:n.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>J(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:z(e)},r=this._parse({data:e,path:n.path,parent:n});return re(n,await(ee(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{let i=e(t),o=()=>r.addIssue({code:G.custom,...n(t)});return typeof Promise<"u"&&i instanceof Promise?i.then(e=>!!e||(o(),!1)):!!i||(o(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new it({schema:this,typeName:ut.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}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),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return ot.create(this,this._def)}nullable(){return at.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Ge.create(this)}promise(){return rt.create(this,this._def)}or(e){return qe.create([this,e],this._def)}and(e){return We.create(this,e,this._def)}transform(e){return new it({...ie(this._def),schema:this,typeName:ut.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t="function"==typeof e?e:()=>e;return new st({...ie(this._def),innerType:this,defaultValue:t,typeName:ut.ZodDefault})}brand(){return new pt({typeName:ut.ZodBranded,type:this,...ie(this._def)})}catch(e){let t="function"==typeof e?e:()=>e;return new ct({...ie(this._def),innerType:this,catchValue:t,typeName:ut.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return dt.create(this,e)}readonly(){return mt.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}};const ae=/^c[^\s-]{8,}$/i,se=/^[0-9a-z]+$/,ce=/^[0-9A-HJKMNP-TV-Z]{26}$/i,le=/^[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,ue=/^[a-z0-9_-]{21}$/i,pe=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,de=/^[-+]?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)?)??$/,me=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let fe;const he=/^(?:(?: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])$/,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])\/(3[0-2]|[12]?[0-9])$/,_e=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,ye=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ve=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,be=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Ee="((\\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])))",xe=RegExp(`^${Ee}$`);function we(e){let t="[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision??(t=`${t}(\\.\\d+)?`),`([01]\\d|2[0-3]):[0-5]\\d(:${t})${e.precision?"+":"?"}`}function Ae(e){return RegExp(`^${we(e)}$`)}function Te(e){let t=`${Ee}T${we(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,RegExp(`^${t}$`)}function Se(e,t){return!(("v4"!==t&&t||!he.test(e))&&("v6"!==t&&t||!_e.test(e)))}function ke(e,t){if(!pe.test(e))return!1;try{let[n]=e.split(".");if(!n)return!1;let r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),i=JSON.parse(atob(r));return!("object"!=typeof i||!i||"typ"in i&&"JWT"!==i?.typ||!i.alg||t&&i.alg!==t)}catch{return!1}}function Ce(e,t){return!(("v4"!==t&&t||!ge.test(e))&&("v6"!==t&&t||!ye.test(e)))}var Oe=class e extends oe{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==$.string){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.string,received:t.parsedType}),W}let t,n=new K;for(let r of this._def.checks)if("min"===r.kind)e.data.length<r.value&&(t=this._getOrReturnCtx(e,t),H(t,{code:G.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),n.dirty());else if("max"===r.kind)e.data.length>r.value&&(t=this._getOrReturnCtx(e,t),H(t,{code:G.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),n.dirty());else if("length"===r.kind){let i=e.data.length>r.value,o=e.data.length<r.value;(i||o)&&(t=this._getOrReturnCtx(e,t),i?H(t,{code:G.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):o&&H(t,{code:G.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),n.dirty())}else if("email"===r.kind)me.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"email",code:G.invalid_string,message:r.message}),n.dirty());else if("emoji"===r.kind)fe||=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u"),fe.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"emoji",code:G.invalid_string,message:r.message}),n.dirty());else if("uuid"===r.kind)le.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"uuid",code:G.invalid_string,message:r.message}),n.dirty());else if("nanoid"===r.kind)ue.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"nanoid",code:G.invalid_string,message:r.message}),n.dirty());else if("cuid"===r.kind)ae.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"cuid",code:G.invalid_string,message:r.message}),n.dirty());else if("cuid2"===r.kind)se.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"cuid2",code:G.invalid_string,message:r.message}),n.dirty());else if("ulid"===r.kind)ce.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"ulid",code:G.invalid_string,message:r.message}),n.dirty());else if("url"===r.kind)try{new URL(e.data)}catch{t=this._getOrReturnCtx(e,t),H(t,{validation:"url",code:G.invalid_string,message:r.message}),n.dirty()}else"regex"===r.kind?(r.regex.lastIndex=0,r.regex.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"regex",code:G.invalid_string,message:r.message}),n.dirty())):"trim"===r.kind?e.data=e.data.trim():"includes"===r.kind?e.data.includes(r.value,r.position)||(t=this._getOrReturnCtx(e,t),H(t,{code:G.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),n.dirty()):"toLowerCase"===r.kind?e.data=e.data.toLowerCase():"toUpperCase"===r.kind?e.data=e.data.toUpperCase():"startsWith"===r.kind?e.data.startsWith(r.value)||(t=this._getOrReturnCtx(e,t),H(t,{code:G.invalid_string,validation:{startsWith:r.value},message:r.message}),n.dirty()):"endsWith"===r.kind?e.data.endsWith(r.value)||(t=this._getOrReturnCtx(e,t),H(t,{code:G.invalid_string,validation:{endsWith:r.value},message:r.message}),n.dirty()):"datetime"===r.kind?Te(r).test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{code:G.invalid_string,validation:"datetime",message:r.message}),n.dirty()):"date"===r.kind?xe.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{code:G.invalid_string,validation:"date",message:r.message}),n.dirty()):"time"===r.kind?Ae(r).test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{code:G.invalid_string,validation:"time",message:r.message}),n.dirty()):"duration"===r.kind?de.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"duration",code:G.invalid_string,message:r.message}),n.dirty()):"ip"===r.kind?Se(e.data,r.version)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"ip",code:G.invalid_string,message:r.message}),n.dirty()):"jwt"===r.kind?ke(e.data,r.alg)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"jwt",code:G.invalid_string,message:r.message}),n.dirty()):"cidr"===r.kind?Ce(e.data,r.version)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"cidr",code:G.invalid_string,message:r.message}),n.dirty()):"base64"===r.kind?ve.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"base64",code:G.invalid_string,message:r.message}),n.dirty()):"base64url"===r.kind?be.test(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{validation:"base64url",code:G.invalid_string,message:r.message}),n.dirty()):O.assertNever(r);return{status:n.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:G.invalid_string,...te.errToObj(n)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(e){return this._addCheck({kind:"email",...te.errToObj(e)})}url(e){return this._addCheck({kind:"url",...te.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...te.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...te.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...te.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...te.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...te.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...te.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...te.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...te.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...te.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...te.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...te.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...te.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...te.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...te.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...te.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...te.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...te.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...te.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...te.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...te.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...te.errToObj(t)})}nonempty(e){return this.min(1,te.errToObj(e))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}};function Re(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}Oe.create=e=>new Oe({checks:[],typeName:ut.ZodString,coerce:e?.coerce??!1,...ie(e)});var De=class e extends oe{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)),this._getType(e)!==$.number){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.number,received:t.parsedType}),W}let t,n=new K;for(let r of this._def.checks)"int"===r.kind?O.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{code:G.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),H(t,{code:G.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),H(t,{code:G.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==Re(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),H(t,{code:G.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{code:G.not_finite,message:r.message}),n.dirty()):O.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,te.toString(t))}gt(e,t){return this.setLimit("min",e,!1,te.toString(t))}lte(e,t){return this.setLimit("max",e,!0,te.toString(t))}lt(e,t){return this.setLimit("max",e,!1,te.toString(t))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:te.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(e){return this._addCheck({kind:"int",message:te.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:te.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:te.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:te.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:te.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:te.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:te.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:-(2**53-1),message:te.toString(e)})._addCheck({kind:"max",inclusive:!0,value:2**53-1,message:te.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&O.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}};De.create=e=>new De({checks:[],typeName:ut.ZodNumber,coerce:e?.coerce||!1,...ie(e)});var Pe=class e extends oe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==$.bigint)return this._getInvalidInput(e);let t,n=new K;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),H(t,{code:G.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),H(t,{code:G.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),H(t,{code:G.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):O.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.bigint,received:t.parsedType}),W}gte(e,t){return this.setLimit("min",e,!0,te.toString(t))}gt(e,t){return this.setLimit("min",e,!1,te.toString(t))}lte(e,t){return this.setLimit("max",e,!0,te.toString(t))}lt(e,t){return this.setLimit("max",e,!1,te.toString(t))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:te.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:te.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:te.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:te.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:te.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:te.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}};Pe.create=e=>new Pe({checks:[],typeName:ut.ZodBigInt,coerce:e?.coerce??!1,...ie(e)});var Fe=class extends oe{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==$.boolean){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.boolean,received:t.parsedType}),W}return Z(e.data)}};Fe.create=e=>new Fe({typeName:ut.ZodBoolean,coerce:e?.coerce||!1,...ie(e)});var Ie=class e extends oe{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==$.date){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.date,received:t.parsedType}),W}if(Number.isNaN(e.data.getTime()))return H(this._getOrReturnCtx(e),{code:G.invalid_date}),W;let t,n=new K;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(t=this._getOrReturnCtx(e,t),H(t,{code:G.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),n.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(t=this._getOrReturnCtx(e,t),H(t,{code:G.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):O.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:te.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:te.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null==e?null:new Date(e)}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null==e?null:new Date(e)}};Ie.create=e=>new Ie({checks:[],coerce:e?.coerce||!1,typeName:ut.ZodDate,...ie(e)});var Ne=class extends oe{_parse(e){if(this._getType(e)!==$.symbol){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.symbol,received:t.parsedType}),W}return Z(e.data)}};Ne.create=e=>new Ne({typeName:ut.ZodSymbol,...ie(e)});var Le=class extends oe{_parse(e){if(this._getType(e)!==$.undefined){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.undefined,received:t.parsedType}),W}return Z(e.data)}};Le.create=e=>new Le({typeName:ut.ZodUndefined,...ie(e)});var Me=class extends oe{_parse(e){if(this._getType(e)!==$.null){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.null,received:t.parsedType}),W}return Z(e.data)}};Me.create=e=>new Me({typeName:ut.ZodNull,...ie(e)});var Be=class extends oe{constructor(){super(...arguments),this._any=!0}_parse(e){return Z(e.data)}};Be.create=e=>new Be({typeName:ut.ZodAny,...ie(e)});var Ue=class extends oe{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Z(e.data)}};Ue.create=e=>new Ue({typeName:ut.ZodUnknown,...ie(e)});var $e=class extends oe{_parse(e){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.never,received:t.parsedType}),W}};$e.create=e=>new $e({typeName:ut.ZodNever,...ie(e)});var ze=class extends oe{_parse(e){if(this._getType(e)!==$.undefined){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.void,received:t.parsedType}),W}return Z(e.data)}};ze.create=e=>new ze({typeName:ut.ZodVoid,...ie(e)});var Ge=class e extends oe{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==$.array)return H(t,{code:G.invalid_type,expected:$.array,received:t.parsedType}),W;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&(H(t,{code:e?G.too_big:G.too_small,minimum:i?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(H(t,{code:G.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(H(t,{code:G.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new ne(t,e,t.path,n)))).then(e=>K.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new ne(t,e,t.path,n)));return K.mergeArray(n,i)}get element(){return this._def.type}min(t,n){return new e({...this._def,minLength:{value:t,message:te.toString(n)}})}max(t,n){return new e({...this._def,maxLength:{value:t,message:te.toString(n)}})}length(t,n){return new e({...this._def,exactLength:{value:t,message:te.toString(n)}})}nonempty(e){return this.min(1,e)}};function je(e){if(e instanceof Ve){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=ot.create(je(r))}return new Ve({...e._def,shape:()=>t})}return e instanceof Ge?new Ge({...e._def,type:je(e.element)}):e instanceof ot?ot.create(je(e.unwrap())):e instanceof at?at.create(je(e.unwrap())):e instanceof Xe?Xe.create(e.items.map(e=>je(e))):e}Ge.create=(e,t)=>new Ge({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ut.ZodArray,...ie(t)});var Ve=class e extends oe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape();return this._cached={shape:e,keys:O.objectKeys(e)},this._cached}_parse(e){if(this._getType(e)!==$.object){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.object,received:t.parsedType}),W}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),o=[];if(!(this._def.catchall instanceof $e&&"strip"===this._def.unknownKeys))for(let e in n.data)i.includes(e)||o.push(e);let a=[];for(let e of i){let t=r[e],i=n.data[e];a.push({key:{status:"valid",value:e},value:t._parse(new ne(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof $e){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of o)a.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)o.length>0&&(H(n,{code:G.unrecognized_keys,keys:o}),t.dirty());else if("strip"!==e)throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of o){let r=n.data[t];a.push({key:{status:"valid",value:t},value:e._parse(new ne(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of a){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>K.mergeObjectSync(t,e)):K.mergeObjectSync(t,a)}get shape(){return this._def.shape()}strict(t){return te.errToObj,new e({...this._def,unknownKeys:"strict",...void 0===t?{}:{errorMap:(e,n)=>{let r=this._def.errorMap?.(e,n).message??n.defaultError;return"unrecognized_keys"===e.code?{message:te.errToObj(t).message??r}:{message:r}}}})}strip(){return new e({...this._def,unknownKeys:"strip"})}passthrough(){return new e({...this._def,unknownKeys:"passthrough"})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ut.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let n={};for(let e of O.objectKeys(t))t[e]&&this.shape[e]&&(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}omit(t){let n={};for(let e of O.objectKeys(this.shape))t[e]||(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}deepPartial(){return je(this)}partial(t){let n={};for(let e of O.objectKeys(this.shape)){let r=this.shape[e];t&&!t[e]?n[e]=r:n[e]=r.optional()}return new e({...this._def,shape:()=>n})}required(t){let n={};for(let e of O.objectKeys(this.shape))if(t&&!t[e])n[e]=this.shape[e];else{let t=this.shape[e];for(;t instanceof ot;)t=t._def.innerType;n[e]=t}return new e({...this._def,shape:()=>n})}keyof(){return et(O.objectKeys(this.shape))}};Ve.create=(e,t)=>new Ve({shape:()=>e,unknownKeys:"strip",catchall:$e.create(),typeName:ut.ZodObject,...ie(t)}),Ve.strictCreate=(e,t)=>new Ve({shape:()=>e,unknownKeys:"strict",catchall:$e.create(),typeName:ut.ZodObject,...ie(t)}),Ve.lazycreate=(e,t)=>new Ve({shape:e,unknownKeys:"strip",catchall:$e.create(),typeName:ut.ZodObject,...ie(t)});var qe=class extends oe{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new j(e.ctx.common.issues));return H(t,{code:G.invalid_union,unionErrors:n}),W});{let e,r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},o=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===o.status)return o;"dirty"===o.status&&!e&&(e={result:o,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new j(e));return H(t,{code:G.invalid_union,unionErrors:i}),W}}get options(){return this._def.options}};qe.create=(e,t)=>new qe({options:e,typeName:ut.ZodUnion,...ie(t)});const He=e=>e instanceof Qe?He(e.schema):e instanceof it?He(e.innerType()):e instanceof Je?[e.value]:e instanceof tt?e.options:e instanceof nt?O.objectValues(e.enum):e instanceof st?He(e._def.innerType):e instanceof Le?[void 0]:e instanceof Me?[null]:e instanceof ot?[void 0,...He(e.unwrap())]:e instanceof at?[null,...He(e.unwrap())]:e instanceof pt||e instanceof mt?He(e.unwrap()):e instanceof ct?He(e._def.innerType):[];function Ke(e,t){let n=z(e),r=z(t);if(e===t)return{valid:!0,data:e};if(n===$.object&&r===$.object){let n=O.objectKeys(t),r=O.objectKeys(e).filter(e=>-1!==n.indexOf(e)),i={...e,...t};for(let n of r){let r=Ke(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}if(n===$.array&&r===$.array){if(e.length!==t.length)return{valid:!1};let n=[];for(let r=0;r<e.length;r++){let i=Ke(e[r],t[r]);if(!i.valid)return{valid:!1};n.push(i.data)}return{valid:!0,data:n}}return n===$.date&&r===$.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}var We=class extends oe{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(Y(e)||Y(r))return W;let i=Ke(e.value,r.value);return i.valid?((Q(e)||Q(r))&&t.dirty(),{status:t.value,value:i.data}):(H(n,{code:G.invalid_intersection_types}),W)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};We.create=(e,t,n)=>new We({left:e,right:t,typeName:ut.ZodIntersection,...ie(n)});var Xe=class e extends oe{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==$.array)return H(n,{code:G.invalid_type,expected:$.array,received:n.parsedType}),W;if(n.data.length<this._def.items.length)return H(n,{code:G.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),W;!this._def.rest&&n.data.length>this._def.items.length&&(H(n,{code:G.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new ne(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>K.mergeArray(t,e)):K.mergeArray(t,r)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}};Xe.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new Xe({items:e,typeName:ut.ZodTuple,rest:null,...ie(t)})};var Ze=class extends oe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==$.map)return H(n,{code:G.invalid_type,expected:$.map,received:n.parsedType}),W;let r=this._def.keyType,i=this._def.valueType,o=[...n.data.entries()].map(([e,t],o)=>({key:r._parse(new ne(n,e,n.path,[o,"key"])),value:i._parse(new ne(n,t,n.path,[o,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of o){let r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return W;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of o){let r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return W;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}};Ze.create=(e,t,n)=>new Ze({valueType:t,keyType:e,typeName:ut.ZodMap,...ie(n)});var Ye=class e extends oe{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==$.set)return H(n,{code:G.invalid_type,expected:$.set,received:n.parsedType}),W;let r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(H(n,{code:G.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(H(n,{code:G.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function o(e){let n=new Set;for(let r of e){if("aborted"===r.status)return W;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let a=[...n.data.values()].map((e,t)=>i._parse(new ne(n,e,n.path,t)));return n.common.async?Promise.all(a).then(e=>o(e)):o(a)}min(t,n){return new e({...this._def,minSize:{value:t,message:te.toString(n)}})}max(t,n){return new e({...this._def,maxSize:{value:t,message:te.toString(n)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}};Ye.create=(e,t)=>new Ye({valueType:e,minSize:null,maxSize:null,typeName:ut.ZodSet,...ie(t)});var Qe=class extends oe{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}};Qe.create=(e,t)=>new Qe({getter:e,typeName:ut.ZodLazy,...ie(t)});var Je=class extends oe{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return H(t,{received:t.data,code:G.invalid_literal,expected:this._def.value}),W}return{status:"valid",value:e.data}}get value(){return this._def.value}};function et(e,t){return new tt({values:e,typeName:ut.ZodEnum,...ie(t)})}Je.create=(e,t)=>new Je({value:e,typeName:ut.ZodLiteral,...ie(t)});var tt=class e extends oe{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return H(t,{expected:O.joinValues(n),received:t.parsedType,code:G.invalid_type}),W}if(this._cache||=new Set(this._def.values),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return H(t,{received:t.data,code:G.invalid_enum_value,options:n}),W}return Z(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(t,n=this._def){return e.create(t,{...this._def,...n})}exclude(t,n=this._def){return e.create(this.options.filter(e=>!t.includes(e)),{...this._def,...n})}};tt.create=et;var nt=class extends oe{_parse(e){let t=O.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==$.string&&n.parsedType!==$.number){let e=O.objectValues(t);return H(n,{expected:O.joinValues(e),received:n.parsedType,code:G.invalid_type}),W}if(this._cache||=new Set(O.getValidEnumValues(this._def.values)),!this._cache.has(e.data)){let e=O.objectValues(t);return H(n,{received:n.data,code:G.invalid_enum_value,options:e}),W}return Z(e.data)}get enum(){return this._def.values}};nt.create=(e,t)=>new nt({values:e,typeName:ut.ZodNativeEnum,...ie(t)});var rt=class extends oe{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==$.promise&&!1===t.common.async?(H(t,{code:G.invalid_type,expected:$.promise,received:t.parsedType}),W):Z((t.parsedType===$.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}};rt.create=(e,t)=>new rt({type:e,typeName:ut.ZodPromise,...ie(t)});var it=class extends oe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ut.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{H(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===r.type){let e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return W;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?W:"dirty"===r.status||"dirty"===t.value?X(r.value):r});{if("aborted"===t.value)return W;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?W:"dirty"===r.status||"dirty"===t.value?X(r.value):r}}if("refinement"===r.type){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?W:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?W:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if("transform"===r.type){if(!1===n.common.async){let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!J(e))return W;let o=r.transform(e.value,i);if(o instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>J(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):W)}O.assertNever(r)}};it.create=(e,t,n)=>new it({schema:e,typeName:ut.ZodEffects,effect:t,...ie(n)}),it.createWithPreprocess=(e,t,n)=>new it({schema:t,effect:{type:"preprocess",transform:e},typeName:ut.ZodEffects,...ie(n)});var ot=class extends oe{_parse(e){return this._getType(e)===$.undefined?Z(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};ot.create=(e,t)=>new ot({innerType:e,typeName:ut.ZodOptional,...ie(t)});var at=class extends oe{_parse(e){return this._getType(e)===$.null?Z(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};at.create=(e,t)=>new at({innerType:e,typeName:ut.ZodNullable,...ie(t)});var st=class extends oe{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===$.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}};st.create=(e,t)=>new st({innerType:e,typeName:ut.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...ie(t)});var ct=class extends oe{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return ee(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new j(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new j(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};ct.create=(e,t)=>new ct({innerType:e,typeName:ut.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...ie(t)});var lt=class extends oe{_parse(e){if(this._getType(e)!==$.nan){let t=this._getOrReturnCtx(e);return H(t,{code:G.invalid_type,expected:$.nan,received:t.parsedType}),W}return{status:"valid",value:e.data}}};lt.create=e=>new lt({typeName:ut.ZodNaN,...ie(e)});var ut,pt=class extends oe{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}},dt=class e extends oe{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?W:"dirty"===e.status?(t.dirty(),X(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?W:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(t,n){return new e({in:t,out:n,typeName:ut.ZodPipeline})}},mt=class extends oe{_parse(e){let t=this._def.innerType._parse(e),n=e=>(J(e)&&(e.value=Object.freeze(e.value)),e);return ee(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}};mt.create=(e,t)=>new mt({innerType:e,typeName:ut.ZodReadonly,...ie(t)}),Ve.lazycreate,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"}(ut||={});const ft=Oe.create,ht=De.create;lt.create,Pe.create;const gt=Fe.create;Ie.create,Ne.create,Le.create,Me.create,Be.create,Ue.create,$e.create,ze.create;const _t=Ge.create,yt=Ve.create;Ve.strictCreate;const vt=qe.create,bt=class e extends oe{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==$.object)return H(t,{code:G.invalid_type,expected:$.object,received:t.parsedType}),W;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(H(t,{code:G.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),W)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){let i=new Map;for(let e of n){let n=He(e.shape[t]);if(!n.length)throw Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let r of n){if(i.has(r))throw Error(`Discriminator property ${String(t)} has duplicate value ${String(r)}`);i.set(r,e)}}return new e({typeName:ut.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...ie(r)})}}.create;We.create,Xe.create;const Et=class e extends oe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==$.object)return H(n,{code:G.invalid_type,expected:$.object,received:n.parsedType}),W;let r=[],i=this._def.keyType,o=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new ne(n,e,n.path,e)),value:o._parse(new ne(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?K.mergeObjectAsync(t,r):K.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(t,n,r){return new e(n instanceof oe?{keyType:t,valueType:n,typeName:ut.ZodRecord,...ie(r)}:{keyType:Oe.create(),valueType:t,typeName:ut.ZodRecord,...ie(n)})}}.create;Ze.create,Ye.create,Qe.create;const xt=Je.create,wt=tt.create;function At(e,t,n){function r(n,r){var i;for(let o in Object.defineProperty(n,"_zod",{value:n._zod??{},enumerable:!1}),(i=n._zod).traits??(i.traits=new Set),n._zod.traits.add(e),t(n,r),a.prototype)o in n||Object.defineProperty(n,o,{value:a.prototype[o].bind(n)});n._zod.constr=a,n._zod.def=r}let i=n?.Parent??Object;class o extends i{}function a(e){var t;let i=n?.Parent?new o:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,"name",{value:e}),Object.defineProperty(a,"init",{value:r}),Object.defineProperty(a,Symbol.hasInstance,{value:t=>!!(n?.Parent&&t instanceof n.Parent)||t?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}nt.create,rt.create,it.create,ot.create,at.create,it.createWithPreprocess,dt.create,Object.freeze({status:"aborted"});var Tt=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};const St={};function kt(e){return e&&Object.assign(St,e),St}function Ct(e){let t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,n])=>-1===t.indexOf(+e)).map(([e,t])=>t)}function Ot(e,t){return"bigint"==typeof t?t.toString():t}function Rt(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function Dt(e){return null==e}function Pt(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function Ft(e,t,n){Object.defineProperty(e,t,{get(){{let r=n();return e[t]=r,r}},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function It(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Nt(e){return JSON.stringify(e)}const Lt=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function Mt(e){return"object"==typeof e&&!!e&&!Array.isArray(e)}const Bt=Rt(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch{return!1}});function Ut(e){if(!1===Mt(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!(!1===Mt(n)||!1===Object.prototype.hasOwnProperty.call(n,"isPrototypeOf"))}const $t=new Set(["string","number","symbol"]);function zt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Gt(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function jt(e){let t=e;if(!t)return{};if("string"==typeof t)return{error:()=>t};if(void 0!==t?.message){if(void 0!==t?.error)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,"string"==typeof t.error?{...t,error:()=>t.error}:t}const Vt={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function qt(e,t=0){for(let n=t;n<e.issues.length;n++)if(!0!==e.issues[n]?.continue)return!0;return!1}function Ht(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Kt(e){return"string"==typeof e?e:e?.message}function Wt(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=Kt(e.inst?._zod.def?.error?.(e))??Kt(t?.error?.(e))??Kt(n.customError?.(e))??Kt(n.localeError?.(e))??"Invalid input"),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function Xt(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function Zt(...e){let[t,n,r]=e;return"string"==typeof t?{message:t,code:"custom",input:n,inst:r}:{...t}}const Yt=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),Object.defineProperty(e,"message",{get:()=>JSON.stringify(t,Ot,2),enumerable:!0}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Qt=At("$ZodError",Yt),Jt=At("$ZodError",Yt,{Parent:Error}),en=e=>(t,n,r,i)=>{let o=r?Object.assign(r,{async:!1}):{async:!1},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise)throw new Tt;if(a.issues.length){let t=new(i?.Err??e)(a.issues.map(e=>Wt(e,o,kt())));throw Lt(t,i?.callee),t}return a.value},tn=en(Jt),nn=e=>async(t,n,r,i)=>{let o=r?Object.assign(r,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){let t=new(i?.Err??e)(a.issues.map(e=>Wt(e,o,kt())));throw Lt(t,i?.callee),t}return a.value},rn=nn(Jt),on=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},i);if(o instanceof Promise)throw new Tt;return o.issues.length?{success:!1,error:new(e??Qt)(o.issues.map(e=>Wt(e,i,kt())))}:{success:!0,data:o.value}},an=on(Jt),sn=e=>async(t,n,r)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},i);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(e=>Wt(e,i,kt())))}:{success:!0,data:o.value}},cn=sn(Jt),ln=/^[cC][^\s-]{8,}$/,un=/^[0-9a-z]+$/,pn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,dn=/^[0-9a-vA-V]{20}$/,mn=/^[A-Za-z0-9]{27}$/,fn=/^[a-zA-Z0-9_-]{21}$/,hn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,gn=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,_n=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/,yn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,vn=/^(?:(?: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])$/,bn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,En=/^((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])\/([0-9]|[1-2][0-9]|3[0-2])$/,xn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,wn=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,An=/^[A-Za-z0-9_-]*$/,Tn=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,Sn=/^\+(?:[0-9]){6,14}[0-9]$/,kn="(?:(?:\\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])))",Cn=RegExp(`^${kn}$`);function On(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}const Rn=/^\d+$/,Dn=/^-?\d+(?:\.\d+)?/i,Pn=/true|false/i,Fn=/null/i,In=/^[^A-Z]*$/,Nn=/^[^a-z]*$/,Ln=At("$ZodCheck",(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Mn={number:"number",bigint:"bigint",object:"date"},Bn=At("$ZodCheckLessThan",(e,t)=>{Ln.init(e,t);let n=Mn[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Un=At("$ZodCheckGreaterThan",(e,t)=>{Ln.init(e,t);let n=Mn[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),$n=At("$ZodCheckMultipleOf",(e,t)=>{Ln.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof n.value?n.value%t.value===BigInt(0):0===function(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}(n.value,t.value))||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),zn=At("$ZodCheckNumberFormat",(e,t)=>{Ln.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),r=n?"int":"number",[i,o]=Vt[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=o,n&&(r.pattern=Rn)}),e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s))return void a.issues.push({expected:r,format:t.format,code:"invalid_type",input:s,inst:e});if(!Number.isSafeInteger(s))return void(s>0?a.issues.push({input:s,code:"too_big",maximum:2**53-1,note:"Integers must be within the safe integer range.",inst:e,origin:r,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:-(2**53-1),note:"Integers must be within the safe integer range.",inst:e,origin:r,continue:!t.abort}))}s<i&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>o&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inst:e})}}),Gn=At("$ZodCheckMaxLength",(e,t)=>{var n;Ln.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!Dt(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=Xt(r);n.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),jn=At("$ZodCheckMinLength",(e,t)=>{var n;Ln.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!Dt(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=Xt(r);n.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Vn=At("$ZodCheckLengthEquals",(e,t)=>{var n;Ln.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!Dt(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let o=Xt(r),a=i>t.length;n.issues.push({origin:o,...a?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),qn=At("$ZodCheckStringFormat",(e,t)=>{var n,r;Ln.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Hn=At("$ZodCheckRegex",(e,t)=>{qn.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Kn=At("$ZodCheckLowerCase",(e,t)=>{t.pattern??=In,qn.init(e,t)}),Wn=At("$ZodCheckUpperCase",(e,t)=>{t.pattern??=Nn,qn.init(e,t)}),Xn=At("$ZodCheckIncludes",(e,t)=>{Ln.init(e,t);let n=zt(t.includes),r=new RegExp("number"==typeof t.position?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Zn=At("$ZodCheckStartsWith",(e,t)=>{Ln.init(e,t);let n=RegExp(`^${zt(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Yn=At("$ZodCheckEndsWith",(e,t)=>{Ln.init(e,t);let n=RegExp(`.*${zt(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Qn=At("$ZodCheckOverwrite",(e,t)=>{Ln.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});var Jn=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if("function"==typeof e)return e(this,{execution:"sync"}),void e(this,{execution:"async"});let t=e.split("\n").filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>" ".repeat(2*this.indent)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[""]).map(e=>` ${e}`)];return new e(...t,n.join("\n"))}};const er={major:4,minor:0,patch:0},tr=At("$ZodType",(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=er;let r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(0===r.length)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r,i=qt(e);for(let o of t){if(o._zod.def.when){if(!o._zod.def.when(e))continue}else if(i)continue;let t=e.issues.length,a=o._zod.check(e);if(a instanceof Promise&&!1===n?.async)throw new Tt;if(r||a instanceof Promise)r=(r??Promise.resolve()).then(async()=>{await a,e.issues.length!==t&&(i||=qt(e,t))});else{if(e.issues.length===t)continue;i||=qt(e,t)}}return r?r.then(()=>e):e};e._zod.run=(n,i)=>{let o=e._zod.parse(n,i);if(o instanceof Promise){if(!1===i.async)throw new Tt;return o.then(e=>t(e,r,i))}return t(o,r,i)}}e["~standard"]={validate:t=>{try{let n=an(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return cn(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}}),nr=At("$ZodString",(e,t)=>{tr.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??(e=>RegExp(`^${e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*"}$`))(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return"string"==typeof n.value||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),rr=At("$ZodStringFormat",(e,t)=>{qn.init(e,t),nr.init(e,t)}),ir=At("$ZodGUID",(e,t)=>{t.pattern??=gn,rr.init(e,t)}),or=At("$ZodUUID",(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=_n(e)}else t.pattern??=_n();rr.init(e,t)}),ar=At("$ZodEmail",(e,t)=>{t.pattern??=yn,rr.init(e,t)}),sr=At("$ZodURL",(e,t)=>{rr.init(e,t),e._zod.check=n=>{try{let r=n.value,i=new URL(r),o=i.href;return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:Tn.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),void(!r.endsWith("/")&&o.endsWith("/")?n.value=o.slice(0,-1):n.value=o)}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),cr=At("$ZodEmoji",(e,t)=>{t.pattern??=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u"),rr.init(e,t)}),lr=At("$ZodNanoID",(e,t)=>{t.pattern??=fn,rr.init(e,t)}),ur=At("$ZodCUID",(e,t)=>{t.pattern??=ln,rr.init(e,t)}),pr=At("$ZodCUID2",(e,t)=>{t.pattern??=un,rr.init(e,t)}),dr=At("$ZodULID",(e,t)=>{t.pattern??=pn,rr.init(e,t)}),mr=At("$ZodXID",(e,t)=>{t.pattern??=dn,rr.init(e,t)}),fr=At("$ZodKSUID",(e,t)=>{t.pattern??=mn,rr.init(e,t)}),hr=At("$ZodISODateTime",(e,t)=>{t.pattern??=function(e){let t=On({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-]\\d{2}:\\d{2})");let r=`${t}(?:${n.join("|")})`;return RegExp(`^${kn}T(?:${r})$`)}(t),rr.init(e,t)}),gr=At("$ZodISODate",(e,t)=>{t.pattern??=Cn,rr.init(e,t)}),_r=At("$ZodISOTime",(e,t)=>{t.pattern??=function(e){return RegExp(`^${On(e)}$`)}(t),rr.init(e,t)}),yr=At("$ZodISODuration",(e,t)=>{t.pattern??=hn,rr.init(e,t)}),vr=At("$ZodIPv4",(e,t)=>{t.pattern??=vn,rr.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.format="ipv4"})}),br=At("$ZodIPv6",(e,t)=>{t.pattern??=bn,rr.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.format="ipv6"}),e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),Er=At("$ZodCIDRv4",(e,t)=>{t.pattern??=En,rr.init(e,t)}),xr=At("$ZodCIDRv6",(e,t)=>{t.pattern??=xn,rr.init(e,t),e._zod.check=n=>{let[r,i]=n.value.split("/");try{if(!i)throw Error();let e=Number(i);if(`${e}`!==i||e<0||e>128)throw Error();new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function wr(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}const Ar=At("$ZodBase64",(e,t)=>{t.pattern??=wn,rr.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding="base64"}),e._zod.check=n=>{wr(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),Tr=At("$ZodBase64URL",(e,t)=>{t.pattern??=An,rr.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding="base64url"}),e._zod.check=n=>{(function(e){if(!An.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return wr(t.padEnd(4*Math.ceil(t.length/4),"="))})(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Sr=At("$ZodE164",(e,t)=>{t.pattern??=Sn,rr.init(e,t)}),kr=At("$ZodJWT",(e,t)=>{rr.init(e,t),e._zod.check=n=>{(function(e,t=null){try{let n=e.split(".");if(3!==n.length)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!("typ"in i&&"JWT"!==i?.typ||!i.alg||t&&(!("alg"in i)||i.alg!==t))}catch{return!1}})(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),Cr=At("$ZodNumber",(e,t)=>{tr.init(e,t),e._zod.pattern=e._zod.bag.pattern??Dn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if("number"==typeof i&&!Number.isNaN(i)&&Number.isFinite(i))return n;let o="number"==typeof i?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...o?{received:o}:{}}),n}}),Or=At("$ZodNumber",(e,t)=>{zn.init(e,t),Cr.init(e,t)}),Rr=At("$ZodBoolean",(e,t)=>{tr.init(e,t),e._zod.pattern=Pn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return"boolean"==typeof i||n.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),n}}),Dr=At("$ZodNull",(e,t)=>{tr.init(e,t),e._zod.pattern=Fn,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return null===r||t.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),t}}),Pr=At("$ZodUnknown",(e,t)=>{tr.init(e,t),e._zod.parse=e=>e}),Fr=At("$ZodNever",(e,t)=>{tr.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)});function Ir(e,t,n){e.issues.length&&t.issues.push(...Ht(n,e.issues)),t.value[n]=e.value}const Nr=At("$ZodArray",(e,t)=>{tr.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),n;n.value=Array(i.length);let o=[];for(let e=0;e<i.length;e++){let a=i[e],s=t.element._zod.run({value:a,issues:[]},r);s instanceof Promise?o.push(s.then(t=>Ir(t,n,e))):Ir(s,n,e)}return o.length?Promise.all(o).then(()=>n):n}});function Lr(e,t,n){e.issues.length&&t.issues.push(...Ht(n,e.issues)),t.value[n]=e.value}function Mr(e,t,n,r){e.issues.length?void 0===r[n]?t.value[n]=n in r?void 0:e.value:t.issues.push(...Ht(n,e.issues)):void 0===e.value?n in r&&(t.value[n]=void 0):t.value[n]=e.value}const Br=At("$ZodObject",(e,t)=>{tr.init(e,t);let n=Rt(()=>{let e=Object.keys(t.shape);for(let n of e)if(!(t.shape[n]instanceof tr))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=function(e){return Object.keys(e).filter(t=>"optional"===e[t]._zod.optin&&"optional"===e[t]._zod.optout)}(t.shape);return{shape:t.shape,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}});Ft(e._zod,"propValues",()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r,i,o=Mt,a=!St.jitless,s=a&&Bt.value,c=t.catchall;e._zod.parse=(l,u)=>{i??=n.value;let p=l.value;if(!o(p))return l.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),l;let d=[];if(a&&s&&!1===u?.async&&!0!==u.jitless)r||=(e=>{let t=new Jn(["shape","payload","ctx"]),r=n.value,i=e=>{let t=Nt(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let o=Object.create(null),a=0;for(let e of r.keys)o[e]="key_"+a++;t.write("const newResult = {}");for(let e of r.keys)if(r.optionalKeys.has(e)){let n=o[e];t.write(`const ${n} = ${i(e)};`);let r=Nt(e);t.write(`\n if (${n}.issues.length) {\n if (input[${r}] === undefined) {\n if (${r} in input) {\n newResult[${r}] = undefined;\n }\n } else {\n payload.issues = payload.issues.concat(\n ${n}.issues.map((iss) => ({\n ...iss,\n path: iss.path ? [${r}, ...iss.path] : [${r}],\n }))\n );\n }\n } else if (${n}.value === undefined) {\n if (${r} in input) newResult[${r}] = undefined;\n } else {\n newResult[${r}] = ${n}.value;\n }\n `)}else{let n=o[e];t.write(`const ${n} = ${i(e)};`),t.write(`\n if (${n}.issues.length) payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${Nt(e)}, ...iss.path] : [${Nt(e)}]\n })));`),t.write(`newResult[${Nt(e)}] = ${n}.value`)}t.write("payload.value = newResult;"),t.write("return payload;");let s=t.compile();return(t,n)=>s(e,t,n)})(t.shape),l=r(l,u);else{l.value={};let e=i.shape;for(let t of i.keys){let n=e[t],r=n._zod.run({value:p[t],issues:[]},u),i="optional"===n._zod.optin&&"optional"===n._zod.optout;r instanceof Promise?d.push(r.then(e=>i?Mr(e,l,t,p):Lr(e,l,t))):i?Mr(r,l,t,p):Lr(r,l,t)}}if(!c)return d.length?Promise.all(d).then(()=>l):l;let m=[],f=i.keySet,h=c._zod,g=h.def.type;for(let e of Object.keys(p)){if(f.has(e))continue;if("never"===g){m.push(e);continue}let t=h.run({value:p[e],issues:[]},u);t instanceof Promise?d.push(t.then(t=>Lr(t,l,e))):Lr(t,l,e)}return m.length&&l.issues.push({code:"unrecognized_keys",keys:m,input:p,inst:e}),d.length?Promise.all(d).then(()=>l):l}});function Ur(e,t,n,r){for(let n of e)if(0===n.issues.length)return t.value=n.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Wt(e,r,kt())))}),t}const $r=At("$ZodUnion",(e,t)=>{tr.init(e,t),Ft(e._zod,"optin",()=>t.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),Ft(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),Ft(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),Ft(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>Pt(e.source)).join("|")})$`)}}),e._zod.parse=(n,r)=>{let i=!1,o=[];for(let e of t.options){let t=e._zod.run({value:n.value,issues:[]},r);if(t instanceof Promise)o.push(t),i=!0;else{if(0===t.issues.length)return t;o.push(t)}}return i?Promise.all(o).then(t=>Ur(t,n,e,r)):Ur(o,n,e,r)}}),zr=At("$ZodDiscriminatedUnion",(e,t)=>{$r.init(e,t);let n=e._zod.parse;Ft(e._zod,"propValues",()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||0===Object.keys(r).length)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=Rt(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues[t.discriminator];if(!e||0===e.size)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(i,o)=>{let a=i.value;if(!Mt(a))return i.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),i;let s=r.value.get(a?.[t.discriminator]);return s?s._zod.run(i,o):t.unionFallback?n(i,o):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:a,path:[t.discriminator],inst:e}),i)}}),Gr=At("$ZodIntersection",(e,t)=>{tr.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),o=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||o instanceof Promise?Promise.all([i,o]).then(([t,n])=>Vr(e,t,n)):Vr(e,i,o)}});function jr(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Ut(e)&&Ut(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>-1!==n.indexOf(e)),i={...e,...t};for(let n of r){let r=jr(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=jr(e[r],t[r]);if(!i.valid)return{valid:!1,mergeErrorPath:[r,...i.mergeErrorPath]};n.push(i.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Vr(e,t,n){if(t.issues.length&&e.issues.push(...t.issues),n.issues.length&&e.issues.push(...n.issues),qt(e))return e;let r=jr(t.value,n.value);if(!r.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);return e.value=r.data,e}const qr=At("$ZodRecord",(e,t)=>{tr.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Ut(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),n;let o=[];if(t.keyType._zod.values){let a,s=t.keyType._zod.values;n.value={};for(let e of s)if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){let a=t.valueType._zod.run({value:i[e],issues:[]},r);a instanceof Promise?o.push(a.then(t=>{t.issues.length&&n.issues.push(...Ht(e,t.issues)),n.value[e]=t.value})):(a.issues.length&&n.issues.push(...Ht(e,a.issues)),n.value[e]=a.value)}for(let e in i)s.has(e)||(a??=[],a.push(e));a&&a.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:a})}else{n.value={};for(let a of Reflect.ownKeys(i)){if("__proto__"===a)continue;let s=t.keyType._zod.run({value:a,issues:[]},r);if(s instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(s.issues.length){n.issues.push({origin:"record",code:"invalid_key",issues:s.issues.map(e=>Wt(e,r,kt())),input:a,path:[a],inst:e}),n.value[s.value]=s.value;continue}let c=t.valueType._zod.run({value:i[a],issues:[]},r);c instanceof Promise?o.push(c.then(e=>{e.issues.length&&n.issues.push(...Ht(a,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...Ht(a,c.issues)),n.value[s.value]=c.value)}}return o.length?Promise.all(o).then(()=>n):n}}),Hr=At("$ZodEnum",(e,t)=>{tr.init(e,t);let n=Ct(t.entries);e._zod.values=new Set(n),e._zod.pattern=RegExp(`^(${n.filter(e=>$t.has(typeof e)).map(e=>"string"==typeof e?zt(e):e.toString()).join("|")})$`),e._zod.parse=(t,r)=>{let i=t.value;return e._zod.values.has(i)||t.issues.push({code:"invalid_value",values:n,input:i,inst:e}),t}}),Kr=At("$ZodLiteral",(e,t)=>{tr.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=RegExp(`^(${t.values.map(e=>"string"==typeof e?zt(e):e?e.toString():String(e)).join("|")})$`),e._zod.parse=(n,r)=>{let i=n.value;return e._zod.values.has(i)||n.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),n}}),Wr=At("$ZodTransform",(e,t)=>{tr.init(e,t),e._zod.parse=(e,n)=>{let r=t.transform(e.value,e);if(n.async)return(r instanceof Promise?r:Promise.resolve(r)).then(t=>(e.value=t,e));if(r instanceof Promise)throw new Tt;return e.value=r,e}}),Xr=At("$ZodOptional",(e,t)=>{tr.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Ft(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Ft(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${Pt(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>"optional"===t.innerType._zod.optin?t.innerType._zod.run(e,n):void 0===e.value?e:t.innerType._zod.run(e,n)}),Zr=At("$ZodNullable",(e,t)=>{tr.init(e,t),Ft(e._zod,"optin",()=>t.innerType._zod.optin),Ft(e._zod,"optout",()=>t.innerType._zod.optout),Ft(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${Pt(e.source)}|null)$`):void 0}),Ft(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>null===e.value?e:t.innerType._zod.run(e,n)}),Yr=At("$ZodDefault",(e,t)=>{tr.init(e,t),e._zod.optin="optional",Ft(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(void 0===e.value)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Qr(e,t)):Qr(r,t)}});function Qr(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}const Jr=At("$ZodPrefault",(e,t)=>{tr.init(e,t),e._zod.optin="optional",Ft(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),ei=At("$ZodNonOptional",(e,t)=>{tr.init(e,t),Ft(e._zod,"values",()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>ti(t,e)):ti(i,e)}});function ti(e,t){return!e.issues.length&&void 0===e.value&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const ni=At("$ZodCatch",(e,t)=>{tr.init(e,t),e._zod.optin="optional",Ft(e._zod,"optout",()=>t.innerType._zod.optout),Ft(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Wt(e,n,kt()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Wt(e,n,kt()))},input:e.value}),e.issues=[]),e)}}),ri=At("$ZodPipe",(e,t)=>{tr.init(e,t),Ft(e._zod,"values",()=>t.in._zod.values),Ft(e._zod,"optin",()=>t.in._zod.optin),Ft(e._zod,"optout",()=>t.out._zod.optout),e._zod.parse=(e,n)=>{let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>ii(e,t,n)):ii(r,t,n)}});function ii(e,t,n){return qt(e)?e:t.out._zod.run({value:e.value,issues:e.issues},n)}const oi=At("$ZodReadonly",(e,t)=>{tr.init(e,t),Ft(e._zod,"propValues",()=>t.innerType._zod.propValues),Ft(e._zod,"values",()=>t.innerType._zod.values),Ft(e._zod,"optin",()=>t.innerType._zod.optin),Ft(e._zod,"optout",()=>t.innerType._zod.optout),e._zod.parse=(e,n)=>{let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(ai):ai(r)}});function ai(e){return e.value=Object.freeze(e.value),e}const si=At("$ZodCustom",(e,t)=>{Ln.init(e,t),tr.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>ci(t,n,r,e));ci(i,n,r,e)}});function ci(e,t,n,r){if(!e){let e={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Zt(e))}}var li=class{constructor(){this._map=new Map,this._idmap=new Map}add(e,...t){let n=t[0];if(this._map.set(e,n),n&&"object"==typeof n&&"id"in n){if(this._idmap.has(n.id))throw Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,e)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};return delete n.id,{...n,...this._map.get(e)}}return this._map.get(e)}has(e){return this._map.has(e)}};const ui=new li;function pi(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...jt(t)})}function di(e,t){return new Bn({check:"less_than",...jt(t),value:e,inclusive:!1})}function mi(e,t){return new Bn({check:"less_than",...jt(t),value:e,inclusive:!0})}function fi(e,t){return new Un({check:"greater_than",...jt(t),value:e,inclusive:!1})}function hi(e,t){return new Un({check:"greater_than",...jt(t),value:e,inclusive:!0})}function gi(e,t){return new $n({check:"multiple_of",...jt(t),value:e})}function _i(e,t){return new Gn({check:"max_length",...jt(t),maximum:e})}function yi(e,t){return new jn({check:"min_length",...jt(t),minimum:e})}function vi(e,t){return new Vn({check:"length_equals",...jt(t),length:e})}function bi(e){return new Qn({check:"overwrite",tx:e})}var Ei=class{constructor(e){this.counter=0,this.metadataRegistry=e?.metadata??ui,this.target=e?.target??"draft-2020-12",this.unrepresentable=e?.unrepresentable??"throw",this.override=e?.override??(()=>{}),this.io=e?.io??"output",this.seen=new Map}process(e,t={path:[],schemaPath:[]}){var n;let r=e._zod.def,i={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},o=this.seen.get(e);if(o)return o.count++,t.schemaPath.includes(e)&&(o.cycle=t.path),o.schema;let a={schema:{},count:1,cycle:void 0,path:t.path};this.seen.set(e,a);let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let n={...t,schemaPath:[...t.schemaPath,e],path:t.path},o=e._zod.parent;if(o)a.ref=o,this.process(o,n),this.seen.get(o).isParent=!0;else{let t=a.schema;switch(r.type){case"string":{let n=t;n.type="string";let{minimum:r,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if("number"==typeof r&&(n.minLength=r),"number"==typeof o&&(n.maxLength=o),s&&(n.format=i[s]??s,""===n.format&&delete n.format),l&&(n.contentEncoding=l),c&&c.size>0){let e=[...c];1===e.length?n.pattern=e[0].source:e.length>1&&(a.schema.allOf=[...e.map(e=>({..."draft-7"===this.target?{type:"string"}:{},pattern:e.source}))])}break}case"number":{let n=t,{minimum:r,maximum:i,format:o,multipleOf:a,exclusiveMaximum:s,exclusiveMinimum:c}=e._zod.bag;"string"==typeof o&&o.includes("int")?n.type="integer":n.type="number","number"==typeof c&&(n.exclusiveMinimum=c),"number"==typeof r&&(n.minimum=r,"number"==typeof c&&(c>=r?delete n.minimum:delete n.exclusiveMinimum)),"number"==typeof s&&(n.exclusiveMaximum=s),"number"==typeof i&&(n.maximum=i,"number"==typeof s&&(s<=i?delete n.maximum:delete n.exclusiveMaximum)),"number"==typeof a&&(n.multipleOf=a);break}case"boolean":case"success":t.type="boolean";break;case"bigint":if("throw"===this.unrepresentable)throw Error("BigInt cannot be represented in JSON Schema");break;case"symbol":if("throw"===this.unrepresentable)throw Error("Symbols cannot be represented in JSON Schema");break;case"null":t.type="null";break;case"any":case"unknown":break;case"undefined":if("throw"===this.unrepresentable)throw Error("Undefined cannot be represented in JSON Schema");break;case"void":if("throw"===this.unrepresentable)throw Error("Void cannot be represented in JSON Schema");break;case"never":t.not={};break;case"date":if("throw"===this.unrepresentable)throw Error("Date cannot be represented in JSON Schema");break;case"array":{let i=t,{minimum:o,maximum:a}=e._zod.bag;"number"==typeof o&&(i.minItems=o),"number"==typeof a&&(i.maxItems=a),i.type="array",i.items=this.process(r.element,{...n,path:[...n.path,"items"]});break}case"object":{let e=t;e.type="object",e.properties={};let i=r.shape;for(let t in i)e.properties[t]=this.process(i[t],{...n,path:[...n.path,"properties",t]});let o=new Set(Object.keys(i)),a=new Set([...o].filter(e=>{let t=r.shape[e]._zod;return"input"===this.io?void 0===t.optin:void 0===t.optout}));a.size>0&&(e.required=Array.from(a)),"never"===r.catchall?._zod.def.type?e.additionalProperties=!1:r.catchall?r.catchall&&(e.additionalProperties=this.process(r.catchall,{...n,path:[...n.path,"additionalProperties"]})):"output"===this.io&&(e.additionalProperties=!1);break}case"union":t.anyOf=r.options.map((e,t)=>this.process(e,{...n,path:[...n.path,"anyOf",t]}));break;case"intersection":{let e=t,i=this.process(r.left,{...n,path:[...n.path,"allOf",0]}),o=this.process(r.right,{...n,path:[...n.path,"allOf",1]}),a=e=>"allOf"in e&&1===Object.keys(e).length;e.allOf=[...a(i)?i.allOf:[i],...a(o)?o.allOf:[o]];break}case"tuple":{let i=t;i.type="array";let o=r.items.map((e,t)=>this.process(e,{...n,path:[...n.path,"prefixItems",t]}));if("draft-2020-12"===this.target?i.prefixItems=o:i.items=o,r.rest){let e=this.process(r.rest,{...n,path:[...n.path,"items"]});"draft-2020-12"===this.target?i.items=e:i.additionalItems=e}r.rest&&(i.items=this.process(r.rest,{...n,path:[...n.path,"items"]}));let{minimum:a,maximum:s}=e._zod.bag;"number"==typeof a&&(i.minItems=a),"number"==typeof s&&(i.maxItems=s);break}case"record":{let e=t;e.type="object",e.propertyNames=this.process(r.keyType,{...n,path:[...n.path,"propertyNames"]}),e.additionalProperties=this.process(r.valueType,{...n,path:[...n.path,"additionalProperties"]});break}case"map":if("throw"===this.unrepresentable)throw Error("Map cannot be represented in JSON Schema");break;case"set":if("throw"===this.unrepresentable)throw Error("Set cannot be represented in JSON Schema");break;case"enum":{let e=t,n=Ct(r.entries);n.every(e=>"number"==typeof e)&&(e.type="number"),n.every(e=>"string"==typeof e)&&(e.type="string"),e.enum=n;break}case"literal":{let e=t,n=[];for(let e of r.values)if(void 0===e){if("throw"===this.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof e){if("throw"===this.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");n.push(Number(e))}else n.push(e);if(0!==n.length)if(1===n.length){let t=n[0];e.type=null===t?"null":typeof t,e.const=t}else n.every(e=>"number"==typeof e)&&(e.type="number"),n.every(e=>"string"==typeof e)&&(e.type="string"),n.every(e=>"boolean"==typeof e)&&(e.type="string"),n.every(e=>null===e)&&(e.type="null"),e.enum=n;break}case"file":{let n=t,r={type:"string",format:"binary",contentEncoding:"binary"},{minimum:i,maximum:o,mime:a}=e._zod.bag;void 0!==i&&(r.minLength=i),void 0!==o&&(r.maxLength=o),a?1===a.length?(r.contentMediaType=a[0],Object.assign(n,r)):n.anyOf=a.map(e=>({...r,contentMediaType:e})):Object.assign(n,r);break}case"transform":if("throw"===this.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema");break;case"nullable":t.anyOf=[this.process(r.innerType,n),{type:"null"}];break;case"nonoptional":case"promise":case"optional":this.process(r.innerType,n),a.ref=r.innerType;break;case"default":this.process(r.innerType,n),a.ref=r.innerType,t.default=JSON.parse(JSON.stringify(r.defaultValue));break;case"prefault":this.process(r.innerType,n),a.ref=r.innerType,"input"===this.io&&(t._prefault=JSON.parse(JSON.stringify(r.defaultValue)));break;case"catch":{let e;this.process(r.innerType,n),a.ref=r.innerType;try{e=r.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}t.default=e;break}case"nan":if("throw"===this.unrepresentable)throw Error("NaN cannot be represented in JSON Schema");break;case"template_literal":{let n=t,r=e._zod.pattern;if(!r)throw Error("Pattern not found in template literal");n.type="string",n.pattern=r.source;break}case"pipe":{let e="input"===this.io?"transform"===r.in._zod.def.type?r.out:r.in:r.out;this.process(e,n),a.ref=e;break}case"readonly":this.process(r.innerType,n),a.ref=r.innerType,t.readOnly=!0;break;case"lazy":{let t=e._zod.innerType;this.process(t,n),a.ref=t;break}case"custom":if("throw"===this.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")}}}let c=this.metadataRegistry.get(e);return c&&Object.assign(a.schema,c),"input"===this.io&&xi(e)&&(delete a.schema.examples,delete a.schema.default),"input"===this.io&&a.schema._prefault&&((n=a.schema).default??(n.default=a.schema._prefault)),delete a.schema._prefault,this.seen.get(e).schema}emit(e,t){let n={cycles:t?.cycles??"ref",reused:t?.reused??"inline",external:t?.external??void 0},r=this.seen.get(e);if(!r)throw Error("Unprocessed schema. This is a bug in Zod.");let i=e=>{let t="draft-2020-12"===this.target?"$defs":"definitions";if(n.external){let r=n.external.registry.get(e[0])?.id,i=n.external.uri??(e=>e);if(r)return{ref:i(r)};let o=e[1].defId??e[1].schema.id??"schema"+this.counter++;return e[1].defId=o,{defId:o,ref:`${i("__shared")}#/${t}/${o}`}}if(e[1]===r)return{ref:"#"};let i=`#/${t}/`,o=e[1].schema.id??"__schema"+this.counter++;return{defId:o,ref:i+o}},o=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let o=t.schema;for(let e in o)delete o[e];o.$ref=n};if("throw"===n.cycles)for(let e of this.seen.entries()){let t=e[1];if(t.cycle)throw Error(`Cycle detected: #/${t.cycle?.join("/")}/<root>\n\nSet the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let t of this.seen.entries()){let r=t[1];if(e!==t[0]){if(n.external){let r=n.external.registry.get(t[0])?.id;if(e!==t[0]&&r){o(t);continue}}(this.metadataRegistry.get(t[0])?.id||r.cycle||r.count>1&&"ref"===n.reused)&&o(t)}else o(t)}let a=(e,t)=>{let n=this.seen.get(e),r=n.def??n.schema,i={...r};if(null===n.ref)return;let o=n.ref;if(n.ref=null,o){a(o,t);let e=this.seen.get(o).schema;e.$ref&&"draft-7"===t.target?(r.allOf=r.allOf??[],r.allOf.push(e)):(Object.assign(r,e),Object.assign(r,i))}n.isParent||this.override({zodSchema:e,jsonSchema:r,path:n.path??[]})};for(let e of[...this.seen.entries()].reverse())a(e[0],{target:this.target});let s={};if("draft-2020-12"===this.target?s.$schema="https://json-schema.org/draft/2020-12/schema":"draft-7"===this.target?s.$schema="http://json-schema.org/draft-07/schema#":console.warn(`Invalid target: ${this.target}`),n.external?.uri){let t=n.external.registry.get(e)?.id;if(!t)throw Error("Schema is missing an `id` property");s.$id=n.external.uri(t)}Object.assign(s,r.def);let c=n.external?.defs??{};for(let e of this.seen.entries()){let t=e[1];t.def&&t.defId&&(c[t.defId]=t.def)}n.external||Object.keys(c).length>0&&("draft-2020-12"===this.target?s.$defs=c:s.definitions=c);try{return JSON.parse(JSON.stringify(s))}catch{throw Error("Error converting schema to JSON.")}}};function xi(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;switch(r.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":case"custom":case"success":case"catch":return!1;case"array":return xi(r.element,n);case"object":for(let e in r.shape)if(xi(r.shape[e],n))return!0;return!1;case"union":for(let e of r.options)if(xi(e,n))return!0;return!1;case"intersection":return xi(r.left,n)||xi(r.right,n);case"tuple":for(let e of r.items)if(xi(e,n))return!0;return!(!r.rest||!xi(r.rest,n));case"record":case"map":return xi(r.keyType,n)||xi(r.valueType,n);case"set":return xi(r.valueType,n);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":case"default":case"prefault":return xi(r.innerType,n);case"lazy":return xi(r.getter(),n);case"transform":return!0;case"pipe":return xi(r.in,n)||xi(r.out,n)}throw Error(`Unknown schema type: ${r.type}`)}const wi=At("ZodMiniType",(e,t)=>{if(!e._zod)throw Error("Uninitialized schema in ZodMiniType.");tr.init(e,t),e.def=t,e.parse=(t,n)=>tn(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>an(e,t,n),e.parseAsync=async(t,n)=>rn(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>cn(e,t,n),e.check=(...n)=>e.clone({...t,checks:[...t.checks??[],...n.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),e.clone=(t,n)=>Gt(e,t,n),e.brand=()=>e,e.register=(t,n)=>(t.add(e,n),e)}),Ai=At("ZodMiniObject",(e,t)=>{Br.init(e,t),wi.init(e,t),Ft(e,"shape",()=>t.shape)});function Ti(e,t){return new Ai({type:"object",get shape(){return It(this,"shape",{...e}),this.shape},...jt(t)})}function Si(e){return!!e._zod}function ki(e){let t=Object.values(e);if(0===t.length)return Ti({});let n=t.every(Si),r=t.every(e=>!Si(e));if(n)return Ti(e);if(r)return yt(e);throw Error("Mixed Zod versions detected in object shape.")}function Ci(e,t){return Si(e)?an(e,t):e.safeParse(t)}async function Oi(e,t){return Si(e)?await cn(e,t):await e.safeParseAsync(t)}function Ri(e){if(!e)return;let t;if(t=Si(e)?e._zod?.def?.shape:e.shape,t){if("function"==typeof t)try{return t()}catch{return}return t}}function Di(e){if(e){if("object"==typeof e){let t=e;if(!e._def&&!t._zod){let t=Object.values(e);if(t.length>0&&t.every(e=>"object"==typeof e&&!!e&&(void 0!==e._def||void 0!==e._zod||"function"==typeof e.parse)))return ki(e)}}if(Si(e)){let t=e._zod?.def;if(t&&("object"===t.type||void 0!==t.shape))return e}else if(void 0!==e.shape)return e}}function Pi(e){if(e&&"object"==typeof e){if("message"in e&&"string"==typeof e.message)return e.message;if("issues"in e&&Array.isArray(e.issues)&&e.issues.length>0){let t=e.issues[0];if(t&&"object"==typeof t&&"message"in t)return String(t.message)}try{return JSON.stringify(e)}catch{return String(e)}}return String(e)}function Fi(e){return e.description}function Ii(e){if(Si(e))return"optional"===e._zod?.def?.type;let t=e;return"function"==typeof e.isOptional?e.isOptional():"ZodOptional"===t._def?.typeName}function Ni(e){if(Si(e)){let t=e._zod?.def;if(t){if(void 0!==t.value)return t.value;if(Array.isArray(t.values)&&t.values.length>0)return t.values[0]}}let t=e._def;if(t){if(void 0!==t.value)return t.value;if(Array.isArray(t.values)&&t.values.length>0)return t.values[0]}let n=e.value;if(void 0!==n)return n}const Li=At("ZodISODateTime",(e,t)=>{hr.init(e,t),Yi.init(e,t)});function Mi(e){return function(e,t){return new Li({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...jt(t)})}(0,e)}const Bi=At("ZodISODate",(e,t)=>{gr.init(e,t),Yi.init(e,t)}),Ui=At("ZodISOTime",(e,t)=>{_r.init(e,t),Yi.init(e,t)}),$i=At("ZodISODuration",(e,t)=>{yr.init(e,t),Yi.init(e,t)}),zi=(e,t)=>{Qt.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>function(e,t){let n=t||function(e){return e.message},r={_errors:[]},i=e=>{for(let t of e.issues)if("invalid_union"===t.code&&t.errors.length)t.errors.map(e=>i({issues:e}));else if("invalid_key"===t.code)i({issues:t.issues});else if("invalid_element"===t.code)i({issues:t.issues});else if(0===t.path.length)r._errors.push(n(t));else{let e=r,i=0;for(;i<t.path.length;){let r=t.path[i];i===t.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(n(t))):e[r]=e[r]||{_errors:[]},e=e[r],i++}}};return i(e),r}(e,t)},flatten:{value:t=>function(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}(e,t)},addIssue:{value:t=>e.issues.push(t)},addIssues:{value:t=>e.issues.push(...t)},isEmpty:{get:()=>0===e.issues.length}})};At("ZodError",zi);const Gi=At("ZodError",zi,{Parent:Error}),ji=en(Gi),Vi=nn(Gi),qi=on(Gi),Hi=sn(Gi),Ki=At("ZodType",(e,t)=>(tr.init(e,t),e.def=t,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone({...t,checks:[...t.checks??[],...n.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),e.clone=(t,n)=>Gt(e,t,n),e.brand=()=>e,e.register=(t,n)=>(t.add(e,n),e),e.parse=(t,n)=>ji(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>qi(e,t,n),e.parseAsync=async(t,n)=>Vi(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>Hi(e,t,n),e.spa=e.safeParseAsync,e.refine=(t,n)=>e.check(function(e,t={}){return function(e,t,n){return new aa({type:"custom",check:"custom",fn:t,...jt(n)})}(0,e,t)}(t,n)),e.superRefine=t=>e.check(function(e){let t=function(e){let t=new Ln({check:"custom"});return t._zod.check=e,t}(n=>(n.addIssue=e=>{if("string"==typeof e)n.issues.push(Zt(e,n.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??="custom",r.input??=n.value,r.inst??=t,r.continue??=!t._zod.def.abort,n.issues.push(Zt(r))}},e(n.value,n)));return t}(t)),e.overwrite=t=>e.check(bi(t)),e.optional=()=>Zo(e),e.nullable=()=>Qo(e),e.nullish=()=>Zo(Qo(e)),e.nonoptional=t=>function(e,t){return new ta({type:"nonoptional",innerType:e,...jt(t)})}(e,t),e.array=()=>Do(e),e.or=t=>Lo([e,t]),e.and=t=>$o(e,t),e.transform=t=>ia(e,Wo(t)),e.default=t=>function(e,t){return new Jo({type:"default",innerType:e,get defaultValue(){return"function"==typeof t?t():t}})}(e,t),e.prefault=t=>function(e,t){return new ea({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof t?t():t}})}(e,t),e.catch=t=>function(e,t){return new na({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t})}(e,t),e.pipe=t=>ia(e,t),e.readonly=()=>function(e){return new oa({type:"readonly",innerType:e})}(e),e.describe=t=>{let n=e.clone();return ui.add(n,{description:t}),n},Object.defineProperty(e,"description",{get:()=>ui.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return ui.get(e);let n=e.clone();return ui.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),Wi=At("_ZodString",(e,t)=>{nr.init(e,t),Ki.init(e,t);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(function(e,t){return new Hn({check:"string_format",format:"regex",...jt(t),pattern:e})}(...t)),e.includes=(...t)=>e.check(function(e,t){return new Xn({check:"string_format",format:"includes",...jt(t),includes:e})}(...t)),e.startsWith=(...t)=>e.check(function(e,t){return new Zn({check:"string_format",format:"starts_with",...jt(t),prefix:e})}(...t)),e.endsWith=(...t)=>e.check(function(e,t){return new Yn({check:"string_format",format:"ends_with",...jt(t),suffix:e})}(...t)),e.min=(...t)=>e.check(yi(...t)),e.max=(...t)=>e.check(_i(...t)),e.length=(...t)=>e.check(vi(...t)),e.nonempty=(...t)=>e.check(yi(1,...t)),e.lowercase=t=>e.check(function(e){return new Kn({check:"string_format",format:"lowercase",...jt(e)})}(t)),e.uppercase=t=>e.check(function(e){return new Wn({check:"string_format",format:"uppercase",...jt(e)})}(t)),e.trim=()=>e.check(bi(e=>e.trim())),e.normalize=(...t)=>e.check(function(e){return bi(t=>t.normalize(e))}(...t)),e.toLowerCase=()=>e.check(bi(e=>e.toLowerCase())),e.toUpperCase=()=>e.check(bi(e=>e.toUpperCase()))}),Xi=At("ZodString",(e,t)=>{nr.init(e,t),Wi.init(e,t),e.email=t=>e.check(function(e,t){return new Qi({type:"string",format:"email",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.url=t=>e.check(function(e,t){return new to({type:"string",format:"url",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.jwt=t=>e.check(function(e,t){return new _o({type:"string",format:"jwt",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.emoji=t=>e.check(function(e,t){return new no({type:"string",format:"emoji",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.guid=t=>e.check(pi(Ji,t)),e.uuid=t=>e.check(function(e,t){return new eo({type:"string",format:"uuid",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.uuidv4=t=>e.check(function(e,t){return new eo({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...jt(t)})}(0,t)),e.uuidv6=t=>e.check(function(e,t){return new eo({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...jt(t)})}(0,t)),e.uuidv7=t=>e.check(function(e,t){return new eo({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...jt(t)})}(0,t)),e.nanoid=t=>e.check(function(e,t){return new ro({type:"string",format:"nanoid",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.guid=t=>e.check(pi(Ji,t)),e.cuid=t=>e.check(function(e,t){return new io({type:"string",format:"cuid",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.cuid2=t=>e.check(function(e,t){return new oo({type:"string",format:"cuid2",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.ulid=t=>e.check(function(e,t){return new ao({type:"string",format:"ulid",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.base64=t=>e.check(function(e,t){return new fo({type:"string",format:"base64",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.base64url=t=>e.check(function(e,t){return new ho({type:"string",format:"base64url",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.xid=t=>e.check(function(e,t){return new so({type:"string",format:"xid",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.ksuid=t=>e.check(function(e,t){return new co({type:"string",format:"ksuid",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.ipv4=t=>e.check(function(e,t){return new lo({type:"string",format:"ipv4",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.ipv6=t=>e.check(function(e,t){return new uo({type:"string",format:"ipv6",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.cidrv4=t=>e.check(function(e,t){return new po({type:"string",format:"cidrv4",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.cidrv6=t=>e.check(function(e,t){return new mo({type:"string",format:"cidrv6",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.e164=t=>e.check(function(e,t){return new go({type:"string",format:"e164",check:"string_format",abort:!1,...jt(t)})}(0,t)),e.datetime=t=>e.check(Mi(t)),e.date=t=>e.check(function(e){return function(e,t){return new Bi({type:"string",format:"date",check:"string_format",...jt(t)})}(0,e)}(t)),e.time=t=>e.check(function(e){return function(e,t){return new Ui({type:"string",format:"time",check:"string_format",precision:null,...jt(t)})}(0,e)}(t)),e.duration=t=>e.check(function(e){return function(e,t){return new $i({type:"string",format:"duration",check:"string_format",...jt(t)})}(0,e)}(t))});function Zi(e){return function(e,t){return new Xi({type:"string",...jt(t)})}(0,e)}const Yi=At("ZodStringFormat",(e,t)=>{rr.init(e,t),Wi.init(e,t)}),Qi=At("ZodEmail",(e,t)=>{ar.init(e,t),Yi.init(e,t)}),Ji=At("ZodGUID",(e,t)=>{ir.init(e,t),Yi.init(e,t)}),eo=At("ZodUUID",(e,t)=>{or.init(e,t),Yi.init(e,t)}),to=At("ZodURL",(e,t)=>{sr.init(e,t),Yi.init(e,t)}),no=At("ZodEmoji",(e,t)=>{cr.init(e,t),Yi.init(e,t)}),ro=At("ZodNanoID",(e,t)=>{lr.init(e,t),Yi.init(e,t)}),io=At("ZodCUID",(e,t)=>{ur.init(e,t),Yi.init(e,t)}),oo=At("ZodCUID2",(e,t)=>{pr.init(e,t),Yi.init(e,t)}),ao=At("ZodULID",(e,t)=>{dr.init(e,t),Yi.init(e,t)}),so=At("ZodXID",(e,t)=>{mr.init(e,t),Yi.init(e,t)}),co=At("ZodKSUID",(e,t)=>{fr.init(e,t),Yi.init(e,t)}),lo=At("ZodIPv4",(e,t)=>{vr.init(e,t),Yi.init(e,t)}),uo=At("ZodIPv6",(e,t)=>{br.init(e,t),Yi.init(e,t)}),po=At("ZodCIDRv4",(e,t)=>{Er.init(e,t),Yi.init(e,t)}),mo=At("ZodCIDRv6",(e,t)=>{xr.init(e,t),Yi.init(e,t)}),fo=At("ZodBase64",(e,t)=>{Ar.init(e,t),Yi.init(e,t)}),ho=At("ZodBase64URL",(e,t)=>{Tr.init(e,t),Yi.init(e,t)}),go=At("ZodE164",(e,t)=>{Sr.init(e,t),Yi.init(e,t)}),_o=At("ZodJWT",(e,t)=>{kr.init(e,t),Yi.init(e,t)}),yo=At("ZodNumber",(e,t)=>{Cr.init(e,t),Ki.init(e,t),e.gt=(t,n)=>e.check(fi(t,n)),e.gte=(t,n)=>e.check(hi(t,n)),e.min=(t,n)=>e.check(hi(t,n)),e.lt=(t,n)=>e.check(di(t,n)),e.lte=(t,n)=>e.check(mi(t,n)),e.max=(t,n)=>e.check(mi(t,n)),e.int=t=>e.check(Eo(t)),e.safe=t=>e.check(Eo(t)),e.positive=t=>e.check(fi(0,t)),e.nonnegative=t=>e.check(hi(0,t)),e.negative=t=>e.check(di(0,t)),e.nonpositive=t=>e.check(mi(0,t)),e.multipleOf=(t,n)=>e.check(gi(t,n)),e.step=(t,n)=>e.check(gi(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function vo(e){return function(e,t){return new yo({type:"number",checks:[],...jt(t)})}(0,e)}const bo=At("ZodNumberFormat",(e,t)=>{Or.init(e,t),yo.init(e,t)});function Eo(e){return function(e,t){return new bo({type:"number",check:"number_format",abort:!1,format:"safeint",...jt(t)})}(0,e)}const xo=At("ZodBoolean",(e,t)=>{Rr.init(e,t),Ki.init(e,t)});function wo(e){return function(e,t){return new xo({type:"boolean",...jt(t)})}(0,e)}const Ao=At("ZodNull",(e,t)=>{Dr.init(e,t),Ki.init(e,t)});function To(e){return function(e,t){return new Ao({type:"null",...jt(t)})}(0,e)}const So=At("ZodUnknown",(e,t)=>{Pr.init(e,t),Ki.init(e,t)});function ko(){return new So({type:"unknown"})}const Co=At("ZodNever",(e,t)=>{Fr.init(e,t),Ki.init(e,t)});function Oo(e){return function(e,t){return new Co({type:"never",...jt(t)})}(0,e)}const Ro=At("ZodArray",(e,t)=>{Nr.init(e,t),Ki.init(e,t),e.element=t.element,e.min=(t,n)=>e.check(yi(t,n)),e.nonempty=t=>e.check(yi(1,t)),e.max=(t,n)=>e.check(_i(t,n)),e.length=(t,n)=>e.check(vi(t,n)),e.unwrap=()=>e.element});function Do(e,t){return function(e,t,n){return new Ro({type:"array",element:t,...jt(n)})}(0,e,t)}const Po=At("ZodObject",(e,t)=>{Br.init(e,t),Ki.init(e,t),Ft(e,"shape",()=>t.shape),e.keyof=()=>Vo(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:ko()}),e.loose=()=>e.clone({...e._zod.def,catchall:ko()}),e.strict=()=>e.clone({...e._zod.def,catchall:Oo()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>function(e,t){if(!Ut(t))throw Error("Invalid input to extend: expected a plain object");return Gt(e,{...e._zod.def,get shape(){let n={...e._zod.def.shape,...t};return It(this,"shape",n),n},checks:[]})}(e,t),e.merge=t=>function(e,t){return Gt(e,{...e._zod.def,get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return It(this,"shape",n),n},catchall:t._zod.def.catchall,checks:[]})}(e,t),e.pick=t=>function(e,t){let n={},r=e._zod.def;for(let e in t){if(!(e in r.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&(n[e]=r.shape[e])}return Gt(e,{...e._zod.def,shape:n,checks:[]})}(e,t),e.omit=t=>function(e,t){let n={...e._zod.def.shape},r=e._zod.def;for(let e in t){if(!(e in r.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete n[e]}return Gt(e,{...e._zod.def,shape:n,checks:[]})}(e,t),e.partial=(...t)=>function(e,t,n){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:"optional",innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:"optional",innerType:r[t]}):r[t];return Gt(t,{...t._zod.def,shape:i,checks:[]})}(Xo,e,t[0]),e.required=(...t)=>function(e,t,n){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:"nonoptional",innerType:r[t]}))}else for(let t in r)i[t]=new e({type:"nonoptional",innerType:r[t]});return Gt(t,{...t._zod.def,shape:i,checks:[]})}(ta,e,t[0])});function Fo(e,t){return new Po({type:"object",get shape(){return It(this,"shape",{...e}),this.shape},...jt(t)})}function Io(e,t){return new Po({type:"object",get shape(){return It(this,"shape",{...e}),this.shape},catchall:ko(),...jt(t)})}const No=At("ZodUnion",(e,t)=>{$r.init(e,t),Ki.init(e,t),e.options=t.options});function Lo(e,t){return new No({type:"union",options:e,...jt(t)})}const Mo=At("ZodDiscriminatedUnion",(e,t)=>{No.init(e,t),zr.init(e,t)});function Bo(e,t,n){return new Mo({type:"union",options:t,discriminator:e,...jt(n)})}const Uo=At("ZodIntersection",(e,t)=>{Gr.init(e,t),Ki.init(e,t)});function $o(e,t){return new Uo({type:"intersection",left:e,right:t})}const zo=At("ZodRecord",(e,t)=>{qr.init(e,t),Ki.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function Go(e,t,n){return new zo({type:"record",keyType:e,valueType:t,...jt(n)})}const jo=At("ZodEnum",(e,t)=>{Hr.init(e,t),Ki.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e){if(!n.has(r))throw Error(`Key ${r} not found in enum`);i[r]=t.entries[r]}return new jo({...t,checks:[],...jt(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e){if(!n.has(t))throw Error(`Key ${t} not found in enum`);delete i[t]}return new jo({...t,checks:[],...jt(r),entries:i})}});function Vo(e,t){return new jo({type:"enum",entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...jt(t)})}const qo=At("ZodLiteral",(e,t)=>{Kr.init(e,t),Ki.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Ho(e,t){return new qo({type:"literal",values:Array.isArray(e)?e:[e],...jt(t)})}const Ko=At("ZodTransform",(e,t)=>{Wr.init(e,t),Ki.init(e,t),e._zod.parse=(n,r)=>{n.addIssue=r=>{if("string"==typeof r)n.issues.push(Zt(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??="custom",t.input??=n.value,t.inst??=e,t.continue??=!0,n.issues.push(Zt(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function Wo(e){return new Ko({type:"transform",transform:e})}const Xo=At("ZodOptional",(e,t)=>{Xr.init(e,t),Ki.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Zo(e){return new Xo({type:"optional",innerType:e})}const Yo=At("ZodNullable",(e,t)=>{Zr.init(e,t),Ki.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Qo(e){return new Yo({type:"nullable",innerType:e})}const Jo=At("ZodDefault",(e,t)=>{Yr.init(e,t),Ki.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),ea=At("ZodPrefault",(e,t)=>{Jr.init(e,t),Ki.init(e,t),e.unwrap=()=>e._zod.def.innerType}),ta=At("ZodNonOptional",(e,t)=>{ei.init(e,t),Ki.init(e,t),e.unwrap=()=>e._zod.def.innerType}),na=At("ZodCatch",(e,t)=>{ni.init(e,t),Ki.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),ra=At("ZodPipe",(e,t)=>{ri.init(e,t),Ki.init(e,t),e.in=t.in,e.out=t.out});function ia(e,t){return new ra({type:"pipe",in:e,out:t})}const oa=At("ZodReadonly",(e,t)=>{oi.init(e,t),Ki.init(e,t)}),aa=At("ZodCustom",(e,t)=>{si.init(e,t),Ki.init(e,t)});function sa(e,t){return ia(Wo(e),t)}const ca="2025-11-25",la=[ca,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],ua="io.modelcontextprotocol/related-task",pa=function(e){let t=jt(void 0);return t.abort??=!0,new e({type:"custom",check:"custom",fn:(e=>null!==e&&("object"==typeof e||"function"==typeof e))??(()=>!0),...t})}(aa),da=Lo([Zi(),vo().int()]),ma=Zi();Io({ttl:Lo([vo(),To()]).optional(),pollInterval:vo().optional()});const fa=Fo({ttl:vo().optional()}),ha=Fo({taskId:Zi()}),ga=Io({progressToken:da.optional(),[ua]:ha.optional()}),_a=Fo({_meta:ga.optional()}),ya=_a.extend({task:fa.optional()}),va=Fo({method:Zi(),params:_a.loose().optional()}),ba=Fo({_meta:ga.optional()}),Ea=Fo({method:Zi(),params:ba.loose().optional()}),xa=Io({_meta:ga.optional()}),wa=Lo([Zi(),vo().int()]),Aa=Fo({jsonrpc:Ho("2.0"),id:wa,...va.shape}).strict(),Ta=e=>Aa.safeParse(e).success,Sa=Fo({jsonrpc:Ho("2.0"),...Ea.shape}).strict(),ka=Fo({jsonrpc:Ho("2.0"),id:wa,result:xa}).strict(),Ca=e=>ka.safeParse(e).success;var Oa;!function(e){e[e.ConnectionClosed=-32e3]="ConnectionClosed",e[e.RequestTimeout=-32001]="RequestTimeout",e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired"}(Oa||={});const Ra=Fo({jsonrpc:Ho("2.0"),id:wa.optional(),error:Fo({code:vo().int(),message:Zi(),data:ko().optional()})}).strict(),Da=Lo([Aa,Sa,ka,Ra]);Lo([ka,Ra]);const Pa=xa.strict(),Fa=ba.extend({requestId:wa.optional(),reason:Zi().optional()}),Ia=Ea.extend({method:Ho("notifications/cancelled"),params:Fa}),Na=Fo({icons:Do(Fo({src:Zi(),mimeType:Zi().optional(),sizes:Do(Zi()).optional(),theme:Vo(["light","dark"]).optional()})).optional()}),La=Fo({name:Zi(),title:Zi().optional()}),Ma=La.extend({...La.shape,...Na.shape,version:Zi(),websiteUrl:Zi().optional(),description:Zi().optional()}),Ba=sa(e=>e&&"object"==typeof e&&!Array.isArray(e)&&0===Object.keys(e).length?{form:{}}:e,$o(Fo({form:$o(Fo({applyDefaults:wo().optional()}),Go(Zi(),ko())).optional(),url:pa.optional()}),Go(Zi(),ko()).optional())),Ua=Io({list:pa.optional(),cancel:pa.optional(),requests:Io({sampling:Io({createMessage:pa.optional()}).optional(),elicitation:Io({create:pa.optional()}).optional()}).optional()}),$a=Io({list:pa.optional(),cancel:pa.optional(),requests:Io({tools:Io({call:pa.optional()}).optional()}).optional()}),za=Fo({experimental:Go(Zi(),pa).optional(),sampling:Fo({context:pa.optional(),tools:pa.optional()}).optional(),elicitation:Ba.optional(),roots:Fo({listChanged:wo().optional()}).optional(),tasks:Ua.optional()}),Ga=_a.extend({protocolVersion:Zi(),capabilities:za,clientInfo:Ma}),ja=va.extend({method:Ho("initialize"),params:Ga}),Va=Fo({experimental:Go(Zi(),pa).optional(),logging:pa.optional(),completions:pa.optional(),prompts:Fo({listChanged:wo().optional()}).optional(),resources:Fo({subscribe:wo().optional(),listChanged:wo().optional()}).optional(),tools:Fo({listChanged:wo().optional()}).optional(),tasks:$a.optional()}),qa=xa.extend({protocolVersion:Zi(),capabilities:Va,serverInfo:Ma,instructions:Zi().optional()}),Ha=Ea.extend({method:Ho("notifications/initialized"),params:ba.optional()}),Ka=va.extend({method:Ho("ping"),params:_a.optional()}),Wa=Fo({progress:vo(),total:Zo(vo()),message:Zo(Zi())}),Xa=Fo({...ba.shape,...Wa.shape,progressToken:da}),Za=Ea.extend({method:Ho("notifications/progress"),params:Xa}),Ya=_a.extend({cursor:ma.optional()}),Qa=va.extend({params:Ya.optional()}),Ja=xa.extend({nextCursor:ma.optional()}),es=Vo(["working","input_required","completed","failed","cancelled"]),ts=Fo({taskId:Zi(),status:es,ttl:Lo([vo(),To()]),createdAt:Zi(),lastUpdatedAt:Zi(),pollInterval:Zo(vo()),statusMessage:Zo(Zi())}),ns=xa.extend({task:ts}),rs=ba.merge(ts),is=Ea.extend({method:Ho("notifications/tasks/status"),params:rs}),os=va.extend({method:Ho("tasks/get"),params:_a.extend({taskId:Zi()})}),as=xa.merge(ts),ss=va.extend({method:Ho("tasks/result"),params:_a.extend({taskId:Zi()})});xa.loose();const cs=Qa.extend({method:Ho("tasks/list")}),ls=Ja.extend({tasks:Do(ts)}),us=va.extend({method:Ho("tasks/cancel"),params:_a.extend({taskId:Zi()})}),ps=xa.merge(ts),ds=Fo({uri:Zi(),mimeType:Zo(Zi()),_meta:Go(Zi(),ko()).optional()}),ms=ds.extend({text:Zi()}),fs=Zi().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),hs=ds.extend({blob:fs}),gs=Vo(["user","assistant"]),_s=Fo({audience:Do(gs).optional(),priority:vo().min(0).max(1).optional(),lastModified:Mi({offset:!0}).optional()}),ys=Fo({...La.shape,...Na.shape,uri:Zi(),description:Zo(Zi()),mimeType:Zo(Zi()),annotations:_s.optional(),_meta:Zo(Io({}))}),vs=Fo({...La.shape,...Na.shape,uriTemplate:Zi(),description:Zo(Zi()),mimeType:Zo(Zi()),annotations:_s.optional(),_meta:Zo(Io({}))}),bs=Qa.extend({method:Ho("resources/list")}),Es=Ja.extend({resources:Do(ys)}),xs=Qa.extend({method:Ho("resources/templates/list")}),ws=Ja.extend({resourceTemplates:Do(vs)}),As=_a.extend({uri:Zi()}),Ts=As,Ss=va.extend({method:Ho("resources/read"),params:Ts}),ks=xa.extend({contents:Do(Lo([ms,hs]))}),Cs=Ea.extend({method:Ho("notifications/resources/list_changed"),params:ba.optional()}),Os=As,Rs=va.extend({method:Ho("resources/subscribe"),params:Os}),Ds=As,Ps=va.extend({method:Ho("resources/unsubscribe"),params:Ds}),Fs=ba.extend({uri:Zi()}),Is=Ea.extend({method:Ho("notifications/resources/updated"),params:Fs}),Ns=Fo({name:Zi(),description:Zo(Zi()),required:Zo(wo())}),Ls=Fo({...La.shape,...Na.shape,description:Zo(Zi()),arguments:Zo(Do(Ns)),_meta:Zo(Io({}))}),Ms=Qa.extend({method:Ho("prompts/list")}),Bs=Ja.extend({prompts:Do(Ls)}),Us=_a.extend({name:Zi(),arguments:Go(Zi(),Zi()).optional()}),$s=va.extend({method:Ho("prompts/get"),params:Us}),zs=Fo({type:Ho("text"),text:Zi(),annotations:_s.optional(),_meta:Go(Zi(),ko()).optional()}),Gs=Fo({type:Ho("image"),data:fs,mimeType:Zi(),annotations:_s.optional(),_meta:Go(Zi(),ko()).optional()}),js=Fo({type:Ho("audio"),data:fs,mimeType:Zi(),annotations:_s.optional(),_meta:Go(Zi(),ko()).optional()}),Vs=Fo({type:Ho("tool_use"),name:Zi(),id:Zi(),input:Go(Zi(),ko()),_meta:Go(Zi(),ko()).optional()}),qs=Fo({type:Ho("resource"),resource:Lo([ms,hs]),annotations:_s.optional(),_meta:Go(Zi(),ko()).optional()}),Hs=Lo([zs,Gs,js,ys.extend({type:Ho("resource_link")}),qs]),Ks=Fo({role:gs,content:Hs}),Ws=xa.extend({description:Zi().optional(),messages:Do(Ks)}),Xs=Ea.extend({method:Ho("notifications/prompts/list_changed"),params:ba.optional()}),Zs=Fo({title:Zi().optional(),readOnlyHint:wo().optional(),destructiveHint:wo().optional(),idempotentHint:wo().optional(),openWorldHint:wo().optional()}),Ys=Fo({taskSupport:Vo(["required","optional","forbidden"]).optional()}),Qs=Fo({...La.shape,...Na.shape,description:Zi().optional(),inputSchema:Fo({type:Ho("object"),properties:Go(Zi(),pa).optional(),required:Do(Zi()).optional()}).catchall(ko()),outputSchema:Fo({type:Ho("object"),properties:Go(Zi(),pa).optional(),required:Do(Zi()).optional()}).catchall(ko()).optional(),annotations:Zs.optional(),execution:Ys.optional(),_meta:Go(Zi(),ko()).optional()}),Js=Qa.extend({method:Ho("tools/list")}),ec=Ja.extend({tools:Do(Qs)}),tc=xa.extend({content:Do(Hs).default([]),structuredContent:Go(Zi(),ko()).optional(),isError:wo().optional()});tc.or(xa.extend({toolResult:ko()}));const nc=ya.extend({name:Zi(),arguments:Go(Zi(),ko()).optional()}),rc=va.extend({method:Ho("tools/call"),params:nc}),ic=Ea.extend({method:Ho("notifications/tools/list_changed"),params:ba.optional()});Fo({autoRefresh:wo().default(!0),debounceMs:vo().int().nonnegative().default(300)});const oc=Vo(["debug","info","notice","warning","error","critical","alert","emergency"]),ac=_a.extend({level:oc}),sc=va.extend({method:Ho("logging/setLevel"),params:ac}),cc=ba.extend({level:oc,logger:Zi().optional(),data:ko()}),lc=Ea.extend({method:Ho("notifications/message"),params:cc}),uc=Fo({hints:Do(Fo({name:Zi().optional()})).optional(),costPriority:vo().min(0).max(1).optional(),speedPriority:vo().min(0).max(1).optional(),intelligencePriority:vo().min(0).max(1).optional()}),pc=Fo({mode:Vo(["auto","required","none"]).optional()}),dc=Fo({type:Ho("tool_result"),toolUseId:Zi().describe("The unique identifier for the corresponding tool call."),content:Do(Hs).default([]),structuredContent:Fo({}).loose().optional(),isError:wo().optional(),_meta:Go(Zi(),ko()).optional()}),mc=Bo("type",[zs,Gs,js]),fc=Bo("type",[zs,Gs,js,Vs,dc]),hc=Fo({role:gs,content:Lo([fc,Do(fc)]),_meta:Go(Zi(),ko()).optional()}),gc=ya.extend({messages:Do(hc),modelPreferences:uc.optional(),systemPrompt:Zi().optional(),includeContext:Vo(["none","thisServer","allServers"]).optional(),temperature:vo().optional(),maxTokens:vo().int(),stopSequences:Do(Zi()).optional(),metadata:pa.optional(),tools:Do(Qs).optional(),toolChoice:pc.optional()}),_c=va.extend({method:Ho("sampling/createMessage"),params:gc}),yc=xa.extend({model:Zi(),stopReason:Zo(Vo(["endTurn","stopSequence","maxTokens"]).or(Zi())),role:gs,content:mc}),vc=xa.extend({model:Zi(),stopReason:Zo(Vo(["endTurn","stopSequence","maxTokens","toolUse"]).or(Zi())),role:gs,content:Lo([fc,Do(fc)])}),bc=Fo({type:Ho("boolean"),title:Zi().optional(),description:Zi().optional(),default:wo().optional()}),Ec=Fo({type:Ho("string"),title:Zi().optional(),description:Zi().optional(),minLength:vo().optional(),maxLength:vo().optional(),format:Vo(["email","uri","date","date-time"]).optional(),default:Zi().optional()}),xc=Fo({type:Vo(["number","integer"]),title:Zi().optional(),description:Zi().optional(),minimum:vo().optional(),maximum:vo().optional(),default:vo().optional()}),wc=Fo({type:Ho("string"),title:Zi().optional(),description:Zi().optional(),enum:Do(Zi()),default:Zi().optional()}),Ac=Fo({type:Ho("string"),title:Zi().optional(),description:Zi().optional(),oneOf:Do(Fo({const:Zi(),title:Zi()})),default:Zi().optional()}),Tc=Lo([Lo([Fo({type:Ho("string"),title:Zi().optional(),description:Zi().optional(),enum:Do(Zi()),enumNames:Do(Zi()).optional(),default:Zi().optional()}),Lo([wc,Ac]),Lo([Fo({type:Ho("array"),title:Zi().optional(),description:Zi().optional(),minItems:vo().optional(),maxItems:vo().optional(),items:Fo({type:Ho("string"),enum:Do(Zi())}),default:Do(Zi()).optional()}),Fo({type:Ho("array"),title:Zi().optional(),description:Zi().optional(),minItems:vo().optional(),maxItems:vo().optional(),items:Fo({anyOf:Do(Fo({const:Zi(),title:Zi()}))}),default:Do(Zi()).optional()})])]),bc,Ec,xc]),Sc=Lo([ya.extend({mode:Ho("form").optional(),message:Zi(),requestedSchema:Fo({type:Ho("object"),properties:Go(Zi(),Tc),required:Do(Zi()).optional()})}),ya.extend({mode:Ho("url"),message:Zi(),elicitationId:Zi(),url:Zi().url()})]),kc=va.extend({method:Ho("elicitation/create"),params:Sc}),Cc=ba.extend({elicitationId:Zi()}),Oc=Ea.extend({method:Ho("notifications/elicitation/complete"),params:Cc}),Rc=xa.extend({action:Vo(["accept","decline","cancel"]),content:sa(e=>null===e?void 0:e,Go(Zi(),Lo([Zi(),vo(),wo(),Do(Zi())])).optional())}),Dc=Fo({type:Ho("ref/resource"),uri:Zi()}),Pc=Fo({type:Ho("ref/prompt"),name:Zi()}),Fc=_a.extend({ref:Lo([Pc,Dc]),argument:Fo({name:Zi(),value:Zi()}),context:Fo({arguments:Go(Zi(),Zi()).optional()}).optional()}),Ic=va.extend({method:Ho("completion/complete"),params:Fc}),Nc=xa.extend({completion:Io({values:Do(Zi()).max(100),total:Zo(vo().int()),hasMore:Zo(wo())})}),Lc=Fo({uri:Zi().startsWith("file://"),name:Zi().optional(),_meta:Go(Zi(),ko()).optional()}),Mc=va.extend({method:Ho("roots/list"),params:_a.optional()}),Bc=xa.extend({roots:Do(Lc)}),Uc=Ea.extend({method:Ho("notifications/roots/list_changed"),params:ba.optional()});Lo([Ka,ja,Ic,sc,$s,Ms,bs,xs,Ss,Rs,Ps,rc,Js,os,ss,cs,us]),Lo([Ia,Za,Ha,Uc,is]),Lo([Pa,yc,vc,Rc,Bc,as,ls,ns]),Lo([Ka,_c,kc,Mc,os,ss,cs,us]),Lo([Ia,Za,lc,Is,Cs,ic,Xs,is,Oc]),Lo([Pa,qa,Nc,Ws,Bs,Es,ws,ks,tc,ec,as,ls,ns]);var $c=class e extends Error{constructor(e,t,n){super(`MCP error ${e}: ${t}`),this.code=e,this.data=n,this.name="McpError"}static fromError(t,n,r){if(t===Oa.UrlElicitationRequired&&r){let e=r;if(e.elicitations)return new zc(e.elicitations,n)}return new e(t,n,r)}},zc=class extends $c{constructor(e,t=`URL elicitation${e.length>1?"s":""} required`){super(Oa.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}};function Gc(e){return"completed"===e||"failed"===e||"cancelled"===e}const jc=Symbol("Let zodToJsonSchema decide on which parser to use"),Vc={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"};function qc(e,t,n,r){r?.errorMessages&&n&&(e.errorMessage={...e.errorMessage,[t]:n})}function Hc(e,t,n,r,i){e[t]=n,qc(e,t,r,i)}const Kc=(e,t)=>{let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];n++);return[(e.length-n).toString(),...t.slice(n)].join("/")};function Wc(e){if("openAi"!==e.target)return{};let t=[...e.basePath,e.definitionPath,e.openAiAnyTypeName];return e.flags.hasReferencedOpenAiAnyType=!0,{$ref:"relative"===e.$refStrategy?Kc(t,e.currentPath):t.join("/")}}function Xc(e,t){return El(e.type._def,t)}function Zc(e,t,n){let r=n??t.dateStrategy;if(Array.isArray(r))return{anyOf:r.map((n,r)=>Zc(e,t,n))};switch(r){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return Yc(e,t)}}const Yc=(e,t)=>{let n={type:"integer",format:"unix-time"};if("openApi3"===t.target)return n;for(let r of e.checks)switch(r.kind){case"min":Hc(n,"minimum",r.value,r.message,t);break;case"max":Hc(n,"maximum",r.value,r.message,t)}return n};let Qc;const Jc=/^[cC][^\s-]{8,}$/,el=/^[0-9a-z]+$/,tl=/^[0-9A-HJKMNP-TV-Z]{26}$/,nl=/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,rl=()=>(void 0===Qc&&(Qc=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Qc),il=/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,ol=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,al=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,sl=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,cl=/^[a-zA-Z0-9_-]{21}$/,ll=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/;function ul(e,t){let n={type:"string"};if(e.checks)for(let r of e.checks)switch(r.kind){case"min":Hc(n,"minLength","number"==typeof n.minLength?Math.max(n.minLength,r.value):r.value,r.message,t);break;case"max":Hc(n,"maxLength","number"==typeof n.maxLength?Math.min(n.maxLength,r.value):r.value,r.message,t);break;case"email":switch(t.emailStrategy){case"format:email":ml(n,"email",r.message,t);break;case"format:idn-email":ml(n,"idn-email",r.message,t);break;case"pattern:zod":fl(n,nl,r.message,t)}break;case"url":ml(n,"uri",r.message,t);break;case"uuid":ml(n,"uuid",r.message,t);break;case"regex":fl(n,r.regex,r.message,t);break;case"cuid":fl(n,Jc,r.message,t);break;case"cuid2":fl(n,el,r.message,t);break;case"startsWith":fl(n,RegExp(`^${pl(r.value,t)}`),r.message,t);break;case"endsWith":fl(n,RegExp(`${pl(r.value,t)}$`),r.message,t);break;case"datetime":ml(n,"date-time",r.message,t);break;case"date":ml(n,"date",r.message,t);break;case"time":ml(n,"time",r.message,t);break;case"duration":ml(n,"duration",r.message,t);break;case"length":Hc(n,"minLength","number"==typeof n.minLength?Math.max(n.minLength,r.value):r.value,r.message,t),Hc(n,"maxLength","number"==typeof n.maxLength?Math.min(n.maxLength,r.value):r.value,r.message,t);break;case"includes":fl(n,RegExp(pl(r.value,t)),r.message,t);break;case"ip":"v6"!==r.version&&ml(n,"ipv4",r.message,t),"v4"!==r.version&&ml(n,"ipv6",r.message,t);break;case"base64url":fl(n,sl,r.message,t);break;case"jwt":fl(n,ll,r.message,t);break;case"cidr":"v6"!==r.version&&fl(n,il,r.message,t),"v4"!==r.version&&fl(n,ol,r.message,t);break;case"emoji":fl(n,rl(),r.message,t);break;case"ulid":fl(n,tl,r.message,t);break;case"base64":switch(t.base64Strategy){case"format:binary":ml(n,"binary",r.message,t);break;case"contentEncoding:base64":Hc(n,"contentEncoding","base64",r.message,t);break;case"pattern:zod":fl(n,al,r.message,t)}break;case"nanoid":fl(n,cl,r.message,t);case"toLowerCase":case"toUpperCase":case"trim":break;default:(()=>{})()}return n}function pl(e,t){return"escape"===t.patternStrategy?function(e){let t="";for(let n=0;n<e.length;n++)dl.has(e[n])||(t+="\\"),t+=e[n];return t}(e):e}const dl=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function ml(e,t,n,r){e.format||e.anyOf?.some(e=>e.format)?(e.anyOf||=[],e.format&&(e.anyOf.push({format:e.format,...e.errorMessage&&r.errorMessages&&{errorMessage:{format:e.errorMessage.format}}}),delete e.format,e.errorMessage&&(delete e.errorMessage.format,0===Object.keys(e.errorMessage).length&&delete e.errorMessage)),e.anyOf.push({format:t,...n&&r.errorMessages&&{errorMessage:{format:n}}})):Hc(e,"format",t,n,r)}function fl(e,t,n,r){e.pattern||e.allOf?.some(e=>e.pattern)?(e.allOf||=[],e.pattern&&(e.allOf.push({pattern:e.pattern,...e.errorMessage&&r.errorMessages&&{errorMessage:{pattern:e.errorMessage.pattern}}}),delete e.pattern,e.errorMessage&&(delete e.errorMessage.pattern,0===Object.keys(e.errorMessage).length&&delete e.errorMessage)),e.allOf.push({pattern:hl(t,r),...n&&r.errorMessages&&{errorMessage:{pattern:n}}})):Hc(e,"pattern",hl(t,r),n,r)}function hl(e,t){if(!t.applyRegexFlags||!e.flags)return e.source;let n=e.flags.includes("i"),r=e.flags.includes("m"),i=e.flags.includes("s"),o=n?e.source.toLowerCase():e.source,a="",s=!1,c=!1,l=!1;for(let e=0;e<o.length;e++)if(s)a+=o[e],s=!1;else{if(n)if(c){if(o[e].match(/[a-z]/)){l?(a+=o[e],a+=`${o[e-2]}-${o[e]}`.toUpperCase(),l=!1):"-"===o[e+1]&&o[e+2]?.match(/[a-z]/)?(a+=o[e],l=!0):a+=`${o[e]}${o[e].toUpperCase()}`;continue}}else if(o[e].match(/[a-z]/)){a+=`[${o[e]}${o[e].toUpperCase()}]`;continue}if(r){if("^"===o[e]){a+="(^|(?<=[\r\n]))";continue}if("$"===o[e]){a+="($|(?=[\r\n]))";continue}}i&&"."===o[e]?a+=c?`${o[e]}\r\n`:`[${o[e]}\r\n]`:(a+=o[e],"\\"===o[e]?s=!0:c&&"]"===o[e]?c=!1:!c&&"["===o[e]&&(c=!0))}try{new RegExp(a)}catch{return console.warn(`Could not convert regex pattern at ${t.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),e.source}return a}function gl(e,t){if("openAi"===t.target&&console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead."),"openApi3"===t.target&&e.keyType?._def.typeName===ut.ZodEnum)return{type:"object",required:e.keyType._def.values,properties:e.keyType._def.values.reduce((n,r)=>({...n,[r]:El(e.valueType._def,{...t,currentPath:[...t.currentPath,"properties",r]})??Wc(t)}),{}),additionalProperties:t.rejectedAdditionalProperties};let n={type:"object",additionalProperties:El(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??t.allowedAdditionalProperties};if("openApi3"===t.target)return n;if(e.keyType?._def.typeName===ut.ZodString&&e.keyType._def.checks?.length){let{type:r,...i}=ul(e.keyType._def,t);return{...n,propertyNames:i}}if(e.keyType?._def.typeName===ut.ZodEnum)return{...n,propertyNames:{enum:e.keyType._def.values}};if(e.keyType?._def.typeName===ut.ZodBranded&&e.keyType._def.type._def.typeName===ut.ZodString&&e.keyType._def.type._def.checks?.length){let{type:r,...i}=Xc(e.keyType._def,t);return{...n,propertyNames:i}}return n}const _l={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"},yl=(e,t)=>{let n=(e.options instanceof Map?Array.from(e.options.values()):e.options).map((e,n)=>El(e._def,{...t,currentPath:[...t.currentPath,"anyOf",`${n}`]})).filter(e=>!!e&&(!t.strictUnions||"object"==typeof e&&Object.keys(e).length>0));return n.length?{anyOf:n}:void 0};function vl(e){try{return e.isOptional()}catch{return!0}}const bl=(e,t,n)=>{switch(t){case ut.ZodString:return ul(e,n);case ut.ZodNumber:return function(e,t){let n={type:"number"};if(!e.checks)return n;for(let r of e.checks)switch(r.kind){case"int":n.type="integer",qc(n,"type",r.message,t);break;case"min":"jsonSchema7"===t.target?r.inclusive?Hc(n,"minimum",r.value,r.message,t):Hc(n,"exclusiveMinimum",r.value,r.message,t):(r.inclusive||(n.exclusiveMinimum=!0),Hc(n,"minimum",r.value,r.message,t));break;case"max":"jsonSchema7"===t.target?r.inclusive?Hc(n,"maximum",r.value,r.message,t):Hc(n,"exclusiveMaximum",r.value,r.message,t):(r.inclusive||(n.exclusiveMaximum=!0),Hc(n,"maximum",r.value,r.message,t));break;case"multipleOf":Hc(n,"multipleOf",r.value,r.message,t)}return n}(e,n);case ut.ZodObject:return function(e,t){let n="openAi"===t.target,r={type:"object",properties:{}},i=[],o=e.shape();for(let e in o){let a=o[e];if(void 0===a||void 0===a._def)continue;let s=vl(a);s&&n&&("ZodOptional"===a._def.typeName&&(a=a._def.innerType),a.isNullable()||(a=a.nullable()),s=!1);let c=El(a._def,{...t,currentPath:[...t.currentPath,"properties",e],propertyPath:[...t.currentPath,"properties",e]});void 0!==c&&(r.properties[e]=c,s||i.push(e))}i.length&&(r.required=i);let a=function(e,t){if("ZodNever"!==e.catchall._def.typeName)return El(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]});switch(e.unknownKeys){case"passthrough":return t.allowedAdditionalProperties;case"strict":return t.rejectedAdditionalProperties;case"strip":return"strict"===t.removeAdditionalStrategy?t.allowedAdditionalProperties:t.rejectedAdditionalProperties}}(e,t);return void 0!==a&&(r.additionalProperties=a),r}(e,n);case ut.ZodBigInt:return function(e,t){let n={type:"integer",format:"int64"};if(!e.checks)return n;for(let r of e.checks)switch(r.kind){case"min":"jsonSchema7"===t.target?r.inclusive?Hc(n,"minimum",r.value,r.message,t):Hc(n,"exclusiveMinimum",r.value,r.message,t):(r.inclusive||(n.exclusiveMinimum=!0),Hc(n,"minimum",r.value,r.message,t));break;case"max":"jsonSchema7"===t.target?r.inclusive?Hc(n,"maximum",r.value,r.message,t):Hc(n,"exclusiveMaximum",r.value,r.message,t):(r.inclusive||(n.exclusiveMaximum=!0),Hc(n,"maximum",r.value,r.message,t));break;case"multipleOf":Hc(n,"multipleOf",r.value,r.message,t)}return n}(e,n);case ut.ZodBoolean:return{type:"boolean"};case ut.ZodDate:return Zc(e,n);case ut.ZodUndefined:return function(e){return{not:Wc(e)}}(n);case ut.ZodNull:return function(e){return"openApi3"===e.target?{enum:["null"],nullable:!0}:{type:"null"}}(n);case ut.ZodArray:return function(e,t){let n={type:"array"};return e.type?._def&&e.type?._def?.typeName!==ut.ZodAny&&(n.items=El(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&Hc(n,"minItems",e.minLength.value,e.minLength.message,t),e.maxLength&&Hc(n,"maxItems",e.maxLength.value,e.maxLength.message,t),e.exactLength&&(Hc(n,"minItems",e.exactLength.value,e.exactLength.message,t),Hc(n,"maxItems",e.exactLength.value,e.exactLength.message,t)),n}(e,n);case ut.ZodUnion:case ut.ZodDiscriminatedUnion:return function(e,t){if("openApi3"===t.target)return yl(e,t);let n=e.options instanceof Map?Array.from(e.options.values()):e.options;if(n.every(e=>e._def.typeName in _l&&(!e._def.checks||!e._def.checks.length))){let e=n.reduce((e,t)=>{let n=_l[t._def.typeName];return n&&!e.includes(n)?[...e,n]:e},[]);return{type:e.length>1?e:e[0]}}if(n.every(e=>"ZodLiteral"===e._def.typeName&&!e.description)){let e=n.reduce((e,t)=>{let n=typeof t._def.value;switch(n){case"string":case"number":case"boolean":return[...e,n];case"bigint":return[...e,"integer"];case"object":if(null===t._def.value)return[...e,"null"];default:return e}},[]);if(e.length===n.length){let t=e.filter((e,t,n)=>n.indexOf(e)===t);return{type:t.length>1?t:t[0],enum:n.reduce((e,t)=>e.includes(t._def.value)?e:[...e,t._def.value],[])}}}else if(n.every(e=>"ZodEnum"===e._def.typeName))return{type:"string",enum:n.reduce((e,t)=>[...e,...t._def.values.filter(t=>!e.includes(t))],[])};return yl(e,t)}(e,n);case ut.ZodIntersection:return function(e,t){let n=[El(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),El(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(e=>!!e),r="jsonSchema2019-09"===t.target?{unevaluatedProperties:!1}:void 0,i=[];return n.forEach(e=>{if((e=>(!("type"in e)||"string"!==e.type)&&"allOf"in e)(e))i.push(...e.allOf),void 0===e.unevaluatedProperties&&(r=void 0);else{let t=e;if("additionalProperties"in e&&!1===e.additionalProperties){let{additionalProperties:n,...r}=e;t=r}else r=void 0;i.push(t)}}),i.length?{allOf:i,...r}:void 0}(e,n);case ut.ZodTuple:return function(e,t){return e.rest?{type:"array",minItems:e.items.length,items:e.items.map((e,n)=>El(e._def,{...t,currentPath:[...t.currentPath,"items",`${n}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[]),additionalItems:El(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map((e,n)=>El(e._def,{...t,currentPath:[...t.currentPath,"items",`${n}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[])}}(e,n);case ut.ZodRecord:return gl(e,n);case ut.ZodLiteral:return function(e,t){let n=typeof e.value;return"bigint"!==n&&"number"!==n&&"boolean"!==n&&"string"!==n?{type:Array.isArray(e.value)?"array":"object"}:"openApi3"===t.target?{type:"bigint"===n?"integer":n,enum:[e.value]}:{type:"bigint"===n?"integer":n,const:e.value}}(e,n);case ut.ZodEnum:return function(e){return{type:"string",enum:Array.from(e.values)}}(e);case ut.ZodNativeEnum:return function(e){let t=e.values,n=Object.keys(e.values).filter(e=>"number"!=typeof t[t[e]]).map(e=>t[e]),r=Array.from(new Set(n.map(e=>typeof e)));return{type:1===r.length?"string"===r[0]?"string":"number":["string","number"],enum:n}}(e);case ut.ZodNullable:return function(e,t){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return"openApi3"===t.target?{type:_l[e.innerType._def.typeName],nullable:!0}:{type:[_l[e.innerType._def.typeName],"null"]};if("openApi3"===t.target){let n=El(e.innerType._def,{...t,currentPath:[...t.currentPath]});return n&&"$ref"in n?{allOf:[n],nullable:!0}:n&&{...n,nullable:!0}}let n=El(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return n&&{anyOf:[n,{type:"null"}]}}(e,n);case ut.ZodOptional:return((e,t)=>{if(t.currentPath.toString()===t.propertyPath?.toString())return El(e.innerType._def,t);let n=El(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return n?{anyOf:[{not:Wc(t)},n]}:Wc(t)})(e,n);case ut.ZodMap:return function(e,t){return"record"===t.mapStrategy?gl(e,t):{type:"array",maxItems:125,items:{type:"array",items:[El(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||Wc(t),El(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||Wc(t)],minItems:2,maxItems:2}}}(e,n);case ut.ZodSet:return function(e,t){let n={type:"array",uniqueItems:!0,items:El(e.valueType._def,{...t,currentPath:[...t.currentPath,"items"]})};return e.minSize&&Hc(n,"minItems",e.minSize.value,e.minSize.message,t),e.maxSize&&Hc(n,"maxItems",e.maxSize.value,e.maxSize.message,t),n}(e,n);case ut.ZodLazy:return()=>e.getter()._def;case ut.ZodPromise:return function(e,t){return El(e.type._def,t)}(e,n);case ut.ZodNaN:case ut.ZodNever:return function(e){return"openAi"===e.target?void 0:{not:Wc({...e,currentPath:[...e.currentPath,"not"]})}}(n);case ut.ZodEffects:return function(e,t){return"input"===t.effectStrategy?El(e.schema._def,t):Wc(t)}(e,n);case ut.ZodAny:return Wc(n);case ut.ZodUnknown:return function(e){return Wc(e)}(n);case ut.ZodDefault:return function(e,t){return{...El(e.innerType._def,t),default:e.defaultValue()}}(e,n);case ut.ZodBranded:return Xc(e,n);case ut.ZodReadonly:case ut.ZodCatch:return((e,t)=>El(e.innerType._def,t))(e,n);case ut.ZodPipeline:return((e,t)=>{if("input"===t.pipeStrategy)return El(e.in._def,t);if("output"===t.pipeStrategy)return El(e.out._def,t);let n=El(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]});return{allOf:[n,El(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",n?"1":"0"]})].filter(e=>void 0!==e)}})(e,n);case ut.ZodFunction:case ut.ZodVoid:case ut.ZodSymbol:default:return}};function El(e,t,n=!1){let r=t.seen.get(e);if(t.override){let i=t.override?.(e,t,r,n);if(i!==jc)return i}if(r&&!n){let e=xl(r,t);if(void 0!==e)return e}let i={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,i);let o=bl(e,e.typeName,t),a="function"==typeof o?El(o(),t):o;if(a&&wl(e,t,a),t.postProcess){let n=t.postProcess(a,e,t);return i.jsonSchema=a,n}return i.jsonSchema=a,a}const xl=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:Kc(t.currentPath,e.path)};case"none":case"seen":return e.path.length<t.currentPath.length&&e.path.every((e,n)=>t.currentPath[n]===e)?(console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`),Wc(t)):"seen"===t.$refStrategy?Wc(t):void 0}},wl=(e,t,n)=>(e.description&&(n.description=e.description,t.markdownDescription&&(n.markdownDescription=e.description)),n);function Al(e){return!e||"jsonSchema7"===e||"draft-7"===e||"jsonSchema2019-09"!==e&&"draft-2020-12"!==e?"draft-7":"draft-2020-12"}function Tl(e,t){return Si(e)?function(e,t){if(e instanceof li){let n=new Ei(t),r={};for(let t of e._idmap.entries()){let[e,r]=t;n.process(r)}let i={},o={registry:e,uri:t?.uri,defs:r};for(let r of e._idmap.entries()){let[e,a]=r;i[e]=n.emit(a,{...t,external:o})}return Object.keys(r).length>0&&(i.__shared={["draft-2020-12"===n.target?"$defs":"definitions"]:r}),{schemas:i}}let n=new Ei(t);return n.process(e),n.emit(e,t)}(e,{target:Al(t?.target),io:t?.pipeStrategy??"input"}):((e,t)=>{let n=(e=>{let t=(e=>"string"==typeof e?{...Vc,name:e}:{...Vc,...e})(e),n=void 0===t.name?t.basePath:[...t.basePath,t.definitionPath,t.name];return{...t,flags:{hasReferencedOpenAiAnyType:!1},currentPath:n,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([e,n])=>[n._def,{def:n._def,path:[...t.basePath,t.definitionPath,e],jsonSchema:void 0}]))}})(t),r=t.definitions?Object.entries(t.definitions).reduce((e,[t,r])=>({...e,[t]:El(r._def,{...n,currentPath:[...n.basePath,n.definitionPath,t]},!0)??Wc(n)}),{}):void 0,i="title"===t?.nameStrategy?void 0:t?.name,o=El(e._def,void 0===i?n:{...n,currentPath:[...n.basePath,n.definitionPath,i]},!1)??Wc(n),a=void 0!==t.name&&"title"===t.nameStrategy?t.name:void 0;void 0!==a&&(o.title=a),n.flags.hasReferencedOpenAiAnyType&&(r||={},r[n.openAiAnyTypeName]||(r[n.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:"relative"===n.$refStrategy?"1":[...n.basePath,n.definitionPath,n.openAiAnyTypeName].join("/")}}));let s=void 0===i?r?{...o,[n.definitionPath]:r}:o:{$ref:[..."relative"===n.$refStrategy?[]:n.basePath,n.definitionPath,i].join("/"),[n.definitionPath]:{...r,[i]:o}};return"jsonSchema7"===n.target?s.$schema="http://json-schema.org/draft-07/schema#":("jsonSchema2019-09"===n.target||"openAi"===n.target)&&(s.$schema="https://json-schema.org/draft/2019-09/schema#"),"openAi"===n.target&&("anyOf"in s||"oneOf"in s||"allOf"in s||"type"in s&&Array.isArray(s.type))&&console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property."),s})(e,{strictUnions:t?.strictUnions??!0,pipeStrategy:t?.pipeStrategy??"input"})}function Sl(e){let t=Ri(e)?.method;if(!t)throw Error("Schema is missing a method literal");let n=Ni(t);if("string"!=typeof n)throw Error("Schema method literal must be a string");return n}function kl(e,t){let n=Ci(e,t);if(!n.success)throw n.error;return n.data}var Cl=class{constructor(e){this._options=e,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(Ia,e=>{this._oncancel(e)}),this.setNotificationHandler(Za,e=>{this._onprogress(e)}),this.setRequestHandler(Ka,e=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(os,async(e,t)=>{let n=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!n)throw new $c(Oa.InvalidParams,"Failed to retrieve task: Task not found");return{...n}}),this.setRequestHandler(ss,async(e,t)=>{let n=async()=>{let r=e.params.taskId;if(this._taskMessageQueue){let e;for(;e=await this._taskMessageQueue.dequeue(r,t.sessionId);){if("response"===e.type||"error"===e.type){let t=e.message,n=t.id,r=this._requestResolvers.get(n);if(r)if(this._requestResolvers.delete(n),"response"===e.type)r(t);else{let e=t;r(new $c(e.error.code,e.error.message,e.error.data))}else{let t="response"===e.type?"Response":"Error";this._onerror(Error(`${t} handler missing for request ${n}`))}continue}await(this._transport?.send(e.message,{relatedRequestId:t.requestId}))}}let i=await this._taskStore.getTask(r,t.sessionId);if(!i)throw new $c(Oa.InvalidParams,`Task not found: ${r}`);if(!Gc(i.status))return await this._waitForTaskUpdate(r,t.signal),await n();if(Gc(i.status)){let e=await this._taskStore.getTaskResult(r,t.sessionId);return this._clearTaskQueue(r),{...e,_meta:{...e._meta,[ua]:{taskId:r}}}}return await n()};return await n()}),this.setRequestHandler(cs,async(e,t)=>{try{let{tasks:n,nextCursor:r}=await this._taskStore.listTasks(e.params?.cursor,t.sessionId);return{tasks:n,nextCursor:r,_meta:{}}}catch(e){throw new $c(Oa.InvalidParams,`Failed to list tasks: ${e instanceof Error?e.message:String(e)}`)}}),this.setRequestHandler(us,async(e,t)=>{try{let n=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!n)throw new $c(Oa.InvalidParams,`Task not found: ${e.params.taskId}`);if(Gc(n.status))throw new $c(Oa.InvalidParams,`Cannot cancel task in terminal status: ${n.status}`);await this._taskStore.updateTaskStatus(e.params.taskId,"cancelled","Client cancelled task execution.",t.sessionId),this._clearTaskQueue(e.params.taskId);let r=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!r)throw new $c(Oa.InvalidParams,`Task not found after cancellation: ${e.params.taskId}`);return{_meta:{},...r}}catch(e){throw e instanceof $c?e:new $c(Oa.InvalidRequest,`Failed to cancel task: ${e instanceof Error?e.message:String(e)}`)}}))}async _oncancel(e){e.params.requestId&&this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,t,n,r,i=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(r,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:i,onTimeout:r})}_resetTimeout(e){let t=this._timeoutInfo.get(e);if(!t)return!1;let n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),$c.fromError(Oa.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){let t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){this._transport=e;let t=this.transport?.onclose;this._transport.onclose=()=>{t?.(),this._onclose()};let n=this.transport?.onerror;this._transport.onerror=e=>{n?.(e),this._onerror(e)};let r=this._transport?.onmessage;this._transport.onmessage=(e,t)=>{r?.(e,t),Ca(e)||(e=>Ra.safeParse(e).success)(e)?this._onresponse(e):Ta(e)?this._onrequest(e,t):(e=>Sa.safeParse(e).success)(e)?this._onnotification(e):this._onerror(Error(`Unknown message type: ${JSON.stringify(e)}`))},await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();let t=$c.fromError(Oa.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let n of e.values())n(t)}_onerror(e){this.onerror?.(e)}_onnotification(e){let t=this._notificationHandlers.get(e.method)??this.fallbackNotificationHandler;void 0!==t&&Promise.resolve().then(()=>t(e)).catch(e=>this._onerror(Error(`Uncaught error in notification handler: ${e}`)))}_onrequest(e,t){let n=this._requestHandlers.get(e.method)??this.fallbackRequestHandler,r=this._transport,i=e.params?._meta?.[ua]?.taskId;if(void 0===n){let t={jsonrpc:"2.0",id:e.id,error:{code:Oa.MethodNotFound,message:"Method not found"}};return void(i&&this._taskMessageQueue?this._enqueueTaskMessage(i,{type:"error",message:t,timestamp:Date.now()},r?.sessionId).catch(e=>this._onerror(Error(`Failed to enqueue error response: ${e}`))):r?.send(t).catch(e=>this._onerror(Error(`Failed to send an error response: ${e}`))))}let o=new AbortController;this._requestHandlerAbortControllers.set(e.id,o);let a=(e=>ya.safeParse(e).success)(e.params)?e.params.task:void 0,s=this._taskStore?this.requestTaskStore(e,r?.sessionId):void 0,c={signal:o.signal,sessionId:r?.sessionId,_meta:e.params?._meta,sendNotification:async t=>{let n={relatedRequestId:e.id};i&&(n.relatedTask={taskId:i}),await this.notification(t,n)},sendRequest:async(t,n,r)=>{let o={...r,relatedRequestId:e.id};i&&!o.relatedTask&&(o.relatedTask={taskId:i});let a=o.relatedTask?.taskId??i;return a&&s&&await s.updateTaskStatus(a,"input_required"),await this.request(t,n,o)},authInfo:t?.authInfo,requestId:e.id,requestInfo:t?.requestInfo,taskId:i,taskStore:s,taskRequestedTtl:a?.ttl,closeSSEStream:t?.closeSSEStream,closeStandaloneSSEStream:t?.closeStandaloneSSEStream};Promise.resolve().then(()=>{a&&this.assertTaskHandlerCapability(e.method)}).then(()=>n(e,c)).then(async t=>{if(o.signal.aborted)return;let n={result:t,jsonrpc:"2.0",id:e.id};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:"response",message:n,timestamp:Date.now()},r?.sessionId):await(r?.send(n))},async t=>{if(o.signal.aborted)return;let n={jsonrpc:"2.0",id:e.id,error:{code:Number.isSafeInteger(t.code)?t.code:Oa.InternalError,message:t.message??"Internal error",...void 0!==t.data&&{data:t.data}}};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:"error",message:n,timestamp:Date.now()},r?.sessionId):await(r?.send(n))}).catch(e=>this._onerror(Error(`Failed to send response: ${e}`))).finally(()=>{this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){let{progressToken:t,...n}=e.params,r=Number(t),i=this._progressHandlers.get(r);if(!i)return void this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));let o=this._responseHandlers.get(r),a=this._timeoutInfo.get(r);if(a&&o&&a.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(e){return this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),void o(e)}i(n)}_onresponse(e){let t=Number(e.id),n=this._requestResolvers.get(t);if(n)return this._requestResolvers.delete(t),void(Ca(e)?n(e):n(new $c(e.error.code,e.error.message,e.error.data)));let r=this._responseHandlers.get(t);if(void 0===r)return void this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));this._responseHandlers.delete(t),this._cleanupTimeout(t);let i=!1;if(Ca(e)&&e.result&&"object"==typeof e.result){let n=e.result;if(n.task&&"object"==typeof n.task){let e=n.task;"string"==typeof e.taskId&&(i=!0,this._taskProgressTokens.set(e.taskId,t))}}i||this._progressHandlers.delete(t),Ca(e)?r(e):r($c.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){await(this._transport?.close())}async*requestStream(e,t,n){let r,{task:i}=n??{};if(i)try{let i=await this.request(e,ns,n);if(!i.task)throw new $c(Oa.InternalError,"Task creation did not return a task");for(r=i.task.taskId,yield{type:"taskCreated",task:i.task};;){let e=await this.getTask({taskId:r},n);if(yield{type:"taskStatus",task:e},Gc(e.status))return void("completed"===e.status?yield{type:"result",result:await this.getTaskResult({taskId:r},t,n)}:"failed"===e.status?yield{type:"error",error:new $c(Oa.InternalError,`Task ${r} failed`)}:"cancelled"===e.status&&(yield{type:"error",error:new $c(Oa.InternalError,`Task ${r} was cancelled`)}));if("input_required"===e.status)return void(yield{type:"result",result:await this.getTaskResult({taskId:r},t,n)});let i=e.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(e=>setTimeout(e,i)),n?.signal?.throwIfAborted()}}catch(e){yield{type:"error",error:e instanceof $c?e:new $c(Oa.InternalError,String(e))}}else try{yield{type:"result",result:await this.request(e,t,n)}}catch(e){yield{type:"error",error:e instanceof $c?e:new $c(Oa.InternalError,String(e))}}}request(e,t,n){let{relatedRequestId:r,resumptionToken:i,onresumptiontoken:o,task:a,relatedTask:s}=n??{};return new Promise((c,l)=>{let u=e=>{l(e)};if(!this._transport)return void u(Error("Not connected"));if(!0===this._options?.enforceStrictCapabilities)try{this.assertCapabilityForMethod(e.method),a&&this.assertTaskCapability(e.method)}catch(e){return void u(e)}n?.signal?.throwIfAborted();let p=this._requestMessageId++,d={...e,jsonrpc:"2.0",id:p};n?.onprogress&&(this._progressHandlers.set(p,n.onprogress),d.params={...e.params,_meta:{...e.params?._meta||{},progressToken:p}}),a&&(d.params={...d.params,task:a}),s&&(d.params={...d.params,_meta:{...d.params?._meta||{},[ua]:s}});let m=e=>{this._responseHandlers.delete(p),this._progressHandlers.delete(p),this._cleanupTimeout(p),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:p,reason:String(e)}},{relatedRequestId:r,resumptionToken:i,onresumptiontoken:o}).catch(e=>this._onerror(Error(`Failed to send cancellation: ${e}`))),l(e instanceof $c?e:new $c(Oa.RequestTimeout,String(e)))};this._responseHandlers.set(p,e=>{if(!n?.signal?.aborted){if(e instanceof Error)return l(e);try{let n=Ci(t,e.result);n.success?c(n.data):l(n.error)}catch(e){l(e)}}}),n?.signal?.addEventListener("abort",()=>{m(n?.signal?.reason)});let f=n?.timeout??6e4;this._setupTimeout(p,f,n?.maxTotalTimeout,()=>m($c.fromError(Oa.RequestTimeout,"Request timed out",{timeout:f})),n?.resetTimeoutOnProgress??!1);let h=s?.taskId;h?(this._requestResolvers.set(p,e=>{let t=this._responseHandlers.get(p);t?t(e):this._onerror(Error(`Response handler missing for side-channeled request ${p}`))}),this._enqueueTaskMessage(h,{type:"request",message:d,timestamp:Date.now()}).catch(e=>{this._cleanupTimeout(p),l(e)})):this._transport.send(d,{relatedRequestId:r,resumptionToken:i,onresumptiontoken:o}).catch(e=>{this._cleanupTimeout(p),l(e)})})}async getTask(e,t){return this.request({method:"tasks/get",params:e},as,t)}async getTaskResult(e,t,n){return this.request({method:"tasks/result",params:e},t,n)}async listTasks(e,t){return this.request({method:"tasks/list",params:e},ls,t)}async cancelTask(e,t){return this.request({method:"tasks/cancel",params:e},ps,t)}async notification(e,t){if(!this._transport)throw Error("Not connected");this.assertNotificationCapability(e.method);let n=t?.relatedTask?.taskId;if(n){let r={...e,jsonrpc:"2.0",params:{...e.params,_meta:{...e.params?._meta||{},[ua]:t.relatedTask}}};return void await this._enqueueTaskMessage(n,{type:"notification",message:r,timestamp:Date.now()})}if((this._options?.debouncedNotificationMethods??[]).includes(e.method)&&!e.params&&!t?.relatedRequestId&&!t?.relatedTask){if(this._pendingDebouncedNotifications.has(e.method))return;return this._pendingDebouncedNotifications.add(e.method),void Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;let n={...e,jsonrpc:"2.0"};t?.relatedTask&&(n={...n,params:{...n.params,_meta:{...n.params?._meta||{},[ua]:t.relatedTask}}}),this._transport?.send(n,t).catch(e=>this._onerror(e))})}let r={...e,jsonrpc:"2.0"};t?.relatedTask&&(r={...r,params:{...r.params,_meta:{...r.params?._meta||{},[ua]:t.relatedTask}}}),await this._transport.send(r,t)}setRequestHandler(e,t){let n=Sl(e);this.assertRequestHandlerCapability(n),this._requestHandlers.set(n,(n,r)=>{let i=kl(e,n);return Promise.resolve(t(i,r))})}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t){let n=Sl(e);this._notificationHandlers.set(n,n=>{let r=kl(e,n);return Promise.resolve(t(r))})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}_cleanupTaskProgressHandler(e){let t=this._taskProgressTokens.get(e);void 0!==t&&(this._progressHandlers.delete(t),this._taskProgressTokens.delete(e))}async _enqueueTaskMessage(e,t,n){if(!this._taskStore||!this._taskMessageQueue)throw Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let r=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(e,t,n,r)}async _clearTaskQueue(e,t){if(this._taskMessageQueue){let n=await this._taskMessageQueue.dequeueAll(e,t);for(let t of n)if("request"===t.type&&Ta(t.message)){let n=t.message.id,r=this._requestResolvers.get(n);r?(r(new $c(Oa.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(n)):this._onerror(Error(`Resolver missing for request ${n} during task ${e} cleanup`))}}}async _waitForTaskUpdate(e,t){let n=this._options?.defaultTaskPollInterval??1e3;try{let t=await(this._taskStore?.getTask(e));t?.pollInterval&&(n=t.pollInterval)}catch{}return new Promise((e,r)=>{if(t.aborted)return void r(new $c(Oa.InvalidRequest,"Request cancelled"));let i=setTimeout(e,n);t.addEventListener("abort",()=>{clearTimeout(i),r(new $c(Oa.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(e,t){let n=this._taskStore;if(!n)throw Error("No task store configured");return{createTask:async r=>{if(!e)throw Error("No request provided");return await n.createTask(r,e.id,{method:e.method,params:e.params},t)},getTask:async e=>{let r=await n.getTask(e,t);if(!r)throw new $c(Oa.InvalidParams,"Failed to retrieve task: Task not found");return r},storeTaskResult:async(e,r,i)=>{await n.storeTaskResult(e,r,i,t);let o=await n.getTask(e,t);if(o){let t=is.parse({method:"notifications/tasks/status",params:o});await this.notification(t),Gc(o.status)&&this._cleanupTaskProgressHandler(e)}},getTaskResult:e=>n.getTaskResult(e,t),updateTaskStatus:async(e,r,i)=>{let o=await n.getTask(e,t);if(!o)throw new $c(Oa.InvalidParams,`Task "${e}" not found - it may have been cleaned up`);if(Gc(o.status))throw new $c(Oa.InvalidParams,`Cannot update task "${e}" from terminal status "${o.status}" to "${r}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await n.updateTaskStatus(e,r,i,t);let a=await n.getTask(e,t);if(a){let t=is.parse({method:"notifications/tasks/status",params:a});await this.notification(t),Gc(a.status)&&this._cleanupTaskProgressHandler(e)}},listTasks:e=>n.listTasks(e,t)}}};function Ol(e){return"object"==typeof e&&!!e&&!Array.isArray(e)}var Rl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;var t=class{};e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var n=class extends t{constructor(t){if(super(),!e.IDENTIFIER.test(t))throw Error("CodeGen: name must be a valid identifier");this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};e.Name=n;var r=class extends t{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return""===e||'""'===e}get str(){return this._str??=this._items.reduce((e,t)=>`${e}${t}`,"")}get names(){return this._names??=this._items.reduce((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e),{})}};function i(e,...t){let n=[e[0]],i=0;for(;i<t.length;)s(n,t[i]),n.push(e[++i]);return new r(n)}e._Code=r,e.nil=new r(""),e._=i;let o=new r("+");function a(e,...t){let n=[l(e[0])],i=0;for(;i<t.length;)n.push(o),s(n,t[i]),n.push(o,l(e[++i]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===o){let n=c(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new r(n)}function s(e,t){t instanceof r?e.push(...t._items):t instanceof n?e.push(t):e.push(function(e){return"number"==typeof e||"boolean"==typeof e||null===e?e:l(Array.isArray(e)?e.join(","):e)}(t))}function c(e,t){return'""'===t?e:'""'===e?t:"string"==typeof e?t instanceof n||'"'!==e[e.length-1]?void 0:"string"==typeof t?'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0:`${e.slice(0,-1)}${t}"`:"string"!=typeof t||'"'!==t[0]||e instanceof n?void 0:`"${e}${t.slice(1)}`}function l(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.str=a,e.addCodeArg=s,e.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:a`${e}${t}`},e.stringify=function(e){return new r(l(e))},e.safeStringify=l,e.getProperty=function(t){return"string"==typeof t&&e.IDENTIFIER.test(t)?new r(`.${t}`):i`[${t}]`},e.getEsmExportName=function(t){if("string"==typeof t&&e.IDENTIFIER.test(t))return new r(`${t}`);throw Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)},e.regexpCode=function(e){return new r(e.toString())}}),Dl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;let t=Rl();var n,r=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}};(function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};var i=class{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof t.Name?e:this.name(e)}name(e){return new t.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){if((this._parent?._prefixes)?.has(e)||this._prefixes&&!this._prefixes.has(e))throw Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};e.Scope=i;var o=class extends t.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:n,itemIndex:r}){this.value=e,this.scopePath=t._`.${new t.Name(n)}[${r}]`}};e.ValueScopeName=o;let a=t._`\n`;e.ValueScope=class extends i{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?a:t.nil}}get(){return this._scope}name(e){return new o(e,this._newName(e))}value(e,t){if(void 0===t.ref)throw Error("CodeGen: ref must be passed in value");let n=this.toName(e),{prefix:r}=n,i=t.key??t.ref,o=this._values[r];if(o){let e=o.get(i);if(e)return e}else o=this._values[r]=new Map;o.set(i,n);let a=this._scope[r]||(this._scope[r]=[]),s=a.length;return a[s]=t.ref,n.setValue(t,{property:r,itemIndex:s}),n}getValue(e,t){let n=this._values[e];if(n)return n.get(t)}scopeRefs(e,n=this._values){return this._reduceValues(n,n=>{if(void 0===n.scopePath)throw Error(`CodeGen: name "${n}" has no value`);return t._`${e}${n.scopePath}`})}scopeCode(e=this._values,t,n){return this._reduceValues(e,e=>{if(void 0===e.value)throw Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,n)}_reduceValues(i,o,a={},s){let c=t.nil;for(let l in i){let u=i[l];if(!u)continue;let p=a[l]=a[l]||new Map;u.forEach(i=>{if(p.has(i))return;p.set(i,n.Started);let a=o(i);if(a){let n=this.opts.es5?e.varKinds.var:e.varKinds.const;c=t._`${c}${n} ${i} = ${a};${this.opts._n}`}else{if(!(a=s?.(i)))throw new r(i);c=t._`${c}${a}${this.opts._n}`}p.set(i,n.Completed)})}return c}}}),Pl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;let t=Rl(),n=Dl();var r=Rl();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return r.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return r.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return r.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}});var i=Dl();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};var o=class{optimizeNodes(){return this}optimizeNames(e,t){return this}},a=class extends o{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){let r=e?n.varKinds.var:this.varKind,i=void 0===this.rhs?"":` = ${this.rhs}`;return`${r} ${this.name}${i};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&=O(this.rhs,e,t),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}},s=class extends o{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,n){if(!(this.lhs instanceof t.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=O(this.rhs,e,n),this}get names(){return C(this.lhs instanceof t.Name?{}:{...this.lhs.names},this.rhs)}},c=class extends s{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},l=class extends o{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},u=class extends o{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}},p=class extends o{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},d=class extends o{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=O(this.code,e,t),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}},m=class extends o{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,n)=>t+n.render(e),"")}optimizeNodes(){let{nodes:e}=this,t=e.length;for(;t--;){let n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){let{nodes:n}=this,r=n.length;for(;r--;){let i=n[r];i.optimizeNames(e,t)||(R(e,i.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>k(e,t.names),{})}},f=class extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}},h=class extends m{},g=class extends f{};g.kind="else";var _=class e extends f{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(!0===t)return this.nodes;let n=this.else;if(n){let e=n.optimizeNodes();n=this.else=Array.isArray(e)?new g(e):e}return n?!1===t?n instanceof e?n:n.nodes:this.nodes.length?this:new e(D(t),n instanceof e?[n]:n.nodes):!1!==t&&this.nodes.length?this:void 0}optimizeNames(e,t){if(this.else=this.else?.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=O(this.condition,e,t),this}get names(){let e=super.names;return C(e,this.condition),this.else&&k(e,this.else.names),e}};_.kind="if";var y=class extends f{};y.kind="for";var v=class extends y{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=O(this.iteration,e,t),this}get names(){return k(super.names,this.iteration.names)}},b=class extends y{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){let t=e.es5?n.varKinds.var:this.varKind,{name:r,from:i,to:o}=this;return`for(${t} ${r}=${i}; ${r}<${o}; ${r}++)`+super.render(e)}get names(){return C(C(super.names,this.from),this.to)}},E=class extends y{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=O(this.iterable,e,t),this}get names(){return k(super.names,this.iterable.names)}},x=class extends f{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}};x.kind="func";var w=class extends m{render(e){return"return "+super.render(e)}};w.kind="return";var A=class extends f{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null==(e=this.catch)||e.optimizeNodes(),null==(t=this.finally)||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null==(n=this.catch)||n.optimizeNames(e,t),null==(r=this.finally)||r.optimizeNames(e,t),this}get names(){let e=super.names;return this.catch&&k(e,this.catch.names),this.finally&&k(e,this.finally.names),e}},T=class extends f{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};T.kind="catch";var S=class extends f{render(e){return"finally"+super.render(e)}};function k(e,t){for(let n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function C(e,n){return n instanceof t._CodeOrName?k(e,n.names):e}function O(e,n,r){return e instanceof t.Name?i(e):function(e){return e instanceof t._Code&&e._items.some(e=>e instanceof t.Name&&1===n[e.str]&&void 0!==r[e.str])}(e)?new t._Code(e._items.reduce((e,n)=>(n instanceof t.Name&&(n=i(n)),n instanceof t._Code?e.push(...n._items):e.push(n),e),[])):e;function i(e){let t=r[e.str];return void 0===t||1!==n[e.str]?e:(delete n[e.str],t)}}function R(e,t){for(let n in t)e[n]=(e[n]||0)-(t[n]||0)}function D(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:t._`!${N(e)}`}S.kind="finally",e.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new n.Scope({parent:e}),this._nodes=[new h]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){let n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){let i=this._scope.toName(t);return void 0!==n&&r&&(this._constants[i.str]=n),this._leafNode(new a(e,i,n)),i}const(e,t,r){return this._def(n.varKinds.const,e,t,r)}let(e,t,r){return this._def(n.varKinds.let,e,t,r)}var(e,t,r){return this._def(n.varKinds.var,e,t,r)}assign(e,t,n){return this._leafNode(new s(e,t,n))}add(t,n){return this._leafNode(new c(t,e.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==t.nil&&this._leafNode(new d(e)),this}object(...e){let n=["{"];for(let[r,i]of e)n.length>1&&n.push(","),n.push(r),(r!==i||this.opts.es5)&&(n.push(":"),(0,t.addCodeArg)(n,i));return n.push("}"),new t._Code(n)}if(e,t,n){if(this._blockNode(new _(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new _(e))}else(){return this._elseNode(new g)}endIf(){return this._endBlockNode(_,g)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new v(e),t)}forRange(e,t,r,i,o=(this.opts.es5?n.varKinds.var:n.varKinds.let)){let a=this._scope.toName(e);return this._for(new b(o,a,t,r),()=>i(a))}forOf(e,r,i,o=n.varKinds.const){let a=this._scope.toName(e);if(this.opts.es5){let e=r instanceof t.Name?r:this.var("_arr",r);return this.forRange("_i",0,t._`${e}.length`,n=>{this.var(a,t._`${e}[${n}]`),i(a)})}return this._for(new E("of",o,a,r),()=>i(a))}forIn(e,r,i,o=(this.opts.es5?n.varKinds.var:n.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,t._`Object.keys(${r})`,i);let a=this._scope.toName(e);return this._for(new E("in",o,a,r),()=>i(a))}endFor(){return this._endBlockNode(y)}label(e){return this._leafNode(new l(e))}break(e){return this._leafNode(new u(e))}return(e){let t=new w;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw Error('CodeGen: "return" should have one node');return this._endBlockNode(w)}try(e,t,n){if(!t&&!n)throw Error('CodeGen: "try" without "catch" and "finally"');let r=new A;if(this._blockNode(r),this.code(e),t){let e=this.name("e");this._currNode=r.catch=new T(e),t(e)}return n&&(this._currNode=r.finally=new S,this.code(n)),this._endBlockNode(T,S)}throw(e){return this._leafNode(new p(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){let t=this._blockStarts.pop();if(void 0===t)throw Error("CodeGen: not in self-balancing block");let n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,n=t.nil,r,i){return this._blockNode(new x(e,n,r)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(x)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){let n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){let t=this._currNode;if(!(t instanceof _))throw Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let t=this._nodes;t[t.length-1]=e}},e.not=D;let P=I(e.operators.AND);e.and=function(...e){return e.reduce(P)};let F=I(e.operators.OR);function I(e){return(n,r)=>n===t.nil?r:r===t.nil?n:t._`${N(n)} ${e} ${N(r)}`}function N(e){return e instanceof t.Name?e:t._`(${e})`}e.or=function(...e){return e.reduce(F)}}),Fl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.checkStrictMode=e.getErrorPath=e.Type=e.useFunc=e.setEvaluated=e.evaluatedPropsToName=e.mergeEvaluated=e.eachItem=e.unescapeJsonPointer=e.escapeJsonPointer=e.escapeFragment=e.unescapeFragment=e.schemaRefOrVal=e.schemaHasRulesButRef=e.schemaHasRules=e.checkUnknownRules=e.alwaysValidSchema=e.toHash=void 0;let t=Pl(),n=Rl();function r(e,t=e.schema){let{opts:n,self:r}=e;if(!n.strictSchema||"boolean"==typeof t)return;let i=r.RULES.keywords;for(let n in t)i[n]||d(e,`unknown keyword: "${n}"`)}function i(e,t){if("boolean"==typeof e)return!e;for(let n in e)if(t[n])return!0;return!1}function o(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function a(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function s({mergeNames:e,mergeToName:n,mergeValues:r,resultToName:i}){return(o,a,s,c)=>{let l=void 0===s?a:s instanceof t.Name?(a instanceof t.Name?e(o,a,s):n(o,a,s),s):a instanceof t.Name?(n(o,s,a),a):r(a,s);return c!==t.Name||l instanceof t.Name?l:i(o,l)}}function c(e,n){if(!0===n)return e.var("props",!0);let r=e.var("props",t._`{}`);return void 0!==n&&l(e,r,n),r}function l(e,n,r){Object.keys(r).forEach(r=>e.assign(t._`${n}${(0,t.getProperty)(r)}`,!0))}e.toHash=function(e){let t={};for(let n of e)t[n]=!0;return t},e.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(r(e,t),!i(t,e.self.RULES.all))},e.checkUnknownRules=r,e.schemaHasRules=i,e.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(let n in e)if("$ref"!==n&&t.all[n])return!0;return!1},e.schemaRefOrVal=function({topSchemaRef:e,schemaPath:n},r,i,o){if(!o){if("number"==typeof r||"boolean"==typeof r)return r;if("string"==typeof r)return t._`${r}`}return t._`${e}${n}${(0,t.getProperty)(i)}`},e.unescapeFragment=function(e){return a(decodeURIComponent(e))},e.escapeFragment=function(e){return encodeURIComponent(o(e))},e.escapeJsonPointer=o,e.unescapeJsonPointer=a,e.eachItem=function(e,t){if(Array.isArray(e))for(let n of e)t(n);else t(e)},e.mergeEvaluated={props:s({mergeNames:(e,n,r)=>e.if(t._`${r} !== true && ${n} !== undefined`,()=>{e.if(t._`${n} === true`,()=>e.assign(r,!0),()=>e.assign(r,t._`${r} || {}`).code(t._`Object.assign(${r}, ${n})`))}),mergeToName:(e,n,r)=>e.if(t._`${r} !== true`,()=>{!0===n?e.assign(r,!0):(e.assign(r,t._`${r} || {}`),l(e,r,n))}),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:c}),items:s({mergeNames:(e,n,r)=>e.if(t._`${r} !== true && ${n} !== undefined`,()=>e.assign(r,t._`${n} === true ? true : ${r} > ${n} ? ${r} : ${n}`)),mergeToName:(e,n,r)=>e.if(t._`${r} !== true`,()=>e.assign(r,!0===n||t._`${r} > ${n} ? ${r} : ${n}`)),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},e.evaluatedPropsToName=c,e.setEvaluated=l;let u={};var p;function d(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw Error(t);e.self.logger.warn(t)}}e.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:u[t.code]||(u[t.code]=new n._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(p||(e.Type=p={})),e.getErrorPath=function(e,n,r){if(e instanceof t.Name){let i=n===p.Num;return r?i?t._`"[" + ${e} + "]"`:t._`"['" + ${e} + "']"`:i?t._`"/" + ${e}`:t._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,t.getProperty)(e).toString():"/"+o(e)},e.checkStrictMode=d}),Il=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl();e.default={data:new t.Name("data"),valCxt:new t.Name("valCxt"),instancePath:new t.Name("instancePath"),parentData:new t.Name("parentData"),parentDataProperty:new t.Name("parentDataProperty"),rootData:new t.Name("rootData"),dynamicAnchors:new t.Name("dynamicAnchors"),vErrors:new t.Name("vErrors"),errors:new t.Name("errors"),this:new t.Name("this"),self:new t.Name("self"),scope:new t.Name("scope"),json:new t.Name("json"),jsonPos:new t.Name("jsonPos"),jsonLen:new t.Name("jsonLen"),jsonPart:new t.Name("jsonPart")}}),Nl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;let t=Pl(),n=Fl(),r=Il();function i(e,n){let i=e.const("err",n);e.if(t._`${r.default.vErrors} === null`,()=>e.assign(r.default.vErrors,t._`[${i}]`),t._`${r.default.vErrors}.push(${i})`),e.code(t._`${r.default.errors}++`)}function o(e,n){let{gen:r,validateName:i,schemaEnv:o}=e;o.$async?r.throw(t._`new ${e.ValidationError}(${n})`):(r.assign(t._`${i}.errors`,n),r.return(!1))}e.keywordError={message:({keyword:e})=>t.str`must pass "${e}" keyword validation`},e.keyword$DataError={message:({keyword:e,schemaType:n})=>n?t.str`"${e}" keyword must be ${n} ($data)`:t.str`"${e}" keyword is invalid ($data)`},e.reportError=function(n,r=e.keywordError,a,c){let{it:l}=n,{gen:u,compositeRule:p,allErrors:d}=l,m=s(n,r,a);c??(p||d)?i(u,m):o(l,t._`[${m}]`)},e.reportExtraError=function(t,n=e.keywordError,a){let{it:c}=t,{gen:l,compositeRule:u,allErrors:p}=c;i(l,s(t,n,a)),u||p||o(c,r.default.vErrors)},e.resetErrorsCount=function(e,n){e.assign(r.default.errors,n),e.if(t._`${r.default.vErrors} !== null`,()=>e.if(n,()=>e.assign(t._`${r.default.vErrors}.length`,n),()=>e.assign(r.default.vErrors,null)))},e.extendErrors=function({gen:e,keyword:n,schemaValue:i,data:o,errsCount:a,it:s}){if(void 0===a)throw Error("ajv implementation error");let c=e.name("err");e.forRange("i",a,r.default.errors,a=>{e.const(c,t._`${r.default.vErrors}[${a}]`),e.if(t._`${c}.instancePath === undefined`,()=>e.assign(t._`${c}.instancePath`,(0,t.strConcat)(r.default.instancePath,s.errorPath))),e.assign(t._`${c}.schemaPath`,t.str`${s.errSchemaPath}/${n}`),s.opts.verbose&&(e.assign(t._`${c}.schema`,i),e.assign(t._`${c}.data`,o))})};let a={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function s(e,n,r){let{createErrors:i}=e.it;return!1===i?t._`{}`:function(e,t,n={}){let{gen:r,it:i}=e,o=[c(i,n),l(e,n)];return u(e,t,o),r.object(...o)}(e,n,r)}function c({errorPath:e},{instancePath:i}){let o=i?t.str`${e}${(0,n.getErrorPath)(i,n.Type.Str)}`:e;return[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,o)]}function l({keyword:e,it:{errSchemaPath:r}},{schemaPath:i,parentSchema:o}){let s=o?r:t.str`${r}/${e}`;return i&&(s=t.str`${s}${(0,n.getErrorPath)(i,n.Type.Str)}`),[a.schemaPath,s]}function u(e,{params:n,message:i},o){let{keyword:s,data:c,schemaValue:l,it:u}=e,{opts:p,propertyName:d,topSchemaRef:m,schemaPath:f}=u;o.push([a.keyword,s],[a.params,"function"==typeof n?n(e):n||t._`{}`]),p.messages&&o.push([a.message,"function"==typeof i?i(e):i]),p.verbose&&o.push([a.schema,l],[a.parentSchema,t._`${m}${f}`],[r.default.data,c]),d&&o.push([a.propertyName,d])}}),Ll=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.boolOrEmptySchema=e.topBoolOrEmptySchema=void 0;let t=Nl(),n=Pl(),r=Il(),i={message:"boolean schema is false"};function o(e,n){let{gen:r,data:o}=e,a={gen:r,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,t.reportError)(a,i,void 0,n)}e.topBoolOrEmptySchema=function(e){let{gen:t,schema:i,validateName:a}=e;!1===i?o(e,!1):"object"==typeof i&&!0===i.$async?t.return(r.default.data):(t.assign(n._`${a}.errors`,null),t.return(!0))},e.boolOrEmptySchema=function(e,t){let{gen:n,schema:r}=e;!1===r?(n.var(t,!1),o(e)):n.var(t,!0)}}),Ml=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getRules=e.isJSONType=void 0;let t=new Set(["string","number","integer","boolean","null","object","array"]);e.isJSONType=function(e){return"string"==typeof e&&t.has(e)},e.getRules=function(){let e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}}),Bl=M(e=>{function t(e,t){return t.rules.some(t=>n(e,t))}function n(e,t){return void 0!==e[t.keyword]||t.definition.implements?.some(t=>void 0!==e[t])}Object.defineProperty(e,"__esModule",{value:!0}),e.shouldUseRule=e.shouldUseGroup=e.schemaHasRulesForType=void 0,e.schemaHasRulesForType=function({schema:e,self:n},r){let i=n.RULES.types[r];return i&&!0!==i&&t(e,i)},e.shouldUseGroup=t,e.shouldUseRule=n}),Ul=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;let t=Ml(),n=Bl(),r=Nl(),i=Pl(),o=Fl();var a;function s(e){let n=Array.isArray(e)?e:e?[e]:[];if(n.every(t.isJSONType))return n;throw Error("type must be JSONType or JSONType[]: "+n.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(a||(e.DataType=a={})),e.getSchemaTypes=function(e){let t=s(e.type);if(t.includes("null")){if(!1===e.nullable)throw Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},e.getJSONTypes=s,e.coerceAndCheckDataType=function(e,t){let{gen:r,data:i,opts:o}=e,s=function(e,t){return t?e.filter(e=>c.has(e)||"array"===t&&"array"===e):[]}(t,o.coerceTypes),u=t.length>0&&!(0===s.length&&1===t.length&&(0,n.schemaHasRulesForType)(e,t[0]));if(u){let n=p(t,i,o.strictNumbers,a.Wrong);r.if(n,()=>{s.length?l(e,t,s):m(e)})}return u};let c=new Set(["string","number","integer","boolean","null"]);function l(e,t,n){let{gen:r,data:o,opts:a}=e,s=r.let("dataType",i._`typeof ${o}`),l=r.let("coerced",i._`undefined`);"array"===a.coerceTypes&&r.if(i._`${s} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>r.assign(o,i._`${o}[0]`).assign(s,i._`typeof ${o}`).if(p(t,o,a.strictNumbers),()=>r.assign(l,o))),r.if(i._`${l} !== undefined`);for(let e of n)(c.has(e)||"array"===e&&"array"===a.coerceTypes)&&u(e);function u(e){switch(e){case"string":return void r.elseIf(i._`${s} == "number" || ${s} == "boolean"`).assign(l,i._`"" + ${o}`).elseIf(i._`${o} === null`).assign(l,i._`""`);case"number":return void r.elseIf(i._`${s} == "boolean" || ${o} === null
|
|
3
|
-
|| (${s} == "string" && ${o} && ${o} == +${o})`).assign(l,i._`+${o}`);case"integer":return void r.elseIf(i._`${s} === "boolean" || ${o} === null
|
|
4
|
-
|| (${s} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(l,i._`+${o}`);case"boolean":return void r.elseIf(i._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(l,!1).elseIf(i._`${o} === "true" || ${o} === 1`).assign(l,!0);case"null":return r.elseIf(i._`${o} === "" || ${o} === 0 || ${o} === false`),void r.assign(l,null);case"array":r.elseIf(i._`${s} === "string" || ${s} === "number"
|
|
5
|
-
|| ${s} === "boolean" || ${o} === null`).assign(l,i._`[${o}]`)}}r.else(),m(e),r.endIf(),r.if(i._`${l} !== undefined`,()=>{r.assign(o,l),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(i._`${t} !== undefined`,()=>e.assign(i._`${t}[${n}]`,r))}(e,l)})}function u(e,t,n,r=a.Correct){let o,s=r===a.Correct?i.operators.EQ:i.operators.NEQ;switch(e){case"null":return i._`${t} ${s} null`;case"array":o=i._`Array.isArray(${t})`;break;case"object":o=i._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":o=c(i._`!(${t} % 1) && !isNaN(${t})`);break;case"number":o=c();break;default:return i._`typeof ${t} ${s} ${e}`}return r===a.Correct?o:(0,i.not)(o);function c(e=i.nil){return(0,i.and)(i._`typeof ${t} == "number"`,e,n?i._`isFinite(${t})`:i.nil)}}function p(e,t,n,r){if(1===e.length)return u(e[0],t,n,r);let a,s=(0,o.toHash)(e);if(s.array&&s.object){let e=i._`typeof ${t} != "object"`;a=s.null?e:i._`!${t} || ${e}`,delete s.null,delete s.array,delete s.object}else a=i.nil;for(let e in s.number&&delete s.integer,s)a=(0,i.and)(a,u(e,t,n,r));return a}e.checkDataType=u,e.checkDataTypes=p;let d={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?i._`{type: ${e}}`:i._`{type: ${t}}`};function m(e){let t=function(e){let{gen:t,data:n,schema:r}=e,i=(0,o.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:i,schemaValue:i,parentSchema:r,params:{},it:e}}(e);(0,r.reportError)(t,d)}e.reportTypeError=m}),$l=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.assignDefaults=void 0;let t=Pl(),n=Fl();function r(e,r,i){let{gen:o,compositeRule:a,data:s,opts:c}=e;if(void 0===i)return;let l=t._`${s}${(0,t.getProperty)(r)}`;if(a)return void(0,n.checkStrictMode)(e,`default is ignored for: ${l}`);let u=t._`${l} === undefined`;"empty"===c.useDefaults&&(u=t._`${u} || ${l} === null || ${l} === ""`),o.if(u,t._`${l} = ${(0,t.stringify)(i)}`)}e.assignDefaults=function(e,t){let{properties:n,items:i}=e.schema;if("object"===t&&n)for(let t in n)r(e,t,n[t].default);else"array"===t&&Array.isArray(i)&&i.forEach((t,n)=>r(e,n,t.default))}}),zl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.validateUnion=e.validateArray=e.usePattern=e.callValidateCode=e.schemaProperties=e.allSchemaProperties=e.noPropertyInData=e.propertyInData=e.isOwnProperty=e.hasPropFunc=e.reportMissingProp=e.checkMissingProp=e.checkReportMissingProp=void 0;let t=Pl(),n=Fl(),r=Il(),i=Fl();function o(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:t._`Object.prototype.hasOwnProperty`})}function a(e,n,r){return t._`${o(e)}.call(${n}, ${r})`}function s(e,n,r,i){let o=t._`${n}${(0,t.getProperty)(r)} === undefined`;return i?(0,t.or)(o,(0,t.not)(a(e,n,r))):o}function c(e){return e?Object.keys(e).filter(e=>"__proto__"!==e):[]}e.checkReportMissingProp=function(e,n){let{gen:r,data:i,it:o}=e;r.if(s(r,i,n,o.opts.ownProperties),()=>{e.setParams({missingProperty:t._`${n}`},!0),e.error()})},e.checkMissingProp=function({gen:e,data:n,it:{opts:r}},i,o){return(0,t.or)(...i.map(i=>(0,t.and)(s(e,n,i,r.ownProperties),t._`${o} = ${i}`)))},e.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},e.hasPropFunc=o,e.isOwnProperty=a,e.propertyInData=function(e,n,r,i){let o=t._`${n}${(0,t.getProperty)(r)} !== undefined`;return i?t._`${o} && ${a(e,n,r)}`:o},e.noPropertyInData=s,e.allSchemaProperties=c,e.schemaProperties=function(e,t){return c(t).filter(r=>!(0,n.alwaysValidSchema)(e,t[r]))},e.callValidateCode=function({schemaCode:e,data:n,it:{gen:i,topSchemaRef:o,schemaPath:a,errorPath:s},it:c},l,u,p){let d=p?t._`${e}, ${n}, ${o}${a}`:n,m=[[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,s)],[r.default.parentData,c.parentData],[r.default.parentDataProperty,c.parentDataProperty],[r.default.rootData,r.default.rootData]];c.opts.dynamicRef&&m.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);let f=t._`${d}, ${i.object(...m)}`;return u===t.nil?t._`${l}(${f})`:t._`${l}.call(${u}, ${f})`};let l=t._`new RegExp`;e.usePattern=function({gen:e,it:{opts:n}},r){let o=n.unicodeRegExp?"u":"",{regExp:a}=n.code,s=a(r,o);return e.scopeValue("pattern",{key:s.toString(),ref:s,code:t._`${"new RegExp"===a.code?l:(0,i.useFunc)(e,a)}(${r}, ${o})`})},e.validateArray=function(e){let{gen:r,data:i,keyword:o,it:a}=e,s=r.name("valid");if(a.allErrors){let e=r.let("valid",!0);return c(()=>r.assign(e,!1)),e}return r.var(s,!0),c(()=>r.break()),s;function c(a){let c=r.const("len",t._`${i}.length`);r.forRange("i",0,c,i=>{e.subschema({keyword:o,dataProp:i,dataPropType:n.Type.Num},s),r.if((0,t.not)(s),a)})}},e.validateUnion=function(e){let{gen:r,schema:i,keyword:o,it:a}=e;if(!Array.isArray(i))throw Error("ajv implementation error");if(i.some(e=>(0,n.alwaysValidSchema)(a,e))&&!a.opts.unevaluated)return;let s=r.let("valid",!1),c=r.name("_valid");r.block(()=>i.forEach((n,i)=>{let a=e.subschema({keyword:o,schemaProp:i,compositeRule:!0},c);r.assign(s,t._`${s} || ${c}`),e.mergeValidEvaluated(a,c)||r.if((0,t.not)(s))})),e.result(s,()=>e.reset(),()=>e.error(!0))}}),Gl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.validateKeywordUsage=e.validSchemaType=e.funcKeywordCode=e.macroKeywordCode=void 0;let t=Pl(),n=Il(),r=zl(),i=Nl();function o(e){let{gen:n,data:r,it:i}=e;n.if(i.parentData,()=>n.assign(r,t._`${i.parentData}[${i.parentDataProperty}]`))}function a(e,r){let{gen:o}=e;o.if(t._`Array.isArray(${r})`,()=>{o.assign(n.default.vErrors,t._`${n.default.vErrors} === null ? ${r} : ${n.default.vErrors}.concat(${r})`).assign(n.default.errors,t._`${n.default.vErrors}.length`),(0,i.extendErrors)(e)},()=>e.error())}function s(e,n,r){if(void 0===r)throw Error(`keyword "${n}" failed to compile`);return e.scopeValue("keyword","function"==typeof r?{ref:r}:{ref:r,code:(0,t.stringify)(r)})}e.macroKeywordCode=function(e,n){let{gen:r,keyword:i,schema:o,parentSchema:a,it:c}=e,l=n.macro.call(c.self,o,a,c),u=s(r,i,l);!1!==c.opts.validateSchema&&c.self.validateSchema(l,!0);let p=r.name("valid");e.subschema({schema:l,schemaPath:t.nil,errSchemaPath:`${c.errSchemaPath}/${i}`,topSchemaRef:u,compositeRule:!0},p),e.pass(p,()=>e.error(!0))},e.funcKeywordCode=function(e,i){let{gen:c,keyword:l,schema:u,parentSchema:p,$data:d,it:m}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw Error("async keyword in sync schema")}(m,i);let f=s(c,l,!d&&i.compile?i.compile.call(m.self,u,p,m):i.validate),h=c.let("valid");function g(){let e=c.let("ruleErrs",null);return c.try(()=>y(t._`await `),n=>c.assign(h,!1).if(t._`${n} instanceof ${m.ValidationError}`,()=>c.assign(e,t._`${n}.errors`),()=>c.throw(n))),e}function _(){let e=t._`${f}.errors`;return c.assign(e,null),y(t.nil),e}function y(o=(i.async?t._`await `:t.nil)){let a=m.opts.passContext?n.default.this:n.default.self,s=!("compile"in i&&!d||!1===i.schema);c.assign(h,t._`${o}${(0,r.callValidateCode)(e,f,a,s)}`,i.modifying)}function v(e){c.if((0,t.not)(i.valid??h),e)}e.block$data(h,function(){if(!1===i.errors)y(),i.modifying&&o(e),v(()=>e.error());else{let t=i.async?g():_();i.modifying&&o(e),v(()=>a(e,t))}}),e.ok(i.valid??h)},e.validSchemaType=function(e,t,n=!1){return!t.length||t.some(t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e)},e.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},i,o){if(Array.isArray(i.keyword)?!i.keyword.includes(o):i.keyword!==o)throw Error("ajv implementation error");let a=i.dependencies;if(a?.some(t=>!Object.prototype.hasOwnProperty.call(e,t)))throw Error(`parent schema must have dependencies of ${o}: ${a.join(",")}`);if(i.validateSchema&&!i.validateSchema(e[o])){let e=`keyword "${o}" value is invalid at path "${r}": `+n.errorsText(i.validateSchema.errors);if("log"!==t.validateSchema)throw Error(e);n.logger.error(e)}}}),jl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.extendSubschemaMode=e.extendSubschemaData=e.getSubschema=void 0;let t=Pl(),n=Fl();e.getSubschema=function(e,{keyword:r,schemaProp:i,schema:o,schemaPath:a,errSchemaPath:s,topSchemaRef:c}){if(void 0!==r&&void 0!==o)throw Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==r){let o=e.schema[r];return void 0===i?{schema:o,schemaPath:t._`${e.schemaPath}${(0,t.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${r}`}:{schema:o[i],schemaPath:t._`${e.schemaPath}${(0,t.getProperty)(r)}${(0,t.getProperty)(i)}`,errSchemaPath:`${e.errSchemaPath}/${r}/${(0,n.escapeFragment)(i)}`}}if(void 0!==o){if(void 0===a||void 0===s||void 0===c)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:o,schemaPath:a,topSchemaRef:c,errSchemaPath:s}}throw Error('either "keyword" or "schema" must be passed')},e.extendSubschemaData=function(e,r,{dataProp:i,dataPropType:o,data:a,dataTypes:s,propertyName:c}){if(void 0!==a&&void 0!==i)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:l}=r;if(void 0!==i){let{errorPath:a,dataPathArr:s,opts:c}=r;u(l.let("data",t._`${r.data}${(0,t.getProperty)(i)}`,!0)),e.errorPath=t.str`${a}${(0,n.getErrorPath)(i,o,c.jsPropertySyntax)}`,e.parentDataProperty=t._`${i}`,e.dataPathArr=[...s,e.parentDataProperty]}function u(t){e.data=t,e.dataLevel=r.dataLevel+1,e.dataTypes=[],r.definedProperties=new Set,e.parentData=r.data,e.dataNames=[...r.dataNames,t]}void 0!==a&&(u(a instanceof t.Name?a:l.let("data",a,!0)),void 0!==c&&(e.propertyName=c)),s&&(e.dataTypes=s)},e.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:i,allErrors:o}){void 0!==r&&(e.compositeRule=r),void 0!==i&&(e.createErrors=i),void 0!==o&&(e.allErrors=o),e.jtdDiscriminator=t,e.jtdMetadata=n}}),Vl=M((e,t)=>{t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!==i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}}),ql=M((e,t)=>{var n=t.exports=function(e,t,n){"function"==typeof t&&(n=t,t={}),r(t,"function"==typeof(n=t.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};function r(e,t,o,a,s,c,l,u,p,d){if(a&&"object"==typeof a&&!Array.isArray(a)){for(var m in t(a,s,c,l,u,p,d),a){var f=a[m];if(Array.isArray(f)){if(m in n.arrayKeywords)for(var h=0;h<f.length;h++)r(e,t,o,f[h],s+"/"+m+"/"+h,c,s,m,a,h)}else if(m in n.propsKeywords){if(f&&"object"==typeof f)for(var g in f)r(e,t,o,f[g],s+"/"+m+"/"+i(g),c,s,m,a,g)}else(m in n.keywords||e.allKeys&&!(m in n.skipKeywords))&&r(e,t,o,f,s+"/"+m,c,s,m,a)}o(a,s,c,l,u,p,d)}}function i(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}n.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},n.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},n.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},n.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}}),Hl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getSchemaRefs=e.resolveUrl=e.normalizeId=e._getFullPath=e.getFullPath=e.inlineRef=void 0;let t=Fl(),n=Vl(),r=ql(),i=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);e.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!a(e):!!t&&s(e)<=t)};let o=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function a(e){for(let t in e){if(o.has(t))return!0;let n=e[t];if(Array.isArray(n)&&n.some(a)||"object"==typeof n&&a(n))return!0}return!1}function s(e){let n=0;for(let r in e)if("$ref"===r||(n++,!i.has(r)&&("object"==typeof e[r]&&(0,t.eachItem)(e[r],e=>n+=s(e)),n===1/0)))return 1/0;return n}function c(e,t="",n){return!1!==n&&(t=p(t)),l(e,e.parse(t))}function l(e,t){return e.serialize(t).split("#")[0]+"#"}e.getFullPath=c,e._getFullPath=l;let u=/#\/?$/;function p(e){return e?e.replace(u,""):""}e.normalizeId=p,e.resolveUrl=function(e,t,n){return n=p(n),e.resolve(t,n)};let d=/^[a-z_][-a-z0-9._]*$/i;e.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};let{schemaId:i,uriResolver:o}=this.opts,a=p(e[i]||t),s={"":a},l=c(o,a,!1),u={},m=new Set;return r(e,{allKeys:!0},(e,t,n,r)=>{if(void 0===r)return;let o=l+t,a=s[r];function c(t){let n=this.opts.uriResolver.resolve;if(t=p(a?n(a,t):t),m.has(t))throw h(t);m.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?f(e,r.schema,t):t!==p(o)&&("#"===t[0]?(f(e,u[t],t),u[t]=e):this.refs[t]=o),t}function g(e){if("string"==typeof e){if(!d.test(e))throw Error(`invalid anchor "${e}"`);c.call(this,`#${e}`)}}"string"==typeof e[i]&&(a=c.call(this,e[i])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),s[t]=a}),u;function f(e,t,r){if(void 0!==t&&!n(e,t))throw h(r)}function h(e){return Error(`reference "${e}" resolves to more than one schema`)}}}),Kl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getData=e.KeywordCxt=e.validateFunctionCode=void 0;let t=Ll(),n=Ul(),r=Bl(),i=Ul(),o=$l(),a=Gl(),s=jl(),c=Pl(),l=Il(),u=Hl(),p=Fl(),d=Nl();function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:i},o){i.code.es5?e.func(t,c._`${l.default.data}, ${l.default.valCxt}`,r.$async,()=>{e.code(c._`"use strict"; ${f(n,i)}`),function(e,t){e.if(l.default.valCxt,()=>{e.var(l.default.instancePath,c._`${l.default.valCxt}.${l.default.instancePath}`),e.var(l.default.parentData,c._`${l.default.valCxt}.${l.default.parentData}`),e.var(l.default.parentDataProperty,c._`${l.default.valCxt}.${l.default.parentDataProperty}`),e.var(l.default.rootData,c._`${l.default.valCxt}.${l.default.rootData}`),t.dynamicRef&&e.var(l.default.dynamicAnchors,c._`${l.default.valCxt}.${l.default.dynamicAnchors}`)},()=>{e.var(l.default.instancePath,c._`""`),e.var(l.default.parentData,c._`undefined`),e.var(l.default.parentDataProperty,c._`undefined`),e.var(l.default.rootData,l.default.data),t.dynamicRef&&e.var(l.default.dynamicAnchors,c._`{}`)})}(e,i),e.code(o)}):e.func(t,c._`${l.default.data}, ${function(e){return c._`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${e.dynamicRef?c._`, ${l.default.dynamicAnchors}={}`:c.nil}}={}`}(i)}`,r.$async,()=>e.code(f(n,i)).code(o))}function f(e,t){let n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?c._`/*# sourceURL=${n} */`:c.nil}function h(e,n){_(e)&&(y(e),g(e))?function(e,t){let{schema:n,gen:r,opts:i}=e;i.$comment&&n.$comment&&b(e),function(e){let t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,u.resolveUrl)(e.opts.uriResolver,e.baseId,t))}(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw Error("async schema in sync schema")}(e);let o=r.const("_errs",l.default.errors);v(e,o),r.var(t,c._`${o} === ${l.default.errors}`)}(e,n):(0,t.boolOrEmptySchema)(e,n)}function g({schema:e,self:t}){if("boolean"==typeof e)return!e;for(let n in e)if(t.RULES.all[n])return!0;return!1}function _(e){return"boolean"!=typeof e.schema}function y(e){(0,p.checkUnknownRules)(e),function(e){let{schema:t,errSchemaPath:n,opts:r,self:i}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function v(e,t){if(e.opts.jtd)return E(e,[],!1,t);let r=(0,n.getSchemaTypes)(e.schema);E(e,r,!(0,n.coerceAndCheckDataType)(e,r),t)}function b({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:i}){let o=n.$comment;if(!0===i.$comment)e.code(c._`${l.default.self}.logger.log(${o})`);else if("function"==typeof i.$comment){let n=c.str`${r}/$comment`,i=e.scopeValue("root",{ref:t.root});e.code(c._`${l.default.self}.opts.$comment(${o}, ${n}, ${i}.schema)`)}}function E(e,t,n,o){let{gen:a,schema:s,data:u,allErrors:d,opts:m,self:f}=e,{RULES:h}=f;function g(p){(0,r.shouldUseGroup)(s,p)&&(p.type?(a.if((0,i.checkDataType)(p.type,u,m.strictNumbers)),x(e,p),1===t.length&&t[0]===p.type&&n&&(a.else(),(0,i.reportTypeError)(e)),a.endIf()):x(e,p),d||a.if(c._`${l.default.errors} === ${o||0}`))}!s.$ref||!m.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(s,h)?(m.jtd||function(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(function(e,t){if(t.length){if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach(t=>{A(e.dataTypes,t)||T(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}),function(e,t){let n=[];for(let r of e.dataTypes)A(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)}}(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&T(e,"use allowUnionTypes to allow union type keyword")}(e,t),function(e,t){let n=e.self.RULES.all;for(let i in n){let o=n[i];if("object"==typeof o&&(0,r.shouldUseRule)(e.schema,o)){let{type:n}=o.definition;n.length&&!n.some(e=>w(t,e))&&T(e,`missing type "${n.join(",")}" for keyword "${i}"`)}}}(e,e.dataTypes))}(e,t),a.block(()=>{for(let e of h.rules)g(e);g(h.post)})):a.block(()=>k(e,"$ref",h.all.$ref.definition))}function x(e,t){let{gen:n,schema:i,opts:{useDefaults:a}}=e;a&&(0,o.assignDefaults)(e,t.type),n.block(()=>{for(let n of t.rules)(0,r.shouldUseRule)(i,n)&&k(e,n.keyword,n.definition,t.type)})}function w(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function A(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function T(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,p.checkStrictMode)(e,t,e.opts.strictTypes)}e.validateFunctionCode=function(e){_(e)&&(y(e),g(e))?function(e){let{schema:t,opts:n,gen:r}=e;m(e,()=>{n.$comment&&t.$comment&&b(e),function(e){let{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,p.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(l.default.vErrors,null),r.let(l.default.errors,0),n.unevaluated&&function(e){let{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",c._`${n}.evaluated`),t.if(c._`${e.evaluated}.dynamicProps`,()=>t.assign(c._`${e.evaluated}.props`,c._`undefined`)),t.if(c._`${e.evaluated}.dynamicItems`,()=>t.assign(c._`${e.evaluated}.items`,c._`undefined`))}(e),v(e),function(e){let{gen:t,schemaEnv:n,validateName:r,ValidationError:i,opts:o}=e;n.$async?t.if(c._`${l.default.errors} === 0`,()=>t.return(l.default.data),()=>t.throw(c._`new ${i}(${l.default.vErrors})`)):(t.assign(c._`${r}.errors`,l.default.vErrors),o.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof c.Name&&e.assign(c._`${t}.props`,n),r instanceof c.Name&&e.assign(c._`${t}.items`,r)}(e),t.return(c._`${l.default.errors} === 0`))}(e)})}(e):m(e,()=>(0,t.topBoolOrEmptySchema)(e))};var S=class{constructor(e,t,n){if((0,a.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,p.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",R(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,a.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",l.default.errors))}result(e,t,n){this.failResult((0,c.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,c.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);let{schemaCode:t}=this;this.fail(c._`${t} !== undefined && (${(0,c.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?d.reportExtraError:d.reportError)(this,this.def.error,t)}$dataError(){(0,d.reportError)(this,this.def.$dataError||d.keyword$DataError)}reset(){if(void 0===this.errsCount)throw Error('add "trackErrors" to keyword definition');(0,d.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=c.nil){this.gen.block(()=>{this.check$data(e,n),t()})}check$data(e=c.nil,t=c.nil){if(!this.$data)return;let{gen:n,schemaCode:r,schemaType:i,def:o}=this;n.if((0,c.or)(c._`${r} === undefined`,t)),e!==c.nil&&n.assign(e,!0),(i.length||o.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==c.nil&&n.assign(e,!1)),n.else()}invalid$data(){let{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return(0,c.or)(function(){if(n.length){if(!(t instanceof c.Name))throw Error("ajv implementation error");let e=Array.isArray(n)?n:[n];return c._`${(0,i.checkDataTypes)(e,t,o.opts.strictNumbers,i.DataType.Wrong)}`}return c.nil}(),function(){if(r.validateSchema){let n=e.scopeValue("validate$data",{ref:r.validateSchema});return c._`!${n}(${t})`}return c.nil}())}subschema(e,t){let n=(0,s.getSubschema)(this.it,e);(0,s.extendSubschemaData)(n,this.it,e),(0,s.extendSubschemaMode)(n,e);let r={...this.it,...n,items:void 0,props:void 0};return h(r,t),r}mergeEvaluated(e,t){let{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=p.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=p.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){let{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,()=>this.mergeEvaluated(e,c.Name)),!0}};function k(e,t,n,r){let i=new S(e,n,t);"code"in n?n.code(i,r):i.$data&&n.validate?(0,a.funcKeywordCode)(i,n):"macro"in n?(0,a.macroKeywordCode)(i,n):(n.compile||n.validate)&&(0,a.funcKeywordCode)(i,n)}e.KeywordCxt=S;let C=/^\/(?:[^~]|~0|~1)*$/,O=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function R(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let i,o;if(""===e)return l.default.rootData;if("/"===e[0]){if(!C.test(e))throw Error(`Invalid JSON-pointer: ${e}`);i=e,o=l.default.rootData}else{let a=O.exec(e);if(!a)throw Error(`Invalid JSON-pointer: ${e}`);let s=+a[1];if(i=a[2],"#"===i){if(s>=t)throw Error(u("property/index",s));return r[t-s]}if(s>t)throw Error(u("data",s));if(o=n[t-s],!i)return o}let a=o,s=i.split("/");for(let e of s)e&&(o=c._`${o}${(0,c.getProperty)((0,p.unescapeJsonPointer)(e))}`,a=c._`${a} && ${o}`);return a;function u(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}e.getData=R}),Wl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=class extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}}),Xl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Hl();e.default=class extends Error{constructor(e,n,r,i){super(i||`can't resolve reference ${r} from id ${n}`),this.missingRef=(0,t.resolveUrl)(e,n,r),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(e,this.missingRef))}}}),Zl=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.resolveSchema=e.getCompilingSchema=e.resolveRef=e.compileSchema=e.SchemaEnv=void 0;let t=Pl(),n=Wl(),r=Il(),i=Hl(),o=Fl(),a=Kl();var s=class{constructor(e){let t;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(t=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=e.baseId??(0,i.normalizeId)(t?.[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=t?.$async,this.refs={}}};function c(e){let o=u.call(this,e);if(o)return o;let s,c=(0,i.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:l,lines:p}=this.opts.code,{ownProperties:d}=this.opts,m=new t.CodeGen(this.scope,{es5:l,lines:p,ownProperties:d});e.$async&&(s=m.scopeValue("Error",{ref:n.default,code:t._`require("ajv/dist/runtime/validation_error").default`}));let f=m.scopeName("validate");e.validateName=f;let h,g={gen:m,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:m.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,t.stringify)(e.schema)}:{ref:e.schema}),validateName:f,ValidationError:s,schema:e.schema,schemaEnv:e,rootId:c,baseId:e.baseId||c,schemaPath:t.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:t._`""`,opts:this.opts,self:this};try{this._compilations.add(e),(0,a.validateFunctionCode)(g),m.optimize(this.opts.code.optimize);let n=m.toString();h=`${m.scopeRefs(r.default.scope)}return ${n}`,this.opts.code.process&&(h=this.opts.code.process(h,e));let i=Function(`${r.default.self}`,`${r.default.scope}`,h)(this,this.scope.get());if(this.scope.value(f,{ref:i}),i.errors=null,i.schema=e.schema,i.schemaEnv=e,e.$async&&(i.$async=!0),!0===this.opts.code.source&&(i.source={validateName:f,validateCode:n,scopeValues:m._values}),this.opts.unevaluated){let{props:e,items:n}=g;i.evaluated={props:e instanceof t.Name?void 0:e,items:n instanceof t.Name?void 0:n,dynamicProps:e instanceof t.Name,dynamicItems:n instanceof t.Name},i.source&&(i.source.evaluated=(0,t.stringify)(i.evaluated))}return e.validate=i,e}catch(t){throw delete e.validate,delete e.validateName,h&&this.logger.error("Error compiling schema, function code:",h),t}finally{this._compilations.delete(e)}}function l(e){return(0,i.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:c.call(this,e)}function u(e){for(let t of this._compilations)if(p(t,e))return t}function p(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function d(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||m.call(this,e,t)}function m(e,t){let n=this.opts.uriResolver.parse(t),r=(0,i._getFullPath)(this.opts.uriResolver,n),o=(0,i.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===o)return h.call(this,n,e);let a=(0,i.normalizeId)(r),l=this.refs[a]||this.schemas[a];if("string"==typeof l){let t=m.call(this,e,l);return"object"==typeof t?.schema?h.call(this,n,t):void 0}if("object"==typeof l?.schema){if(l.validate||c.call(this,l),a===(0,i.normalizeId)(t)){let{schema:t}=l,{schemaId:n}=this.opts,r=t[n];return r&&(o=(0,i.resolveUrl)(this.opts.uriResolver,o,r)),new s({schema:t,schemaId:n,root:e,baseId:o})}return h.call(this,n,l)}}e.SchemaEnv=s,e.compileSchema=c,e.resolveRef=function(e,t,n){n=(0,i.resolveUrl)(this.opts.uriResolver,t,n);let r=e.refs[n];if(r)return r;let o=d.call(this,e,n);if(void 0===o){let r=e.localRefs?.[n],{schemaId:i}=this.opts;r&&(o=new s({schema:r,schemaId:i,root:e,baseId:t}))}return void 0!==o?e.refs[n]=l.call(this,o):void 0},e.getCompilingSchema=u,e.resolveSchema=m;let f=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function h(e,{baseId:t,schema:n,root:r}){if("/"!==e.fragment?.[0])return;for(let r of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;let e=n[(0,o.unescapeFragment)(r)];if(void 0===e)return;let a="object"==typeof(n=e)&&n[this.opts.schemaId];!f.has(r)&&a&&(t=(0,i.resolveUrl)(this.opts.uriResolver,t,a))}let a;if("boolean"!=typeof n&&n.$ref&&!(0,o.schemaHasRulesButRef)(n,this.RULES)){let e=(0,i.resolveUrl)(this.opts.uriResolver,t,n.$ref);a=m.call(this,r,e)}let{schemaId:c}=this.opts;return a||=new s({schema:n,schemaId:c,root:r,baseId:t}),a.schema!==a.root.schema?a:void 0}}),Yl=M((e,t)=>{t.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}}),Ql=M((e,t)=>{let n=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),r=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function i(e){let t="",n=0,r=0;for(r=0;r<e.length;r++)if(n=e[r].charCodeAt(0),48!==n){if(!(n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102))return"";t+=e[r];break}for(r+=1;r<e.length;r++){if(n=e[r].charCodeAt(0),!(n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102))return"";t+=e[r]}return t}let o=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function a(e){return e.length=0,!0}function s(e,t,n){if(e.length){let r=i(e);if(""===r)return n.error=!0,!1;t.push(r),e.length=0}return!0}function c(e){if(function(e){let t=0;for(let n=0;n<e.length;n++)":"===e[n]&&t++;return t}(e)<2)return{host:e,isIPV6:!1};let t=function(e){let t=0,n={error:!1,address:"",zone:""},r=[],o=[],c=!1,l=!1,u=s;for(let i=0;i<e.length;i++){let s=e[i];if("["!==s&&"]"!==s){if(":"===s){if(!0===c&&(l=!0),!u(o,r,n))break;if(++t>7){n.error=!0;break}i>0&&":"===e[i-1]&&(c=!0),r.push(":");continue}if("%"!==s){o.push(s);continue}if(!u(o,r,n))break;u=a}}return o.length&&(u===a?n.zone=o.join(""):l?r.push(o.join("")):r.push(i(o))),n.address=r.join(""),n}(e);if(t.error)return{host:e,isIPV6:!1};{let e=t.address,n=t.address;return t.zone&&(e+="%"+t.zone,n+="%25"+t.zone),{host:e,isIPV6:!0,escapedHost:n}}}t.exports={nonSimpleDomain:o,recomposeAuthority:function(e){let t=[];if(void 0!==e.userinfo&&(t.push(e.userinfo),t.push("@")),void 0!==e.host){let n=unescape(e.host);if(!r(n)){let t=c(n);n=!0===t.isIPV6?`[${t.escapedHost}]`:e.host}t.push(n)}return("number"==typeof e.port||"string"==typeof e.port)&&(t.push(":"),t.push(String(e.port))),t.length?t.join(""):void 0},normalizeComponentEncoding:function(e,t){let n=!0===t?unescape:escape;return void 0!==e.scheme&&(e.scheme=n(e.scheme)),void 0!==e.userinfo&&(e.userinfo=n(e.userinfo)),void 0!==e.host&&(e.host=n(e.host)),void 0!==e.path&&(e.path=n(e.path)),void 0!==e.query&&(e.query=n(e.query)),void 0!==e.fragment&&(e.fragment=n(e.fragment)),e},removeDotSegments:function(e){let t=e,n=[],r=-1,i=0;for(;i=t.length;){if(1===i){if("."===t)break;if("/"===t){n.push("/");break}n.push(t);break}if(2===i){if("."===t[0]){if("."===t[1])break;if("/"===t[1]){t=t.slice(2);continue}}else if("/"===t[0]&&("."===t[1]||"/"===t[1])){n.push("/");break}}else if(3===i&&"/.."===t){0!==n.length&&n.pop(),n.push("/");break}if("."===t[0]){if("."===t[1]){if("/"===t[2]){t=t.slice(3);continue}}else if("/"===t[1]){t=t.slice(2);continue}}else if("/"===t[0]&&"."===t[1]){if("/"===t[2]){t=t.slice(2);continue}if("."===t[2]&&"/"===t[3]){t=t.slice(3),0!==n.length&&n.pop();continue}}if(-1===(r=t.indexOf("/",1))){n.push(t);break}n.push(t.slice(0,r)),t=t.slice(r)}return n.join("")},isIPv4:r,isUUID:n,normalizeIPv6:c,stringArrayToHexStripped:i}}),Jl=M((e,t)=>{let{isUUID:n}=Ql(),r=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,i=["http","https","ws","wss","urn","urn:uuid"];function o(e){return!0===e.secure||!1!==e.secure&&!!e.scheme&&!(3!==e.scheme.length||"w"!==e.scheme[0]&&"W"!==e.scheme[0]||"s"!==e.scheme[1]&&"S"!==e.scheme[1]||"s"!==e.scheme[2]&&"S"!==e.scheme[2])}function a(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function s(e){let t="https"===String(e.scheme).toLowerCase();return(e.port===(t?443:80)||""===e.port)&&(e.port=void 0),e.path||="/",e}let c={scheme:"http",domainHost:!0,parse:a,serialize:s},l={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=o(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if((e.port===(o(e)?443:80)||""===e.port)&&(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){let[t,n]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}},u={scheme:"urn",parse:function(e,t){if(!e.path)return e.error="URN can not be parsed",e;let n=e.path.match(r);if(n){let r=t.scheme||e.scheme||"urn";e.nid=n[1].toLowerCase(),e.nss=n[2];let i=m(`${r}:${t.nid||e.nid}`);e.path=void 0,i&&(e=i.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){if(void 0===e.nid)throw Error("URN without nid cannot be serialized");let n=t.scheme||e.scheme||"urn",r=e.nid.toLowerCase(),i=m(`${n}:${t.nid||r}`);i&&(e=i.serialize(e,t));let o=e,a=e.nss;return o.path=`${r||t.nid}:${a}`,t.skipEscape=!0,o},skipNormalize:!0},p={scheme:"urn:uuid",parse:function(e,t){let r=e;return r.uuid=r.nss,r.nss=void 0,!t.tolerant&&(!r.uuid||!n(r.uuid))&&(r.error=r.error||"UUID is not valid."),r},serialize:function(e){let t=e;return t.nss=(e.uuid||"").toLowerCase(),t},skipNormalize:!0},d={http:c,https:{scheme:"https",domainHost:c.domainHost,parse:a,serialize:s},ws:l,wss:{scheme:"wss",domainHost:l.domainHost,parse:l.parse,serialize:l.serialize},urn:u,"urn:uuid":p};function m(e){return e&&(d[e]||d[e.toLowerCase()])||void 0}Object.setPrototypeOf(d,null),t.exports={wsIsSecure:o,SCHEMES:d,isValidSchemeName:function(e){return-1!==i.indexOf(e)},getSchemeHandler:m}}),eu=M((e,t)=>{let{normalizeIPv6:n,removeDotSegments:r,recomposeAuthority:i,normalizeComponentEncoding:o,isIPv4:a,nonSimpleDomain:s}=Ql(),{SCHEMES:c,getSchemeHandler:l}=Jl();function u(e,t,n,i){let o={};return i||(e=m(p(e,n),n),t=m(p(t,n),n)),n||={},!n.tolerant&&t.scheme?(o.scheme=t.scheme,o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=r(t.path||""),o.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=r(t.path||""),o.query=t.query):(t.path?("/"===t.path[0]?o.path=r(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:o.path=t.path:o.path="/"+t.path,o.path=r(o.path)),o.query=t.query):(o.path=e.path,void 0===t.query?o.query=e.query:o.query=t.query),o.userinfo=e.userinfo,o.host=e.host,o.port=e.port),o.scheme=e.scheme),o.fragment=t.fragment,o}function p(e,t){let n={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},o=Object.assign({},t),a=[],s=l(o.scheme||n.scheme);s&&s.serialize&&s.serialize(n,o),void 0!==n.path&&(o.skipEscape?n.path=unescape(n.path):(n.path=escape(n.path),void 0!==n.scheme&&(n.path=n.path.split("%3A").join(":")))),"suffix"!==o.reference&&n.scheme&&a.push(n.scheme,":");let c=i(n);if(void 0!==c&&("suffix"!==o.reference&&a.push("//"),a.push(c),n.path&&"/"!==n.path[0]&&a.push("/")),void 0!==n.path){let e=n.path;!o.absolutePath&&(!s||!s.absolutePath)&&(e=r(e)),void 0===c&&"/"===e[0]&&"/"===e[1]&&(e="/%2F"+e.slice(2)),a.push(e)}return void 0!==n.query&&a.push("?",n.query),void 0!==n.fragment&&a.push("#",n.fragment),a.join("")}let d=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function m(e,t){let r=Object.assign({},t),i={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},o=!1;"suffix"===r.reference&&(e=r.scheme?r.scheme+":"+e:"//"+e);let c=e.match(d);if(c){if(i.scheme=c[1],i.userinfo=c[3],i.host=c[4],i.port=parseInt(c[5],10),i.path=c[6]||"",i.query=c[7],i.fragment=c[8],isNaN(i.port)&&(i.port=c[5]),i.host)if(!1===a(i.host)){let e=n(i.host);i.host=e.host.toLowerCase(),o=e.isIPV6}else o=!0;void 0!==i.scheme||void 0!==i.userinfo||void 0!==i.host||void 0!==i.port||void 0!==i.query||i.path?void 0===i.scheme?i.reference="relative":void 0===i.fragment?i.reference="absolute":i.reference="uri":i.reference="same-document",r.reference&&"suffix"!==r.reference&&r.reference!==i.reference&&(i.error=i.error||"URI is not a "+r.reference+" reference.");let t=l(r.scheme||i.scheme);if(!r.unicodeSupport&&(!t||!t.unicodeSupport)&&i.host&&(r.domainHost||t&&t.domainHost)&&!1===o&&s(i.host))try{i.host=URL.domainToASCII(i.host.toLowerCase())}catch(e){i.error=i.error||"Host's domain name can not be converted to ASCII: "+e}(!t||t&&!t.skipNormalize)&&(-1!==e.indexOf("%")&&(void 0!==i.scheme&&(i.scheme=unescape(i.scheme)),void 0!==i.host&&(i.host=unescape(i.host))),i.path&&=escape(unescape(i.path)),i.fragment&&=encodeURI(decodeURIComponent(i.fragment))),t&&t.parse&&t.parse(i,r)}else i.error=i.error||"URI can not be parsed.";return i}let f={SCHEMES:c,normalize:function(e,t){return"string"==typeof e?e=p(m(e,t),t):"object"==typeof e&&(e=m(p(e,t),t)),e},resolve:function(e,t,n){let r=n?Object.assign({scheme:"null"},n):{scheme:"null"},i=u(m(e,r),m(t,r),r,!0);return r.skipEscape=!0,p(i,r)},resolveComponent:u,equal:function(e,t,n){return"string"==typeof e?(e=unescape(e),e=p(o(m(e,n),!0),{...n,skipEscape:!0})):"object"==typeof e&&(e=p(o(e,!0),{...n,skipEscape:!0})),"string"==typeof t?(t=unescape(t),t=p(o(m(t,n),!0),{...n,skipEscape:!0})):"object"==typeof t&&(t=p(o(t,!0),{...n,skipEscape:!0})),e.toLowerCase()===t.toLowerCase()},serialize:p,parse:m};t.exports=f,t.exports.default=f,t.exports.fastUri=f}),tu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=eu();t.code='require("ajv/dist/runtime/uri").default',e.default=t}),nu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=Kl();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var n=Pl();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return n.CodeGen}});let r=Wl(),i=Xl(),o=Ml(),a=Zl(),s=Pl(),c=Hl(),l=Ul(),u=Fl(),p=Yl(),d=tu(),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";let f=["removeAdditional","useDefaults","coerceTypes"],h=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},_={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function y(e){let t=e.strict,n=e.code?.optimize,r=!0===n||void 0===n?1:n||0,i=e.code?.regExp??m,o=e.uriResolver??d.default;return{strictSchema:e.strictSchema??t??!0,strictNumbers:e.strictNumbers??t??!0,strictTypes:e.strictTypes??t??"log",strictTuples:e.strictTuples??t??"log",strictRequired:e.strictRequired??t??!1,code:e.code?{...e.code,optimize:r,regExp:i}:{optimize:r,regExp:i},loopRequired:e.loopRequired??200,loopEnum:e.loopEnum??200,meta:e.meta??!0,messages:e.messages??!0,inlineRefs:e.inlineRefs??!0,schemaId:e.schemaId??"$id",addUsedSchema:e.addUsedSchema??!0,validateSchema:e.validateSchema??!0,validateFormats:e.validateFormats??!0,unicodeRegExp:e.unicodeRegExp??!0,int32range:e.int32range??!0,uriResolver:o}}var v=class{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...y(e)};let{es5:t,lines:n}=this.opts.code;this.scope=new s.ValueScope({scope:{},prefixes:h,es5:t,lines:n}),this.logger=function(e){if(!1===e)return S;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw Error("logger must implement log, warn and error methods")}(e.logger);let r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,o.getRules)(),b.call(this,g,e,"NOT SUPPORTED"),b.call(this,_,e,"DEPRECATED","warn"),this._metaOpts=T.call(this),e.formats&&w.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&A.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),x.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:e,meta:t,schemaId:n}=this.opts,r=p;"id"===n&&(r={...p},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){let{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);let r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){let n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw Error("options.loadSchema should be a function");let{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);let n=this._addSchema(e,t);return n.validate||a.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function a(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof i.default))throw t;return s.call(this,t),await c.call(this,t.missingSchema),a.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){let n=await l.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function l(e){let t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(let t of e)this.addSchema(t,void 0,n,r);return this}let i;if("object"==typeof e){let{schemaId:t}=this.opts;if(i=e[t],void 0!==i&&"string"!=typeof i)throw Error(`schema ${t} must be string`)}return t=(0,c.normalizeId)(t||i),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let r=this.validate(n,e);if(!r&&t){let e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=E.call(this,e));)e=t;if(void 0===t){let{schemaId:n}=this.opts,r=new a.SchemaEnv({schema:{},schemaId:n});if(t=a.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let t=E.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{let t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,c.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(let t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw Error("addKeywords: keyword must be string or non-empty array")}if(C.call(this,n,t),!t)return(0,u.eachItem)(n,e=>O.call(this,e)),this;D.call(this,t);let r={...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)};return(0,u.eachItem)(n,0===r.type.length?e=>O.call(this,e,r):e=>r.type.forEach(t=>O.call(this,e,r,t))),this}getKeyword(e){let t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){let{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(let n of t.rules){let t=n.rules.findIndex(t=>t.keyword===e);t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map(e=>`${n}${e.instancePath} ${e.message}`).reduce((e,n)=>e+t+n):"No errors"}$dataMetaSchema(e,t){let n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(let r of t){let t=r.split("/").slice(1),i=e;for(let e of t)i=i[e];for(let e in n){let t=n[e];if("object"!=typeof t)continue;let{$data:r}=t.definition,o=i[e];r&&o&&(i[e]=F(o))}}return e}_removeAllSchemas(e,t){for(let n in e){let r=e[n];(!t||t.test(n))&&("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,i=this.opts.addUsedSchema){let o,{schemaId:s}=this.opts;if("object"==typeof e)o=e[s];else{if(this.opts.jtd)throw Error("schema must be object");if("boolean"!=typeof e)throw Error("schema must be object or boolean")}let l=this._cache.get(e);if(void 0!==l)return l;n=(0,c.normalizeId)(o||n);let u=c.getSchemaRefs.call(this,e,n);return l=new a.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:u}),this._cache.set(l.schema,l),i&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=l),r&&this.validateSchema(e,!0),l}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):a.compileSchema.call(this,e),!e.validate)throw Error("ajv implementation error");return e.validate}_compileMetaSchema(e){let t=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,e)}finally{this.opts=t}}};function b(e,t,n,r="error"){for(let i in e){let o=i;o in t&&this.logger[r](`${n}: option ${i}. ${e[o]}`)}}function E(e){return e=(0,c.normalizeId)(e),this.schemas[e]||this.refs[e]}function x(){let e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(let t in e)this.addSchema(e[t],t)}function w(){for(let e in this.opts.formats){let t=this.opts.formats[e];t&&this.addFormat(e,t)}}function A(e){if(Array.isArray(e))this.addVocabulary(e);else for(let t in this.logger.warn("keywords option as map is deprecated, pass array"),e){let n=e[t];n.keyword||=t,this.addKeyword(n)}}function T(){let e={...this.opts};for(let t of f)delete e[t];return e}v.ValidationError=r.default,v.MissingRefError=i.default,e.default=v;let S={log(){},warn(){},error(){}},k=/^[a-z_$][a-z0-9_$:-]*$/i;function C(e,t){let{RULES:n}=this;if((0,u.eachItem)(e,e=>{if(n.keywords[e])throw Error(`Keyword ${e} is already defined`);if(!k.test(e))throw Error(`Keyword ${e} has invalid name`)}),t&&t.$data&&!("code"in t)&&!("validate"in t))throw Error('$data keyword must have "code" or "validate" function')}function O(e,t,n){var r;let i=t?.post;if(n&&i)throw Error('keyword with "post" flag cannot have "type"');let{RULES:o}=this,a=i?o.post:o.rules.find(({type:e})=>e===n);if(a||(a={type:n,rules:[]},o.rules.push(a)),o.keywords[e]=!0,!t)return;let s={keyword:e,definition:{...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)}};t.before?R.call(this,a,s,t.before):a.rules.push(s),o.all[e]=s,null==(r=t.implements)||r.forEach(e=>this.addKeyword(e))}function R(e,t,n){let r=e.rules.findIndex(e=>e.keyword===n);r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function D(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=F(t)),e.validateSchema=this.compile(t,!0))}let P={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function F(e){return{anyOf:[e,P]}}}),ru=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}}}),iu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.callRef=e.getValidate=void 0;let t=Xl(),n=zl(),r=Pl(),i=Il(),o=Zl(),a=Fl(),s={keyword:"$ref",schemaType:"string",code(e){let{gen:n,schema:i,it:a}=e,{baseId:s,schemaEnv:u,validateName:p,opts:d,self:m}=a,{root:f}=u;if(("#"===i||"#/"===i)&&s===f.baseId)return function(){if(u===f)return l(e,p,u,u.$async);let t=n.scopeValue("root",{ref:f});return l(e,r._`${t}.validate`,f,f.$async)}();let h=o.resolveRef.call(m,f,s,i);if(void 0===h)throw new t.default(a.opts.uriResolver,s,i);return h instanceof o.SchemaEnv?function(t){l(e,c(e,t),t,t.$async)}(h):function(t){let o=n.scopeValue("schema",!0===d.code.source?{ref:t,code:(0,r.stringify)(t)}:{ref:t}),a=n.name("valid"),s=e.subschema({schema:t,dataTypes:[],schemaPath:r.nil,topSchemaRef:o,errSchemaPath:i},a);e.mergeEvaluated(s),e.ok(a)}(h)}};function c(e,t){let{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):r._`${n.scopeValue("wrapper",{ref:t})}.validate`}function l(e,t,o,s){let{gen:c,it:l}=e,{allErrors:u,schemaEnv:p,opts:d}=l,m=d.passContext?i.default.this:r.nil;function f(e){let t=r._`${e}.errors`;c.assign(i.default.vErrors,r._`${i.default.vErrors} === null ? ${t} : ${i.default.vErrors}.concat(${t})`),c.assign(i.default.errors,r._`${i.default.vErrors}.length`)}function h(e){if(!l.opts.unevaluated)return;let t=o?.validate?.evaluated;if(!0!==l.props)if(t&&!t.dynamicProps)void 0!==t.props&&(l.props=a.mergeEvaluated.props(c,t.props,l.props));else{let t=c.var("props",r._`${e}.evaluated.props`);l.props=a.mergeEvaluated.props(c,t,l.props,r.Name)}if(!0!==l.items)if(t&&!t.dynamicItems)void 0!==t.items&&(l.items=a.mergeEvaluated.items(c,t.items,l.items));else{let t=c.var("items",r._`${e}.evaluated.items`);l.items=a.mergeEvaluated.items(c,t,l.items,r.Name)}}s?function(){if(!p.$async)throw Error("async schema referenced by sync schema");let i=c.let("valid");c.try(()=>{c.code(r._`await ${(0,n.callValidateCode)(e,t,m)}`),h(t),u||c.assign(i,!0)},e=>{c.if(r._`!(${e} instanceof ${l.ValidationError})`,()=>c.throw(e)),f(e),u||c.assign(i,!1)}),e.ok(i)}():e.result((0,n.callValidateCode)(e,t,m),()=>h(t),()=>f(t))}e.getValidate=c,e.callRef=l,e.default=s}),ou=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=ru(),n=iu();e.default=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",t.default,n.default]}),au=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl(),n=t.operators,r={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}};e.default={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:{message:({keyword:e,schemaCode:n})=>t.str`must be ${r[e].okStr} ${n}`,params:({keyword:e,schemaCode:n})=>t._`{comparison: ${r[e].okStr}, limit: ${n}}`},code(e){let{keyword:n,data:i,schemaCode:o}=e;e.fail$data(t._`${i} ${r[n].fail} ${o} || isNaN(${i})`)}}}),su=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl();e.default={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>t.str`must be multiple of ${e}`,params:({schemaCode:e})=>t._`{multipleOf: ${e}}`},code(e){let{gen:n,data:r,schemaCode:i,it:o}=e,a=o.opts.multipleOfPrecision,s=n.let("res"),c=a?t._`Math.abs(Math.round(${s}) - ${s}) > 1e-${a}`:t._`${s} !== parseInt(${s})`;e.fail$data(t._`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`)}}}),cu=M(e=>{function t(e){let t,n=e.length,r=0,i=0;for(;i<n;)r++,t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<n&&(t=e.charCodeAt(i),56320==(64512&t)&&i++);return r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.code='require("ajv/dist/runtime/ucs2length").default'}),lu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl(),n=Fl(),r=cu();e.default={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:n}){let r="maxLength"===e?"more":"fewer";return t.str`must NOT have ${r} than ${n} characters`},params:({schemaCode:e})=>t._`{limit: ${e}}`},code(e){let{keyword:i,data:o,schemaCode:a,it:s}=e,c="maxLength"===i?t.operators.GT:t.operators.LT,l=!1===s.opts.unicode?t._`${o}.length`:t._`${(0,n.useFunc)(e.gen,r.default)}(${o})`;e.fail$data(t._`${l} ${c} ${a}`)}}}),uu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=zl(),n=Pl();e.default={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>n.str`must match pattern "${e}"`,params:({schemaCode:e})=>n._`{pattern: ${e}}`},code(e){let{data:r,$data:i,schema:o,schemaCode:a,it:s}=e,c=s.opts.unicodeRegExp?"u":"",l=i?n._`(new RegExp(${a}, ${c}))`:(0,t.usePattern)(e,o);e.fail$data(n._`!${l}.test(${r})`)}}}),pu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl();e.default={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:n}){let r="maxProperties"===e?"more":"fewer";return t.str`must NOT have ${r} than ${n} properties`},params:({schemaCode:e})=>t._`{limit: ${e}}`},code(e){let{keyword:n,data:r,schemaCode:i}=e,o="maxProperties"===n?t.operators.GT:t.operators.LT;e.fail$data(t._`Object.keys(${r}).length ${o} ${i}`)}}}),du=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=zl(),n=Pl(),r=Fl();e.default={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>n.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>n._`{missingProperty: ${e}}`},code(e){let{gen:i,schema:o,schemaCode:a,data:s,$data:c,it:l}=e,{opts:u}=l;if(!c&&0===o.length)return;let p=o.length>=u.loopRequired;if(l.allErrors?function(){if(p||c)e.block$data(n.nil,d);else for(let n of o)(0,t.checkReportMissingProp)(e,n)}():function(){let n=i.let("missing");if(p||c){let t=i.let("valid",!0);e.block$data(t,()=>m(n,t)),e.ok(t)}else i.if((0,t.checkMissingProp)(e,o,n)),(0,t.reportMissingProp)(e,n),i.else()}(),u.strictRequired){let t=e.parentSchema.properties,{definedProperties:n}=e.it;for(let e of o)if(void 0===t?.[e]&&!n.has(e)){let t=`required property "${e}" is not defined at "${l.schemaEnv.baseId+l.errSchemaPath}" (strictRequired)`;(0,r.checkStrictMode)(l,t,l.opts.strictRequired)}}function d(){i.forOf("prop",a,n=>{e.setParams({missingProperty:n}),i.if((0,t.noPropertyInData)(i,s,n,u.ownProperties),()=>e.error())})}function m(r,o){e.setParams({missingProperty:r}),i.forOf(r,a,()=>{i.assign(o,(0,t.propertyInData)(i,s,r,u.ownProperties)),i.if((0,n.not)(o),()=>{e.error(),i.break()})},n.nil)}}}}),mu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl();e.default={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:n}){let r="maxItems"===e?"more":"fewer";return t.str`must NOT have ${r} than ${n} items`},params:({schemaCode:e})=>t._`{limit: ${e}}`},code(e){let{keyword:n,data:r,schemaCode:i}=e,o="maxItems"===n?t.operators.GT:t.operators.LT;e.fail$data(t._`${r}.length ${o} ${i}`)}}}),fu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Vl();t.code='require("ajv/dist/runtime/equal").default',e.default=t}),hu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Ul(),n=Pl(),r=Fl(),i=fu();e.default={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>n.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>n._`{i: ${e}, j: ${t}}`},code(e){let{gen:o,data:a,$data:s,schema:c,parentSchema:l,schemaCode:u,it:p}=e;if(!s&&!c)return;let d=o.let("valid"),m=l.items?(0,t.getSchemaTypes)(l.items):[];function f(r,i){let s=o.name("item"),c=(0,t.checkDataTypes)(m,s,p.opts.strictNumbers,t.DataType.Wrong),l=o.const("indices",n._`{}`);o.for(n._`;${r}--;`,()=>{o.let(s,n._`${a}[${r}]`),o.if(c,n._`continue`),m.length>1&&o.if(n._`typeof ${s} == "string"`,n._`${s} += "_"`),o.if(n._`typeof ${l}[${s}] == "number"`,()=>{o.assign(i,n._`${l}[${s}]`),e.error(),o.assign(d,!1).break()}).code(n._`${l}[${s}] = ${r}`)})}function h(t,s){let c=(0,r.useFunc)(o,i.default),l=o.name("outer");o.label(l).for(n._`;${t}--;`,()=>o.for(n._`${s} = ${t}; ${s}--;`,()=>o.if(n._`${c}(${a}[${t}], ${a}[${s}])`,()=>{e.error(),o.assign(d,!1).break(l)})))}e.block$data(d,function(){let t=o.let("i",n._`${a}.length`),r=o.let("j");e.setParams({i:t,j:r}),o.assign(d,!0),o.if(n._`${t} > 1`,()=>(m.length>0&&!m.some(e=>"object"===e||"array"===e)?f:h)(t,r))},n._`${u} === false`),e.ok(d)}}}),gu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl(),n=Fl(),r=fu();e.default={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>t._`{allowedValue: ${e}}`},code(e){let{gen:i,data:o,$data:a,schemaCode:s,schema:c}=e;a||c&&"object"==typeof c?e.fail$data(t._`!${(0,n.useFunc)(i,r.default)}(${o}, ${s})`):e.fail(t._`${c} !== ${o}`)}}}),_u=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl(),n=Fl(),r=fu();e.default={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>t._`{allowedValues: ${e}}`},code(e){let{gen:i,data:o,$data:a,schema:s,schemaCode:c,it:l}=e;if(!a&&0===s.length)throw Error("enum must have non-empty array");let u,p,d=s.length>=l.opts.loopEnum,m=()=>u??=(0,n.useFunc)(i,r.default);if(d||a)p=i.let("valid"),e.block$data(p,function(){i.assign(p,!1),i.forOf("v",c,e=>i.if(t._`${m()}(${o}, ${e})`,()=>i.assign(p,!0).break()))});else{if(!Array.isArray(s))throw Error("ajv implementation error");let e=i.const("vSchema",c);p=(0,t.or)(...s.map((t,n)=>f(e,n)))}function f(e,n){let r=s[n];return"object"==typeof r&&r?t._`${m()}(${o}, ${e}[${n}])`:t._`${o} === ${r}`}e.pass(p)}}}),yu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=au(),n=su(),r=lu(),i=uu(),o=pu(),a=du(),s=mu(),c=hu(),l=gu(),u=_u();e.default=[t.default,n.default,r.default,i.default,o.default,a.default,s.default,c.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},l.default,u.default]}),vu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.validateAdditionalItems=void 0;let t=Pl(),n=Fl(),r={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>t.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>t._`{limit: ${e}}`},code(e){let{parentSchema:t,it:r}=e,{items:o}=t;Array.isArray(o)?i(e,o):(0,n.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas')}};function i(e,r){let{gen:i,schema:o,data:a,keyword:s,it:c}=e;c.items=!0;let l=i.const("len",t._`${a}.length`);if(!1===o)e.setParams({len:r.length}),e.pass(t._`${l} <= ${r.length}`);else if("object"==typeof o&&!(0,n.alwaysValidSchema)(c,o)){let n=i.var("valid",t._`${l} <= ${r.length}`);i.if((0,t.not)(n),()=>u(n)),e.ok(n)}function u(o){i.forRange("i",r.length,l,r=>{e.subschema({keyword:s,dataProp:r,dataPropType:n.Type.Num},o),c.allErrors||i.if((0,t.not)(o),()=>i.break())})}}e.validateAdditionalItems=i,e.default=r}),bu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.validateTuple=void 0;let t=Pl(),n=Fl(),r=zl(),i={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){let{schema:t,it:i}=e;if(Array.isArray(t))return o(e,"additionalItems",t);i.items=!0,!(0,n.alwaysValidSchema)(i,t)&&e.ok((0,r.validateArray)(e))}};function o(e,r,i=e.schema){let{gen:o,parentSchema:a,data:s,keyword:c,it:l}=e;(function(e){let{opts:t,errSchemaPath:o}=l,a=i.length,s=a===e.minItems&&(a===e.maxItems||!1===e[r]);if(t.strictTuples&&!s){let e=`"${c}" is ${a}-tuple, but minItems or maxItems/${r} are not specified or different at path "${o}"`;(0,n.checkStrictMode)(l,e,t.strictTuples)}})(a),l.opts.unevaluated&&i.length&&!0!==l.items&&(l.items=n.mergeEvaluated.items(o,i.length,l.items));let u=o.name("valid"),p=o.const("len",t._`${s}.length`);i.forEach((r,i)=>{(0,n.alwaysValidSchema)(l,r)||(o.if(t._`${p} > ${i}`,()=>e.subschema({keyword:c,schemaProp:i,dataProp:i},u)),e.ok(u))})}e.validateTuple=o,e.default=i}),Eu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=bu();e.default={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,t.validateTuple)(e,"items")}}),xu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl(),n=Fl(),r=zl(),i=vu();e.default={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>t.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>t._`{limit: ${e}}`},code(e){let{schema:t,parentSchema:o,it:a}=e,{prefixItems:s}=o;a.items=!0,!(0,n.alwaysValidSchema)(a,t)&&(s?(0,i.validateAdditionalItems)(e,s):e.ok((0,r.validateArray)(e)))}}}),wu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl(),n=Fl();e.default={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:n}})=>void 0===n?t.str`must contain at least ${e} valid item(s)`:t.str`must contain at least ${e} and no more than ${n} valid item(s)`,params:({params:{min:e,max:n}})=>void 0===n?t._`{minContains: ${e}}`:t._`{minContains: ${e}, maxContains: ${n}}`},code(e){let r,i,{gen:o,schema:a,parentSchema:s,data:c,it:l}=e,{minContains:u,maxContains:p}=s;l.opts.next?(r=void 0===u?1:u,i=p):r=1;let d=o.const("len",t._`${c}.length`);if(e.setParams({min:r,max:i}),void 0===i&&0===r)return void(0,n.checkStrictMode)(l,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==i&&r>i)return(0,n.checkStrictMode)(l,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,n.alwaysValidSchema)(l,a)){let n=t._`${d} >= ${r}`;return void 0!==i&&(n=t._`${n} && ${d} <= ${i}`),void e.pass(n)}l.items=!0;let m=o.name("valid");function f(){let e=o.name("_valid"),t=o.let("count",0);h(e,()=>o.if(e,()=>g(t)))}function h(t,r){o.forRange("i",0,d,i=>{e.subschema({keyword:"contains",dataProp:i,dataPropType:n.Type.Num,compositeRule:!0},t),r()})}function g(e){o.code(t._`${e}++`),void 0===i?o.if(t._`${e} >= ${r}`,()=>o.assign(m,!0).break()):(o.if(t._`${e} > ${i}`,()=>o.assign(m,!1).break()),1===r?o.assign(m,!0):o.if(t._`${e} >= ${r}`,()=>o.assign(m,!0)))}void 0===i&&1===r?h(m,()=>o.if(m,()=>o.break())):0===r?(o.let(m,!0),void 0!==i&&o.if(t._`${c}.length > 0`,f)):(o.let(m,!1),f()),e.result(m,()=>e.reset())}}}),Au=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;let t=Pl(),n=Fl(),r=zl();e.error={message:({params:{property:e,depsCount:n,deps:r}})=>{let i=1===n?"property":"properties";return t.str`must have ${i} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:n,deps:r,missingProperty:i}})=>t._`{property: ${e},
|
|
6
|
-
missingProperty: ${i},
|
|
7
|
-
depsCount: ${n},
|
|
8
|
-
deps: ${r}}`};let i={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(e){let[t,n]=function({schema:e}){let t={},n={};for(let r in e)"__proto__"!==r&&((Array.isArray(e[r])?t:n)[r]=e[r]);return[t,n]}(e);o(e,t),a(e,n)}};function o(e,n=e.schema){let{gen:i,data:o,it:a}=e;if(0===Object.keys(n).length)return;let s=i.let("missing");for(let c in n){let l=n[c];if(0===l.length)continue;let u=(0,r.propertyInData)(i,o,c,a.opts.ownProperties);e.setParams({property:c,depsCount:l.length,deps:l.join(", ")}),a.allErrors?i.if(u,()=>{for(let t of l)(0,r.checkReportMissingProp)(e,t)}):(i.if(t._`${u} && (${(0,r.checkMissingProp)(e,l,s)})`),(0,r.reportMissingProp)(e,s),i.else())}}function a(e,t=e.schema){let{gen:i,data:o,keyword:a,it:s}=e,c=i.name("valid");for(let l in t)(0,n.alwaysValidSchema)(s,t[l])||(i.if((0,r.propertyInData)(i,o,l,s.opts.ownProperties),()=>{let t=e.subschema({keyword:a,schemaProp:l},c);e.mergeValidEvaluated(t,c)},()=>i.var(c,!0)),e.ok(c))}e.validatePropertyDeps=o,e.validateSchemaDeps=a,e.default=i}),Tu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl(),n=Fl();e.default={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>t._`{propertyName: ${e.propertyName}}`},code(e){let{gen:r,schema:i,data:o,it:a}=e;if((0,n.alwaysValidSchema)(a,i))return;let s=r.name("valid");r.forIn("key",o,n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},s),r.if((0,t.not)(s),()=>{e.error(!0),a.allErrors||r.break()})}),e.ok(s)}}}),Su=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=zl(),n=Pl(),r=Il(),i=Fl();e.default={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>n._`{additionalProperty: ${e.additionalProperty}}`},code(e){let{gen:o,schema:a,parentSchema:s,data:c,errsCount:l,it:u}=e;if(!l)throw Error("ajv implementation error");let{allErrors:p,opts:d}=u;if(u.props=!0,"all"!==d.removeAdditional&&(0,i.alwaysValidSchema)(u,a))return;let m=(0,t.allSchemaProperties)(s.properties),f=(0,t.allSchemaProperties)(s.patternProperties);function h(r){let a;if(m.length>8){let e=(0,i.schemaRefOrVal)(u,s.properties,"properties");a=(0,t.isOwnProperty)(o,e,r)}else a=m.length?(0,n.or)(...m.map(e=>n._`${r} === ${e}`)):n.nil;return f.length&&(a=(0,n.or)(a,...f.map(i=>n._`${(0,t.usePattern)(e,i)}.test(${r})`))),(0,n.not)(a)}function g(e){o.code(n._`delete ${c}[${e}]`)}function _(t){if("all"===d.removeAdditional||d.removeAdditional&&!1===a)g(t);else{if(!1===a)return e.setParams({additionalProperty:t}),e.error(),void(p||o.break());if("object"==typeof a&&!(0,i.alwaysValidSchema)(u,a)){let r=o.name("valid");"failing"===d.removeAdditional?(y(t,r,!1),o.if((0,n.not)(r),()=>{e.reset(),g(t)})):(y(t,r),p||o.if((0,n.not)(r),()=>o.break()))}}}function y(t,n,r){let o={keyword:"additionalProperties",dataProp:t,dataPropType:i.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}o.forIn("key",c,e=>{m.length||f.length?o.if(h(e),()=>_(e)):_(e)}),e.ok(n._`${l} === ${r.default.errors}`)}}}),ku=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Kl(),n=zl(),r=Fl(),i=Su();e.default={keyword:"properties",type:"object",schemaType:"object",code(e){let{gen:o,schema:a,parentSchema:s,data:c,it:l}=e;"all"===l.opts.removeAdditional&&void 0===s.additionalProperties&&i.default.code(new t.KeywordCxt(l,i.default,"additionalProperties"));let u=(0,n.allSchemaProperties)(a);for(let e of u)l.definedProperties.add(e);l.opts.unevaluated&&u.length&&!0!==l.props&&(l.props=r.mergeEvaluated.props(o,(0,r.toHash)(u),l.props));let p=u.filter(e=>!(0,r.alwaysValidSchema)(l,a[e]));if(0===p.length)return;let d=o.name("valid");for(let t of p)m(t)?f(t):(o.if((0,n.propertyInData)(o,c,t,l.opts.ownProperties)),f(t),l.allErrors||o.else().var(d,!0),o.endIf()),e.it.definedProperties.add(t),e.ok(d);function m(e){return l.opts.useDefaults&&!l.compositeRule&&void 0!==a[e].default}function f(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},d)}}}}),Cu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=zl(),n=Pl(),r=Fl(),i=Fl();e.default={keyword:"patternProperties",type:"object",schemaType:"object",code(e){let{gen:o,schema:a,data:s,parentSchema:c,it:l}=e,{opts:u}=l,p=(0,t.allSchemaProperties)(a),d=p.filter(e=>(0,r.alwaysValidSchema)(l,a[e]));if(0===p.length||d.length===p.length&&(!l.opts.unevaluated||!0===l.props))return;let m=u.strictSchema&&!u.allowMatchingProperties&&c.properties,f=o.name("valid");!0!==l.props&&!(l.props instanceof n.Name)&&(l.props=(0,i.evaluatedPropsToName)(o,l.props));let{props:h}=l;function g(e){for(let t in m)new RegExp(e).test(t)&&(0,r.checkStrictMode)(l,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function _(r){o.forIn("key",s,a=>{o.if(n._`${(0,t.usePattern)(e,r)}.test(${a})`,()=>{let t=d.includes(r);t||e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:a,dataPropType:i.Type.Str},f),l.opts.unevaluated&&!0!==h?o.assign(n._`${h}[${a}]`,!0):!t&&!l.allErrors&&o.if((0,n.not)(f),()=>o.break())})})}!function(){for(let e of p)m&&g(e),l.allErrors?_(e):(o.var(f,!0),_(e),o.if(f))}()}}}),Ou=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Fl();e.default={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){let{gen:n,schema:r,it:i}=e;if((0,t.alwaysValidSchema)(i,r))return void e.fail();let o=n.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}}}),Ru=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:zl().validateUnion,error:{message:"must match a schema in anyOf"}}}),Du=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl(),n=Fl();e.default={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>t._`{passingSchemas: ${e.passing}}`},code(e){let{gen:r,schema:i,parentSchema:o,it:a}=e;if(!Array.isArray(i))throw Error("ajv implementation error");if(a.opts.discriminator&&o.discriminator)return;let s=i,c=r.let("valid",!1),l=r.let("passing",null),u=r.name("_valid");e.setParams({passing:l}),r.block(function(){s.forEach((i,o)=>{let s;(0,n.alwaysValidSchema)(a,i)?r.var(u,!0):s=e.subschema({keyword:"oneOf",schemaProp:o,compositeRule:!0},u),o>0&&r.if(t._`${u} && ${c}`).assign(c,!1).assign(l,t._`[${l}, ${o}]`).else(),r.if(u,()=>{r.assign(c,!0),r.assign(l,o),s&&e.mergeEvaluated(s,t.Name)})})}),e.result(c,()=>e.reset(),()=>e.error(!0))}}}),Pu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Fl();e.default={keyword:"allOf",schemaType:"array",code(e){let{gen:n,schema:r,it:i}=e;if(!Array.isArray(r))throw Error("ajv implementation error");let o=n.name("valid");r.forEach((n,r)=>{if((0,t.alwaysValidSchema)(i,n))return;let a=e.subschema({keyword:"allOf",schemaProp:r},o);e.ok(o),e.mergeEvaluated(a)})}}}),Fu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl(),n=Fl(),r={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>t.str`must match "${e.ifClause}" schema`,params:({params:e})=>t._`{failingKeyword: ${e.ifClause}}`},code(e){let{gen:r,parentSchema:o,it:a}=e;void 0===o.then&&void 0===o.else&&(0,n.checkStrictMode)(a,'"if" without "then" and "else" is ignored');let s=i(a,"then"),c=i(a,"else");if(!s&&!c)return;let l=r.let("valid",!0),u=r.name("_valid");if(function(){let t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}(),e.reset(),s&&c){let t=r.let("ifClause");e.setParams({ifClause:t}),r.if(u,p("then",t),p("else",t))}else s?r.if(u,p("then")):r.if((0,t.not)(u),p("else"));function p(n,i){return()=>{let o=e.subschema({keyword:n},u);r.assign(l,u),e.mergeValidEvaluated(o,l),i?r.assign(i,t._`${n}`):e.setParams({ifClause:n})}}e.pass(l,()=>e.error(!0))}};function i(e,t){let r=e.schema[t];return void 0!==r&&!(0,n.alwaysValidSchema)(e,r)}e.default=r}),Iu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Fl();e.default={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:n,it:r}){void 0===n.if&&(0,t.checkStrictMode)(r,`"${e}" without "if" is ignored`)}}}),Nu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=vu(),n=Eu(),r=bu(),i=xu(),o=wu(),a=Au(),s=Tu(),c=Su(),l=ku(),u=Cu(),p=Ou(),d=Ru(),m=Du(),f=Pu(),h=Fu(),g=Iu();e.default=function(e=!1){let _=[p.default,d.default,m.default,f.default,h.default,g.default,s.default,c.default,a.default,l.default,u.default];return e?_.push(n.default,i.default):_.push(t.default,r.default),_.push(o.default),_}}),Lu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl();e.default={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>t.str`must match format "${e}"`,params:({schemaCode:e})=>t._`{format: ${e}}`},code(e,n){let{gen:r,data:i,$data:o,schema:a,schemaCode:s,it:c}=e,{opts:l,errSchemaPath:u,schemaEnv:p,self:d}=c;l.validateFormats&&(o?function(){let o=r.scopeValue("formats",{ref:d.formats,code:l.code.formats}),a=r.const("fDef",t._`${o}[${s}]`),c=r.let("fType"),u=r.let("format");r.if(t._`typeof ${a} == "object" && !(${a} instanceof RegExp)`,()=>r.assign(c,t._`${a}.type || "string"`).assign(u,t._`${a}.validate`),()=>r.assign(c,t._`"string"`).assign(u,a)),e.fail$data((0,t.or)(!1===l.strictSchema?t.nil:t._`${s} && !${u}`,function(){let e=p.$async?t._`(${a}.async ? await ${u}(${i}) : ${u}(${i}))`:t._`${u}(${i})`,r=t._`(typeof ${u} == "function" ? ${e} : ${u}.test(${i}))`;return t._`${u} && ${u} !== true && ${c} === ${n} && !${r}`}()))}():function(){let o=d.formats[a];if(!o)return void function(){if(!1!==l.strictSchema)throw Error(e());function e(){return`unknown format "${a}" ignored in schema at path "${u}"`}d.logger.warn(e())}();if(!0===o)return;let[s,c,m]=function(e){let n=e instanceof RegExp?(0,t.regexpCode)(e):l.code.formats?t._`${l.code.formats}${(0,t.getProperty)(a)}`:void 0,i=r.scopeValue("formats",{key:a,ref:e,code:n});return"object"!=typeof e||e instanceof RegExp?["string",e,i]:[e.type||"string",e.validate,t._`${i}.validate`]}(o);s===n&&e.pass(function(){if("object"==typeof o&&!(o instanceof RegExp)&&o.async){if(!p.$async)throw Error("async format in sync schema");return t._`await ${m}(${i})`}return"function"==typeof c?t._`${m}(${i})`:t._`${m}.test(${i})`}())}())}}}),Mu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=[Lu().default]}),Bu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.contentVocabulary=e.metadataVocabulary=void 0,e.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],e.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]}),Uu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=ou(),n=yu(),r=Nu(),i=Mu(),o=Bu();e.default=[t.default,n.default,(0,r.default)(),i.default,o.metadataVocabulary,o.contentVocabulary]}),$u=M(e=>{var t;Object.defineProperty(e,"__esModule",{value:!0}),e.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(t||(e.DiscrError=t={}))}),zu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0});let t=Pl(),n=$u(),r=Zl(),i=Xl(),o=Fl();e.default={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===n.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:n,tagName:r}})=>t._`{error: ${e}, tag: ${r}, tagValue: ${n}}`},code(e){let{gen:a,data:s,schema:c,parentSchema:l,it:u}=e,{oneOf:p}=l;if(!u.opts.discriminator)throw Error("discriminator: requires discriminator option");let d=c.propertyName;if("string"!=typeof d)throw Error("discriminator: requires propertyName");if(c.mapping)throw Error("discriminator: mapping is not supported");if(!p)throw Error("discriminator: requires oneOf keyword");let m=a.let("valid",!1),f=a.const("tag",t._`${s}${(0,t.getProperty)(d)}`);function h(n){let r=a.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},r);return e.mergeEvaluated(i,t.Name),r}function g(){let e={},t=a(l),n=!0;for(let e=0;e<p.length;e++){let c=p[e];if(c?.$ref&&!(0,o.schemaHasRulesButRef)(c,u.self.RULES)){let e=c.$ref;if(c=r.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,e),c instanceof r.SchemaEnv&&(c=c.schema),void 0===c)throw new i.default(u.opts.uriResolver,u.baseId,e)}let l=c?.properties?.[d];if("object"!=typeof l)throw Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${d}"`);n&&=t||a(c),s(l,e)}if(!n)throw Error(`discriminator: "${d}" must be required`);return e;function a({required:e}){return Array.isArray(e)&&e.includes(d)}function s(e,t){if(e.const)c(e.const,t);else{if(!e.enum)throw Error(`discriminator: "properties/${d}" must have "const" or "enum"`);for(let n of e.enum)c(n,t)}}function c(t,n){if("string"!=typeof t||t in e)throw Error(`discriminator: "${d}" values must be unique strings`);e[t]=n}}a.if(t._`typeof ${f} == "string"`,()=>function(){let r=g();for(let e in a.if(!1),r)a.elseIf(t._`${f} === ${e}`),a.assign(m,h(r[e]));a.else(),e.error(!1,{discrError:n.DiscrError.Mapping,tag:f,tagName:d}),a.endIf()}(),()=>e.error(!1,{discrError:n.DiscrError.Tag,tag:f,tagName:d})),e.ok(m)}}}),Gu=M((e,t)=>{t.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}),ju=M((e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv=void 0;let n=nu(),r=Uu(),i=zu(),o=Gu(),a=["/properties"],s="http://json-schema.org/draft-07/schema";var c=class extends n.default{_addVocabularies(){super._addVocabularies(),r.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(o,a):o;this.addMetaSchema(e,s,!1),this.refs["http://json-schema.org/schema"]=s}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}};e.Ajv=c,t.exports=e=c,t.exports.Ajv=c,Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var l=Kl();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return l.KeywordCxt}});var u=Pl();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return u.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return u.CodeGen}});var p=Wl();Object.defineProperty(e,"ValidationError",{enumerable:!0,get:function(){return p.default}});var d=Xl();Object.defineProperty(e,"MissingRefError",{enumerable:!0,get:function(){return d.default}})}),Vu=M(e=>{function t(e,t){return{validate:e,compare:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0,e.fullFormats={date:t(i,o),time:t(s(!0),c),"date-time":t(p(!0),d),"iso-time":t(s(),l),"iso-date-time":t(p(),m),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:function(e){return f.test(e)&&h.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:function(e){if(b.test(e))return!1;try{return new RegExp(e),!0}catch{return!1}},uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:function(e){return g.lastIndex=0,g.test(e)},int32:{type:"number",validate:function(e){return Number.isInteger(e)&&e<=y&&e>=_}},int64:{type:"number",validate:function(e){return Number.isInteger(e)}},float:{type:"number",validate:v},double:{type:"number",validate:v},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,o),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,c),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,d),"iso-time":t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,l),"iso-date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,m),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);let n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,r=[0,31,28,31,30,31,30,31,31,30,31,30,31];function i(e){let t=n.exec(e);if(!t)return!1;let i=+t[1],o=+t[2],a=+t[3];return o>=1&&o<=12&&a>=1&&a<=(2===o&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(i)?29:r[o])}function o(e,t){if(e&&t)return e>t?1:e<t?-1:0}let a=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function s(e){return function(t){let n=a.exec(t);if(!n)return!1;let r=+n[1],i=+n[2],o=+n[3],s=n[4],c="-"===n[5]?-1:1,l=+(n[6]||0),u=+(n[7]||0);if(l>23||u>59||e&&!s)return!1;if(r<=23&&i<=59&&o<60)return!0;let p=i-u*c,d=r-l*c-(p<0?1:0);return(23===d||-1===d)&&(59===p||-1===p)&&o<61}}function c(e,t){if(!e||!t)return;let n=new Date("2020-01-01T"+e).valueOf(),r=new Date("2020-01-01T"+t).valueOf();return n&&r?n-r:void 0}function l(e,t){if(!e||!t)return;let n=a.exec(e),r=a.exec(t);return n&&r?(e=n[1]+n[2]+n[3])>(t=r[1]+r[2]+r[3])?1:e<t?-1:0:void 0}let u=/t|\s/i;function p(e){let t=s(e);return function(e){let n=e.split(u);return 2===n.length&&i(n[0])&&t(n[1])}}function d(e,t){if(!e||!t)return;let n=new Date(e).valueOf(),r=new Date(t).valueOf();return n&&r?n-r:void 0}function m(e,t){if(!e||!t)return;let[n,r]=e.split(u),[i,a]=t.split(u),s=o(n,i);return void 0!==s?s||c(r,a):void 0}let f=/\/|:/,h=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,g=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm,_=-(2**31),y=2**31-1;function v(){return!0}let b=/[^\\]\\Z/}),qu=M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;let t=ju(),n=Pl(),r=n.operators,i={formatMaximum:{okStr:"<=",ok:r.LTE,fail:r.GT},formatMinimum:{okStr:">=",ok:r.GTE,fail:r.LT},formatExclusiveMaximum:{okStr:"<",ok:r.LT,fail:r.GTE},formatExclusiveMinimum:{okStr:">",ok:r.GT,fail:r.LTE}};e.formatLimitDefinition={keyword:Object.keys(i),type:"string",schemaType:"string",$data:!0,error:{message:({keyword:e,schemaCode:t})=>n.str`should be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>n._`{comparison: ${i[e].okStr}, limit: ${t}}`},code(e){let{gen:r,data:o,schemaCode:a,keyword:s,it:c}=e,{opts:l,self:u}=c;if(!l.validateFormats)return;let p=new t.KeywordCxt(c,u.RULES.all.format.definition,"format");function d(e){return n._`${e}.compare(${o}, ${a}) ${i[s].fail} 0`}p.$data?function(){let t=r.scopeValue("formats",{ref:u.formats,code:l.code.formats}),i=r.const("fmt",n._`${t}[${p.schemaCode}]`);e.fail$data((0,n.or)(n._`typeof ${i} != "object"`,n._`${i} instanceof RegExp`,n._`typeof ${i}.compare != "function"`,d(i)))}():function(){let t=p.schema,i=u.formats[t];if(!i||!0===i)return;if("object"!=typeof i||i instanceof RegExp||"function"!=typeof i.compare)throw Error(`"${s}": format "${t}" does not define "compare" function`);let o=r.scopeValue("formats",{key:t,ref:i,code:l.code.formats?n._`${l.code.formats}${(0,n.getProperty)(t)}`:void 0});e.fail$data(d(o))}()},dependencies:["format"]},e.default=t=>(t.addKeyword(e.formatLimitDefinition),t)}),Hu=M((e,t)=>{Object.defineProperty(e,"__esModule",{value:!0});let n=Vu(),r=qu(),i=Pl(),o=new i.Name("fullFormats"),a=new i.Name("fastFormats"),s=(e,t={keywords:!0})=>{if(Array.isArray(t))return c(e,t,n.fullFormats,o),e;let[i,s]="fast"===t.mode?[n.fastFormats,a]:[n.fullFormats,o];return c(e,t.formats||n.formatNames,i,s),t.keywords&&(0,r.default)(e),e};function c(e,t,n,r){var o;(o=e.opts.code).formats??(o.formats=i._`require("ajv-formats/dist/formats").${r}`);for(let r of t)e.addFormat(r,n[r])}s.get=(e,t="full")=>{let r=("fast"===t?n.fastFormats:n.fullFormats)[e];if(!r)throw Error(`Unknown format "${e}"`);return r},t.exports=e=s,Object.defineProperty(e,"__esModule",{value:!0}),e.default=s}),Ku=B(ju(),1),Wu=B(Hu(),1),Xu=class{constructor(e){this._ajv=e??function(){let e=new Ku.default({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return(0,Wu.default)(e),e}()}getValidator(e){let t="$id"in e&&"string"==typeof e.$id?this._ajv.getSchema(e.$id)??this._ajv.compile(e):this._ajv.compile(e);return e=>t(e)?{valid:!0,data:e,errorMessage:void 0}:{valid:!1,data:void 0,errorMessage:this._ajv.errorsText(t.errors)}}},Zu=class{constructor(e){this._server=e}requestStream(e,t,n){return this._server.requestStream(e,t,n)}async getTask(e,t){return this._server.getTask({taskId:e},t)}async getTaskResult(e,t,n){return this._server.getTaskResult({taskId:e},t,n)}async listTasks(e,t){return this._server.listTasks(e?{cursor:e}:void 0,t)}async cancelTask(e,t){return this._server.cancelTask({taskId:e},t)}},Yu=class extends Cl{constructor(e,t){super(t),this._serverInfo=e,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(oc.options.map((e,t)=>[e,t])),this.isMessageIgnored=(e,t)=>{let n=this._loggingLevels.get(t);return!!n&&this.LOG_LEVEL_SEVERITY.get(e)<this.LOG_LEVEL_SEVERITY.get(n)},this._capabilities=t?.capabilities??{},this._instructions=t?.instructions,this._jsonSchemaValidator=t?.jsonSchemaValidator??new Xu,this.setRequestHandler(ja,e=>this._oninitialize(e)),this.setNotificationHandler(Ha,()=>this.oninitialized?.()),this._capabilities.logging&&this.setRequestHandler(sc,async(e,t)=>{let n=t.sessionId||t.requestInfo?.headers["mcp-session-id"]||void 0,{level:r}=e.params,i=oc.safeParse(r);return i.success&&this._loggingLevels.set(n,i.data),{}})}get experimental(){return this._experimental||={tasks:new Zu(this)},this._experimental}registerCapabilities(e){if(this.transport)throw Error("Cannot register capabilities after connecting to transport");this._capabilities=function(e,t){let n={...e};for(let e in t){let r=e,i=t[r];if(void 0===i)continue;let o=n[r];Ol(o)&&Ol(i)?n[r]={...o,...i}:n[r]=i}return n}(this._capabilities,e)}setRequestHandler(e,t){let n,r=Ri(e)?.method;if(!r)throw Error("Schema is missing a method literal");if(Si(r)){let e=r;n=e._zod?.def?.value??e.value}else{let e=r;n=e._def?.value??e.value}if("string"!=typeof n)throw Error("Schema method literal must be a string");return"tools/call"===n?super.setRequestHandler(e,async(e,n)=>{let r=Ci(rc,e);if(!r.success){let e=r.error instanceof Error?r.error.message:String(r.error);throw new $c(Oa.InvalidParams,`Invalid tools/call request: ${e}`)}let{params:i}=r.data,o=await Promise.resolve(t(e,n));if(i.task){let e=Ci(ns,o);if(!e.success){let t=e.error instanceof Error?e.error.message:String(e.error);throw new $c(Oa.InvalidParams,`Invalid task creation result: ${t}`)}return e.data}let a=Ci(tc,o);if(!a.success){let e=a.error instanceof Error?a.error.message:String(a.error);throw new $c(Oa.InvalidParams,`Invalid tools/call result: ${e}`)}return a.data}):super.setRequestHandler(e,t)}assertCapabilityForMethod(e){switch(e){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw Error(`Client does not support sampling (required for ${e})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw Error(`Client does not support elicitation (required for ${e})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw Error(`Client does not support listing roots (required for ${e})`)}}assertNotificationCapability(e){switch(e){case"notifications/message":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${e})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw Error(`Server does not support notifying about resources (required for ${e})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw Error(`Server does not support notifying of tool list changes (required for ${e})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw Error(`Server does not support notifying of prompt list changes (required for ${e})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw Error(`Client does not support URL elicitation (required for ${e})`)}}assertRequestHandlerCapability(e){if(this._capabilities)switch(e){case"completion/complete":if(!this._capabilities.completions)throw Error(`Server does not support completions (required for ${e})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${e})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw Error(`Server does not support prompts (required for ${e})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw Error(`Server does not support resources (required for ${e})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw Error(`Server does not support tools (required for ${e})`);break;case"tasks/get":case"tasks/list":case"tasks/result":case"tasks/cancel":if(!this._capabilities.tasks)throw Error(`Server does not support tasks capability (required for ${e})`)}}assertTaskCapability(e){!function(e,t,n){if(!e)throw Error(`${n} does not support task creation (required for ${t})`);switch(t){case"sampling/createMessage":if(!e.sampling?.createMessage)throw Error(`${n} does not support task creation for sampling/createMessage (required for ${t})`);break;case"elicitation/create":if(!e.elicitation?.create)throw Error(`${n} does not support task creation for elicitation/create (required for ${t})`)}}(this._clientCapabilities?.tasks?.requests,e,"Client")}assertTaskHandlerCapability(e){this._capabilities&&function(e,t,n){if(!e)throw Error(`${n} does not support task creation (required for ${t})`);if("tools/call"===t&&!e.tools?.call)throw Error(`${n} does not support task creation for tools/call (required for ${t})`)}(this._capabilities.tasks?.requests,e,"Server")}async _oninitialize(e){let t=e.params.protocolVersion;return this._clientCapabilities=e.params.capabilities,this._clientVersion=e.params.clientInfo,{protocolVersion:la.includes(t)?t:ca,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},Pa)}async createMessage(e,t){if((e.tools||e.toolChoice)&&!this._clientCapabilities?.sampling?.tools)throw Error("Client does not support sampling tools capability.");if(e.messages.length>0){let t=e.messages[e.messages.length-1],n=Array.isArray(t.content)?t.content:[t.content],r=n.some(e=>"tool_result"===e.type),i=e.messages.length>1?e.messages[e.messages.length-2]:void 0,o=i?Array.isArray(i.content)?i.content:[i.content]:[],a=o.some(e=>"tool_use"===e.type);if(r){if(n.some(e=>"tool_result"!==e.type))throw Error("The last message must contain only tool_result content if any is present");if(!a)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(a){let e=new Set(o.filter(e=>"tool_use"===e.type).map(e=>e.id)),t=new Set(n.filter(e=>"tool_result"===e.type).map(e=>e.toolUseId));if(e.size!==t.size||![...e].every(e=>t.has(e)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return e.tools?this.request({method:"sampling/createMessage",params:e},vc,t):this.request({method:"sampling/createMessage",params:e},yc,t)}async elicitInput(e,t){switch(e.mode??"form"){case"url":{if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support url elicitation.");let n=e;return this.request({method:"elicitation/create",params:n},Rc,t)}case"form":{if(!this._clientCapabilities?.elicitation?.form)throw Error("Client does not support form elicitation.");let n="form"===e.mode?e:{...e,mode:"form"},r=await this.request({method:"elicitation/create",params:n},Rc,t);if("accept"===r.action&&r.content&&n.requestedSchema)try{let e=this._jsonSchemaValidator.getValidator(n.requestedSchema)(r.content);if(!e.valid)throw new $c(Oa.InvalidParams,`Elicitation response content does not match requested schema: ${e.errorMessage}`)}catch(e){throw e instanceof $c?e:new $c(Oa.InternalError,`Error validating elicitation response: ${e instanceof Error?e.message:String(e)}`)}return r}}}createElicitationCompletionNotifier(e,t){if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:e}},t)}async listRoots(e,t){return this.request({method:"roots/list",params:e},Bc,t)}async sendLoggingMessage(e,t){if(this._capabilities.logging&&!this.isMessageIgnored(e.level,t))return this.notification({method:"notifications/message",params:e})}async sendResourceUpdated(e){return this.notification({method:"notifications/resources/updated",params:e})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}};const Qu=Symbol.for("mcp.completable");function Ju(e){return!!e&&"object"==typeof e&&Qu in e}var ep;(ep||={}).Completable="McpCompletable";const tp=/^[A-Za-z0-9._-]{1,128}$/;function np(e){let t=function(e){let t=[];if(0===e.length)return{isValid:!1,warnings:["Tool name cannot be empty"]};if(e.length>128)return{isValid:!1,warnings:[`Tool name exceeds maximum length of 128 characters (current: ${e.length})`]};if(e.includes(" ")&&t.push("Tool name contains spaces, which may cause parsing issues"),e.includes(",")&&t.push("Tool name contains commas, which may cause parsing issues"),(e.startsWith("-")||e.endsWith("-"))&&t.push("Tool name starts or ends with a dash, which may cause parsing issues in some contexts"),(e.startsWith(".")||e.endsWith("."))&&t.push("Tool name starts or ends with a dot, which may cause parsing issues in some contexts"),!tp.test(e)){let n=e.split("").filter(e=>!/[A-Za-z0-9._-]/.test(e)).filter((e,t,n)=>n.indexOf(e)===t);return t.push(`Tool name contains invalid characters: ${n.map(e=>`"${e}"`).join(", ")}`,"Allowed characters are: A-Z, a-z, 0-9, underscore (_), dash (-), and dot (.)"),{isValid:!1,warnings:t}}return{isValid:!0,warnings:t}}(e);return function(e,t){if(t.length>0){console.warn(`Tool name validation warning for "${e}":`);for(let e of t)console.warn(` - ${e}`);console.warn("Tool registration will proceed, but this may cause compatibility issues."),console.warn("Consider updating the tool name to conform to the MCP tool naming standard."),console.warn("See SEP: Specify Format for Tool Names (https://github.com/modelcontextprotocol/modelcontextprotocol/issues/986) for more details.")}}(e,t.warnings),t.isValid}var rp=class{constructor(e){this._mcpServer=e}registerToolTask(e,t,n){let r={taskSupport:"required",...t.execution};if("forbidden"===r.taskSupport)throw Error(`Cannot register task-based tool '${e}' with taskSupport 'forbidden'. Use registerTool() instead.`);return this._mcpServer._createRegisteredTool(e,t.title,t.description,t.inputSchema,t.outputSchema,t.annotations,r,t._meta,n)}},ip=class{constructor(e,t){this._registeredResources={},this._registeredResourceTemplates={},this._registeredTools={},this._registeredPrompts={},this._toolHandlersInitialized=!1,this._completionHandlerInitialized=!1,this._resourceHandlersInitialized=!1,this._promptHandlersInitialized=!1,this.server=new Yu(e,t)}get experimental(){return this._experimental||={tasks:new rp(this)},this._experimental}async connect(e){return await this.server.connect(e)}async close(){await this.server.close()}setToolRequestHandlers(){this._toolHandlersInitialized||=(this.server.assertCanSetRequestHandler(up(Js)),this.server.assertCanSetRequestHandler(up(rc)),this.server.registerCapabilities({tools:{listChanged:!0}}),this.server.setRequestHandler(Js,()=>({tools:Object.entries(this._registeredTools).filter(([,e])=>e.enabled).map(([e,t])=>{let n={name:e,title:t.title,description:t.description,inputSchema:(()=>{let e=Di(t.inputSchema);return e?Tl(e,{strictUnions:!0,pipeStrategy:"input"}):op})(),annotations:t.annotations,execution:t.execution,_meta:t._meta};if(t.outputSchema){let e=Di(t.outputSchema);e&&(n.outputSchema=Tl(e,{strictUnions:!0,pipeStrategy:"output"}))}return n})})),this.server.setRequestHandler(rc,async(e,t)=>{try{let n=this._registeredTools[e.params.name];if(!n)throw new $c(Oa.InvalidParams,`Tool ${e.params.name} not found`);if(!n.enabled)throw new $c(Oa.InvalidParams,`Tool ${e.params.name} disabled`);let r=!!e.params.task,i=n.execution?.taskSupport,o="createTask"in n.handler;if(("required"===i||"optional"===i)&&!o)throw new $c(Oa.InternalError,`Tool ${e.params.name} has taskSupport '${i}' but was not registered with registerToolTask`);if("required"===i&&!r)throw new $c(Oa.MethodNotFound,`Tool ${e.params.name} requires task augmentation (taskSupport: 'required')`);if("optional"===i&&!r&&o)return await this.handleAutomaticTaskPolling(n,e,t);let a=await this.validateToolInput(n,e.params.arguments,e.params.name),s=await this.executeToolHandler(n,a,t);return r||await this.validateToolOutput(n,s,e.params.name),s}catch(e){if(e instanceof $c&&e.code===Oa.UrlElicitationRequired)throw e;return this.createToolError(e instanceof Error?e.message:String(e))}}),!0)}createToolError(e){return{content:[{type:"text",text:e}],isError:!0}}async validateToolInput(e,t,n){if(!e.inputSchema)return;let r=await Oi(Di(e.inputSchema)??e.inputSchema,t);if(!r.success){let e=Pi("error"in r?r.error:"Unknown error");throw new $c(Oa.InvalidParams,`Input validation error: Invalid arguments for tool ${n}: ${e}`)}return r.data}async validateToolOutput(e,t,n){if(!e.outputSchema||!("content"in t)||t.isError)return;if(!t.structuredContent)throw new $c(Oa.InvalidParams,`Output validation error: Tool ${n} has an output schema but no structured content was provided`);let r=await Oi(Di(e.outputSchema),t.structuredContent);if(!r.success){let e=Pi("error"in r?r.error:"Unknown error");throw new $c(Oa.InvalidParams,`Output validation error: Invalid structured content for tool ${n}: ${e}`)}}async executeToolHandler(e,t,n){let r=e.handler;if("createTask"in r){if(!n.taskStore)throw Error("No task store provided.");let i={...n,taskStore:n.taskStore};if(e.inputSchema){let e=r;return await Promise.resolve(e.createTask(t,i))}{let e=r;return await Promise.resolve(e.createTask(i))}}if(e.inputSchema){let e=r;return await Promise.resolve(e(t,n))}{let e=r;return await Promise.resolve(e(n))}}async handleAutomaticTaskPolling(e,t,n){if(!n.taskStore)throw Error("No task store provided for task-capable tool.");let r=await this.validateToolInput(e,t.params.arguments,t.params.name),i=e.handler,o={...n,taskStore:n.taskStore},a=r?await Promise.resolve(i.createTask(r,o)):await Promise.resolve(i.createTask(o)),s=a.task.taskId,c=a.task,l=c.pollInterval??5e3;for(;"completed"!==c.status&&"failed"!==c.status&&"cancelled"!==c.status;){await new Promise(e=>setTimeout(e,l));let e=await n.taskStore.getTask(s);if(!e)throw new $c(Oa.InternalError,`Task ${s} not found during polling`);c=e}return await n.taskStore.getTaskResult(s)}setCompletionRequestHandler(){this._completionHandlerInitialized||=(this.server.assertCanSetRequestHandler(up(Ic)),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler(Ic,async e=>{switch(e.params.ref.type){case"ref/prompt":return function(e){if("ref/prompt"!==e.params.ref.type)throw TypeError(`Expected CompleteRequestPrompt, but got ${e.params.ref.type}`)}(e),this.handlePromptCompletion(e,e.params.ref);case"ref/resource":return function(e){if("ref/resource"!==e.params.ref.type)throw TypeError(`Expected CompleteRequestResourceTemplate, but got ${e.params.ref.type}`)}(e),this.handleResourceCompletion(e,e.params.ref);default:throw new $c(Oa.InvalidParams,`Invalid completion reference: ${e.params.ref}`)}}),!0)}async handlePromptCompletion(e,t){let n=this._registeredPrompts[t.name];if(!n)throw new $c(Oa.InvalidParams,`Prompt ${t.name} not found`);if(!n.enabled)throw new $c(Oa.InvalidParams,`Prompt ${t.name} disabled`);if(!n.argsSchema)return dp;let r=Ri(n.argsSchema)?.[e.params.argument.name];if(!Ju(r))return dp;let i=function(e){return e[Qu]?.complete}(r);return i?pp(await i(e.params.argument.value,e.params.context)):dp}async handleResourceCompletion(e,t){let n=Object.values(this._registeredResourceTemplates).find(e=>e.resourceTemplate.uriTemplate.toString()===t.uri);if(!n){if(this._registeredResources[t.uri])return dp;throw new $c(Oa.InvalidParams,`Resource template ${e.params.ref.uri} not found`)}let r=n.resourceTemplate.completeCallback(e.params.argument.name);return r?pp(await r(e.params.argument.value,e.params.context)):dp}setResourceRequestHandlers(){this._resourceHandlersInitialized||=(this.server.assertCanSetRequestHandler(up(bs)),this.server.assertCanSetRequestHandler(up(xs)),this.server.assertCanSetRequestHandler(up(Ss)),this.server.registerCapabilities({resources:{listChanged:!0}}),this.server.setRequestHandler(bs,async(e,t)=>{let n=Object.entries(this._registeredResources).filter(([e,t])=>t.enabled).map(([e,t])=>({uri:e,name:t.name,...t.metadata})),r=[];for(let e of Object.values(this._registeredResourceTemplates)){if(!e.resourceTemplate.listCallback)continue;let n=await e.resourceTemplate.listCallback(t);for(let t of n.resources)r.push({...e.metadata,...t})}return{resources:[...n,...r]}}),this.server.setRequestHandler(xs,async()=>({resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([e,t])=>({name:e,uriTemplate:t.resourceTemplate.uriTemplate.toString(),...t.metadata}))})),this.server.setRequestHandler(Ss,async(e,t)=>{let n=new URL(e.params.uri),r=this._registeredResources[n.toString()];if(r){if(!r.enabled)throw new $c(Oa.InvalidParams,`Resource ${n} disabled`);return r.readCallback(n,t)}for(let e of Object.values(this._registeredResourceTemplates)){let r=e.resourceTemplate.uriTemplate.match(n.toString());if(r)return e.readCallback(n,r,t)}throw new $c(Oa.InvalidParams,`Resource ${n} not found`)}),!0)}setPromptRequestHandlers(){this._promptHandlersInitialized||=(this.server.assertCanSetRequestHandler(up(Ms)),this.server.assertCanSetRequestHandler(up($s)),this.server.registerCapabilities({prompts:{listChanged:!0}}),this.server.setRequestHandler(Ms,()=>({prompts:Object.entries(this._registeredPrompts).filter(([,e])=>e.enabled).map(([e,t])=>({name:e,title:t.title,description:t.description,arguments:t.argsSchema?lp(t.argsSchema):void 0}))})),this.server.setRequestHandler($s,async(e,t)=>{let n=this._registeredPrompts[e.params.name];if(!n)throw new $c(Oa.InvalidParams,`Prompt ${e.params.name} not found`);if(!n.enabled)throw new $c(Oa.InvalidParams,`Prompt ${e.params.name} disabled`);if(n.argsSchema){let r=await Oi(Di(n.argsSchema),e.params.arguments);if(!r.success){let t=Pi("error"in r?r.error:"Unknown error");throw new $c(Oa.InvalidParams,`Invalid arguments for prompt ${e.params.name}: ${t}`)}let i=r.data,o=n.callback;return await Promise.resolve(o(i,t))}{let e=n.callback;return await Promise.resolve(e(t))}}),!0)}resource(e,t,...n){let r;"object"==typeof n[0]&&(r=n.shift());let i=n[0];if("string"==typeof t){if(this._registeredResources[t])throw Error(`Resource ${t} is already registered`);let n=this._createRegisteredResource(e,void 0,t,r,i);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),n}{if(this._registeredResourceTemplates[e])throw Error(`Resource template ${e} is already registered`);let n=this._createRegisteredResourceTemplate(e,void 0,t,r,i);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),n}}registerResource(e,t,n,r){if("string"==typeof t){if(this._registeredResources[t])throw Error(`Resource ${t} is already registered`);let i=this._createRegisteredResource(e,n.title,t,n,r);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),i}{if(this._registeredResourceTemplates[e])throw Error(`Resource template ${e} is already registered`);let i=this._createRegisteredResourceTemplate(e,n.title,t,n,r);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),i}}_createRegisteredResource(e,t,n,r,i){let o={name:e,title:t,metadata:r,readCallback:i,enabled:!0,disable:()=>o.update({enabled:!1}),enable:()=>o.update({enabled:!0}),remove:()=>o.update({uri:null}),update:e=>{void 0!==e.uri&&e.uri!==n&&(delete this._registeredResources[n],e.uri&&(this._registeredResources[e.uri]=o)),void 0!==e.name&&(o.name=e.name),void 0!==e.title&&(o.title=e.title),void 0!==e.metadata&&(o.metadata=e.metadata),void 0!==e.callback&&(o.readCallback=e.callback),void 0!==e.enabled&&(o.enabled=e.enabled),this.sendResourceListChanged()}};return this._registeredResources[n]=o,o}_createRegisteredResourceTemplate(e,t,n,r,i){let o={resourceTemplate:n,title:t,metadata:r,readCallback:i,enabled:!0,disable:()=>o.update({enabled:!1}),enable:()=>o.update({enabled:!0}),remove:()=>o.update({name:null}),update:t=>{void 0!==t.name&&t.name!==e&&(delete this._registeredResourceTemplates[e],t.name&&(this._registeredResourceTemplates[t.name]=o)),void 0!==t.title&&(o.title=t.title),void 0!==t.template&&(o.resourceTemplate=t.template),void 0!==t.metadata&&(o.metadata=t.metadata),void 0!==t.callback&&(o.readCallback=t.callback),void 0!==t.enabled&&(o.enabled=t.enabled),this.sendResourceListChanged()}};this._registeredResourceTemplates[e]=o;let a=n.uriTemplate.variableNames;return Array.isArray(a)&&a.some(e=>!!n.completeCallback(e))&&this.setCompletionRequestHandler(),o}_createRegisteredPrompt(e,t,n,r,i){let o={title:t,description:n,argsSchema:void 0===r?void 0:ki(r),callback:i,enabled:!0,disable:()=>o.update({enabled:!1}),enable:()=>o.update({enabled:!0}),remove:()=>o.update({name:null}),update:t=>{void 0!==t.name&&t.name!==e&&(delete this._registeredPrompts[e],t.name&&(this._registeredPrompts[t.name]=o)),void 0!==t.title&&(o.title=t.title),void 0!==t.description&&(o.description=t.description),void 0!==t.argsSchema&&(o.argsSchema=ki(t.argsSchema)),void 0!==t.callback&&(o.callback=t.callback),void 0!==t.enabled&&(o.enabled=t.enabled),this.sendPromptListChanged()}};return this._registeredPrompts[e]=o,r&&Object.values(r).some(e=>Ju(e instanceof ot?e._def?.innerType:e))&&this.setCompletionRequestHandler(),o}_createRegisteredTool(e,t,n,r,i,o,a,s,c){np(e);let l={title:t,description:n,inputSchema:cp(r),outputSchema:cp(i),annotations:o,execution:a,_meta:s,handler:c,enabled:!0,disable:()=>l.update({enabled:!1}),enable:()=>l.update({enabled:!0}),remove:()=>l.update({name:null}),update:t=>{void 0!==t.name&&t.name!==e&&("string"==typeof t.name&&np(t.name),delete this._registeredTools[e],t.name&&(this._registeredTools[t.name]=l)),void 0!==t.title&&(l.title=t.title),void 0!==t.description&&(l.description=t.description),void 0!==t.paramsSchema&&(l.inputSchema=ki(t.paramsSchema)),void 0!==t.outputSchema&&(l.outputSchema=ki(t.outputSchema)),void 0!==t.callback&&(l.handler=t.callback),void 0!==t.annotations&&(l.annotations=t.annotations),void 0!==t._meta&&(l._meta=t._meta),void 0!==t.enabled&&(l.enabled=t.enabled),this.sendToolListChanged()}};return this._registeredTools[e]=l,this.setToolRequestHandlers(),this.sendToolListChanged(),l}tool(e,...t){if(this._registeredTools[e])throw Error(`Tool ${e} is already registered`);let n,r,i;if("string"==typeof t[0]&&(n=t.shift()),t.length>1){let e=t[0];sp(e)?(r=t.shift(),t.length>1&&"object"==typeof t[0]&&null!==t[0]&&!sp(t[0])&&(i=t.shift())):"object"==typeof e&&e&&(i=t.shift())}let o=t[0];return this._createRegisteredTool(e,void 0,n,r,void 0,i,{taskSupport:"forbidden"},void 0,o)}registerTool(e,t,n){if(this._registeredTools[e])throw Error(`Tool ${e} is already registered`);let{title:r,description:i,inputSchema:o,outputSchema:a,annotations:s,_meta:c}=t;return this._createRegisteredTool(e,r,i,o,a,s,{taskSupport:"forbidden"},c,n)}prompt(e,...t){if(this._registeredPrompts[e])throw Error(`Prompt ${e} is already registered`);let n,r;"string"==typeof t[0]&&(n=t.shift()),t.length>1&&(r=t.shift());let i=t[0],o=this._createRegisteredPrompt(e,void 0,n,r,i);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),o}registerPrompt(e,t,n){if(this._registeredPrompts[e])throw Error(`Prompt ${e} is already registered`);let{title:r,description:i,argsSchema:o}=t,a=this._createRegisteredPrompt(e,r,i,o,n);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),a}isConnected(){return void 0!==this.server.transport}async sendLoggingMessage(e,t){return this.server.sendLoggingMessage(e,t)}sendResourceListChanged(){this.isConnected()&&this.server.sendResourceListChanged()}sendToolListChanged(){this.isConnected()&&this.server.sendToolListChanged()}sendPromptListChanged(){this.isConnected()&&this.server.sendPromptListChanged()}};const op={type:"object",properties:{}};function ap(e){return"object"==typeof e&&!!e&&"parse"in e&&"function"==typeof e.parse&&"safeParse"in e&&"function"==typeof e.safeParse}function sp(e){return!("object"!=typeof e||!e||function(e){return"_def"in e||"_zod"in e||ap(e)}(e))&&(0===Object.keys(e).length||Object.values(e).some(ap))}function cp(e){if(e)return sp(e)?ki(e):e}function lp(e){let t=Ri(e);return t?Object.entries(t).map(([e,t])=>({name:e,description:Fi(t),required:!Ii(t)})):[]}function up(e){let t=Ri(e)?.method;if(!t)throw Error("Schema is missing a method literal");let n=Ni(t);if("string"==typeof n)return n;throw Error("Schema method literal must be a string")}function pp(e){return{completion:{values:e.slice(0,100),total:e.length,hasMore:e.length>100}}}const dp={completion:{values:[],hasMore:!1}};var mp=class{append(e){this._buffer=this._buffer?Buffer.concat([this._buffer,e]):e}readMessage(){if(!this._buffer)return null;let e=this._buffer.indexOf("\n");if(-1===e)return null;let t=this._buffer.toString("utf8",0,e).replace(/\r$/,"");return this._buffer=this._buffer.subarray(e+1),function(e){return Da.parse(JSON.parse(e))}(t)}clear(){this._buffer=void 0}},fp=class{constructor(e=t.stdin,n=t.stdout){this._stdin=e,this._stdout=n,this._readBuffer=new mp,this._started=!1,this._ondata=e=>{this._readBuffer.append(e),this.processReadBuffer()},this._onerror=e=>{this.onerror?.(e)}}async start(){if(this._started)throw Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror)}processReadBuffer(){for(;;)try{let e=this._readBuffer.readMessage();if(null===e)break;this.onmessage?.(e)}catch(e){this.onerror?.(e)}}async close(){this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),0===this._stdin.listenerCount("data")&&this._stdin.pause(),this._readBuffer.clear(),this.onclose?.()}send(e){return new Promise(t=>{let n=function(e){return JSON.stringify(e)+"\n"}(e);this._stdout.write(n)?t():this._stdout.once("drain",t)})}};const hp=[];for(let e=0;e<256;++e)hp.push((e+256).toString(16).slice(1));const gp=new Uint8Array(256);let _p=gp.length;var yp={randomUUID:o};function vp(e,t){return function(){return e.apply(t,arguments)}}const{toString:bp}=Object.prototype,{getPrototypeOf:Ep}=Object,{iterator:xp,toStringTag:wp}=Symbol,Ap=(e=>t=>{let n=bp.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Tp=e=>(e=e.toLowerCase(),t=>Ap(t)===e),Sp=e=>t=>typeof t===e,{isArray:kp}=Array,Cp=Sp("undefined");function Op(e){return null!==e&&!Cp(e)&&null!==e.constructor&&!Cp(e.constructor)&&Pp(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Rp=Tp("ArrayBuffer"),Dp=Sp("string"),Pp=Sp("function"),Fp=Sp("number"),Ip=e=>"object"==typeof e&&!!e,Np=e=>{if("object"!==Ap(e))return!1;let t=Ep(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||wp in e||xp in e)},Lp=Tp("Date"),Mp=Tp("File"),Bp=Tp("Blob"),Up=Tp("FileList"),$p=Tp("URLSearchParams"),[zp,Gp,jp,Vp]=["ReadableStream","Request","Response","Headers"].map(Tp);function qp(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),kp(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(Op(e))return;let i,o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;for(r=0;r<a;r++)i=o[r],t.call(null,e[i],i,e)}}function Hp(e,t){if(Op(e))return null;t=t.toLowerCase();let n,r=Object.keys(e),i=r.length;for(;i-- >0;)if(n=r[i],t===n.toLowerCase())return n;return null}const Kp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Wp=e=>!Cp(e)&&e!==Kp,Xp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ep(Uint8Array)),Zp=Tp("HTMLFormElement"),Yp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Qp=Tp("RegExp"),Jp=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};qp(n,(n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)}),Object.defineProperties(e,r)},ed=Tp("AsyncFunction"),td=((e,t)=>e?setImmediate:t?((e,t)=>(Kp.addEventListener("message",({source:n,data:r})=>{n===Kp&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),Kp.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))("function"==typeof setImmediate,Pp(Kp.postMessage));var nd={isArray:kp,isArrayBuffer:Rp,isBuffer:Op,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Pp(e.append)&&("formdata"===(t=Ap(e))||"object"===t&&Pp(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t=typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Rp(e.buffer),t},isString:Dp,isNumber:Fp,isBoolean:e=>!0===e||!1===e,isObject:Ip,isPlainObject:Np,isEmptyObject:e=>{if(!Ip(e)||Op(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},isReadableStream:zp,isRequest:Gp,isResponse:jp,isHeaders:Vp,isUndefined:Cp,isDate:Lp,isFile:Mp,isBlob:Bp,isRegExp:Qp,isFunction:Pp,isStream:e=>Ip(e)&&Pp(e.pipe),isURLSearchParams:$p,isTypedArray:Xp,isFileList:Up,forEach:qp,merge:function e(){let{caseless:t,skipUndefined:n}=Wp(this)&&this||{},r={},i=(i,o)=>{let a=t&&Hp(r,o)||o;Np(r[a])&&Np(i)?r[a]=e(r[a],i):Np(i)?r[a]=e({},i):kp(i)?r[a]=i.slice():(!n||!Cp(i))&&(r[a]=i)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&qp(arguments[e],i);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(qp(t,(t,r)=>{n&&Pp(t)?e[r]=vp(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a,s={};if(t||={},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=!1!==n&&Ep(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ap,kindOfTest:Tp,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(kp(e))return e;let t=e.length;if(!Fp(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{let n,r=(e&&e[xp]).call(e);for(;(n=r.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n,r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Zp,hasOwnProperty:Yp,hasOwnProp:Yp,reduceDescriptors:Jp,freezeMethods:e=>{Jp(e,(t,n)=>{if(Pp(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;let r=e[n];if(Pp(r)){if(t.enumerable=!1,"writable"in t)return void(t.writable=!1);t.set||=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}}})},toObjectSet:(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return kp(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Hp,global:Kp,isContextDefined:Wp,isSpecCompliantForm:function(e){return!!(e&&Pp(e.append)&&"FormData"===e[wp]&&e[xp])},toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(Ip(e)){if(t.indexOf(e)>=0)return;if(Op(e))return e;if(!("toJSON"in e)){t[r]=e;let i=kp(e)?[]:{};return qp(e,(e,t)=>{let o=n(e,r+1);!Cp(o)&&(i[t]=o)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:ed,isThenable:e=>e&&(Ip(e)||Pp(e))&&Pp(e.then)&&Pp(e.catch),setImmediate:td,asap:typeof queueMicrotask<"u"?queueMicrotask.bind(Kp):typeof process<"u"&&process.nextTick||td,isIterable:e=>null!=e&&Pp(e[xp])};function rd(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}nd.inherits(rd,Error,{toJSON:function(){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:nd.toJSONObject(this.config),code:this.code,status:this.status}}});const id=rd.prototype,od={};["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=>{od[e]={value:e}}),Object.defineProperties(rd,od),Object.defineProperty(id,"isAxiosError",{value:!0}),rd.from=(e,t,n,r,i,o)=>{let a=Object.create(id);nd.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);let s=e&&e.message?e.message:"Error",c=null==t&&e?e.code:t;return rd.call(a,s,c,n,r,i),e&&null==a.cause&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",o&&Object.assign(a,o),a};var ad=rd,sd=M((e,t)=>{var n=U("stream").Stream,r=U("util");function i(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}t.exports=i,r.inherits(i,n),i.create=function(e,t){var n=new this;for(var r in t||={},t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n},Object.defineProperty(i.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),i.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},i.prototype.resume=function(){this._released||this.release(),this.source.resume()},i.prototype.pause=function(){this.source.pause()},i.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},i.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},i.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},i.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(e))}}}),cd=M((e,t)=>{var n=U("util"),r=U("stream").Stream,i=sd();function o(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}t.exports=o,n.inherits(o,r),o.create=function(e){var t=new this;for(var n in e||={},e)t[n]=e[n];return t},o.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},o.prototype.append=function(e){if(o.isStreamLike(e)){if(!(e instanceof i)){var t=i.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},o.prototype.pipe=function(e,t){return r.prototype.pipe.call(this,e,t),this.resume(),e},o.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},o.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){o.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},o.prototype._pipeNext=function(e){if(this._currentStream=e,o.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},o.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})},o.prototype.write=function(e){this.emit("data",e)},o.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},o.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},o.prototype.end=function(){this._reset(),this.emit("end")},o.prototype.destroy=function(){this._reset(),this.emit("close")},o.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},o.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(e))}},o.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},o.prototype._emitError=function(e){this._reset(),this.emit("error",e)}}),ld=M((e,t)=>{t.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"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:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,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:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"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:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"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:!0,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:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"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:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,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:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,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:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"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:!0},"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:!1,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:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,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:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"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:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,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:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,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:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"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:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"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:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"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:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,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:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,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:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"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:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"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:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"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:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"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:!1,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:!0,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:!0},"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:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,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:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,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:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"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:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,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:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"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:!0},"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:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,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:!0,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:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"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:!0},"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:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"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:!0},"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:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"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:!0,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:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"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:!0},"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:!0},"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:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"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:!0},"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:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"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:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"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:!1},"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:!1},"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:!1},"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:!0},"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:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"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:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"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:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"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:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"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:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"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:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"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:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,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:!1},"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:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"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:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"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:!0},"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:!0},"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:!0,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:!1,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:!0,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:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,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:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,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:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"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:!1,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:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"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:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,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:!0},"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:!1,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:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,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:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"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:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"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:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"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:!0,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:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"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:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"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:!0},"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:!0},"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:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"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:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"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:!0,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:!0},"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:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"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:!0},"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:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,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:!0,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:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,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:!0,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:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"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:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"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:!0,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:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"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:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"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:!0},"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:!0,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:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"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:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,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:!1,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:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,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:!1},"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:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,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:!0,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:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,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:!1},"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:!0,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:!1,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:!1,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:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,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:!0,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:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"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:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,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:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,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:!1,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:!1,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:!1},"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:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,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:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,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:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,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:!1,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:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,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:!1},"image/png":{source:"iana",compressible:!1,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:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,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:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,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:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,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:!1},"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:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,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:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,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:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,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:!0},"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:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"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:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"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:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,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:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,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:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,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:!0,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:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,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:!0,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:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,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:!0,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:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,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:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,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:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,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:!1,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:!0},"x-shader/x-vertex":{compressible:!0}}}),ud=M((e,t)=>{t.exports=ld()}),pd=M(e=>{var t=ud(),n=U("path").extname,r=/^\s*([^;\s]*)(?:;|\s|$)/,i=/^text\//i;function o(e){if(!e||"string"!=typeof e)return!1;var n=r.exec(e),o=n&&t[n[1].toLowerCase()];return o&&o.charset?o.charset:!(!n||!i.test(n[1]))&&"UTF-8"}e.charset=o,e.charsets={lookup:o},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var n=-1===t.indexOf("/")?e.lookup(t):t;if(!n)return!1;if(-1===n.indexOf("charset")){var r=e.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var n=r.exec(t),i=n&&e.extensions[n[1].toLowerCase()];return!(!i||!i.length)&&i[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var r=n("x."+t).toLowerCase().substr(1);return r&&e.types[r]||!1},e.types=Object.create(null),function(e,n){var r=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(i){var o=t[i],a=o.extensions;if(a&&a.length){e[i]=a;for(var s=0;s<a.length;s++){var c=a[s];if(n[c]){var l=r.indexOf(t[n[c]].source),u=r.indexOf(o.source);if("application/octet-stream"!==n[c]&&(l>u||l===u&&"application/"===n[c].substr(0,12)))continue}n[c]=i}}})}(e.extensions,e.types)}),dd=M((e,t)=>{t.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}}),md=M((e,t)=>{var n=dd();t.exports=function(e){var t=!1;return n(function(){t=!0}),function(r,i){t?e(r,i):n(function(){e(r,i)})}}}),fd=M((e,t)=>{function n(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}t.exports=function(e){Object.keys(e.jobs).forEach(n.bind(e)),e.jobs={}}}),hd=M((e,t)=>{var n=md(),r=fd();function i(e,t,r,i){return 2==e.length?e(r,n(i)):e(r,t,n(i))}t.exports=function(e,t,n,o){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=i(t,a,e[a],function(e,t){a in n.jobs&&(delete n.jobs[a],e?r(n):n.results[a]=t,o(e,n.results))})}}),gd=M((e,t)=>{t.exports=function(e,t){var n=!Array.isArray(e),r={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&r.keyedList.sort(n?t:function(n,r){return t(e[n],e[r])}),r}}),_d=M((e,t)=>{var n=fd(),r=md();t.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,n(this),r(e)(null,this.results))}}),yd=M((e,t)=>{var n=hd(),r=gd(),i=_d();t.exports=function(e,t,o){for(var a=r(e);a.index<(a.keyedList||e).length;)n(e,t,a,function(e,t){e?o(e,t):0!==Object.keys(a.jobs).length||o(null,a.results)}),a.index++;return i.bind(a,o)}}),vd=M((e,t)=>{var n=hd(),r=gd(),i=_d();function o(e,t){return e<t?-1:e>t?1:0}t.exports=function(e,t,o,a){var s=r(e,o);return n(e,t,s,function r(i,o){i?a(i,o):(s.index++,s.index<(s.keyedList||e).length?n(e,t,s,r):a(null,s.results))}),i.bind(s,a)},t.exports.ascending=o,t.exports.descending=function(e,t){return-1*o(e,t)}}),bd=M((e,t)=>{var n=vd();t.exports=function(e,t,r){return n(e,t,null,r)}}),Ed=M((e,t)=>{t.exports={parallel:yd(),serial:bd(),serialOrdered:vd()}}),xd=M((e,t)=>{t.exports=Object}),wd=M((e,t)=>{t.exports=Error}),Ad=M((e,t)=>{t.exports=EvalError}),Td=M((e,t)=>{t.exports=RangeError}),Sd=M((e,t)=>{t.exports=ReferenceError}),kd=M((e,t)=>{t.exports=SyntaxError}),Cd=M((e,t)=>{t.exports=TypeError}),Od=M((e,t)=>{t.exports=URIError}),Rd=M((e,t)=>{t.exports=Math.abs}),Dd=M((e,t)=>{t.exports=Math.floor}),Pd=M((e,t)=>{t.exports=Math.max}),Fd=M((e,t)=>{t.exports=Math.min}),Id=M((e,t)=>{t.exports=Math.pow}),Nd=M((e,t)=>{t.exports=Math.round}),Ld=M((e,t)=>{t.exports=Number.isNaN||function(e){return e!=e}}),Md=M((e,t)=>{var n=Ld();t.exports=function(e){return n(e)||0===e?e:e<0?-1:1}}),Bd=M((e,t)=>{t.exports=Object.getOwnPropertyDescriptor}),Ud=M((e,t)=>{var n=Bd();if(n)try{n([],"length")}catch{n=null}t.exports=n}),$d=M((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}t.exports=n}),zd=M((e,t)=>{t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}}),Gd=M((e,t)=>{var n=typeof Symbol<"u"&&Symbol,r=zd();t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&r()}}),jd=M((e,t)=>{t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}),Vd=M((e,t)=>{t.exports=xd().getPrototypeOf||null}),qd=M((e,t)=>{var n=Object.prototype.toString,r=Math.max,i=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==n.apply(t))throw TypeError("Function.prototype.bind called on incompatible "+t);for(var o,a=function(e){for(var t=[],n=1,r=0;n<e.length;n+=1,r+=1)t[r]=e[n];return t}(arguments),s=r(0,t.length-a.length),c=[],l=0;l<s;l++)c[l]="$"+l;if(o=Function("binder","return function ("+function(e){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var n=t.apply(this,i(a,arguments));return Object(n)===n?n:this}return t.apply(e,i(a,arguments))}),t.prototype){var u=function(){};u.prototype=t.prototype,o.prototype=new u,u.prototype=null}return o}}),Hd=M((e,t)=>{var n=qd();t.exports=Function.prototype.bind||n}),Kd=M((e,t)=>{t.exports=Function.prototype.call}),Wd=M((e,t)=>{t.exports=Function.prototype.apply}),Xd=M((e,t)=>{t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),Zd=M((e,t)=>{var n=Hd(),r=Wd(),i=Kd();t.exports=Xd()||n.call(i,r)}),Yd=M((e,t)=>{var n=Hd(),r=Cd(),i=Kd(),o=Zd();t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new r("a function is required");return o(n,i,e)}}),Qd=M((e,t)=>{var n,r=Yd(),i=Ud();try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!n&&i&&i(Object.prototype,"__proto__"),a=Object,s=a.getPrototypeOf;t.exports=o&&"function"==typeof o.get?r([o.get]):"function"==typeof s&&function(e){return s(null==e?e:a(e))}}),Jd=M((e,t)=>{var n=jd(),r=Vd(),i=Qd();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return r(e)}:i?function(e){return i(e)}:null}),em=M((e,t)=>{let n=async function(){}.constructor;t.exports=()=>n}),tm=M((e,t)=>{let n=function*(){}.constructor;t.exports=()=>n}),nm=M((e,t)=>{let n=async function*(){}.constructor;t.exports=()=>n}),rm=M((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=Hd().call(n,r)}),im=M((e,t)=>{var n,r=xd(),i=wd(),o=Ad(),a=Td(),s=Sd(),c=kd(),l=Cd(),u=Od(),p=Rd(),d=Dd(),m=Pd(),f=Fd(),h=Id(),g=Nd(),_=Md(),y=Ud(),v=$d(),b=function(){throw new l},E=y?function(){try{return b}catch{try{return y(arguments,"callee").get}catch{return b}}}():b,x=Gd()(),w=Jd(),A=Vd(),T=jd(),S=Wd(),k=Kd(),C={},O=typeof Uint8Array>"u"||!w?n:w(Uint8Array),R={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":x&&w?w([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":C,"%AsyncGenerator%":C,"%AsyncGeneratorFunction%":C,"%AsyncIteratorPrototype%":C,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":Function,"%GeneratorFunction%":C,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&w?w(w([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!x||!w?n:w((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":y,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!x||!w?n:w((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&w?w(""[Symbol.iterator]()):n,"%Symbol%":x?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":E,"%TypedArray%":O,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":S,"%Object.defineProperty%":v,"%Object.getPrototypeOf%":A,"%Math.abs%":p,"%Math.floor%":d,"%Math.max%":m,"%Math.min%":f,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":T};if(w)try{null.error}catch(e){R["%Error.prototype%"]=w(w(e))}var D=em(),P=tm(),F=nm(),I=function e(t){var n;if("%AsyncFunction%"===t)n=D()||void 0;else if("%GeneratorFunction%"===t)n=P()||void 0;else if("%AsyncGeneratorFunction%"===t)n=F()||void 0;else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&w&&(n=w(i.prototype))}return R[t]=n,n},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=Hd(),M=rm(),B=L.call(k,Array.prototype.concat),U=L.call(S,Array.prototype.splice),$=L.call(k,String.prototype.replace),z=L.call(k,String.prototype.slice),G=L.call(k,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,q=function(e,t){var n,r=e;if(M(N,r)&&(r="%"+(n=N[r])[0]+"%"),M(R,r)){var i=R[r];if(i===C&&(i=I(r)),void 0===i&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new c("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===G(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=z(e,0,1),n=z(e,-1);if("%"===t&&"%"!==n)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return $(e,j,function(e,t,n,i){r[r.length]=n?$(i,V,"$1"):t||e}),r}(e),r=n.length>0?n[0]:"",i=q("%"+r+"%",t),o=i.name,a=i.value,s=!1,u=i.alias;u&&(r=u[0],U(n,B([0,1],u)));for(var p=1,d=!0;p<n.length;p+=1){var m=n[p],f=z(m,0,1),h=z(m,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new c("property names with quotes must have matching quotes");if(("constructor"===m||!d)&&(s=!0),M(R,o="%"+(r+="."+m)+"%"))a=R[o];else if(null!=a){if(!(m in a)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(y&&p+1>=n.length){var g=y(a,m);a=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[m]}else d=M(a,m),a=a[m];d&&!s&&(R[o]=a)}}return a}}),om=M((e,t)=>{var n=zd();t.exports=function(){return n()&&!!Symbol.toStringTag}}),am=M((e,t)=>{var n=im()("%Object.defineProperty%",!0),r=om()(),i=rm(),o=Cd(),a=r?Symbol.toStringTag:null;t.exports=function(e,t){var r=arguments.length>2&&!!arguments[2]&&arguments[2].force,s=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==r&&"boolean"!=typeof r||void 0!==s&&"boolean"!=typeof s)throw new o("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");a&&(r||!i(e,a))&&(n?n(e,a,{configurable:!s,enumerable:!1,value:t,writable:!1}):e[a]=t)}}),sm=M((e,t)=>{t.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}}),cm=B(M((e,t)=>{var n=cd(),r=U("util"),i=U("path"),o=U("http"),a=U("https"),s=U("url").parse,c=U("fs"),l=U("stream").Stream,u=U("crypto"),p=pd(),d=Ed(),m=am(),f=rm(),h=sm();function g(e){if(!(this instanceof g))return new g(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],n.call(this),e||={},e)this[t]=e[t]}r.inherits(g,n),g.LINE_BREAK="\r\n",g.DEFAULT_CONTENT_TYPE="application/octet-stream",g.prototype.append=function(e,t,r){r||={},"string"==typeof r&&(r={filename:r});var i=n.prototype.append.bind(this);if(("number"==typeof t||null==t)&&(t=String(t)),Array.isArray(t))this._error(Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,r),a=this._multiPartFooter();i(o),i(t),i(a),this._trackLength(o,t,r)}},g.prototype._trackLength=function(e,t,n){var r=0;null==n.knownLength?Buffer.isBuffer(t)?r=t.length:"string"==typeof t&&(r=Buffer.byteLength(t)):r+=Number(n.knownLength),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+g.LINE_BREAK.length,t&&(t.path||t.readable&&f(t,"httpVersion")||t instanceof l)&&(n.knownLength||this._valuesToMeasure.push(t))},g.prototype._lengthRetriever=function(e,t){f(e,"fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):c.stat(e.path,function(n,r){n?t(n):t(null,r.size-(e.start?e.start:0))}):f(e,"httpVersion")?t(null,Number(e.headers["content-length"])):f(e,"httpModule")?(e.on("response",function(n){e.pause(),t(null,Number(n.headers["content-length"]))}),e.resume()):t("Unknown stream")},g.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var r,i=this._getContentDisposition(t,n),o=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(o||[])};for(var c in"object"==typeof n.header&&h(s,n.header),s)if(f(s,c)){if(null==(r=s[c]))continue;Array.isArray(r)||(r=[r]),r.length&&(a+=c+": "+r.join("; ")+g.LINE_BREAK)}return"--"+this.getBoundary()+g.LINE_BREAK+a+g.LINE_BREAK},g.prototype._getContentDisposition=function(e,t){var n;if("string"==typeof t.filepath?n=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?n=i.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&f(e,"httpVersion")&&(n=i.basename(e.client._httpMessage.path||"")),n)return'filename="'+n+'"'},g.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e&&e.name&&(n=p.lookup(e.name)),!n&&e&&e.path&&(n=p.lookup(e.path)),!n&&e&&e.readable&&f(e,"httpVersion")&&(n=e.headers["content-type"]),!n&&(t.filepath||t.filename)&&(n=p.lookup(t.filepath||t.filename)),!n&&e&&"object"==typeof e&&(n=g.DEFAULT_CONTENT_TYPE),n},g.prototype._multiPartFooter=function(){return function(e){var t=g.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},g.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+g.LINE_BREAK},g.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)f(e,t)&&(n[t.toLowerCase()]=e[t]);return n},g.prototype.setBoundary=function(e){if("string"!=typeof e)throw TypeError("FormData boundary must be a string");this._boundary=e},g.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},g.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,r=this._streams.length;n<r;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),("string"!=typeof this._streams[n]||this._streams[n].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(g.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},g.prototype._generateBoundary=function(){this._boundary="--------------------------"+u.randomBytes(12).toString("hex")},g.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(Error("Cannot calculate proper length in synchronous way.")),e},g.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},g.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?d.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,r){n?e(n):(r.forEach(function(e){t+=e}),e(null,t))}):process.nextTick(e.bind(this,null,t))},g.prototype.submit=function(e,t){var n,r,i={method:"post"};return"string"==typeof e?(e=s(e),r=h({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(r=h(e,i),r.port||="https:"===r.protocol?443:80),r.headers=this.getHeaders(e.headers),n="https:"===r.protocol?a.request(r):o.request(r),this.getLength(function(e,r){if(e&&"Unknown stream"!==e)this._error(e);else if(r&&n.setHeader("Content-Length",r),this.pipe(n),t){var i,o=function(e,r){return n.removeListener("error",o),n.removeListener("response",i),t.call(this,e,r)};i=o.bind(this,null),n.on("error",o),n.on("response",i)}}.bind(this)),n},g.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},g.prototype.toString=function(){return"[object FormData]"},m(g.prototype,"FormData"),t.exports=g})(),1).default;function lm(e){return nd.isPlainObject(e)||nd.isArray(e)}function um(e){return nd.endsWith(e,"[]")?e.slice(0,-2):e}function pm(e,t,n){return e?e.concat(t).map(function(e,t){return e=um(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const dm=nd.toFlatObject(nd,{},null,function(e){return/^is[A-Z]/.test(e)});var mm=function(e,t,n){if(!nd.isObject(e))throw TypeError("target must be an object");t||=new(cm||FormData),n=nd.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!nd.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||l,o=n.dots,a=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&nd.isSpecCompliantForm(t);if(!nd.isFunction(i))throw TypeError("visitor must be a function");function c(e){if(null===e)return"";if(nd.isDate(e))return e.toISOString();if(nd.isBoolean(e))return e.toString();if(!s&&nd.isBlob(e))throw new ad("Blob is not supported. Use a Buffer instead.");return nd.isArrayBuffer(e)||nd.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(nd.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(nd.isArray(e)&&function(e){return nd.isArray(e)&&!e.some(lm)}(e)||(nd.isFileList(e)||nd.endsWith(n,"[]"))&&(s=nd.toArray(e)))return n=um(n),s.forEach(function(e,r){!nd.isUndefined(e)&&null!==e&&t.append(!0===a?pm([n],r,o):null===a?n:n+"[]",c(e))}),!1;return!!lm(e)||(t.append(pm(i,n,o),c(e)),!1)}let u=[],p=Object.assign(dm,{defaultVisitor:l,convertValue:c,isVisitable:lm});if(!nd.isObject(e))throw TypeError("data must be an object");return function e(n,r){if(!nd.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),nd.forEach(n,function(n,o){!0===(!(nd.isUndefined(n)||null===n)&&i.call(t,n,nd.isString(o)?o.trim():o,r,p))&&e(n,r?r.concat(o):[o])}),u.pop()}}(e),t};function fm(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function hm(e,t){this._pairs=[],e&&mm(e,this,t)}const gm=hm.prototype;gm.append=function(e,t){this._pairs.push([e,t])},gm.toString=function(e){let t=e?function(t){return e.call(this,t,fm)}:fm;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var _m=hm;function ym(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function vm(e,t,n){if(!t)return e;let r=n&&n.encode||ym;nd.isFunction(n)&&(n={serialize:n});let i,o=n&&n.serialize;if(i=o?o(t,n):nd.isURLSearchParams(t)?t.toString():new _m(t,n).toString(r),i){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}var bm=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&=[]}forEach(e){nd.forEach(this.handlers,function(t){null!==t&&e(t)})}},Em={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xm=g.URLSearchParams;const wm="abcdefghijklmnopqrstuvwxyz",Am={DIGIT:"0123456789",ALPHA:wm,ALPHA_DIGIT:wm+"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"};var Tm={isNode:!0,classes:{URLSearchParams:xm,FormData:cm,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:Am,generateString:(e=16,t=Am.ALPHA_DIGIT)=>{let n="",{length:r}=t,i=new Uint32Array(e);v.randomFillSync(i);for(let o=0;o<e;o++)n+=t[i[o]%r];return n},protocols:["http","https","file","data"]},Sm=(e=>{let t={};for(var n in e)P(t,n,{get:e[n],enumerable:!0});return t})({hasBrowserEnv:()=>km,hasStandardBrowserEnv:()=>Om,hasStandardBrowserWebWorkerEnv:()=>Rm,navigator:()=>Cm,origin:()=>Dm});const km=typeof window<"u"&&typeof document<"u",Cm="object"==typeof navigator&&navigator||void 0,Om=km&&(!Cm||["ReactNative","NativeScript","NS"].indexOf(Cm.product)<0),Rm=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Dm=km&&window.location.href||"http://localhost";var Pm={...Sm,...Tm},Fm=function(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;let a=Number.isFinite(+o),s=i>=e.length;return o=!o&&nd.isArray(r)?r.length:o,s?(nd.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a):((!r[o]||!nd.isObject(r[o]))&&(r[o]=[]),t(e,n,r[o],i)&&nd.isArray(r[o])&&(r[o]=function(e){let t,n,r={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)n=i[t],r[n]=e[n];return r}(r[o])),!a)}if(nd.isFormData(e)&&nd.isFunction(e.entries)){let n={};return nd.forEachEntry(e,(e,r)=>{t(function(e){return nd.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null};const Im={transitional:Em,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n,r=t.getContentType()||"",i=r.indexOf("application/json")>-1,o=nd.isObject(e);if(o&&nd.isHTMLForm(e)&&(e=new FormData(e)),nd.isFormData(e))return i?JSON.stringify(Fm(e)):e;if(nd.isArrayBuffer(e)||nd.isBuffer(e)||nd.isStream(e)||nd.isFile(e)||nd.isBlob(e)||nd.isReadableStream(e))return e;if(nd.isArrayBufferView(e))return e.buffer;if(nd.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return mm(e,new Pm.classes.URLSearchParams,{visitor:function(e,t,n,r){return Pm.isNode&&nd.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((n=nd.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return mm(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e){if(nd.isString(e))try{return(0,JSON.parse)(e),nd.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||Im.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(nd.isResponse(e)||nd.isReadableStream(e))return e;if(e&&nd.isString(e)&&(n&&!this.responseType||r)){let n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n)throw"SyntaxError"===e.name?ad.from(e,ad.ERR_BAD_RESPONSE,this,null,this.response):e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Pm.classes.FormData,Blob:Pm.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};nd.forEach(["delete","get","head","post","put","patch"],e=>{Im.headers[e]={}});var Nm=Im;const Lm=nd.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"]),Mm=Symbol("internals");function Bm(e){return e&&String(e).trim().toLowerCase()}function Um(e){return!1===e||null==e?e:nd.isArray(e)?e.map(Um):String(e)}function $m(e,t,n,r,i){if(nd.isFunction(r))return r.call(this,t,n);if(i&&(t=n),nd.isString(t)){if(nd.isString(r))return-1!==t.indexOf(r);if(nd.isRegExp(r))return r.test(t)}}var zm=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=Bm(t);if(!i)throw Error("header name must be a non-empty string");let o=nd.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Um(e))}let o=(e,t)=>nd.forEach(e,(e,n)=>i(e,n,t));if(nd.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(nd.isString(e)&&(e=e.trim())&&!(e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))(e))o((e=>{let t,n,r,i={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!(!t||i[t]&&Lm[t])&&("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)}),i})(e),t);else if(nd.isObject(e)&&nd.isIterable(e)){let n,r,i={};for(let t of e){if(!nd.isArray(t))throw TypeError("Object iterator must return a key-value pair");i[r=t[0]]=(n=i[r])?nd.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(i,t)}else null!=e&&i(t,e,n);return this}get(e,t){if(e=Bm(e)){let n=nd.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)n[t[1]]=t[2];return n}(e);if(nd.isFunction(t))return t.call(this,e,n);if(nd.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Bm(e)){let n=nd.findKey(this,e);return!(!n||void 0===this[n]||t&&!$m(0,this[n],n,t))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=Bm(e)){let i=nd.findKey(n,e);i&&(!t||$m(0,n[i],i,t))&&(delete n[i],r=!0)}}return nd.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||$m(0,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return nd.forEach(this,(r,i)=>{let o=nd.findKey(n,i);if(o)return t[o]=Um(r),void delete t[i];let a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(i):String(i).trim();a!==i&&delete t[i],t[a]=Um(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return nd.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&nd.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[Mm]=this[Mm]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=Bm(e);t[r]||(function(e,t){let n=nd.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return nd.isArray(e)?e.forEach(r):r(e),this}};zm.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),nd.reduceDescriptors(zm.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),nd.freezeMethods(zm);var Gm=zm;function jm(e,t){let n=this||Nm,r=t||n,i=Gm.from(r.headers),o=r.data;return nd.forEach(e,function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Vm(e){return!(!e||!e.__CANCEL__)}function qm(e,t,n){ad.call(this,e??"canceled",ad.ERR_CANCELED,t,n),this.name="CanceledError"}nd.inherits(qm,ad,{__CANCEL__:!0});var Hm=qm;function Km(e,t,n){let r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ad("Request failed with status code "+n.status,[ad.ERR_BAD_REQUEST,ad.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Wm(e,t,n){let r=!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Xm=M(e=>{var t=U("url").parse,n={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},r=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function i(e,t){var n=(o("npm_config_no_proxy")||o("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every(function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),o=i?i[1]:n,a=i?parseInt(i[2]):0;return!(!a||a===t)||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!r.call(e,o)):e!==o)})}function o(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}e.getProxyForUrl=function(e){var r="string"==typeof e?t(e):e||{},a=r.protocol,s=r.host,c=r.port;if("string"!=typeof s||!s||"string"!=typeof a||(a=a.split(":",1)[0],!i(s=s.replace(/:\d*$/,""),c=parseInt(c)||n[a]||0)))return"";var l=o("npm_config_"+a+"_proxy")||o(a+"_proxy")||o("npm_config_proxy")||o("all_proxy");return l&&-1===l.indexOf("://")&&(l=a+"://"+l),l}}),Zm=M((e,t)=>{var n=1e3,r=60*n,i=60*r,o=24*i,a=7*o;function s(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*a;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}function c(e){var t=Math.abs(e);return t>=o?Math.round(e/o)+"d":t>=i?Math.round(e/i)+"h":t>=r?Math.round(e/r)+"m":t>=n?Math.round(e/n)+"s":e+"ms"}function l(e){var t=Math.abs(e);return t>=o?u(e,t,o,"day"):t>=i?u(e,t,i,"hour"):t>=r?u(e,t,r,"minute"):t>=n?u(e,t,n,"second"):e+" ms"}function u(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}t.exports=function(e,t){t||={};var n=typeof e;if("string"===n&&e.length>0)return s(e);if("number"===n&&isFinite(e))return t.long?l(e):c(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}}),Ym=M((e,t)=>{t.exports=function(e){function t(e){let r,i,o,a=null;function s(...e){if(!s.enabled)return;let n=s,i=Number(new Date);n.diff=i-(r||i),n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";o++;let a=t.formatters[i];if("function"==typeof a){let t=e[o];r=a.call(n,t),e.splice(o,1),o--}return r}),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null===a?(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o):a,set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){let r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e,t){let n=0,r=0,i=-1,o=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(i=r,o=n,r++):(n++,r++);else{if(-1===i)return!1;r=i+1,o++,n=o}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];let n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(let n of t.skips)if(r(e,n))return!1;for(let n of t.names)if(r(e,n))return!0;return!1},t.humanize=Zm(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}}),Qm=M((e,t)=>{e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch{}},e.load=function(){let t;try{t=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t},e.useColors=function(){if(typeof window<"u"&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=function(){try{return localStorage}catch{}}(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors="#0000CC.#0000FF.#0033CC.#0033FF.#0066CC.#0066FF.#0099CC.#0099FF.#00CC00.#00CC33.#00CC66.#00CC99.#00CCCC.#00CCFF.#3300CC.#3300FF.#3333CC.#3333FF.#3366CC.#3366FF.#3399CC.#3399FF.#33CC00.#33CC33.#33CC66.#33CC99.#33CCCC.#33CCFF.#6600CC.#6600FF.#6633CC.#6633FF.#66CC00.#66CC33.#9900CC.#9900FF.#9933CC.#9933FF.#99CC00.#99CC33.#CC0000.#CC0033.#CC0066.#CC0099.#CC00CC.#CC00FF.#CC3300.#CC3333.#CC3366.#CC3399.#CC33CC.#CC33FF.#CC6600.#CC6633.#CC9900.#CC9933.#CCCC00.#CCCC33.#FF0000.#FF0033.#FF0066.#FF0099.#FF00CC.#FF00FF.#FF3300.#FF3333.#FF3366.#FF3399.#FF33CC.#FF33FF.#FF6600.#FF6633.#FF9900.#FF9933.#FFCC00.#FFCC33".split("."),e.log=console.debug||console.log||(()=>{}),t.exports=Ym()(e);let{formatters:n}=t.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}),Jm=M((e,t)=>{t.exports=(e,t=process.argv)=>{let n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)}}),ef=M((e,t)=>{let n,r=U("os"),i=U("tty"),o=Jm(),{env:a}=process;function s(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function c(e,t){if(0===n)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===n)return 0;let i=n||0;if("dumb"===a.TERM)return i;if("win32"===process.platform){let e=r.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in a)||"codeship"===a.CI_NAME?1:i;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){let e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:i}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?n=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(n=1),"FORCE_COLOR"in a&&(n="true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),t.exports={supportsColor:function(e){return s(c(e,e&&e.isTTY))},stdout:s(c(!0,i.isatty(1))),stderr:s(c(!0,i.isatty(2)))}}),tf=M((e,t)=>{let n=U("tty"),r=U("util");e.init=function(t){t.inspectOpts={};let n=Object.keys(e.inspectOpts);for(let r=0;r<n.length;r++)t.inspectOpts[n[r]]=e.inspectOpts[n[r]]},e.log=function(...t){return process.stderr.write(r.formatWithOptions(e.inspectOpts,...t)+"\n")},e.formatArgs=function(e){let{namespace:n,useColors:r}=this;if(r){let r=this.color,i="[3"+(r<8?r:"8;5;"+r),o=` ${i};1m${n} [0m`;e[0]=o+e[0].split("\n").join("\n"+o),e.push(i+"m+"+t.exports.humanize(this.diff)+"[0m")}else e[0]=i()+n+" "+e[0]},e.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},e.load=function(){return process.env.DEBUG},e.useColors=function(){return"colors"in e.inspectOpts?!!e.inspectOpts.colors:n.isatty(process.stderr.fd)},e.destroy=r.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{let t=ef();t&&(t.stderr||t).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}function i(){return e.inspectOpts.hideDate?"":(new Date).toISOString()+" "}e.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e},{}),t.exports=Ym()(e);let{formatters:o}=t.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}}),nf=M((e,t)=>{typeof process>"u"||"renderer"===process.type||!0===process.browser||process.__nwjs?t.exports=Qm():t.exports=tf()}),rf=M((e,t)=>{var n;t.exports=function(){if(!n){try{n=nf()("follow-redirects")}catch{}"function"!=typeof n&&(n=function(){})}n.apply(null,arguments)}}),of=M((e,t)=>{var n=U("url"),r=n.URL,i=U("http"),o=U("https"),a=U("stream").Writable,s=U("assert"),c=rf();!function(){var e=typeof process<"u",t=typeof window<"u"&&typeof document<"u",n=D(Error.captureStackTrace);!e&&(t||!n)&&console.warn("The follow-redirects package should be excluded from browser builds.")}();var l=!1;try{s(new r(""))}catch(e){l="ERR_INVALID_URL"===e.code}var u=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],p=["abort","aborted","connect","error","socket","timeout"],d=Object.create(null);p.forEach(function(e){d[e]=function(t,n,r){this._redirectable.emit(e,t,n,r)}});var m=k("ERR_INVALID_URL","Invalid URL",TypeError),f=k("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),h=k("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",f),g=k("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),_=k("ERR_STREAM_WRITE_AFTER_END","write after end"),y=a.prototype.destroy||E;function v(e,t){a.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof f?e:new f({cause:e}))}},this._performRequest()}function b(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach(function(r){var i=r+":",o=n[i]=e[r],a=t[r]=Object.create(o);Object.defineProperties(a,{request:{value:function(e,r,o){return P(e)?e=T(e):R(e)?e=T(x(e)):(o=r,r=A(e),e={protocol:i}),D(r)&&(o=r,r=null),(r=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,r)).nativeProtocols=n,!R(r.host)&&!R(r.hostname)&&(r.hostname="::1"),s.equal(r.protocol,i,"protocol mismatch"),c("options",r),new v(r,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var r=a.request(e,t,n);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})}),t}function E(){}function x(e){var t;if(l)t=new r(e);else if(!R((t=A(n.parse(e))).protocol))throw new m({input:e});return t}function w(e,t){return l?new r(e,t):x(n.resolve(t,e))}function A(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname)||/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new m({input:e.href||e});return e}function T(e,t){var n=t||{};for(var r of u)n[r]=e[r];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function S(e,t){var n;for(var r in t)e.test(r)&&(n=t[r],delete t[r]);return null==n?void 0:String(n).trim()}function k(e,t,n){function r(n){D(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return r.prototype=new(n||Error),Object.defineProperties(r.prototype,{constructor:{value:r,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),r}function C(e,t){for(var n of p)e.removeListener(n,d[n]);e.on("error",E),e.destroy(t)}function O(e,t){s(R(e)&&R(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}function R(e){return"string"==typeof e||e instanceof String}function D(e){return"function"==typeof e}function P(e){return r&&e instanceof r}v.prototype=Object.create(a.prototype),v.prototype.abort=function(){C(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},v.prototype.destroy=function(e){return C(this._currentRequest,e),y.call(this,e),this},v.prototype.write=function(e,t,n){if(this._ending)throw new _;if(!R(e)&&!function(e){return"object"==typeof e&&"length"in e}(e))throw TypeError("data should be a string, Buffer or Uint8Array");D(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new g),this.abort()):n&&n()},v.prototype.end=function(e,t,n){if(D(e)?(n=e,e=t=null):D(t)&&(n=t,t=null),e){var r=this,i=this._currentRequest;this.write(e,t,function(){r._ended=!0,i.end(null,null,n)}),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},v.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},v.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},v.prototype.setTimeout=function(e,t){var n=this;function r(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function i(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),o()},e),r(t)}function o(){n._timeout&&=(clearTimeout(n._timeout),null),n.removeListener("abort",o),n.removeListener("error",o),n.removeListener("response",o),n.removeListener("close",o),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",r),this.on("abort",o),this.on("error",o),this.on("response",o),this.on("close",o),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){v.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}}),["aborted","connection","socket"].forEach(function(e){Object.defineProperty(v.prototype,e,{get:function(){return this._currentRequest[e]}})}),v.prototype._sanitizeOptions=function(e){if(e.headers||={},e.host&&(e.hostname||=e.host,delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},v.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var o of(i._redirectable=this,p))i.on(o,d[o]);if(this._currentUrl=/^\//.test(this._options.path)?n.format(this._options):this._options.path,this._isRedirect){var a=0,s=this,c=this._requestBodyBuffers;!function e(t){if(i===s._currentRequest)if(t)s.emit("error",t);else if(a<c.length){var n=c[a++];i.finished||i.write(n.data,n.encoding,e)}else s._ended&&i.end()}()}},v.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var r=e.headers.location;if(!r||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(C(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new h;var i,o=this._options.beforeRedirect;o&&(i=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var a=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],S(/^content-/i,this._options.headers));var s=S(/^host$/i,this._options.headers),l=x(this._currentUrl),u=s||l.host,p=/^\w+:/.test(r)?this._currentUrl:n.format(Object.assign(l,{host:u})),d=w(r,p);if(c("redirecting to",d.href),this._isRedirect=!0,T(d,this._options),(d.protocol!==l.protocol&&"https:"!==d.protocol||d.host!==u&&!O(d.host,u))&&S(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),D(o)){var m={headers:e.headers,statusCode:t},f={url:p,method:a,headers:i};o(this._options,m,f),this._sanitizeOptions(this._options)}this._performRequest()},t.exports=b({http:i,https:o}),t.exports.wrap=b});const af="1.13.2";function sf(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const cf=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/,lf=Symbol("internals");var uf=class extends l.Transform{constructor(e){e=nd.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(e,t)=>!nd.isUndefined(t[e])),super({readableHighWaterMark:e.chunkSize});let t=this[lf]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",e=>{"progress"===e&&(t.isCaptured||=!0)})}_read(e){let t=this[lf];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){let r=this[lf],i=r.maxRate,o=this.readableHighWaterMark,a=r.timeWindow,s=i/(1e3/a),c=!1===r.minChunkSize?0:Math.max(r.minChunkSize,.01*s),l=(e,t)=>{let n=Buffer.byteLength(e);r.bytesSeen+=n,r.bytes+=n,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(e)?process.nextTick(t):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(t)}},u=(e,t)=>{let n,u=Buffer.byteLength(e),p=null,d=o,m=0;if(i){let e=Date.now();(!r.ts||(m=e-r.ts)>=a)&&(r.ts=e,n=s-r.bytes,r.bytes=n<0?-n:0,m=0),n=s-r.bytes}if(i){if(n<=0)return setTimeout(()=>{t(null,e)},a-m);n<d&&(d=n)}d&&u>d&&u-d>c&&(p=e.subarray(d),e=e.subarray(0,d)),l(e,p?()=>{process.nextTick(t,null,p)}:t)};u(e,function e(t,r){if(t)return n(t);r?u(r,e):n(null)})}};const{asyncIterator:pf}=Symbol;var df=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[pf]?yield*e[pf]():yield e};const mf=Pm.ALPHABET.ALPHA_DIGIT+"-_",ff="function"==typeof TextEncoder?new TextEncoder:new c.TextEncoder,hf=ff.encode("\r\n");var gf=class{constructor(e,t){let{escapeName:n}=this.constructor,r=nd.isString(t),i=`Content-Disposition: form-data; name="${n(e)}"${!r&&t.name?`; filename="${n(t.name)}"`:""}\r\n`;r?t=ff.encode(String(t).replace(/\r?\n|\r\n?/g,"\r\n")):i+=`Content-Type: ${t.type||"application/octet-stream"}\r\n`,this.headers=ff.encode(i+"\r\n"),this.contentLength=r?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;nd.isTypedArray(e)?yield e:yield*df(e),yield hf}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e]))}},_f=(e,t,n)=>{let{tag:r="form-data-boundary",size:i=25,boundary:o=r+"-"+Pm.generateString(i,mf)}=n||{};if(!nd.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 10-70 characters long");let a=ff.encode("--"+o+"\r\n"),s=ff.encode("--"+o+"--\r\n"),c=s.byteLength,l=Array.from(e.entries()).map(([e,t])=>{let n=new gf(e,t);return c+=n.size,n});c+=a.byteLength*l.length,c=nd.toFiniteNumber(c);let p={"Content-Type":`multipart/form-data; boundary=${o}`};return Number.isFinite(c)&&(p["Content-Length"]=c),t&&t(p),u.from(async function*(){for(let e of l)yield a,yield*e.encode();yield s}())},yf=class extends l.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){let e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}},vf=(e,t)=>nd.isAsyncFn(e)?function(...n){let r=n.pop();e.apply(this,n).then(e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}},r)}:e;const bf=(e,t,n=3)=>{let r=0,i=function(e,t){e||=10;let n,r=Array(e),i=Array(e),o=0,a=0;return t=void 0===t?1e3:t,function(s){let c=Date.now(),l=i[a];n||=c,r[o]=s,i[o]=c;let u=a,p=0;for(;u!==o;)p+=r[u++],u%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-n<t)return;let d=l&&c-l;return d?Math.round(1e3*p/d):void 0}}(50,250);return function(e,t){let n,r,i=0,o=1e3/t,a=(t,o=Date.now())=>{i=o,n=null,r&&=(clearTimeout(r),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-i;s>=o?a(e,t):(n=e,r||=setTimeout(()=>{r=null,a(n)},o-s))},()=>n&&a(n)]}(n=>{let o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-r,c=i(s);r=o,e({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&o<=a?(a-o)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},Ef=(e,t)=>{let n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},xf=e=>(...t)=>nd.asap(()=>e(...t));var wf=B(Xm(),1),Af=B(of(),1);const Tf={flush:w.constants.Z_SYNC_FLUSH,finishFlush:w.constants.Z_SYNC_FLUSH},Sf={flush:w.constants.BROTLI_OPERATION_FLUSH,finishFlush:w.constants.BROTLI_OPERATION_FLUSH},kf=nd.isFunction(w.createBrotliDecompress),{http:Cf,https:Of}=Af.default,Rf=/https:?/,Df=Pm.protocols.map(e=>e+":"),Pf=(e,[t,n])=>(e.on("end",n).on("error",n),t),Ff=new class{constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign({sessionTimeout:1e3},t);let n=this.sessions[e];if(n){let e=n.length;for(let r=0;r<e;r++){let[e,i]=n[r];if(!e.destroyed&&!e.closed&&c.isDeepStrictEqual(i,t))return e}}let r,i=E.connect(e,t),o=()=>{if(r)return;r=!0;let t=n,o=t.length,a=o;for(;a--;)if(t[a][0]===i)return void(1===o?delete this.sessions[e]:t.splice(a,1))},a=i.request,{sessionTimeout:s}=t;if(null!=s){let e,t=0;i.request=function(){let n=a.apply(this,arguments);return t++,e&&=(clearTimeout(e),null),n.once("close",()=>{--t||(e=setTimeout(()=>{e=null,o()},s))}),n}}i.once("close",o);let l=[i,t];return n?n.push(l):n=this.sessions[e]=[l],i}};function If(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Nf(e,t,n){let r=t;if(!r&&!1!==r){let e=wf.getProxyForUrl(n);e&&(r=new URL(e))}if(r){if(r.username&&(r.auth=(r.username||"")+":"+(r.password||"")),r.auth){(r.auth.username||r.auth.password)&&(r.auth=(r.auth.username||"")+":"+(r.auth.password||""));let t=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");let t=r.hostname||r.host;e.hostname=t,e.host=t,e.port=r.port,e.path=n,r.protocol&&(e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`)}e.beforeRedirects.proxy=function(e){Nf(e,t,e.href)}}const Lf=typeof process<"u"&&"process"===nd.kindOf(process),Mf=(e,t)=>(({address:e,family:t})=>{if(!nd.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(nd.isObject(e)?e:{address:e,family:t}),Bf={request(e,t){let n=e.protocol+"//"+e.hostname+":"+(e.port||80),{http2Options:r,headers:i}=e,o=Ff.getSession(n,r),{HTTP2_HEADER_SCHEME:a,HTTP2_HEADER_METHOD:s,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:l}=E.constants,u={[a]:e.protocol.replace(":",""),[s]:e.method,[c]:e.path};nd.forEach(i,(e,t)=>{":"!==t.charAt(0)&&(u[t]=e)});let p=o.request(u);return p.once("response",e=>{let n=p,r=(e=Object.assign({},e))[l];delete e[l],n.headers=e,n.statusCode=+r,t(n)}),p}};var Uf=Lf&&function(e){return(e=>new Promise((t,n)=>{let r,i,o=(e,t)=>{i||(i=!0,r&&r(e,t))},a=e=>{o(e,!0),n(e)};e(e=>{o(e),t(e)},a,e=>r=e).catch(a)}))(async function(t,n,r){let i,o,{data:a,lookup:s,family:u,httpVersion:p=1,http2Options:d}=e,{responseType:m,responseEncoding:g}=e,_=e.method.toUpperCase(),y=!1;if(p=+p,Number.isNaN(p))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(1!==p&&2!==p)throw TypeError(`Unsupported protocol version '${p}'`);let v=2===p;if(s){let e=vf(s,e=>nd.isArray(e)?e:[e]);s=(t,n,r)=>{e(t,n,(e,t,i)=>{if(e)return r(e);let o=nd.isArray(t)?t.map(e=>Mf(e)):[Mf(t,i)];n.all?r(e,o):r(e,o[0].address,o[0].family)})}}let b=new A;function E(t){try{b.emit("abort",!t||t.type?new Hm(null,e,o):t)}catch(e){console.warn("emit error",e)}}b.once("abort",n);let x=()=>{e.cancelToken&&e.cancelToken.unsubscribe(E),e.signal&&e.signal.removeEventListener("abort",E),b.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(E),e.signal&&(e.signal.aborted?E():e.signal.addEventListener("abort",E))),r((e,t)=>{if(i=!0,t)return y=!0,void x();let{data:n}=e;if(n instanceof l.Readable||n instanceof l.Duplex){let e=l.finished(n,()=>{e(),x()})}else x()});let T=Wm(e.baseURL,e.url,e.allowAbsoluteUrls),S=new URL(T,Pm.hasBrowserEnv?Pm.origin:void 0),k=S.protocol||Df[0];if("data:"===k){if(e.maxContentLength>-1&&function(e){if(!e||"string"!=typeof e||!e.startsWith("data:"))return 0;let t=e.indexOf(",");if(t<0)return 0;let n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length,t=r.length;for(let n=0;n<t;n++)if(37===r.charCodeAt(n)&&n+2<t){let t=r.charCodeAt(n+1),i=r.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102)&&(e-=2,n+=2)}let n=0,i=t-1,o=e=>e>=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e));i>=0&&(61===r.charCodeAt(i)?(n++,i--):o(i)&&(n++,i-=3)),1===n&&i>=0&&(61===r.charCodeAt(i)||o(i))&&n++;let a=3*Math.floor(e/4)-(n||0);return a>0?a:0}return Buffer.byteLength(r,"utf8")}(String(e.url||T||""))>e.maxContentLength)return n(new ad("maxContentLength size of "+e.maxContentLength+" exceeded",ad.ERR_BAD_RESPONSE,e));let r;if("GET"!==_)return Km(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{r=function(e,t,n){let r=n&&n.Blob||Pm.classes.Blob,i=sf(e);if(void 0===t&&r&&(t=!0),"data"===i){e=i.length?e.slice(i.length+1):e;let n=cf.exec(e);if(!n)throw new ad("Invalid URL",ad.ERR_INVALID_URL);let o=n[1],a=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),a?"base64":"utf8");if(t){if(!r)throw new ad("Blob is not supported",ad.ERR_NOT_SUPPORT);return new r([c],{type:o})}return c}throw new ad("Unsupported protocol "+i,ad.ERR_NOT_SUPPORT)}(e.url,"blob"===m,{Blob:e.env&&e.env.Blob})}catch(t){throw ad.from(t,ad.ERR_BAD_REQUEST,e)}return"text"===m?(r=r.toString(g),(!g||"utf8"===g)&&(r=nd.stripBOM(r))):"stream"===m&&(r=l.Readable.from(r)),Km(t,n,{data:r,status:200,statusText:"OK",headers:new Gm,config:e})}if(-1===Df.indexOf(k))return n(new ad("Unsupported protocol "+k,ad.ERR_BAD_REQUEST,e));let C=Gm.from(e.headers).normalize();C.set("User-Agent","axios/"+af,!1);let O,R,{onUploadProgress:D,onDownloadProgress:P}=e,F=e.maxRate;if(nd.isSpecCompliantForm(a)){let e=C.getContentType(/boundary=([-_\w\d]{10,70})/i);a=_f(a,e=>{C.set(e)},{tag:`axios-${af}-boundary`,boundary:e&&e[1]||void 0})}else if(nd.isFormData(a)&&nd.isFunction(a.getHeaders)){if(C.set(a.getHeaders()),!C.hasContentLength())try{let e=await c.promisify(a.getLength).call(a);Number.isFinite(e)&&e>=0&&C.setContentLength(e)}catch{}}else if(nd.isBlob(a)||nd.isFile(a))a.size&&C.setContentType(a.type||"application/octet-stream"),C.setContentLength(a.size||0),a=l.Readable.from(df(a));else if(a&&!nd.isStream(a)){if(!Buffer.isBuffer(a))if(nd.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else{if(!nd.isString(a))return n(new ad("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ad.ERR_BAD_REQUEST,e));a=Buffer.from(a,"utf-8")}if(C.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return n(new ad("Request body larger than maxBodyLength limit",ad.ERR_BAD_REQUEST,e))}let I,N,L=nd.toFiniteNumber(C.getContentLength());nd.isArray(F)?(O=F[0],R=F[1]):O=R=F,a&&(D||O)&&(nd.isStream(a)||(a=l.Readable.from(a,{objectMode:!1})),a=l.pipeline([a,new uf({maxRate:nd.toFiniteNumber(O)})],nd.noop),D&&a.on("progress",Pf(a,Ef(L,bf(xf(D),!1,3))))),e.auth&&(I=(e.auth.username||"")+":"+(e.auth.password||"")),!I&&S.username&&(I=S.username+":"+S.password),I&&C.delete("authorization");try{N=vm(S.pathname+S.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){let r=Error(t.message);return r.config=e,r.url=e.url,r.exists=!0,n(r)}C.set("Accept-Encoding","gzip, compress, deflate"+(kf?", br":""),!1);let M={path:N,method:_,headers:C.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:I,protocol:k,family:u,beforeRedirect:If,beforeRedirects:{},http2Options:d};!nd.isUndefined(s)&&(M.lookup=s),e.socketPath?M.socketPath=e.socketPath:(M.hostname=S.hostname.startsWith("[")?S.hostname.slice(1,-1):S.hostname,M.port=S.port,Nf(M,e.proxy,k+"//"+S.hostname+(S.port?":"+S.port:"")+M.path));let B,U=Rf.test(M.protocol);if(M.agent=U?e.httpsAgent:e.httpAgent,v?B=Bf:e.transport?B=e.transport:0===e.maxRedirects?B=U?h:f:(e.maxRedirects&&(M.maxRedirects=e.maxRedirects),e.beforeRedirect&&(M.beforeRedirects.config=e.beforeRedirect),B=U?Of:Cf),e.maxBodyLength>-1?M.maxBodyLength=e.maxBodyLength:M.maxBodyLength=1/0,e.insecureHTTPParser&&(M.insecureHTTPParser=e.insecureHTTPParser),o=B.request(M,function(r){if(o.destroyed)return;let i=[r],a=nd.toFiniteNumber(r.headers["content-length"]);if(P||R){let e=new uf({maxRate:nd.toFiniteNumber(R)});P&&e.on("progress",Pf(e,Ef(a,bf(xf(P),!0,3)))),i.push(e)}let s=r,c=r.req||o;if(!1!==e.decompress&&r.headers["content-encoding"])switch(("HEAD"===_||204===r.statusCode)&&delete r.headers["content-encoding"],(r.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":i.push(w.createUnzip(Tf)),delete r.headers["content-encoding"];break;case"deflate":i.push(new yf),i.push(w.createUnzip(Tf)),delete r.headers["content-encoding"];break;case"br":kf&&(i.push(w.createBrotliDecompress(Sf)),delete r.headers["content-encoding"])}s=i.length>1?l.pipeline(i,nd.noop):i[0];let u={status:r.statusCode,statusText:r.statusMessage,headers:new Gm(r.headers),config:e,request:c};if("stream"===m)u.data=s,Km(t,n,u);else{let r=[],i=0;s.on("data",function(t){r.push(t),i+=t.length,e.maxContentLength>-1&&i>e.maxContentLength&&(y=!0,s.destroy(),E(new ad("maxContentLength size of "+e.maxContentLength+" exceeded",ad.ERR_BAD_RESPONSE,e,c)))}),s.on("aborted",function(){if(y)return;let t=new ad("stream has been aborted",ad.ERR_BAD_RESPONSE,e,c);s.destroy(t),n(t)}),s.on("error",function(t){o.destroyed||n(ad.from(t,null,e,c))}),s.on("end",function(){try{let e=1===r.length?r[0]:Buffer.concat(r);"arraybuffer"!==m&&(e=e.toString(g),(!g||"utf8"===g)&&(e=nd.stripBOM(e))),u.data=e}catch(t){return n(ad.from(t,null,e,u.request,u))}Km(t,n,u)})}b.once("abort",e=>{s.destroyed||(s.emit("error",e),s.destroy())})}),b.once("abort",e=>{o.close?o.close():o.destroy(e)}),o.on("error",function(t){n(ad.from(t,null,e,o))}),o.on("socket",function(e){e.setKeepAlive(!0,6e4)}),e.timeout){let t=parseInt(e.timeout,10);if(Number.isNaN(t))return void E(new ad("error trying to parse `config.timeout` to int",ad.ERR_BAD_OPTION_VALUE,e,o));o.setTimeout(t,function(){if(i)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||Em;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),E(new ad(t,n.clarifyTimeoutError?ad.ETIMEDOUT:ad.ECONNABORTED,e,o))})}else o.setTimeout(0);if(nd.isStream(a)){let t=!1,n=!1;a.on("end",()=>{t=!0}),a.once("error",e=>{n=!0,o.destroy(e)}),a.on("close",()=>{!t&&!n&&E(new Hm("Request stream has been aborted",e,o))}),a.pipe(o)}else a&&o.write(a),o.end()})},$f=Pm.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Pm.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Pm.origin),Pm.navigator&&/(msie|trident)/i.test(Pm.navigator.userAgent)):()=>!0,zf=Pm.hasStandardBrowserEnv?{write(e,t,n,r,i,o,a){if(typeof document>"u")return;let s=[`${e}=${encodeURIComponent(t)}`];nd.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),nd.isString(r)&&s.push(`path=${r}`),nd.isString(i)&&s.push(`domain=${i}`),!0===o&&s.push("secure"),nd.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};const Gf=e=>e instanceof Gm?{...e}:e;function jf(e,t){t||={};let n={};function r(e,t,n,r){return nd.isPlainObject(e)&&nd.isPlainObject(t)?nd.merge.call({caseless:r},e,t):nd.isPlainObject(t)?nd.merge({},t):nd.isArray(t)?t.slice():t}function i(e,t,n,i){return nd.isUndefined(t)?nd.isUndefined(e)?void 0:r(void 0,e,0,i):r(e,t,0,i)}function o(e,t){if(!nd.isUndefined(t))return r(void 0,t)}function a(e,t){return nd.isUndefined(t)?nd.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}let c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>i(Gf(e),Gf(t),0,!0)};return nd.forEach(Object.keys({...e,...t}),function(r){let o=c[r]||i,a=o(e[r],t[r],r);nd.isUndefined(a)&&o!==s||(n[r]=a)}),n}var Vf=e=>{let t=jf({},e),{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;if(t.headers=a=Gm.from(a),t.url=vm(Wm(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),nd.isFormData(n))if(Pm.hasStandardBrowserEnv||Pm.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(nd.isFunction(n.getHeaders)){let e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&a.set(e,n)})}if(Pm.hasStandardBrowserEnv&&(r&&nd.isFunction(r)&&(r=r(t)),r||!1!==r&&$f(t.url))){let e=i&&o&&zf.read(o);e&&a.set(i,e)}return t},qf=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(t,n){let r,i,o,a,s,c=Vf(e),l=c.data,u=Gm.from(c.headers).normalize(),{responseType:p,onUploadProgress:d,onDownloadProgress:m}=c;function f(){a&&a(),s&&s(),c.cancelToken&&c.cancelToken.unsubscribe(r),c.signal&&c.signal.removeEventListener("abort",r)}let h=new XMLHttpRequest;function g(){if(!h)return;let r=Gm.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());Km(function(e){t(e),f()},function(e){n(e),f()},{data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(c.method.toUpperCase(),c.url,!0),h.timeout=c.timeout,"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){!h||4!==h.readyState||0===h.status&&(!h.responseURL||0!==h.responseURL.indexOf("file:"))||setTimeout(g)},h.onabort=function(){h&&=(n(new ad("Request aborted",ad.ECONNABORTED,e,h)),null)},h.onerror=function(t){let r=new ad(t&&t.message?t.message:"Network Error",ad.ERR_NETWORK,e,h);r.event=t||null,n(r),h=null},h.ontimeout=function(){let t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",r=c.transitional||Em;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),n(new ad(t,r.clarifyTimeoutError?ad.ETIMEDOUT:ad.ECONNABORTED,e,h)),h=null},void 0===l&&u.setContentType(null),"setRequestHeader"in h&&nd.forEach(u.toJSON(),function(e,t){h.setRequestHeader(t,e)}),nd.isUndefined(c.withCredentials)||(h.withCredentials=!!c.withCredentials),p&&"json"!==p&&(h.responseType=c.responseType),m&&([o,s]=bf(m,!0),h.addEventListener("progress",o)),d&&h.upload&&([i,a]=bf(d),h.upload.addEventListener("progress",i),h.upload.addEventListener("loadend",a)),(c.cancelToken||c.signal)&&(r=t=>{h&&=(n(!t||t.type?new Hm(null,e,h):t),h.abort(),null)},c.cancelToken&&c.cancelToken.subscribe(r),c.signal&&(c.signal.aborted?r():c.signal.addEventListener("abort",r)));let _=sf(c.url);_&&-1===Pm.protocols.indexOf(_)?n(new ad("Unsupported protocol "+_+":",ad.ERR_BAD_REQUEST,e)):h.send(l||null)})},Hf=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController,i=function(e){if(!n){n=!0,a();let t=e instanceof Error?e:this.reason;r.abort(t instanceof ad?t:new Hm(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,i(new ad(`timeout ${t} of ms exceeded`,ad.ETIMEDOUT))},t),a=()=>{e&&=(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:s}=r;return s.unsubscribe=()=>nd.asap(a),s}};const Kf=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},Wf=(e,t,n,r)=>{let i,o=async function*(e,t){for await(let n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Kf(n,t)}(e,t),a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;n&&n(a+=i),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:Xf}=nd,Zf=(({Request:e,Response:t})=>({Request:e,Response:t}))(nd.global),{ReadableStream:Yf,TextEncoder:Qf}=nd.global,Jf=(e,...t)=>{try{return!!e(...t)}catch{return!1}},eh=e=>{e=nd.merge.call({skipUndefined:!0},Zf,e);let{fetch:t,Request:n,Response:r}=e,i=t?Xf(t):"function"==typeof fetch,o=Xf(n),a=Xf(r);if(!i)return!1;let s=i&&Xf(Yf),c=i&&("function"==typeof Qf?(e=>t=>e.encode(t))(new Qf):async e=>new Uint8Array(await new n(e).arrayBuffer())),l=o&&s&&Jf(()=>{let e=!1,t=new n(Pm.origin,{body:new Yf,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),u=a&&s&&Jf(()=>nd.isReadableStream(new r("").body)),p={stream:u&&(e=>e.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new ad(`Response type '${e}' is not supported`,ad.ERR_NOT_SUPPORT,n)})});let d=async(e,t)=>nd.toFiniteNumber(e.getContentLength())??(async e=>null==e?0:nd.isBlob(e)?e.size:nd.isSpecCompliantForm(e)?(await new n(Pm.origin,{method:"POST",body:e}).arrayBuffer()).byteLength:nd.isArrayBufferView(e)||nd.isArrayBuffer(e)?e.byteLength:(nd.isURLSearchParams(e)&&(e+=""),nd.isString(e)?(await c(e)).byteLength:void 0))(t);return async e=>{let{url:i,method:a,data:s,signal:c,cancelToken:m,timeout:f,onDownloadProgress:h,onUploadProgress:g,responseType:_,headers:y,withCredentials:v="same-origin",fetchOptions:b}=Vf(e),E=t||fetch;_=_?(_+"").toLowerCase():"text";let x,w=Hf([c,m&&m.toAbortSignal()],f),A=null,T=w&&w.unsubscribe&&(()=>{w.unsubscribe()});try{if(g&&l&&"get"!==a&&"head"!==a&&0!==(x=await d(y,s))){let e,t=new n(i,{method:"POST",body:s,duplex:"half"});if(nd.isFormData(s)&&(e=t.headers.get("content-type"))&&y.setContentType(e),t.body){let[e,n]=Ef(x,bf(xf(g)));s=Wf(t.body,65536,e,n)}}nd.isString(v)||(v=v?"include":"omit");let t=o&&"credentials"in n.prototype,c={...b,signal:w,method:a.toUpperCase(),headers:y.normalize().toJSON(),body:s,duplex:"half",credentials:t?v:void 0};A=o&&new n(i,c);let m=await(o?E(A,b):E(i,c)),f=u&&("stream"===_||"response"===_);if(u&&(h||f&&T)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=m[t]});let t=nd.toFiniteNumber(m.headers.get("content-length")),[n,i]=h&&Ef(t,bf(xf(h),!0))||[];m=new r(Wf(m.body,65536,n,()=>{i&&i(),T&&T()}),e)}_||="text";let S=await p[nd.findKey(p,_)||"text"](m,e);return!f&&T&&T(),await new Promise((t,n)=>{Km(t,n,{data:S,headers:Gm.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:A})})}catch(t){throw T&&T(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)?Object.assign(new ad("Network Error",ad.ERR_NETWORK,e,A),{cause:t.cause||t}):ad.from(t,t&&t.code,e,A)}}},th=new Map,nh=e=>{let t,n,r=e&&e.env||{},{fetch:i,Request:o,Response:a}=r,s=[o,a,i],c=s.length,l=th;for(;c--;)t=s[c],n=l.get(t),void 0===n&&l.set(t,n=c?new Map:eh(r)),l=n;return n};nh();const rh={http:Uf,xhr:qf,fetch:{get:nh}};nd.forEach(rh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ih=e=>`- ${e}`,oh=e=>nd.isFunction(e)||null===e||!1===e;var ah=function(e,t){e=nd.isArray(e)?e:[e];let n,r,{length:i}=e,o={};for(let a=0;a<i;a++){let i;if(n=e[a],r=n,!oh(n)&&(r=rh[(i=String(n)).toLowerCase()],void 0===r))throw new ad(`Unknown adapter '${i}'`);if(r&&(nd.isFunction(r)||(r=r.get(t))))break;o[i||"#"+a]=r}if(!r){let e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new ad("There is no suitable adapter to dispatch the request "+(i?e.length>1?"since :\n"+e.map(ih).join("\n"):" "+ih(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function sh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Hm(null,e)}function ch(e){return sh(e),e.headers=Gm.from(e.headers),e.data=jm.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ah(e.adapter||Nm.adapter,e)(e).then(function(t){return sh(e),t.data=jm.call(e,e.transformResponse,t),t.headers=Gm.from(t.headers),t},function(t){return Vm(t)||(sh(e),t&&t.response&&(t.response.data=jm.call(e,e.transformResponse,t.response),t.response.headers=Gm.from(t.response.headers))),Promise.reject(t)})}const lh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{lh[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const uh={};lh.transitional=function(e,t,n){function r(e,t){return"[Axios v"+af+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new ad(r(i," has been removed"+(t?" in "+t:"")),ad.ERR_DEPRECATED);return t&&!uh[i]&&(uh[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},lh.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var ph={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ad("options must be an object",ad.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let o=r[i],a=t[o];if(a){let t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new ad("option "+o+" must be "+n,ad.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new ad("Unknown option "+o,ad.ERR_BAD_OPTION)}},validators:lh};const dh=ph.validators;var mh=class{constructor(e){this.defaults=e||{},this.interceptors={request:new bm,response:new bm}}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=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch{}}throw e}}_request(e,t){"string"==typeof e?(t||={},t.url=e):t=e||{},t=jf(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&ph.assertOptions(n,{silentJSONParsing:dh.transitional(dh.boolean),forcedJSONParsing:dh.transitional(dh.boolean),clarifyTimeoutError:dh.transitional(dh.boolean)},!1),null!=r&&(nd.isFunction(r)?t.paramsSerializer={serialize:r}:ph.assertOptions(r,{encode:dh.function,serialize:dh.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0===this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),ph.assertOptions(t,{baseUrl:dh.spelling("baseURL"),withXsrfToken:dh.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&nd.merge(i.common,i[t.method]);i&&nd.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=Gm.concat(o,i);let a=[],s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s&&=e.synchronous,a.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u,p=0;if(!s){let e=[ch.bind(this),void 0];for(e.unshift(...a),e.push(...c),u=e.length,l=Promise.resolve(t);p<u;)l=l.then(e[p++],e[p++]);return l}u=a.length;let d=t;for(;p<u;){let t=a[p++],n=a[p++];try{d=t(d)}catch(e){n.call(this,e);break}}try{l=ch.call(this,d)}catch(e){return Promise.reject(e)}for(p=0,u=c.length;p<u;)l=l.then(c[p++],c[p++]);return l}getUri(e){return vm(Wm((e=jf(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};nd.forEach(["delete","get","head","options"],function(e){mh.prototype[e]=function(t,n){return this.request(jf(n||{},{method:e,url:t,data:(n||{}).data}))}}),nd.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(jf(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}mh.prototype[e]=t(),mh.prototype[e+"Form"]=t(!0)});var fh=mh;const hh={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hh).forEach(([e,t])=>{hh[t]=e});var gh=hh;const _h=function e(t){let n=new fh(t),r=vp(fh.prototype.request,n);return nd.extend(r,fh.prototype,n,{allOwnKeys:!0}),nd.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(jf(t,n))},r}(Nm);_h.Axios=fh,_h.CanceledError=Hm,_h.CancelToken=class e{constructor(e){if("function"!=typeof e)throw TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new Hm(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},_h.isCancel=Vm,_h.VERSION=af,_h.toFormData=mm,_h.AxiosError=ad,_h.Cancel=_h.CanceledError,_h.all=function(e){return Promise.all(e)},_h.spread=function(e){return function(t){return e.apply(null,t)}},_h.isAxiosError=function(e){return nd.isObject(e)&&!0===e.isAxiosError},_h.mergeConfig=jf,_h.AxiosHeaders=Gm,_h.formToJSON=e=>Fm(nd.isHTMLForm(e)?new FormData(e):e),_h.getAdapter=ah,_h.HttpStatusCode=gh,_h.default=_h;var yh=_h;function vh(e,t,n={}){let{timeout:r=3e4,cwd:i,env:o={},maxOutputSize:a,removeEnvVars:s=["NODE_OPTIONS"]}=n;return new Promise(n=>{let c={killed:!1,stdout:"",stderr:"",totalOutputSize:0},l={...process.env,...o};for(let e of s)l[e]=void 0;let u,p={cwd:i,env:l,stdio:["ignore","pipe","pipe"],timeout:r};try{u=T(e,t,p)}catch(t){return void n({stdout:"",stderr:"",exitCode:null,success:!1,error:t instanceof Error?t:Error(`Failed to spawn command '${e}'`)})}let d=setTimeout(()=>{c.killed||(c.killed=!0,u.kill("SIGTERM"),n({stdout:c.stdout,stderr:c.stderr,exitCode:null,success:!1,error:Error(`Command timeout after ${r}ms`),timedOut:!0}))},r),m=()=>!!(a&&c.totalOutputSize>a)&&(c.killed||(c.killed=!0,u.kill("SIGKILL"),clearTimeout(d),n({stdout:c.stdout,stderr:c.stderr,exitCode:null,success:!1,error:Error("Output size limit exceeded"),outputLimitExceeded:!0})),!0);u.stdout?.on("data",e=>{if(c.killed)return;let t=e.toString();c.totalOutputSize+=Buffer.byteLength(t),!m()&&(c.stdout+=t)}),u.stderr?.on("data",e=>{if(c.killed)return;let t=e.toString();c.totalOutputSize+=Buffer.byteLength(t),!m()&&(c.stderr+=t)}),u.on("close",e=>{c.killed||(clearTimeout(d),n({stdout:c.stdout,stderr:c.stderr,exitCode:e,success:0===e}))}),u.on("error",e=>{c.killed||(c.killed=!0,clearTimeout(d),n({stdout:c.stdout,stderr:c.stderr,exitCode:null,success:!1,error:e}))})})}function bh(e,t,n=1e4){return new Promise(r=>{let i=!1,o=T(e,t,{stdio:["ignore","pipe","pipe"],timeout:n,env:{...process.env,NODE_OPTIONS:void 0}});o.on("close",e=>{i||r(0===e)}),o.on("error",()=>{i||r(!1)});let a=setTimeout(()=>{i||(i=!0,o.kill("SIGTERM"),r(!1))},n);o.on("close",()=>{clearTimeout(a)})})}function Eh(){return m(d(process.execPath),"win32"===process.platform?"npm.cmd":"npm")}const xh=["view","search","ping","config","whoami"];async function wh(e,t,n={}){if(!xh.includes(e))return{stdout:"",stderr:"",error:Error(`Command '${e}' is not allowed`)};let r=function(e,t=1e3){for(let n of e){if(n.includes("\0"))return{valid:!1,error:"Null bytes not allowed in arguments"};if(n.length>t)return{valid:!1,error:"Argument too long"}}return{valid:!0}}(t);if(!r.valid)return{stdout:"",stderr:"",error:Error(`Invalid arguments: ${r.error}`)};let{timeout:i=3e4,cwd:o,env:a}=n,s=await vh(Eh(),[e,...t],{timeout:i,cwd:o,env:a,removeEnvVars:["NODE_OPTIONS","NPM_CONFIG_SCRIPT_SHELL"]});return{stdout:s.stdout,stderr:s.stderr,exitCode:s.exitCode??void 0,error:s.error}}const Ah=["rg","ls","find"],Th=[/[;&|`$(){}[\]<>]/,/\${/,/\$\(/];async function Sh(e,t=[],n={}){let r=function(e,t){return Ah.includes(e)?function(e,t){let n=function(e,t){let n=new Set;if("rg"===e){let e=!1;for(let r=0;r<t.length;r++){let i=t[r];if(i.startsWith("-")){if(["-g","--glob","--include","--exclude","--exclude-dir"].includes(i)){r++,n.add(r);continue}["-A","-B","-C","-m","-t","--type","-T","--type-not","-j","--threads","--sort","--sortr","--max-filesize","-E","--encoding","--color"].includes(i)&&r++}else e||=(n.add(r),!0)}}else if("find"===e)for(let e=0;e<t.length;e++){let r=t[e],i=e>0?t[e-1]:"";["-name","-iname","-path","-regex","-size","-perm"].includes(i)&&n.add(e),("("===r||")"===r||"-o"===r)&&n.add(e)}return n}(e,t);for(let e=0;e<t.length;e++){let r=t[e];if(!n.has(e))for(let e of Th)if(e.test(r))return{isValid:!1,error:`Dangerous pattern detected in argument: '${r}'. This may be a command injection attempt.`}}return{isValid:!0}}(e,t):{isValid:!1,error:`Command '${e}' is not allowed. Allowed commands: ${Ah.join(", ")}`}}(e,t);if(!r.isValid)throw Error(`Command validation failed: ${r.error||"Command not allowed"}`);let i=function(e){let t=function(e){return e?p.resolve(e):process.env.WORKSPACE_ROOT?p.resolve(process.env.WORKSPACE_ROOT):process.cwd()}(process.env.WORKSPACE_ROOT);if(void 0===e)return{isValid:!0};if(""===e.trim())return{isValid:!1,error:"Execution context (cwd) cannot be empty"};let n=p.resolve(e);if(n!==t&&!n.startsWith(t+p.sep))return{isValid:!1,error:`Can only execute commands within workspace directory: ${t}. Attempted execution in: ${n}`};try{_.lstatSync(n);let e=_.realpathSync(n);if(e!==t&&!e.startsWith(t+p.sep))return{isValid:!1,error:`Symlink target '${e}' is outside workspace directory: ${t}`}}catch(e){return e&&"object"==typeof e&&"code"in e&&"ENOENT"===e.code?{isValid:!0,sanitizedPath:n}:{isValid:!1,error:`Cannot validate execution context: ${e instanceof Error?e.message:String(e)}`}}return{isValid:!0,sanitizedPath:n}}(n.cwd);if(!i.isValid)throw Error(`Execution context validation failed: ${i.error||"Invalid working directory"}`);let{timeout:o=3e4,cwd:a,env:s,maxOutputSize:c=10485760}=n,l=await vh(e,t,{timeout:o,cwd:a,env:s,maxOutputSize:c,removeEnvVars:["NODE_OPTIONS"]});if(l.error)throw l.error;return{success:l.success,code:l.exitCode,stdout:l.stdout,stderr:l.stderr}}const kh=new Map,Ch={rg:{name:"ripgrep",versionFlag:"--version",tool:"localSearchCode"},grep:{name:"grep",versionFlag:"--version",tool:"localSearchCode (fallback)"},find:{name:"find",versionFlag:"--version",tool:"localFindFiles"},ls:{name:"ls",versionFlag:"--version",tool:"localViewStructure"}};async function Oh(e,t=!1){if(!t&&kh.has(e))return kh.get(e);let n=Ch[e];try{let t;t="find"===e&&"darwin"===process.platform?await bh("find",[".","-maxdepth","0"],5e3):"ls"===e?await bh("ls",["-la","."],5e3):"grep"===e?await bh("grep",["--help"],5e3):await bh(e,[n.versionFlag],5e3);let r={available:t,command:e,...t?{}:{error:`${n.name} (${e}) is not installed or not in PATH`}};return kh.set(e,r),r}catch(t){let n={available:!1,command:e,error:t instanceof Error?t.message:`Failed to check ${e} availability`};return kh.set(e,n),n}}function Rh(e){return`${Ch[e].name} (${e}) is not available. ${{rg:"Install ripgrep: brew install ripgrep (macOS), apt install ripgrep (Ubuntu), or see https://github.com/BurntSushi/ripgrep#installation",grep:"grep should be available on all Unix systems. Check your PATH configuration.",find:"find should be available on all Unix systems. Check your PATH configuration.",ls:"ls should be available on all Unix systems. Check your PATH configuration."}[e]}`}var Dh="11.0.0";const Ph=(e,t)=>`Failed to fetch (${e} ${t})`,Fh="TOOL_METADATA_INVALID_FORMAT",Ih="TOOL_METADATA_INVALID_API_RESPONSE",Nh=e=>`Path is a directory. Use ${e} to list directory contents`,Lh=(e,t,n)=>`File too large (${e}KB > ${t}KB). Use ${n} to search within the file or use startLine/endLine parameters to get specific sections`,Mh="FILE_EMPTY",Bh="File is empty - no content to display",Uh=e=>`Unsupported file type: ${e}`,$h=(e,t,n)=>`Repository "${e}/${t}" not found or not accessible: ${n}`,zh=(e,t,n,r)=>`Path "${e}" not found in repository "${t}/${n}" on branch "${r}"`,Gh=(e,t,n)=>`Path "${e}" not found in repository "${t}/${n}" on any common branch`,jh=(e,t,n)=>`Failed to access repository "${e}/${t}": ${n}`,Vh="SEARCH_QUERY_EMPTY",qh="Search query cannot be empty",Hh=e=>`Pull request search failed: ${e}`,Kh=e=>`Pull request list failed: ${e}`,Wh=(e,t)=>`Failed to fetch pull request #${e}: ${t}`,Xh="TOOL_EXECUTION_FAILED",Zh={PATH_VALIDATION_FAILED:"pathValidationFailed",FILE_ACCESS_FAILED:"fileAccessFailed",FILE_READ_FAILED:"fileReadFailed",FILE_TOO_LARGE:"fileTooLarge",NO_MATCHES:"noMatches",PATTERN_TOO_BROAD:"patternTooBroad",PAGINATION_REQUIRED:"paginationRequired",OUTPUT_TOO_LARGE:"outputTooLarge",RESPONSE_TOO_LARGE:"responseTooLarge",COMMAND_NOT_AVAILABLE:"commandNotAvailable",COMMAND_EXECUTION_FAILED:"commandExecutionFailed",COMMAND_TIMEOUT:"commandTimeout",QUERY_EXECUTION_FAILED:"queryExecutionFailed",TOOL_EXECUTION_FAILED:"toolExecutionFailed"},Yh=Zh;let Qh=function(e){return e.FILE_SYSTEM="FILE_SYSTEM",e.VALIDATION="VALIDATION",e.SEARCH="SEARCH",e.PAGINATION="PAGINATION",e.EXECUTION="EXECUTION",e}({});const Jh={[Zh.PATH_VALIDATION_FAILED]:{code:Zh.PATH_VALIDATION_FAILED,category:Qh.VALIDATION,description:"Path validation failed - invalid or unsafe path",recoverability:"user-action-required"},[Zh.FILE_ACCESS_FAILED]:{code:Zh.FILE_ACCESS_FAILED,category:Qh.FILE_SYSTEM,description:"Cannot access file - may not exist or lack permissions",recoverability:"unrecoverable"},[Zh.FILE_READ_FAILED]:{code:Zh.FILE_READ_FAILED,category:Qh.FILE_SYSTEM,description:"Failed to read file contents",recoverability:"unrecoverable"},[Zh.FILE_TOO_LARGE]:{code:Zh.FILE_TOO_LARGE,category:Qh.FILE_SYSTEM,description:"File exceeds size limits for operation",recoverability:"user-action-required"},[Zh.NO_MATCHES]:{code:Zh.NO_MATCHES,category:Qh.SEARCH,description:"Search pattern found no matches",recoverability:"user-action-required"},[Zh.PATTERN_TOO_BROAD]:{code:Zh.PATTERN_TOO_BROAD,category:Qh.SEARCH,description:"Search pattern is too broad and would return too many results",recoverability:"user-action-required"},[Zh.PAGINATION_REQUIRED]:{code:Zh.PAGINATION_REQUIRED,category:Qh.PAGINATION,description:"Result set too large - pagination required",recoverability:"user-action-required"},[Zh.OUTPUT_TOO_LARGE]:{code:Zh.OUTPUT_TOO_LARGE,category:Qh.PAGINATION,description:"Output exceeds size limits",recoverability:"user-action-required"},[Zh.RESPONSE_TOO_LARGE]:{code:Zh.RESPONSE_TOO_LARGE,category:Qh.PAGINATION,description:"Response exceeds maximum allowed size",recoverability:"user-action-required"},[Zh.COMMAND_NOT_AVAILABLE]:{code:Zh.COMMAND_NOT_AVAILABLE,category:Qh.EXECUTION,description:"Required CLI command is not installed or not in PATH",recoverability:"user-action-required"},[Zh.COMMAND_EXECUTION_FAILED]:{code:Zh.COMMAND_EXECUTION_FAILED,category:Qh.EXECUTION,description:"System command execution failed",recoverability:"unrecoverable"},[Zh.COMMAND_TIMEOUT]:{code:Zh.COMMAND_TIMEOUT,category:Qh.EXECUTION,description:"Command execution timed out",recoverability:"user-action-required"},[Zh.QUERY_EXECUTION_FAILED]:{code:Zh.QUERY_EXECUTION_FAILED,category:Qh.EXECUTION,description:"Query execution failed",recoverability:"unrecoverable"},[Zh.TOOL_EXECUTION_FAILED]:{code:Zh.TOOL_EXECUTION_FAILED,category:Qh.EXECUTION,description:"Generic tool execution failure",recoverability:"unrecoverable"}};var eg=class e extends Error{errorCode;category;recoverability;context;constructor(t,n,r,i){let o=Jh[t];super(n||o.description),this.name="ToolError",this.errorCode=t,this.category=o.category,this.recoverability=o.recoverability,this.context=r,i&&i.stack&&(this.stack=`${this.stack}\nCaused by: ${i.stack}`),Object.setPrototypeOf(this,e.prototype)}isRecoverable(){return"recoverable"===this.recoverability}requiresUserAction(){return"user-action-required"===this.recoverability}toJSON(){return{name:this.name,errorCode:this.errorCode,category:this.category,message:this.message,recoverability:this.recoverability,context:this.context,stack:this.stack}}};function tg(e){return e instanceof eg}const ng=(e,t)=>new eg(Zh.OUTPUT_TOO_LARGE,`Output too large: ${e} (limit: ${t})`,{size:e,limit:t}),rg=(e,t)=>new eg(Zh.COMMAND_NOT_AVAILABLE,`Command '${e}' is not available. ${t||"Please install it and ensure it is in your PATH."}`,{command:e,installHint:t}),ig=(e,t,n)=>new eg(Zh.COMMAND_EXECUTION_FAILED,n?`Command '${e}' failed: ${n}`:`Command execution failed: ${e}`,{command:e,stderr:n},t),og=(e,t)=>new eg(Zh.TOOL_EXECUTION_FAILED,`Tool execution failed: ${e}`,{toolName:e},t),ag=[{name:"openaiApiKey",description:"OpenAI API key",regex:/\b(sk-[a-zA-Z0-9_-]+T3BlbkFJ[a-zA-Z0-9_-]+)\b/g,matchAccuracy:"high"},{name:"openaiOrgId",description:"OpenAI organization ID",regex:/\borg-[a-zA-Z0-9]{20,}\b/g,matchAccuracy:"high"},{name:"groqApiKey",description:"Groq API key",regex:/\bgsk_[a-zA-Z0-9-_]{51,52}\b/g,matchAccuracy:"high"},{name:"cohereApiKey",description:"Cohere API key",regex:/\bco-[a-zA-Z0-9-_]{38,64}\b/g,matchAccuracy:"high"},{name:"huggingFaceToken",description:"Hugging Face API token",regex:/\bhf_[a-zA-Z0-9]{34}\b/g,matchAccuracy:"high"},{name:"perplexityApiKey",description:"Perplexity AI API key",regex:/\bpplx-[a-zA-Z0-9]{30,64}\b/g,matchAccuracy:"high"},{name:"replicateApiToken",description:"Replicate API token",regex:/\br8_[a-zA-Z0-9]{30,}\b/g,matchAccuracy:"high"},{name:"anthropicApiKey",description:"Anthropic API key",regex:/\b(sk-ant-(?:admin01|api03)-[\w-]{93}AA)\b/g,matchAccuracy:"high"},{name:"mistralApiKey",description:"Mistral AI API key",regex:/\b(?:mistral-|mist_)[a-zA-Z0-9]{32,}\b/g,matchAccuracy:"high"},{name:"tavilyApiKey",description:"Tavily API key",regex:/\btvly-[a-zA-Z0-9]{30,}\b/g,matchAccuracy:"high"},{name:"deepseekApiKey",description:"DeepSeek API key",regex:/\bsk-[a-zA-Z0-9]{32,64}\b/g,matchAccuracy:"medium"},{name:"togetherApiKey",description:"Together AI API key",regex:/\b['"]?(?:TOGETHER|together)_?(?:API|api)?_?(?:KEY|key)['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9]{40,64}['"]?\b/g,matchAccuracy:"medium"},{name:"fireworksApiKey",description:"Fireworks AI API key",regex:/\b['"]?(?:FIREWORKS|fireworks)_?(?:API|api)?_?(?:KEY|key)['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9]{40,64}['"]?\b/g,matchAccuracy:"medium"},{name:"xaiApiKey",description:"xAI (Grok) API key",regex:/\bxai-[a-zA-Z0-9]{48,}\b/g,matchAccuracy:"high"},{name:"openRouterApiKey",description:"OpenRouter API key",regex:/\bsk-or-v1-[a-zA-Z0-9]{64}\b/g,matchAccuracy:"high"},{name:"amazonBedrockApiKey",description:"Amazon Bedrock API key",regex:/\bABSK[A-Za-z0-9+/]{109,269}={0,2}\b/g,matchAccuracy:"high"},{name:"ai21ApiKey",description:"AI21 Labs API key",regex:/\b['"]?(?:AI21|ai21)_?(?:API|api)?_?(?:KEY|key)['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9]{40,64}['"]?\b/g,matchAccuracy:"medium"},{name:"stabilityApiKey",description:"Stability AI API key",regex:/\bsk-[a-zA-Z0-9]{48,}\b/g,matchAccuracy:"medium"},{name:"voyageApiKey",description:"Voyage AI API key",regex:/\bpa-[a-zA-Z0-9]{40,}\b/g,matchAccuracy:"high"},{name:"vercelToken",description:"Vercel API token",regex:/\bvercel_[a-zA-Z0-9]{24}\b/g},{name:"posthogApiKey",description:"PostHog API key",regex:/\bphc_[a-zA-Z0-9_-]{39}\b/g,matchAccuracy:"high"},{name:"posthogPersonalApiKey",description:"PostHog personal API key",regex:/\bphx_[a-zA-Z0-9_-]{39}\b/g,matchAccuracy:"high"},{name:"datadogApiKey",description:"Datadog API and application keys (with context)",regex:/\bdatadog[\s\w]*(?:api|app)[\s\w]*key[\s:=]*["']?[a-fA-F0-9]{32,40}["']?/gi,matchAccuracy:"medium"},{name:"honeycombApiKey",description:"Honeycomb API key",regex:/\bhcaik_[a-zA-Z0-9_-]{32,64}\b/g,matchAccuracy:"high"},{name:"jwtToken",description:"JWT (JSON Web Token - 3-part)",regex:/\b(ey[a-zA-Z0-9]{17,}\.ey[a-zA-Z0-9/_-]{17,}\.(?:[a-zA-Z0-9/_-]{10,}={0,2})?)\b/g,matchAccuracy:"high"},{name:"sessionIds",description:"Session IDs / Cookies",regex:/(?:JSESSIONID|PHPSESSID|ASP\.NET_SessionId|connect\.sid|session_id)=([a-zA-Z0-9%:._-]+)/gi,matchAccuracy:"high"},{name:"googleOauthToken",description:"Google OAuth token",regex:/\bya29\.[a-zA-Z0-9_-]+\b/g,matchAccuracy:"high"},{name:"onePasswordSecretKey",description:"1Password secret key",regex:/\bA3-[A-Z0-9]{6}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}\b/g,matchAccuracy:"high"},{name:"onePasswordServiceAccountToken",description:"1Password service account token",regex:/\bops_eyJ[a-zA-Z0-9+/]+={0,2}\b/g,matchAccuracy:"high"},{name:"jsonWebTokenEnhanced",description:"JSON Web Token with enhanced detection",regex:/\bey[a-zA-Z0-9]+\.ey[a-zA-Z0-9/_-]+\.(?:[a-zA-Z0-9/_-]+={0,2})?\b/g,matchAccuracy:"high"},{name:"authressServiceClientAccessKey",description:"Authress service client access key",regex:/\b(?:sc|ext|scauth|authress)_[a-z0-9]+\.[a-z0-9]+\.acc[_-][a-z0-9-]+\.[a-z0-9+/_=-]+\b/gi,matchAccuracy:"high"},{name:"awsAccessKeyId",description:"AWS access key ID",regex:/\b((?:AKIA|ABIA|ACCA)[A-Z0-9]{16})\b/g,matchAccuracy:"high"},{name:"awsAccountId",description:"AWS account ID",regex:/\b['"]?(?:AWS|aws|Aws)?_?(?:ACCOUNT|account|Account)_?(?:ID|id|Id)?['"]?\s*(?::|=>|=)\s*['"]?[0-9]{12}['"]?\b/g,matchAccuracy:"high"},{name:"awsAppSyncApiKey",description:"AWS AppSync GraphQL API key",regex:/\bda2-[a-z0-9]{26}\b/g,matchAccuracy:"high"},{name:"awsIamRoleArn",description:"AWS IAM role ARN",regex:/\barn:aws:iam::[0-9]{12}:role\/[a-zA-Z0-9_+=,.@-]+\b/g,matchAccuracy:"high"},{name:"awsLambdaFunctionArn",description:"AWS Lambda function ARN",regex:/\barn:aws:lambda:[a-z0-9-]+:[0-9]{12}:function:[a-zA-Z0-9_-]+\b/g,matchAccuracy:"high"},{name:"awsMwsAuthToken",description:"AWS MWS authentication token",regex:/\bamzn\.mws\.[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\b/g,matchAccuracy:"high"},{name:"awsS3BucketArn",description:"AWS S3 bucket ARN",regex:/\barn:aws:s3:::[a-zA-Z0-9._-]+\b/g,matchAccuracy:"high"},{name:"alibabaAccessKeyId",description:"Alibaba Cloud AccessKey ID",regex:/\bLTAI[a-zA-Z0-9]{20}\b/g,matchAccuracy:"high"},{name:"awsSecretAccessKey",description:"AWS secret access key",regex:/\b['"]?(?:AWS|aws|Aws)?_?(?:SECRET|secret|Secret)_?(?:ACCESS|access|Access)_?(?:KEY|key|Key)['"]?\s*(?::|=>|=)\s*['"]?[A-Za-z0-9/+=]{40}['"]?\b/g,matchAccuracy:"high"},{name:"awsSessionToken",description:"AWS session token",regex:/\b['"]?(?:AWS|aws|Aws)?_?(?:SESSION|session|Session)_?(?:TOKEN|token|Token)['"]?\s*(?::|=>|=)\s*['"]?[A-Za-z0-9/+=]{200,}['"]?\b/g,matchAccuracy:"high"},{name:"awsSecretsManagerArn",description:"AWS Secrets Manager secret ARN",regex:/\barn:aws:secretsmanager:[a-z0-9-]+:[0-9]{12}:secret:[a-zA-Z0-9/_+=.@-]+\b/g,matchAccuracy:"high"},{name:"googleApiKey",description:"Google API key",regex:/\bAIza[a-zA-Z0-9_-]{30,}\b/g,matchAccuracy:"high"},{name:"googleAiApiKey",description:"Google AI API key",regex:/\bAIza[0-9A-Za-z_-]{30,}\b/g,matchAccuracy:"high"},{name:"googleOAuth2ClientId",description:"Google OAuth2 client ID",regex:/\b[0-9]+-[a-z0-9]+\.apps\.googleusercontent\.com\b/g,matchAccuracy:"high"},{name:"googleOAuthClientSecret",description:"Google OAuth client secret",regex:/\b"client_secret":\s*"[a-zA-Z0-9-_]{24}"\b/g,matchAccuracy:"high"},{name:"gcpServiceAccountEmail",description:"GCP service account email",regex:/\b[a-z0-9-]+@[a-z0-9-]+\.iam\.gserviceaccount\.com\b/g,matchAccuracy:"high"},{name:"azureStorageConnectionString",description:"Azure storage account connection string",regex:/\bDefaultEndpointsProtocol=https?;AccountName=[a-z0-9]+;AccountKey=[a-zA-Z0-9+/]+={0,2};EndpointSuffix=core\.windows\.net\b/g,matchAccuracy:"high"},{name:"azureSubscriptionId",description:"Azure subscription ID",regex:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\.onmicrosoft\.com\b/g,matchAccuracy:"high"},{name:"azureCosmosDbConnectionString",description:"Azure Cosmos DB connection string",regex:/\bAccountEndpoint=https:\/\/[a-z0-9-]+\.documents\.azure\.com:443\/;AccountKey=[a-zA-Z0-9+/]+={0,2}\b/g,matchAccuracy:"high"},{name:"azureServiceBusConnectionString",description:"Azure Service Bus connection string",regex:/\bEndpoint=sb:\/\/[a-z0-9-]+\.servicebus\.windows\.net\/;SharedAccessKeyName=[a-zA-Z0-9]+;SharedAccessKey=[a-zA-Z0-9+/]+={0,2}\b/g,matchAccuracy:"high"},{name:"dropboxAccessToken",description:"Dropbox access token",regex:/\bsl\.[a-zA-Z0-9_-]{64}\b/g,matchAccuracy:"high"},{name:"dropboxAppKey",description:"Dropbox app key",regex:/\b[a-z0-9]{15}\.(?:app|apps)\.dropbox\.com\b/g,matchAccuracy:"high"},{name:"supabaseServiceKey",description:"Supabase service role key",regex:/\bsbp_[a-f0-9]{40}\b/g,matchAccuracy:"high"},{name:"planetScaleConnectionString",description:"PlanetScale connection string",regex:/\bmysql:\/\/[a-zA-Z0-9_-]+:[a-zA-Z0-9_=-]+@[a-z0-9.-]+\.psdb\.cloud\/[a-zA-Z0-9_-]+\?sslaccept=strict\b/g,matchAccuracy:"high"},{name:"planetScaleToken",description:"PlanetScale API token",regex:/\bpscale_tkn_[a-zA-Z0-9_-]{38,43}\b/g,matchAccuracy:"high"},{name:"sendgridApiKey",description:"SendGrid API key",regex:/\bSG\.[A-Za-z0-9_-]{20,22}\.[A-Za-z0-9_-]{43}\b/g,matchAccuracy:"high"},{name:"mailgunApiKey",description:"Mailgun API key",regex:/\bkey-[0-9a-z]{32}\b/g,matchAccuracy:"high"},{name:"mailchimpApiKey",description:"MailChimp API key",regex:/\b[0-9a-f]{32}-us[0-9]{1,2}\b/g,matchAccuracy:"high"},{name:"discordBotToken",description:"Discord bot token",regex:/\b[MN][A-Za-z\d]{23}\.[\w-]{6}\.[\w-]{27}\b/g,matchAccuracy:"high"},{name:"discordWebhookUrl",description:"Discord webhook URL",regex:/\bhttps:\/\/discord\.com\/api\/webhooks\/[0-9]{18}\/[A-Za-z0-9_-]{68}\b/g,matchAccuracy:"high"},{name:"telegramBotToken",description:"Telegram bot token",regex:/\b[0-9]{8,10}:[A-Za-z0-9_-]{35}\b/g,matchAccuracy:"high"},{name:"twilioApiKey",description:"Twilio API key",regex:/\bSK[a-z0-9]{32}\b/g,matchAccuracy:"high"},{name:"twilioAccountSid",description:"Twilio account SID",regex:/\bAC[0-9a-fA-F]{32}\b/g,matchAccuracy:"high"},{name:"dockerHubToken",description:"Docker Hub personal access token",regex:/\bdckr_pat_[a-zA-Z0-9_]{36}\b/g,matchAccuracy:"high"},{name:"pypiApiToken",description:"PyPI API token",regex:/\bpypi-[a-zA-Z0-9_-]{84}\b/g,matchAccuracy:"high"},{name:"figmaToken",description:"Figma personal access token",regex:/\bfigd_[a-zA-Z0-9_-]{43}\b/g,matchAccuracy:"high"},{name:"renderToken",description:"Render API token",regex:/\brnd_[a-zA-Z0-9_-]{43}\b/g,matchAccuracy:"high"},{name:"airtablePersonalAccessToken",description:"Airtable personal access token",regex:/\bpat[a-zA-Z0-9]{14}\.[a-zA-Z0-9]{64}\b/g,matchAccuracy:"high"},{name:"typeformToken",description:"Typeform API token",regex:/\btfp_[a-zA-Z0-9_-]{43}\b/g,matchAccuracy:"high"},{name:"intercomAccessToken",description:"Intercom access token",regex:/\bdG9rOi[a-zA-Z0-9+/]{46,48}={0,2}\b/g,matchAccuracy:"high"},{name:"digitalOceanToken",description:"DigitalOcean API token",regex:/\bdop_v1_[a-f0-9]{64}\b/g,matchAccuracy:"high"},{name:"digitalOceanOAuthToken",description:"DigitalOcean OAuth access token",regex:/\bdoo_v1_[a-f0-9]{64}\b/g,matchAccuracy:"high"},{name:"digitalOceanRefreshToken",description:"DigitalOcean OAuth refresh token",regex:/\bdor_v1_[a-f0-9]{64}\b/g,matchAccuracy:"high"},{name:"cloudflareApiKey",description:"Cloudflare API key",regex:/\b['"]?(?:cloudflare)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9_-]{40}['"]?\b/gi,matchAccuracy:"medium"},{name:"cloudflareGlobalApiKey",description:"Cloudflare Global API key",regex:/\b['"]?(?:cloudflare)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{37}['"]?\b/gi,matchAccuracy:"medium"},{name:"cloudflareOriginCaKey",description:"Cloudflare Origin CA key",regex:/\bv1\.0-[a-f0-9]{24}-[a-f0-9]{146}\b/g,matchAccuracy:"high"},{name:"flyioAccessToken",description:"Fly.io API access token",regex:/\bfo1_[\w-]{43}\b/g,matchAccuracy:"high"},{name:"flyioMachineToken",description:"Fly.io machine token",regex:/\bfm[12][ar]?_[a-zA-Z0-9+/]{100,}={0,3}\b/g,matchAccuracy:"high"},{name:"dopplerApiToken",description:"Doppler API token",regex:/\bdp\.pt\.[a-z0-9]{43}\b/gi,matchAccuracy:"high"},{name:"dynatraceApiToken",description:"Dynatrace API token",regex:/\bdt0c01\.[a-z0-9]{24}\.[a-z0-9]{64}\b/gi,matchAccuracy:"high"},{name:"netlifyAccessToken",description:"Netlify access token",regex:/\b['"]?(?:netlify)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9=_-]{40,46}['"]?\b/gi,matchAccuracy:"medium"},{name:"scalingoApiToken",description:"Scalingo API token",regex:/\btk-us-[\w-]{48}\b/g,matchAccuracy:"high"},{name:"infracostApiToken",description:"Infracost API token",regex:/\bico-[a-zA-Z0-9]{32}\b/g,matchAccuracy:"high"},{name:"harnessApiKey",description:"Harness Access Token (PAT or SAT)",regex:/\b(?:pat|sat)\.[a-zA-Z0-9_-]{22}\.[a-zA-Z0-9]{24}\.[a-zA-Z0-9]{20}\b/g,matchAccuracy:"high"},{name:"azureAdClientSecret",description:"Azure AD client secret",regex:/(?:^|[\\'"` \s>=:(,)])([a-zA-Z0-9_~.]{3}\dQ~[a-zA-Z0-9_~.-]{31,34})(?:$|[\\'"` \s<),])/g,matchAccuracy:"high"},{name:"herokuApiKeyV2",description:"Heroku API key (new format)",regex:/\bHRKU-AA[0-9a-zA-Z_-]{58}\b/g,matchAccuracy:"high"},{name:"microsoftTeamsWebhook",description:"Microsoft Teams incoming webhook URL",regex:/https:\/\/[a-z0-9]+\.webhook\.office\.com\/webhookb2\/[a-z0-9]{8}-(?:[a-z0-9]{4}-){3}[a-z0-9]{12}@[a-z0-9]{8}-(?:[a-z0-9]{4}-){3}[a-z0-9]{12}\/IncomingWebhook\/[a-z0-9]{32}\/[a-z0-9]{8}-(?:[a-z0-9]{4}-){3}[a-z0-9]{12}/gi,matchAccuracy:"high"},{name:"oktaAccessToken",description:"Okta access token",regex:/\b['"]?(?:okta)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?00[\w=-]{40}['"]?\b/gi,matchAccuracy:"high"},{name:"openshiftUserToken",description:"OpenShift user token",regex:/\bsha256~[\w-]{43}\b/g,matchAccuracy:"high"},{name:"jwtSecrets",description:"JWT secrets",regex:/\bjwt[_-]?secret\s*[:=]\s*['"][^'"]{16,}['"]\b/gi,matchAccuracy:"high"},{name:"kubernetesSecrets",description:"Kubernetes secrets in YAML",regex:/\bkind:\s*["']?Secret["']?[\s\S]{0,2000}?\bdata:\s*[\s\S]{0,2000}?[a-zA-Z0-9_-]+:\s*[a-zA-Z0-9+/]{16,}={0,3}\b/gi,matchAccuracy:"high",fileContext:/\.ya?ml$/i},{name:"dockerComposeSecrets",description:"Docker Compose secrets",regex:/\b(?:MYSQL_ROOT_PASSWORD|POSTGRES_PASSWORD|REDIS_PASSWORD|MONGODB_PASSWORD)\s*[:=]\s*['"][^'"]{4,}['"]\b/gi,matchAccuracy:"medium",fileContext:/docker-compose\.ya?ml$/i},{name:"springBootSecrets",description:"Spring Boot application secrets",regex:/\b(?:spring\.datasource\.password|spring\.security\.oauth2\.client\.registration\..*\.client-secret)\s*[:=]\s*['"][^'"]{4,}['"]\b/gi,matchAccuracy:"medium",fileContext:/(?:application|bootstrap)(?:-\w+)?\.(?:properties|ya?ml)$/i},{name:"dotnetConnectionStrings",description:".NET connection strings with credentials",regex:/\b(?:ConnectionStrings?|connectionString)\s*[:=]\s*['"][^'"]*(?:password|pwd)\s*=\s*[^;'"]{4,}[^'"]*['"]\b/gi,matchAccuracy:"medium",fileContext:/(?:appsettings|web\.config).*\.(?:json|config)$/i},{name:"base64EncodedSecrets",description:"Base64 encoded secrets in config",regex:/\b(?:secret|password|key|token)[_-]?(?:base64|encoded)?\s*[:=]\s*['"][A-Za-z0-9+/]{32,}={0,3}['"]\b/gi,matchAccuracy:"medium"},{name:"rsaPrivateKey",description:"RSA private key",regex:/-----BEGIN (?:RSA )?PRIVATE KEY-----[\s\S]*?-----END (?:RSA )?PRIVATE KEY-----/g,matchAccuracy:"high"},{name:"pkcs8PrivateKey",description:"PKCS#8 private key",regex:/\b-----BEGIN (?:ENCRYPTED )?PRIVATE KEY-----\s*[\s\S]*?-----END (?:ENCRYPTED )?PRIVATE KEY-----\b/g,matchAccuracy:"high"},{name:"ecPrivateKey",description:"Elliptic Curve private key",regex:/\b-----BEGIN EC PRIVATE KEY-----\s*[\s\S]*?-----END EC PRIVATE KEY-----\b/g,matchAccuracy:"high"},{name:"dsaPrivateKey",description:"DSA private key",regex:/\b-----BEGIN DSA PRIVATE KEY-----\s*[\s\S]*?-----END DSA PRIVATE KEY-----\b/g,matchAccuracy:"high"},{name:"opensshPrivateKey",description:"OpenSSH private key",regex:/-----BEGIN OPENSSH PRIVATE KEY-----[\s\S]*?-----END OPENSSH PRIVATE KEY-----/g,matchAccuracy:"high"},{name:"sshPrivateKeyEncrypted",description:"SSH private key (SSH2 encrypted format)",regex:/\b-----BEGIN SSH2 ENCRYPTED PRIVATE KEY-----\s*[\s\S]*?-----END SSH2 ENCRYPTED PRIVATE KEY-----\b/g,matchAccuracy:"high"},{name:"puttyPrivateKey",description:"PuTTY private key file",regex:/\bPuTTY-User-Key-File-[23]:\s*[\s\S]*?Private-MAC:\b/g,matchAccuracy:"high"},{name:"pgpPrivateKey",description:"PGP private key block",regex:/\b-----BEGIN PGP PRIVATE KEY BLOCK-----\s*[\s\S]*?-----END PGP PRIVATE KEY BLOCK-----\b/g,matchAccuracy:"high"},{name:"firebaseServiceAccountPrivateKey",description:"Firebase service account private key (JSON format)",regex:/\b"private_key":\s*"-----BEGIN PRIVATE KEY-----\\n[a-zA-Z0-9+/=\\n]+\\n-----END PRIVATE KEY-----"\b/g,matchAccuracy:"high"},{name:"openvpnClientPrivateKey",description:"OpenVPN client private key",regex:/\b<key>\s*-----BEGIN[^<]*-----END[^<]*<\/key>\b/g,matchAccuracy:"high"},{name:"dhParameters",description:"Diffie-Hellman parameters",regex:/\b-----BEGIN DH PARAMETERS-----\s*[\s\S]*?-----END DH PARAMETERS-----\b/g,matchAccuracy:"high"},{name:"ageSecretKey",description:"Age encryption secret key",regex:/\bAGE-SECRET-KEY-1[QPZRY9X8GF2TVDW0S3JN54KHCE6MUA7L]{58}\b/g,matchAccuracy:"high"},{name:"vaultBatchToken",description:"HashiCorp Vault batch token",regex:/\bhvb\.[a-zA-Z0-9_-]{20,}\b/g,matchAccuracy:"high"},{name:"vaultServiceToken",description:"HashiCorp Vault service token",regex:/\bhvs\.[a-zA-Z0-9_-]{20,}\b/g,matchAccuracy:"high"},{name:"vaultPeriodicToken",description:"HashiCorp Vault periodic token",regex:/\bhvp\.[a-zA-Z0-9_-]{20,}\b/g,matchAccuracy:"high"},{name:"base64PrivateKeyContent",description:"Base64 encoded private key content",regex:/\b(?:private[_-]?key|secret[_-]?key)\s*[:=]\s*["'][A-Za-z0-9+/]{64,}={0,2}["']\b/gi,matchAccuracy:"medium"},{name:"hexEncodedKey",description:"Hexadecimal encoded cryptographic key",regex:/\b(?:key|secret)\s*[:=]\s*["'][a-fA-F0-9]{32,}["']\b/gi,matchAccuracy:"medium"},{name:"postgresqlConnectionString",description:"PostgreSQL connection string with credentials",regex:/\bpostgresql:\/\/[^:]+:[^@]+@[^/\s]+\/[^?\s]+\b/gi,matchAccuracy:"high"},{name:"mysqlConnectionString",description:"MySQL connection string with credentials",regex:/\bmysql:\/\/[^:]+:[^@]+@[^/\s]+\/[^?\s]+\b/gi,matchAccuracy:"high"},{name:"mongodbConnectionString",description:"MongoDB connection string with credentials",regex:/\bmongodb:\/\/[a-zA-Z0-9._-]+:[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+:[0-9]+\/[a-zA-Z0-9._-]+\b/g,matchAccuracy:"high"},{name:"redisConnectionString",description:"Redis connection string with credentials",regex:/\bredis:\/\/[a-zA-Z0-9._-]+:[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+:[0-9]+\b/g,matchAccuracy:"high"},{name:"redisAuthPassword",description:"Redis AUTH password command",regex:/\bAUTH\s+[a-zA-Z0-9_-]{8,}\b/gi,matchAccuracy:"medium"},{name:"elasticsearchCredentials",description:"Elasticsearch credentials in URL",regex:/\bhttps?:\/\/[^:]+:[^@]+@[^/\s]+:9200\b/gi,matchAccuracy:"high"},{name:"couchdbCredentials",description:"CouchDB credentials in URL",regex:/\bhttp[s]?:\/\/[^:]+:[^@]+@[^/\s]+:5984\b/gi,matchAccuracy:"high"},{name:"neo4jCredentials",description:"Neo4j database credentials in URL",regex:/\bbolt[s]?:\/\/[^:]+:[^@]+@[^/\s]+:7687\b/gi,matchAccuracy:"high"},{name:"timescaledbConnectionString",description:"TimescaleDB connection string with credentials",regex:/\btimescaledb:\/\/[^:]+:[^@]+@[^/\s]+\/[^?\s]+\b/gi,matchAccuracy:"high"},{name:"clickhouseCredentials",description:"ClickHouse connection string with credentials",regex:/\bclickhouse:\/\/[^:]+:[^@]+@[^/\s]+:8123\b/gi,matchAccuracy:"high"},{name:"cassandraConnectionString",description:"Cassandra connection string with credentials",regex:/\bcassandra:\/\/[^:]+:[^@]+@[^/\s]+:9042\b/gi,matchAccuracy:"high"},{name:"faunadbKey",description:"FaunaDB secret key",regex:/\bfn[a-zA-Z0-9]{40}\b/g,matchAccuracy:"high"},{name:"databricksApiToken",description:"Databricks API token",regex:/\bdapi[a-f0-9]{32}(?:-\d)?\b/g,matchAccuracy:"high"},{name:"pineconeApiKey",description:"Pinecone API key",regex:/\bpinecone[\s\w]*(?:api|key|env)[\s:=]*["']?[a-zA-Z0-9_-]{32}["']?\b/gi,matchAccuracy:"medium"},{name:"databaseUrlWithCredentials",description:"Generic database URL with embedded credentials",regex:/\b(?:postgres|mysql|mongodb|redis):\/\/[^:]+:[^@]+@[^/\s]+\b/gi,matchAccuracy:"medium"},{name:"clickhouseCloudApiKey",description:"ClickHouse Cloud API secret key",regex:/\b4b1d[A-Za-z0-9]{38}\b/g,matchAccuracy:"high"},{name:"neonDatabaseConnectionString",description:"Neon database connection string",regex:/\bpostgres:\/\/[^:]+:[^@]+@[^/\s]*neon\.tech[^?\s]*\b/gi,matchAccuracy:"high"},{name:"tursoDatabaseToken",description:"Turso database auth token",regex:/\b['"]?(?:turso|libsql)(?:[\s\w.-]{0,20})(?:token|auth)['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9._-]{50,}['"]?\b/gi,matchAccuracy:"medium"},{name:"upstashRedisToken",description:"Upstash Redis REST token",regex:/\b['"]?(?:upstash)(?:[\s\w.-]{0,20})(?:token|key)['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9=]{40,}['"]?\b/gi,matchAccuracy:"medium"},{name:"npmAccessToken",description:"NPM access token",regex:/\bnpm_[a-zA-Z0-9]{36}\b/g,matchAccuracy:"high"},{name:"nugetApiKey",description:"NuGet API key",regex:/\boy2[a-z0-9]{43}\b/g,matchAccuracy:"high"},{name:"artifactoryApiKey",description:"JFrog Artifactory API key",regex:/\bAKCp[A-Za-z0-9]{69}\b/g,matchAccuracy:"high"},{name:"herokuApiKey",description:"Heroku API key",regex:/\bheroku.*[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\b/gi,matchAccuracy:"high"},{name:"terraformCloudToken",description:"Terraform Cloud API token",regex:/\b[a-zA-Z0-9]{14}\.[a-zA-Z0-9]{6}\.[a-zA-Z0-9]{16}\b/g,matchAccuracy:"high"},{name:"pulumiAccessToken",description:"Pulumi access token",regex:/\bpul-[a-f0-9]{40}\b/g,matchAccuracy:"high"},{name:"atlassianApiToken",description:"Atlassian API token (Jira/Confluence)",regex:/\bATATT3[A-Za-z0-9_\-=]{186}\b/g,matchAccuracy:"high"},{name:"sourcegraphApiKey",description:"Sourcegraph API key",regex:/\bsgp_[a-zA-Z0-9]{32}\b/g,matchAccuracy:"high"},{name:"linearApiKey",description:"Linear API key",regex:/\blin_api_[0-9A-Za-z]{40}\b/g,matchAccuracy:"high"},{name:"notionIntegrationToken",description:"Notion integration token",regex:/\bntn_[a-zA-Z0-9_-]{43}\b/g,matchAccuracy:"high"},{name:"stackhawkApiKey",description:"StackHawk API key",regex:/\bhawk\.[0-9A-Za-z\-_]{20}\.[0-9A-Za-z\-_]{20}\b/g,matchAccuracy:"high"},{name:"sentryAuthToken",description:"Sentry authentication token",regex:/\bsentry[\s\w]*(?:auth|token)[\s:=]*["']?[a-f0-9]{64}["']?\b/gi,matchAccuracy:"medium"},{name:"bugsnagApiKey",description:"Bugsnag API key",regex:/\bbugsnag[\s\w]*(?:api|key)[\s:=]*["']?[a-f0-9]{32}["']?\b/gi,matchAccuracy:"medium"},{name:"rollbarAccessToken",description:"Rollbar access token",regex:/\brollbar[\s\w]*(?:access|token)[\s:=]*["']?[a-f0-9]{32}["']?\b/gi,matchAccuracy:"medium"},{name:"postmanApiToken",description:"Postman API token",regex:/\bPMAK-[a-f0-9]{24}-[a-f0-9]{34}\b/gi,matchAccuracy:"high"},{name:"prefectApiToken",description:"Prefect API token",regex:/\bpnu_[a-zA-Z0-9]{36}\b/g,matchAccuracy:"high"},{name:"readmeApiToken",description:"Readme API token",regex:/\brdme_[a-z0-9]{70}\b/g,matchAccuracy:"high"},{name:"rubygemsApiToken",description:"RubyGems API token",regex:/\brubygems_[a-f0-9]{48}\b/g,matchAccuracy:"high"},{name:"clojarsApiToken",description:"Clojars API token",regex:/\bCLOJARS_[a-z0-9]{60}\b/gi,matchAccuracy:"high"},{name:"snykApiToken",description:"Snyk API token",regex:/\b['"]?(?:snyk[_.-]?(?:(?:api|oauth)[_.-]?)?(?:key|token))['"]?\s*(?::|=>|=)\s*['"]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}['"]?\b/gi,matchAccuracy:"high"},{name:"sonarqubeToken",description:"SonarQube/SonarCloud token",regex:/\b(?:squ_|sqp_|sqa_)[a-z0-9=_-]{40}\b/gi,matchAccuracy:"high"},{name:"travisciAccessToken",description:"Travis CI access token",regex:/\b['"]?(?:travis)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{22}['"]?\b/gi,matchAccuracy:"medium"},{name:"codecovAccessToken",description:"Codecov access token",regex:/\b['"]?(?:codecov)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{32}['"]?\b/gi,matchAccuracy:"medium"},{name:"droneCiAccessToken",description:"DroneCI access token",regex:/\b['"]?(?:droneci|drone)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{32}['"]?\b/gi,matchAccuracy:"medium"},{name:"octopusDeployApiKey",description:"Octopus Deploy API key",regex:/\bAPI-[A-Z0-9]{26}\b/g,matchAccuracy:"high"},{name:"circleciToken",description:"CircleCI personal API token",regex:/\b['"]?(?:circleci|circle)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{40}['"]?\b/gi,matchAccuracy:"medium"},{name:"buildkiteAgentToken",description:"Buildkite agent token",regex:/\bbkagent_[a-f0-9]{40}\b/g,matchAccuracy:"high"},{name:"launchdarklyAccessToken",description:"LaunchDarkly access token",regex:/\b['"]?(?:launchdarkly)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9=_-]{40}['"]?\b/gi,matchAccuracy:"medium"},{name:"algoliaApiKey",description:"Algolia API key",regex:/\b['"]?(?:algolia)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{32}['"]?\b/gi,matchAccuracy:"medium"},{name:"shopifyStorefrontAccessToken",description:"Shopify storefront API access token",regex:/\bshpatf_[0-9a-f]{32}\b/g,matchAccuracy:"high"},{name:"woocommerceConsumerKey",description:"WooCommerce consumer key",regex:/\bck_[a-f0-9]{40}\b/g,matchAccuracy:"high"},{name:"woocommerceConsumerSecret",description:"WooCommerce consumer secret",regex:/\bcs_[a-f0-9]{40}\b/g,matchAccuracy:"high"},{name:"contentfulAccessToken",description:"Contentful access token",regex:/\bCFPAT-[0-9a-zA-Z]{20}\b/g,matchAccuracy:"high"},{name:"mailchimpEcommerceApiKey",description:"MailChimp E-commerce API key",regex:/\b[0-9a-f]{32}-[a-z]{2,3}[0-9]{1,2}\b/g,matchAccuracy:"high"},{name:"credentialsInUrl",description:"Credentials embedded in URL",regex:/\b[a-zA-Z]{3,10}:\/\/[^\\/\s:@]{3,20}:[^\\/\s:@]{3,20}@[^\s'"]+\b/g,matchAccuracy:"high"},{name:"envVarSecrets",description:"Environment variable secrets (KEY, SECRET, TOKEN, PASSWORD)",regex:/\b(?:\w+_)?(?:SECRET|secret|password|key|token|jwt_secret)(?:_\w+)?\s*=\s*["'][^"']{16,}["']/gi,matchAccuracy:"medium"},{name:"mapboxSecretToken",description:"Mapbox secret access token",regex:/\bsk\.eyJ[a-zA-Z0-9._-]{87}\b/g,matchAccuracy:"high"},{name:"grafanaCloudApiKey",description:"Grafana Cloud API key",regex:/\bglc_[a-zA-Z0-9]{32}\b/g,matchAccuracy:"high"},{name:"newRelicApiKey",description:"New Relic API key",regex:/\bNRAK-[A-Z0-9]{27}\b/g,matchAccuracy:"high"},{name:"newRelicInsightKey",description:"New Relic Insights query key",regex:/\bNRIK-[A-Z0-9]{32}\b/g,matchAccuracy:"high"},{name:"newRelicBrowserApiToken",description:"New Relic browser API token",regex:/\bNRJS-[a-f0-9]{19}\b/g,matchAccuracy:"high"},{name:"newRelicInsertKey",description:"New Relic ingest insert key",regex:/\bNRII-[a-z0-9-]{32}\b/gi,matchAccuracy:"high"},{name:"grafanaApiKey",description:"Grafana API key",regex:/\beyJrIjoi[A-Za-z0-9]{70,400}={0,3}\b/gi,matchAccuracy:"high"},{name:"grafanaServiceAccountToken",description:"Grafana service account token",regex:/\bglsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8}\b/g,matchAccuracy:"high"},{name:"sentryOrgToken",description:"Sentry organization token",regex:/\bsntrys_eyJpYXQiO[a-zA-Z0-9+/]{10,200}(?:LCJyZWdpb25fdXJs|InJlZ2lvbl91cmwi|cmVnaW9uX3VybCI6)[a-zA-Z0-9+/]{10,200}={0,2}_[a-zA-Z0-9+/]{43}\b/g,matchAccuracy:"high"},{name:"sentryUserToken",description:"Sentry user token",regex:/\bsntryu_[a-f0-9]{64}\b/g,matchAccuracy:"high"},{name:"sumoLogicAccessId",description:"SumoLogic access ID",regex:/\b['"]?(?:sumo)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?su[a-zA-Z0-9]{12}['"]?\b/gi,matchAccuracy:"high"},{name:"splunkApiToken",description:"Splunk HEC token",regex:/\b['"]?(?:splunk)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}['"]?\b/gi,matchAccuracy:"medium"},{name:"logdnaApiKey",description:"LogDNA/Mezmo API key",regex:/\b['"]?(?:logdna|mezmo)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{32}['"]?\b/gi,matchAccuracy:"medium"},{name:"logglyToken",description:"Loggly customer token",regex:/\b['"]?(?:loggly)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}['"]?\b/gi,matchAccuracy:"medium"},{name:"stripeSecretKey",description:"Stripe secret key (sk_*, rk_*)",regex:/\b[rs]k_live_[a-zA-Z0-9]{20,247}\b/g,matchAccuracy:"high"},{name:"stripeWebhookSecret",description:"Stripe webhook signing secret",regex:/\bwhsec_[a-zA-Z0-9]{32,}\b/g,matchAccuracy:"high"},{name:"paypalAccessToken",description:"PayPal access token",regex:/\bA21AA[a-zA-Z0-9_-]{50,}\b/g,matchAccuracy:"high"},{name:"paypalBraintreeAccessToken",description:"PayPal Braintree access token",regex:/\baccess_token\$(?:production|sandbox)\$[0-9a-z]{16}\$[0-9a-f]{32}\b/g,matchAccuracy:"high"},{name:"squareAccessToken",description:"Square access token (all formats)",regex:/\b(?:EAAAE[A-Za-z0-9_-]{94,}|sq0[a-z]?atp-[0-9A-Za-z\-_]{22,26})\b/g,matchAccuracy:"high"},{name:"squareOauthSecret",description:"Square OAuth secret",regex:/\bsq0csp-[0-9A-Za-z\-_]{43}\b/g,matchAccuracy:"high"},{name:"squareApplicationId",description:"Square application ID",regex:/\bsq0ids-[a-zA-Z0-9_-]{43}\b/g,matchAccuracy:"high"},{name:"shopifyPrivateAppPassword",description:"Shopify private app password",regex:/\bshppa_[a-fA-F0-9]{32}\b/g,matchAccuracy:"high"},{name:"shopifyAccessToken",description:"Shopify access token",regex:/\bshpat_[a-fA-F0-9]{32}\b/g,matchAccuracy:"high"},{name:"shopifyWebhookToken",description:"Shopify webhook token",regex:/\bshpwh_[a-fA-F0-9]{32}\b/g,matchAccuracy:"high"},{name:"adyenApiKey",description:"Adyen API key",regex:/\bAQE[a-zA-Z0-9]{70,}\b/g,matchAccuracy:"high"},{name:"razorpayApiKey",description:"Razorpay API key",regex:/\brzp_(?:test|live)_[a-zA-Z0-9]{14}\b/g,matchAccuracy:"high"},{name:"flutterwaveKeys",description:"Flutterwave API keys",regex:/\bFLW(?:PUBK|SECK)_(?:TEST|LIVE)-[a-h0-9]{32}-X\b/g,matchAccuracy:"high"},{name:"coinbaseAccessToken",description:"Coinbase access token",regex:/\b['"]?(?:coinbase)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9_-]{64}['"]?\b/gi,matchAccuracy:"medium"},{name:"krakenAccessToken",description:"Kraken access token",regex:/\b['"]?(?:kraken)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9/=_+-]{80,90}['"]?\b/gi,matchAccuracy:"medium"},{name:"kucoinAccessToken",description:"Kucoin access token",regex:/\b['"]?(?:kucoin)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{24}['"]?\b/gi,matchAccuracy:"medium"},{name:"kucoinSecretKey",description:"Kucoin secret key",regex:/\b['"]?(?:kucoin)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}['"]?\b/gi,matchAccuracy:"medium"},{name:"bittrexAccessKey",description:"Bittrex access key",regex:/\b['"]?(?:bittrex)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{32}['"]?\b/gi,matchAccuracy:"medium"},{name:"binanceApiKey",description:"Binance API key",regex:/\b['"]?(?:binance)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[A-Za-z0-9]{64}['"]?\b/gi,matchAccuracy:"medium"},{name:"bybitApiKey",description:"Bybit API key",regex:/\b['"]?(?:bybit)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[A-Za-z0-9]{18,24}['"]?\b/gi,matchAccuracy:"medium"},{name:"gocardlessApiToken",description:"GoCardless API token",regex:/\blive_[a-z0-9\-_=]{40}\b/gi,matchAccuracy:"high"},{name:"plaidApiToken",description:"Plaid API token",regex:/\baccess-(?:sandbox|development|production)-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/g,matchAccuracy:"high"},{name:"privateKeyPem",description:"Private key in PEM format (comprehensive)",regex:/-----BEGIN\s?(?:(?:RSA|DSA|EC|OPENSSH|ENCRYPTED)\s+)?PRIVATE\s+KEY(?:\s+BLOCK)?-----[\s\S]*?-----END\s?(?:(?:RSA|DSA|EC|OPENSSH|ENCRYPTED)\s+)?PRIVATE\s+KEY(?:\s+BLOCK)?-----/g,matchAccuracy:"high"},{name:"pgpPrivateKeyBlock",description:"PGP private key block (comprehensive)",regex:/-----BEGIN\s+PGP\s+PRIVATE\s+KEY\s+BLOCK-----[\s\S]*?-----END\s+PGP\s+PRIVATE\s+KEY\s+BLOCK-----/g,matchAccuracy:"high"},{name:"shippoApiToken",description:"Shippo API token",regex:/\bshippo_(?:live|test)_[a-fA-F0-9]{40}\b/g,matchAccuracy:"high"},{name:"easypostApiToken",description:"EasyPost API token",regex:/\bEZAK[a-z0-9]{54}\b/gi,matchAccuracy:"high"},{name:"easypostTestApiToken",description:"EasyPost test API token",regex:/\bEZTK[a-z0-9]{54}\b/gi,matchAccuracy:"high"},{name:"duffelApiToken",description:"Duffel travel API token",regex:/\bduffel_(?:test|live)_[a-z0-9_\-=]{43}\b/gi,matchAccuracy:"high"},{name:"frameioApiToken",description:"Frame.io API token",regex:/\bfio-u-[a-z0-9\-_=]{64}\b/gi,matchAccuracy:"high"},{name:"maxmindLicenseKey",description:"MaxMind license key",regex:/\b[A-Za-z0-9]{6}_[A-Za-z0-9]{29}_mmk\b/g,matchAccuracy:"high"},{name:"asanaPersonalAccessToken",description:"Asana personal access token",regex:/\b['"]?(?:asana)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[0-9]{16}['"]?\b/gi,matchAccuracy:"medium"},{name:"mondayApiToken",description:"Monday.com API token",regex:/\b['"]?(?:monday)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?eyJ[a-zA-Z0-9_-]{100,}['"]?\b/gi,matchAccuracy:"medium"},{name:"trelloApiKey",description:"Trello API key",regex:/\b['"]?(?:trello)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{32}['"]?\b/gi,matchAccuracy:"medium"},{name:"jiraApiToken",description:"Jira API token",regex:/\b['"]?(?:jira)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9]{24}['"]?\b/gi,matchAccuracy:"medium"},{name:"settlemintApplicationAccessToken",description:"SettleMint application access token",regex:/\bsm_aat_[a-zA-Z0-9]{16}\b/g,matchAccuracy:"high"},{name:"settlemintPersonalAccessToken",description:"SettleMint personal access token",regex:/\bsm_pat_[a-zA-Z0-9]{16}\b/g,matchAccuracy:"high"},{name:"settlemintServiceAccessToken",description:"SettleMint service access token",regex:/\bsm_sat_[a-zA-Z0-9]{16}\b/g,matchAccuracy:"high"},{name:"slackBotToken",description:"Slack bot token",regex:/\bxoxb-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,matchAccuracy:"high"},{name:"slackUserToken",description:"Slack user token",regex:/\bxoxp-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,matchAccuracy:"high"},{name:"slackWorkspaceToken",description:"Slack workspace token",regex:/\bxoxa-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,matchAccuracy:"high"},{name:"slackRefreshToken",description:"Slack refresh token",regex:/\bxoxr-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,matchAccuracy:"high"},{name:"slackWebhookUrl",description:"Slack incoming webhook URL",regex:/(?:https?:\/\/)?hooks\.slack\.com\/(?:services|workflows|triggers)\/[A-Za-z0-9+/]{43,56}/gi,matchAccuracy:"high"},{name:"slackAppToken",description:"Slack app-level token",regex:/\bxapp-\d-[A-Z0-9]+-\d+-[a-z0-9]+\b/gi,matchAccuracy:"high"},{name:"slackConfigAccessToken",description:"Slack configuration access token",regex:/\bxoxe\.xox[bp]-\d-[A-Z0-9]{163,166}\b/gi,matchAccuracy:"high"},{name:"sendbirdAccessToken",description:"Sendbird access token",regex:/\b['"]?(?:sendbird)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{40}['"]?\b/gi,matchAccuracy:"medium"},{name:"messagebirdApiToken",description:"MessageBird API token",regex:/\b['"]?(?:messagebird|message_bird|message-bird)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{25}['"]?\b/gi,matchAccuracy:"medium"},{name:"mattermostAccessToken",description:"Mattermost access token",regex:/\b['"]?(?:mattermost)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{26}['"]?\b/gi,matchAccuracy:"medium"},{name:"zendeskSecretKey",description:"Zendesk secret key",regex:/\b['"]?(?:zendesk)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{40}['"]?\b/gi,matchAccuracy:"medium"},{name:"freshdeskApiKey",description:"Freshdesk API key",regex:/\b['"]?(?:freshdesk)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9]{20}['"]?\b/gi,matchAccuracy:"medium"},{name:"sendinblueApiToken",description:"Sendinblue (Brevo) API token",regex:/\bxkeysib-[a-f0-9]{64}-[a-z0-9]{16}\b/g,matchAccuracy:"high"},{name:"twitterBearerToken",description:"Twitter/X Bearer token",regex:/\bAAAAAAAAAAAAAAAAAAAAA[a-zA-Z0-9%]{50,}\b/g,matchAccuracy:"high"},{name:"facebookAccessToken",description:"Facebook/Meta access token",regex:/\bEAA[a-zA-Z0-9]{80,120}\b/g,matchAccuracy:"high"},{name:"facebookPageAccessToken",description:"Facebook/Meta page access token",regex:/\bEAAB[a-zA-Z0-9+/]{100,}\b/g,matchAccuracy:"high"},{name:"instagramAccessToken",description:"Instagram access token",regex:/\bIGQV[a-zA-Z0-9_-]{100,}\b/g,matchAccuracy:"high"},{name:"discordSocialBotToken",description:"Discord social bot token",regex:/\b[MN][A-Za-z\d]{23}\.[A-Za-z\d-_]{6}\.[A-Za-z\d-_]{27}\b/g,matchAccuracy:"high"},{name:"discordSocialWebhookUrl",description:"Discord social webhook URL",regex:/\bhttps:\/\/discord(?:app)?\.com\/api\/webhooks\/[0-9]{17,19}\/[A-Za-z0-9_-]{68}\b/g,matchAccuracy:"high"},{name:"pinterestAccessToken",description:"Pinterest access token",regex:/\bpina_[a-zA-Z0-9]{32}\b/g,matchAccuracy:"high"},{name:"linkedinApiToken",description:"LinkedIn API token",regex:/\b['"]?(?:linkedin|linked_in|linked-in)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{14,16}['"]?\b/gi,matchAccuracy:"medium"},{name:"youtubeApiKey",description:"YouTube Data API key",regex:/\b['"]?(?:youtube)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?AIza[a-zA-Z0-9_-]{35}['"]?\b/gi,matchAccuracy:"high"},{name:"tiktokApiToken",description:"TikTok API token",regex:/\b['"]?(?:tiktok)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9_-]{40,}['"]?\b/gi,matchAccuracy:"medium"},{name:"gitlabPersonalAccessToken",description:"GitLab personal access token",regex:/\bglpat-[A-Za-z0-9_-]{20}\b/g,matchAccuracy:"high"},{name:"gitlabDeployToken",description:"GitLab deploy token",regex:/\bgldt-[A-Za-z0-9_-]{20}\b/g,matchAccuracy:"high"},{name:"gitlabRunnerToken",description:"GitLab runner registration token",regex:/\bglrt-[A-Za-z0-9_-]{20}\b/g,matchAccuracy:"high"},{name:"gitlabCiJobToken",description:"GitLab CI/CD job token",regex:/\bglcbt-[0-9a-zA-Z]{1,5}_[0-9a-zA-Z_-]{20}\b/g,matchAccuracy:"high"},{name:"gitlabRunnerAuthToken",description:"GitLab runner authentication token",regex:/\bglrt-[0-9a-zA-Z_-]{20}\b/g,matchAccuracy:"high"},{name:"gitlabPipelineTriggerToken",description:"GitLab pipeline trigger token",regex:/\bglptt-[0-9a-f]{40}\b/g,matchAccuracy:"high"},{name:"bitbucketAppPassword",description:"Bitbucket app password",regex:/\bATBB[a-zA-Z0-9]{24}\b/g,matchAccuracy:"high"},{name:"githubTokens",description:"GitHub personal access token (classic)",regex:/\b((?:ghp|gho|ghu|ghs|ghr|github_pat)_[a-zA-Z0-9_]{36,255})\b/g,matchAccuracy:"high"},{name:"githubAppInstallationToken",description:"GitHub App installation token",regex:/\bghs_[0-9a-zA-Z]{37}\b/g,matchAccuracy:"high"},{name:"gitlabScimToken",description:"GitLab SCIM token",regex:/\bglsoat-[0-9a-zA-Z_-]{20}\b/g,matchAccuracy:"high"},{name:"gitlabFeatureFlagToken",description:"GitLab feature flag client token",regex:/\bglffct-[0-9a-zA-Z_-]{20}\b/g,matchAccuracy:"high"},{name:"gitlabFeedToken",description:"GitLab feed token",regex:/\bglft-[0-9a-zA-Z_-]{20}\b/g,matchAccuracy:"high"},{name:"gitlabIncomingMailToken",description:"GitLab incoming mail token",regex:/\bglimt-[0-9a-zA-Z_-]{25}\b/g,matchAccuracy:"high"},{name:"gitlabK8sAgentToken",description:"GitLab Kubernetes agent token",regex:/\bglagent-[0-9a-zA-Z_-]{50}\b/g,matchAccuracy:"high"},{name:"gitlabOAuthAppSecret",description:"GitLab OAuth application secret",regex:/\bgloas-[0-9a-zA-Z_-]{64}\b/g,matchAccuracy:"high"},{name:"gitlabSessionCookie",description:"GitLab session cookie",regex:/_gitlab_session=[0-9a-z]{32}/g,matchAccuracy:"high"},{name:"bitbucketRepoToken",description:"Bitbucket repository access token",regex:/\bATCTT3[a-zA-Z0-9]{24}\b/g,matchAccuracy:"high"}];let sg=null,cg=[];function lg(e){if(!e)return e;let t,n=(sg||(sg=function(){let e=ag.map((e,t)=>`(?<p${t}>${e.regex.source})`);return new RegExp(e.join("|"),"gi")}(),cg=ag),sg),r=[];for(;null!==(t=n.exec(e));){for(let e=0;e<cg.length;e++)if(t.groups?.[`p${e}`]){r.push({start:t.index,end:t.index+t[0].length,accuracy:cg[e]?.matchAccuracy||"medium"});break}0===t[0].length&&n.lastIndex++}if(0===r.length)return e;r.sort((e,t)=>e.start-t.start);let i=[],o=-1;for(let e of r)e.start>=o&&(i.push(e),o=e.end);let a=e;for(let t=i.length-1;t>=0;t--){let n=i[t];if(n){let t=ug(e.slice(n.start,n.end));a=a.slice(0,n.start)+t+a.slice(n.end)}}return a}function ug(e){let t="";for(let n=0;n<e.length;n++)t+=n%2==0?"*":e[n];return t}let pg=null,dg=null,mg=null,fg=null;function hg(e){if(e?.trim())return e.split(",").map(e=>e.trim()).filter(e=>e.length>0)}function gg(e,t){if(null==e)return t;let n=e.trim().toLowerCase();return""===n?t:"true"===n||"1"===n}async function _g(){if(process.env.GITHUB_TOKEN)return process.env.GITHUB_TOKEN;try{let e=await async function(){return function(e,t,n=1e4){return new Promise(r=>{let i=!1,o="",a=T(e,t,{stdio:["ignore","pipe","pipe"],timeout:n,env:{...process.env,NODE_OPTIONS:void 0}});a.stdout?.on("data",e=>{o+=e.toString()}),a.stderr?.on("data",()=>{}),a.on("close",e=>{i||r(0===e&&o.trim()||null)}),a.on("error",()=>{i||r(null)});let s=setTimeout(()=>{i||(i=!0,a.kill("SIGTERM"),r(null))},n);a.on("close",()=>{clearTimeout(s)})})}("gh",["auth","token"],1e4)}();if(e?.trim())return e.trim()}catch(e){e instanceof Error&&e.message&&(e.message=lg(e.message))}return null}function yg(){if(!pg){let e=lg("Configuration not initialized. Call initialize() and await its completion before calling getServerConfig().");throw Error(e)}return pg}async function vg(){return dg||fg||(fg=(async()=>{try{return dg=await _g(),dg}finally{fg=null}})(),fg)}function bg(){return pg?.loggingEnabled??!1}var Eg=class{sessionId;logEndpoint="https://octocode-mcp-host.onrender.com/log";constructor(){this.sessionId=yp.randomUUID?yp.randomUUID():function(e){e||={};let t=e.random??e.rng?.()??(_p>gp.length-16&&(i(gp),_p=0),gp.slice(_p,_p+=16));if(t.length<16)throw Error("Random bytes length must be >= 16");return t[6]=15&t[6]|64,t[8]=63&t[8]|128,function(e,t=0){return(hp[e[t+0]]+hp[e[t+1]]+hp[e[t+2]]+hp[e[t+3]]+"-"+hp[e[t+4]]+hp[e[t+5]]+"-"+hp[e[t+6]]+hp[e[t+7]]+"-"+hp[e[t+8]]+hp[e[t+9]]+"-"+hp[e[t+10]]+hp[e[t+11]]+hp[e[t+12]]+hp[e[t+13]]+hp[e[t+14]]+hp[e[t+15]]).toLowerCase()}(t)}(void 0)}getSessionId(){return this.sessionId}async logInit(){await this.sendLog("init",{})}async logToolCall(e,t,n,r,i){let o={tool_name:e,repos:t,...n&&{mainResearchGoal:n},...r&&{researchGoal:r},...i&&{reasoning:i}};await this.sendLog("tool_call",o)}async logPromptCall(e){let t={prompt_name:e};await this.sendLog("prompt_call",t)}async logError(e,t){await this.sendLog("error",{error:`${e}:${t}`})}async logRateLimit(e){await this.sendLog("rate_limit",e)}async sendLog(e,t){if(bg())try{let n={sessionId:this.sessionId,intent:e,data:t,timestamp:(new Date).toISOString(),version:Dh};await yh.post(this.logEndpoint,n,{timeout:5e3,headers:{"Content-Type":"application/json"}})}catch(t){let n=t instanceof Error?t.message:String(t);process.stderr.write(`[session] Failed to send log (${e}): ${n}\n`)}}};let xg=null;function wg(){return xg}async function Ag(e,t,n,r,i){let o=wg();o&&await o.logToolCall(e,t,n,r,i)}async function Tg(e){let t=wg();t&&await t.logPromptCall(e)}async function Sg(e,t){let n=wg();n&&await n.logError(e,t)}async function kg(e){let t=wg();t&&await t.logRateLimit(e)}var Cg=M((e,t)=>{var n=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,r;try{t=Map}catch{t=function(){}}try{n=Set}catch{n=function(){}}try{r=Promise}catch{r=function(){}}function i(o,s,c,l,u){"object"==typeof s&&(c=s.depth,l=s.prototype,u=s.includeNonEnumerable,s=s.circular);var p=[],d=[],m=typeof Buffer<"u";return void 0===s&&(s=!0),void 0===c&&(c=1/0),function o(c,f){if(null===c)return null;if(0===f)return c;var h,g;if("object"!=typeof c)return c;if(e(c,t))h=new t;else if(e(c,n))h=new n;else if(e(c,r))h=new r(function(e,t){c.then(function(t){e(o(t,f-1))},function(e){t(o(e,f-1))})});else if(i.__isArray(c))h=[];else if(i.__isRegExp(c))h=new RegExp(c.source,a(c)),c.lastIndex&&(h.lastIndex=c.lastIndex);else if(i.__isDate(c))h=new Date(c.getTime());else{if(m&&Buffer.isBuffer(c))return h=Buffer.allocUnsafe?Buffer.allocUnsafe(c.length):new Buffer(c.length),c.copy(h),h;e(c,Error)?h=Object.create(c):void 0===l?(g=Object.getPrototypeOf(c),h=Object.create(g)):(h=Object.create(l),g=l)}if(s){var _=p.indexOf(c);if(-1!=_)return d[_];p.push(c),d.push(h)}for(var y in e(c,t)&&c.forEach(function(e,t){var n=o(t,f-1),r=o(e,f-1);h.set(n,r)}),e(c,n)&&c.forEach(function(e){var t=o(e,f-1);h.add(t)}),c){var v;g&&(v=Object.getOwnPropertyDescriptor(g,y)),(!v||null!=v.set)&&(h[y]=o(c[y],f-1))}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(c);for(y=0;y<b.length;y++){var E=b[y];(w=Object.getOwnPropertyDescriptor(c,E))&&!w.enumerable&&!u||(h[E]=o(c[E],f-1),w.enumerable||Object.defineProperty(h,E,{enumerable:!1}))}}if(u){var x=Object.getOwnPropertyNames(c);for(y=0;y<x.length;y++){var w,A=x[y];(w=Object.getOwnPropertyDescriptor(c,A))&&w.enumerable||(h[A]=o(c[A],f-1),Object.defineProperty(h,A,{enumerable:!1}))}}return h}(o,c)}function o(e){return Object.prototype.toString.call(e)}function a(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return i.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},i.__objToStr=o,i.__isDate=function(e){return"object"==typeof e&&"[object Date]"===o(e)},i.__isArray=function(e){return"object"==typeof e&&"[object Array]"===o(e)},i.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===o(e)},i.__getRegExpFlags=a,i}();"object"==typeof t&&t.exports&&(t.exports=n)}),Og=M((e,t)=>{(function(){var e,n,r=[].splice,i=function(e,t){if(!(e instanceof t))throw Error("Bound instance method accessed before binding")},o=[].indexOf;n=Cg(),e=U("events").EventEmitter,t.exports=function(){class t extends e{constructor(e={}){super(),this.get=this.get.bind(this),this.mget=this.mget.bind(this),this.set=this.set.bind(this),this.mset=this.mset.bind(this),this.del=this.del.bind(this),this.take=this.take.bind(this),this.ttl=this.ttl.bind(this),this.getTtl=this.getTtl.bind(this),this.keys=this.keys.bind(this),this.has=this.has.bind(this),this.getStats=this.getStats.bind(this),this.flushAll=this.flushAll.bind(this),this.flushStats=this.flushStats.bind(this),this.close=this.close.bind(this),this._checkData=this._checkData.bind(this),this._check=this._check.bind(this),this._isInvalidKey=this._isInvalidKey.bind(this),this._wrap=this._wrap.bind(this),this._getValLength=this._getValLength.bind(this),this._error=this._error.bind(this),this._initErrors=this._initErrors.bind(this),this.options=e,this._initErrors(),this.data={},this.options=Object.assign({forceString:!1,objectValueSize:80,promiseValueSize:80,arrayValueSize:40,stdTTL:0,checkperiod:600,useClones:!0,deleteOnExpire:!0,enableLegacyCallbacks:!1,maxKeys:-1},this.options),this.options.enableLegacyCallbacks&&(console.warn("WARNING! node-cache legacy callback support will drop in v6.x"),["get","mget","set","del","ttl","getTtl","keys","has"].forEach(e=>{var t=this[e];this[e]=function(...e){var n,i=e;if([...e]=i,[n]=r.call(e,-1),"function"!=typeof n)return t(...e,n);try{n(null,t(...e))}catch(e){n(e)}}})),this.stats={hits:0,misses:0,keys:0,ksize:0,vsize:0},this.validKeyTypes=["string","number"],this._checkData()}get(e){var n;if(i(this,t),null!=(n=this._isInvalidKey(e)))throw n;if(null!=this.data[e]&&this._check(e,this.data[e]))return this.stats.hits++,this._unwrap(this.data[e]);this.stats.misses++}mget(e){var n,r,o,a,s;if(i(this,t),!Array.isArray(e))throw this._error("EKEYSTYPE");for(s={},r=0,a=e.length;r<a;r++){if(o=e[r],null!=(n=this._isInvalidKey(o)))throw n;null!=this.data[o]&&this._check(o,this.data[o])?(this.stats.hits++,s[o]=this._unwrap(this.data[o])):this.stats.misses++}return s}set(e,n,r){var o,a;if(i(this,t),this.options.maxKeys>-1&&this.stats.keys>=this.options.maxKeys)throw this._error("ECACHEFULL");if(this.options.forceString,r??=this.options.stdTTL,null!=(o=this._isInvalidKey(e)))throw o;return a=!1,this.data[e]&&(a=!0,this.stats.vsize-=this._getValLength(this._unwrap(this.data[e],!1))),this.data[e]=this._wrap(n,r),this.stats.vsize+=this._getValLength(n),a||(this.stats.ksize+=this._getKeyLength(e),this.stats.keys++),this.emit("set",e,n),!0}mset(e){var n,r,o,a,s,c,l,u,p;if(i(this,t),this.options.maxKeys>-1&&this.stats.keys+e.length>=this.options.maxKeys)throw this._error("ECACHEFULL");for(r=0,c=e.length;r<c;r++){if(s=e[r],({key:a,val:p,ttl:u}=s),u&&"number"!=typeof u)throw this._error("ETTLTYPE");if(null!=(n=this._isInvalidKey(a)))throw n}for(o=0,l=e.length;o<l;o++)s=e[o],({key:a,val:p,ttl:u}=s),this.set(a,p,u);return!0}del(e){var n,r,o,a,s,c;for(i(this,t),Array.isArray(e)||(e=[e]),n=0,o=0,s=e.length;o<s;o++){if(a=e[o],null!=(r=this._isInvalidKey(a)))throw r;null!=this.data[a]&&(this.stats.vsize-=this._getValLength(this._unwrap(this.data[a],!1)),this.stats.ksize-=this._getKeyLength(a),this.stats.keys--,n++,c=this.data[a],delete this.data[a],this.emit("del",a,c.v))}return n}take(e){var n;return i(this,t),null!=(n=this.get(e))&&this.del(e),n}ttl(e,n){var r;if(i(this,t),n||=this.options.stdTTL,!e)return!1;if(null!=(r=this._isInvalidKey(e)))throw r;return!(null==this.data[e]||!this._check(e,this.data[e])||(n>=0?this.data[e]=this._wrap(this.data[e].v,n,!1):this.del(e),0))}getTtl(e){var n;if(i(this,t),e){if(null!=(n=this._isInvalidKey(e)))throw n;if(null!=this.data[e]&&this._check(e,this.data[e]))return this.data[e].t}}keys(){return i(this,t),Object.keys(this.data)}has(e){return i(this,t),null!=this.data[e]&&this._check(e,this.data[e])}getStats(){return i(this,t),this.stats}flushAll(e=!0){i(this,t),this.data={},this.stats={hits:0,misses:0,keys:0,ksize:0,vsize:0},this._killCheckPeriod(),this._checkData(e),this.emit("flush")}flushStats(){i(this,t),this.stats={hits:0,misses:0,keys:0,ksize:0,vsize:0},this.emit("flush_stats")}close(){i(this,t),this._killCheckPeriod()}_checkData(e=!0){var n,r,o;for(n in i(this,t),r=this.data)o=r[n],this._check(n,o);e&&this.options.checkperiod>0&&(this.checkTimeout=setTimeout(this._checkData,1e3*this.options.checkperiod,e),null!=this.checkTimeout&&null!=this.checkTimeout.unref&&this.checkTimeout.unref())}_killCheckPeriod(){if(null!=this.checkTimeout)return clearTimeout(this.checkTimeout)}_check(e,n){var r;return i(this,t),r=!0,0!==n.t&&n.t<Date.now()&&(this.options.deleteOnExpire&&(r=!1,this.del(e)),this.emit("expired",e,this._unwrap(n))),r}_isInvalidKey(e){var n;if(i(this,t),n=typeof e,o.call(this.validKeyTypes,n)<0)return this._error("EKEYTYPE",{type:typeof e})}_wrap(e,r,o=!0){var a;return i(this,t),this.options.useClones||(o=!1),a=Date.now(),{t:0===r?0:r?a+1e3*r:0===this.options.stdTTL?this.options.stdTTL:a+1e3*this.options.stdTTL,v:o?n(e):e}}_unwrap(e,t=!0){return this.options.useClones||(t=!1),null==e.v?null:t?n(e.v):e.v}_getKeyLength(e){return e.toString().length}_getValLength(e){return i(this,t),"string"==typeof e?e.length:this.options.forceString?JSON.stringify(e).length:Array.isArray(e)?this.options.arrayValueSize*e.length:"number"==typeof e?8:"function"==typeof e?.then?this.options.promiseValueSize:typeof Buffer<"u"&&null!==Buffer&&Buffer.isBuffer(e)?e.length:"object"==typeof e&&e?this.options.objectValueSize*Object.keys(e).length:"boolean"==typeof e?8:0}_error(e,n={}){var r;return i(this,t),(r=Error()).name=e,r.errorcode=e,r.message=null==this.ERRORS[e]?"-":this.ERRORS[e](n),r.data=n,r}_initErrors(){var e,n,r;for(n in i(this,t),this.ERRORS={},r=this._ERRORS)e=r[n],this.ERRORS[n]=this.createErrorMessage(e)}createErrorMessage(e){return function(t){return e.replace("__key",t.type)}}}return t.prototype._ERRORS={ENOTFOUND:"Key `__key` not found",ECACHEFULL:"Cache max keys amount exceeded",EKEYTYPE:"The key argument has to be of type `string` or `number`. Found: `__key`",EKEYSTYPE:"The keys argument has to be an array.",ETTLTYPE:"The ttl argument has to be a number."},t}.call(this)}).call(e)}),Rg=M((e,t)=>{(function(){(t.exports=Og()).version="5.1.2"}).call(e)});const Dg=new(B(Rg(),1).default)({stdTTL:86400,checkperiod:3600,maxKeys:1e3,deleteOnExpire:!0,useClones:!1}),Pg={hits:0,misses:0,sets:0,totalKeys:0,lastReset:new Date},Fg={"gh-api-code":3600,"gh-api-repos":7200,"gh-api-prs":1800,"gh-api-file-content":3600,"gh-repo-structure-api":7200,"github-user":900,"npm-search":14400,"pypi-search":14400,default:86400},Ig=new Map;function Ng(e,t,n){let r=Lg(t),i=n?`${n}:${r}`:r;return`v1-${e}:${v.createHash("sha256").update(i).digest("hex")}`}function Lg(e){return null===e?"null":void 0===e?"undefined":"object"==typeof e?Array.isArray(e)?`[${e.map(Lg).join(",")}]`:`{${Object.keys(e).sort().map(t=>`"${t}":${Lg(e[t])}`).join(",")}}`:String(e)}async function Mg(e,t,n={}){if(n.skipCache)return await t();if(!n.forceRefresh)try{let t=Dg.get(e);if(void 0!==t)return Pg.hits++,t}catch{}if(Ig.has(e))return Ig.get(e);let r=(async()=>{try{let r=await t();if(n.forceRefresh||Pg.misses++,(n.shouldCache??(()=>!0))(r))try{let t=n.ttl;t||=function(e){return Fg[e]||Fg.default}(e.match(/^v\d+-([^:]+):/)?.[1]??"default"),Dg.set(e,r,t),Pg.sets++,Pg.totalKeys=Dg.keys().length}catch{}return r}finally{Ig.delete(e)}})();return Ig.set(e,r),r}var Bg=class{prefix;server;constructor(e,t="core"){this.server=e,this.prefix=`Octocode-${Dh}:${t}`}async info(e,t){await this.log("info",e,t)}async warning(e,t){await this.log("warning",e,t)}async error(e,t){await this.log("error",e,t)}async debug(e,t){await this.log("debug",e,t)}async log(e,t,n){let r={message:t,timestamp:(new Date).toISOString(),...n};try{this.server.isConnected()&&await this.server.sendLoggingMessage({level:e,logger:this.prefix,data:r})}catch{}}},Ug=class{static loggers=new Map;static getLogger(e,t){return this.loggers.has(t)||this.loggers.set(t,new Bg(e,t)),this.loggers.get(t)}};const $g={hasResults:["Follow 'mainResearchGoal', 'researchGoal', 'reasoning', 'hints' to navigate research","Do findings answer your question? If partial, identify gaps and continue","Got 3+ examples? Consider stopping to avoid over-research","Check last modified dates - skip stale content"],empty:["Try broader terms or related concepts","Remove filters one at a time to find what blocks results","Separate concerns into multiple simpler queries","<AGENT_INSTRUCTION>If stuck in loop - STOP and ask user</AGENT_INSTRUCTION>"]},zg={GITHUB_FETCH_CONTENT:"githubGetFileContent",GITHUB_SEARCH_CODE:"githubSearchCode",GITHUB_SEARCH_PULL_REQUESTS:"githubSearchPullRequests",GITHUB_SEARCH_REPOSITORIES:"githubSearchRepositories",GITHUB_VIEW_REPO_STRUCTURE:"githubViewRepoStructure",PACKAGE_SEARCH:"packageSearch",LOCAL_RIPGREP:"localSearchCode",LOCAL_FETCH_CONTENT:"localGetFileContent",LOCAL_FIND_FILES:"localFindFiles",LOCAL_VIEW_STRUCTURE:"localViewStructure"},Gg=new Set([zg.LOCAL_RIPGREP,zg.LOCAL_FETCH_CONTENT,zg.LOCAL_FIND_FILES,zg.LOCAL_VIEW_STRUCTURE]);let jg=null,Vg=null;const qg=yt({name:ft(),description:ft(),required:gt().optional()}),Hg=yt({name:ft(),description:ft(),content:ft(),args:_t(qg).optional()}),Kg=yt({name:ft(),description:ft(),schema:Et(ft()),hints:yt({hasResults:_t(ft()),empty:_t(ft()),dynamic:Et(_t(ft()).optional()).optional()})}),Wg=yt({mainResearchGoal:ft(),researchGoal:ft(),reasoning:ft(),bulkQueryTemplate:ft()}),Xg=yt({instructions:yt({base:ft().optional(),hasResults:ft().optional(),empty:ft().optional(),error:ft().optional()}).optional()}),Zg=yt({instructions:ft(),prompts:Et(Hg),toolNames:Et(ft()),baseSchema:Wg,tools:Et(Kg),baseHints:yt({hasResults:_t(ft()),empty:_t(ft())}),genericErrorHints:_t(ft()),bulkOperations:Xg.optional()});function Yg(){if(!jg)throw Sg("toolMetadata",Fh).catch(()=>{}),Error("Tool metadata not initialized. Call and await initializeToolMetadata() before using tool metadata.");return jg}function Qg(e){return e&&"object"==typeof e&&(Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let n=e[t];null!==n&&("object"==typeof n||"function"==typeof n)&&!Object.isFrozen(n)&&Qg(n)})),e}async function Jg(){if(!jg){if(Vg)return Vg;Vg=(async()=>{let e=await async function(e,t={}){let{maxRetries:n=10,initialDelayMs:r=1e3,headers:i={},method:o="GET",includeVersion:a=!1}=t,s=e;a&&(s=`${e}${e.includes("?")?"&":"?"}version=${encodeURIComponent(Dh)}`);let c={"User-Agent":`Octocode-MCP/${Dh}`,...i},l=globalThis.fetch;if(!l)throw Sg("fetchWithRetries","FETCH_NOT_AVAILABLE").catch(()=>{}),Error("Global fetch is not available in this environment.");let u,p=n+1;for(let e=1;e<=p;e++)try{let e=await l(s,{method:o,headers:c});if(!e.ok){Sg("fetchWithRetries","FETCH_HTTP_ERROR").catch(()=>{});let t=Error(Ph(e.status,e.statusText));throw t.status=e.status,t.headers=e.headers,t.retryable=429===e.status||e.status>=500&&e.status<600,t}return 204===e.status?null:await e.json()}catch(t){let n=t;if(n&&!1===n.retryable)throw t;if(u=t instanceof Error?t:Error(String(t)),e===p)break;let i=r*2**(e-1);if(n&&n.headers&&"function"==typeof n.headers.get){let e=n.headers.get("Retry-After");if(e){let t=parseInt(e,10);isNaN(t)||(i=1e3*t)}}await new Promise(e=>setTimeout(e,i))}throw await Sg("fetchWithRetries","FETCH_FAILED_AFTER_RETRIES"),Error(((e,t)=>`Failed to fetch after ${e} attempts: ${t}`)(p,u?.message||""))}("https://octocodeai.com/api/mcpContent",{maxRetries:3,includeVersion:!0}),t=Zg.safeParse(e);if(!t.success)throw await Sg("toolMetadata",Ih),Error("Invalid tool metadata format from remote source.");let n=t.data,r=n.toolNames,i=n.baseSchema;jg=Qg({instructions:n.instructions,prompts:n.prompts,toolNames:r,baseSchema:{mainResearchGoal:i.mainResearchGoal,researchGoal:i.researchGoal,reasoning:i.reasoning,bulkQuery:e=>i.bulkQueryTemplate.replace("{toolName}",e)},tools:n.tools,baseHints:n.baseHints,genericErrorHints:n.genericErrorHints,bulkOperations:n.bulkOperations})})(),await Vg}}const e_=new Proxy({},{get(e,t){if(jg){let e=jg.toolNames[t];if(void 0!==e)return e}return zg[t]},ownKeys:()=>jg?Object.keys(jg.toolNames):Object.keys(zg),getOwnPropertyDescriptor:(e,t)=>jg?t in jg.toolNames?{enumerable:!0,configurable:!0,value:jg.toolNames[t]}:void 0:t in zg?{enumerable:!0,configurable:!0,value:zg[t]}:void 0}),t_=new Proxy({},{get:(e,t)=>jg?jg.baseSchema[t]:"bulkQuery"===t?e=>`Research queries for ${e} (1-3 queries per call for optimal resource management). Review schema before use for optimal results`:""});function n_(e){if(!jg)return!1;let t=jg.tools??{};return Object.prototype.hasOwnProperty.call(t,e)}function r_(e,t){if(!jg||!jg.tools[e])return[];let n=function(e){return Gg.has(e)}(e)?$g[t]??[]:jg.baseHints[t]??[];return[...n,...jg.tools[e]?.hints[t]??[]]}function i_(e,t){return Yg().tools[e]?.hints?.dynamic?.[t]??[]}new Proxy([],{get:(e,t)=>jg?jg.genericErrorHints[t]:[][t]});const o_=new Proxy({},{get:(e,t)=>jg?.tools[t]?.description??""});function a_(e){return new Proxy({},{get:(t,n)=>new Proxy({},{get:(t,n)=>jg?(jg.tools[e]?.schema??{})[n]??"":""})})}new Proxy({},{get:(e,t)=>jg?"base"===t?jg.baseHints:jg.tools[t]?.hints??{hasResults:[],empty:[]}:{hasResults:[],empty:[]},ownKeys:()=>["base",...Object.keys(jg?.tools??{})],getOwnPropertyDescriptor:(e,t)=>jg?"base"===t||jg.tools[t]?{enumerable:!0,configurable:!0,value:"base"===t?jg.baseHints:jg.tools[t]?.hints??{hasResults:[],empty:[]}}:void 0:"base"===t?{enumerable:!0,configurable:!0,value:{hasResults:[],empty:[]}}:void 0});const s_=a_(e_.GITHUB_FETCH_CONTENT),c_=a_(e_.GITHUB_SEARCH_CODE),l_=a_(e_.GITHUB_SEARCH_REPOSITORIES),u_=a_(e_.GITHUB_SEARCH_PULL_REQUESTS),p_=a_(e_.GITHUB_VIEW_REPO_STRUCTURE),d_=a_(e_.PACKAGE_SEARCH),m_=a_(e_.LOCAL_RIPGREP),f_=a_(e_.LOCAL_FETCH_CONTENT),h_=a_(e_.LOCAL_FIND_FILES),g_=a_(e_.LOCAL_VIEW_STRUCTURE);var __=class{static sanitizeContent(e){let t=this.detectSecrets(e);return{content:t.sanitizedContent,hasSecrets:t.hasSecrets,secretsDetected:t.secretsDetected,warnings:t.secretsDetected}}static detectSecrets(e){let t=e,n=new Set;try{for(let e of ag){let r=t.match(e.regex);r&&r.length>0&&(r.forEach(t=>n.add(e.name)),t=t.replace(e.regex,`[REDACTED-${e.name.toUpperCase()}]`))}}catch{return{hasSecrets:!0,secretsDetected:["detection-error"],sanitizedContent:"[CONTENT-REDACTED-DETECTION-ERROR]"}}let r=Array.from(n);return{hasSecrets:r.length>0,secretsDetected:r,sanitizedContent:t}}static validateInputParameters(e){if(!e||"object"!=typeof e)return{sanitizedParams:{},isValid:!1,hasSecrets:!1,warnings:["Invalid parameters: must be an object"]};let t={},n=new Set,r=!1,i=!1;for(let[o,a]of Object.entries(e))if("string"==typeof o&&""!==o.trim())if(["__proto__","constructor","prototype"].includes(o))i=!0,n.add(`Dangerous parameter key blocked: ${o}`);else if("string"==typeof a){let e=a;a.length>1e4&&(n.add(`Parameter ${o} exceeds maximum length (10,000 characters)`),e=a.substring(0,1e4));let i=this.detectSecrets(e);i.hasSecrets&&(r=!0,i.secretsDetected.forEach(e=>n.add(`Secrets detected in ${o}: ${e}`))),t[o]=i.sanitizedContent}else if(Array.isArray(a))a.length>100?(n.add(`Parameter ${o} array exceeds maximum length (100 items)`),t[o]=a.slice(0,100)):t[o]=a;else if("object"==typeof a&&a){let e=this.validateInputParameters(a);if(!e.isValid){i=!0,n.add(`Invalid nested object in parameter ${o}: ${e.warnings.join(", ")}`);continue}t[o]=e.sanitizedParams,r||=e.hasSecrets}else t[o]=a;else i=!0,n.add(`Invalid parameter key: ${o}`);return{sanitizedParams:t,isValid:!i,hasSecrets:r,warnings:Array.from(n)}}};function y_(e){return null==e}var v_={isNothing:y_,isObject:function(e){return"object"==typeof e&&!!e},toArray:function(e){return Array.isArray(e)?e:y_(e)?[]:[e]},repeat:function(e,t){var n,r="";for(n=0;n<t;n+=1)r+=e;return r},isNegativeZero:function(e){return 0===e&&1/e==-1/0},extend:function(e,t){var n,r,i,o;if(t)for(n=0,r=(o=Object.keys(t)).length;n<r;n+=1)e[i=o[n]]=t[i];return e}};function b_(e,t){var n="",r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(n+="\n\n"+e.mark.snippet),r+" "+n):r}function E_(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=b_(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}E_.prototype=Object.create(Error.prototype),E_.prototype.constructor=E_,E_.prototype.toString=function(e){return this.name+": "+b_(this,e)};var x_=E_,w_=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],A_=["scalar","sequence","mapping"],T_=function(e,t){if(t||={},Object.keys(t).forEach(function(t){if(-1===w_.indexOf(t))throw new x_('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}(t.styleAliases||null),-1===A_.indexOf(this.kind))throw new x_('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function S_(e,t){var n=[];return e[t].forEach(function(e){var t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}function k_(e){return this.extend(e)}k_.prototype.extend=function(e){var t=[],n=[];if(e instanceof T_)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new x_("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}t.forEach(function(e){if(!(e instanceof T_))throw new x_("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new x_("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new x_("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(e){if(!(e instanceof T_))throw new x_("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(k_.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=S_(r,"implicit"),r.compiledExplicit=S_(r,"explicit"),r.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(e){e.multi?(n.multi[e.kind].push(e),n.multi.fallback.push(e)):n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(r);return n}(r.compiledImplicit,r.compiledExplicit),r};var C_=new k_({explicit:[new T_("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null===e?"":e}}),new T_("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null===e?[]:e}}),new T_("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null===e?{}:e}})]}),O_=new T_("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),R_=new T_("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function D_(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function P_(e){return 48<=e&&e<=55}function F_(e){return 48<=e&&e<=57}var I_=new T_("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n=e.length,r=0,i=!1;if(!n)return!1;if(("-"===(t=e[r])||"+"===t)&&(t=e[++r]),"0"===t){if(r+1===n)return!0;if("b"===(t=e[++r])){for(r++;r<n;r++)if("_"!==(t=e[r])){if("0"!==t&&"1"!==t)return!1;i=!0}return i&&"_"!==t}if("x"===t){for(r++;r<n;r++)if("_"!==(t=e[r])){if(!D_(e.charCodeAt(r)))return!1;i=!0}return i&&"_"!==t}if("o"===t){for(r++;r<n;r++)if("_"!==(t=e[r])){if(!P_(e.charCodeAt(r)))return!1;i=!0}return i&&"_"!==t}}if("_"===t)return!1;for(;r<n;r++)if("_"!==(t=e[r])){if(!F_(e.charCodeAt(r)))return!1;i=!0}return!(!i||"_"===t)},construct:function(e){var t,n=e,r=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),("-"===(t=n[0])||"+"===t)&&("-"===t&&(r=-1),t=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===t){if("b"===n[1])return r*parseInt(n.slice(2),2);if("x"===n[1])return r*parseInt(n.slice(2),16);if("o"===n[1])return r*parseInt(n.slice(2),8)}return r*parseInt(n,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!v_.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),N_=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),L_=/^[-+]?[0-9]+e/,M_=new T_("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return!(null===e||!N_.test(e)||"_"===e[e.length-1])},construct:function(e){var t=e.replace(/_/g,"").toLowerCase(),n="-"===t[0]?-1:1;return"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?1/0:-1/0:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||v_.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(e===1/0)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(e===-1/0)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v_.isNegativeZero(e))return"-0.0";return n=e.toString(10),L_.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),B_=C_.extend({implicit:[O_,R_,I_,M_]}),U_=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),$_=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),z_=new T_("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==U_.exec(e)||null!==$_.exec(e))},construct:function(e){var t,n,r,i,o,a,s,c,l=0,u=null;if(null===(t=U_.exec(e))&&(t=$_.exec(e)),null===t)throw Error("Date resolve error");if(n=+t[1],r=t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(o=+t[4],a=+t[5],s=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l=+l}return t[9]&&(u=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(u=-u)),c=new Date(Date.UTC(n,r,i,o,a,s,l)),u&&c.setTime(c.getTime()-u),c},instanceOf:Date,represent:function(e){return e.toISOString()}}),G_=new T_("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),j_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",V_=new T_("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,o=j_;for(n=0;n<i;n++)if(!((t=o.indexOf(e.charAt(n)))>64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,o=j_,a=0,s=[];for(t=0;t<i;t++)t%4==0&&t&&(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|o.indexOf(r.charAt(t));return 0==(n=i%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===n?(s.push(a>>10&255),s.push(a>>2&255)):12===n&&s.push(a>>4&255),new Uint8Array(s)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,r="",i=0,o=e.length,a=j_;for(t=0;t<o;t++)t%3==0&&t&&(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]),i=(i<<8)+e[t];return 0==(n=o%3)?(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]):2===n?(r+=a[i>>10&63],r+=a[i>>4&63],r+=a[i<<2&63],r+=a[64]):1===n&&(r+=a[i>>2&63],r+=a[i<<4&63],r+=a[64],r+=a[64]),r}}),q_=Object.prototype.hasOwnProperty,H_=Object.prototype.toString,K_=new T_("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,i,o,a=[],s=e;for(t=0,n=s.length;t<n;t+=1){if(r=s[t],o=!1,"[object Object]"!==H_.call(r))return!1;for(i in r)if(q_.call(r,i)){if(o)return!1;o=!0}if(!o)return!1;if(-1!==a.indexOf(i))return!1;a.push(i)}return!0},construct:function(e){return null===e?[]:e}}),W_=Object.prototype.toString,X_=new T_("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,i,o,a=e;for(o=Array(a.length),t=0,n=a.length;t<n;t+=1){if(r=a[t],"[object Object]"!==W_.call(r)||1!==(i=Object.keys(r)).length)return!1;o[t]=[i[0],r[i[0]]]}return!0},construct:function(e){if(null===e)return[];var t,n,r,i,o,a=e;for(o=Array(a.length),t=0,n=a.length;t<n;t+=1)r=a[t],i=Object.keys(r),o[t]=[i[0],r[i[0]]];return o}}),Z_=Object.prototype.hasOwnProperty,Y_=new T_("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,n=e;for(t in n)if(Z_.call(n,t)&&null!==n[t])return!1;return!0},construct:function(e){return null===e?{}:e}}),Q_=B_.extend({implicit:[z_,G_],explicit:[V_,K_,X_,Y_]});function J_(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}Object.prototype.hasOwnProperty;for(var ey=Array(256),ty=Array(256),ny=0;ny<256;ny++)ey[ny]=J_(ny)?1:0,ty[ny]=J_(ny);var ry=Object.prototype.toString,iy=Object.prototype.hasOwnProperty,oy=65279,ay={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},sy=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],cy=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function ly(e){var t,n,r=e.toString(16).toUpperCase();if(e<=255)t="x",n=2;else if(e<=65535)t="u",n=4;else{if(!(e<=4294967295))throw new x_("code point within a string may not be greater than 0xFFFFFFFF");t="U",n=8}return"\\"+t+v_.repeat("0",n-r.length)+r}function uy(e){this.schema=e.schema||Q_,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=v_.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var n,r,i,o,a,s,c;if(null===t)return{};for(n={},i=0,o=(r=Object.keys(t)).length;i<o;i+=1)a=r[i],s=String(t[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(c=e.compiledTypeMap.fallback[a])&&iy.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[a]=s;return n}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType='"'===e.quotingType?2:1,this.forceQuotes=e.forceQuotes||!1,this.replacer="function"==typeof e.replacer?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function py(e,t){for(var n,r=v_.repeat(" ",t),i=0,o=-1,a="",s=e.length;i<s;)-1===(o=e.indexOf("\n",i))?(n=e.slice(i),i=s):(n=e.slice(i,o+1),i=o+1),n.length&&"\n"!==n&&(a+=r),a+=n;return a}function dy(e,t){return"\n"+v_.repeat(" ",e.indent*t)}function my(e){return 32===e||9===e}function fy(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&e!==oy||65536<=e&&e<=1114111}function hy(e){return fy(e)&&e!==oy&&13!==e&&10!==e}function gy(e,t,n){var r=hy(e),i=r&&!my(e);return(n?r:r&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e)&&35!==e&&!(58===t&&!i)||hy(t)&&!my(t)&&35===e||58===t&&i}function _y(e,t){var n,r=e.charCodeAt(t);return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1))>=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function yy(e){return/^\n* /.test(e)}function vy(e,t){var n=yy(e)?String(t):"",r="\n"===e[e.length-1];return n+(!r||"\n"!==e[e.length-2]&&"\n"!==e?r?"":"-":"+")+"\n"}function by(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Ey(e,t){if(""===e||" "===e[0])return e;for(var n,r,i=/ [^ ]/g,o=0,a=0,s=0,c="";n=i.exec(e);)(s=n.index)-o>t&&(r=a>o?a:s,c+="\n"+e.slice(o,r),o=r+1),a=s;return c+="\n",e.length-o>t&&a>o?c+=e.slice(o,a)+"\n"+e.slice(a+1):c+=e.slice(o),c.slice(1)}function xy(e,t,n,r){var i,o,a,s="",c=e.tag;for(i=0,o=n.length;i<o;i+=1)a=n[i],e.replacer&&(a=e.replacer.call(n,String(i),a)),(Ay(e,t+1,a,!0,!0,!1,!0)||void 0===a&&Ay(e,t+1,null,!0,!0,!1,!0))&&((!r||""!==s)&&(s+=dy(e,t)),e.dump&&10===e.dump.charCodeAt(0)?s+="-":s+="- ",s+=e.dump);e.tag=c,e.dump=s||"[]"}function wy(e,t,n){var r,i,o,a,s,c=n?e.explicitTypes:e.implicitTypes;for(i=0,o=c.length;i<o;i+=1)if(((a=c[i]).instanceOf||a.predicate)&&(!a.instanceOf||"object"==typeof t&&t instanceof a.instanceOf)&&(!a.predicate||a.predicate(t))){if(n?a.multi&&a.representName?e.tag=a.representName(t):e.tag=a.tag:e.tag="?",a.represent){if(s=e.styleMap[a.tag]||a.defaultStyle,"[object Function]"===ry.call(a.represent))r=a.represent(t,s);else{if(!iy.call(a.represent,s))throw new x_("!<"+a.tag+'> tag resolver accepts not "'+s+'" style');r=a.represent[s](t,s)}e.dump=r}return!0}return!1}function Ay(e,t,n,r,i,o,a){e.tag=null,e.dump=n,wy(e,n,!1)||wy(e,n,!0);var s,c=ry.call(e.dump),l=r;r&&=e.flowLevel<0||e.flowLevel>t;var u,p,d="[object Object]"===c||"[object Array]"===c;if(d&&(p=-1!==(u=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||p||2!==e.indent&&t>0)&&(i=!1),p&&e.usedDuplicates[u])e.dump="*ref_"+u;else{if(d&&p&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),"[object Object]"===c)r&&0!==Object.keys(e.dump).length?(function(e,t,n,r){var i,o,a,s,c,l,u="",p=e.tag,d=Object.keys(n);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new x_("sortKeys must be a boolean or a function");for(i=0,o=d.length;i<o;i+=1)l="",(!r||""!==u)&&(l+=dy(e,t)),s=n[a=d[i]],e.replacer&&(s=e.replacer.call(n,a,s)),Ay(e,t+1,a,!0,!0,!0)&&((c=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&10===e.dump.charCodeAt(0)?l+="?":l+="? "),l+=e.dump,c&&(l+=dy(e,t)),Ay(e,t+1,s,!0,c)&&(e.dump&&10===e.dump.charCodeAt(0)?l+=":":l+=": ",u+=l+=e.dump));e.tag=p,e.dump=u||"{}"}(e,t,e.dump,i),p&&(e.dump="&ref_"+u+e.dump)):(function(e,t,n){var r,i,o,a,s,c="",l=e.tag,u=Object.keys(n);for(r=0,i=u.length;r<i;r+=1)s="",""!==c&&(s+=", "),e.condenseFlow&&(s+='"'),a=n[o=u[r]],e.replacer&&(a=e.replacer.call(n,o,a)),Ay(e,t,o,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Ay(e,t,a,!1,!1)&&(c+=s+=e.dump));e.tag=l,e.dump="{"+c+"}"}(e,t,e.dump),p&&(e.dump="&ref_"+u+" "+e.dump));else if("[object Array]"===c)r&&0!==e.dump.length?(e.noArrayIndent&&!a&&t>0?xy(e,t-1,e.dump,i):xy(e,t,e.dump,i),p&&(e.dump="&ref_"+u+e.dump)):(function(e,t,n){var r,i,o,a="",s=e.tag;for(r=0,i=n.length;r<i;r+=1)o=n[r],e.replacer&&(o=e.replacer.call(n,String(r),o)),(Ay(e,t,o,!1,!1)||void 0===o&&Ay(e,t,null,!1,!1))&&(""!==a&&(a+=","+(e.condenseFlow?"":" ")),a+=e.dump);e.tag=s,e.dump="["+a+"]"}(e,t,e.dump),p&&(e.dump="&ref_"+u+" "+e.dump));else{if("[object String]"!==c){if("[object Undefined]"===c)return!1;if(e.skipInvalid)return!1;throw new x_("unacceptable kind of an object to dump "+c)}"?"!==e.tag&&function(e,t,n,r,i){e.dump=function(){if(0===t.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==sy.indexOf(t)||cy.test(t)))return 2===e.quotingType?'"'+t+'"':"'"+t+"'";var o=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),s=r||e.flowLevel>-1&&n>=e.flowLevel;switch(function(e,t,n,r,i,o,a,s){var c,l=0,u=null,p=!1,d=!1,m=-1!==r,f=-1,h=function(e){return fy(e)&&e!==oy&&!my(e)&&45!==e&&63!==e&&58!==e&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e&&35!==e&&38!==e&&42!==e&&33!==e&&124!==e&&61!==e&&62!==e&&39!==e&&34!==e&&37!==e&&64!==e&&96!==e}(_y(e,0))&&function(e){return!my(e)&&58!==e}(_y(e,e.length-1));if(t||a)for(c=0;c<e.length;l>=65536?c+=2:c++){if(!fy(l=_y(e,c)))return 5;h&&=gy(l,u,s),u=l}else{for(c=0;c<e.length;l>=65536?c+=2:c++){if(10===(l=_y(e,c)))p=!0,m&&(d||=c-f-1>r&&" "!==e[f+1],f=c);else if(!fy(l))return 5;h&&=gy(l,u,s),u=l}d||=m&&c-f-1>r&&" "!==e[f+1]}return p||d?n>9&&yy(e)?5:a?2===o?5:2:d?4:3:!h||a||i(e)?2===o?5:2:1}(t,s,e.indent,a,function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}(e,t)},e.quotingType,e.forceQuotes&&!r,i)){case 1:return t;case 2:return"'"+t.replace(/'/g,"''")+"'";case 3:return"|"+vy(t,e.indent)+by(py(t,o));case 4:return">"+vy(t,e.indent)+by(py(function(e,t){for(var n,r,i=/(\n+)([^\n]*)/g,o=function(){var n=e.indexOf("\n");return n=-1===n?e.length:n,i.lastIndex=n,Ey(e.slice(0,n),t)}(),a="\n"===e[0]||" "===e[0];r=i.exec(e);){var s=r[1],c=r[2];n=" "===c[0],o+=s+(a||n||""===c?"":"\n")+Ey(c,t),a=n}return o}(t,a),o));case 5:return'"'+function(e){for(var t,n="",r=0,i=0;i<e.length;r>=65536?i+=2:i++)r=_y(e,i),!(t=ay[r])&&fy(r)?(n+=e[i],r>=65536&&(n+=e[i+1])):n+=t||ly(r);return n}(t)+'"';default:throw new x_("impossible error: invalid scalar style")}}()}(e,e.dump,t,o,l)}null!==e.tag&&"?"!==e.tag&&(s=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),s="!"===e.tag[0]?"!"+s:"tag:yaml.org,2002:"===s.slice(0,18)?"!!"+s.slice(18):"!<"+s+">",e.dump=s+" "+e.dump)}return!0}function Ty(e,t){var n,r,i=[],o=[];for(Sy(e,i,o),n=0,r=o.length;n<r;n+=1)t.duplicates.push(i[o[n]]);t.usedDuplicates=Array(r)}function Sy(e,t,n){var r,i,o;if("object"==typeof e&&e)if(-1!==(i=t.indexOf(e)))-1===n.indexOf(i)&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,o=e.length;i<o;i+=1)Sy(e[i],t,n);else for(i=0,o=(r=Object.keys(e)).length;i<o;i+=1)Sy(e[r[i]],t,n)}function ky(e){return e.split("")}function Cy(e,t){return t.includes(e)}var Oy=class extends Error{constructor(e,t){super(),this.name="DefaultsError",this.message=e,this.defs=t}};function Ry(e,t,n){!0===e?e={}:"object"==typeof e&&e&&(e={...e});let r=e||{};if(n)for(let e in r)if(qy(r,e)&&!qy(t,e))throw new Oy("`"+e+"` is not a supported option",t);for(let n in t)if(qy(t,n))if(e&&qy(e,n))if("ecma"===n){let t=0|e[n];t>5&&t<2015&&(t+=2009),r[n]=t}else r[n]=e&&qy(e,n)?e[n]:t[n];else r[n]=t[n];return r}function Dy(){}function Py(){return!1}function Fy(){return!0}function Iy(){return this}function Ny(){return null}var Ly=function(){function e(e,n,r=!0){let i=[];for(let o=0;o<e.length;++o){let a=e[o].transform(n,r);a instanceof Wv?i.push(a):a instanceof t&&i.push(...a.v)}return i}function t(e){this.v=e}return e.splice=function(e){return new t(e)},e.skip={},e}();function My(e,t,n){return n||={},t&&(n.start||=t.start,n.end||=t.end),new e(n)}function By(e,t){e.includes(t)||e.push(t)}function Uy(e,t){return e.replace(/{(.+?)}/g,function(e,n){return t&&t[n]})}function $y(e,t){for(var n=e.length;--n>=0;)e[n]===t&&e.splice(n,1)}function zy(e,t){if(e.length<2)return e.slice();function n(e,n){for(var r=[],i=0,o=0,a=0;i<e.length&&o<n.length;)t(e[i],n[o])<=0?r[a++]=e[i++]:r[a++]=n[o++];return i<e.length&&r.push.apply(r,e.slice(i)),o<n.length&&r.push.apply(r,n.slice(o)),r}return function e(t){if(t.length<=1)return t;var r=Math.floor(t.length/2),i=t.slice(0,r),o=t.slice(r);return n(i=e(i),o=e(o))}(e)}function Gy(e){return Array.isArray(e)||(e=e.split(" ")),new Set(e.sort())}function jy(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}function Vy(e){var t=Object.create(null);return e.forEach(function(e,n){t["$"+n]=e}),t}function qy(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Hy(e,t){return!0===e||e instanceof RegExp&&e.test(t)}var Ky={"\0":"0","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Wy(e){return e.replace(/[\0\n\r\u2028\u2029]/g,function(t,n){return("\\"!=e[n-1]||"\\"==e[n-2]&&!/(?:^|[^\\])(?:\\{2})*$/.test(e.slice(0,n-1))?"\\":"")+Ky[t]})}const Xy=/^[\\/|\0\s\w^$.[\]()]*$/,Zy=e=>Xy.test(e);function Yy(e,t){return e._annotations&t}function Qy(e,t){e._annotations|=t}function Jy(e,t){e._annotations&=~t}var ev="",tv=new Map,nv="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with",rv="false null true",iv="enum import super this "+rv+" "+nv,ov="implements interface package private protected public static "+iv,av="return new delete throw else case yield await";nv=Gy(nv),iv=Gy(iv),av=Gy(av),rv=Gy(rv),ov=Gy(ov);var sv=Gy(ky("+-*&%=<>!?|~^")),cv=/^0x[0-9a-f]+$/i,lv=/^0[0-7]+$/,uv=/^0o[0-7]+$/i,pv=/^0b[01]+$/i,dv=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,mv=/^(0[xob])?[0-9a-f]+n$/i,fv=/in(?:stanceof)?/y,hv=Gy("in.instanceof.typeof.new.void.delete.++.--.+.-.!.~.&.|.^.*.**./.%.>>.<<.>>>.<.>.<=.>=.==.===.!=.!==.?.=.+=.-=.||=.&&=.??=./=.*=.**=.%=.>>=.<<=.>>>=.|=.^=.&=.&&.??.||".split(".")),gv=Gy(ky(" \n\r\t\f\v \u2028\u2029 \ufeff")),_v=Gy(ky("\n\r\u2028\u2029")),yv=Gy(ky(";]),:")),vv=Gy(ky("[{(,;:")),bv=Gy(ky("[]{}(),;:")),Ev={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function xv(e,t){if(wv(e.charCodeAt(t))){if(Av(e.charCodeAt(t+1)))return e.charAt(t)+e.charAt(t+1)}else if(Av(e.charCodeAt(t))&&wv(e.charCodeAt(t-1)))return e.charAt(t-1)+e.charAt(t);return e.charAt(t)}function wv(e){return e>=55296&&e<=56319}function Av(e){return e>=56320&&e<=57343}function Tv(e){return e>=48&&e<=57}function Sv(e){return Ev.ID_Start.test(e)}function kv(e){return Ev.ID_Continue.test(e)}const Cv=/^[a-z_$][a-z0-9_$]*$/i;function Ov(e){return Cv.test(e)}function Rv(e,t){if(Cv.test(e))return!0;if(!t&&/[\ud800-\udfff]/.test(e))return!1;var n=Ev.ID_Start.exec(e);return!(!n||0!==n.index||(e=e.slice(n[0].length))&&(!(n=Ev.ID_Continue.exec(e))||n[0].length!==e.length))}function Dv(e,t=!0){if(!t&&e.includes("e"))return NaN;if(cv.test(e))return parseInt(e.substr(2),16);if(lv.test(e))return parseInt(e.substr(1),8);if(uv.test(e))return parseInt(e.substr(2),8);if(pv.test(e))return parseInt(e.substr(2),2);if(dv.test(e))return parseFloat(e);var n=parseFloat(e);return n==e?n:void 0}var Pv=class extends Error{constructor(e,t,n,r,i){super(),this.name="SyntaxError",this.message=e,this.filename=t,this.line=n,this.col=r,this.pos=i}};function Fv(e,t,n,r,i){throw new Pv(e,t,n,r,i)}function Iv(e,t,n){return e.type==t&&(null==n||e.value==n)}var Nv={};function Lv(e,t,n,r){var i={text:e,filename:t,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function o(){return xv(i.text,i.pos)}function a(){if(46!==i.text.charCodeAt(i.pos+1))return!1;let e=i.text.charCodeAt(i.pos+2);return e<48||e>57}function s(e,t){var n=xv(i.text,i.pos++);if(e&&!n)throw Nv;return _v.has(n)?(i.newline_before=i.newline_before||!t,++i.line,i.col=0,"\r"==n&&"\n"==o()&&(++i.pos,n="\n")):(n.length>1&&(++i.pos,++i.col),++i.col),n}function c(e){for(;e--;)s()}function l(e){return i.text.substr(i.pos,e.length)==e}function u(){for(var e=i.text,t=i.pos,n=i.text.length;t<n;++t){var r=e[t];if(_v.has(r))return t}return-1}function p(e,t){var n=i.text.indexOf(e,i.pos);if(t&&-1==n)throw Nv;return n}function d(){i.tokline=i.line,i.tokcol=i.col,i.tokpos=i.pos}var m=!1,f=null;function h(e,n,r){i.regex_allowed="operator"==e&&!Bv.has(n)||"keyword"==e&&av.has(n)||"punc"==e&&vv.has(n)||"arrow"==e,"punc"!=e||"."!=n&&"?."!=n?r||(m=!1):m=!0;let o=i.tokline,a=i.tokcol,s=i.tokpos,c=i.newline_before,l=t,u=[],p=[];r||(u=i.comments_before,p=i.comments_before=[]),i.newline_before=!1;let d=new Kv(e,n,o,a,s,c,u,p,l);return r||(f=d),d}function g(){for(;gv.has(o());)s()}function _(e){for(var t,n="",r=0;(t=o())&&e(t,r++);)n+=s();return n}function y(e){Fv(e,t,i.tokline,i.tokcol,i.tokpos)}function v(e){var t=!1,n=!1,r=!1,i="."==e,o=!1,a=!1,s=_(function(s,c){if(o)return!1;var l=s.charCodeAt(0);switch(l){case 95:return a=!0;case 98:case 66:return r=!0;case 111:case 79:case 120:case 88:return!r&&(r=!0);case 101:case 69:return!!r||!t&&(t=n=!0);case 45:return n||0==c&&!e;case 43:return n;case n=!1,46:return!(i||r||t)&&(i=!0);case 110:return o=!0,!0}return l>=48&&l<=57||l>=97&&l<=102||l>=65&&l<=70});if(e&&(s=e+s),ev=s,lv.test(s)&&M.has_directive("use strict")&&y("Legacy octal literals are not allowed in strict mode"),a&&(s.endsWith("_")?y("Numeric separators are not allowed at the end of numeric literals"):s.includes("__")&&y("Only one underscore is allowed as numeric separator"),s=s.replace(/_/g,"")),o){let e=s.slice(0,-1),t=Dv(e,cv.test(e));if(!i&&mv.test(s)&&!isNaN(t))return h("big_int",e);y("Invalid or unexpected token")}var c=Dv(s);if(!isNaN(c))return h("num",c);y("Invalid syntax: "+s)}function b(e){return e>="0"&&e<="7"}function E(e,t,n){var r=s(!0,e);switch(r.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(x(2,t));case 117:if("{"==o()){for(s(!0),"}"===o()&&y("Expecting hex-character between {}");"0"==o();)s(!0);var a,c=p("}",!0)-i.pos;return(c>6||(a=x(c,t))>1114111)&&y("Unicode reference out of bounds"),s(!0),function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)}(a)}return String.fromCharCode(x(4,t));case 10:return"";case 13:if("\n"==o())return s(!0,e),""}return b(r)?(n&&t&&("0"===r&&!b(o())||y("Octal escape sequences are not allowed in template strings")),function(e,t){var n=o();return n>="0"&&n<="7"&&(e+=s(!0))[0]<="3"&&(n=o())>="0"&&n<="7"&&(e+=s(!0)),"0"===e?"\0":(e.length>0&&M.has_directive("use strict")&&t&&y("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(e,8)))}(r,t)):r}function x(e,t){for(var n=0;e>0;--e){if(!t&&isNaN(parseInt(o(),16)))return parseInt(n,16)||"";var r=s(!0);isNaN(parseInt(r,16))&&y("Invalid hex-character pattern in string"),n+=r}return parseInt(n,16)}var w=L("Unterminated string constant",function(){let e=i.pos;for(var t=s(),n=[];;){var r=s(!0,!0);if("\\"==r)r=E(!0,!0);else if("\r"==r||"\n"==r)y("Unterminated string constant");else if(r==t)break;n.push(r)}var o=h("string",n.join(""));return ev=i.text.slice(e,i.pos),o.quote=t,o}),A=L("Unterminated template",function(e){e&&i.template_braces.push(i.brace_counter);var t,n,r="",a="";for(s(!0,!0);"`"!=(t=s(!0,!0));){if("\r"==t)"\n"==o()&&++i.pos,t="\n";else if("$"==t&&"{"==o())return s(!0,!0),i.brace_counter++,n=h(e?"template_head":"template_cont",r),tv.set(n,a),n.template_end=!1,n;if(a+=t,"\\"==t){var c=i.pos;t=E(!0,!(f&&("name"===f.type||"punc"===f.type&&(")"===f.value||"]"===f.value))),!0),a+=i.text.substr(c,i.pos-c)}r+=t}return i.template_braces.pop(),n=h(e?"template_head":"template_cont",r),tv.set(n,a),n.template_end=!0,n});function T(e){var t,n=i.regex_allowed,r=u();return-1==r?(t=i.text.substr(i.pos),i.pos=i.text.length):(t=i.text.substring(i.pos,r),i.pos=r),i.col=i.tokcol+(i.pos-i.tokpos),i.comments_before.push(h(e,t,!0)),i.regex_allowed=n,M}var S=L("Unterminated multiline comment",function(){var e=i.regex_allowed,t=p("*/",!0),n=i.text.substring(i.pos,t).replace(/\r\n|\r|\u2028|\u2029/g,"\n");return c(function(e){for(var t=0,n=0;n<e.length;n++)wv(e.charCodeAt(n))&&Av(e.charCodeAt(n+1))&&(t++,n++);return e.length-t}(n)+2),i.comments_before.push(h("comment2",n,!0)),i.newline_before=i.newline_before||n.includes("\n"),i.regex_allowed=e,M}),k=function(){let e=i.pos,t=e-1,n="c";for(;(n=i.text.charAt(++t))&&(n>="a"&&n<="z"||n>="A"&&n<="Z"););return t>e+1&&n&&"\\"!==n&&!kv(n)&&n<="~"?(i.pos+=t-e,i.col+=t-e,i.text.slice(e,i.pos)):C()},C=L("Unterminated identifier name",function(){var e,t=[],n=!1,r=function(){return n=!0,s(),"u"!==o()&&y("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),E(!1,!0)};if("\\"===(e=o()))Sv(e=r())||y("First identifier char is an invalid identifier char");else{if(!Sv(e))return"";s()}for(t.push(e);null!=(e=o());){if("\\"===(e=o()))kv(e=r())||y("Invalid escaped identifier char");else{if(!kv(e))break;s()}t.push(e)}let i=t.join("");return iv.has(i)&&n&&y("Escaped characters are not allowed in keywords"),i}),O=L("Unterminated regular expression",function(e){for(var t,n=!1,r=!1;t=s(!0);)if(_v.has(t))y("Unexpected line terminator");else if(n)/^[\u0000-\u007F]$/.test(t)?e+="\\"+t:e+=t,n=!1;else if("["==t)r=!0,e+=t;else if("]"==t&&r)r=!1,e+=t;else{if("/"==t&&!r)break;"\\"==t?n=!0:e+=t}return h("regexp","/"+e+"/"+k())});function R(e){return h("operator",function e(t){if(!o())return t;var n=t+o();return hv.has(n)?(s(),e(n)):t}(e||s()))}function D(){switch(s(),o()){case"/":return s(),T("comment1");case"*":return s(),S()}return i.regex_allowed?O(""):R("/")}function P(){return s(),">"===o()?(s(),h("arrow","=>")):R("=")}function F(){return s(),Tv(o().charCodeAt(0))?v("."):"."===o()?(s(),s(),h("expand","...")):h("punc",".")}function I(){var e=k();return m?h("name",e):rv.has(e)?h("atom",e):nv.has(e)?hv.has(e)?h("operator",e):h("keyword",e):h("name",e)}function N(){return s(),h("privatename",k())}function L(e,t){return function(n){try{return t(n)}catch(t){if(t!==Nv)throw t;y(e)}}}function M(e){if(null!=e)return O(e);for(r&&0==i.pos&&l("#!")&&(d(),c(2),T("comment5"));;){if(g(),d(),n){if(l("\x3c!--")){c(4),T("comment3");continue}if(l("--\x3e")&&i.newline_before){c(3),T("comment4");continue}}var t=o();if(!t)return h("eof");var u=t.charCodeAt(0);switch(u){case 34:case 39:return w();case 46:return F();case 47:var p=D();if(p===M)continue;return p;case 61:return P();case 63:if(!a())break;return s(),s(),h("punc","?.");case 96:return A(!0);case 123:i.brace_counter++;break;case 125:if(i.brace_counter--,i.template_braces.length>0&&i.template_braces[i.template_braces.length-1]===i.brace_counter)return A(!1)}if(Tv(u))return v();if(bv.has(t))return h("punc",s());if(sv.has(t))return R();if(92==u||Sv(t))return I();if(35==u)return N();break}y("Unexpected character '"+t+"'")}return M.next=s,M.peek=o,M.context=function(e){return e&&(i=e),i},M.add_directive=function(e){i.directive_stack[i.directive_stack.length-1].push(e),void 0===i.directives[e]?i.directives[e]=1:i.directives[e]++},M.push_directives_stack=function(){i.directive_stack.push([])},M.pop_directives_stack=function(){for(var e=i.directive_stack[i.directive_stack.length-1],t=0;t<e.length;t++)i.directives[e[t]]--;i.directive_stack.pop()},M.has_directive=function(e){return i.directives[e]>0},M.peek_next_token_start_or_newline=function(){for(var e=i.pos,t=!1;e<i.text.length;){var n=xv(i.text,e);if(_v.has(n))return{char:n,pos:e};if(t)"*"==n&&"/"==xv(i.text,e+1)?(e+=2,t=!1):e++;else{if(!gv.has(n)){if("/"==n){var r=xv(i.text,e+1);if("/"==r)return e=u(),{char:xv(i.text,e),pos:e};if("*"==r){t=!0,e+=2;continue}}return{char:n,pos:e}}e++}}return{char:null,pos:e}},M.ch_starts_binding_identifier=function(e,t){if("\\"==e)return!0;if(Sv(e)){if(fv.lastIndex=t,fv.test(i.text)){var n=xv(i.text,fv.lastIndex);if(!kv(n)&&"\\"!=n)return!1}return!0}return!1},M}var Mv=Gy(["typeof","void","delete","--","++","!","~","-","+"]),Bv=Gy(["--","++"]),Uv=Gy(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),$v=Gy(["??=","&&=","||="]),zv=function(e,t){for(var n=0;n<e.length;++n)for(let r of e[n])t[r]=n+1;return t}([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),Gv=Gy(["atom","num","big_int","string","regexp","name"]);function jv(e,t){let n=new WeakMap;t=Ry(t,{bare_returns:!1,ecma:null,expression:!1,filename:null,html5_comments:!0,module:!1,shebang:!0,strict:!1,toplevel:null},!0);var r={input:"string"==typeof e?Lv(e,t.filename,t.html5_comments,t.shebang):e,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:!0,in_loop:0,labels:[]};function i(e,t){return Iv(r.token,e,t)}function o(){return r.peeked||=r.input()}function a(){return r.prev=r.token,r.peeked||o(),r.token=r.peeked,r.peeked=null,r.in_directives=r.in_directives&&("string"==r.token.type||i("punc",";")),r.token}function s(){return r.prev}function c(e,t,n,i){var o=r.input.context();Fv(e,o.filename,t??o.tokline,n??o.tokcol,i??o.tokpos)}function l(e,t){c(t,e.line,e.col)}function u(e){e??=r.token,l(e,"Unexpected token: "+e.type+" ("+e.value+")")}function p(e,t){if(i(e,t))return a();l(r.token,"Unexpected token "+r.token.type+" «"+r.token.value+"», expected "+e+" «"+t+"»")}function d(e){return p("punc",e)}function m(e){return e.nlb||!e.comments_before.every(e=>!e.nlb)}function f(){return!t.strict&&(i("eof")||i("punc","}")||m(r.token))}function h(){return r.in_generator===r.in_function}function g(){return r.in_async===r.in_function||0===r.in_function&&r.input.has_directive("use strict")}function _(e){i("punc",";")?a():!e&&!f()&&u()}function y(){d("(");var e=Te(!0);return d(")"),e}function v(e){return function(...t){let n=r.token,i=e(...t);return i.start=n,i.end=s(),i}}function b(){(i("operator","/")||i("operator","/="))&&(r.peeked=null,r.token=r.input(r.token.value.substr(1)))}r.token=a();var E=v(function e(n,l,d){switch(b(),r.token.type){case"string":if(r.in_directives){var h=o();!ev.includes("\\")&&(Iv(h,"punc",";")||Iv(h,"punc","}")||m(h)||Iv(h,"eof"))?r.input.add_directive(r.token.value):r.in_directives=!1}var v=r.in_directives,E=w();return v&&E.body instanceof cx?new Yv(E.body):E;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return w();case"name":if("async"==r.token.value&&Iv(o(),"keyword","function"))return a(),a(),l&&c("functions are not allowed as the body of a loop"),k(Eb,!1,!0,n);if("import"==r.token.value&&!Iv(o(),"punc","(")&&!Iv(o(),"punc",".")){a();var S=function(){var e,t,n=s();i("name")&&(e=me(YE)),i("punc",",")&&a(),((t=se(!0))||e)&&p("name","from");var o=r.token;"string"!==o.type&&u(),a();let c=re();return new eE({start:n,imported_name:e,imported_names:t,module_name:new cx({start:o,value:o.value,quote:o.quote,end:o}),attributes:c,end:r.token})}();return _(),S}if("using"==r.token.value&&Iv(o(),"name")&&!m(o()))return a(),S=j(),_(),S;if("await"==r.token.value&&g()&&Iv(o(),"name","using")&&!m(o())){var C=r.input.peek_next_token_start_or_newline();if(r.input.ch_starts_binding_identifier(C.char,C.pos))return a(),S=V(),_(),S}return Iv(o(),"punc",":")?x():w();case"privatename":return r.in_class||c("Private field must be used in an enclosing class"),w();case"punc":switch(r.token.value){case"{":return new nb({start:r.token,body:L(),end:s()});case"[":case"(":return w();case";":return r.in_directives=!1,a(),new rb;default:u()}case"keyword":switch(r.token.value){case"break":return a(),A(Db);case"continue":return a(),A(Pb);case"debugger":return a(),_(),new Zv;case"do":a();var O=Se(e);p("keyword","while");var R=y();return _(!0),new cb({body:O,condition:R});case"while":return a(),new lb({condition:y(),body:Se(function(){return e(!1,!0)})});case"for":return a(),T();case"class":return a(),l&&c("classes are not allowed as the body of a loop"),d&&c("classes are not allowed as the body of an if"),ee(PE,n);case"function":return a(),l&&c("functions are not allowed as the body of a loop"),k(Eb,!1,!1,n);case"if":return a(),N();case"return":0==r.in_function&&!t.bare_returns&&c("'return' outside of function"),a();var D=null;return i("punc",";")?a():f()||(D=Te(!0),_()),new Cb({value:D});case"switch":return a(),new Lb({expression:y(),body:Se(M)});case"throw":return a(),m(r.token)&&c("Illegal newline after 'throw'"),D=Te(!0),_(),new Ob({value:D});case"try":return a(),B();case"var":return a(),S=$(),_(),S;case"let":return a(),S=z(),_(),S;case"const":return a(),S=G(),_(),S;case"with":return r.input.has_directive("use strict")&&c("Strict mode may not include a with statement"),a(),new mb({expression:y(),body:e()});case"export":if(!Iv(o(),"punc","("))return a(),S=ce(),i("punc",";")&&_(),S}}u()});function x(){var e=me(JE);"await"===e.name&&r.in_async===r.in_function&&l(r.prev,"await cannot be used as label inside async function"),r.labels.some(t=>t.name===e.name)&&c("Label "+e.name+" defined twice"),d(":"),r.labels.push(e);var t=E();return r.labels.pop(),t instanceof ab||e.references.forEach(function(t){t instanceof Pb&&(t=t.label.start,c("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos))}),new ob({body:t,label:e})}function w(e){return new Qv({body:(e=Te(!0),_(),e)})}function A(e){var t,n=null;f()||(n=me(rx,!0)),null==n?0==r.in_loop&&c(e.TYPE+" not inside a loop or switch"):(t=r.labels.find(e=>e.name===n.name),t||c("Undefined label "+n.name),n.thedef=t),_();var i=new e({label:n});return t&&t.references.push(i),i}function T(){var e="`for await` invalid in this context",t=r.token;"name"==t.type&&"await"==t.value?(g()||l(t,e),a()):t=!1,d("(");var n=null;if(i("punc",";"))t&&l(t,e);else{n=i("keyword","var")?(a(),$(!0)):i("keyword","let")?(a(),z(!0)):i("keyword","const")?(a(),G(!0)):i("name","using")&&Iv(o(),"name")&&("of"!=o().value||"="==r.input.peek_next_token_start_or_newline().char)?(a(),j(!0)):i("name","await")&&g()&&Iv(o(),"name","using")?(a(),V(!0)):Te(!0,!0);var s=i("operator","in"),c=i("name","of");if(t&&!c&&l(t,e),s||c)return n instanceof Vb?(n.definitions.length>1&&l(n.start,"Only one variable declaration allowed in for..in loop"),s&&n instanceof Xb&&l(n.start,"Invalid using declaration in for..in loop")):Ee(n)||(n=xe(n))instanceof xb||l(n.start,"Invalid left-hand side in for..in loop"),a(),s?function(e){var t=Te(!0);return d(")"),new pb({init:e,object:t,body:Se(function(){return E(!1,!0)})})}(n):function(e,t){var n=e instanceof Vb?e.definitions[0].name:null,r=Te(!0);return d(")"),new db({await:t,init:e,name:n,object:r,body:Se(function(){return E(!1,!0)})})}(n,!!t)}return function(e){d(";");var t=i("punc",";")?null:Te(!0);d(";");var n=i("punc",")")?null:Te(!0);return d(")"),new ub({init:e,condition:t,step:n,body:Se(function(){return E(!1,!0)})})}(n)}var S=function(e,t,n){m(r.token)&&c("Unexpected newline before arrow (=>)"),p("arrow","=>");var o=F(i("punc","{"),!1,n);return new bb({start:e,end:o.end,async:n,argnames:t,body:o})},k=function(e,t,n,r){var o=e===Eb;i("operator","*")&&(t=!0,a());var c=i("name")?me(o?VE:KE):null;o&&!c&&(r?e=vb:u()),c&&e!==yb&&!(c instanceof ME)&&u(s());var l=[],p=F(!0,t,n,c,l);return new e({start:l.start,end:p.end,is_generator:t,async:n,name:c,argnames:l,body:p})};class C{constructor(e,t,n=!1){this.is_parameter=e,this.duplicates_ok=n,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!t}add_parameter(e){if(this.parameters.has(e.value))null===this.duplicate&&(this.duplicate=e),this.check_strict();else if(this.parameters.add(e.value),this.is_parameter)switch(e.value){case"arguments":case"eval":case"yield":this.strict_mode&&l(e,"Unexpected "+e.value+" identifier as parameter inside strict mode");break;default:iv.has(e.value)&&u()}}mark_default_assignment(e){!1===this.default_assignment&&(this.default_assignment=e)}mark_spread(e){!1===this.spread&&(this.spread=e)}mark_strict_mode(){this.strict_mode=!0}is_strict(){return!1!==this.default_assignment||!1!==this.spread||this.strict_mode}check_strict(){this.is_strict()&&null!==this.duplicate&&!this.duplicates_ok&&l(this.duplicate,"Parameter "+this.duplicate.value+" was used already")}}function O(e){var t=new C(!0,r.input.has_directive("use strict"));for(d("(");!i("punc",")");){var n=R(t);if(e.push(n),i("punc",")")||d(","),n instanceof gb)break}a()}function R(e,t){var n,o=!1;return void 0===e&&(e=new C(!0,r.input.has_directive("use strict"))),i("expand","...")&&(o=r.token,e.mark_spread(r.token),a()),n=D(e,t),i("operator","=")&&!1===o&&(e.mark_default_assignment(r.token),a(),n=new _E({start:n.start,left:n,operator:"=",right:Te(!1),end:r.token})),!1!==o&&(i("punc",")")||u(),n=new gb({start:o,expression:n,end:o})),e.check_strict(),n}function D(e,t){var n,l=[],p=!0,m=!1,f=r.token;if(void 0===e&&(e=new C(!1,r.input.has_directive("use strict"),t===BE)),t=void 0===t?jE:t,i("punc","[")){for(a();!i("punc","]");){if(p?p=!1:d(","),i("expand","...")&&(m=!0,n=r.token,e.mark_spread(r.token),a()),i("punc"))switch(r.token.value){case",":l.push(new gx({start:r.token,end:r.token}));continue;case"]":break;case"[":case"{":l.push(D(e,t));break;default:u()}else i("name")?(e.add_parameter(r.token),l.push(me(t))):c("Invalid function parameter");i("operator","=")&&!1===m&&(e.mark_default_assignment(r.token),a(),l[l.length-1]=new _E({start:l[l.length-1].start,left:l[l.length-1],operator:"=",right:Te(!1),end:r.token})),m&&(i("punc","]")||c("Rest element must be last element"),l[l.length-1]=new gb({start:n,expression:l[l.length-1],end:n}))}return d("]"),e.check_strict(),new xb({start:f,names:l,is_array:!0,end:s()})}if(i("punc","{")){for(a();!i("punc","}");){if(p?p=!1:d(","),i("expand","...")&&(m=!0,n=r.token,e.mark_spread(r.token),a()),i("name")&&(Iv(o(),"punc")||Iv(o(),"operator"))&&[",","}","="].includes(o().value)){e.add_parameter(r.token);var h=s(),g=me(t);m?l.push(new gb({start:n,expression:g,end:g.end})):l.push(new EE({start:h,key:g.name,value:g,end:g.end}))}else{if(i("punc","}"))continue;var _=r.token,y=le();null===y?u(s()):"name"!==s().type||i("punc",":")?(d(":"),l.push(new EE({start:_,quote:_.quote,key:y,value:D(e,t),end:s()}))):l.push(new EE({start:s(),key:y,value:new t({start:s(),name:y,end:s()}),end:s()}))}m?i("punc","}")||c("Rest element must be last element"):i("operator","=")&&(e.mark_default_assignment(r.token),a(),l[l.length-1].value=new _E({start:l[l.length-1].value.start,left:l[l.length-1].value,operator:"=",right:Te(!1),end:r.token}))}return d("}"),e.check_strict(),new xb({start:f,names:l,is_array:!1,end:s()})}if(i("name"))return e.add_parameter(r.token),me(t);c("Invalid function parameter")}function P(e,t){var n,o,c,l=[];for(d("(");!i("punc",")");)n&&u(n),i("expand","...")?(n=r.token,t&&(o=r.token),a(),l.push(new gb({start:s(),expression:Te(),end:r.token}))):l.push(Te()),i("punc",")")||(d(","),i("punc",")")&&(c=s(),t&&(o=c)));return d(")"),e&&i("arrow","=>")?n&&c&&u(c):o&&u(o),l}function F(e,t,n,i,o){var a=r.in_loop,s=r.labels,c=r.in_generator,l=r.in_async;if(++r.in_function,t&&(r.in_generator=r.in_function),n&&(r.in_async=r.in_function),o&&O(o),e&&(r.in_directives=!0),r.in_loop=0,r.labels=[],e){r.input.push_directives_stack();var u=L();i&&de(i),o&&o.forEach(de),r.input.pop_directives_stack()}else u=[new Cb({start:r.token,value:Te(!1),end:r.token})];return--r.in_function,r.in_loop=a,r.labels=s,r.in_generator=c,r.in_async=l,u}function I(){return g()||c("Unexpected await expression outside async function",r.prev.line,r.prev.col,r.prev.pos),new Fb({start:s(),end:r.token,expression:_e(!0)})}function N(){var e=y(),t=E(!1,!1,!0),n=null;return i("keyword","else")&&(a(),n=E(!1,!1,!0)),new Nb({condition:e,body:t,alternative:n})}function L(){d("{");for(var e=[];!i("punc","}");)i("eof")&&u(),e.push(E());return a(),e}function M(){d("{");for(var e,t=[],n=null,o=null;!i("punc","}");)i("eof")&&u(),i("keyword","case")?(o&&(o.end=s()),n=[],o=new Ub({start:(e=r.token,a(),e),expression:Te(!0),body:n}),t.push(o),d(":")):i("keyword","default")?(o&&(o.end=s()),n=[],o=new Bb({start:(e=r.token,a(),d(":"),e),body:n}),t.push(o)):(n||u(),n.push(E()));return o&&(o.end=s()),a(),t}function B(){var e,t=null,n=null;if(e=new zb({start:r.token,body:L(),end:s()}),i("keyword","catch")){var o=r.token;if(a(),i("punc","{"))var l=null;else d("("),l=R(void 0,ZE),d(")");t=new Gb({start:o,argname:l,body:L(),end:s()})}return i("keyword","finally")&&(o=r.token,a(),n=new jb({start:o,body:L(),end:s()})),!t&&!n&&c("Missing catch/finally blocks"),new $b({body:e,bcatch:t,bfinally:n})}function U(e,t){for(var n,o=[];;){var l="var"===t?BE:"const"===t?$E:"let"===t?GE:"using"===t||"await using"===t?zE:null,u="using"===t||"await using"===t?Qb:Yb;if(i("punc","{")||i("punc","[")?n=new u({start:r.token,name:D(void 0,l),value:i("operator","=")?(p("operator","="),Te(!1,e)):null,end:s()}):"import"==(n=new u({start:r.token,name:me(l),value:i("operator","=")?(a(),Te(!1,e)):e||"const"!==t&&"using"!==t&&"await using"!==t?null:c("Missing initializer in "+t+" declaration"),end:s()})).name.name&&c("Unexpected token: import"),o.push(n),!i("punc",","))break;a()}return o}var $=function(e){return new Hb({start:s(),definitions:U(e,"var"),end:s()})},z=function(e){return new Kb({start:s(),definitions:U(e,"let"),end:s()})},G=function(e){return new Wb({start:s(),definitions:U(e,"const"),end:s()})},j=function(e){return new Xb({start:s(),await:!1,definitions:U(e,"using"),end:s()})},V=function(e){return new Xb({start:s(),await:!0,definitions:(a(),U(e,"await using")),end:s()})},q=function(e){var t=r.token;if(p("operator","new"),i("punc","."))return a(),p("name","target"),he(new LE({start:t,end:s()}),e);var n,o=W(!1);i("punc","(")?(a(),n=Z(")",!0)):n=[];var c=new iE({start:t,expression:o,args:n,end:s()});return fe(c),he(c,e)};function H(){var e,t=r.token;switch(t.type){case"name":e=pe(ex);break;case"num":e=new lx({start:t,end:t,value:t.value,raw:ev});break;case"big_int":e=new ux({start:t,end:t,value:t.value,raw:ev});break;case"string":fe(e=new cx({start:t,end:t,value:t.value,quote:t.quote}));break;case"regexp":let[n,r,i]=t.value.match(/^\/(.*)\/(\w*)$/);e=new px({start:t,end:t,value:{source:r,flags:i}});break;case"atom":switch(t.value){case"false":e=new vx({start:t,end:t});break;case"true":e=new bx({start:t,end:t});break;case"null":e=new mx({start:t,end:t})}}return a(),e}function K(e,t){var n=function(e,t){return t?new _E({start:e.start,left:e,operator:"=",right:t,end:t.end}):e};return e instanceof vE?n(new xb({start:e.start,end:e.end,is_array:!1,names:e.properties.map(e=>K(e))}),t):e instanceof EE?(e.value=K(e.value),n(e,t)):e instanceof gx?e:e instanceof xb?(e.names=e.names.map(e=>K(e)),n(e,t)):e instanceof ex?n(new jE({name:e.name,start:e.start,end:e.end}),t):e instanceof gb?(e.expression=K(e.expression),n(e,t)):e instanceof yE?n(new xb({start:e.start,end:e.end,is_array:!0,names:e.elements.map(e=>K(e))}),t):e instanceof gE?n(K(e.left,e.right),t):e instanceof _E?(e.left=K(e.left),e):void c("Invalid function parameter",e.start.line,e.start.col)}var W=function(e,t){if(i("operator","new"))return q(e);if(i("name","import")&&Iv(o(),"punc","."))return ie(e);var c,l=r.token,p=i("name","async")&&"["!=(c=o()).value&&"arrow"!=c.type&&H();if(i("punc")){switch(r.token.value){case"(":if(p&&!e)break;var d=P(t,!p);if(t&&i("arrow","=>"))return S(l,d.map(e=>K(e)),!!p);var m=p?new rE({expression:p,args:d}):Ae(l,d);if(m.start){let e=l.comments_before.length;if(n.set(l,e),m.start.comments_before.unshift(...l.comments_before),l.comments_before=m.start.comments_before,0==e&&l.comments_before.length>0){var f=l.comments_before[0];f.nlb||(f.nlb=l.nlb,l.nlb=!1)}l.comments_after=m.start.comments_after}m.start=l;var h=s();return m.end&&(h.comments_before=m.end.comments_before,m.end.comments_after.push(...h.comments_after),h.comments_after=m.end.comments_after),m.end=h,m instanceof rE&&fe(m),he(m,e);case"[":return he(Y(),e);case"{":return he(J(),e)}p||u()}if(t&&i("name")&&Iv(o(),"arrow")){var g=new jE({name:r.token.value,start:l,end:l});return a(),S(l,[g],!!p)}if(i("keyword","function")){a();var _=k(vb,!1,!!p);return _.start=l,_.end=s(),he(_,e)}if(p)return he(p,e);if(i("keyword","class")){a();var y=ee(IE);return y.start=l,y.end=s(),he(y,e)}return i("template_head")?he(X(),e):Gv.has(r.token.type)?he(H(),e):void u()};function X(){var e=[],t=r.token;for(e.push(new Tb({start:r.token,raw:tv.get(r.token),value:r.token.value,end:r.token}));!r.token.template_end;)a(),b(),e.push(Te(!0)),e.push(new Tb({start:r.token,raw:tv.get(r.token),value:r.token.value,end:r.token}));return a(),new Ab({start:t,segments:e,end:r.token})}function Z(e,t,n){for(var o=!0,c=[];!i("punc",e)&&(o?o=!1:d(","),!t||!i("punc",e));)i("punc",",")&&n?c.push(new gx({start:r.token,end:r.token})):i("expand","...")?(a(),c.push(new gb({start:s(),expression:Te(),end:r.token}))):c.push(Te(!1));return a(),c}var Y=v(function(){return d("["),new yE({elements:Z("]",!t.strict,!0)})}),Q=v((e,t)=>k(yb,e,t)),J=v(function(){var e=r.token,n=!0,o=[];for(d("{");!i("punc","}")&&(n?n=!1:d(","),t.strict||!i("punc","}"));){if("expand"==(e=r.token).type){a(),o.push(new gb({start:e,expression:Te(!1),end:s()}));continue}i("privatename")&&c("private fields are not allowed in an object");var l,p=le();if(i("punc",":"))null===p?u(s()):(a(),l=Te(!1));else{var m=te(p,e);if(m){o.push(m);continue}l=new ex({start:s(),name:p,end:s()})}i("operator","=")&&(a(),l=new gE({start:e,left:l,operator:"=",right:Te(!1),logical:!1,end:s()}));let t=new EE({start:e,quote:e.quote,key:p,value:l,end:s()});o.push(fe(t))}return a(),new vE({properties:o})});function ee(e,t){var n,o,c,l,p=[];r.input.push_directives_stack(),r.input.add_directive("use strict"),"name"==r.token.type&&"extends"!=r.token.value&&(c=me(e===PE?WE:XE)),e===PE&&!c&&(t?e=IE:u()),"extends"==r.token.value&&(a(),l=Te(!0)),d("{");let m=r.in_class;for(r.in_class=!0;i("punc",";");)a();for(;!i("punc","}");)for(n=r.token,(o=te(le(),n,!0))||u(),p.push(o);i("punc",";");)a();return r.in_class=m,r.input.pop_directives_stack(),a(),new e({start:n,name:c,extends:l,properties:p,end:s()})}function te(e,t,n){let r=(e,n)=>"string"==typeof e?new n({start:t,name:e,end:s()}):(null===e&&u(),e);var o="privatename"===s().type;let c=()=>!(i("punc","(")||i("punc",",")||i("punc","}")||i("punc",";")||i("operator","=")||o);var l=!1,p=!1,d=!1,m=null;if(n&&"static"===e&&c()){let t=ne();if(null!=t)return t;p=!0,e=le()}"async"===e&&c()&&(l=!0,e=le()),"operator"===s().type&&"*"===s().value&&(d=!0,e=le()),("get"===e||"set"===e)&&c()&&(m=e,e=le()),!o&&"privatename"===s().type&&(o=!0);let f=s();if(null!=m){if(o)return fe(new("get"===m?wE:xE)({start:t,static:p,key:r(e,qE),value:Q(),end:s()}));{let n="get"===m?TE:AE;return e=r(e,qE),fe(new n({start:t,static:p,key:e,quote:e instanceof qE?f.quote:void 0,value:Q(),end:s()}))}}if(i("punc","("))return e=r(e,qE),fe(new(o?kE:SE)({start:t,static:p,key:e,quote:e instanceof qE?f.quote:void 0,value:Q(d,l),end:s()}));if(n){let n=o?RE:OE,c=r(e,o?ix:HE),l=c instanceof HE?f.quote:void 0;if(i("operator","="))return a(),fe(new n({start:t,static:p,quote:l,key:c,value:Te(!1),end:s()}));if(i("name")||i("privatename")||i("punc","[")||i("operator","*")||i("punc",";")||i("punc","}")||i("string")||i("num")||i("big_int"))return fe(new n({start:t,static:p,quote:l,key:c,end:s()}))}}function ne(){if(!i("punc","{"))return null;let e=r.token,t=[];for(a();!i("punc","}");)t.push(E());return a(),new FE({start:e,body:t,end:s()})}function re(){return!i("keyword","with")&&!i("name","assert")||m(r.token)?null:(a(),J())}function ie(e){var t=r.token;return p("name","import"),p("punc","."),p("name","meta"),he(new tE({start:t,end:s()}),e)}function oe(e){function t(e,t){return new e({name:le(),quote:t||void 0,start:s(),end:s()})}var n,o,c=e?QE:nx,l=e?YE:tx,u=r.token;return e?n=t(c,u.quote):o=t(l,u.quote),i("name","as")?(a(),e?o=t(l):n=t(c,r.token.quote)):e?o=new l(n):n=new c(o),new Jb({start:u,foreign_name:n,name:o,end:s()})}function ae(e,t){var n,i,o=e?QE:nx,a=e?YE:tx,c=r.token,l=s();return e?n=t:i=t,n||=new a({start:c,name:"*",end:l}),i||=new o({start:c,name:"*",end:l}),new Jb({start:c,foreign_name:i,name:n,end:l})}function se(e){var t;if(i("punc","{")){for(a(),t=[];!i("punc","}");)t.push(oe(e)),i("punc",",")&&a();a()}else if(i("operator","*")){var n;a(),i("name","as")&&(a(),n=e?me(YE):function(e){if(!i("name")){i("string")||c("Name or string expected");var t=r.token,n=new e({start:t,end:t,name:t.value,quote:t.quote});return a(),n}var o=pe(e);return de(o),a(),o}(nx)),t=[ae(e,n)]}return t}function ce(){var e,t,n,c,l,p=r.token;if(i("keyword","default"))e=!0,a();else if(t=se(!1)){if(i("name","from")){a();var d=r.token;"string"!==d.type&&u(),a();let n=re();return new nE({start:p,is_default:e,exported_names:t,module_name:new cx({start:d,value:d.value,quote:d.quote,end:d}),end:s(),attributes:n})}return new nE({start:p,is_default:e,exported_names:t,end:s()})}return i("punc","{")||e&&(i("keyword","class")||i("keyword","function"))&&Iv(o(),"punc")?(c=Te(!1),_()):(n=E(e))instanceof qb&&e?u(n.start):n instanceof qb||n instanceof Eb||n instanceof PE?l=n:n instanceof IE||n instanceof vb?c=n:n instanceof Qv?c=n.body:u(n.start),new nE({start:p,is_default:e,exported_value:c,exported_definition:l,end:s(),attributes:null})}function le(){var e=r.token;switch(e.type){case"punc":if("["===e.value){a();var t=Te(!1);return d("]"),t}u(e);case"operator":if("*"===e.value)return a(),null;["delete","in","instanceof","new","typeof","void"].includes(e.value)||u(e);case"name":case"privatename":case"string":case"keyword":case"atom":return a(),e.value;case"num":case"big_int":return a(),""+e.value;default:u(e)}}function ue(){var e=r.token;return"name"!=e.type&&"privatename"!=e.type&&u(),a(),e.value}function pe(e){var t=r.token.value;return new("this"==t?ox:"super"==t?ax:e)({name:String(t),start:r.token,end:r.token})}function de(e){var t=e.name;h()&&"yield"==t&&l(e.start,"Yield cannot be used as identifier inside generators"),r.input.has_directive("use strict")&&("yield"==t&&l(e.start,"Unexpected yield identifier inside strict mode"),e instanceof ME&&("arguments"==t||"eval"==t)&&l(e.start,"Unexpected "+t+" in strict mode"))}function me(e,t){if(!i("name"))return t||c("Name expected"),null;var n=pe(e);return de(n),a(),n}function fe(e,t=e.start){for(var r=t.comments_before,i=n.get(t)??r.length;--i>=0;){var o=r[i];if(/[@#]__/.test(o.value)){if(/[@#]__PURE__/.test(o.value)){Qy(e,Sx);break}if(/[@#]__INLINE__/.test(o.value)){Qy(e,kx);break}if(/[@#]__NOINLINE__/.test(o.value)){Qy(e,Cx);break}if(/[@#]__KEY__/.test(o.value)){Qy(e,Ox);break}if(/[@#]__MANGLE_PROP__/.test(o.value)){Qy(e,Rx);break}}}return e}var he=function(e,t,n){var o=e.start;if(i("punc","."))return a(),i("privatename")&&!r.in_class&&c("Private field must be used in an enclosing class"),fe(he(new(i("privatename")?cE:sE)({start:o,expression:e,optional:!1,property:ue(),end:s()}),t,n));if(i("punc","[")){a();var l=Te(!0);return d("]"),fe(he(new lE({start:o,expression:e,optional:!1,property:l,end:s()}),t,n))}if(t&&i("punc","(")){a();var p=new rE({start:o,expression:e,optional:!1,args:ge(),end:s()});return fe(p),he(p,!0,n)}if(i("punc","?.")){let n;if(a(),t&&i("punc","(")){a();let t=new rE({start:o,optional:!0,expression:e,args:ge(),end:s()});fe(t),n=he(t,!0,!0)}else if(i("name")||i("privatename"))i("privatename")&&!r.in_class&&c("Private field must be used in an enclosing class"),n=fe(he(new(i("privatename")?cE:sE)({start:o,expression:e,optional:!0,property:ue(),end:s()}),t,!0));else if(i("punc","[")){a();let r=Te(!0);d("]"),n=fe(he(new lE({start:o,expression:e,optional:!0,property:r,end:s()}),t,!0))}return n||u(),n instanceof uE?n:new uE({start:o,expression:n,end:s()})}return i("template_head")?(n&&u(),he(new wb({start:o,prefix:e,template_string:X(),end:s()}),t)):e};function ge(){for(var e=[];!i("punc",")");)i("expand","...")?(a(),e.push(new gb({start:s(),expression:Te(!1),end:s()}))):e.push(Te(!1)),i("punc",")")||d(",");return a(),e}var _e=function(e,t){var n=r.token;if("name"==n.type&&"await"==n.value&&g())return a(),I();if(i("operator")&&Mv.has(n.value)){a(),b();var o=ye(dE,n,_e(e));return o.start=n,o.end=s(),o}for(var c=W(e,t);i("operator")&&Bv.has(r.token.value)&&!m(r.token);)c instanceof bb&&u(),(c=ye(mE,r.token,c)).start=n,c.end=r.token,a();return c};function ye(e,t,n){var i=t.value;switch(i){case"++":case"--":Ee(n)||c("Invalid use of "+i+" operator",t.line,t.col,t.pos);break;case"delete":n instanceof ex&&r.input.has_directive("use strict")&&c("Calling delete on expression not allowed in strict mode",n.start.line,n.start.col,n.start.pos)}return new e({operator:i,expression:n})}var ve=function(e,t,n){var o=i("operator")?r.token.value:null;"in"==o&&n&&(o=null),"**"==o&&e instanceof dE&&!Iv(e.start,"punc","(")&&"--"!==e.operator&&"++"!==e.operator&&u(e.start);var s=null==o?null:zv[o];if(null!=s&&(s>t||"**"===o&&t===s)){a();var c=be(n,s,!0);return ve(new fE({start:e.start,left:e,operator:o,right:c,end:c.end}),t,n)}return e};function be(e,t,n,o){if(!e&&t<zv.in&&i("privatename")){r.in_class||c("Private field must be used in an enclosing class");let t=r.token,n=new ix({start:t,name:t.value,end:t});return a(),p("operator","in"),ve(new DE({start:t,key:n,value:be(e,zv.in,!0),end:s()}),0,e)}return ve(_e(n,o),t,e)}function Ee(e){return e instanceof aE||e instanceof ex}function xe(e){if(e instanceof vE)e=new xb({start:e.start,names:e.properties.map(xe),is_array:!1,end:e.end});else if(e instanceof yE){for(var t=[],n=0;n<e.elements.length;n++)e.elements[n]instanceof gb&&(n+1!==e.elements.length&&l(e.elements[n].start,"Spread must the be last element in destructuring array"),e.elements[n].expression=xe(e.elements[n].expression)),t.push(xe(e.elements[n]));e=new xb({start:e.start,names:t,is_array:!0,end:e.end})}else e instanceof bE?e.value=xe(e.value):e instanceof gE&&(e=new _E({start:e.start,left:e.left,operator:"=",right:e.right,end:e.end}));return e}var we=function(e){b();var t=r.token;if("name"==t.type&&"yield"==t.value){if(h())return a(),function(){var e=r.token,t=!1,n=!0;return f()||i("punc")&&yv.has(r.token.value)||i("template_cont")?n=!1:i("operator","*")&&(t=!0,a()),new Ib({start:e,is_star:t,expression:n?Te():null,end:s()})}();r.input.has_directive("use strict")&&l(r.token,"Unexpected yield identifier inside strict mode")}var n=function(e){var t=r.token,n=be(e,0,!0,!0);if(i("operator","?")){a();var o=Te(!1);return d(":"),new hE({start:t,condition:n,consequent:o,alternative:Te(!1,e),end:s()})}return n}(e),o=r.token.value;if(i("operator")&&Uv.has(o)){if(Ee(n)||(n=xe(n))instanceof xb)return a(),new gE({start:t,left:n,operator:o,right:we(e),logical:$v.has(o),end:s()});c("Invalid assignment")}return n},Ae=function(e,t){return 1===t.length?t[0]:t.length>1?new oE({start:e,expressions:t,end:o()}):void c("Invalid parenthesized expression")},Te=function(e,t){for(var n=r.token,o=[];o.push(we(t)),e&&i("punc",",");)a(),e=!0;return Ae(n,o)};function Se(e){++r.in_loop;var t=e();return--r.in_loop,t}return t.expression?Te(!0):function(){var e=r.token,n=[];for(r.input.push_directives_stack(),t.module&&r.input.add_directive("use strict");!i("eof");)n.push(E());r.input.pop_directives_stack();var o=s(),a=t.toplevel;return a?(a.body=a.body.concat(n),a.end=o):a=new hb({start:e,body:n,end:o}),tv=new Map,a}()}function Vv(e,t,n,r,i=Wv){var o=t=t?t.split(/\s+/):[];i&&i.PROPS&&(t=t.concat(i.PROPS));let a=i&&Object.create(i.prototype);if(a&&(n.prototype=a,n.BASE=i),i&&i.SUBCLASSES.push(n),n.prototype.CTOR=n,n.prototype.constructor=n,n.PROPS=t||null,n.SELF_PROPS=o,n.SUBCLASSES=[],e&&(n.prototype.TYPE=n.TYPE=e),r)for(let e in r)qy(r,e)&&("$"===e[0]?n[e.substr(1)]=r[e]:n.prototype[e]=r[e]);return n.DEFMETHOD=function(e,t){this.prototype[e]=t},n}const qv=(e,t)=>!!(e.flags&t),Hv=(e,t,n)=>{n?e.flags|=t:e.flags&=~t};var Kv=class{constructor(e,t,n,r,i,o,a,s,c){this.flags=o?1:0,this.type=e,this.value=t,this.line=n,this.col=r,this.pos=i,this.comments_before=a,this.comments_after=s,this.file=c,Object.seal(this)}[Symbol.for("nodejs.util.inspect.custom")](e,t){let n=e=>t.stylize(e,"special"),r="string"==typeof this.value&&this.value.includes("`")?"'":"`",i=`${r}${this.value}${r}`;return`${n("[AST_Token")} ${i} at ${this.line}:${this.col}${n("]")}`}get nlb(){return qv(this,1)}set nlb(e){Hv(this,1,e)}get quote(){return qv(this,4)?qv(this,2)?"'":'"':""}set quote(e){Hv(this,2,"'"===e),Hv(this,4,!!e)}get template_end(){return qv(this,8)}set template_end(e){Hv(this,8,e)}},Wv=Vv("Node","start end",function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{_clone:function(e){if(e){var t=this.clone();return t.transform(new Tx(function(e){if(e!==t)return e.clone(!0)}))}return new this.CTOR(this)},clone:function(e){return this._clone(e)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(e){return e._visit(this)},walk:function(e){return this._walk(e)},_children_backwards:()=>{}},null),Xv=Vv("Statement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class of all statements"}),Zv=Vv("Debugger",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Represents a debugger statement"},Xv),Yv=Vv("Directive","value quote",function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},Xv),Qv=Vv("SimpleStatement","body",function(e){e&&(this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(e){return e._visit(this,function(){this.body._walk(e)})},_children_backwards(e){e(this.body)}},Xv);function Jv(e,t){let n=e.body;for(var r=0,i=n.length;r<i;r++)n[r]._walk(t)}function eb(e){var t=this._clone(e);return this.block_scope&&(t.block_scope=this.block_scope.clone()),t}var tb=Vv("Block","body block_scope",function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A body of statements (usually braced)",$propdoc:{body:"[AST_Statement*] an array of statements",block_scope:"[AST_Scope] the block scope"},_walk:function(e){return e._visit(this,function(){Jv(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t])},clone:eb},Xv),nb=Vv("BlockStatement",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A block statement"},tb),rb=Vv("EmptyStatement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The empty statement (empty block or simply a semicolon)"},Xv),ib=Vv("StatementWithBody","body",function(e){e&&(this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},Xv),ob=Vv("LabeledStatement","label",function(e){e&&(this.label=e.label,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(e){return e._visit(this,function(){this.label._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),e(this.label)},clone:function(e){var t=this._clone(e);if(e){var n=t.label,r=this.label;t.walk(new Ax(function(e){e instanceof Rb&&e.label&&e.label.thedef===r&&(e.label.thedef=n,n.references.push(e))}))}return t}},ib),ab=Vv("IterationStatement","block_scope",function(e){e&&(this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Internal class. All loops inherit from it.",$propdoc:{block_scope:"[AST_Scope] the block scope for this iteration statement."},clone:eb},ib),sb=Vv("DWLoop","condition",function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},ab),cb=Vv("Do",null,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `do` statement",_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.condition._walk(e)})},_children_backwards(e){e(this.condition),e(this.body)}},sb),lb=Vv("While",null,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `while` statement",_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),e(this.condition)}},sb),ub=Vv("For","init condition step",function(e){e&&(this.init=e.init,this.condition=e.condition,this.step=e.step,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(e){return e._visit(this,function(){this.init&&this.init._walk(e),this.condition&&this.condition._walk(e),this.step&&this.step._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),this.step&&e(this.step),this.condition&&e(this.condition),this.init&&e(this.init)}},ab),pb=Vv("ForIn","init object",function(e){e&&(this.init=e.init,this.object=e.object,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",object:"[AST_Node] the object that we're looping through"},_walk:function(e){return e._visit(this,function(){this.init._walk(e),this.object._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),this.object&&e(this.object),this.init&&e(this.init)}},ab),db=Vv("ForOf","await",function(e){e&&(this.await=e.await,this.init=e.init,this.object=e.object,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for ... of` statement"},pb),mb=Vv("With","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),e(this.expression)}},ib),fb=Vv("Scope","variables uses_with uses_eval parent_scope enclosed cname",function(e){e&&(this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{variables:"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){for(var e=this;e.is_block_scope();)e=e.parent_scope;return e},clone:function(e,t){var n=this._clone(e);return e&&this.variables&&t&&!this._block_scope?n.figure_out_scope({},{toplevel:t,parent_scope:this.parent_scope}):(this.variables&&(n.variables=new Map(this.variables)),this.enclosed&&(n.enclosed=this.enclosed.slice()),this._block_scope&&(n._block_scope=this._block_scope)),n},pinned:function(){return this.uses_eval||this.uses_with}},tb),hb=Vv("Toplevel","globals",function(e){e&&(this.globals=e.globals,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(e){var t=this.body,n="(function(exports){'$ORIG';})(typeof "+e+"=='undefined'?("+e+"={}):"+e+");";return n=(n=jv(n)).transform(new Tx(function(e){if(e instanceof Yv&&"$ORIG"==e.value)return Ly.splice(t)})),n},wrap_enclose:function(e){"string"!=typeof e&&(e="");var t=e.indexOf(":");t<0&&(t=e.length);var n=this.body;return jv(["(function(",e.slice(0,t),'){"$ORIG"})(',e.slice(t+1),")"].join("")).transform(new Tx(function(e){if(e instanceof Yv&&"$ORIG"==e.value)return Ly.splice(n)}))}},fb),gb=Vv("Expansion","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(e){return e._visit(this,function(){this.expression.walk(e)})},_children_backwards(e){e(this.expression)}}),_b=Vv("Lambda","name argnames uses_arguments is_generator async",function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){for(var e=[],t=0;t<this.argnames.length;t++)this.argnames[t]instanceof xb?e.push(...this.argnames[t].all_symbols()):e.push(this.argnames[t]);return e},_walk:function(e){return e._visit(this,function(){this.name&&this.name._walk(e);for(var t=this.argnames,n=0,r=t.length;n<r;n++)t[n]._walk(e);Jv(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);for(t=this.argnames.length;t--;)e(this.argnames[t]);this.name&&e(this.name)},is_braceless(){return this.body[0]instanceof Cb&&this.body[0].value},length_property(){let e=0;for(let t of this.argnames)(t instanceof jE||t instanceof xb)&&e++;return e}},fb),yb=Vv("Accessor",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A setter/getter function. The `name` property is always null."},_b),vb=Vv("Function",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A function expression"},_b),bb=Vv("Arrow",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An ES6 Arrow function ((a) => b)"},_b),Eb=Vv("Defun",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A function definition"},_b),xb=Vv("Destructuring","names is_array",function(e){e&&(this.names=e.names,this.is_array=e.is_array,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(e){return e._visit(this,function(){this.names.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.names.length;for(;t--;)e(this.names[t])},all_symbols:function(){var e=[];return Ex(this,t=>{if(t instanceof ME&&e.push(t),t instanceof _b)return!0}),e}}),wb=Vv("PrefixedTemplateString","template_string prefix",function(e){e&&(this.template_string=e.template_string,this.prefix=e.prefix,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(e){return e._visit(this,function(){this.prefix._walk(e),this.template_string._walk(e)})},_children_backwards(e){e(this.template_string),e(this.prefix)}}),Ab=Vv("TemplateString","segments",function(e){e&&(this.segments=e.segments,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(e){return e._visit(this,function(){this.segments.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.segments.length;for(;t--;)e(this.segments[t])}}),Tb=Vv("TemplateSegment","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}}),Sb=Vv("Jump",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},Xv),kb=Vv("Exit","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(e){return e._visit(this,this.value&&function(){this.value._walk(e)})},_children_backwards(e){this.value&&e(this.value)}},Sb),Cb=Vv("Return",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `return` statement"},kb),Ob=Vv("Throw",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `throw` statement"},kb),Rb=Vv("LoopControl","label",function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(e){return e._visit(this,this.label&&function(){this.label._walk(e)})},_children_backwards(e){this.label&&e(this.label)}},Sb),Db=Vv("Break",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `break` statement"},Rb),Pb=Vv("Continue",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `continue` statement"},Rb),Fb=Vv("Await","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}}),Ib=Vv("Yield","expression is_star",function(e){e&&(this.expression=e.expression,this.is_star=e.is_star,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(e){return e._visit(this,this.expression&&function(){this.expression._walk(e)})},_children_backwards(e){this.expression&&e(this.expression)}}),Nb=Vv("If","condition alternative",function(e){e&&(this.condition=e.condition,this.alternative=e.alternative,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e),this.alternative&&this.alternative._walk(e)})},_children_backwards(e){this.alternative&&e(this.alternative),e(this.body),e(this.condition)}},ib),Lb=Vv("Switch","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),Jv(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);e(this.expression)}},tb),Mb=Vv("SwitchBranch",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for `switch` branches"},tb),Bb=Vv("Default",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `default` switch branch"},Mb),Ub=Vv("Case","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),Jv(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);e(this.expression)}},Mb),$b=Vv("Try","body bcatch bfinally",function(e){e&&(this.body=e.body,this.bcatch=e.bcatch,this.bfinally=e.bfinally,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `try` statement",$propdoc:{body:"[AST_TryBlock] the try block",bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.bcatch&&this.bcatch._walk(e),this.bfinally&&this.bfinally._walk(e)})},_children_backwards(e){this.bfinally&&e(this.bfinally),this.bcatch&&e(this.bcatch),e(this.body)}},Xv),zb=Vv("TryBlock",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `try` block of a try statement"},tb),Gb=Vv("Catch","argname",function(e){e&&(this.argname=e.argname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(e){return e._visit(this,function(){this.argname&&this.argname._walk(e),Jv(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);this.argname&&e(this.argname)}},tb),jb=Vv("Finally",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},tb),Vb=Vv("DefinitionsLike","definitions",function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for variable definitions and `using`",$propdoc:{definitions:"[AST_VarDef*|AST_UsingDef*] array of variable definitions"},_walk:function(e){return e._visit(this,function(){for(var t=this.definitions,n=0,r=t.length;n<r;n++)t[n]._walk(e)})},_children_backwards(e){let t=this.definitions.length;for(;t--;)e(this.definitions[t])}},Xv),qb=Vv("Definitions",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)"},Vb),Hb=Vv("Var",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `var` statement"},qb),Kb=Vv("Let",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `let` statement"},qb),Wb=Vv("Const",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `const` statement"},qb),Xb=Vv("Using","await",function(e){e&&(this.await=e.await,this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `using` statement",$propdoc:{await:"[boolean] Whether it's `await using`"}},Vb),Zb=Vv("VarDefLike","name value",function(e){e&&(this.name=e.name,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A name=value pair in a variable definition statement or `using`",$propdoc:{name:"[AST_Destructuring|AST_SymbolDeclaration] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(e){return e._visit(this,function(){this.name._walk(e),this.value&&this.value._walk(e)})},_children_backwards(e){this.value&&e(this.value),e(this.name)},declarations_as_names(){return this.name instanceof ME?[this.name]:this.name.all_symbols()}}),Yb=Vv("VarDef",null,function(e){e&&(this.name=e.name,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A variable declaration; only appears in a AST_Definitions node"},Zb),Qb=Vv("UsingDef",null,function(e){e&&(this.name=e.name,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Like VarDef but specific to AST_Using"},Zb),Jb=Vv("NameMapping","foreign_name name",function(e){e&&(this.foreign_name=e.foreign_name,this.name=e.name,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The part of the export/import statement that declare names from a module.",$propdoc:{foreign_name:"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)",name:"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module."},_walk:function(e){return e._visit(this,function(){this.foreign_name._walk(e),this.name._walk(e)})},_children_backwards(e){e(this.name),e(this.foreign_name)}}),eE=Vv("Import","imported_name imported_names module_name attributes",function(e){e&&(this.imported_name=e.imported_name,this.imported_names=e.imported_names,this.module_name=e.module_name,this.attributes=e.attributes,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `import` statement",$propdoc:{imported_name:"[AST_SymbolImport] The name of the variable holding the module's default export.",imported_names:"[AST_NameMapping*] The names of non-default imported variables",module_name:"[AST_String] String literal describing where this module came from",attributes:"[AST_Object?] The import attributes (with {...})"},_walk:function(e){return e._visit(this,function(){this.imported_name&&this.imported_name._walk(e),this.imported_names&&this.imported_names.forEach(function(t){t._walk(e)}),this.module_name._walk(e)})},_children_backwards(e){if(e(this.module_name),this.imported_names){let t=this.imported_names.length;for(;t--;)e(this.imported_names[t])}this.imported_name&&e(this.imported_name)}}),tE=Vv("ImportMeta",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to import.meta"}),nE=Vv("Export","exported_definition exported_value is_default exported_names module_name attributes",function(e){e&&(this.exported_definition=e.exported_definition,this.exported_value=e.exported_value,this.is_default=e.is_default,this.exported_names=e.exported_names,this.module_name=e.module_name,this.attributes=e.attributes,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `export` statement",$propdoc:{exported_definition:"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition",exported_value:"[AST_Node?] An exported value",exported_names:"[AST_NameMapping*?] List of exported names",module_name:"[AST_String?] Name of the file to load exports from",is_default:"[Boolean] Whether this is the default exported value of this module",attributes:"[AST_Object?] The import attributes"},_walk:function(e){return e._visit(this,function(){this.exported_definition&&this.exported_definition._walk(e),this.exported_value&&this.exported_value._walk(e),this.exported_names&&this.exported_names.forEach(function(t){t._walk(e)}),this.module_name&&this.module_name._walk(e)})},_children_backwards(e){if(this.module_name&&e(this.module_name),this.exported_names){let t=this.exported_names.length;for(;t--;)e(this.exported_names[t])}this.exported_value&&e(this.exported_value),this.exported_definition&&e(this.exported_definition)}},Xv),rE=Vv("Call","expression args optional _annotations",function(e){e&&(this.expression=e.expression,this.args=e.args,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments",optional:"[boolean] whether this is an optional call (IE ?.() )",_annotations:"[number] bitfield containing information about the call"},initialize(){this._annotations??=0},_walk(e){return e._visit(this,function(){for(var t=this.args,n=0,r=t.length;n<r;n++)t[n]._walk(e);this.expression._walk(e)})},_children_backwards(e){let t=this.args.length;for(;t--;)e(this.args[t]);e(this.expression)}}),iE=Vv("New",null,function(e){e&&(this.expression=e.expression,this.args=e.args,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},rE),oE=Vv("Sequence","expressions",function(e){e&&(this.expressions=e.expressions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(e){return e._visit(this,function(){this.expressions.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.expressions.length;for(;t--;)e(this.expressions[t])}}),aE=Vv("PropAccess","expression property optional",function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node",optional:"[boolean] whether this is an optional property access (IE ?.)"}}),sE=Vv("Dot","quote",function(e){e&&(this.quote=e.quote,this.expression=e.expression,this.property=e.property,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A dotted property access expression",$propdoc:{quote:"[string] the original quote character when transformed from AST_Sub"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}},aE),cE=Vv("DotHash","",function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A dotted property access to a private property",_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}},aE),lE=Vv("Sub",null,function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.property._walk(e)})},_children_backwards(e){e(this.property),e(this.expression)}},aE),uE=Vv("Chain","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A chain expression like a?.b?.(c)?.[d]",$propdoc:{expression:"[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element."},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}}),pE=Vv("Unary","operator expression",function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}}),dE=Vv("UnaryPrefix",null,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},pE),mE=Vv("UnaryPostfix",null,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Unary postfix expression, i.e. `i++`"},pE),fE=Vv("Binary","operator left right",function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(e){return e._visit(this,function(){this.left._walk(e),this.right._walk(e)})},_children_backwards(e){e(this.right),e(this.left)}}),hE=Vv("Conditional","condition consequent alternative",function(e){e&&(this.condition=e.condition,this.consequent=e.consequent,this.alternative=e.alternative,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.consequent._walk(e),this.alternative._walk(e)})},_children_backwards(e){e(this.alternative),e(this.consequent),e(this.condition)}}),gE=Vv("Assign","logical",function(e){e&&(this.logical=e.logical,this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An assignment expression — `a = b + 5`",$propdoc:{logical:"Whether it's a logical assignment"}},fE),_E=Vv("DefaultAssign",null,function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A default assignment expression like in `(a = 3) => a`"},fE),yE=Vv("Array","elements",function(e){e&&(this.elements=e.elements,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(e){return e._visit(this,function(){for(var t=this.elements,n=0,r=t.length;n<r;n++)t[n]._walk(e)})},_children_backwards(e){let t=this.elements.length;for(;t--;)e(this.elements[t])}}),vE=Vv("Object","properties",function(e){e&&(this.properties=e.properties,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(e){return e._visit(this,function(){for(var t=this.properties,n=0,r=t.length;n<r;n++)t[n]._walk(e)})},_children_backwards(e){let t=this.properties.length;for(;t--;)e(this.properties[t])}}),bE=Vv("ObjectProperty","key value",function(e){e&&(this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"Base class for literal object properties",$propdoc:{key:"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.",value:"[AST_Node] property value. For getters, setters and methods this is an AST_Accessor."},_walk:function(e){return e._visit(this,function(){this.key instanceof Wv&&this.key._walk(e),this.value._walk(e)})},_children_backwards(e){e(this.value),this.key instanceof Wv&&e(this.key)}}),EE=Vv("ObjectKeyVal","quote",function(e){e&&(this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"},computed_key(){return this.key instanceof Wv}},bE),xE=Vv("PrivateSetter","static",function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{static:"[boolean] whether this is a static private setter"},$documentation:"A private setter property",computed_key:()=>!1},bE),wE=Vv("PrivateGetter","static",function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{static:"[boolean] whether this is a static private getter"},$documentation:"A private getter property",computed_key:()=>!1},bE),AE=Vv("ObjectSetter","quote static",function(e){e&&(this.quote=e.quote,this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static setter (classes only)"},$documentation:"An object setter property",computed_key(){return!(this.key instanceof qE)}},bE),TE=Vv("ObjectGetter","quote static",function(e){e&&(this.quote=e.quote,this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static getter (classes only)"},$documentation:"An object getter property",computed_key(){return!(this.key instanceof qE)}},bE),SE=Vv("ConciseMethod","quote static",function(e){e&&(this.quote=e.quote,this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] is this method static (classes only)"},$documentation:"An ES6 concise method inside an object or class",computed_key(){return!(this.key instanceof qE)}},bE),kE=Vv("PrivateMethod","static",function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A private class method inside a class",$propdoc:{static:"[boolean] is this a static private method"},computed_key:()=>!1},bE),CE=Vv("Class","name extends properties",function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{name:"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.",extends:"[AST_Node]? optional parent class",properties:"[AST_ObjectProperty|AST_ClassStaticBlock]* array of properties or static blocks"},$documentation:"An ES6 class",_walk:function(e){return e._visit(this,function(){this.name&&this.name._walk(e),this.extends&&this.extends._walk(e),this.properties.forEach(t=>t._walk(e))})},_children_backwards(e){let t=this.properties.length;for(;t--;)e(this.properties[t]);this.extends&&e(this.extends),this.name&&e(this.name)},visit_nondeferred_class_parts(e){this.extends&&this.extends._walk(e),this.properties.forEach(t=>{t instanceof FE?t._walk(e):(t.computed_key()&&(e.push(t),t.key._walk(e),e.pop()),(t instanceof RE&&t.static&&t.value||t instanceof OE&&t.static&&t.value)&&(e.push(t),t.value._walk(e),e.pop()))})},visit_deferred_class_parts(e){this.properties.forEach(t=>{t instanceof SE||t instanceof kE?t.walk(e):(t instanceof OE&&!t.static&&t.value||t instanceof RE&&!t.static&&t.value)&&(e.push(t),t.value._walk(e),e.pop())})},is_self_referential:function(){let e=this.name&&this.name.definition().id,t=!1,n=!0;return this.visit_nondeferred_class_parts(new Ax((r,i)=>{if(t)return!0;if(r instanceof ox)return t=n;if(r instanceof ex)return t=r.definition().id===e;if(r instanceof _b&&!(r instanceof bb)){let e=n;return n=!1,i(),n=e,!0}})),t}},fb),OE=Vv("ClassProperty","static quote",function(e){e&&(this.static=e.static,this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(e){return e._visit(this,function(){this.key instanceof Wv&&this.key._walk(e),this.value instanceof Wv&&this.value._walk(e)})},_children_backwards(e){this.value instanceof Wv&&e(this.value),this.key instanceof Wv&&e(this.key)},computed_key(){return!(this.key instanceof HE)}},bE),RE=Vv("ClassPrivateProperty","",function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class property for a private property",_walk:function(e){return e._visit(this,function(){this.value instanceof Wv&&this.value._walk(e)})},_children_backwards(e){this.value instanceof Wv&&e(this.value)},computed_key:()=>!1},bE),DE=Vv("PrivateIn","key value",function(e){e&&(this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `in` binop when the key is private, eg #x in this",_walk:function(e){return e._visit(this,function(){this.key._walk(e),this.value._walk(e)})},_children_backwards(e){e(this.value),e(this.key)}}),PE=Vv("DefClass",null,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class definition"},CE),FE=Vv("ClassStaticBlock","body block_scope",function(e){this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end},{$documentation:"A block containing statements to be executed in the context of the class",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(e){return e._visit(this,function(){Jv(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t])},clone:eb,computed_key:()=>!1},fb),IE=Vv("ClassExpression",null,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class expression."},CE),NE=Vv("Symbol","scope name thedef",function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"}),LE=Vv("NewTarget",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to new.target"}),ME=Vv("SymbolDeclaration","init",function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},NE),BE=Vv("SymbolVar",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol defining a variable"},ME),UE=Vv("SymbolBlockDeclaration",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for block-scoped declaration symbols"},ME),$E=Vv("SymbolConst",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A constant declaration"},UE),zE=Vv("SymbolUsing",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `using` declaration"},UE),GE=Vv("SymbolLet",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A block-scoped `let` declaration"},UE),jE=Vv("SymbolFunarg",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a function argument"},BE),VE=Vv("SymbolDefun",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol defining a function"},ME),qE=Vv("SymbolMethod",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol in an object defining a method"},NE),HE=Vv("SymbolClassProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol for a class property"},NE),KE=Vv("SymbolLambda",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a function expression"},ME),WE=Vv("SymbolDefClass",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},UE),XE=Vv("SymbolClass",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},ME),ZE=Vv("SymbolCatch",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming the exception in catch"},UE),YE=Vv("SymbolImport",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol referring to an imported name"},UE),QE=Vv("SymbolImportForeign","quote",function(e){e&&(this.quote=e.quote,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},NE),JE=Vv("Label","references",function(e){e&&(this.references=e.references,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},NE),ex=Vv("SymbolRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to some symbol (not definition/declaration)"},NE),tx=Vv("SymbolExport","quote",function(e){e&&(this.quote=e.quote,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol referring to a name to export"},ex),nx=Vv("SymbolExportForeign","quote",function(e){e&&(this.quote=e.quote,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},NE),rx=Vv("LabelRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to a label symbol"},NE),ix=Vv("SymbolPrivateProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol that refers to a private property"},NE),ox=Vv("This",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `this` symbol"},NE),ax=Vv("Super",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `super` symbol"},ox),sx=Vv("Constant",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all constants",getValue:function(){return this.value}}),cx=Vv("String","value quote",function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},sx),lx=Vv("Number","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},sx),ux=Vv("BigInt","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A big int literal",$propdoc:{value:"[string] big int value, represented as a string",raw:"[string] the original format preserved"}},sx),px=Vv("RegExp","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},sx),dx=Vv("Atom",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for atoms"},sx),mx=Vv("Null",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `null` atom",value:null},dx),fx=Vv("NaN",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The impossible value",value:NaN},dx),hx=Vv("Undefined",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:void 0},dx),gx=Vv("Hole",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A hole in an array",value:void 0},dx),_x=Vv("Infinity",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},dx),yx=Vv("Boolean",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for booleans"},dx),vx=Vv("False",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},yx),bx=Vv("True",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},yx);function Ex(e,t,n=[e]){let r=n.push.bind(n);for(;n.length;){let e=n.pop(),i=t(e,n);if(i){if(i===wx)return!0}else e._children_backwards(r)}return!1}function xx(e,t,n){let r,i=[e],o=i.push.bind(i),a=n?n.slice():[],s=[],c={parent:(e=0)=>-1===e?r:n&&e>=a.length?(e-=a.length,n[n.length-(e+1)]):a[a.length-(1+e)]};for(;i.length;){for(r=i.pop();s.length&&i.length==s[s.length-1];)a.pop(),s.pop();let e=t(r,c);if(e){if(e===wx)return!0;continue}let n=i.length;r._children_backwards(o),i.length>n&&(a.push(r),s.push(n-1))}return!1}const wx=Symbol("abort walk");var Ax=class{constructor(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}_visit(e,t){this.push(e);var n=this.visit(e,t?function(){t.call(e)}:Dy);return!n&&t&&t.call(e),this.pop(),n}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){e instanceof _b?this.directives=Object.create(this.directives):e instanceof Yv&&!this.directives[e.value]?this.directives[e.value]=e:e instanceof CE&&(this.directives=Object.create(this.directives),this.directives["use strict"]||(this.directives["use strict"]=e)),this.stack.push(e)}pop(){var e=this.stack.pop();(e instanceof _b||e instanceof CE)&&(this.directives=Object.getPrototypeOf(this.directives))}self(){return this.stack[this.stack.length-1]}find_parent(e){for(var t=this.stack,n=t.length;--n>=0;){var r=t[n];if(r instanceof e)return r}}is_within_loop(){let e=this.stack.length-1,t=this.stack[e];for(;e--;){let n=this.stack[e];if(n instanceof _b)return!1;if(n instanceof ab&&!(n instanceof ub&&t===n.init)&&(!(n instanceof pb||n instanceof db)||t!==n.object))return!0;t=n}return!1}find_scope(){for(var e=this.stack,t=e.length;--t>=0;){let n=e[t];if(n instanceof hb||n instanceof _b)return n;if(n.block_scope)return n.block_scope}}has_directive(e){var t=this.directives[e];if(t)return t;var n=this.stack[this.stack.length-1];if(n instanceof fb&&n.body)for(var r=0;r<n.body.length;++r){var i=n.body[r];if(!(i instanceof Yv))break;if(i.value==e)return i}}loopcontrol_target(e){var t=this.stack;if(e.label){for(var n=t.length;--n>=0;)if((r=t[n])instanceof ob&&r.label.name==e.label.name)return r.body}else for(n=t.length;--n>=0;){var r;if((r=t[n])instanceof ab||e instanceof Db&&r instanceof Lb)return r}}},Tx=class extends Ax{constructor(e,t){super(),this.before=e,this.after=t}};const Sx=1,kx=2,Cx=4,Ox=8,Rx=16;function Dx(e,t){e.DEFMETHOD("transform",function(e,n){let r;if(e.push(this),e.before&&(r=e.before(this,t,n)),void 0===r&&(r=this,t(r,e),e.after)){let t=e.after(r,n);void 0!==t&&(r=t)}return e.pop(),r})}function Px(e){let t=e.parent(-1);for(let n,r=0;n=e.parent(r);r++){if(n instanceof Xv&&n.body===t)return!0;if(!(n instanceof oE&&n.expressions[0]===t||"Call"===n.TYPE&&n.expression===t||n instanceof wb&&n.prefix===t||n instanceof sE&&n.expression===t||n instanceof lE&&n.expression===t||n instanceof uE&&n.expression===t||n instanceof hE&&n.condition===t||n instanceof fE&&n.left===t||n instanceof mE&&n.expression===t))return!1;t=n}}function Fx(e){return e instanceof vE||(e instanceof oE?Fx(e.expressions[0]):"Call"===e.TYPE?Fx(e.expression):e instanceof wb?Fx(e.prefix):e instanceof sE||e instanceof lE||e instanceof uE?Fx(e.expression):e instanceof hE?Fx(e.condition):e instanceof fE?Fx(e.left):e instanceof mE&&Fx(e.expression))}Dx(Wv,Dy),Dx(ob,function(e,t){e.label=e.label.transform(t),e.body=e.body.transform(t)}),Dx(Qv,function(e,t){e.body=e.body.transform(t)}),Dx(tb,function(e,t){e.body=Ly(e.body,t)}),Dx(cb,function(e,t){e.body=e.body.transform(t),e.condition=e.condition.transform(t)}),Dx(lb,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t)}),Dx(ub,function(e,t){e.init&&=e.init.transform(t),e.condition&&=e.condition.transform(t),e.step&&=e.step.transform(t),e.body=e.body.transform(t)}),Dx(pb,function(e,t){e.init=e.init.transform(t),e.object=e.object.transform(t),e.body=e.body.transform(t)}),Dx(mb,function(e,t){e.expression=e.expression.transform(t),e.body=e.body.transform(t)}),Dx(kb,function(e,t){e.value&&=e.value.transform(t)}),Dx(Rb,function(e,t){e.label&&=e.label.transform(t)}),Dx(Nb,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t),e.alternative&&=e.alternative.transform(t)}),Dx(Lb,function(e,t){e.expression=e.expression.transform(t),e.body=Ly(e.body,t)}),Dx(Ub,function(e,t){e.expression=e.expression.transform(t),e.body=Ly(e.body,t)}),Dx($b,function(e,t){e.body=e.body.transform(t),e.bcatch&&=e.bcatch.transform(t),e.bfinally&&=e.bfinally.transform(t)}),Dx(Gb,function(e,t){e.argname&&=e.argname.transform(t),e.body=Ly(e.body,t)}),Dx(Vb,function(e,t){e.definitions=Ly(e.definitions,t)}),Dx(Zb,function(e,t){e.name=e.name.transform(t),e.value&&=e.value.transform(t)}),Dx(xb,function(e,t){e.names=Ly(e.names,t)}),Dx(_b,function(e,t){e.name&&=e.name.transform(t),e.argnames=Ly(e.argnames,t,!1),e.body instanceof Wv?e.body=e.body.transform(t):e.body=Ly(e.body,t)}),Dx(rE,function(e,t){e.expression=e.expression.transform(t),e.args=Ly(e.args,t,!1)}),Dx(oE,function(e,t){let n=Ly(e.expressions,t);e.expressions=n.length?n:[new lx({value:0})]}),Dx(aE,function(e,t){e.expression=e.expression.transform(t)}),Dx(lE,function(e,t){e.expression=e.expression.transform(t),e.property=e.property.transform(t)}),Dx(uE,function(e,t){e.expression=e.expression.transform(t)}),Dx(Ib,function(e,t){e.expression&&=e.expression.transform(t)}),Dx(Fb,function(e,t){e.expression=e.expression.transform(t)}),Dx(pE,function(e,t){e.expression=e.expression.transform(t)}),Dx(fE,function(e,t){e.left=e.left.transform(t),e.right=e.right.transform(t)}),Dx(DE,function(e,t){e.key=e.key.transform(t),e.value=e.value.transform(t)}),Dx(hE,function(e,t){e.condition=e.condition.transform(t),e.consequent=e.consequent.transform(t),e.alternative=e.alternative.transform(t)}),Dx(yE,function(e,t){e.elements=Ly(e.elements,t)}),Dx(vE,function(e,t){e.properties=Ly(e.properties,t)}),Dx(bE,function(e,t){e.key instanceof Wv&&(e.key=e.key.transform(t)),e.value&&=e.value.transform(t)}),Dx(CE,function(e,t){e.name&&=e.name.transform(t),e.extends&&=e.extends.transform(t),e.properties=Ly(e.properties,t)}),Dx(FE,function(e,t){e.body=Ly(e.body,t)}),Dx(gb,function(e,t){e.expression=e.expression.transform(t)}),Dx(Jb,function(e,t){e.foreign_name=e.foreign_name.transform(t),e.name=e.name.transform(t)}),Dx(eE,function(e,t){e.imported_name&&=e.imported_name.transform(t),e.imported_names&&Ly(e.imported_names,t),e.module_name=e.module_name.transform(t)}),Dx(nE,function(e,t){e.exported_definition&&=e.exported_definition.transform(t),e.exported_value&&=e.exported_value.transform(t),e.exported_names&&Ly(e.exported_names,t),e.module_name&&=e.module_name.transform(t)}),Dx(Ab,function(e,t){e.segments=Ly(e.segments,t)}),Dx(wb,function(e,t){e.prefix=e.prefix.transform(t),e.template_string=e.template_string.transform(t)}),function(){var e=function(e){for(var t=0;t<e.length;t++){if(!(e[t]instanceof Xv&&e[t].body instanceof cx))return e;e[t]=new Yv({start:e[t].start,end:e[t].end,quote:'"',value:e[t].body.value})}return e};function t(e){return e&&e.length>0?new vE({start:i(e),end:o(e),properties:e.map(e=>new EE({start:i(e),end:o(e),key:e.key.name||e.key.value,value:s(e.value)}))}):null}var n={Program:function(t){return new hb({start:i(t),end:o(t),body:e(t.body.map(s))})},ArrayPattern:function(e){return new xb({start:i(e),end:o(e),names:e.elements.map(function(e){return null===e?new gx:s(e)}),is_array:!0})},ObjectPattern:function(e){return new xb({start:i(e),end:o(e),names:e.properties.map(s),is_array:!1})},AssignmentPattern:function(e){return new _E({start:i(e),end:o(e),left:s(e.left),operator:"=",right:s(e.right)})},SpreadElement:function(e){return new gb({start:i(e),end:o(e),expression:s(e.argument)})},RestElement:function(e){return new gb({start:i(e),end:o(e),expression:s(e.argument)})},TemplateElement:function(e){return new Tb({start:i(e),end:o(e),value:e.value.cooked,raw:e.value.raw})},TemplateLiteral:function(e){for(var t=[],n=0;n<e.quasis.length;n++)t.push(s(e.quasis[n])),e.expressions[n]&&t.push(s(e.expressions[n]));return new Ab({start:i(e),end:o(e),segments:t})},TaggedTemplateExpression:function(e){return new wb({start:i(e),end:o(e),template_string:s(e.quasi),prefix:s(e.tag)})},FunctionDeclaration:function(t){return new Eb({start:i(t),end:o(t),name:t.id&&l(VE,t.id),argnames:t.params.map(e=>p(e,jE)),is_generator:t.generator,async:t.async,body:e(s(t.body).body)})},FunctionExpression:function(e){return u(e,!1)},ArrowFunctionExpression:function(e){let t="BlockStatement"===e.body.type?s(e.body).body:[My(Cb,{},{value:s(e.body)})];return new bb({start:i(e),end:o(e),argnames:e.params.map(e=>p(e,jE)),body:t,async:e.async})},ExpressionStatement:function(e){return new Qv({start:i(e),end:o(e),body:s(e.expression)})},TryStatement:function(e){var t=e.handlers||[e.handler];if(t.length>1||e.guardedHandlers&&e.guardedHandlers.length)throw Error("Multiple catch clauses are not supported.");return new $b({start:i(e),end:o(e),body:new zb(s(e.block)),bcatch:s(t[0]),bfinally:e.finalizer?new jb(s(e.finalizer)):null})},Property:function(e){if("init"==e.kind&&!e.method){var t={start:i(e.key||e.value),end:o(e.value),key:e.computed?s(e.key):e.key.name||String(e.key.value),quote:c(e.key,e.computed),static:!1,value:s(e.value)};return new EE(t)}var n=u(e.value,!0);return t={start:i(e.key||e.value),end:o(e.value),key:e.computed?s(e.key):l(qE,e.key),quote:c(e.key,e.computed),static:!1,value:n},"get"==e.kind?new TE(t):"set"==e.kind?new AE(t):e.method?new SE(t):void 0},MethodDefinition:function(e){let t="PrivateIdentifier"===e.key.type,n=e.computed?s(e.key):new qE({name:e.key.name||String(e.key.value)});var r={start:i(e),end:o(e),key:n,quote:c(e.key,e.computed),value:u(e.value,!0),static:e.static};return"get"==e.kind?new(t?wE:TE)(r):"set"==e.kind?new(t?xE:AE)(r):new(t?kE:SE)(r)},FieldDefinition:function(e){let t;if(e.computed)t=s(e.key);else{if("Identifier"!==e.key.type)throw Error("Non-Identifier key in FieldDefinition");t=s(e.key)}return new OE({start:i(e),end:o(e),quote:c(e.key,e.computed),key:t,value:s(e.value),static:e.static})},PropertyDefinition:function(e){let t;if(e.computed)t=s(e.key);else{if("PrivateIdentifier"===e.key.type)return new RE({start:i(e),end:o(e),key:s(e.key),value:s(e.value),static:e.static});t=l(HE,e.key)}return new OE({start:i(e),end:o(e),quote:c(e.key,e.computed),key:t,value:s(e.value),static:e.static})},PrivateIdentifier:function(e){return new ix({start:i(e),end:o(e),name:e.name})},StaticBlock:function(e){return new FE({start:i(e),end:o(e),body:e.body.map(s)})},ArrayExpression:function(e){return new yE({start:i(e),end:o(e),elements:e.elements.map(function(e){return null===e?new gx:s(e)})})},ObjectExpression:function(e){return new vE({start:i(e),end:o(e),properties:e.properties.map(function(e){return"SpreadElement"===e.type||(e.type="Property"),s(e)})})},SequenceExpression:function(e){return new oE({start:i(e),end:o(e),expressions:e.expressions.map(s)})},MemberExpression:function(e){return"PrivateIdentifier"===e.property.type?new cE({start:i(e),end:o(e),property:e.property.name,expression:s(e.object),optional:e.optional||!1}):new(e.computed?lE:sE)({start:i(e),end:o(e),property:e.computed?s(e.property):e.property.name,expression:s(e.object),optional:e.optional||!1})},ChainExpression:function(e){return new uE({start:i(e),end:o(e),expression:s(e.expression)})},SwitchCase:function(e){return new(e.test?Ub:Bb)({start:i(e),end:o(e),expression:s(e.test),body:e.consequent.map(s)})},VariableDeclaration:function(e){let t,n,r=Yb,a=!1;"const"===e.kind?(t=Wb,n=$E):"let"===e.kind?(t=Kb,n=GE):"using"===e.kind?(t=Xb,r=Qb,n=zE):"await using"===e.kind?(t=Xb,r=Qb,n=zE,a=!0):(t=Hb,n=BE);let c=e.declarations.map(e=>new r({start:i(e),end:o(e),name:p(e.id,n),value:s(e.init)}));return new t({start:i(e),end:o(e),definitions:c,await:a})},ImportDeclaration:function(e){var n=null,r=null;return e.specifiers.forEach(function(e){"ImportSpecifier"===e.type||"ImportNamespaceSpecifier"===e.type?(r||=[],r.push(s(e))):"ImportDefaultSpecifier"===e.type&&(n=s(e))}),new eE({start:i(e),end:o(e),imported_name:n,imported_names:r,module_name:s(e.source),attributes:t(e.attributes||e.assertions)})},ImportSpecifier:function(e){return new Jb({start:i(e),end:o(e),foreign_name:l(QE,e.imported,"Literal"===e.imported.type),name:l(YE,e.local)})},ImportDefaultSpecifier:function(e){return l(YE,e.local)},ImportNamespaceSpecifier:function(e){return new Jb({start:i(e),end:o(e),foreign_name:new QE({name:"*"}),name:l(YE,e.local)})},ImportExpression:function(e){let t=[s(e.source)];return e.options&&t.push(s(e.options)),new rE({start:i(e),end:o(e),expression:s({type:"Identifier",name:"import"}),optional:!1,args:t})},ExportAllDeclaration:function(e){var n=null==e.exported?new nx({name:"*"}):l(nx,e.exported,"Literal"===e.exported.type);return new nE({start:i(e),end:o(e),exported_names:[new Jb({start:i(e),end:o(e),name:new tx({name:"*"}),foreign_name:n})],module_name:s(e.source),attributes:t(e.attributes||e.assertions)})},ExportNamedDeclaration:function(e){return e.declaration?new nE({start:i(e),end:o(e),exported_definition:s(e.declaration),exported_names:null,module_name:null,attributes:null}):new nE({start:i(e),end:o(e),exported_definition:null,exported_names:e.specifiers&&e.specifiers.length?e.specifiers.map(s):[],module_name:s(e.source),attributes:t(e.attributes||e.assertions)})},ExportDefaultDeclaration:function(e){return new nE({start:i(e),end:o(e),exported_value:s(e.declaration),is_default:!0})},ExportSpecifier:function(e){return new Jb({start:i(e),end:o(e),foreign_name:l(nx,e.exported,"Literal"===e.exported.type),name:l(tx,e.local,"Literal"===e.local.type)})},Literal:function(e){var t=e.value,n={start:i(e),end:o(e)},r=e.regex;if(r&&r.pattern)return n.value={source:r.pattern,flags:r.flags},new px(n);if(r){let r=e.raw||t,i=r.match(/^\/(.*)\/(\w*)$/);if(!i)throw Error("Invalid regex source "+r);let[o,a,s]=i;return n.value={source:a,flags:s},new px(n)}let a="bigint"==typeof e.value?e.value.toString():e.bigint;if("string"==typeof a)return n.value=a,n.raw=e.raw,new ux(n);if(null===t)return new mx(n);switch(typeof t){case"string":return n.quote='"',n.value=t,new cx(n);case"number":return n.value=t,n.raw=e.raw||t.toString(),new lx(n);case"boolean":return new(t?bx:vx)(n)}},MetaProperty:function(e){return"new"===e.meta.name&&"target"===e.property.name?new LE({start:i(e),end:o(e)}):"import"===e.meta.name&&"meta"===e.property.name?new tE({start:i(e),end:o(e)}):void 0},Identifier:function(e){return new ex({start:i(e),end:o(e),name:e.name})},EmptyStatement:function(e){return new rb({start:i(e),end:o(e)})},BlockStatement:function(e){return new nb({start:i(e),end:o(e),body:e.body.map(s)})},IfStatement:function(e){return new Nb({start:i(e),end:o(e),condition:s(e.test),body:s(e.consequent),alternative:s(e.alternate)})},LabeledStatement:function(e){try{let t=l(JE,e.label);return a.push(t),new ob({start:i(e),end:o(e),label:t,body:s(e.body)})}finally{a.pop()}},BreakStatement:function(e){return new Db({start:i(e),end:o(e),label:d(e.label)})},ContinueStatement:function(e){return new Pb({start:i(e),end:o(e),label:d(e.label)})},WithStatement:function(e){return new mb({start:i(e),end:o(e),expression:s(e.object),body:s(e.body)})},SwitchStatement:function(e){return new Lb({start:i(e),end:o(e),expression:s(e.discriminant),body:e.cases.map(s)})},ReturnStatement:function(e){return new Cb({start:i(e),end:o(e),value:s(e.argument)})},ThrowStatement:function(e){return new Ob({start:i(e),end:o(e),value:s(e.argument)})},WhileStatement:function(e){return new lb({start:i(e),end:o(e),condition:s(e.test),body:s(e.body)})},DoWhileStatement:function(e){return new cb({start:i(e),end:o(e),condition:s(e.test),body:s(e.body)})},ForStatement:function(e){return new ub({start:i(e),end:o(e),init:s(e.init),condition:s(e.test),step:s(e.update),body:s(e.body)})},ForInStatement:function(e){return new pb({start:i(e),end:o(e),init:s(e.left),object:s(e.right),body:s(e.body)})},ForOfStatement:function(e){return new db({start:i(e),end:o(e),init:s(e.left),object:s(e.right),body:s(e.body),await:e.await})},AwaitExpression:function(e){return new Fb({start:i(e),end:o(e),expression:s(e.argument)})},YieldExpression:function(e){return new Ib({start:i(e),end:o(e),expression:s(e.argument),is_star:e.delegate})},DebuggerStatement:function(e){return new Zv({start:i(e),end:o(e)})},CatchClause:function(e){return new Gb({start:i(e),end:o(e),argname:e.param?p(e.param,ZE):null,body:s(e.body).body})},ThisExpression:function(e){return new ox({start:i(e),name:"this",end:o(e)})},Super:function(e){return new ax({start:i(e),end:o(e),name:"super"})},BinaryExpression:function(e){return"PrivateIdentifier"===e.left.type?new DE({start:i(e),end:o(e),key:new ix({start:i(e.left),end:o(e.left),name:e.left.name}),value:s(e.right)}):new fE({start:i(e),end:o(e),operator:e.operator,left:s(e.left),right:s(e.right)})},LogicalExpression:function(e){return new fE({start:i(e),end:o(e),operator:e.operator,left:s(e.left),right:s(e.right)})},AssignmentExpression:function(e){return new gE({start:i(e),end:o(e),operator:e.operator,logical:"??="===e.operator||"&&="===e.operator||"||="===e.operator,left:s(e.left),right:s(e.right)})},ConditionalExpression:function(e){return new hE({start:i(e),end:o(e),condition:s(e.test),consequent:s(e.consequent),alternative:s(e.alternate)})},NewExpression:function(e){return new iE({start:i(e),end:o(e),expression:s(e.callee),args:e.arguments.map(s)})},CallExpression:function(e){return new rE({start:i(e),end:o(e),expression:s(e.callee),optional:e.optional,args:e.arguments.map(s)})}};function r(e){let t=[];if(e)for(let{key:n,value:r}of e.properties){let e=Ov(n)?{type:"Identifier",name:n}:{type:"Literal",value:n,raw:JSON.stringify(n)};t.push({type:"ImportAttribute",key:e,value:h(r)})}return t}function i(e){var t=e.loc,n=t&&t.start,r=e.range;return new Kv("","",n&&n.line||0,n&&n.column||0,r?r[0]:e.start,!1,[],[],t&&t.source)}function o(e){var t=e.loc,n=t&&t.end,r=e.range;return new Kv("","",n&&n.line||0,n&&n.column||0,r?r[0]:e.end,!1,[],[],t&&t.source)}n.UpdateExpression=n.UnaryExpression=function(e){return new(("prefix"in e?e.prefix:"UnaryExpression"==e.type)?dE:mE)({start:i(e),end:o(e),operator:e.operator,expression:s(e.argument)})},n.ClassDeclaration=n.ClassExpression=function(e){return new("ClassDeclaration"===e.type?PE:IE)({start:i(e),end:o(e),name:e.id&&l("ClassDeclaration"===e.type?WE:XE,e.id),extends:s(e.superClass),properties:e.body.body.map(s)})},m(rb,function(){return{type:"EmptyStatement"}}),m(nb,function(e){return{type:"BlockStatement",body:e.body.map(h)}}),m(Nb,function(e){return{type:"IfStatement",test:h(e.condition),consequent:h(e.body),alternate:h(e.alternative)}}),m(ob,function(e){return{type:"LabeledStatement",label:h(e.label),body:h(e.body)}}),m(Db,function(e){return{type:"BreakStatement",label:h(e.label)}}),m(Pb,function(e){return{type:"ContinueStatement",label:h(e.label)}}),m(mb,function(e){return{type:"WithStatement",object:h(e.expression),body:h(e.body)}}),m(Lb,function(e){return{type:"SwitchStatement",discriminant:h(e.expression),cases:e.body.map(h)}}),m(Cb,function(e){return{type:"ReturnStatement",argument:h(e.value)}}),m(Ob,function(e){return{type:"ThrowStatement",argument:h(e.value)}}),m(lb,function(e){return{type:"WhileStatement",test:h(e.condition),body:h(e.body)}}),m(cb,function(e){return{type:"DoWhileStatement",test:h(e.condition),body:h(e.body)}}),m(ub,function(e){return{type:"ForStatement",init:h(e.init),test:h(e.condition),update:h(e.step),body:h(e.body)}}),m(pb,function(e){return{type:"ForInStatement",left:h(e.init),right:h(e.object),body:h(e.body)}}),m(db,function(e){return{type:"ForOfStatement",left:h(e.init),right:h(e.object),body:h(e.body),await:e.await}}),m(Fb,function(e){return{type:"AwaitExpression",argument:h(e.expression)}}),m(Ib,function(e){return{type:"YieldExpression",argument:h(e.expression),delegate:e.is_star}}),m(Zv,function(){return{type:"DebuggerStatement"}}),m(Zb,function(e){return{type:"VariableDeclarator",id:h(e.name),init:h(e.value)}}),m(ox,function(){return{type:"ThisExpression"}}),m(ax,function(){return{type:"Super"}}),m(hE,function(e){return{type:"ConditionalExpression",test:h(e.condition),consequent:h(e.consequent),alternate:h(e.alternative)}}),m(iE,function(e){return{type:"NewExpression",callee:h(e.expression),arguments:e.args.map(h)}}),m(rE,function(e){if(e.expression instanceof ex&&"import"===e.expression.name){let[t,n]=e.args.map(h);return{type:"ImportExpression",source:t,options:n||null}}return{type:"CallExpression",callee:h(e.expression),optional:e.optional,arguments:e.args.map(h)}}),m(hb,function(e){return b("Program",e)}),m(gb,function(e){return{type:y()?"RestElement":"SpreadElement",argument:h(e.expression)}}),m(wb,function(e){return{type:"TaggedTemplateExpression",tag:h(e.prefix),quasi:h(e.template_string)}}),m(Ab,function(e){for(var t=[],n=[],r=0;r<e.segments.length;r++)r%2==0?t.push({type:"TemplateElement",value:{raw:e.segments[r].raw,cooked:e.segments[r].value},tail:r===e.segments.length-1}):n.push(h(e.segments[r]));return{type:"TemplateLiteral",quasis:t,expressions:n}}),m(Eb,function(e){return{type:"FunctionDeclaration",id:h(e.name),params:e.argnames.map(_),generator:e.is_generator,async:e.async,body:b("BlockStatement",e)}}),m(vb,function(e){return{type:"FunctionExpression",id:h(e.name),params:e.argnames.map(_),generator:e.is_generator||!1,async:e.async||!1,body:b("BlockStatement",e)}}),m(bb,function(e){var t=1===e.body.length&&e.body[0]instanceof Cb&&e.body[0].value?h(e.body[0].value):{type:"BlockStatement",body:e.body.map(h)};return{type:"ArrowFunctionExpression",params:e.argnames.map(_),async:e.async,body:t}}),m(xb,function(e){return e.is_array?{type:"ArrayPattern",elements:e.names.map(e=>e instanceof gx?null:_(e))}:{type:"ObjectPattern",properties:e.names.map(e=>{if(e instanceof EE){var t=e.computed_key();let[n,r]=g(e.key,t,e.quote,e.value);return{type:"Property",computed:t,kind:"init",key:r,method:!1,shorthand:n,value:_(e.value)}}return _(e)})}}),m(_E,function(e){return{type:"AssignmentPattern",left:_(e.left),right:h(e.right)}}),m(Yv,function(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value,raw:e.print_to_string()},directive:e.value}}),m(Qv,function(e){return{type:"ExpressionStatement",expression:h(e.body)}}),m(Mb,function(e){return{type:"SwitchCase",test:h(e.expression),consequent:e.body.map(h)}}),m($b,function(e){return{type:"TryStatement",block:v(e.body),handler:h(e.bcatch),guardedHandlers:[],finalizer:h(e.bfinally)}}),m(Gb,function(e){return{type:"CatchClause",param:null==e.argname?null:_(e.argname),body:v(e)}}),m(Vb,function(e){return{type:"VariableDeclaration",kind:e instanceof Wb?"const":e instanceof Kb?"let":e instanceof Xb?e.await?"await using":"using":"var",declarations:e.definitions.map(h)}}),m(nE,function(e){if(e.exported_names){var t=e.exported_names[0];if(t&&"*"===t.name.name&&!t.name.quote){var n=t.foreign_name,i="*"!==n.name||n.quote?h(n):null;return{type:"ExportAllDeclaration",source:h(e.module_name),exported:i,attributes:r(e.attributes)}}return{type:"ExportNamedDeclaration",specifiers:e.exported_names.map(function(e){return{type:"ExportSpecifier",exported:h(e.foreign_name),local:h(e.name)}}),declaration:h(e.exported_definition),source:h(e.module_name),attributes:r(e.attributes)}}return e.is_default?{type:"ExportDefaultDeclaration",declaration:h(e.exported_value||e.exported_definition)}:{type:"ExportNamedDeclaration",declaration:h(e.exported_value||e.exported_definition),specifiers:[],source:null}}),m(eE,function(e){var t=[];if(e.imported_name&&t.push({type:"ImportDefaultSpecifier",local:h(e.imported_name)}),e.imported_names){var n=e.imported_names[0].foreign_name;"*"!==n.name||n.quote?e.imported_names.forEach(function(e){t.push({type:"ImportSpecifier",local:h(e.name),imported:h(e.foreign_name)})}):t.push({type:"ImportNamespaceSpecifier",local:h(e.imported_names[0].name)})}return{type:"ImportDeclaration",specifiers:t,source:h(e.module_name),attributes:r(e.attributes)}}),m(tE,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),m(oE,function(e){return{type:"SequenceExpression",expressions:e.expressions.map(h)}}),m(cE,function(e){return{type:"MemberExpression",object:h(e.expression),computed:!1,property:{type:"PrivateIdentifier",name:e.property},optional:e.optional}}),m(aE,function(e){var t=e instanceof lE;return{type:"MemberExpression",object:h(e.expression),computed:t,property:t?h(e.property):{type:"Identifier",name:e.property},optional:e.optional}}),m(uE,function(e){return{type:"ChainExpression",expression:h(e.expression)}}),m(pE,function(e){return{type:"++"==e.operator||"--"==e.operator?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof dE,argument:h(e.expression)}}),m(fE,function(e){return"="==e.operator&&y()?{type:"AssignmentPattern",left:h(e.left),right:h(e.right)}:{type:"&&"==e.operator||"||"==e.operator||"??"===e.operator?"LogicalExpression":"BinaryExpression",left:h(e.left),operator:e.operator,right:h(e.right)}}),m(gE,function(e){return{type:"AssignmentExpression",operator:e.operator,left:h(e.left),right:h(e.right)}}),m(DE,function(e){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:e.key.name},operator:"in",right:h(e.value)}}),m(yE,function(e){return{type:"ArrayExpression",elements:e.elements.map(h)}}),m(vE,function(e){return{type:"ObjectExpression",properties:e.properties.map(h)}}),m(bE,function(e,t){var n=e.computed_key();let[r,i]=g(e.key,n,e.quote,e.value);var o;return e instanceof TE?o="get":e instanceof AE&&(o="set"),e instanceof wE||e instanceof xE?{type:"MethodDefinition",computed:!1,kind:e instanceof wE?"get":"set",static:e.static,key:{type:"PrivateIdentifier",name:e.key.name},value:h(e.value)}:e instanceof RE?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:e.key.name},value:h(e.value),computed:!1,static:e.static}:e instanceof OE?{type:"PropertyDefinition",key:i,value:h(e.value),computed:n,static:e.static}:t instanceof CE?{type:"MethodDefinition",computed:n,kind:o,static:e.static,key:h(e.key),value:h(e.value)}:{type:"Property",computed:n,method:!1,shorthand:r,kind:o,key:i,value:h(e.value)}}),m(EE,function(e){var t=e.computed_key();let[n,r]=g(e.key,t,e.quote,e.value);return{type:"Property",computed:t,shorthand:n,method:!1,kind:"init",key:r,value:h(e.value)}}),m(SE,function(e,t){let n=e.computed_key(),[r,i]=g(e.key,n,e.quote,e.value);return t instanceof vE?{type:"Property",kind:"init",computed:n,method:!0,shorthand:!1,key:i,value:h(e.value)}:{type:"MethodDefinition",kind:n||"constructor"!==e.key.name?"method":"constructor",computed:n,key:i,value:h(e.value),static:e.static}}),m(kE,function(e){return{type:"MethodDefinition",kind:"method",key:{type:"PrivateIdentifier",name:e.key.name},value:h(e.value),computed:!1,static:e.static}}),m(CE,function(e){return{type:e instanceof IE?"ClassExpression":"ClassDeclaration",superClass:h(e.extends),id:e.name?h(e.name):null,body:{type:"ClassBody",body:e.properties.map(h)}}}),m(FE,function(e){return{type:"StaticBlock",body:e.body.map(h)}}),m(LE,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),m(NE,function(e,t){if(e instanceof qE&&t.quote||(e instanceof QE||e instanceof nx||e instanceof tx)&&e.quote)return{type:"Literal",value:e.name};var n=e.definition();return{type:"Identifier",name:n?n.mangled_name||n.name:e.name}}),m(px,function(e){let t=e.value.source,n=e.value.flags;return{type:"Literal",value:null,raw:e.print_to_string(),regex:{pattern:t,flags:n}}}),m(sx,function(e){return{type:"Literal",value:e.value,raw:e.raw||e.print_to_string()}}),m(dx,function(e){return{type:"Identifier",name:String(e.value)}}),m(ux,e=>({type:"Literal",value:null,bigint:"function"==typeof BigInt?BigInt(e.value).toString():e.value,raw:e.raw})),yx.DEFMETHOD("to_mozilla_ast",sx.prototype.to_mozilla_ast),mx.DEFMETHOD("to_mozilla_ast",sx.prototype.to_mozilla_ast),gx.DEFMETHOD("to_mozilla_ast",function(){return null}),tb.DEFMETHOD("to_mozilla_ast",nb.prototype.to_mozilla_ast),_b.DEFMETHOD("to_mozilla_ast",vb.prototype.to_mozilla_ast);var a=null;function s(e){return null==e?null:n[e.type](e)}function c(e,t){return t||"Literal"!==e.type||"string"!=typeof e.value?"":'"'}function l(e,t,n){return new e({start:i(t),quote:n?'"':void 0,name:"Identifier"===t.type?t.name:String(t.value),end:o(t)})}function u(t,n){return new(n?yb:vb)({start:i(t),end:o(t),name:t.id&&l(n?qE:KE,t.id),argnames:t.params.map(e=>p(e,jE)),is_generator:t.generator,async:t.async,body:e(s(t.body).body)})}function p(e,t){switch(e.type){case"ObjectPattern":return new xb({start:i(e),end:o(e),names:e.properties.map(e=>p(e,t)),is_array:!1});case"Property":var n=e.key,r={start:i(n||e.value),end:o(e.value),key:"Identifier"==n.type?n.name:String(n.value),quote:e.computed||"Literal"!==n.type||"string"!=typeof n.value?"":'"',value:p(e.value,t)};return e.computed&&(r.key=s(e.key)),new EE(r);case"ArrayPattern":return new xb({start:i(e),end:o(e),names:e.elements.map(function(e){return null===e?new gx:p(e,t)}),is_array:!0});case"SpreadElement":case"RestElement":return new gb({start:i(e),end:o(e),expression:p(e.argument,t)});case"AssignmentPattern":return new _E({start:i(e),end:o(e),left:p(e.left,t),operator:"=",right:s(e.right)});case"Identifier":return new t({start:i(e),end:o(e),name:e.name});default:throw Error("Invalid node type for destructuring: "+e.type)}}function d(e){if(!e)return null;let t=l(rx,e),n=a.length;for(;n--;){let e=a[n];if(t.name===e.name){t.thedef=e;break}}return t}function m(e,t){e.DEFMETHOD("to_mozilla_ast",function(e){return function(e,t){var n=e.start,r=e.end;return n&&r?(null!=n.pos&&null!=r.endpos&&(t.range=[n.pos,r.endpos]),n.line&&(t.loc={start:{line:n.line,column:n.col},end:r.endline?{line:r.endline,column:r.endcol}:null},n.file&&(t.loc.source=n.file)),t):t}(this,t(this,e))})}Wv.from_mozilla_ast=function(e){var t=a;a=[];var n=s(e);return a=t,n};var f=null;function h(e){null===f&&(f=[]),f.push(e);var t=null==e?null:e.to_mozilla_ast(f[f.length-2]);return f.pop(),0===f.length&&(f=null),t}function g(e,t=!1,n=!1,r=null){if(t)return[!1,h(e)];let i,o="string"==typeof e?e:e.name;return i=n?{type:"Literal",value:o,raw:JSON.stringify(o)}:""+ +o===o&&+o>=0?{type:"Literal",value:+o,raw:JSON.stringify(+o)}:{type:"Identifier",name:o},["Identifier"===i.type&&i.name===o&&(r instanceof NE&&r.name===o||r instanceof _E&&r.left.name===o),i]}function _(e){if(e instanceof gb)return{type:"RestElement",argument:_(e.expression)};if(e instanceof NE||e instanceof xb||e instanceof _E||e instanceof aE)return h(e);throw Error(e.TYPE)}function y(){for(var e=f.length;e--;)if(f[e]instanceof xb)return!0;return!1}function v(e){return{type:"BlockStatement",body:e.body.map(h)}}function b(e,t){var n=t.body.map(h);return t.body[0]instanceof Qv&&t.body[0].body instanceof cx&&n.unshift(h(new rb(t.body[0]))),{type:e,body:n}}}();const Ix=/[@#]__(PURE|INLINE|NOINLINE)__/;function Nx(e){return("comment2"===e.type||"comment1"===e.type)&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(e.value)}var Lx=class{constructor(){this.committed="",this.current=""}append(e){this.current.length>8e3?(this.committed+=this.current+e,this.current=""):this.current+=e}insertAt(e,t){let{committed:n,current:r}=this;t<n.length?this.committed=n.slice(0,t)+e+n.slice(t):t===n.length?this.committed+=e:(t-=n.length,this.committed+=r.slice(0,t)+e,this.current=r.slice(t))}charAt(e){let{committed:t}=this;return e<t.length?t[e]:this.current[e-t.length]}charCodeAt(e){let{committed:t}=this;return e<t.length?t.charCodeAt(e):this.current.charCodeAt(e-t.length)}length(){return this.committed.length+this.current.length}expectDirective(){let e,t=this.length();if(t<=0)return!0;for(;(e=this.charCodeAt(--t))&&(32==e||10==e););return!e||59===e||123===e}hasNLB(){let e=this.length()-1;for(;e>=0;){let t=this.charCodeAt(e--);if(10===t)return!0;if(32!==t)return!1}return!0}toString(){return this.committed+this.current}};function Mx(e){var t=!e;void 0===(e=Ry(e,{ascii_only:!1,beautify:!1,braces:!1,comments:"some",ecma:5,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_numbers:!1,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_annotations:!1,quote_keys:!1,quote_style:0,safari10:!1,semicolons:!0,shebang:!0,shorthand:void 0,source_map:null,webkit:!1,width:80,wrap_iife:!1,wrap_func_args:!1,_destroy_ast:!1},!0)).shorthand&&(e.shorthand=e.ecma>5);var n=Py;if(e.comments){let t=e.comments;if("string"==typeof e.comments&&/^\/.*\/[a-zA-Z]*$/.test(e.comments)){var r=e.comments.lastIndexOf("/");t=new RegExp(e.comments.substr(1,r-1),e.comments.substr(r+1))}n=t instanceof RegExp?function(e){return"comment5"!=e.type&&t.test(e.value)}:"function"==typeof t?function(e){return"comment5"!=e.type&&t(this,e)}:"some"===t?Nx:Fy}if(e.preserve_annotations){let e=n;n=function(t){return Ix.test(t.value)||e.apply(this,arguments)}}var i=0,o=0,a=1,s=0,c=new Lx;let l=new Set;var u=e.ascii_only?function(t,n=!1,r=!1){return e.ecma>=2015&&!e.safari10&&!r&&(t=t.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(e){return"\\u{"+function(e){return wv(e.charCodeAt(0))?65536+(e.charCodeAt(0)-55296<<10)+e.charCodeAt(1)-56320:e.charCodeAt(0)}(e).toString(16)+"}"})),t.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(e){var t=e.charCodeAt(0).toString(16);if(t.length<=2&&!n){for(;t.length<2;)t="0"+t;return"\\x"+t}for(;t.length<4;)t="0"+t;return"\\u"+t})}:function(e){return e.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,function(e,t){return t?"\\u"+t.charCodeAt(0).toString(16):e})};function p(t,n){var r=function(t,n){var r=0,i=0;function o(){return"'"+t.replace(/\x27/g,"\\'")+"'"}function a(){return'"'+t.replace(/\x22/g,'\\"')+'"'}if(t=t.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(n,o){switch(n){case'"':return++r,'"';case"'":return++i,"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return e.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(xv(t,o+1))?"\\x00":"\\0"}return n}),t=u(t),"`"===n)return"`"+t.replace(/`/g,"\\`")+"`";switch(e.quote_style){case 1:return o();case 2:return a();case 3:return"'"==n?o():a();default:return r>i?o():a()}}(t,n);return e.inline_script&&(r=(r=(r=r.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2")).replace(/\x3c!--/g,"\\x3c!--")).replace(/--\x3e/g,"--\\x3e")),r}var d,m,f=!1,h=!1,g=!1,_=0,y=!1,v=!1,b=-1,E="",x=e.source_map&&[],w=x?function(){x.forEach(function(t){try{let{name:n,token:r}=t;!1!==n&&("name"==r.type||"privatename"===r.type?n=r.value:n instanceof NE&&(n="string"===r.type?r.value:n.name)),e.source_map.add(t.token.file,t.line,t.col,t.token.line,t.token.col,Ov(n)?n:void 0)}catch{}}),x=[]}:Dy,A=e.max_line_len?function(){if(o>e.max_line_len&&_){c.insertAt("\n",_);let e=c.length()-_-1;if(x){var t=e-o;x.forEach(function(e){e.line++,e.col+=t})}a++,s++,o=e}_&&(_=0,w())}:Dy,T=Gy("( [ + * / - , . `");function S(t){var n=xv(t=String(t),0);y&&n&&(y=!1,"\n"!==n&&(S("\n"),C())),v&&n&&(v=!1,/[\s;})]/.test(n)||k()),b=-1;var r=E.charAt(E.length-1);g&&(g=!1,(":"===r&&"}"===n||(!n||!";}".includes(n))&&";"!==r)&&(e.semicolons||T.has(n)?(c.append(";"),o++,s++):(A(),o>0&&(c.append("\n"),s++,a++,o=0),/^\s+$/.test(t)&&(g=!0)),e.beautify||(h=!1))),h&&=((kv(r)&&(kv(n)||"\\"==n)||"/"==n&&n==r||("+"==n||"-"==n)&&n==E)&&(c.append(" "),o++,s++),!1),d&&(x.push({token:d,name:m,line:a,col:o}),d=!1,_||w()),c.append(t),f="("==t[t.length-1],s+=t.length;var i=t.split(/\r?\n/),l=i.length-1;a+=l,o+=i[0].length,l>0&&(A(),o=i[l].length),E=t}var k=e.beautify?function(){S(" ")}:function(){h=!0},C=e.beautify?function(t){e.beautify&&S(function(t){return" ".repeat(e.indent_start+i-t*e.indent_level)}(t?.5:0))}:Dy,O=e.beautify?function(e,t){!0===e&&(e=F());var n=i;i=e;var r=t();return i=n,r}:function(e,t){return t()},R=e.beautify?function(){if(b<0)return S("\n");"\n"!=c.charAt(b)&&(c.insertAt("\n",b),s++,a++),b++}:e.max_line_len?function(){A(),_=c.length()}:Dy,D=e.beautify?function(){S(";")}:function(){g=!0};function P(){g=!1,S(";")}function F(){return i+e.indent_level}var I=x?function(e,t){d=e,m=t}:Dy;function N(){return _&&A(),c.toString()}function L(t){return e.preserve_annotations||(t=t.replace(Ix," ")),/^\s*$/.test(t)?"":t.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}let M=e._destroy_ast?function(e){e.body.length=0,e.argnames.length=0}:Dy;var B=[];return{get:N,toString:N,indent:C,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return i},current_width:function(){return o-i},should_break:function(){return e.width&&this.current_width()>=e.width},has_parens:function(){return f},newline:R,print:S,star:function(){S("*")},space:k,comma:function(){S(","),k()},colon:function(){S(":"),k()},last:function(){return E},semicolon:D,force_semicolon:P,to_utf8:u,print_name:function(e){S(function(e){return e=e.toString(),u(e,!0)}(e))},print_string:function(e,t,n){var r=p(e,t);!0===n&&!r.includes("\\")&&(c.expectDirective()||P(),P()),S(r)},print_template_string_chars:function(e){var t=p(e,"`").replace(/\${/g,"\\${");return S(t.substr(1,t.length-2))},encode_string:p,next_indent:F,with_indent:O,with_block:function(e){var t;return S("{"),R(),O(F(),function(){t=e()}),C(),S("}"),t},with_parens:function(e){S("(");var t=e();return S(")"),t},with_square:function(e){S("[");var t=e();return S("]"),t},add_mapping:I,option:function(t){return e[t]},gc_scope:M,printed_comments:l,prepend_comments:t?Dy:function(t){var r=t.start;if(!r)return;var i=this.printed_comments;let o=t instanceof kb&&t.value||(t instanceof Fb||t instanceof Ib)&&t.expression;if(r.comments_before&&i.has(r.comments_before)){if(!o)return;r.comments_before=[]}var a=r.comments_before;if(a||=r.comments_before=[],i.add(a),o){var l=new Ax(function(e){var t=l.parent();if(!(t instanceof kb||t instanceof Fb||t instanceof Ib||t instanceof fE&&t.left===e||"Call"==t.TYPE&&t.expression===e||t instanceof hE&&t.condition===e||t instanceof sE&&t.expression===e||t instanceof oE&&t.expressions[0]===e||t instanceof lE&&t.expression===e||t instanceof mE))return!0;if(e.start){var n=e.start.comments_before;n&&!i.has(n)&&(i.add(n),a=a.concat(n))}});l.push(t),o.walk(l)}if(0==s){a.length>0&&e.shebang&&"comment5"===a[0].type&&!i.has(a[0])&&(S("#!"+a.shift().value+"\n"),C());var u=e.preamble;u&&S(u.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}if(a=a.filter(n,t).filter(e=>!i.has(e)),0!=a.length){var p=c.hasNLB();a.forEach(function(e,t){if(i.add(e),p||(e.nlb?(S("\n"),C(),p=!0):t>0&&k()),/comment[134]/.test(e.type))(n=L(e.value))&&(S("//"+n+"\n"),C()),p=!0;else if("comment2"==e.type){var n;(n=L(e.value))&&S("/*"+n+"*/"),p=!1}}),p||(r.nlb?(S("\n"),C()):k())}},append_comments:t||n===Py?Dy:function(e,t){var r=e.end;if(r){var i=this.printed_comments,o=r[t?"comments_before":"comments_after"];if(o&&!i.has(o)&&(e instanceof Xv||o.every(e=>!/comment[134]/.test(e.type)))){i.add(o);var a=c.length();o.filter(n,e).forEach(function(e,n){if(!i.has(e))if(i.add(e),v=!1,y?(S("\n"),C(),y=!1):e.nlb&&(n>0||!c.hasNLB())?(S("\n"),C()):(n>0||!t)&&k(),/comment[134]/.test(e.type)){let t=L(e.value);t&&S("//"+t),y=!0}else if("comment2"==e.type){let t=L(e.value);t&&S("/*"+t+"*/"),v=!0}}),c.length()>a&&(b=a)}}},line:function(){return a},col:function(){return o},pos:function(){return s},push_node:function(e){B.push(e)},pop_node:function(){return B.pop()},parent:function(e){return B[B.length-2-(e||0)]}}}!function(){function e(e,t){e.DEFMETHOD("_codegen",t)}function t(e,n){Array.isArray(e)?e.forEach(function(e){t(e,n)}):e.DEFMETHOD("needs_parens",n)}function n(e,t,n,r){var i=e.length-1;n.in_directive=r,e.forEach(function(e,r){!0===n.in_directive&&!(e instanceof Yv||e instanceof rb||e instanceof Qv&&e.body instanceof cx)&&(n.in_directive=!1),e instanceof rb||(n.indent(),e.print(n),r==i&&t||(n.newline(),t&&n.newline())),!0===n.in_directive&&e instanceof Qv&&e.body instanceof cx&&(n.in_directive=!1)}),n.in_directive=!1}function r(e,t){t.print("{"),t.with_indent(t.next_indent(),function(){t.append_comments(e,!0)}),t.add_mapping(e.end),t.print("}")}function i(e,t,i){e.body.length>0?t.with_block(function(){n(e.body,!1,t,i),t.add_mapping(e.end)}):r(e,t)}function o(e,t,n){var r=!1;n&&(r=Ex(e,e=>e instanceof fb&&!(e instanceof bb)||(e instanceof fE&&"in"==e.operator||e instanceof DE?wx:void 0))),e.print(t,r)}function a(e,t,n){return n.option("quote_keys")?(n.print_string(e),!1):""+ +e==e&&e>=0?n.option("keep_numbers")?(n.print(e),!1):(n.print(p(e)),!1):(ov.has(e)?n.option("ie8"):n.option("ecma")<2015||n.option("safari10")?!Ov(e):!Rv(e,!0))||t&&n.option("keep_quoted_props")?(n.print_string(e,t),!1):(n.print_name(e),!0)}Wv.DEFMETHOD("print",function(e,t){var n=this,r=n._codegen;function i(){e.prepend_comments(n),n.add_source_map(e),r(n,e),e.append_comments(n)}n instanceof fb?e.active_scope=n:!e.use_asm&&n instanceof Yv&&"use asm"==n.value&&(e.use_asm=e.active_scope),e.push_node(n),t||n.needs_parens(e)?e.with_parens(i):i(),e.pop_node(),n===e.use_asm&&(e.use_asm=null)}),Wv.DEFMETHOD("_print",Wv.prototype.print),Wv.DEFMETHOD("print_to_string",function(e){var t=Mx(e);return this.print(t),t.get()}),t(Wv,Py),t(vb,function(e){return!((e.has_parens()||!Px(e))&&!(e.option("webkit")&&(t=e.parent())instanceof aE&&t.expression===this)&&!(e.option("wrap_iife")&&(t=e.parent())instanceof rE&&t.expression===this)&&!(e.option("wrap_func_args")&&(t=e.parent())instanceof rE&&t.args.includes(this)));var t}),t(bb,function(e){var t=e.parent();return!!(e.option("wrap_func_args")&&t instanceof rE&&t.args.includes(this))||t instanceof aE&&t.expression===this||t instanceof hE&&t.condition===this}),t(vE,function(e){return!e.has_parens()&&Px(e)}),t(IE,Px),t(pE,function(e){var t=e.parent();return t instanceof aE&&t.expression===this||t instanceof rE&&t.expression===this||t instanceof fE&&"**"===t.operator&&this instanceof dE&&t.left===this&&"++"!==this.operator&&"--"!==this.operator}),t(Fb,function(e){var t=e.parent();return t instanceof aE&&t.expression===this||t instanceof rE&&t.expression===this||t instanceof fE&&"**"===t.operator&&t.left===this||e.option("safari10")&&t instanceof dE}),t(oE,function(e){var t=e.parent();return t instanceof rE||t instanceof pE||t instanceof fE||t instanceof Zb||t instanceof aE||t instanceof yE||t instanceof bE||t instanceof hE||t instanceof bb||t instanceof _E||t instanceof gb||t instanceof db&&this===t.object||t instanceof Ib||t instanceof nE}),t(fE,function(e){var t=e.parent();if(t instanceof rE&&t.expression===this||t instanceof pE||t instanceof aE&&t.expression===this)return!0;if(t instanceof fE){let e=t.operator,n=this.operator;if("??"===n&&("||"===e||"&&"===e)||"??"===e&&("||"===n||"&&"===n))return!0;let r=zv[e],i=zv[n];if(r>i||r==i&&(this===t.right||"**"==e))return!0}if(t instanceof DE){let e=this.operator,n=zv.in,r=zv[e];if(n>r||n==r&&this===t.value)return!0}}),t(DE,function(e){var t=e.parent();if(t instanceof rE&&t.expression===this||t instanceof pE||t instanceof aE&&t.expression===this)return!0;if(t instanceof fE){let e=t.operator,n=zv[e],r=zv.in;if(n>r||n==r&&(this===t.right||"**"==e))return!0}return t instanceof DE&&this===t.value||void 0}),t(Ib,function(e){var t=e.parent();if(t instanceof fE&&"="!==t.operator||t instanceof rE&&t.expression===this||t instanceof hE&&t.condition===this||t instanceof pE||t instanceof aE&&t.expression===this)return!0}),t(uE,function(e){var t=e.parent();return(t instanceof rE||t instanceof aE)&&t.expression===this}),t(aE,function(e){var t=e.parent();if(t instanceof iE&&t.expression===this)return Ex(this,e=>e instanceof fb||(e instanceof rE?wx:void 0))}),t(rE,function(e){var t,n=e.parent();return!!(n instanceof iE&&n.expression===this||n instanceof nE&&n.is_default&&this.expression instanceof vb)||this.expression instanceof vb&&n instanceof aE&&n.expression===this&&(t=e.parent(1))instanceof gE&&t.left===n}),t(iE,function(e){var t=e.parent();if(0===this.args.length&&(t instanceof aE||t instanceof rE&&t.expression===this||t instanceof wb&&t.prefix===this))return!0}),t(lx,function(e){var t=e.parent();if(t instanceof aE&&t.expression===this){var n=this.getValue();if(n<0||/^0/.test(p(n)))return!0}}),t(ux,function(e){var t=e.parent();if(t instanceof aE&&t.expression===this&&this.getValue().startsWith("-"))return!0}),t([gE,hE],function(e){var t=e.parent();if(t instanceof pE||t instanceof fE&&!(t instanceof gE)||t instanceof rE&&t.expression===this||t instanceof hE&&t.condition===this||t instanceof aE&&t.expression===this||this instanceof gE&&this.left instanceof xb&&!1===this.left.is_array)return!0}),e(Yv,function(e,t){t.print_string(e.value,e.quote),t.semicolon()}),e(gb,function(e,t){t.print("..."),e.expression.print(t)}),e(xb,function(e,t){t.print(e.is_array?"[":"{");var n=e.names.length;e.names.forEach(function(e,r){r>0&&t.comma(),e.print(t),r==n-1&&e instanceof gx&&t.comma()}),t.print(e.is_array?"]":"}")}),e(Zv,function(e,t){t.print("debugger"),t.semicolon()}),ib.DEFMETHOD("_do_print_body",function(e){u(this.body,e)}),e(Xv,function(e,t){e.body.print(t),t.semicolon()}),e(hb,function(e,t){n(e.body,!0,t,!0),t.print("")}),e(ob,function(e,t){e.label.print(t),t.colon(),e.body.print(t)}),e(Qv,function(e,t){e.body.print(t),t.semicolon()}),e(nb,function(e,t){i(e,t)}),e(rb,function(e,t){t.semicolon()}),e(cb,function(e,t){t.print("do"),t.space(),d(e.body,t),t.space(),t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.semicolon()}),e(lb,function(e,t){t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e._do_print_body(t)}),e(ub,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init?(e.init instanceof Vb?e.init.print(t):o(e.init,t,!0),t.print(";"),t.space()):t.print(";"),e.condition?(e.condition.print(t),t.print(";"),t.space()):t.print(";"),e.step&&e.step.print(t)}),t.space(),e._do_print_body(t)}),e(pb,function(e,t){t.print("for"),e.await&&(t.space(),t.print("await")),t.space(),t.with_parens(function(){e.init.print(t),t.space(),t.print(e instanceof db?"of":"in"),t.space(),e.object.print(t)}),t.space(),e._do_print_body(t)}),e(mb,function(e,t){t.print("with"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space(),e._do_print_body(t)}),_b.DEFMETHOD("_do_print",function(e,t){var n=this;t||(n.async&&(e.print("async"),e.space()),e.print("function"),n.is_generator&&e.star(),n.name&&e.space()),n.name instanceof NE?n.name.print(e):t&&n.name instanceof Wv&&e.with_square(function(){n.name.print(e)}),e.with_parens(function(){n.argnames.forEach(function(t,n){n&&e.comma(),t.print(e)})}),e.space(),i(n,e,!0)}),e(_b,function(e,t){e._do_print(t),t.gc_scope(e)}),e(wb,function(e,t){var n=e.prefix,r=n instanceof _b||n instanceof fE||n instanceof hE||n instanceof oE||n instanceof pE||n instanceof sE&&n.expression instanceof vE;r&&t.print("("),e.prefix.print(t),r&&t.print(")"),e.template_string.print(t)}),e(Ab,function(e,t){var n=t.parent()instanceof wb;t.print("`");for(var r=0;r<e.segments.length;r++)e.segments[r]instanceof Tb?n?t.print(e.segments[r].raw):t.print_template_string_chars(e.segments[r].value):(t.print("${"),e.segments[r].print(t),t.print("}"));t.print("`")}),e(Tb,function(e,t){t.print_template_string_chars(e.value)}),bb.DEFMETHOD("_do_print",function(e){var t=this,n=e.parent(),r=n instanceof fE&&!(n instanceof gE)&&!(n instanceof _E)||n instanceof pE||n instanceof rE&&t===n.expression;r&&e.print("("),t.async&&(e.print("async"),e.space()),1===t.argnames.length&&t.argnames[0]instanceof NE?t.argnames[0].print(e):e.with_parens(function(){t.argnames.forEach(function(t,n){n&&e.comma(),t.print(e)})}),e.space(),e.print("=>"),e.space();let o=t.body[0];if(1===t.body.length&&o instanceof Cb){let t=o.value;t?Fx(t)?(e.print("("),t.print(e),e.print(")")):t.print(e):e.print("{}")}else i(t,e);r&&e.print(")"),e.gc_scope(t)}),kb.DEFMETHOD("_do_print",function(e,t){if(e.print(t),this.value){e.space();let t=this.value.start.comments_before;t&&t.length&&!e.printed_comments.has(t)?(e.print("("),this.value.print(e),e.print(")")):this.value.print(e)}e.semicolon()}),e(Cb,function(e,t){e._do_print(t,"return")}),e(Ob,function(e,t){e._do_print(t,"throw")}),e(Ib,function(e,t){var n=e.is_star?"*":"";t.print("yield"+n),e.expression&&(t.space(),e.expression.print(t))}),e(Fb,function(e,t){t.print("await"),t.space();var n=e.expression,r=!(n instanceof rE||n instanceof ex||n instanceof aE||n instanceof pE||n instanceof sx||n instanceof Fb||n instanceof vE);r&&t.print("("),e.expression.print(t),r&&t.print(")")}),Rb.DEFMETHOD("_do_print",function(e,t){e.print(t),this.label&&(e.space(),this.label.print(e)),e.semicolon()}),e(Db,function(e,t){e._do_print(t,"break")}),e(Pb,function(e,t){e._do_print(t,"continue")}),e(Nb,function(e,t){t.print("if"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e.alternative?(function(e,t){var n=e.body;if(t.option("braces")||t.option("ie8")&&n instanceof cb)return d(n,t);if(!n)return t.force_semicolon();for(;;)if(n instanceof Nb){if(!n.alternative)return void d(e.body,t);n=n.alternative}else{if(!(n instanceof ib))break;n=n.body}u(e.body,t)}(e,t),t.space(),t.print("else"),t.space(),e.alternative instanceof Nb?e.alternative.print(t):u(e.alternative,t)):e._do_print_body(t)}),e(Lb,function(e,t){t.print("switch"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space();var n=e.body.length-1;n<0?r(e,t):t.with_block(function(){e.body.forEach(function(e,r){t.indent(!0),e.print(t),r<n&&e.body.length>0&&t.newline()})})}),Mb.DEFMETHOD("_do_print_body",function(e){e.newline(),this.body.forEach(function(t){e.indent(),t.print(e),e.newline()})}),e(Bb,function(e,t){t.print("default:"),e._do_print_body(t)}),e(Ub,function(e,t){t.print("case"),t.space(),e.expression.print(t),t.print(":"),e._do_print_body(t)}),e($b,function(e,t){t.print("try"),t.space(),e.body.print(t),e.bcatch&&(t.space(),e.bcatch.print(t)),e.bfinally&&(t.space(),e.bfinally.print(t))}),e(zb,function(e,t){i(e,t)}),e(Gb,function(e,t){t.print("catch"),e.argname&&(t.space(),t.with_parens(function(){e.argname.print(t)})),t.space(),i(e,t)}),e(jb,function(e,t){t.print("finally"),t.space(),i(e,t)}),Vb.DEFMETHOD("_do_print",function(e,t){e.print(t),e.space(),this.definitions.forEach(function(t,n){n&&e.comma(),t.print(e)});var n=e.parent();(!(n instanceof ub||n instanceof pb)||n&&n.init!==this)&&e.semicolon()}),e(Kb,function(e,t){e._do_print(t,"let")}),e(Hb,function(e,t){e._do_print(t,"var")}),e(Wb,function(e,t){e._do_print(t,"const")}),e(Xb,function(e,t){e._do_print(t,e.await?"await using":"using")}),e(eE,function(e,t){t.print("import"),t.space(),e.imported_name&&e.imported_name.print(t),e.imported_name&&e.imported_names&&(t.print(","),t.space()),e.imported_names&&(1!==e.imported_names.length||"*"!==e.imported_names[0].foreign_name.name||e.imported_names[0].foreign_name.quote?(t.print("{"),e.imported_names.forEach(function(n,r){t.space(),n.print(t),r<e.imported_names.length-1&&t.print(",")}),t.space(),t.print("}")):e.imported_names[0].print(t)),(e.imported_name||e.imported_names)&&(t.space(),t.print("from"),t.space()),e.module_name.print(t),e.attributes&&(t.print("with"),e.attributes.print(t)),t.semicolon()}),e(tE,function(e,t){t.print("import.meta")}),e(Jb,function(e,t){var n=t.parent()instanceof eE,r=e.name.definition(),i=e.foreign_name,o=(r&&r.mangled_name||e.name.name)!==i.name;!o&&"*"===i.name&&!!i.quote!=!!e.name.quote&&(o=!0);var a=!i.quote;o?(n?a?t.print(i.name):t.print_string(i.name,i.quote):e.name.quote?t.print_string(e.name.name,e.name.quote):e.name.print(t),t.space(),t.print("as"),t.space(),n?e.name.print(t):a?t.print(i.name):t.print_string(i.name,i.quote)):e.name.quote?t.print_string(e.name.name,e.name.quote):e.name.print(t)}),e(nE,function(e,t){if(t.print("export"),t.space(),e.is_default&&(t.print("default"),t.space()),e.exported_names)1!==e.exported_names.length||"*"!==e.exported_names[0].name.name||e.exported_names[0].name.quote?(t.print("{"),e.exported_names.forEach(function(n,r){t.space(),n.print(t),r<e.exported_names.length-1&&t.print(",")}),t.space(),t.print("}")):e.exported_names[0].print(t);else if(e.exported_value)e.exported_value.print(t);else if(e.exported_definition&&(e.exported_definition.print(t),e.exported_definition instanceof qb))return;e.module_name&&(t.space(),t.print("from"),t.space(),e.module_name.print(t)),e.attributes&&(t.print("with"),e.attributes.print(t)),(e.exported_value&&!(e.exported_value instanceof Eb||e.exported_value instanceof vb||e.exported_value instanceof CE)||e.module_name||e.exported_names)&&t.semicolon()}),e(Zb,function(e,t){if(e.name.print(t),e.value){t.space(),t.print("="),t.space();var n=t.parent(1),r=n instanceof ub||n instanceof pb;o(e.value,t,r)}}),e(rE,function(e,t){e.expression.print(t),!(e instanceof iE&&0===e.args.length)&&((e.expression instanceof rE||e.expression instanceof _b)&&t.add_mapping(e.start),e.optional&&t.print("?."),t.with_parens(function(){e.args.forEach(function(e,n){n&&t.comma(),e.print(t)})}))}),e(iE,function(e,t){t.print("new"),t.space(),rE.prototype._codegen(e,t)}),oE.DEFMETHOD("_do_print",function(e){this.expressions.forEach(function(t,n){n>0&&(e.comma(),e.should_break()&&(e.newline(),e.indent())),t.print(e)})}),e(oE,function(e,t){e._do_print(t)}),e(sE,function(e,t){var n=e.expression;n.print(t);var r=e.property,i=ov.has(r)?t.option("ie8"):!Rv(r,t.option("ecma")>=2015&&!t.option("safari10"));e.optional&&t.print("?."),i?(t.print("["),t.add_mapping(e.end),t.print_string(r),t.print("]")):(n instanceof lx&&n.getValue()>=0&&(/[xa-f.)]/i.test(t.last())||t.print(".")),e.optional||t.print("."),t.add_mapping(e.end),t.print_name(r))}),e(cE,function(e,t){e.expression.print(t);var n=e.property;e.optional&&t.print("?"),t.print(".#"),t.add_mapping(e.end),t.print_name(n)}),e(lE,function(e,t){e.expression.print(t),e.optional&&t.print("?."),t.print("["),e.property.print(t),t.print("]")}),e(uE,function(e,t){e.expression.print(t)}),e(dE,function(e,t){var n=e.operator;"--"===n&&t.last().endsWith("!")&&t.print(" "),t.print(n),(/^[a-z]/i.test(n)||/[+-]$/.test(n)&&e.expression instanceof dE&&/^[+-]/.test(e.expression.operator))&&t.space(),e.expression.print(t)}),e(mE,function(e,t){e.expression.print(t),t.print(e.operator)}),e(fE,function(e,t){var n=e.operator;e.left.print(t),">"==n[0]&&t.last().endsWith("--")?t.print(" "):t.space(),t.print(n),t.space(),e.right.print(t)}),e(hE,function(e,t){e.condition.print(t),t.space(),t.print("?"),t.space(),e.consequent.print(t),t.space(),t.colon(),e.alternative.print(t)}),e(yE,function(e,t){t.with_square(function(){var n=e.elements,r=n.length;r>0&&t.space(),n.forEach(function(e,n){n&&t.comma(),e.print(t),n===r-1&&e instanceof gx&&t.comma()}),r>0&&t.space()})}),e(vE,function(e,t){e.properties.length>0?t.with_block(function(){e.properties.forEach(function(e,n){n&&(t.print(","),t.newline()),t.indent(),e.print(t)}),t.newline()}):r(e,t)}),e(CE,function(e,t){if(t.print("class"),t.space(),e.name&&(e.name.print(t),t.space()),e.extends){var n=!(e.extends instanceof ex||e.extends instanceof aE||e.extends instanceof IE||e.extends instanceof vb);t.print("extends"),n?t.print("("):t.space(),e.extends.print(t),n?t.print(")"):t.space()}e.properties.length>0?t.with_block(function(){e.properties.forEach(function(e,n){n&&t.newline(),t.indent(),e.print(t)}),t.newline()}):t.print("{}")}),e(LE,function(e,t){t.print("new.target")}),e(EE,function(e,t){function n(e){var t=e.definition();return t?t.mangled_name||t.name:e.name}let r=t.option("shorthand")&&!(e.key instanceof Wv);r&&e.value instanceof NE&&n(e.value)===e.key&&!ov.has(e.key)?a(e.key,e.quote,t)||(t.colon(),e.value.print(t)):r&&e.value instanceof _E&&e.value.left instanceof NE&&n(e.value.left)===e.key?(a(e.key,e.quote,t)||(t.colon(),e.value.left.print(t)),t.space(),t.print("="),t.space(),e.value.right.print(t)):(e.key instanceof Wv?t.with_square(function(){e.key.print(t)}):a(e.key,e.quote,t),t.colon(),e.value.print(t))}),e(RE,(e,t)=>{e.static&&(t.print("static"),t.space()),t.print("#"),a(e.key.name,void 0,t),e.value&&(t.print("="),e.value.print(t)),t.semicolon()}),e(OE,(e,t)=>{e.static&&(t.print("static"),t.space()),e.key instanceof HE?a(e.key.name,e.quote,t):(t.print("["),e.key.print(t),t.print("]")),e.value&&(t.print("="),e.value.print(t)),t.semicolon()}),bE.DEFMETHOD("_print_getter_setter",function(e,t,n){var r=this;r.static&&(n.print("static"),n.space()),e&&(n.print(e),n.space()),r.key instanceof qE?(t&&n.print("#"),a(r.key.name,r.quote,n),r.key.add_source_map(n)):n.with_square(function(){r.key.print(n)}),r.value._do_print(n,!0)}),e(AE,function(e,t){e._print_getter_setter("set",!1,t)}),e(TE,function(e,t){e._print_getter_setter("get",!1,t)}),e(xE,function(e,t){e._print_getter_setter("set",!0,t)}),e(wE,function(e,t){e._print_getter_setter("get",!0,t)}),e(SE,function(e,t){var n;e.value.is_generator&&e.value.async?n="async*":e.value.is_generator?n="*":e.value.async&&(n="async"),e._print_getter_setter(n,!1,t)}),e(kE,function(e,t){var n;e.value.is_generator&&e.value.async?n="async*":e.value.is_generator?n="*":e.value.async&&(n="async"),e._print_getter_setter(n,!0,t)}),e(DE,function(e,t){e.key.print(t),t.space(),t.print("in"),t.space(),e.value.print(t)}),e(ix,function(e,t){t.print("#"+e.name)}),e(FE,function(e,t){t.print("static"),t.space(),i(e,t)}),NE.DEFMETHOD("_do_print",function(e){var t=this.definition();e.print_name(t?t.mangled_name||t.name:this.name)}),e(NE,function(e,t){e._do_print(t)}),e(gx,Dy),e(ox,function(e,t){t.print("this")}),e(ax,function(e,t){t.print("super")}),e(sx,function(e,t){t.print(e.getValue())}),e(cx,function(e,t){t.print_string(e.getValue(),e.quote,t.in_directive)}),e(lx,function(e,t){(t.option("keep_numbers")||t.use_asm)&&e.raw?t.print(e.raw):t.print(p(e.getValue()))}),e(ux,function(e,t){t.option("keep_numbers")&&e.raw?t.print(e.raw):t.print(e.getValue()+"n")});let s=/(<\s*\/\s*script)/i,c=/^\s*script/i,l=(e,t)=>t.replace("/","\\/");function u(e,t){t.option("braces")?d(e,t):!e||e instanceof rb?t.force_semicolon():e instanceof Vb&&!(e instanceof Hb)||e instanceof CE?d(e,t):e.print(t)}function p(e){var t,n,r,i=e.toString(10).replace(/^0\./,".").replace("e+","e"),o=[i];return Math.floor(e)===e&&(e<0?o.push("-0x"+(-e).toString(16).toLowerCase()):o.push("0x"+e.toString(16).toLowerCase())),(t=/^\.0+/.exec(i))?(n=t[0].length,r=i.slice(n),o.push(r+"e-"+(r.length+n-1))):(t=/0+$/.exec(i))?(n=t[0].length,o.push(i.slice(0,-n)+"e"+n)):(t=/^(\d)\.(\d+)e(-?\d+)$/.exec(i))&&o.push(t[1]+t[2]+"e"+(t[3]-t[2].length)),function(e){for(var t=e[0],n=t.length,r=1;r<e.length;++r)e[r].length<n&&(n=(t=e[r]).length);return t}(o)}function d(e,t){!e||e instanceof rb?t.print("{}"):e instanceof nb?e.print(t):t.with_block(function(){t.indent(),e.print(t),t.newline()})}function m(e,t){e.forEach(function(e){e.DEFMETHOD("add_source_map",t)})}e(px,function(e,t){let{source:n,flags:r}=e.getValue();n=Wy(n),r=r?function(e){let t=new Set(e.split("")),n="";for(let e of"dgimsuyv")t.has(e)&&(n+=e,t.delete(e));return t.size&&t.forEach(e=>{n+=e}),n}(r):"",n=n.replace(s,l),c.test(n)&&t.last().endsWith("<")&&t.print(" "),t.print(t.to_utf8(`/${n}/${r}`,!1,!0));let i=t.parent();i instanceof fE&&/^\w/.test(i.operator)&&i.left===e&&t.print(" ")}),m([Wv,ob,hb],Dy),m([yE,nb,Gb,CE,sx,Zv,Vb,Yv,jb,Sb,_b,iE,vE,ib,NE,Lb,Mb,Ab,Tb,$b],function(e){e.add_mapping(this.start)}),m([TE,AE,wE,xE,SE,kE],function(e){e.add_mapping(this.start,!1)}),m([qE,ix],function(e){let t=this.end&&this.end.type;"name"===t||"privatename"===t?e.add_mapping(this.end,this.name):e.add_mapping(this.end)}),m([bE],function(e){e.add_mapping(this.start,this.key)})}();const Bx=(e,t)=>null===e&&null===t||e.TYPE===t.TYPE&&e.shallow_cmp(t),Ux=()=>!0;Wv.prototype.shallow_cmp=function(){throw Error("did not find a shallow_cmp function for "+this.constructor.name)},Zv.prototype.shallow_cmp=Ux,Yv.prototype.shallow_cmp=function(e){return this.value===e.value},Qv.prototype.shallow_cmp=Ux,tb.prototype.shallow_cmp=Ux,rb.prototype.shallow_cmp=Ux,ob.prototype.shallow_cmp=function(e){return this.label.name===e.label.name},cb.prototype.shallow_cmp=Ux,lb.prototype.shallow_cmp=Ux,ub.prototype.shallow_cmp=function(e){return(null==this.init?null==e.init:this.init===e.init)&&(null==this.condition?null==e.condition:this.condition===e.condition)&&(null==this.step?null==e.step:this.step===e.step)},pb.prototype.shallow_cmp=Ux,db.prototype.shallow_cmp=Ux,mb.prototype.shallow_cmp=Ux,hb.prototype.shallow_cmp=Ux,gb.prototype.shallow_cmp=Ux,_b.prototype.shallow_cmp=function(e){return this.is_generator===e.is_generator&&this.async===e.async},xb.prototype.shallow_cmp=function(e){return this.is_array===e.is_array},wb.prototype.shallow_cmp=Ux,Ab.prototype.shallow_cmp=Ux,Tb.prototype.shallow_cmp=function(e){return this.value===e.value},Sb.prototype.shallow_cmp=Ux,Rb.prototype.shallow_cmp=Ux,Fb.prototype.shallow_cmp=Ux,Ib.prototype.shallow_cmp=function(e){return this.is_star===e.is_star},Nb.prototype.shallow_cmp=function(e){return null==this.alternative?null==e.alternative:this.alternative===e.alternative},Lb.prototype.shallow_cmp=Ux,Mb.prototype.shallow_cmp=Ux,$b.prototype.shallow_cmp=function(e){return this.body===e.body&&(null==this.bcatch?null==e.bcatch:this.bcatch===e.bcatch)&&(null==this.bfinally?null==e.bfinally:this.bfinally===e.bfinally)},Gb.prototype.shallow_cmp=function(e){return null==this.argname?null==e.argname:this.argname===e.argname},jb.prototype.shallow_cmp=Ux,Vb.prototype.shallow_cmp=Ux,Zb.prototype.shallow_cmp=function(e){return null==this.value?null==e.value:this.value===e.value},Jb.prototype.shallow_cmp=Ux,eE.prototype.shallow_cmp=function(e){return(null==this.imported_name?null==e.imported_name:this.imported_name===e.imported_name)&&(null==this.imported_names?null==e.imported_names:this.imported_names===e.imported_names)&&(null==this.attributes?null==e.attributes:this.attributes===e.attributes)},tE.prototype.shallow_cmp=Ux,nE.prototype.shallow_cmp=function(e){return(null==this.exported_definition?null==e.exported_definition:this.exported_definition===e.exported_definition)&&(null==this.exported_value?null==e.exported_value:this.exported_value===e.exported_value)&&(null==this.exported_names?null==e.exported_names:this.exported_names===e.exported_names)&&(null==this.attributes?null==e.attributes:this.attributes===e.attributes)&&this.module_name===e.module_name&&this.is_default===e.is_default},rE.prototype.shallow_cmp=Ux,oE.prototype.shallow_cmp=Ux,aE.prototype.shallow_cmp=Ux,uE.prototype.shallow_cmp=Ux,sE.prototype.shallow_cmp=function(e){return this.property===e.property},cE.prototype.shallow_cmp=function(e){return this.property===e.property},pE.prototype.shallow_cmp=function(e){return this.operator===e.operator},fE.prototype.shallow_cmp=function(e){return this.operator===e.operator},DE.prototype.shallow_cmp=Ux,hE.prototype.shallow_cmp=Ux,yE.prototype.shallow_cmp=Ux,vE.prototype.shallow_cmp=Ux,bE.prototype.shallow_cmp=Ux,EE.prototype.shallow_cmp=function(e){return this.key===e.key&&this.quote===e.quote},AE.prototype.shallow_cmp=function(e){return this.static===e.static},TE.prototype.shallow_cmp=function(e){return this.static===e.static},SE.prototype.shallow_cmp=function(e){return this.static===e.static},kE.prototype.shallow_cmp=function(e){return this.static===e.static},CE.prototype.shallow_cmp=function(e){return(null==this.name?null==e.name:this.name===e.name)&&(null==this.extends?null==e.extends:this.extends===e.extends)},OE.prototype.shallow_cmp=function(e){return this.static===e.static&&("string"!=typeof this.key||this.key===e.key)},RE.prototype.shallow_cmp=function(e){return this.static===e.static},NE.prototype.shallow_cmp=function(e){return this.name===e.name},LE.prototype.shallow_cmp=Ux,ox.prototype.shallow_cmp=Ux,ax.prototype.shallow_cmp=Ux,cx.prototype.shallow_cmp=function(e){return this.value===e.value},lx.prototype.shallow_cmp=function(e){return this.value===e.value},ux.prototype.shallow_cmp=function(e){return this.value===e.value},px.prototype.shallow_cmp=function(e){return this.value.flags===e.value.flags&&this.value.source===e.value.source},dx.prototype.shallow_cmp=Ux;let $x=null,zx=null,Gx=null;var jx=class e{constructor(t,n,r){this.name=n.name,this.orig=[n],this.init=r,this.eliminated=0,this.assignments=0,this.scope=t,this.replaced=0,this.global=!1,this.export=0,this.mangled_name=null,this.undeclared=!1,this.id=e.next_id++,this.chained=!1,this.direct_access=!1,this.escaped=0,this.recursive_refs=0,this.references=[],this.should_replace=void 0,this.single_use=!1,this.fixed=!1,Object.seal(this)}fixed_value(){return!this.fixed||this.fixed instanceof Wv?this.fixed:this.fixed()}unmangleable(e){return e||={},!!($x&&$x.has(this.id)&&Hy(e.keep_fnames,this.orig[0].name))||this.global&&!e.toplevel||1&this.export||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof KE||this.orig[0]instanceof VE)&&Hy(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof qE||(this.orig[0]instanceof XE||this.orig[0]instanceof WE)&&Hy(e.keep_classnames,this.orig[0].name)}mangle(e){let t=e.cache&&e.cache.props;if(this.global&&t&&t.has(this.name))this.mangled_name=t.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var n=this.scope,r=this.orig[0];e.ie8&&r instanceof KE&&(n=n.parent_scope);let i=Vx(this);this.mangled_name=i?i.mangled_name||i.name:n.next_mangled(e,this),this.global&&t&&t.set(this.name,this.mangled_name)}}};function Vx(e){if(e.orig[0]instanceof ZE&&e.scope.is_block_scope())return e.scope.get_defun_scope().variables.get(e.name)}function qx(e,t){let n;Gx&&(n=e.get_defun_scope())&&Gx.has(n)&&(e=n);var r=e.enclosed,i=t.nth_identifier;e:for(;;){var o=i.get(++e.cname);if(!ov.has(o)&&!t.reserved.has(o)){if(zx&&zx.has(o))continue e;for(let e=r.length;--e>=0;){let n=r[e];if(o==(n.mangled_name||n.unmangleable(t)&&n.name))continue e}return o}}}function Hx(e){return(e=Ry(e,{eval:!1,nth_identifier:Kx,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,reserved:[],toplevel:!1})).module&&(e.toplevel=!0),!Array.isArray(e.reserved)&&!(e.reserved instanceof Set)&&(e.reserved=[]),e.reserved=new Set(e.reserved),e.reserved.add("arguments"),e}jx.next_id=1,fb.DEFMETHOD("figure_out_scope",function(e,{parent_scope:t,toplevel:n=this}={}){if(e=Ry(e,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof hb))throw Error("Invalid toplevel scope");var r=this.parent_scope=t,i=new Map,o=null,a=null,s=[],c=new Ax((t,n)=>{if(t.is_block_scope()){let i=r;if(t.block_scope=r=new fb(t),r._block_scope=!0,r.init_scope_vars(i),r.uses_with=i.uses_with,r.uses_eval=i.uses_eval,e.safari10&&(t instanceof ub||t instanceof pb||t instanceof db)&&s.push(r),t instanceof Lb){let e=r;r=i,t.expression.walk(c),r=e;for(let e=0;e<t.body.length;e++)t.body[e].walk(c)}else n();return r=i,!0}if(t instanceof xb){let e=a;return a=t,n(),a=e,!0}if(t instanceof fb){t.init_scope_vars(r);var u=r,p=o,d=i;return o=r=t,i=new Map,n(),r=u,o=p,i=d,!0}if(t instanceof ob){var m=t.label;if(i.has(m.name))throw Error(Uy("Label {name} defined twice",m));return i.set(m.name,m),n(),i.delete(m.name),!0}if(t instanceof mb)for(var f=r;f;f=f.parent_scope)f.uses_with=!0;else{if(t instanceof NE&&(t.scope=r),t instanceof JE&&(t.thedef=t,t.references=[]),t instanceof KE)o.def_function(t,"arguments"==t.name?void 0:o);else if(t instanceof VE){let e=o.parent_scope;t.scope=c.directives["use strict"]?e:e.get_defun_scope(),l(t.scope.def_function(t,o),1)}else if(t instanceof XE)l(o.def_variable(t,o),1);else if(t instanceof YE)r.def_variable(t);else if(t instanceof WE)l((t.scope=o.parent_scope).def_function(t,o),1);else if(t instanceof BE||t instanceof GE||t instanceof $E||t instanceof zE||t instanceof ZE){if((h=t instanceof UE?r.def_variable(t,null):o.def_variable(t,"SymbolVar"==t.TYPE?null:void 0)).orig.every(e=>e===t||(t instanceof UE?e instanceof KE:!(e instanceof GE||e instanceof $E||e instanceof zE)))||Fv(`"${t.name}" is redeclared`,t.start.file,t.start.line,t.start.col,t.start.pos),t instanceof jE||l(h,2),o!==r){t.mark_enclosed();var h=r.find_variable(t);t.thedef!==h&&(t.thedef=h,t.reference())}}else if(t instanceof rx){var g=i.get(t.name);if(!g)throw Error(Uy("Undefined label {name} [{line},{col}]",{name:t.name,line:t.start.line,col:t.start.col}));t.thedef=g}!(r instanceof hb)&&(t instanceof nE||t instanceof eE)&&Fv(`"${t.TYPE}" statement may only appear at the top level`,t.start.file,t.start.line,t.start.col,t.start.pos)}});function l(e,t){if(a){var n=0;do{t++}while(c.parent(n++)!==a)}var r=c.parent(t);if(e.export=r instanceof nE?1:0){var i=r.exported_definition;(i instanceof Eb||i instanceof PE)&&r.is_default&&(e.export=2)}}if(e.module&&(c.directives["use strict"]=!0),this.walk(c),this instanceof hb&&(this.globals=new Map),c=new Ax(e=>{if(e instanceof Rb&&e.label)return e.label.thedef.references.push(e),!0;if(e instanceof ex){var t,r=e.name;if("eval"==r&&c.parent()instanceof rE)for(var i=e.scope;i&&!i.uses_eval;i=i.parent_scope)i.uses_eval=!0;return c.parent()instanceof Jb&&c.parent(1).module_name||!(t=e.scope.find_variable(r))?(t=n.def_global(e),e instanceof tx&&(t.export=1)):t.scope instanceof _b&&"arguments"==r&&(t.scope.get_defun_scope().uses_arguments=!0),e.thedef=t,e.reference(),e.scope.is_block_scope()&&!(t.orig[0]instanceof UE)&&(e.scope=e.scope.get_defun_scope()),!0}var o;if(e instanceof ZE&&(o=Vx(e.definition())))for(i=e.scope;i&&(By(i.enclosed,o),i!==o.scope);)i=i.parent_scope}),this.walk(c),(e.ie8||e.safari10)&&Ex(this,e=>{if(e instanceof ZE){var t=e.name,r=e.thedef.references,i=e.scope.get_defun_scope(),o=i.find_variable(t)||n.globals.get(t)||i.def_variable(e);return r.forEach(function(e){e.thedef=o,e.reference()}),e.thedef=o,e.reference(),!0}}),e.safari10)for(let e of s)e.parent_scope.variables.forEach(function(t){By(e.enclosed,t)})}),hb.DEFMETHOD("def_global",function(e){var t=this.globals,n=e.name;if(t.has(n))return t.get(n);var r=new jx(this,e);return r.undeclared=!0,r.global=!0,t.set(n,r),r}),fb.DEFMETHOD("init_scope_vars",function(e){this.variables=new Map,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=e,this.enclosed=[],this.cname=-1}),fb.DEFMETHOD("conflicting_def",function(e){return this.enclosed.find(t=>t.name===e)||this.variables.has(e)||this.parent_scope&&this.parent_scope.conflicting_def(e)}),fb.DEFMETHOD("conflicting_def_shallow",function(e){return this.enclosed.find(t=>t.name===e)||this.variables.has(e)}),fb.DEFMETHOD("add_child_scope",function(e){if(e.parent_scope===this)return;e.parent_scope=this,e instanceof bb&&this instanceof _b&&!this.uses_arguments&&(this.uses_arguments=Ex(e,e=>e instanceof ex&&e.scope instanceof _b&&"arguments"===e.name?wx:e instanceof _b&&!(e instanceof bb)||void 0)),this.uses_with=this.uses_with||e.uses_with,this.uses_eval=this.uses_eval||e.uses_eval;let t=(()=>{let e=[],t=this;do{e.push(t)}while(t=t.parent_scope);return e.reverse(),e})(),n=new Set(e.enclosed),r=[];for(let e of t){r.forEach(t=>By(e.enclosed,t));for(let t of e.variables.values())n.has(t)&&(By(r,t),By(e.enclosed,t))}}),fb.DEFMETHOD("create_symbol",function(e,{source:t,tentative_name:n,scope:r,conflict_scopes:i=[r],init:o=null}={}){let a;if(i=function(e){let t=new Set;for(let n of new Set(e))(function e(n){null==n||t.has(n)||(t.add(n),e(n.parent_scope))})(n);return[...t]}(i),n){n=a=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let e=0;for(;i.find(e=>e.conflicting_def_shallow(a));)a=n+"$"+e++}if(!a)throw Error("No symbol name could be generated in create_symbol()");let s=My(e,t,{name:a,scope:r});return this.def_variable(s,o||null),s.mark_enclosed(),s}),Wv.DEFMETHOD("is_block_scope",Py),CE.DEFMETHOD("is_block_scope",Py),_b.DEFMETHOD("is_block_scope",Py),hb.DEFMETHOD("is_block_scope",Py),Mb.DEFMETHOD("is_block_scope",Py),tb.DEFMETHOD("is_block_scope",Fy),fb.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1}),ab.DEFMETHOD("is_block_scope",Fy),_b.DEFMETHOD("init_scope_vars",function(){fb.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new jE({name:"arguments",start:this.start,end:this.end}))}),bb.DEFMETHOD("init_scope_vars",function(){fb.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1}),NE.DEFMETHOD("mark_enclosed",function(){for(var e=this.definition(),t=this.scope;t&&(By(t.enclosed,e),t!==e.scope);)t=t.parent_scope}),NE.DEFMETHOD("reference",function(){this.definition().references.push(this),this.mark_enclosed()}),fb.DEFMETHOD("find_variable",function(e){return e instanceof NE&&(e=e.name),this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)}),fb.DEFMETHOD("def_function",function(e,t){var n=this.def_variable(e,t);return(!n.init||n.init instanceof Eb)&&(n.init=t),n}),fb.DEFMETHOD("def_variable",function(e,t){var n=this.variables.get(e.name);return n?(n.orig.push(e),n.init&&(n.scope!==e.scope||n.init instanceof vb)&&(n.init=t)):(n=new jx(this,e,t),this.variables.set(e.name,n),n.global=!this.parent_scope),e.thedef=n}),fb.DEFMETHOD("next_mangled",function(e){return qx(this,e)}),hb.DEFMETHOD("next_mangled",function(e){let t,n=this.mangled_names;do{t=qx(this,e)}while(n.has(t));return t}),vb.DEFMETHOD("next_mangled",function(e,t){for(var n=t.orig[0]instanceof jE&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var i=qx(this,e);if(!r||r!=i)return i}}),NE.DEFMETHOD("unmangleable",function(e){var t=this.definition();return!t||t.unmangleable(e)}),JE.DEFMETHOD("unmangleable",Py),NE.DEFMETHOD("unreferenced",function(){return!this.definition().references.length&&!this.scope.pinned()}),NE.DEFMETHOD("definition",function(){return this.thedef}),NE.DEFMETHOD("global",function(){return this.thedef.global}),hb.DEFMETHOD("mangle_names",function(e){var t=(e=Hx(e)).nth_identifier,n=-1,r=[];e.keep_fnames&&($x=new Set);let i=this.mangled_names=new Set;zx=new Set,e.cache&&(this.globals.forEach(a),e.cache.props&&e.cache.props.forEach(function(e){i.add(e)}));var o=new Ax(function(i,s){if(i instanceof ob){var c=n;return s(),n=c,!0}if(i instanceof Eb&&!(o.parent()instanceof fb)&&(Gx||=new Set,Gx.add(i.parent_scope.get_defun_scope())),i instanceof fb)i.variables.forEach(a);else if(i.is_block_scope())i.block_scope.variables.forEach(a);else if($x&&i instanceof Yb&&i.value instanceof _b&&!i.value.name&&Hy(e.keep_fnames,i.name.name))$x.add(i.name.definition().id);else{if(i instanceof JE){let e;do{e=t.get(++n)}while(ov.has(e));return i.mangled_name=e,!0}!e.ie8&&!e.safari10&&i instanceof ZE&&r.push(i.definition())}});function a(t){1&t.export?zx.add(t.name):e.reserved.has(t.name)||r.push(t)}this.walk(o),(e.keep_fnames||e.keep_classnames)&&r.forEach(t=>{t.name.length<6&&t.unmangleable(e)&&zx.add(t.name)}),r.forEach(t=>{t.mangle(e)}),$x=null,zx=null,Gx=null}),hb.DEFMETHOD("find_colliding_names",function(e){let t=e.cache&&e.cache.props,n=new Set;return e.reserved.forEach(r),this.globals.forEach(i),this.walk(new Ax(function(e){e instanceof fb&&e.variables.forEach(i),e instanceof ZE&&i(e.definition())})),n;function r(e){n.add(e)}function i(n){var i=n.name;if(n.global&&t&&t.has(i))i=t.get(i);else if(!n.unmangleable(e))return;r(i)}}),hb.DEFMETHOD("expand_names",function(e){var t=(e=Hx(e)).nth_identifier;t.reset&&t.sort&&(t.reset(),t.sort());var n=this.find_colliding_names(e),r=0;function i(){var e;do{e=t.get(r++)}while(n.has(e)||ov.has(e));return e}function o(t){if(t.global&&e.cache||t.unmangleable(e)||e.reserved.has(t.name))return;let n=Vx(t),r=t.name=n?n.name:i();t.orig.forEach(function(e){e.name=r}),t.references.forEach(function(e){e.name=r})}this.globals.forEach(o),this.walk(new Ax(function(e){e instanceof fb&&e.variables.forEach(o),e instanceof ZE&&o(e.definition())}))}),Wv.DEFMETHOD("tail_node",Iy),oE.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]}),hb.DEFMETHOD("compute_char_frequency",function(e){var t=(e=Hx(e)).nth_identifier;if(t.reset&&t.consider&&t.sort){t.reset();try{Wv.prototype.print=function(r,i){this._print(r,i),this instanceof NE&&!this.unmangleable(e)?t.consider(this.name,-1):e.properties&&(this instanceof cE?t.consider("#"+this.property,-1):this instanceof sE?t.consider(this.property,-1):this instanceof lE&&n(this.property))},t.consider(this.print_to_string(),1)}finally{Wv.prototype.print=Wv.prototype._print}t.sort()}function n(e){e instanceof cx?t.consider(e.value,-1):e instanceof hE?(n(e.consequent),n(e.alternative)):e instanceof oE&&n(e.tail_node())}});const Kx=(()=>{let e,t,n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),r="0123456789".split("");function i(){t=new Map,n.forEach(function(e){t.set(e,0)}),r.forEach(function(e){t.set(e,0)})}function o(e,n){return t.get(n)-t.get(e)}function a(){e=zy(n,o).concat(zy(r,o))}return i(),a(),{get:function(t){var n="",r=54;t++;do{t--,n+=e[t%r],t=Math.floor(t/r),r=64}while(t>0);return n},consider:function(e,n){for(var r=e.length;--r>=0;)t.set(e[r],t.get(e[r])+n)},reset:i,sort:a}})();let Wx;Wv.prototype.size=function(e,t){Wx=e&&e._mangle_options;let n=0;return xx(this,(e,t)=>{if(n+=e._size(t),e instanceof bb&&e.is_braceless())return n+=e.body[0].value._size(t),!0},t||e&&e.stack),Wx=void 0,n},Wv.prototype._size=()=>0,Zv.prototype._size=()=>8,Yv.prototype._size=function(){return 2+this.value.length};const Xx=e=>e.length&&e.length-1;tb.prototype._size=function(){return 2+Xx(this.body)},hb.prototype._size=function(){return Xx(this.body)},rb.prototype._size=()=>1,ob.prototype._size=()=>2,cb.prototype._size=()=>9,lb.prototype._size=()=>7,ub.prototype._size=()=>8,pb.prototype._size=()=>8,mb.prototype._size=()=>6,gb.prototype._size=()=>3;const Zx=e=>(e.is_generator?1:0)+(e.async?6:0);yb.prototype._size=function(){return Zx(this)+4+Xx(this.argnames)+Xx(this.body)},vb.prototype._size=function(e){return 2*!!Px(e)+Zx(this)+12+Xx(this.argnames)+Xx(this.body)},Eb.prototype._size=function(){return Zx(this)+13+Xx(this.argnames)+Xx(this.body)},bb.prototype._size=function(){let e=2+Xx(this.argnames);1===this.argnames.length&&this.argnames[0]instanceof NE||(e+=2);let t=this.is_braceless()?0:Xx(this.body)+2;return Zx(this)+e+t},xb.prototype._size=()=>2,Ab.prototype._size=function(){return 2+3*Math.floor(this.segments.length/2)},Tb.prototype._size=function(){return this.value.length},Cb.prototype._size=function(){return this.value?7:6},Ob.prototype._size=()=>6,Db.prototype._size=function(){return this.label?6:5},Pb.prototype._size=function(){return this.label?9:8},Nb.prototype._size=()=>4,Lb.prototype._size=function(){return 8+Xx(this.body)},Ub.prototype._size=function(){return 5+Xx(this.body)},Bb.prototype._size=function(){return 8+Xx(this.body)},$b.prototype._size=()=>3,Gb.prototype._size=function(){let e=7+Xx(this.body);return this.argname&&(e+=2),e},jb.prototype._size=function(){return 7+Xx(this.body)},Hb.prototype._size=function(){return 4+Xx(this.definitions)},Kb.prototype._size=function(){return 4+Xx(this.definitions)},Wb.prototype._size=function(){return 6+Xx(this.definitions)},Xb.prototype._size=function(){return 6+(this.await?6:0)+Xx(this.definitions)},Zb.prototype._size=function(){return this.value?1:0},Jb.prototype._size=function(){return this.name?4:0},eE.prototype._size=function(){let e=6;return this.imported_name&&(e+=1),(this.imported_name||this.imported_names)&&(e+=5),this.imported_names&&(e+=2+Xx(this.imported_names)),e},tE.prototype._size=()=>11,nE.prototype._size=function(){let e=7+(this.is_default?8:0);return this.exported_value&&(e+=this.exported_value._size()),this.exported_names&&(e+=2+Xx(this.exported_names)),this.module_name&&(e+=5),e},rE.prototype._size=function(){return this.optional?4+Xx(this.args):2+Xx(this.args)},iE.prototype._size=function(){return 6+Xx(this.args)},oE.prototype._size=function(){return Xx(this.expressions)},sE.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},cE.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},lE.prototype._size=function(){return this.optional?4:2},pE.prototype._size=function(){return"typeof"===this.operator?7:"void"===this.operator?5:this.operator.length},fE.prototype._size=function(e){if("in"===this.operator)return 4;let t=this.operator.length;return("+"===this.operator||"-"===this.operator)&&this.right instanceof pE&&this.right.operator===this.operator&&(t+=1),this.needs_parens(e)&&(t+=2),t},hE.prototype._size=()=>3,yE.prototype._size=function(){return 2+Xx(this.elements)},vE.prototype._size=function(e){let t=2;return Px(e)&&(t+=2),t+Xx(this.properties)};const Yx=e=>"string"==typeof e?e.length:0;EE.prototype._size=function(){return Yx(this.key)+1};const Qx=e=>e?7:0;TE.prototype._size=function(){return 5+Qx(this.static)+Yx(this.key)},AE.prototype._size=function(){return 5+Qx(this.static)+Yx(this.key)},SE.prototype._size=function(){return Qx(this.static)+Yx(this.key)},kE.prototype._size=function(){return SE.prototype._size.call(this)+1},wE.prototype._size=function(){return SE.prototype._size.call(this)+4},xE.prototype._size=function(){return SE.prototype._size.call(this)+4},DE.prototype._size=function(){return 5},CE.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},FE.prototype._size=function(){return 8+Xx(this.body)},OE.prototype._size=function(){return Qx(this.static)+("string"==typeof this.key?this.key.length+2:0)+(this.value?1:0)},RE.prototype._size=function(){return OE.prototype._size.call(this)+1},NE.prototype._size=function(){return Wx&&this.thedef&&!this.thedef.unmangleable(Wx)?1:this.name.length},HE.prototype._size=function(){return this.name.length},ex.prototype._size=ME.prototype._size=function(){return"arguments"===this.name?9:NE.prototype._size.call(this)},LE.prototype._size=()=>10,QE.prototype._size=function(){return this.name.length},nx.prototype._size=function(){return this.name.length},ox.prototype._size=()=>4,ax.prototype._size=()=>5,cx.prototype._size=function(){return this.value.length+2},lx.prototype._size=function(){let{value:e}=this;return 0===e?1:e>0&&Math.floor(e)===e?Math.floor(Math.log10(e)+1):e.toString().length},ux.prototype._size=function(){return this.value.length},px.prototype._size=function(){return this.value.toString().length},mx.prototype._size=()=>4,fx.prototype._size=()=>3,hx.prototype._size=()=>6,gx.prototype._size=()=>0,_x.prototype._size=()=>8,bx.prototype._size=()=>4,vx.prototype._size=()=>5,Fb.prototype._size=()=>6,Ib.prototype._size=()=>6;const Jx=(e,t)=>e.flags&t,ew=(e,t)=>{e.flags|=t},tw=(e,t)=>{e.flags&=~t};function nw(e,t){return t instanceof oE?e.push(...t.expressions):e.push(t),e}function rw(e,t){if(1==t.length)return t[0];if(0==t.length)throw Error("trying to create a sequence with length zero!");return My(oE,e,{expressions:t.reduce(nw,[])})}function iw(e){return My(vb,e,{uses_arguments:!1,argnames:[],body:[],is_generator:!1,async:!1,variables:new Map,uses_with:!1,uses_eval:!1,parent_scope:null,enclosed:[],cname:0,block_scope:void 0})}function ow(e,t){switch(typeof e){case"string":return My(cx,t,{value:e});case"number":return isNaN(e)?My(fx,t):isFinite(e)?1/e<0?My(dE,t,{operator:"-",expression:My(lx,t,{value:-e})}):My(lx,t,{value:e}):e<0?My(dE,t,{operator:"-",expression:My(_x,t)}):My(_x,t);case"bigint":return My(ux,t,{value:e.toString()});case"boolean":return My(e?bx:vx,t);case"undefined":return My(hx,t);default:if(null===e)return My(mx,t,{value:null});if(e instanceof RegExp)return My(px,t,{value:{source:Wy(e.source),flags:e.flags}});throw Error(Uy("Can't handle constant of type: {type}",{type:typeof e}))}}function aw(e,t){return e.size()>t.size()?t:e}function sw(e,t,n){return Px(e)?function(e,t){return aw(My(Qv,e,{body:e}),My(Qv,t,{body:t})).body}(t,n):aw(t,n)}function cw(e){return e instanceof sx?e.getValue():e instanceof dE&&"void"==e.operator&&e.expression instanceof sx?void 0:e}function lw(e,t){if(!((t=cw(t))instanceof Wv)){var n;if(e instanceof yE){var r=e.elements;if("length"==t)return ow(r.length,e);"number"==typeof t&&t in r&&(n=r[t])}else if(e instanceof vE){t=""+t;for(var i=e.properties,o=i.length;--o>=0;){if(!(i[o]instanceof EE))return;!n&&i[o].key===t&&(n=i[o].value)}}return n instanceof ex&&n.fixed_value()||n}}function uw(e,t){var n=!1,r=new Ax(function(t){return!!(n||t instanceof fb)||(t instanceof Rb&&r.loopcontrol_target(t)===e?n=!0:void 0)});return t instanceof ob&&r.push(t),r.push(e),e.body.walk(r),n}function pw(e,t,n){return dw(e,t,n)?rw(t,[My(lx,t,{value:0}),n]):n}function dw(e,t,n){return e instanceof dE&&"delete"==e.operator||e instanceof rE&&e.expression===t&&(n instanceof uE||n instanceof aE||n instanceof ex&&"eval"==n.name)}function mw(e){return e instanceof bb||e instanceof vb}function fw(e){return"Call"==e.TYPE&&(e.expression instanceof vb||fw(e.expression))}function hw(e){return null===e||e instanceof rb||e instanceof nb&&0==e.body.length}const gw=Gy("Infinity NaN undefined");function _w(e){return e instanceof _x||e instanceof fx||e instanceof hx}function yw(e,t){if(!(e instanceof ex))return!1;for(var n=e.definition().orig,r=n.length;--r>=0;)if(n[r]instanceof t)return!0}function vw(e){return!(e instanceof PE||e instanceof Eb||e instanceof Kb||e instanceof Wb||e instanceof Xb||e instanceof nE||e instanceof eE)}function bw(e){if(null===e)return[];if(e instanceof nb)return e.body;if(e instanceof rb)return[];if(e instanceof Xv)return[e];throw Error("Can't convert thing to statement array")}function Ew(e,t){let n=e=>{if(e instanceof ex&&t.includes(e.definition()))return wx};return xx(e,(t,r)=>{if(t instanceof fb&&t!==e){var i=r.parent();return i instanceof rE&&i.expression===t&&!t.async&&!t.is_generator?void 0:!Ex(t,n)||wx}})}function xw(e,t){for(var n,r=0;n=e.parent(r);r++)if(n instanceof _b||n instanceof CE){var i=n.name;if(i&&i.definition()===t)return!0}return!1}function ww(e,t){return t.top_retain&&e instanceof Eb&&Jx(e,1024)&&e.name&&t.top_retain(e.name.definition())}function Aw(e){let t=new Map;for(var n of Object.keys(e))t.set(n,Gy(e[n]));return(e,n)=>{let r=t.get(e);return null!=r&&r.has(n)}}const Tw=new Set(["Number","String","Array","Object","Function","Promise"]),Sw=["constructor","toString","valueOf"],kw=Aw({Array:["at","flat","includes","indexOf","join","lastIndexOf","slice",...Sw],Boolean:Sw,Function:Sw,Number:["toExponential","toFixed","toPrecision",...Sw],Object:Sw,RegExp:["test",...Sw],String:["at","charAt","charCodeAt","charPointAt","concat","endsWith","fromCharCode","fromCodePoint","includes","indexOf","italics","lastIndexOf","localeCompare","match","matchAll","normalize","padStart","padEnd","repeat","replace","replaceAll","search","slice","split","startsWith","substr","substring","repeat","toLocaleLowerCase","toLocaleUpperCase","toLowerCase","toUpperCase","trim","trimEnd","trimStart",...Sw]}),Cw=Aw({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","hasOwn","keys"],String:["fromCharCode"]}),Ow=Aw({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]}),Rw=e=>e instanceof ex&&e.definition().undeclared,Dw=Gy("<<< >> << & | ^ ~"),Pw=Gy("&& || ??"),Fw=Gy("delete ++ --");function Iw(e,t){return Jx(e,8)||e instanceof hx||e instanceof dE&&"void"==e.operator&&!e.expression.has_side_effects(t)}function Nw(e,t){let n;return e instanceof mx||Iw(e,t)||e instanceof ex&&(n=e.definition().fixed)instanceof Wv&&Mw(n,t)}function Lw(e,t){return e instanceof aE||e instanceof rE?e.optional&&Nw(e.expression,t)||Lw(e.expression,t):e instanceof uE&&Lw(e.expression,t)}function Mw(e,t){return!!Nw(e,t)||Lw(e,t)}function Bw(e,t){return t instanceof pE&&Fw.has(t.operator)?t.expression:t instanceof gE&&t.left===e||t instanceof pb&&t.init===e?e:void 0}(function(e){let t=Gy("! delete"),n=Gy("in instanceof == != === !== < <= >= >");e(Wv,Py),e(dE,function(){return t.has(this.operator)}),e(fE,function(){return n.has(this.operator)||Pw.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),e(hE,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),e(gE,function(){return"="==this.operator&&this.right.is_boolean()}),e(oE,function(){return this.tail_node().is_boolean()}),e(bx,Fy),e(vx,Fy)})(function(e,t){e.DEFMETHOD("is_boolean",t)}),function(e){e(Wv,Py),e(lx,Fy);let t=Gy("+ - ~ ++ --");e(pE,function(e){return t.has(this.operator)&&this.expression.is_number(e)});let n=Gy("- * / % & | ^ << >> >>>");e(fE,function(e){return"+"===this.operator?this.left.is_number(e)&&this.right.is_number_or_bigint(e)||this.right.is_number(e)&&this.left.is_number_or_bigint(e):!!n.has(this.operator)&&(this.left.is_number(e)||this.right.is_number(e))}),e(gE,function(e){return("="===this.operator||n.has(this.operator.slice(0,-1)))&&this.right.is_number(e)}),e(oE,function(e){return this.tail_node().is_number(e)}),e(hE,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})}(function(e,t){e.DEFMETHOD("is_number",t)}),function(e){e(Wv,Py),e(ux,Fy);let t=Gy("+ - ~ ++ --");e(pE,function(e){return t.has(this.operator)&&this.expression.is_bigint(e)});let n=Gy("- * / % & | ^ << >>");e(fE,function(e){return"+"===this.operator?this.left.is_bigint(e)&&this.right.is_number_or_bigint(e)||this.right.is_bigint(e)&&this.left.is_number_or_bigint(e):!!n.has(this.operator)&&(this.left.is_bigint(e)||this.right.is_bigint(e))}),e(gE,function(e){return(n.has(this.operator.slice(0,-1))||"="==this.operator)&&this.right.is_bigint(e)}),e(oE,function(e){return this.tail_node().is_bigint(e)}),e(hE,function(e){return this.consequent.is_bigint(e)&&this.alternative.is_bigint(e)})}(function(e,t){e.DEFMETHOD("is_bigint",t)}),function(e){e(Wv,Py),e(lx,Fy),e(ux,Fy);let t=Gy("+ - ~ ++ --");e(pE,function(e){return t.has(this.operator)});let n=Gy("- * / % & | ^ << >>");e(fE,function(e){return"+"===this.operator?this.left.is_number_or_bigint(e)&&this.right.is_number_or_bigint(e):n.has(this.operator)}),e(gE,function(e){return n.has(this.operator.slice(0,-1))||"="==this.operator&&this.right.is_number_or_bigint(e)}),e(oE,function(e){return this.tail_node().is_number_or_bigint(e)}),e(hE,function(e){return this.consequent.is_number_or_bigint(e)&&this.alternative.is_number_or_bigint(e)})}(function(e,t){e.DEFMETHOD("is_number_or_bigint",t)}),function(e){e(Wv,Py),e(lx,function(e){return this.value===(0|this.value)}),e(dE,function(e){return"~"==this.operator?this.expression.is_number(e):"+"===this.operator&&this.expression.is_32_bit_integer(e)}),e(fE,function(e){return Dw.has(this.operator)&&(this.left.is_number(e)||this.right.is_number(e))})}(function(e,t){e.DEFMETHOD("is_32_bit_integer",t)}),function(e){e(Wv,Py),e(cx,Fy),e(Ab,Fy),e(dE,function(){return"typeof"==this.operator}),e(fE,function(e){return"+"==this.operator&&(this.left.is_string(e)||this.right.is_string(e))}),e(gE,function(e){return("="==this.operator||"+="==this.operator)&&this.right.is_string(e)}),e(oE,function(e){return this.tail_node().is_string(e)}),e(hE,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(e,t){e.DEFMETHOD("is_string",t)}),function(e){function t(e,t){for(var n=e.length;--n>=0;)if(e[n].has_side_effects(t))return!0;return!1}e(Wv,Fy),e(rb,Py),e(sx,Py),e(ox,Py),e(tb,function(e){return t(this.body,e)}),e(rE,function(e){return!(this.is_callee_pure(e)||this.expression.is_call_pure(e)&&!this.expression.has_side_effects(e))||t(this.args,e)}),e(Lb,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Ub,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e($b,function(e){return this.body.has_side_effects(e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)}),e(Nb,function(e){return this.condition.has_side_effects(e)||this.body&&this.body.has_side_effects(e)||this.alternative&&this.alternative.has_side_effects(e)}),e(tE,Py),e(ob,function(e){return this.body.has_side_effects(e)}),e(Qv,function(e){return this.body.has_side_effects(e)}),e(_b,Py),e(CE,function(e){return!(!this.extends||!this.extends.has_side_effects(e))||t(this.properties,e)}),e(FE,function(e){return t(this.body,e)}),e(fE,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(gE,Fy),e(hE,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(pE,function(e){return Fw.has(this.operator)||this.expression.has_side_effects(e)}),e(ex,function(e){return!this.is_declared(e)&&!Tw.has(this.name)}),e(HE,Py),e(ME,Py),e(vE,function(e){return t(this.properties,e)}),e(EE,function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.value&&this.value.has_side_effects(e)}),e([OE,RE],function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.static&&this.value&&this.value.has_side_effects(e)}),e([kE,wE,xE,SE,TE,AE],function(e){return this.computed_key()&&this.key.has_side_effects(e)}),e(yE,function(e){return t(this.elements,e)}),e(sE,function(e){return Mw(this,e)?this.expression.has_side_effects(e):!(this.optional||!this.expression.may_throw_on_access(e))||this.expression.has_side_effects(e)}),e(lE,function(e){if(Mw(this,e))return this.expression.has_side_effects(e);if(!this.optional&&this.expression.may_throw_on_access(e))return!0;var t=this.property.has_side_effects(e);return!(!t||!this.optional)||t||this.expression.has_side_effects(e)}),e(uE,function(e){return this.expression.has_side_effects(e)}),e(oE,function(e){return t(this.expressions,e)}),e(qb,function(e){return t(this.definitions,e)}),e(Yb,function(){return null!=this.value}),e(Tb,Py),e(Ab,function(e){return t(this.segments,e)})}(function(e,t){for(let n of[].concat(e))n.DEFMETHOD("has_side_effects",t)}),function(e){function t(e,t){for(var n=e.length;--n>=0;)if(e[n].may_throw(t))return!0;return!1}e(Wv,Fy),e(sx,Py),e(rb,Py),e(_b,Py),e(ME,Py),e(ox,Py),e(tE,Py),e(CE,function(e){return!(!this.extends||!this.extends.may_throw(e))||t(this.properties,e)}),e(FE,function(e){return t(this.body,e)}),e(yE,function(e){return t(this.elements,e)}),e(gE,function(e){return!!this.right.may_throw(e)||!(!e.has_directive("use strict")&&"="==this.operator&&this.left instanceof ex)&&this.left.may_throw(e)}),e(fE,function(e){return this.left.may_throw(e)||this.right.may_throw(e)}),e(tb,function(e){return t(this.body,e)}),e(rE,function(e){return!Mw(this,e)&&(!!t(this.args,e)||!this.is_callee_pure(e)&&(!!this.expression.may_throw(e)||!(this.expression instanceof _b)||t(this.expression.body,e)))}),e(Ub,function(e){return this.expression.may_throw(e)||t(this.body,e)}),e(hE,function(e){return this.condition.may_throw(e)||this.consequent.may_throw(e)||this.alternative.may_throw(e)}),e(qb,function(e){return t(this.definitions,e)}),e(Nb,function(e){return this.condition.may_throw(e)||this.body&&this.body.may_throw(e)||this.alternative&&this.alternative.may_throw(e)}),e(ob,function(e){return this.body.may_throw(e)}),e(vE,function(e){return t(this.properties,e)}),e(EE,function(e){return!!(this.computed_key()&&this.key.may_throw(e)||this.value)&&this.value.may_throw(e)}),e([OE,RE],function(e){return this.computed_key()&&this.key.may_throw(e)||this.static&&this.value&&this.value.may_throw(e)}),e([SE,TE,AE],function(e){return this.computed_key()&&this.key.may_throw(e)}),e([kE,wE,xE],Py),e(Cb,function(e){return this.value&&this.value.may_throw(e)}),e(oE,function(e){return t(this.expressions,e)}),e(Qv,function(e){return this.body.may_throw(e)}),e(sE,function(e){return!Mw(this,e)&&(!this.optional&&this.expression.may_throw_on_access(e)||this.expression.may_throw(e))}),e(lE,function(e){return!Mw(this,e)&&(!this.optional&&this.expression.may_throw_on_access(e)||this.expression.may_throw(e)||this.property.may_throw(e))}),e(uE,function(e){return this.expression.may_throw(e)}),e(Lb,function(e){return this.expression.may_throw(e)||t(this.body,e)}),e(ex,function(e){return!this.is_declared(e)&&!Tw.has(this.name)}),e(HE,Py),e($b,function(e){return this.bcatch?this.bcatch.may_throw(e):this.body.may_throw(e)||this.bfinally&&this.bfinally.may_throw(e)}),e(pE,function(e){return!("typeof"==this.operator&&this.expression instanceof ex)&&this.expression.may_throw(e)}),e(Yb,function(e){return!!this.value&&this.value.may_throw(e)})}(function(e,t){for(let n of[].concat(e))n.DEFMETHOD("may_throw",t)}),function(e){function t(e){let t=!0;return Ex(this,n=>{if(n instanceof ex){if(Jx(this,16))return t=!1,wx;var r=n.definition();if(Cy(r,this.enclosed)&&!this.variables.has(r.name)){if(e){var i=e.find_variable(n);if(r.undeclared?!i:i===r)return t="f",!0}return t=!1,wx}return!0}if(n instanceof ox&&this instanceof bb)return t=!1,wx}),t}e(Wv,Py),e(sx,Fy),e(CE,function(e){if(this.extends&&!this.extends.is_constant_expression(e))return!1;for(let t of this.properties)if(t.computed_key()&&!t.key.is_constant_expression(e)||t.static&&t.value&&!t.value.is_constant_expression(e)||t instanceof FE)return!1;return t.call(this,e)}),e(_b,t),e(pE,function(){return this.expression.is_constant_expression()}),e(fE,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),e(yE,function(){return this.elements.every(e=>e.is_constant_expression())}),e(vE,function(){return this.properties.every(e=>e.is_constant_expression())}),e(bE,function(){return!(this.key instanceof Wv||!this.value||!this.value.is_constant_expression())})}(function(e,t){e.DEFMETHOD("is_constant_expression",t)}),function(e){function t(e){return/strict/.test(e.option("pure_getters"))}Wv.DEFMETHOD("may_throw_on_access",function(e){return!e.option("pure_getters")||this._dot_throw(e)}),e(Wv,t),e(mx,Fy),e(hx,Fy),e(sx,Py),e(yE,Py),e(vE,function(e){if(!t(e))return!1;for(var n=this.properties.length;--n>=0;)if(this.properties[n]._dot_throw(e))return!0;return!1}),e(CE,Py),e(bE,Py),e(TE,Fy),e(gb,function(e){return this.expression._dot_throw(e)}),e(vb,Py),e(bb,Py),e(mE,Py),e(dE,function(){return"void"==this.operator}),e(fE,function(e){return("&&"==this.operator||"||"==this.operator||"??"==this.operator)&&(this.left._dot_throw(e)||this.right._dot_throw(e))}),e(gE,function(e){return!!this.logical||"="==this.operator&&this.right._dot_throw(e)}),e(hE,function(e){return this.consequent._dot_throw(e)||this.alternative._dot_throw(e)}),e(sE,function(e){return!(!t(e)||"prototype"==this.property&&(this.expression instanceof vb||this.expression instanceof CE))}),e(uE,function(e){return this.expression._dot_throw(e)}),e(oE,function(e){return this.tail_node()._dot_throw(e)}),e(ex,function(e){if("arguments"===this.name&&this.scope instanceof _b)return!1;if(Jx(this,8))return!0;if(!t(e)||Rw(this)&&this.is_declared(e)||this.is_immutable())return!1;var n=this.fixed_value();return!n||n._dot_throw(e)})}(function(e,t){e.DEFMETHOD("_dot_throw",t)}),function(e){function t(e){return My(dE,e,{operator:"!",expression:e})}function n(e,n,r){var i=t(e);if(r){var o=My(Qv,n,{body:n});return aw(i,o)===o?n:i}return aw(i,n)}e(Wv,function(){return t(this)}),e(Xv,function(){throw Error("Cannot negate a statement")}),e(vb,function(){return t(this)}),e(CE,function(){return t(this)}),e(bb,function(){return t(this)}),e(dE,function(){return"!"==this.operator?this.expression:t(this)}),e(oE,function(e){var t=this.expressions.slice();return t.push(t.pop().negate(e)),rw(this,t)}),e(hE,function(e,t){var r=this.clone();return r.consequent=r.consequent.negate(e),r.alternative=r.alternative.negate(e),n(this,r,t)}),e(fE,function(e,r){var i=this.clone(),o=this.operator;if(e.option("unsafe_comps"))switch(o){case"<=":return i.operator=">",i;case"<":return i.operator=">=",i;case">=":return i.operator="<",i;case">":return i.operator="<=",i}switch(o){case"==":return i.operator="!=",i;case"!=":return i.operator="==",i;case"===":return i.operator="!==",i;case"!==":return i.operator="===",i;case"&&":return i.operator="||",i.left=i.left.negate(e,r),i.right=i.right.negate(e),n(this,i,r);case"||":return i.operator="&&",i.left=i.left.negate(e,r),i.right=i.right.negate(e),n(this,i,r)}return t(this)})}(function(e,t){e.DEFMETHOD("negate",function(e,n){return t.call(this,e,n)})}),function(e){function t(e){return My(dE,e,{operator:"~",expression:e})}e(Wv,function(e){return t(this)}),e(lx,function(e){let n=~this.value;return n.toString().length>this.value.toString().length?t(this):My(lx,this,{value:n})}),e(dE,function(e,n){return"~"==this.operator&&(this.expression.is_32_bit_integer(e)||(n??e.in_32_bit_context()))?this.expression:t(this)})}(function(e,t){e.DEFMETHOD("bitwise_negate",t)});var Uw=Gy("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");rE.DEFMETHOD("is_callee_pure",function(e){if(e.option("unsafe")){var t=this.expression,n=this.args&&this.args[0]&&this.args[0].evaluate(e);if(t.expression&&"hasOwnProperty"===t.expression.name&&(null==n||n.thedef&&n.thedef.undeclared))return!1;if(Rw(t)&&Uw.has(t.name)||t instanceof sE&&Rw(t.expression)&&Cw(t.expression.name,t.property))return!0}return!!(this instanceof iE&&e.option("pure_new")||e.option("side_effects")&&Yy(this,1))||!e.pure_funcs(this)}),Wv.DEFMETHOD("is_call_pure",Py),sE.DEFMETHOD("is_call_pure",function(e){if(!e.option("unsafe"))return;let t,n=this.expression;return n instanceof yE?t="Array":n.is_boolean()?t="Boolean":n.is_number(e)?t="Number":n instanceof px?t="RegExp":n.is_string(e)?t="String":this.may_throw_on_access(e)||(t="Object"),null!=t&&kw(t,this.property)});const $w=e=>e&&e.aborts();function zw(e,t,n,r,i,o){var a=t.parent(i),s=Bw(n,a);if(s)return s;if(!o&&a instanceof rE&&a.expression===n&&!(r instanceof bb)&&!(r instanceof CE)&&!a.is_callee_pure(e)&&(!(r instanceof vb)||!(a instanceof iE)&&r.contains_this()))return!0;if(a instanceof yE)return zw(e,t,a,a,i+1);if(a instanceof EE&&n===a.value){var c=t.parent(i+1);return zw(e,t,c,c,i+2)}if(a instanceof aE&&a.expression===n){var l=lw(r,a.property);return!o&&zw(e,t,a,l,i+1)}}function Gw(e){for(let t,n,r=-1;t=e.parent(r),n=e.parent(r+1);r++){if(!(n instanceof oE)){if(n instanceof pE){let e=n.operator;if("void"===e)return!1;if("typeof"===e||"+"===e||"-"===e||"!"===e||"~"===e)continue}return!(n instanceof Qv||n instanceof ob||n instanceof fb)}if(n.expressions.indexOf(t)!==n.expressions.length-1){let t=e.parent(r+2);return!(n.expressions.length>2||1===n.expressions.length||!dw(t,n,n.expressions[1]))}}return!0}function jw(e,t){e.DEFMETHOD("_eval",t)}(function(e){function t(){for(var e=0;e<this.body.length;e++)if($w(this.body[e]))return this.body[e];return null}e(Xv,Ny),e(Sb,Iy),e(eE,Ny),e(nb,t),e(Mb,t),e(PE,function(){for(let e of this.properties)if(e instanceof FE&&e.aborts())return e;return null}),e(FE,t),e(Nb,function(){return this.alternative&&$w(this.body)&&$w(this.alternative)&&this})})(function(e,t){e.DEFMETHOD("aborts",t)}),Wv.DEFMETHOD("contains_this",function(){return Ex(this,e=>e instanceof ox?wx:e!==this&&e instanceof fb&&!(e instanceof bb)||void 0)});const Vw=Symbol("This AST_Chain is nullish");Wv.DEFMETHOD("evaluate",function(e){if(!e.option("evaluate"))return this;var t=this._eval(e,1);if(!t||t instanceof RegExp)return t;if("function"==typeof t||"object"==typeof t||t==Vw)return this;if("string"==typeof t){let n=this.size(e);if(t.length+2>n)return this}return t});var qw=Gy("! ~ - + void");Wv.DEFMETHOD("is_constant",function(){return this instanceof sx?!(this instanceof px):this instanceof dE&&qw.has(this.operator)&&(this.expression instanceof sx||this.expression.is_constant())}),jw(Xv,function(){throw Error(Uy("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),jw(_b,Iy),jw(CE,Iy),jw(Wv,Iy),jw(sx,function(){return this.getValue()});const Hw="function"==typeof BigInt;jw(ux,function(){return Hw?BigInt(this.value):this}),jw(px,function(e){let t=e.evaluated_regexps.get(this.value);if(void 0===t&&Zy(this.value.source)){try{let{source:e,flags:n}=this.value;t=new RegExp(e,n)}catch{t=null}e.evaluated_regexps.set(this.value,t)}return t||this}),jw(Ab,function(){return 1===this.segments.length?this.segments[0].value:this}),jw(vb,function(e){if(e.option("unsafe")){var t=function(){};return t.node=this,t.toString=()=>this.print_to_string(),t}return this}),jw(yE,function(e,t){if(e.option("unsafe")){for(var n=[],r=0,i=this.elements.length;r<i;r++){var o=this.elements[r],a=o._eval(e,t);if(o===a)return this;n.push(a)}return n}return this}),jw(vE,function(e,t){if(e.option("unsafe")){for(var n={},r=0,i=this.properties.length;r<i;r++){var o=this.properties[r];if(o instanceof gb)return this;var a=o.key;if(a instanceof NE)a=a.name;else if(a instanceof Wv&&(a=a._eval(e,t))===o.key)return this;if("function"==typeof Object.prototype[a]||!(o.value instanceof vb)&&(n[a]=o.value._eval(e,t),n[a]===o.value))return this}return n}return this});var Kw=Gy("! typeof void");jw(dE,function(e,t){var n=this.expression;if(e.option("typeofs")&&"typeof"==this.operator){if(n instanceof _b||n instanceof ex&&n.fixed_value()instanceof _b)return"function";if((n instanceof vE||n instanceof yE||n instanceof ex&&(n.fixed_value()instanceof vE||n.fixed_value()instanceof yE))&&!n.has_side_effects(e))return"object"}if(Kw.has(this.operator)||t++,(n=n._eval(e,t))===this.expression)return this;switch(this.operator){case"!":return!n;case"typeof":return n instanceof RegExp?this:typeof n;case"void":return;case"~":return~n;case"-":return-n;case"+":return+n}return this});var Ww=Gy("&& || ?? === !==");const Xw=Gy("== != === !=="),Zw=e=>"object"==typeof e||"function"==typeof e||"symbol"==typeof e;jw(fE,function(e,t){Ww.has(this.operator)||t++;var n=this.left._eval(e,t);if(n===this.left)return this;var r,i=this.right._eval(e,t);if(i===this.right||null!=n&&null!=i&&Xw.has(this.operator)&&Zw(n)&&Zw(i)&&typeof n==typeof i||"bigint"==typeof n!=("bigint"==typeof i)||"bigint"==typeof n&&(">>>"===this.operator||"/"===this.operator&&0===Number(i)))return this;switch(this.operator){case"&&":r=n&&i;break;case"||":r=n||i;break;case"??":r=n??i;break;case"|":r=n|i;break;case"&":r=n&i;break;case"^":r=n^i;break;case"+":r=n+i;break;case"*":r=n*i;break;case"**":r=n**i;break;case"/":r=n/i;break;case"%":r=n%i;break;case"-":r=n-i;break;case"<<":r=n<<i;break;case">>":r=n>>i;break;case">>>":r=n>>>i;break;case"==":r=n==i;break;case"===":r=n===i;break;case"!=":r=n!=i;break;case"!==":r=n!==i;break;case"<":r=n<i;break;case"<=":r=n<=i;break;case">":r=n>i;break;case">=":r=n>=i;break;default:return this}return"number"==typeof r&&isNaN(r)&&e.find_parent(mb)?this:r}),jw(hE,function(e,t){var n=this.condition._eval(e,t);if(n===this.condition)return this;var r=n?this.consequent:this.alternative,i=r._eval(e,t);return i===r?this:i});const Yw=new Set;jw(ex,function(e,t){if(Yw.has(this))return this;var n=this.fixed_value();if(!n)return this;Yw.add(this);let r=n._eval(e,t);if(Yw.delete(this),r===n)return this;if(r&&"object"==typeof r){var i=this.definition().escaped;if(i&&t>i)return this}return r});const Qw={Array:Array,Math:Math,Number:Number,Object:Object,String:String},Jw=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);function eA(e,t){for(let n of[].concat(e))n.DEFMETHOD("drop_side_effect_free",t)}function tA(e,t,n){var r=e.length;if(!r)return null;for(var i=[],o=!1,a=0;a<r;a++){var s=e[a].drop_side_effect_free(t,n);o|=s!==e[a],s&&(i.push(s),n=!1)}return o?i.length?i:null:e}jw(aE,function(e,t){let n=this.expression._eval(e,t+1);if(n===Vw||this.optional&&null==n)return Vw;if("length"===this.property){if("string"==typeof n)return n.length;if(n instanceof yE&&n.elements.every(e=>!(e instanceof gb))&&n.elements.every(t=>!t.has_side_effects(e)))return n.elements.length}if(e.option("unsafe")){var r=this.property;if(r instanceof Wv&&(r=r._eval(e,t))===this.property)return this;var i=this.expression;if(Rw(i)){var o,a="hasOwnProperty"===i.name&&"call"===r&&(o=e.parent()&&e.parent().args)&&o&&o[0]&&o[0].evaluate(e);if(null==(a=a instanceof sE?a.expression:a)||a.thedef&&a.thedef.undeclared)return this.clone();if(!Ow(i.name,r))return this;n=Qw[i.name]}else{if(n instanceof RegExp){if("source"==r)return Wy(n.source);if("flags"==r||Jw.has(r))return n[r]}if(!n||n===i||!qy(n,r))return this;if("function"==typeof n)switch(r){case"name":return n.node.name?n.node.name.name:"";case"length":return n.node.length_property();default:return this}}return n[r]}return this}),jw(uE,function(e,t){let n=this.expression._eval(e,t);return n===Vw?void 0:n===this.expression?this:n}),jw(rE,function(e,t){var n=this.expression;let r=n._eval(e,t);if(r===Vw||this.optional&&null==r)return Vw;if(e.option("unsafe")&&n instanceof aE){var i=n.property;if(i instanceof Wv&&(i=i._eval(e,t))===n.property)return this;var o,a=n.expression;if(Rw(a)){var s="hasOwnProperty"===a.name&&"call"===i&&this.args[0]&&this.args[0].evaluate(e);if(null==(s=s instanceof sE?s.expression:s)||s.thedef&&s.thedef.undeclared)return this.clone();if(!Cw(a.name,i))return this;o=Qw[a.name]}else if((o=a._eval(e,t+1))===a||!o||!kw(o.constructor.name,i))return this;for(var c=[],l=0,u=this.args.length;l<u;l++){var p=this.args[l],d=p._eval(e,t);if(p===d||p instanceof _b)return this;c.push(d)}try{return o[i].apply(o,c)}catch{}}return this}),jw(iE,Iy),eA(Wv,Iy),eA(sx,Ny),eA(ox,Ny),eA(rE,function(e,t){if(Lw(this,e))return this.expression.drop_side_effect_free(e,t);if(!this.is_callee_pure(e)){if(this.expression.is_call_pure(e)){var n=this.args.slice();return n.unshift(this.expression.expression),(n=tA(n,e,t))&&rw(this,n)}if(mw(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,e),r}return this}var i=tA(this.args,e,t);return i&&rw(this,i)}),eA(yb,Ny),eA(vb,Ny),eA(bb,Ny),eA(CE,function(e){let t=[];if(this.is_self_referential()&&this.has_side_effects(e))return this;let n=this.extends&&this.extends.drop_side_effect_free(e);n&&t.push(n);for(let n of this.properties)if(n instanceof FE){if(n.has_side_effects(e))return this}else{let r=n.drop_side_effect_free(e);r&&t.push(r)}if(!t.length)return null;let r=rw(this,t);return this instanceof PE?My(Qv,this,{body:r}):r}),eA([OE,RE],function(e){let t=this.computed_key()&&this.key.drop_side_effect_free(e),n=this.static&&this.value&&this.value.drop_side_effect_free(e);return t&&n?rw(this,[t,n]):t||n||null}),eA(fE,function(e,t){var n=this.right.drop_side_effect_free(e);if(!n)return this.left.drop_side_effect_free(e,t);if(Pw.has(this.operator)){if(n===this.right)return this;var r=this.clone();return r.right=n,r}var i=this.left.drop_side_effect_free(e,t);return i?rw(this,[i,n]):this.right.drop_side_effect_free(e,t)}),eA(gE,function(e){if(this.logical)return this;var t=this.left;if(t.has_side_effects(e)||e.has_directive("use strict")&&t instanceof aE&&t.expression.is_constant())return this;for(ew(this,32);t instanceof aE;)t=t.expression;return t.is_constant_expression(e.find_parent(fb))?this.right.drop_side_effect_free(e):this}),eA(hE,function(e){var t=this.consequent.drop_side_effect_free(e),n=this.alternative.drop_side_effect_free(e);if(t===this.consequent&&n===this.alternative)return this;if(!t)return n?My(fE,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(e);if(!n)return My(fE,this,{operator:"&&",left:this.condition,right:t});var r=this.clone();return r.consequent=t,r.alternative=n,r}),eA(pE,function(e,t){if(Fw.has(this.operator))return this.expression.has_side_effects(e)?tw(this,32):ew(this,32),this;if("typeof"==this.operator&&this.expression instanceof ex)return null;var n=this.expression.drop_side_effect_free(e,t);return t&&n&&fw(n)?n===this.expression&&"!"==this.operator?this:n.negate(e,t):n}),eA(ex,function(e){return this.is_declared(e)||Tw.has(this.name)?null:this}),eA(vE,function(e,t){var n=tA(this.properties,e,t);return n&&rw(this,n)}),eA(EE,function(e,t){let n=this.key instanceof Wv&&this.key.drop_side_effect_free(e,t),r=this.value.drop_side_effect_free(e,t);return n&&r?rw(this,[n,r]):n||r}),eA([SE,TE,AE],function(){return this.computed_key()?this.key:null}),eA([kE,wE,xE],function(){return null}),eA(yE,function(e,t){var n=tA(this.elements,e,t);return n&&rw(this,n)}),eA(sE,function(e,t){return Lw(this,e)?this.expression.drop_side_effect_free(e,t):!this.optional&&this.expression.may_throw_on_access(e)?this:this.expression.drop_side_effect_free(e,t)}),eA(lE,function(e,t){if(Lw(this,e))return this.expression.drop_side_effect_free(e,t);if(!this.optional&&this.expression.may_throw_on_access(e))return this;var n=this.property.drop_side_effect_free(e);if(n&&this.optional)return this;var r=this.expression.drop_side_effect_free(e,t);return r&&n?rw(this,[r,n]):r||n}),eA(uE,function(e,t){return this.expression.drop_side_effect_free(e,t)}),eA(oE,function(e){var t=this.tail_node(),n=t.drop_side_effect_free(e);if(n===t)return this;var r=this.expressions.slice(0,-1);return n&&r.push(n),r.length?rw(this,r):My(lx,this,{value:0})}),eA(gb,function(e,t){return this.expression.drop_side_effect_free(e,t)}),eA(Tb,Ny),eA(Ab,function(e){var t=tA(this.segments,e,Px);return t&&rw(this,t)});const nA=/keep_assign/;function rA(e,t){e.DEFMETHOD("reduce_vars",t)}function iA(e,t){t.assignments=0,t.chained=!1,t.direct_access=!1,t.escaped=0,t.recursive_refs=0,t.references=[],t.single_use=void 0,t.scope.pinned()||t.orig[0]instanceof jE&&t.scope.uses_arguments?t.fixed=!1:t.orig[0]instanceof $E||!e.exposed(t)?t.fixed=t.init:t.fixed=!1}function oA(e,t,n){n.variables.forEach(function(n){iA(t,n),null===n.fixed?(e.defs_to_safe_ids.set(n.id,e.safe_ids),lA(e,n,!0)):n.fixed&&(e.loop_ids.set(n.id,e.in_loop),lA(e,n,!0))})}function aA(e,t){t.block_scope&&t.block_scope.variables.forEach(t=>{iA(e,t)})}function sA(e){e.safe_ids=Object.create(e.safe_ids)}function cA(e){e.safe_ids=Object.getPrototypeOf(e.safe_ids)}function lA(e,t,n){e.safe_ids[t.id]=n}function uA(e,t){if("m"==t.single_use)return!1;if(e.safe_ids[t.id]){if(null==t.fixed){var n=t.orig[0];if(n instanceof jE||"arguments"==n.name)return!1;t.fixed=My(hx,n)}return!0}return t.fixed instanceof Eb}function pA(e,t,n,r){if(void 0===t.fixed)return!0;let i;return null===t.fixed&&(i=e.defs_to_safe_ids.get(t.id))?(i[t.id]=!1,e.defs_to_safe_ids.delete(t.id),!0):!(!qy(e.safe_ids,t.id)||!uA(e,t)||!1===t.fixed||null!=t.fixed&&(!r||t.references.length>t.assignments))&&(t.fixed instanceof Eb?r instanceof Wv&&t.fixed.parent_scope===n:t.orig.every(e=>!(e instanceof $E||e instanceof VE||e instanceof KE)))}function dA(e,t,n,r,i,o=0,a=1){var s=e.parent(o);if(!i||!(i.is_constant()||i instanceof IE)){if(s instanceof gE&&("="===s.operator||s.logical)&&r===s.right||s instanceof rE&&(r!==s.expression||s instanceof iE)||s instanceof kb&&r===s.value&&r.scope!==t.scope||s instanceof Zb&&r===s.value||s instanceof Ib&&r===s.value&&r.scope!==t.scope)return a>1&&!(i&&i.is_constant_expression(n))&&(a=1),void((!t.escaped||t.escaped>a)&&(t.escaped=a));if(s instanceof yE||s instanceof Fb||s instanceof fE&&Pw.has(s.operator)||s instanceof hE&&r!==s.condition||s instanceof gb||s instanceof oE&&r===s.tail_node())dA(e,t,n,s,s,o+1,a);else if(s instanceof EE&&r===s.value){var c=e.parent(o+1);dA(e,t,n,c,c,o+2,a)}else if(s instanceof aE&&r===s.expression&&(dA(e,t,n,s,i=lw(i,s.property),o+1,a+1),i))return;o>0||s instanceof oE&&r!==s.tail_node()||s instanceof Qv||(t.direct_access=!0)}}fb.DEFMETHOD("drop_unused",function(e){if(!e.option("unused")||e.has_directive("use asm")||!this.variables)return;var t=this;if(t.pinned())return;var n=!(t instanceof hb)||e.toplevel.funcs,r=!(t instanceof hb)||e.toplevel.vars;let i=nA.test(e.option("unused"))?Py:function(e){return e instanceof gE&&!e.logical&&(Jx(e,32)||"="==e.operator)?e.left:e instanceof pE&&Jx(e,32)?e.expression:void 0};var o=new Map,a=new Map;t instanceof hb&&e.top_retain&&t.variables.forEach(function(t){e.top_retain(t)&&o.set(t.id,t)});var s=new Map,c=new Map,l=this,u=new Ax(function(i,p){if(i instanceof _b&&i.uses_arguments&&!u.has_directive("use strict")&&i.argnames.forEach(function(e){if(e instanceof ME){var t=e.definition();o.set(t.id,t)}}),i===t)return;if(i instanceof CE&&i.has_side_effects(e)&&(i.is_self_referential()?p():i.visit_nondeferred_class_parts(u)),i instanceof Eb||i instanceof PE){var m=i.name.definition();return(u.parent()instanceof nE||!n&&l===t)&&m.global&&o.set(m.id,m),jy(c,m.id,i),!0}let f=l===t;if(i instanceof jE&&f&&jy(s,i.definition().id,i),i instanceof qb&&f){let t=u.parent()instanceof nE;return i.definitions.forEach(function(n){if(n.name instanceof BE&&jy(s,n.name.definition().id,n),(t||!r)&&Ex(n.name,e=>{if(e instanceof ME){let t=e.definition();t.global&&o.set(t.id,t)}}),n.name instanceof xb&&n.walk(u),n.name instanceof ME&&n.value){var i=n.name.definition();jy(c,i.id,n.value),!i.chained&&n.name.fixed_value()===n.value&&a.set(i.id,n),n.value.has_side_effects(e)&&n.value.walk(u)}}),!0}return d(i,p)});t.walk(u),u=new Ax(d),o.forEach(function(e){var t=c.get(e.id);t&&t.forEach(function(e){e.walk(u)})});var p=new Tx(function(c,u,d){var m=p.parent();if(r){let t=i(c);if(t instanceof ex){var f=t.definition(),h=o.has(f.id);if(c instanceof gE){if(!h||a.has(f.id)&&a.get(f.id)!==c){let t=c.right.transform(p);return h||t.has_side_effects(e)||Gw(p)?pw(m,c,t):d?Ly.skip:My(lx,c,{value:0})}}else if(!h)return d?Ly.skip:My(lx,c,{value:0})}}if(l===t){if(c.name&&(c instanceof IE&&!Hy(e.option("keep_classnames"),(f=c.name.definition()).name)||c instanceof vb&&!Hy(e.option("keep_fnames"),(f=c.name.definition()).name))&&(!o.has(f.id)||f.orig.length>1)&&(c.name=null),c instanceof _b&&!(c instanceof yb))for(var g=!e.option("keep_fargs")||m instanceof rE&&m.expression===c&&!c.pinned()&&(!c.name||c.name.unreferenced()),_=c.argnames,y=_.length;--y>=0;){var v=_[y];v instanceof gb&&(v=v.expression),v instanceof _E&&(v=v.left),v instanceof xb||o.has(v.definition().id)?g=!1:(ew(v,1),g&&_.pop())}if(c instanceof PE&&c!==t){let t=c.name.definition();return u(c,this),t.global&&!n||o.has(t.id)?c:c.drop_side_effect_free(e)??(t.eliminated++,d?Ly.skip:My(rb,c))}if(c instanceof Eb&&c!==t){let e=c.name.definition();if(!(e.global&&!n||o.has(e.id)))return e.eliminated++,d?Ly.skip:My(rb,c)}if(c instanceof qb&&!(m instanceof pb&&m.init===c)){var b=!(m instanceof hb||c instanceof Hb),E=[],x=[],w=[],A=[];switch(c.definitions.forEach(function(t){t.value&&=t.value.transform(p);var n=t.name instanceof xb,i=n?new jx(null,{name:"<destructure>"}):t.name.definition();if(b&&i.global)return w.push(t);if(!r&&!b||n&&(t.name.names.length||t.name.is_array||1!=e.option("pure_getters"))||o.has(i.id)){if(t.value&&a.has(i.id)&&a.get(i.id)!==t&&(t.value=t.value.drop_side_effect_free(e)),t.name instanceof BE){var l=s.get(i.id);if(l.length>1&&(!t.value||i.orig.indexOf(t.name)>i.eliminated)){if(t.value){var u=My(ex,t.name,t.name);i.references.push(u);var d=My(gE,t,{operator:"=",logical:!1,left:u,right:t.value});a.get(i.id)===t&&a.set(i.id,d),A.push(d.transform(p))}return $y(l,t),void i.eliminated++}}t.value?(A.length>0&&(w.length>0?(A.push(t.value),t.value=rw(t.value,A)):E.push(My(Qv,c,{body:rw(c,A)})),A=[]),w.push(t)):x.push(t)}else if(i.orig[0]instanceof ZE)(m=t.value&&t.value.drop_side_effect_free(e))&&A.push(m),t.value=null,x.push(t);else{var m;(m=t.value&&t.value.drop_side_effect_free(e))&&A.push(m),i.eliminated++}}),(x.length>0||w.length>0)&&(c.definitions=x.concat(w),E.push(c)),A.length>0&&E.push(My(Qv,c,{body:rw(c,A)})),E.length){case 0:return d?Ly.skip:My(rb,c);case 1:return E[0];default:return d?Ly.splice(E):My(nb,c,{body:E})}}if(c instanceof ub)return u(c,this),c.init instanceof nb&&(T=c.init,c.init=T.body.pop(),T.body.push(c)),c.init instanceof Qv?c.init=c.init.body:hw(c.init)&&(c.init=null),T?d?Ly.splice(T.body):T:c;if(c instanceof ob&&c.body instanceof ub){if(u(c,this),c.body instanceof nb){var T=c.body;return c.body=T.body.pop(),T.body.push(c),d?Ly.splice(T.body):T}return c}if(c instanceof nb)return u(c,this),d&&c.body.every(vw)?Ly.splice(c.body):c;if(c instanceof fb&&!(c instanceof FE)){let e=l;return l=c,u(c,this),l=e,c}}},function(e,t){if(e instanceof oE)switch(e.expressions.length){case 0:return t?Ly.skip:My(lx,e,{value:0});case 1:return e.expressions[0]}});function d(e,n){var r;let s=i(e);if(s instanceof ex&&!yw(e.left,UE)&&t.variables.get(s.name)===(r=s.definition()))return e instanceof gE&&(e.right.walk(u),!r.chained&&e.left.fixed_value()===e.right&&a.set(r.id,e)),!0;if(e instanceof ex){if(r=e.definition(),!o.has(r.id)&&(o.set(r.id,r),r.orig[0]instanceof ZE)){let e=r.scope.is_block_scope()&&r.scope.get_defun_scope().variables.get(r.name);e&&o.set(e.id,e)}return!0}if(e instanceof CE)return n(),!0;if(e instanceof fb&&!(e instanceof FE)){var c=l;return l=e,n(),l=c,!0}}t.transform(p)}),rA(Wv,Dy);const mA=e=>Ex(e,e=>{if(e instanceof NE){var t=e.definition();t&&(e instanceof ex&&t.references.push(e),t.fixed=!1)}});function fA(e){let t=[];Ex(e,n=>{if(n!==e){if(n instanceof Eb)return t.push(n),!0;if(n instanceof fb||n instanceof Qv)return!0}});let n=new Map,r=new Map,i=new Set,o=new Set;for(let a of t){let t=a.name.definition(),s=[];for(let r of a.enclosed)if(!1!==r.fixed&&r!==t&&r.scope.get_defun_scope()===e){if(i.add(r.id),0===r.assignments&&1===r.orig.length&&r.orig[0]instanceof VE){o.add(r.id),i.add(r.id),o.add(t.id),i.add(t.id),n.has(t.id)||n.set(t.id,[]),n.get(t.id).push(r.id);continue}s.push(r)}s.length&&(r.set(t.id,s),o.add(t.id),i.add(t.id))}if(!r.size)return;let a=1,s=new Map,c=new Map;xx(e,(e,t)=>{if(e instanceof NE&&e.thedef){let n=e.definition().id;a++,i.has(n)&&(e instanceof ME||Bw(e,t.parent()))&&c.set(n,a),o.has(n)&&!s.has(n)&&!xw(t,n)&&s.set(n,a)}});for(let[e,t]of s){let r=new Set(n.get(e));for(let e of r){let i=s.get(e);if(!(null!=i&&i<t)){s.set(e,t);for(let t of n.get(e)||[])r.add(t)}}}for(let[e,t]of r){let n=s.get(e);if(void 0!==n)for(let e of t)!1!==e.fixed&&n<(c.get(e.id)||0)&&(e.fixed=!1)}}function hA(e){return e instanceof ab&&e.body instanceof nb?e.body:e}function gA(e){if(e instanceof ox)return!0;if(e instanceof ex)return e.definition().orig[0]instanceof KE;if(e instanceof aE){if((e=e.expression)instanceof ex){if(e.is_immutable())return!1;e=e.fixed_value()}return!e||!(e instanceof px)&&(e instanceof sx||gA(e))}return!1}function _A(e,t,n){Ex(t,r=>{if(r instanceof Hb){let e=function(e){var t=[];return e.definitions.forEach(function(e){e.name instanceof ME?(e.value=null,t.push(e)):e.declarations_as_names().forEach(n=>{t.push(My(Yb,e,{name:n,value:null}))})}),t.length?My(Hb,e,{definitions:t}):null}(r);return e&&n.push(e),!0}return r instanceof Eb&&(r===t||!e.has_directive("use strict"))?(n.push(r===t?r:My(Hb,r,{definitions:[My(Yb,r,{name:My(BE,r.name,r.name),value:null})]})),!0):r instanceof nE||r instanceof eE?(n.push(r),!0):r instanceof fb||r instanceof CE||void 0})}function yA(e,t){let n=t.find_scope(),r=n.get_defun_scope(),{in_loop:i,in_try:o}=function(){var e=t.self(),n=0,r=!1,i=!1;do{if(e instanceof ab)r=!0;else{if(e instanceof fb)break;e instanceof zb&&(i=!0)}}while(e=t.parent(n++));return{in_loop:r,in_try:i}}();var a,s=10;do{a=!1,l(e),t.option("dead_code")&&p(e,t),t.option("if_return")&&u(e,t),t.sequences_limit>0&&(m(e,t),h(e,t)),t.option("join_vars")&&_(e),t.option("collapse_vars")&&c(e,t)}while(a&&s-- >0);function c(e,t){if(n.pinned()||r.pinned())return e;for(var s,c=[],l=e.length,u=new Tx(function(e){if(S)return e;if(!T)return e===d[m]?++m<d.length?D(e):(T=!0,(g=L(e,0))===e&&(S=!0),e):e;var r,i=u.parent();if(e instanceof gE&&(e.logical||"="!=e.operator&&y.equivalent_to(e.left))||e instanceof Fb||e instanceof Xb||e instanceof rE&&y instanceof aE&&y.equivalent_to(e.expression)||(e instanceof rE||e instanceof aE)&&e.optional||e instanceof Zv||e instanceof xb||e instanceof gb&&e.expression instanceof NE&&(e.expression instanceof ox||e.expression.definition().references.length>1)||e instanceof ab&&!(e instanceof ub)||e instanceof Rb||e instanceof $b||e instanceof mb||e instanceof Ib||e instanceof nE||e instanceof CE||i instanceof ub&&e!==i.init||!x&&e instanceof ex&&!e.is_declared(t)&&!Tw.has(e)||e instanceof ex&&i instanceof rE&&Yy(i,4)||e instanceof bE&&e.key instanceof Wv)return S=!0,e;if(!_&&(!b||!x)&&(i instanceof fE&&Pw.has(i.operator)&&i.left!==e||i instanceof hE&&i.condition!==e||i instanceof Nb&&i.condition!==e)&&(_=i),C&&!(e instanceof ME)&&y.equivalent_to(e)&&!function(e,t){for(let{def:n}of t.values()){let t=e.find_variable(n.name);if(t){if(t===n)continue;return!0}}return!1}(u.find_scope()||n,v)){if(_)return S=!0,e;if(Bw(e,i))return h&&k++,e;if(k++,h&&f instanceof Yb)return e;if(a=S=!0,f instanceof mE)return My(dE,f,f);if(f instanceof Yb){var s=f.name.definition(),c=f.value;return s.references.length-s.replaced!=1||t.exposed(s)?My(gE,f,{operator:"=",logical:!1,left:My(ex,f.name,f.name),right:c}):(s.replaced++,A&&_w(c)?c.transform(t):pw(i,e,c))}return tw(f,32),f}return(e instanceof rE||e instanceof kb&&(E||y instanceof aE||V(y))||e instanceof aE&&(E||e.expression.may_throw_on_access(t))||e instanceof ex&&(v.has(e.name)&&v.get(e.name).modified||E&&V(e))||e instanceof Yb&&e.value&&(v.has(e.name.name)||E&&V(e.name))||e instanceof Xb||(r=Bw(e.left,e))&&(r instanceof aE||v.has(r.name))||w&&(o?e.has_side_effects(t):q(e)))&&(g=e,e instanceof fb&&(S=!0)),D(e)},function(e){S||(g===e&&(S=!0),_===e&&(_=null))}),p=new Tx(function(e){return S?e:T?e instanceof ex&&e.name==R.name?(--k||(S=!0),Bw(e,p.parent())?e:(R.replaced++,h.replaced--,f.value)):e instanceof Bb||e instanceof fb?e:void 0:e===d[m]?++m<d.length?void 0:(T=!0,e):e});--l>=0;){0==l&&t.option("unused")&&I();var d=[];for(N(e[l]);c.length>0;){d=c.pop();var m=0,f=d[d.length-1],h=null,g=null,_=null,y=M(f);if(y&&!gA(y)&&!y.has_side_effects(t)){var v=U(f),b=z(y);y instanceof ex&&v.set(y.name,{def:y.definition(),modified:!1});var E=G(f),x=j(),w=f.may_throw(t),A=f.name instanceof jE,T=A,S=!1,k=0,C=!s||!T;if(!C){for(let e=t.self().argnames.lastIndexOf(f.name)+1;!S&&e<s.length;e++)s[e].transform(u);C=!0}for(var O=l;!S&&O<e.length;O++)e[O].transform(u);if(h){var R=f.name.definition();if(S&&R.references.length-R.replaced>k)k=!1;else{for(S=!1,m=0,T=A,O=l;!S&&O<e.length;O++)e[O].transform(p);h.single_use=!1}}k&&!$(f)&&e.splice(l,1)}}}function D(e){if(e instanceof fb)return e;if(e instanceof Lb){e.expression=e.expression.transform(u);for(var t=0,n=e.body.length;!S&&t<n;t++){var r=e.body[t];if(r instanceof Ub){if(!T){if(r!==d[m])continue;m++}if(r.expression=r.expression.transform(u),!x)break}}return S=!0,e}}function P(e,t,n){var i=!1,o=!(e instanceof bb);return t.walk(new Ax(function(t,a){if(i)return!0;if(t instanceof ex&&(e.variables.has(t.name)||function(e,t){if(e.global)return!1;let n=e.scope;for(;n&&n!==t;){if(n.variables.has(e.name))return!0;n=n.parent_scope}return!1}(t.definition(),e))){var s=t.definition().scope;if(s!==r)for(;s=s.parent_scope;)if(s===r)return!0;return i=!0}if((n||o)&&t instanceof ox)return i=!0;if(t instanceof fb&&!(t instanceof bb)){var c=o;return o=!1,a(),o=c,!0}})),i}function F(e){return!(e instanceof gb||Ex(e,e=>{if(e instanceof Fb)return wx}))}function I(){var e,n=t.self();if(mw(n)&&!n.name&&!n.uses_arguments&&!n.pinned()&&(e=t.parent())instanceof rE&&e.expression===n&&e.args.every(F)){var r=t.has_directive("use strict");r&&!Cy(r,n.body)&&(r=!1);var i=n.argnames.length;s=e.args.slice(i);for(var o=new Set,a=i;--a>=0;){var l=n.argnames[a],u=e.args[a];let i=l.definition&&l.definition();if(!(i&&i.orig.length>1||(s.unshift(My(Yb,l,{name:l,value:u})),o.has(l.name))))if(o.add(l.name),l instanceof gb){var p=e.args.slice(a);p.every(e=>!P(n,e,r))&&c.unshift([My(Yb,l,{name:l.expression,value:My(yE,e,{elements:p})})])}else u?(u instanceof _b&&u.pinned()||P(n,u,r))&&(u=null):u=My(hx,l).transform(t),u&&c.unshift([My(Yb,l,{name:l,value:u})])}}}function N(e){if(d.push(e),e instanceof gE)!e.left.has_side_effects(t)&&!(e.right instanceof uE)&&c.push(d.slice()),N(e.right);else if(e instanceof fE)N(e.left),N(e.right);else if(e instanceof rE&&!Yy(e,4))N(e.expression),e.args.forEach(N);else if(e instanceof Ub)N(e.expression);else if(e instanceof hE)N(e.condition),N(e.consequent),N(e.alternative);else if(e instanceof qb){var n=e.definitions.length,r=n-200;for(r<0&&(r=0);r<n;r++)N(e.definitions[r])}else e instanceof sb?(N(e.condition),e.body instanceof tb||N(e.body)):e instanceof kb?e.value&&N(e.value):e instanceof ub?(e.init&&N(e.init),e.condition&&N(e.condition),e.step&&N(e.step),e.body instanceof tb||N(e.body)):e instanceof pb?(N(e.object),e.body instanceof tb||N(e.body)):e instanceof Nb?(N(e.condition),e.body instanceof tb||N(e.body),e.alternative&&!(e.alternative instanceof tb)&&N(e.alternative)):e instanceof oE?e.expressions.forEach(N):e instanceof Qv?N(e.body):e instanceof Lb?(N(e.expression),e.body.forEach(N)):e instanceof pE?("++"==e.operator||"--"==e.operator)&&c.push(d.slice()):e instanceof Yb&&e.value&&!(e.value instanceof uE)&&(c.push(d.slice()),N(e.value));d.pop()}function L(e,t,n){var r=u.parent(t);return r instanceof gE?!n||r.logical||r.left instanceof aE||v.has(r.left.name)?e:L(r,t+1,n):r instanceof fE?!n||Pw.has(r.operator)&&r.left!==e?e:L(r,t+1,n):r instanceof rE||r instanceof Ub?e:r instanceof hE?n&&r.condition===e?L(r,t+1,n):e:r instanceof qb?L(r,t+1,!0):r instanceof kb?n?L(r,t+1,n):e:r instanceof Nb?n&&r.condition===e?L(r,t+1,n):e:r instanceof ab?e:r instanceof oE?L(r,t+1,r.tail_node()!==e):r instanceof Qv?L(r,t+1,!0):r instanceof Lb||r instanceof Yb?e:null}function M(e){if(e instanceof gE&&e.logical)return!1;if(!(e instanceof Yb&&e.name instanceof ME)){let t=e instanceof gE?e.left:e.expression;return!yw(t,$E)&&!yw(t,GE)&&!yw(t,zE)&&t}var n=e.name.definition();if(Cy(e.name,n.orig)){var r=n.references.length-n.replaced;if(r)return n.orig.length-n.eliminated>1&&!(e.name instanceof jE)||(r>1?function(e){var t=e.value;if(t instanceof ex&&"arguments"!=t.name){var n=t.definition();if(!n.undeclared)return h=n}}(e):!t.exposed(n))?My(ex,e.name,e.name):void 0}}function B(e){return e instanceof gE?e.right:e.value}function U(e){var n=new Map;if(e instanceof pE)return n;var r=new Ax(function(e){for(var i=e;i instanceof aE;)i=i.expression;if(i instanceof ex){let o=n.get(i.name);(!o||!o.modified)&&n.set(i.name,{def:i.definition(),modified:zw(t,r,e,e,0)})}});return B(e).walk(r),n}function $(n){if(n.name instanceof jE){var r=t.parent(),i=t.self().argnames,o=i.indexOf(n.name);if(o<0)r.args.length=Math.min(r.args.length,i.length-1);else{var a=r.args;a[o]&&(a[o]=My(lx,a[o],{value:0}))}return!0}var s=!1;return e[l].transform(new Tx(function(e,t,r){return s?e:e===n||e.body===n?(s=!0,e instanceof Yb?(e.value=e.name instanceof $E?My(hx,e.value):null,e):r?Ly.skip:null):void 0},function(e){if(e instanceof oE)switch(e.expressions.length){case 0:return null;case 1:return e.expressions[0]}}))}function z(e){for(;e instanceof aE;)e=e.expression;return e instanceof ex&&e.definition().scope.get_defun_scope()===r&&!(i&&(v.has(e.name)||f instanceof pE||f instanceof gE&&!f.logical&&"="!=f.operator))}function G(e){return e instanceof pE?Fw.has(e.operator):B(e).has_side_effects(t)}function j(){if(E)return!1;if(h)return!0;if(y instanceof ex){var e=y.definition();if(e.references.length-e.replaced==(f instanceof Yb?1:2))return!0}return!1}function V(e){if(!e.definition)return!0;var t=e.definition();return!(1==t.orig.length&&t.orig[0]instanceof VE)&&(t.scope.get_defun_scope()!==r||t.references.some(e=>e.scope.get_defun_scope()!==r))}function q(e,t){if(e instanceof gE)return q(e.left,!0);if(e instanceof pE)return q(e.expression,!0);if(e instanceof Yb)return e.value&&q(e.value);if(t){if(e instanceof sE||e instanceof lE)return q(e.expression,!0);if(e instanceof ex)return e.definition().scope.get_defun_scope()!==r}return!1}}function l(e){for(var t=[],n=0;n<e.length;){var r=e[n];r instanceof nb&&r.body.every(vw)?(a=!0,l(r.body),e.splice(n,1,...r.body),n+=r.body.length):r instanceof rb?(a=!0,e.splice(n,1)):r instanceof Yv?t.indexOf(r.value)<0?(n++,t.push(r.value)):(a=!0,e.splice(n,1)):n++}}function u(e,t){for(var n=t.self(),r=function(e){for(var t=0,n=e.length;--n>=0;){var r=e[n];if(r instanceof Nb&&r.body instanceof Cb&&++t>1)return!0}return!1}(e),i=n instanceof _b,o=Math.min(e.length,500);--o>=0;){var s=e[o],c=g(o),l=e[c];if(i&&!l&&s instanceof Cb){if(!s.value){a=!0,e.splice(o,1);continue}if(s.value instanceof dE&&"void"==s.value.operator){a=!0,e[o]=My(Qv,s,{body:s.value.expression});continue}}if(s instanceof Nb){let n,r;if(n=$w(s.body),m(n)&&(r=h(s.body,n))){n.label&&$y(n.label.thedef.references,n),a=!0,(s=s.clone()).condition=s.condition.negate(t),s.body=My(nb,s,{body:bw(s.alternative).concat(f())}),s.alternative=My(nb,s,{body:r}),e[o]=s.transform(t);continue}if(n=$w(s.alternative),m(n)&&(r=h(s.alternative,n))){n.label&&$y(n.label.thedef.references,n),a=!0,(s=s.clone()).body=My(nb,s.body,{body:bw(s.body).concat(f())}),s.alternative=My(nb,s.alternative,{body:r}),e[o]=s.transform(t);continue}}if(s instanceof Nb&&s.body instanceof Cb){var u=s.body.value;if(!u&&!s.alternative&&(i&&!l||l instanceof Cb&&!l.value)){a=!0,e[o]=My(Qv,s.condition,{body:s.condition});continue}if(u&&!s.alternative&&l instanceof Cb&&l.value){a=!0,(s=s.clone()).alternative=l,e[o]=s.transform(t),e.splice(c,1);continue}if(u&&!s.alternative&&(!l&&i&&r||l instanceof Cb)){a=!0,(s=s.clone()).alternative=l||My(Cb,s,{value:null}),e[o]=s.transform(t),l&&e.splice(c,1);continue}var p=e[_(o)];if(t.option("sequences")&&i&&!s.alternative&&p instanceof Nb&&p.body instanceof Cb&&g(c)==e.length&&l instanceof Qv){a=!0,(s=s.clone()).alternative=My(nb,l,{body:[l,My(Cb,l,{value:null})]}),e[o]=s.transform(t),e.splice(c,1);continue}}}function m(r){if(!r)return!1;for(var a=o+1,s=e.length;a<s;a++){var c=e[a];if(c instanceof Vb&&!(c instanceof Hb))return!1}var l=r instanceof Rb?t.loopcontrol_target(r):null;return r instanceof Cb&&i&&function(e){return!e||e instanceof dE&&"void"==e.operator}(r.value)||r instanceof Pb&&n===hA(l)||r instanceof Db&&l instanceof nb&&n===l}function f(){var t=e.slice(o+1);return e.length=o+1,t.filter(function(t){return!(t instanceof Eb&&(e.push(t),1))})}function h(e,t){var n=bw(e);if(t===n[n.length-1]&&(n=n.slice(0,-1)).every(e=>vw(e)))return t.value&&n.push(My(Qv,t.value,{body:t.value.expression})),n}function g(t){for(var n=t+1,r=e.length;n<r;n++){var i=e[n];if(!(i instanceof Hb&&d(i)))break}return n}function _(t){for(var n=t;--n>=0;){var r=e[n];if(!(r instanceof Hb&&d(r)))break}return n}}function p(e,t){for(var n,r=t.self(),i=0,o=0,s=e.length;i<s;i++){var c=e[i];if(c instanceof Rb){var l=t.loopcontrol_target(c);c instanceof Db&&!(l instanceof ab)&&hA(l)===r||c instanceof Pb&&hA(l)===r?c.label&&$y(c.label.thedef.references,c):e[o++]=c}else e[o++]=c;if($w(c)){n=e.slice(i+1);break}}e.length=o,a=o!=s,n&&n.forEach(function(n){_A(t,n,e)})}function d(e){return e.definitions.every(e=>!e.value)}function m(e,t){if(!(e.length<2)){for(var n=[],r=0,i=0,o=e.length;i<o;i++){var s=e[i];if(s instanceof Qv){n.length>=t.sequences_limit&&l();var c=s.body;n.length>0&&(c=c.drop_side_effect_free(t)),c&&nw(n,c)}else s instanceof qb&&d(s)||s instanceof Eb||l(),e[r++]=s}l(),e.length=r,r!=o&&(a=!0)}function l(){if(n.length){var t=rw(n[0],n);e[r++]=My(Qv,t,{body:t}),n=[]}}}function f(e,t){if(!(e instanceof nb))return e;for(var n=null,r=0,i=e.body.length;r<i;r++){var o=e.body[r];if(o instanceof Hb&&d(o))t.push(o);else{if(n||o instanceof Vb&&!(o instanceof Hb))return!1;n=o}}return n}function h(e,t){function n(e){i--,a=!0;var n=r.body;return rw(n,[n,e]).transform(t)}for(var r,i=0,o=0;o<e.length;o++){var s=e[o];if(r&&(s instanceof kb?s.value=n(s.value||My(hx,s).transform(t)):s instanceof ub?s.init instanceof Vb||Ex(r.body,e=>e instanceof fb||(e instanceof fE&&"in"===e.operator?wx:void 0))||(s.init?s.init=n(s.init):(s.init=r.body,i--,a=!0)):s instanceof pb?(!(s.init instanceof Vb)||s.init instanceof Hb)&&(s.object=n(s.object)):s instanceof Nb?s.condition=n(s.condition):(s instanceof Lb||s instanceof mb)&&(s.expression=n(s.expression))),t.option("conditionals")&&s instanceof Nb){var c=[],l=f(s.body,c),u=f(s.alternative,c);if(!1!==l&&!1!==u&&c.length>0){var p=c.length;c.push(My(Nb,s,{condition:s.condition,body:l||My(rb,s.body),alternative:u})),c.unshift(i,1),[].splice.apply(e,c),o+=p,i+=p+1,r=null,a=!0;continue}}e[i++]=s,r=s instanceof Qv?s:null}e.length=i}function g(e,r){if(e instanceof qb){var i,o=e.definitions[e.definitions.length-1];if(o.value instanceof vE&&(r instanceof gE&&!r.logical?i=[r]:r instanceof oE&&(i=r.expressions.slice()),i)){var a=!1;do{var s=i[0];if(!(s instanceof gE&&"="==s.operator&&s.left instanceof aE))break;var c=s.left.expression;if(!(c instanceof ex&&o.name.name==c.name&&s.right.is_constant_expression(n)))break;var l=s.left.property;if(l instanceof Wv&&(l=l.evaluate(t)),l instanceof Wv)break;l=""+l;var u=t.option("ecma")<2015&&t.has_directive("use strict")?function(e){return e.key!=l&&e.key&&e.key.name!=l}:function(e){return e.key&&e.key.name!=l};if(!o.value.properties.every(u))break;var p=o.value.properties.filter(function(e){return e.key===l})[0];p?p.value=new oE({start:p.start,expressions:[p.value.clone(),s.right.clone()],end:p.end}):o.value.properties.push(My(EE,s,{key:l,value:s.right})),i.shift(),a=!0}while(i.length);return a&&i}}}function _(e){for(var t,n=0,r=-1,i=e.length;n<i;n++){var o=e[n],s=e[r];if(o instanceof qb)s&&s.TYPE==o.TYPE?(s.definitions=s.definitions.concat(o.definitions),a=!0):t&&t.TYPE==o.TYPE&&d(o)?(t.definitions=t.definitions.concat(o.definitions),a=!0):(e[++r]=o,t=o);else if(o instanceof Xb&&s instanceof Xb&&s.await===o.await)s.definitions=s.definitions.concat(o.definitions);else if(o instanceof kb)o.value=l(o.value);else if(o instanceof ub)(c=g(s,o.init))?(a=!0,o.init=c.length?rw(o.init,c):null,e[++r]=o):s instanceof Hb&&(!o.init||o.init.TYPE==s.TYPE)?(o.init&&(s.definitions=s.definitions.concat(o.init.definitions)),o.init=s,e[r]=o,a=!0):t instanceof Hb&&o.init instanceof Hb&&d(o.init)?(t.definitions=t.definitions.concat(o.init.definitions),o.init=null,e[++r]=o,a=!0):e[++r]=o;else if(o instanceof pb)o.object=l(o.object);else if(o instanceof Nb)o.condition=l(o.condition);else if(o instanceof Qv){var c;if(c=g(s,o.body)){if(a=!0,!c.length)continue;o.body=rw(o.body,c)}e[++r]=o}else o instanceof Lb||o instanceof mb?o.expression=l(o.expression):e[++r]=o}function l(t){e[++r]=o;var n=g(s,t);return n?(a=!0,n.length?rw(t,n):t instanceof oE?t.tail_node().left:t.left):t}e.length=r+1}}function vA(e,t){for(let n of t.enclosed){if(t.variables.has(n.name))continue;let r=e.find_variable(n.name);if(r){if(r===n)continue;return!0}}return!1}function bA(e,t){return(t instanceof _b||t instanceof CE)&&!!e.is_within_loop()}rA(yb,function(e,t,n){return sA(e),oA(e,n,this),t(),cA(e),!0}),rA(gE,function(e,t,n){var r=this;if(r.left instanceof xb)return void mA(r.left);let i=()=>{if(r.logical)return r.left.walk(e),sA(e),r.right.walk(e),cA(e),!0};var o=r.left;if(!(o instanceof ex))return i();var a=o.definition(),s=pA(e,a,o.scope,r.right);if(a.assignments++,!s)return i();var c=a.fixed;if(!c&&"="!=r.operator&&!r.logical)return i();var l="="==r.operator,u=l?r.right:r;return zw(n,e,r,u,0)?i():(a.references.push(o),r.logical||(l||(a.chained=!0),a.fixed=l?function(){return r.right}:function(){return My(fE,r,{operator:r.operator.slice(0,-1),left:c instanceof Wv?c:c(),right:r.right})}),r.logical?(lA(e,a,!1),sA(e),r.right.walk(e),cA(e),!0):(lA(e,a,!1),r.right.walk(e),lA(e,a,!0),dA(e,a,o.scope,r,u,0,1),!0))}),rA(fE,function(e){if(Pw.has(this.operator))return this.left.walk(e),sA(e),this.right.walk(e),cA(e),!0}),rA(tb,function(e,t,n){aA(n,this)}),rA(Ub,function(e){return sA(e),this.expression.walk(e),cA(e),sA(e),Jv(this,e),cA(e),!0}),rA(CE,function(e,t){return tw(this,16),sA(e),t(),cA(e),!0}),rA(FE,function(e,t,n){aA(n,this)}),rA(hE,function(e){return this.condition.walk(e),sA(e),this.consequent.walk(e),cA(e),sA(e),this.alternative.walk(e),cA(e),!0}),rA(uE,function(e,t){let n=e.safe_ids;return t(),e.safe_ids=n,!0}),rA(rE,function(e){this.expression.walk(e),this.optional&&sA(e);for(let t of this.args)t.walk(e);return!0}),rA(aE,function(e){if(this.optional)return this.expression.walk(e),sA(e),this.property instanceof Wv&&this.property.walk(e),!0}),rA(Bb,function(e,t){return sA(e),t(),cA(e),!0}),rA(_b,function(e,t,n){var r;return tw(this,16),sA(e),oA(e,n,this),!this.name&&!this.uses_arguments&&!this.pinned()&&(r=e.parent())instanceof rE&&r.expression===this&&!r.args.some(e=>e instanceof gb)&&this.argnames.every(e=>e instanceof NE)&&this.argnames.forEach((t,n)=>{if(t.definition){var i=t.definition();i.orig.length>1||(void 0!==i.fixed||this.uses_arguments&&!e.has_directive("use strict")?i.fixed=!1:(i.fixed=function(){return r.args[n]||My(hx,r)},e.loop_ids.set(i.id,e.in_loop),lA(e,i,!0)))}}),t(),cA(e),fA(this),!0}),rA(cb,function(e,t,n){aA(n,this);let r=e.in_loop;return e.in_loop=this,sA(e),this.body.walk(e),uw(this)&&(cA(e),sA(e)),this.condition.walk(e),cA(e),e.in_loop=r,!0}),rA(ub,function(e,t,n){aA(n,this),this.init&&this.init.walk(e);let r=e.in_loop;return e.in_loop=this,sA(e),this.condition&&this.condition.walk(e),this.body.walk(e),this.step&&(uw(this)&&(cA(e),sA(e)),this.step.walk(e)),cA(e),e.in_loop=r,!0}),rA(pb,function(e,t,n){aA(n,this),mA(this.init),this.object.walk(e);let r=e.in_loop;return e.in_loop=this,sA(e),this.body.walk(e),cA(e),e.in_loop=r,!0}),rA(Nb,function(e){return this.condition.walk(e),sA(e),this.body.walk(e),cA(e),this.alternative&&(sA(e),this.alternative.walk(e),cA(e)),!0}),rA(ob,function(e){return sA(e),this.body.walk(e),cA(e),!0}),rA(ZE,function(){this.definition().fixed=!1}),rA(ex,function(e,t,n){var r,i=this.definition();i.references.push(this),1==i.references.length&&!i.fixed&&i.orig[0]instanceof VE&&e.loop_ids.set(i.id,e.in_loop),void 0!==i.fixed&&uA(e,i)?i.fixed&&((r=this.fixed_value())instanceof _b&&xw(e,i)?i.recursive_refs++:r&&!n.exposed(i)&&function(e,t,n){return t.option("unused")&&!n.scope.pinned()&&n.references.length-n.recursive_refs==1&&e.loop_ids.get(n.id)===e.in_loop}(e,n,i)?i.single_use=r instanceof _b&&!r.pinned()||r instanceof CE||i.scope===this.scope&&r.is_constant_expression():i.single_use=!1,zw(n,e,this,r,0,function(e){return!!e&&(e.is_constant()||e instanceof _b||e instanceof ox)}(r))&&(i.single_use?i.single_use="m":i.fixed=!1)):i.fixed=!1,dA(e,i,this.scope,this,r,0,1)}),rA(hb,function(e,t,n){return this.globals.forEach(function(e){iA(n,e)}),oA(e,n,this),t(),fA(this),!0}),rA($b,function(e,t,n){return aA(n,this),sA(e),this.body.walk(e),cA(e),this.bcatch&&(sA(e),this.bcatch.walk(e),cA(e)),this.bfinally&&this.bfinally.walk(e),!0}),rA(pE,function(e){var t=this;if("++"===t.operator||"--"===t.operator){var n=t.expression;if(n instanceof ex){var r=n.definition(),i=pA(e,r,n.scope,!0);if(r.assignments++,i){var o=r.fixed;if(o)return r.references.push(n),r.chained=!0,r.fixed=function(){return My(fE,t,{operator:t.operator.slice(0,-1),left:My(dE,t,{operator:"+",expression:o instanceof Wv?o:o()}),right:My(lx,t,{value:1})})},lA(e,r,!0),!0}}}}),rA(Yb,function(e,t){var n=this;if(n.name instanceof xb)mA(n.name);else{var r=n.name.definition();if(n.value){if(pA(e,r,n.name.scope,n.value))return r.fixed=function(){return n.value},e.loop_ids.set(r.id,e.in_loop),lA(e,r,!1),t(),lA(e,r,!0),!0;r.fixed=!1}}}),rA(Qb,function(){mA(this.name)}),rA(lb,function(e,t,n){aA(n,this);let r=e.in_loop;return e.in_loop=this,sA(e),t(),cA(e),e.in_loop=r,!0}),function(e){function t(e,n){if(e instanceof Wv)return e instanceof sx||(e=e.clone(!0)),My(e.CTOR,n,e);if(Array.isArray(e))return My(yE,n,{elements:e.map(function(e){return t(e,n)})});if(e&&"object"==typeof e){var r=[];for(var i in e)qy(e,i)&&r.push(My(EE,n,{key:i,value:t(e[i],n)}));return My(vE,n,{properties:r})}return ow(e,n)}hb.DEFMETHOD("resolve_defines",function(e){return e.option("global_defs")?(this.figure_out_scope({ie8:e.option("ie8")}),this.transform(new Tx(function(t){var n=t._find_defs(e,"");if(n){for(var r,i=0,o=t;(r=this.parent(i++))&&r instanceof aE&&r.expression===o;)o=r;if(!Bw(o,r))return n}}))):this}),e(Wv,Dy),e(uE,function(e,t){return this.expression._find_defs(e,t)}),e(sE,function(e,t){return this.expression._find_defs(e,"."+this.property+t)}),e(ME,function(){this.global()}),e(ex,function(e,n){if(this.global()){var r=e.option("global_defs"),i=this.name+n;if(qy(r,i))return t(r[i],this)}}),e(tE,function(e,n){var r=e.option("global_defs"),i="import.meta"+n;if(qy(r,i))return t(r[i],this)})}(function(e,t){e.DEFMETHOD("_find_defs",t)});var EA=class extends Ax{constructor(e,{false_by_default:t=!1,mangle_options:n=!1}){super(),void 0!==e.defaults&&!e.defaults&&(t=!0),this.options=Ry(e,{arguments:!1,arrows:!t,booleans:!t,booleans_as_integers:!1,collapse_vars:!t,comparisons:!t,computed_props:!t,conditionals:!t,dead_code:!t,defaults:!0,directives:!t,drop_console:!1,drop_debugger:!t,ecma:5,evaluate:!t,expression:!1,global_defs:!1,hoist_funs:!1,hoist_props:!t,hoist_vars:!1,ie8:!1,if_return:!t,inline:!t,join_vars:!t,keep_classnames:!1,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,lhs_constants:!t,loops:!t,module:!1,negate_iife:!t,passes:1,properties:!t,pure_getters:!t&&"strict",pure_funcs:null,pure_new:!1,reduce_funcs:!t,reduce_vars:!t,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!(!e||!e.top_retain),typeofs:!t,unsafe:!1,unsafe_arrows:!1,unsafe_comps:!1,unsafe_Function:!1,unsafe_math:!1,unsafe_symbols:!1,unsafe_methods:!1,unsafe_proto:!1,unsafe_regexp:!1,unsafe_undefined:!1,unused:!t,warnings:!1},!0);var r=this.options.global_defs;if("object"==typeof r)for(var i in r)"@"===i[0]&&qy(r,i)&&(r[i.slice(1)]=jv(r[i],{expression:!0}));!0===this.options.inline&&(this.options.inline=3);var o=this.options.pure_funcs;this.pure_funcs="function"==typeof o?o:o?function(e){return!o.includes(e.expression.print_to_string())}:Fy;var a=this.options.top_retain;a instanceof RegExp?this.top_retain=function(e){return a.test(e.name)}:"function"==typeof a?this.top_retain=a:a&&("string"==typeof a&&(a=a.split(/,/)),this.top_retain=function(e){return a.includes(e.name)}),this.options.module&&(this.directives["use strict"]=!0,this.options.toplevel=!0);var s=this.options.toplevel;this.toplevel="string"==typeof s?{funcs:/funcs/.test(s),vars:/vars/.test(s)}:{funcs:s,vars:s};var c=this.options.sequences;this.sequences_limit=1==c?800:0|c,this.evaluated_regexps=new Map,this._toplevel=void 0,this._mangle_options=n&&Hx(n)}mangle_options(){var e=this._mangle_options&&this._mangle_options.nth_identifier||Kx,t=this._mangle_options&&this._mangle_options.module||this.option("module");return{ie8:this.option("ie8"),nth_identifier:e,module:t}}option(e){return this.options[e]}exposed(e){if(e.export)return!0;if(e.global)for(var t=0,n=e.orig.length;t<n;t++)if(!this.toplevel[e.orig[t]instanceof VE?"funcs":"vars"])return!0;return!1}in_boolean_context(){if(!this.option("booleans"))return!1;for(var e,t=this.self(),n=0;e=this.parent(n);n++){if(e instanceof Qv||e instanceof hE&&e.condition===t||e instanceof sb&&e.condition===t||e instanceof ub&&e.condition===t||e instanceof Nb&&e.condition===t||e instanceof dE&&"!"==e.operator&&e.expression===t)return!0;if(!(e instanceof fE&&("&&"==e.operator||"||"==e.operator||"??"==e.operator)||e instanceof hE||e.tail_node()===t))return!1;t=e}}in_32_bit_context(e){if(!this.option("evaluate"))return!1;for(var t,n=this.self(),r=0;t=this.parent(r);r++){if(t instanceof fE&&Dw.has(t.operator))return!e||(n===t.left?t.right:t.left).is_number(this);if(t instanceof dE)return"~"===t.operator;if(!(t instanceof fE&&("&&"==t.operator&&t.right===n||"||"==t.operator&&t.right===n||"??"==t.operator&&t.right===n)||t instanceof hE&&t.condition!==n||t.tail_node()===n))return!1;n=t}}in_computed_key(){if(!this.option("evaluate"))return!1;for(var e,t=this.self(),n=0;e=this.parent(n);n++)if(e instanceof bE&&e.key===t)return!0;return!1}get_toplevel(){return this._toplevel}compress(e){e=e.resolve_defines(this),this._toplevel=e,this.option("expression")&&this._toplevel.process_expression(!0);for(var t=+this.options.passes||1,n=1/0,r=!1,i=this.mangle_options(),o=0;o<t;o++)if(this._toplevel.figure_out_scope(i),0===o&&this.option("drop_console")&&(this._toplevel=this._toplevel.drop_console(this.option("drop_console"))),(o>0||this.option("reduce_vars"))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),t>1){let e=0;if(Ex(this._toplevel,()=>{e++}),e<n)n=e,r=!1;else{if(r)break;r=!0}}return this.option("expression")&&this._toplevel.process_expression(!1),e=this._toplevel,this._toplevel=void 0,e}before(e,t){if(Jx(e,256))return e;var n=!1;e instanceof fb&&(e=(e=e.hoist_properties(this)).hoist_declarations(this),n=!0),t(e,this),t(e,this);var r=e.optimize(this);return n&&r instanceof fb&&(r.drop_unused(this),t(r,this)),r===e&&ew(r,256),r}is_lhs(){return Bw(this.stack[this.stack.length-1],this.stack[this.stack.length-2])}};function xA(e,t){e.DEFMETHOD("optimize",function(e){var n=this;if(Jx(n,512)||e.has_directive("use asm"))return n;var r=t(n,e);return ew(r,512),r})}function wA(e,t){for(var n,r=0;(n=e.parent(r++))&&!(n instanceof fb);)if(n instanceof Gb&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(t)}xA(Wv,function(e){return e}),hb.DEFMETHOD("drop_console",function(e){let t=Array.isArray(e),n=new Tx(function(r){if("Call"===r.TYPE){var i=r.expression;if(i instanceof aE){for(var o=i.expression,a=i.property,s=2;o.expression;)a=o.property,o=o.expression,s++;if((!t||e.includes(a))&&Rw(o)&&"console"==o.name){if(3!==s||["call","apply"].includes(i.property)||!Gw(n))return My(hx,r);i.expression=iw(r),ew(i.expression,256),r.args=[]}}}});return this.transform(n)}),Wv.DEFMETHOD("equivalent_to",function(e){return((e,t)=>{if(!Bx(e,t))return!1;let n=[e],r=[t],i=n.push.bind(n),o=r.push.bind(r);for(;n.length&&r.length;){let e=n.pop(),t=r.pop();if(!Bx(e,t)||(e._children_backwards(i),t._children_backwards(o),n.length!==r.length))return!1}return 0==n.length&&0==r.length})(this,e)}),fb.DEFMETHOD("process_expression",function(e,t){var n=this,r=new Tx(function(i){if(e&&i instanceof Qv)return My(Cb,i,{value:i.body});if(!e&&i instanceof Cb){if(t){var o=i.value&&i.value.drop_side_effect_free(t,!0);return o?My(Qv,i,{body:o}):My(rb,i)}return My(Qv,i,{body:i.value||My(dE,i,{operator:"void",expression:My(lx,i,{value:0})})})}if(i instanceof CE||i instanceof _b&&i!==n)return i;if(i instanceof tb){var a=i.body.length-1;a>=0&&(i.body[a]=i.body[a].transform(r))}else i instanceof Nb?(i.body=i.body.transform(r),i.alternative&&=i.alternative.transform(r)):i instanceof mb&&(i.body=i.body.transform(r));return i});n.transform(r)}),hb.DEFMETHOD("reset_opt_flags",function(e){let t=this,n=e.option("reduce_vars"),r=new Ax(function(i,o){if(tw(i,1792),n)return e.top_retain&&i instanceof Eb&&r.parent()===t&&ew(i,1024),i.reduce_vars(r,o,e)});r.safe_ids=Object.create(null),r.in_loop=null,r.loop_ids=new Map,r.defs_to_safe_ids=new Map,t.walk(r)}),NE.DEFMETHOD("fixed_value",function(){var e=this.thedef.fixed;return!e||e instanceof Wv?e:e()}),ex.DEFMETHOD("is_immutable",function(){var e=this.definition().orig;return 1==e.length&&e[0]instanceof KE});var AA=Gy("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");ex.DEFMETHOD("is_declared",function(e){return!this.definition().undeclared||e.option("unsafe")&&AA.has(this.name)});var TA=new Set(["use asm","use strict"]);function SA(e,t){return yA(e.body,t),t.option("side_effects")&&1==e.body.length&&e.body[0]===t.has_directive("use strict")&&(e.body.length=0),e}function kA(e,t){var n=e.body instanceof nb?e.body.body[0]:e.body;if(t.option("dead_code")&&i(n)){var r=[];return e.init instanceof Xv?r.push(e.init):e.init&&r.push(My(Qv,e.init,{body:e.init})),e.condition&&r.push(My(Qv,e.condition,{body:e.condition})),_A(t,e.body,r),My(nb,e,{body:r})}return n instanceof Nb&&(i(n.body)?(e.condition?e.condition=My(fE,e.condition,{left:e.condition,operator:"&&",right:n.condition.negate(t)}):e.condition=n.condition.negate(t),o(n.alternative)):i(n.alternative)&&(e.condition?e.condition=My(fE,e.condition,{left:e.condition,operator:"&&",right:n.condition}):e.condition=n.condition,o(n.body))),e;function i(e){return e instanceof Db&&t.loopcontrol_target(e)===t.self()}function o(n){n=bw(n),e.body instanceof nb?(e.body=e.body.clone(),e.body.body=n.concat(e.body.body.slice(1)),e.body=e.body.transform(t)):e.body=My(nb,e.body,{body:n}).transform(t),e=kA(e,t)}}xA(Yv,function(e,t){return!t.option("directives")||TA.has(e.value)&&t.has_directive(e.value)===e?e:My(rb,e)}),xA(Zv,function(e,t){return t.option("drop_debugger")?My(rb,e):e}),xA(ob,function(e,t){return e.body instanceof Db&&t.loopcontrol_target(e.body)===e.body?My(rb,e):0==e.label.references.length?e.body:e}),xA(tb,function(e,t){return yA(e.body,t),e}),xA(nb,function(e,t){switch(yA(e.body,t),e.body.length){case 1:if(!t.has_directive("use strict")&&t.parent()instanceof Nb&&function(e){return!(e instanceof Wb||e instanceof Kb||e instanceof Xb||e instanceof CE)}(e.body[0])||vw(e.body[0]))return e.body[0];break;case 0:return My(rb,e)}return e}),xA(_b,SA),fb.DEFMETHOD("hoist_declarations",function(e){var t=this;if(e.has_directive("use asm"))return t;var n=e.option("hoist_funs"),r=e.option("hoist_vars");if(n||r){var i=[],o=[],a=new Map,s=0,c=0;Ex(t,e=>e instanceof fb&&e!==t||(e instanceof Hb?(++c,!0):void 0)),r&&=c>1;var l=new Tx(function(c){if(c!==t){if(c instanceof Yv)return i.push(c),My(rb,c);if(n&&c instanceof Eb&&!(l.parent()instanceof nE)&&l.parent()===t)return o.push(c),My(rb,c);if(r&&c instanceof Hb&&!c.definitions.some(e=>e.name instanceof xb)){c.definitions.forEach(function(e){a.set(e.name.name,e),++s});var u=c.to_assignments(e),p=l.parent();if(p instanceof pb&&p.init===c){if(null==u){var d=c.definitions[0].name;return My(ex,d,d)}return u}return p instanceof ub&&p.init===c?u:u?My(Qv,c,{body:u}):My(rb,c)}if(c instanceof fb)return c}});if(t=t.transform(l),s>0){var u=[];let e=t instanceof _b,n=e?t.args_as_names():null;if(a.forEach((t,r)=>{e&&n.some(e=>e.name===t.name.name)?a.delete(r):((t=t.clone()).value=null,u.push(t),a.set(r,t))}),u.length>0){for(;0<t.body.length;){if(t.body[0]instanceof Qv){var p,d,m=t.body[0].body;if(m instanceof gE&&"="==m.operator&&(p=m.left)instanceof NE&&a.has(p.name)){if((f=a.get(p.name)).value)break;f.value=m.right,$y(u,f),u.push(f),t.body.splice(0,1);continue}if(m instanceof oE&&(d=m.expressions[0])instanceof gE&&"="==d.operator&&(p=d.left)instanceof NE&&a.has(p.name)){var f;if((f=a.get(p.name)).value)break;f.value=d.right,$y(u,f),u.push(f),t.body[0].body=rw(m,m.expressions.slice(1));continue}}if(t.body[0]instanceof rb)t.body.splice(0,1);else{if(!(t.body[0]instanceof nb))break;t.body.splice(0,1,...t.body[0].body)}}u=My(Hb,t,{definitions:u}),o.push(u)}}t.body=i.concat(o,t.body)}return t}),fb.DEFMETHOD("hoist_properties",function(e){var t=this;if(!e.option("hoist_props")||e.has_directive("use asm"))return t;var n=t instanceof hb&&e.top_retain||Py,r=new Map,i=new Tx(function(o,a){if(o instanceof Yb){let s,c,l=o.name;if(!(l.scope!==t||l instanceof zE||1==(s=l.definition()).escaped||s.assignments||s.direct_access||s.single_use||e.exposed(s)||n(s)||(c=l.fixed_value())!==o.value)&&c instanceof vE&&!c.properties.some(e=>e instanceof gb||e.computed_key())){a(o,this);let e=new Map,n=[];return c.properties.forEach(({key:r,value:a})=>{let s=i.find_scope(),c=t.create_symbol(l.CTOR,{source:l,scope:s,conflict_scopes:new Set([s,...l.definition().references.map(e=>e.scope)]),tentative_name:l.name+"_"+r});e.set(String(r),c.definition()),n.push(My(Yb,o,{name:c,value:a}))}),r.set(s.id,e),Ly.splice(n)}}else if(o instanceof aE&&o.expression instanceof ex){let e=r.get(o.expression.definition().id);if(e){let t=e.get(String(cw(o.property))),n=My(ex,o,{name:t.name,scope:o.expression.scope,thedef:t});return n.reference({}),n}}});return t.transform(i)}),xA(Qv,function(e,t){if(t.option("side_effects")){var n=e.body,r=n.drop_side_effect_free(t,!0);if(!r)return My(rb,e);if(r!==n)return My(Qv,e,{body:r})}return e}),xA(lb,function(e,t){return t.option("loops")?My(ub,e,e).optimize(t):e}),xA(cb,function(e,t){if(!t.option("loops"))return e;var n=e.condition.tail_node().evaluate(t);if(!(n instanceof Wv)){if(n)return My(ub,e,{body:My(nb,e.body,{body:[e.body,My(Qv,e.condition,{body:e.condition})]})}).optimize(t);if(!uw(e,t.parent()))return My(nb,e.body,{body:[e.body,My(Qv,e.condition,{body:e.condition})]}).optimize(t)}return e}),xA(ub,function(e,t){if(!t.option("loops"))return e;if(t.option("side_effects")&&e.init&&(e.init=e.init.drop_side_effect_free(t)),e.condition){var n=e.condition.evaluate(t);if(!(n instanceof Wv))if(n)e.condition=null;else if(!t.option("dead_code")){var r=e.condition;e.condition=ow(n,e.condition),e.condition=aw(e.condition.transform(t),r)}if(t.option("dead_code")&&(n instanceof Wv&&(n=e.condition.tail_node().evaluate(t)),!n)){var i=[];return _A(t,e.body,i),e.init instanceof Xv?i.push(e.init):e.init&&i.push(My(Qv,e.init,{body:e.init})),i.push(My(Qv,e.condition,{body:e.condition})),My(nb,e,{body:i}).optimize(t)}}return kA(e,t)}),xA(Nb,function(e,t){if(hw(e.alternative)&&(e.alternative=null),!t.option("conditionals"))return e;var n=e.condition.evaluate(t);if(!(t.option("dead_code")||n instanceof Wv)){var r=e.condition;e.condition=ow(n,r),e.condition=aw(e.condition.transform(t),r)}if(t.option("dead_code")){if(n instanceof Wv&&(n=e.condition.tail_node().evaluate(t)),!n)return u=[],_A(t,e.body,u),u.push(My(Qv,e.condition,{body:e.condition})),e.alternative&&u.push(e.alternative),My(nb,e,{body:u}).optimize(t);if(!(n instanceof Wv))return(u=[]).push(My(Qv,e.condition,{body:e.condition})),u.push(e.body),e.alternative&&_A(t,e.alternative,u),My(nb,e,{body:u}).optimize(t)}var i=e.condition.negate(t),o=e.condition.size(),a=i.size(),s=a<o;if(e.alternative&&s){s=!1,e.condition=i;var c=e.body;e.body=e.alternative||My(rb,e),e.alternative=c}if(hw(e.body)&&hw(e.alternative))return My(Qv,e.condition,{body:e.condition.clone()}).optimize(t);if(e.body instanceof Qv&&e.alternative instanceof Qv)return My(Qv,e,{body:My(hE,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).optimize(t);if(hw(e.alternative)&&e.body instanceof Qv)return o===a&&!s&&e.condition instanceof fE&&"||"==e.condition.operator&&(s=!0),s?My(Qv,e,{body:My(fE,e,{operator:"||",left:i,right:e.body.body})}).optimize(t):My(Qv,e,{body:My(fE,e,{operator:"&&",left:e.condition,right:e.body.body})}).optimize(t);if(e.body instanceof rb&&e.alternative instanceof Qv)return My(Qv,e,{body:My(fE,e,{operator:"||",left:e.condition,right:e.alternative.body})}).optimize(t);if(e.body instanceof kb&&e.alternative instanceof kb&&e.body.TYPE==e.alternative.TYPE)return My(e.body.CTOR,e,{value:My(hE,e,{condition:e.condition,consequent:e.body.value||My(hx,e.body),alternative:e.alternative.value||My(hx,e.alternative)}).transform(t)}).optimize(t);if(e.body instanceof Nb&&!e.body.alternative&&!e.alternative&&(e=My(Nb,e,{condition:My(fE,e.condition,{operator:"&&",left:e.condition,right:e.body.condition}),body:e.body.body,alternative:null})),$w(e.body)&&e.alternative){var l=e.alternative;return e.alternative=null,My(nb,e,{body:[e,l]}).optimize(t)}if($w(e.alternative)){var u=e.body;return e.body=e.alternative,e.condition=s?i:e.condition.negate(t),e.alternative=null,My(nb,e,{body:[e,u]}).optimize(t)}return e}),xA(Lb,function(e,t){if(!t.option("switches"))return e;var n,r=e.expression.evaluate(t);if(!(r instanceof Wv)){var i=e.expression;e.expression=ow(r,i),e.expression=aw(e.expression.transform(t),i)}if(!t.option("dead_code"))return e;r instanceof Wv&&(r=e.expression.tail_node().evaluate(t));for(var o,a,s=[],c=[],l=0,u=e.body.length;l<u&&!a;l++){if((n=e.body[l])instanceof Bb)o?f(n,c[c.length-1]):o=n;else if(!(r instanceof Wv)){var p=n.expression.evaluate(t);if(!(p instanceof Wv)&&p!==r){f(n,c[c.length-1]);continue}if(p instanceof Wv&&!p.has_side_effects(t)&&(p=n.expression.tail_node().evaluate(t)),p===r&&(a=n,o)){var d=c.indexOf(o);c.splice(d,1),f(o,c[d-1]),o=null}}c.push(n)}for(;l<u;)f(e.body[l++],c[c.length-1]);e.body=c;let m=o||a;if(o=null,a=null,c.every((e,t)=>(e===m||e.expression instanceof sx)&&(0===e.body.length||$w(e)||c.length-1===t)))for(let e=0;e<c.length;e++){let t=c[e];for(let n=e+1;n<c.length;n++){let r=c[n];if(0===r.body.length)continue;let i=n===c.length-1,o=h(r,t,!1);if(o||i&&h(r,t,!0)){!o&&i&&r.body.push(My(Db));let t=n-1,a=0;for(;t>e&&v(c[t--]);)a++;let s=c.splice(n-a,1+a);c.splice(e+1,0,...s),e+=s.length}}}for(let e=0;e<c.length;e++){let t=c[e];if(0!==t.body.length&&$w(t))for(let n=e+1;n<c.length;e++,n++){let e=c[n];if(0!==e.body.length){if(h(e,t,!1)||n===c.length-1&&h(e,t,!0)){t.body=[],t=e;continue}break}}}{let e=c.length-1;for(;e>=0;e--){let n=c[e].body;for(;y(n[n.length-1],t);)n.pop();if(!v(c[e]))break}if(e++,!m||c.indexOf(m)>=e)for(let n=c.length-1;n>=e;n--){let e=c[n];if(e===m)m=null,f(c.pop());else{if(e.expression.has_side_effects(t))break;f(c.pop())}}}e:if(m){let e=c.indexOf(m),n=e;for(;n<c.length-1&&v(c[n]);n++);if(n<c.length-1)break e;let r=c.length-1;for(;r>=0;r--){let e=c[r];if(e!==m&&e.expression.has_side_effects(t))break}if(n>r){let t=e-1;for(;t>=0&&v(c[t]);t--);let i=Math.max(r,t)+1,o=e;r>e?(o=r,c[r].body=c[n].body):m.body=c[n].body,c.splice(o+1,n-o),c.splice(i,e-i)}}e:if(m){let n,r=c.findIndex(e=>!v(e));if(r===c.length-1){let t=c[r];if(_(e))break e;n=My(nb,t,{body:t.body}),t.body=[]}else if(-1!==r)break e;if(!c.find(e=>e!==m&&e.expression.has_side_effects(t)))return My(nb,e,{body:s.concat(g(e.expression),m.expression?g(m.expression):[],n||[])}).optimize(t);let i=c.indexOf(m);if(c.splice(i,1),m=null,n)return My(nb,e,{body:s.concat(e,n)}).optimize(t)}if(c.length>0&&(c[0].body=s.concat(c[0].body)),0==c.length)return My(nb,e,{body:s.concat(g(e.expression))}).optimize(t);if(1==c.length&&!_(e)){let n=c[0];return My(Nb,e,{condition:My(fE,e,{operator:"===",left:e.expression,right:n.expression}),body:My(nb,n,{body:n.body}),alternative:null}).optimize(t)}if(2===c.length&&m&&!_(e)){let n=c[0]===m?c[1]:c[0],r=m.expression&&g(m.expression);if($w(c[0])){let i=c[0];return y(i.body[i.body.length-1],t)&&i.body.pop(),My(Nb,e,{condition:My(fE,e,{operator:"===",left:e.expression,right:n.expression}),body:My(nb,n,{body:n.body}),alternative:My(nb,m,{body:[].concat(r||[],m.body)})}).optimize(t)}let i="===",o=My(nb,n,{body:n.body}),a=My(nb,m,{body:[].concat(r||[],m.body)});if(c[0]===m){i="!==";let e=a;a=o,o=e}return My(nb,e,{body:[My(Nb,e,{condition:My(fE,e,{operator:i,left:e.expression,right:n.expression}),body:o,alternative:null}),a]}).optimize(t)}return e;function f(e,n){n&&!$w(n)?n.body=n.body.concat(e.body):_A(t,e,s)}function h(e,t,n){let r=e.body,i=t.body;if(n&&(r=r.concat(My(Db))),r.length!==i.length)return!1;let o=My(nb,e,{body:r}),a=My(nb,t,{body:i});return o.equivalent_to(a)}function g(e){return My(Qv,e,{body:e})}function _(e){let t=!1,n=new Ax(e=>{if(t||e instanceof _b||e instanceof Qv)return!0;if(!y(e,n))return;let r=n.parent();r instanceof Mb&&r.body[r.body.length-1]===e||(t=!0)});return e.walk(n),t}function y(t,n){return t instanceof Db&&n.loopcontrol_target(t)===e}function v(e){return!$w(e)&&!My(nb,e,{body:e.body}).has_side_effects(t)}}),xA($b,function(e,t){if(e.bcatch&&e.bfinally&&e.bfinally.body.every(hw)&&(e.bfinally=null),t.option("dead_code")&&e.body.body.every(hw)){var n=[];return e.bcatch&&_A(t,e.bcatch,n),e.bfinally&&n.push(...e.bfinally.body),My(nb,e,{body:n}).optimize(t)}return e}),qb.DEFMETHOD("to_assignments",function(e){var t=e.option("reduce_vars"),n=[];for(let e of this.definitions){if(e.value){var r=My(ex,e.name,e.name);n.push(My(gE,e,{operator:"=",logical:!1,left:r,right:e.value})),t&&(r.definition().fixed=!1)}let i=e.name.definition();i.eliminated++,i.replaced--}return 0==n.length?null:rw(this,n)}),xA(qb,function(e){return 0==e.definitions.length?My(rb,e):e}),xA(Yb,function(e,t){return e.name instanceof GE&&null!=e.value&&Iw(e.value,t)&&(e.value=null),e}),xA(eE,function(e){return e}),xA(rE,function(e,t){var n=e.expression,r=n;IA(e.args);var i=e.args.every(e=>!(e instanceof gb));t.option("reduce_vars")&&r instanceof ex&&(r=r.fixed_value());var o=r instanceof _b;if(o&&r.pinned())return e;if(t.option("unused")&&i&&o&&!r.uses_arguments){for(var a=0,s=0,c=0,l=e.args.length;c<l;c++){if(r.argnames[c]instanceof gb){if(Jx(r.argnames[c].expression,1))for(;c<l;)(m=e.args[c++].drop_side_effect_free(t))&&(e.args[a++]=m);else for(;c<l;)e.args[a++]=e.args[c++];s=a;break}var u=c>=r.argnames.length;if(u||Jx(r.argnames[c],1)){if(m=e.args[c].drop_side_effect_free(t))e.args[a++]=m;else if(!u){e.args[a++]=My(lx,e.args[c],{value:0});continue}}else e.args[a++]=e.args[c];s=a}e.args.length=s}if(n instanceof sE&&n.expression instanceof ex&&"console"===n.expression.name&&n.expression.definition().undeclared&&"assert"===n.property){let n=e.args[0];if(n){let r=n.evaluate(t);if(1===r||!0===r)return My(hx,e)}}if(t.option("unsafe")&&!n.contains_optional()){if(n instanceof sE&&"Array"===n.start.value&&"from"===n.property&&1===e.args.length){let[n]=e.args;if(n instanceof yE)return My(yE,n,{elements:n.elements}).optimize(t)}if(Rw(n))switch(n.name){case"Array":if(1!=e.args.length)return My(yE,e,{elements:e.args}).optimize(t);if(e.args[0]instanceof lx&&e.args[0].value<=11){let t=[];for(let n=0;n<e.args[0].value;n++)t.push(new gx);return new yE({elements:t})}break;case"Object":if(0==e.args.length)return My(vE,e,{properties:[]});break;case"String":if(0==e.args.length)return My(cx,e,{value:""});if(e.args.length<=1)return My(fE,e,{left:e.args[0],operator:"+",right:My(cx,e,{value:""})}).optimize(t);break;case"Number":if(0==e.args.length)return My(lx,e,{value:0});if(1==e.args.length&&t.option("unsafe_math"))return My(dE,e,{expression:e.args[0],operator:"+"}).optimize(t);break;case"Symbol":1==e.args.length&&e.args[0]instanceof cx&&t.option("unsafe_symbols")&&(e.args.length=0);break;case"Boolean":if(0==e.args.length)return My(vx,e);if(1==e.args.length)return My(dE,e,{expression:My(dE,e,{expression:e.args[0],operator:"!"}),operator:"!"}).optimize(t);break;case"RegExp":var p=[];if(e.args.length>=1&&e.args.length<=2&&e.args.every(e=>{var n=e.evaluate(t);return p.push(n),e!==n})&&Zy(p[0])){let[n,r]=p;n=Wy(new RegExp(n).source);let i=My(px,e,{value:{source:n,flags:r}});if(i._eval(t)!==i)return i}}else if(n instanceof sE)switch(n.property){case"toString":if(0==e.args.length&&!n.expression.may_throw_on_access(t))return My(fE,e,{left:My(cx,e,{value:""}),operator:"+",right:n.expression}).optimize(t);break;case"join":if(n.expression instanceof yE)e:{var d;if(!(e.args.length>0&&(d=e.args[0].evaluate(t),d===e.args[0]))){var m,f=[],h=[];for(c=0,l=n.expression.elements.length;c<l;c++){var g=n.expression.elements[c];if(g instanceof gb)break e;var _=g.evaluate(t);_===g?(h.length>0&&(f.push(My(cx,e,{value:h.join(d)})),h.length=0),f.push(g)):h.push(_)}if(h.length>0&&f.push(My(cx,e,{value:h.join(d)})),0==f.length)return My(cx,e,{value:""});if(1==f.length)return f[0].is_string(t)?f[0]:My(fE,f[0],{operator:"+",left:My(cx,e,{value:""}),right:f[0]});if(""==d){var y=f[0].is_string(t)||f[1].is_string(t)?f.shift():My(cx,e,{value:""});return f.reduce(function(e,t){return My(fE,t,{operator:"+",left:e,right:t})},y).optimize(t)}return(m=e.clone()).expression=m.expression.clone(),m.expression.expression=m.expression.expression.clone(),m.expression.expression.elements=f,sw(t,e,m)}}break;case"charAt":if(n.expression.is_string(t)){var v=e.args[0],b=v?v.evaluate(t):0;if(b!==v)return My(lE,n,{expression:n.expression,property:ow(0|b,v||n)}).optimize(t)}break;case"apply":if(2==e.args.length&&e.args[1]instanceof yE){var E=e.args[1].elements.slice();return E.unshift(e.args[0]),My(rE,e,{expression:My(sE,n,{expression:n.expression,optional:!1,property:"call"}),args:E}).optimize(t)}break;case"call":var x=n.expression;if(x instanceof ex&&(x=x.fixed_value()),x instanceof _b&&!x.contains_this())return(e.args.length?rw(this,[e.args[0],My(rE,e,{expression:n.expression,args:e.args.slice(1)})]):My(rE,e,{expression:n.expression,args:[]})).optimize(t)}}if(t.option("unsafe_Function")&&Rw(n)&&"Function"==n.name){if(0==e.args.length)return iw(e).optimize(t);if(e.args.every(e=>e instanceof cx))try{var w=jv(k="n(function("+e.args.slice(0,-1).map(function(e){return e.value}).join(",")+"){"+e.args[e.args.length-1].value+"})"),A=t.mangle_options();w.figure_out_scope(A);var T,S=new EA(t.options,{mangle_options:t._mangle_options});(w=w.transform(S)).figure_out_scope(A),w.compute_char_frequency(A),w.mangle_names(A),Ex(w,e=>{if(mw(e))return T=e,wx});var k=Mx();return nb.prototype._codegen.call(T,T,k),e.args=[My(cx,e,{value:T.argnames.map(function(e){return e.print_to_string()}).join(",")}),My(cx,e.args[e.args.length-1],{value:k.get().replace(/^{|}$/g,"")})],e}catch(e){if(!(e instanceof Pv))throw e}}return function(e,t){if(t.in_computed_key())return e;var n=e.expression,r=n,i=e.args.every(e=>!(e instanceof gb));if(t.option("reduce_vars")&&r instanceof ex&&!Yy(e,4)){let i=r.fixed_value();if(ww(i,t)||!t.toplevel.funcs&&n.definition().global)return e;r=i}if(bA(t,r)&&!Yy(e,2))return e;var o=r instanceof _b,a=o&&r.body[0],s=o&&!r.is_generator&&!r.async,c=s&&t.option("inline")&&!e.is_callee_pure(t);if(c&&a instanceof Cb){let n=a.value;if(!n||n.is_constant_expression())return n=n?n.clone(!0):My(hx,e),rw(e,e.args.concat(n)).optimize(t);if(1===r.argnames.length&&r.argnames[0]instanceof jE&&e.args.length<2&&!(e.args[0]instanceof gb)&&n instanceof ex&&n.name===r.argnames[0].name){let n,r=(e.args[0]||My(hx)).optimize(t);return r instanceof aE&&(n=t.parent())instanceof rE&&n.expression===e?rw(e,[My(lx,e,{value:0}),r]):r}}if(c){var l,u,p=-1;let o,s,c;if(i&&!r.uses_arguments&&!(t.parent()instanceof CE)&&!(r.name&&r instanceof vb)&&(s=function(e){var n=r.body,i=n.length;if(t.option("inline")<3)return 1==i&&m(e);e=null;for(var o=0;o<i;o++){var a=n[o];if(a instanceof Hb){if(e&&!a.definitions.every(e=>!e.value))return!1}else{if(e)return!1;a instanceof rb||(e=a)}}return m(e)}(a))&&(n===r||Yy(e,2)||t.option("unused")&&1==(o=n.definition()).references.length&&!xw(t,o)&&r.is_constant_expression(n.scope))&&!Yy(e,5)&&!r.contains_this()&&function(){var e=new Set;do{if((l=t.parent(++p)).is_block_scope()&&l.block_scope&&l.block_scope.variables.forEach(function(t){e.add(t.name)}),l instanceof Gb)l.argname&&e.add(l.argname.name);else if(l instanceof ab)u=[];else if(l instanceof ex&&l.fixed_value()instanceof fb)return!1}while(!(l instanceof fb));var n=!(l instanceof hb)||t.toplevel.vars,i=t.option("inline");return!(!function(e,t){for(var n=r.body.length,i=0;i<n;i++){var o=r.body[i];if(o instanceof Hb){if(!t)return!1;for(var a=o.definitions.length;--a>=0;){var s=o.definitions[a].name;if(s instanceof xb||e.has(s.name)||gw.has(s.name)||l.conflicting_def(s.name))return!1;u&&u.push(s.definition())}}}return!0}(e,i>=3&&n)||!function(e,t){for(var n=0,i=r.argnames.length;n<i;n++){var o=r.argnames[n];if(o instanceof _E){if(Jx(o.left,1))continue;return!1}if(o instanceof xb)return!1;if(o instanceof gb){if(Jx(o.expression,1))continue;return!1}if(!Jx(o,1)){if(!t||e.has(o.name)||gw.has(o.name)||l.conflicting_def(o.name))return!1;u&&u.push(o.definition())}}return!0}(e,i>=2&&n)||u&&0!=u.length&&Ew(r,u))}()&&(c=t.find_scope())&&!vA(c,r)&&!function(){let e,n=0;for(;e=t.parent(n++);){if(e instanceof _E)return!0;if(e instanceof tb)break}return!1}()&&!(l instanceof CE))return ew(r,256),c.add_child_scope(r),rw(e,function(e){var n=[],i=[];if(h(n,i),function(e,t){for(var n=t.length,i=0,o=r.body.length;i<o;i++){var a=r.body[i];if(a instanceof Hb)for(var s=0,c=a.definitions.length;s<c;s++){var l=a.definitions[s],p=l.name;if(f(e,t,p,l.value),u&&r.argnames.every(e=>e.name!=p.name)){var d=r.variables.get(p.name),m=My(ex,p,p);d.references.push(m),t.splice(n++,0,My(gE,l,{operator:"=",logical:!1,left:m,right:My(hx,p)}))}}}}(n,i),i.push(e),n.length){let e=l.body.indexOf(t.parent(p-1))+1;l.body.splice(e,0,My(Hb,r,{definitions:n}))}return i.map(e=>e.clone(!0))}(s)).optimize(t)}if(c&&Yy(e,2))return ew(r,256),(r=(r=My(r.CTOR===Eb?vb:r.CTOR,r,r)).clone(!0)).figure_out_scope({},{parent_scope:t.find_scope(),toplevel:t.get_toplevel()}),My(rE,e,{expression:r,args:e.args}).optimize(t);if(s&&t.option("side_effects")&&r.body.every(hw))return rw(e,e.args.concat(My(hx,e))).optimize(t);if(t.option("negate_iife")&&t.parent()instanceof Qv&&fw(e))return e.negate(t,!0);var d=e.evaluate(t);return d!==e?(d=ow(d,e).optimize(t),sw(t,d,e)):e;function m(t){return t?t instanceof Cb?t.value?t.value.clone(!0):My(hx,e):t instanceof Qv?My(dE,t,{operator:"void",expression:t.body.clone(!0)}):void 0:My(hx,e)}function f(t,n,r,i){var o=r.definition();l.variables.has(r.name)||(l.variables.set(r.name,o),l.enclosed.push(o),t.push(My(Yb,r,{name:r,value:null})));var a=My(ex,r,r);o.references.push(a),i&&n.push(My(gE,e,{operator:"=",logical:!1,left:a,right:i.clone()}))}function h(t,n){for(var i=r.argnames.length,o=e.args.length;--o>=i;)n.push(e.args[o]);for(o=i;--o>=0;){var a=r.argnames[o],s=e.args[o];if(Jx(a,1)||!a.name||l.conflicting_def(a.name))s&&n.push(s);else{var c=My(BE,a,a);a.definition().orig.push(c),!s&&u&&(s=My(hx,e)),f(t,n,c,s)}}t.reverse(),n.reverse()}}(e,t)}),Wv.DEFMETHOD("contains_optional",function(){return(this instanceof aE||this instanceof rE||this instanceof uE)&&(!!this.optional||this.expression.contains_optional())}),xA(iE,function(e,t){return t.option("unsafe")&&Rw(e.expression)&&["Object","RegExp","Function","Error","Array"].includes(e.expression.name)?My(rE,e,e).transform(t):e}),xA(oE,function(e,t){if(!t.option("side_effects"))return e;var n=[];!function(){var r=Px(t),i=e.expressions.length-1;e.expressions.forEach(function(e,o){o<i&&(e=e.drop_side_effect_free(t,r)),e&&(nw(n,e),r=!1)})}();var r=n.length-1;return function(){for(;r>0&&Iw(n[r],t);)r--;r<n.length-1&&(n[r]=My(dE,e,{operator:"void",expression:n[r]}),n.length=r+1)}(),0==r?((e=pw(t.parent(),t.self(),n[0]))instanceof oE||(e=e.optimize(t)),e):(e.expressions=n,e)}),pE.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")&&this.expression instanceof oE){var t=this.expression.expressions.slice(),n=this.clone();return n.expression=t.pop(),t.push(n),rw(this,t).optimize(e)}return this}),xA(mE,function(e,t){return e.lift_sequences(t)}),xA(dE,function(e,t){var n=e.expression;if("delete"==e.operator&&!(n instanceof ex||n instanceof aE||n instanceof uE||_w(n)))return rw(e,[n,My(bx,e)]).optimize(t);var r=e.lift_sequences(t);if(r!==e)return r;if(t.option("side_effects")&&"void"==e.operator)return(n=n.drop_side_effect_free(t))?(e.expression=n,e):My(hx,e).optimize(t);if(t.in_boolean_context())switch(e.operator){case"!":if(n instanceof dE&&"!"==n.operator)return n.expression;n instanceof fE&&(e=sw(t,e,n.negate(t,Px(t))));break;case"typeof":return(n instanceof ex?My(bx,e):rw(e,[n,My(bx,e)])).optimize(t)}if("-"==e.operator&&n instanceof _x&&(n=n.transform(t)),n instanceof fE&&("+"==e.operator||"-"==e.operator)&&("*"==n.operator||"/"==n.operator||"%"==n.operator))return My(fE,e,{operator:n.operator,left:My(dE,n.left,{operator:e.operator,expression:n.left}),right:n.right});if(t.option("evaluate")){if("~"===e.operator&&e.expression instanceof dE&&"~"===e.expression.operator&&(t.in_32_bit_context(!1)||e.expression.expression.is_32_bit_integer(t)))return e.expression.expression;if("~"===e.operator&&n instanceof fE&&"^"===n.operator)return n.left instanceof dE&&"~"===n.left.operator?n.left=n.left.bitwise_negate(t,!0):n.right=n.right.bitwise_negate(t,!0),n}if("-"!=e.operator||!(n instanceof lx||n instanceof _x||n instanceof ux)){var i=e.evaluate(t);if(i!==e)return sw(t,i=ow(i,e).optimize(t),e)}return e}),fE.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.left instanceof oE){var t=this.left.expressions.slice();return(o=this.clone()).left=t.pop(),t.push(o),rw(this,t).optimize(e)}if(this.right instanceof oE&&!this.left.has_side_effects(e)){for(var n="="==this.operator&&this.left instanceof ex,r=(t=this.right.expressions).length-1,i=0;i<r&&(n||!t[i].has_side_effects(e));i++);var o;if(i==r)return t=t.slice(),(o=this.clone()).right=t.pop(),t.push(o),rw(this,t).optimize(e);if(i>0)return(o=this.clone()).right=rw(this.right,t.slice(i)),(t=t.slice(0,i)).push(o),rw(this,t).optimize(e)}}return this});var CA=Gy("== === != !== * & | ^");function OA(e,t){return e instanceof ex||e.TYPE===t.TYPE}xA(fE,function(e,t){function n(){return e.left.is_constant()||e.right.is_constant()||!e.left.has_side_effects(t)&&!e.right.has_side_effects(t)}function r(t){if(n()){t&&(e.operator=t);var r=e.left;e.left=e.right,e.right=r}}if(t.option("lhs_constants")&&CA.has(e.operator)&&e.right.is_constant()&&!e.left.is_constant()&&(e.left instanceof fE&&zv[e.left.operator]>=zv[e.operator]||r()),e=e.lift_sequences(t),t.option("comparisons"))switch(e.operator){case"===":case"!==":var i=!0;(e.left.is_string(t)&&e.right.is_string(t)||e.left.is_number(t)&&e.right.is_number(t)||e.left.is_bigint(t)&&e.right.is_bigint(t)||e.left.is_boolean()&&e.right.is_boolean()||e.left.equivalent_to(e.right))&&(e.operator=e.operator.substr(0,2));case"==":case"!=":if(!i&&Iw(e.left,t))e.left=My(mx,e.left);else if(!i&&Iw(e.right,t))e.right=My(mx,e.right);else if(t.option("typeofs")&&e.left instanceof cx&&"undefined"==e.left.value&&e.right instanceof dE&&"typeof"==e.right.operator)((o=e.right.expression)instanceof ex?o.is_declared(t):!(o instanceof aE&&t.option("ie8")))&&(e.right=o,e.left=My(hx,e.left).optimize(t),2==e.operator.length&&(e.operator+="="));else if(t.option("typeofs")&&e.left instanceof dE&&"typeof"==e.left.operator&&e.right instanceof cx&&"undefined"==e.right.value){var o;((o=e.left.expression)instanceof ex?o.is_declared(t):!(o instanceof aE&&t.option("ie8")))&&(e.left=o,e.right=My(hx,e.right).optimize(t),2==e.operator.length&&(e.operator+="="))}else{if(e.left instanceof ex&&e.right instanceof ex&&e.left.definition()===e.right.definition()&&function(e){return e instanceof yE||e instanceof _b||e instanceof vE||e instanceof CE}(e.left.fixed_value()))return My("="==e.operator[0]?bx:vx,e);if(e.left.is_32_bit_integer(t)&&e.right.is_32_bit_integer(t)){let n,r,i,o=e=>My(dE,e,{operator:"!",expression:e}),a=(e,n)=>n?t.in_boolean_context()?e:o(o(e)):o(e);if(e.left instanceof lx&&0===e.left.value)return a(e.right,"!"===e.operator[0]);if(e.right instanceof lx&&0===e.right.value)return a(e.left,"!"===e.operator[0]);if((n=e.left instanceof fE?e.left:e.right instanceof fE?e.right:null)&&(i=n===e.left?e.right:e.left)&&"&"===n.operator&&i instanceof lx&&i.is_32_bit_integer(t)&&(r=n.left.equivalent_to(i)?n.right:n.right.equivalent_to(i)?n.left:null))return sw(t,a(My(fE,e,{operator:"&",left:i,right:My(dE,e,{operator:"~",expression:r})}),"!"===e.operator[0]),e)}}break;case"&&":case"||":var a=e.left;if(a.operator==e.operator&&(a=a.right),a instanceof fE&&a.operator==("&&"==e.operator?"!==":"===")&&e.right instanceof fE&&a.operator==e.right.operator&&(Iw(a.left,t)&&e.right.left instanceof mx||a.left instanceof mx&&Iw(e.right.left,t))&&!a.right.has_side_effects(t)&&a.right.equivalent_to(e.right.right)){var s=My(fE,e,{operator:a.operator.slice(0,-1),left:My(mx,e),right:a.right});return a!==e.left&&(s=My(fE,e,{operator:e.operator,left:e.left.left,right:s})),s}}if("+"==e.operator&&t.in_boolean_context()){var c=e.left.evaluate(t),l=e.right.evaluate(t);if(c&&"string"==typeof c)return rw(e,[e.right,My(bx,e)]).optimize(t);if(l&&"string"==typeof l)return rw(e,[e.left,My(bx,e)]).optimize(t)}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof fE)||t.parent()instanceof gE){var u=My(dE,e,{operator:"!",expression:e.negate(t,Px(t))});e=sw(t,e,u)}if(t.option("unsafe_comps"))switch(e.operator){case"<":r(">");break;case"<=":r(">=")}}if("+"==e.operator){if(e.right instanceof cx&&""==e.right.getValue()&&e.left.is_string(t))return e.left;if(e.left instanceof cx&&""==e.left.getValue()&&e.right.is_string(t))return e.right;if(e.left instanceof fE&&"+"==e.left.operator&&e.left.left instanceof cx&&""==e.left.left.getValue()&&e.right.is_string(t))return e.left=e.left.right,e}if(t.option("evaluate")){switch(e.operator){case"&&":if(!(c=!!Jx(e.left,2)||!Jx(e.left,4)&&e.left.evaluate(t)))return pw(t.parent(),t.self(),e.left).optimize(t);if(!(c instanceof Wv))return rw(e,[e.left,e.right]).optimize(t);if(l=e.right.evaluate(t)){if(!(l instanceof Wv)&&("&&"==(p=t.parent()).operator&&p.left===t.self()||t.in_boolean_context()))return e.left.optimize(t)}else{if(t.in_boolean_context())return rw(e,[e.left,My(vx,e)]).optimize(t);ew(e,4)}if("||"==e.left.operator&&!(d=e.left.right.evaluate(t)))return My(hE,e,{condition:e.left.left,consequent:e.right,alternative:e.left.right}).optimize(t);break;case"||":var p,d;if(!(c=!!Jx(e.left,2)||!Jx(e.left,4)&&e.left.evaluate(t)))return rw(e,[e.left,e.right]).optimize(t);if(!(c instanceof Wv))return pw(t.parent(),t.self(),e.left).optimize(t);if(l=e.right.evaluate(t)){if(!(l instanceof Wv)){if(t.in_boolean_context())return rw(e,[e.left,My(bx,e)]).optimize(t);ew(e,2)}}else if("||"==(p=t.parent()).operator&&p.left===t.self()||t.in_boolean_context())return e.left.optimize(t);if("&&"==e.left.operator&&(d=e.left.right.evaluate(t))&&!(d instanceof Wv))return My(hE,e,{condition:e.left.left,consequent:e.left.right,alternative:e.right}).optimize(t);break;case"??":if(Mw(e.left,t))return e.right;if(!((c=e.left.evaluate(t))instanceof Wv))return null==c?e.right:e.left;if(t.in_boolean_context()){let n=e.right.evaluate(t);if(!(n instanceof Wv||n))return e.left}}var m=!0;switch(e.operator){case"+":if(e.right instanceof sx&&e.left instanceof fE&&"+"==e.left.operator&&e.left.is_string(t)){var f=(h=My(fE,e,{operator:"+",left:e.left.right,right:e.right})).optimize(t);h!==f&&(e=My(fE,e,{operator:"+",left:e.left.left,right:f}))}if(e.left instanceof fE&&"+"==e.left.operator&&e.left.is_string(t)&&e.right instanceof fE&&"+"==e.right.operator&&e.right.is_string(t)){var h,g=(h=My(fE,e,{operator:"+",left:e.left.right,right:e.right.left})).optimize(t);h!==g&&(e=My(fE,e,{operator:"+",left:My(fE,e.left,{operator:"+",left:e.left.left,right:g}),right:e.right.right}))}if(e.right instanceof dE&&"-"==e.right.operator&&e.left.is_number_or_bigint(t)){e=My(fE,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof dE&&"-"==e.left.operator&&n()&&e.right.is_number_or_bigint(t)){e=My(fE,e,{operator:"-",left:e.right,right:e.left.expression});break}if(e.left instanceof Ab){var _=e.left;if((f=e.right.evaluate(t))!=e.right)return _.segments[_.segments.length-1].value+=String(f),_}if(e.right instanceof Ab&&(f=e.right,(_=e.left.evaluate(t))!=e.left))return f.segments[0].value=String(_)+f.segments[0].value,f;if(e.left instanceof Ab&&e.right instanceof Ab){var y=(_=e.left).segments;f=e.right,y[y.length-1].value+=f.segments[0].value;for(var v=1;v<f.segments.length;v++)y.push(f.segments[v]);return _}case"*":m=t.option("unsafe_math");case"&":case"|":case"^":if(e.left.is_number_or_bigint(t)&&e.right.is_number_or_bigint(t)&&n()&&!(e.left instanceof fE&&e.left.operator!=e.operator&&zv[e.left.operator]>=zv[e.operator])){var b=My(fE,e,{operator:e.operator,left:e.right,right:e.left});e=e.right instanceof sx&&!(e.left instanceof sx)?sw(t,b,e):sw(t,e,b)}m&&e.is_number_or_bigint(t)&&(e.right instanceof fE&&e.right.operator==e.operator&&(e=My(fE,e,{operator:e.operator,left:My(fE,e.left,{operator:e.operator,left:e.left,right:e.right.left,start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof sx&&e.left instanceof fE&&e.left.operator==e.operator&&(e.left.left instanceof sx?e=My(fE,e,{operator:e.operator,left:My(fE,e.left,{operator:e.operator,left:e.left.left,right:e.right,start:e.left.left.start,end:e.right.end}),right:e.left.right}):e.left.right instanceof sx&&(e=My(fE,e,{operator:e.operator,left:My(fE,e.left,{operator:e.operator,left:e.left.right,right:e.right,start:e.left.right.start,end:e.right.end}),right:e.left.left}))),e.left instanceof fE&&e.left.operator==e.operator&&e.left.right instanceof sx&&e.right instanceof fE&&e.right.operator==e.operator&&e.right.left instanceof sx&&(e=My(fE,e,{operator:e.operator,left:My(fE,e.left,{operator:e.operator,left:My(fE,e.left.left,{operator:e.operator,left:e.left.right,right:e.right.left,start:e.left.right.start,end:e.right.left.end}),right:e.left.left}),right:e.right.right})))}if(Dw.has(e.operator)){let n,r,i,o,a=e.left;if("&"===e.operator&&e.right instanceof fE&&"|"===e.right.operator&&"number"==typeof(r=e.left.evaluate(t))&&("number"==typeof(n=e.right.right.evaluate(t))?(i=e.right.left,o=e.right.right):"number"==typeof(n=e.right.left.evaluate(t))&&(i=e.right.right,o=e.right.left),i&&o))if(0===(n&r))e=My(fE,e,{operator:e.operator,left:a,right:i});else{let s=My(fE,e,{operator:"|",left:My(fE,e,{operator:"&",left:i,right:a}),right:ow(n&r,o)});e=sw(t,e,s)}("|"===e.operator||"&"===e.operator)&&e.left.equivalent_to(e.right)&&!e.left.has_side_effects(t)&&t.in_32_bit_context(!0)&&(e.left=My(lx,e,{value:0}),e.operator="|"),"^"===e.operator&&e.left instanceof dE&&"~"===e.left.operator&&e.right instanceof dE&&"~"===e.right.operator&&(e=My(fE,e,{operator:"^",left:e.left.expression,right:e.right.expression})),("<<"===e.operator||">>"===e.operator)&&e.right instanceof lx&&0===e.right.value&&(e.operator="|");let s=e.right instanceof lx&&0===e.right.value?e.right:e.left instanceof lx&&0===e.left.value?e.left:null,c=s&&(s===e.right?e.left:e.right);if(s&&("|"===e.operator||"^"===e.operator)&&(c.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return c;if(s&&"&"===e.operator&&!c.has_side_effects(t)&&c.is_32_bit_integer(t))return s;let l=e=>e instanceof lx&&-1===e.value||e instanceof dE&&"-"===e.operator&&e.expression instanceof lx&&1===e.expression.value,u=l(e.right)?e.right:l(e.left)?e.left:null,p=u===e.right?e.left:e.right;if(u&&"&"===e.operator&&(p.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return p;if(u&&"^"===e.operator&&(p.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return p.bitwise_negate(t)}}if(e.right instanceof fE&&e.right.operator==e.operator&&(Pw.has(e.operator)||"+"==e.operator&&(e.right.left.is_string(t)||e.left.is_string(t)&&e.right.right.is_string(t))))return e.left=My(fE,e.left,{operator:e.operator,left:e.left.transform(t),right:e.right.left.transform(t)}),e.right=e.right.right.transform(t),e.transform(t);var E=e.evaluate(t);return E===e?e:(E=ow(E,e).optimize(t),sw(t,E,e))}),xA(tx,function(e){return e}),xA(ex,function(e,t){if(!t.option("ie8")&&Rw(e)&&!t.find_parent(mb))switch(e.name){case"undefined":return My(hx,e).optimize(t);case"NaN":return My(fx,e).optimize(t);case"Infinity":return My(_x,e).optimize(t)}return t.option("reduce_vars")&&!t.is_lhs()?function(e,t){if(t.in_computed_key())return e;let n=t.parent(),r=e.definition(),i=t.find_scope(),o=e.fixed_value();if(t.top_retain&&r.global&&t.top_retain(r)&&function(e,t){return 1!==e.orig.length||!t||t.size()>e.name.length}(r,o))return r.fixed=!1,r.single_use=!1,e;if(bA(t,o))return e;let a=r.single_use&&!(n instanceof rE&&n.is_callee_pure(t)||Yy(n,4))&&!(n instanceof nE&&o instanceof _b&&o.name);if(a&&o instanceof Wv&&(a=!o.has_side_effects(t)&&!o.may_throw(t)),o instanceof CE&&r.scope!==e.scope)return e;if(a&&(o instanceof _b||o instanceof CE))if(ww(o,t))a=!1;else if(r.scope===e.scope||1!=r.escaped&&!Jx(o,16)&&!function(e){for(var t,n=0;t=e.parent(n++);){if(t instanceof Xv)return!1;if(t instanceof yE||t instanceof EE||t instanceof vE)return!0}return!1}(t)&&t.option("reduce_funcs")){if(xw(t,r))a=!1;else if((r.scope!==e.scope||r.orig[0]instanceof jE)&&(a=o.is_constant_expression(e.scope),"f"==a)){var s=e.scope;do{(s instanceof Eb||mw(s))&&ew(s,16)}while(s=s.parent_scope)}}else a=!1;if(a&&(o instanceof _b||o instanceof CE)&&(a=r.scope===e.scope&&!vA(i,o)||n instanceof rE&&n.expression===e&&!vA(i,o)&&!(o.name&&o.name.definition().recursive_refs>0)),a&&o){if(o instanceof PE&&(ew(o,256),o=My(IE,o,o)),o instanceof Eb&&(ew(o,256),o=My(vb,o,o)),r.recursive_refs>0&&o.name instanceof VE){let e=o.name.definition(),t=o.variables.get(o.name.name),n=t&&t.orig[0];n instanceof KE||(n=My(KE,o.name,o.name),n.scope=o,o.name=n,t=o.def_function(n)),Ex(o,n=>{n instanceof ex&&n.definition()===e&&(n.thedef=t,t.references.push(n))})}return(o instanceof _b||o instanceof CE)&&o.parent_scope!==i&&(o=o.clone(!0,t.get_toplevel()),i.add_child_scope(o)),o.optimize(t)}if(o){let n;if(o instanceof ox)!(r.orig[0]instanceof jE)&&r.references.every(e=>r.scope===e.scope)&&(n=o);else{var c=o.evaluate(t);c!==o&&(t.option("unsafe_regexp")||!(c instanceof RegExp))&&(n=ow(c,o))}if(n){let i=e.size(t),a=n.size(t),s=0;if(t.option("unused")&&!t.exposed(r)&&(s=(i+2+o.size(t))/(r.references.length-r.assignments)),a<=i+s)return n}}return e}(e,t):e}),xA(hx,function(e,t){if(t.option("unsafe_undefined")){var n=wA(t,"undefined");if(n){var r=My(ex,e,{name:"undefined",scope:n.scope,thedef:n});return ew(r,8),r}}var i=t.is_lhs();return i&&OA(i,e)?e:My(dE,e,{operator:"void",expression:My(lx,e,{value:0})})}),xA(_x,function(e,t){var n=t.is_lhs();return n&&OA(n,e)||t.option("keep_infinity")&&(!n||OA(n,e))&&!wA(t,"Infinity")?e:My(fE,e,{operator:"/",left:My(lx,e,{value:1}),right:My(lx,e,{value:0})})}),xA(fx,function(e,t){var n=t.is_lhs();return n&&!OA(n,e)||wA(t,"NaN")?My(fE,e,{operator:"/",left:My(lx,e,{value:0}),right:My(lx,e,{value:0})}):e});const RA=Gy("+ - / * % >> << >>> | ^ &"),DA=Gy("* | ^ &");function PA(e,t){return e instanceof ex&&(e=e.fixed_value()),!!e&&(!(e instanceof _b||e instanceof CE)||!(e instanceof _b&&e.contains_this())||t.parent()instanceof iE)}function FA(e,t){return t.in_boolean_context()?sw(t,e,rw(e,[e,My(bx,e)]).optimize(t)):e}function IA(e){for(var t=0;t<e.length;t++){var n=e[t];if(n instanceof gb){var r=n.expression;r instanceof yE&&!r.elements.some(e=>e instanceof gx)&&(e.splice(t,1,...r.elements),t--)}}}function NA(e,t){if(!(t.option("computed_props")&&e.key instanceof sx))return e;if(e.key instanceof cx||e.key instanceof lx){let n=e.key.value.toString();if("__proto__"===n||"constructor"==n&&t.parent()instanceof CE)return e;e instanceof EE?(e.quote=e.key.quote,e.key=n):e instanceof OE?(e.quote=e.key.quote,e.key=My(HE,e.key,{name:n})):(e.quote=e.key.quote,e.key=My(qE,e.key,{name:n}))}return e}xA(gE,function(e,t){if(e.logical)return e.lift_sequences(t);var n;if("="===e.operator&&e.left instanceof ex&&"arguments"!==e.left.name&&!(n=e.left.definition()).undeclared&&e.right.equivalent_to(e.left))return e.right;if(t.option("dead_code")&&e.left instanceof ex&&(n=e.left.definition()).scope===t.find_parent(_b)){var r,i=0,o=e;do{if(r=o,(o=t.parent(i++))instanceof kb){if(a(i,o)||Ew(n.scope,[n]))break;return"="==e.operator?e.right:(n.fixed=!1,My(fE,e,{operator:e.operator.slice(0,-1),left:e.left,right:e.right}).optimize(t))}}while(o instanceof fE&&o.right===r||o instanceof oE&&o.tail_node()===r)}return"="==(e=e.lift_sequences(t)).operator&&e.left instanceof ex&&e.right instanceof fE&&(e.right.left instanceof ex&&e.right.left.name==e.left.name&&RA.has(e.right.operator)?(e.operator=e.right.operator+"=",e.right=e.right.right):e.right.right instanceof ex&&e.right.right.name==e.left.name&&DA.has(e.right.operator)&&!e.right.left.has_side_effects(t)&&(e.operator=e.right.operator+"=",e.right=e.right.left)),e;function a(n,r){function i(){let n=e.right;e.right=My(mx,n);let i=r.may_throw(t);return e.right=n,i}for(var o,a=e.left.definition().scope.get_defun_scope();(o=t.parent(n++))!==a;)if(o instanceof $b&&(o.bfinally||o.bcatch&&i()))return!0}}),xA(_E,function(e,t){if(!t.option("evaluate"))return e;var n=e.right.evaluate(t);let r,i;return void 0===n?(!((r=t.parent())instanceof _b)||!1===t.option("keep_fargs")||"Call"===(i=t.parent(1)).TYPE&&i.expression===r)&&(e=e.left):n!==e.right&&(n=ow(n,e.right),e.right=aw(n,e.right)),e}),xA(hE,function(e,t){if(!t.option("conditionals"))return e;if(e.condition instanceof oE){var n=e.condition.expressions.slice();return e.condition=n.pop(),n.push(e),rw(e,n)}var r=e.condition.evaluate(t);if(r!==e.condition)return pw(t.parent(),t.self(),r?e.consequent:e.alternative);var i=r.negate(t,Px(t));sw(t,r,i)===i&&(e=My(hE,e,{condition:i,consequent:e.alternative,alternative:e.consequent}));var o,a=e.condition,s=e.consequent,c=e.alternative;if(a instanceof ex&&s instanceof ex&&a.definition()===s.definition())return My(fE,e,{operator:"||",left:a,right:c});if(s instanceof gE&&c instanceof gE&&s.operator===c.operator&&s.logical===c.logical&&s.left.equivalent_to(c.left)&&(!e.condition.has_side_effects(t)||"="==s.operator&&!s.left.has_side_effects(t)))return My(gE,e,{operator:s.operator,left:s.left,logical:s.logical,right:My(hE,e,{condition:e.condition,consequent:s.right,alternative:c.right})});if(s instanceof rE&&c.TYPE===s.TYPE&&s.args.length>0&&s.args.length==c.args.length&&s.expression.equivalent_to(c.expression)&&!e.condition.has_side_effects(t)&&!s.expression.has_side_effects(t)&&"number"==typeof(o=function(){for(var e=s.args,t=c.args,n=0,r=e.length;n<r;n++){if(e[n]instanceof gb)return;if(!e[n].equivalent_to(t[n])){if(t[n]instanceof gb)return;for(var i=n+1;i<r;i++)if(e[i]instanceof gb||!e[i].equivalent_to(t[i]))return;return n}}}())){var l=s.clone();return l.args[o]=My(hE,e,{condition:e.condition,consequent:s.args[o],alternative:c.args[o]}),l}if(c instanceof hE&&s.equivalent_to(c.consequent))return My(hE,e,{condition:My(fE,e,{operator:"||",left:a,right:c.condition}),consequent:s,alternative:c.alternative}).optimize(t);if(t.option("ecma")>=2020&&function(e,t,n){if(t.may_throw(n))return!1;let r;if(e instanceof fE&&"=="===e.operator&&((r=Mw(e.left,n)&&e.left)||(r=Mw(e.right,n)&&e.right))&&(r===e.left?e.right:e.left).equivalent_to(t))return!0;if(e instanceof fE&&"||"===e.operator){let r,i,o=e=>{if(!(e instanceof fE)||"==="!==e.operator&&"=="!==e.operator)return!1;let o,a=0;return e.left instanceof mx&&(a++,r=e,o=e.right),e.right instanceof mx&&(a++,r=e,o=e.left),Iw(e.left,n)&&(a++,i=e,o=e.right),Iw(e.right,n)&&(a++,i=e,o=e.left),!(1!==a||!o.equivalent_to(t))};if(!o(e.left)||!o(e.right))return!1;if(r&&i&&r!==i)return!0}return!1}(a,c,t))return My(fE,e,{operator:"??",left:c,right:s}).optimize(t);if(c instanceof oE&&s.equivalent_to(c.expressions[c.expressions.length-1]))return rw(e,[My(fE,e,{operator:"||",left:a,right:rw(e,c.expressions.slice(0,-1))}),s]).optimize(t);if(c instanceof fE&&"&&"==c.operator&&s.equivalent_to(c.right))return My(fE,e,{operator:"&&",left:My(fE,e,{operator:"||",left:a,right:c.left}),right:s}).optimize(t);if(s instanceof hE&&s.alternative.equivalent_to(c))return My(hE,e,{condition:My(fE,e,{left:e.condition,operator:"&&",right:s.condition}),consequent:s.consequent,alternative:c});if(s.equivalent_to(c))return rw(e,[e.condition,s]).optimize(t);if(s instanceof fE&&"||"==s.operator&&s.right.equivalent_to(c))return My(fE,e,{operator:"||",left:My(fE,e,{operator:"&&",left:e.condition,right:s.left}),right:c}).optimize(t);let u=t.in_boolean_context();return d(e.consequent)?m(e.alternative)?p(e.condition):My(fE,e,{operator:"||",left:p(e.condition),right:e.alternative}):m(e.consequent)?d(e.alternative)?p(e.condition.negate(t)):My(fE,e,{operator:"&&",left:p(e.condition.negate(t)),right:e.alternative}):d(e.alternative)?My(fE,e,{operator:"||",left:p(e.condition.negate(t)),right:e.consequent}):m(e.alternative)?My(fE,e,{operator:"&&",left:p(e.condition),right:e.consequent}):e;function p(e){return e.is_boolean()?e:My(dE,e,{operator:"!",expression:e.negate(t)})}function d(e){return e instanceof bx||u&&e instanceof sx&&e.getValue()||e instanceof dE&&"!"==e.operator&&e.expression instanceof sx&&!e.expression.getValue()}function m(e){return e instanceof vx||u&&e instanceof sx&&!e.getValue()||e instanceof dE&&"!"==e.operator&&e.expression instanceof sx&&e.expression.getValue()}}),xA(yx,function(e,t){if(t.in_boolean_context())return My(lx,e,{value:+e.value});var n=t.parent();return t.option("booleans_as_integers")?(n instanceof fE&&("==="==n.operator||"!=="==n.operator)&&(n.operator=n.operator.replace(/=$/,"")),My(lx,e,{value:+e.value})):t.option("booleans")?n instanceof fE&&("=="==n.operator||"!="==n.operator)?My(lx,e,{value:+e.value}):My(dE,e,{operator:"!",expression:My(lx,e,{value:1-e.value})}):e}),aE.DEFMETHOD("flatten_object",function(e,t){if(t.option("properties")&&"__proto__"!==e&&!(this instanceof cE)){var n=t.option("unsafe_arrows")&&t.option("ecma")>=2015,r=this.expression;if(r instanceof vE)for(var i=r.properties,o=i.length;--o>=0;){var a=i[o];if(""+(a instanceof SE?a.key.name:a.key)==e)return i.every(e=>(e instanceof EE||n&&e instanceof SE&&!e.value.is_generator)&&!e.computed_key())&&PA(a.value,t)?My(lE,this,{expression:My(yE,r,{elements:i.map(function(e){var t=e.value;t instanceof yb&&(t=My(vb,t,t));var n=e.key;return n instanceof Wv&&!(n instanceof qE)?rw(e,[n,t]):t})}),property:My(lx,this,{value:o})}):void 0}}}),xA(lE,function(e,t){var n,r=e.expression,i=e.property;if(t.option("properties")){var o=i.evaluate(t);if(o!==i){"string"==typeof o&&("undefined"==o?o=void 0:(E=parseFloat(o)).toString()==o&&(o=E)),i=e.property=aw(i,ow(o,i).transform(t));var a=""+o;if(Ov(a)&&a.length<=i.size()+1)return My(sE,e,{expression:r,optional:e.optional,property:a,quote:i.quote}).optimize(t)}}e:if(t.option("arguments")&&r instanceof ex&&"arguments"==r.name&&1==r.definition().orig.length&&(n=r.scope)instanceof _b&&n.uses_arguments&&!(n instanceof bb)&&i instanceof lx){for(var s=i.getValue(),c=new Set,l=n.argnames,u=0;u<l.length;u++){if(!(l[u]instanceof jE))break e;var p=l[u].name;if(c.has(p))break e;c.add(p)}var d=n.argnames[s];if(d&&t.has_directive("use strict")){var m=d.definition();(!t.option("reduce_vars")||m.assignments||m.orig.length>1)&&(d=null)}else if(!d&&!t.option("keep_fargs")&&s<n.argnames.length+5)for(;s>=n.argnames.length;)d=n.create_symbol(jE,{source:n,scope:n,tentative_name:"argument_"+n.argnames.length}),n.argnames.push(d);if(d){var f=My(ex,e,d);return f.reference({}),tw(d,1),f}}if(t.is_lhs())return e;if(o!==i){var h=e.flatten_object(a,t);h&&(r=e.expression=h.expression,i=e.property=h.property)}if(t.option("properties")&&t.option("side_effects")&&i instanceof lx&&r instanceof yE){s=i.getValue();var g=r.elements,_=g[s];e:if(PA(_,t)){for(var y=!0,v=[],b=g.length;--b>s;)(E=g[b].drop_side_effect_free(t))&&(v.unshift(E),y&&E.has_side_effects(t)&&(y=!1));if(_ instanceof gb)break e;for(_=_ instanceof gx?My(hx,_):_,y||v.unshift(_);--b>=0;){var E;if((E=g[b])instanceof gb)break e;(E=E.drop_side_effect_free(t))?v.unshift(E):s--}return y?(v.push(_),rw(e,v).optimize(t)):My(lE,e,{expression:My(yE,r,{elements:v}),property:My(lx,i,{value:s})})}}var x=e.evaluate(t);return x===e?e:sw(t,x=ow(x,e).optimize(t),e)}),xA(uE,function(e,t){if(Mw(e.expression,t)){let n=t.parent();return n instanceof dE&&"delete"===n.operator?ow(0,e):My(hx,e)}return e.expression instanceof aE||e.expression instanceof rE?e:e.expression}),xA(sE,function(e,t){let n=t.parent();if(t.is_lhs())return e;if(t.option("unsafe_proto")&&e.expression instanceof sE&&"prototype"==e.expression.property){var r=e.expression.expression;if(Rw(r))switch(r.name){case"Array":e.expression=My(yE,e.expression,{elements:[]});break;case"Function":e.expression=iw(e.expression);break;case"Number":e.expression=My(lx,e.expression,{value:0});break;case"Object":e.expression=My(vE,e.expression,{properties:[]});break;case"RegExp":e.expression=My(px,e.expression,{value:{source:"t",flags:""}});break;case"String":e.expression=My(cx,e.expression,{value:""})}}if(!(n instanceof rE&&Yy(n,4))){let n=e.flatten_object(e.property,t);if(n)return n.optimize(t)}if(e.expression instanceof aE&&n instanceof aE)return e;let i=e.evaluate(t);return i===e?e:(i=ow(i,e).optimize(t),sw(t,i,e))}),xA(yE,function(e,t){var n=FA(e,t);return n===e?(IA(e.elements),e):n}),xA(vE,function(e,t){var n=FA(e,t);return n===e?(function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n instanceof gb){let r=n.expression;r instanceof vE&&r.properties.every(e=>e instanceof EE)?(e.splice(t,1,...r.properties),t--):(r instanceof sx||r.is_constant())&&!(r instanceof cx)&&(e.splice(t,1),t--)}}}(e.properties),e):n}),xA(px,FA),xA(Cb,function(e,t){return e.value&&Iw(e.value,t)&&(e.value=null),e}),xA(bb,SA),xA(vb,function(e,t){return e=SA(e,t),!(t.option("unsafe_arrows")&&t.option("ecma")>=2015)||e.name||e.is_generator||e.uses_arguments||e.pinned()||Ex(e,e=>{if(e instanceof ox)return wx})?e:My(bb,e,e).optimize(t)}),xA(CE,function(e){for(let t=0;t<e.properties.length;t++){let n=e.properties[t];n instanceof FE&&0==n.body.length&&(e.properties.splice(t,1),t--)}return e}),xA(FE,function(e,t){return yA(e.body,t),e}),xA(Ib,function(e,t){return e.expression&&!e.is_star&&Iw(e.expression,t)&&(e.expression=null),e}),xA(Ab,function(e,t){if(!t.option("evaluate")||t.parent()instanceof wb)return e;for(var n=[],r=0;r<e.segments.length;r++){var i=e.segments[r];if(i instanceof Wv){var o=i.evaluate(t);if(o!==i&&(o+"").length<=i.size()+3){n[n.length-1].value=n[n.length-1].value+o+e.segments[++r].value;continue}if(i instanceof Ab){var a=i.segments;n[n.length-1].value+=a[0].value;for(var s=1;s<a.length;s++)i=a[s],n.push(i);continue}}n.push(i)}if(e.segments=n,1==n.length)return My(cx,e,n[0]);if(3===n.length&&n[1]instanceof Wv&&(n[1].is_string(t)||n[1].is_number_or_bigint(t)||Mw(n[1],t)||t.option("unsafe"))){if(""===n[2].value)return My(fE,e,{operator:"+",left:My(cx,e,{value:n[0].value}),right:n[1]});if(""===n[0].value)return My(fE,e,{operator:"+",left:n[1],right:My(cx,e,{value:n[2].value})})}return e}),xA(wb,function(e){return e}),xA(bE,NA),xA(SE,function(e,t){if(NA(e,t),t.option("arrows")&&t.parent()instanceof vE&&!e.value.is_generator&&!e.value.uses_arguments&&!e.value.pinned()&&1==e.value.body.length&&e.value.body[0]instanceof Cb&&e.value.body[0].value&&!e.value.contains_this()){var n=My(bb,e.value,e.value);return n.async=e.value.async,n.is_generator=e.value.is_generator,My(EE,e,{key:e.key instanceof qE?e.key.name:e.key,value:n,quote:e.quote})}return e}),xA(EE,function(e,t){NA(e,t);var n=t.option("unsafe_methods");if(n&&t.option("ecma")>=2015&&(!(n instanceof RegExp)||n.test(e.key+""))){var r=e.key,i=e.value;if((i instanceof bb&&Array.isArray(i.body)&&!i.contains_this()||i instanceof vb)&&!i.name)return My(SE,e,{key:r instanceof Wv?r:My(qE,e,{name:r}),value:My(yb,i,i),quote:e.quote})}return e}),xA(xb,function(e,t){if(1==t.option("pure_getters")&&t.option("unused")&&!e.is_array&&Array.isArray(e.names)&&!function(e){for(var t=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],n=0,r=0,i=t.length;n<i;r++){var o=e.parent(r);if(!o)return!1;if(0!==n||"Destructuring"!=o.TYPE){if(!t[n].test(o.TYPE))return!1;n++}}return!0}(t)&&!(e.names[e.names.length-1]instanceof gb)){for(var n=[],r=0;r<e.names.length;r++){var i=e.names[r];i instanceof EE&&"string"==typeof i.key&&i.value instanceof ME&&!o(t,i.value.definition())||n.push(i)}n.length!=e.names.length&&(e.names=n)}return e;function o(e,t){return!!t.references.length||!!t.global&&(!e.toplevel.vars||!!e.top_retain&&e.top_retain(t))}});var LA=new Uint8Array(64),MA=new Uint8Array(128);for(let e=0;e<64;e++){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e);LA[e]=t,MA[t]=e}function BA(e,t){let n=0,r=0,i=0;do{i=MA[e.next()],n|=(31&i)<<r,r+=5}while(32&i);let o=1&n;return n>>>=1,o&&(n=-2147483648|-n),t+n}function UA(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=31&r;r>>>=5,r>0&&(t|=32),e.write(LA[t])}while(r>0);return t}function $A(e,t){return!(e.pos>=t)&&44!==e.peek()}var zA=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},GA=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}write(e){let{buffer:t}=this;t[this.pos++]=e,16384===this.pos&&(this.out+=zA.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+zA.decode(e.subarray(0,n)):t}},jA=class{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){let{buffer:t,pos:n}=this,r=t.indexOf(e,n);return-1===r?t.length:r}};function VA(e){e.sort(qA)}function qA(e,t){return e[0]-t[0]}function HA(e){let t=new GA,n=0,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(a>0&&t.write(59),0===s.length)continue;let c=0;for(let e=0;e<s.length;e++){let a=s[e];e>0&&t.write(44),c=UA(t,a[0],c),1!==a.length&&(n=UA(t,a[1],n),r=UA(t,a[2],r),i=UA(t,a[3],i),4!==a.length&&(o=UA(t,a[4],o)))}}return t.flush()}const KA=/^[\w+.-]+:\/\//,WA=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,XA=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function ZA(e){return e.startsWith("/")}function YA(e){return/^[.?#]/.test(e)}function QA(e){let t=WA.exec(e);return JA(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function JA(e,t,n,r,i,o,a){return{scheme:e,user:t,host:n,port:r,path:i,query:o,hash:a,type:7}}function eT(e){if(function(e){return e.startsWith("//")}(e)){let t=QA("http:"+e);return t.scheme="",t.type=6,t}if(ZA(e)){let t=QA("http://foo.com"+e);return t.scheme="",t.host="",t.type=5,t}if(function(e){return e.startsWith("file:")}(e))return function(e){let t=XA.exec(e),n=t[2];return JA("file:","",t[1]||"","",ZA(n)?n:"/"+n,t[3]||"",t[4]||"")}(e);if(function(e){return KA.test(e)}(e))return QA(e);let t=QA("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1,t}function tT(e,t){let n=t<=4,r=e.path.split("/"),i=1,o=0,a=!1;for(let e=1;e<r.length;e++){let t=r[e];if(t){if(a=!1,"."!==t){if(".."===t){o?(a=!0,o--,i--):n&&(r[i++]=t);continue}r[i++]=t,o++}}else a=!0}let s="";for(let e=1;e<i;e++)s+="/"+r[e];(!s||a&&!s.endsWith("/.."))&&(s+="/"),e.path=s}function nT(e,t){for(let n=t;n<e.length;n++)if(!rT(e[n]))return n;return e.length}function rT(e){for(let t=1;t<e.length;t++)if(e[t][0]<e[t-1][0])return!1;return!0}function iT(e,t){return t||(e=e.slice()),e.sort(oT)}function oT(e,t){return e[0]-t[0]}var aT=!1;function sT(e,t,n){for(let r=n+1;r<e.length&&e[r][0]===t;n=r++);return n}function cT(e,t,n){for(let r=n-1;r>=0&&e[r][0]===t;n=r--);return n}function lT(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function uT(e){return"string"==typeof e?JSON.parse(e):e}var pT=function(e,t){let n=uT(e);if(!("sections"in n))return new yT(n,t);let r=[],i=[],o=[],a=[],s=[];return dT(n,t,r,i,o,a,s,0,0,1/0,1/0),function(e){let t=new yT(function(e){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:[],ignoreList:e.ignoreList||e.x_google_ignoreList}}(e),void 0);return t._decoded=e.mappings,t}({version:3,file:n.file,names:a,sources:i,sourcesContent:o,mappings:r,ignoreList:s})};function dT(e,t,n,r,i,o,a,s,c,l,u){let{sections:p}=e;for(let e=0;e<p.length;e++){let{map:d,offset:m}=p[e],f=l,h=u;if(e+1<p.length){let t=p[e+1].offset;f=Math.min(l,s+t.line),f===l?h=Math.min(u,c+t.column):f<l&&(h=c+t.column)}mT(d,t,n,r,i,o,a,s+m.line,c+m.column,f,h)}}function mT(e,t,n,r,i,o,a,s,c,l,u){let p=uT(e);if("sections"in p)return dT(...arguments);let d=new yT(p,t),m=r.length,f=o.length,h=vT(d),{resolvedSources:g,sourcesContent:_,ignoreList:y}=d;if(fT(r,g),fT(o,d.names),_)fT(i,_);else for(let e=0;e<g.length;e++)i.push(null);if(y)for(let e=0;e<y.length;e++)a.push(y[e]+m);for(let e=0;e<h.length;e++){let t=s+e;if(t>l)return;let r=hT(n,t),i=0===e?c:0,o=h[e];for(let e=0;e<o.length;e++){let n=o[e],a=i+n[0];if(t===l&&a>=u)return;if(1===n.length){r.push([a]);continue}let s=m+n[1],c=n[2],p=n[3];r.push(4===n.length?[a,s,c,p]:[a,s,c,p,f+n[4]])}}}function fT(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}function hT(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}var gT="`line` must be greater than 0 (lines start at line 1)",_T="`column` must be greater than or equal to 0 (columns start at column 0)",yT=class{constructor(e,t){let n="string"==typeof e;if(!n&&e._decodedMemo)return e;let r=uT(e),{version:i,file:o,names:a,sourceRoot:s,sources:c,sourcesContent:l}=r;this.version=i,this.file=o,this.names=a||[],this.sourceRoot=s,this.sources=c,this.sourcesContent=l,this.ignoreList=r.ignoreList||r.x_google_ignoreList||void 0;let u=function(e,t){let n=function(e){if(!e)return"";let t=e.lastIndexOf("/");return e.slice(0,t+1)}(e),r=t?t+"/":"";return e=>function(e,t){if(!e&&!t)return"";let n=eT(e),r=n.type;if(t&&7!==r){let e=eT(t),i=e.type;switch(r){case 1:n.hash=e.hash;case 2:n.query=e.query;case 3:case 4:!function(e,t){tT(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;let t=e.lastIndexOf("/");return e.slice(0,t+1)}(t.path)+e.path}(n,e);case 5:n.user=e.user,n.host=e.host,n.port=e.port;case 6:n.scheme=e.scheme}i>r&&(r=i)}tT(n,r);let i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{let r=n.path.slice(1);return r?YA(t||e)&&!YA(r)?"./"+r+i:r+i:i||"."}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}(r+(e||""),n)}(t,s);this.resolvedSources=c.map(u);let{mappings:p}=r;if("string"==typeof p)this._encoded=p,this._decoded=void 0;else{if(!Array.isArray(p))throw r.sections?Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):Error(`invalid source map: ${JSON.stringify(r)}`);this._encoded=void 0,this._decoded=function(e,t){let n=nT(e,0);if(n===e.length)return e;t||(e=e.slice());for(let r=n;r<e.length;r=nT(e,r+1))e[r]=iT(e[r],t);return e}(p,n)}this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}};function vT(e){var t;return(t=e)._decoded||(t._decoded=function(e){let{length:t}=e,n=new jA(e),r=[],i=0,o=0,a=0,s=0,c=0;do{let e=n.indexOf(";"),t=[],l=!0,u=0;for(i=0;n.pos<e;){let r;i=BA(n,i),i<u&&(l=!1),u=i,$A(n,e)?(o=BA(n,o),a=BA(n,a),s=BA(n,s),$A(n,e)?(c=BA(n,c),r=[i,o,a,s,c]):r=[i,o,a,s]):r=[i],t.push(r),n.pos++}l||VA(t),r.push(t),n.pos=e+1}while(n.pos<=t);return r}(e._encoded))}function bT(e,t,n,r){return{source:e,line:t,column:n,name:r}}function ET(e,t){return{line:e,column:t}}function xT(e,t,n,r,i){let o=function(e,t,n,r){let{lastKey:i,lastNeedle:o,lastIndex:a}=n,s=0,c=e.length-1;if(r===i){if(t===o)return aT=-1!==a&&e[a][0]===t,a;t>=o?s=-1===a?0:a:c=a}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){let i=n+(r-n>>1),o=e[i][0]-t;if(0===o)return aT=!0,i;o<0?n=i+1:r=i-1}return aT=!1,n-1}(e,t,s,c)}(e,r,t,n);return aT?o=(-1===i?sT:cT)(e,r,o):-1===i&&o++,-1===o||o===e.length?-1:o}function wT(e,t,n,r,i,o){var a,s;if(--n<0)throw Error(gT);if(r<0)throw Error(_T);let{sources:c,resolvedSources:l}=e,u=c.indexOf(t);if(-1===u&&(u=l.indexOf(t)),-1===u)return o?[]:ET(null,null);let p=(a=e)._bySourceMemos||(a._bySourceMemos=c.map(lT)),d=((s=e)._bySources||(s._bySources=function(e,t){let n=t.map(()=>[]);for(let t=0;t<e.length;t++){let r=e[t];for(let e=0;e<r.length;e++){let i=r[e];if(1===i.length)continue;let o=i[1],a=i[2],s=i[3],c=n[o];(c[a]||(c[a]=[])).push([s,t,i[0]])}}for(let e=0;e<n.length;e++){let t=n[e];for(let e=0;e<t.length;e++){let n=t[e];n&&n.sort(oT)}}return n}(vT(e),p)))[u][n];if(null==d)return o?[]:ET(null,null);let m=p[u];if(o)return function(e,t,n,r,i){let o=xT(e,t,n,r,1);if(!aT&&-1===i&&o++,-1===o||o===e.length)return[];let a=aT?r:e[o][0];aT||(o=cT(e,a,o));let s=sT(e,a,o),c=[];for(;o<=s;o++){let t=e[o];c.push(ET(t[1]+1,t[2]))}return c}(d,m,n,r,i);let f=xT(d,m,n,r,i);if(-1===f)return ET(null,null);let h=d[f];return ET(h[1]+1,h[2])}var AT=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function TT(e,t){let n=function(e,t){return e._indexes[t]}(e,t);if(void 0!==n)return n;let{array:r,_indexes:i}=e;return i[t]=r.push(t)-1}var ST=class{constructor({file:e,sourceRoot:t}={}){this._names=new AT,this._sources=new AT,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t,this._ignoreList=new AT}};function kT(e){let{_mappings:t,_sources:n,_sourcesContent:r,_names:i,_ignoreList:o}=e;return function(e){let{length:t}=e,n=t;for(let t=n-1;t>=0&&!(e[t].length>0);n=t,t--);n<t&&(e.length=n)}(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:n.array,sourcesContent:r,mappings:t,ignoreList:o.array}}function CT(e,t,n,r,i,o,a,s,c){let{_mappings:l,_sources:u,_sourcesContent:p,_names:d}=t,m=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(l,n),f=function(e,t){let n=e.length;for(let r=n-1;r>=0&&!(t>=e[r][0]);n=r--);return n}(m,r);if(!i)return e&&function(e,t){return 0===t||1===e[t-1].length}(m,f)?void 0:OT(m,f,[r]);let h=TT(u,i),g=s?TT(d,s):-1;return h===p.length&&(p[h]=c??null),e&&function(e,t,n,r,i,o){if(0===t)return!1;let a=e[t-1];return 1!==a.length&&n===a[1]&&r===a[2]&&i===a[3]&&o===(5===a.length?a[4]:-1)}(m,f,h,o,a,g)?void 0:OT(m,f,s?[r,h,o,a,g]:[r,h,o,a])}function OT(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function RT(e,t){for(let n=0;n<t.length;n++)TT(e,t[n])}var DT=class e{constructor(e,t){let n=this._map=new pT(e,t);this.file=n.file,this.names=n.names,this.sourceRoot=n.sourceRoot,this.sources=n.resolvedSources,this.sourcesContent=n.sourcesContent,this.version=n.version}static fromSourceMap(t,n){return t.toDecodedMap?new e(t.toDecodedMap(),n):new e(t.toJSON(),n)}get mappings(){return function(e){var t;return(t=e)._encoded??(t._encoded=HA(e._decoded))}(this._map)}originalPositionFor(e){return function(e,t){let{line:n,column:r,bias:i}=t;if(n--,n<0)throw Error(gT);if(r<0)throw Error(_T);let o=vT(e);if(n>=o.length)return bT(null,null,null,null);let a=o[n],s=xT(a,e._decodedMemo,n,r,i||1);if(-1===s)return bT(null,null,null,null);let c=a[s];if(1===c.length)return bT(null,null,null,null);let{names:l,resolvedSources:u}=e;return bT(u[c[1]],c[2]+1,c[3],5===c.length?l[c[4]]:null)}(this._map,e)}generatedPositionFor(e){return function(e,t){let{source:n,line:r,column:i,bias:o}=t;return wT(e,n,r,i,o||1,!1)}(this._map,e)}allGeneratedPositionsFor(e){return function(e,t){let{source:n,line:r,column:i,bias:o}=t;return wT(e,n,r,i,o||-1,!0)}(this._map,e)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(let e of this.sourcesContent)if(null==e)return!1;return!0}sourceContentFor(e,t){let n=function(e,t){let{sourcesContent:n}=e;if(null==n)return null;let r=function(e,t){let{sources:n,resolvedSources:r}=e,i=n.indexOf(t);return-1===i&&(i=r.indexOf(t)),i}(e,t);return-1===r?null:n[r]}(this._map,e);if(null!=n)return n;if(t)return null;throw Error(`"${e}" is not in the SourceMap.`)}eachMapping(e,t){!function(e,t){let n=vT(e),{names:r,resolvedSources:i}=e;for(let e=0;e<n.length;e++){let o=n[e];for(let n=0;n<o.length;n++){let a=o[n],s=e+1,c=a[0],l=null,u=null,p=null,d=null;1!==a.length&&(l=i[a[1]],u=a[2]+1,p=a[3]),5===a.length&&(d=r[a[4]]),t({generatedLine:s,generatedColumn:c,source:l,originalLine:u,originalColumn:p,name:d})}}}(this._map,t?e.bind(t):e)}destroy(){}},PT=class e{constructor(e){this._map=e instanceof ST?e:new ST(e)}static fromSourceMap(t){return new e(function(e){let t=new yT(e),n=new ST({file:t.file,sourceRoot:t.sourceRoot});return RT(n._names,t.names),RT(n._sources,t.sources),n._sourcesContent=t.sourcesContent||t.sources.map(()=>null),n._mappings=vT(t),t.ignoreList&&RT(n._ignoreList,t.ignoreList),n}(t))}addMapping(e){((e,t)=>{!function(e,t,n){let{generated:r,source:i,original:o,name:a,content:s}=n;i?CT(e,t,r.line-1,r.column,i,o.line-1,o.column,a,s):CT(e,t,r.line-1,r.column,null,null,null,null,null)}(!0,e,t)})(this._map,e)}setSourceContent(e,t){!function(e,t,n){let{_sources:r,_sourcesContent:i}=e;i[TT(r,t)]=n}(this._map,e,t)}toJSON(){return function(e){let t=kT(e);return Object.assign({},t,{mappings:HA(t.mappings)})}(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return kT(this._map)}},FT="$&.$'.$*.$+.$1.$2.$3.$4.$5.$6.$7.$8.$9.$_.$`.$input.-moz-animation.-moz-animation-delay.-moz-animation-direction.-moz-animation-duration.-moz-animation-fill-mode.-moz-animation-iteration-count.-moz-animation-name.-moz-animation-play-state.-moz-animation-timing-function.-moz-appearance.-moz-backface-visibility.-moz-border-end.-moz-border-end-color.-moz-border-end-style.-moz-border-end-width.-moz-border-image.-moz-border-start.-moz-border-start-color.-moz-border-start-style.-moz-border-start-width.-moz-box-align.-moz-box-direction.-moz-box-flex.-moz-box-ordinal-group.-moz-box-orient.-moz-box-pack.-moz-box-sizing.-moz-float-edge.-moz-font-feature-settings.-moz-font-language-override.-moz-force-broken-image-icon.-moz-hyphens.-moz-image-region.-moz-margin-end.-moz-margin-start.-moz-orient.-moz-osx-font-smoothing.-moz-outline-radius.-moz-outline-radius-bottomleft.-moz-outline-radius-bottomright.-moz-outline-radius-topleft.-moz-outline-radius-topright.-moz-padding-end.-moz-padding-start.-moz-perspective.-moz-perspective-origin.-moz-tab-size.-moz-text-size-adjust.-moz-transform.-moz-transform-origin.-moz-transform-style.-moz-transition.-moz-transition-delay.-moz-transition-duration.-moz-transition-property.-moz-transition-timing-function.-moz-user-focus.-moz-user-input.-moz-user-modify.-moz-user-select.-moz-window-dragging.-webkit-align-content.-webkit-align-items.-webkit-align-self.-webkit-animation.-webkit-animation-delay.-webkit-animation-direction.-webkit-animation-duration.-webkit-animation-fill-mode.-webkit-animation-iteration-count.-webkit-animation-name.-webkit-animation-play-state.-webkit-animation-timing-function.-webkit-appearance.-webkit-backface-visibility.-webkit-background-clip.-webkit-background-origin.-webkit-background-size.-webkit-border-bottom-left-radius.-webkit-border-bottom-right-radius.-webkit-border-image.-webkit-border-radius.-webkit-border-top-left-radius.-webkit-border-top-right-radius.-webkit-box-align.-webkit-box-direction.-webkit-box-flex.-webkit-box-ordinal-group.-webkit-box-orient.-webkit-box-pack.-webkit-box-shadow.-webkit-box-sizing.-webkit-clip-path.-webkit-filter.-webkit-flex.-webkit-flex-basis.-webkit-flex-direction.-webkit-flex-flow.-webkit-flex-grow.-webkit-flex-shrink.-webkit-flex-wrap.-webkit-font-feature-settings.-webkit-justify-content.-webkit-line-clamp.-webkit-mask.-webkit-mask-clip.-webkit-mask-composite.-webkit-mask-image.-webkit-mask-origin.-webkit-mask-position.-webkit-mask-position-x.-webkit-mask-position-y.-webkit-mask-repeat.-webkit-mask-size.-webkit-order.-webkit-perspective.-webkit-perspective-origin.-webkit-text-fill-color.-webkit-text-security.-webkit-text-size-adjust.-webkit-text-stroke.-webkit-text-stroke-color.-webkit-text-stroke-width.-webkit-transform.-webkit-transform-origin.-webkit-transform-style.-webkit-transition.-webkit-transition-delay.-webkit-transition-duration.-webkit-transition-property.-webkit-transition-timing-function.-webkit-user-select.@@iterator.ABORT_ERR.ACTIVE.ACTIVE_ATTRIBUTES.ACTIVE_TEXTURE.ACTIVE_UNIFORMS.ACTIVE_UNIFORM_BLOCKS.ADDITION.ALIASED_LINE_WIDTH_RANGE.ALIASED_POINT_SIZE_RANGE.ALL.ALLOW_KEYBOARD_INPUT.ALLPASS.ALPHA.ALPHA_BITS.ALREADY_SIGNALED.ALT_MASK.ALWAYS.ANY_SAMPLES_PASSED.ANY_SAMPLES_PASSED_CONSERVATIVE.ANY_TYPE.ANY_UNORDERED_NODE_TYPE.ARRAY_BUFFER.ARRAY_BUFFER_BINDING.ATTACHED_SHADERS.ATTRIBUTE_NODE.AT_TARGET.AbortController.AbortSignal.AbsoluteOrientationSensor.AbstractRange.Accelerometer.AddSearchProvider.AggregateError.AnalyserNode.Animation.AnimationEffect.AnimationEvent.AnimationPlaybackEvent.AnimationTimeline.AnonXMLHttpRequest.Any.AnyPermissions.ApplicationCache.ApplicationCacheErrorEvent.Array.ArrayBuffer.ArrayType.Atomics.Attr.Audio.AudioBuffer.AudioBufferSourceNode.AudioContext.AudioData.AudioDecoder.AudioDestinationNode.AudioEncoder.AudioListener.AudioNode.AudioParam.AudioParamMap.AudioProcessingEvent.AudioScheduledSourceNode.AudioSinkInfo.AudioStreamTrack.AudioWorklet.AudioWorkletNode.AuthenticatorAssertionResponse.AuthenticatorAttestationResponse.AuthenticatorResponse.AutocompleteErrorEvent.BACK.BAD_BOUNDARYPOINTS_ERR.BAD_REQUEST.BANDPASS.BLEND.BLEND_COLOR.BLEND_DST_ALPHA.BLEND_DST_RGB.BLEND_EQUATION.BLEND_EQUATION_ALPHA.BLEND_EQUATION_RGB.BLEND_SRC_ALPHA.BLEND_SRC_RGB.BLUE.BLUE_BITS.BLUR.BOOL.BOOLEAN_TYPE.BOOL_VEC2.BOOL_VEC3.BOOL_VEC4.BOTH.BROWSER_DEFAULT_WEBGL.BUBBLING_PHASE.BUFFER_SIZE.BUFFER_USAGE.BYTE.BYTES_PER_ELEMENT.BackgroundFetchManager.BackgroundFetchRecord.BackgroundFetchRegistration.BarProp.BarcodeDetector.BaseAudioContext.BaseHref.BatteryManager.BeforeInstallPromptEvent.BeforeLoadEvent.BeforeUnloadEvent.BigInt.BigInt64Array.BigUint64Array.BiquadFilterNode.Blob.BlobEvent.Bluetooth.BluetoothCharacteristicProperties.BluetoothDevice.BluetoothRemoteGATTCharacteristic.BluetoothRemoteGATTDescriptor.BluetoothRemoteGATTServer.BluetoothRemoteGATTService.BluetoothUUID.Boolean.BroadcastChannel.BrowserCaptureMediaStreamTrack.BrowserInfo.ByteLengthQueuingStrategy.CAPTURING_PHASE.CCW.CDATASection.CDATA_SECTION_NODE.CHANGE.CHARSET_RULE.CHECKING.CLAMP_TO_EDGE.CLICK.CLOSED.CLOSING.COLOR.COLOR_ATTACHMENT0.COLOR_ATTACHMENT1.COLOR_ATTACHMENT10.COLOR_ATTACHMENT11.COLOR_ATTACHMENT12.COLOR_ATTACHMENT13.COLOR_ATTACHMENT14.COLOR_ATTACHMENT15.COLOR_ATTACHMENT2.COLOR_ATTACHMENT3.COLOR_ATTACHMENT4.COLOR_ATTACHMENT5.COLOR_ATTACHMENT6.COLOR_ATTACHMENT7.COLOR_ATTACHMENT8.COLOR_ATTACHMENT9.COLOR_BUFFER_BIT.COLOR_CLEAR_VALUE.COLOR_WRITEMASK.COMMENT_NODE.COMPARE_REF_TO_TEXTURE.COMPILE_STATUS.COMPLETION_STATUS_KHR.COMPRESSED_RGBA_S3TC_DXT1_EXT.COMPRESSED_RGBA_S3TC_DXT3_EXT.COMPRESSED_RGBA_S3TC_DXT5_EXT.COMPRESSED_RGB_S3TC_DXT1_EXT.COMPRESSED_TEXTURE_FORMATS.COMPUTE.CONDITION_SATISFIED.CONFIGURATION_UNSUPPORTED.CONNECTING.CONSTANT_ALPHA.CONSTANT_COLOR.CONSTRAINT_ERR.CONTEXT_LOST_WEBGL.CONTROL_MASK.COPY_DST.COPY_READ_BUFFER.COPY_READ_BUFFER_BINDING.COPY_SRC.COPY_WRITE_BUFFER.COPY_WRITE_BUFFER_BINDING.COUNTER_STYLE_RULE.CSS.CSS2Properties.CSSAnimation.CSSCharsetRule.CSSConditionRule.CSSContainerRule.CSSCounterStyleRule.CSSFontFaceRule.CSSFontFeatureValuesRule.CSSFontPaletteValuesRule.CSSGroupingRule.CSSImageValue.CSSImportRule.CSSKeyframeRule.CSSKeyframesRule.CSSKeywordValue.CSSLayerBlockRule.CSSLayerStatementRule.CSSMarginRule.CSSMathClamp.CSSMathInvert.CSSMathMax.CSSMathMin.CSSMathNegate.CSSMathProduct.CSSMathSum.CSSMathValue.CSSMatrixComponent.CSSMediaRule.CSSMozDocumentRule.CSSNameSpaceRule.CSSNamespaceRule.CSSNestedDeclarations.CSSNumericArray.CSSNumericValue.CSSPageDescriptors.CSSPageRule.CSSPerspective.CSSPositionTryDescriptors.CSSPositionTryRule.CSSPositionValue.CSSPrimitiveValue.CSSPropertyRule.CSSRotate.CSSRule.CSSRuleList.CSSScale.CSSScopeRule.CSSSkew.CSSSkewX.CSSSkewY.CSSStartingStyleRule.CSSStyleDeclaration.CSSStyleRule.CSSStyleSheet.CSSStyleValue.CSSSupportsRule.CSSTransformComponent.CSSTransformValue.CSSTransition.CSSTranslate.CSSUnitValue.CSSUnknownRule.CSSUnparsedValue.CSSValue.CSSValueList.CSSVariableReferenceValue.CSSVariablesDeclaration.CSSVariablesRule.CSSViewTransitionRule.CSSViewportRule.CSS_ATTR.CSS_CM.CSS_COUNTER.CSS_CUSTOM.CSS_DEG.CSS_DIMENSION.CSS_EMS.CSS_EXS.CSS_FILTER_BLUR.CSS_FILTER_BRIGHTNESS.CSS_FILTER_CONTRAST.CSS_FILTER_CUSTOM.CSS_FILTER_DROP_SHADOW.CSS_FILTER_GRAYSCALE.CSS_FILTER_HUE_ROTATE.CSS_FILTER_INVERT.CSS_FILTER_OPACITY.CSS_FILTER_REFERENCE.CSS_FILTER_SATURATE.CSS_FILTER_SEPIA.CSS_GRAD.CSS_HZ.CSS_IDENT.CSS_IN.CSS_INHERIT.CSS_KHZ.CSS_MATRIX.CSS_MATRIX3D.CSS_MM.CSS_MS.CSS_NUMBER.CSS_PC.CSS_PERCENTAGE.CSS_PERSPECTIVE.CSS_PRIMITIVE_VALUE.CSS_PT.CSS_PX.CSS_RAD.CSS_RECT.CSS_RGBCOLOR.CSS_ROTATE.CSS_ROTATE3D.CSS_ROTATEX.CSS_ROTATEY.CSS_ROTATEZ.CSS_S.CSS_SCALE.CSS_SCALE3D.CSS_SCALEX.CSS_SCALEY.CSS_SCALEZ.CSS_SKEW.CSS_SKEWX.CSS_SKEWY.CSS_STRING.CSS_TRANSLATE.CSS_TRANSLATE3D.CSS_TRANSLATEX.CSS_TRANSLATEY.CSS_TRANSLATEZ.CSS_UNKNOWN.CSS_URI.CSS_VALUE_LIST.CSS_VH.CSS_VMAX.CSS_VMIN.CSS_VW.CULL_FACE.CULL_FACE_MODE.CURRENT_PROGRAM.CURRENT_QUERY.CURRENT_VERTEX_ATTRIB.CUSTOM.CW.Cache.CacheStorage.CanvasCaptureMediaStream.CanvasCaptureMediaStreamTrack.CanvasGradient.CanvasPattern.CanvasRenderingContext2D.CaptureController.CaretPosition.ChannelMergerNode.ChannelSplitterNode.ChapterInformation.CharacterBoundsUpdateEvent.CharacterData.ClientRect.ClientRectList.Clipboard.ClipboardEvent.ClipboardItem.CloseEvent.CloseWatcher.Collator.ColorArray.ColorValue.CommandEvent.Comment.CompileError.CompositionEvent.CompressionStream.Console.ConstantSourceNode.ContentVisibilityAutoStateChangeEvent.ContextFilter.ContextType.Controllers.ConvolverNode.CookieChangeEvent.CookieStore.CookieStoreManager.CountQueuingStrategy.Counter.CreateType.Credential.CredentialsContainer.CropTarget.Crypto.CryptoKey.CustomElementRegistry.CustomEvent.CustomStateSet.DATABASE_ERR.DATA_CLONE_ERR.DATA_ERR.DBLCLICK.DECR.DECR_WRAP.DELETE_STATUS.DEPTH.DEPTH24_STENCIL8.DEPTH32F_STENCIL8.DEPTH_ATTACHMENT.DEPTH_BITS.DEPTH_BUFFER_BIT.DEPTH_CLEAR_VALUE.DEPTH_COMPONENT.DEPTH_COMPONENT16.DEPTH_COMPONENT24.DEPTH_COMPONENT32F.DEPTH_FUNC.DEPTH_RANGE.DEPTH_STENCIL.DEPTH_STENCIL_ATTACHMENT.DEPTH_TEST.DEPTH_WRITEMASK.DEVICE_INELIGIBLE.DIRECTION_DOWN.DIRECTION_LEFT.DIRECTION_RIGHT.DIRECTION_UP.DISABLED.DISPATCH_REQUEST_ERR.DITHER.DOCUMENT_FRAGMENT_NODE.DOCUMENT_NODE.DOCUMENT_POSITION_CONTAINED_BY.DOCUMENT_POSITION_CONTAINS.DOCUMENT_POSITION_DISCONNECTED.DOCUMENT_POSITION_FOLLOWING.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC.DOCUMENT_POSITION_PRECEDING.DOCUMENT_TYPE_NODE.DOMCursor.DOMError.DOMException.DOMImplementation.DOMImplementationLS.DOMMatrix.DOMMatrixReadOnly.DOMParser.DOMPoint.DOMPointReadOnly.DOMQuad.DOMRect.DOMRectList.DOMRectReadOnly.DOMRequest.DOMSTRING_SIZE_ERR.DOMSettableTokenList.DOMStringList.DOMStringMap.DOMTokenList.DOMTransactionEvent.DOM_DELTA_LINE.DOM_DELTA_PAGE.DOM_DELTA_PIXEL.DOM_INPUT_METHOD_DROP.DOM_INPUT_METHOD_HANDWRITING.DOM_INPUT_METHOD_IME.DOM_INPUT_METHOD_KEYBOARD.DOM_INPUT_METHOD_MULTIMODAL.DOM_INPUT_METHOD_OPTION.DOM_INPUT_METHOD_PASTE.DOM_INPUT_METHOD_SCRIPT.DOM_INPUT_METHOD_UNKNOWN.DOM_INPUT_METHOD_VOICE.DOM_KEY_LOCATION_JOYSTICK.DOM_KEY_LOCATION_LEFT.DOM_KEY_LOCATION_MOBILE.DOM_KEY_LOCATION_NUMPAD.DOM_KEY_LOCATION_RIGHT.DOM_KEY_LOCATION_STANDARD.DOM_VK_0.DOM_VK_1.DOM_VK_2.DOM_VK_3.DOM_VK_4.DOM_VK_5.DOM_VK_6.DOM_VK_7.DOM_VK_8.DOM_VK_9.DOM_VK_A.DOM_VK_ACCEPT.DOM_VK_ADD.DOM_VK_ALT.DOM_VK_ALTGR.DOM_VK_AMPERSAND.DOM_VK_ASTERISK.DOM_VK_AT.DOM_VK_ATTN.DOM_VK_B.DOM_VK_BACKSPACE.DOM_VK_BACK_QUOTE.DOM_VK_BACK_SLASH.DOM_VK_BACK_SPACE.DOM_VK_C.DOM_VK_CANCEL.DOM_VK_CAPS_LOCK.DOM_VK_CIRCUMFLEX.DOM_VK_CLEAR.DOM_VK_CLOSE_BRACKET.DOM_VK_CLOSE_CURLY_BRACKET.DOM_VK_CLOSE_PAREN.DOM_VK_COLON.DOM_VK_COMMA.DOM_VK_CONTEXT_MENU.DOM_VK_CONTROL.DOM_VK_CONVERT.DOM_VK_CRSEL.DOM_VK_CTRL.DOM_VK_D.DOM_VK_DECIMAL.DOM_VK_DELETE.DOM_VK_DIVIDE.DOM_VK_DOLLAR.DOM_VK_DOUBLE_QUOTE.DOM_VK_DOWN.DOM_VK_E.DOM_VK_EISU.DOM_VK_END.DOM_VK_ENTER.DOM_VK_EQUALS.DOM_VK_EREOF.DOM_VK_ESCAPE.DOM_VK_EXCLAMATION.DOM_VK_EXECUTE.DOM_VK_EXSEL.DOM_VK_F.DOM_VK_F1.DOM_VK_F10.DOM_VK_F11.DOM_VK_F12.DOM_VK_F13.DOM_VK_F14.DOM_VK_F15.DOM_VK_F16.DOM_VK_F17.DOM_VK_F18.DOM_VK_F19.DOM_VK_F2.DOM_VK_F20.DOM_VK_F21.DOM_VK_F22.DOM_VK_F23.DOM_VK_F24.DOM_VK_F25.DOM_VK_F26.DOM_VK_F27.DOM_VK_F28.DOM_VK_F29.DOM_VK_F3.DOM_VK_F30.DOM_VK_F31.DOM_VK_F32.DOM_VK_F33.DOM_VK_F34.DOM_VK_F35.DOM_VK_F36.DOM_VK_F4.DOM_VK_F5.DOM_VK_F6.DOM_VK_F7.DOM_VK_F8.DOM_VK_F9.DOM_VK_FINAL.DOM_VK_FRONT.DOM_VK_G.DOM_VK_GREATER_THAN.DOM_VK_H.DOM_VK_HANGUL.DOM_VK_HANJA.DOM_VK_HASH.DOM_VK_HELP.DOM_VK_HK_TOGGLE.DOM_VK_HOME.DOM_VK_HYPHEN_MINUS.DOM_VK_I.DOM_VK_INSERT.DOM_VK_J.DOM_VK_JUNJA.DOM_VK_K.DOM_VK_KANA.DOM_VK_KANJI.DOM_VK_L.DOM_VK_LEFT.DOM_VK_LEFT_TAB.DOM_VK_LESS_THAN.DOM_VK_M.DOM_VK_META.DOM_VK_MODECHANGE.DOM_VK_MULTIPLY.DOM_VK_N.DOM_VK_NONCONVERT.DOM_VK_NUMPAD0.DOM_VK_NUMPAD1.DOM_VK_NUMPAD2.DOM_VK_NUMPAD3.DOM_VK_NUMPAD4.DOM_VK_NUMPAD5.DOM_VK_NUMPAD6.DOM_VK_NUMPAD7.DOM_VK_NUMPAD8.DOM_VK_NUMPAD9.DOM_VK_NUM_LOCK.DOM_VK_O.DOM_VK_OEM_1.DOM_VK_OEM_102.DOM_VK_OEM_2.DOM_VK_OEM_3.DOM_VK_OEM_4.DOM_VK_OEM_5.DOM_VK_OEM_6.DOM_VK_OEM_7.DOM_VK_OEM_8.DOM_VK_OEM_COMMA.DOM_VK_OEM_MINUS.DOM_VK_OEM_PERIOD.DOM_VK_OEM_PLUS.DOM_VK_OPEN_BRACKET.DOM_VK_OPEN_CURLY_BRACKET.DOM_VK_OPEN_PAREN.DOM_VK_P.DOM_VK_PA1.DOM_VK_PAGEDOWN.DOM_VK_PAGEUP.DOM_VK_PAGE_DOWN.DOM_VK_PAGE_UP.DOM_VK_PAUSE.DOM_VK_PERCENT.DOM_VK_PERIOD.DOM_VK_PIPE.DOM_VK_PLAY.DOM_VK_PLUS.DOM_VK_PRINT.DOM_VK_PRINTSCREEN.DOM_VK_PROCESSKEY.DOM_VK_PROPERITES.DOM_VK_Q.DOM_VK_QUESTION_MARK.DOM_VK_QUOTE.DOM_VK_R.DOM_VK_REDO.DOM_VK_RETURN.DOM_VK_RIGHT.DOM_VK_S.DOM_VK_SCROLL_LOCK.DOM_VK_SELECT.DOM_VK_SEMICOLON.DOM_VK_SEPARATOR.DOM_VK_SHIFT.DOM_VK_SLASH.DOM_VK_SLEEP.DOM_VK_SPACE.DOM_VK_SUBTRACT.DOM_VK_T.DOM_VK_TAB.DOM_VK_TILDE.DOM_VK_U.DOM_VK_UNDERSCORE.DOM_VK_UNDO.DOM_VK_UNICODE.DOM_VK_UP.DOM_VK_V.DOM_VK_VOLUME_DOWN.DOM_VK_VOLUME_MUTE.DOM_VK_VOLUME_UP.DOM_VK_W.DOM_VK_WIN.DOM_VK_WINDOW.DOM_VK_WIN_ICO_00.DOM_VK_WIN_ICO_CLEAR.DOM_VK_WIN_ICO_HELP.DOM_VK_WIN_OEM_ATTN.DOM_VK_WIN_OEM_AUTO.DOM_VK_WIN_OEM_BACKTAB.DOM_VK_WIN_OEM_CLEAR.DOM_VK_WIN_OEM_COPY.DOM_VK_WIN_OEM_CUSEL.DOM_VK_WIN_OEM_ENLW.DOM_VK_WIN_OEM_FINISH.DOM_VK_WIN_OEM_FJ_JISHO.DOM_VK_WIN_OEM_FJ_LOYA.DOM_VK_WIN_OEM_FJ_MASSHOU.DOM_VK_WIN_OEM_FJ_ROYA.DOM_VK_WIN_OEM_FJ_TOUROKU.DOM_VK_WIN_OEM_JUMP.DOM_VK_WIN_OEM_PA1.DOM_VK_WIN_OEM_PA2.DOM_VK_WIN_OEM_PA3.DOM_VK_WIN_OEM_RESET.DOM_VK_WIN_OEM_WSCTRL.DOM_VK_X.DOM_VK_XF86XK_ADD_FAVORITE.DOM_VK_XF86XK_APPLICATION_LEFT.DOM_VK_XF86XK_APPLICATION_RIGHT.DOM_VK_XF86XK_AUDIO_CYCLE_TRACK.DOM_VK_XF86XK_AUDIO_FORWARD.DOM_VK_XF86XK_AUDIO_LOWER_VOLUME.DOM_VK_XF86XK_AUDIO_MEDIA.DOM_VK_XF86XK_AUDIO_MUTE.DOM_VK_XF86XK_AUDIO_NEXT.DOM_VK_XF86XK_AUDIO_PAUSE.DOM_VK_XF86XK_AUDIO_PLAY.DOM_VK_XF86XK_AUDIO_PREV.DOM_VK_XF86XK_AUDIO_RAISE_VOLUME.DOM_VK_XF86XK_AUDIO_RANDOM_PLAY.DOM_VK_XF86XK_AUDIO_RECORD.DOM_VK_XF86XK_AUDIO_REPEAT.DOM_VK_XF86XK_AUDIO_REWIND.DOM_VK_XF86XK_AUDIO_STOP.DOM_VK_XF86XK_AWAY.DOM_VK_XF86XK_BACK.DOM_VK_XF86XK_BACK_FORWARD.DOM_VK_XF86XK_BATTERY.DOM_VK_XF86XK_BLUE.DOM_VK_XF86XK_BLUETOOTH.DOM_VK_XF86XK_BOOK.DOM_VK_XF86XK_BRIGHTNESS_ADJUST.DOM_VK_XF86XK_CALCULATOR.DOM_VK_XF86XK_CALENDAR.DOM_VK_XF86XK_CD.DOM_VK_XF86XK_CLOSE.DOM_VK_XF86XK_COMMUNITY.DOM_VK_XF86XK_CONTRAST_ADJUST.DOM_VK_XF86XK_COPY.DOM_VK_XF86XK_CUT.DOM_VK_XF86XK_CYCLE_ANGLE.DOM_VK_XF86XK_DISPLAY.DOM_VK_XF86XK_DOCUMENTS.DOM_VK_XF86XK_DOS.DOM_VK_XF86XK_EJECT.DOM_VK_XF86XK_EXCEL.DOM_VK_XF86XK_EXPLORER.DOM_VK_XF86XK_FAVORITES.DOM_VK_XF86XK_FINANCE.DOM_VK_XF86XK_FORWARD.DOM_VK_XF86XK_FRAME_BACK.DOM_VK_XF86XK_FRAME_FORWARD.DOM_VK_XF86XK_GAME.DOM_VK_XF86XK_GO.DOM_VK_XF86XK_GREEN.DOM_VK_XF86XK_HIBERNATE.DOM_VK_XF86XK_HISTORY.DOM_VK_XF86XK_HOME_PAGE.DOM_VK_XF86XK_HOT_LINKS.DOM_VK_XF86XK_I_TOUCH.DOM_VK_XF86XK_KBD_BRIGHTNESS_DOWN.DOM_VK_XF86XK_KBD_BRIGHTNESS_UP.DOM_VK_XF86XK_KBD_LIGHT_ON_OFF.DOM_VK_XF86XK_LAUNCH0.DOM_VK_XF86XK_LAUNCH1.DOM_VK_XF86XK_LAUNCH2.DOM_VK_XF86XK_LAUNCH3.DOM_VK_XF86XK_LAUNCH4.DOM_VK_XF86XK_LAUNCH5.DOM_VK_XF86XK_LAUNCH6.DOM_VK_XF86XK_LAUNCH7.DOM_VK_XF86XK_LAUNCH8.DOM_VK_XF86XK_LAUNCH9.DOM_VK_XF86XK_LAUNCH_A.DOM_VK_XF86XK_LAUNCH_B.DOM_VK_XF86XK_LAUNCH_C.DOM_VK_XF86XK_LAUNCH_D.DOM_VK_XF86XK_LAUNCH_E.DOM_VK_XF86XK_LAUNCH_F.DOM_VK_XF86XK_LIGHT_BULB.DOM_VK_XF86XK_LOG_OFF.DOM_VK_XF86XK_MAIL.DOM_VK_XF86XK_MAIL_FORWARD.DOM_VK_XF86XK_MARKET.DOM_VK_XF86XK_MEETING.DOM_VK_XF86XK_MEMO.DOM_VK_XF86XK_MENU_KB.DOM_VK_XF86XK_MENU_PB.DOM_VK_XF86XK_MESSENGER.DOM_VK_XF86XK_MON_BRIGHTNESS_DOWN.DOM_VK_XF86XK_MON_BRIGHTNESS_UP.DOM_VK_XF86XK_MUSIC.DOM_VK_XF86XK_MY_COMPUTER.DOM_VK_XF86XK_MY_SITES.DOM_VK_XF86XK_NEW.DOM_VK_XF86XK_NEWS.DOM_VK_XF86XK_OFFICE_HOME.DOM_VK_XF86XK_OPEN.DOM_VK_XF86XK_OPEN_URL.DOM_VK_XF86XK_OPTION.DOM_VK_XF86XK_PASTE.DOM_VK_XF86XK_PHONE.DOM_VK_XF86XK_PICTURES.DOM_VK_XF86XK_POWER_DOWN.DOM_VK_XF86XK_POWER_OFF.DOM_VK_XF86XK_RED.DOM_VK_XF86XK_REFRESH.DOM_VK_XF86XK_RELOAD.DOM_VK_XF86XK_REPLY.DOM_VK_XF86XK_ROCKER_DOWN.DOM_VK_XF86XK_ROCKER_ENTER.DOM_VK_XF86XK_ROCKER_UP.DOM_VK_XF86XK_ROTATE_WINDOWS.DOM_VK_XF86XK_ROTATION_KB.DOM_VK_XF86XK_ROTATION_PB.DOM_VK_XF86XK_SAVE.DOM_VK_XF86XK_SCREEN_SAVER.DOM_VK_XF86XK_SCROLL_CLICK.DOM_VK_XF86XK_SCROLL_DOWN.DOM_VK_XF86XK_SCROLL_UP.DOM_VK_XF86XK_SEARCH.DOM_VK_XF86XK_SEND.DOM_VK_XF86XK_SHOP.DOM_VK_XF86XK_SPELL.DOM_VK_XF86XK_SPLIT_SCREEN.DOM_VK_XF86XK_STANDBY.DOM_VK_XF86XK_START.DOM_VK_XF86XK_STOP.DOM_VK_XF86XK_SUBTITLE.DOM_VK_XF86XK_SUPPORT.DOM_VK_XF86XK_SUSPEND.DOM_VK_XF86XK_TASK_PANE.DOM_VK_XF86XK_TERMINAL.DOM_VK_XF86XK_TIME.DOM_VK_XF86XK_TOOLS.DOM_VK_XF86XK_TOP_MENU.DOM_VK_XF86XK_TO_DO_LIST.DOM_VK_XF86XK_TRAVEL.DOM_VK_XF86XK_USER1KB.DOM_VK_XF86XK_USER2KB.DOM_VK_XF86XK_USER_PB.DOM_VK_XF86XK_UWB.DOM_VK_XF86XK_VENDOR_HOME.DOM_VK_XF86XK_VIDEO.DOM_VK_XF86XK_VIEW.DOM_VK_XF86XK_WAKE_UP.DOM_VK_XF86XK_WEB_CAM.DOM_VK_XF86XK_WHEEL_BUTTON.DOM_VK_XF86XK_WLAN.DOM_VK_XF86XK_WORD.DOM_VK_XF86XK_WWW.DOM_VK_XF86XK_XFER.DOM_VK_XF86XK_YELLOW.DOM_VK_XF86XK_ZOOM_IN.DOM_VK_XF86XK_ZOOM_OUT.DOM_VK_Y.DOM_VK_Z.DOM_VK_ZOOM.DONE.DONT_CARE.DOWNLOADING.DRAGDROP.DRAW_BUFFER0.DRAW_BUFFER1.DRAW_BUFFER10.DRAW_BUFFER11.DRAW_BUFFER12.DRAW_BUFFER13.DRAW_BUFFER14.DRAW_BUFFER15.DRAW_BUFFER2.DRAW_BUFFER3.DRAW_BUFFER4.DRAW_BUFFER5.DRAW_BUFFER6.DRAW_BUFFER7.DRAW_BUFFER8.DRAW_BUFFER9.DRAW_FRAMEBUFFER.DRAW_FRAMEBUFFER_BINDING.DST_ALPHA.DST_COLOR.DYNAMIC_COPY.DYNAMIC_DRAW.DYNAMIC_READ.DataChannel.DataTransfer.DataTransferItem.DataTransferItemList.DataView.Date.DateTimeFormat.DecompressionStream.DelayNode.DelegatedInkTrailPresenter.DeprecationReportBody.DesktopNotification.DesktopNotificationCenter.Details.DeviceLightEvent.DeviceMotionEvent.DeviceMotionEventAcceleration.DeviceMotionEventRotationRate.DeviceOrientationEvent.DeviceProximityEvent.DeviceStorage.DeviceStorageChangeEvent.Directory.DisplayNames.Document.DocumentFragment.DocumentPictureInPicture.DocumentPictureInPictureEvent.DocumentTimeline.DocumentType.DragEvent.DurationFormat.DynamicsCompressorNode.E.ELEMENT_ARRAY_BUFFER.ELEMENT_ARRAY_BUFFER_BINDING.ELEMENT_NODE.EMPTY.ENCODING_ERR.ENDED.END_TO_END.END_TO_START.ENTITY_NODE.ENTITY_REFERENCE_NODE.EPSILON.EQUAL.EQUALPOWER.ERROR.EXPONENTIAL_DISTANCE.EditContext.Element.ElementInternals.ElementQuery.EncodedAudioChunk.EncodedVideoChunk.EnterPictureInPictureEvent.Entity.EntityReference.Error.ErrorEvent.EvalError.Event.EventCounts.EventException.EventSource.EventTarget.Exception.ExtensionContext.ExtensionDisabledReason.ExtensionInfo.ExtensionInstallType.ExtensionType.External.EyeDropper.FASTEST.FIDOSDK.FILTER_ACCEPT.FILTER_INTERRUPT.FILTER_REJECT.FILTER_SKIP.FINISHED_STATE.FIRST_ORDERED_NODE_TYPE.FLOAT.FLOAT_32_UNSIGNED_INT_24_8_REV.FLOAT_MAT2.FLOAT_MAT2x3.FLOAT_MAT2x4.FLOAT_MAT3.FLOAT_MAT3x2.FLOAT_MAT3x4.FLOAT_MAT4.FLOAT_MAT4x2.FLOAT_MAT4x3.FLOAT_VEC2.FLOAT_VEC3.FLOAT_VEC4.FOCUS.FONT_FACE_RULE.FONT_FEATURE_VALUES_RULE.FRAGMENT.FRAGMENT_SHADER.FRAGMENT_SHADER_DERIVATIVE_HINT.FRAGMENT_SHADER_DERIVATIVE_HINT_OES.FRAMEBUFFER.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE.FRAMEBUFFER_ATTACHMENT_RED_SIZE.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL.FRAMEBUFFER_BINDING.FRAMEBUFFER_COMPLETE.FRAMEBUFFER_DEFAULT.FRAMEBUFFER_INCOMPLETE_ATTACHMENT.FRAMEBUFFER_INCOMPLETE_DIMENSIONS.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE.FRAMEBUFFER_UNSUPPORTED.FRONT.FRONT_AND_BACK.FRONT_FACE.FUNC_ADD.FUNC_REVERSE_SUBTRACT.FUNC_SUBTRACT.FeaturePolicy.FeaturePolicyViolationReportBody.FederatedCredential.Feed.FeedEntry.Fence.FencedFrameConfig.File.FileError.FileList.FileReader.FileSystem.FileSystemDirectoryEntry.FileSystemDirectoryHandle.FileSystemDirectoryReader.FileSystemEntry.FileSystemFileEntry.FileSystemFileHandle.FileSystemHandle.FileSystemWritableFileStream.FinalizationRegistry.FindInPage.Float16Array.Float32Array.Float64Array.FocusEvent.FontData.FontFace.FontFaceSet.FontFaceSetLoadEvent.FormData.FormDataEvent.FragmentDirective.Function.GENERATE_MIPMAP_HINT.GEQUAL.GPU.GPUAdapter.GPUAdapterInfo.GPUBindGroup.GPUBindGroupLayout.GPUBuffer.GPUBufferUsage.GPUCanvasContext.GPUColorWrite.GPUCommandBuffer.GPUCommandEncoder.GPUCompilationInfo.GPUCompilationMessage.GPUComputePassEncoder.GPUComputePipeline.GPUDevice.GPUDeviceLostInfo.GPUError.GPUExternalTexture.GPUInternalError.GPUMapMode.GPUOutOfMemoryError.GPUPipelineError.GPUPipelineLayout.GPUQuerySet.GPUQueue.GPURenderBundle.GPURenderBundleEncoder.GPURenderPassEncoder.GPURenderPipeline.GPUSampler.GPUShaderModule.GPUShaderStage.GPUSupportedFeatures.GPUSupportedLimits.GPUTexture.GPUTextureUsage.GPUTextureView.GPUUncapturedErrorEvent.GPUValidationError.GREATER.GREEN.GREEN_BITS.GainNode.Gamepad.GamepadAxisMoveEvent.GamepadButton.GamepadButtonEvent.GamepadEvent.GamepadHapticActuator.GamepadPose.Geolocation.GeolocationCoordinates.GeolocationPosition.GeolocationPositionError.GestureEvent.GetInfo.Global.GravitySensor.Gyroscope.HALF_FLOAT.HAVE_CURRENT_DATA.HAVE_ENOUGH_DATA.HAVE_FUTURE_DATA.HAVE_METADATA.HAVE_NOTHING.HEADERS_RECEIVED.HID.HIDConnectionEvent.HIDDEN.HIDDevice.HIDInputReportEvent.HIERARCHY_REQUEST_ERR.HIGHPASS.HIGHSHELF.HIGH_FLOAT.HIGH_INT.HORIZONTAL.HORIZONTAL_AXIS.HRTF.HTMLAllCollection.HTMLAnchorElement.HTMLAppletElement.HTMLAreaElement.HTMLAudioElement.HTMLBRElement.HTMLBaseElement.HTMLBaseFontElement.HTMLBlockquoteElement.HTMLBodyElement.HTMLButtonElement.HTMLCanvasElement.HTMLCollection.HTMLCommandElement.HTMLContentElement.HTMLDListElement.HTMLDataElement.HTMLDataListElement.HTMLDetailsElement.HTMLDialogElement.HTMLDirectoryElement.HTMLDivElement.HTMLDocument.HTMLElement.HTMLEmbedElement.HTMLFencedFrameElement.HTMLFieldSetElement.HTMLFontElement.HTMLFormControlsCollection.HTMLFormElement.HTMLFrameElement.HTMLFrameSetElement.HTMLHRElement.HTMLHeadElement.HTMLHeadingElement.HTMLHtmlElement.HTMLIFrameElement.HTMLImageElement.HTMLInputElement.HTMLIsIndexElement.HTMLKeygenElement.HTMLLIElement.HTMLLabelElement.HTMLLegendElement.HTMLLinkElement.HTMLMapElement.HTMLMarqueeElement.HTMLMediaElement.HTMLMenuElement.HTMLMenuItemElement.HTMLMetaElement.HTMLMeterElement.HTMLModElement.HTMLOListElement.HTMLObjectElement.HTMLOptGroupElement.HTMLOptionElement.HTMLOptionsCollection.HTMLOutputElement.HTMLParagraphElement.HTMLParamElement.HTMLPictureElement.HTMLPreElement.HTMLProgressElement.HTMLPropertiesCollection.HTMLQuoteElement.HTMLScriptElement.HTMLSelectElement.HTMLShadowElement.HTMLSlotElement.HTMLSourceElement.HTMLSpanElement.HTMLStyleElement.HTMLTableCaptionElement.HTMLTableCellElement.HTMLTableColElement.HTMLTableElement.HTMLTableRowElement.HTMLTableSectionElement.HTMLTemplateElement.HTMLTextAreaElement.HTMLTimeElement.HTMLTitleElement.HTMLTrackElement.HTMLUListElement.HTMLUnknownElement.HTMLVideoElement.HashChangeEvent.Headers.Highlight.HighlightRegistry.History.Hz.ICE_CHECKING.ICE_CLOSED.ICE_COMPLETED.ICE_CONNECTED.ICE_FAILED.ICE_GATHERING.ICE_WAITING.IDBCursor.IDBCursorWithValue.IDBDatabase.IDBDatabaseException.IDBFactory.IDBFileHandle.IDBFileRequest.IDBIndex.IDBKeyRange.IDBMutableFile.IDBObjectStore.IDBOpenDBRequest.IDBRequest.IDBTransaction.IDBVersionChangeEvent.IDLE.IIRFilterNode.IMPLEMENTATION_COLOR_READ_FORMAT.IMPLEMENTATION_COLOR_READ_TYPE.IMPORT_RULE.INCR.INCR_WRAP.INDEX.INDEX_SIZE_ERR.INDIRECT.INT.INTERLEAVED_ATTRIBS.INT_2_10_10_10_REV.INT_SAMPLER_2D.INT_SAMPLER_2D_ARRAY.INT_SAMPLER_3D.INT_SAMPLER_CUBE.INT_VEC2.INT_VEC3.INT_VEC4.INUSE_ATTRIBUTE_ERR.INVALID_ACCESS_ERR.INVALID_CHARACTER_ERR.INVALID_ENUM.INVALID_EXPRESSION_ERR.INVALID_FRAMEBUFFER_OPERATION.INVALID_INDEX.INVALID_MODIFICATION_ERR.INVALID_NODE_TYPE_ERR.INVALID_OPERATION.INVALID_STATE_ERR.INVALID_VALUE.INVERSE_DISTANCE.INVERT.IceCandidate.IconInfo.IdentityCredential.IdentityCredentialError.IdentityProvider.IdleDeadline.IdleDetector.Image.ImageBitmap.ImageBitmapRenderingContext.ImageCapture.ImageData.ImageDataType.ImageDecoder.ImageTrack.ImageTrackList.Infinity.Ink.InputDeviceCapabilities.InputDeviceInfo.InputEvent.InputMethodContext.InstallTrigger.InstallTriggerImpl.Instance.Int16Array.Int32Array.Int8Array.Intent.InternalError.IntersectionObserver.IntersectionObserverEntry.Intl.IsSearchProviderInstalled.Iterator.JSON.JSTag.KEEP.KEYDOWN.KEYFRAMES_RULE.KEYFRAME_RULE.KEYPRESS.KEYUP.KeyEvent.Keyboard.KeyboardEvent.KeyboardLayoutMap.KeyframeEffect.LENGTHADJUST_SPACING.LENGTHADJUST_SPACINGANDGLYPHS.LENGTHADJUST_UNKNOWN.LEQUAL.LESS.LINEAR.LINEAR_DISTANCE.LINEAR_MIPMAP_LINEAR.LINEAR_MIPMAP_NEAREST.LINES.LINE_LOOP.LINE_STRIP.LINE_WIDTH.LINK_STATUS.LIVE.LN10.LN2.LOADED.LOADING.LOG10E.LOG2E.LOWPASS.LOWSHELF.LOW_FLOAT.LOW_INT.LSException.LSParserFilter.LUMINANCE.LUMINANCE_ALPHA.LanguageCode.LargestContentfulPaint.LaunchParams.LaunchQueue.LaunchType.LayoutShift.LayoutShiftAttribution.LinearAccelerationSensor.LinkError.ListFormat.LocalMediaStream.Locale.Location.Lock.LockManager.MAP_READ.MAP_WRITE.MARGIN_RULE.MAX.MAX_3D_TEXTURE_SIZE.MAX_ARRAY_TEXTURE_LAYERS.MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND.MAX_CLIENT_WAIT_TIMEOUT_WEBGL.MAX_COLOR_ATTACHMENTS.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS.MAX_COMBINED_TEXTURE_IMAGE_UNITS.MAX_COMBINED_UNIFORM_BLOCKS.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS.MAX_CUBE_MAP_TEXTURE_SIZE.MAX_DRAW_BUFFERS.MAX_ELEMENTS_INDICES.MAX_ELEMENTS_VERTICES.MAX_ELEMENT_INDEX.MAX_FRAGMENT_INPUT_COMPONENTS.MAX_FRAGMENT_UNIFORM_BLOCKS.MAX_FRAGMENT_UNIFORM_COMPONENTS.MAX_FRAGMENT_UNIFORM_VECTORS.MAX_PROGRAM_TEXEL_OFFSET.MAX_RENDERBUFFER_SIZE.MAX_SAFE_INTEGER.MAX_SAMPLES.MAX_SERVER_WAIT_TIMEOUT.MAX_TEXTURE_IMAGE_UNITS.MAX_TEXTURE_LOD_BIAS.MAX_TEXTURE_MAX_ANISOTROPY_EXT.MAX_TEXTURE_SIZE.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS.MAX_UNIFORM_BLOCK_SIZE.MAX_UNIFORM_BUFFER_BINDINGS.MAX_VALUE.MAX_VARYING_COMPONENTS.MAX_VARYING_VECTORS.MAX_VERTEX_ATTRIBS.MAX_VERTEX_OUTPUT_COMPONENTS.MAX_VERTEX_TEXTURE_IMAGE_UNITS.MAX_VERTEX_UNIFORM_BLOCKS.MAX_VERTEX_UNIFORM_COMPONENTS.MAX_VERTEX_UNIFORM_VECTORS.MAX_VIEWPORT_DIMS.MEDIA_ERR_ABORTED.MEDIA_ERR_DECODE.MEDIA_ERR_ENCRYPTED.MEDIA_ERR_NETWORK.MEDIA_ERR_SRC_NOT_SUPPORTED.MEDIA_KEYERR_CLIENT.MEDIA_KEYERR_DOMAIN.MEDIA_KEYERR_HARDWARECHANGE.MEDIA_KEYERR_OUTPUT.MEDIA_KEYERR_SERVICE.MEDIA_KEYERR_UNKNOWN.MEDIA_RULE.MEDIUM_FLOAT.MEDIUM_INT.META_MASK.MIDIAccess.MIDIConnectionEvent.MIDIInput.MIDIInputMap.MIDIMessageEvent.MIDIOutput.MIDIOutputMap.MIDIPort.MIN.MIN_PROGRAM_TEXEL_OFFSET.MIN_SAFE_INTEGER.MIN_VALUE.MIRRORED_REPEAT.MODE_ASYNCHRONOUS.MODE_SYNCHRONOUS.MODIFICATION.MOUSEDOWN.MOUSEDRAG.MOUSEMOVE.MOUSEOUT.MOUSEOVER.MOUSEUP.MOZ_KEYFRAMES_RULE.MOZ_KEYFRAME_RULE.MOZ_SOURCE_CURSOR.MOZ_SOURCE_ERASER.MOZ_SOURCE_KEYBOARD.MOZ_SOURCE_MOUSE.MOZ_SOURCE_PEN.MOZ_SOURCE_TOUCH.MOZ_SOURCE_UNKNOWN.MSGESTURE_FLAG_BEGIN.MSGESTURE_FLAG_CANCEL.MSGESTURE_FLAG_END.MSGESTURE_FLAG_INERTIA.MSGESTURE_FLAG_NONE.MSPOINTER_TYPE_MOUSE.MSPOINTER_TYPE_PEN.MSPOINTER_TYPE_TOUCH.MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE.MS_ASYNC_CALLBACK_STATUS_CANCEL.MS_ASYNC_CALLBACK_STATUS_CHOOSEANY.MS_ASYNC_CALLBACK_STATUS_ERROR.MS_ASYNC_CALLBACK_STATUS_JOIN.MS_ASYNC_OP_STATUS_CANCELED.MS_ASYNC_OP_STATUS_ERROR.MS_ASYNC_OP_STATUS_SUCCESS.MS_MANIPULATION_STATE_ACTIVE.MS_MANIPULATION_STATE_CANCELLED.MS_MANIPULATION_STATE_COMMITTED.MS_MANIPULATION_STATE_DRAGGING.MS_MANIPULATION_STATE_INERTIA.MS_MANIPULATION_STATE_PRESELECT.MS_MANIPULATION_STATE_SELECTING.MS_MANIPULATION_STATE_STOPPED.MS_MEDIA_ERR_ENCRYPTED.MS_MEDIA_KEYERR_CLIENT.MS_MEDIA_KEYERR_DOMAIN.MS_MEDIA_KEYERR_HARDWARECHANGE.MS_MEDIA_KEYERR_OUTPUT.MS_MEDIA_KEYERR_SERVICE.MS_MEDIA_KEYERR_UNKNOWN.Map.Math.MathMLElement.MediaCapabilities.MediaCapabilitiesInfo.MediaController.MediaDeviceInfo.MediaDevices.MediaElementAudioSourceNode.MediaEncryptedEvent.MediaError.MediaKeyError.MediaKeyEvent.MediaKeyMessageEvent.MediaKeyNeededEvent.MediaKeySession.MediaKeyStatusMap.MediaKeySystemAccess.MediaKeys.MediaList.MediaMetadata.MediaQueryList.MediaQueryListEvent.MediaRecorder.MediaRecorderErrorEvent.MediaSession.MediaSettingsRange.MediaSource.MediaSourceHandle.MediaStream.MediaStreamAudioDestinationNode.MediaStreamAudioSourceNode.MediaStreamEvent.MediaStreamTrack.MediaStreamTrackAudioSourceNode.MediaStreamTrackAudioStats.MediaStreamTrackEvent.MediaStreamTrackGenerator.MediaStreamTrackProcessor.MediaStreamTrackVideoStats.Memory.MessageChannel.MessageEvent.MessagePort.MessageSender.Methods.MimeType.MimeTypeArray.Module.MouseEvent.MouseScrollEvent.MozAnimation.MozAnimationDelay.MozAnimationDirection.MozAnimationDuration.MozAnimationFillMode.MozAnimationIterationCount.MozAnimationName.MozAnimationPlayState.MozAnimationTimingFunction.MozAppearance.MozBackfaceVisibility.MozBinding.MozBorderBottomColors.MozBorderEnd.MozBorderEndColor.MozBorderEndStyle.MozBorderEndWidth.MozBorderImage.MozBorderLeftColors.MozBorderRightColors.MozBorderStart.MozBorderStartColor.MozBorderStartStyle.MozBorderStartWidth.MozBorderTopColors.MozBoxAlign.MozBoxDirection.MozBoxFlex.MozBoxOrdinalGroup.MozBoxOrient.MozBoxPack.MozBoxSizing.MozCSSKeyframeRule.MozCSSKeyframesRule.MozColumnCount.MozColumnFill.MozColumnGap.MozColumnRule.MozColumnRuleColor.MozColumnRuleStyle.MozColumnRuleWidth.MozColumnWidth.MozColumns.MozContactChangeEvent.MozFloatEdge.MozFontFeatureSettings.MozFontLanguageOverride.MozForceBrokenImageIcon.MozHyphens.MozImageRegion.MozMarginEnd.MozMarginStart.MozMmsEvent.MozMmsMessage.MozMobileMessageThread.MozOSXFontSmoothing.MozOrient.MozOsxFontSmoothing.MozOutlineRadius.MozOutlineRadiusBottomleft.MozOutlineRadiusBottomright.MozOutlineRadiusTopleft.MozOutlineRadiusTopright.MozPaddingEnd.MozPaddingStart.MozPerspective.MozPerspectiveOrigin.MozPowerManager.MozSettingsEvent.MozSmsEvent.MozSmsMessage.MozStackSizing.MozTabSize.MozTextAlignLast.MozTextDecorationColor.MozTextDecorationLine.MozTextDecorationStyle.MozTextSizeAdjust.MozTransform.MozTransformOrigin.MozTransformStyle.MozTransition.MozTransitionDelay.MozTransitionDuration.MozTransitionProperty.MozTransitionTimingFunction.MozUserFocus.MozUserInput.MozUserModify.MozUserSelect.MozWindowDragging.MozWindowShadow.MutationEvent.MutationObserver.MutationRecord.MutedInfo.MutedInfoReason.NAMESPACE_ERR.NAMESPACE_RULE.NEAREST.NEAREST_MIPMAP_LINEAR.NEAREST_MIPMAP_NEAREST.NEGATIVE_INFINITY.NETWORK_EMPTY.NETWORK_ERR.NETWORK_IDLE.NETWORK_LOADED.NETWORK_LOADING.NETWORK_NO_SOURCE.NEVER.NEW.NEXT.NEXT_NO_DUPLICATE.NICEST.NODE_AFTER.NODE_BEFORE.NODE_BEFORE_AND_AFTER.NODE_INSIDE.NONE.NON_TRANSIENT_ERR.NOTATION_NODE.NOTCH.NOTEQUAL.NOT_ALLOWED_ERR.NOT_FOUND_ERR.NOT_READABLE_ERR.NOT_SUPPORTED_ERR.NO_DATA_ALLOWED_ERR.NO_ERR.NO_ERROR.NO_MODIFICATION_ALLOWED_ERR.NUMBER_TYPE.NUM_COMPRESSED_TEXTURE_FORMATS.NaN.NamedNodeMap.NavigateEvent.Navigation.NavigationActivation.NavigationCurrentEntryChangeEvent.NavigationDestination.NavigationHistoryEntry.NavigationPreloadManager.NavigationTransition.Navigator.NavigatorLogin.NavigatorManagedData.NavigatorUAData.NearbyLinks.NetworkInformation.Node.NodeFilter.NodeIterator.NodeList.NotRestoredReasonDetails.NotRestoredReasons.Notation.Notification.NotifyPaintEvent.Number.NumberFormat.OBJECT_TYPE.OBSOLETE.OK.ONE.ONE_MINUS_CONSTANT_ALPHA.ONE_MINUS_CONSTANT_COLOR.ONE_MINUS_DST_ALPHA.ONE_MINUS_DST_COLOR.ONE_MINUS_SRC_ALPHA.ONE_MINUS_SRC_COLOR.OPEN.OPENED.OPENING.ORDERED_NODE_ITERATOR_TYPE.ORDERED_NODE_SNAPSHOT_TYPE.OTHER_ERROR.OTPCredential.OUT_OF_MEMORY.Object.OfflineAudioCompletionEvent.OfflineAudioContext.OfflineResourceList.OffscreenCanvas.OffscreenCanvasRenderingContext2D.OnClickData.OnInstalledReason.OnPerformanceWarningCategory.OnPerformanceWarningSeverity.OnRestartRequiredReason.Option.OrientationSensor.OscillatorNode.OverconstrainedError.OverflowEvent.PACK_ALIGNMENT.PACK_ROW_LENGTH.PACK_SKIP_PIXELS.PACK_SKIP_ROWS.PAGE_RULE.PARSE_ERR.PATHSEG_ARC_ABS.PATHSEG_ARC_REL.PATHSEG_CLOSEPATH.PATHSEG_CURVETO_CUBIC_ABS.PATHSEG_CURVETO_CUBIC_REL.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS.PATHSEG_CURVETO_CUBIC_SMOOTH_REL.PATHSEG_CURVETO_QUADRATIC_ABS.PATHSEG_CURVETO_QUADRATIC_REL.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL.PATHSEG_LINETO_ABS.PATHSEG_LINETO_HORIZONTAL_ABS.PATHSEG_LINETO_HORIZONTAL_REL.PATHSEG_LINETO_REL.PATHSEG_LINETO_VERTICAL_ABS.PATHSEG_LINETO_VERTICAL_REL.PATHSEG_MOVETO_ABS.PATHSEG_MOVETO_REL.PATHSEG_UNKNOWN.PATH_EXISTS_ERR.PEAKING.PERMISSION_DENIED.PERSISTENT.PI.PIXEL_PACK_BUFFER.PIXEL_PACK_BUFFER_BINDING.PIXEL_UNPACK_BUFFER.PIXEL_UNPACK_BUFFER_BINDING.PLAYING_STATE.POINTS.POLYGON_OFFSET_FACTOR.POLYGON_OFFSET_FILL.POLYGON_OFFSET_UNITS.POSITION_UNAVAILABLE.POSITIVE_INFINITY.PREV.PREV_NO_DUPLICATE.PROCESSING_INSTRUCTION_NODE.PageChangeEvent.PageRevealEvent.PageSettings.PageSwapEvent.PageTransitionEvent.PaintRequest.PaintRequestList.PannerNode.PasswordCredential.Path2D.PaymentAddress.PaymentInstruments.PaymentManager.PaymentMethodChangeEvent.PaymentRequest.PaymentRequestUpdateEvent.PaymentResponse.Performance.PerformanceElementTiming.PerformanceEntry.PerformanceEventTiming.PerformanceLongAnimationFrameTiming.PerformanceLongTaskTiming.PerformanceMark.PerformanceMeasure.PerformanceNavigation.PerformanceNavigationTiming.PerformanceObserver.PerformanceObserverEntryList.PerformancePaintTiming.PerformanceResourceTiming.PerformanceScriptTiming.PerformanceServerTiming.PerformanceTiming.PeriodicSyncManager.PeriodicWave.PermissionStatus.Permissions.PhotoCapabilities.PictureInPictureEvent.PictureInPictureWindow.PlatformArch.PlatformInfo.PlatformNaclArch.PlatformOs.Plugin.PluginArray.PluralRules.PointerEvent.PopStateEvent.PopupBlockedEvent.Port.Presentation.PresentationAvailability.PresentationConnection.PresentationConnectionAvailableEvent.PresentationConnectionCloseEvent.PresentationConnectionList.PresentationReceiver.PresentationRequest.PressureObserver.PressureRecord.ProcessingInstruction.Profiler.ProgressEvent.Promise.PromiseRejectionEvent.PropertyNodeList.ProtectedAudience.Proxy.PublicKeyCredential.PushManager.PushSubscription.PushSubscriptionOptions.Q.QUERY_RESOLVE.QUERY_RESULT.QUERY_RESULT_AVAILABLE.QUOTA_ERR.QUOTA_EXCEEDED_ERR.QueryInterface.R11F_G11F_B10F.R16F.R16I.R16UI.R32F.R32I.R32UI.R8.R8I.R8UI.R8_SNORM.RASTERIZER_DISCARD.READ.READ_BUFFER.READ_FRAMEBUFFER.READ_FRAMEBUFFER_BINDING.READ_ONLY.READ_ONLY_ERR.READ_WRITE.RED.RED_BITS.RED_INTEGER.REMOVAL.RENDERBUFFER.RENDERBUFFER_ALPHA_SIZE.RENDERBUFFER_BINDING.RENDERBUFFER_BLUE_SIZE.RENDERBUFFER_DEPTH_SIZE.RENDERBUFFER_GREEN_SIZE.RENDERBUFFER_HEIGHT.RENDERBUFFER_INTERNAL_FORMAT.RENDERBUFFER_RED_SIZE.RENDERBUFFER_SAMPLES.RENDERBUFFER_STENCIL_SIZE.RENDERBUFFER_WIDTH.RENDERER.RENDERING_INTENT_ABSOLUTE_COLORIMETRIC.RENDERING_INTENT_AUTO.RENDERING_INTENT_PERCEPTUAL.RENDERING_INTENT_RELATIVE_COLORIMETRIC.RENDERING_INTENT_SATURATION.RENDERING_INTENT_UNKNOWN.RENDER_ATTACHMENT.REPEAT.REPLACE.RG.RG16F.RG16I.RG16UI.RG32F.RG32I.RG32UI.RG8.RG8I.RG8UI.RG8_SNORM.RGB.RGB10_A2.RGB10_A2UI.RGB16F.RGB16I.RGB16UI.RGB32F.RGB32I.RGB32UI.RGB565.RGB5_A1.RGB8.RGB8I.RGB8UI.RGB8_SNORM.RGB9_E5.RGBA.RGBA16F.RGBA16I.RGBA16UI.RGBA32F.RGBA32I.RGBA32UI.RGBA4.RGBA8.RGBA8I.RGBA8UI.RGBA8_SNORM.RGBA_INTEGER.RGBColor.RGB_INTEGER.RG_INTEGER.ROTATION_CLOCKWISE.ROTATION_COUNTERCLOCKWISE.RTCCertificate.RTCDTMFSender.RTCDTMFToneChangeEvent.RTCDataChannel.RTCDataChannelEvent.RTCDtlsTransport.RTCEncodedAudioFrame.RTCEncodedVideoFrame.RTCError.RTCErrorEvent.RTCIceCandidate.RTCIceTransport.RTCPeerConnection.RTCPeerConnectionIceErrorEvent.RTCPeerConnectionIceEvent.RTCRtpReceiver.RTCRtpScriptTransform.RTCRtpSender.RTCRtpTransceiver.RTCSctpTransport.RTCSessionDescription.RTCStatsReport.RTCTrackEvent.RadioNodeList.Range.RangeError.RangeException.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.RecordErrorEvent.Rect.ReferenceError.Reflect.RegExp.RelativeOrientationSensor.RelativeTimeFormat.RemotePlayback.Report.ReportBody.ReportingObserver.Request.RequestUpdateCheckStatus.ResizeObserver.ResizeObserverEntry.ResizeObserverSize.Response.RuntimeError.SAMPLER_2D.SAMPLER_2D_ARRAY.SAMPLER_2D_ARRAY_SHADOW.SAMPLER_2D_SHADOW.SAMPLER_3D.SAMPLER_BINDING.SAMPLER_CUBE.SAMPLER_CUBE_SHADOW.SAMPLES.SAMPLE_ALPHA_TO_COVERAGE.SAMPLE_BUFFERS.SAMPLE_COVERAGE.SAMPLE_COVERAGE_INVERT.SAMPLE_COVERAGE_VALUE.SAWTOOTH.SCHEDULED_STATE.SCISSOR_BOX.SCISSOR_TEST.SCROLL_PAGE_DOWN.SCROLL_PAGE_UP.SDP_ANSWER.SDP_OFFER.SDP_PRANSWER.SECURITY_ERR.SELECT.SEPARATE_ATTRIBS.SERIALIZE_ERR.SEVERITY_ERROR.SEVERITY_FATAL_ERROR.SEVERITY_WARNING.SHADER_COMPILER.SHADER_TYPE.SHADING_LANGUAGE_VERSION.SHIFT_MASK.SHORT.SHOWING.SHOW_ALL.SHOW_ATTRIBUTE.SHOW_CDATA_SECTION.SHOW_COMMENT.SHOW_DOCUMENT.SHOW_DOCUMENT_FRAGMENT.SHOW_DOCUMENT_TYPE.SHOW_ELEMENT.SHOW_ENTITY.SHOW_ENTITY_REFERENCE.SHOW_NOTATION.SHOW_PROCESSING_INSTRUCTION.SHOW_TEXT.SIGNALED.SIGNED_NORMALIZED.SINE.SOUNDFIELD.SQLException.SQRT1_2.SQRT2.SQUARE.SRC_ALPHA.SRC_ALPHA_SATURATE.SRC_COLOR.SRGB.SRGB8.SRGB8_ALPHA8.START_TO_END.START_TO_START.STATIC_COPY.STATIC_DRAW.STATIC_READ.STENCIL.STENCIL_ATTACHMENT.STENCIL_BACK_FAIL.STENCIL_BACK_FUNC.STENCIL_BACK_PASS_DEPTH_FAIL.STENCIL_BACK_PASS_DEPTH_PASS.STENCIL_BACK_REF.STENCIL_BACK_VALUE_MASK.STENCIL_BACK_WRITEMASK.STENCIL_BITS.STENCIL_BUFFER_BIT.STENCIL_CLEAR_VALUE.STENCIL_FAIL.STENCIL_FUNC.STENCIL_INDEX.STENCIL_INDEX8.STENCIL_PASS_DEPTH_FAIL.STENCIL_PASS_DEPTH_PASS.STENCIL_REF.STENCIL_TEST.STENCIL_VALUE_MASK.STENCIL_WRITEMASK.STORAGE.STORAGE_BINDING.STREAM_COPY.STREAM_DRAW.STREAM_READ.STRING_TYPE.STYLE_RULE.SUBPIXEL_BITS.SUPPORTS_RULE.SVGAElement.SVGAltGlyphDefElement.SVGAltGlyphElement.SVGAltGlyphItemElement.SVGAngle.SVGAnimateColorElement.SVGAnimateElement.SVGAnimateMotionElement.SVGAnimateTransformElement.SVGAnimatedAngle.SVGAnimatedBoolean.SVGAnimatedEnumeration.SVGAnimatedInteger.SVGAnimatedLength.SVGAnimatedLengthList.SVGAnimatedNumber.SVGAnimatedNumberList.SVGAnimatedPreserveAspectRatio.SVGAnimatedRect.SVGAnimatedString.SVGAnimatedTransformList.SVGAnimationElement.SVGCircleElement.SVGClipPathElement.SVGColor.SVGComponentTransferFunctionElement.SVGCursorElement.SVGDefsElement.SVGDescElement.SVGDiscardElement.SVGDocument.SVGElement.SVGElementInstance.SVGElementInstanceList.SVGEllipseElement.SVGException.SVGFEBlendElement.SVGFEColorMatrixElement.SVGFEComponentTransferElement.SVGFECompositeElement.SVGFEConvolveMatrixElement.SVGFEDiffuseLightingElement.SVGFEDisplacementMapElement.SVGFEDistantLightElement.SVGFEDropShadowElement.SVGFEFloodElement.SVGFEFuncAElement.SVGFEFuncBElement.SVGFEFuncGElement.SVGFEFuncRElement.SVGFEGaussianBlurElement.SVGFEImageElement.SVGFEMergeElement.SVGFEMergeNodeElement.SVGFEMorphologyElement.SVGFEOffsetElement.SVGFEPointLightElement.SVGFESpecularLightingElement.SVGFESpotLightElement.SVGFETileElement.SVGFETurbulenceElement.SVGFilterElement.SVGFontElement.SVGFontFaceElement.SVGFontFaceFormatElement.SVGFontFaceNameElement.SVGFontFaceSrcElement.SVGFontFaceUriElement.SVGForeignObjectElement.SVGGElement.SVGGeometryElement.SVGGlyphElement.SVGGlyphRefElement.SVGGradientElement.SVGGraphicsElement.SVGHKernElement.SVGImageElement.SVGLength.SVGLengthList.SVGLineElement.SVGLinearGradientElement.SVGMPathElement.SVGMarkerElement.SVGMaskElement.SVGMatrix.SVGMetadataElement.SVGMissingGlyphElement.SVGNumber.SVGNumberList.SVGPaint.SVGPathElement.SVGPathSeg.SVGPathSegArcAbs.SVGPathSegArcRel.SVGPathSegClosePath.SVGPathSegCurvetoCubicAbs.SVGPathSegCurvetoCubicRel.SVGPathSegCurvetoCubicSmoothAbs.SVGPathSegCurvetoCubicSmoothRel.SVGPathSegCurvetoQuadraticAbs.SVGPathSegCurvetoQuadraticRel.SVGPathSegCurvetoQuadraticSmoothAbs.SVGPathSegCurvetoQuadraticSmoothRel.SVGPathSegLinetoAbs.SVGPathSegLinetoHorizontalAbs.SVGPathSegLinetoHorizontalRel.SVGPathSegLinetoRel.SVGPathSegLinetoVerticalAbs.SVGPathSegLinetoVerticalRel.SVGPathSegList.SVGPathSegMovetoAbs.SVGPathSegMovetoRel.SVGPatternElement.SVGPoint.SVGPointList.SVGPolygonElement.SVGPolylineElement.SVGPreserveAspectRatio.SVGRadialGradientElement.SVGRect.SVGRectElement.SVGRenderingIntent.SVGSVGElement.SVGScriptElement.SVGSetElement.SVGStopElement.SVGStringList.SVGStyleElement.SVGSwitchElement.SVGSymbolElement.SVGTRefElement.SVGTSpanElement.SVGTextContentElement.SVGTextElement.SVGTextPathElement.SVGTextPositioningElement.SVGTitleElement.SVGTransform.SVGTransformList.SVGUnitTypes.SVGUseElement.SVGVKernElement.SVGViewElement.SVGViewSpec.SVGZoomAndPan.SVGZoomEvent.SVG_ANGLETYPE_DEG.SVG_ANGLETYPE_GRAD.SVG_ANGLETYPE_RAD.SVG_ANGLETYPE_UNKNOWN.SVG_ANGLETYPE_UNSPECIFIED.SVG_CHANNEL_A.SVG_CHANNEL_B.SVG_CHANNEL_G.SVG_CHANNEL_R.SVG_CHANNEL_UNKNOWN.SVG_COLORTYPE_CURRENTCOLOR.SVG_COLORTYPE_RGBCOLOR.SVG_COLORTYPE_RGBCOLOR_ICCCOLOR.SVG_COLORTYPE_UNKNOWN.SVG_EDGEMODE_DUPLICATE.SVG_EDGEMODE_NONE.SVG_EDGEMODE_UNKNOWN.SVG_EDGEMODE_WRAP.SVG_FEBLEND_MODE_COLOR.SVG_FEBLEND_MODE_COLOR_BURN.SVG_FEBLEND_MODE_COLOR_DODGE.SVG_FEBLEND_MODE_DARKEN.SVG_FEBLEND_MODE_DIFFERENCE.SVG_FEBLEND_MODE_EXCLUSION.SVG_FEBLEND_MODE_HARD_LIGHT.SVG_FEBLEND_MODE_HUE.SVG_FEBLEND_MODE_LIGHTEN.SVG_FEBLEND_MODE_LUMINOSITY.SVG_FEBLEND_MODE_MULTIPLY.SVG_FEBLEND_MODE_NORMAL.SVG_FEBLEND_MODE_OVERLAY.SVG_FEBLEND_MODE_SATURATION.SVG_FEBLEND_MODE_SCREEN.SVG_FEBLEND_MODE_SOFT_LIGHT.SVG_FEBLEND_MODE_UNKNOWN.SVG_FECOLORMATRIX_TYPE_HUEROTATE.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA.SVG_FECOLORMATRIX_TYPE_MATRIX.SVG_FECOLORMATRIX_TYPE_SATURATE.SVG_FECOLORMATRIX_TYPE_UNKNOWN.SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE.SVG_FECOMPONENTTRANSFER_TYPE_GAMMA.SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY.SVG_FECOMPONENTTRANSFER_TYPE_LINEAR.SVG_FECOMPONENTTRANSFER_TYPE_TABLE.SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC.SVG_FECOMPOSITE_OPERATOR_ATOP.SVG_FECOMPOSITE_OPERATOR_IN.SVG_FECOMPOSITE_OPERATOR_LIGHTER.SVG_FECOMPOSITE_OPERATOR_OUT.SVG_FECOMPOSITE_OPERATOR_OVER.SVG_FECOMPOSITE_OPERATOR_UNKNOWN.SVG_FECOMPOSITE_OPERATOR_XOR.SVG_INVALID_VALUE_ERR.SVG_LENGTHTYPE_CM.SVG_LENGTHTYPE_EMS.SVG_LENGTHTYPE_EXS.SVG_LENGTHTYPE_IN.SVG_LENGTHTYPE_MM.SVG_LENGTHTYPE_NUMBER.SVG_LENGTHTYPE_PC.SVG_LENGTHTYPE_PERCENTAGE.SVG_LENGTHTYPE_PT.SVG_LENGTHTYPE_PX.SVG_LENGTHTYPE_UNKNOWN.SVG_MARKERUNITS_STROKEWIDTH.SVG_MARKERUNITS_UNKNOWN.SVG_MARKERUNITS_USERSPACEONUSE.SVG_MARKER_ORIENT_ANGLE.SVG_MARKER_ORIENT_AUTO.SVG_MARKER_ORIENT_AUTO_START_REVERSE.SVG_MARKER_ORIENT_UNKNOWN.SVG_MASKTYPE_ALPHA.SVG_MASKTYPE_LUMINANCE.SVG_MATRIX_NOT_INVERTABLE.SVG_MEETORSLICE_MEET.SVG_MEETORSLICE_SLICE.SVG_MEETORSLICE_UNKNOWN.SVG_MORPHOLOGY_OPERATOR_DILATE.SVG_MORPHOLOGY_OPERATOR_ERODE.SVG_MORPHOLOGY_OPERATOR_UNKNOWN.SVG_PAINTTYPE_CURRENTCOLOR.SVG_PAINTTYPE_NONE.SVG_PAINTTYPE_RGBCOLOR.SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR.SVG_PAINTTYPE_UNKNOWN.SVG_PAINTTYPE_URI.SVG_PAINTTYPE_URI_CURRENTCOLOR.SVG_PAINTTYPE_URI_NONE.SVG_PAINTTYPE_URI_RGBCOLOR.SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR.SVG_PRESERVEASPECTRATIO_NONE.SVG_PRESERVEASPECTRATIO_UNKNOWN.SVG_PRESERVEASPECTRATIO_XMAXYMAX.SVG_PRESERVEASPECTRATIO_XMAXYMID.SVG_PRESERVEASPECTRATIO_XMAXYMIN.SVG_PRESERVEASPECTRATIO_XMIDYMAX.SVG_PRESERVEASPECTRATIO_XMIDYMID.SVG_PRESERVEASPECTRATIO_XMIDYMIN.SVG_PRESERVEASPECTRATIO_XMINYMAX.SVG_PRESERVEASPECTRATIO_XMINYMID.SVG_PRESERVEASPECTRATIO_XMINYMIN.SVG_SPREADMETHOD_PAD.SVG_SPREADMETHOD_REFLECT.SVG_SPREADMETHOD_REPEAT.SVG_SPREADMETHOD_UNKNOWN.SVG_STITCHTYPE_NOSTITCH.SVG_STITCHTYPE_STITCH.SVG_STITCHTYPE_UNKNOWN.SVG_TRANSFORM_MATRIX.SVG_TRANSFORM_ROTATE.SVG_TRANSFORM_SCALE.SVG_TRANSFORM_SKEWX.SVG_TRANSFORM_SKEWY.SVG_TRANSFORM_TRANSLATE.SVG_TRANSFORM_UNKNOWN.SVG_TURBULENCE_TYPE_FRACTALNOISE.SVG_TURBULENCE_TYPE_TURBULENCE.SVG_TURBULENCE_TYPE_UNKNOWN.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX.SVG_UNIT_TYPE_UNKNOWN.SVG_UNIT_TYPE_USERSPACEONUSE.SVG_WRONG_TYPE_ERR.SVG_ZOOMANDPAN_DISABLE.SVG_ZOOMANDPAN_MAGNIFY.SVG_ZOOMANDPAN_UNKNOWN.SYNC_CONDITION.SYNC_FENCE.SYNC_FLAGS.SYNC_FLUSH_COMMANDS_BIT.SYNC_GPU_COMMANDS_COMPLETE.SYNC_STATUS.SYNTAX_ERR.SavedPages.Scheduler.Scheduling.Screen.ScreenDetailed.ScreenDetails.ScreenOrientation.Script.ScriptProcessorNode.ScrollAreaEvent.ScrollTimeline.SecurityPolicyViolationEvent.Segmenter.Selection.Sensor.SensorErrorEvent.Serial.SerialPort.ServiceWorker.ServiceWorkerContainer.ServiceWorkerRegistration.SessionDescription.Set.ShadowRoot.SharedArrayBuffer.SharedStorage.SharedStorageWorklet.SharedWorker.SharingState.SimpleGestureEvent.SnapEvent.SourceBuffer.SourceBufferList.SpeechSynthesis.SpeechSynthesisErrorEvent.SpeechSynthesisEvent.SpeechSynthesisUtterance.SpeechSynthesisVoice.StaticRange.StereoPannerNode.StopIteration.Storage.StorageBucket.StorageBucketManager.StorageEvent.StorageManager.String.StructType.StylePropertyMap.StylePropertyMapReadOnly.StyleSheet.StyleSheetList.SubmitEvent.SubtleCrypto.Symbol.SyncManager.SyntaxError.TAB_ID_NONE.TAB_INDEX_NONE.TEMPORARY.TEXTPATH_METHODTYPE_ALIGN.TEXTPATH_METHODTYPE_STRETCH.TEXTPATH_METHODTYPE_UNKNOWN.TEXTPATH_SPACINGTYPE_AUTO.TEXTPATH_SPACINGTYPE_EXACT.TEXTPATH_SPACINGTYPE_UNKNOWN.TEXTURE.TEXTURE0.TEXTURE1.TEXTURE10.TEXTURE11.TEXTURE12.TEXTURE13.TEXTURE14.TEXTURE15.TEXTURE16.TEXTURE17.TEXTURE18.TEXTURE19.TEXTURE2.TEXTURE20.TEXTURE21.TEXTURE22.TEXTURE23.TEXTURE24.TEXTURE25.TEXTURE26.TEXTURE27.TEXTURE28.TEXTURE29.TEXTURE3.TEXTURE30.TEXTURE31.TEXTURE4.TEXTURE5.TEXTURE6.TEXTURE7.TEXTURE8.TEXTURE9.TEXTURE_2D.TEXTURE_2D_ARRAY.TEXTURE_3D.TEXTURE_BASE_LEVEL.TEXTURE_BINDING.TEXTURE_BINDING_2D.TEXTURE_BINDING_2D_ARRAY.TEXTURE_BINDING_3D.TEXTURE_BINDING_CUBE_MAP.TEXTURE_COMPARE_FUNC.TEXTURE_COMPARE_MODE.TEXTURE_CUBE_MAP.TEXTURE_CUBE_MAP_NEGATIVE_X.TEXTURE_CUBE_MAP_NEGATIVE_Y.TEXTURE_CUBE_MAP_NEGATIVE_Z.TEXTURE_CUBE_MAP_POSITIVE_X.TEXTURE_CUBE_MAP_POSITIVE_Y.TEXTURE_CUBE_MAP_POSITIVE_Z.TEXTURE_IMMUTABLE_FORMAT.TEXTURE_IMMUTABLE_LEVELS.TEXTURE_MAG_FILTER.TEXTURE_MAX_ANISOTROPY_EXT.TEXTURE_MAX_LEVEL.TEXTURE_MAX_LOD.TEXTURE_MIN_FILTER.TEXTURE_MIN_LOD.TEXTURE_WRAP_R.TEXTURE_WRAP_S.TEXTURE_WRAP_T.TEXT_NODE.TIMEOUT.TIMEOUT_ERR.TIMEOUT_EXPIRED.TIMEOUT_IGNORED.TOO_LARGE_ERR.TRANSACTION_INACTIVE_ERR.TRANSFORM_FEEDBACK.TRANSFORM_FEEDBACK_ACTIVE.TRANSFORM_FEEDBACK_BINDING.TRANSFORM_FEEDBACK_BUFFER.TRANSFORM_FEEDBACK_BUFFER_BINDING.TRANSFORM_FEEDBACK_BUFFER_MODE.TRANSFORM_FEEDBACK_BUFFER_SIZE.TRANSFORM_FEEDBACK_BUFFER_START.TRANSFORM_FEEDBACK_PAUSED.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN.TRANSFORM_FEEDBACK_VARYINGS.TRIANGLE.TRIANGLES.TRIANGLE_FAN.TRIANGLE_STRIP.TYPE_BACK_FORWARD.TYPE_ERR.TYPE_MISMATCH_ERR.TYPE_NAVIGATE.TYPE_RELOAD.TYPE_RESERVED.Tab.TabStatus.Table.Tag.TaskAttributionTiming.TaskController.TaskPriorityChangeEvent.TaskSignal.Text.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TextEvent.TextFormat.TextFormatUpdateEvent.TextMetrics.TextTrack.TextTrackCue.TextTrackCueList.TextTrackList.TextUpdateEvent.TimeEvent.TimeRanges.ToggleEvent.Touch.TouchEvent.TouchList.TrackEvent.TransformStream.TransformStreamDefaultController.TransitionEvent.TreeWalker.TrustedHTML.TrustedScript.TrustedScriptURL.TrustedTypePolicy.TrustedTypePolicyFactory.TypeError.TypedObject.U2F.UIEvent.UNCACHED.UNIFORM.UNIFORM_ARRAY_STRIDE.UNIFORM_BLOCK_ACTIVE_UNIFORMS.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES.UNIFORM_BLOCK_BINDING.UNIFORM_BLOCK_DATA_SIZE.UNIFORM_BLOCK_INDEX.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER.UNIFORM_BUFFER.UNIFORM_BUFFER_BINDING.UNIFORM_BUFFER_OFFSET_ALIGNMENT.UNIFORM_BUFFER_SIZE.UNIFORM_BUFFER_START.UNIFORM_IS_ROW_MAJOR.UNIFORM_MATRIX_STRIDE.UNIFORM_OFFSET.UNIFORM_SIZE.UNIFORM_TYPE.UNKNOWN_ERR.UNKNOWN_RULE.UNMASKED_RENDERER_WEBGL.UNMASKED_VENDOR_WEBGL.UNORDERED_NODE_ITERATOR_TYPE.UNORDERED_NODE_SNAPSHOT_TYPE.UNPACK_ALIGNMENT.UNPACK_COLORSPACE_CONVERSION_WEBGL.UNPACK_FLIP_Y_WEBGL.UNPACK_IMAGE_HEIGHT.UNPACK_PREMULTIPLY_ALPHA_WEBGL.UNPACK_ROW_LENGTH.UNPACK_SKIP_IMAGES.UNPACK_SKIP_PIXELS.UNPACK_SKIP_ROWS.UNSCHEDULED_STATE.UNSENT.UNSIGNALED.UNSIGNED_BYTE.UNSIGNED_INT.UNSIGNED_INT_10F_11F_11F_REV.UNSIGNED_INT_24_8.UNSIGNED_INT_2_10_10_10_REV.UNSIGNED_INT_5_9_9_9_REV.UNSIGNED_INT_SAMPLER_2D.UNSIGNED_INT_SAMPLER_2D_ARRAY.UNSIGNED_INT_SAMPLER_3D.UNSIGNED_INT_SAMPLER_CUBE.UNSIGNED_INT_VEC2.UNSIGNED_INT_VEC3.UNSIGNED_INT_VEC4.UNSIGNED_NORMALIZED.UNSIGNED_SHORT.UNSIGNED_SHORT_4_4_4_4.UNSIGNED_SHORT_5_5_5_1.UNSIGNED_SHORT_5_6_5.UNSPECIFIED_EVENT_TYPE_ERR.UPDATEREADY.URIError.URL.URLPattern.URLSearchParams.URLUnencoded.URL_MISMATCH_ERR.USB.USBAlternateInterface.USBConfiguration.USBConnectionEvent.USBDevice.USBEndpoint.USBInTransferResult.USBInterface.USBIsochronousInTransferPacket.USBIsochronousInTransferResult.USBIsochronousOutTransferPacket.USBIsochronousOutTransferResult.USBOutTransferResult.UTC.Uint16Array.Uint32Array.Uint8Array.Uint8ClampedArray.UpdateFilter.UpdatePropertyName.UserActivation.UserMessageHandler.UserMessageHandlersNamespace.UserProximityEvent.VALIDATE_STATUS.VALIDATION_ERR.VARIABLES_RULE.VENDOR.VERSION.VERSION_CHANGE.VERSION_ERR.VERTEX.VERTEX_ARRAY_BINDING.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING.VERTEX_ATTRIB_ARRAY_DIVISOR.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE.VERTEX_ATTRIB_ARRAY_ENABLED.VERTEX_ATTRIB_ARRAY_INTEGER.VERTEX_ATTRIB_ARRAY_NORMALIZED.VERTEX_ATTRIB_ARRAY_POINTER.VERTEX_ATTRIB_ARRAY_SIZE.VERTEX_ATTRIB_ARRAY_STRIDE.VERTEX_ATTRIB_ARRAY_TYPE.VERTEX_SHADER.VERTICAL.VERTICAL_AXIS.VER_ERR.VIEWPORT.VIEWPORT_RULE.VRDisplay.VRDisplayCapabilities.VRDisplayEvent.VREyeParameters.VRFieldOfView.VRFrameData.VRPose.VRStageParameters.VTTCue.VTTRegion.ValidityState.VideoColorSpace.VideoDecoder.VideoEncoder.VideoFrame.VideoPlaybackQuality.VideoStreamTrack.ViewTimeline.ViewTransition.ViewTransitionTypeSet.ViewType.VirtualKeyboard.VirtualKeyboardGeometryChangeEvent.VisibilityStateEntry.VisualViewport.WAIT_FAILED.WEBKIT_FILTER_RULE.WEBKIT_KEYFRAMES_RULE.WEBKIT_KEYFRAME_RULE.WEBKIT_REGION_RULE.WGSLLanguageFeatures.WINDOW_ID_CURRENT.WINDOW_ID_NONE.WRITE.WRONG_DOCUMENT_ERR.WakeLock.WakeLockSentinel.WasmAnyRef.WaveShaperNode.WeakMap.WeakRef.WeakSet.WebAssembly.WebGL2RenderingContext.WebGLActiveInfo.WebGLBuffer.WebGLContextEvent.WebGLFramebuffer.WebGLObject.WebGLProgram.WebGLQuery.WebGLRenderbuffer.WebGLRenderingContext.WebGLSampler.WebGLShader.WebGLShaderPrecisionFormat.WebGLSync.WebGLTexture.WebGLTransformFeedback.WebGLUniformLocation.WebGLVertexArray.WebGLVertexArrayObject.WebKitAnimationEvent.WebKitBlobBuilder.WebKitCSSFilterRule.WebKitCSSFilterValue.WebKitCSSKeyframeRule.WebKitCSSKeyframesRule.WebKitCSSMatrix.WebKitCSSRegionRule.WebKitCSSTransformValue.WebKitDataCue.WebKitGamepad.WebKitMediaKeyError.WebKitMediaKeyMessageEvent.WebKitMediaKeySession.WebKitMediaKeys.WebKitMediaSource.WebKitMutationObserver.WebKitNamespace.WebKitPlaybackTargetAvailabilityEvent.WebKitPoint.WebKitShadowRoot.WebKitSourceBuffer.WebKitSourceBufferList.WebKitTransitionEvent.WebSocket.WebSocketError.WebSocketStream.WebTransport.WebTransportBidirectionalStream.WebTransportDatagramDuplexStream.WebTransportError.WebTransportReceiveStream.WebTransportSendStream.WebkitAlignContent.WebkitAlignItems.WebkitAlignSelf.WebkitAnimation.WebkitAnimationDelay.WebkitAnimationDirection.WebkitAnimationDuration.WebkitAnimationFillMode.WebkitAnimationIterationCount.WebkitAnimationName.WebkitAnimationPlayState.WebkitAnimationTimingFunction.WebkitAppearance.WebkitBackfaceVisibility.WebkitBackgroundClip.WebkitBackgroundOrigin.WebkitBackgroundSize.WebkitBorderBottomLeftRadius.WebkitBorderBottomRightRadius.WebkitBorderImage.WebkitBorderRadius.WebkitBorderTopLeftRadius.WebkitBorderTopRightRadius.WebkitBoxAlign.WebkitBoxDirection.WebkitBoxFlex.WebkitBoxOrdinalGroup.WebkitBoxOrient.WebkitBoxPack.WebkitBoxShadow.WebkitBoxSizing.WebkitClipPath.WebkitFilter.WebkitFlex.WebkitFlexBasis.WebkitFlexDirection.WebkitFlexFlow.WebkitFlexGrow.WebkitFlexShrink.WebkitFlexWrap.WebkitFontFeatureSettings.WebkitJustifyContent.WebkitLineClamp.WebkitMask.WebkitMaskClip.WebkitMaskComposite.WebkitMaskImage.WebkitMaskOrigin.WebkitMaskPosition.WebkitMaskPositionX.WebkitMaskPositionY.WebkitMaskRepeat.WebkitMaskSize.WebkitOrder.WebkitPerspective.WebkitPerspectiveOrigin.WebkitTextFillColor.WebkitTextSecurity.WebkitTextSizeAdjust.WebkitTextStroke.WebkitTextStrokeColor.WebkitTextStrokeWidth.WebkitTransform.WebkitTransformOrigin.WebkitTransformStyle.WebkitTransition.WebkitTransitionDelay.WebkitTransitionDuration.WebkitTransitionProperty.WebkitTransitionTimingFunction.WebkitUserSelect.WheelEvent.Window.WindowControlsOverlay.WindowControlsOverlayGeometryChangeEvent.WindowState.WindowType.Worker.Worklet.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.XMLDocument.XMLHttpRequest.XMLHttpRequestEventTarget.XMLHttpRequestException.XMLHttpRequestProgressEvent.XMLHttpRequestUpload.XMLSerializer.XMLStylesheetProcessingInstruction.XPathEvaluator.XPathException.XPathExpression.XPathNSResolver.XPathResult.XRAnchor.XRAnchorSet.XRBoundedReferenceSpace.XRCPUDepthInformation.XRCamera.XRDOMOverlayState.XRDepthInformation.XRFrame.XRHand.XRHitTestResult.XRHitTestSource.XRInputSource.XRInputSourceArray.XRInputSourceEvent.XRInputSourcesChangeEvent.XRJointPose.XRJointSpace.XRLayer.XRLightEstimate.XRLightProbe.XRPose.XRRay.XRReferenceSpace.XRReferenceSpaceEvent.XRRenderState.XRRigidTransform.XRSession.XRSessionEvent.XRSpace.XRSystem.XRTransientInputHitTestResult.XRTransientInputHitTestSource.XRView.XRViewerPose.XRViewport.XRWebGLBinding.XRWebGLDepthInformation.XRWebGLLayer.XSLTProcessor.ZERO.ZoomSettings.ZoomSettingsMode.ZoomSettingsScope._XD0M_._YD0M_.__REACT_DEVTOOLS_GLOBAL_HOOK__.__brand.__defineGetter__.__defineSetter__.__lookupGetter__.__lookupSetter__.__opera.__proto__._browserjsran.a.aLink.abbr.abort.aborted.aboutConfigPrefs.abs.absolute.acceleration.accelerationIncludingGravity.accelerator.accent-color.accentColor.accept.acceptCharset.acceptNode.access.accessKey.accessKeyLabel.accuracy.acos.acosh.action.actionURL.actions.activated.activation.activationStart.active.activeCues.activeElement.activeSourceBuffers.activeSourceCount.activeTexture.activeVRDisplays.activityLog.actualBoundingBoxAscent.actualBoundingBoxDescent.actualBoundingBoxLeft.actualBoundingBoxRight.adAuctionComponents.adAuctionHeaders.add.addAll.addBehavior.addCandidate.addColorStop.addCue.addElement.addEventListener.addFilter.addFromString.addFromUri.addIceCandidate.addImport.addListener.addModule.addNamed.addPageRule.addPath.addPointer.addRange.addRegion.addRule.addSearchEngine.addSourceBuffer.addStream.addTextTrack.addTrack.addTransceiver.addWakeLockListener.added.addedNodes.additionalName.additiveSymbols.addons.address.addressLine.addressModeU.addressModeV.addressModeW.adoptNode.adoptedCallback.adoptedStyleSheets.adr.advance.after.alarms.album.alert.algorithm.align.align-content.align-items.align-self.alignContent.alignItems.alignSelf.alignmentBaseline.alinkColor.all.allSettled.allocationSize.allow.allowFullscreen.allowPaymentRequest.allowedDirections.allowedFeatures.allowedToPlay.allowsFeature.alpha.alphaMode.alphaToCoverageEnabled.alphabeticBaseline.alt.altGraphKey.altHtml.altKey.altLeft.alternate.alternateSetting.alternates.altitude.altitudeAccuracy.altitudeAngle.amplitude.ancestorOrigins.anchor.anchorNode.anchorOffset.anchorSpace.anchors.and.angle.angularAcceleration.angularVelocity.animVal.animate.animated.animatedInstanceRoot.animatedNormalizedPathSegList.animatedPathSegList.animatedPoints.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-timing-function.animationComposition.animationDelay.animationDirection.animationDuration.animationFillMode.animationIterationCount.animationName.animationPlayState.animationStartTime.animationTimingFunction.animationsPaused.anniversary.antialias.anticipatedRemoval.any.app.appCodeName.appMinorVersion.appName.appNotifications.appVersion.appearance.append.appendBuffer.appendChild.appendData.appendItem.appendMedium.appendNamed.appendRule.appendStream.appendWindowEnd.appendWindowStart.applets.applicationCache.applicationServerKey.apply.applyConstraints.applyElement.arc.arcTo.arch.architecture.archive.areas.arguments.ariaAtomic.ariaAutoComplete.ariaBrailleLabel.ariaBrailleRoleDescription.ariaBusy.ariaChecked.ariaColCount.ariaColIndex.ariaColIndexText.ariaColSpan.ariaCurrent.ariaDescription.ariaDisabled.ariaExpanded.ariaHasPopup.ariaHidden.ariaInvalid.ariaKeyShortcuts.ariaLabel.ariaLevel.ariaLive.ariaModal.ariaMultiLine.ariaMultiSelectable.ariaOrientation.ariaPlaceholder.ariaPosInSet.ariaPressed.ariaReadOnly.ariaRelevant.ariaRequired.ariaRoleDescription.ariaRowCount.ariaRowIndex.ariaRowIndexText.ariaRowSpan.ariaSelected.ariaSetSize.ariaSort.ariaValueMax.ariaValueMin.ariaValueNow.ariaValueText.arrayBuffer.arrayLayerCount.arrayStride.artist.artwork.as.asIntN.asUintN.ascentOverride.asin.asinh.aspect.aspect-ratio.aspectRatio.assert.assign.assignedElements.assignedNodes.assignedSlot.async.asyncDispose.asyncIterator.at.atEnd.atan.atan2.atanh.atob.attachEvent.attachInternals.attachShader.attachShadow.attachedElements.attachments.attack.attestationObject.attrChange.attrName.attributeChangedCallback.attributeFilter.attributeName.attributeNamespace.attributeOldValue.attributeStyleMap.attributes.attribution.attributionSrc.audioBitrateMode.audioBitsPerSecond.audioTracks.audioWorklet.authenticatedSignedWrites.authenticatorAttachment.authenticatorData.autoIncrement.autobuffer.autocapitalize.autocomplete.autocorrect.autofocus.automationRate.autoplay.availHeight.availLeft.availTop.availWidth.availability.available.averageLatency.aversion.ax.axes.axis.ay.azimuth.azimuthAngle.b.back.backdrop-filter.backdropFilter.backends.backface-visibility.backfaceVisibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.backgroundAttachment.backgroundBlendMode.backgroundClip.backgroundColor.backgroundFetch.backgroundImage.backgroundOrigin.backgroundPosition.backgroundPositionX.backgroundPositionY.backgroundRepeat.backgroundSize.badInput.badge.balance.baseArrayLayer.baseFrequencyX.baseFrequencyY.baseLatency.baseLayer.baseMipLevel.baseNode.baseOffset.basePalette.baseURI.baseVal.baseline-source.baselineShift.baselineSource.battery.bday.before.beginComputePass.beginElement.beginElementAt.beginOcclusionQuery.beginPath.beginQuery.beginRenderPass.beginTransformFeedback.beginningOfPassWriteIndex.behavior.behaviorCookie.behaviorPart.behaviorUrns.beta.bezierCurveTo.bgColor.bgProperties.bias.big.bigint64.biguint64.binaryType.bind.bindAttribLocation.bindBuffer.bindBufferBase.bindBufferRange.bindFramebuffer.bindGroupLayouts.bindRenderbuffer.bindSampler.bindTexture.bindTransformFeedback.bindVertexArray.binding.bitness.blend.blendColor.blendEquation.blendEquationSeparate.blendFunc.blendFuncSeparate.blink.blitFramebuffer.blob.block-size.blockDirection.blockSize.blockedURI.blocking.blockingDuration.blue.bluetooth.blur.body.bodyUsed.bold.bookmarks.booleanValue.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.borderBlock.borderBlockColor.borderBlockEnd.borderBlockEndColor.borderBlockEndStyle.borderBlockEndWidth.borderBlockStart.borderBlockStartColor.borderBlockStartStyle.borderBlockStartWidth.borderBlockStyle.borderBlockWidth.borderBottom.borderBottomColor.borderBottomLeftRadius.borderBottomRightRadius.borderBottomStyle.borderBottomWidth.borderBoxSize.borderCollapse.borderColor.borderColorDark.borderColorLight.borderEndEndRadius.borderEndStartRadius.borderImage.borderImageOutset.borderImageRepeat.borderImageSlice.borderImageSource.borderImageWidth.borderInline.borderInlineColor.borderInlineEnd.borderInlineEndColor.borderInlineEndStyle.borderInlineEndWidth.borderInlineStart.borderInlineStartColor.borderInlineStartStyle.borderInlineStartWidth.borderInlineStyle.borderInlineWidth.borderLeft.borderLeftColor.borderLeftStyle.borderLeftWidth.borderRadius.borderRight.borderRightColor.borderRightStyle.borderRightWidth.borderSpacing.borderStartEndRadius.borderStartStartRadius.borderStyle.borderTop.borderTopColor.borderTopLeftRadius.borderTopRightRadius.borderTopStyle.borderTopWidth.borderWidth.bottom.bottomMargin.bound.boundElements.boundingClientRect.boundingHeight.boundingLeft.boundingRect.boundingTop.boundingWidth.bounds.boundsGeometry.box-decoration-break.box-shadow.box-sizing.boxDecorationBreak.boxShadow.boxSizing.brand.brands.break-after.break-before.break-inside.breakAfter.breakBefore.breakInside.broadcast.browser.browserLanguage.browserSettings.browsingData.browsingTopics.btoa.bubbles.buffer.bufferData.bufferDepth.bufferSize.bufferSubData.buffered.bufferedAmount.bufferedAmountLowThreshold.buffers.buildID.buildNumber.button.buttonID.buttons.byobRequest.byteLength.byteOffset.bytes.bytesPerRow.bytesWritten.c.cache.caches.call.caller.camera.canBeFormatted.canBeMounted.canBeShared.canConstructInDedicatedWorker.canGoBack.canGoForward.canHaveChildren.canHaveHTML.canInsertDTMF.canIntercept.canLoadAdAuctionFencedFrame.canLoadOpaqueURL.canMakePayment.canParse.canPlayType.canPresent.canShare.canTransition.canTrickleIceCandidates.cancel.cancelAndHoldAtTime.cancelAnimationFrame.cancelBubble.cancelIdleCallback.cancelScheduledValues.cancelVideoFrameCallback.cancelWatchAvailability.cancelable.candidate.canonicalUUID.canvas.cap.capabilities.caption.caption-side.captionSide.captivePortal.capture.captureEvents.captureStackTrace.captureStream.captureTab.captureVisibleTab.caret-color.caretBidiLevel.caretColor.caretPositionFromPoint.caretRangeFromPoint.cast.catch.category.cbrt.cd.ceil.cellIndex.cellPadding.cellSpacing.cells.ch.chOff.chain.challenge.changeType.changed.changedTouches.channel.channelCount.channelCountMode.channelInterpretation.chapterInfo.char.charAt.charCode.charCodeAt.charIndex.charLength.characterBounds.characterBoundsRangeStart.characterData.characterDataOldValue.characterSet.characteristic.charging.chargingTime.charset.check.checkDCE.checkEnclosure.checkFramebufferStatus.checkIntersection.checkValidity.checkVisibility.checked.childElementCount.childList.childNodes.children.chrome.ciphertext.cite.city.claimInterface.claimed.classList.className.classid.clear.clearAppBadge.clearAttributes.clearBuffer.clearBufferfi.clearBufferfv.clearBufferiv.clearBufferuiv.clearColor.clearData.clearDepth.clearHalt.clearImmediate.clearInterval.clearLiveSeekableRange.clearMarks.clearMaxGCPauseAccumulator.clearMeasures.clearOriginJoinedAdInterestGroups.clearParameters.clearRect.clearResourceTimings.clearShadow.clearStencil.clearTimeout.clearValue.clearWatch.click.clickCount.clientDataJSON.clientHeight.clientInformation.clientLeft.clientRect.clientRects.clientTop.clientWaitSync.clientWidth.clientX.clientY.clip.clip-path.clip-rule.clipBottom.clipLeft.clipPath.clipPathUnits.clipRight.clipRule.clipTop.clipboard.clipboardData.clonable.clone.cloneContents.cloneNode.cloneRange.close.closeCode.closePath.closed.closest.clz.clz32.cm.cmp.code.codeBase.codePointAt.codeType.codedHeight.codedRect.codedWidth.colSpan.collapse.collapseToEnd.collapseToStart.collapsed.collect.collections.colno.color.color-adjust.color-interpolation.color-interpolation-filters.color-scheme.colorAdjust.colorAttachments.colorDepth.colorFormats.colorInterpolation.colorInterpolationFilters.colorMask.colorScheme.colorSpace.colorType.cols.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columnCount.columnFill.columnGap.columnNumber.columnRule.columnRuleColor.columnRuleStyle.columnRuleWidth.columnSpan.columnWidth.columns.command.commands.commit.commitLoadTime.commitPreferences.commitStyles.commonAncestorContainer.compact.compare.compareBoundaryPoints.compareDocumentPosition.compareEndPoints.compareExchange.compareNode.comparePoint.compatMode.compatible.compile.compileShader.compileStreaming.complete.completed.component.componentFromPoint.composed.composedPath.composite.compositionEndOffset.compositionStartOffset.compressedTexImage2D.compressedTexImage3D.compressedTexSubImage2D.compressedTexSubImage3D.compute.computedStyleMap.concat.conditionText.coneInnerAngle.coneOuterAngle.coneOuterGain.config.configurable.configuration.configurationName.configurationValue.configurations.configure.confirm.confirmComposition.confirmSiteSpecificTrackingException.confirmWebWideTrackingException.congestionControl.connect.connectEnd.connectNative.connectShark.connectStart.connected.connectedCallback.connection.connectionInfo.connectionList.connectionSpeed.connectionState.connections.console.consolidate.constants.constraint.constrictionActive.construct.constructor.contactID.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.containIntrinsicBlockSize.containIntrinsicHeight.containIntrinsicInlineSize.containIntrinsicSize.containIntrinsicWidth.container.container-name.container-type.containerId.containerName.containerQuery.containerSrc.containerType.contains.containsNode.content.content-visibility.contentBoxSize.contentDocument.contentEditable.contentHint.contentOverflow.contentRect.contentScriptType.contentStyleType.contentType.contentVisibility.contentWindow.context.contextId.contextIds.contextMenu.contextMenus.contextType.contextTypes.contextmenu.contextualIdentities.continue.continuePrimaryKey.continuous.control.controlTransferIn.controlTransferOut.controller.controls.controlsList.convertPointFromNode.convertQuadFromNode.convertRectFromNode.convertToBlob.convertToSpecifiedUnits.cookie.cookieEnabled.cookieStore.cookies.coords.copyBufferSubData.copyBufferToBuffer.copyBufferToTexture.copyExternalImageToTexture.copyFromChannel.copyTexImage2D.copyTexSubImage2D.copyTexSubImage3D.copyTextureToBuffer.copyTextureToTexture.copyTo.copyToChannel.copyWithin.correspondingElement.correspondingUseElement.corruptedVideoFrames.cos.cosh.count.countReset.counter-increment.counter-reset.counter-set.counterIncrement.counterReset.counterSet.country.cpuClass.cpuSleepAllowed.cqb.cqh.cqi.cqmax.cqmin.cqw.create.createAnalyser.createAnchor.createAnswer.createAttribute.createAttributeNS.createAuctionNonce.createBidirectionalStream.createBindGroup.createBindGroupLayout.createBiquadFilter.createBuffer.createBufferSource.createCDATASection.createCSSStyleSheet.createCaption.createChannelMerger.createChannelSplitter.createCommandEncoder.createComment.createComputePipeline.createComputePipelineAsync.createConicGradient.createConstantSource.createContextualFragment.createControlRange.createConvolver.createDTMFSender.createDataChannel.createDelay.createDelayNode.createDocument.createDocumentFragment.createDocumentType.createDynamicsCompressor.createElement.createElementNS.createEncodedStreams.createEntityReference.createEvent.createEventObject.createExpression.createFramebuffer.createFunction.createGain.createGainNode.createHTML.createHTMLDocument.createIIRFilter.createImageBitmap.createImageData.createIndex.createJavaScriptNode.createLinearGradient.createMediaElementSource.createMediaKeys.createMediaStreamDestination.createMediaStreamSource.createMediaStreamTrackSource.createMutableFile.createNSResolver.createNodeIterator.createNotification.createObjectStore.createObjectURL.createOffer.createOscillator.createPanner.createPattern.createPeriodicWave.createPipelineLayout.createPolicy.createPopup.createProcessingInstruction.createProgram.createQuery.createQuerySet.createRadialGradient.createRange.createRangeCollection.createReader.createRenderBundleEncoder.createRenderPipeline.createRenderPipelineAsync.createRenderbuffer.createSVGAngle.createSVGLength.createSVGMatrix.createSVGNumber.createSVGPathSegArcAbs.createSVGPathSegArcRel.createSVGPathSegClosePath.createSVGPathSegCurvetoCubicAbs.createSVGPathSegCurvetoCubicRel.createSVGPathSegCurvetoCubicSmoothAbs.createSVGPathSegCurvetoCubicSmoothRel.createSVGPathSegCurvetoQuadraticAbs.createSVGPathSegCurvetoQuadraticRel.createSVGPathSegCurvetoQuadraticSmoothAbs.createSVGPathSegCurvetoQuadraticSmoothRel.createSVGPathSegLinetoAbs.createSVGPathSegLinetoHorizontalAbs.createSVGPathSegLinetoHorizontalRel.createSVGPathSegLinetoRel.createSVGPathSegLinetoVerticalAbs.createSVGPathSegLinetoVerticalRel.createSVGPathSegMovetoAbs.createSVGPathSegMovetoRel.createSVGPoint.createSVGRect.createSVGTransform.createSVGTransformFromMatrix.createSampler.createScript.createScriptProcessor.createScriptURL.createSession.createShader.createShaderModule.createShadowRoot.createStereoPanner.createStyleSheet.createTBody.createTFoot.createTHead.createTask.createTextNode.createTextRange.createTexture.createTouch.createTouchList.createTransformFeedback.createTreeWalker.createUnidirectionalStream.createVertexArray.createView.createWaveShaper.createWorklet.createWritable.creationTime.credentialless.credentials.criticalCHRestart.cropTo.crossOrigin.crossOriginIsolated.crypto.csi.csp.cssFloat.cssRules.cssText.cssValueType.ctrlKey.ctrlLeft.cues.cullFace.cullMode.currentCSSZoom.currentDirection.currentEntry.currentLocalDescription.currentNode.currentPage.currentRect.currentRemoteDescription.currentScale.currentScreen.currentScript.currentSrc.currentState.currentStyle.currentTarget.currentTime.currentTranslate.currentView.cursor.curve.customElements.customError.cx.cy.d.data.dataFld.dataFormatAs.dataLoss.dataLossMessage.dataPageSize.dataSrc.dataTransfer.database.databases.datagrams.dataset.dateTime.db.debug.debuggerEnabled.declarativeNetRequest.declare.decode.decodeAudioData.decodeQueueSize.decodeURI.decodeURIComponent.decodedBodySize.decoding.decodingInfo.decrypt.default.defaultCharset.defaultChecked.defaultMuted.defaultPlaybackRate.defaultPolicy.defaultPrevented.defaultQueue.defaultRequest.defaultSelected.defaultStatus.defaultURL.defaultValue.defaultView.defaultstatus.defer.define.defineMagicFunction.defineMagicVariable.defineProperties.defineProperty.deg.delay.delayTime.delegatesFocus.delete.deleteBuffer.deleteCaption.deleteCell.deleteContents.deleteData.deleteDatabase.deleteFramebuffer.deleteFromDocument.deleteIndex.deleteMedium.deleteObjectStore.deleteProgram.deleteProperty.deleteQuery.deleteRenderbuffer.deleteRow.deleteRule.deleteSampler.deleteShader.deleteSync.deleteTFoot.deleteTHead.deleteTexture.deleteTransformFeedback.deleteVertexArray.deleted.deliverChangeRecords.deliveredFrames.deliveredFramesDuration.delivery.deliveryInfo.deliveryStatus.deliveryTimestamp.deliveryType.delta.deltaMode.deltaX.deltaY.deltaZ.dependentLocality.deprecatedReplaceInURN.deprecatedRunAdAuctionEnforcesKAnonymity.deprecatedURNToURL.depthBias.depthBiasClamp.depthBiasSlopeScale.depthClearValue.depthCompare.depthDataFormat.depthFailOp.depthFar.depthFunc.depthLoadOp.depthMask.depthNear.depthOrArrayLayers.depthRange.depthReadOnly.depthStencil.depthStencilAttachment.depthStencilFormat.depthStoreOp.depthUsage.depthWriteEnabled.deref.deriveBits.deriveKey.descentOverride.description.deselectAll.designMode.desiredSize.destination.destinationURL.destroy.detach.detachEvent.detachShader.detached.detail.details.detect.detectLanguage.detune.device.deviceClass.deviceId.deviceMemory.devicePixelContentBoxSize.devicePixelRatio.deviceProtocol.deviceSubclass.deviceVersionMajor.deviceVersionMinor.deviceVersionSubminor.deviceXDPI.deviceYDPI.devtools.devtools_panels.didTimeout.difference.diffuseConstant.digest.dimension.dimensions.dir.dirName.direction.dirxml.disable.disablePictureInPicture.disableRemotePlayback.disableVertexAttribArray.disabled.discard.discardedFrames.dischargingTime.disconnect.disconnectShark.disconnectedCallback.dispatchEvent.dispatchWorkgroups.dispatchWorkgroupsIndirect.display.displayHeight.displayId.displayName.displayWidth.dispose.disposition.distanceModel.div.divisor.djsapi.djsproxy.dns.doImport.doNotTrack.doScroll.doctype.document.documentElement.documentId.documentIds.documentLifecycle.documentMode.documentOrigin.documentOrigins.documentPictureInPicture.documentURI.documentUrl.documentUrls.dolphin.dolphinGameCenter.dolphininfo.dolphinmeta.dom.domComplete.domContentLoadedEventEnd.domContentLoadedEventStart.domInteractive.domLoading.domOverlayState.domain.domainLookupEnd.domainLookupStart.dominant-baseline.dominantBaseline.done.dopplerFactor.dotAll.downDegrees.downlink.download.downloadRequest.downloadTotal.downloaded.downloads.dpcm.dpi.dppx.dragDrop.draggable.draw.drawArrays.drawArraysInstanced.drawArraysInstancedANGLE.drawBuffers.drawCustomFocusRing.drawElements.drawElementsInstanced.drawElementsInstancedANGLE.drawFocusIfNeeded.drawImage.drawImageFromRect.drawIndexed.drawIndexedIndirect.drawIndirect.drawRangeElements.drawSystemFocusRing.drawingBufferColorSpace.drawingBufferFormat.drawingBufferHeight.drawingBufferStorage.drawingBufferWidth.drop.dropEffect.droppedVideoFrames.dropzone.dstFactor.dtmf.dump.dumpProfile.duplex.duplicate.durability.duration.dvb.dvh.dvi.dvmax.dvmin.dvname.dvnum.dvw.dx.dy.dynamicId.dynsrc.e.edgeMode.editContext.effect.effectAllowed.effectiveDirective.effectiveType.effects.elapsedTime.element.elementFromPoint.elementTiming.elements.elementsFromPoint.elevation.ellipse.em.emHeightAscent.emHeightDescent.email.embeds.emit.emma.empty.empty-cells.emptyCells.emptyHTML.emptyScript.emulatedPosition.enable.enableBackground.enableDelegations.enableStyleSheetsForSet.enableVertexAttribArray.enabled.enabledFeatures.enabledPlugin.encode.encodeInto.encodeQueueSize.encodeURI.encodeURIComponent.encodedBodySize.encoding.encodingInfo.encrypt.enctype.end.endContainer.endElement.endElementAt.endOcclusionQuery.endOfPassWriteIndex.endOfStream.endOffset.endQuery.endTime.endTransformFeedback.ended.endpoint.endpointNumber.endpoints.endsWith.enqueue.enterKeyHint.entities.entries.entry.entryPoint.entryType.enumerable.enumerate.enumerateDevices.enumerateEditable.environmentBlendMode.equals.error.errorCode.errorDetail.errorText.escape.estimate.eval.evaluate.event.eventCounts.eventPhase.events.every.ex.exception.exchange.exec.execCommand.execCommandShowHelp.execScript.executeBundles.executionStart.exitFullscreen.exitPictureInPicture.exitPointerLock.exitPresent.exp.expand.expandEntityReferences.expando.expansion.expectedImprovement.experiments.expiration.expirationTime.expires.expiryDate.explicitOriginalTarget.expm1.exponent.exponentialRampToValueAtTime.exportKey.exports.extend.extension.extensionTypes.extensions.extentNode.extentOffset.external.externalResourcesRequired.externalTexture.extractContents.extractable.eye.f.f16round.face.factoryReset.failOp.failureReason.fallback.family.familyName.farthestViewportElement.fastSeek.fatal.featureId.featurePolicy.featureSettings.features.fence.fenceSync.fetch.fetchPriority.fetchStart.fftSize.fgColor.fieldOfView.file.fileCreatedDate.fileHandle.fileModifiedDate.fileName.fileSize.fileUpdatedDate.filename.files.filesystem.fill.fill-opacity.fill-rule.fillJointRadii.fillLightMode.fillOpacity.fillPoses.fillRect.fillRule.fillStyle.fillText.filter.filterResX.filterResY.filterUnits.filters.finally.find.findIndex.findLast.findLastIndex.findRule.findText.finish.finishDocumentLoadTime.finishLoadTime.finished.fireEvent.firesTouchEvents.firstChild.firstElementChild.firstInterimResponseStart.firstPage.firstPaintAfterLoadTime.firstPaintTime.firstUIEventTimestamp.fixed.flags.flat.flatMap.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.flexBasis.flexDirection.flexFlow.flexGrow.flexShrink.flexWrap.flipX.flipY.float.float32.float64.flood-color.flood-opacity.floodColor.floodOpacity.floor.flush.focus.focusNode.focusOffset.font.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.fontBoundingBoxAscent.fontBoundingBoxDescent.fontFamily.fontFeatureSettings.fontKerning.fontLanguageOverride.fontOpticalSizing.fontPalette.fontSize.fontSizeAdjust.fontSmoothingEnabled.fontStretch.fontStyle.fontSynthesis.fontSynthesisPosition.fontSynthesisSmallCaps.fontSynthesisStyle.fontSynthesisWeight.fontVariant.fontVariantAlternates.fontVariantCaps.fontVariantEastAsian.fontVariantLigatures.fontVariantNumeric.fontVariantPosition.fontVariationSettings.fontWeight.fontcolor.fontfaces.fonts.fontsize.for.forEach.force.forceFallbackAdapter.forceRedraw.forced-color-adjust.forcedColorAdjust.forcedStyleAndLayoutDuration.forget.form.formAction.formData.formEnctype.formMethod.formNoValidate.formTarget.format.formatToParts.forms.forward.forwardX.forwardY.forwardZ.foundation.fr.fragment.fragmentDirective.frame.frameBorder.frameCount.frameElement.frameId.frameIds.frameSpacing.framebuffer.framebufferHeight.framebufferRenderbuffer.framebufferTexture2D.framebufferTextureLayer.framebufferWidth.frames.freeSpace.freeze.frequency.frequencyBinCount.from.fromAsync.fromBase64.fromCharCode.fromCodePoint.fromElement.fromEntries.fromFloat32Array.fromFloat64Array.fromHex.fromMatrix.fromPoint.fromQuad.fromRect.frontFace.fround.fullName.fullPath.fullRange.fullScreen.fullVersionList.fullscreen.fullscreenElement.fullscreenEnabled.fx.fy.g.gain.gamepad.gamma.gap.gatheringState.gatt.geckoProfiler.genderIdentity.generateCertificate.generateKey.generateMipmap.generateRequest.geolocation.gestureObject.get.getAcceptLanguages.getActiveAttrib.getActiveUniform.getActiveUniformBlockName.getActiveUniformBlockParameter.getActiveUniforms.getAdjacentText.getAll.getAllKeys.getAllResponseHeaders.getAllowlistForFeature.getAnimations.getAsFile.getAsFileSystemHandle.getAsString.getAttachedShaders.getAttribLocation.getAttribute.getAttributeNS.getAttributeNames.getAttributeNode.getAttributeNodeNS.getAttributeType.getAudioTracks.getAuthenticatorData.getAutoplayPolicy.getAvailability.getBBox.getBackgroundPage.getBadgeBackgroundColor.getBadgeText.getBadgeTextColor.getBattery.getBigInt64.getBigUint64.getBindGroupLayout.getBlob.getBookmark.getBoundingClientRect.getBounds.getBoxQuads.getBrowserInfo.getBufferParameter.getBufferSubData.getByteFrequencyData.getByteTimeDomainData.getCSSCanvasContext.getCTM.getCameraImage.getCandidateWindowClientRect.getCanonicalLocales.getCapabilities.getCaptureHandle.getChannelData.getCharNumAtPosition.getCharacteristic.getCharacteristics.getClientExtensionResults.getClientRect.getClientRects.getCoalescedEvents.getCompilationInfo.getCompositionAlternatives.getComputedStyle.getComputedTextLength.getComputedTiming.getConfiguration.getConstraints.getContext.getContextAttributes.getContexts.getContributingSources.getCounterValue.getCueAsHTML.getCueById.getCurrent.getCurrentPosition.getCurrentTexture.getCurrentTime.getData.getDatabaseNames.getDate.getDay.getDefaultComputedStyle.getDepthInMeters.getDepthInformation.getDescriptor.getDescriptors.getDestinationInsertionPoints.getDevices.getDirectory.getDirectoryHandle.getDisplayMedia.getDistributedNodes.getEditable.getElementById.getElementsByClassName.getElementsByName.getElementsByTagName.getElementsByTagNameNS.getEnclosureList.getEndPositionOfChar.getEntries.getEntriesByName.getEntriesByType.getError.getExtension.getExtentOfChar.getEyeParameters.getFeature.getFiberRoots.getFile.getFileHandle.getFiles.getFilesAndDirectories.getFingerprints.getFloat16.getFloat32.getFloat64.getFloatFrequencyData.getFloatTimeDomainData.getFloatValue.getFragDataLocation.getFrameData.getFrameId.getFramebufferAttachmentParameter.getFrequencyResponse.getFullYear.getGamepads.getHTML.getHeaderExtensionsToNegotiate.getHighEntropyValues.getHitTestResults.getHitTestResultsForTransientInput.getHours.getIdentityAssertion.getIds.getImageData.getIndexedParameter.getInfo.getInnerHTML.getInstalledRelatedApps.getInt16.getInt32.getInt8.getInterestGroupAdAuctionData.getInternalModuleRanges.getInternalformatParameter.getIntersectionList.getItem.getItems.getJointPose.getKey.getKeyframes.getLastFocused.getLayers.getLayoutMap.getLightEstimate.getLineDash.getLocalCandidates.getLocalParameters.getLocalStreams.getManagedConfiguration.getManifest.getMappedRange.getMarks.getMatchedCSSRules.getMaxGCPauseSinceClear.getMeasures.getMessage.getMetadata.getMilliseconds.getMinutes.getModifierState.getMonth.getName.getNamedItem.getNamedItemNS.getNativeFramebufferScaleFactor.getNegotiatedHeaderExtensions.getNestedConfigs.getNotifications.getNotifier.getNumberOfChars.getOffsetReferenceSpace.getOutputTimestamp.getOverrideHistoryNavigationMode.getOverrideStyle.getOwnPropertyDescriptor.getOwnPropertyDescriptors.getOwnPropertyNames.getOwnPropertySymbols.getPackageDirectoryEntry.getParameter.getParameters.getParent.getPathSegAtLength.getPermissionWarningsByManifest.getPhotoCapabilities.getPhotoSettings.getPlatformInfo.getPointAtLength.getPopup.getPorts.getPose.getPredictedEvents.getPreference.getPreferenceDefault.getPreferredCanvasFormat.getPresentationAttribute.getPreventDefault.getPrimaryService.getPrimaryServices.getProgramInfoLog.getProgramParameter.getPropertyCSSValue.getPropertyPriority.getPropertyShorthand.getPropertyType.getPropertyValue.getPrototypeOf.getPublicKey.getPublicKeyAlgorithm.getQuery.getQueryParameter.getRGBColorValue.getRandomValues.getRangeAt.getReader.getReceivers.getRectValue.getReflectionCubeMap.getRegistration.getRegistrations.getRemoteCandidates.getRemoteCertificates.getRemoteParameters.getRemoteStreams.getRenderbufferParameter.getResponseHeader.getRoot.getRootNode.getRotationOfChar.getSVGDocument.getSamplerParameter.getScreenCTM.getScreenDetails.getSeconds.getSelectedCandidatePair.getSelection.getSelf.getSenders.getService.getSetCookie.getSettings.getShaderInfoLog.getShaderParameter.getShaderPrecisionFormat.getShaderSource.getSignals.getSimpleDuration.getSiteIcons.getSources.getSpeculativeParserUrls.getStartPositionOfChar.getStartTime.getState.getStats.getStatusForPolicy.getStorageUpdates.getStreamById.getStringValue.getSubStringLength.getSubscription.getSubscriptions.getSupportedConstraints.getSupportedExtensions.getSupportedFormats.getSyncParameter.getSynchronizationSources.getTags.getTargetRanges.getTexParameter.getTextFormats.getTime.getTimezoneOffset.getTiming.getTitle.getTitlebarAreaRect.getTotalLength.getTrackById.getTracks.getTransceivers.getTransform.getTransformFeedbackVarying.getTransformToElement.getTransports.getType.getTypeMapping.getUILanguage.getURL.getUTCDate.getUTCDay.getUTCFullYear.getUTCHours.getUTCMilliseconds.getUTCMinutes.getUTCMonth.getUTCSeconds.getUint16.getUint32.getUint8.getUniform.getUniformBlockIndex.getUniformIndices.getUniformLocation.getUserInfo.getUserMedia.getUserSettings.getVRDisplays.getValues.getVarDate.getVariableValue.getVertexAttrib.getVertexAttribOffset.getVideoPlaybackQuality.getVideoTracks.getViewerPose.getViewport.getViews.getVoices.getWakeLockState.getWriter.getYear.getZoom.getZoomSettings.givenName.global.globalAlpha.globalCompositeOperation.globalPrivacyControl.globalThis.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.go.goBack.goForward.gpu.grabFrame.grad.gradientTransform.gradientUnits.grammars.green.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-gap.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-gap.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.gridArea.gridAutoColumns.gridAutoFlow.gridAutoRows.gridColumn.gridColumnEnd.gridColumnGap.gridColumnStart.gridGap.gridRow.gridRowEnd.gridRowGap.gridRowStart.gridTemplate.gridTemplateAreas.gridTemplateColumns.gridTemplateRows.gripSpace.group.groupBy.groupCollapsed.groupEnd.groupId.groups.grow.growable.guestProcessId.guestRenderFrameRoutingId.hadRecentInput.hand.handedness.hangingBaseline.hapticActuators.hardwareConcurrency.has.hasAttribute.hasAttributeNS.hasAttributes.hasBeenActive.hasChildNodes.hasComposition.hasDynamicOffset.hasEnrolledInstrument.hasExtension.hasExternalDisplay.hasFeature.hasFocus.hasIndices.hasInstance.hasLayout.hasOrientation.hasOwn.hasOwnProperty.hasPointerCapture.hasPosition.hasPrivateToken.hasReading.hasRedemptionRecord.hasRegExpGroups.hasStorageAccess.hasUAVisualTransition.hasUnpartitionedCookieAccess.hash.hashChange.head.headers.heading.height.hid.hidden.hide.hideFocus.hidePopover.high.highWaterMark.highlight.highlights.hint.hints.history.honorificPrefix.honorificSuffix.horizontalOverflow.host.hostCandidate.hostname.href.hrefTranslate.hreflang.hspace.html5TagCheckInerface.htmlFor.htmlText.httpEquiv.httpRequestStatusCode.hwTimestamp.hyphenate-character.hyphenateCharacter.hyphens.hypot.i18n.ic.iccId.iceConnectionState.iceGatheringState.iceTransport.icon.iconURL.id.identifier.identity.ideographicBaseline.idle.idpLoginUrl.ignoreBOM.ignoreCase.ignoreDepthValues.image.image-orientation.image-rendering.imageHeight.imageOrientation.imageRendering.imageSizes.imageSmoothingEnabled.imageSmoothingQuality.imageSrcset.imageWidth.images.ime-mode.imeMode.implementation.importExternalTexture.importKey.importNode.importStylesheet.imports.impp.imul.in.in1.in2.inBandMetadataTrackDispatchType.inIncognitoContext.inRange.includes.incognito.incomingBidirectionalStreams.incomingHighWaterMark.incomingMaxAge.incomingUnidirectionalStreams.incremental.indeterminate.index.indexNames.indexOf.indexedDB.indicate.indices.inert.inertiaDestinationX.inertiaDestinationY.info.inherits.init.initAnimationEvent.initBeforeLoadEvent.initClipboardEvent.initCloseEvent.initCommandEvent.initCompositionEvent.initCustomEvent.initData.initDataType.initDeviceMotionEvent.initDeviceOrientationEvent.initDragEvent.initErrorEvent.initEvent.initFocusEvent.initGestureEvent.initHashChangeEvent.initKeyEvent.initKeyboardEvent.initMSManipulationEvent.initMessageEvent.initMouseEvent.initMouseScrollEvent.initMouseWheelEvent.initMutationEvent.initNSMouseEvent.initOverflowEvent.initPageEvent.initPageTransitionEvent.initPointerEvent.initPopStateEvent.initProgressEvent.initScrollAreaEvent.initSimpleGestureEvent.initStorageEvent.initTextEvent.initTimeEvent.initTouchEvent.initTransitionEvent.initUIEvent.initWebKitAnimationEvent.initWebKitTransitionEvent.initWebKitWheelEvent.initWheelEvent.initialTime.initialValue.initialize.initiatorType.inject.ink.inline-size.inlineSize.inlineVerticalFieldOfView.inner.innerHTML.innerHeight.innerText.innerWidth.input.inputBuffer.inputEncoding.inputMethod.inputMode.inputSource.inputSources.inputType.inputs.insertAdjacentElement.insertAdjacentHTML.insertAdjacentText.insertBefore.insertCell.insertDTMF.insertData.insertDebugMarker.insertItemBefore.insertNode.insertRow.insertRule.inset.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.insetBlock.insetBlockEnd.insetBlockStart.insetInline.insetInlineEnd.insetInlineStart.install.installing.instanceRoot.instantiate.instantiateStreaming.instruments.int16.int32.int8.integrity.interactionId.interactionMode.intercept.interfaceClass.interfaceName.interfaceNumber.interfaceProtocol.interfaceSubclass.interfaces.interimResults.internalSubset.interpretation.intersection.intersectionRatio.intersectionRect.intersectsNode.interval.invalidIteratorState.invalidateFramebuffer.invalidateSubFramebuffer.inverse.invertSelf.invoker.invokerType.is.is2D.isActive.isAllowedFileSchemeAccess.isAllowedIncognitoAccess.isAlternate.isArray.isAutoSelected.isBingCurrentSearchDefault.isBuffer.isCandidateWindowVisible.isChar.isCollapsed.isComposing.isConcatSpreadable.isConditionalMediationAvailable.isConfigSupported.isConnected.isContentEditable.isContentHandlerRegistered.isContextLost.isDefaultNamespace.isDirectory.isDisabled.isDisjointFrom.isEnabled.isEqual.isEqualNode.isExtended.isExtensible.isExternalCTAP2SecurityKeySupported.isFallbackAdapter.isFile.isFinite.isFirstPersonObserver.isFramebuffer.isFrozen.isGenerator.isHTML.isHistoryNavigation.isId.isIdentity.isInjected.isInputPending.isInteger.isInternal.isIntersecting.isLockFree.isMap.isMultiLine.isNaN.isOpen.isPointInFill.isPointInPath.isPointInRange.isPointInStroke.isPrefAlternate.isPresenting.isPrimary.isProgram.isPropertyImplicit.isProtocolHandlerRegistered.isPrototypeOf.isQuery.isRawJSON.isRenderbuffer.isSafeInteger.isSameEntry.isSameNode.isSampler.isScript.isScriptURL.isSealed.isSecureContext.isSessionSupported.isShader.isSubsetOf.isSupersetOf.isSupported.isSync.isTextEdit.isTexture.isTransformFeedback.isTrusted.isTypeSupported.isUserVerifyingPlatformAuthenticatorAvailable.isVertexArray.isView.isVisible.isWellFormed.isochronousTransferIn.isochronousTransferOut.isolation.italics.item.itemId.itemProp.itemRef.itemScope.itemType.itemValue.items.iterateNext.iterationComposite.iterator.javaEnabled.jitterBufferTarget.jobTitle.join.joinAdInterestGroup.jointName.json.justify-content.justify-items.justify-self.justifyContent.justifyItems.justifySelf.k1.k2.k3.k4.kHz.keepalive.kernelMatrix.kernelUnitLengthX.kernelUnitLengthY.kerning.key.keyCode.keyFor.keyIdentifier.keyLightEnabled.keyLocation.keyPath.keyStatuses.keySystem.keyText.keyUsage.keyboard.keys.keytype.kind.knee.knownSources.label.labels.lang.language.languages.largeArcFlag.lastChild.lastElementChild.lastError.lastEventId.lastIndex.lastIndexOf.lastInputTime.lastMatch.lastMessageSubject.lastMessageType.lastModified.lastModifiedDate.lastPage.lastParen.lastState.lastStyleSheetSet.latency.latitude.launchQueue.layerName.layerX.layerY.layout.layoutFlow.layoutGrid.layoutGridChar.layoutGridLine.layoutGridMode.layoutGridType.lbound.leaveAdInterestGroup.left.leftContext.leftDegrees.leftMargin.leftProjectionMatrix.leftViewMatrix.length.lengthAdjust.lengthComputable.letter-spacing.letterSpacing.level.lh.lighting-color.lightingColor.limitingConeAngle.limits.line.line-break.line-height.lineAlign.lineBreak.lineCap.lineDashOffset.lineGapOverride.lineHeight.lineJoin.lineNum.lineNumber.linePos.lineTo.lineWidth.linearAcceleration.linearRampToValueAtTime.linearVelocity.lineno.lines.link.linkColor.linkProgram.links.list.list-style.list-style-image.list-style-position.list-style-type.listStyle.listStyleImage.listStylePosition.listStyleType.listener.listeners.load.loadEventEnd.loadEventStart.loadOp.loadTime.loadTimes.loaded.loading.localDescription.localName.localService.localStorage.locale.localeCompare.location.locationbar.lock.locked.lockedFile.locks.lodMaxClamp.lodMinClamp.log.log10.log1p.log2.logicalXDPI.logicalYDPI.login.loglevel.longDesc.longitude.lookupNamespaceURI.lookupPrefix.loop.loopEnd.loopStart.looping.lost.low.lower.lowerBound.lowerOpen.lowsrc.lvb.lvh.lvi.lvmax.lvmin.lvw.m11.m12.m13.m14.m21.m22.m23.m24.m31.m32.m33.m34.m41.m42.m43.m44.magFilter.makeXRCompatible.managed.management.manifest.manufacturer.manufacturerName.map.mapAsync.mapState.mappedAtCreation.mapping.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.marginBlock.marginBlockEnd.marginBlockStart.marginBottom.marginHeight.marginInline.marginInlineEnd.marginInlineStart.marginLeft.marginRight.marginTop.marginWidth.mark.marker.marker-end.marker-mid.marker-offset.marker-start.markerEnd.markerHeight.markerMid.markerOffset.markerStart.markerUnits.markerWidth.marks.mask.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-position-x.mask-position-y.mask-repeat.mask-size.mask-type.maskClip.maskComposite.maskContentUnits.maskImage.maskMode.maskOrigin.maskPosition.maskPositionX.maskPositionY.maskRepeat.maskSize.maskType.maskUnits.match.matchAll.matchMedia.matchMedium.matchPatterns.matches.math-depth.math-style.mathDepth.mathStyle.matrix.matrixTransform.max.max-block-size.max-height.max-inline-size.max-width.maxActions.maxAlternatives.maxAnisotropy.maxBindGroups.maxBindGroupsPlusVertexBuffers.maxBindingsPerBindGroup.maxBlockSize.maxBufferSize.maxByteLength.maxChannelCount.maxChannels.maxColorAttachmentBytesPerSample.maxColorAttachments.maxComputeInvocationsPerWorkgroup.maxComputeWorkgroupSizeX.maxComputeWorkgroupSizeY.maxComputeWorkgroupSizeZ.maxComputeWorkgroupStorageSize.maxComputeWorkgroupsPerDimension.maxConnectionsPerServer.maxDatagramSize.maxDecibels.maxDistance.maxDrawCount.maxDynamicStorageBuffersPerPipelineLayout.maxDynamicUniformBuffersPerPipelineLayout.maxHeight.maxInlineSize.maxInterStageShaderComponents.maxInterStageShaderVariables.maxLayers.maxLength.maxMessageSize.maxPacketLifeTime.maxRetransmits.maxSampledTexturesPerShaderStage.maxSamplersPerShaderStage.maxStorageBufferBindingSize.maxStorageBuffersPerShaderStage.maxStorageTexturesPerShaderStage.maxTextureArrayLayers.maxTextureDimension1D.maxTextureDimension2D.maxTextureDimension3D.maxTouchPoints.maxUniformBufferBindingSize.maxUniformBuffersPerShaderStage.maxValue.maxVertexAttributes.maxVertexBufferArrayStride.maxVertexBuffers.maxWidth.maximumLatency.measure.measureText.media.mediaCapabilities.mediaDevices.mediaElement.mediaGroup.mediaKeys.mediaSession.mediaStream.mediaText.meetOrSlice.memory.menubar.menus.menusChild.menusInternal.mergeAttributes.message.messageClass.messageHandlers.messageType.messages.metaKey.metadata.method.methodDetails.methodName.mid.mimeType.mimeTypes.min.min-block-size.min-height.min-inline-size.min-width.minBindingSize.minBlockSize.minDecibels.minFilter.minHeight.minInlineSize.minLength.minStorageBufferOffsetAlignment.minUniformBufferOffsetAlignment.minValue.minWidth.minimumLatency.mipLevel.mipLevelCount.mipmapFilter.miterLimit.mix-blend-mode.mixBlendMode.mm.mobile.mode.model.modify.module.mount.move.moveBy.moveEnd.moveFirst.moveFocusDown.moveFocusLeft.moveFocusRight.moveFocusUp.moveInSuccession.moveNext.moveRow.moveStart.moveTo.moveToBookmark.moveToElementText.moveToPoint.movementX.movementY.mozAdd.mozAnimationStartTime.mozAnon.mozApps.mozAudioCaptured.mozAudioChannelType.mozAutoplayEnabled.mozCancelAnimationFrame.mozCancelFullScreen.mozCancelRequestAnimationFrame.mozCaptureStream.mozCaptureStreamUntilEnded.mozClearDataAt.mozContact.mozContacts.mozCreateFileHandle.mozCurrentTransform.mozCurrentTransformInverse.mozCursor.mozDash.mozDashOffset.mozDecodedFrames.mozExitPointerLock.mozFillRule.mozFragmentEnd.mozFrameDelay.mozFullScreen.mozFullScreenElement.mozFullScreenEnabled.mozGetAll.mozGetAllKeys.mozGetAsFile.mozGetDataAt.mozGetMetadata.mozGetUserMedia.mozHasAudio.mozHasItem.mozHidden.mozImageSmoothingEnabled.mozIndexedDB.mozInnerScreenX.mozInnerScreenY.mozInputSource.mozIsTextField.mozItem.mozItemCount.mozItems.mozLength.mozLockOrientation.mozMatchesSelector.mozMovementX.mozMovementY.mozOpaque.mozOrientation.mozPaintCount.mozPaintedFrames.mozParsedFrames.mozPay.mozPointerLockElement.mozPresentedFrames.mozPreservesPitch.mozPressure.mozPrintCallback.mozRTCIceCandidate.mozRTCPeerConnection.mozRTCSessionDescription.mozRemove.mozRequestAnimationFrame.mozRequestFullScreen.mozRequestPointerLock.mozSetDataAt.mozSetImageElement.mozSourceNode.mozSrcObject.mozSystem.mozTCPSocket.mozTextStyle.mozTypesAt.mozUnlockOrientation.mozUserCancelled.mozVisibilityState.ms.msAnimation.msAnimationDelay.msAnimationDirection.msAnimationDuration.msAnimationFillMode.msAnimationIterationCount.msAnimationName.msAnimationPlayState.msAnimationStartTime.msAnimationTimingFunction.msBackfaceVisibility.msBlockProgression.msCSSOMElementFloatMetrics.msCaching.msCachingEnabled.msCancelRequestAnimationFrame.msCapsLockWarningOff.msClearImmediate.msClose.msContentZoomChaining.msContentZoomFactor.msContentZoomLimit.msContentZoomLimitMax.msContentZoomLimitMin.msContentZoomSnap.msContentZoomSnapPoints.msContentZoomSnapType.msContentZooming.msConvertURL.msCrypto.msDoNotTrack.msElementsFromPoint.msElementsFromRect.msExitFullscreen.msExtendedCode.msFillRule.msFirstPaint.msFlex.msFlexAlign.msFlexDirection.msFlexFlow.msFlexItemAlign.msFlexLinePack.msFlexNegative.msFlexOrder.msFlexPack.msFlexPositive.msFlexPreferredSize.msFlexWrap.msFlowFrom.msFlowInto.msFontFeatureSettings.msFullscreenElement.msFullscreenEnabled.msGetInputContext.msGetRegionContent.msGetUntransformedBounds.msGraphicsTrustStatus.msGridColumn.msGridColumnAlign.msGridColumnSpan.msGridColumns.msGridRow.msGridRowAlign.msGridRowSpan.msGridRows.msHidden.msHighContrastAdjust.msHyphenateLimitChars.msHyphenateLimitLines.msHyphenateLimitZone.msHyphens.msImageSmoothingEnabled.msImeAlign.msIndexedDB.msInterpolationMode.msIsStaticHTML.msKeySystem.msKeys.msLaunchUri.msLockOrientation.msManipulationViewsEnabled.msMatchMedia.msMatchesSelector.msMaxTouchPoints.msOrientation.msOverflowStyle.msPerspective.msPerspectiveOrigin.msPlayToDisabled.msPlayToPreferredSourceUri.msPlayToPrimary.msPointerEnabled.msRegionOverflow.msReleasePointerCapture.msRequestAnimationFrame.msRequestFullscreen.msSaveBlob.msSaveOrOpenBlob.msScrollChaining.msScrollLimit.msScrollLimitXMax.msScrollLimitXMin.msScrollLimitYMax.msScrollLimitYMin.msScrollRails.msScrollSnapPointsX.msScrollSnapPointsY.msScrollSnapType.msScrollSnapX.msScrollSnapY.msScrollTranslation.msSetImmediate.msSetMediaKeys.msSetPointerCapture.msTextCombineHorizontal.msTextSizeAdjust.msToBlob.msTouchAction.msTouchSelect.msTraceAsyncCallbackCompleted.msTraceAsyncCallbackStarting.msTraceAsyncOperationCompleted.msTraceAsyncOperationStarting.msTransform.msTransformOrigin.msTransformStyle.msTransition.msTransitionDelay.msTransitionDuration.msTransitionProperty.msTransitionTimingFunction.msUnlockOrientation.msUpdateAsyncCallbackRelation.msUserSelect.msVisibilityState.msWrapFlow.msWrapMargin.msWrapThrough.msWriteProfilerMark.msZoom.msZoomTo.mt.mul.multiEntry.multiSelectionObj.multiline.multiple.multiply.multiplySelf.multisample.multisampled.mutableFile.muted.n.nacl_arch.name.nameList.nameProp.namedItem.namedRecordset.names.namespaceURI.namespaces.nativeApplication.nativeMap.nativeObjectCreate.nativeSet.nativeWeakMap.naturalHeight.naturalWidth.navigate.navigation.navigationMode.navigationPreload.navigationStart.navigationType.navigator.near.nearestViewportElement.negative.negotiated.netscape.networkState.networkStatus.newScale.newState.newTranslate.newURL.newValue.newValueSpecifiedUnits.newVersion.newhome.next.nextElementSibling.nextHopProtocol.nextNode.nextPage.nextSibling.nickname.noHref.noModule.noResize.noShade.noValidate.noWrap.node.nodeName.nodeType.nodeValue.nonce.normDepthBufferFromNormView.normalize.normalizedPathSegList.normandyAddonStudy.notRestoredReasons.notationName.notations.note.noteGrainOn.noteOff.noteOn.notifications.notify.now.npnNegotiatedProtocol.numOctaves.number.numberOfChannels.numberOfFrames.numberOfInputs.numberOfItems.numberOfOutputs.numberValue.oMatchesSelector.object.object-fit.object-position.objectFit.objectPosition.objectStore.objectStoreNames.objectType.observe.occlusionQuerySet.of.off.offscreenBuffering.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.offsetAnchor.offsetDistance.offsetHeight.offsetLeft.offsetNode.offsetParent.offsetPath.offsetPosition.offsetRotate.offsetTop.offsetWidth.offsetX.offsetY.ok.oldState.oldURL.oldValue.oldVersion.olderShadowRoot.omnibox.on.onActivated.onAdded.onAttached.onBoundsChanged.onBrowserUpdateAvailable.onClicked.onCommitFiberRoot.onCommitFiberUnmount.onConnect.onConnectExternal.onConnectNative.onCreated.onDetached.onDisabled.onEnabled.onFocusChanged.onHighlighted.onInstalled.onLine.onMessage.onMessageExternal.onMoved.onPerformanceWarning.onPostCommitFiberRoot.onRemoved.onReplaced.onRestartRequired.onStartup.onSubmittedWorkDone.onSuspend.onSuspendCanceled.onUninstalled.onUpdateAvailable.onUpdated.onUserScriptConnect.onUserScriptMessage.onUserSettingsChanged.onZoomChange.onabort.onabsolutedeviceorientation.onactivate.onactive.onaddsourcebuffer.onaddstream.onaddtrack.onafterprint.onafterscriptexecute.onafterupdate.onanimationcancel.onanimationend.onanimationiteration.onanimationstart.onappinstalled.onaudioend.onaudioprocess.onaudiostart.onautocomplete.onautocompleteerror.onauxclick.onbeforeactivate.onbeforecopy.onbeforecut.onbeforedeactivate.onbeforeeditfocus.onbeforeinput.onbeforeinstallprompt.onbeforematch.onbeforepaste.onbeforeprint.onbeforescriptexecute.onbeforetoggle.onbeforeunload.onbeforeupdate.onbeforexrselect.onbegin.onblocked.onblur.onbounce.onboundary.onbufferedamountlow.oncached.oncancel.oncandidatewindowhide.oncandidatewindowshow.oncandidatewindowupdate.oncanplay.oncanplaythrough.oncapturehandlechange.once.oncellchange.onchange.oncharacterboundsupdate.oncharacteristicvaluechanged.onchargingchange.onchargingtimechange.onchecking.onclick.onclose.onclosing.oncompassneedscalibration.oncomplete.oncompositionend.oncompositionstart.onconnect.onconnecting.onconnectionavailable.onconnectionstatechange.oncontentvisibilityautostatechange.oncontextlost.oncontextmenu.oncontextrestored.oncontrollerchange.oncontrolselect.oncopy.oncuechange.oncurrententrychange.oncurrentscreenchange.oncut.ondataavailable.ondatachannel.ondatasetchanged.ondatasetcomplete.ondblclick.ondeactivate.ondequeue.ondevicechange.ondevicelight.ondevicemotion.ondeviceorientation.ondeviceorientationabsolute.ondeviceproximity.ondischargingtimechange.ondisconnect.ondisplay.ondispose.ondownloading.ondrag.ondragend.ondragenter.ondragexit.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onencrypted.onend.onended.onenter.onenterpictureinpicture.onerror.onerrorupdate.onexit.onfencedtreeclick.onfilterchange.onfinish.onfocus.onfocusin.onfocusout.onformdata.onfreeze.onfullscreenchange.onfullscreenerror.ongamepadconnected.ongamepaddisconnected.ongatheringstatechange.ongattserverdisconnected.ongeometrychange.ongesturechange.ongestureend.ongesturestart.ongotpointercapture.onhashchange.onhelp.onicecandidate.onicecandidateerror.oniceconnectionstatechange.onicegatheringstatechange.oninactive.oninput.oninputreport.oninputsourceschange.oninvalid.onkeydown.onkeypress.onkeystatuseschange.onkeyup.onlanguagechange.onlayoutcomplete.onleavepictureinpicture.onlevelchange.onload.onloadT.onloadeddata.onloadedmetadata.onloadend.onloading.onloadingdone.onloadingerror.onloadstart.onlosecapture.onlostpointercapture.only.onmanagedconfigurationchange.onmark.onmessage.onmessageerror.onmidimessage.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onmousewheel.onmove.onmoveend.onmovestart.onmozfullscreenchange.onmozfullscreenerror.onmozorientationchange.onmozpointerlockchange.onmozpointerlockerror.onmscontentzoom.onmsfullscreenchange.onmsfullscreenerror.onmsgesturechange.onmsgesturedoubletap.onmsgestureend.onmsgesturehold.onmsgesturestart.onmsgesturetap.onmsgotpointercapture.onmsinertiastart.onmslostpointercapture.onmsmanipulationstatechanged.onmsneedkey.onmsorientationchange.onmspointercancel.onmspointerdown.onmspointerenter.onmspointerhover.onmspointerleave.onmspointermove.onmspointerout.onmspointerover.onmspointerup.onmssitemodejumplistitemremoved.onmsthumbnailclick.onmute.onnavigate.onnavigateerror.onnavigatesuccess.onnegotiationneeded.onnomatch.onnoupdate.onobsolete.onoffline.ononline.onopen.onorientationchange.onpagechange.onpagehide.onpagereveal.onpageshow.onpageswap.onpaste.onpause.onpayerdetailchange.onpaymentmethodchange.onplay.onplaying.onpluginstreamstart.onpointercancel.onpointerdown.onpointerenter.onpointerleave.onpointerlockchange.onpointerlockerror.onpointermove.onpointerout.onpointerover.onpointerrawupdate.onpointerup.onpopstate.onprerenderingchange.onprioritychange.onprocessorerror.onprogress.onpropertychange.onratechange.onreading.onreadystatechange.onreflectionchange.onrejectionhandled.onrelease.onremove.onremovesourcebuffer.onremovestream.onremovetrack.onrepeat.onreset.onresize.onresizeend.onresizestart.onresourcetimingbufferfull.onresult.onresume.onrowenter.onrowexit.onrowsdelete.onrowsinserted.onscreenschange.onscroll.onscrollend.onscrollsnapchange.onscrollsnapchanging.onsearch.onsecuritypolicyviolation.onseeked.onseeking.onselect.onselectedcandidatepairchange.onselectend.onselectionchange.onselectstart.onshippingaddresschange.onshippingoptionchange.onshow.onsignalingstatechange.onsinkchange.onslotchange.onsoundend.onsoundstart.onsourceclose.onsourceclosed.onsourceended.onsourceopen.onspeechend.onspeechstart.onsqueeze.onsqueezeend.onsqueezestart.onstalled.onstart.onstatechange.onstop.onstorage.onstoragecommit.onsubmit.onsuccess.onsuspend.onterminate.ontextformatupdate.ontextinput.ontextupdate.ontimeout.ontimeupdate.ontoggle.ontonechange.ontouchcancel.ontouchend.ontouchmove.ontouchstart.ontrack.ontransitioncancel.ontransitionend.ontransitionrun.ontransitionstart.onuncapturederror.onunhandledrejection.onunload.onunmute.onupdate.onupdateend.onupdatefound.onupdateready.onupdatestart.onupgradeneeded.onuserproximity.onversionchange.onvisibilitychange.onvoiceschanged.onvolumechange.onvrdisplayactivate.onvrdisplayconnect.onvrdisplaydeactivate.onvrdisplaydisconnect.onvrdisplaypresentchange.onwaiting.onwaitingforkey.onwarning.onwebkitanimationend.onwebkitanimationiteration.onwebkitanimationstart.onwebkitcurrentplaybacktargetiswirelesschanged.onwebkitfullscreenchange.onwebkitfullscreenerror.onwebkitkeyadded.onwebkitkeyerror.onwebkitkeymessage.onwebkitneedkey.onwebkitorientationchange.onwebkitplaybacktargetavailabilitychanged.onwebkitpointerlockchange.onwebkitpointerlockerror.onwebkitresourcetimingbufferfull.onwebkittransitionend.onwheel.onzoom.opacity.open.openCursor.openDatabase.openKeyCursor.openOptionsPage.openOrClosedShadowRoot.openPopup.opened.opener.opera.operation.operationType.operator.opr.optimum.options.or.order.orderX.orderY.ordered.org.organization.orient.orientAngle.orientType.orientation.orientationX.orientationY.orientationZ.origin.originAgentCluster.originalPolicy.originalTarget.orphans.os.oscpu.outerHTML.outerHeight.outerText.outerWidth.outgoingHighWaterMark.outgoingMaxAge.outline.outline-color.outline-offset.outline-style.outline-width.outlineColor.outlineOffset.outlineStyle.outlineWidth.outputBuffer.outputChannelCount.outputLatency.outputs.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overflowAnchor.overflowBlock.overflowClipMargin.overflowInline.overflowWrap.overflowX.overflowY.overlaysContent.overrideColors.overrideMimeType.oversample.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.overscrollBehavior.overscrollBehaviorBlock.overscrollBehaviorInline.overscrollBehaviorX.overscrollBehaviorY.ownKeys.ownerDocument.ownerElement.ownerNode.ownerRule.ownerSVGElement.owningElement.p1.p2.p3.p4.packetSize.packets.pad.padEnd.padStart.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.paddingBlock.paddingBlockEnd.paddingBlockStart.paddingBottom.paddingInline.paddingInlineEnd.paddingInlineStart.paddingLeft.paddingRight.paddingTop.page.page-break-after.page-break-before.page-break-inside.page-orientation.pageAction.pageBreakAfter.pageBreakBefore.pageBreakInside.pageCount.pageLeft.pageOrientation.pageT.pageTop.pageX.pageXOffset.pageY.pageYOffset.pages.paint-order.paintOrder.paintRequests.paintType.paintWorklet.palette.pan.panningModel.parameterData.parameters.parent.parentElement.parentNode.parentRule.parentStyleSheet.parentTextEdit.parentWindow.parse.parseAll.parseCreationOptionsFromJSON.parseFloat.parseFromString.parseHTMLUnsafe.parseInt.parseRequestOptionsFromJSON.part.participants.passOp.passive.password.pasteHTML.path.pathLength.pathSegList.pathSegType.pathSegTypeAsLetter.pathname.pattern.patternContentUnits.patternMismatch.patternTransform.patternUnits.pause.pauseAnimations.pauseDuration.pauseOnExit.pauseProfilers.pauseTransformFeedback.paused.payerEmail.payerName.payerPhone.paymentManager.pc.pdfViewerEnabled.peerIdentity.pending.pendingLocalDescription.pendingRemoteDescription.percent.performance.periodicSync.permission.permissionState.permissions.persist.persisted.persistentDeviceId.personalbar.perspective.perspective-origin.perspectiveOrigin.phone.phoneticFamilyName.phoneticGivenName.photo.pictureInPictureChild.pictureInPictureElement.pictureInPictureEnabled.pictureInPictureWindow.ping.pipeThrough.pipeTo.pitch.pixelBottom.pixelDepth.pixelHeight.pixelLeft.pixelRight.pixelStorei.pixelTop.pixelUnitToMillimeterX.pixelUnitToMillimeterY.pixelWidth.pkcs11.place-content.place-items.place-self.placeContent.placeItems.placeSelf.placeholder.platform.platformVersion.platforms.play.playEffect.playState.playbackRate.playbackState.playbackTime.played.playoutDelayHint.playsInline.plugins.pluginspage.pname.pointer-events.pointerBeforeReferenceNode.pointerEnabled.pointerEvents.pointerId.pointerLockElement.pointerType.points.pointsAtX.pointsAtY.pointsAtZ.polygonOffset.pop.popDebugGroup.popErrorScope.popover.popoverTargetAction.popoverTargetElement.populateMatrix.popupWindowFeatures.popupWindowName.popupWindowURI.port.port1.port2.ports.posBottom.posHeight.posLeft.posRight.posTop.posWidth.pose.position.position-anchor.position-area.positionAlign.positionAnchor.positionArea.positionX.positionY.positionZ.postError.postMessage.postTask.postalCode.poster.postscriptName.pow.powerEfficient.powerOff.powerPreference.preMultiplySelf.precision.preferredReflectionFormat.preferredStyleSheetSet.preferredStylesheetSet.prefix.preload.premultipliedAlpha.prepend.prerendering.presentation.presentationArea.presentationStyle.preserveAlpha.preserveAspectRatio.preserveAspectRatioString.preservesPitch.pressed.pressure.prevValue.preventDefault.preventExtensions.preventSilentAccess.previousElementSibling.previousNode.previousPage.previousPriority.previousRect.previousScale.previousSibling.previousTranslate.primaries.primaryKey.primaryLightDirection.primaryLightIntensity.primitive.primitiveType.primitiveUnits.principals.print.print-color-adjust.printColorAdjust.printPreview.priority.privacy.privateKey.privateToken.probablySupportsContext.probeSpace.process.processIceMessage.processingEnd.processingStart.processorOptions.product.productId.productName.productSub.profile.profileEnd.profiles.projectionMatrix.promise.prompt.properties.propertyIsEnumerable.propertyName.protectedAudience.protocol.protocolLong.prototype.provider.proxy.pseudoClass.pseudoElement.pt.publicId.publicKey.published.pulse.push.pushDebugGroup.pushErrorScope.pushManager.pushNotification.pushState.put.putImageData.px.quadraticCurveTo.qualifier.quaternion.query.queryCommandEnabled.queryCommandIndeterm.queryCommandState.queryCommandSupported.queryCommandText.queryCommandValue.queryFeatureSupport.queryLocalFonts.queryPermission.querySelector.querySelectorAll.querySet.queue.queueMicrotask.quote.quotes.r.r1.r2.race.rad.radiogroup.radius.radiusX.radiusY.random.randomUUID.range.rangeCount.rangeEnd.rangeMax.rangeMin.rangeOffset.rangeOverflow.rangeParent.rangeStart.rangeUnderflow.rate.ratio.raw.rawId.rawJSON.rawValueToMeters.rcap.rch.read.readAsArrayBuffer.readAsBinaryString.readAsBlob.readAsDataURL.readAsText.readBuffer.readEntries.readOnly.readPixels.readReportRequested.readText.readValue.readable.ready.readyState.reason.reasons.reboot.receiveFeatureReport.receivedAlert.receiver.receivers.recipient.recommendedViewportScale.reconnect.recordNumber.recordsAvailable.recordset.rect.red.redEyeReduction.redirect.redirectCount.redirectEnd.redirectStart.redirected.reduce.reduceRight.reduction.refDistance.refX.refY.referenceNode.referenceSpace.referrer.referrerPolicy.refresh.region.regionAnchorX.regionAnchorY.regionId.regions.register.registerContentHandler.registerElement.registerInternalModuleStart.registerInternalModuleStop.registerProperty.registerProtocolHandler.reject.rel.relList.relatedAddress.relatedNode.relatedPort.relatedTarget.relayProtocol.release.releaseCapture.releaseEvents.releaseInterface.releaseLock.releasePointerCapture.releaseShaderCompiler.released.reliability.reliable.reliableWrite.reload.rem.remainingSpace.remote.remoteDescription.remove.removeAllRanges.removeAttribute.removeAttributeNS.removeAttributeNode.removeBehavior.removeChild.removeCue.removeEntry.removeEventListener.removeFilter.removeImport.removeItem.removeListener.removeNamedItem.removeNamedItemNS.removeNode.removeParameter.removeProperty.removeRange.removeRegion.removeRule.removeSiteSpecificTrackingException.removeSourceBuffer.removeStream.removeTrack.removeVariable.removeWakeLockListener.removeWebWideTrackingException.removed.removedNodes.renderBlockingStatus.renderHeight.renderStart.renderState.renderTime.renderWidth.renderbufferStorage.renderbufferStorageMultisample.renderedBuffer.rendererInterfaces.renderers.renderingMode.renotify.repeat.repetitionCount.replace.replaceAdjacentText.replaceAll.replaceChild.replaceChildren.replaceData.replaceId.replaceItem.replaceNode.replaceState.replaceSync.replaceTrack.replaceWholeText.replaceWith.reportError.reportEvent.reportId.reportValidity.request.requestAdapter.requestAdapterInfo.requestAnimationFrame.requestAutocomplete.requestClose.requestData.requestDevice.requestFrame.requestFullscreen.requestHitTestSource.requestHitTestSourceForTransientInput.requestId.requestIdleCallback.requestLightProbe.requestMIDIAccess.requestMediaKeySystemAccess.requestPermission.requestPictureInPicture.requestPointerLock.requestPort.requestPresent.requestPresenter.requestReferenceSpace.requestSession.requestStart.requestStorageAccess.requestStorageAccessFor.requestSubmit.requestTime.requestUpdateCheck.requestVideoFrameCallback.requestViewportScale.requestWindow.requestingWindow.requireInteraction.required.requiredExtensions.requiredFeatures.requiredLimits.reset.resetLatency.resetPose.resetTransform.resizable.resize.resizeBy.resizeTo.resolve.resolveQuerySet.resolveTarget.resource.respond.respondWithNewView.response.responseBody.responseEnd.responseReady.responseStart.responseStatus.responseText.responseType.responseURL.responseXML.restart.restartAfterDelay.restartIce.restore.result.resultIndex.resultType.results.resume.resumeProfilers.resumeTransformFeedback.retry.returnValue.rev.reverse.reversed.revocable.revokeObjectURL.rex.rgbColor.ric.right.rightContext.rightDegrees.rightMargin.rightProjectionMatrix.rightViewMatrix.rlh.role.rolloffFactor.root.rootBounds.rootElement.rootMargin.rotate.rotateAxisAngle.rotateAxisAngleSelf.rotateFromVector.rotateFromVectorSelf.rotateSelf.rotation.rotationAngle.rotationRate.round.roundRect.row-gap.rowGap.rowIndex.rowSpan.rows.rowsPerImage.rtcpTransport.rtt.ruby-align.ruby-position.rubyAlign.rubyOverhang.rubyPosition.rules.run.runAdAuction.runtime.runtimeStyle.rx.ry.s.safari.sameDocument.sample.sampleCount.sampleCoverage.sampleInterval.sampleRate.sampleType.sampler.samplerParameterf.samplerParameteri.sandbox.save.saveAsPDF.saveData.scale.scale3d.scale3dSelf.scaleNonUniform.scaleNonUniformSelf.scaleSelf.scheduler.scheduling.scheme.scissor.scope.scopeName.scoped.screen.screenBrightness.screenEnabled.screenLeft.screenPixelToMillimeterX.screenPixelToMillimeterY.screenState.screenTop.screenX.screenY.screens.scriptURL.scripting.scripts.scroll.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scrollAmount.scrollBehavior.scrollBy.scrollByLines.scrollByPages.scrollDelay.scrollHeight.scrollIntoView.scrollIntoViewIfNeeded.scrollLeft.scrollLeftMax.scrollMargin.scrollMarginBlock.scrollMarginBlockEnd.scrollMarginBlockStart.scrollMarginBottom.scrollMarginInline.scrollMarginInlineEnd.scrollMarginInlineStart.scrollMarginLeft.scrollMarginRight.scrollMarginTop.scrollMaxX.scrollMaxY.scrollPadding.scrollPaddingBlock.scrollPaddingBlockEnd.scrollPaddingBlockStart.scrollPaddingBottom.scrollPaddingInline.scrollPaddingInlineEnd.scrollPaddingInlineStart.scrollPaddingLeft.scrollPaddingRight.scrollPaddingTop.scrollRestoration.scrollSnapAlign.scrollSnapStop.scrollSnapType.scrollTo.scrollTop.scrollTopMax.scrollWidth.scrollX.scrollY.scrollbar-color.scrollbar-gutter.scrollbar-width.scrollbar3dLightColor.scrollbarArrowColor.scrollbarBaseColor.scrollbarColor.scrollbarDarkShadowColor.scrollbarFaceColor.scrollbarGutter.scrollbarHighlightColor.scrollbarShadowColor.scrollbarTrackColor.scrollbarWidth.scrollbars.scrolling.scrollingElement.sctp.sctpCauseCode.sdp.sdpLineNumber.sdpMLineIndex.sdpMid.seal.search.searchBox.searchBoxJavaBridge_.searchParams.sectionRowIndex.secureConnectionStart.security.seed.seek.seekToNextFrame.seekable.seeking.select.selectAllChildren.selectAlternateInterface.selectAudioOutput.selectConfiguration.selectNode.selectNodeContents.selectNodes.selectSingleNode.selectSubString.selectURL.selected.selectedIndex.selectedOptions.selectedStyleSheetSet.selectedStylesheetSet.selectedTrack.selection.selectionDirection.selectionEnd.selectionStart.selector.selectorText.self.send.sendAsBinary.sendBeacon.sendFeatureReport.sendMessage.sendNativeMessage.sendOrder.sendReport.sender.sentAlert.sentTimestamp.separator.serial.serialNumber.serializable.serializeToString.serverTiming.service.serviceWorker.session.sessionId.sessionStorage.sessions.set.setActionHandler.setActive.setAlpha.setAppBadge.setAttribute.setAttributeNS.setAttributeNode.setAttributeNodeNS.setAttributionReporting.setBadgeBackgroundColor.setBadgeText.setBadgeTextColor.setBaseAndExtent.setBigInt64.setBigUint64.setBindGroup.setBingCurrentSearchDefault.setBlendConstant.setCameraActive.setCapture.setCaptureHandleConfig.setCodecPreferences.setColor.setCompositeOperation.setConfiguration.setConsumer.setCurrentTime.setCustomValidity.setData.setDate.setDragImage.setEnabled.setEnd.setEndAfter.setEndBefore.setEndPoint.setExpires.setFillColor.setFilterRes.setFloat16.setFloat32.setFloat64.setFloatValue.setFocusBehavior.setFormValue.setFromBase64.setFromHex.setFullYear.setHTMLUnsafe.setHeaderExtensionsToNegotiate.setHeaderValue.setHours.setIcon.setIdentityProvider.setImmediate.setIndexBuffer.setInt16.setInt32.setInt8.setInterval.setItem.setKeyframes.setLineCap.setLineDash.setLineJoin.setLineWidth.setLiveSeekableRange.setLocalDescription.setMatrix.setMatrixValue.setMediaKeys.setMicrophoneActive.setMilliseconds.setMinutes.setMiterLimit.setMonth.setNamedItem.setNamedItemNS.setNonUserCodeExceptions.setOrientToAngle.setOrientToAuto.setOrientation.setOverrideHistoryNavigationMode.setPaint.setParameter.setParameters.setPeriodicWave.setPipeline.setPointerCapture.setPopup.setPosition.setPositionState.setPreference.setPriority.setPrivateToken.setProperty.setPrototypeOf.setRGBColor.setRGBColorICCColor.setRadius.setRangeText.setRemoteDescription.setReportEventDataForAutomaticBeacons.setRequestHeader.setResizable.setResourceTimingBufferSize.setRotate.setScale.setScissorRect.setSeconds.setSelectionRange.setServerCertificate.setShadow.setSharedStorageContext.setSignals.setSinkId.setSkewX.setSkewY.setStart.setStartAfter.setStartBefore.setStatus.setStdDeviation.setStencilReference.setStreams.setStrictMode.setStringValue.setStrokeColor.setSuggestResult.setTargetAtTime.setTargetValueAtTime.setTime.setTimeout.setTitle.setTransform.setTranslate.setUTCDate.setUTCFullYear.setUTCHours.setUTCMilliseconds.setUTCMinutes.setUTCMonth.setUTCSeconds.setUint16.setUint32.setUint8.setUninstallURL.setUpdateUrlData.setUri.setValidity.setValueAtTime.setValueCurveAtTime.setVariable.setVelocity.setVersion.setVertexBuffer.setViewport.setYear.setZoom.setZoomSettings.settingName.settingValue.sex.shaderLocation.shaderSource.shadowBlur.shadowColor.shadowOffsetX.shadowOffsetY.shadowRoot.shadowRootClonable.shadowRootDelegatesFocus.shadowRootMode.shadowRootSerializable.shape.shape-image-threshold.shape-margin.shape-outside.shape-rendering.shapeImageThreshold.shapeMargin.shapeOutside.shapeRendering.share.sharedStorage.sharedStorageWritable.sheet.shift.shiftKey.shiftLeft.shippingAddress.shippingOption.shippingType.show.showDirectoryPicker.showHelp.showModal.showModalDialog.showModelessDialog.showNotification.showOpenFilePicker.showPicker.showPopover.showSaveFilePicker.sidebar.sidebarAction.sign.signal.signalingState.signature.silent.sin.singleNodeValue.sinh.sinkId.sittingToStandingTransform.size.sizeAdjust.sizeToContent.sizeX.sizeZ.sizes.skewX.skewXSelf.skewY.skewYSelf.skipTransition.skipped.slice.slope.slot.slotAssignment.small.smil.smooth.smoothingTimeConstant.snapTargetBlock.snapTargetInline.snapToLines.snapshotItem.snapshotLength.some.sort.sortingCode.source.sourceBuffer.sourceBuffers.sourceCapabilities.sourceCharPosition.sourceFile.sourceFunctionName.sourceIndex.sourceMap.sourceURL.sources.spacing.span.speak.speakAs.speaking.species.specified.specularConstant.specularExponent.speechSynthesis.speed.speedOfSound.spellcheck.sphericalHarmonicsCoefficients.splice.split.splitText.spreadMethod.sqrt.src.srcElement.srcFactor.srcFilter.srcObject.srcUrn.srcdoc.srclang.srcset.stack.stackTraceLimit.stacktrace.stageParameters.standalone.standby.start.startContainer.startE.startIce.startLoadTime.startMessages.startNotifications.startOffset.startProfiling.startRendering.startShark.startTime.startViewTransition.startsWith.state.states.stats.status.statusCode.statusMessage.statusText.statusbar.stdDeviationX.stdDeviationY.stencilBack.stencilClearValue.stencilFront.stencilFunc.stencilFuncSeparate.stencilLoadOp.stencilMask.stencilMaskSeparate.stencilOp.stencilOpSeparate.stencilReadMask.stencilReadOnly.stencilStoreOp.stencilWriteMask.step.stepDown.stepMismatch.stepMode.stepUp.sticky.stitchTiles.stop.stop-color.stop-opacity.stopColor.stopImmediatePropagation.stopNotifications.stopOpacity.stopProfiling.stopPropagation.stopShark.stopped.storage.storageArea.storageBuckets.storageName.storageStatus.storageTexture.store.storeOp.storeSiteSpecificTrackingException.storeWebWideTrackingException.stpVersion.stream.streamErrorCode.streams.stretch.strike.string.stringValue.stringify.stripIndexFormat.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeRect.strokeStyle.strokeText.strokeWidth.structuredClone.style.styleAndLayoutStart.styleFloat.styleMap.styleMedia.styleSheet.styleSheetSets.styleSheets.sub.subarray.subject.submit.submitFrame.submitter.subscribe.substr.substring.substringData.subtle.subtree.suffix.suffixes.summary.sup.supported.supportedContentEncodings.supportedEntryTypes.supportedValuesOf.supports.supportsFiber.supportsSession.supportsText.surfaceScale.surroundContents.suspend.suspendRedraw.svb.svh.svi.svmax.svmin.svw.swapCache.swapNode.sweepFlag.symbols.symmetricDifference.sync.syntax.sysexEnabled.system.systemCode.systemId.systemLanguage.systemXDPI.systemYDPI.tBodies.tFoot.tHead.tab.tab-size.tabId.tabIds.tabIndex.tabSize.table.table-layout.tableLayout.tableValues.tabs.tag.tagName.tagUrn.tags.taintEnabled.take.takePhoto.takeRecords.tan.tangentialPressure.tanh.target.targetAddressSpace.targetElement.targetRayMode.targetRaySpace.targetTouches.targetURL.targetX.targetY.targets.tcpType.tee.tel.telemetry.terminate.test.texImage2D.texImage3D.texParameterf.texParameteri.texStorage2D.texStorage3D.texSubImage2D.texSubImage3D.text.text-align.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.textAlign.textAlignLast.textAnchor.textAutospace.textBaseline.textCombineUpright.textContent.textDecoration.textDecorationBlink.textDecorationColor.textDecorationLine.textDecorationLineThrough.textDecorationNone.textDecorationOverline.textDecorationSkipInk.textDecorationStyle.textDecorationThickness.textDecorationUnderline.textEmphasis.textEmphasisColor.textEmphasisPosition.textEmphasisStyle.textIndent.textJustify.textJustifyTrim.textKashida.textKashidaSpace.textLength.textOrientation.textOverflow.textRendering.textShadow.textTracks.textTransform.textUnderlineOffset.textUnderlinePosition.textWrap.textWrapMode.textWrapStyle.texture.theme.then.threadId.threshold.thresholds.throwIfAborted.tiltX.tiltY.time.timeEnd.timeLog.timeOrigin.timeRemaining.timeStamp.timecode.timeline.timelineTime.timeout.timestamp.timestampOffset.timestampWrites.timing.title.titlebarAreaRect.tlsChannelId.to.toArray.toBase64.toBlob.toDataURL.toDateString.toElement.toExponential.toFixed.toFloat32Array.toFloat64Array.toGMTString.toHex.toISOString.toJSON.toLocaleDateString.toLocaleFormat.toLocaleLowerCase.toLocaleString.toLocaleTimeString.toLocaleUpperCase.toLowerCase.toMatrix.toMethod.toPrecision.toPrimitive.toReversed.toSdp.toSorted.toSource.toSpliced.toStaticHTML.toString.toStringTag.toSum.toTimeString.toUTCString.toUpperCase.toWellFormed.toggle.toggleAttribute.toggleLongPressEnabled.togglePopover.toggleReaderMode.token.tone.toneBuffer.tooLong.tooShort.toolbar.top.topMargin.topSites.topology.total.totalFrameDelay.totalFrames.totalFramesDuration.totalVideoFrames.touch-action.touchAction.touched.touches.trace.track.trackVisibility.trackedAnchors.tracks.tran.transaction.transactions.transceiver.transfer.transferControlToOffscreen.transferFromImageBitmap.transferImageBitmap.transferIn.transferOut.transferSize.transferToFixedLength.transferToImageBitmap.transform.transform-box.transform-origin.transform-style.transformBox.transformFeedbackVaryings.transformOrigin.transformPoint.transformString.transformStyle.transformToDocument.transformToFragment.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.transitionBehavior.transitionDelay.transitionDuration.transitionProperty.transitionTimingFunction.translate.translateSelf.translationX.translationY.transport.traverseTo.trim.trimEnd.trimLeft.trimRight.trimStart.trueSpeed.trunc.truncate.trustedTypes.try.turn.twist.type.typeDetail.typeMismatch.typeMustMatch.types.u2f.ubound.uint16.uint32.uint8.uint8Clamped.unadjustedMovement.unclippedDepth.unconfigure.undefined.underlineStyle.underlineThickness.unescape.uneval.ungroup.unicode.unicode-bidi.unicodeBidi.unicodeRange.unicodeSets.uniform1f.uniform1fv.uniform1i.uniform1iv.uniform1ui.uniform1uiv.uniform2f.uniform2fv.uniform2i.uniform2iv.uniform2ui.uniform2uiv.uniform3f.uniform3fv.uniform3i.uniform3iv.uniform3ui.uniform3uiv.uniform4f.uniform4fv.uniform4i.uniform4iv.uniform4ui.uniform4uiv.uniformBlockBinding.uniformMatrix2fv.uniformMatrix2x3fv.uniformMatrix2x4fv.uniformMatrix3fv.uniformMatrix3x2fv.uniformMatrix3x4fv.uniformMatrix4fv.uniformMatrix4x2fv.uniformMatrix4x3fv.uninstallSelf.union.unique.uniqueID.uniqueNumber.unit.unitType.units.unloadEventEnd.unloadEventStart.unlock.unmap.unmount.unobserve.unpackColorSpace.unpause.unpauseAnimations.unreadCount.unregister.unregisterContentHandler.unregisterProtocolHandler.unscopables.unselectable.unshift.unsubscribe.unsuspendRedraw.unsuspendRedrawAll.unwatch.unwrapKey.upDegrees.upX.upY.upZ.update.updateAdInterestGroups.updateCallbackDone.updateCharacterBounds.updateCommands.updateControlBounds.updateCurrentEntry.updateIce.updateInkTrailStartPoint.updateInterval.updatePlaybackRate.updateRangeEnd.updateRangeStart.updateRenderState.updateSelection.updateSelectionBounds.updateSettings.updateText.updateTiming.updateViaCache.updateWith.updated.updating.upgrade.upload.uploadTotal.uploaded.upper.upperBound.upperOpen.uri.url.urn.urns.usage.usages.usb.usbVersionMajor.usbVersionMinor.usbVersionSubminor.useCurrentView.useMap.useProgram.usedSpace.user-select.userActivation.userAgent.userAgentData.userChoice.userHandle.userHint.userInitiated.userLanguage.userSelect.userState.userVisibleOnly.username.usernameFragment.utterance.uuid.v8BreakIterator.vAlign.vLink.valid.validate.validateProgram.validationMessage.validity.value.valueAsDate.valueAsNumber.valueAsString.valueInSpecifiedUnits.valueMissing.valueOf.valueText.valueType.values.variable.variant.variationSettings.vb.vector-effect.vectorEffect.velocityAngular.velocityExpansion.velocityX.velocityY.vendor.vendorId.vendorSub.verify.version.vertex.vertexAttrib1f.vertexAttrib1fv.vertexAttrib2f.vertexAttrib2fv.vertexAttrib3f.vertexAttrib3fv.vertexAttrib4f.vertexAttrib4fv.vertexAttribDivisor.vertexAttribDivisorANGLE.vertexAttribI4i.vertexAttribI4iv.vertexAttribI4ui.vertexAttribI4uiv.vertexAttribIPointer.vertexAttribPointer.vertical.vertical-align.verticalAlign.verticalOverflow.vh.vi.vibrate.vibrationActuator.videoBitsPerSecond.videoHeight.videoTracks.videoWidth.view.viewBox.viewBoxString.viewDimension.viewFormats.viewTarget.viewTargetString.viewTransition.viewport.viewportAnchorX.viewportAnchorY.viewportElement.views.violatedDirective.virtualKeyboard.virtualKeyboardPolicy.visibility.visibilityState.visible.visibleRect.visualViewport.vlinkColor.vmax.vmin.voice.voiceURI.volume.vrml.vspace.vw.w.wait.waitAsync.waitSync.waiting.wake.wakeLock.wand.warmup.warn.wasAlternateProtocolAvailable.wasClean.wasDiscarded.wasFetchedViaSpdy.wasNpnNegotiated.watch.watchAvailability.watchPosition.webNavigation.webRequest.webdriver.webkitAddKey.webkitAlignContent.webkitAlignItems.webkitAlignSelf.webkitAnimation.webkitAnimationDelay.webkitAnimationDirection.webkitAnimationDuration.webkitAnimationFillMode.webkitAnimationIterationCount.webkitAnimationName.webkitAnimationPlayState.webkitAnimationTimingFunction.webkitAppearance.webkitAudioContext.webkitAudioDecodedByteCount.webkitAudioPannerNode.webkitBackfaceVisibility.webkitBackground.webkitBackgroundAttachment.webkitBackgroundClip.webkitBackgroundColor.webkitBackgroundImage.webkitBackgroundOrigin.webkitBackgroundPosition.webkitBackgroundPositionX.webkitBackgroundPositionY.webkitBackgroundRepeat.webkitBackgroundSize.webkitBackingStorePixelRatio.webkitBorderBottomLeftRadius.webkitBorderBottomRightRadius.webkitBorderImage.webkitBorderImageOutset.webkitBorderImageRepeat.webkitBorderImageSlice.webkitBorderImageSource.webkitBorderImageWidth.webkitBorderRadius.webkitBorderTopLeftRadius.webkitBorderTopRightRadius.webkitBoxAlign.webkitBoxDirection.webkitBoxFlex.webkitBoxOrdinalGroup.webkitBoxOrient.webkitBoxPack.webkitBoxShadow.webkitBoxSizing.webkitCancelAnimationFrame.webkitCancelFullScreen.webkitCancelKeyRequest.webkitCancelRequestAnimationFrame.webkitClearResourceTimings.webkitClipPath.webkitClosedCaptionsVisible.webkitConvertPointFromNodeToPage.webkitConvertPointFromPageToNode.webkitCreateShadowRoot.webkitCurrentFullScreenElement.webkitCurrentPlaybackTargetIsWireless.webkitDecodedFrameCount.webkitDirectionInvertedFromDevice.webkitDisplayingFullscreen.webkitDroppedFrameCount.webkitEnterFullScreen.webkitEnterFullscreen.webkitEntries.webkitExitFullScreen.webkitExitFullscreen.webkitExitPointerLock.webkitFilter.webkitFlex.webkitFlexBasis.webkitFlexDirection.webkitFlexFlow.webkitFlexGrow.webkitFlexShrink.webkitFlexWrap.webkitFontFeatureSettings.webkitFullScreenKeyboardInputAllowed.webkitFullscreenElement.webkitFullscreenEnabled.webkitGenerateKeyRequest.webkitGetAsEntry.webkitGetDatabaseNames.webkitGetEntries.webkitGetEntriesByName.webkitGetEntriesByType.webkitGetFlowByName.webkitGetGamepads.webkitGetImageDataHD.webkitGetNamedFlows.webkitGetRegionFlowRanges.webkitGetUserMedia.webkitHasClosedCaptions.webkitHidden.webkitIDBCursor.webkitIDBDatabase.webkitIDBDatabaseError.webkitIDBDatabaseException.webkitIDBFactory.webkitIDBIndex.webkitIDBKeyRange.webkitIDBObjectStore.webkitIDBRequest.webkitIDBTransaction.webkitImageSmoothingEnabled.webkitIndexedDB.webkitInitMessageEvent.webkitIsFullScreen.webkitJustifyContent.webkitKeys.webkitLineClamp.webkitLineDashOffset.webkitLockOrientation.webkitMask.webkitMaskClip.webkitMaskComposite.webkitMaskImage.webkitMaskOrigin.webkitMaskPosition.webkitMaskPositionX.webkitMaskPositionY.webkitMaskRepeat.webkitMaskSize.webkitMatchesSelector.webkitMediaStream.webkitNotifications.webkitOfflineAudioContext.webkitOrder.webkitOrientation.webkitPeerConnection00.webkitPersistentStorage.webkitPerspective.webkitPerspectiveOrigin.webkitPointerLockElement.webkitPostMessage.webkitPreservesPitch.webkitPutImageDataHD.webkitRTCPeerConnection.webkitRegionOverset.webkitRelativePath.webkitRequestAnimationFrame.webkitRequestFileSystem.webkitRequestFullScreen.webkitRequestFullscreen.webkitRequestPointerLock.webkitResolveLocalFileSystemURL.webkitSetMediaKeys.webkitSetResourceTimingBufferSize.webkitShadowRoot.webkitShowPlaybackTargetPicker.webkitSlice.webkitSpeechGrammar.webkitSpeechGrammarList.webkitSpeechRecognition.webkitSpeechRecognitionError.webkitSpeechRecognitionEvent.webkitStorageInfo.webkitSupportsFullscreen.webkitTemporaryStorage.webkitTextFillColor.webkitTextSecurity.webkitTextSizeAdjust.webkitTextStroke.webkitTextStrokeColor.webkitTextStrokeWidth.webkitTransform.webkitTransformOrigin.webkitTransformStyle.webkitTransition.webkitTransitionDelay.webkitTransitionDuration.webkitTransitionProperty.webkitTransitionTimingFunction.webkitURL.webkitUnlockOrientation.webkitUserSelect.webkitVideoDecodedByteCount.webkitVisibilityState.webkitWirelessVideoPlaybackDisabled.webkitdirectory.webkitdropzone.webstore.weight.wgslLanguageFeatures.whatToShow.wheelDelta.wheelDeltaX.wheelDeltaY.whenDefined.which.white-space.white-space-collapse.whiteSpace.whiteSpaceCollapse.wholeText.widows.width.will-change.willChange.willValidate.window.windowAttribution.windowControlsOverlay.windowId.windowIds.windows.with.withCredentials.withResolvers.word-break.word-spacing.word-wrap.wordBreak.wordSpacing.wordWrap.workerStart.worklet.wow64.wrap.wrapKey.writable.writableAuxiliaries.write.writeBuffer.writeMask.writeText.writeTexture.writeTimestamp.writeValue.writeValueWithResponse.writeValueWithoutResponse.writeWithoutResponse.writeln.writing-mode.writingMode.writingSuggestions.x.x1.x2.xChannelSelector.xmlEncoding.xmlStandalone.xmlVersion.xmlbase.xmllang.xmlspace.xor.xr.y.y1.y2.yChannelSelector.yandex.yield.z.z-index.zIndex.zoom.zoomAndPan.zoomRectScreen".split(".");function IT(e,t){e.walk(new Ax(function(e){return e instanceof oE?IT(e.tail_node(),t):e instanceof cx?t(e.value):e instanceof hE&&(IT(e.consequent,t),IT(e.alternative,t)),!0}))}function NT(e){var t=new Set;return Ex(e,e=>{e instanceof RE||e instanceof kE||e instanceof wE||e instanceof xE||e instanceof cE||(e instanceof EE?"string"==typeof e.key&&Yy(e,16)&&t.add(e.key):e instanceof bE?Yy(e,16)&&t.add(e.key.name):e instanceof sE?Yy(e,16)&&t.add(e.property):e instanceof lE&&e.property instanceof cx&&Yy(e,16)&&t.add(e.property.value))}),t}var LT=typeof Buffer<"u"?e=>Buffer.from(e,"base64").toString():e=>decodeURIComponent(escape(atob(e))),MT=typeof Buffer<"u"?e=>Buffer.from(e).toString("base64"):e=>btoa(unescape(encodeURIComponent(e)));function BT(e){var t=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(e);return t?LT(t[2]):(console.warn("inline source map not found"),null)}function UT(e,t,n){t[e]&&n.forEach(function(n){t[n]&&("object"!=typeof t[n]&&(t[n]={}),e in t[n]||(t[n][e]=t[e]))})}function $T(e){e&&("props"in e?e.props instanceof Map||(e.props=function(e){var t=new Map;for(var n in e)qy(e,n)&&"$"===n.charAt(0)&&t.set(n.substr(1),e[n]);return t}(e.props)):e.props=new Map)}function zT(e){return{props:Vy(e.props)}}async function GT(e,t,n){let r,i,o=function*(e,t,n){n&&"object"==typeof process&&process.env&&"string"==typeof process.env.TERSER_DEBUG_DIR&&function(e,t,n,r){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(r)}catch(e){if("EEXIST"!==e.code)throw e}let i=`${r}/terser-debug-${9999999*Math.random()|0}.log`;t||={};let o=JSON.stringify(t,(e,t)=>"function"==typeof t?"[Function "+t.toString()+"]":t instanceof RegExp?"[RegExp "+t.toString()+"]":t,4),a=e=>"object"==typeof e&&t.parse&&t.parse.spidermonkey?JSON.stringify(e,null,2):"object"==typeof e?Object.keys(e).map(t=>t+": "+a(e[t])).join("\n\n"):"string"==typeof e?"```\n"+e+"\n```":e;n.writeFileSync(i,"Options: \n"+o+"\n\nInput files:\n\n"+a(e)+"\n")}(e,t,n,process.env.TERSER_DEBUG_DIR);var r,i,o,a=(t=Ry(t,{compress:{},ecma:void 0,enclose:!1,ie8:!1,keep_classnames:void 0,keep_fnames:!1,mangle:{},module:!1,nameCache:null,output:null,format:null,parse:{},rename:void 0,safari10:!1,sourceMap:!1,spidermonkey:!1,timings:!1,toplevel:!1,warnings:!1,wrap:!1},!0)).timings&&{start:Date.now()};if(void 0===t.keep_classnames&&(t.keep_classnames=t.keep_fnames),void 0===t.rename&&(t.rename=t.compress&&t.mangle),t.output&&t.format)throw Error("Please only specify either output or format option, preferrably format.");if(t.format=t.format||t.output||{},UT("ecma",t,["parse","compress","format"]),UT("ie8",t,["compress","mangle","format"]),UT("keep_classnames",t,["compress","mangle"]),UT("keep_fnames",t,["compress","mangle"]),UT("module",t,["parse","compress","mangle"]),UT("safari10",t,["mangle","format"]),UT("toplevel",t,["compress","mangle"]),UT("warnings",t,["compress"]),t.mangle&&(t.mangle=Ry(t.mangle,{cache:t.nameCache&&(t.nameCache.vars||{}),eval:!1,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,nth_identifier:Kx,properties:!1,reserved:[],safari10:!1,toplevel:!1},!0),t.mangle.properties&&("object"!=typeof t.mangle.properties&&(t.mangle.properties={}),t.mangle.properties.keep_quoted&&(r=t.mangle.properties.reserved,Array.isArray(r)||(r=[]),t.mangle.properties.reserved=r),t.nameCache&&!("cache"in t.mangle.properties)&&(t.mangle.properties.cache=t.nameCache.props||{})),$T(t.mangle.cache),$T(t.mangle.properties.cache)),t.sourceMap&&=Ry(t.sourceMap,{asObject:!1,content:null,filename:null,includeSources:!1,root:null,url:null},!0),a&&(a.parse=Date.now()),e instanceof hb)i=e;else{if(("string"==typeof e||t.parse.spidermonkey&&!Array.isArray(e))&&(e=[e]),t.parse=t.parse||{},t.parse.toplevel=null,t.parse.spidermonkey)t.parse.toplevel=Wv.from_mozilla_ast(Object.keys(e).reduce(function(t,n){return t?(t.body=t.body.concat(e[n].body),t):e[n]},null));else for(var s in delete t.parse.spidermonkey,e)if(qy(e,s)&&(t.parse.filename=s,t.parse.toplevel=jv(e[s],t.parse),t.sourceMap&&"inline"==t.sourceMap.content)){if(Object.keys(e).length>1)throw Error("inline source map only works with singular input");t.sourceMap.content=BT(e[s])}if(null===t.parse.toplevel)throw Error("no source file given");i=t.parse.toplevel}r&&"strict"!==t.mangle.properties.keep_quoted&&function(e,t){function n(e){By(t,e)}e.walk(new Ax(function(e){e instanceof EE&&e.quote?n(e.key):e instanceof bE&&e.quote?n(e.key.name):e instanceof lE&&IT(e.property,n)}))}(i,r),t.mangle&&t.mangle.properties&&(o=NT(i)),t.wrap&&(i=i.wrap_commonjs(t.wrap)),t.enclose&&(i=i.wrap_enclose(t.enclose)),a&&(a.rename=Date.now()),a&&(a.compress=Date.now()),t.compress&&(i=new EA(t.compress,{mangle_options:t.mangle}).compress(i)),a&&(a.scope=Date.now()),t.mangle&&i.figure_out_scope(t.mangle),a&&(a.mangle=Date.now()),t.mangle&&(i.compute_char_frequency(t.mangle),i.mangle_names(t.mangle),i=function(e,t){var n=-1,r=new Map,i=t.nth_identifier||Kx;return e.transform(new Tx(function(e){e instanceof RE||e instanceof kE||e instanceof wE||e instanceof xE||e instanceof DE?e.key.name=o(e.key.name):e instanceof cE&&(e.property=o(e.property))}));function o(e){let t=r.get(e);return t||(t=i.get(++n),r.set(e,t)),t}}(i,t.mangle)),a&&(a.properties=Date.now()),t.mangle&&t.mangle.properties&&(i=function(e,t,n=NT(e)){var r=(t=Ry(t,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:Kx,only_cache:!1,regex:null,reserved:null,undeclared:!1,only_annotated:!1},!0)).nth_identifier,i=t.reserved;Array.isArray(i)||(i=[i]);var o=new Set(i);t.builtins||function(e){FT.forEach(r);var t={},n="object"==typeof global?global:self;function r(t){e.add(t)}["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"].forEach(function(e){t[e]=n[e]||function(){}}),["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(r),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp,t.Symbol,ArrayBuffer,DataView,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,eval,EvalError,Float32Array,Float64Array,Int8Array,Int16Array,Int32Array,isFinite,isNaN,JSON,t.Map,parseFloat,parseInt,t.Promise,t.Proxy,RangeError,ReferenceError,t.Reflect,t.Set,SyntaxError,TypeError,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,URIError,t.WeakMap,t.WeakSet].forEach(function(e){Object.getOwnPropertyNames(e).map(r),e.prototype&&Object.getOwnPropertyNames(e.prototype).map(r)})}(o);var a,s=-1,c=t.cache?t.cache.props:new Map,l=t.only_annotated,u=t.regex&&new RegExp(t.regex),p=!1!==t.debug;p&&(a=!0===t.debug?"":t.debug);var d=new Set,m=new Set;c.forEach(e=>m.add(e));var f=!!t.keep_quoted;return e.walk(new Ax(function(e){if(!(e instanceof RE||e instanceof kE||e instanceof wE||e instanceof xE||e instanceof cE))if(e instanceof EE)"string"==typeof e.key&&(!f||!e.quote)&&_(e.key);else if(e instanceof bE)(!f||!e.quote)&&_(e.key.name);else if(e instanceof sE){var n=!!t.undeclared;if(!n){for(var r=e;r.expression;)r=r.expression;n=!(r.thedef&&r.thedef.undeclared)}n&&(!f||!e.quote)&&_(e.property)}else e instanceof lE?f||IT(e.property,_):e instanceof rE&&"Object.defineProperty"==e.expression.print_to_string()?IT(e.args[1],_):e instanceof fE&&"in"===e.operator?IT(e.left,_):e instanceof cx&&Yy(e,8)&&_(e.value)})),e.transform(new Tx(function(e){e instanceof RE||e instanceof kE||e instanceof wE||e instanceof xE||e instanceof cE||(e instanceof EE?"string"==typeof e.key&&(!f||!e.quote)&&(e.key=y(e.key)):e instanceof bE?(!f||!e.quote)&&(e.computed_key()||(e.key.name=y(e.key.name))):e instanceof sE?(!f||!e.quote)&&(e.property=y(e.property)):!f&&e instanceof lE?e.property=v(e.property):e instanceof rE&&"Object.defineProperty"==e.expression.print_to_string()?e.args[1]=v(e.args[1]):e instanceof fE&&"in"===e.operator?e.left=v(e.left):e instanceof cx&&Yy(e,8)&&(Jy(e,8),e.value=y(e.value)))}));function h(e){return!m.has(e)&&!o.has(e)&&(t.only_cache?c.has(e):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(e))}function g(e){return!(l&&!n.has(e))&&(u&&!u.test(e)?n.has(e):!o.has(e)&&(c.has(e)||d.has(e)))}function _(e){h(e)&&d.add(e),g(e)||m.add(e)}function y(e){if(!g(e))return e;var t=c.get(e);if(!t){if(p){var n="_$"+e+"$"+a+"_";h(n)&&(t=n)}if(!t)do{t=r.get(++s)}while(!h(t));c.set(e,t)}return t}function v(e){return e.transform(new Tx(function(e){if(e instanceof oE){var t=e.expressions.length-1;e.expressions[t]=v(e.expressions[t])}else e instanceof cx?(Jy(e,8),e.value=y(e.value)):e instanceof hE&&(e.consequent=v(e.consequent),e.alternative=v(e.alternative));return e}))}}(i,t.mangle.properties,o)),a&&(a.format=Date.now());var c={};let l;if(t.format.ast&&(c.ast=i),t.format.spidermonkey&&(c.ast=i.to_mozilla_ast()),!qy(t.format,"code")||t.format.code){if(l={...t.format},l.ast||(l._destroy_ast=!0,Ex(i,e=>{e instanceof fb&&(e.variables=void 0,e.enclosed=void 0,e.parent_scope=void 0),e.block_scope&&(e.block_scope.variables=void 0,e.block_scope.enclosed=void 0,e.block_scope.parent_scope=void 0)})),t.sourceMap){if(t.sourceMap.includeSources&&e instanceof hb)throw Error("original source content unavailable");l.source_map=yield*function*(e){e=Ry(e,{file:null,root:null,orig:null,files:{}});var t,n=new PT({file:e.file,sourceRoot:e.root});let r={__proto__:null},i=e.files;for(var o in i)qy(i,o)&&(r[o]=i[o]);function a(e){return e.sourcesContent&&e.sourcesContent.every(e=>null==e)&&delete e.sourcesContent,void 0===e.file&&delete e.file,void 0===e.sourceRoot&&delete e.sourceRoot,e}return e.orig&&(t=yield new DT(e.orig)).sourcesContent&&t.sources.forEach(function(e,n){var i=t.sourcesContent[n];i&&(r[e]=i)}),{add:function(e,i,o,a,s,c){let l={line:i,column:o};if(t){var u=t.originalPositionFor({line:a,column:s});if(null===u.source)return void n.addMapping({generated:l,original:null,source:null,name:null});e=u.source,a=u.line,s=u.column,c=u.name||c}n.addMapping({generated:l,original:{line:a,column:s},source:e,name:c}),n.setSourceContent(e,r[e])},getDecoded:function(){return n.toDecodedMap?a(n.toDecodedMap()):null},getEncoded:function(){return a(n.toJSON())},destroy:function(){t&&t.destroy&&t.destroy()}}}({file:t.sourceMap.filename,orig:t.sourceMap.content,root:t.sourceMap.root,files:t.sourceMap.includeSources?e:null})}delete l.ast,delete l.code,delete l.spidermonkey;var u=Mx(l);if(i.print(u),c.code=u.get(),t.sourceMap)if(Object.defineProperty(c,"map",{configurable:!0,enumerable:!0,get(){let e=l.source_map.getEncoded();return c.map=t.sourceMap.asObject?e:JSON.stringify(e)},set(e){Object.defineProperty(c,"map",{value:e,writable:!0})}}),c.decoded_map=l.source_map.getDecoded(),"inline"==t.sourceMap.url){var p="object"==typeof c.map?JSON.stringify(c.map):c.map;c.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+MT(p)}else t.sourceMap.url&&(c.code+="\n//# sourceMappingURL="+t.sourceMap.url)}return t.nameCache&&t.mangle&&(t.mangle.cache&&(t.nameCache.vars=zT(t.mangle.cache)),t.mangle.properties&&t.mangle.properties.cache&&(t.nameCache.props=zT(t.mangle.properties.cache))),l&&l.source_map&&l.source_map.destroy(),a&&(a.end=Date.now(),c.timings={parse:.001*(a.rename-a.parse),rename:.001*(a.compress-a.rename),compress:.001*(a.scope-a.compress),scope:.001*(a.mangle-a.scope),mangle:.001*(a.properties-a.mangle),properties:.001*(a.format-a.properties),format:.001*(a.end-a.format),total:.001*(a.end-a.start)}),c}(e,t,n);do{i=o.next(await r),r=i.value}while(!i.done);return i.value}var jT=M((e,t)=>{t.exports=function(e){return e}}),VT=M((e,t)=>{var n=/([0-9]+)/;function r(e){return""+parseInt(e)==e?parseInt(e):e}t.exports=function(e,t){var i,o,a,s,c=(""+e).split(n).map(r),l=(""+t).split(n).map(r);for(a=0,s=Math.min(c.length,l.length);a<s;a++)if((i=c[a])!=(o=l[a]))return i>o?1:-1;return c.length>l.length?1:c.length==l.length?0:-1}}),qT=M((e,t)=>{var n=VT();function r(e,t){return n(e[1],t[1])}function i(e,t){return e[1]>t[1]?1:-1}t.exports=function(e,t){switch(t){case"natural":return e.sort(r);case"standard":return e.sort(i);case"none":case!1:return e}}}),HT=M((e,t)=>{t.exports=function e(t,n){var r,i,o,a={};for(r in t)o=t[r],Array.isArray(o)?a[r]=o.slice(0):a[r]="object"==typeof o&&o?e(o,{}):o;for(i in n)o=n[i],i in a&&Array.isArray(o)?a[i]=o.slice(0):a[i]=i in a&&"object"==typeof o&&o?e(a[i],o):o;return a}}),KT=M((e,t)=>{var n=HT(),r={AfterAtRule:"afterAtRule",AfterBlockBegins:"afterBlockBegins",AfterBlockEnds:"afterBlockEnds",AfterComment:"afterComment",AfterProperty:"afterProperty",AfterRuleBegins:"afterRuleBegins",AfterRuleEnds:"afterRuleEnds",BeforeBlockEnds:"beforeBlockEnds",BetweenSelectors:"betweenSelectors"},i={CarriageReturnLineFeed:"\r\n",LineFeed:"\n",System:function(){var e="\n";try{e=U("os").EOL}catch{}return e}()},o={AroundSelectorRelation:"aroundSelectorRelation",BeforeBlockBegins:"beforeBlockBegins",BeforeValue:"beforeValue"},a={breaks:s(!1),breakWith:i.System,indentBy:0,indentWith:" ",spaces:c(!1),wrapAt:!1,semicolonAfterLastProperty:!1};function s(e){var t={};return t[r.AfterAtRule]=e,t[r.AfterBlockBegins]=e,t[r.AfterBlockEnds]=e,t[r.AfterComment]=e,t[r.AfterProperty]=e,t[r.AfterRuleBegins]=e,t[r.AfterRuleEnds]=e,t[r.BeforeBlockEnds]=e,t[r.BetweenSelectors]=e,t}function c(e){var t={};return t[o.AroundSelectorRelation]=e,t[o.BeforeBlockBegins]=e,t[o.BeforeValue]=e,t}function l(e){switch(e){case"windows":case"crlf":case i.CarriageReturnLineFeed:return i.CarriageReturnLineFeed;case"unix":case"lf":case i.LineFeed:return i.LineFeed;default:return i.System}}function u(e){switch(e){case"space":return" ";case"tab":return"\t";default:return e}}function p(e){for(var t in r){var n=r[t],i=e.breaks[n];e.breaks[n]=!0===i?e.breakWith:!1===i?"":e.breakWith.repeat(parseInt(i))}return e}t.exports={Breaks:r,Spaces:o,formatFrom:function(e){return void 0!==e&&!1!==e&&("object"==typeof e&&"breakWith"in e&&(e=n(e,{breakWith:l(e.breakWith)})),"object"==typeof e&&"indentBy"in e&&(e=n(e,{indentBy:parseInt(e.indentBy)})),"object"==typeof e&&"indentWith"in e&&(e=n(e,{indentWith:u(e.indentWith)})),"object"==typeof e?p(n(a,e)):"string"==typeof e&&"beautify"==e?p(n(a,{breaks:s(!0),indentBy:2,spaces:c(!0)})):"string"==typeof e&&"keep-breaks"==e?p(n(a,{breaks:{afterAtRule:!0,afterBlockBegins:!0,afterBlockEnds:!0,afterComment:!0,afterRuleEnds:!0,beforeBlockEnds:!0}})):"string"==typeof e?p(n(a,function(e){return e.split(";").reduce(function(e,t){var n=t.split(":"),r=n[0],i=n[1];return"breaks"==r||"spaces"==r?e[r]=function(e){return e.split(",").reduce(function(e,t){var n=t.split("="),r=n[0],i=n[1];return e[r]=function(e){switch(e){case"false":case"off":return!1;case"true":case"on":return!0;default:return e}}(i),e},{})}(i):"indentBy"==r||"wrapAt"==r?e[r]=parseInt(i):"indentWith"==r?e[r]=u(i):"breakWith"==r&&(e[r]=l(i)),e},{})}(e))):a)}}}),WT=M((e,t)=>{t.exports={ASTERISK:"*",AT:"@",BACK_SLASH:"\\",CARRIAGE_RETURN:"\r",CLOSE_CURLY_BRACKET:"}",CLOSE_ROUND_BRACKET:")",CLOSE_SQUARE_BRACKET:"]",COLON:":",COMMA:",",DOUBLE_QUOTE:'"',EXCLAMATION:"!",FORWARD_SLASH:"/",INTERNAL:"-clean-css-",NEW_LINE_NIX:"\n",OPEN_CURLY_BRACKET:"{",OPEN_ROUND_BRACKET:"(",OPEN_SQUARE_BRACKET:"[",SEMICOLON:";",SINGLE_QUOTE:"'",SPACE:" ",TAB:"\t",UNDERSCORE:"_"}}),XT=M((e,t)=>{t.exports=function(e){var t=e[0],n=e[1],r=e[2];return r?r+":"+t+":"+n:t+":"+n}}),ZT=M((e,t)=>{var n=KT().Spaces,r=WT(),i=XT(),o=/[\s"'][iI]\s*\]/,a=/([\d\w])([iI])\]/g,s=/="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g,c=/="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g,l=/^(?:(?:<!--|-->)\s*)+/,u=/='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g,p=/='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g,d=/[>+~]/,m=/\s/,f=[":current",":future",":has",":host",":host-context",":is",":not",":past",":where"];function h(e){var t,n,i,o,a=!1,s=!1;for(i=0,o=e.length;i<o;i++){if(n=e[i],!t)if(n==r.SINGLE_QUOTE||n==r.DOUBLE_QUOTE)s=!s;else{if(!(s||n!=r.CLOSE_CURLY_BRACKET&&n!=r.EXCLAMATION&&"<"!=n&&n!=r.SEMICOLON)){a=!0;break}if(!s&&0===i&&d.test(n)){a=!0;break}}t=n==r.BACK_SLASH}return a}function g(e,t){var i,s,c,l,u,p,f,h,g,y,v,b,E,x,w=[],A=0,T=!1,S=!1,k=!1,C=o.test(e),O=t&&t.spaces[n.AroundSelectorRelation];for(E=0,x=e.length;E<x;E++){if(s=(i=e[E])==r.NEW_LINE_NIX,c=i==r.NEW_LINE_NIX&&e[E-1]==r.CARRIAGE_RETURN,p=f||h,y=!g&&!l&&0===A&&d.test(i),v=m.test(i),b=(1!=A||i!=r.CLOSE_ROUND_BRACKET)&&(b||0===A&&i==r.COLON&&_(e,E)),u&&p&&c)w.pop(),w.pop();else if(l&&p&&s)w.pop();else if(l)w.push(i);else if(i!=r.OPEN_SQUARE_BRACKET||p)if(i!=r.CLOSE_SQUARE_BRACKET||p)if(i!=r.OPEN_ROUND_BRACKET||p)if(i!=r.CLOSE_ROUND_BRACKET||p)if(i!=r.SINGLE_QUOTE||p)if(i!=r.DOUBLE_QUOTE||p)if(i==r.SINGLE_QUOTE&&p)w.push(i),f=!1;else if(i==r.DOUBLE_QUOTE&&p)w.push(i),h=!1;else{if(v&&S&&!O)continue;!v&&S&&O?(w.push(r.SPACE),w.push(i)):v&&!k&&T&&A>0&&b||(v&&!k&&A>0&&b?w.push(i):v&&(g||A>0)&&!p||v&&k&&!p||(c||s)&&(g||A>0)&&p||(y&&k&&!O?(w.pop(),w.push(i)):y&&!k&&O?(w.push(r.SPACE),w.push(i)):v?w.push(r.SPACE):w.push(i)))}else w.push(i),h=!0;else w.push(i),f=!0;else w.push(i),A--;else w.push(i),A++;else w.push(i),g=!1;else w.push(i),g=!0;u=l,l=i==r.BACK_SLASH,S=y,k=v,T=i==r.COMMA}return C?w.join("").replace(a,"$1 $2]"):w.join("")}function _(e,t){var n=e.substring(t,e.indexOf(r.OPEN_ROUND_BRACKET,t));return f.indexOf(n)>-1}function y(e){return-1==e.indexOf("'")&&-1==e.indexOf('"')?e:e.replace(u,"=$1 $2").replace(p,"=$1$2").replace(s,"=$1 $2").replace(c,"=$1$2")}function v(e){return e.replace("nth-child(1)","first-child").replace("nth-of-type(1)","first-of-type").replace("nth-of-type(even)","nth-of-type(2n)").replace("nth-child(even)","nth-child(2n)").replace("nth-of-type(2n+1)","nth-of-type(odd)").replace("nth-child(2n+1)","nth-child(odd)").replace("nth-last-child(1)","last-child").replace("nth-last-of-type(1)","last-of-type").replace("nth-last-of-type(even)","nth-last-of-type(2n)").replace("nth-last-child(even)","nth-last-child(2n)").replace("nth-last-of-type(2n+1)","nth-last-of-type(odd)").replace("nth-last-child(2n+1)","nth-last-child(odd)")}t.exports=function(e,t,n,r,o){var a=[],s=[];function c(e,t){return o.push("HTML comment '"+t+"' at "+i(e[2][0])+". Removing."),""}for(var u=0,p=e.length;u<p;u++){var d=e[u],m=d[1];h(m=m.replace(l,c.bind(null,d)))?o.push("Invalid selector '"+d[1]+"' at "+i(d[2][0])+". Ignoring."):(m=y(m=g(m,r)),n&&m.indexOf("nav")>0&&(m=m.replace(/\+nav(\S|$)/,"+ nav$1")),!(t&&m.indexOf("*+html ")>-1)&&(t&&m.indexOf("*:first-child+html ")>-1||(m.indexOf("*")>-1&&(m=m.replace(/\*([:#.[])/g,"$1").replace(/^(:first-child)?\+html/,"*$1+html")),!(s.indexOf(m)>-1)&&(m=v(m),d[1]=m,s.push(m),a.push(d)))))}return 1==a.length&&0===a[0][1].length&&(o.push("Empty selector '"+a[0][1]+"' at "+i(a[0][2][0])+". Ignoring."),a=[]),a}}),YT=M((e,t)=>{var n=/^@media\W/,r=/^@(?:keyframes|-moz-keyframes|-o-keyframes|-webkit-keyframes)\W/;t.exports=function(e,t){var i,o,a;for(a=e.length-1;a>=0;a--)i=!t&&n.test(e[a][1]),o=r.test(e[a][1]),e[a][1]=e[a][1].replace(/\n|\r\n/g," ").replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")"),o&&(e[a][1]=e[a][1].replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/,"$1").replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/,"$1")),i&&(e[a][1]=e[a][1].replace(/\) /g,")"));return e}}),QT=M((e,t)=>{t.exports=function(e){return e.replace(/\s+/g," ").replace(/url\(\s+/g,"url(").replace(/\s+\)/g,")").trim()}}),JT=M((e,t)=>{t.exports={ASTERISK:"asterisk",BANG:"bang",BACKSLASH:"backslash",UNDERSCORE:"underscore"}}),eS=M((e,t)=>{t.exports=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n.unused&&n.all.splice(n.position,1)}}}),tS=M((e,t)=>{var n=JT(),r=WT();function i(e){e.value[e.value.length-1][1]+="!important"}function o(e){e.hack[0]==n.UNDERSCORE?e.name="_"+e.name:e.hack[0]==n.ASTERISK?e.name="*"+e.name:e.hack[0]==n.BACKSLASH?e.value[e.value.length-1][1]+="\\"+e.hack[1]:e.hack[0]==n.BANG&&(e.value[e.value.length-1][1]+=r.SPACE+"!ie")}t.exports=function(e,t){var n,r,a,s;for(s=e.length-1;s>=0;s--)(n=e[s]).dynamic&&n.important?i(n):n.dynamic||n.unused||!n.dirty&&!n.important&&!n.hack||(n.optimizable&&t?(r=t(n),n.value=r):r=n.value,n.important&&i(n),n.hack&&o(n),"all"in n&&((a=n.all[n.position])[1][1]=n.name,a.splice(2,a.length-1),Array.prototype.push.apply(a,r)))}}),nS=M((e,t)=>{t.exports={AT_RULE:"at-rule",AT_RULE_BLOCK:"at-rule-block",AT_RULE_BLOCK_SCOPE:"at-rule-block-scope",COMMENT:"comment",NESTED_BLOCK:"nested-block",NESTED_BLOCK_SCOPE:"nested-block-scope",PROPERTY:"property",PROPERTY_BLOCK:"property-block",PROPERTY_NAME:"property-name",PROPERTY_VALUE:"property-value",RAW:"raw",RULE:"rule",RULE_SCOPE:"rule-scope"}}),rS=M((e,t)=>{var n=JT(),r=WT(),i=nS(),o={ASTERISK:"*",BACKSLASH:"\\",BANG:"!",BANG_SUFFIX_PATTERN:/!\w+$/,IMPORTANT_TOKEN:"!important",IMPORTANT_TOKEN_PATTERN:RegExp("!important$","i"),IMPORTANT_WORD:"important",IMPORTANT_WORD_PATTERN:RegExp("important$","i"),SUFFIX_BANG_PATTERN:/!$/,UNDERSCORE:"_",VARIABLE_REFERENCE_PATTERN:/var\(--.+\)$/};function a(e){var t,n,r;for(t=2,n=e.length;t<n;t++)if((r=e[t])[0]==i.PROPERTY_VALUE&&s(r[1]))return!0;return!1}function s(e){return o.VARIABLE_REFERENCE_PATTERN.test(e)}function c(e){var t,n,o;for(n=3,o=e.length;n<o;n++)if((t=e[n])[0]==i.PROPERTY_VALUE&&(t[1]==r.COMMA||t[1]==r.FORWARD_SLASH))return!0;return!1}function l(e){var t=function(e){if(e.length<3)return!1;var t=e[e.length-1];return!!(o.IMPORTANT_TOKEN_PATTERN.test(t[1])||o.IMPORTANT_WORD_PATTERN.test(t[1])&&o.SUFFIX_BANG_PATTERN.test(e[e.length-2][1]))}(e);t&&function(e){var t=e[e.length-1],n=e[e.length-2];o.IMPORTANT_TOKEN_PATTERN.test(t[1])?t[1]=t[1].replace(o.IMPORTANT_TOKEN_PATTERN,""):(t[1]=t[1].replace(o.IMPORTANT_WORD_PATTERN,""),n[1]=n[1].replace(o.SUFFIX_BANG_PATTERN,"")),0===t[1].length&&e.pop(),0===n[1].length&&e.pop()}(e);var r=function(e){var t=!1,r=e[1][1],i=e[e.length-1];return r[0]==o.UNDERSCORE?t=[n.UNDERSCORE]:r[0]==o.ASTERISK?t=[n.ASTERISK]:i[1][0]==o.BANG&&!i[1].match(o.IMPORTANT_WORD_PATTERN)||i[1].indexOf(o.BANG)>0&&!i[1].match(o.IMPORTANT_WORD_PATTERN)&&o.BANG_SUFFIX_PATTERN.test(i[1])?t=[n.BANG]:i[1].indexOf(o.BACKSLASH)>0&&i[1].indexOf(o.BACKSLASH)==i[1].length-o.BACKSLASH.length-1?t=[n.BACKSLASH,i[1].substring(i[1].indexOf(o.BACKSLASH)+1)]:0===i[1].indexOf(o.BACKSLASH)&&2==i[1].length&&(t=[n.BACKSLASH,i[1].substring(1)]),t}(e);return r[0]==n.ASTERISK||r[0]==n.UNDERSCORE?function(e){e[1][1]=e[1][1].substring(1)}(e):(r[0]==n.BACKSLASH||r[0]==n.BANG)&&function(e,t){var r=e[e.length-1];r[1]=r[1].substring(0,r[1].indexOf(t[0]==n.BACKSLASH?o.BACKSLASH:o.BANG)).trim(),0===r[1].length&&e.pop()}(e,r),{block:e[2]&&e[2][0]==i.PROPERTY_BLOCK,components:[],dirty:!1,dynamic:a(e),hack:r,important:t,name:e[1][1],multiplex:e.length>3&&c(e),optimizable:!0,position:0,shorthand:!1,unused:!1,value:e.slice(2)}}t.exports={all:function(e,t){var n,r,o,a=[];for(o=e.length-1;o>=0;o--)(r=e[o])[0]==i.PROPERTY&&(t&&t.indexOf(r[1][1])>-1||((n=l(r)).all=e,n.position=o,a.unshift(n)));return a},single:l}}),iS=M((e,t)=>{function n(e){this.name="InvalidPropertyError",this.message=e,this.stack=Error().stack}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,t.exports=n}),oS=M((e,t)=>{var n=iS(),r=rS().single,i=nS(),o=WT(),a=XT();function s(e){var t,n;for(t=0,n=e.length;t<n;t++)if("inherit"==e[t][1])return!0;return!1}function c(e,t,n){var o=n[e];return o.doubleValues&&2==o.defaultValue.length?r([i.PROPERTY,[i.PROPERTY_NAME,e],[i.PROPERTY_VALUE,o.defaultValue[0]],[i.PROPERTY_VALUE,o.defaultValue[1]]]):o.doubleValues&&1==o.defaultValue.length?r([i.PROPERTY,[i.PROPERTY_NAME,e],[i.PROPERTY_VALUE,o.defaultValue[0]]]):r([i.PROPERTY,[i.PROPERTY_NAME,e],[i.PROPERTY_VALUE,o.defaultValue]])}function l(e,t){var n=t[e.name].components,o=[],a=e.value;if(a.length<1)return[];a.length<2&&(a[1]=a[0].slice(0)),a.length<3&&(a[2]=a[0].slice(0)),a.length<4&&(a[3]=a[1].slice(0));for(var s=n.length-1;s>=0;s--){var c=r([i.PROPERTY,[i.PROPERTY_NAME,n[s]]]);c.value=[a[s]],o.unshift(c)}return o}function u(e,t,n){for(var r,i,o,a=t[e.name],s=[c(a.components[0],0,t),c(a.components[1],0,t),c(a.components[2],0,t)],l=0;l<3;l++){var u=s[l];u.name.indexOf("color")>0?r=u:u.name.indexOf("style")>0?i=u:o=u}if(1==e.value.length&&"inherit"==e.value[0][1]||3==e.value.length&&"inherit"==e.value[0][1]&&"inherit"==e.value[1][1]&&"inherit"==e.value[2][1])return r.value=i.value=o.value=[e.value[0]],s;var p,d,m=e.value.slice(0);return m.length>0&&(d=m.filter(function(e){return function(t){return"inherit"!=t[1]&&(e.isWidth(t[1])||e.isUnit(t[1])||e.isDynamicUnit(t[1]))&&!e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}(n)),(p=d.length>1&&("none"==d[0][1]||"auto"==d[0][1])?d[1]:d[0])&&(o.value=[p],m.splice(m.indexOf(p),1))),m.length>0&&(p=m.filter(function(e){return function(t){return"inherit"!=t[1]&&e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}(n))[0],p&&(i.value=[p],m.splice(m.indexOf(p),1))),m.length>0&&(p=m.filter(function(e){return function(t){return"invert"==t[1]||e.isColor(t[1])||e.isPrefixed(t[1])}}(n))[0],p&&(r.value=[p],m.splice(m.indexOf(p),1))),s}t.exports={animation:function(e,t,r){var i,o,l,u=c(e.name+"-duration",0,t),p=c(e.name+"-timing-function",0,t),d=c(e.name+"-delay",0,t),m=c(e.name+"-iteration-count",0,t),f=c(e.name+"-direction",0,t),h=c(e.name+"-fill-mode",0,t),g=c(e.name+"-play-state",0,t),_=c(e.name+"-name",0,t),y=[u,p,d,m,f,h,g,_],v=e.value,b=!1,E=!1,x=!1,w=!1,A=!1,T=!1,S=!1,k=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return u.value=p.value=d.value=m.value=f.value=h.value=g.value=_.value=e.value,y;if(v.length>1&&s(v))throw new n("Invalid animation values at "+a(v[0][2][0])+". Ignoring.");for(o=0,l=v.length;o<l;o++)if(i=v[o],r.isTime(i[1])&&!b)u.value=[i],b=!0;else if(r.isTime(i[1])&&!x)d.value=[i],x=!0;else if(!r.isGlobal(i[1])&&!r.isTimingFunction(i[1])||E)if(!r.isAnimationIterationCountKeyword(i[1])&&!r.isPositiveNumber(i[1])||w)if(r.isAnimationDirectionKeyword(i[1])&&!A)f.value=[i],A=!0;else if(r.isAnimationFillModeKeyword(i[1])&&!T)h.value=[i],T=!0;else if(r.isAnimationPlayStateKeyword(i[1])&&!S)g.value=[i],S=!0;else{if(!r.isAnimationNameKeyword(i[1])&&!r.isIdentifier(i[1])||k)throw new n("Invalid animation value at "+a(i[2][0])+". Ignoring.");_.value=[i],k=!0}else m.value=[i],w=!0;else p.value=[i],E=!0;return y},background:function(e,t,r){var i=c("background-image",0,t),s=c("background-position",0,t),l=c("background-size",0,t),u=c("background-repeat",0,t),p=c("background-attachment",0,t),d=c("background-origin",0,t),m=c("background-clip",0,t),f=c("background-color",0,t),h=[i,s,l,u,p,d,m,f],g=e.value,_=!1,y=!1,v=!1,b=!1,E=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return f.value=i.value=u.value=s.value=l.value=d.value=m.value=e.value,h;if(1==e.value.length&&"0 0"==e.value[0][1])return h;for(var x=g.length-1;x>=0;x--){var w=g[x];if(r.isBackgroundAttachmentKeyword(w[1]))p.value=[w],E=!0;else if(r.isBackgroundClipKeyword(w[1])||r.isBackgroundOriginKeyword(w[1]))y?(d.value=[w],v=!0):(m.value=[w],y=!0),E=!0;else if(r.isBackgroundRepeatKeyword(w[1]))b?u.value.unshift(w):(u.value=[w],b=!0),E=!0;else if(r.isBackgroundPositionKeyword(w[1])||r.isBackgroundSizeKeyword(w[1])||r.isUnit(w[1])||r.isDynamicUnit(w[1])){if(x>0){var A=g[x-1];A[1]==o.FORWARD_SLASH?l.value=[w]:x>1&&g[x-2][1]==o.FORWARD_SLASH?(l.value=[A,w],x-=2):(_||(s.value=[]),s.value.unshift(w),_=!0)}else _||(s.value=[]),s.value.unshift(w),_=!0;E=!0}else f.value[0][1]!=t[f.name].defaultValue&&"none"!=f.value[0][1]||!r.isColor(w[1])&&!r.isPrefixed(w[1])?(r.isUrl(w[1])||r.isFunction(w[1]))&&(i.value=[w],E=!0):(f.value=[w],E=!0)}if(y&&!v&&(d.value=m.value.slice(0)),!E)throw new n("Invalid background value at "+a(g[0][2][0])+". Ignoring.");return h},border:u,borderRadius:function(e,t){for(var r=e.value,i=-1,s=0,u=r.length;s<u;s++)if(r[s][1]==o.FORWARD_SLASH){i=s;break}if(0===i||i===r.length-1)throw new n("Invalid border-radius value at "+a(r[0][2][0])+". Ignoring.");var p=c(e.name,0,t);p.value=i>-1?r.slice(0,i):r.slice(0),p.components=l(p,t);var d=c(e.name,0,t);d.value=i>-1?r.slice(i+1):r.slice(0),d.components=l(d,t);for(var m=0;m<4;m++)p.components[m].multiplex=!0,p.components[m].value=p.components[m].value.concat(d.components[m].value);return p.components},font:function(e,t,r){var i,l,u,p,d=c("font-style",0,t),m=c("font-variant",0,t),f=c("font-weight",0,t),h=c("font-stretch",0,t),g=c("font-size",0,t),_=c("line-height",0,t),y=c("font-family",0,t),v=[d,m,f,h,g,_,y],b=e.value,E=0,x=!1,w=!1,A=!1,T=!1,S=!1;if(!b[E])throw new n("Missing font values at "+a(e.all[e.position][1][2][0])+". Ignoring.");if(1==b.length&&"inherit"==b[0][1])return d.value=m.value=f.value=h.value=g.value=_.value=y.value=b,v;if(1==b.length&&(r.isFontKeyword(b[0][1])||r.isGlobal(b[0][1])||r.isPrefixed(b[0][1])))return b[0][1]=o.INTERNAL+b[0][1],d.value=m.value=f.value=h.value=g.value=_.value=y.value=b,v;if(b.length<2||!function(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)if(n=e[r],t.isFontSizeKeyword(n[1])||t.isUnit(n[1])&&!t.isDynamicUnit(n[1])||t.isFunction(n[1]))return!0;return!1}(b,r)||!function(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)if(n=e[r],t.isIdentifier(n[1])||t.isQuotedText(n[1]))return!0;return!1}(b,r))throw new n("Invalid font values at "+a(e.all[e.position][1][2][0])+". Ignoring.");if(b.length>1&&s(b))throw new n("Invalid font values at "+a(b[0][2][0])+". Ignoring.");for(;E<4;){if(i=r.isFontStretchKeyword(b[E][1])||r.isGlobal(b[E][1]),l=r.isFontStyleKeyword(b[E][1])||r.isGlobal(b[E][1]),u=r.isFontVariantKeyword(b[E][1])||r.isGlobal(b[E][1]),p=r.isFontWeightKeyword(b[E][1])||r.isGlobal(b[E][1]),l&&!w)d.value=[b[E]],w=!0;else if(u&&!A)m.value=[b[E]],A=!0;else if(p&&!T)f.value=[b[E]],T=!0;else{if(!i||x){if(l&&w||u&&A||p&&T||i&&x)throw new n("Invalid font style / variant / weight / stretch value at "+a(b[0][2][0])+". Ignoring.");break}h.value=[b[E]],x=!0}E++}if(!(r.isFontSizeKeyword(b[E][1])||r.isUnit(b[E][1])&&!r.isDynamicUnit(b[E][1])))throw new n("Missing font size at "+a(b[0][2][0])+". Ignoring.");if(g.value=[b[E]],!b[++E])throw new n("Missing font family at "+a(b[0][2][0])+". Ignoring.");for(b[E]&&b[E][1]==o.FORWARD_SLASH&&b[E+1]&&(r.isLineHeightKeyword(b[E+1][1])||r.isUnit(b[E+1][1])||r.isNumber(b[E+1][1]))&&(_.value=[b[E+1]],E++,E++),y.value=[];b[E];)b[E][1]==o.COMMA?S=!1:(S?y.value[y.value.length-1][1]+=o.SPACE+b[E][1]:y.value.push(b[E]),S=!0),E++;if(0===y.value.length)throw new n("Missing font family at "+a(b[0][2][0])+". Ignoring.");return v},fourValues:l,listStyle:function(e,t,n){var r=c("list-style-type",0,t),i=c("list-style-position",0,t),o=c("list-style-image",0,t),a=[r,i,o];if(1==e.value.length&&"inherit"==e.value[0][1])return r.value=i.value=o.value=[e.value[0]],a;var s=e.value.slice(0),l=s.length,u=0;for(u=0,l=s.length;u<l;u++)if(n.isUrl(s[u][1])||"0"==s[u][1]){o.value=[s[u]],s.splice(u,1);break}for(u=0,l=s.length;u<l;u++)if(n.isListStylePositionKeyword(s[u][1])){i.value=[s[u]],s.splice(u,1);break}return s.length>0&&(n.isListStyleTypeKeyword(s[0][1])||n.isIdentifier(s[0][1]))&&(r.value=[s[0]]),a},multiplex:function(e){return function(t,n,r){var a,s,l,u,p=[],d=t.value;for(a=0,l=d.length;a<l;a++)","==d[a][1]&&p.push(a);if(0===p.length)return e(t,n,r);var m=[];for(a=0,l=p.length;a<=l;a++){var f=0===a?0:p[a-1]+1,h=a<l?p[a]:d.length,g=c(t.name,0,n);g.value=d.slice(f,h),g.value.length>0&&m.push(e(g,n,r))}var _=m[0];for(a=0,l=_.length;a<l;a++)for(_[a].multiplex=!0,s=1,u=m.length;s<u;s++)_[a].value.push([i.PROPERTY_VALUE,o.COMMA]),Array.prototype.push.apply(_[a].value,m[s][a].value);return _}},outline:u,transition:function(e,t,r){var i,o,l,u=c(e.name+"-property",0,t),p=c(e.name+"-duration",0,t),d=c(e.name+"-timing-function",0,t),m=c(e.name+"-delay",0,t),f=[u,p,d,m],h=e.value,g=!1,_=!1,y=!1,v=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return u.value=p.value=d.value=m.value=e.value,f;if(h.length>1&&s(h))throw new n("Invalid animation values at "+a(h[0][2][0])+". Ignoring.");for(o=0,l=h.length;o<l;o++)if(i=h[o],r.isTime(i[1])&&!g)p.value=[i],g=!0;else if(r.isTime(i[1])&&!_)m.value=[i],_=!0;else if(!r.isGlobal(i[1])&&!r.isTimingFunction(i[1])||v){if(!r.isIdentifier(i[1])||y)throw new n("Invalid animation value at "+a(i[2][0])+". Ignoring.");u.value=[i],y=!0}else d.value=[i],v=!0;return f}}}),aS=M((e,t)=>{var n=/(?:^|\W)(-\w+-)/g;function r(e){for(var t,r=[];null!==(t=n.exec(e));)-1==r.indexOf(t[0])&&r.push(t[0]);return r}t.exports={unique:r,same:function(e,t){return r(e).sort().join(",")==r(t).sort().join(",")}}}),sS=M((e,t)=>{var n=aS().same;t.exports=function(e,t,r,i,o){return!(!n(t,r)||o&&e.isVariable(t)!==e.isVariable(r))}}),cS=M((e,t)=>{var n=sS();function r(e,t,n){if(!e.isFunction(t)||!e.isFunction(n))return!1;var i=t.substring(0,t.indexOf("(")),o=n.substring(0,n.indexOf("(")),a=t.substring(i.length+1,t.length-1),s=n.substring(o.length+1,n.length-1);return e.isFunction(a)||e.isFunction(s)?i===o&&r(e,a,s):i===o}function i(e){return function(t,r,i){return!(!n(t,r,i,0,!0)&&!t.isKeyword(e)(i))&&(!(!t.isVariable(r)||!t.isVariable(i))||t.isKeyword(e)(i))}}function o(e){return function(t,r,i){return!!(n(t,r,i,0,!0)||t.isKeyword(e)(i)||t.isGlobal(i))&&(!(!t.isVariable(r)||!t.isVariable(i))||t.isKeyword(e)(i)||t.isGlobal(i))}}function a(e,t,n){return!!r(e,t,n)||t===n}function s(e,t,r){return!(!n(e,t,r,0,!0)&&!e.isUnit(r))&&(!(!e.isVariable(t)||!e.isVariable(r))||!(e.isUnit(t)&&!e.isUnit(r))&&(!!e.isUnit(r)||!e.isUnit(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(r)||e.isPrefixed(r))||a(e,t,r))))}function c(e){var t=o(e);return function(e,n,r){return s(e,n,r)||t(e,n,r)}}t.exports={generic:{color:function(e,t,r){return!(!n(e,t,r,0,!0)&&!e.isColor(r))&&(!(!e.isVariable(t)||!e.isVariable(r))||!(!e.colorOpacity&&(e.isRgbColor(t)||e.isHslColor(t))||!e.colorOpacity&&(e.isRgbColor(r)||e.isHslColor(r))||!e.colorHexAlpha&&(e.isHexAlphaColor(t)||e.isHexAlphaColor(r)))&&(!(!e.isColor(t)||!e.isColor(r))||a(e,t,r)))},components:function(e){return function(t,n,r,i){return e[i](t,n,r)}},image:function(e,t,r){return!(!n(e,t,r,0,!0)&&!e.isImage(r))&&(!!(e.isVariable(t)&&e.isVariable(r)||e.isImage(r))||!e.isImage(t)&&a(e,t,r))},propertyName:function(e,t,r){return!(!n(e,t,r,0,!0)&&!e.isIdentifier(r))&&(!(!e.isVariable(t)||!e.isVariable(r))||e.isIdentifier(r))},time:function(e,t,r){return!(!n(e,t,r,0,!0)&&!e.isTime(r))&&(!(!e.isVariable(t)||!e.isVariable(r))||!(e.isTime(t)&&!e.isTime(r))&&(!!e.isTime(r)||!e.isTime(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(r)||e.isPrefixed(r))||a(e,t,r))))},timingFunction:function(e,t,r){return!!(n(e,t,r,0,!0)||e.isTimingFunction(r)||e.isGlobal(r))&&(!(!e.isVariable(t)||!e.isVariable(r))||e.isTimingFunction(r)||e.isGlobal(r))},unit:s,unitOrNumber:function(e,t,r){return!!(n(e,t,r,0,!0)||e.isUnit(r)||e.isNumber(r))&&(!(!e.isVariable(t)||!e.isVariable(r))||!((e.isUnit(t)||e.isNumber(t))&&!e.isUnit(r)&&!e.isNumber(r))&&(!(!e.isUnit(r)&&!e.isNumber(r))||!e.isUnit(t)&&!e.isNumber(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(r)||e.isPrefixed(r))||a(e,t,r))))}},property:{animationDirection:o("animation-direction"),animationFillMode:i("animation-fill-mode"),animationIterationCount:function(e,t,r){return!!(n(e,t,r,0,!0)||e.isAnimationIterationCountKeyword(r)||e.isPositiveNumber(r))&&(!(!e.isVariable(t)||!e.isVariable(r))||e.isAnimationIterationCountKeyword(r)||e.isPositiveNumber(r))},animationName:function(e,t,r){return!!(n(e,t,r,0,!0)||e.isAnimationNameKeyword(r)||e.isIdentifier(r))&&(!(!e.isVariable(t)||!e.isVariable(r))||e.isAnimationNameKeyword(r)||e.isIdentifier(r))},animationPlayState:o("animation-play-state"),backgroundAttachment:i("background-attachment"),backgroundClip:o("background-clip"),backgroundOrigin:i("background-origin"),backgroundPosition:function(e,t,r){return!!(n(e,t,r,0,!0)||e.isBackgroundPositionKeyword(r)||e.isGlobal(r))&&(!!(e.isVariable(t)&&e.isVariable(r)||e.isBackgroundPositionKeyword(r)||e.isGlobal(r))||s(e,t,r))},backgroundRepeat:i("background-repeat"),backgroundSize:function(e,t,r){return!!(n(e,t,r,0,!0)||e.isBackgroundSizeKeyword(r)||e.isGlobal(r))&&(!!(e.isVariable(t)&&e.isVariable(r)||e.isBackgroundSizeKeyword(r)||e.isGlobal(r))||s(e,t,r))},bottom:c("bottom"),borderCollapse:i("border-collapse"),borderStyle:o("*-style"),clear:o("clear"),cursor:o("cursor"),display:o("display"),float:o("float"),left:c("left"),fontFamily:function(e,t,r){return n(e,t,r,0,!0)},fontStretch:o("font-stretch"),fontStyle:o("font-style"),fontVariant:o("font-variant"),fontWeight:o("font-weight"),listStyleType:o("list-style-type"),listStylePosition:o("list-style-position"),outlineStyle:o("*-style"),overflow:o("overflow"),position:o("position"),right:c("right"),textAlign:o("text-align"),textDecoration:o("text-decoration"),textOverflow:o("text-overflow"),textShadow:function(e,t,r){return!(!n(e,t,r,0,!0)&&!(e.isUnit(r)||e.isColor(r)||e.isGlobal(r)))&&(!(!e.isVariable(t)||!e.isVariable(r))||e.isUnit(r)||e.isColor(r)||e.isGlobal(r))},top:c("top"),transform:a,verticalAlign:c("vertical-align"),visibility:o("visibility"),whiteSpace:o("white-space"),zIndex:function(e,t,r){return!(!n(e,t,r,0,!0)&&!e.isZIndex(r))&&(!(!e.isVariable(t)||!e.isVariable(r))||e.isZIndex(r))}}}}),lS=M((e,t)=>{var n=rS().single,r=nS();function i(e){var t=n([r.PROPERTY,[r.PROPERTY_NAME,e.name]]);return t.important=e.important,t.hack=e.hack,t.unused=!1,t}t.exports={deep:function(e){for(var t=i(e),n=e.components.length-1;n>=0;n--){var r=i(e.components[n]);r.value=e.components[n].value.slice(0),t.components.unshift(r)}return t.dirty=!0,t.value=e.value.slice(0),t},shallow:i}}),uS=M((e,t)=>{var n=lS().shallow,r=nS(),i=WT();function o(e){for(var t=0,n=e.length;t<n;t++){var r=e[t][1];if("inherit"!=r&&r!=i.COMMA&&r!=i.FORWARD_SLASH)return!1}return!0}function a(e){var t=e.components,n=t[0].value[0],r=t[1].value[0],i=t[2].value[0],o=t[3].value[0];return n[1]==r[1]&&n[1]==i[1]&&n[1]==o[1]?[n]:n[1]==i[1]&&r[1]==o[1]?[n,r]:r[1]==o[1]?[n,r,i]:[n,r,i,o]}function s(e,t,n){var r,i,o;for(i=0,o=e.length;i<o;i++)if((r=e[i]).name==n&&r.value[0][1]==t[n].defaultValue)return!0;return!1}t.exports={background:function(e,t,n){var a,s,c=e.components,l=[];function u(e){Array.prototype.unshift.apply(l,e.value)}function p(e){var n=t[e.name];return n.doubleValues&&1==n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(!e.value[1]||e.value[1][1]==n.defaultValue[0]):n.doubleValues&&1!=n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(e.value[1]?e.value[1][1]:e.value[0][1])==n.defaultValue[1]:e.value[0][1]==n.defaultValue}for(var d=c.length-1;d>=0;d--){var m=c[d],f=p(m);if("background-clip"==m.name){var h=c[d-1],g=p(h);s=!(a=m.value[0][1]==h.value[0][1])&&(g&&!f||!g&&!f||!g&&f&&m.value[0][1]!=h.value[0][1]),a?u(h):s&&(u(m),u(h)),d--}else if("background-size"==m.name){var _=c[d-1],y=p(_);s=!(a=!y&&f)&&(y&&!f||!y&&!f),a?u(_):s?(u(m),l.unshift([r.PROPERTY_VALUE,i.FORWARD_SLASH]),u(_)):1==_.value.length&&u(_),d--}else{if(f||t[m.name].multiplexLastOnly&&!n)continue;u(m)}}return 0===l.length&&1==e.value.length&&"0"==e.value[0][1]&&l.push(e.value[0]),0===l.length&&l.push([r.PROPERTY_VALUE,t[e.name].defaultValue]),o(l)?[l[0]]:l},borderRadius:function(e){if(e.multiplex){for(var t=n(e),o=n(e),s=0;s<4;s++){var c=e.components[s],l=n(e);l.value=[c.value[0]],t.components.push(l);var u=n(e);u.value=[c.value[1]||c.value[0]],o.components.push(u)}var p=a(t),d=a(o);return p.length!=d.length||p[0][1]!=d[0][1]||p.length>1&&p[1][1]!=d[1][1]||p.length>2&&p[2][1]!=d[2][1]||p.length>3&&p[3][1]!=d[3][1]?p.concat([[r.PROPERTY_VALUE,i.FORWARD_SLASH]]).concat(d):p}return a(e)},font:function(e,t){var n,a=e.components,s=[],c=0,l=0;if(0===e.value[0][1].indexOf(i.INTERNAL))return e.value[0][1]=e.value[0][1].substring(i.INTERNAL.length),e.value;for(;c<4;)(n=a[c]).value[0][1]!=t[n.name].defaultValue&&Array.prototype.push.apply(s,n.value),c++;for(Array.prototype.push.apply(s,a[c].value),a[++c].value[0][1]!=t[a[c].name].defaultValue&&(Array.prototype.push.apply(s,[[r.PROPERTY_VALUE,i.FORWARD_SLASH]]),Array.prototype.push.apply(s,a[c].value)),c++;a[c].value[l];)s.push(a[c].value[l]),a[c].value[l+1]&&s.push([r.PROPERTY_VALUE,i.COMMA]),l++;return o(s)?[s[0]]:s},fourValues:a,multiplex:function(e){return function(t,o){if(!t.multiplex)return e(t,o,!0);var a,s,c=0,l=[],u={};for(a=0,s=t.components[0].value.length;a<s;a++)t.components[0].value[a][1]==i.COMMA&&c++;for(a=0;a<=c;a++){for(var p=n(t),d=0,m=t.components.length;d<m;d++){var f=t.components[d],h=n(f);p.components.push(h);for(var g=u[h.name]||0,_=f.value.length;g<_;g++){if(f.value[g][1]==i.COMMA){u[h.name]=g+1;break}h.value.push(f.value[g])}}var y=e(p,o,a==c);Array.prototype.push.apply(l,y),a<c&&l.push([r.PROPERTY_VALUE,i.COMMA])}return l}},withoutDefaults:function(e,t){for(var n=e.components,i=[],a=n.length-1;a>=0;a--){var c=n[a],l=t[c.name];(c.value[0][1]!=l.defaultValue||"keepUnlessDefault"in l&&!s(n,t,l.keepUnlessDefault))&&i.unshift(c.value[0])}return 0===i.length&&i.push([r.PROPERTY_VALUE,t[e.name].defaultValue]),o(i)?[i[0]]:i}}}),pS=M((e,t)=>{var n=HT(),r=/^\d+$/,i=["*","all"],o="off";function a(e){return{ch:e,cm:e,em:e,ex:e,in:e,mm:e,pc:e,pt:e,px:e,q:e,rem:e,vh:e,vmax:e,vmin:e,vw:e,"%":e}}t.exports={DEFAULT:o,roundingPrecisionFrom:function(e){return n(a(o),function(e){return null==e||"boolean"==typeof e?{}:"number"==typeof e&&-1==e?a(o):"number"==typeof e?a(e):"string"==typeof e&&r.test(e)?a(parseInt(e)):"string"==typeof e&&e==o?a(o):"object"==typeof e?e:e.split(",").reduce(function(e,t){var r=t.split("="),s=r[0],c=parseInt(r[1]);return(Number.isNaN(c)||-1==c)&&(c=o),i.indexOf(s)>-1?e=n(e,a(c)):e[s]=c,e},{})}(e))}}}),dS=M((e,t)=>{var n=pS().roundingPrecisionFrom,r=HT(),i={Zero:"0",One:"1",Two:"2"},o={};o[i.Zero]={},o[i.One]={cleanupCharsets:!0,normalizeUrls:!0,optimizeBackground:!0,optimizeBorderRadius:!0,optimizeFilter:!0,optimizeFontWeight:!0,optimizeOutline:!0,removeEmpty:!0,removeNegativePaddings:!0,removeQuotes:!0,removeWhitespace:!0,replaceMultipleZeros:!0,replaceTimeUnits:!0,replaceZeroUnits:!0,roundingPrecision:n(void 0),selectorsSortingMethod:"standard",specialComments:"all",tidyAtRules:!0,tidyBlockScopes:!0,tidySelectors:!0,variableValueOptimizers:[]},o[i.Two]={mergeAdjacentRules:!0,mergeIntoShorthands:!0,mergeMedia:!0,mergeNonAdjacentRules:!0,mergeSemantically:!1,overrideProperties:!0,removeEmpty:!0,reduceNonAdjacentRules:!0,removeDuplicateFontRules:!0,removeDuplicateMediaBlocks:!0,removeDuplicateRules:!0,removeUnusedAtRules:!1,restructureRules:!1,skipProperties:[]};var a="*",s="all";function c(e,t){var n,i=r(o[e],{});for(n in i)"boolean"==typeof i[n]&&(i[n]=t);return i}function l(e){switch(e){case"false":case"off":return!1;case"true":case"on":return!0;default:return e}}function u(e,t){return e.split(";").reduce(function(e,n){var i=n.split(":"),o=i[0],u=l(i[1]);return a==o||s==o?e=r(e,c(t,u)):e[o]=u,e},{})}t.exports={OptimizationLevel:i,optimizationLevelFrom:function(e){var t=r(o,{}),p=i.Zero,d=i.One,m=i.Two;return void 0===e?(delete t[m],t):("string"==typeof e&&(e=parseInt(e)),"number"==typeof e&&e===parseInt(m)?t:"number"==typeof e&&e===parseInt(d)?(delete t[m],t):"number"==typeof e&&e===parseInt(p)?(delete t[m],delete t[d],t):("object"==typeof e&&(e=function(e){var t,n,i=r(e,{});for(n=0;n<=2;n++)(t=""+n)in i&&(void 0===i[t]||!1===i[t])&&delete i[t],t in i&&!0===i[t]&&(i[t]={}),t in i&&"string"==typeof i[t]&&(i[t]=u(i[t],t));return i}(e)),d in e&&"roundingPrecision"in e[d]&&(e[d].roundingPrecision=n(e[d].roundingPrecision)),m in e&&"skipProperties"in e[m]&&"string"==typeof e[m].skipProperties&&(e[m].skipProperties=e[m].skipProperties.split(",")),(p in e||d in e||m in e)&&(t[p]=r(t[p],e[p])),d in e&&a in e[d]&&(t[d]=r(t[d],c(d,l(e[d][a]))),delete e[d][a]),d in e&&s in e[d]&&(t[d]=r(t[d],c(d,l(e[d][s]))),delete e[d][s]),d in e||m in e?t[d]=r(t[d],e[d]):delete t[d],m in e&&a in e[m]&&(t[m]=r(t[m],c(m,l(e[m][a]))),delete e[m][a]),m in e&&s in e[m]&&(t[m]=r(t[m],c(m,l(e[m][s]))),delete e[m][s]),m in e?t[m]=r(t[m],e[m]):delete t[m],t))}}}),mS=M((e,t)=>{var n=dS().OptimizationLevel;t.exports={level1:{property:function(e,t,r){var i=t.value;r.level[n.One].optimizeBackground&&(1==i.length&&"none"==i[0][1]&&(i[0][1]="0 0"),1==i.length&&"transparent"==i[0][1]&&(i[0][1]="0 0"))}}}}),fS=M((e,t)=>{t.exports={level1:{property:function(e,t){var n=t.value;4==n.length&&"0"===n[0][1]&&"0"===n[1][1]&&"0"===n[2][1]&&"0"===n[3][1]&&(t.value.splice(2),t.dirty=!0)}}}}),hS=M((e,t)=>{var n=dS().OptimizationLevel;t.exports={level1:{property:function(e,t,r){var i=t.value;r.level[n.One].optimizeBorderRadius&&(3==i.length&&"/"==i[1][1]&&i[0][1]==i[2][1]?(t.value.splice(1),t.dirty=!0):5==i.length&&"/"==i[2][1]&&i[0][1]==i[3][1]&&i[1][1]==i[4][1]?(t.value.splice(2),t.dirty=!0):7==i.length&&"/"==i[3][1]&&i[0][1]==i[4][1]&&i[1][1]==i[5][1]&&i[2][1]==i[6][1]?(t.value.splice(3),t.dirty=!0):9==i.length&&"/"==i[4][1]&&i[0][1]==i[5][1]&&i[1][1]==i[6][1]&&i[2][1]==i[7][1]&&i[3][1]==i[8][1]&&(t.value.splice(4),t.dirty=!0))}}}}),gS=M((e,t)=>{var n=dS().OptimizationLevel,r=/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/,i=/,(\S)/g,o=/ ?= ?/g;t.exports={level1:{property:function(e,t,a){a.compatibility.properties.ieFilters&&a.level[n.One].optimizeFilter&&(1==t.value.length&&(t.value[0][1]=t.value[0][1].replace(r,function(e,t,n){return t.toLowerCase()+n})),t.value[0][1]=t.value[0][1].replace(i,", $1").replace(o,"="))}}}}),_S=M((e,t)=>{var n=dS().OptimizationLevel;t.exports={level1:{property:function(e,t,r){var i=t.value[0][1];r.level[n.One].optimizeFontWeight&&("normal"==i?i="400":"bold"==i&&(i="700"),t.value[0][1]=i)}}}}),yS=M((e,t)=>{var n=dS().OptimizationLevel;t.exports={level1:{property:function(e,t,r){var i=t.value;r.level[n.One].replaceMultipleZeros&&4==i.length&&"0"===i[0][1]&&"0"===i[1][1]&&"0"===i[2][1]&&"0"===i[3][1]&&(t.value.splice(1),t.dirty=!0)}}}}),vS=M((e,t)=>{var n=dS().OptimizationLevel;t.exports={level1:{property:function(e,t,r){var i=t.value;r.level[n.One].optimizeOutline&&1==i.length&&"none"==i[0][1]&&(i[0][1]="0")}}}}),bS=M((e,t)=>{var n=dS().OptimizationLevel;function r(e){return e&&"-"==e[1][0]&&parseFloat(e[1])<0}t.exports={level1:{property:function(e,t,i){var o=t.value;4==o.length&&"0"===o[0][1]&&"0"===o[1][1]&&"0"===o[2][1]&&"0"===o[3][1]&&(t.value.splice(1),t.dirty=!0),i.level[n.One].removeNegativePaddings&&(r(t.value[0])||r(t.value[1])||r(t.value[2])||r(t.value[3]))&&(t.unused=!0)}}}}),ES=M((e,t)=>{t.exports={background:mS().level1.property,boxShadow:fS().level1.property,borderRadius:hS().level1.property,filter:gS().level1.property,fontWeight:_S().level1.property,margin:yS().level1.property,outline:vS().level1.property,padding:bS().level1.property}}),xS=M((e,t)=>{var n={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"},r={},i={};for(var o in n){var a=n[o];o.length<a.length?i[a]=o:r[o]=a}var s=RegExp("(^| |,|\\))("+Object.keys(r).join("|")+")( |,|\\)|$)","ig"),c=RegExp("("+Object.keys(i).join("|")+")([^a-f0-9]|$)","ig");function l(e,t,n,i){return t+r[n.toLowerCase()]+i}function u(e,t,n){return i[t.toLowerCase()]+n}t.exports=function(e){var t=e.indexOf("#")>-1,n=e.replace(s,l);return n!=e&&(n=n.replace(s,l)),t?n.replace(c,u):n}}),wS=M((e,t)=>{function n(e,t,n){var i,o,a;if((e%=360)<0&&(e+=360),e=~~e/360,t<0?t=0:t>100&&(t=100),n<0?n=0:n>100&&(n=100),n=~~n/100,0==(t=~~t/100))i=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;i=r(c,s,e+1/3),o=r(c,s,e),a=r(c,s,e-1/3)}return[~~(255*i),~~(255*o),~~(255*a)]}function r(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}t.exports=function(e,t,r){var i=n(e,t,r),o=i[0].toString(16),a=i[1].toString(16),s=i[2].toString(16);return"#"+(1==o.length?"0":"")+o+(1==a.length?"0":"")+a+(1==s.length?"0":"")+s}}),AS=M((e,t)=>{t.exports=function(e,t,n){return"#"+("00000"+(Math.max(0,Math.min(parseInt(e),255))<<16|Math.max(0,Math.min(parseInt(t),255))<<8|Math.max(0,Math.min(parseInt(n),255))).toString(16)).slice(-6)}}),TS=M((e,t)=>{var n=WT();function r(e,t,n){return n?t.test(e):e===t}t.exports=function(e,t){var i,o=n.OPEN_ROUND_BRACKET,a=n.CLOSE_ROUND_BRACKET,s=0,c=0,l=0,u=e.length,p=[],d="object"==typeof t&&"exec"in t;if(!d&&-1==e.indexOf(t))return[e];if(-1==e.indexOf(o))return e.split(t);for(;c<u;)e[c]==o?s++:e[c]==a&&s--,0===s&&c>0&&c+1<u&&r(e[c],t,d)&&(p.push(e.substring(l,c)),d&&t.exec(e[c]).length>1&&p.push(e[c]),l=c+1),c++;return l<c+1&&(r((i=e.substring(l))[i.length-1],t,d)&&(i=i.substring(0,i.length-1)),p.push(i)),p}}),SS=M((e,t)=>{var n=xS(),r=wS(),i=AS(),o=TS(),a=/(rgb|rgba|hsl|hsla)\(([^()]+)\)/gi,s=/#|rgb|hsl/gi,c=/(^|[^='"])#([0-9a-f]{6})/gi,l=/(^|[^='"])#([0-9a-f]{3})/gi,u=/[0-9a-f]/i,p=/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/gi,d=/(rgb|hsl)a?\((-?\d+),(-?\d+%?),(-?\d+%?),(0*[1-9]+[0-9]*(\.?\d*)?)\)/gi,m=/rgb\((-?\d+),(-?\d+),(-?\d+)\)/gi,f=/(?:rgba|hsla)\(0,0%?,0%?,0\)/g;t.exports={level1:{value:function(e,t,h){return h.compatibility.properties.colors?t.match(s)?(t=t.replace(d,function(e,t,n,r,i,o){return parseInt(o)>=1?t+"("+[n,r,i].join(",")+")":e}).replace(m,function(e,t,n,r){return i(t,n,r)}).replace(p,function(e,t,n,i){return r(t,n,i)}).replace(c,function(e,t,n,r,i){var o=i[r+e.length];return o&&u.test(o)?e:n[0]==n[1]&&n[2]==n[3]&&n[4]==n[5]?(t+"#"+n[0]+n[2]+n[4]).toLowerCase():(t+"#"+n).toLowerCase()}).replace(l,function(e,t,n){return t+"#"+n.toLowerCase()}).replace(a,function(e,t,n){var r=n.split(","),i=t&&t.toLowerCase();return"hsl"==i&&3==r.length||"hsla"==i&&4==r.length||"rgb"==i&&3===r.length&&n.indexOf("%")>0||"rgba"==i&&4==r.length&&r[0].indexOf("%")>0?(-1==r[1].indexOf("%")&&(r[1]+="%"),-1==r[2].indexOf("%")&&(r[2]+="%"),t+"("+r.join(",")+")"):e}),h.compatibility.colors.opacity&&-1==e.indexOf("background")&&(t=t.replace(f,function(e){return o(t,",").pop().indexOf("gradient(")>-1?e:"transparent"})),n(t)):n(t):t}}}}),kS=M((e,t)=>{var n=/\(0deg\)/g;t.exports={level1:{value:function(e,t,r){return r.compatibility.properties.zeroUnits&&-1!=t.indexOf("0deg")?t.replace(n,"(0)"):t}}}}),CS=M((e,t)=>{var n=/^url\(/i;t.exports=function(e){return n.test(e)}}),OS=M((e,t)=>{var n=TS(),r=CS(),i=dS().OptimizationLevel,o=/^expression\(.*\)$/,a=/^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/,s=/([\s,/])/,c=/(^|\D)\.0+(\D|$)/g,l=/\.([1-9]*)0+(\D|$)/g,u=/(^|\D)0\.(\d)/g,p=/([^\w\d-]|^)-0([^.]|$)/g,d=/(^|\s)0+([1-9])/g;function m(e){var t,i;return r(e)||o.test(e)?e:(t=a.exec(e))?(i=n(t[2],s).map(function(e){return m(e)}),t[1]+"("+i.join("")+")"):function(e){return-1==e.indexOf("0")?e:(e.indexOf("-")>-1&&(e=e.replace(p,"$10$2").replace(p,"$10$2")),e.replace(d,"$1$2").replace(c,"$10$2").replace(l,function(e,t,n){return(t.length>0?".":"")+t+n}).replace(u,"$1.$2"))}(e)}t.exports={level1:{value:function(e,t,n){return n.level[i.One].replaceZeroUnits?m(t):t}}}}),RS=M((e,t)=>{t.exports={level1:{value:function(e,t,n){return n.precision.enabled&&-1!==t.indexOf(".")?t.replace(n.precision.decimalPointMatcher,"$1$2$3").replace(n.precision.zeroMatcher,function(e,t,r,i){var o=n.precision.units[i].multiplier,a=parseInt(t),s=Number.isNaN(a)?0:a,c=parseFloat(r);return Math.round((s+c)*o)/o+i}):t}}}}),DS=M((e,t)=>{var n=dS().OptimizationLevel,r=/^local\(/i,i=/^('.*'|".*")$/,o=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,a=/^['"](?:cursive|default|emoji|fangsong|fantasy|inherit|initial|math|monospace|revert|revert-layer|sans-serif|serif|system-ui|ui-monospace|ui-rounded|ui-sans-serif|ui-serif|unset)['"]$/;t.exports={level1:{value:function(e,t,s){return("font-family"==e||"font"==e)&&a.test(t)||!s.level[n.One].removeQuotes||!i.test(t)&&!r.test(t)?t:o.test(t)?t.substring(1,t.length-1):t}}}}),PS=M((e,t)=>{var n=dS().OptimizationLevel,r=/^(-?[\d.]+)(m?s)$/;t.exports={level1:{value:function(e,t,i){return i.level[n.One].replaceTimeUnits&&r.test(t)?t.replace(r,function(e,t,n){var r;return"ms"==n?r=parseInt(t)/1e3+"s":"s"==n&&(r=1e3*parseFloat(t)+"ms"),r.length<e.length?r:e}):t}}}}),FS=M((e,t)=>{var n=/(?:^|\s|\()(-?\d+)px/;t.exports={level1:{value:function(e,t,r){return n.test(t)?t.replace(n,function(e,t){var n,i=parseInt(t);return 0===i?e:(r.compatibility.properties.shorterLengthUnits&&r.compatibility.units.pt&&3*i%4==0&&(n=3*i/4+"pt"),r.compatibility.properties.shorterLengthUnits&&r.compatibility.units.pc&&i%16==0&&(n=i/16+"pc"),r.compatibility.properties.shorterLengthUnits&&r.compatibility.units.in&&i%96==0&&(n=i/96+"in"),n&&=e.substring(0,e.indexOf(t))+n,n&&n.length<e.length?n:e)}):t}}}}),IS=M((e,t)=>{var n=CS(),r=dS().OptimizationLevel,i=/^url\(/i;t.exports={level1:{value:function(e,t,o){return o.level[r.One].normalizeUrls&&n(t)?t.replace(i,"url("):t}}}}),NS=M((e,t)=>{var n=/^url\(['"].+['"]\)$/,r=/^url\(['"].*[*\s()'"].*['"]\)$/,i=/["']/g,o=/^url\(['"]data:[^;]+;charset/;t.exports={level1:{value:function(e,t,a){return a.compatibility.properties.urlQuotes||!n.test(t)||r.test(t)||o.test(t)?t:t.replace(i,"")}}}}),LS=M((e,t)=>{var n=CS(),r=/\\?\n|\\?\r\n/g,i=/(\()\s+/g,o=/\s+(\))/g;t.exports={level1:{value:function(e,t){return n(t)?t.replace(r,"").replace(i,"$1").replace(o,"$1"):t}}}}),MS=M((e,t)=>{var n=dS().OptimizationLevel,r=WT(),i=/\) ?\/ ?/g,o=/, /g,a=/\r?\n/g,s=/\s+/g,c=/\s+(;?\))/g,l=/(\(;?)\s+/g,u=/^--\S+$/,p=/^var\(\s*--\S+\s*\)$/;t.exports={level1:{value:function(e,t,d){return!d.level[n.One].removeWhitespace||u.test(e)&&!p.test(t)||-1==t.indexOf(" ")&&-1==t.indexOf("\n")||0===t.indexOf("expression")||t.indexOf(r.SINGLE_QUOTE)>-1||t.indexOf(r.DOUBLE_QUOTE)>-1?t:((t=(t=t.replace(a,"")).replace(s," ")).indexOf("calc")>-1&&(t=t.replace(i,")/ ")),t.replace(l,"$1").replace(c,"$1").replace(o,","))}}}}),BS=M((e,t)=>{var n=TS(),r=/^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/,i=/^(?:-moz-calc|-webkit-calc|calc|rgb|hsl|rgba|hsla|min|max|clamp|expression)\(/,o=/([\s,/])/;function a(e,t){var s,c;return i.test(e)?e:(s=r.exec(e))?(c=n(s[2],o).map(function(e){return a(e,t)}),s[1]+"("+c.join("")+")"):function(e,t){return e.replace(t.unitsRegexp,"$10$2").replace(t.unitsRegexp,"$10$2")}(e,t)}t.exports={level1:{value:function(e,t,n){return!n.compatibility.properties.zeroUnits||t.indexOf("%")>0&&("height"==e||"max-height"==e||"width"==e||"max-width"==e)?t:a(t,n)}}}}),US=M((e,t)=>{t.exports={color:SS().level1.value,degrees:kS().level1.value,fraction:OS().level1.value,precision:RS().level1.value,textQuotes:DS().level1.value,time:PS().level1.value,unit:FS().level1.value,urlPrefix:IS().level1.value,urlQuotes:NS().level1.value,urlWhiteSpace:LS().level1.value,whiteSpace:MS().level1.value,zero:BS().level1.value}}),$S=M((e,t)=>{var n=oS(),r=cS(),i=uS(),o=ES(),a=US(),s=HT(),c={animation:{canOverride:r.generic.components([r.generic.time,r.generic.timingFunction,r.generic.time,r.property.animationIterationCount,r.property.animationDirection,r.property.animationFillMode,r.property.animationPlayState,r.property.animationName]),components:["animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-name"],breakUp:n.multiplex(n.animation),defaultValue:"none",restore:i.multiplex(i.withoutDefaults),shorthand:!0,valueOptimizers:[a.whiteSpace,a.textQuotes,a.time,a.fraction,a.precision,a.unit,a.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-delay":{canOverride:r.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",valueOptimizers:[a.time,a.fraction,a.precision,a.unit,a.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-direction":{canOverride:r.property.animationDirection,componentOf:["animation"],defaultValue:"normal",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-duration":{canOverride:r.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",keepUnlessDefault:"animation-delay",valueOptimizers:[a.time,a.fraction,a.precision,a.unit,a.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-fill-mode":{canOverride:r.property.animationFillMode,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-iteration-count":{canOverride:r.property.animationIterationCount,componentOf:["animation"],defaultValue:"1",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-name":{canOverride:r.property.animationName,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",valueOptimizers:[a.textQuotes],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-play-state":{canOverride:r.property.animationPlayState,componentOf:["animation"],defaultValue:"running",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-timing-function":{canOverride:r.generic.timingFunction,componentOf:["animation"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},background:{canOverride:r.generic.components([r.generic.image,r.property.backgroundPosition,r.property.backgroundSize,r.property.backgroundRepeat,r.property.backgroundAttachment,r.property.backgroundOrigin,r.property.backgroundClip,r.generic.color]),components:["background-image","background-position","background-size","background-repeat","background-attachment","background-origin","background-clip","background-color"],breakUp:n.multiplex(n.background),defaultValue:"0 0",propertyOptimizer:o.background,restore:i.multiplex(i.background),shortestValue:"0",shorthand:!0,valueOptimizers:[a.whiteSpace,a.urlWhiteSpace,a.fraction,a.zero,a.color,a.urlPrefix,a.urlQuotes]},"background-attachment":{canOverride:r.property.backgroundAttachment,componentOf:["background"],defaultValue:"scroll",intoMultiplexMode:"real"},"background-clip":{canOverride:r.property.backgroundClip,componentOf:["background"],defaultValue:"border-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-color":{canOverride:r.generic.color,componentOf:["background"],defaultValue:"transparent",intoMultiplexMode:"real",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red",valueOptimizers:[a.whiteSpace,a.fraction,a.color]},"background-image":{canOverride:r.generic.image,componentOf:["background"],defaultValue:"none",intoMultiplexMode:"default",valueOptimizers:[a.urlWhiteSpace,a.urlPrefix,a.urlQuotes,a.whiteSpace,a.fraction,a.precision,a.unit,a.zero,a.color]},"background-origin":{canOverride:r.property.backgroundOrigin,componentOf:["background"],defaultValue:"padding-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-position":{canOverride:r.property.backgroundPosition,componentOf:["background"],defaultValue:["0","0"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"background-repeat":{canOverride:r.property.backgroundRepeat,componentOf:["background"],defaultValue:["repeat"],doubleValues:!0,intoMultiplexMode:"real"},"background-size":{canOverride:r.property.backgroundSize,componentOf:["background"],defaultValue:["auto"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0 0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},bottom:{canOverride:r.property.bottom,defaultValue:"auto",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},border:{breakUp:n.border,canOverride:r.generic.components([r.generic.unit,r.property.borderStyle,r.generic.color]),components:["border-width","border-style","border-color"],defaultValue:"none",overridesShorthands:["border-bottom","border-left","border-right","border-top"],restore:i.withoutDefaults,shorthand:!0,shorthandComponents:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.zero,a.color]},"border-bottom":{breakUp:n.border,canOverride:r.generic.components([r.generic.unit,r.property.borderStyle,r.generic.color]),components:["border-bottom-width","border-bottom-style","border-bottom-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.zero,a.color]},"border-bottom-color":{canOverride:r.generic.color,componentOf:["border-bottom","border-color"],defaultValue:"none",valueOptimizers:[a.whiteSpace,a.fraction,a.color]},"border-bottom-left-radius":{canOverride:r.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:o.borderRadius,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero],vendorPrefixes:["-moz-","-o-"]},"border-bottom-right-radius":{canOverride:r.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:o.borderRadius,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero],vendorPrefixes:["-moz-","-o-"]},"border-bottom-style":{canOverride:r.property.borderStyle,componentOf:["border-bottom","border-style"],defaultValue:"none"},"border-bottom-width":{canOverride:r.generic.unit,componentOf:["border-bottom","border-width"],defaultValue:"medium",oppositeTo:"border-top-width",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"border-collapse":{canOverride:r.property.borderCollapse,defaultValue:"separate"},"border-color":{breakUp:n.fourValues,canOverride:r.generic.components([r.generic.color,r.generic.color,r.generic.color,r.generic.color]),componentOf:["border"],components:["border-top-color","border-right-color","border-bottom-color","border-left-color"],defaultValue:"none",restore:i.fourValues,shortestValue:"red",shorthand:!0,singleTypeComponents:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.color]},"border-left":{breakUp:n.border,canOverride:r.generic.components([r.generic.unit,r.property.borderStyle,r.generic.color]),components:["border-left-width","border-left-style","border-left-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.zero,a.color]},"border-left-color":{canOverride:r.generic.color,componentOf:["border-color","border-left"],defaultValue:"none",valueOptimizers:[a.whiteSpace,a.fraction,a.color]},"border-left-style":{canOverride:r.property.borderStyle,componentOf:["border-left","border-style"],defaultValue:"none"},"border-left-width":{canOverride:r.generic.unit,componentOf:["border-left","border-width"],defaultValue:"medium",oppositeTo:"border-right-width",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"border-radius":{breakUp:n.borderRadius,canOverride:r.generic.components([r.generic.unit,r.generic.unit,r.generic.unit,r.generic.unit]),components:["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],defaultValue:"0",propertyOptimizer:o.borderRadius,restore:i.borderRadius,shorthand:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero],vendorPrefixes:["-moz-","-o-"]},"border-right":{breakUp:n.border,canOverride:r.generic.components([r.generic.unit,r.property.borderStyle,r.generic.color]),components:["border-right-width","border-right-style","border-right-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.color]},"border-right-color":{canOverride:r.generic.color,componentOf:["border-color","border-right"],defaultValue:"none",valueOptimizers:[a.whiteSpace,a.fraction,a.color]},"border-right-style":{canOverride:r.property.borderStyle,componentOf:["border-right","border-style"],defaultValue:"none"},"border-right-width":{canOverride:r.generic.unit,componentOf:["border-right","border-width"],defaultValue:"medium",oppositeTo:"border-left-width",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"border-style":{breakUp:n.fourValues,canOverride:r.generic.components([r.property.borderStyle,r.property.borderStyle,r.property.borderStyle,r.property.borderStyle]),componentOf:["border"],components:["border-top-style","border-right-style","border-bottom-style","border-left-style"],defaultValue:"none",restore:i.fourValues,shorthand:!0,singleTypeComponents:!0},"border-top":{breakUp:n.border,canOverride:r.generic.components([r.generic.unit,r.property.borderStyle,r.generic.color]),components:["border-top-width","border-top-style","border-top-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.zero,a.color,a.unit]},"border-top-color":{canOverride:r.generic.color,componentOf:["border-color","border-top"],defaultValue:"none",valueOptimizers:[a.whiteSpace,a.fraction,a.color]},"border-top-left-radius":{canOverride:r.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:o.borderRadius,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero],vendorPrefixes:["-moz-","-o-"]},"border-top-right-radius":{canOverride:r.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:o.borderRadius,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero],vendorPrefixes:["-moz-","-o-"]},"border-top-style":{canOverride:r.property.borderStyle,componentOf:["border-style","border-top"],defaultValue:"none"},"border-top-width":{canOverride:r.generic.unit,componentOf:["border-top","border-width"],defaultValue:"medium",oppositeTo:"border-bottom-width",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"border-width":{breakUp:n.fourValues,canOverride:r.generic.components([r.generic.unit,r.generic.unit,r.generic.unit,r.generic.unit]),componentOf:["border"],components:["border-top-width","border-right-width","border-bottom-width","border-left-width"],defaultValue:"medium",restore:i.fourValues,shortestValue:"0",shorthand:!0,singleTypeComponents:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"box-shadow":{propertyOptimizer:o.boxShadow,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero,a.color],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},clear:{canOverride:r.property.clear,defaultValue:"none"},clip:{valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},color:{canOverride:r.generic.color,defaultValue:"transparent",shortestValue:"red",valueOptimizers:[a.whiteSpace,a.fraction,a.color]},"column-gap":{valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},cursor:{canOverride:r.property.cursor,defaultValue:"auto"},display:{canOverride:r.property.display},filter:{propertyOptimizer:o.filter,valueOptimizers:[a.fraction]},float:{canOverride:r.property.float,defaultValue:"none"},font:{breakUp:n.font,canOverride:r.generic.components([r.property.fontStyle,r.property.fontVariant,r.property.fontWeight,r.property.fontStretch,r.generic.unit,r.generic.unit,r.property.fontFamily]),components:["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],restore:i.font,shorthand:!0,valueOptimizers:[a.textQuotes]},"font-family":{canOverride:r.property.fontFamily,defaultValue:"user|agent|specific",valueOptimizers:[a.textQuotes]},"font-size":{canOverride:r.generic.unit,defaultValue:"medium",shortestValue:"0",valueOptimizers:[a.fraction]},"font-stretch":{canOverride:r.property.fontStretch,defaultValue:"normal"},"font-style":{canOverride:r.property.fontStyle,defaultValue:"normal"},"font-variant":{canOverride:r.property.fontVariant,defaultValue:"normal"},"font-weight":{canOverride:r.property.fontWeight,defaultValue:"normal",propertyOptimizer:o.fontWeight,shortestValue:"400"},gap:{valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},height:{canOverride:r.generic.unit,defaultValue:"auto",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},left:{canOverride:r.property.left,defaultValue:"auto",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"letter-spacing":{valueOptimizers:[a.fraction,a.zero]},"line-height":{canOverride:r.generic.unitOrNumber,defaultValue:"normal",shortestValue:"0",valueOptimizers:[a.fraction,a.zero]},"list-style":{canOverride:r.generic.components([r.property.listStyleType,r.property.listStylePosition,r.property.listStyleImage]),components:["list-style-type","list-style-position","list-style-image"],breakUp:n.listStyle,restore:i.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-image":{canOverride:r.generic.image,componentOf:["list-style"],defaultValue:"none"},"list-style-position":{canOverride:r.property.listStylePosition,componentOf:["list-style"],defaultValue:"outside",shortestValue:"inside"},"list-style-type":{canOverride:r.property.listStyleType,componentOf:["list-style"],defaultValue:"decimal|disc",shortestValue:"none"},margin:{breakUp:n.fourValues,canOverride:r.generic.components([r.generic.unit,r.generic.unit,r.generic.unit,r.generic.unit]),components:["margin-top","margin-right","margin-bottom","margin-left"],defaultValue:"0",propertyOptimizer:o.margin,restore:i.fourValues,shorthand:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"margin-bottom":{canOverride:r.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-top",propertyOptimizer:o.margin,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"margin-inline-end":{valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"margin-inline-start":{valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"margin-left":{canOverride:r.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-right",propertyOptimizer:o.margin,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"margin-right":{canOverride:r.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-left",propertyOptimizer:o.margin,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"margin-top":{canOverride:r.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-bottom",propertyOptimizer:o.margin,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"max-height":{canOverride:r.generic.unit,defaultValue:"none",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"max-width":{canOverride:r.generic.unit,defaultValue:"none",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"min-height":{canOverride:r.generic.unit,defaultValue:"0",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"min-width":{canOverride:r.generic.unit,defaultValue:"0",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},opacity:{valueOptimizers:[a.fraction,a.precision]},outline:{canOverride:r.generic.components([r.generic.color,r.property.outlineStyle,r.generic.unit]),components:["outline-color","outline-style","outline-width"],breakUp:n.outline,restore:i.withoutDefaults,defaultValue:"0",propertyOptimizer:o.outline,shorthand:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"outline-color":{canOverride:r.generic.color,componentOf:["outline"],defaultValue:"invert",shortestValue:"red",valueOptimizers:[a.whiteSpace,a.fraction,a.color]},"outline-style":{canOverride:r.property.outlineStyle,componentOf:["outline"],defaultValue:"none"},"outline-width":{canOverride:r.generic.unit,componentOf:["outline"],defaultValue:"medium",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},overflow:{canOverride:r.property.overflow,defaultValue:"visible"},"overflow-x":{canOverride:r.property.overflow,defaultValue:"visible"},"overflow-y":{canOverride:r.property.overflow,defaultValue:"visible"},padding:{breakUp:n.fourValues,canOverride:r.generic.components([r.generic.unit,r.generic.unit,r.generic.unit,r.generic.unit]),components:["padding-top","padding-right","padding-bottom","padding-left"],defaultValue:"0",propertyOptimizer:o.padding,restore:i.fourValues,shorthand:!0,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"padding-bottom":{canOverride:r.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-top",propertyOptimizer:o.padding,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"padding-left":{canOverride:r.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-right",propertyOptimizer:o.padding,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"padding-right":{canOverride:r.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-left",propertyOptimizer:o.padding,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"padding-top":{canOverride:r.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-bottom",propertyOptimizer:o.padding,valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},position:{canOverride:r.property.position,defaultValue:"static"},right:{canOverride:r.property.right,defaultValue:"auto",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"row-gap":{valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},src:{valueOptimizers:[a.urlWhiteSpace,a.urlPrefix,a.urlQuotes]},"stroke-width":{valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"text-align":{canOverride:r.property.textAlign,defaultValue:"left|right"},"text-decoration":{canOverride:r.property.textDecoration,defaultValue:"none"},"text-indent":{canOverride:r.property.textOverflow,defaultValue:"none",valueOptimizers:[a.fraction,a.zero]},"text-overflow":{canOverride:r.property.textOverflow,defaultValue:"none"},"text-shadow":{canOverride:r.property.textShadow,defaultValue:"none",valueOptimizers:[a.whiteSpace,a.fraction,a.zero,a.color]},top:{canOverride:r.property.top,defaultValue:"auto",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},transform:{canOverride:r.property.transform,valueOptimizers:[a.whiteSpace,a.degrees,a.fraction,a.precision,a.unit,a.zero],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},transition:{breakUp:n.multiplex(n.transition),canOverride:r.generic.components([r.property.transitionProperty,r.generic.time,r.generic.timingFunction,r.generic.time]),components:["transition-property","transition-duration","transition-timing-function","transition-delay"],defaultValue:"none",restore:i.multiplex(i.withoutDefaults),shorthand:!0,valueOptimizers:[a.time,a.fraction],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-delay":{canOverride:r.generic.time,componentOf:["transition"],defaultValue:"0s",intoMultiplexMode:"real",valueOptimizers:[a.time],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-duration":{canOverride:r.generic.time,componentOf:["transition"],defaultValue:"0s",intoMultiplexMode:"real",keepUnlessDefault:"transition-delay",valueOptimizers:[a.time,a.fraction],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-property":{canOverride:r.generic.propertyName,componentOf:["transition"],defaultValue:"all",intoMultiplexMode:"placeholder",placeholderValue:"_",vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-timing-function":{canOverride:r.generic.timingFunction,componentOf:["transition"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"vertical-align":{canOverride:r.property.verticalAlign,defaultValue:"baseline",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},visibility:{canOverride:r.property.visibility,defaultValue:"visible"},"-webkit-tap-highlight-color":{valueOptimizers:[a.whiteSpace,a.color]},"-webkit-margin-end":{valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"white-space":{canOverride:r.property.whiteSpace,defaultValue:"normal"},width:{canOverride:r.generic.unit,defaultValue:"auto",shortestValue:"0",valueOptimizers:[a.whiteSpace,a.fraction,a.precision,a.unit,a.zero]},"z-index":{canOverride:r.property.zIndex,defaultValue:"auto"}},l={};function u(e,t){var n=s(c[e],{});return"componentOf"in n&&(n.componentOf=n.componentOf.map(function(e){return t+e})),"components"in n&&(n.components=n.components.map(function(e){return t+e})),"keepUnlessDefault"in n&&(n.keepUnlessDefault=t+n.keepUnlessDefault),n}for(var p in c){var d=c[p];if("vendorPrefixes"in d){for(var m=0;m<d.vendorPrefixes.length;m++){var f=d.vendorPrefixes[m],h=u(p,f);delete h.vendorPrefixes,l[f+p]=h}delete d.vendorPrefixes}}t.exports=s(c,l)}),zS=M((e,t)=>{var n="",r=KT().Breaks,i=KT().Spaces,o=WT(),a=nS();function s(e){return"filter"==e[1][1]||"-ms-filter"==e[1][1]}function c(e,t,n){return!e.spaceAfterClosingBrace&&function(e){return"background"==e[1][1]||"transform"==e[1][1]||"src"==e[1][1]}(t)&&function(e,t){return e[t][1][e[t][1].length-1]==o.CLOSE_ROUND_BRACKET}(t,n)||function(e,t){return e[t+1]&&e[t+1][1]==o.FORWARD_SLASH}(t,n)||function(e,t){return e[t][1]==o.FORWARD_SLASH}(t,n)||function(e,t){return e[t+1]&&e[t+1][1]==o.COMMA}(t,n)||function(e,t){return e[t][1]==o.COMMA}(t,n)}function l(e,t){for(var n=e.store,r=0,i=t.length;r<i;r++)n(e,t[r]),r<i-1&&n(e,v(e))}function u(e,t){for(var n=function(e){for(var t=e.length-1;t>=0&&e[t][0]==a.COMMENT;t--);return t}(t),r=0,i=t.length;r<i;r++)p(e,t,r,n)}function p(e,t,i,o){var s=e.store,c=t[i],p=c[2],f=p&&p[0]===a.PROPERTY_BLOCK,v=e.format?!(!e.format.semicolonAfterLastProperty&&!f)||i<o:i<o||f,b=i===o;switch(c[0]){case a.AT_RULE:s(e,c),s(e,y(e,r.AfterProperty,!1));break;case a.AT_RULE_BLOCK:l(e,c[1]),s(e,h(e,r.AfterRuleBegins,!0)),u(e,c[2]),s(e,g(e,r.AfterRuleEnds,!1,b));break;case a.COMMENT:s(e,c),s(e,m(e,r.AfterComment)+e.indentWith);break;case a.PROPERTY:s(e,c[1]),s(e,_(e)),p&&d(e,c),s(e,v?y(e,r.AfterProperty,b):n);break;case a.RAW:s(e,c)}}function d(e,t){var n,i,l=e.store;if(t[2][0]==a.PROPERTY_BLOCK)l(e,h(e,r.AfterBlockBegins,!1)),u(e,t[2][1]),l(e,g(e,r.AfterBlockEnds,!1,!0));else for(n=2,i=t.length;n<i;n++)l(e,t[n]),n<i-1&&(s(t)||!c(e,t,n))&&l(e,o.SPACE)}function m(e,t){return e.format?e.format.breaks[t]:n}function f(e,t){return e.format&&e.format.spaces[t]}function h(e,t,r){return e.format?(e.indentBy+=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(r&&f(e,i.BeforeBlockBegins)?o.SPACE:n)+o.OPEN_CURLY_BRACKET+m(e,t)+e.indentWith):o.OPEN_CURLY_BRACKET}function g(e,t,i,a){return e.format?(e.indentBy-=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),m(e,i?r.BeforeBlockEnds:r.AfterProperty)+e.indentWith+o.CLOSE_CURLY_BRACKET+(a?n:m(e,t)+e.indentWith)):o.CLOSE_CURLY_BRACKET}function _(e){return e.format?o.COLON+(f(e,i.BeforeValue)?o.SPACE:n):o.COLON}function y(e,t,r){return e.format?o.SEMICOLON+(r?n:m(e,t)+e.indentWith):o.SEMICOLON}function v(e){return e.format?o.COMMA+m(e,r.BetweenSelectors)+e.indentWith:o.COMMA}t.exports={all:function e(t,n){var i,o,s,c,p=t.store;for(s=0,c=n.length;s<c;s++)switch(i=n[s],o=s==c-1,i[0]){case a.AT_RULE:p(t,i),p(t,y(t,r.AfterAtRule,o));break;case a.AT_RULE_BLOCK:l(t,i[1]),p(t,h(t,r.AfterRuleBegins,!0)),u(t,i[2]),p(t,g(t,r.AfterRuleEnds,!1,o));break;case a.NESTED_BLOCK:l(t,i[1]),p(t,h(t,r.AfterBlockBegins,!0)),e(t,i[2]),p(t,g(t,r.AfterBlockEnds,!0,o));break;case a.COMMENT:p(t,i),p(t,m(t,r.AfterComment)+t.indentWith);break;case a.RAW:p(t,i);break;case a.RULE:l(t,i[1]),p(t,h(t,r.AfterRuleBegins,!0)),u(t,i[2]),p(t,g(t,r.AfterRuleEnds,!1,o))}},body:u,property:p,rules:l,value:d}}),GS=M((e,t)=>{var n=zS();function r(e,t){e.output.push("string"==typeof t?t:t[1])}function i(){return{output:[],store:r}}t.exports={all:function(e){var t=i();return n.all(t,e),t.output.join("")},body:function(e){var t=i();return n.body(t,e),t.output.join("")},property:function(e,t){var r=i();return n.property(r,e,t,!0),r.output.join("")},rules:function(e){var t=i();return n.rules(t,e),t.output.join("")},value:function(e){var t=i();return n.value(t,e),t.output.join("")}}}),jS=M((e,t)=>{var n=qT(),r=ZT(),i=YT(),o=QT(),a=JT(),s=eS(),c=tS(),l=rS().all,u=$S(),p=US(),d=dS().OptimizationLevel,m=nS(),f=WT(),h=XT(),g=GS().rules,_="@charset",y=RegExp("^"+_,"i"),v=pS().DEFAULT,b=/^--\S+$/,E=/^(?:-chrome-|-[\w-]+\w|\w[\w-]+\w|\w{1,})$/,x=/^@import/i,w=/^url\(/i;function A(e){return w.test(e)}function T(e){return x.test(e[1])}function S(e){var t;return("filter"==e.name||"-ms-filter"==e.name)&&((t=e.value[0][1]).indexOf("progid")>-1||0===t.indexOf("alpha")||0===t.indexOf("chroma"))}function k(){}function C(e,t,n){return t}function O(e,t,n){var r,i,o,d,f,_,y,v,x,w,T=n.options,C=g(e),D=l(t),P=n.options.plugins.level1Value,F=n.options.plugins.level1Property;for(x=0,w=D.length;x<w;x++){var I,N,L,M;if(o=(i=D[x]).name,y=u[o]&&u[o].propertyOptimizer||k,r=u[o]&&u[o].valueOptimizers||[p.whiteSpace],(v=b.test(o))&&(r=T.variableOptimizers.length>0?T.variableOptimizers:[p.whiteSpace]),v||E.test(o))if(0!==i.value.length)if(!i.hack||(i.hack[0]!=a.ASTERISK&&i.hack[0]!=a.UNDERSCORE||T.compatibility.properties.iePrefixHack)&&(i.hack[0]!=a.BACKSLASH||T.compatibility.properties.ieSuffixHack)&&(i.hack[0]!=a.BANG||T.compatibility.properties.ieBangHack))if(T.compatibility.properties.ieFilters||!S(i))if(i.block)O(e,i.value[0][1],n);else{for(I=0,L=i.value.length;I<L;I++){if(d=i.value[I][0],f=i.value[I][1],d==m.PROPERTY_BLOCK){i.unused=!0,n.warnings.push("Invalid value token at "+h(f[0][1][2][0])+". Ignoring.");break}if(A(f)&&!n.validator.isUrl(f)){i.unused=!0,n.warnings.push("Broken URL '"+f+"' at "+h(i.value[I][2][0])+". Ignoring.");break}for(N=0,M=r.length;N<M;N++)f=r[N](o,f,T);for(N=0,M=P.length;N<M;N++)f=P[N](o,f,T);i.value[I][1]=f}for(y(C,i,T),I=0,L=F.length;I<L;I++)F[I](C,i,T)}else i.unused=!0;else i.unused=!0;else _=i.all[i.position],n.warnings.push("Empty property '"+o+"' at "+h(_[1][2][0])+". Ignoring."),i.unused=!0;else _=i.all[i.position],n.warnings.push("Invalid property name '"+o+"' at "+h(_[1][2][0])+". Ignoring."),i.unused=!0}c(D),s(D),R(t,T)}function R(e,t){var n,r;for(r=0;r<e.length;r++)(n=e[r])[0]==m.COMMENT&&(D(n,t),0===n[1].length&&(e.splice(r,1),r--))}function D(e,t){e[1][2]==f.EXCLAMATION&&("all"==t.level[d.One].specialComments||t.commentsKept<t.level[d.One].specialComments)?t.commentsKept++:e[1]=[]}function P(e){for(var t=!1,n=0,r=e.length;n<r;n++){var i=e[n];i[0]==m.AT_RULE&&y.test(i[1])&&(t||-1==i[1].indexOf(_)?(e.splice(n,1),n--,r--):(t=!0,e.splice(n,1),e.unshift([m.AT_RULE,i[1].replace(y,_)])))}}function F(e){return e.level[d.One].variableValueOptimizers.map(function(e){return"string"==typeof e?p[e]||C:e})}t.exports=function e(t,a){var s=a.options,c=s.level[d.One],l=s.compatibility.selectors.ie7Hack,u=s.compatibility.selectors.adjacentSpace,p=s.compatibility.properties.spaceAfterClosingBrace,f=s.format,h=!1,g=!1;s.unitsRegexp=s.unitsRegexp||function(e){var t=["px","em","ex","cm","mm","in","pt","pc","%"];return["ch","rem","vh","vm","vmax","vmin","vw"].forEach(function(n){e.compatibility.units[n]&&t.push(n)}),RegExp("(^|\\s|\\(|,)0(?:"+t.join("|")+")(\\W|$)","g")}(s),s.precision=s.precision||function(e){var t,n,r={matcher:null,units:{}},i=[];for(t in e)(n=e[t])!=v&&(r.units[t]={},r.units[t].value=n,r.units[t].multiplier=10**n,i.push(t));return i.length>0&&(r.enabled=!0,r.decimalPointMatcher=RegExp("(\\d)\\.($|"+i.join("|")+")($|\\W)","g"),r.zeroMatcher=RegExp("(\\d*)(\\.\\d+)("+i.join("|")+")","g")),r}(c.roundingPrecision),s.commentsKept=s.commentsKept||0,s.variableOptimizers=s.variableOptimizers||F(s);for(var _=0,y=t.length;_<y;_++){var b=t[_];switch(b[0]){case m.AT_RULE:b[1]=T(b)&&g?"":b[1],b[1]=c.tidyAtRules?o(b[1]):b[1],h=!0;break;case m.AT_RULE_BLOCK:O(b[1],b[2],a),g=!0;break;case m.NESTED_BLOCK:b[1]=c.tidyBlockScopes?i(b[1],p):b[1],e(b[2],a),g=!0;break;case m.COMMENT:D(b,s);break;case m.RULE:b[1]=c.tidySelectors?r(b[1],!l,u,f,a.warnings):b[1],b[1]=b[1].length>1?n(b[1],c.selectorsSortingMethod):b[1],O(b[1],b[2],a),g=!0}(b[0]==m.COMMENT&&0===b[1].length||c.removeEmpty&&(0===b[1].length||b[2]&&0===b[2].length))&&(t.splice(_,1),_--,y--)}return c.cleanupCharsets&&h&&P(t),t}}),VS=M((e,t)=>{var n=WT(),r=TS(),i=/\/deep\//,o=/^::/,a=/:(-moz-|-ms-|-o-|-webkit-)/,s=":not",c=[":dir",":lang",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type"],l=/[>+~]/,u=[":after",":before",":first-letter",":first-line",":lang"],p=["::after","::before","::first-letter","::first-line"],d="double-quote",m="single-quote",f="root";function h(e){return i.test(e)}function g(e){return a.test(e)}function _(e){var t,r,i,o,a,s,c=[],u=[],p=f,h=0,g=!1,_=!1;for(a=0,s=e.length;a<s;a++)t=e[a],o=!i&&l.test(t),r=p==d||p==m,i?u.push(t):t==n.DOUBLE_QUOTE&&p==f?(u.push(t),p=d):t==n.DOUBLE_QUOTE&&p==d?(u.push(t),p=f):t==n.SINGLE_QUOTE&&p==f?(u.push(t),p=m):t==n.SINGLE_QUOTE&&p==m?(u.push(t),p=f):r?u.push(t):t==n.OPEN_ROUND_BRACKET?(u.push(t),h++):t==n.CLOSE_ROUND_BRACKET&&1==h&&g?(u.push(t),c.push(u.join("")),h--,u=[],g=!1):t==n.CLOSE_ROUND_BRACKET?(u.push(t),h--):t==n.COLON&&0===h&&g&&!_?(c.push(u.join("")),(u=[]).push(t)):t!=n.COLON||0!==h||_?t==n.SPACE&&0===h&&g||o&&0===h&&g?(c.push(u.join("")),u=[],g=!1):u.push(t):((u=[]).push(t),g=!0),i=t==n.BACK_SLASH,_=t==n.COLON;return u.length>0&&g&&c.push(u.join("")),c}function y(e,t,n,r,i){return v(t,n,r)&&b(t)&&(t.length<2||!E(e,t))&&(t.length<2||i&&function(e){var t,n,r,i=0;for(n=0,r=e.length;n<r;n++)if(x(t=e[n])?i+=p.indexOf(t)>-1?1:0:i+=u.indexOf(t)>-1?1:0,i>1)return!1;return!0}(t))}function v(e,t,r){var i,o,a,s;for(a=0,s=e.length;a<s;a++)if(o=(i=e[a]).indexOf(n.OPEN_ROUND_BRACKET)>-1?i.substring(0,i.indexOf(n.OPEN_ROUND_BRACKET)):i,-1===t.indexOf(o)&&-1===r.indexOf(o))return!1;return!0}function b(e){var t,r,i,o,a,s;for(a=0,s=e.length;a<s;a++)if(r=(o=(i=(t=e[a]).indexOf(n.OPEN_ROUND_BRACKET))>-1)?t.substring(0,i):t,o&&-1==c.indexOf(r)||!o&&c.indexOf(r)>-1)return!1;return!0}function E(e,t){var r,i,o,a,c,l,u,p,d=0;for(u=0,p=t.length;u<p&&(r=t[u],o=t[u+1]);u++)if(i=e.indexOf(r,d),d=a=e.indexOf(r,i+1),i+r.length==a&&(c=r.indexOf(n.OPEN_ROUND_BRACKET)>-1?r.substring(0,r.indexOf(n.OPEN_ROUND_BRACKET)):r,l=o.indexOf(n.OPEN_ROUND_BRACKET)>-1?o.substring(0,o.indexOf(n.OPEN_ROUND_BRACKET)):o,c!=s||l!=s))return!0;return!1}function x(e){return o.test(e)}t.exports=function(e,t,i,o){var a,s,c,l=r(e,n.COMMA);for(s=0,c=l.length;s<c;s++)if(0===(a=l[s]).length||h(a)||g(a)||a.indexOf(n.COLON)>-1&&!y(a,_(a),t,i,o))return!1;return!0}}),qS=M((e,t)=>{var n=WT();t.exports=function(e,t,r){var i,o,a,s=t.value.length,c=r.value.length,l=Math.max(s,c),u=Math.min(s,c)-1;for(a=0;a<l;a++)if(i=t.value[a]&&t.value[a][1]||i,o=r.value[a]&&r.value[a][1]||o,i!=n.COMMA&&o!=n.COMMA&&!e(i,o,a,a<=u))return!1;return!0}}),HS=M((e,t)=>{t.exports=function(e){for(var t=e.value.length-1;t>=0;t--)if("inherit"==e.value[t][1])return!0;return!1}}),KS=M((e,t)=>{t.exports=function(e){var t,n,r=e.value[0][1];for(t=1,n=e.value.length;t<n;t++)if(e.value[t][1]!=r)return!1;return!0}}),WS=M((e,t)=>{var n=$S(),r=iS();function i(e,t){return 1==e.value.length&&t.isVariable(e.value[0][1])}function o(e,t){return e.value.length>1&&e.value.filter(function(e){return t.isVariable(e[1])}).length>1}t.exports=function(e,t,a){for(var s,c,l,u=e.length-1;u>=0;u--){var p=e[u],d=n[p.name];if(!p.dynamic&&d&&d.shorthand){if(i(p,t)||o(p,t)){p.optimizable=!1;continue}p.shorthand=!0,p.dirty=!0;try{if(p.components=d.breakUp(p,n,t),d.shorthandComponents)for(c=0,l=p.components.length;c<l;c++)(s=p.components[c]).components=n[s.name].breakUp(s,n,t)}catch(e){if(!(e instanceof r))throw e;p.components=[],a.push(e.message)}p.components.length>0?p.multiplex=p.components[0].multiplex:p.unused=!0}}}}),XS=M((e,t)=>{var n=$S();t.exports=function(e){var t=n[e.name];return t&&t.shorthand?t.restore(e,n):e.value}}),ZS=M((e,t)=>{var n=qS(),r=HS(),i=KS(),o=WS(),a=$S(),s=lS().deep,c=XS(),l=tS(),u=rS().single,p=GS().body,d=nS();function m(e,t,n,r){var i,o,s,c,l=e[t],u=[];for(i in n)if(void 0===l||i!=l.name){if(o=a[i],s=n[i],l&&f(n,i,l)){delete n[i];continue}o.components.length>Object.keys(s).length||h(s)||g(s,i,r)&&y(s)&&(v(s)?b(e,s,i,r):k(e,s,i,r),u.push(i))}for(c=u.length-1;c>=0;c--)delete n[u[c]]}function f(e,t,n){var r,i=a[t],o=a[n.name];if("overridesShorthands"in i&&i.overridesShorthands.indexOf(n.name)>-1)return!0;if(o&&"componentOf"in o)for(r in e[t])if(o.componentOf.indexOf(r)>-1)return!0;return!1}function h(e){var t,n;for(n in e){if(void 0!==t&&e[n].important!=t)return!0;t=e[n].important}return!1}function g(e,t,r){var i,s,c,l,p=a[t],m=u([d.PROPERTY,[d.PROPERTY_NAME,t],[d.PROPERTY_VALUE,p.defaultValue]]);for(o([m],r,[]),c=0,l=p.components.length;c<l;c++)if(i=e[p.components[c]],s=a[i.name].canOverride||_,!n(s.bind(null,r),m.components[c],i))return!1;return!0}function _(e,t,n){return t===n}function y(e){var t,n,r,i,o=null;for(n in e)if(r=e[n],"restore"in(i=a[n])){if(l([r.all[r.position]],c),t=i.restore(r,a).length,null!==o&&t!==o)return!1;o=t}return!0}function v(e){var t,n,i=null;for(t in e){if(n=r(e[t]),null!==i&&i!==n)return!0;i=n}return!1}function b(e,t,n,r){var i,o,a,s,c=E(t,n,r),l=T(t,n,r),u=c[0],d=l[0],m=p(u).length<p(d).length,f=m?u:d,h=m?c[1]:l[1],g=m?c[2]:l[2],_=t[Object.keys(t).pop()],y=_.all,v=_.position;for(i in h.position=v,h.shorthand=!0,h.important=_.important,h.multiplex=!1,h.dirty=!0,h.all=y,h.all[v]=f[0],e.splice(v,1,h),t)(o=t[i]).unused=!0,h.multiplex=h.multiplex||o.multiplex,o.name in g&&(a=g[o.name],s=S(f,i),a.position=y.length,a.all=y,a.all.push(s),e.push(a))}function E(e,t,n){var i,p,m,f,h,g,_=[],y={},v={},b=a[t],E=[d.PROPERTY,[d.PROPERTY_NAME,t],[d.PROPERTY_VALUE,b.defaultValue]],A=u(E);for(o([A],n,[]),h=0,g=b.components.length;h<g;h++)i=e[b.components[h]],r(i)?(p=i.all[i.position].slice(0,2),Array.prototype.push.apply(p,i.value),_.push(p),(m=s(i)).value=x(e,m.name),A.components[h]=m,y[i.name]=s(i)):((m=s(i)).all=i.all,A.components[h]=m,v[i.name]=i);return A.important=e[Object.keys(e).pop()].important,f=w(v,1),E[1].push(f),l([A],c),E=E.slice(0,2),Array.prototype.push.apply(E,A.value),_.unshift(E),[_,A,y]}function x(e,t){var n=a[t];return"oppositeTo"in n?e[n.oppositeTo].value:[[d.PROPERTY_VALUE,n.defaultValue]]}function w(e,t){var n,r,i,o,a=[];for(o in e)i=(r=(n=e[o]).all[n.position])[t][r[t].length-1],Array.prototype.push.apply(a,i);return a.sort(A)}function A(e,t){var n=e[0],r=t[0],i=e[1],o=t[1];return n<r||n===r&&i<o?-1:1}function T(e,t,n){var i,c,l,p,m,f,h=[],g={},_={},y=a[t],v=[d.PROPERTY,[d.PROPERTY_NAME,t],[d.PROPERTY_VALUE,"inherit"]],b=u(v);for(o([b],n,[]),m=0,f=y.components.length;m<f;m++)i=e[y.components[m]],r(i)?g[i.name]=i:(c=i.all[i.position].slice(0,2),Array.prototype.push.apply(c,i.value),h.push(c),_[i.name]=s(i));return l=w(g,1),v[1].push(l),p=w(g,2),v[2].push(p),h.unshift(v),[h,b,_]}function S(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n][1][1]==t)return e[n]}function k(e,t,n,r){var i,c,l,p=a[n],m=[d.PROPERTY,[d.PROPERTY_NAME,n],[d.PROPERTY_VALUE,p.defaultValue]],f=function(e,t,n){var r=Object.keys(t),i=t[r[0]].position,o=t[r[r.length-1]].position;return"border"==n&&function(e){for(var t=e.length-1;t>=0;t--)if("border-image"==e[t].name)return!0;return!1}(e.slice(i,o))?i:o}(e,t,n),h=u(m);h.shorthand=!0,h.dirty=!0,h.multiplex=!1,o([h],r,[]);for(var g=0,_=p.components.length;g<_;g++){var y=t[p.components[g]];h.components[g]=s(y),h.important=y.important,h.multiplex=h.multiplex||y.multiplex,l=y.all}for(var v in t)t[v].unused=!0;i=w(t,1),m[1].push(i),c=w(t,2),m[2].push(c),h.position=f,h.all=l,h.all[f]=m,e.splice(f,1,h)}t.exports=function(e,t){var n,r,o,s,c,l,u,p={};if(!(e.length<3)){for(s=0,c=e.length;s<c;s++)if(o=e[s],n=a[o.name],!o.dynamic&&!o.unused&&!o.hack&&!o.block&&(!n||!n.singleTypeComponents||i(o))&&(m(e,s,p,t),n&&n.componentOf))for(l=0,u=n.componentOf.length;l<u;l++)p[r=n.componentOf[l]]=p[r]||{},p[r][o.name]=o;m(e,s,p,t)}}}),YS=M((e,t)=>{t.exports=function(e){for(var t=e.value.length-1;t>=0;t--)if("unset"==e.value[t][1])return!0;return!1}}),QS=M((e,t)=>{var n=$S();function r(e,t){return e.components.filter(t)[0]}function i(e,t){var i,o,a;if(n[e.name].shorthandComponents)for(o=0,a=e.components.length;o<a;o++)if(i=r(e.components[o],t))return i}t.exports=function(e,t){var n=function(e){return function(t){return e.name===t.name}}(t);return r(e,n)||i(e,n)}}),JS=M((e,t)=>{var n=$S();function r(e,t){var r=n[e.name];return"components"in r&&r.components.indexOf(t.name)>-1}t.exports=function(e,t,i){return r(e,t)||!i&&!!n[e.name].shorthandComponents&&function(e,t){return e.components.some(function(e){return r(e,t)})}(e,t)}}),ek=M((e,t)=>{var n=WT();t.exports=function(e){return"font"!=e.name||-1==e.value[0][1].indexOf(n.INTERNAL)}}),tk=M((e,t)=>{var n=$S();t.exports=function(e,t){return e.name in n&&"overridesShorthands"in n[e.name]&&n[e.name].overridesShorthands.indexOf(t.name)>-1}}),nk=M((e,t)=>{var n=HS(),r=YS(),i=qS(),o=QS(),a=JS(),s=ek(),c=tk(),l=aS().same,u=$S(),p=lS().deep,d=XS(),m=lS().shallow,f=tS(),h=nS(),g=WT(),_=GS().property;function y(e,t,n){return t===n}function v(e,t){for(var n=0;n<e.components.length;n++){var r=e.components[n],o=u[r.name],a=o&&o.canOverride||y,s=m(r);if(s.value=[[h.PROPERTY_VALUE,o.defaultValue]],!i(a.bind(null,t),s,r))return!0}return!1}function b(e,t){t.unused=!0,A(t,S(e)),e.value=t.value}function E(e,t){t.unused=!0,e.multiplex=!0,e.value=t.value}function x(e,t){t.multiplex?E(e,t):e.multiplex?b(e,t):function(e,t){t.unused=!0,e.value=t.value}(e,t)}function w(e,t){t.unused=!0;for(var n=0,r=e.components.length;n<r;n++)x(e.components[n],t.components[n])}function A(e,t){e.multiplex=!0,u[e.name].shorthand?function(e,t){var n,r,i;for(r=0,i=e.components.length;r<i;r++)(n=e.components[r]).multiplex||T(n,t)}(e,t):T(e,t)}function T(e,t){for(var n,r=u[e.name],i="real"==r.intoMultiplexMode,o="real"==r.intoMultiplexMode?e.value.slice(0):"placeholder"==r.intoMultiplexMode?r.placeholderValue:r.defaultValue,a=S(e),s=o.length;a<t;a++)if(e.value.push([h.PROPERTY_VALUE,g.COMMA]),Array.isArray(o))for(n=0;n<s;n++)e.value.push(i?o[n]:[h.PROPERTY_VALUE,o[n]]);else e.value.push(i?o:[h.PROPERTY_VALUE,o])}function S(e){for(var t=0,n=0,r=e.value.length;n<r;n++)e.value[n][1]==g.COMMA&&t++;return t+1}function k(e){return _([[h.PROPERTY,[h.PROPERTY_NAME,e.name]].concat(e.value)],0).length}function C(e,t,n){for(var r=0,i=t;i>=0&&(e[i].name==n&&!e[i].unused&&r++,!(r>1));i--);return r>1}function O(e,t){for(var n=0,r=e.components.length;n<r;n++)if(!R(t.isUrl,e.components[n])&&R(t.isFunction,e.components[n]))return!0;return!1}function R(e,t){for(var n=0,r=t.value.length;n<r;n++)if(t.value[n][1]!=g.COMMA&&e(t.value[n][1]))return!0;return!1}function D(e,t){if(!e.multiplex&&!t.multiplex||e.multiplex&&t.multiplex)return!1;var n,r=e.multiplex?e:t,i=e.multiplex?t:e,a=p(r);f([a],d);var s=p(i);f([s],d);var c=k(a)+1+k(s);return e.multiplex?b(n=o(a,s),s):(n=o(s,a),A(s,S(a)),E(n,a)),f([s],d),c<=k(s)}function P(e){return e.name in u}function F(e,t){return!e.multiplex&&("background"==e.name||"background-image"==e.name)&&t.multiplex&&("background"==t.name||"background-image"==t.name)&&function(e){for(var t=function(e){for(var t=[],n=0,r=[],i=e.length;n<i;n++){var o=e[n];o[1]==g.COMMA?(t.push(r),r=[]):r.push(o)}return t.push(r),t}(e),n=0,r=t.length;n<r;n++)if(1==t[n].length&&"none"==t[n][0][1])return!0;return!1}(t.value)}t.exports=function(e,t,p,d){var m,f,h,g,_,b,E,T,k,I,N;e:for(k=e.length-1;k>=0;k--)if(f=e[k],P(f)&&!f.block){m=u[f.name].canOverride||y;t:for(I=k-1;I>=0;I--)if(h=e[I],P(h)&&!h.block&&!h.dynamic&&!f.dynamic&&!h.unused&&!f.unused&&(!h.hack||f.hack||f.important)&&(h.hack||h.important||!f.hack)&&(h.important!=f.important||h.hack[0]==f.hack[0])&&(h.important!=f.important||!(h.hack[0]!=f.hack[0]||h.hack[1]&&h.hack[1]!=f.hack[1]))&&!n(f)&&!F(h,f))if(f.shorthand&&a(f,h)){if(!f.important&&h.important||!l([h],f.components)||!R(d.isFunction,h)&&O(f,d))continue;if(!s(f)){h.unused=!0;continue}g=o(f,h),m=u[h.name].canOverride||y,i(m.bind(null,d),h,g)&&(h.unused=!0)}else if(f.shorthand&&c(f,h)){if(!f.important&&h.important||!l([h],f.components)||!R(d.isFunction,h)&&O(f,d))continue;for(N=(_=h.shorthand?h.components:[h]).length-1;N>=0;N--)if(b=_[N],E=o(f,b),m=u[b.name].canOverride||y,!i(m.bind(null,d),h,E))continue t;h.unused=!0}else if(t&&h.shorthand&&!f.shorthand&&a(h,f,!0)){if(f.important&&!h.important)continue;if(!f.important&&h.important){f.unused=!0;continue}if(C(e,k-1,h.name)||O(h,d)||!s(h)||r(h)||r(f))continue;if(g=o(h,f),i(m.bind(null,d),g,f)){var L=!p.properties.backgroundClipMerging&&g.name.indexOf("background-clip")>-1||!p.properties.backgroundOriginMerging&&g.name.indexOf("background-origin")>-1||!p.properties.backgroundSizeMerging&&g.name.indexOf("background-size")>-1,M=u[f.name].nonMergeableValue===f.value[0][1];if(L||M||!p.properties.merging&&v(h,d)||g.value[0][1]!=f.value[0][1]&&(n(h)||n(f))||D(h,f))continue;!h.multiplex&&f.multiplex&&A(h,S(f)),x(g,f),h.dirty=!0}}else if(t&&h.shorthand&&f.shorthand&&h.name==f.name){if(!h.multiplex&&f.multiplex)continue;if(!f.important&&h.important){f.unused=!0;continue e}if(f.important&&!h.important){h.unused=!0;continue}if(!s(f)){h.unused=!0;continue}for(N=h.components.length-1;N>=0;N--){var B=h.components[N],U=f.components[N];if(m=u[B.name].canOverride||y,!i(m.bind(null,d),B,U))continue e}w(h,f),h.dirty=!0}else if(t&&h.shorthand&&f.shorthand&&a(h,f)){if(!h.important&&f.important||(g=o(h,f),m=u[f.name].canOverride||y,!i(m.bind(null,d),g,f)))continue;if(h.important&&!f.important){f.unused=!0;continue}if(u[f.name].restore(f,u).length>1)continue;x(g=o(h,f),f),f.dirty=!0}else if(h.name==f.name){if(T=!0,f.shorthand)for(N=f.components.length-1;N>=0&&T;N--)b=h.components[N],E=f.components[N],m=u[E.name].canOverride||y,T=i(m.bind(null,d),b,E);else m=u[f.name].canOverride||y,T=i(m.bind(null,d),h,f);if(h.important&&!f.important&&T){f.unused=!0;continue}if(!h.important&&f.important&&T){h.unused=!0;continue}if(!T)continue;h.unused=!0}}}}),rk=M((e,t)=>{var n=ZS(),r=nk(),i=WS(),o=XS(),a=rS().all,s=eS(),c=tS(),l=dS().OptimizationLevel;t.exports=function e(t,u,p,d){var m,f,h,g=d.options.level[l.Two],_=a(t,g.skipProperties);for(i(_,d.validator,d.warnings),f=0,h=_.length;f<h;f++)(m=_[f]).block&&e(m.value[0][1],u,p,d);p&&g.mergeIntoShorthands&&n(_,d.validator),u&&g.overrideProperties&&r(_,p,d.options.compatibility,d.validator),c(_,o),s(_)}}),ik=M((e,t)=>{var n=VS(),r=rk(),i=qT(),o=ZT(),a=dS().OptimizationLevel,s=GS().body,c=GS().rules,l=nS();t.exports=function(e,t){for(var u=[null,[],[]],p=t.options,d=p.compatibility.selectors.adjacentSpace,m=p.level[a.One].selectorsSortingMethod,f=p.compatibility.selectors.mergeablePseudoClasses,h=p.compatibility.selectors.mergeablePseudoElements,g=p.compatibility.selectors.mergeLimit,_=p.compatibility.selectors.multiplePseudoMerging,y=0,v=e.length;y<v;y++){var b=e[y];b[0]==l.RULE?u[0]==l.RULE&&c(b[1])==c(u[1])?(Array.prototype.push.apply(u[2],b[2]),r(u[2],!0,!0,t),b[2]=[]):u[0]==l.RULE&&s(b[2])==s(u[2])&&n(c(b[1]),f,h,_)&&n(c(u[1]),f,h,_)&&u[1].length<g?(u[1]=o(u[1].concat(b[1]),!1,d,!1,t.warnings),u[1]=u.length>1?i(u[1],m):u[1],b[2]=[]):u=b:u=[null,[],[]]}}}),ok=M((e,t)=>{var n=/--.+$/;function r(e){return e.replace(n,"")}t.exports=function(e,t,n){var i,o,a,s,c,l;for(a=0,s=e.length;a<s;a++)for(i=e[a][1],c=0,l=t.length;c<l;c++)if(i==(o=t[c][1])||n&&r(i)==r(o))return!0;return!1}}),ak=M((e,t)=>{var n=WT(),r=/[a-zA-Z]/,i=/[\s,(>~+]/;function o(e,t){return e.indexOf(":not(",t)===t}t.exports=function(e){var t,a,s,c,l,u,p,d=[0,0,0],m=0,f=!1,h=!1;for(u=0,p=e.length;u<p;u++){if(t=e[u],!a)if(t!=n.SINGLE_QUOTE||c||s)if(t==n.SINGLE_QUOTE&&!c&&s)s=!1;else if(t!=n.DOUBLE_QUOTE||c||s)if(t==n.DOUBLE_QUOTE&&c&&!s)c=!1;else{if(s||c)continue;m>0&&!f||(t==n.OPEN_ROUND_BRACKET?m++:t==n.CLOSE_ROUND_BRACKET&&1==m?(m--,f=!1):t==n.CLOSE_ROUND_BRACKET?m--:"#"==t?d[0]++:"."==t||t==n.OPEN_SQUARE_BRACKET?d[1]++:":"!=t||h||o(e,u)?":"==t?f=!0:(0===u||l)&&r.test(t)&&d[2]++:(d[1]++,f=!1))}else c=!0;else s=!0;h=":"==t,l=!(a=t==n.BACK_SLASH)&&i.test(t)}return d}}),sk=M((e,t)=>{var n=ak();function r(e,t){var r;return e in t||(t[e]=r=n(e)),r||t[e]}t.exports=function(e,t,n){var i,o,a,s,c,l;for(a=0,s=e.length;a<s;a++)for(i=r(e[a][1],n),c=0,l=t.length;c<l;c++)if(o=r(t[c][1],n),i[0]===o[0]&&i[1]===o[1]&&i[2]===o[2])return!0;return!1}}),ck=M((e,t)=>{var n=ok(),r=sk(),i=/align-items|box-align|box-pack|flex|justify/,o=/^border-(top|right|bottom|left|color|style|width|radius)/;function a(e,t,a){var m=e[0],f=e[1],h=e[2],g=e[5],_=e[6],y=t[0],v=t[1],b=t[2],E=t[5],x=t[6];return!("font"==m&&"line-height"==y||"font"==y&&"line-height"==m||i.test(m)&&i.test(y)||h==b&&c(m)==c(y)&&s(m)^s(y)||"border"==h&&o.test(b)&&("border"==m||m==b||f!=v&&l(m,y))||"border"==b&&o.test(h)&&("border"==y||y==h||f!=v&&l(m,y))||"border"==h&&"border"==b&&m!=y&&(u(m)&&p(y)||p(m)&&u(y))||!(h!=b||m==y&&h==b&&(f==v||function(e,t){return s(e)&&s(t)&&e.split("-")[1]!=t.split("-")[2]}(f,v))||m!=y&&h==b&&m!=h&&y!=b||m!=y&&h==b&&f==v||x&&_&&!d(h)&&!d(b)&&!n(E,g,!1))&&r(g,E,a))}function s(e){return/^-(?:moz|webkit|ms|o)-/.test(e)}function c(e){return e.replace(/^-(?:moz|webkit|ms|o)-/,"")}function l(e,t){return e.split("-").pop()==t.split("-").pop()}function u(e){return"border-top"==e||"border-right"==e||"border-bottom"==e||"border-left"==e}function p(e){return"border-color"==e||"border-style"==e||"border-width"==e}function d(e){return"font"==e||"line-height"==e||"list-style"==e}t.exports={canReorder:function(e,t,n){for(var r=t.length-1;r>=0;r--)for(var i=e.length-1;i>=0;i--)if(!a(e[i],t[r],n))return!1;return!0},canReorderSingle:a}}),lk=M((e,t)=>{var n=nS(),r=GS().rules,i=GS().value;function o(e){return"list-style"==e?e:e.indexOf("-radius")>0?"border-radius":"border-collapse"==e||"border-spacing"==e||"border-image"==e?e:0===e.indexOf("border-")&&/^border-\w+-\w+$/.test(e)?e.match(/border-\w+/)[0]:0===e.indexOf("border-")&&/^border-\w+$/.test(e)?"border":0===e.indexOf("text-")||"-chrome-"==e?e:e.replace(/^-\w+-/,"").match(/([a-zA-Z]+)/)[0].toLowerCase()}t.exports=function e(t){var a,s,c,l,u,p,d=[];if(t[0]==n.RULE)for(a=!/[.+>~]/.test(r(t[1])),u=0,p=t[2].length;u<p;u++)(s=t[2][u])[0]==n.PROPERTY&&0!==(c=s[1][1]).length&&(l=i(s,u),d.push([c,l,o(c),t[2][u],c+":"+l,t[1],a]));else if(t[0]==n.NESTED_BLOCK)for(u=0,p=t[2].length;u<p;u++)d=d.concat(e(t[2][u]));return d}}),uk=M((e,t)=>{var n=ck().canReorder,r=ck().canReorderSingle,i=lk(),o=ok(),a=GS().rules,s=dS().OptimizationLevel,c=nS();function l(e,t,n){var i,a,s,c,l,u,p,d;for(l=0,u=e.length;l<u;l++)for(a=(i=e[l])[5],p=0,d=t.length;p<d;p++)if(c=(s=t[p])[5],o(a,c,!0)&&!r(i,s,n))return!1;return!0}t.exports=function(e,t){for(var r=t.options.level[s.Two].mergeSemantically,o=t.cache.specificity,u={},p=[],d=e.length-1;d>=0;d--){var m=e[d];if(m[0]==c.NESTED_BLOCK){var f=a(m[1]),h=u[f];h||(h=[],u[f]=h),h.push(d)}}for(var g in u){var _=u[g];e:for(var y=_.length-1;y>0;y--){var v=_[y],b=e[v],E=_[y-1],x=e[E];t:for(var w=1;w>=-1;w-=2){for(var A=1==w,T=A?v+1:E-1,S=A?E:v,k=A?1:-1,C=A?b:x,O=A?x:b,R=i(C);T!=S;){var D=i(e[T]);if(T+=k,!(r&&l(R,D,o)||n(R,D,o)))continue t}O[2]=A?C[2].concat(O[2]):O[2].concat(C[2]),C[2]=[],p.push(O);continue e}}}return p}}),pk=M((e,t)=>{var n=VS(),r=qT(),i=ZT(),o=dS().OptimizationLevel,a=GS().body,s=GS().rules,c=nS();function l(e){return/\.|\*| :/.test(e)}function u(e){var t=s(e[1]);return t.indexOf("__")>-1||t.indexOf("--")>-1}function p(e){return e.replace(/--[^ ,>+~:]+/g,"")}function d(e,t){var n=p(s(e[1]));for(var r in t){var i=t[r],o=p(s(i[1]));(o.indexOf(n)>-1||n.indexOf(o)>-1)&&delete t[r]}}t.exports=function(e,t){for(var p=t.options,m=p.level[o.Two].mergeSemantically,f=p.compatibility.selectors.adjacentSpace,h=p.level[o.One].selectorsSortingMethod,g=p.compatibility.selectors.mergeablePseudoClasses,_=p.compatibility.selectors.mergeablePseudoElements,y=p.compatibility.selectors.multiplePseudoMerging,v={},b=e.length-1;b>=0;b--){var E=e[b];if(E[0]==c.RULE){E[2].length>0&&!m&&l(s(E[1]))&&(v={}),E[2].length>0&&m&&u(E)&&d(E,v);var x=a(E[2]),w=v[x];w&&n(s(E[1]),g,_,y)&&n(s(w[1]),g,_,y)&&(E[2].length>0?(E[1]=i(w[1].concat(E[1]),!1,f,!1,t.warnings),E[1]=E[1].length>1?r(E[1],h):E[1]):E[1]=w[1].concat(E[1]),w[2]=[],v[x]=null),v[a(E[2])]=E}}}}),dk=M((e,t)=>{var n=ck().canReorder,r=lk(),i=rk(),o=GS().rules,a=nS();t.exports=function(e,t){var s,c=t.cache.specificity,l={},u=[];for(s=e.length-1;s>=0;s--)if(e[s][0]==a.RULE&&0!==e[s][2].length){var p=o(e[s][1]);l[p]=[s].concat(l[p]||[]),2==l[p].length&&u.push(p)}for(s=u.length-1;s>=0;s--){var d=l[u[s]];e:for(var m=d.length-1;m>0;m--){var f=d[m-1],h=e[f],g=d[m],_=e[g];t:for(var y=1;y>=-1;y-=2){for(var v=1==y,b=v?f+1:g-1,E=v?g:f,x=v?1:-1,w=v?h:_,A=v?_:h,T=r(w);b!=E;){var S=r(e[b]);b+=x;var k=v?n(T,S,c):n(S,T,c);if(!k&&!v)continue e;if(!k&&v)continue t}v?(Array.prototype.push.apply(w[2],A[2]),A[2]=w[2]):Array.prototype.push.apply(A[2],w[2]),i(A[2],!0,!0,t),w[2]=[]}}}}}),mk=M((e,t)=>{t.exports=function e(t){for(var n=t.slice(0),r=0,i=n.length;r<i;r++)Array.isArray(n[r])&&(n[r]=e(n[r]));return n}}),fk=M((e,t)=>{var n=VS(),r=rk(),i=mk(),o=nS(),a=GS().body,s=GS().rules;function c(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][1]]);return t}function l(e,t,n,r,i){function o(e,t){return l[e].isPartial&&0===t.length}function a(e,t,n,r){l[n-r-1].isPartial||(e[2]=t)}for(var s=0,c=t.length;s<c;s++){var l=n[t[s]];p(e,l,{filterOut:o,callback:a},0,i)}}function u(e,t,r,i){var o=r.compatibility.selectors.mergeablePseudoClasses,s=r.compatibility.selectors.mergeablePseudoElements,c=r.compatibility.selectors.multiplePseudoMerging,l={};function u(e){return l.data[e].where<l.intoPosition}function d(e,t,n,r){0===r&&l.reducedBodies.push(t)}e:for(var m in t){var f=t[m];if(f[0].isComplex){var h=f[f.length-1].where,g=e[h],_=[],y=n(m,o,s,c)?f[0].list:[m];l.intoPosition=h,l.reducedBodies=_;for(var v=0,b=y.length;v<b;v++){var E=t[y[v]];if(E.length<2||(l.data=E,p(e,E,{filterOut:u,callback:d},0,i),a(_[_.length-1])!=a(_[0])))continue e}g[2]=_[0]}}}function p(e,t,n,o,a){for(var s=[],c=[],l=[],u=t.length-1;u>=0;u--)if(!n.filterOut(u,s)){var p=t[u].where,d=e[p],m=i(d[2]);s=s.concat(m),c.push(m),l.push(p)}r(s,!0,!1,a);for(var f=l.length,h=s.length-1,g=f-1;g>=0;)if((0===g||s[h]&&c[g].indexOf(s[h])>-1)&&h>-1)h--;else{var _=s.splice(h+1);n.callback(e[l[g]],_,f,g),g--}}t.exports=function(e,t){for(var r=t.options,i=r.compatibility.selectors.mergeablePseudoClasses,a=r.compatibility.selectors.mergeablePseudoElements,p=r.compatibility.selectors.multiplePseudoMerging,d={},m=[],f=e.length-1;f>=0;f--){var h=e[f];if(h[0]==o.RULE&&0!==h[2].length)for(var g=s(h[1]),_=h[1].length>1&&n(g,i,a,p),y=c(h[1]),v=_?[g].concat(y):[g],b=0,E=v.length;b<E;b++){var x=v[b];d[x]?m.push(x):d[x]=[],d[x].push({where:f,list:y,isPartial:_&&b>0,isComplex:_&&0===b})}}l(e,m,d,0,t),u(e,d,r,t)}}),hk=M((e,t)=>{var n=nS(),r=GS().all;t.exports=function(e){var t,i,o,a,s=[];for(o=0,a=e.length;o<a;o++)((t=e[o])[0]==n.AT_RULE_BLOCK||"@font-face"==t[1][0][1])&&(i=r([t]),s.indexOf(i)>-1?t[2]=[]:s.push(i))}}),gk=M((e,t)=>{var n=nS(),r=GS().all,i=GS().rules;t.exports=function(e){var t,o,a,s,c,l={};for(s=0,c=e.length;s<c;s++)(o=e[s])[0]==n.NESTED_BLOCK&&((t=l[a=i(o[1])+"%"+r(o[2])])&&(t[2]=[]),l[a]=o)}}),_k=M((e,t)=>{var n=nS(),r=GS().body,i=GS().rules;t.exports=function(e){for(var t,o,a,s,c={},l=[],u=0,p=e.length;u<p;u++)(o=e[u])[0]==n.RULE&&(c[t=i(o[1])]&&1==c[t].length?l.push(t):c[t]=c[t]||[],c[t].push(u));for(u=0,p=l.length;u<p;u++){s=[];for(var d=c[t=l[u]].length-1;d>=0;d--)o=e[c[t][d]],a=r(o[2]),s.indexOf(a)>-1?o[2]=[]:s.push(a)}}}),yk=M((e,t)=>{var n=WS(),r=rS().single,i=tS(),o=nS(),a=/^(-moz-|-o-|-webkit-)?animation-name$/,s=/^(-moz-|-o-|-webkit-)?animation$/,c=/^@(-moz-|-o-|-webkit-)?keyframes /,l=/\s{0,31}!important$/,u=/^(['"]?)(.*)\1$/;function p(e){return e.replace(u,"$2").replace(l,"")}function d(e,t,n,r){var i,a,s,c,l,u={};for(c=0,l=e.length;c<l;c++)t(e[c],u);if(0!==Object.keys(u).length)for(i in m(e,n,u,r),u)for(c=0,l=(a=u[i]).length;c<l;c++)(s=a[c])[s[0]==o.AT_RULE?1:2]=[]}function m(e,t,n,r){var i,a,s=t(n);for(i=0,a=e.length;i<a;i++)switch(e[i][0]){case o.RULE:s(e[i],r);break;case o.NESTED_BLOCK:m(e[i][2],t,n,r)}}function f(e,t){var n;e[0]==o.AT_RULE_BLOCK&&0===e[1][0][1].indexOf("@counter-style")&&(t[n=e[1][0][1].split(" ")[1]]=t[n]||[],t[n].push(e))}function h(e){return function(t,o){var a,s,c,l;for(c=0,l=t[2].length;c<l;c++)"list-style"==(a=t[2][c])[1][1]&&(s=r(a),n([s],o.validator,o.warnings),s.components[0].value[0][1]in e&&delete e[a[2][1]],i([s])),"list-style-type"==a[1][1]&&a[2][1]in e&&delete e[a[2][1]]}}function g(e,t){var n,r,i,a;if(e[0]==o.AT_RULE_BLOCK&&"@font-face"==e[1][0][1])for(i=0,a=e[2].length;i<a;i++)if("font-family"==(n=e[2][i])[1][1]){t[r=p(n[2][1].toLowerCase())]=t[r]||[],t[r].push(e);break}}function _(e){return function(t,o){var a,s,c,l,u,d,m,f;for(u=0,d=t[2].length;u<d;u++){if("font"==(a=t[2][u])[1][1]){for(s=r(a),n([s],o.validator,o.warnings),m=0,f=(c=s.components[6]).value.length;m<f;m++)(l=p(c.value[m][1].toLowerCase()))in e&&delete e[l];i([s])}if("font-family"==a[1][1])for(m=2,f=a.length;m<f;m++)(l=p(a[m][1].toLowerCase()))in e&&delete e[l]}}}function y(e,t){var n;e[0]==o.NESTED_BLOCK&&c.test(e[1][0][1])&&(t[n=e[1][0][1].split(" ")[1]]=t[n]||[],t[n].push(e))}function v(e){return function(t,o){var c,l,u,p,d,m,f;for(p=0,d=t[2].length;p<d;p++){if(c=t[2][p],s.test(c[1][1])){for(l=r(c),n([l],o.validator,o.warnings),m=0,f=(u=l.components[7]).value.length;m<f;m++)u.value[m][1]in e&&delete e[u.value[m][1]];i([l])}if(a.test(c[1][1]))for(m=2,f=c.length;m<f;m++)c[m][1]in e&&delete e[c[m][1]]}}}function b(e,t){var n;e[0]==o.AT_RULE&&0===e[1].indexOf("@namespace")&&(t[n=e[1].split(" ")[1]]=t[n]||[],t[n].push(e))}function E(e){var t=RegExp(Object.keys(e).join("\\||")+"\\|","g");return function(n){var r,i,o,a,s,c;for(o=0,a=n[1].length;o<a;o++)for(s=0,c=(r=n[1][o][1].match(t)).length;s<c;s++)(i=r[s].substring(0,r[s].length-1))in e&&delete e[i]}}t.exports=function(e,t){d(e,f,h,t),d(e,g,_,t),d(e,y,v,t),d(e,b,E,t)}}),vk=M((e,t)=>{function n(e,t){return e[1]>t[1]?1:-1}t.exports=function(e){for(var t=[],r=[],i=0,o=e.length;i<o;i++){var a=e[i];-1==r.indexOf(a[1])&&(r.push(a[1]),t.push(a))}return t.sort(n)}}),bk=M((e,t)=>{var n=ck().canReorderSingle,r=lk(),i=VS(),o=vk(),a=nS(),s=mk(),c=GS().body,l=GS().rules;function u(e,t){return e>t?1:-1}function p(e,t){var n=s(e);return n[5]=n[5].concat(t[5]),n}t.exports=function(e,t){var s=t.options,d=s.compatibility.selectors.mergeablePseudoClasses,m=s.compatibility.selectors.mergeablePseudoElements,f=s.compatibility.selectors.mergeLimit,h=s.compatibility.selectors.multiplePseudoMerging,g=t.cache.specificity,_={},y=[],v={},b=[];function E(e,t){var n=function(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(l(e[n][1]));return t.join("%")}(t);return v[n]=v[n]||[],v[n].push([e,t]),n}function x(e){var t,n=e.split("%"),r=[];for(var i in v){var o=i.split("%");for(t=o.length-1;t>=0;t--)if(n.indexOf(o[t])>-1){r.push(i);break}}for(t=r.length-1;t>=0;t--)delete v[r[t]]}function w(e){for(var t=[],n=[],r=e.length-1;r>=0;r--)i(l(e[r][1]),d,m,h)&&(n.unshift(e[r]),e[r][2].length>0&&-1==t.indexOf(e[r])&&t.push(e[r]));return t.length>1?n:[]}function A(e,t){return e[1]>t[1]?1:e[1]==t[1]?0:-1}function T(e,t,n){return S(e,t,n,1).sort(A)}function S(e,t,n,r){var i=[[e,k(e,t,n)]];if(e.length>2&&r>0)for(var o=e.length-1;o>=0;o--){var a=Array.prototype.slice.call(e,0);a.splice(o,1),i=i.concat(S(a,t,n,r-1))}return i}function k(e,t,n){for(var r=0,i=e.length-1;i>=0;i--)r+=e[i][2].length>n?l(e[i][1]).length:-1;return r-(e.length-1)*t+1}function C(t,n,r,i){var o,s,l,u,p=[];for(o=i.length-1;o>=0;o--){var d=i[o];for(s=d[2].length-1;s>=0;s--){var m=d[2][s];for(l=0,u=n.length;l<u;l++){var f=n[l],h=m[1][1],g=f[0],_=f[4];if(h==g&&c([m])==_){d[2].splice(s,1);break}}}}for(o=n.length-1;o>=0;o--)p.unshift(n[o][3]);var y=[a.RULE,r,p];e.splice(t,0,y)}function O(e,t){var n=_[t[4]];n&&n.length>1&&(function(e,t){var n,r,i=[],o=[],a=t[4],s=w(_[a]);if(!(s.length<2)){e:for(var c in _){var l=_[c];for(n=s.length-1;n>=0;n--)if(-1==l.indexOf(s[n]))continue e;i.push(c)}if(i.length<2)return!1;for(n=i.length-1;n>=0;n--)for(r=y.length-1;r>=0;r--)if(y[r][4]==i[n]){o.unshift([y[r],s]);break}return R(e,o)}}(e,t)||function(e,t){var n=t[0],r=t[1],i=t[4],a=n.length+r.length+1,s=[],c=[],l=w(_[i]);if(!(l.length<2)){var u=T(l,a,1),p=u[0];if(p[1]>0)return function(e,t,n){for(var r=n.length-1;r>=0;r--){var i=E(t,n[r][0]);if(v[i].length>1&&R(e,v[i])){x(i);break}}}(e,t,u);for(var d=p[0].length-1;d>=0;d--)s=p[0][d][1].concat(s),c.unshift(p[0][d]);C(e,[t],s=o(s),c)}}(e,t))}function R(e,t){for(var n,r=0,i=[],a=t.length-1;a>=0;a--)r+=(n=t[a][0])[4].length+(a>0?1:0),i.push(n);var s=T(t[0][1],r,i.length)[0];if(s[1]>0)return!1;var c=[],l=[];for(a=s[0].length-1;a>=0;a--)c=s[0][a][1].concat(c),l.unshift(s[0][a]);for(C(e,i,c=o(c),l),a=i.length-1;a>=0;a--){n=i[a];var u=y.indexOf(n);delete _[n[4]],u>-1&&-1==b.indexOf(u)&&b.push(u)}return!0}function D(e,t,n){if(e[0]!=t[0])return!1;var r=_[t[4]];return r&&r.indexOf(n)>-1}for(var P=e.length-1;P>=0;P--){var F,I,N,L,M,B=e[P];if(B[0]==a.RULE)F=!0;else{if(B[0]!=a.NESTED_BLOCK)continue;F=!1}var U=y.length,$=r(B);b=[];var z=[];for(I=$.length-1;I>=0;I--)for(N=I-1;N>=0;N--)if(!n($[I],$[N],g)){z.push(I);break}for(I=$.length-1;I>=0;I--){var G=$[I],j=!1;for(N=0;N<U;N++){var V=y[N];-1==b.indexOf(N)&&(!n(G,V,g)&&!D(G,V,B)||_[V[4]]&&_[V[4]].length===f)&&(O(P+1,V),-1==b.indexOf(N)&&(b.push(N),delete _[V[4]])),j||(j=G[0]==V[0]&&G[1]==V[1])&&(M=N)}if(F&&!(z.indexOf(I)>-1)){var q=G[4];j&&y[M][5].length+G[5].length>f?(O(P+1,y[M]),y.splice(M,1),_[q]=[B],j=!1):(_[q]=_[q]||[],_[q].push(B)),j?y[M]=p(y[M],G):y.push(G)}}for(I=0,L=(b=b.sort(u)).length;I<L;I++){var H=b[I]-I;y.splice(H,1)}}for(var K=e[0]&&e[0][0]==a.AT_RULE&&0===e[0][1].indexOf("@charset")?1:0;K<e.length-1;K++){var W=e[K][0]===a.AT_RULE&&0===e[K][1].indexOf("@import"),X=e[K][0]===a.COMMENT;if(!W&&!X)break}for(P=0;P<y.length;P++)O(K,y[P])}}),Ek=M((e,t)=>{var n=ik(),r=uk(),i=pk(),o=dk(),a=fk(),s=hk(),c=gk(),l=_k(),u=yk(),p=bk(),d=rk(),m=dS().OptimizationLevel,f=nS();function h(e){for(var t=0,n=e.length;t<n;t++){var r=e[t],i=!1;switch(r[0]){case f.RULE:i=0===r[1].length||0===r[2].length;break;case f.NESTED_BLOCK:h(r[2]),i=0===r[2].length;break;case f.AT_RULE:i=0===r[1].length;break;case f.AT_RULE_BLOCK:i=0===r[2].length}i&&(e.splice(t,1),t--,n--)}}function g(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i[0]==f.NESTED_BLOCK){var o=/@(-moz-|-o-|-webkit-)?keyframes/.test(i[1][0][1]);y(i[2],t,!o)}}}function _(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];switch(i[0]){case f.RULE:d(i[2],!0,!0,t);break;case f.NESTED_BLOCK:_(i[2],t)}}}function y(e,t,d){var f,v,b=t.options.level[m.Two],E=t.options.plugins.level2Block;if(g(e,t),_(e,t),b.removeDuplicateRules&&l(e,t),b.mergeAdjacentRules&&n(e,t),b.reduceNonAdjacentRules&&a(e,t),b.mergeNonAdjacentRules&&"body"!=b.mergeNonAdjacentRules&&o(e,t),b.mergeNonAdjacentRules&&"selector"!=b.mergeNonAdjacentRules&&i(e,t),b.restructureRules&&b.mergeAdjacentRules&&d&&(p(e,t),n(e,t)),b.restructureRules&&!b.mergeAdjacentRules&&d&&p(e,t),b.removeDuplicateFontRules&&s(e,t),b.removeDuplicateMediaBlocks&&c(e,t),b.removeUnusedAtRules&&u(e,t),b.mergeMedia)for(v=(f=r(e,t)).length-1;v>=0;v--)y(f[v][2],t,!1);for(v=0;v<E.length;v++)E[v](e);return b.removeEmpty&&h(e),e}t.exports=y}),xk=M((e,t)=>{var n="var\\(\\-\\-[^\\)]+\\)",r="("+n+"|[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)|\\-(\\-|[A-Z]|[0-9])+\\(.*?\\))",i=RegExp("^(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)$","i"),o=/[0-9]/,a=RegExp("^"+r+"$","i"),s=/^#(?:[0-9a-f]{4}|[0-9a-f]{8})$/i,c=/^hsl\(\s{0,31}[-.]?\d+\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31}\)|hsla\(\s{0,31}[-.]?\d+\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\.?\d+\s{0,31}\)$/,l=/^hsl\(\s{0,31}[-.]?\d+(deg)?\s{1,31}\d*\.?\d+%\s{1,31}\d*\.?\d+%\s{0,31}\)|hsla\(\s{0,31}[-.]?\d+(deg)?\s{1,31}\d*\.?\d+%\s{1,31}\d*\.?\d+%\s{1,31}\/\s{1,31}\d*\.?\d+%?\s{0,31}\)$/,u=/^(-[a-z0-9_][a-z0-9\-_]*|[a-z_][a-z0-9\-_]*)$/i,p=/^[a-z]+$/i,d=/^-([a-z0-9]|-)*$/i,m=/^("[^"]*"|'[^']*')$/i,f=/^rgb\(\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31}\)|rgba\(\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[.\d]+\s{0,31}\)$/i,h=/^rgb\(\s{0,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{0,31}\)|rgba\(\s{0,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}\/\s{1,31}[\d]*\.?[.\d]+%?\s{0,31}\)$/i,g=/\d+(s|ms)/,_=/^(cubic-bezier|steps)\([^)]+\)$/,y=["ms","s"],v=/^url\([\s\S]+\)$/i,b=RegExp("^"+n+"$","i"),E=/^#[0-9a-f]{8}$/i,x=/^#[0-9a-f]{4}$/i,w=/^#[0-9a-f]{6}$/i,A=/^#[0-9a-f]{3}$/i,T={"^":["inherit","initial","unset"],"*-style":["auto","dashed","dotted","double","groove","hidden","inset","none","outset","ridge","solid"],"*-timing-function":["ease","ease-in","ease-in-out","ease-out","linear","step-end","step-start"],"animation-direction":["alternate","alternate-reverse","normal","reverse"],"animation-fill-mode":["backwards","both","forwards","none"],"animation-iteration-count":["infinite"],"animation-name":["none"],"animation-play-state":["paused","running"],"background-attachment":["fixed","inherit","local","scroll"],"background-clip":["border-box","content-box","inherit","padding-box","text"],"background-origin":["border-box","content-box","inherit","padding-box"],"background-position":["bottom","center","left","right","top"],"background-repeat":["no-repeat","inherit","repeat","repeat-x","repeat-y","round","space"],"background-size":["auto","cover","contain"],"border-collapse":["collapse","inherit","separate"],bottom:["auto"],clear:["both","left","none","right"],color:["transparent"],cursor:["all-scroll","auto","col-resize","crosshair","default","e-resize","help","move","n-resize","ne-resize","no-drop","not-allowed","nw-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait"],display:["block","inline","inline-block","inline-table","list-item","none","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group"],float:["left","none","right"],left:["auto"],font:["caption","icon","menu","message-box","small-caption","status-bar","unset"],"font-size":["large","larger","medium","small","smaller","x-large","x-small","xx-large","xx-small"],"font-stretch":["condensed","expanded","extra-condensed","extra-expanded","normal","semi-condensed","semi-expanded","ultra-condensed","ultra-expanded"],"font-style":["italic","normal","oblique"],"font-variant":["normal","small-caps"],"font-weight":["100","200","300","400","500","600","700","800","900","bold","bolder","lighter","normal"],"line-height":["normal"],"list-style-position":["inside","outside"],"list-style-type":["armenian","circle","decimal","decimal-leading-zero","disc","decimal|disc","georgian","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],overflow:["auto","hidden","scroll","visible"],position:["absolute","fixed","relative","static"],right:["auto"],"text-align":["center","justify","left","left|right","right"],"text-decoration":["line-through","none","overline","underline"],"text-overflow":["clip","ellipsis"],top:["auto"],"vertical-align":["baseline","bottom","middle","sub","super","text-bottom","text-top","top"],visibility:["collapse","hidden","visible"],"white-space":["normal","nowrap","pre"],width:["inherit","initial","medium","thick","thin"]},S=["%","ch","cm","em","ex","in","mm","pc","pt","px","rem","vh","vm","vmax","vmin","vw"];function k(e){return"auto"!=e&&(L("color")(e)||function(e){return A.test(e)||x.test(e)||w.test(e)||E.test(e)}(e)||C(e)||function(e){return p.test(e)}(e))}function C(e){return B(e)||D(e)}function O(e){return i.test(e)}function R(e){return a.test(e)}function D(e){return c.test(e)||l.test(e)}function P(e){return s.test(e)}function F(e){return u.test(e)}function I(e){return m.test(e)}function N(e){return"none"==e||"inherit"==e||q(e)}function L(e){return function(t){return T[e].indexOf(t)>-1}}function M(e){return K(e)==e.length}function B(e){return f.test(e)||h.test(e)}function U(e){return d.test(e)}function $(e){return M(e)&&parseFloat(e)>=0}function z(e){return b.test(e)}function G(e){var t=K(e);return t==e.length&&0===parseInt(e)||t>-1&&y.indexOf(e.slice(t+1))>-1||function(e){return R(e)&&g.test(e)}(e)}function j(){var e=L("*-timing-function");return function(t){return e(t)||_.test(t)}}function V(e,t){var n=K(t);return n==t.length&&0===parseInt(t)||n>-1&&e.indexOf(t.slice(n+1).toLowerCase())>-1||"auto"==t||"inherit"==t}function q(e){return v.test(e)}function H(e){return"auto"==e||M(e)||L("^")(e)}function K(e){var t,n,r,i=!1,a=!1;for(n=0,r=e.length;n<r;n++)if(t=e[n],0!==n||"+"!=t&&"-"!=t){if(n>0&&a&&("+"==t||"-"==t))return n-1;if("."!=t||i){if("."==t&&i)return n-1;if(o.test(t))continue;return n-1}i=!0}else a=!0;return n}t.exports=function(e){var t=S.slice(0).filter(function(t){return!(t in e.units)||!0===e.units[t]});return e.customUnits.rpx&&t.push("rpx"),{colorOpacity:e.colors.opacity,colorHexAlpha:e.colors.hexAlpha,isAnimationDirectionKeyword:L("animation-direction"),isAnimationFillModeKeyword:L("animation-fill-mode"),isAnimationIterationCountKeyword:L("animation-iteration-count"),isAnimationNameKeyword:L("animation-name"),isAnimationPlayStateKeyword:L("animation-play-state"),isTimingFunction:j(),isBackgroundAttachmentKeyword:L("background-attachment"),isBackgroundClipKeyword:L("background-clip"),isBackgroundOriginKeyword:L("background-origin"),isBackgroundPositionKeyword:L("background-position"),isBackgroundRepeatKeyword:L("background-repeat"),isBackgroundSizeKeyword:L("background-size"),isColor:k,isColorFunction:C,isDynamicUnit:O,isFontKeyword:L("font"),isFontSizeKeyword:L("font-size"),isFontStretchKeyword:L("font-stretch"),isFontStyleKeyword:L("font-style"),isFontVariantKeyword:L("font-variant"),isFontWeightKeyword:L("font-weight"),isFunction:R,isGlobal:L("^"),isHexAlphaColor:P,isHslColor:D,isIdentifier:F,isImage:N,isKeyword:L,isLineHeightKeyword:L("line-height"),isListStylePositionKeyword:L("list-style-position"),isListStyleTypeKeyword:L("list-style-type"),isNumber:M,isPrefixed:U,isPositiveNumber:$,isQuotedText:I,isRgbColor:B,isStyleKeyword:L("*-style"),isTime:G,isUnit:V.bind(null,t),isUrl:q,isVariable:z,isWidth:L("width"),isZIndex:H}}}),wk=M((e,t)=>{var n={"*":{colors:{hexAlpha:!1,opacity:!0},customUnits:{rpx:!1},properties:{backgroundClipMerging:!0,backgroundOriginMerging:!0,backgroundSizeMerging:!0,colors:!0,ieBangHack:!1,ieFilters:!1,iePrefixHack:!1,ieSuffixHack:!1,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!0,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,mergeablePseudoClasses:":active.:after.:before.:empty.:checked.:disabled.:empty.:enabled.:first-child.:first-letter.:first-line.:first-of-type.:focus.:hover.:lang.:last-child.:last-of-type.:link.:not.:nth-child.:nth-last-child.:nth-last-of-type.:nth-of-type.:only-child.:only-of-type.:root.:target.:visited".split("."),mergeablePseudoElements:["::after","::before","::first-letter","::first-line"],mergeLimit:8191,multiplePseudoMerging:!0},units:{ch:!0,in:!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}}};function r(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=e[n];Object.prototype.hasOwnProperty.call(t,n)&&"object"==typeof i&&!Array.isArray(i)?t[n]=r(i,t[n]||{}):t[n]=n in t?t[n]:i}return t}n.ie11=r(n["*"],{properties:{ieSuffixHack:!0}}),n.ie10=r(n["*"],{properties:{ieSuffixHack:!0}}),n.ie9=r(n["*"],{properties:{ieFilters:!0,ieSuffixHack:!0}}),n.ie8=r(n.ie9,{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,iePrefixHack:!0,merging:!1},selectors:{mergeablePseudoClasses:[":after",":before",":first-child",":first-letter",":focus",":hover",":visited"],mergeablePseudoElements:[]},units:{ch:!1,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}}),n.ie7=r(n.ie8,{properties:{ieBangHack:!0},selectors:{ie7Hack:!0,mergeablePseudoClasses:[":first-child",":first-letter",":hover",":visited"]}}),t.exports=function(e){return r(n["*"],function(e){if("object"==typeof e)return e;if(!/[,+-]/.test(e))return n[e]||n["*"];var t=e.split(","),i=t[0]in n?n[t.shift()]:n["*"];return e={},t.forEach(function(t){var n="+"==t[0],r=t.substring(1).split("."),i=r[0],o=r[1];e[i]=e[i]||{},e[i][o]=n}),r(i,e)}(e))}}),Ak=M((e,t)=>{var n=/^http:\/\//;t.exports=function(e){return n.test(e)}}),Tk=M((e,t)=>{var n=/^https:\/\//;t.exports=function(e){return n.test(e)}}),Sk=M((e,t)=>{var n=U("http"),r=U("https"),i=U("url"),o=Ak(),a=Tk(),s=HT();t.exports=function e(t,c,l,u){var p=c.protocol||c.hostname,d=!1,m=s(i.parse(t),c||{});void 0!==c.hostname&&(m.protocol=c.protocol||"http:",m.path=m.href),(p&&!a(p)||o(t)?n.get:r.get)(m,function(n){var r=[];if(!d){if(n.statusCode<200||n.statusCode>399)return u(n.statusCode,null);if(n.statusCode>299)return e(i.resolve(t,n.headers.location),c,l,u);n.on("data",function(e){r.push(e.toString())}),n.on("end",function(){u(null,r.join(""))})}}).on("error",function(e){d||(d=!0,u(e.message,null))}).on("timeout",function(){d||(d=!0,u("timeout",null))}).setTimeout(l)}}),kk=M((e,t)=>{var n=Sk();t.exports=function(e){return e||n}}),Ck=M((e,t)=>{t.exports=function(e){return Array.isArray(e)?e:!1===e?["none"]:void 0===e?["local"]:e.split(",")}}),Ok=M((e,t)=>{var n=U("url"),r=HT();t.exports=function(e){return r(function(e){return e?{hostname:n.parse(e).hostname,port:parseInt(n.parse(e).port)}:{}}(process.env.HTTP_PROXY||process.env.http_proxy),e||{})}}),Rk=M((e,t)=>{t.exports=function(e){return e||5e3}}),Dk=M((e,t)=>{t.exports=function(e){var t={level1Value:[],level1Property:[],level2Block:[]};return e||=[],t.level1Value=e.map(function(e){return e.level1&&e.level1.value}).filter(function(e){return null!=e}),t.level1Property=e.map(function(e){return e.level1&&e.level1.property}).filter(function(e){return null!=e}),t.level2Block=e.map(function(e){return e.level2&&e.level2.block}).filter(function(e){return null!=e}),t}}),Pk=M((e,t)=>{t.exports=function(e,t){return void 0!==t||void 0!==e&&!!e}}),Fk=M((e,t)=>{var n=U("path");t.exports=function(e){return e?n.resolve(e):process.cwd()}}),Ik=M(e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError("Must be between 0 and 63: "+e)},e.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}}),Nk=M(e=>{var t=Ik();e.encode=function(e){var n,r="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{n=31&i,(i>>>=5)>0&&(n|=32),r+=t.encode(n)}while(i>0);return r},e.decode=function(e,n,r){var i,o,a=e.length,s=0,c=0;do{if(n>=a)throw Error("Expected more digits in base 64 VLQ value.");if(-1===(o=t.decode(e.charCodeAt(n++))))throw Error("Invalid base64 digit: "+e.charAt(n-1));i=!!(32&o),s+=(o&=31)<<c,c+=5}while(i);r.value=function(e){var t=e>>1;return 1&~e?t:-t}(s),r.rest=n}}),Lk=M(e=>{e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(t){var n=t,o=r(t);if(o){if(!o.path)return t;n=o.path}for(var a,s=e.isAbsolute(n),c=n.split(/\/+/),l=0,u=c.length-1;u>=0;u--)"."===(a=c[u])?c.splice(u,1):".."===a?l++:l>0&&(""===a?(c.splice(u+1,l),l=0):(c.splice(u,2),l--));return""===(n=c.join("/"))&&(n=s?"/":"."),o?(o.path=n,i(o)):n}function a(e,t){""===e&&(e="."),""===t&&(t=".");var a=r(t),s=r(e);if(s&&(e=s.path||"/"),a&&!a.scheme)return s&&(a.scheme=s.scheme),i(a);if(a||t.match(n))return t;if(s&&!s.host&&!s.path)return s.host=t,i(s);var c="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=c,i(s)):c}e.urlParse=r,e.urlGenerate=i,e.normalize=o,e.join=a,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0||(e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var s=!("__proto__"in Object.create(null));function c(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9||95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function u(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=s?c:function(e){return l(e)?"$"+e:e},e.fromSetString=s?c:function(e){return l(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=u(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:u(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=u(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:u(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=u(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:u(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t||="",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var s=r(n);if(!s)throw Error("sourceMapURL could not be parsed");if(s.path){var c=s.path.lastIndexOf("/");c>=0&&(s.path=s.path.substring(0,c+1))}t=a(i(s),t)}return o(t)}}),Mk=M(e=>{var t=Lk(),n=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,o=e.length;r<o;r++)n.add(e[r],t);return n},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,i){var o=r?e:t.toSetString(e),a=r?this.has(e):n.call(this._set,o),s=this._array.length;(!a||i)&&this._array.push(e),a||(r?this._set.set(e,s):this._set[o]=s)},i.prototype.has=function(e){if(r)return this._set.has(e);var i=t.toSetString(e);return n.call(this._set,i)},i.prototype.indexOf=function(e){if(r){var i=this._set.get(e);if(i>=0)return i}else{var o=t.toSetString(e);if(n.call(this._set,o))return this._set[o]}throw Error('"'+e+'" is not in the set.')},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error("No element indexed by "+e)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i}),Bk=M(e=>{var t=Lk();function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},n.prototype.add=function(e){!function(e,n){var r=e.generatedLine,i=n.generatedLine,o=e.generatedColumn,a=n.generatedColumn;return i>r||i==r&&a>=o||t.compareByGeneratedPositionsInflated(e,n)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))},n.prototype.toArray=function(){return this._sorted||=(this._array.sort(t.compareByGeneratedPositionsInflated),!0),this._array},e.MappingList=n}),Uk=M(e=>{var t=Nk(),n=Lk(),r=Mk().ArraySet,i=Bk().MappingList;function o(e){e||={},this._file=n.getArg(e,"file",null),this._sourceRoot=n.getArg(e,"sourceRoot",null),this._skipValidation=n.getArg(e,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(e){var t=e.sourceRoot,r=new o({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var i={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(i.source=e.source,null!=t&&(i.source=n.relative(t,i.source)),i.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(i.name=e.name)),r.addMapping(i)}),e.sources.forEach(function(i){var o=i;null!==t&&(o=n.relative(t,i)),r._sources.has(o)||r._sources.add(o);var a=e.sourceContentFor(i);null!=a&&r.setSourceContent(i,a)}),r},o.prototype.addMapping=function(e){var t=n.getArg(e,"generated"),r=n.getArg(e,"original",null),i=n.getArg(e,"source",null),o=n.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,i,o),null!=i&&(i=String(i),this._sources.has(i)||this._sources.add(i)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:i,name:o})},o.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=n.relative(this._sourceRoot,r)),null==t?this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[n.toSetString(r)]=t)},o.prototype.applySourceMap=function(e,t,i){var o=t;if(null==t){if(null==e.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');o=e.file}var a=this._sourceRoot;null!=a&&(o=n.relative(a,o));var s=new r,c=new r;this._mappings.unsortedForEach(function(t){if(t.source===o&&null!=t.originalLine){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=r.source&&(t.source=r.source,null!=i&&(t.source=n.join(i,t.source)),null!=a&&(t.source=n.relative(a,t.source)),t.originalLine=r.line,t.originalColumn=r.column,null!=r.name&&(t.name=r.name))}var l=t.source;null!=l&&!s.has(l)&&s.add(l);var u=t.name;null!=u&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=i&&(t=n.join(i,t)),null!=a&&(t=n.relative(a,t)),this.setSourceContent(t,r))},this)},o.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},o.prototype._serializeMappings=function(){for(var e,r,i,o,a=0,s=1,c=0,l=0,u=0,p=0,d="",m=this._mappings.toArray(),f=0,h=m.length;f<h;f++){if(e="",(r=m[f]).generatedLine!==s)for(a=0;r.generatedLine!==s;)e+=";",s++;else if(f>0){if(!n.compareByGeneratedPositionsInflated(r,m[f-1]))continue;e+=","}e+=t.encode(r.generatedColumn-a),a=r.generatedColumn,null!=r.source&&(o=this._sources.indexOf(r.source),e+=t.encode(o-p),p=o,e+=t.encode(r.originalLine-1-l),l=r.originalLine-1,e+=t.encode(r.originalColumn-c),c=r.originalColumn,null!=r.name&&(i=this._names.indexOf(r.name),e+=t.encode(i-u),u=i)),d+=e}return d},o.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}),$k=M(e=>{function t(n,r,i,o,a,s){var c=Math.floor((r-n)/2)+n,l=a(i,o[c],!0);return 0===l?c:l>0?r-c>1?t(c,r,i,o,a,s):s==e.LEAST_UPPER_BOUND?r<o.length?r:-1:c:c-n>1?t(n,c,i,o,a,s):s==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(n,r,i,o){if(0===r.length)return-1;var a=t(-1,r.length,n,r,i,o||e.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(r[a],r[a-1],!0);)--a;return a}}),zk=M(e=>{function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,r,i,o){if(i<o){var a=function(e,t){return Math.round(e+Math.random()*(t-e))}(i,o),s=i-1;t(e,a,o);for(var c=e[o],l=i;l<o;l++)r(e[l],c)<=0&&t(e,s+=1,l);t(e,s+1,l);var u=s+1;n(e,r,i,u-1),n(e,r,u+1,o)}}e.quickSort=function(e,t){n(e,t,0,e.length-1)}}),Gk=M(e=>{var t=Lk(),n=$k(),r=Mk().ArraySet,i=Nk(),o=zk().quickSort;function a(e,n){var r=e;return"string"==typeof e&&(r=t.parseSourceMapInput(e)),null==r.sections?new s(r,n):new l(r,n)}function s(e,n){var i=e;"string"==typeof e&&(i=t.parseSourceMapInput(e));var o=t.getArg(i,"version"),a=t.getArg(i,"sources"),s=t.getArg(i,"names",[]),c=t.getArg(i,"sourceRoot",null),l=t.getArg(i,"sourcesContent",null),u=t.getArg(i,"mappings"),p=t.getArg(i,"file",null);if(o!=this._version)throw Error("Unsupported version: "+o);c&&=t.normalize(c),a=a.map(String).map(t.normalize).map(function(e){return c&&t.isAbsolute(c)&&t.isAbsolute(e)?t.relative(c,e):e}),this._names=r.fromArray(s.map(String),!0),this._sources=r.fromArray(a,!0),this._absoluteSources=this._sources.toArray().map(function(e){return t.computeSourceURL(c,e,n)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=n,this.file=p}function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function l(e,n){var i=e;"string"==typeof e&&(i=t.parseSourceMapInput(e));var o=t.getArg(i,"version"),s=t.getArg(i,"sections");if(o!=this._version)throw Error("Unsupported version: "+o);this._sources=new r,this._names=new r;var c={line:-1,column:0};this._sections=s.map(function(e){if(e.url)throw Error("Support for url field in sections not implemented.");var r=t.getArg(e,"offset"),i=t.getArg(r,"line"),o=t.getArg(r,"column");if(i<c.line||i===c.line&&o<c.column)throw Error("Section offsets must be ordered and non-overlapping.");return c=r,{generatedOffset:{generatedLine:i+1,generatedColumn:o+1},consumer:new a(t.getArg(e,"map"),n)}})}a.fromSourceMap=function(e,t){return s.fromSourceMap(e,t)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},a.prototype._parseMappings=function(e,t){throw Error("Subclasses must implement _parseMappings")},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(e,n,r){var i,o=n||null;switch(r||a.GENERATED_ORDER){case a.GENERATED_ORDER:i=this._generatedMappings;break;case a.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw Error("Unknown order of iteration.")}var s=this.sourceRoot;i.map(function(e){var n=null===e.source?null:this._sources.at(e.source);return{source:n=t.computeSourceURL(s,n,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,o)},a.prototype.allGeneratedPositionsFor=function(e){var r=t.getArg(e,"line"),i={source:t.getArg(e,"source"),originalLine:r,originalColumn:t.getArg(e,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var o=[],a=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(void 0===e.column)for(var c=s.originalLine;s&&s.originalLine===c;)o.push({line:t.getArg(s,"generatedLine",null),column:t.getArg(s,"generatedColumn",null),lastColumn:t.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)o.push({line:t.getArg(s,"generatedLine",null),column:t.getArg(s,"generatedColumn",null),lastColumn:t.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return o},e.SourceMapConsumer=a,s.prototype=Object.create(a.prototype),s.prototype.consumer=a,s.prototype._findSourceIndex=function(e){var n,r=e;if(null!=this.sourceRoot&&(r=t.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==e)return n;return-1},s.fromSourceMap=function(e,n){var i=Object.create(s.prototype),a=i._names=r.fromArray(e._names.toArray(),!0),l=i._sources=r.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=n,i._absoluteSources=i._sources.toArray().map(function(e){return t.computeSourceURL(i.sourceRoot,e,n)});for(var u=e._mappings.toArray().slice(),p=i.__generatedMappings=[],d=i.__originalMappings=[],m=0,f=u.length;m<f;m++){var h=u[m],g=new c;g.generatedLine=h.generatedLine,g.generatedColumn=h.generatedColumn,h.source&&(g.source=l.indexOf(h.source),g.originalLine=h.originalLine,g.originalColumn=h.originalColumn,h.name&&(g.name=a.indexOf(h.name)),d.push(g)),p.push(g)}return o(i.__originalMappings,t.compareByOriginalPositions),i},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),s.prototype._parseMappings=function(e,n){for(var r,a,s,l,u,p=1,d=0,m=0,f=0,h=0,g=0,_=e.length,y=0,v={},b={},E=[],x=[];y<_;)if(";"===e.charAt(y))p++,y++,d=0;else if(","===e.charAt(y))y++;else{for((r=new c).generatedLine=p,l=y;l<_&&!this._charIsMappingSeparator(e,l);l++);if(s=v[a=e.slice(y,l)])y+=a.length;else{for(s=[];y<l;)i.decode(e,y,b),u=b.value,y=b.rest,s.push(u);if(2===s.length)throw Error("Found a source, but no line and column");if(3===s.length)throw Error("Found a source and line, but no column");v[a]=s}r.generatedColumn=d+s[0],d=r.generatedColumn,s.length>1&&(r.source=h+s[1],h+=s[1],r.originalLine=m+s[2],m=r.originalLine,r.originalLine+=1,r.originalColumn=f+s[3],f=r.originalColumn,s.length>4&&(r.name=g+s[4],g+=s[4])),x.push(r),"number"==typeof r.originalLine&&E.push(r)}o(x,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=x,o(E,t.compareByOriginalPositions),this.__originalMappings=E},s.prototype._findMapping=function(e,t,r,i,o,a){if(e[r]<=0)throw TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[i]<0)throw TypeError("Column must be greater than or equal to 0, got "+e[i]);return n.search(e,t,o,a)},s.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(e){var n={generatedLine:t.getArg(e,"line"),generatedColumn:t.getArg(e,"column")},r=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(e,"bias",a.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var o=t.getArg(i,"source",null);null!==o&&(o=this._sources.at(o),o=t.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=t.getArg(i,"name",null);return null!==s&&(s=this._names.at(s)),{source:o,line:t.getArg(i,"originalLine",null),column:t.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})},s.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i,o=e;if(null!=this.sourceRoot&&(o=t.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(i=t.urlParse(this.sourceRoot))){var a=o.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!i.path||"/"==i.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw Error('"'+o+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(e){var n=t.getArg(e,"source");if((n=this._findSourceIndex(n))<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:t.getArg(e,"line"),originalColumn:t.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(e,"bias",a.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===r.source)return{line:t.getArg(o,"generatedLine",null),column:t.getArg(o,"generatedColumn",null),lastColumn:t.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=s,l.prototype=Object.create(a.prototype),l.prototype.constructor=a,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),l.prototype.originalPositionFor=function(e){var r={generatedLine:t.getArg(e,"line"),generatedColumn:t.getArg(e,"column")},i=n.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),o=this._sections[i];return o?o.consumer.originalPositionFor({line:r.generatedLine-(o.generatedOffset.generatedLine-1),column:r.generatedColumn-(o.generatedOffset.generatedLine===r.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw Error('"'+e+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(e){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(-1!==r.consumer._findSourceIndex(t.getArg(e,"source"))){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},l.prototype._parseMappings=function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],a=i.consumer._generatedMappings,s=0;s<a.length;s++){var c=a[s],l=i.consumer._sources.at(c.source);l=t.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=i.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var p={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(p),"number"==typeof p.originalLine&&this.__originalMappings.push(p)}o(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),o(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=l}),jk=M(e=>{var t=Uk().SourceMapGenerator,n=Lk(),r=/(\r?\n)/,i="$$$isSourceNode$$$";function o(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=o??null,this[i]=!0,null!=r&&this.add(r)}o.fromStringWithSourceMap=function(e,t,i){var a=new o,s=e.split(r),c=0,l=function(){return e()+(e()||"");function e(){return c<s.length?s[c++]:void 0}},u=1,p=0,d=null;return t.eachMapping(function(e){if(null!==d){if(!(u<e.generatedLine)){var t=(n=s[c]||"").substr(0,e.generatedColumn-p);return s[c]=n.substr(e.generatedColumn-p),p=e.generatedColumn,m(d,t),void(d=e)}m(d,l()),u++,p=0}for(;u<e.generatedLine;)a.add(l()),u++;if(p<e.generatedColumn){var n=s[c]||"";a.add(n.substr(0,e.generatedColumn)),s[c]=n.substr(e.generatedColumn),p=e.generatedColumn}d=e},this),c<s.length&&(d&&m(d,l()),a.add(s.splice(c).join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=i&&(e=n.join(i,e)),a.setSourceContent(e,r))}),a;function m(e,t){if(null===e||void 0===e.source)a.add(t);else{var r=i?n.join(i,e.source):e.source;a.add(new o(e.originalLine,e.originalColumn,r,t,e.name))}}},o.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[i]&&"string"!=typeof e)throw TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},o.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[i]&&"string"!=typeof e)throw TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},o.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[i]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},o.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},o.prototype.setSourceContent=function(e,t){this.sourceContents[n.toSetString(e)]=t},o.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][i]&&this.children[t].walkSourceContents(e);var o=Object.keys(this.sourceContents);for(t=0,r=o.length;t<r;t++)e(n.fromSetString(o[t]),this.sourceContents[o[t]])},o.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},o.prototype.toStringWithSourceMap=function(e){var n={code:"",line:1,column:0},r=new t(e),i=!1,o=null,a=null,s=null,c=null;return this.walk(function(e,t){n.code+=e,null!==t.source&&null!==t.line&&null!==t.column?((o!==t.source||a!==t.line||s!==t.column||c!==t.name)&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),o=t.source,a=t.line,s=t.column,c=t.name,i=!0):i&&=(r.addMapping({generated:{line:n.line,column:n.column}}),o=null,!1);for(var l=0,u=e.length;l<u;l++)10===e.charCodeAt(l)?(n.line++,n.column=0,l+1===u?(o=null,i=!1):i&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:n.code,map:r}},e.SourceNode=o}),Vk=M(e=>{e.SourceMapGenerator=Uk().SourceMapGenerator,e.SourceMapConsumer=Gk().SourceMapConsumer,e.SourceNode=jk().SourceNode}),qk=M((e,t)=>{var n=Vk().SourceMapConsumer;function r(e){return e}function i(e,t){return t in e}function o(e,t,n,r){for(var i,a=t[0],s=t[1],c=t[2],l={line:a,column:s+n};!i&&l.column>s;)l.column--,i=e[c].originalPositionFor(l);return!i||i.column<0?t:null===i.line&&a>1&&r>0?o(e,[a-1,s,c],n,r-1):null===i.line?t:function(e){return[e.line,e.column,e.source]}(i)}function a(e,t,r){e[t]=new n(r)}t.exports=function(){var e={};return{all:r.bind(null,e),isTracking:i.bind(null,e),originalPositionFor:o.bind(null,e),track:a.bind(null,e)}}}),Hk=M((e,t)=>{var n=/^(\w+:\/\/|\/\/)/,r=/^file:\/\//;t.exports=function(e){return n.test(e)&&!r.test(e)}}),Kk=M((e,t)=>{var n=/^\/\//;t.exports=function(e){return!n.test(e)}}),Wk=M((e,t)=>{var n=U("path"),r=U("url"),i=Hk(),o=Kk(),a="http:";function s(e){return i(e)||r.parse(a+"//"+e).host==e}t.exports=function e(t,i,c){var l,u,p,d,m,f,h=!i;if(0===c.length)return!1;for(i&&!o(t)&&(t=a+t),l=i?r.parse(t).host:t,u=i?t:n.resolve(t),f=0;f<c.length;f++)d="!"==(p=c[f])[0],m=p.substring(1),d&&i&&s(m)?h&&=!e(t,!0,[m]):!d||i||s(m)?d?h&&=!0:"all"==p?h=!0:i&&"local"==p?h||=!1:i&&"remote"==p?h=!0:i||"remote"!=p?!i&&"local"==p||p===l||p===t||i&&0===u.indexOf(p)||!i&&0===u.indexOf(n.resolve(p))?h=!0:i==s(m)?h=!1:h&&=!0:h=!1:h&&=!e(t,!1,[m]);return h}}),Xk=M((e,t)=>{var n=/^data:(\S*?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;t.exports=function(e){return n.exec(e)}}),Zk=M((e,t)=>{var n=U("path");t.exports=function(e,t,r){var i=n.resolve(""),o=n.resolve(i,t),a=n.dirname(o);return e.sources=e.sources.map(function(e){return n.relative(r,n.resolve(a,e))}),e}}),Yk=M((e,t)=>{var n=U("path"),r=U("url");t.exports=function(e,t){var i=n.dirname(t);return e.sources=e.sources.map(function(e){return r.resolve(i,e)}),e}}),Qk=M((e,t)=>{var n=/^data:(\S{0,31}?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;t.exports=function(e){return n.test(e)}}),Jk=M((e,t)=>{var n=U("fs"),r=U("path"),i=Wk(),o=Xk(),a=Zk(),s=Yk(),c=nS(),l=Kk(),u=Qk(),p=Hk(),d=/^\/\*# sourceMappingURL=(\S+) \*\/$/;function m(e){var t,n,r,i=[],o=f(e.sourceTokens[0]);for(r=e.sourceTokens.length;e.index<r;e.index++)if((t=f(n=e.sourceTokens[e.index]))!=o&&(i=[],o=t),i.push(n),e.processedTokens.push(n),n[0]==c.COMMENT&&d.test(n[1]))return h(n[1],t,i,e);return e.callback(e.processedTokens)}function f(e){return(e[0]==c.AT_RULE||e[0]==c.COMMENT||e[0]==c.RAW?e[2][0]:e[1][0][2][0])[2]}function h(e,t,n,r){return g(e,r,function(e){return e&&(r.inputSourceMapTracker.track(t,e),b(n,r.inputSourceMapTracker)),r.index++,m(r)})}function g(e,t,n){var i,o,c,l=d.exec(e)[1];return u(l)?(o=_(l),n(o)):p(l)?y(l,t,function(e){var t;e?(t=JSON.parse(e),c=s(t,l),n(c)):n(null)}):(o=v(i=r.resolve(t.rebaseTo,l),t))?(c=a(o,i,t.rebaseTo),n(c)):n(null)}function _(e){var t=o(e),n=t[2]?t[2].split(/[=;]/)[2]:"us-ascii",r=t[3]?t[3].split(";")[1]:"utf8",i="utf8"==r?global.unescape(t[4]):t[4],a=Buffer.from(i,r);return a.charset=n,JSON.parse(a.toString())}function y(e,t,n){var r=i(e,!0,t.inline),o=!l(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null)):o?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null)):r?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,i){if(r)return t.warnings.push('Missing source map at "'+e+'" - '+r),n(null);n(i)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null))}function v(e,t){var r,o=i(e,!1,t.inline);return n.existsSync(e)&&n.statSync(e).isFile()?o?n.statSync(e).size?(r=n.readFileSync(e,"utf-8"),JSON.parse(r)):(t.warnings.push('Cannot fetch "'+e+'" as resource is empty.'),null):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),null):(t.warnings.push('Ignoring local source map at "'+e+'" as resource is missing.'),null)}function b(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)switch(n=e[r],n[0]){case c.AT_RULE:E(n,t);break;case c.AT_RULE_BLOCK:b(n[1],t),b(n[2],t);break;case c.AT_RULE_BLOCK_SCOPE:E(n,t);break;case c.NESTED_BLOCK:b(n[1],t),b(n[2],t);break;case c.NESTED_BLOCK_SCOPE:case c.COMMENT:E(n,t);break;case c.PROPERTY:b(n,t);break;case c.PROPERTY_BLOCK:b(n[1],t);break;case c.PROPERTY_NAME:case c.PROPERTY_VALUE:E(n,t);break;case c.RULE:b(n[1],t),b(n[2],t);break;case c.RULE_SCOPE:E(n,t)}return e}function E(e,t){var n,r,i=e[1],o=e[2],a=[];for(n=0,r=o.length;n<r;n++)a.push(t.originalPositionFor(o[n],i.length));e[2]=a}t.exports=function(e,t,n){var r={callback:n,fetch:t.options.fetch,index:0,inline:t.options.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,inputSourceMapTracker:t.inputSourceMapTracker,localOnly:t.localOnly,processedTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings};return t.options.sourceMap&&e.length>0?m(r):n(e)}}),eC=M((e,t)=>{var n=TS(),r=/^\(/,i=/\)$/,o=/^@import/i,a=/['"]\s{0,31}/,s=/\s{0,31}['"]/,c=/^url\(\s{0,31}/i,l=/\s{0,31}\)/i;t.exports=function(e){var t=n(e.replace(o,"").trim().replace(c,"(").replace(l,") ").replace(a,"").replace(s,"")," ");return[t[0].replace(r,"").replace(i,""),t.slice(1).join(" ")]}}),tC=M((e,t)=>{var n=U("fs"),r=U("path"),i=Wk(),o=Kk(),a=Hk();function s(e){var t,n,r,i,o,a={};for(r in e)for(i=0,o=(t=e[r]).sources.length;i<o;i++)n=t.sources[i],r=t.sourceContentFor(n,!0),a[n]=r;return a}function c(e){var t,n,r,i=Object.keys(e.uriToSource);for(r=i.length;e.index<r;e.index++){if(t=i[e.index],!(n=e.uriToSource[t]))return l(t,e);e.sourcesContent[t]=n}return e.callback()}function l(e,t){var n;return a(e)?function(e,t,n){var r=i(e,!0,t.inline),a=!o(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null)):a?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null)):r?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,i){r&&t.warnings.push('Missing original source at "'+e+'" - '+r),n(i)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null))}(e,t,function(n){return t.index++,t.sourcesContent[e]=n,c(t)}):(n=u(e,t),t.index++,t.sourcesContent[e]=n,c(t))}function u(e,t){var o=i(e,!1,t.inline),a=r.resolve(t.rebaseTo,e);if(!n.existsSync(a)||!n.statSync(a).isFile())return t.warnings.push('Ignoring local source map at "'+a+'" as resource is missing.'),null;if(!o)return t.warnings.push('Cannot fetch "'+a+'" as resource is not allowed.'),null;var s=n.readFileSync(a,"utf8");return 65279===s.charCodeAt(0)&&(s=s.substring(1)),s}t.exports=function(e,t){var n={callback:t,fetch:e.options.fetch,index:0,inline:e.options.inline,inlineRequest:e.options.inlineRequest,inlineTimeout:e.options.inlineTimeout,localOnly:e.localOnly,rebaseTo:e.options.rebaseTo,sourcesContent:e.sourcesContent,uriToSource:s(e.inputSourceMapTracker.all()),warnings:e.warnings};return e.options.sourceMap&&e.options.sourceMapInlineSources?c(n):t()}}),nC=M((e,t)=>{var n=/\\/g;t.exports=function(e){return e.replace(n,"/")}}),rC=M((e,t)=>{t.exports=function(e,t){return("@import "+e+" "+t).trim()}}),iC=M((e,t)=>{var n=U("path"),r=U("url"),i=Qk(),o=/^[^\w\d]*\/\//,a=/^["']/,s=/["']$/,c=/[()]/,l=/^url\(/i,u=/\)$/,p=/\s/,d="win32"==process.platform;function m(e,t){return!t||function(e){return n.isAbsolute(e)}(e)&&!f(t.toBase)||f(e)||function(e){return"#"==e[0]}(e)||function(e){return/^\w+:\w+/.test(e)}(e)||i(e)?e:f(t.toBase)?r.resolve(t.toBase,e):t.absolute?h(function(e,t){return n.resolve(n.join(t.fromBase||"",e)).replace(t.toBase,"")}(e,t)):h(function(e,t){return n.relative(t.toBase,n.join(t.fromBase||"",e))}(e,t))}function f(e){return/^[^:]+?:\/\//.test(e)||o.test(e)}function h(e){return d?e.replace(/\\/g,"/"):e}t.exports=function(e,t,n){var r=e.replace(l,"").replace(u,"").trim(),i=r.replace(a,"").replace(s,"").trim(),o="'"==r[0]||'"'==r[0]?r[0]:function(e){return e.indexOf("'")>-1?'"':e.indexOf('"')>-1||function(e){return p.test(e)}(e)||function(e){return c.test(e)}(e)?"'":""}(i);return n?m(i,t):"url("+o+m(i,t)+o+")"}}),oC=M((e,t)=>{var n=/^@import/i;t.exports=function(e){return n.test(e)}}),aC=M((e,t)=>{var n=eC(),r=rC(),i=iC(),o=nS(),a=oC(),s=/^\/\*# sourceMappingURL=(\S+) \*\/$/;function c(e,t,n){var r,i,a;for(i=0,a=e.length;i<a;i++)switch(r=e[i],r[0]){case o.AT_RULE:l(r,0,n);break;case o.AT_RULE_BLOCK:p(r[2],t,n);break;case o.COMMENT:u(r,n);break;case o.NESTED_BLOCK:c(r[2],t,n);break;case o.RULE:p(r[2],t,n)}return e}function l(e,t,o){if(a(e[1])){var s=n(e[1]),c=i(s[0],o),l=s[1];e[1]=r(c,l)}}function u(e,t){var n=s.exec(e[1]);n&&-1===n[1].indexOf("data:")&&(e[1]=e[1].replace(n[1],i(n[1],t,!0)))}function p(e,t,n){var r,o,a,s,c,l;for(a=0,s=e.length;a<s;a++)for(c=2,l=(r=e[a]).length;c<l;c++)o=r[c][1],t.isUrl(o)&&(r[c][1]=i(o,n))}t.exports=function(e,t,n,r){return t?c(e,n,r):function(e,t,n){var r,i,a;for(i=0,a=e.length;i<a;i++)(r=e[i])[0]===o.AT_RULE&&l(r,0,n);return e}(e,0,r)}}),sC=M((e,t)=>{var n=WT(),r=nS(),i=XT(),o="block",a="comment",s="double-quote",c="rule",l="single-quote",u=["@charset","@import"],p=["@-moz-document","@document","@-moz-keyframes","@-ms-keyframes","@-o-keyframes","@-webkit-keyframes","@keyframes","@media","@supports","@container","@layer"],d=/\/\* clean-css ignore:end \*\/$/,m=/^\/\* clean-css ignore:start \*\//,f=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"],h=["@footnote","@footnotes","@left","@page-float-bottom","@page-float-top","@right"],g=/^\[\s{0,31}\d+\s{0,31}\]$/,_=/([^}])\}*$/,y=/[\s(]/;function v(e,t,u,p){for(var d,m,f,h,g,y,k,C,O,R,D,P,F,I,N,L,M,B=[],U=B,$=[],z=[],G=u.level,j=[],V=[],q=[],H=!0,K=0,W=!1,X=!1,Z=!1,Y=!1,Q=!1,J=!1,ee=!1,te=u.position;te.index<e.length;te.index++){var ne=e[te.index];if(k=G==l||G==s,C=ne==n.SPACE||ne==n.TAB,O=ne==n.NEW_LINE_NIX,R=ne==n.NEW_LINE_NIX&&e[te.index-1]==n.CARRIAGE_RETURN,D=ne==n.CARRIAGE_RETURN&&e[te.index+1]&&e[te.index+1]!=n.NEW_LINE_NIX,P=!X&&G!=a&&!k&&ne==n.ASTERISK&&e[te.index-1]==n.FORWARD_SLASH,I=!W&&!k&&ne==n.FORWARD_SLASH&&e[te.index-1]==n.ASTERISK,F=G==a&&I,L=!C&&!D&&(ne>="A"&&ne<="Z"||ne>="a"&&ne<="z"||ne>="0"&&ne<="9"||"-"==ne),Y||=G!=a&&!J&&Z&&"-"===ne&&1===V.length,Z="-"===ne,K=Math.max(K,0),h=H?[te.line,te.column,te.source]:h,N)V.push(ne),H=!1;else if(L)V.push(ne),H=!1;else if((C||O&&!R)&&(k||G==a))V.push(ne),H=!1;else if(!(C||O&&!R)||!H)if(F||G!=a)if(P||F||!Q)if(P&&Y&&(G==o||G==c)&&V.length>1)V.push(ne),H=!1,j.push(G),G=a;else if(P&&(G==o||G==c)&&V.length>1)z.push(h),V.push(ne),q.push(V.slice(0,-2)),H=!1,V=V.slice(-2),h=[te.line,te.column-1,te.source],j.push(G),G=a;else if(P)j.push(G),G=a,V.push(ne),H=!1;else if(F&&Y)V.push(ne),G=j.pop();else if(F&&b(V))g=V.join("").trim()+ne,d=[r.COMMENT,g,[x(h,g,t)]],U.push(d),Q=!0,h=z.pop()||null,H=0===(V=q.pop()||[]).length;else if(F&&E(V))M=(g=V.join("")+ne).lastIndexOf(n.FORWARD_SLASH+n.ASTERISK),y=g.substring(0,M),d=[r.RAW,y,[x(h,y,t)]],U.push(d),y=g.substring(M),h=[te.line,te.column-y.length+1,te.source],d=[r.COMMENT,y,[x(h,y,t)]],U.push(d),Q=!1,G=j.pop(),h=z.pop()||null,H=0===(V=q.pop()||[]).length;else if(F)g=V.join("").trim()+ne,d=[r.COMMENT,g,[x(h,g,t)]],U.push(d),G=j.pop(),h=z.pop()||null,H=0===(V=q.pop()||[]).length;else if(I&&e[te.index+1]!=n.ASTERISK)t.warnings.push("Unexpected '*/' at "+i([te.line,te.column,te.source])+"."),V=[],H=!0;else if(ne!=n.SINGLE_QUOTE||k)if(ne==n.SINGLE_QUOTE&&G==l)G=j.pop(),V.push(ne),H=!1;else if(ne!=n.DOUBLE_QUOTE||k)if(ne==n.DOUBLE_QUOTE&&G==s)G=j.pop(),V.push(ne),H=!1;else if(ne!=n.CLOSE_ROUND_BRACKET&&ne!=n.OPEN_ROUND_BRACKET&&G!=a&&!k&&K>0)V.push(ne),H=!1;else if(ne!=n.OPEN_ROUND_BRACKET||k||G==a||J)if(ne!=n.CLOSE_ROUND_BRACKET||k||G==a||J)if(ne==n.SEMICOLON&&G==o&&V[0]==n.AT)g=V.join("").trim(),B.push([r.AT_RULE,g,[x(h,g,t)]]),V=[],H=!0;else if(ne==n.COMMA&&G==o&&m)g=V.join("").trim(),m[1].push([A(m[0]),g,[x(h,g,t,m[1].length)]]),V=[],H=!0;else if(ne==n.COMMA&&G==o&&w(V)==r.AT_RULE)V.push(ne),H=!1;else if(ne==n.COMMA&&G==o)m=[w(V),[],[]],g=V.join("").trim(),m[1].push([A(m[0]),g,[x(h,g,t,0)]]),V=[],H=!0;else if(ne==n.OPEN_CURLY_BRACKET&&G==o&&m&&m[0]==r.NESTED_BLOCK)g=V.join("").trim(),m[1].push([r.NESTED_BLOCK_SCOPE,g,[x(h,g,t)]]),B.push(m),j.push(G),te.column++,te.index++,V=[],H=!0,m[2]=v(e,t,u,!0),m=null;else if(ne==n.OPEN_CURLY_BRACKET&&G==o&&w(V)==r.NESTED_BLOCK)g=V.join("").trim(),m||=[r.NESTED_BLOCK,[],[]],m[1].push([r.NESTED_BLOCK_SCOPE,g,[x(h,g,t)]]),B.push(m),j.push(G),te.column++,te.index++,V=[],H=!0,Y=!1,m[2]=v(e,t,u,!0),m=null;else if(ne==n.OPEN_CURLY_BRACKET&&G==o)g=V.join("").trim(),m||=[w(V),[],[]],m[1].push([A(m[0]),g,[x(h,g,t,m[1].length)]]),U=m[2],B.push(m),j.push(G),G=c,V=[],H=!0;else if(ne==n.OPEN_CURLY_BRACKET&&G==c&&J)$.push(m),m=[r.PROPERTY_BLOCK,[]],f.push(m),U=m[1],j.push(G),G=c,J=!1;else if(ne==n.OPEN_CURLY_BRACKET&&G==c&&T(V))g=V.join("").trim(),$.push(m),(m=[r.AT_RULE_BLOCK,[],[]])[1].push([r.AT_RULE_BLOCK_SCOPE,g,[x(h,g,t)]]),U.push(m),U=m[2],j.push(G),G=c,V=[],H=!0;else if(ne!=n.COLON||G!=c||J)if(ne==n.SEMICOLON&&G==c&&f&&$.length>0&&!H&&V[0]==n.AT)g=V.join("").trim(),m[1].push([r.AT_RULE,g,[x(h,g,t)]]),V=[],H=!0;else if(ne==n.SEMICOLON&&G==c&&f&&!H)g=V.join("").trim(),f.push([r.PROPERTY_VALUE,g,[x(h,g,t)]]),f=null,J=!1,V=[],H=!0,Y=!1;else if(ne==n.SEMICOLON&&G==c&&f&&H&&Y&&!f[2])f.push([r.PROPERTY_VALUE," ",[x(h," ",t)]]),Y=!1,f=null,J=!1;else if(ne==n.SEMICOLON&&G==c&&f&&H)f=null,J=!1;else if(ne!=n.SEMICOLON||G!=c||H||V[0]!=n.AT){if(ne==n.SEMICOLON&&G==c&&ee)ee=!1,V=[],H=!0;else if(ne!=n.SEMICOLON||G!=c||!H)if(ne==n.CLOSE_CURLY_BRACKET&&G==c&&f&&J&&!H&&$.length>0)g=V.join(""),f.push([r.PROPERTY_VALUE,g,[x(h,g,t)]]),f=null,U=(m=$.pop())[2],G=j.pop(),J=!1,V=[],H=!0;else if(ne==n.CLOSE_CURLY_BRACKET&&G==c&&f&&!H&&V[0]==n.AT&&$.length>0)g=V.join(""),m[1].push([r.AT_RULE,g,[x(h,g,t)]]),f=null,U=(m=$.pop())[2],G=j.pop(),J=!1,V=[],H=!0;else if(ne==n.CLOSE_CURLY_BRACKET&&G==c&&f&&$.length>0)f=null,U=(m=$.pop())[2],G=j.pop(),J=!1;else if(ne==n.CLOSE_CURLY_BRACKET&&G==c&&f&&!H)g=V.join(""),f.push([r.PROPERTY_VALUE,g,[x(h,g,t)]]),f=null,m=$.pop(),U=B,G=j.pop(),J=!1,V=[],H=!0;else if(ne!=n.CLOSE_CURLY_BRACKET||G!=c||H||V[0]!=n.AT)if(ne==n.CLOSE_CURLY_BRACKET&&G==c&&j[j.length-1]==c)f=null,U=(m=$.pop())[2],G=j.pop(),J=!1,ee=!0,V=[],H=!0;else if(ne==n.CLOSE_CURLY_BRACKET&&G==c&&Y&&f&&!f[2])f.push([r.PROPERTY_VALUE," ",[x(h," ",t)]]),Y=!1,f=null,m=null,U=B,G=j.pop(),J=!1,Y=!1;else if(ne==n.CLOSE_CURLY_BRACKET&&G==c)f=null,m=null,U=B,G=j.pop(),J=!1,Y=!1;else if(ne==n.CLOSE_CURLY_BRACKET&&G==o&&!p&&te.index<=e.length-1)t.warnings.push("Unexpected '}' at "+i([te.line,te.column,te.source])+"."),V.push(ne),H=!1;else{if(ne==n.CLOSE_CURLY_BRACKET&&G==o)break;ne==n.OPEN_ROUND_BRACKET&&G==c&&J?(V.push(ne),H=!1,K++):ne==n.CLOSE_ROUND_BRACKET&&G==c&&J&&1==K?(V.push(ne),H=!1,g=V.join("").trim(),f.push([r.PROPERTY_VALUE,g,[x(h,g,t)]]),K--,V=[],H=!0,Y=!1):ne==n.CLOSE_ROUND_BRACKET&&G==c&&J?(V.push(ne),H=!1,Y=!1,K--):ne==n.FORWARD_SLASH&&e[te.index+1]!=n.ASTERISK&&G==c&&J&&!H?(g=V.join("").trim(),f.push([r.PROPERTY_VALUE,g,[x(h,g,t)]]),f.push([r.PROPERTY_VALUE,ne,[[te.line,te.column,te.source]]]),V=[],H=!0):ne==n.FORWARD_SLASH&&e[te.index+1]!=n.ASTERISK&&G==c&&J?(f.push([r.PROPERTY_VALUE,ne,[[te.line,te.column,te.source]]]),V=[],H=!0):ne==n.COMMA&&G==c&&J&&!H?(g=V.join("").trim(),f.push([r.PROPERTY_VALUE,g,[x(h,g,t)]]),f.push([r.PROPERTY_VALUE,ne,[[te.line,te.column,te.source]]]),V=[],H=!0):ne==n.COMMA&&G==c&&J?(f.push([r.PROPERTY_VALUE,ne,[[te.line,te.column,te.source]]]),V=[],H=!0):ne==n.CLOSE_SQUARE_BRACKET&&f&&f.length>1&&!H&&S(V)?(V.push(ne),g=V.join("").trim(),f[f.length-1][1]+=g,V=[],H=!0):(C||O&&!R)&&G==c&&J&&f&&!H||R&&G==c&&J&&f&&V.length>1?(g=V.join("").trim(),f.push([r.PROPERTY_VALUE,g,[x(h,g,t)]]),V=[],H=!0):R&&G==c&&J?(V=[],H=!0):R&&1==V.length?(V.pop(),H=0===V.length):(!H||!C&&!O&&!R&&!D)&&(V.push(ne),H=!1)}else f=null,m=null,g=V.join("").trim(),U.push([r.AT_RULE,g,[x(h,g,t)]]),U=B,G=j.pop(),J=!1,V=[],H=!0}else g=V.join(""),U.push([r.AT_RULE,g,[x(h,g,t)]]),J=!1,V=[],H=!0;else g=V.join("").trim(),f=[r.PROPERTY,[r.PROPERTY_NAME,g,[x(h,g,t)]]],U.push(f),J=!0,V=[],H=!0;else V.push(ne),H=!1,K--;else V.push(ne),H=!1,K++;else j.push(G),G=s,V.push(ne),H=!1;else j.push(G),G=l,V.push(ne),H=!1;else V.push(ne),H=!1;else V.push(ne),H=!1;N=!N&&ne==n.BACK_SLASH,W=P,X=F,te.line=R||O||D?te.line+1:te.line,te.column=R||O||D?0:te.column+1}return J&&t.warnings.push("Missing '}' at "+i([te.line,te.column,te.source])+"."),J&&V.length>0&&(g=V.join("").trimRight().replace(_,"$1").trimRight(),f.push([r.PROPERTY_VALUE,g,[x(h,g,t)]]),V=[]),V.length>0&&t.warnings.push("Invalid character(s) '"+V.join("")+"' at "+i(h)+". Ignoring."),B}function b(e){return m.test(e.join("")+n.FORWARD_SLASH)}function E(e){return d.test(e.join("")+n.FORWARD_SLASH)}function x(e,t,n,r){var i=e[2];return n.inputSourceMapTracker.isTracking(i)?n.inputSourceMapTracker.originalPositionFor(e,t.length,r):e}function w(e){var t=e[0]==n.AT||e[0]==n.UNDERSCORE,i=e.join("").split(y)[0];return t&&p.indexOf(i)>-1?r.NESTED_BLOCK:t&&u.indexOf(i)>-1?r.AT_RULE:t?r.AT_RULE_BLOCK:r.RULE}function A(e){return e==r.RULE?r.RULE_SCOPE:e==r.NESTED_BLOCK?r.NESTED_BLOCK_SCOPE:e==r.AT_RULE_BLOCK?r.AT_RULE_BLOCK_SCOPE:void 0}function T(e){var t=e.join("").trim();return f.indexOf(t)>-1||h.indexOf(t)>-1}function S(e){return g.test(e.join("")+n.CLOSE_SQUARE_BRACKET)}t.exports=function(e,t){return v(e,t,{level:o,position:{source:t.source||void 0,line:1,column:0,index:0}},!1)}}),cC=M((e,t)=>{var n=U("fs"),r=U("path"),i=Jk(),o=eC(),a=Wk(),s=tC(),c=nC(),l=aC(),u=Zk(),p=Yk(),d=rC(),m=sC(),f=nS(),h=WT(),g=Kk(),_=oC(),y=Hk();function v(e,t,n){return t.source=void 0,t.sourcesContent[void 0]=e,t.stats.originalSize+=e.length,A(e,t,{inline:t.options.inline},n)}function b(e,t,n){var r,i,o;for(r in e)o=e[r],i=E(r),n.push(w(i)),t.sourcesContent[i]=o.styles,o.sourceMap&&x(o.sourceMap,i,t);return n}function E(e){var t,n,i=r.resolve("");return y(e)?e:(t=r.isAbsolute(e)?e:r.resolve(e),n=r.relative(i,t),c(n))}function x(e,t,n){var r="string"==typeof e?JSON.parse(e):e,i=y(t)?p(r,t):u(r,t||"uri:unknown",n.options.rebaseTo);n.inputSourceMapTracker.track(t,i)}function w(e){return d("url("+e+")","")+h.SEMICOLON}function A(e,t,n,i){var o,a={};return t.source?y(t.source)?(a.fromBase=t.source,a.toBase=t.source):r.isAbsolute(t.source)?(a.fromBase=r.dirname(t.source),a.toBase=t.options.rebaseTo):(a.fromBase=r.dirname(r.resolve(t.source)),a.toBase=t.options.rebaseTo):(a.fromBase=r.resolve(""),a.toBase=t.options.rebaseTo),o=m(e,t),o=l(o,t.options.rebase,t.validator,a),function(e){return!(1==e.length&&"none"==e[0])}(n.inline)?function(e,t,n,r){return T({afterContent:!1,callback:r,errors:t.errors,externalContext:t,fetch:t.options.fetch,inlinedStylesheets:n.inlinedStylesheets||t.inlinedStylesheets,inline:n.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,isRemote:n.isRemote||!1,localOnly:t.localOnly,outputTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings})}(o,t,n,i):i(o)}function T(e){var t,n,r;for(n=0,r=e.sourceTokens.length;n<r;n++){if((t=e.sourceTokens[n])[0]==f.AT_RULE&&_(t[1]))return e.sourceTokens.splice(0,n),S(t,e);t[0]==f.AT_RULE||t[0]==f.COMMENT?e.outputTokens.push(t):(e.outputTokens.push(t),e.afterContent=!0)}return e.sourceTokens=[],e.callback(e.outputTokens)}function S(e,t){var n=o(e[1]),r=n[0],i=n[1],a=e[2];return y(r)?k(r,i,a,t):C(r,i,a,t)}function k(e,t,n,r){var i=a(e,!0,r.inline),o=e,s=e in r.externalContext.sourcesContent,c=!g(e);if(r.inlinedStylesheets.indexOf(e)>-1)return r.warnings.push('Ignoring remote @import of "'+e+'" as it has already been imported.'),r.sourceTokens=r.sourceTokens.slice(1),T(r);if(r.localOnly&&r.afterContent)return r.warnings.push('Ignoring remote @import of "'+e+'" as no callback given and after other content.'),r.sourceTokens=r.sourceTokens.slice(1),T(r);if(c)return r.warnings.push('Skipping remote @import of "'+e+'" as no protocol given.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),T(r);if(r.localOnly&&!s)return r.warnings.push('Skipping remote @import of "'+e+'" as no callback given.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),T(r);if(!i&&r.afterContent)return r.warnings.push('Ignoring remote @import of "'+e+'" as resource is not allowed and after other content.'),r.sourceTokens=r.sourceTokens.slice(1),T(r);if(!i)return r.warnings.push('Skipping remote @import of "'+e+'" as resource is not allowed.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),T(r);function l(i,a){return i?(r.errors.push('Broken @import declaration of "'+e+'" - '+i),process.nextTick(function(){r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),T(r)})):(r.inline=r.externalContext.options.inline,r.isRemote=!0,r.externalContext.source=o,r.externalContext.sourcesContent[e]=a,r.externalContext.stats.originalSize+=a.length,A(a,r.externalContext,r,function(e){return e=O(e,t,n),r.outputTokens=r.outputTokens.concat(e),r.sourceTokens=r.sourceTokens.slice(1),T(r)}))}return r.inlinedStylesheets.push(e),s?l(null,r.externalContext.sourcesContent[e]):r.fetch(e,r.inlineRequest,r.inlineTimeout,l)}function C(e,t,i,o){var s,l=e.replace("file://",""),u=r.resolve(""),p=r.isAbsolute(l)?r.resolve(u,"/"==l[0]?l.substring(1):l):r.resolve(o.rebaseTo,l),d=r.relative(u,p),m=a(l,!1,o.inline),f=c(d),h=f in o.externalContext.sourcesContent;if(o.inlinedStylesheets.indexOf(p)>-1)o.warnings.push('Ignoring local @import of "'+l+'" as it has already been imported.');else if(!m||h||n.existsSync(p)&&n.statSync(p).isFile())if(!m&&o.afterContent)o.warnings.push('Ignoring local @import of "'+l+'" as resource is not allowed and after other content.');else if(o.afterContent)o.warnings.push('Ignoring local @import of "'+l+'" as after other content.');else{if(m)return 65279===(s=h?o.externalContext.sourcesContent[f]:n.readFileSync(p,"utf-8")).charCodeAt(0)&&(s=s.substring(1)),o.inlinedStylesheets.push(p),o.inline=o.externalContext.options.inline,o.externalContext.source=f,o.externalContext.sourcesContent[f]=s,o.externalContext.stats.originalSize+=s.length,A(s,o.externalContext,o,function(e){return e=O(e,t,i),o.outputTokens=o.outputTokens.concat(e),o.sourceTokens=o.sourceTokens.slice(1),T(o)});o.warnings.push('Skipping local @import of "'+l+'" as resource is not allowed.'),o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1))}else o.errors.push('Ignoring local @import of "'+l+'" as resource is missing.');return o.sourceTokens=o.sourceTokens.slice(1),T(o)}function O(e,t,n){return t?[[f.NESTED_BLOCK,[[f.NESTED_BLOCK_SCOPE,"@media "+t,n]],e]]:e}t.exports=function(e,t,n){return function(e,t,n){return"string"==typeof e?v(e,t,n):Buffer.isBuffer(e)?v(e.toString(),t,n):Array.isArray(e)?function(e,t,n){return A(e.reduce(function(e,n){return"string"==typeof n?function(e,t){return t.push(w(E(e))),t}(n,e):b(n,t,e)},[]).join(""),t,{inline:["all"]},n)}(e,t,n):"object"==typeof e?function(e,t,n){return A(b(e,t,[]).join(""),t,{inline:["all"]},n)}(e,t,n):void 0}(e,t,function(e){return i(e,t,function(){return s(t,function(){return n(e)})})})}}),lC=M((e,t)=>{var n=zS().all;function r(e,t){var n="string"==typeof t?t:t[1];(0,e.wrap)(e,n),o(e,n),e.output.push(n)}function i(e,t){e.column+t.length>e.format.wrapAt&&(o(e,e.format.breakWith),e.output.push(e.format.breakWith))}function o(e,t){var n=t.split("\n");e.line+=n.length-1,e.column=n.length>1?0:e.column+n.pop().length}t.exports=function(e,t){var o={column:0,format:t.options.format,indentBy:0,indentWith:"",line:1,output:[],spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:r,wrap:t.options.format.wrapAt?i:function(){}};return n(o,e),{styles:o.output.join("")}}}),uC=M((e,t)=>{var n=Vk().SourceMapGenerator,r=zS().all,i=Hk(),o="win32"==process.platform,a=/\//g;function s(e,t){var n="string"==typeof t,r=n?t:t[1],i=n?null:t[2];(0,e.wrap)(e,r),l(e,r,i),e.output.push(r)}function c(e,t){e.column+t.length>e.format.wrapAt&&(l(e,e.format.breakWith,!1),e.output.push(e.format.breakWith))}function l(e,t,n){var r=t.split("\n");n&&function(e,t){for(var n=0,r=t.length;n<r;n++)u(e,t[n])}(e,n),e.line+=r.length-1,e.column=r.length>1?0:e.column+r.pop().length}function u(e,t){var n=t[0],r=t[1],s=t[2],c=s,l=c||"$stdin";o&&c&&!i(c)&&(l=c.replace(a,"\\")),e.outputMap.addMapping({generated:{line:e.line,column:e.column},source:l,original:{line:n,column:r}}),e.inlineSources&&s in e.sourcesContent&&e.outputMap.setSourceContent(l,e.sourcesContent[s])}t.exports=function(e,t){var i={column:0,format:t.options.format,indentBy:0,indentWith:"",inlineSources:t.options.sourceMapInlineSources,line:1,output:[],outputMap:new n,sourcesContent:t.sourcesContent,spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:s,wrap:t.options.format.wrapAt?c:function(){}};return r(i,e),{sourceMap:i.outputMap,styles:i.output.join("")}}}),pC=M((e,t)=>{var n=jT(),r=jS(),i=Ek(),o=xk(),a=wk(),s=kk(),c=KT().formatFrom,l=Ck(),u=Ok(),p=Rk(),d=dS().OptimizationLevel,m=dS().optimizationLevelFrom,f=Dk(),h=Pk(),g=Fk(),_=qk(),y=cC(),v=lC(),b=uC(),E=t.exports=function(e){e||={},this.options={batch:!!e.batch,compatibility:a(e.compatibility),explicitRebaseTo:"rebaseTo"in e,fetch:s(e.fetch),format:c(e.format),inline:l(e.inline),inlineRequest:u(e.inlineRequest),inlineTimeout:p(e.inlineTimeout),level:m(e.level),plugins:f(e.plugins),rebase:h(e.rebase,e.rebaseTo),rebaseTo:g(e.rebaseTo),returnPromise:!!e.returnPromise,sourceMap:!!e.sourceMap,sourceMapInlineSources:!!e.sourceMapInlineSources}};function x(e,t,n,r){return t.batch&&Array.isArray(e)?function(e,t,n,r){var i,o,a,s="function"==typeof r?r:"function"==typeof n?n:null,c=[],l={};function u(e,t){l=Object.assign(l,t),null!==e&&(c=c.concat(e))}for(o=0,a=e.length;o<a;o++)"object"==typeof e[o]?w(e[o],t,u):(i=e[o],l[i]=A([i],t),c=c.concat(l[i].errors));return s?s(c.length>0?c:null,l):l}(e,t,n,r):t.batch&&"object"==typeof e?w(e,t,n,r):A(e,t,n,r)}function w(e,t,n,r){var i,o,a="function"==typeof r?r:"function"==typeof n?n:null,s=[],c={};for(i in e)o=e[i],c[i]=A(o.styles,t,o.sourceMap),s=s.concat(c[i].errors);return a?a(s.length>0?s:null,c):c}function A(e,t,n,r){var i="function"==typeof n?null:n,a="function"==typeof r?r:"function"==typeof n?n:null,s={stats:{efficiency:0,minifiedSize:0,originalSize:0,startedAt:Date.now(),timeSpent:0},cache:{specificity:{}},errors:[],inlinedStylesheets:[],inputSourceMapTracker:_(),localOnly:!a,options:t,source:null,sourcesContent:{},validator:o(t.compatibility),warnings:[]};return i&&s.inputSourceMapTracker.track(void 0,i),t.rebase&&!t.explicitRebaseTo&&s.warnings.push("You have set `rebase: true` without giving `rebaseTo` option, which, in this case, defaults to the current working directory. You are then warned this can lead to unexpected URL rebasing (aka here be dragons)! If you are OK with the clean-css output, then you can get rid of this warning by giving clean-css a `rebaseTo: process.cwd()` option."),function(e){return e?function(e){return e()}:process.nextTick}(s.localOnly)(function(){return y(e,s,function(e){var t=function(e,t){return e.stats=function(e,t){var n=Date.now()-t.stats.startedAt;return delete t.stats.startedAt,t.stats.timeSpent=n,t.stats.efficiency=1-e.length/t.stats.originalSize,t.stats.minifiedSize=e.length,t.stats}(e.styles,t),e.errors=t.errors,e.inlinedStylesheets=t.inlinedStylesheets,e.warnings=t.warnings,e}((s.options.sourceMap?b:v)(T(e,s),s),s);return a?a(s.errors.length>0?s.errors:null,t):t})})}function T(e,t){var o=n(e,t);return o=d.One in t.options.level?r(e,t):e,d.Two in t.options.level?i(e,t,!0):o}E.process=function(e,t){var n=t.to;return delete t.to,new E(Object.assign({returnPromise:!0,rebaseTo:n},t)).minify(e).then(function(e){return{css:e.styles}})},E.prototype.minify=function(e,t,n){var r=this.options;return r.returnPromise?new Promise(function(n,i){x(e,r,t,function(e,t){return e?i(e):n(t)})}):x(e,r,t,n)}}),dC=M((e,t)=>{t.exports=pC()}),mC=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),fC=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));const hC=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),gC=String.fromCodePoint??function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var _C,yC,vC,bC;function EC(e){return e>=_C.ZERO&&e<=_C.NINE}function xC(e){return e>=_C.UPPER_A&&e<=_C.UPPER_F||e>=_C.LOWER_A&&e<=_C.LOWER_F}function wC(e){return e===_C.EQUALS||function(e){return e>=_C.UPPER_A&&e<=_C.UPPER_Z||e>=_C.LOWER_A&&e<=_C.LOWER_Z||EC(e)}(e)}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(_C||={}),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(yC||={}),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(vC||={}),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(bC||={});var AC=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=vC.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=bC.Strict}startEntity(e){this.decodeMode=e,this.state=vC.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case vC.EntityStart:return e.charCodeAt(t)===_C.NUM?(this.state=vC.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=vC.NamedEntity,this.stateNamedEntity(e,t));case vC.NumericStart:return this.stateNumericStart(e,t);case vC.NumericDecimal:return this.stateNumericDecimal(e,t);case vC.NumericHex:return this.stateNumericHex(e,t);case vC.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===_C.LOWER_X?(this.state=vC.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=vC.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!EC(r)&&!xC(r))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!EC(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null==(n=this.errors)||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===_C.SEMI)this.consumed+=1;else if(this.decodeMode===bC.Strict)return 0;return this.emitCodePoint(function(e){return e>=55296&&e<=57343||e>1114111?65533:hC.get(e)??e}(this.result),this.consumed),this.errors&&(e!==_C.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&yC.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let o=e.charCodeAt(t);if(this.treeIndex=SC(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===bC.Attribute&&(0===i||wC(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&yC.VALUE_LENGTH)>>14,0!==i){if(o===_C.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==bC.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&yC.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~yC.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case vC.NamedEntity:return 0===this.result||this.decodeMode===bC.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case vC.NumericDecimal:return this.emitNumericEntity(0,2);case vC.NumericHex:return this.emitNumericEntity(0,3);case vC.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case vC.EntityStart:return 0}}};function TC(e){let t="",n=new AC(e,e=>t+=gC(e));return function(e,r){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);let a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}let a=t+e.slice(i);return t="",a}}function SC(e,t,n,r){let i=(t&yC.BRANCH_LENGTH)>>7,o=t&yC.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){let t=r-o;return t<0||t>=i?-1:e[n+t]-1}let a=n,s=a+i-1;for(;a<=s;){let t=a+s>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+i];s=t-1}}return-1}const kC=TC(mC);TC(fC);var CC=M((e,t)=>{t.exports={ABSOLUTE:"absolute",PATH_RELATIVE:"pathRelative",ROOT_RELATIVE:"rootRelative",SHORTEST:"shortest"}}),OC=M((e,t)=>{var n=CC();function r(e,t){return!e.auth||t.removeAuth||!e.extra.relation.maximumHost&&t.output!==n.ABSOLUTE?"":e.auth+"@"}function i(e,t){return e.host.full&&(e.extra.relation.maximumAuth||t.output===n.ABSOLUTE)?e.host.full:""}function o(e,t){var r="",i=e.path.absolute.string,o=e.path.relative.string,a=l(e,t);if(e.extra.relation.maximumHost||t.output===n.ABSOLUTE||t.output===n.ROOT_RELATIVE)r=i;else if(o.length<=i.length&&t.output===n.SHORTEST||t.output===n.PATH_RELATIVE){if(""===(r=o)){var u=c(e,t)&&!!s(e,t);(e.extra.relation.maximumPath&&!a||e.extra.relation.overridesQuery&&!a&&!u)&&(r="./")}}else r=i;return"/"===r&&!a&&t.removeRootTrailingSlash&&(!e.extra.relation.minimumPort||t.output===n.ABSOLUTE)&&(r=""),r}function a(e,t){var r="";return(e.extra.relation.maximumHost||t.output===n.ABSOLUTE)&&(e.extra.relation.minimumScheme&&t.schemeRelative&&t.output!==n.ABSOLUTE?r+="//":r+=e.scheme+"://"),r}function s(e,t){var n=t.removeEmptyQueries&&e.extra.relation.minimumPort;return e.query.string[n?"stripped":"full"]}function c(e,t){return!e.extra.relation.minimumQuery||t.output===n.ABSOLUTE||t.output===n.ROOT_RELATIVE}function l(e,t){var r=t.removeDirectoryIndexes&&e.extra.resourceIsIndex,i=e.extra.relation.minimumResource&&t.output!==n.ABSOLUTE&&t.output!==n.ROOT_RELATIVE;return!!e.resource&&!i&&!r}t.exports=function(e,t){var n="";return n+=a(e,t),n+=r(e,t),n+=i(e,t),n+=function(e){return e.port&&!e.extra.portIsDefault&&e.extra.relation.maximumHost?":"+e.port:""}(e),n+=o(e,t),n+=function(e,t){return l(e,t)?e.resource:""}(e,t),n+=function(e,t){return c(e,t)?s(e,t):""}(e,t),n+=function(e){return e.hash?e.hash:""}(e),n}}),RC=M((e,t)=>{t.exports={clone:function e(t){if(t instanceof Object){var n=t instanceof Array?[]:{};for(var r in t)t.hasOwnProperty(r)&&(n[r]=e(t[r]));return n}return t},isPlainObject:function(e){return!!e&&"object"==typeof e&&e.constructor===Object},shallowMerge:function(e,t){if(e instanceof Object&&t instanceof Object)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}}}),DC=M((e,t)=>{var n=RC();function r(e,t){return t instanceof Object&&e instanceof Object?t instanceof Array&&e instanceof Array?t.concat(e):n.shallowMerge(e,t):e}t.exports=function(e,t){if(n.isPlainObject(e)){var i={};for(var o in t)t.hasOwnProperty(o)&&(void 0===e[o]?i[o]=t[o]:i[o]=r(e[o],t[o]));return i}return t}}),PC=M((e,t)=>{t.exports=function(e){var t=!(e.scheme||e.auth||e.host.full||e.port),n=t&&!e.path.absolute.string,r=n&&!e.resource,i=r&&!e.query.string.full.length,o=i&&!e.hash;e.extra.hrefInfo.minimumPathOnly=t,e.extra.hrefInfo.minimumResourceOnly=n,e.extra.hrefInfo.minimumQueryOnly=r,e.extra.hrefInfo.minimumHashOnly=i,e.extra.hrefInfo.empty=o}}),FC=M((e,t)=>{t.exports=function(e,t){if(t.ignore_www){var n=e.host.full;if(n){var r=n;0===n.indexOf("www.")&&(r=n.substr(4)),e.host.stripped=r}}}}),IC=M((e,t)=>{function n(e){if("/"!==e){var t=[];return e.split("/").forEach(function(e){""!==e&&t.push(e)}),t}return[]}t.exports=function(e,t){var r=e.path.absolute.string;if(r){var i=r.lastIndexOf("/");if(i>-1){if(++i<r.length){var o=r.substr(i);"."!==o&&".."!==o?(e.resource=o,r=r.substr(0,i)):r+="/"}e.path.absolute.string=r,e.path.absolute.array=n(r)}else"."===r||".."===r?(r+="/",e.path.absolute.string=r,e.path.absolute.array=n(r)):(e.resource=r,e.path.absolute.string=null);e.extra.resourceIsIndex=function(e,t){var n=!1;return t.directoryIndexes.every(function(t){return t!==e||(n=!0,!1)}),n}(e.resource,t)}}}),NC=M((e,t)=>{t.exports=function(e,t){var n=-1;for(var r in t.defaultPorts)if(r===e.scheme&&t.defaultPorts.hasOwnProperty(r)){n=t.defaultPorts[r];break}n>-1&&(n=n.toString(),null===e.port&&(e.port=n),e.extra.portIsDefault=e.port===n)}}),LC=M((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e,t){var r=0,i="";for(var o in e)if(""!==o&&!0===n.call(e,o)){var a=e[o];(""!==a||!t)&&(i+=1===++r?"?":"&",o=encodeURIComponent(o),i+=""===a?o:o+"="+encodeURIComponent(a).replace(/%20/g,"+"))}return i}t.exports=function(e,t){e.query.string.full=r(e.query.object,!1),t.removeEmptyQueries&&(e.query.string.stripped=r(e.query.object,!0))}}),MC=M((e,t)=>{var n=U("url").parse;t.exports=function(e,t){return function(e,t){var n=!0;return t.rejectedSchemes.every(function(t){return n=0!==e.indexOf(t+":")}),n}(e,t)?function(e){var t=e.protocol;return t&&t.indexOf(":")===t.length-1&&(t=t.substr(0,t.length-1)),e.host={full:e.hostname,stripped:null},e.path={absolute:{array:null,string:e.pathname},relative:{array:null,string:null}},e.query={object:e.query,string:{full:null,stripped:null}},e.extra={hrefInfo:{minimumPathOnly:null,minimumResourceOnly:null,minimumQueryOnly:null,minimumHashOnly:null,empty:null,separatorOnlyQuery:"?"===e.search},portIsDefault:null,relation:{maximumScheme:null,maximumAuth:null,maximumHost:null,maximumPort:null,maximumPath:null,maximumResource:null,maximumQuery:null,maximumHash:null,minimumScheme:null,minimumAuth:null,minimumHost:null,minimumPort:null,minimumPath:null,minimumResource:null,minimumQuery:null,minimumHash:null,overridesQuery:null},resourceIsIndex:null,slashes:e.slashes},e.resource=null,e.scheme=t,delete e.hostname,delete e.pathname,delete e.protocol,delete e.search,delete e.slashes,e}(n(e,!0,t.slashesDenoteHost)):{href:e,valid:!1}}}),BC=M((e,t)=>{t.exports={join:function(e){return e.length>0?e.join("/")+"/":""},resolveDotSegments:function(e){var t=[];return e.forEach(function(e){".."===e?t.length>0&&t.splice(t.length-1,1):"."!==e&&t.push(e)}),t}}}),UC=M((e,t)=>{var n=PC(),r=FC(),i=IC(),o=NC(),a=LC(),s=MC(),c=BC();function l(e,t){var c=s(e,t);return!1===c.valid||(r(c,t),o(c,t),i(c,t),a(c,t),n(c)),c}t.exports={from:function(e,t,n){if(e){var r=l(e,t),i=c.resolveDotSegments(r.path.absolute.array);return r.path.absolute.array=i,r.path.absolute.string="/"+c.join(i),r}return n},to:l}}),$C=M((e,t)=>{t.exports={pathOn:function(e,t,n){var r=e.extra.hrefInfo.minimumQueryOnly,i=e.extra.hrefInfo.minimumHashOnly,o=e.extra.hrefInfo.empty,a=e.extra.relation.minimumPort,s=e.extra.relation.minimumScheme,c=a&&e.path.absolute.string===t.path.absolute.string,l=e.resource===t.resource||!e.resource&&t.extra.resourceIsIndex||n.removeDirectoryIndexes&&e.extra.resourceIsIndex&&!t.resource,u=c&&(l||r||i||o),p=n.removeEmptyQueries?"stripped":"full",d=e.query.string[p],m=t.query.string[p],f=u&&!!d&&d===m||(i||o)&&!e.extra.hrefInfo.separatorOnlyQuery,h=f&&e.hash===t.hash;e.extra.relation.minimumPath=c,e.extra.relation.minimumResource=u,e.extra.relation.minimumQuery=f,e.extra.relation.minimumHash=h,e.extra.relation.maximumPort=!s||s&&!c,e.extra.relation.maximumPath=!s||s&&!u,e.extra.relation.maximumResource=!s||s&&!f,e.extra.relation.maximumQuery=!s||s&&!h,e.extra.relation.maximumHash=!s||s&&!h,e.extra.relation.overridesQuery=c&&e.extra.relation.maximumResource&&!f&&!!m},upToPath:function(e,t,n){var r=e.extra.hrefInfo.minimumPathOnly,i=e.scheme===t.scheme||!e.scheme,o=i&&(e.auth===t.auth||n.removeAuth||r),a=n.ignore_www?"stripped":"full",s=o&&(e.host[a]===t.host[a]||r),c=s&&(e.port===t.port||r);e.extra.relation.minimumScheme=i,e.extra.relation.minimumAuth=o,e.extra.relation.minimumHost=s,e.extra.relation.minimumPort=c,e.extra.relation.maximumScheme=!i||i&&!o,e.extra.relation.maximumAuth=!i||i&&!s,e.extra.relation.maximumHost=!i||i&&!c}}}),zC=M((e,t)=>{var n=$C(),r=RC(),i=BC();function o(e,t){if(e.extra.relation.maximumHost||!e.extra.hrefInfo.minimumResourceOnly){var n=e.path.absolute.array,o="/";n?(e.extra.hrefInfo.minimumPathOnly&&0!==e.path.absolute.string.indexOf("/")&&(n=t.path.absolute.array.concat(n)),n=i.resolveDotSegments(n),o+=i.join(n)):n=[],e.path.absolute.array=n,e.path.absolute.string=o}else e.path=r.clone(t.path)}t.exports=function(e,t,i){n.upToPath(e,t,i),e.extra.relation.minimumScheme&&(e.scheme=t.scheme),e.extra.relation.minimumAuth&&(e.auth=t.auth),e.extra.relation.minimumHost&&(e.host=r.clone(t.host)),e.extra.relation.minimumPort&&function(e,t){e.port=t.port,e.extra.portIsDefault=t.extra.portIsDefault}(e,t),e.extra.relation.minimumScheme&&o(e,t),n.pathOn(e,t,i),e.extra.relation.minimumResource&&function(e,t){e.resource=t.resource,e.extra.resourceIsIndex=t.extra.resourceIsIndex}(e,t),e.extra.relation.minimumQuery&&(e.query=r.clone(t.query)),e.extra.relation.minimumHash&&(e.hash=t.hash)}}),GC=M((e,t)=>{var n=BC();t.exports=function(e,t,r){if(e.extra.relation.minimumScheme){var i=function(e,t){var n=[],r=!0,i=-1;return t.forEach(function(t,o){r&&(e[o]===t?i=o:r=!1),r||n.push("..")}),e.forEach(function(e,t){t>i&&n.push(e)}),n}(e.path.absolute.array,t.path.absolute.array);e.path.relative.array=i,e.path.relative.string=n.join(i)}}}),jC=M((e,t)=>{var n=zC(),r=GC();t.exports=function(e,t,i){return n(t,e,i),r(t,e,i),t}}),VC=B(M((e,t)=>{var n=CC(),r=OC(),i=DC(),o=RC(),a=UC(),s=jC();function c(e,t){this.options=i(t,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:["index.html"],ignore_www:!1,output:c.SHORTEST,rejectedSchemes:["data","javascript","mailto"],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=a.from(e,this.options,null)}c.prototype.relate=function(e,t,n){if(o.isPlainObject(t)?(n=t,t=e,e=null):t||(t=e,e=null),n=i(n,this.options),e||=n.site,!(e=a.from(e,n,this.from))||!e.href)throw Error("from value not defined.");if(e.extra.hrefInfo.minimumPathOnly)throw Error("from value supplied is not absolute: "+e.href);return!1===(t=a.to(t,n)).valid?t.href:(t=s(e,t,n),t=r(t,n))},c.relate=function(e,t,n){return(new c).relate(e,t,n)},o.shallowMerge(c,n),t.exports=c})(),1),qC=B(dC(),1);async function HC(e,t,n){let r=[];e.replace(t,(e,...t)=>{let i=n(e,...t);r.push(i)});let i=await Promise.all(r);return e.replace(t,()=>i.shift())}var KC=class extends Set{has(e){return super.has(e.toLowerCase())}};const WC=/([^\s"'<>/=]+)/,XC=[/=/],ZC=['"([^"]*)"+',"'([^']*)'+","([^ \\t\\n\\f\\r\"'`=<>]+)"],YC="((?:[A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u0401-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u0559\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A3_][A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u0401-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u0559\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A30-9\\u0660-\\u0669\\u06F0-\\u06F9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE7-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\.\\-_\\u0300-\\u0345\\u0360\\u0361\\u0483-\\u0486\\u0591-\\u05A1\\u05A3-\\u05B9\\u05BB-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u064B-\\u0652\\u0670\\u06D6-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0901-\\u0903\\u093C\\u093E-\\u094D\\u0951-\\u0954\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A02\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A70\\u0A71\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B43\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B82\\u0B83\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C01-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C82\\u0C83\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D43\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86-\\u0F8B\\u0F90-\\u0F95\\u0F97\\u0F99-\\u0FAD\\u0FB1-\\u0FB7\\u0FB9\\u20D0-\\u20DC\\u20E1\\u302A-\\u302F\\u3099\\u309A\\xB7\\u02D0\\u02D1\\u0387\\u0640\\u0E46\\u0EC6\\u3005\\u3031-\\u3035\\u309D\\u309E\\u30FC-\\u30FE]*\\:)?[A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u0401-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u0559\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A3_][A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u0401-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u0559\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A30-9\\u0660-\\u0669\\u06F0-\\u06F9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE7-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\.\\-_\\u0300-\\u0345\\u0360\\u0361\\u0483-\\u0486\\u0591-\\u05A1\\u05A3-\\u05B9\\u05BB-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u064B-\\u0652\\u0670\\u06D6-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0901-\\u0903\\u093C\\u093E-\\u094D\\u0951-\\u0954\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A02\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A70\\u0A71\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B43\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B82\\u0B83\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C01-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C82\\u0C83\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D43\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86-\\u0F8B\\u0F90-\\u0F95\\u0F97\\u0F99-\\u0FAD\\u0FB1-\\u0FB7\\u0FB9\\u20D0-\\u20DC\\u20E1\\u302A-\\u302F\\u3099\\u309A\\xB7\\u02D0\\u02D1\\u0387\\u0640\\u0E46\\u0EC6\\u3005\\u3031-\\u3035\\u309D\\u309E\\u30FC-\\u30FE]*)",QC=RegExp("^<"+YC),JC=/^\s*(\/?)>/,eO=RegExp("^<\\/"+YC+"[^>]*>"),tO=/^<!DOCTYPE\s?[^>]+>/i;let nO=!1;"x".replace(/x(.)?/g,function(e,t){nO=""===t});const rO=new KC(["area","base","basefont","br","col","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),iO=new KC("a.abbr.acronym.applet.b.basefont.bdo.big.br.button.cite.code.del.dfn.em.font.i.iframe.img.input.ins.kbd.label.map.noscript.object.q.s.samp.script.select.small.span.strike.strong.sub.sup.svg.textarea.tt.u.var".split(".")),oO=new KC(["colgroup","dd","dt","li","option","p","td","tfoot","th","thead","tr","source"]),aO=new KC(["checked","compact","declare","defer","disabled","ismap","multiple","nohref","noresize","noshade","nowrap","readonly","selected"]),sO=new KC(["script","style"]),cO=new KC("address.article.aside.base.blockquote.body.caption.col.colgroup.dd.details.dialog.div.dl.dt.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.legend.li.menuitem.meta.ol.optgroup.option.param.rp.rt.source.style.summary.tbody.td.tfoot.th.thead.title.tr.track.ul".split(".")),lO={};var uO=class{constructor(e,t){this.html=e,this.handler=t}async parse(){let e,t,n,r,i=this.html,o=this.handler,a=[],s=function(e){let t=WC.source+"(?:\\s*("+function(e){return XC.concat(e.customAttrAssign||[]).map(function(e){return"(?:"+e.source+")"}).join("|")}(e)+")[ \\t\\n\\f\\r]*(?:"+ZC.join("|")+"))?";if(e.customAttrSurround){let n=[];for(let r=e.customAttrSurround.length-1;r>=0;r--)n[r]="(?:("+e.customAttrSurround[r][0].source+")\\s*"+t+"\\s*("+e.customAttrSurround[r][1].source+"))";n.push("(?:"+t+")"),t="(?:"+n.join("|")+")"}return RegExp("^\\s*"+t)}(o);for(;i;){if(t=i,e&&sO.has(e)){let t=e.toLowerCase(),n=lO[t]||(lO[t]=RegExp("([\\s\\S]*?)</"+t+"[^>]*>","i"));i=await HC(i,n,async(e,n)=>("script"!==t&&"style"!==t&&"noscript"!==t&&(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),o.chars&&await o.chars(n),"")),await d("</"+t+">",t)}else{let e,t=i.indexOf("<");if(0===t){if(/^<!--/.test(i)){let e=i.indexOf("--\x3e");if(e>=0){o.comment&&await o.comment(i.substring(4,e)),i=i.substring(e+3),n="";continue}}if(/^<!\[/.test(i)){let e=i.indexOf("]>");if(e>=0){o.comment&&await o.comment(i.substring(2,e+1),!0),i=i.substring(e+2),n="";continue}}let e=i.match(tO);if(e){o.doctype&&o.doctype(e[0]),i=i.substring(e[0].length),n="";continue}let r=i.match(eO);if(r){i=i.substring(r[0].length),await HC(r[0],eO,d),n="/"+r[1].toLowerCase();continue}let a=c(i);if(a){i=a.rest,await u(a),n=a.tagName.toLowerCase();continue}o.continueOnParseError&&(t=i.indexOf("<",1))}t>=0?(e=i.substring(0,t),i=i.substring(t)):(e=i,i="");let a=c(i);a?r=a.tagName:(a=i.match(eO),r=a?"/"+a[1]:""),o.chars&&await o.chars(e,n,r),n=""}if(i===t)throw Error("Parse Error: "+i)}function c(e){let t=e.match(QC);if(t){let n,r,i={tagName:t[1],attrs:[]};for(e=e.slice(t[0].length);!(n=e.match(JC))&&(r=e.match(s));)e=e.slice(r[0].length),i.attrs.push(r);if(n)return i.unarySlash=n[1],i.rest=e.slice(n[0].length),i}}async function l(e){if(p(e)>=0)return await d("",e),!0}async function u(t){let n=t.tagName,r=t.unarySlash;if(o.html5&&("p"===e&&cO.has(n)?await d("",e):"tbody"===n?await l("thead"):"tfoot"===n&&(await l("tbody")||await l("thead")),"col"===n&&p("colgroup")<0&&(e="colgroup",a.push({tag:e,attrs:[]}),o.start&&await o.start(e,[],!1,""))),!o.html5&&!iO.has(n))for(;e&&iO.has(e);)await d("",e);oO.has(n)&&e===n&&await d("",n);let i=rO.has(n)||"html"===n&&"head"===e||!!r,s=t.attrs.map(function(e){let t,n,r,i,a,s;function c(r){return a=e[r],n=e[r+1],void 0===n?(n=e[r+2],void 0===n?(n=e[r+3],void 0===n&&aO.has(t)&&(n=t),""):"'"):'"'}nO&&-1===e[0].indexOf('""')&&(""===e[3]&&delete e[3],""===e[4]&&delete e[4],""===e[5]&&delete e[5]);let l=1;if(o.customAttrSurround)for(let n=0,a=o.customAttrSurround.length;n<a;n++,l+=7)if(t=e[l+1],t){s=c(l+2),r=e[l],i=e[l+6];break}return!t&&(t=e[l])&&(s=c(l+1)),{name:t,value:n,customAssign:a||"=",customOpen:r||"",customClose:i||"",quote:s||""}});i||(a.push({tag:n,attrs:s}),e=n,r=""),o.start&&await o.start(n,s,i,r)}function p(e){let t,n=e.toLowerCase();for(t=a.length-1;t>=0&&a[t].tag.toLowerCase()!==n;t--);return t}async function d(t,n){let r;if(r=n?p(n):0,r>=0){for(let e=a.length-1;e>=r;e--)o.end&&o.end(a[e].tag,a[e].attrs,e>r||!t);a.length=r,e=r&&a[r-1].tag}else"br"===n.toLowerCase()?o.start&&await o.start(n,[],!0,""):"p"===n.toLowerCase()&&(o.start&&await o.start(n,[],!1,"",!0),o.end&&o.end(n,[]))}o.partialMarkup||await d()}},pO=class{sort(e,t=0){for(let n=0,r=this.keys.length;n<r;n++){let r=this.keys[n],i=r.slice(1),o=e.indexOf(i,t);if(-1!==o){do{o!==t&&(e.splice(o,1),e.splice(t,0,i)),t++}while(-1!==(o=e.indexOf(i,t)));return this[r].sort(e,t)}}return e}},dO=class e{add(e){e.forEach(t=>{let n="$"+t;this[n]||(this[n]=[],this[n].processed=0),this[n].push(e)})}createSorter(){let t=new pO;return t.keys=Object.keys(this).sort((e,t)=>{let n=this[e].length,r=this[t].length;return n<r?1:n>r||e<t?-1:e>t?1:0}).filter(n=>{if(this[n].processed<this[n].length){let r=n.slice(1),i=new e;return this[n].forEach(e=>{let t;for(;-1!==(t=e.indexOf(r));)e.splice(t,1);e.forEach(e=>{this["$"+e].processed++}),i.add(e.slice(0))}),t[n]=i.createSorter(),!0}return!1}),t}};function mO(e){return e&&e.replace(/^[ \n\r\t\f]+/,"").replace(/[ \n\r\t\f]+$/,"")}function fO(e){return e&&e.replace(/[ \n\r\t\f\xA0]+/g,function(e){return"\t"===e?"\t":e.replace(/(^|\xA0+)[^\xA0]+/g,"$1 ")})}function hO(e,t,n,r,i){let o="",a="";return t.preserveLineBreaks&&(e=e.replace(/^[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*/,function(){return o="\n",""}).replace(/[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*$/,function(){return a="\n",""})),n&&(e=e.replace(/^[ \n\r\t\f\xA0]+/,function(e){let n=!o&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/^[^\xA0]+/,"").replace(/(\xA0+)[^\xA0]+/g,"$1 ")||(n?" ":"")})),r&&(e=e.replace(/[ \n\r\t\f\xA0]+$/,function(e){let n=!a&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/[^\xA0]+(\xA0+)/g," $1").replace(/[^\xA0]+$/,"")||(n?" ":"")})),i&&(e=fO(e)),o+e+a}const gO=new Set("a.abbr.acronym.b.bdi.bdo.big.button.cite.code.del.dfn.em.font.i.ins.kbd.label.mark.math.nobr.object.q.rp.rt.rtc.ruby.s.samp.select.small.span.strike.strong.sub.sup.svg.textarea.time.tt.u.var".split(".")),_O=new Set("a.abbr.acronym.b.big.del.em.font.i.ins.kbd.mark.nobr.rp.s.samp.small.span.strike.strong.sub.sup.time.tt.u.var".split(".")),yO=new Set(["comment","img","input","wbr"]);function vO(e,t,n,r){let i=t&&!yO.has(t);i&&!r.collapseInlineTagWhitespace&&(i="/"===t.charAt(0)?!gO.has(t.slice(1)):!_O.has(t));let o=n&&!yO.has(n);return o&&!r.collapseInlineTagWhitespace&&(o="/"===n.charAt(0)?!_O.has(n.slice(1)):!gO.has(n)),hO(e,r,i,o,t&&n)}function bO(e,t){for(let n=e.length;n--;)if(e[n].name.toLowerCase()===t)return!0;return!1}const EO=new Set(["text/javascript","text/ecmascript","text/jscript","application/javascript","application/x-javascript","application/ecmascript","module"]),xO=new Set(["module"]);function wO(e=""){return""===(e=mO(e.split(/;/,2)[0]).toLowerCase())||EO.has(e)}function AO(e=""){return""===(e=mO(e).toLowerCase())||"text/css"===e}function TO(e,t){if("style"!==e)return!1;for(let e=0,n=t.length;e<n;e++)if("type"===t[e].name.toLowerCase())return AO(t[e].value);return!0}const SO=new Set("allowfullscreen.async.autofocus.autoplay.checked.compact.controls.declare.default.defaultchecked.defaultmuted.defaultselected.defer.disabled.enabled.formnovalidate.hidden.indeterminate.inert.ismap.itemscope.loop.multiple.muted.nohref.noresize.noshade.novalidate.nowrap.open.pauseonexit.readonly.required.reversed.scoped.seamless.selected.sortable.truespeed.typemustmatch.visible".split(".")),kO=new Set(["true","false"]);function CO(e,t,n){if("link"!==e)return!1;for(let e=0,r=t.length;e<r;e++)if("rel"===t[e].name&&t[e].value===n)return!0}const OO=new Set(["img","source"]);function RO(e){return"/* clean-css ignore:start */"+e+"/* clean-css ignore:end */"}function DO(e,t){switch(t){case"inline":return"*{"+e+"}";case"media":return"@media "+e+"{a{top:0}}";default:return e}}const PO=new Set(["html","head","body","colgroup","tbody"]),FO=new Set(["html","head","body","li","dt","dd","p","rb","rt","rtc","rp","optgroup","option","colgroup","caption","thead","tbody","tfoot","tr","td","th"]),IO=new Set(["meta","link","script","style","template","noscript"]),NO=new Set(["dt","dd"]),LO=new Set("address.article.aside.blockquote.details.div.dl.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.main.menu.nav.ol.p.pre.section.table.ul".split(".")),MO=new Set(["a","audio","del","ins","map","noscript","video"]),BO=new Set(["rb","rt","rtc","rp"]),UO=new Set(["rb","rtc","rp"]),$O=new Set(["option","optgroup"]),zO=new Set(["tbody","tfoot"]),GO=new Set(["thead","tbody","tfoot"]),jO=new Set(["td","th"]),VO=new Set(["html","head","body"]),qO=new Set(["html","body"]),HO=new Set(["head","colgroup","caption"]),KO=new Set(["dt","thead"]),WO=new Set("a.abbr.acronym.address.applet.area.article.aside.audio.b.base.basefont.bdi.bdo.bgsound.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.command.content.data.datalist.dd.del.details.dfn.dialog.dir.div.dl.dt.element.em.embed.fieldset.figcaption.figure.font.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.image.img.input.ins.isindex.kbd.keygen.label.legend.li.link.listing.main.map.mark.marquee.menu.menuitem.meta.meter.multicol.nav.nobr.noembed.noframes.noscript.object.ol.optgroup.option.output.p.param.picture.plaintext.pre.progress.q.rb.rp.rt.rtc.ruby.s.samp.script.section.select.shadow.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.title.tr.track.tt.u.ul.var.video.wbr.xmp".split(".")),XO=RegExp("^(?:class|id|style|title|lang|dir|on(?:focus|blur|change|click|dblclick|mouse(?:down|up|over|move|out)|key(?:press|down|up)))$");function ZO(e,t){for(let n=t.length-1;n>=0;n--)if(t[n].name===e)return!0;return!1}function YO(e){return!/^(?:script|style|pre|textarea)$/.test(e)}function QO(e){return!/^(?:pre|textarea)$/.test(e)}async function JO(e,t,n,r){let i=r.name(e.name),o=e.value;if(r.decodeEntities&&o&&(o=function(e){return kC(e,bC.Strict)}(o)),!(r.removeRedundantAttributes&&function(e,t,n,r){return n=n?mO(n.toLowerCase()):"","script"===e&&"language"===t&&"javascript"===n||"form"===e&&"method"===t&&"get"===n||"input"===e&&"type"===t&&"text"===n||"script"===e&&"charset"===t&&!bO(r,"src")||"a"===e&&"name"===t&&bO(r,"id")||"area"===e&&"shape"===t&&"rect"===n}(n,i,o,t)||r.removeScriptTypeAttributes&&"script"===n&&"type"===i&&wO(o)&&!function(e=""){return e=mO(e.split(/;/,2)[0]).toLowerCase(),xO.has(e)}(o)||r.removeStyleLinkTypeAttributes&&("style"===n||"link"===n)&&"type"===i&&AO(o)||(o&&=await async function(e,t,n,r,i){if(function(e,t){let n=t.customEventAttributes;if(n){for(let t=n.length;t--;)if(n[t].test(e))return!0;return!1}return/^on[a-z]{3,}$/.test(e)}(t,r))return n=mO(n).replace(/^javascript:\s*/i,""),r.minifyJS(n,!0);if("class"===t)return n=mO(n),r.sortClassName?r.sortClassName(n):fO(n);if(function(e,t){return/^(?:a|area|link|base)$/.test(t)&&"href"===e||"img"===t&&/^(?:src|longdesc|usemap)$/.test(e)||"object"===t&&/^(?:classid|codebase|data|usemap)$/.test(e)||"q"===t&&"cite"===e||"blockquote"===t&&"cite"===e||("ins"===t||"del"===t)&&"cite"===e||"form"===t&&"action"===e||"input"===t&&("src"===e||"usemap"===e)||"head"===t&&"profile"===e||"script"===t&&("src"===e||"for"===e)}(t,e))return n=mO(n),CO(e,i,"canonical")?n:r.minifyURLs(n);if(function(e,t){return/^(?:a|area|object|button)$/.test(t)&&"tabindex"===e||"input"===t&&("maxlength"===e||"tabindex"===e)||"select"===t&&("size"===e||"tabindex"===e)||"textarea"===t&&/^(?:rows|cols|tabindex)$/.test(e)||"colgroup"===t&&"span"===e||"col"===t&&"span"===e||("th"===t||"td"===t)&&("rowspan"===e||"colspan"===e)}(t,e))return mO(n);if("style"===t)return n=mO(n),n&&=(/;$/.test(n)&&!/&#?[0-9a-zA-Z]+;$/.test(n)&&(n=n.replace(/\s*;$/,";")),await r.minifyCSS(n,"inline")),n;if(function(e,t){return"srcset"===e&&OO.has(t)}(t,e))n=mO(n).split(/\s+,\s*|\s*,\s+/).map(function(e){let t=e,n="",i=e.match(/\s+([1-9][0-9]*w|[0-9]+(?:\.[0-9]+)?x)$/);if(i){t=t.slice(0,-i[0].length);let e=+i[1].slice(0,-1),r=i[1].slice(-1);(1!==e||"x"!==r)&&(n=" "+e+r)}return r.minifyURLs(t)+n}).join(", ");else if(function(e,t){if("meta"!==e)return!1;for(let e=0,n=t.length;e<n;e++)if("name"===t[e].name&&"viewport"===t[e].value)return!0}(e,i)&&"content"===t)n=n.replace(/\s+/g,"").replace(/[0-9]+\.[0-9]+/g,function(e){return(+e).toString()});else{if(function(e,t){if("meta"!==e)return!1;for(let e=0,n=t.length;e<n;e++)if("http-equiv"===t[e].name.toLowerCase()&&"content-security-policy"===t[e].value.toLowerCase())return!0}(e,i)&&"content"===t.toLowerCase())return fO(n);if(r.customAttrCollapse&&r.customAttrCollapse.test(t))n=mO(n.replace(/ ?[\n\r]+ ?/g,"").replace(/\s{2,}/g,r.conservativeCollapse?" ":""));else if("script"===e&&"type"===t)n=mO(n.replace(/\s*;\s*/g,";"));else if(function(e,t,n){return"media"===n&&(CO(e,t,"stylesheet")||TO(e,t))}(e,i,t))return n=mO(n),r.minifyCSS(n,"media")}return n}(n,i,o,r,t),r.removeEmptyAttributes&&function(e,t,n,r){return!(n&&!/^\s*$/.test(n))&&("function"==typeof r.removeEmptyAttributes?r.removeEmptyAttributes(t,e):"input"===e&&"value"===t||XO.test(t))}(n,i,o,r))))return r.decodeEntities&&o&&(o=o.replace(/&(#?[0-9a-zA-Z]+;)/g,"&$1")),{attr:e,name:i,value:o}}function eR(e,t,n,r,i){let o,a,s=e.name,c=e.value,l=e.attr,u=l.quote;return void 0===c||n.removeAttributeQuotes&&!~c.indexOf(i)&&function(e){return/^[^ \t\n\f\r"'`=<>]+$/.test(e)}(c)?a=!r||t||/\/$/.test(c)?c+" ":c:(n.preventAttributesEscaping||(u=void 0===n.quoteCharacter?(c.match(/'/g)||[]).length<(c.match(/"/g)||[]).length?"'":'"':"'"===n.quoteCharacter?"'":'"',c='"'===u?c.replace(/"/g,"""):c.replace(/'/g,"'")),a=u+c+u,!r&&!n.removeTagWhitespace&&(a+=" ")),void 0===c||n.collapseBooleanAttributes&&function(e,t){return SO.has(e)||"draggable"===e&&!kO.has(t)}(s.toLowerCase(),c.toLowerCase())?(o=s,r||(o+=" ")):o=s+l.customAssign+a,l.customOpen+o+l.customClose}function tR(e){return e}function nR(e){return Promise.resolve(e)}function rR(e){let t;do{t=Math.random().toString(36).replace(/^0\.[0-9]*/,"")}while(~e.indexOf(t));return t}const iR=new Set(["script","style"]);async function oR(e,t,n){t.collapseWhitespace&&(e=hO(e,t,!0,!0));let r,i,o,a,s,c=[],l="",u="",p=[],d=[],m=[],f="",h="",g=[],_=[];e=e.replace(/<!-- htmlmin:ignore -->([\s\S]*?)<!-- htmlmin:ignore -->/g,function(n,r){if(!o){o=rR(e);let n=RegExp("^"+o+"([0-9]+)$");t.ignoreCustomComments?t.ignoreCustomComments=t.ignoreCustomComments.slice():t.ignoreCustomComments=[],t.ignoreCustomComments.push(n)}let i="\x3c!--"+o+g.length+"--\x3e";return g.push(r),i});let y=t.ignoreCustomFragments.map(function(e){return e.source});if(y.length){let n=RegExp("\\s*(?:"+y.join("|")+")+\\s*","g");e=e.replace(n,function(n){a||(a=rR(e),s=RegExp("(\\s*)"+a+"([0-9]+)"+a+"(\\s*)","g"),t.minifyCSS&&=function(e){return function(t,n){t=t.replace(s,function(e,t,n){let r=_[+n];return r[1]+a+n+a+r[2]});let r=[];return(new qC.default).minify(DO(t,n)).warnings.forEach(function(e){let n=s.exec(e);if(n){let e=a+n[2]+a;t=t.replace(e,RO(e)),r.push(e)}}),e(t,n).then(e=>(r.forEach(function(t){e=e.replace(RO(t),t)}),e))}}(t.minifyCSS),t.minifyJS&&=function(e){return function(t,n){return e(t.replace(s,function(e,t,n){let r=_[+n];return r[1]+a+n+a+r[2]}),n)}}(t.minifyJS));let r=a+_.length+a;return _.push(/^(\s*)[\s\S]*?(\s*)$/.exec(n)),"\t"+r+"\t"})}function v(e,n){return t.canTrimWhitespace(e,n,QO)}function b(){let e=c.length-1;for(;e>0&&!/^<[^/!]/.test(c[e]);)e--;c.length=Math.max(0,e)}function E(){let e=c.length-1;for(;e>0&&!/^<\//.test(c[e]);)e--;c.length=Math.max(0,e)}function x(e,n){for(let r=null;e>=0&&v(r);e--){let i=c[e],o=i.match(/^<\/([\w:-]+)>$/);if(o)r=o[1];else if(/>$/.test(i)||(c[e]=vO(i,null,n,t)))break}}function w(e){let t=c.length-1;if(c.length>1){let e=c[c.length-1];/^(?:<!|$)/.test(e)&&-1===e.indexOf(o)&&t--}x(t,e)}return(t.sortAttributes&&"function"!=typeof t.sortAttributes||t.sortClassName&&"function"!=typeof t.sortClassName)&&await async function(e,t,n,r){let i=t.sortAttributes&&Object.create(null),o=t.sortClassName&&new dO;function a(e){return e.map(function(e){return t.name(e.name)})}function s(e,t){return!t||-1===e.indexOf(t)}function c(e){return s(e,n)&&s(e,r)}let l=t.log;if(t.log=tR,t.sortAttributes=!1,t.sortClassName=!1,await async function e(n){let r,s;await new uO(n,{start:function(e,n){i&&(i[e]||(i[e]=new dO),i[e].add(a(n).filter(c)));for(let i=0,a=n.length;i<a;i++){let a=n[i];o&&a.value&&"class"===t.name(a.name)?o.add(mO(a.value).split(/[ \t\n\f\r]+/).filter(c)):t.processScripts&&"type"===a.name.toLowerCase()&&(r=e,s=a.value)}},end:function(){r=""},chars:async function(n){t.processScripts&&iR.has(r)&&t.processScripts.indexOf(s)>-1&&await e(n)}}).parse()}(await oR(e,t)),t.log=l,i){let e=Object.create(null);for(let t in i)e[t]=i[t].createSorter();t.sortAttributes=function(t,n){let r=e[t];if(r){let e=Object.create(null),t=a(n);t.forEach(function(t,r){(e[t]||(e[t]=[])).push(n[r])}),r.sort(t).forEach(function(t,r){n[r]=e[t].shift()})}}}if(o){let e=o.createSorter();t.sortClassName=function(t){return e.sort(t.split(/[ \n\f\r]+/)).join(" ")}}}(e,t,o,a),await new uO(e,{partialMarkup:n,continueOnParseError:t.continueOnParseError,customAttrAssign:t.customAttrAssign,customAttrSurround:t.customAttrSurround,html5:t.html5,start:async function(e,n,o,s,g){"svg"===e.toLowerCase()&&((t=Object.create(t)).caseSensitive=!0,t.keepClosingSlash=!0,t.name=tR),e=t.name(e),u=e,r=e,_O.has(e)||(l=""),i=!1,p=n;let _=t.removeOptionalTags;if(_){let t=WO.has(e);t&&function(e,t){switch(e){case"html":case"head":return!0;case"body":return!IO.has(t);case"colgroup":return"col"===t;case"tbody":return"tr"===t}return!1}(f,e)&&b(),f="",t&&function(e,t){switch(e){case"html":case"head":case"body":case"colgroup":case"caption":return!0;case"li":case"optgroup":case"tr":return t===e;case"dt":case"dd":return NO.has(t);case"p":return LO.has(t);case"rb":case"rt":case"rp":return BO.has(t);case"rtc":return UO.has(t);case"option":return $O.has(t);case"thead":case"tbody":return zO.has(t);case"tfoot":return"tbody"===t;case"td":case"th":return jO.has(t)}return!1}(h,e)&&(E(),_=!function(e,t){switch(t){case"colgroup":return"colgroup"===e;case"tbody":return GO.has(e)}return!1}(h,e)),h=""}t.collapseWhitespace&&(d.length||w(e),o||((!v(e,n)||d.length)&&d.push(e),(!function(e,n){return t.canCollapseWhitespace(e,n,YO)}(e,n)||m.length)&&m.push(e)));let y="<"+e,x=s&&t.keepClosingSlash;c.push(y),t.sortAttributes&&t.sortAttributes(e,n);let A=[];for(let r=n.length,i=!0;--r>=0;){let o=await JO(n[r],n,e,t);o&&(A.unshift(eR(o,x,t,i,a)),i=!1)}A.length>0?(c.push(" "),c.push.apply(c,A)):_&&PO.has(e)&&(f=e),c.push(c.pop()+(x?"/":"")+">"),g&&!t.includeAutoGeneratedTags&&(b(),f="")},end:function(e,n,o){"svg"===e.toLowerCase()&&(t=Object.getPrototypeOf(t)),e=t.name(e),t.collapseWhitespace&&(d.length?e===d[d.length-1]&&d.pop():w("/"+e),m.length&&e===m[m.length-1]&&m.pop());let a=!1;e===u&&(u="",a=!i),t.removeOptionalTags&&(a&&VO.has(f)&&b(),f="",WO.has(e)&&h&&!KO.has(h)&&("p"!==h||!MO.has(e))&&E(),h=FO.has(e)?e:""),t.removeEmptyElements&&a&&function(e,t){switch(e){case"textarea":return!1;case"audio":case"script":case"video":if(ZO("src",t))return!1;break;case"iframe":if(ZO("src",t)||ZO("srcdoc",t))return!1;break;case"object":if(ZO("data",t))return!1;break;case"applet":if(ZO("code",t))return!1}return!0}(e,n)?(b(),f="",h=""):(o&&!t.includeAutoGeneratedTags?h="":c.push("</"+e+">"),r="/"+e,gO.has(e)?a&&(l+="|"):l="")},chars:async function(e,n,a){if(n=""===n?"comment":n,a=""===a?"comment":a,t.decodeEntities&&e&&!iR.has(u)&&(e=function(e,t=bC.Legacy){return kC(e,t)}(e)),t.collapseWhitespace){if(!d.length){if("comment"===n){let i=c[c.length-1];if(-1===i.indexOf(o)&&(i||(n=r),c.length>1&&(!i||!t.conservativeCollapse&&/ $/.test(l)))){let t=c.length-2;c[t]=c[t].replace(/\s+$/,function(t){return e=t+e,""})}}if(n)if("/nobr"===n||"wbr"===n){if(/^\s/.test(e)){let e=c.length-1;for(;e>0&&0!==c[e].lastIndexOf("<"+n);)e--;x(e-1,"br")}}else _O.has("/"===n.charAt(0)?n.slice(1):n)&&(e=hO(e,t,/(?:^|\s)$/.test(l)));!(e=n||a?vO(e,n,a,t):hO(e,t,!0,!0))&&/\s$/.test(l)&&n&&"/"===n.charAt(0)&&x(c.length-1,a)}!m.length&&"html"!==a&&(!n||!a)&&(e=hO(e,t,!1,!1,!0))}t.processScripts&&iR.has(u)&&(e=await async function(e,t,n){for(let r=0,i=n.length;r<i;r++)if("type"===n[r].name.toLowerCase()&&t.processScripts.indexOf(n[r].value)>-1)return await oR(e,t);return e}(e,t,p)),function(e,t){if("script"!==e)return!1;for(let e=0,n=t.length;e<n;e++)if("type"===t[e].name.toLowerCase())return wO(t[e].value);return!0}(u,p)&&(e=await t.minifyJS(e)),TO(u,p)&&(e=await t.minifyCSS(e)),t.removeOptionalTags&&e&&(("html"===f||"body"===f&&!/^\s/.test(e))&&b(),f="",(qO.has(h)||HO.has(h)&&!/^\s/.test(e))&&E(),h=""),r=/^\s*$/.test(e)?n:"comment",t.decodeEntities&&e&&!iR.has(u)&&(e=e.replace(/&((?:Iacute|aacute|uacute|plusmn|Otilde|otilde|agrave|Agrave|Yacute|yacute|Oslash|oslash|atilde|Atilde|brvbar|ccedil|Ccedil|Ograve|curren|divide|eacute|Eacute|ograve|Oacute|egrave|Egrave|Ugrave|frac12|frac14|frac34|ugrave|oacute|iacute|Ntilde|ntilde|Uacute|middot|igrave|Igrave|iquest|Aacute|cedil|laquo|micro|iexcl|Icirc|icirc|acirc|Ucirc|Ecirc|ocirc|Ocirc|ecirc|ucirc|Aring|aring|AElig|aelig|acute|pound|raquo|Acirc|times|THORN|szlig|thorn|COPY|auml|ordf|ordm|Uuml|macr|uuml|Auml|ouml|Ouml|para|nbsp|euml|quot|QUOT|Euml|yuml|cent|sect|copy|sup1|sup2|sup3|iuml|Iuml|ETH|shy|reg|not|yen|amp|AMP|REG|uml|eth|deg|gt|GT|LT|lt)(?!;)|(?:#?[0-9a-zA-Z]+;))/g,"&$1").replace(/</g,"<")),s&&t.collapseWhitespace&&d.length&&(e=e.replace(s,function(e,t,n){return _[+n][0]})),l+=e,e&&(i=!0),c.push(e)},comment:async function(e,n){let r=n?"<!":"\x3c!--",i=n?">":"--\x3e";e=function(e){return/^\[if\s[^\]]+]|\[endif]$/.test(e)}(e)?r+await async function(e,t){return t.processConditionalComments?await HC(e,/^(\[if\s[^\]]+]>)([\s\S]*?)(<!\[endif])$/,async function(e,n,r,i){return n+await oR(r,t,!0)+i}):e}(e,t)+i:t.removeComments?function(e,t){for(let n=0,r=t.ignoreCustomComments.length;n<r;n++)if(t.ignoreCustomComments[n].test(e))return!0;return!1}(e,t)?"\x3c!--"+e+"--\x3e":"":r+e+i,t.removeOptionalTags&&e&&(f="",h=""),c.push(e)},doctype:function(e){c.push(t.useShortDoctype?"<!doctype"+(t.removeTagWhitespace?"":" ")+"html>":fO(e))}}).parse(),t.removeOptionalTags&&(VO.has(f)&&b(),h&&!KO.has(h)&&E()),t.collapseWhitespace&&w("br"),function(e,t,n,r){let i,o=t.maxLineLength,a=t.noNewlinesBeforeTagClose;if(o){let t="",s=[];for(;e.length;){let i=t.length,c=e[0].indexOf("\n"),l=!!e[0].match(eO),u=a&&l;c<0?t+=r(n(e.shift())):(t+=r(n(e[0].slice(0,c))),e[0]=e[0].slice(c+1)),i>0&&t.length>o&&!u?(s.push(t.slice(0,i)),t=t.slice(i)):c>=0&&(s.push(t),t="")}t&&s.push(t),i=s.join("\n")}else i=r(n(e.join("")));return t.collapseWhitespace?hO(i,t,!0,!0):i}(c,t,s?function(e){return e.replace(s,function(e,n,r,i){let o=_[+r][0];return t.collapseWhitespace?("\t"!==n&&(o=n+o),"\t"!==i&&(o+=i),hO(o,{preserveLineBreaks:t.preserveLineBreaks,conservativeCollapse:!t.trimCustomFragments},/^[ \n\r\t\f]/.test(o),/[ \n\r\t\f]$/.test(o))):o})}:tR,o?function(e){return e.replace(RegExp("\x3c!--"+o+"([0-9]+)--\x3e","g"),function(e,t){return g[+t]})}:tR)}const aR=async function(e,t){let n=Date.now();t=(e=>{let t={name:function(e){return e.toLowerCase()},canCollapseWhitespace:YO,canTrimWhitespace:QO,html5:!0,ignoreCustomComments:[/^!/,/^\s*#/],ignoreCustomFragments:[/<%[\s\S]*?%>/,/<\?[\s\S]*?\?>/],includeAutoGeneratedTags:!0,log:tR,minifyCSS:nR,minifyJS:tR,minifyURLs:tR};return Object.keys(e).forEach(function(n){let r=e[n];if("caseSensitive"===n)r&&(t.name=tR);else if("log"===n)"function"==typeof r&&(t.log=r);else if("minifyCSS"===n&&"function"!=typeof r){if(!r)return;let e="object"==typeof r?r:{};t.minifyCSS=async function(n,r){n=n.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/gi,function(e,n,r,i,o){return n+r+t.minifyURLs(i)+r+o});let i=DO(n,r);return new Promise(o=>{new qC.default(e).minify(i,(e,i)=>{i.errors.length>0&&(i.errors.forEach(t.log),o(n)),o(function(e,t){let n;switch(t){case"inline":n=e.match(/^\*\{([\s\S]*)\}$/);break;case"media":n=e.match(/^@media ([\s\S]*?)\s*{[\s\S]*}$/)}return n?n[1]:e}(i.styles,r))})})}}else if("minifyJS"===n&&"function"!=typeof r){if(!r)return;let e="object"==typeof r?r:{};e.parse={...e.parse,bare_returns:!1},t.minifyJS=async function(n,r){let i=n.match(/^\s*<!--.*/),o=i?n.slice(i[0].length).replace(/\n\s*-->\s*$/,""):n;e.parse.bare_returns=r;try{return(await GT(o,e)).code.replace(/;$/,"")}catch(e){return t.log(e),n}}}else if("minifyURLs"===n&&"function"!=typeof r){if(!r)return;let e=r;"string"==typeof r?e={site:r}:"object"!=typeof r&&(e={}),t.minifyURLs=function(n){try{return VC.default.relate(n,e)}catch(e){return t.log(e),n}}}else t[n]=r}),t})(t||{});let r=await oR(e,t);return t.log("minified in: "+(Date.now()-n)+"ms"),r},sR=".github,.git,.vscode,.devcontainer,.config,.cargo,.changeset,.husky,.aspect,.eslint-plugin-local,.yarn,.gemini,.ng-dev,.configurations,.tx,dist,build,out,output,target,release,node_modules,vendor,third_party,tmp,temp,cache,.cache,.tmp,.pytest_cache,.tox,.venv,.mypy_cache,.next,.svelte-kit,.turbo,.angular,.dart_tool,__pycache__,.ruff_cache,.nox,htmlcov,cover,.gradle,.m2,.sbt,.bloop,.metals,.bsp,bin,obj,TestResults,BenchmarkDotNet.Artifacts,.vendor-new,Godeps,composer.phar,.phpunit.result.cache,.bundle,.byebug_history,.rspec_status,.mvn,.aws,.gcp,fastlane,DerivedData,xcuserdata,local.properties,.navigation,captures,.externalNativeBuild,.cxx,.idea,.idea_modules,.vs,.history,coverage,.nyc_output,logs,log,.DS_Store".split(","),cR="package-lock.json,.secrets,.secret,secrets.json,secrets.yaml,secrets.yml,credentials.json,credentials.yaml,credentials.yml,auth.json,auth.yaml,auth.yml,api-keys.json,api_keys.json,service-account.json,service_account.json,private-key.pem,private_key.pem,id_rsa,id_dsa,id_ecdsa,id_ed25519,keyfile,keyfile.json,gcloud-service-key.json,firebase-adminsdk.json,google-services.json,GoogleService-Info.plist,.DS_Store,Thumbs.db,db.sqlite3,db.sqlite3-journal,.eslintcache,.stylelintcache,.node_repl_history,.yarn-integrity,celerybeat-schedule,celerybeat.pid,ThirdPartyNoticeText.txt,ThirdPartyNotices.txt,cglicenses.json,cgmanifest.json".split(","),lR=".lock,.log,.tmp,.temp,.cache,.bak,.backup,.orig,.swp,.swo,.rej,.pid,.seed,.old,.save,.temporary,.exe,.dll,.so,.dylib,.a,.lib,.o,.obj,.bin,.class,.pdb,.dSYM,.pyc,.pyo,.pyd,.jar,.war,.ear,.nar,.db,.sqlite,.sqlite3,.mdb,.accdb,.zip,.tar,.gz,.bz2,.xz,.lz,.lzma,.Z,.tgz,.rar,.7z,.deb,.rpm,.pkg,.dmg,.msi,.appx,.snap,.map,.d.ts.map,.min.js,.min.css,.key,.pem,.p12,.pfx,.crt,.cer,.der,.csr,.jks,.keystore,.truststore,.kate-swp,.gnome-desktop,.sublime-project,.sublime-workspace,.iml,.iws,.ipr,.patch,.diff,.prof,.profile,.trace,.perf,.coverage,.egg-info,.egg,.mo,.pot,.setup,.paket.template".split(",");function uR(e){return sR.includes(e)}function pR(e){let t=e.split("/").pop()||"";for(let e of lR)if(t.endsWith(e))return!0;if(cR.includes(t))return!0;let n=e.split("/");for(let e of n)if(sR.includes(e))return!0;return!1}function dR(e,t){let n=e.split(".");if(n.length<=1||2===n.length&&""===n[0])return t?.fallback??"";let r=n[n.length-1];return t?.lowercase?r.toLowerCase():r}var mR=B(dC(),1);const fR={commentPatterns:{"c-style":[/\/\*[\s\S]*?\*\//g,/^\s*\/\/.*$/gm,/\s+\/\/.*$/gm],hash:[/^\s*#(?!!).*$/gm,/\s+#.*$/gm],html:[/<!--[\s\S]*?-->/g],sql:[/--.*$/gm,/\/\*[\s\S]*?\*\//g],lua:[/^\s*--.*$/gm,/--\[\[[\s\S]*?\]\]/g],template:[/\{\{!--[\s\S]*?--\}\}/g,/\{\{![\s\S]*?\}\}/g,/<%#[\s\S]*?%>/g,/\{#[\s\S]*?#\}/g],haskell:[/^\s*--.*$/gm,/\s+--.*$/gm,/\{-[\s\S]*?-\}/g]},fileTypes:{js:{strategy:"terser"},jsx:{strategy:"terser"},mjs:{strategy:"terser"},cjs:{strategy:"terser"},ts:{strategy:"aggressive",comments:"c-style"},tsx:{strategy:"aggressive",comments:"c-style"},py:{strategy:"conservative",comments:"hash"},yaml:{strategy:"conservative",comments:"hash"},yml:{strategy:"conservative",comments:"hash"},coffee:{strategy:"conservative",comments:"hash"},nim:{strategy:"conservative",comments:"hash"},haml:{strategy:"conservative",comments:"hash"},slim:{strategy:"conservative",comments:"hash"},sass:{strategy:"conservative",comments:"c-style"},styl:{strategy:"conservative",comments:"c-style"},html:{strategy:"aggressive",comments:"html"},htm:{strategy:"aggressive",comments:"html"},xml:{strategy:"aggressive",comments:"html"},svg:{strategy:"aggressive",comments:"html"},css:{strategy:"aggressive",comments:"c-style"},less:{strategy:"aggressive",comments:"c-style"},scss:{strategy:"aggressive",comments:"c-style"},json:{strategy:"json"},go:{strategy:"aggressive",comments:"c-style"},java:{strategy:"aggressive",comments:"c-style"},c:{strategy:"aggressive",comments:"c-style"},cpp:{strategy:"aggressive",comments:"c-style"},cs:{strategy:"aggressive",comments:"c-style"},rust:{strategy:"aggressive",comments:"c-style"},rs:{strategy:"aggressive",comments:"c-style"},swift:{strategy:"aggressive",comments:"c-style"},kotlin:{strategy:"aggressive",comments:"c-style"},scala:{strategy:"aggressive",comments:"c-style"},dart:{strategy:"aggressive",comments:"c-style"},php:{strategy:"aggressive",comments:["c-style","hash"]},rb:{strategy:"aggressive",comments:"hash"},perl:{strategy:"aggressive",comments:"hash"},sh:{strategy:"conservative",comments:"hash"},bash:{strategy:"conservative",comments:"hash"},sql:{strategy:"aggressive",comments:"sql"},lua:{strategy:"aggressive",comments:"lua"},r:{strategy:"aggressive",comments:"hash"},hbs:{strategy:"aggressive",comments:"template"},handlebars:{strategy:"aggressive",comments:"template"},ejs:{strategy:"aggressive",comments:"template"},pug:{strategy:"conservative",comments:"c-style"},jade:{strategy:"conservative",comments:"c-style"},mustache:{strategy:"aggressive",comments:"template"},twig:{strategy:"aggressive",comments:"template"},jinja:{strategy:"aggressive",comments:"template"},jinja2:{strategy:"aggressive",comments:"template"},erb:{strategy:"aggressive",comments:"template"},vue:{strategy:"aggressive",comments:"html"},svelte:{strategy:"aggressive",comments:"html"},graphql:{strategy:"aggressive",comments:"hash"},gql:{strategy:"aggressive",comments:"hash"},proto:{strategy:"aggressive",comments:"c-style"},csv:{strategy:"conservative"},toml:{strategy:"aggressive",comments:"hash"},ini:{strategy:"aggressive",comments:"hash"},conf:{strategy:"aggressive",comments:"hash"},config:{strategy:"aggressive",comments:"hash"},env:{strategy:"aggressive",comments:"hash"},properties:{strategy:"aggressive",comments:"hash"},tf:{strategy:"aggressive",comments:["hash","c-style"]},tfvars:{strategy:"aggressive",comments:["hash","c-style"]},pp:{strategy:"aggressive",comments:"hash"},md:{strategy:"markdown"},markdown:{strategy:"markdown"},rst:{strategy:"conservative",comments:"hash"},star:{strategy:"conservative",comments:"hash"},bzl:{strategy:"conservative",comments:"hash"},cmake:{strategy:"conservative",comments:"hash"},pl:{strategy:"aggressive",comments:"hash"},pm:{strategy:"aggressive",comments:"hash"},fs:{strategy:"conservative",comments:"c-style"},fsx:{strategy:"conservative",comments:"c-style"},hs:{strategy:"conservative",comments:"haskell"},lhs:{strategy:"conservative",comments:"haskell"},elm:{strategy:"conservative",comments:"c-style"},clj:{strategy:"aggressive",comments:"hash"},cljs:{strategy:"aggressive",comments:"hash"},ex:{strategy:"aggressive",comments:"hash"},exs:{strategy:"aggressive",comments:"hash"},erl:{strategy:"aggressive",comments:"hash"},hrl:{strategy:"aggressive",comments:"hash"},txt:{strategy:"general"},log:{strategy:"general"},cfg:{strategy:"aggressive",comments:"hash"},gitignore:{strategy:"aggressive",comments:"hash"},dockerignore:{strategy:"aggressive",comments:"hash"}}},hR=new Set(["makefile","dockerfile","procfile","justfile","rakefile","gemfile","podfile","fastfile","vagrantfile","jenkinsfile","cakefile","pipfile","buildfile","capfile","brewfile"]),gR={lowercase:!0,fallback:"txt"};function _R(e){let t=dR(e,gR),n=(e.split("/").pop()||"").toLowerCase();return hR.has(n)?{strategy:"conservative",comments:"hash"}:fR.fileTypes[t]||{strategy:"general"}}function yR(e,t){try{let n=e,r=Array.isArray(t)?t:[t];for(let e of r){let t=fR.commentPatterns[e];if(t)for(let e of t)try{n=n.replace(e,"")}catch{continue}}return n}catch{return e}}function vR(e,t){try{let n=e;return t.comments&&(n=yR(n,t.comments)),n.replace(/[ \t]+$/gm,"").replace(/\n\s*\n\s*\n+/g,"\n\n").trim()}catch{return e}}function bR(e,t){try{let n=e;return t.comments&&(n=yR(n,t.comments)),n.replace(/\s+/g," ").replace(/\s*([{}:;,])\s*/g,"$1").replace(/>\s+</g,"><").trim()}catch{return e}}function ER(e){try{return{content:JSON.stringify(JSON.parse(e)),failed:!1}}catch{try{let t=yR(e,"c-style");return{content:JSON.stringify(JSON.parse(t)),failed:!1}}catch{return{content:e.trim(),failed:!1}}}}function xR(e){try{return e.replace(/[ \t]+$/gm,"").replace(/\r\n/g,"\n").replace(/\n\s*\n\s*\n+/g,"\n\n").replace(/[ \t]{3,}/g," ").trim()}catch{return e}}function wR(e){try{return e.replace(/<!--[\s\S]*?-->/g,"").replace(/[ \t]+$/gm,"").replace(/\r\n/g,"\n").replace(/\n\s*\n\s*\n+/g,"\n\n").replace(/([^\n])[ \t]{5,}([^\n])/g,"$1 $2").replace(/\s*\|\s*/g," | ").replace(/^(#{1,6})[ \t]+/gm,"$1 ").replace(/^(\s*)([-*+]|\d+\.)[ \t]+/gm,"$1$2 ").replace(/\n{3,}(```)/g,"\n\n$1").replace(/(```)\n{3,}/g,"$1\n\n").trim()}catch{return e}}function AR(e){try{return yR(e,"c-style").replace(/\s+/g," ").replace(/\s*([{}:;,])\s*/g,"$1").trim()}catch{return e}}function TR(e){try{return yR(e,"html").replace(/\s+/g," ").replace(/>\s+</g,"><").trim()}catch{return e}}async function SR(e,t){try{let n=Buffer.byteLength(e,"utf8");if(n>1048576)return{content:e,failed:!0,type:"failed",reason:`File too large: ${(n/1024/1024).toFixed(2)}MB exceeds 1MB limit`};let r=_R(t),i=dR(t,gR);switch(r.strategy){case"terser":{let t=await async function(e){try{return e.trim()?{content:(await GT(e,{compress:{drop_console:!1,drop_debugger:!1,sequences:!0,conditionals:!0,comparisons:!0,evaluate:!0,booleans:!0,loops:!1,unused:!1,dead_code:!0,side_effects:!1},mangle:!1,format:{comments:!1,beautify:!1,semicolons:!0},sourceMap:!1})).code||e,failed:!1}:{content:e,failed:!1}}catch(t){return{content:e,failed:!0,reason:`Terser minification failed: ${t instanceof Error?t.message:"Unknown error"}`}}}(e);return{content:t.content,failed:t.failed,type:t.failed?"failed":"terser",...t.reason&&{reason:t.reason}}}case"json":{let t=ER(e);return{content:t.content,failed:t.failed,type:t.failed?"failed":"json",...t.reason&&{reason:t.reason}}}case"conservative":return{content:vR(e,r),failed:!1,type:"conservative"};case"general":return{content:xR(e),failed:!1,type:"general"};case"markdown":return{content:wR(e),failed:!1,type:"markdown"};case"aggressive":if(["css","less","scss"].includes(i)){let t=await async function(e){try{let t=new mR.default({level:2,format:!1,inline:!1,rebase:!1}).minify(e);if(t.errors&&t.errors.length>0)throw Error(t.errors.join(", "));return{content:t.styles,failed:!1}}catch(t){return{content:AR(e),failed:!1,reason:`CleanCSS fallback: ${t instanceof Error?t.message:"unknown"}`}}}(e);return{content:t.content,failed:!1,type:"aggressive",...t.reason&&{reason:t.reason}}}if(["html","htm"].includes(i)){let t=await async function(e){try{return{content:await aR(e,{collapseWhitespace:!0,removeComments:!0,removeRedundantAttributes:!0,removeScriptTypeAttributes:!0,removeStyleLinkTypeAttributes:!0,minifyCSS:!1,minifyJS:!1,caseSensitive:!1}),failed:!1}}catch(t){return{content:TR(e),failed:!1,reason:`html-minifier fallback: ${t instanceof Error?t.message:"unknown"}`}}}(e);return{content:t.content,failed:!1,type:"aggressive",...t.reason&&{reason:t.reason}}}return{content:bR(e,r),failed:!1,type:"aggressive"}}}catch(t){return{content:e,failed:!0,type:"failed",reason:`Unexpected minification error: ${t instanceof Error?t.message:"Unknown error"}`}}}function kR(e){let{data:t,instructions:n,isError:r}=e;return{content:[{type:"text",text:CR({data:t,instructions:n})}],isError:!!r}}function CR(e,t){let n=function(e,t){try{return function(e,t){t||={};var n=new uy(t);n.noRefs||Ty(e,n);var r=e;return n.replacer&&(r=n.replacer.call({"":r},"",r)),Ay(n,0,r,!0,!0)?n.dump+"\n":""}(e,{forceQuotes:!0,quotingType:'"',lineWidth:-1,noRefs:!0,sortKeys:!(!t?.sortKeys&&!t?.keysPriority)&&(t.keysPriority&&t.keysPriority.length>0?(e,n)=>{let r=t.keysPriority.indexOf(e),i=t.keysPriority.indexOf(n);return-1!==r&&-1!==i?r-i:-1!==r&&-1===i?-1:-1===r&&-1!==i?1:t.sortKeys?e.localeCompare(n):0}:!!t.sortKeys&&((e,t)=>e.localeCompare(t))),indent:2,noCompatMode:!0,flowLevel:-1,skipInvalid:!1})}catch(t){let n=t instanceof Error?t.message:"Unknown error";try{return JSON.stringify(e,null,2)}catch(e){return`# YAML conversion failed: ${n}\n# JSON conversion also failed: ${e instanceof Error?e.message:"Unknown error"}\n# Object: [Unconvertible]`}}}(OR(e),{keysPriority:t||["instructions","results","hasResultsStatusHints","emptyStatusHints","errorStatusHints","mainResearchGoal","researchGoal","reasoning","status","data"]});return lg(__.sanitizeContent(n).content)}function OR(e,t={}){if(null==e||Number.isNaN(e))return;let{inFilesObject:n=!1,depth:r=0}=t;if(Array.isArray(e)){let t=e.map(e=>OR(e,{inFilesObject:n,depth:r+1})).filter(e=>void 0!==e),i=n&&r>=2;return t.length>0||i?t:void 0}if("object"==typeof e&&e){let t={},i=!1;for(let[o,a]of Object.entries(e)){let e=("files"===o||"repositories"===o)&&!n,s=OR(a,{inFilesObject:n||e,depth:e?0:r+1});void 0!==s&&(t[o]=s,i=!0)}return i?t:void 0}return e}function RR(e,t){return async(n,{authInfo:r,sessionId:i})=>{try{let o=__.validateInputParameters(n);if(!o.isValid)return kR({data:{error:`Security validation failed: ${o.warnings.join("; ")}`},isError:!0});let a=o.sanitizedParams;return bg()&&function(e,t){let n=function(e){let t=e.queries;if(t&&Array.isArray(t)&&t.length>0)return t}(t);if(n)for(let t of n)DR(e,t);else!function(e,t){let n=function(e){let t=new Set;if(e.queries&&Array.isArray(e.queries)&&e.queries.length>0)for(let n of e.queries){let e=n,r="string"==typeof e.repository?e.repository:void 0;if(r&&r.includes("/"))t.add(r);else{let n="string"==typeof e.repo?e.repo:void 0,r="string"==typeof e.owner?e.owner:void 0;r&&n?t.add(`${r}/${n}`):r&&t.add(r)}}else{let n="string"==typeof e.repository?e.repository:void 0;if(n&&n.includes("/"))t.add(n);else{let n="string"==typeof e.repo?e.repo:void 0,r="string"==typeof e.owner?e.owner:void 0;r&&n?t.add(`${r}/${n}`):r&&t.add(r)}}return Array.from(t)}(t);if(0===n.length)return;let r=function(e){let t=new Set,n=new Set,r=new Set,i=e=>{"string"==typeof e.mainResearchGoal&&e.mainResearchGoal&&t.add(e.mainResearchGoal),"string"==typeof e.researchGoal&&e.researchGoal&&n.add(e.researchGoal),"string"==typeof e.reasoning&&e.reasoning&&r.add(e.reasoning)};if(e.queries&&Array.isArray(e.queries)&&e.queries.length>0)for(let t of e.queries)i(t);else i(e);return{...t.size>0&&{mainResearchGoal:Array.from(t).join("; ")},...n.size>0&&{researchGoal:Array.from(n).join("; ")},...r.size>0&&{reasoning:Array.from(r).join("; ")}}}(t);Ag(e,n,r.mainResearchGoal,r.researchGoal,r.reasoning).catch(()=>{})}(e,t)}(e,a),await t(o.sanitizedParams,r,i)}catch(t){return Sg(e,"TOOL_SECURITY_VALIDATION_FAILED").catch(()=>{}),kR({data:{error:`Security validation error: ${t instanceof Error?t.message:"Unknown error"}`},isError:!0})}}}function DR(e,t){let n=function(e){let t=[],n="string"==typeof e.repository?e.repository:void 0;if(n&&n.includes("/"))t.push(n);else{let n="string"==typeof e.repo?e.repo:void 0,r="string"==typeof e.owner?e.owner:void 0;r&&n?t.push(`${r}/${n}`):r&&t.push(r)}return t}(t);if(0===n.length)return;let r=function(e){return{..."string"==typeof e.mainResearchGoal&&e.mainResearchGoal&&{mainResearchGoal:e.mainResearchGoal},..."string"==typeof e.researchGoal&&e.researchGoal&&{researchGoal:e.researchGoal},..."string"==typeof e.reasoning&&e.reasoning&&{reasoning:e.reasoning}}}(t);Ag(e,n,r.mainResearchGoal,r.researchGoal,r.reasoning).catch(()=>{})}const PR=yt({mainResearchGoal:ft().describe(t_.mainResearchGoal),researchGoal:ft().describe(t_.researchGoal),reasoning:ft().describe(t_.reasoning)}),FR=yt({researchGoal:ft().optional().describe("Goal of the search"),reasoning:ft().optional().describe("Why this approach helps reach the goal")});function IR(e,t,n={}){let{maxQueries:r=3,descriptionPrefix:i}=n,o=i??(3===r?t_.bulkQuery(e):`Queries for ${e} (1–${r} per call). Review schema before use.`);return yt({queries:_t(t).min(1).max(r).describe(o)})}const NR=PR.extend({keywordsToSearch:_t(ft()).min(1).max(5).describe(c_.search.keywordsToSearch),owner:ft().optional().describe(c_.scope.owner),repo:ft().optional().describe(c_.scope.repo),extension:ft().optional().describe(c_.filters.extension),filename:ft().optional().describe(c_.filters.filename),path:ft().optional().describe(c_.filters.path),match:wt(["file","path"]).optional().describe(c_.filters.match),limit:ht().int().min(1).max(100).default(10).optional().describe(c_.resultLimit.limit),page:ht().int().min(1).max(10).default(1).optional().describe(c_.pagination.page)}),LR=IR(e_.GITHUB_SEARCH_CODE,NR);function MR(){return"object"==typeof navigator&&"userAgent"in navigator?navigator.userAgent:"object"==typeof process&&void 0!==process.version?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:"<environment undetectable>"}function BR(e,t,n,r){if("function"!=typeof n)throw Error("method for before hook must be a function");return r||={},Array.isArray(t)?t.reverse().reduce((t,n)=>BR.bind(null,e,n,t,r),n)():Promise.resolve().then(()=>e.registry[t]?e.registry[t].reduce((e,t)=>t.hook.bind(null,e,r),n)():n(r))}function UR(e,t,n,r){let i=r;e.registry[n]||(e.registry[n]=[]),"before"===t&&(r=(e,t)=>Promise.resolve().then(i.bind(null,t)).then(e.bind(null,t))),"after"===t&&(r=(e,t)=>{let n;return Promise.resolve().then(e.bind(null,t)).then(e=>(n=e,i(n,t))).then(()=>n)}),"error"===t&&(r=(e,t)=>Promise.resolve().then(e.bind(null,t)).catch(e=>i(e,t))),e.registry[n].push({hook:r,orig:i})}function $R(e,t,n){if(!e.registry[t])return;let r=e.registry[t].map(e=>e.orig).indexOf(n);-1!==r&&e.registry[t].splice(r,1)}const zR=Function.bind,GR=zR.bind(zR);var jR=function(){let e={registry:{}},t=BR.bind(null,e);return function(e,t){let n=GR($R,null).apply(null,[t]);e.api={remove:n},e.remove=n,["before","error","after","wrap"].forEach(n=>{let r=[t,n];e[n]=e.api[n]=GR(UR,null).apply(null,r)})}(t,e),t},VR=`octokit-endpoint.js/0.0.0-development ${MR()}`;function qR(e,t){let n=Object.assign({},e);return Object.keys(t).forEach(r=>{(function(e){if("object"!=typeof e||!e||"[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);if(null===t)return!0;let n=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)})(t[r])&&r in e?n[r]=qR(e[r],t[r]):Object.assign(n,{[r]:t[r]})}),n}function HR(e){for(let t in e)void 0===e[t]&&delete e[t];return e}function KR(e,t,n){if("string"==typeof t){let[e,r]=t.split(" ");n=Object.assign(r?{method:e,url:r}:{url:e},n)}else n=Object.assign({},t);n.headers=function(e){return e?Object.keys(e).reduce((t,n)=>(t[n.toLowerCase()]=e[n],t),{}):{}}(n.headers),HR(n),HR(n.headers);let r=qR(e||{},n);return"/graphql"===n.url&&(e&&e.mediaType.previews?.length&&(r.mediaType.previews=e.mediaType.previews.filter(e=>!r.mediaType.previews.includes(e)).concat(r.mediaType.previews)),r.mediaType.previews=(r.mediaType.previews||[]).map(e=>e.replace(/-preview/,""))),r}var WR=/\{[^{}}]+\}/g;function XR(e){return e.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g,"").split(/,/)}function ZR(e,t){let n={__proto__:null};for(let r of Object.keys(e))-1===t.indexOf(r)&&(n[r]=e[r]);return n}function YR(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")),e}).join("")}function QR(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function JR(e,t,n){return t="+"===e||"#"===e?YR(t):QR(t),n?QR(n)+"="+t:t}function eD(e){return null!=e}function tD(e){return";"===e||"&"===e||"?"===e}function nD(e,t){var n=["+","#",".","/",";","?","&"];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,r,i){if(r){let e="",i=[];if(-1!==n.indexOf(r.charAt(0))&&(e=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(n){var r=/([^:\*]*)(?::(\d+)|(\*))?/.exec(n);i.push(function(e,t,n,r){var i=e[n],o=[];if(eD(i)&&""!==i)if("string"==typeof i||"number"==typeof i||"boolean"==typeof i)i=i.toString(),r&&"*"!==r&&(i=i.substring(0,parseInt(r,10))),o.push(JR(t,i,tD(t)?n:""));else if("*"===r)Array.isArray(i)?i.filter(eD).forEach(function(e){o.push(JR(t,e,tD(t)?n:""))}):Object.keys(i).forEach(function(e){eD(i[e])&&o.push(JR(t,i[e],e))});else{let e=[];Array.isArray(i)?i.filter(eD).forEach(function(n){e.push(JR(t,n))}):Object.keys(i).forEach(function(n){eD(i[n])&&(e.push(QR(n)),e.push(JR(t,i[n].toString())))}),tD(t)?o.push(QR(n)+"="+e.join(",")):0!==e.length&&o.push(e.join(","))}else";"===t?eD(i)&&o.push(QR(n)):""!==i||"&"!==t&&"?"!==t?""===i&&o.push(""):o.push(QR(n)+"=");return o}(t,e,r[1],r[2]||r[3]))}),e&&"+"!==e){var o=",";return"?"===e?o="&":"#"!==e&&(o=e),(0===i.length?"":e)+i.join(o)}return i.join(",")}return YR(i)}),"/"===e?e:e.replace(/\/$/,"")}function rD(e){let t,n=e.method.toUpperCase(),r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),i=Object.assign({},e.headers),o=ZR(e,["method","baseUrl","url","headers","request","mediaType"]),a=function(e){let t=e.match(WR);return t?t.map(XR).reduce((e,t)=>e.concat(t),[]):[]}(r);r=function(e){return{expand:nD.bind(null,e)}}(r).expand(o),/^http/.test(r)||(r=e.baseUrl+r);let s=ZR(o,Object.keys(e).filter(e=>a.includes(e)).concat("baseUrl"));return/application\/octet-stream/i.test(i.accept)||(e.mediaType.format&&(i.accept=i.accept.split(/,/).map(t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&e.mediaType.previews?.length&&(i.accept=(i.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g)||[]).concat(e.mediaType.previews).map(t=>`application/vnd.github.${t}-preview${e.mediaType.format?`.${e.mediaType.format}`:"+json"}`).join(","))),["GET","HEAD"].includes(n)?r=function(e,t){let n=/\?/.test(e)?"&":"?",r=Object.keys(t);return 0===r.length?e:e+n+r.map(e=>"q"===e?"q="+t.q.split("+").map(encodeURIComponent).join("+"):`${e}=${encodeURIComponent(t[e])}`).join("&")}(r,s):"data"in s?t=s.data:Object.keys(s).length&&(t=s),!i["content-type"]&&void 0!==t&&(i["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(n)&&void 0===t&&(t=""),Object.assign({method:n,url:r,headers:i},void 0===t?null:{body:t},e.request?{request:e.request}:null)}function iD(e,t,n){return rD(KR(e,t,n))}var oD=function e(t,n){let r=KR(t,n),i=iD.bind(null,r);return Object.assign(i,{DEFAULTS:r,defaults:e.bind(null,r),merge:KR.bind(null,r),parse:rD})}(null,{method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":VR},mediaType:{format:""}}),aD=M((e,t)=>{let n=function(){};n.prototype=Object.create(null);let r=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,i=/\\([\v\u0020-\u00ff])/gu,o=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,a={type:"",parameters:new n};function s(e){if("string"!=typeof e)throw TypeError("argument header is required and must be a string");let t=e.indexOf(";"),a=-1===t?e.trim():e.slice(0,t).trim();if(!1===o.test(a))throw TypeError("invalid media type");let s,c,l,u={type:a.toLowerCase(),parameters:new n};if(-1===t)return u;for(r.lastIndex=t;c=r.exec(e);){if(c.index!==t)throw TypeError("invalid parameter format");t+=c[0].length,s=c[1].toLowerCase(),l=c[2],'"'===l[0]&&(l=l.slice(1,l.length-1),i.test(l)&&(l=l.replace(i,"$1"))),u.parameters[s]=l}if(t!==e.length)throw TypeError("invalid parameter format");return u}function c(e){if("string"!=typeof e)return a;let t=e.indexOf(";"),s=-1===t?e.trim():e.slice(0,t).trim();if(!1===o.test(s))return a;let c,l,u,p={type:s.toLowerCase(),parameters:new n};if(-1===t)return p;for(r.lastIndex=t;l=r.exec(e);){if(l.index!==t)return a;t+=l[0].length,c=l[1].toLowerCase(),u=l[2],'"'===u[0]&&(u=u.slice(1,u.length-1),i.test(u)&&(u=u.replace(i,"$1"))),p.parameters[c]=u}return t===e.length?p:a}Object.freeze(a.parameters),Object.freeze(a),t.exports.default={parse:s,safeParse:c},t.exports.parse=s,t.exports.safeParse=c,t.exports.defaultContentType=a})(),sD=class extends Error{name;status;request;response;constructor(e,t,n){super(e,{cause:n.cause}),this.name="HttpError",this.status=Number.parseInt(t),Number.isNaN(this.status)&&(this.status=0),"response"in n&&(this.response=n.response);let r=Object.assign({},n.request);n.request.headers.authorization&&(r.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/(?<! ) .*$/," [REDACTED]")})),r.url=r.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]"),this.request=r}},cD={headers:{"user-agent":`octokit-request.js/10.0.7 ${MR()}`}},lD=()=>"";async function uD(e){let t=e.request?.fetch||globalThis.fetch;if(!t)throw Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");let n,r=e.request?.log||console,i=!1!==e.request?.parseSuccessResponseBody,o=function(e){if("object"!=typeof e||!e||"[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);if(null===t)return!0;let n=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}(e.body)||Array.isArray(e.body)?JSON.stringify(e.body):e.body,a=Object.fromEntries(Object.entries(e.headers).map(([e,t])=>[e,String(t)]));try{n=await t(e.url,{method:e.method,body:o,redirect:e.request?.redirect,headers:a,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(t){let n="Unknown Error";if(t instanceof Error){if("AbortError"===t.name)throw t.status=500,t;n=t.message,"TypeError"===t.name&&"cause"in t&&(t.cause instanceof Error?n=t.cause.message:"string"==typeof t.cause&&(n=t.cause))}let r=new sD(n,500,{request:e});throw r.cause=t,r}let s=n.status,c=n.url,l={};for(let[e,t]of n.headers)l[e]=t;let u={url:c,status:s,headers:l,data:""};if("deprecation"in l){let t=l.link&&l.link.match(/<([^<>]+)>; rel="deprecation"/),n=t&&t.pop();r.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${l.sunset}${n?`. See ${n}`:""}`)}if(204===s||205===s)return u;if("HEAD"===e.method){if(s<400)return u;throw new sD(n.statusText,s,{response:u,request:e})}if(304===s)throw u.data=await pD(n),new sD("Not modified",s,{response:u,request:e});if(s>=400)throw u.data=await pD(n),new sD(function(e){if("string"==typeof e)return e;if(e instanceof ArrayBuffer)return"Unknown error";if("message"in e){let t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map(e=>JSON.stringify(e)).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}(u.data),s,{response:u,request:e});return u.data=i?await pD(n):n.body,u}async function pD(e){let t=e.headers.get("content-type");if(!t)return e.text().catch(lD);let n=(0,aD.safeParse)(t);if(!function(e){return"application/json"===e.type||"application/scim+json"===e.type}(n))return n.type.startsWith("text/")||"utf-8"===n.parameters.charset?.toLowerCase()?e.text().catch(lD):e.arrayBuffer().catch(()=>new ArrayBuffer(0));{let t="";try{return t=await e.text(),JSON.parse(t)}catch{return t}}}var dD=function e(t,n){let r=t.defaults(n);return Object.assign(function(t,n){let i=r.merge(t,n);if(!i.request||!i.request.hook)return uD(r.parse(i));let o=(e,t)=>uD(r.parse(r.merge(e,t)));return Object.assign(o,{endpoint:r,defaults:e.bind(null,r)}),i.request.hook(o,i)},{endpoint:r,defaults:e.bind(null,r)})}(oD,cD),mD=class extends Error{constructor(e,t,n){super(function(e){return"Request failed due to following response errors:\n"+e.errors.map(e=>` - ${e.message}`).join("\n")}(n)),this.request=e,this.headers=t,this.response=n,this.errors=n.errors,this.data=n.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},fD=["method","baseUrl","url","headers","request","query","mediaType","operationName"],hD=["query","method","url"],gD=/\/api\/v3\/?$/;function _D(e,t){let n=e.defaults(t);return Object.assign((e,t)=>function(e,t,n){if(n){if("string"==typeof t&&"query"in n)return Promise.reject(Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let e in n)if(hD.includes(e))return Promise.reject(Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}let r="string"==typeof t?Object.assign({query:t},n):t,i=Object.keys(r).reduce((e,t)=>fD.includes(t)?(e[t]=r[t],e):(e.variables||={},e.variables[t]=r[t],e),{}),o=r.baseUrl||e.endpoint.DEFAULTS.baseUrl;return gD.test(o)&&(i.url=o.replace(gD,"/api/graphql")),e(i).then(e=>{if(e.data.errors){let t={};for(let n of Object.keys(e.headers))t[n]=e.headers[n];throw new mD(i,t,e.data)}return e.data.data})}(n,e,t),{defaults:_D.bind(null,n),endpoint:n.endpoint})}_D(dD,{headers:{"user-agent":`octokit-graphql.js/0.0.0-development ${MR()}`},method:"POST",url:"/graphql"});var yD="(?:[a-zA-Z0-9_-]+)",vD=RegExp(`^${yD}\\.${yD}\\.${yD}$`),bD=vD.test.bind(vD);async function ED(e){let t=bD(e),n=e.startsWith("v1.")||e.startsWith("ghs_"),r=e.startsWith("ghu_");return{type:"token",token:e,tokenType:t?"app":n?"installation":r?"user-to-server":"oauth"}}async function xD(e,t,n,r){let i=t.endpoint.merge(n,r);return i.headers.authorization=function(e){return 3===e.split(/\./).length?`bearer ${e}`:`token ${e}`}(e),t(i)}var wD=function(e){if(!e)throw Error("[@octokit/auth-token] No token passed to createTokenAuth");if("string"!=typeof e)throw Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(ED.bind(null,e),{hook:xD.bind(null,e)})};const AD="7.0.6",TD=()=>{},SD=console.warn.bind(console),kD=console.error.bind(console),CD=`octokit-core.js/${AD} ${MR()}`;var OD=class{static VERSION=AD;static defaults(e){return class extends(this){constructor(...t){let n=t[0]||{};super("function"!=typeof e?Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null):e(n))}}}static plugins=[];static plugin(...e){let t=this.plugins;return class extends(this){static plugins=t.concat(e.filter(e=>!t.includes(e)))}}constructor(e={}){let t=new jR,n={baseUrl:dD.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};if(n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${CD}`:CD,e.baseUrl&&(n.baseUrl=e.baseUrl),e.previews&&(n.mediaType.previews=e.previews),e.timeZone&&(n.headers["time-zone"]=e.timeZone),this.request=dD.defaults(n),this.graphql=function(e){return _D(e,{method:"POST",url:"/graphql"})}(this.request).defaults(n),this.log=function(e={}){return"function"!=typeof e.debug&&(e.debug=TD),"function"!=typeof e.info&&(e.info=TD),"function"!=typeof e.warn&&(e.warn=SD),"function"!=typeof e.error&&(e.error=kD),e}(e.log),this.hook=t,e.authStrategy){let{authStrategy:n,...r}=e,i=n(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:r},e.auth));t.wrap("request",i.hook),this.auth=i}else if(e.auth){let n=wD(e.auth);t.wrap("request",n.hook),this.auth=n}else this.auth=async()=>({type:"unauthenticated"});let r=this.constructor;for(let t=0;t<r.plugins.length;++t)Object.assign(this,r.plugins[t](this,e))}request;graphql;log;hook;auth};function RD(e,t,n){let r="function"==typeof t?t.endpoint(n):e.request.endpoint(t,n),i="function"==typeof t?t:e.request,o=r.method,a=r.headers,s=r.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!s)return{done:!0};try{let e=function(e){if(!e.data)return{...e,data:[]};if(!("total_count"in e.data)&&!("total_commits"in e.data)||"url"in e.data)return e;let t=e.data.incomplete_results,n=e.data.repository_selection,r=e.data.total_count,i=e.data.total_commits;delete e.data.incomplete_results,delete e.data.repository_selection,delete e.data.total_count,delete e.data.total_commits;let o=Object.keys(e.data)[0];return e.data=e.data[o],void 0!==t&&(e.data.incomplete_results=t),void 0!==n&&(e.data.repository_selection=n),e.data.total_count=r,e.data.total_commits=i,e}(await i({method:o,url:s,headers:a}));if(s=((e.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!s&&"total_commits"in e.data){let t=new URL(e.url),n=t.searchParams,r=parseInt(n.get("page")||"1",10);r*parseInt(n.get("per_page")||"250",10)<e.data.total_commits&&(n.set("page",String(r+1)),s=t.toString())}return{value:e}}catch(e){if(409!==e.status)throw e;return s="",{value:{status:200,headers:{},data:[]}}}}})}}function DD(e,t,n,r){return"function"==typeof n&&(r=n,n=void 0),PD(e,[],RD(e,t,n)[Symbol.asyncIterator](),r)}function PD(e,t,n,r){return n.next().then(i=>{if(i.done)return t;let o=!1;return t=t.concat(r?r(i.value,function(){o=!0}):i.value.data),o?t:PD(e,t,n,r)})}var FD=Object.assign(DD,{iterator:RD});function ID(e){return{paginate:Object.assign(DD.bind(null,e),{iterator:RD.bind(null,e)})}}ID.VERSION="0.0.0-development";var ND=class extends Error{constructor(e,t){super(((e,t)=>`The cursor at "${e.join(",")}" did not change its value "${t}" after a page transition. Please make sure your that your query is set up correctly.`)(e.pathInQuery,t)),this.pageInfo=e,this.cursorValue=t,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="MissingCursorChangeError"},LD=class extends Error{constructor(e){super(`No pageInfo property found in response. Please make sure to specify the pageInfo in your query. Response-Data: ${JSON.stringify(e,null,2)}`),this.response=e,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="MissingPageInfo"},MD=e=>"[object Object]"===Object.prototype.toString.call(e);function BD(e){let t=UD(e,"pageInfo");if(0===t.length)throw new LD(e);return t}var UD=(e,t,n=[])=>{for(let r of Object.keys(e)){let i=[...n,r],o=e[r];if(MD(o)){if(o.hasOwnProperty(t))return i;let e=UD(o,t,i);if(e.length>0)return e}}return[]},$D=(e,t)=>t.reduce((e,t)=>e[t],e),zD=(e,t,n)=>{let r=t[t.length-1],i=$D(e,[...t].slice(0,-1));i[r]="function"==typeof n?n(i[r]):n},GD=e=>e.hasOwnProperty("hasNextPage"),jD=e=>(t,n={})=>{let r=!0,i={...n};return{[Symbol.asyncIterator]:()=>({async next(){if(!r)return{done:!0,value:{}};let n=await e.graphql(t,i),o=(e=>{let t=BD(e);return{pathInQuery:t,pageInfo:$D(e,[...t,"pageInfo"])}})(n),a=(e=>GD(e)?e.endCursor:e.startCursor)(o.pageInfo);if(r=(e=>GD(e)?e.hasNextPage:e.hasPreviousPage)(o.pageInfo),r&&a===i.cursor)throw new ND(o,a);return i={...i,cursor:a},{done:!1,value:n}}})}},VD=(e,t)=>{if(0===Object.keys(e).length)return Object.assign(e,t);let n=BD(e),r=[...n,"nodes"],i=$D(t,r);i&&zD(e,r,e=>[...e,...i]);let o=[...n,"edges"],a=$D(t,o);a&&zD(e,o,e=>[...e,...a]);let s=[...n,"pageInfo"];return zD(e,s,$D(t,s)),e},qD=e=>{let t=jD(e);return async(e,n={})=>{let r={};for await(let i of t(e,n))r=VD(r,i);return r}};const HD=new Map;for(let[e,t]of Object.entries({actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createHostedRunnerForOrg:["POST /orgs/{org}/actions/hosted-runners"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteCustomImageFromOrg:["DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}"],deleteCustomImageVersionFromOrg:["DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}"],deleteEnvironmentSecret:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],deleteHostedRunnerForOrg:["DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomImageForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}"],getCustomImageVersionForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getHostedRunnerForOrg:["GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],getHostedRunnersGithubOwnedImagesForOrg:["GET /orgs/{org}/actions/hosted-runners/images/github-owned"],getHostedRunnersLimitsForOrg:["GET /orgs/{org}/actions/hosted-runners/limits"],getHostedRunnersMachineSpecsForOrg:["GET /orgs/{org}/actions/hosted-runners/machine-sizes"],getHostedRunnersPartnerImagesForOrg:["GET /orgs/{org}/actions/hosted-runners/images/partner"],getHostedRunnersPlatformsForOrg:["GET /orgs/{org}/actions/hosted-runners/platforms"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listCustomImageVersionsForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions"],listCustomImagesForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom"],listEnvironmentSecrets:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables"],listGithubHostedRunnersInGroupForOrg:["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"],listHostedRunnersForOrg:["GET /orgs/{org}/actions/hosted-runners"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],updateHostedRunnerForOrg:["PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubBillingPremiumRequestUsageReportOrg:["GET /organizations/{org}/settings/billing/premium_request/usage"],getGithubBillingPremiumRequestUsageReportUser:["GET /users/{username}/settings/billing/premium_request/usage"],getGithubBillingUsageReportOrg:["GET /organizations/{org}/settings/billing/usage"],getGithubBillingUsageReportUser:["GET /users/{username}/settings/billing/usage"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},campaigns:{createCampaign:["POST /orgs/{org}/campaigns"],deleteCampaign:["DELETE /orgs/{org}/campaigns/{campaign_number}"],getCampaignSummary:["GET /orgs/{org}/campaigns/{campaign_number}"],listOrgCampaigns:["GET /orgs/{org}/campaigns"],updateCampaign:["PATCH /orgs/{org}/campaigns/{campaign_number}"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{commitAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits"],createAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],createVariantAnalysis:["POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses"],deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],deleteCodeqlDatabase:["DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getAutofix:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],getVariantAnalysis:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}"],getVariantAnalysisRepoTask:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codeSecurity:{attachConfiguration:["POST /orgs/{org}/code-security/configurations/{configuration_id}/attach"],attachEnterpriseConfiguration:["POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach"],createConfiguration:["POST /orgs/{org}/code-security/configurations"],createConfigurationForEnterprise:["POST /enterprises/{enterprise}/code-security/configurations"],deleteConfiguration:["DELETE /orgs/{org}/code-security/configurations/{configuration_id}"],deleteConfigurationForEnterprise:["DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],detachConfiguration:["DELETE /orgs/{org}/code-security/configurations/detach"],getConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}"],getConfigurationForRepository:["GET /repos/{owner}/{repo}/code-security-configuration"],getConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations"],getConfigurationsForOrg:["GET /orgs/{org}/code-security/configurations"],getDefaultConfigurations:["GET /orgs/{org}/code-security/configurations/defaults"],getDefaultConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/defaults"],getRepositoriesForConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories"],getRepositoriesForEnterpriseConfiguration:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories"],getSingleConfigurationForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],setConfigurationAsDefault:["PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults"],setConfigurationAsDefaultForEnterprise:["PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults"],updateConfiguration:["PATCH /orgs/{org}/code-security/configurations/{configuration_id}"],updateEnterpriseConfiguration:["PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],copilotMetricsForOrganization:["GET /orgs/{org}/copilot/metrics"],copilotMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/metrics"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},credentials:{revoke:["POST /credentials/revoke"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],repositoryAccessForOrg:["GET /organizations/{org}/dependabot/repository-access"],setRepositoryAccessDefaultLevel:["PUT /organizations/{org}/dependabot/repository-access/default-level"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],updateRepositoryAccessForOrg:["PATCH /organizations/{org}/dependabot/repository-access"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},enterpriseTeamMemberships:{add:["PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"],bulkAdd:["POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add"],bulkRemove:["POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove"],get:["GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"],list:["GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships"],remove:["DELETE /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"]},enterpriseTeamOrganizations:{add:["PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"],bulkAdd:["POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add"],bulkRemove:["POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove"],delete:["DELETE /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"],getAssignment:["GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"],getAssignments:["GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations"]},enterpriseTeams:{create:["POST /enterprises/{enterprise}/teams"],delete:["DELETE /enterprises/{enterprise}/teams/{team_slug}"],get:["GET /enterprises/{enterprise}/teams/{team_slug}"],list:["GET /enterprises/{enterprise}/teams"],update:["PATCH /enterprises/{enterprise}/teams/{team_slug}"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},hostedCompute:{createNetworkConfigurationForOrg:["POST /orgs/{org}/settings/network-configurations"],deleteNetworkConfigurationFromOrg:["DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}"],getNetworkConfigurationForOrg:["GET /orgs/{org}/settings/network-configurations/{network_configuration_id}"],getNetworkSettingsForOrg:["GET /orgs/{org}/settings/network-settings/{network_settings_id}"],listNetworkConfigurationsForOrg:["GET /orgs/{org}/settings/network-configurations"],updateNetworkConfigurationForOrg:["PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addBlockedByDependency:["POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],addSubIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],getParent:["GET /repos/{owner}/{repo}/issues/{issue_number}/parent"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listDependenciesBlockedBy:["GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"],listDependenciesBlocking:["GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],listSubIssues:["GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeDependencyBlockedBy:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],removeSubIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue"],reprioritizeSubIssue:["PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team"}],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createArtifactStorageRecord:["POST /orgs/{org}/artifacts/metadata/storage-record"],createInvitation:["POST /orgs/{org}/invitations"],createIssueType:["POST /orgs/{org}/issue-types"],createWebhook:["POST /orgs/{org}/hooks"],customPropertiesForOrgsCreateOrUpdateOrganizationValues:["PATCH /organizations/{org}/org-properties/values"],customPropertiesForOrgsGetOrganizationValues:["GET /organizations/{org}/org-properties/values"],customPropertiesForReposCreateOrUpdateOrganizationDefinition:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],customPropertiesForReposCreateOrUpdateOrganizationDefinitions:["PATCH /orgs/{org}/properties/schema"],customPropertiesForReposCreateOrUpdateOrganizationValues:["PATCH /orgs/{org}/properties/values"],customPropertiesForReposDeleteOrganizationDefinition:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],customPropertiesForReposGetOrganizationDefinition:["GET /orgs/{org}/properties/schema/{custom_property_name}"],customPropertiesForReposGetOrganizationDefinitions:["GET /orgs/{org}/properties/schema"],customPropertiesForReposGetOrganizationValues:["GET /orgs/{org}/properties/values"],delete:["DELETE /orgs/{org}"],deleteAttestationsBulk:["POST /orgs/{org}/attestations/delete-request"],deleteAttestationsById:["DELETE /orgs/{org}/attestations/{attestation_id}"],deleteAttestationsBySubjectDigest:["DELETE /orgs/{org}/attestations/digest/{subject_digest}"],deleteIssueType:["DELETE /orgs/{org}/issue-types/{issue_type_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],disableSelectedRepositoryImmutableReleasesOrganization:["DELETE /orgs/{org}/settings/immutable-releases/repositories/{repository_id}"],enableSelectedRepositoryImmutableReleasesOrganization:["PUT /orgs/{org}/settings/immutable-releases/repositories/{repository_id}"],get:["GET /orgs/{org}"],getImmutableReleasesSettings:["GET /orgs/{org}/settings/immutable-releases"],getImmutableReleasesSettingsRepositories:["GET /orgs/{org}/settings/immutable-releases/repositories"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getOrgRulesetHistory:["GET /orgs/{org}/rulesets/{ruleset_id}/history"],getOrgRulesetVersion:["GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listArtifactStorageRecords:["GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records"],listAttestationRepositories:["GET /orgs/{org}/attestations/repositories"],listAttestations:["GET /orgs/{org}/attestations/{subject_digest}"],listAttestationsBulk:["POST /orgs/{org}/attestations/bulk-list{?per_page,before,after}"],listBlockedUsers:["GET /orgs/{org}/blocks"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listIssueTypes:["GET /orgs/{org}/issue-types"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers",{},{deprecated:"octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams"}],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team"}],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setImmutableReleasesSettings:["PUT /orgs/{org}/settings/immutable-releases"],setImmutableReleasesSettingsRepositories:["PUT /orgs/{org}/settings/immutable-releases/repositories"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateIssueType:["PUT /orgs/{org}/issue-types/{issue_type_id}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},privateRegistries:{createOrgPrivateRegistry:["POST /orgs/{org}/private-registries"],deleteOrgPrivateRegistry:["DELETE /orgs/{org}/private-registries/{secret_name}"],getOrgPrivateRegistry:["GET /orgs/{org}/private-registries/{secret_name}"],getOrgPublicKey:["GET /orgs/{org}/private-registries/public-key"],listOrgPrivateRegistries:["GET /orgs/{org}/private-registries"],updateOrgPrivateRegistry:["PATCH /orgs/{org}/private-registries/{secret_name}"]},projects:{addItemForOrg:["POST /orgs/{org}/projectsV2/{project_number}/items"],addItemForUser:["POST /users/{username}/projectsV2/{project_number}/items"],deleteItemForOrg:["DELETE /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],deleteItemForUser:["DELETE /users/{username}/projectsV2/{project_number}/items/{item_id}"],getFieldForOrg:["GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id}"],getFieldForUser:["GET /users/{username}/projectsV2/{project_number}/fields/{field_id}"],getForOrg:["GET /orgs/{org}/projectsV2/{project_number}"],getForUser:["GET /users/{username}/projectsV2/{project_number}"],getOrgItem:["GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],getUserItem:["GET /users/{username}/projectsV2/{project_number}/items/{item_id}"],listFieldsForOrg:["GET /orgs/{org}/projectsV2/{project_number}/fields"],listFieldsForUser:["GET /users/{username}/projectsV2/{project_number}/fields"],listForOrg:["GET /orgs/{org}/projectsV2"],listForUser:["GET /users/{username}/projectsV2"],listItemsForOrg:["GET /orgs/{org}/projectsV2/{project_number}/items"],listItemsForUser:["GET /users/{username}/projectsV2/{project_number}/items"],updateItemForOrg:["PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],updateItemForUser:["PATCH /users/{username}/projectsV2/{project_number}/items/{item_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkImmutableReleases:["GET /repos/{owner}/{repo}/immutable-releases"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAttestation:["POST /repos/{owner}/{repo}/attestations"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],customPropertiesForReposCreateOrUpdateRepositoryValues:["PATCH /repos/{owner}/{repo}/properties/values"],customPropertiesForReposGetRepositoryValues:["GET /repos/{owner}/{repo}/properties/values"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disableImmutableReleases:["DELETE /repos/{owner}/{repo}/immutable-releases"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enableImmutableReleases:["PUT /repos/{owner}/{repo}/immutable-releases"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesetHistory:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history"],getRepoRulesetVersion:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAttestations:["GET /repos/{owner}/{repo}/attestations/{subject_digest}"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{createPushProtectionBypass:["POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses"],getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],getScanHistory:["GET /repos/{owner}/{repo}/secret-scanning/scan-history"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],listOrgPatternConfigs:["GET /orgs/{org}/secret-scanning/pattern-configurations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],updateOrgPatternConfigs:["PATCH /orgs/{org}/secret-scanning/pattern-configurations"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteAttestationsBulk:["POST /users/{username}/attestations/delete-request"],deleteAttestationsById:["DELETE /users/{username}/attestations/{attestation_id}"],deleteAttestationsBySubjectDigest:["DELETE /users/{username}/attestations/digest/{subject_digest}"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getById:["GET /user/{account_id}"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listAttestations:["GET /users/{username}/attestations/{subject_digest}"],listAttestationsBulk:["POST /users/{username}/attestations/bulk-list{?per_page,before,after}"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}}))for(let[n,r]of Object.entries(t)){let[t,i,o]=r,[a,s]=t.split(/ /),c=Object.assign({method:a,url:s},i);HD.has(e)||HD.set(e,new Map),HD.get(e).set(n,{scope:e,methodName:n,endpointDefaults:c,decorations:o})}const KD={has:({scope:e},t)=>HD.get(e).has(t),getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:!0,writable:!0,enumerable:!0}},defineProperty:(e,t,n)=>(Object.defineProperty(e.cache,t,n),!0),deleteProperty:(e,t)=>(delete e.cache[t],!0),ownKeys:({scope:e})=>[...HD.get(e).keys()],set:(e,t,n)=>e.cache[t]=n,get({octokit:e,scope:t,cache:n},r){if(n[r])return n[r];let i=HD.get(t).get(r);if(!i)return;let{endpointDefaults:o,decorations:a}=i;return n[r]=a?function(e,t,n,r,i){let o=e.request.defaults(r);return Object.assign(function(...r){let a=o.endpoint.merge(...r);if(i.mapToData)return a=Object.assign({},a,{data:a[i.mapToData],[i.mapToData]:void 0}),o(a);if(i.renamed){let[r,o]=i.renamed;e.log.warn(`octokit.${t}.${n}() has been renamed to octokit.${r}.${o}()`)}if(i.deprecated&&e.log.warn(i.deprecated),i.renamedParameters){let a=o.endpoint.merge(...r);for(let[r,o]of Object.entries(i.renamedParameters))r in a&&(e.log.warn(`"${r}" parameter is deprecated for "octokit.${t}.${n}()". Use "${o}" instead`),o in a||(a[o]=a[r]),delete a[r]);return o(a)}return o(...r)},o)}(e,t,r,o,a):e.request.defaults(o),n[r]}};function WD(e){let t={};for(let n of HD.keys())t[n]=new Proxy({octokit:e,scope:n,cache:{}},KD);return t}function XD(e){return{rest:WD(e)}}XD.VERSION="17.0.0";var ZD=M((e,t)=>{!function(n,r){"object"==typeof e&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):n.Bottleneck=r()}(e,function(){var e,t,n,r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i={load:function(e,t,n={}){var r,i;for(r in t)i=t[r],n[r]=e[r]??i;return n},overwrite:function(e,t,n={}){var r,i;for(r in e)i=e[r],void 0!==t[r]&&(n[r]=i);return n}},o=class{constructor(e,t){this.incr=e,this.decr=t,this._first=null,this._last=null,this.length=0}push(e){var t;this.length++,"function"==typeof this.incr&&this.incr(),t={value:e,prev:this._last,next:null},null==this._last?this._first=this._last=t:(this._last.next=t,this._last=t)}shift(){var e;if(null!=this._first)return this.length--,"function"==typeof this.decr&&this.decr(),e=this._first.value,null==(this._first=this._first.next)?this._last=null:this._first.prev=null,e}first(){if(null!=this._first)return this._first.value}getArray(){for(var e,t=this._first,n=[];null!=t;)n.push((e=t,t=t.next,e.value));return n}forEachShift(e){for(var t=this.shift();null!=t;)e(t),t=this.shift()}debug(){for(var e,t=this._first,n=[];null!=t;)n.push((e=t,t=t.next,{value:e.value,prev:e.prev?.value,next:e.next?.value}));return n}},a=class{constructor(e){if(this.instance=e,this._events={},null!=this.instance.on||null!=this.instance.once||null!=this.instance.removeAllListeners)throw Error("An Emitter already exists for this object");this.instance.on=(e,t)=>this._addListener(e,"many",t),this.instance.once=(e,t)=>this._addListener(e,"once",t),this.instance.removeAllListeners=(e=null)=>null==e?this._events={}:delete this._events[e]}_addListener(e,t,n){var r;return(r=this._events)[e]??(r[e]=[]),this._events[e].push({cb:n,status:t}),this.instance}listenerCount(e){return null==this._events[e]?0:this._events[e].length}async trigger(e,...t){var n,r;try{return"debug"!==e&&this.trigger("debug",`Event triggered: ${e}`,t),null==this._events[e]?void 0:(this._events[e]=this._events[e].filter(function(e){return"none"!==e.status}),r=this._events[e].map(async e=>{var n,r;if("none"!==e.status){"once"===e.status&&(e.status="none");try{return r="function"==typeof e.cb?e.cb(...t):void 0,"function"==typeof r?.then?await r:r}catch(e){return n=e,this.trigger("error",n),null}}}),(await Promise.all(r)).find(function(e){return null!=e}))}catch(e){return n=e,this.trigger("error",n),null}}},s=o,c=a,l=class extends Error{};n=i,e=l,t=class{constructor(e,t,r,i,o,a,s,c){this.task=e,this.args=t,this.rejectOnDrop=o,this.Events=a,this._states=s,this.Promise=c,this.options=n.load(r,i),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===i.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((e,t)=>{this._resolve=e,this._reject=t}),this.retryCount=0}_sanitizePriority(e){var t=~~e===e?e:5;return t<0?0:t>9?9:t}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:t,message:n="This job has been dropped by Bottleneck"}={}){return!!this._states.remove(this.options.id)&&(this.rejectOnDrop&&this._reject(t??new e(n)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0)}_assertStatus(t){var n=this._states.jobStatus(this.options.id);if(n!==t&&("DONE"!==t||null!==n))throw new e(`Invalid job status ${n}, expected ${t}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(e,t){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:e,blocked:t})}doRun(){return 0===this.retryCount?(this._assertStatus("QUEUED"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(e,t,n,r){var i,o,a;0===this.retryCount?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),o={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",o);try{if(a=await(null==e?this.task(...this.args):e.schedule(this.options,this.task,...this.args)),t())return this.doDone(o),await r(this.options,o),this._assertStatus("DONE"),this._resolve(a)}catch(e){return i=e,this._onFailure(i,o,t,n,r)}}doExpire(t,n,r){var i,o;return this._states.jobStatus("RUNNING"===this.options.id)&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),o={args:this.args,options:this.options,retryCount:this.retryCount},i=new e(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(i,o,t,n,r)}async _onFailure(e,t,n,r,i){var o,a;if(n())return null==(o=await this.Events.trigger("failed",e,t))?(this.doDone(t),await i(this.options,t),this._assertStatus("DONE"),this._reject(e)):(a=~~o,this.Events.trigger("retry",`Retrying ${this.options.id} after ${a} ms`,t),this.retryCount++,r(a))}doDone(e){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",e)}};var u,p,d=t,m=i;u=l,p=class{constructor(e,t,n){this.instance=e,this.storeOptions=t,this.clientId=this.instance._randomIndex(),m.load(n,n,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var e;return null==this.heartbeat&&(null!=this.storeOptions.reservoirRefreshInterval&&null!=this.storeOptions.reservoirRefreshAmount||null!=this.storeOptions.reservoirIncreaseInterval&&null!=this.storeOptions.reservoirIncreaseAmount)?"function"==typeof(e=this.heartbeat=setInterval(()=>{var e,t,n,r,i=Date.now();if(null!=this.storeOptions.reservoirRefreshInterval&&i>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=i,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),null!=this.storeOptions.reservoirIncreaseInterval&&i>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&(({reservoirIncreaseAmount:e,reservoirIncreaseMaximum:n,reservoir:r}=this.storeOptions),this._lastReservoirIncrease=i,(t=null==n?e:Math.min(e,n-r))>0))return this.storeOptions.reservoir+=t,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref?e.unref():void 0:clearInterval(this.heartbeat)}async __publish__(e){return await this.yieldLoop(),this.instance.Events.trigger("message",e.toString())}async __disconnect__(e){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(e=0){return new this.Promise(function(t,n){return setTimeout(t,e)})}computePenalty(){return this.storeOptions.penalty??(15*this.storeOptions.minTime||5e3)}async __updateSettings__(e){return await this.yieldLoop(),m.overwrite(e,e,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(e){return await this.yieldLoop(),this._nextRequest+this.timeout<e}computeCapacity(){var e,t;return({maxConcurrent:e,reservoir:t}=this.storeOptions),null!=e&&null!=t?Math.min(e-this._running,t):null==e?t??null:e-this._running}conditionsCheck(e){var t=this.computeCapacity();return null==t||e<=t}async __incrementReservoir__(e){var t;return await this.yieldLoop(),t=this.storeOptions.reservoir+=e,this.instance._drainAll(this.computeCapacity()),t}async __currentReservoir__(){return await this.yieldLoop(),this.storeOptions.reservoir}isBlocked(e){return this._unblockTime>=e}check(e,t){return this.conditionsCheck(e)&&this._nextRequest-t<=0}async __check__(e){var t;return await this.yieldLoop(),t=Date.now(),this.check(e,t)}async __register__(e,t,n){var r,i;return await this.yieldLoop(),r=Date.now(),this.conditionsCheck(t)?(this._running+=t,null!=this.storeOptions.reservoir&&(this.storeOptions.reservoir-=t),i=Math.max(this._nextRequest-r,0),this._nextRequest=r+i+this.storeOptions.minTime,{success:!0,wait:i,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return 3===this.storeOptions.strategy}async __submit__(e,t){var n,r,i;if(await this.yieldLoop(),null!=this.storeOptions.maxConcurrent&&t>this.storeOptions.maxConcurrent)throw new u(`Impossible to add a job having a weight of ${t} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return r=Date.now(),i=null!=this.storeOptions.highWater&&e===this.storeOptions.highWater&&!this.check(t,r),(n=this.strategyIsBlock()&&(i||this.isBlocked(r)))&&(this._unblockTime=r+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:i,blocked:n,strategy:this.storeOptions.strategy}}async __free__(e,t){return await this.yieldLoop(),this._running-=t,this._done+=t,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var f,h,g,_,y,v=p,b=l,E=o,x="2.19.5",w={version:x},A=Object.freeze({version:x,default:w}),T=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),S=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),k=i;f=a,_=T,g=S,y=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),h=function(){class e{constructor(e={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=e,k.load(this.limiterOptions,this.defaults,this),this.Events=new f(this),this.instances={},this.Bottleneck=V,this._startAutoCleanup(),this.sharedConnection=null!=this.connection,this.connection??("redis"===this.limiterOptions.datastore?this.connection=new _(Object.assign({},this.limiterOptions,{Events:this.Events})):"ioredis"===this.limiterOptions.datastore&&(this.connection=new g(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(e=""){return this.instances[e]??(()=>{var t=this.instances[e]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${e}`,timeout:this.timeout,connection:this.connection}));return this.Events.trigger("created",t,e),t})()}async deleteKey(e=""){var t,n=this.instances[e];return this.connection&&(t=await this.connection.__runCommand__(["del",...y.allKeys(`${this.id}-${e}`)])),null!=n&&(delete this.instances[e],await n.disconnect()),null!=n||t>0}limiters(){var e,t,n=this.instances,r=[];for(e in n)t=n[e],r.push({key:e,limiter:t});return r}keys(){return Object.keys(this.instances)}async clusterKeys(){var e,t,n,r,i,o,a,s;if(null==this.connection)return this.Promise.resolve(this.keys());for(i=[],e=null,s=`b_${this.id}-`.length;0!==e;)for([a,t]=await this.connection.__runCommand__(["scan",e??0,"match",`b_${this.id}-*_settings`,"count",1e4]),e=~~a,n=0,o=t.length;n<o;n++)r=t[n],i.push(r.slice(s,-9));return i}_startAutoCleanup(){var e;return clearInterval(this.interval),"function"==typeof(e=this.interval=setInterval(async()=>{var e,t,n,r,i,o=Date.now();for(t in r=[],n=this.instances){i=n[t];try{await i._store.__groupCheck__(o)?r.push(this.deleteKey(t)):r.push(void 0)}catch(t){e=t,r.push(i.Events.trigger("error",e))}}return r},this.timeout/2)).unref?e.unref():void 0}updateSettings(e={}){if(k.overwrite(e,this.defaults,this),k.overwrite(e,e,this.limiterOptions),null!=e.timeout)return this._startAutoCleanup()}disconnect(e=!0){if(!this.sharedConnection)return this.connection?.disconnect(e)}}return e.prototype.defaults={timeout:3e5,connection:null,Promise:Promise,id:"group-key"},e}.call(r);var C,O,R=h,D=i;O=a,C=function(){class e{constructor(e={}){this.options=e,D.load(this.options,this.defaults,this),this.Events=new O(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((e,t)=>this._resolve=e)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(e){var t;return this._arr.push(e),t=this._promise,this._arr.length===this.maxSize?this._flush():null!=this.maxTime&&1===this._arr.length&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),t}}return e.prototype.defaults={maxTime:null,maxSize:null,Promise:Promise},e}.call(r);var P,F,I,N,L,M,B,U,$,z=C,G=function(e){return e&&e.default||e}(A),j=[].splice;$=i,L=class{constructor(e){this.Events=new c(this),this._length=0,this._lists=function(){var t,n,r=[];for(t=1,n=e;1<=n?t<=n:t>=n;1<=n?++t:--t)r.push(new s(()=>this.incr(),()=>this.decr()));return r}.call(this)}incr(){if(0===this._length++)return this.Events.trigger("leftzero")}decr(){if(0===--this._length)return this.Events.trigger("zero")}push(e){return this._lists[e.options.priority].push(e)}queued(e){return null==e?this._length:this._lists[e].length}shiftAll(e){return this._lists.forEach(function(t){return t.forEachShift(e)})}getFirst(e=this._lists){var t,n,r;for(t=0,n=e.length;t<n;t++)if((r=e[t]).length>0)return r;return[]}shiftLastFrom(e){return this.getFirst(this._lists.slice(e).reverse()).shift()}},I=d,N=v,M=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),F=a,B=class{constructor(e){this.status=e,this._jobs={},this.counts=this.status.map(function(){return 0})}next(e){var t=this._jobs[e],n=t+1;return null!=t&&n<this.status.length?(this.counts[t]--,this.counts[n]++,this._jobs[e]++):null!=t?(this.counts[t]--,delete this._jobs[e]):void 0}start(e){return this._jobs[e]=0,this.counts[0]++}remove(e){var t=this._jobs[e];return null!=t&&(this.counts[t]--,delete this._jobs[e]),null!=t}jobStatus(e){return this.status[this._jobs[e]]??null}statusJobs(e){var t,n,r,i;if(null!=e){if((n=this.status.indexOf(e))<0)throw new b(`status must be one of ${this.status.join(", ")}`);for(t in i=[],r=this._jobs)r[t]===n&&i.push(t);return i}return Object.keys(this._jobs)}statusCounts(){return this.counts.reduce((e,t,n)=>(e[this.status[n]]=t,e),{})}},U=class{constructor(e,t){this.schedule=this.schedule.bind(this),this.name=e,this.Promise=t,this._running=0,this._queue=new E}isEmpty(){return 0===this._queue.length}async _tryToRun(){var e,t,n,r,i,o,a;if(this._running<1&&this._queue.length>0)return this._running++,({task:a,args:e,resolve:i,reject:r}=this._queue.shift()),t=await async function(){try{return o=await a(...e),function(){return i(o)}}catch(e){return n=e,function(){return r(n)}}}(),this._running--,this._tryToRun(),t()}schedule(e,...t){var n,r,i=r=null;return n=new this.Promise(function(e,t){return i=e,r=t}),this._queue.push({task:e,args:t,resolve:i,reject:r}),this._tryToRun(),n}},P=function(){class e{constructor(t={},...n){var r,i;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(t,n),$.load(t,this.instanceDefaults,this),this._queues=new L(10),this._scheduled={},this._states=new B(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new F(this),this._submitLock=new U("submit",this.Promise),this._registerLock=new U("register",this.Promise),i=$.load(t,this.storeDefaults,{}),this._store=function(){if("redis"===this.datastore||"ioredis"===this.datastore||null!=this.connection)return r=$.load(t,this.redisStoreDefaults,{}),new M(this,i,r);if("local"===this.datastore)return r=$.load(t,this.localStoreDefaults,{}),new N(this,i,r);throw new e.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}.call(this),this._queues.on("leftzero",()=>{var e;return null==(e=this._store.heartbeat)?void 0:"function"==typeof e.ref?e.ref():void 0}),this._queues.on("zero",()=>{var e;return null==(e=this._store.heartbeat)?void 0:"function"==typeof e.unref?e.unref():void 0})}_validateOptions(t,n){if("object"!=typeof t||!t||0!==n.length)throw new e.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(e){return this._store.__publish__(e)}disconnect(e=!0){return this._store.__disconnect__(e)}chain(e){return this._limiter=e,this}queued(e){return this._queues.queued(e)}clusterQueued(){return this._store.__queued__()}empty(){return 0===this.queued()&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(e){return this._states.jobStatus(e)}jobs(e){return this._states.statusJobs(e)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(e=1){return this._store.__check__(e)}_clearGlobalState(e){return null!=this._scheduled[e]&&(clearTimeout(this._scheduled[e].expiration),delete this._scheduled[e],!0)}async _free(e,t,n,r){var i,o;try{if(({running:o}=await this._store.__free__(e,n.weight)),this.Events.trigger("debug",`Freed ${n.id}`,r),0===o&&this.empty())return this.Events.trigger("idle")}catch(e){return i=e,this.Events.trigger("error",i)}}_run(e,t,n){var r,i,o;return t.doRun(),r=this._clearGlobalState.bind(this,e),o=this._run.bind(this,e,t),i=this._free.bind(this,e,t),this._scheduled[e]={timeout:setTimeout(()=>t.doExecute(this._limiter,r,o,i),n),expiration:null==t.options.expiration?void 0:setTimeout(function(){return t.doExpire(r,o,i)},n+t.options.expiration),job:t}}_drainOne(e){return this._registerLock.schedule(()=>{var t,n,r,i,o;return 0===this.queued()||(o=this._queues.getFirst(),({options:i,args:t}=r=o.first()),null!=e&&i.weight>e)?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${i.id}`,{args:t,options:i}),n=this._randomIndex(),this._store.__register__(n,i.weight,i.expiration).then(({success:e,wait:a,reservoir:s})=>{var c;return this.Events.trigger("debug",`Drained ${i.id}`,{success:e,args:t,options:i}),e?(o.shift(),(c=this.empty())&&this.Events.trigger("empty"),0===s&&this.Events.trigger("depleted",c),this._run(n,r,a),this.Promise.resolve(i.weight)):this.Promise.resolve(null)}))})}_drainAll(e,t=0){return this._drainOne(e).then(n=>{var r;return null==n?this.Promise.resolve(t):(r=null==e?e:e-n,this._drainAll(r,t+n))}).catch(e=>this.Events.trigger("error",e))}_dropAllQueued(e){return this._queues.shiftAll(function(t){return t.doDrop({message:e})})}stop(t={}){var n,r;return t=$.load(t,this.stopDefaults),r=e=>{var t=()=>{var t=this._states.counts;return t[0]+t[1]+t[2]+t[3]===e};return new this.Promise((e,n)=>t()?e():this.on("done",()=>{if(t())return this.removeAllListeners("done"),e()}))},n=t.dropWaitingJobs?(this._run=function(e,n){return n.doDrop({message:t.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var e,n,i=this._scheduled;for(e in i)n=i[e],"RUNNING"===this.jobStatus(n.job.options.id)&&(clearTimeout(n.timeout),clearTimeout(n.expiration),n.job.doDrop({message:t.dropErrorMessage}));return this._dropAllQueued(t.dropErrorMessage),r(0)}))):this.schedule({priority:9,weight:0},()=>r(1)),this._receive=function(n){return n._reject(new e.prototype.BottleneckError(t.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new e.prototype.BottleneckError("stop() has already been called")),n}async _addToQueue(t){var n,r,i,o,a,s,c;({args:n,options:o}=t);try{({reachedHWM:a,blocked:r,strategy:c}=await this._store.__submit__(this.queued(),o.weight))}catch(e){return i=e,this.Events.trigger("debug",`Could not queue ${o.id}`,{args:n,options:o,error:i}),t.doDrop({error:i}),!1}return r?(t.doDrop(),!0):a&&(s=c===e.prototype.strategy.LEAK?this._queues.shiftLastFrom(o.priority):c===e.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(o.priority+1):c===e.prototype.strategy.OVERFLOW?t:void 0,s?.doDrop(),null==s||c===e.prototype.strategy.OVERFLOW)?(s??t.doDrop(),a):(t.doQueue(a,r),this._queues.push(t),await this._drainAll(),a)}_receive(t){return null==this._states.jobStatus(t.options.id)?(t.doReceive(),this._submitLock.schedule(this._addToQueue,t)):(t._reject(new e.prototype.BottleneckError(`A job with the same id already exists (id=${t.options.id})`)),!1)}submit(...e){var t,n,r,i,o,a,s;return"function"==typeof e[0]?(o=e,[n,...e]=o,[t]=j.call(e,-1),i=$.load({},this.jobDefaults)):(a=e,[i,n,...e]=a,[t]=j.call(e,-1),i=$.load(i,this.jobDefaults)),s=(...e)=>new this.Promise(function(t,r){return n(...e,function(...e){return(null==e[0]?t:r)(e)})}),(r=new I(s,e,i,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise)).promise.then(function(e){return"function"==typeof t?t(...e):void 0}).catch(function(e){return Array.isArray(e)?"function"==typeof t?t(...e):void 0:"function"==typeof t?t(e):void 0}),this._receive(r)}schedule(...e){var t,n,r;return"function"==typeof e[0]?([r,...e]=e,n={}):[n,r,...e]=e,t=new I(r,e,n,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(t),t.promise}wrap(e){var t=this.schedule.bind(this),n=function(...n){return t(e.bind(this),...n)};return n.withOptions=function(n,...r){return t(n,e,...r)},n}async updateSettings(e={}){return await this._store.__updateSettings__($.overwrite(e,this.storeDefaults)),$.overwrite(e,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(e=0){return this._store.__incrementReservoir__(e)}}return e.default=e,e.Events=F,e.version=e.prototype.version=G.version,e.strategy=e.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},e.BottleneckError=e.prototype.BottleneckError=l,e.Group=e.prototype.Group=R,e.RedisConnection=e.prototype.RedisConnection=T,e.IORedisConnection=e.prototype.IORedisConnection=S,e.Batcher=e.prototype.Batcher=z,e.prototype.jobDefaults={priority:5,weight:1,expiration:null,id:"<no-id>"},e.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:e.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},e.prototype.localStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:250},e.prototype.redisStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},e.prototype.instanceDefaults={datastore:"local",connection:null,id:"<no-id>",rejectOnDrop:!0,trackDoneStatus:!1,Promise:Promise},e.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},e}.call(r);var V=P;return V})}),YD=B(ZD(),1);async function QD(e,t,n,r){if(!n.request||!n.request.request)throw n;if(n.status>=400&&!e.doNotRetry.includes(n.status)){let i=null==r.request.retries?e.retries:r.request.retries,o=((r.request.retryCount||0)+1)**2;throw t.retry.retryRequest(n,i,o)}throw n}async function JD(e,t,n,r){let i=new YD.default;return i.on("failed",function(t,n){let i=~~t.request.request.retries,o=~~t.request.request.retryAfter;if(r.request.retryCount=n.retryCount+1,i>n.retryCount)return o*e.retryAfterBaseValue}),i.schedule(eP.bind(null,e,t,n),r)}async function eP(e,t,n,r){let i=await n(n,r);return i.data&&i.data.errors&&i.data.errors.length>0&&/Something went wrong while executing your query/.test(i.data.errors[0].message)?QD(e,t,new sD(i.data.errors[0].message,500,{request:r,response:i}),r):i}function tP(e,t){let n=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,410,422,451],retries:3},t.retry);return n.enabled&&(e.hook.error("request",QD.bind(null,n,e)),e.hook.wrap("request",JD.bind(null,n,e))),{retry:{retryRequest:(e,t,n)=>(e.request.request=Object.assign({},e.request.request,{retries:t,retryAfter:n}),e)}}}tP.VERSION="0.0.0-development";var nP=B(ZD(),1),rP=()=>Promise.resolve();function iP(e,t,n){return e.retryLimiter.schedule(oP,e,t,n)}async function oP(e,t,n){let{pathname:r}=new URL(n.url,"http://github.test"),i=function(e,t){return"PATCH"===e&&/^\/applications\/[^/]+\/token\/scoped$/.test(t)||"POST"===e&&(/^\/applications\/[^/]+\/token$/.test(t)||/^\/app\/installations\/[^/]+\/access_tokens$/.test(t)||"/login/oauth/access_token"===t)}(n.method,r),o=!i&&"GET"!==n.method&&"HEAD"!==n.method,a="GET"===n.method&&r.startsWith("/search/"),s=r.startsWith("/graphql"),c=~~t.retryCount>0?{priority:0,weight:0}:{};e.clustering&&(c.expiration=6e4),(o||s)&&await e.write.key(e.id).schedule(c,rP),o&&e.triggersNotification(r)&&await e.notifications.key(e.id).schedule(c,rP),a&&await e.search.key(e.id).schedule(c,rP);let l=(i?e.auth:e.global).key(e.id).schedule(c,t,n);if(s){let e=await l;if(null!=e.data.errors&&e.data.errors.some(e=>"RATE_LIMITED"===e.type))throw Object.assign(Error("GraphQL Rate Limit Exceeded"),{response:e,data:e.data})}return l}var aP=function(){let e=`^(?:${["/orgs/{org}/invitations","/orgs/{org}/invitations/{invitation_id}","/orgs/{org}/teams/{team_slug}/discussions","/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","/repos/{owner}/{repo}/collaborators/{username}","/repos/{owner}/{repo}/commits/{commit_sha}/comments","/repos/{owner}/{repo}/issues","/repos/{owner}/{repo}/issues/{issue_number}/comments","/repos/{owner}/{repo}/issues/{issue_number}/sub_issue","/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority","/repos/{owner}/{repo}/pulls","/repos/{owner}/{repo}/pulls/{pull_number}/comments","/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies","/repos/{owner}/{repo}/pulls/{pull_number}/merge","/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers","/repos/{owner}/{repo}/pulls/{pull_number}/reviews","/repos/{owner}/{repo}/releases","/teams/{team_id}/discussions","/teams/{team_id}/discussions/{discussion_number}/comments"].map(e=>e.split("/").map(e=>e.startsWith("{")?"(?:.+?)":e).join("/")).map(e=>`(?:${e})`).join("|")})[^/]*$`;return new RegExp(e,"i")}(),sP=aP.test.bind(aP),cP={};function lP(e,t){let{enabled:n=!0,Bottleneck:r=nP.default,id:i="no-id",timeout:o=12e4,connection:a}=t.throttle||{};if(!n)return{};let s={timeout:o};void 0!==a&&(s.connection=a),cP.global??function(e,t){cP.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t}),cP.auth=new e.Group({id:"octokit-auth",maxConcurrent:1,...t}),cP.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t}),cP.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t}),cP.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})}(r,s);let c=Object.assign({clustering:null!=a,triggersNotification:sP,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new r,id:i,...cP},t.throttle);if("function"!=typeof c.onSecondaryRateLimit||"function"!=typeof c.onRateLimit)throw Error("octokit/plugin-throttling error:\n You must pass the onSecondaryRateLimit and onRateLimit error handlers.\n See https://octokit.github.io/rest.js/#throttling\n\n const octokit = new Octokit({\n throttle: {\n onSecondaryRateLimit: (retryAfter, options) => {/* ... */},\n onRateLimit: (retryAfter, options) => {/* ... */}\n }\n })\n ");let l={},u=new r.Events(l);return l.on("secondary-limit",c.onSecondaryRateLimit),l.on("rate-limit",c.onRateLimit),l.on("error",t=>e.log.warn("Error in throttling-plugin limit handler",t)),c.retryLimiter.on("failed",async function(t,n){let[r,i,o]=n.args,{pathname:a}=new URL(o.url,"http://github.test");if(!(a.startsWith("/graphql")&&401!==t.status||403===t.status||429===t.status))return;let s=~~i.retryCount;i.retryCount=s,o.request.retryCount=s;let{wantRetry:c,retryAfter:l=0}=await async function(){if(/\bsecondary rate\b/i.test(t.message)){let n=Number(t.response.headers["retry-after"])||r.fallbackSecondaryRateRetryAfter;return{wantRetry:await u.trigger("secondary-limit",n,o,e,s),retryAfter:n}}if(null!=t.response.headers&&"0"===t.response.headers["x-ratelimit-remaining"]||(t.response.data?.errors??[]).some(e=>"RATE_LIMITED"===e.type)){let n=new Date(1e3*~~t.response.headers["x-ratelimit-reset"]).getTime(),r=Math.max(Math.ceil((n-Date.now())/1e3)+1,0);return{wantRetry:await u.trigger("rate-limit",r,o,e,s),retryAfter:r}}return{}}();return c?(i.retryCount++,l*r.retryAfterBaseValue):void 0}),e.hook.wrap("request",iP.bind(null,c)),{}}function uP(e){let t=e.endpoint.DEFAULTS;return/^https:\/\/(api\.)?github\.com$/.test(t.baseUrl)?"https://github.com":t.baseUrl.replace("/api/v3","")}async function pP(e,t,n){let r={baseUrl:uP(e),headers:{accept:"application/json"},...n},i=await e(t,r);if("error"in i.data){let n=new sD(`${i.data.error_description} (${i.data.error}, ${i.data.error_uri})`,400,{request:e.endpoint.merge(t,r)});throw n.response=i,n}return i}function dP(e,t){return new Date(e+1e3*t).toISOString()}async function mP(e){let t=await pP(e.request||dD,"POST /login/oauth/access_token",{client_id:e.clientId,device_code:e.code,grant_type:"urn:ietf:params:oauth:grant-type:device_code"}),n={clientType:e.clientType,clientId:e.clientId,token:t.data.access_token,scopes:t.data.scope.split(/\s+/).filter(Boolean)};if("clientSecret"in e&&(n.clientSecret=e.clientSecret),"github-app"===e.clientType){if("refresh_token"in t.data){let e=new Date(t.headers.date).getTime();n.refreshToken=t.data.refresh_token,n.expiresAt=fP(e,t.data.expires_in),n.refreshTokenExpiresAt=fP(e,t.data.refresh_token_expires_in)}delete n.scopes}return{...t,authentication:n}}function fP(e,t){return new Date(e+1e3*t).toISOString()}async function hP(e){let t=await(e.request||dD)("POST /applications/{client_id}/token",{headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`},client_id:e.clientId,access_token:e.token}),n={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:e.token,scopes:t.data.scopes};return t.data.expires_at&&(n.expiresAt=t.data.expires_at),"github-app"===e.clientType&&delete n.scopes,{...t,authentication:n}}async function gP(e){let t=await pP(e.request||dD,"POST /login/oauth/access_token",{client_id:e.clientId,client_secret:e.clientSecret,grant_type:"refresh_token",refresh_token:e.refreshToken}),n=new Date(t.headers.date).getTime(),r={clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,token:t.data.access_token,refreshToken:t.data.refresh_token,expiresAt:_P(n,t.data.expires_in),refreshTokenExpiresAt:_P(n,t.data.refresh_token_expires_in)};return{...t,authentication:r}}function _P(e,t){return new Date(e+1e3*t).toISOString()}async function yP(e){let t=await(e.request||dD)("PATCH /applications/{client_id}/token",{headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`},client_id:e.clientId,access_token:e.token}),n={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:t.data.token,scopes:t.data.scopes};return t.data.expires_at&&(n.expiresAt=t.data.expires_at),"github-app"===e.clientType&&delete n.scopes,{...t,authentication:n}}async function vP(e){return(e.request||dD)("DELETE /applications/{client_id}/token",{headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`},client_id:e.clientId,access_token:e.token})}async function bP(e){return(e.request||dD)("DELETE /applications/{client_id}/grant",{headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`},client_id:e.clientId,access_token:e.token})}async function EP(e,t){let n=function(e,t){if(!0===t.refresh||!e.authentication)return!1;if("github-app"===e.clientType)return e.authentication;let n=e.authentication;return("scopes"in t&&t.scopes||e.scopes).join(" ")===n.scopes.join(" ")&&n}(e,t.auth);if(n)return n;let{data:r}=await async function(e){let t=e.request||dD,n={client_id:e.clientId};return"scopes"in e&&Array.isArray(e.scopes)&&(n.scope=e.scopes.join(" ")),pP(t,"POST /login/device/code",n)}({clientType:e.clientType,clientId:e.clientId,request:t.request||e.request,scopes:t.auth.scopes||e.scopes});await e.onVerification(r);let i=await wP(t.request||e.request,e.clientId,e.clientType,r);return e.authentication=i,i}async function xP(e){await new Promise(t=>setTimeout(t,1e3*e))}async function wP(e,t,n,r){try{let i={clientId:t,request:e,code:r.device_code},{authentication:o}="oauth-app"===n?await mP({...i,clientType:"oauth-app"}):await mP({...i,clientType:"github-app"});return{type:"token",tokenType:"oauth",...o}}catch(i){if(!i.response)throw i;let o=i.response.data.error;if("authorization_pending"===o)return await xP(r.interval),wP(e,t,n,r);if("slow_down"===o)return await xP(r.interval+7),wP(e,t,n,r);throw i}}async function AP(e,t){return EP(e,{auth:t})}async function TP(e,t,n,r){let i=t.endpoint.merge(n,r);if(/\/login\/(oauth\/access_token|device\/code)$/.test(i.url))return t(i);let{token:o}=await EP(e,{request:t,auth:{type:"oauth"}});return i.headers.authorization=`token ${o}`,t(i)}function SP(e){let t=e.request||dD.defaults({headers:{"user-agent":`octokit-auth-oauth-device.js/0.0.0-development ${MR()}`}}),{request:n=t,...r}=e,i="github-app"===e.clientType?{...r,clientType:"github-app",request:n}:{...r,clientType:"oauth-app",request:n,scopes:e.scopes||[]};if(!e.clientId)throw Error('[@octokit/auth-oauth-device] "clientId" option must be set (https://github.com/octokit/auth-oauth-device.js#usage)');if(!e.onVerification)throw Error('[@octokit/auth-oauth-device] "onVerification" option must be a function (https://github.com/octokit/auth-oauth-device.js#usage)');return Object.assign(AP.bind(null,i),{hook:TP.bind(null,i)})}lP.VERSION="0.0.0-development",lP.triggersNotification=sP;var kP="0.0.0-development";async function CP(e,t={}){if(e.authentication||=(e.clientType,await async function(e){if("code"in e.strategyOptions){let{authentication:t}=await async function(e){let t=await pP(e.request||dD,"POST /login/oauth/access_token",{client_id:e.clientId,client_secret:e.clientSecret,code:e.code,redirect_uri:e.redirectUrl}),n={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:t.data.access_token,scopes:t.data.scope.split(/\s+/).filter(Boolean)};if("github-app"===e.clientType){if("refresh_token"in t.data){let e=new Date(t.headers.date).getTime();n.refreshToken=t.data.refresh_token,n.expiresAt=dP(e,t.data.expires_in),n.refreshTokenExpiresAt=dP(e,t.data.refresh_token_expires_in)}delete n.scopes}return{...t,authentication:n}}({clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,onTokenCreated:e.onTokenCreated,...e.strategyOptions,request:e.request});return{type:"token",tokenType:"oauth",...t}}if("onVerification"in e.strategyOptions){let t=await SP({clientType:e.clientType,clientId:e.clientId,onTokenCreated:e.onTokenCreated,...e.strategyOptions,request:e.request})({type:"oauth"});return{clientSecret:e.clientSecret,...t}}if("token"in e.strategyOptions)return{type:"token",tokenType:"oauth",clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,onTokenCreated:e.onTokenCreated,...e.strategyOptions};throw Error("[@octokit/auth-oauth-user] Invalid strategy options")}(e)),e.authentication.invalid)throw Error("[@octokit/auth-oauth-user] Token is invalid");let n=e.authentication;if("expiresAt"in n&&("refresh"===t.type||new Date(n.expiresAt)<new Date)){let{authentication:t}=await gP({clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:n.refreshToken,request:e.request});e.authentication={tokenType:"oauth",type:"token",...t}}if("refresh"===t.type){if("oauth-app"===e.clientType)throw Error("[@octokit/auth-oauth-user] OAuth Apps do not support expiring tokens");if(!n.hasOwnProperty("expiresAt"))throw Error("[@octokit/auth-oauth-user] Refresh token missing");await(e.onTokenCreated?.(e.authentication,{type:t.type}))}if("check"===t.type||"reset"===t.type){let n="check"===t.type?hP:yP;try{let{authentication:r}=await n({clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:e.authentication.token,request:e.request});return e.authentication={tokenType:"oauth",type:"token",...r},"reset"===t.type&&await(e.onTokenCreated?.(e.authentication,{type:t.type})),e.authentication}catch(t){throw 404===t.status&&(t.message="[@octokit/auth-oauth-user] Token is invalid",e.authentication.invalid=!0),t}}if("delete"===t.type||"deleteAuthorization"===t.type){let n="delete"===t.type?vP:bP;try{await n({clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:e.authentication.token,request:e.request})}catch(e){if(404!==e.status)throw e}return e.authentication.invalid=!0,e.authentication}return e.authentication}var OP=/\/applications\/[^/]+\/(token|grant)s?/;function RP(e){return e&&OP.test(e)}async function DP(e,t,n,r={}){let i=t.endpoint.merge(n,r);if(/\/login\/(oauth\/access_token|device\/code)$/.test(i.url))return t(i);if(RP(i.url)){let n=btoa(`${e.clientId}:${e.clientSecret}`);return i.headers.authorization=`basic ${n}`,t(i)}let{token:o}=(e.clientType,await CP({...e,request:t}));return i.headers.authorization="token "+o,t(i)}function PP({clientId:e,clientSecret:t,clientType:n="oauth-app",request:r=dD.defaults({headers:{"user-agent":`octokit-auth-oauth-app.js/${kP} ${MR()}`}}),onTokenCreated:i,...o}){let a=Object.assign({clientType:n,clientId:e,clientSecret:t,onTokenCreated:i,strategyOptions:o,request:r});return Object.assign(CP.bind(null,a),{hook:DP.bind(null,a)})}async function FP(e,t){if("oauth-app"===t.type)return{type:"oauth-app",clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`}};if("factory"in t){let{type:n,...r}={...t,...e};return t.factory(r)}let n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.request,...t};return(e.clientType,await PP({...n,clientType:e.clientType}))()}async function IP(e,t,n,r){let i=t.endpoint.merge(n,r);if(/\/login\/(oauth\/access_token|device\/code)$/.test(i.url))return t(i);if("github-app"===e.clientType&&!RP(i.url))throw Error(`[@octokit/auth-oauth-app] GitHub Apps cannot use their client ID/secret for basic authentication for endpoints other than "/applications/{client_id}/**". "${i.method} ${i.url}" is not supported.`);let o=btoa(`${e.clientId}:${e.clientSecret}`);i.headers.authorization=`basic ${o}`;try{return await t(i)}catch(e){throw 401===e.status&&(e.message=`[@octokit/auth-oauth-app] "${i.method} ${i.url}" does not support clientId/clientSecret basic authentication.`),e}}function NP(e){let t=Object.assign({request:dD.defaults({headers:{"user-agent":`octokit-auth-oauth-app.js/0.0.0-development ${MR()}`}}),clientType:"oauth-app"},e);return Object.assign(FP.bind(null,t),{hook:IP.bind(null,t)})}function LP(e){return e.includes("-----BEGIN RSA PRIVATE KEY-----")}function MP(e){let t=new ArrayBuffer(e.length),n=new Uint8Array(t);for(let t=0,r=e.length;t<r;t++)n[t]=e.charCodeAt(t);return t}function BP(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function UP(e){return BP(btoa(JSON.stringify(e)))}function $P(e){return LP(e)?r(e).export({type:"pkcs8",format:"pem"}):e}async function zP({privateKey:e,payload:t}){let n=$P(e);if(LP(n))throw Error("[universal-github-app-jwt] Private Key is in PKCS#1 format, but only PKCS#8 is supported. See https://github.com/gr2m/universal-github-app-jwt#private-key-formats");if(function(e){return e.includes("-----BEGIN OPENSSH PRIVATE KEY-----")}(n))throw Error("[universal-github-app-jwt] Private Key is in OpenSSH format, but only PKCS#8 is supported. See https://github.com/gr2m/universal-github-app-jwt#private-key-formats");let r={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},i=function(e){let t=e.trim().split("\n").slice(1,-1).join("");return MP(atob(t))}(n),o=await a.importKey("pkcs8",i,r,!1,["sign"]),s=function(e,t){return`${UP({alg:"RS256",typ:"JWT"})}.${UP(t)}`}(0,t),c=MP(s);return`${s}.${function(e){for(var t="",n=new Uint8Array(e),r=n.byteLength,i=0;i<r;i++)t+=String.fromCharCode(n[i]);return BP(btoa(t))}(await a.sign(r.name,o,c))}`}PP.VERSION=kP;var GP=class{constructor(e=1e3,t=0){if(isNaN(e)||e<0)throw Error("Invalid max value");if(isNaN(t)||t<0)throw Error("Invalid ttl value");this.first=null,this.items=Object.create(null),this.last=null,this.size=0,this.max=e,this.ttl=t}bumpLru(e){if(this.last===e)return;let t=this.last,n=e.next,r=e.prev;this.first===e&&(this.first=n),e.next=null,e.prev=t,t.next=e,null!==r&&(r.next=n),null!==n&&(n.prev=r),this.last=e}clear(){this.items=Object.create(null),this.first=null,this.last=null,this.size=0}delete(e){if(Object.prototype.hasOwnProperty.call(this.items,e)){let t=this.items[e];delete this.items[e],this.size--,null!==t.prev&&(t.prev.next=t.next),null!==t.next&&(t.next.prev=t.prev),this.first===t&&(this.first=t.next),this.last===t&&(this.last=t.prev)}}deleteMany(e){for(var t=0;t<e.length;t++)this.delete(e[t])}evict(){if(this.size>0){let e=this.first;delete this.items[e.key],0===--this.size?(this.first=null,this.last=null):(this.first=e.next,this.first.prev=null)}}expiresAt(e){if(Object.prototype.hasOwnProperty.call(this.items,e))return this.items[e].expiry}get(e){if(Object.prototype.hasOwnProperty.call(this.items,e)){let t=this.items[e];return this.ttl>0&&t.expiry<=Date.now()?void this.delete(e):(this.bumpLru(t),t.value)}}getMany(e){let t=[];for(var n=0;n<e.length;n++)t.push(this.get(e[n]));return t}keys(){return Object.keys(this.items)}set(e,t){if(Object.prototype.hasOwnProperty.call(this.items,e)){let n=this.items[e];return n.value=t,n.expiry=this.ttl>0?Date.now()+this.ttl:this.ttl,void(this.last!==n&&this.bumpLru(n))}this.max>0&&this.size===this.max&&this.evict();let n={expiry:this.ttl>0?Date.now()+this.ttl:this.ttl,key:e,prev:this.last,next:null,value:t};this.items[e]=n,1===++this.size?this.first=n:this.last.next=n,this.last=n}};async function jP({appId:e,privateKey:t,timeDifference:n,createJwt:r}){try{if(r){let{jwt:t,expiresAt:i}=await r(e,n);return{type:"app",token:t,appId:e,expiresAt:i}}let i={id:e,privateKey:t};n&&Object.assign(i,{now:Math.floor(Date.now()/1e3)+n});let o=await async function({id:e,privateKey:t,now:n=Math.floor(Date.now()/1e3)}){let r=t.replace(/\\n/g,"\n"),i=n-30,o=i+600;return{appId:e,expiration:o,token:await zP({privateKey:r,payload:{iat:i,exp:o,iss:e}})}}(i);return{type:"app",token:o.token,appId:o.appId,expiresAt:new Date(1e3*o.expiration).toISOString()}}catch(e){throw"-----BEGIN RSA PRIVATE KEY-----"===t?Error("The 'privateKey` option contains only the first line '-----BEGIN RSA PRIVATE KEY-----'. If you are setting it using a `.env` file, make sure it is set on a single line with newlines replaced by '\n'"):e}}function VP({installationId:e,permissions:t={},repositoryIds:n=[],repositoryNames:r=[]}){let i=Object.keys(t).sort().map(e=>"read"===t[e]?e:`${e}!`).join(",");return[e,n.sort().join(","),r.join(","),i].filter(Boolean).join("|")}function qP({installationId:e,token:t,createdAt:n,expiresAt:r,repositorySelection:i,permissions:o,repositoryIds:a,repositoryNames:s,singleFileName:c}){return Object.assign({type:"token",tokenType:"installation",token:t,installationId:e,permissions:o,createdAt:n,expiresAt:r,repositorySelection:i},a?{repositoryIds:a}:null,s?{repositoryNames:s}:null,c?{singleFileName:c}:null)}async function HP(e,t,n){let r=Number(t.installationId||e.installationId);if(!r)throw Error("[@octokit/auth-app] installationId option is required for installation authentication.");if(t.factory){let{type:n,factory:r,oauthApp:i,...o}={...e,...t};return r(o)}let i=n||e.request;return function(e,t,n){let r=VP(t);if(KP.has(r))return KP.get(r);let i=async function(e,t,n){if(!t.refresh){let n=await async function(e,t){let n=VP(t),r=await e.get(n);if(!r)return;let[i,o,a,s,c,l]=r.split("|");return{token:i,createdAt:o,expiresAt:a,permissions:t.permissions||c.split(/,/).reduce((e,t)=>(/!$/.test(t)?e[t.slice(0,-1)]="write":e[t]="read",e),{}),repositoryIds:t.repositoryIds,repositoryNames:t.repositoryNames,singleFileName:l,repositorySelection:s}}(e.cache,t);if(n){let{token:e,createdAt:r,expiresAt:i,permissions:o,repositoryIds:a,repositoryNames:s,singleFileName:c,repositorySelection:l}=n;return qP({installationId:t.installationId,token:e,createdAt:r,expiresAt:i,permissions:o,repositorySelection:l,repositoryIds:a,repositoryNames:s,singleFileName:c})}}let r=await jP(e),i={installation_id:t.installationId,mediaType:{previews:["machine-man"]},headers:{authorization:`bearer ${r.token}`}};t.repositoryIds&&Object.assign(i,{repository_ids:t.repositoryIds}),t.repositoryNames&&Object.assign(i,{repositories:t.repositoryNames}),t.permissions&&Object.assign(i,{permissions:t.permissions});let{data:{token:o,expires_at:a,repositories:s,permissions:c,repository_selection:l,single_file:u}}=await n("POST /app/installations/{installation_id}/access_tokens",i),p=c||{},d=l||"all",m=s?s.map(e=>e.id):void 0,f=s?s.map(e=>e.name):void 0,h=(new Date).toISOString(),g={token:o,createdAt:h,expiresAt:a,repositorySelection:d,permissions:p,repositoryIds:m,repositoryNames:f};u&&Object.assign(i,{singleFileName:u}),await async function(e,t,n){let r=VP(t),i=t.permissions?"":Object.keys(n.permissions).map(e=>`${e}${"write"===n.permissions[e]?"!":""}`).join(","),o=[n.token,n.createdAt,n.expiresAt,n.repositorySelection,i,n.singleFileName].join("|");await e.set(r,o)}(e.cache,t,g);let _={installationId:t.installationId,token:o,createdAt:h,expiresAt:a,repositorySelection:d,permissions:p,repositoryIds:m,repositoryNames:f};return u&&Object.assign(_,{singleFileName:u}),qP(_)}(e,t,n).finally(()=>KP.delete(r));return KP.set(r,i),i}(e,{...t,installationId:r},i)}var KP=new Map;async function WP(e,t){switch(t.type){case"app":return jP(e);case"oauth-app":return e.oauthApp({type:"oauth-app"});case"installation":return HP(e,{...t,type:"installation"});case"oauth-user":return e.oauthApp(t);default:throw Error(`Invalid auth type: ${t.type}`)}}var XP=function(){let e=`^(?:${["/app","/app/hook/config","/app/hook/deliveries","/app/hook/deliveries/{delivery_id}","/app/hook/deliveries/{delivery_id}/attempts","/app/installations","/app/installations/{installation_id}","/app/installations/{installation_id}/access_tokens","/app/installations/{installation_id}/suspended","/app/installation-requests","/marketplace_listing/accounts/{account_id}","/marketplace_listing/plan","/marketplace_listing/plans","/marketplace_listing/plans/{plan_id}/accounts","/marketplace_listing/stubbed/accounts/{account_id}","/marketplace_listing/stubbed/plan","/marketplace_listing/stubbed/plans","/marketplace_listing/stubbed/plans/{plan_id}/accounts","/orgs/{org}/installation","/repos/{owner}/{repo}/installation","/users/{username}/installation"].map(e=>e.split("/").map(e=>e.startsWith("{")?"(?:.+?)":e).join("/")).map(e=>`(?:${e})`).join("|")})$`;return new RegExp(e,"i")}();async function ZP(e,t,n,r){let i=t.endpoint.merge(n,r),o=i.url;if(/\/login\/oauth\/access_token$/.test(o))return t(i);if(function(e){return!!e&&XP.test(e.split("?")[0])}(o.replace(t.endpoint.DEFAULTS.baseUrl,""))){let r,{token:o}=await jP(e);i.headers.authorization=`bearer ${o}`;try{r=await t(i)}catch(n){if(function(e){return!(e.message.match(/'Expiration time' claim \('exp'\) must be a numeric value representing the future time at which the assertion expires/)||e.message.match(/'Issued at' claim \('iat'\) must be an Integer representing the time that the assertion was issued/))}(n)||void 0===n.response.headers.date)throw n;let r=Math.floor((Date.parse(n.response.headers.date)-Date.parse((new Date).toString()))/1e3);e.log.warn(n.message),e.log.warn(`[@octokit/auth-app] GitHub API time and system time are different by ${r} seconds. Retrying request with the difference accounted for.`);let{token:o}=await jP({...e,timeDifference:r});return i.headers.authorization=`bearer ${o}`,t(i)}return r}if(RP(o)){let n=await e.oauthApp({type:"oauth-app"});return i.headers.authorization=n.headers.authorization,t(i)}let{token:a,createdAt:s}=await HP(e,{},t.defaults({baseUrl:i.baseUrl}));return i.headers.authorization=`token ${a}`,YP(e,t,i,s)}async function YP(e,t,n,r,i=0){let o=new Date-+new Date(r);try{return await t(n)}catch(a){if(401!==a.status)throw a;if(o>=5e3)throw i>0&&(a.message=`After ${i} retries within ${o/1e3}s of creating the installation access token, the response remains 401. At this point, the cause may be an authentication problem or a system outage. Please check https://www.githubstatus.com for status information`),a;let s=1e3*++i;return e.log.warn(`[@octokit/auth-app] Retrying after 401 response to account for token replication delay (retry: ${i}, wait: ${s/1e3}s)`),await new Promise(e=>setTimeout(e,s)),YP(e,t,n,r,i)}}function QP(e){if(!e.appId)throw Error("[@octokit/auth-app] appId option is required");if(!e.privateKey&&!e.createJwt)throw Error("[@octokit/auth-app] privateKey option is required");if(e.privateKey&&e.createJwt)throw Error("[@octokit/auth-app] privateKey and createJwt options are mutually exclusive");if("installationId"in e&&!e.installationId)throw Error("[@octokit/auth-app] installationId is set to a falsy value");let t=e.log||{};"function"!=typeof t.warn&&(t.warn=console.warn.bind(console));let n=e.request||dD.defaults({headers:{"user-agent":`octokit-auth-app.js/8.1.2 ${MR()}`}}),r=Object.assign({request:n,cache:new GP(15e3,354e4)},e,e.installationId?{installationId:Number(e.installationId)}:{},{log:t,oauthApp:NP({clientType:"github-app",clientId:e.clientId||"",clientSecret:e.clientSecret||"",request:n})});return Object.assign(WP.bind(null,r),{hook:ZP.bind(null,r)})}async function JP(e){return{type:"unauthenticated",reason:e}}var eF=/\babuse\b/i;async function tF(e,t,n,r){let i=t.endpoint.merge(n,r);return t(i).catch(t=>{throw 404===t.status?(t.message=`Not found. May be due to lack of authentication. Reason: ${e}`,t):function(e){return!(403!==e.status||!e.response)&&"0"===e.response.headers["x-ratelimit-remaining"]}(t)?(t.message=`API rate limit exceeded. This maybe caused by the lack of authentication. Reason: ${e}`,t):function(e){return 403===e.status&&eF.test(e.message)}(t)?(t.message=`You have triggered an abuse detection mechanism. This maybe caused by the lack of authentication. Reason: ${e}`,t):401===t.status?(t.message=`Unauthorized. "${i.method} ${i.url}" failed most likely due to lack of authentication. Reason: ${e}`,t):(t.status>=400&&t.status<500&&(t.message=t.message.replace(/\.?$/,`. May be caused by lack of authentication (${e}).`)),t)})}var nF=function(e){if(!e||!e.reason)throw Error("[@octokit/auth-unauthenticated] No reason passed to createUnauthenticatedAuth");return Object.assign(JP.bind(null,e.reason),{hook:tF.bind(null,e.reason)})},rF="8.0.3";function iF(e,t,n){if(Array.isArray(t))for(let r of t)iF(e,r,n);else e.eventHandlers[t]||(e.eventHandlers[t]=[]),e.eventHandlers[t].push(n)}var oF=OD.defaults({userAgent:`octokit-oauth-app.js/${rF} ${MR()}`});async function aF(e,t){let{name:n,action:r}=t;if(e.eventHandlers[`${n}.${r}`])for(let i of e.eventHandlers[`${n}.${r}`])await i(t);if(e.eventHandlers[n])for(let r of e.eventHandlers[n])await r(t)}async function sF(e,t){return e.octokit.auth({type:"oauth-user",...t,async factory(t){let n=new e.Octokit({authStrategy:PP,auth:t}),r=await n.auth({type:"get"});return await aF(e,{name:"token",action:"created",token:r.token,scopes:r.scopes,authentication:r,octokit:n}),n}})}function cF(e,t){let n={clientId:e.clientId,request:e.octokit.request,...t,allowSignup:e.allowSignup??t.allowSignup,redirectUrl:t.redirectUrl??e.redirectUrl,scopes:t.scopes??e.defaultScopes};return function({request:e=dD,...t}){return function(e){let t=e.clientType||"oauth-app",n=e.baseUrl||"https://github.com",r={clientType:t,allowSignup:!1!==e.allowSignup,clientId:e.clientId,login:e.login||null,redirectUrl:e.redirectUrl||null,state:e.state||Math.random().toString(36).substr(2),url:""};if("oauth-app"===t){let t="scopes"in e?e.scopes:[];r.scopes="string"==typeof t?t.split(/[,\s]+/).filter(Boolean):t}return r.url=function(e,t){let n={allowSignup:"allow_signup",clientId:"client_id",login:"login",redirectUrl:"redirect_uri",scopes:"scope",state:"state"},r=e;return Object.keys(n).filter(e=>null!==t[e]).filter(e=>"scopes"!==e||"github-app"!==t.clientType&&(!Array.isArray(t[e])||t[e].length>0)).map(e=>[n[e],`${t[e]}`]).forEach(([e,t],n)=>{r+=0===n?"?":"&",r+=`${e}=${encodeURIComponent(t)}`}),r}(`${n}/login/oauth/authorize`,r),r}({...t,baseUrl:uP(e)})}({clientType:e.clientType,...n})}async function lF(e,t){let n=await e.octokit.auth({type:"oauth-user",...t});return await aF(e,{name:"token",action:"created",token:n.token,scopes:n.scopes,authentication:n,octokit:new e.Octokit({authStrategy:PP,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.token,scopes:n.scopes,refreshToken:n.refreshToken,expiresAt:n.expiresAt,refreshTokenExpiresAt:n.refreshTokenExpiresAt}})}),{authentication:n}}async function uF(e,t){let n=await hP({clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t});return Object.assign(n.authentication,{type:"token",tokenType:"oauth"}),n}async function pF(e,t){let n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t};if("oauth-app"===e.clientType){let t=await yP({clientType:"oauth-app",...n}),r=Object.assign(t.authentication,{type:"token",tokenType:"oauth"});return await aF(e,{name:"token",action:"reset",token:t.authentication.token,scopes:t.authentication.scopes||void 0,authentication:r,octokit:new e.Octokit({authStrategy:PP,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:t.authentication.token,scopes:t.authentication.scopes}})}),{...t,authentication:r}}let r=await yP({clientType:"github-app",...n}),i=Object.assign(r.authentication,{type:"token",tokenType:"oauth"});return await aF(e,{name:"token",action:"reset",token:r.authentication.token,authentication:i,octokit:new e.Octokit({authStrategy:PP,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.authentication.token}})}),{...r,authentication:i}}async function dF(e,t){if("oauth-app"===e.clientType)throw Error("[@octokit/oauth-app] app.refreshToken() is not supported for OAuth Apps");let n=await gP({clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,refreshToken:t.refreshToken}),r=Object.assign(n.authentication,{type:"token",tokenType:"oauth"});return await aF(e,{name:"token",action:"refreshed",token:n.authentication.token,authentication:r,octokit:new e.Octokit({authStrategy:PP,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.authentication.token}})}),{...n,authentication:r}}async function mF(e,t){if("oauth-app"===e.clientType)throw Error("[@octokit/oauth-app] app.scopeToken() is not supported for OAuth Apps");let n=await async function(e){let{request:t,clientType:n,clientId:r,clientSecret:i,token:o,...a}=e,s=await(e.request||dD)("POST /applications/{client_id}/token/scoped",{headers:{authorization:`basic ${btoa(`${r}:${i}`)}`},client_id:r,access_token:o,...a}),c=Object.assign({clientType:n,clientId:r,clientSecret:i,token:s.data.token},s.data.expires_at?{expiresAt:s.data.expires_at}:{});return{...s,authentication:c}}({clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t}),r=Object.assign(n.authentication,{type:"token",tokenType:"oauth"});return await aF(e,{name:"token",action:"scoped",token:n.authentication.token,authentication:r,octokit:new e.Octokit({authStrategy:PP,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.authentication.token}})}),{...n,authentication:r}}async function fF(e,t){let n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t},r="oauth-app"===e.clientType?await vP({clientType:"oauth-app",...n}):await vP({clientType:"github-app",...n});return await aF(e,{name:"token",action:"deleted",token:t.token,octokit:new e.Octokit({authStrategy:nF,auth:{reason:'Handling "token.deleted" event. The access for the token has been revoked.'}})}),r}async function hF(e,t){let n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t},r="oauth-app"===e.clientType?await bP({clientType:"oauth-app",...n}):await bP({clientType:"github-app",...n});return await aF(e,{name:"token",action:"deleted",token:t.token,octokit:new e.Octokit({authStrategy:nF,auth:{reason:'Handling "token.deleted" event. The access for the token has been revoked.'}})}),await aF(e,{name:"authorization",action:"deleted",token:t.token,octokit:new e.Octokit({authStrategy:nF,auth:{reason:'Handling "authorization.deleted" event. The access for the app has been revoked.'}})}),r}var gF=class{static VERSION=rF;static defaults(e){return class extends(this){constructor(...t){super({...e,...t[0]})}}}constructor(e){let t=e.Octokit||oF;this.type=e.clientType||"oauth-app";let n=new t({authStrategy:NP,auth:{clientType:this.type,clientId:e.clientId,clientSecret:e.clientSecret}}),r={clientType:this.type,clientId:e.clientId,clientSecret:e.clientSecret,defaultScopes:e.defaultScopes||[],allowSignup:e.allowSignup,baseUrl:e.baseUrl,redirectUrl:e.redirectUrl,log:e.log,Octokit:t,octokit:n,eventHandlers:{}};this.on=iF.bind(null,r),this.octokit=n,this.getUserOctokit=sF.bind(null,r),this.getWebFlowAuthorizationUrl=cF.bind(null,r),this.createToken=lF.bind(null,r),this.checkToken=uF.bind(null,r),this.resetToken=pF.bind(null,r),this.refreshToken=dF.bind(null,r),this.scopeToken=mF.bind(null,r),this.deleteToken=fF.bind(null,r),this.deleteAuthorization=hF.bind(null,r)}type;on;octokit;getUserOctokit;getWebFlowAuthorizationUrl;createToken;checkToken;resetToken;refreshToken;scopeToken;deleteToken;deleteAuthorization},_F="6.0.0";async function yF(e,t){if(!e||!t)throw TypeError("[@octokit/webhooks-methods] secret & payload required for sign()");if("string"!=typeof t)throw TypeError("[@octokit/webhooks-methods] payload must be a string");let r="sha256";return`${r}=${n(r,e).update(t).digest("hex")}`}async function vF(e,t,n){if(!e||!t||!n)throw TypeError("[@octokit/webhooks-methods] secret, eventPayload & signature required");if("string"!=typeof t)throw TypeError("[@octokit/webhooks-methods] eventPayload must be a string");let r=S.from(n),i=S.from(await yF(e,t));return r.length===i.length&&s(r,i)}yF.VERSION=_F,vF.VERSION=_F;var bF=(e={})=>("function"!=typeof e.debug&&(e.debug=()=>{}),"function"!=typeof e.info&&(e.info=()=>{}),"function"!=typeof e.warn&&(e.warn=console.warn.bind(console)),"function"!=typeof e.error&&(e.error=console.error.bind(console)),e),EF="branch_protection_configuration,branch_protection_configuration.disabled,branch_protection_configuration.enabled,branch_protection_rule,branch_protection_rule.created,branch_protection_rule.deleted,branch_protection_rule.edited,check_run,check_run.completed,check_run.created,check_run.requested_action,check_run.rerequested,check_suite,check_suite.completed,check_suite.requested,check_suite.rerequested,code_scanning_alert,code_scanning_alert.appeared_in_branch,code_scanning_alert.closed_by_user,code_scanning_alert.created,code_scanning_alert.fixed,code_scanning_alert.reopened,code_scanning_alert.reopened_by_user,commit_comment,commit_comment.created,create,custom_property,custom_property.created,custom_property.deleted,custom_property.promote_to_enterprise,custom_property.updated,custom_property_values,custom_property_values.updated,delete,dependabot_alert,dependabot_alert.auto_dismissed,dependabot_alert.auto_reopened,dependabot_alert.created,dependabot_alert.dismissed,dependabot_alert.fixed,dependabot_alert.reintroduced,dependabot_alert.reopened,deploy_key,deploy_key.created,deploy_key.deleted,deployment,deployment.created,deployment_protection_rule,deployment_protection_rule.requested,deployment_review,deployment_review.approved,deployment_review.rejected,deployment_review.requested,deployment_status,deployment_status.created,discussion,discussion.answered,discussion.category_changed,discussion.closed,discussion.created,discussion.deleted,discussion.edited,discussion.labeled,discussion.locked,discussion.pinned,discussion.reopened,discussion.transferred,discussion.unanswered,discussion.unlabeled,discussion.unlocked,discussion.unpinned,discussion_comment,discussion_comment.created,discussion_comment.deleted,discussion_comment.edited,fork,github_app_authorization,github_app_authorization.revoked,gollum,installation,installation.created,installation.deleted,installation.new_permissions_accepted,installation.suspend,installation.unsuspend,installation_repositories,installation_repositories.added,installation_repositories.removed,installation_target,installation_target.renamed,issue_comment,issue_comment.created,issue_comment.deleted,issue_comment.edited,issue_dependencies,issue_dependencies.blocked_by_added,issue_dependencies.blocked_by_removed,issue_dependencies.blocking_added,issue_dependencies.blocking_removed,issues,issues.assigned,issues.closed,issues.deleted,issues.demilestoned,issues.edited,issues.labeled,issues.locked,issues.milestoned,issues.opened,issues.pinned,issues.reopened,issues.transferred,issues.typed,issues.unassigned,issues.unlabeled,issues.unlocked,issues.unpinned,issues.untyped,label,label.created,label.deleted,label.edited,marketplace_purchase,marketplace_purchase.cancelled,marketplace_purchase.changed,marketplace_purchase.pending_change,marketplace_purchase.pending_change_cancelled,marketplace_purchase.purchased,member,member.added,member.edited,member.removed,membership,membership.added,membership.removed,merge_group,merge_group.checks_requested,merge_group.destroyed,meta,meta.deleted,milestone,milestone.closed,milestone.created,milestone.deleted,milestone.edited,milestone.opened,org_block,org_block.blocked,org_block.unblocked,organization,organization.deleted,organization.member_added,organization.member_invited,organization.member_removed,organization.renamed,package,package.published,package.updated,page_build,personal_access_token_request,personal_access_token_request.approved,personal_access_token_request.cancelled,personal_access_token_request.created,personal_access_token_request.denied,ping,project,project.closed,project.created,project.deleted,project.edited,project.reopened,project_card,project_card.converted,project_card.created,project_card.deleted,project_card.edited,project_card.moved,project_column,project_column.created,project_column.deleted,project_column.edited,project_column.moved,projects_v2,projects_v2.closed,projects_v2.created,projects_v2.deleted,projects_v2.edited,projects_v2.reopened,projects_v2_item,projects_v2_item.archived,projects_v2_item.converted,projects_v2_item.created,projects_v2_item.deleted,projects_v2_item.edited,projects_v2_item.reordered,projects_v2_item.restored,projects_v2_status_update,projects_v2_status_update.created,projects_v2_status_update.deleted,projects_v2_status_update.edited,public,pull_request,pull_request.assigned,pull_request.auto_merge_disabled,pull_request.auto_merge_enabled,pull_request.closed,pull_request.converted_to_draft,pull_request.demilestoned,pull_request.dequeued,pull_request.edited,pull_request.enqueued,pull_request.labeled,pull_request.locked,pull_request.milestoned,pull_request.opened,pull_request.ready_for_review,pull_request.reopened,pull_request.review_request_removed,pull_request.review_requested,pull_request.synchronize,pull_request.unassigned,pull_request.unlabeled,pull_request.unlocked,pull_request_review,pull_request_review.dismissed,pull_request_review.edited,pull_request_review.submitted,pull_request_review_comment,pull_request_review_comment.created,pull_request_review_comment.deleted,pull_request_review_comment.edited,pull_request_review_thread,pull_request_review_thread.resolved,pull_request_review_thread.unresolved,push,registry_package,registry_package.published,registry_package.updated,release,release.created,release.deleted,release.edited,release.prereleased,release.published,release.released,release.unpublished,repository,repository.archived,repository.created,repository.deleted,repository.edited,repository.privatized,repository.publicized,repository.renamed,repository.transferred,repository.unarchived,repository_advisory,repository_advisory.published,repository_advisory.reported,repository_dispatch,repository_dispatch.sample.collected,repository_import,repository_ruleset,repository_ruleset.created,repository_ruleset.deleted,repository_ruleset.edited,repository_vulnerability_alert,repository_vulnerability_alert.create,repository_vulnerability_alert.dismiss,repository_vulnerability_alert.reopen,repository_vulnerability_alert.resolve,secret_scanning_alert,secret_scanning_alert.assigned,secret_scanning_alert.created,secret_scanning_alert.publicly_leaked,secret_scanning_alert.reopened,secret_scanning_alert.resolved,secret_scanning_alert.unassigned,secret_scanning_alert.validated,secret_scanning_alert_location,secret_scanning_alert_location.created,secret_scanning_scan,secret_scanning_scan.completed,security_advisory,security_advisory.published,security_advisory.updated,security_advisory.withdrawn,security_and_analysis,sponsorship,sponsorship.cancelled,sponsorship.created,sponsorship.edited,sponsorship.pending_cancellation,sponsorship.pending_tier_change,sponsorship.tier_changed,star,star.created,star.deleted,status,sub_issues,sub_issues.parent_issue_added,sub_issues.parent_issue_removed,sub_issues.sub_issue_added,sub_issues.sub_issue_removed,team,team.added_to_repository,team.created,team.deleted,team.edited,team.removed_from_repository,team_add,watch,watch.started,workflow_dispatch,workflow_job,workflow_job.completed,workflow_job.in_progress,workflow_job.queued,workflow_job.waiting,workflow_run,workflow_run.completed,workflow_run.in_progress,workflow_run.requested".split(",");function xF(e,t,n){e.hooks[t]||(e.hooks[t]=[]),e.hooks[t].push(n)}function wF(e,t,n){Array.isArray(t)?t.forEach(t=>wF(e,t,n)):(function(e,t={}){if("string"!=typeof e)throw TypeError("eventName must be of type string");if("*"===e)throw TypeError('Using the "*" event with the regular Webhooks.on() function is not supported. Please use the Webhooks.onAny() method instead');if("error"===e)throw TypeError('Using the "error" event with the regular Webhooks.on() function is not supported. Please use the Webhooks.onError() method instead');if("ignore"!==t.onUnknownEventName&&!EF.includes(e)){if("warn"!==t.onUnknownEventName)throw TypeError(`"${e}" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)`);(t.log||console).warn(`"${e}" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)`)}}(t,{onUnknownEventName:"warn",log:e.log}),xF(e,t,n))}function AF(e,t){xF(e,"*",t)}function TF(e,t){xF(e,"error",t)}function SF(e,t){let n;try{n=e(t)}catch(e){console.log('FATAL: Error occurred in "error" event handler'),console.log(e)}n&&n.catch&&n.catch(e=>{console.log('FATAL: Error occurred in "error" event handler'),console.log(e)})}function kF(e,t){let n=e.hooks.error||[];if(t instanceof Error){let e=Object.assign(AggregateError([t],t.message),{event:t});return n.forEach(t=>SF(t,e)),Promise.reject(e)}if(!t||!t.name){let e=Error("Event name not passed");throw AggregateError([e],e.message)}if(!t.payload){let e=Error("Event name not passed");throw AggregateError([e],e.message)}let r=function(e,t,n){let r=[e.hooks[n],e.hooks["*"]];return t&&r.unshift(e.hooks[`${n}.${t}`]),[].concat(...r.filter(Boolean))}(e,"action"in t.payload?t.payload.action:null,t.name);if(0===r.length)return Promise.resolve();let i=[],o=r.map(n=>{let r=Promise.resolve(t);return e.transform&&(r=r.then(e.transform)),r.then(e=>n(e)).catch(e=>i.push(Object.assign(e,{event:t})))});return Promise.all(o).then(()=>{if(0===i.length)return;let e=AggregateError(i,i.map(e=>e.message).join("\n"));throw Object.assign(e,{event:t}),n.forEach(t=>SF(t,e)),e})}function CF(e,t,n){if(Array.isArray(t))t.forEach(t=>CF(e,t,n));else if(e.hooks[t])for(let r=e.hooks[t].length-1;r>=0;r--)if(e.hooks[t][r]===n)return void e.hooks[t].splice(r,1)}function OF(e){let t={hooks:{},log:bF(e&&e.log)};return e&&e.transform&&(t.transform=e.transform),{on:wF.bind(null,t),onAny:AF.bind(null,t),onError:TF.bind(null,t),removeListener:CF.bind(null,t),receive:kF.bind(null,t)}}async function RF(e,t){if(!await async function(e,t,n,r){if(await vF(e,t,n))return!0;if(void 0!==r)for(let e of r){let r=await vF(e,t,n);if(r)return r}return!1}(e.secret,t.payload,t.signature,e.additionalSecrets).catch(()=>!1)){let n=Error("[@octokit/webhooks] signature does not match event payload and secret");return n.event=t,n.status=400,e.eventHandler.receive(n)}let n;try{n=JSON.parse(t.payload)}catch(e){throw e.message="Invalid JSON",e.status=400,AggregateError([e],e.message)}return e.eventHandler.receive({id:t.id,name:t.name,payload:n})}var DF=new TextDecoder("utf-8",{fatal:!1});DF.decode.bind(DF);var PF=class{sign;verify;on;onAny;onError;removeListener;receive;verifyAndReceive;constructor(e){if(!e||!e.secret)throw Error("[@octokit/webhooks] options.secret required");let t={eventHandler:OF(e),secret:e.secret,additionalSecrets:e.additionalSecrets,hooks:{},log:bF(e.log)};this.sign=yF.bind(null,e.secret),this.verify=vF.bind(null,e.secret),this.on=t.eventHandler.on,this.onAny=t.eventHandler.onAny,this.onError=t.eventHandler.onError,this.removeListener=t.eventHandler.removeListener,this.receive=t.eventHandler.receive,this.verifyAndReceive=RF.bind(null,t)}};async function FF(e,t){return e.octokit.auth({type:"installation",installationId:t,factory(e){let n={...e.octokitOptions,authStrategy:QP,auth:{...e,installationId:t}};return new e.octokit.constructor(n)}})}function IF(e){return Object.assign(NF.bind(null,e),{iterator:LF.bind(null,e)})}async function NF(e,t){let n=LF(e)[Symbol.asyncIterator](),r=await n.next();for(;!r.done;)await t(r.value),r=await n.next()}function LF(e){return{async*[Symbol.asyncIterator](){let t=FD.iterator(e.octokit,"GET /app/installations");for await(let{data:n}of t)for(let t of n)yield{octokit:await FF(e,t.id),installation:t}}}}function MF(e){return Object.assign(BF.bind(null,e),{iterator:UF.bind(null,e)})}async function BF(e,t,n){let r=UF(e,n?t:void 0)[Symbol.asyncIterator](),i=await r.next();for(;!i.done;)n?await n(i.value):await t(i.value),i=await r.next()}function UF(e,t){return{async*[Symbol.asyncIterator](){let n=t?function(e,t){return{async*[Symbol.asyncIterator](){yield{octokit:await e.getInstallationOctokit(t)}}}}(e,t.installationId):e.eachInstallation.iterator();for await(let{octokit:e}of n){let t=FD.iterator(e,"GET /installation/repositories");for await(let{data:n}of t)for(let t of n)yield{octokit:e,repository:t}}}}}var $F=OD.plugin(XD,ID,function(e){return{graphql:Object.assign(e.graphql,{paginate:Object.assign(qD(e),{iterator:jD(e)})})}},tP,lP).defaults({userAgent:"octokit.js/0.0.0-development",throttle:{onRateLimit:function(e,t,n){if(n.log.warn(`Request quota exhausted for request ${t.method} ${t.url}`),0===t.request.retryCount)return n.log.info(`Retrying after ${e} seconds!`),!0},onSecondaryRateLimit:function(e,t,n){if(n.log.warn(`SecondaryRateLimit detected for request ${t.method} ${t.url}`),0===t.request.retryCount)return n.log.info(`Retrying after ${e} seconds!`),!0}}});(class{static VERSION="16.1.2";static defaults(e){return class extends(this){constructor(...t){super({...e,...t[0]})}}}octokit;webhooks;oauth;getInstallationOctokit;eachInstallation;eachRepository;getInstallationUrl;log;constructor(e){let t=e.Octokit||OD,n={authStrategy:QP,auth:Object.assign({appId:e.appId,privateKey:e.privateKey},e.oauth?{clientId:e.oauth.clientId,clientSecret:e.oauth.clientSecret}:{})};"log"in e&&void 0!==e.log&&(n.log=e.log),this.octokit=new t(n),this.log=Object.assign({debug:()=>{},info:()=>{},warn:console.warn.bind(console),error:console.error.bind(console)},e.log),e.webhooks?this.webhooks=function(e,t){return new PF({secret:t.secret,transform:async t=>{if(!("installation"in t.payload)||"object"!=typeof t.payload.installation){let n=new e.constructor({authStrategy:nF,auth:{reason:'"installation" key missing in webhook event payload'}});return{...t,octokit:n}}let n=t.payload.installation.id,r=await e.auth({type:"installation",installationId:n,factory:e=>new e.octokit.constructor({...e.octokitOptions,authStrategy:QP,auth:{...e,installationId:n}})});return r.hook.before("request",e=>{e.headers["x-github-delivery"]=t.id}),{...t,octokit:r}}})}(this.octokit,e.webhooks):Object.defineProperty(this,"webhooks",{get(){throw Error("[@octokit/app] webhooks option not set")}}),e.oauth?this.oauth=new gF({...e.oauth,clientType:"github-app",Octokit:t}):Object.defineProperty(this,"oauth",{get(){throw Error("[@octokit/app] oauth.clientId / oauth.clientSecret options are not set")}}),this.getInstallationOctokit=FF.bind(null,this),this.eachInstallation=IF(this),this.eachRepository=MF(this),this.getInstallationUrl=function(e){let t;return async function(n={}){t||=async function(e){let{data:t}=await e.octokit.request("GET /app");if(!t)throw Error("[@octokit/app] unable to fetch metadata for app");return`${t.html_url}/installations/new`}(e);let r=await t,i=new URL(r);return void 0!==n.target_id&&(i.pathname+="/permissions",i.searchParams.append("target_id",n.target_id.toFixed())),void 0!==n.state&&i.searchParams.append("state",n.state),i.href}}(this)}}).defaults({Octokit:$F}),gF.defaults({Octokit:$F});const zF=$F.plugin(lP),GF=new Map;let jF=null;function VF(e){let t=yg(),n=t.githubApiUrl;return new zF({userAgent:`octocode-mcp/${Dh}`,baseUrl:n,request:{timeout:t.timeout||3e4},throttle:{onRateLimit:(e,t,n,r)=>!1,onSecondaryRateLimit:(e,t,n,r)=>!1},...e&&{auth:e}})}async function qF(e){if(e?.token){let t=function(e){return b("sha256").update(e).digest("hex").substring(0,16)}(e.token);return GF.has(t)||GF.set(t,VF(e.token)),GF.get(t)}return GF.has("DEFAULT")?GF.get("DEFAULT"):jF||(jF=(async()=>{try{let e=VF(await vg());return GF.set("DEFAULT",e),e}finally{jF=null}})(),jF)}const HF="AUTH_REQUIRED",KF="RATE_LIMIT_PRIMARY",WF="RATE_LIMIT_SECONDARY",XF="FORBIDDEN_PERMISSIONS",ZF="NOT_FOUND",YF="INVALID_REQUEST",QF="SERVER_UNAVAILABLE",JF="NETWORK_CONNECTION_FAILED",eI="REQUEST_TIMEOUT",tI="UNKNOWN",nI={[HF]:{message:"GitHub authentication required",suggestion:"TELL THE USER: Refresh your GitHub token! Run 'gh auth login' OR 'gh auth refresh' OR set a new GITHUB_TOKEN/GH_TOKEN environment variable",explanation:"API request requires authentication. GitHub APIs have different rate limits for authenticated (5000/hour) vs unauthenticated (60/hour) requests."},[KF]:{message:"GitHub API rate limit exceeded",messageWithTime:(e,t)=>`GitHub API rate limit exceeded. Resets at ${e.toISOString()} (in ${t} seconds)`,messageWithoutTime:"GitHub API rate limit exceeded. Reset time unavailable - check GitHub status or try again later",suggestion:"Set GITHUB_TOKEN for higher rate limits (5000/hour vs 60/hour)",explanation:"Primary rate limit tracks total API calls per hour. Authenticated users get 5000 requests/hour, unauthenticated get 60 requests/hour."},[WF]:{message:e=>`GitHub secondary rate limit triggered. Retry after ${e} seconds`,suggestion:"Reduce request frequency to avoid abuse detection",explanation:"Secondary rate limits prevent API abuse by limiting request frequency. Triggered by making too many requests too quickly, regardless of remaining quota.",fallbackRetryAfter:60},[XF]:{message:"Access forbidden - insufficient permissions",suggestion:"Check repository permissions or authentication",suggestionWithScopes:e=>`Missing required scopes: ${e.join(", ")}. Run: gh auth refresh -s ${e.join(" -s ")}`,fallbackSuggestion:"Token may not have sufficient permissions for this operation",explanation:"GitHub tokens require specific OAuth scopes for different operations. Common scopes: repo (full repository access), read:org (organization access), gist (gist access)."},[ZF]:{message:"Repository, resource, or path not found",explanation:"Resource not found or not accessible. Could be: incorrect path, deleted resource, private repository without access, wrong branch name."},[YF]:{message:"Invalid search query or request parameters",suggestion:"Check search syntax and parameter values",explanation:"Request was well-formed but contains invalid parameters. Common causes: invalid search syntax, parameters out of range, invalid filter combinations."},[QF]:{message:"GitHub API temporarily unavailable",suggestion:"Retry the request after a short delay",explanation:"GitHub servers are temporarily unavailable. Usually resolves quickly. Check https://www.githubstatus.com for service status."},[JF]:{message:"Network connection failed",suggestion:"Check internet connection and GitHub API status",explanation:"Cannot establish connection to GitHub API. Check internet connectivity, DNS settings, and firewall/proxy configuration."},[eI]:{message:"Request timeout",suggestion:"Retry the request or check network connectivity",explanation:"Request exceeded timeout limit. Could be slow network, large response size, or GitHub server delay."},[tI]:{message:"Unknown error occurred",explanation:"An unexpected error occurred that does not match known error patterns."}},rI={401:HF,403:XF,404:ZF,422:YF,502:QF,503:QF,504:QF},iI={CONNECTION_FAILED:["ENOTFOUND","ECONNREFUSED"],TIMEOUT:["timeout"]},oI={SECONDARY:/\bsecondary rate\b/i,GRAPHQL_TYPE:"RATE_LIMITED"};function aI(e){return e instanceof sD?function(e){let{status:t,message:n,response:r}=e;if(403===t)return function(e,t){let n=t?.headers;if(oI.SECONDARY.test(e))return function(e){let t=Number(e?.["retry-after"])||60;return kg({limit_type:"secondary",retry_after_seconds:t}),sI(0,{error:nI[WF].message(t),status:403,rateLimitRemaining:0,retryAfter:t,scopesSuggestion:nI[WF].suggestion})}(n);let r=n?.["x-ratelimit-remaining"],i=function(e){return(e?.data?.errors)?.some(e=>e.type===oI.GRAPHQL_TYPE)??!1}(t);return"0"===r||i?function(e){let t=e?.["x-ratelimit-reset"],n=t?new Date(1e3*parseInt(String(t))):null,r=n?Math.max(Math.ceil((n.getTime()-Date.now())/1e3)+1,0):void 0,i=n?nI[KF].messageWithTime(n,r):nI[KF].messageWithoutTime;return kg({limit_type:"primary",retry_after_seconds:r,rate_limit_remaining:0,rate_limit_reset_ms:n?n.getTime():void 0}),sI(0,{error:i,status:403,rateLimitRemaining:0,rateLimitReset:n?n.getTime():void 0,retryAfter:r,scopesSuggestion:nI[KF].suggestion})}(n):function(e){let t=e?.["x-accepted-oauth-scopes"],n=e?.["x-oauth-scopes"],r=nI[XF].suggestion;return t&&n&&(r=function(e,t){let n=e.split(",").map(e=>e.trim()).filter(Boolean),r=t.split(",").map(e=>e.trim()).filter(Boolean),i=n.filter(e=>!r.includes(e));return i.length>0?nI[XF].suggestionWithScopes(i):nI[XF].fallbackSuggestion}(String(t),String(n))),sI(0,{error:nI[XF].message,status:403,scopesSuggestion:r})}(n)}(n,r);let i=rI[t];return i?function(e,t){let n=nI[e];return sI(0,{error:n.message,status:t,..."suggestion"in n&&{scopesSuggestion:n.suggestion}})}(i,t):sI(0,{error:n||nI[tI].message,status:t})}(e):e instanceof Error?function(e){return iI.CONNECTION_FAILED.some(t=>e.message.includes(t))?{error:nI[JF].message,type:"network",scopesSuggestion:nI[JF].suggestion}:iI.TIMEOUT.some(t=>e.message.includes(t))?{error:nI[eI].message,type:"network",scopesSuggestion:nI[eI].suggestion}:{error:e.message,type:"unknown"}}(e):{error:"string"==typeof e?e:nI[tI].message,type:"unknown"}}function sI(e,t){return{type:"http",...t}}var cI=class{queryParts=[];addOwnerRepo(e){if(e.owner&&e.repo){let t=Array.isArray(e.owner)?e.owner:[e.owner],n=Array.isArray(e.repo)?e.repo:[e.repo];t.forEach(e=>{n.forEach(t=>{this.queryParts.push(`repo:${e}/${t}`)})})}else e.owner&&(Array.isArray(e.owner)?e.owner:[e.owner]).forEach(e=>{this.queryParts.push(function(e){return`user:${e}`}(e))});return this}addDateFilters(e){return Object.entries({created:"created",updated:"updated","author-date":"author-date","committer-date":"committer-date","merged-at":"merged",closed:"closed"}).forEach(([t,n])=>{let r=e[t];r&&this.queryParts.push(`${n}:${r}`)}),this}addArrayFilter(e,t,n=!1){return e&&null!==e&&(Array.isArray(e)?e:[e]).forEach(e=>{let r=n?`"${e}"`:e;this.queryParts.push(`${t}:${r}`)}),this}addBooleanFilter(e,t,n){return!0===e?this.queryParts.push(t):!1===e&&this.queryParts.push(n),this}addSimpleFilter(e,t){return null!=e&&this.queryParts.push(`${t}:${e}`),this}build(){return this.queryParts.join(" ").trim()}},lI=class extends cI{addQueryTerms(e){if(Array.isArray(e.keywordsToSearch)&&e.keywordsToSearch.length>0){let t=e.keywordsToSearch.filter(e=>e&&e.trim());t.length>0&&this.queryParts.push(...t)}return this}addSearchFilters(e){return this.addSimpleFilter(e.filename,"filename"),this.addSimpleFilter(e.extension,"extension"),this.addSimpleFilter(e.path,"path"),this}addMatchFilters(e){return e.match&&(Array.isArray(e.match)?e.match:[e.match]).forEach(e=>{"file"===e?this.queryParts.push("in:file"):"path"===e&&this.queryParts.push("in:path")}),this}},uI=class extends cI{addQueryTerms(e){return Array.isArray(e.keywordsToSearch)&&e.keywordsToSearch.length>0&&this.queryParts.push(...e.keywordsToSearch),this}addRepoFilters(e){return this.addArrayFilter(e.topicsToSearch,"topic"),this.addSimpleFilter(e.stars,"stars"),this.addSimpleFilter(e.size,"size"),this.addSimpleFilter(e.created,"created"),e.updated&&this.queryParts.push(`pushed:${e.updated}`),this}addMatchFilters(e){return e.match&&(Array.isArray(e.match)?e.match:[e.match]).forEach(e=>{"name"===e?this.queryParts.push("in:name"):"description"===e?this.queryParts.push("in:description"):"readme"===e&&this.queryParts.push("in:readme")}),this}addQualityFilters(){return this.queryParts.push("is:not-archived"),this}},pI=class extends cI{addBasicFilters(e){return e.query&&e.query.trim()&&this.queryParts.push(e.query.trim()),this.queryParts.push("is:pr"),this}addStateFilters(e){return this.addSimpleFilter(e.state,"is"),this.addBooleanFilter(e.draft,"is:draft","-is:draft"),this.addBooleanFilter(e.merged,"is:merged","is:unmerged"),this}addUserFilters(e){return this.addSimpleFilter(e.author,"author"),this.addSimpleFilter(e.assignee,"assignee"),this.addSimpleFilter(e.mentions,"mentions"),this.addSimpleFilter(e.commenter,"commenter"),this.addSimpleFilter(e.involves,"involves"),this.addSimpleFilter(e["reviewed-by"],"reviewed-by"),this.addSimpleFilter(e["review-requested"],"review-requested"),this}addBranchFilters(e){return this.addSimpleFilter(e.head,"head"),this.addSimpleFilter(e.base,"base"),this}addEngagementFilters(e){return this.addSimpleFilter(e.comments,"comments"),this.addSimpleFilter(e.reactions,"reactions"),this.addSimpleFilter(e.interactions,"interactions"),this}addReviewFilters(e){return this}addOrganizationFilters(e){return this.addArrayFilter(e.label,"label",!0),this}addNegativeFilters(e){return e["no-assignee"]&&this.queryParts.push("no:assignee"),e["no-label"]&&this.queryParts.push("no:label"),e["no-milestone"]&&this.queryParts.push("no:milestone"),e["no-project"]&&this.queryParts.push("no:project"),this}addMiscFilters(e){return this.queryParts.push("archived:false"),this}};async function dI(e,t,n,r){let i,o=()=>{void 0!==i&&(clearTimeout(i),i=void 0)};try{let r=new Promise((e,r)=>{i=setTimeout(()=>{Sg("promiseUtils","PROMISE_TIMEOUT").catch(()=>{}),r(Error(((e,t)=>`Promise ${e} timed out after ${t}ms`)(t,n)))},n)}),a=await Promise.race([e(),r]);return o(),{success:!0,data:a,index:t}}catch(e){o();let n=e instanceof Error?e:Error(String(e));if(r)try{r(n,t)}catch{}return{success:!1,error:n,index:t}}}async function mI(e,t,n){let{results:r,errors:i}=await async function(e,t){let n=[],r=[];return!e||0===e.length||(await async function(e,t={}){if(!Array.isArray(e))throw Sg("promiseUtils","VALIDATION_PROMISES_NOT_ARRAY").catch(()=>{}),Error("promises must be an array");if(0===e.length)return[];let{timeout:n=3e4,concurrency:r=e.length,onError:i}=t;if(n<=0)throw Sg("promiseUtils","VALIDATION_TIMEOUT_NOT_POSITIVE").catch(()=>{}),Error("timeout must be positive");if(r<=0)throw Sg("promiseUtils","VALIDATION_CONCURRENCY_NOT_POSITIVE").catch(()=>{}),Error("concurrency must be positive");let o=e.map((e,t)=>"function"==typeof e?e:()=>(Sg("promiseUtils","PROMISE_NOT_A_FUNCTION").catch(()=>{}),Promise.reject(Error((e=>`Promise function at index ${e} is not a function`)(t)))));if(r<o.length)return async function(e,t,n,r){let i=Array(e.length),o=0,a=async()=>{for(;o<e.length;){let t=o++,a=e[t];if(a)try{i[t]=await dI(a,t,n,r)}catch(e){i[t]={success:!1,error:e instanceof Error?e:Error(String(e)),index:t}}else Sg("promiseUtils","PROMISE_FUNCTION_UNDEFINED").catch(()=>{}),i[t]={success:!1,error:Error("Promise function is undefined"),index:t}}},s=[];for(let n=0;n<Math.min(t,e.length);n++)s.push(a());return await Promise.all(s),i}(o,r,n,i);let a=o.map((e,t)=>dI(e,t,n,i));return(await Promise.allSettled(a)).map((e,t)=>"fulfilled"===e.status?e.value:{success:!1,error:e.reason instanceof Error?e.reason:Error(String(e.reason)),index:t})}(e.map((e,n)=>()=>t(e,n).then(t=>({result:t,queryIndex:n,originalQuery:e}))),{timeout:6e4,continueOnError:!0,concurrency:3,onError:(e,t)=>{r.push({queryIndex:t,error:e.message})}})).forEach(e=>{e.success&&e.data&&n.push({result:e.data.result,queryIndex:e.data.queryIndex,originalQuery:e.data.originalQuery})}),{results:n,errors:r}}(e,t);return function(e,t,n,r){let i=[...new Set(["instructions","results","hasResultsStatusHints","emptyStatusHints","errorStatusHints","id","status","data","mainResearchGoal","researchGoal","reasoning","owner","repo",...e.keysPriority||[]])],o=[],a=0,s=0,c=0,l=!1,u=!1,p=!1,d=new Set,m=new Set,f=new Set;t.forEach(e=>{let t=e.result.status,n=function(e){let t=new Set(["mainResearchGoal","researchGoal","reasoning","error","status","query","hints"]),n={};for(let[r,i]of Object.entries(e))t.has(r)||(n[r]=i);return n}(e.result),r=e.result.hints;"hasResults"===t?(l=!0,r&&Array.isArray(r)&&r.forEach(e=>d.add(e))):"empty"===t?(u=!0,r&&Array.isArray(r)&&r.forEach(e=>m.add(e))):"error"===t&&(p=!0,r&&Array.isArray(r)&&r.forEach(e=>f.add(e)));let i={id:e.queryIndex+1,status:t,data:"error"===t&&e.result.error?{error:e.result.error}:n,mainResearchGoal:e.result.mainResearchGoal||fI(e.originalQuery,"mainResearchGoal"),researchGoal:e.result.researchGoal||fI(e.originalQuery,"researchGoal"),reasoning:e.result.reasoning||fI(e.originalQuery,"reasoning")};o.push(i),"hasResults"===t?a++:"empty"===t?s++:c++}),n.forEach(e=>{let t=r[e.queryIndex];t&&(p=!0,o.push({id:e.queryIndex+1,status:"error",data:{error:e.error},mainResearchGoal:fI(t,"mainResearchGoal"),researchGoal:fI(t,"researchGoal"),reasoning:fI(t,"reasoning")}),c++)});let h=l?d.size>0?[...d]:[...r_(e.toolName,"hasResults")]:[],g=u?m.size>0?[...m]:[...r_(e.toolName,"empty")]:[],_=p?f.size>0?[...f]:[...jg?Yg().genericErrorHints:[]]:[];return{content:[{type:"text",text:CR({instructions:hI(o.length,a,s,c),results:o,hasResultsStatusHints:h,emptyStatusHints:g,errorStatusHints:_},i)}],isError:!1}}(n,r,i,e)}function fI(e,t){let n=e[t];return"string"==typeof n?n:void 0}function hI(e,t,n,r){let i=[];t>0&&i.push(`${t} hasResults`),n>0&&i.push(`${n} empty`),r>0&&i.push(`${r} failed`);let o=[`Bulk response with ${e} results: ${i.join(", ")}. Each result includes the status, data, and research details.`];return t>0&&o.push("Review hasResultsStatusHints for guidance on results with data."),n>0&&o.push("Review emptyStatusHints for no-results scenarios."),r>0&&o.push("Review errorStatusHints for error recovery strategies."),o.join("\n")}function gI(e,t){return i_(e,t)}const _I={[zg.LOCAL_RIPGREP]:{hasResults:(e={})=>["grep"===e.searchEngine?"Using grep fallback - install ripgrep for best performance and features.":void 0,"Next: localGetFileContent for context (prefer matchString).","Also search imports/usages/defs with localSearchCode.",e.fileCount&&e.fileCount>5?"Tip: run queries in parallel.":void 0],empty:(e={})=>["grep"===e.searchEngine?"Using grep fallback - note: grep does not respect .gitignore.":void 0,"No matches. Broaden scope (noIgnore, hidden) or use fixedString.","Unsure of paths? localViewStructure or localFindFiles."],error:(e={})=>"size_limit"===e.errorType?[`Too many results${e.matchCount?` (${e.matchCount} matches)`:""}. Narrow pattern/scope.`,"Add type/path filters to focus.",e.path?.includes("node_modules")?"In node_modules, target specific packages.":void 0,"Names only? Use localFindFiles.","Flow: filesOnly=true → refine → read.",...gI(zg.LOCAL_RIPGREP,"largeResult")]:["Tool unavailable; try localFindFiles or localViewStructure."]},[zg.LOCAL_FETCH_CONTENT]:{hasResults:(e={})=>["Next: trace imports/usages with localSearchCode.","Open related files (tests/types/impl) together.","Prefer matchString over full file."],empty:(e={})=>["No match/file. Check path/pattern.","Locate via localFindFiles (name) or localSearchCode (filesOnly for paths)."],error:(e={})=>"size_limit"!==e.errorType||!e.isLarge||e.hasPagination||e.hasPattern?"pattern_too_broad"===e.errorType?[e.tokenEstimate?`Pattern too broad (~${e.tokenEstimate.toLocaleString()} tokens).`:"Pattern too broad.","Tighten pattern or paginate with charLength.",...gI(zg.LOCAL_FETCH_CONTENT,"patternTooBroad")]:["Unknown path; find via localFindFiles or localSearchCode."]:[e.fileSize?`Large file (~${Math.round(.25*e.fileSize)}K tokens).`:"Large file.","Use matchString for sections, or charLength to paginate.","Avoid fullContent without pagination.",...gI(zg.LOCAL_FETCH_CONTENT,"largeFile")]},[zg.LOCAL_VIEW_STRUCTURE]:{hasResults:(e={})=>["Next: localSearchCode for patterns; localFindFiles for filters.","Drill deeper with depth=2 when needed.",e.entryCount&&e.entryCount>10?"Parallelize across directories.":void 0],empty:(e={})=>["Empty/missing. Use hidden=true or check parent.",'Discover dirs with localFindFiles type="d".'],error:(e={})=>"size_limit"===e.errorType&&e.entryCount?[`Directory has ${e.entryCount} entries${e.tokenEstimate?` (~${e.tokenEstimate.toLocaleString()} tokens)`:""}. Use entriesPerPage.`,"Sort by recent; scan page by page.",...gI(zg.LOCAL_VIEW_STRUCTURE,"largeDirectory")]:['Access failed; locate dirs with localFindFiles type="d".']},[zg.LOCAL_FIND_FILES]:{hasResults:(e={})=>{let t=["Found files. Next: localGetFileContent or localSearchCode.",'Use modifiedWithin="7d" to track recent changes.',e.fileCount&&e.fileCount>3?"Batch in parallel.":void 0];return e.fileCount&&e.fileCount>20?[...t,...gI(zg.LOCAL_FIND_FILES,"manyResults")]:t},empty:(e={})=>["No matches. Broaden iname, increase maxDepth, relax filters.","Or use localViewStructure/localSearchCode.",'Syntax: time "7d", size "10M".'],error:(e={})=>["Search failed; try localViewStructure or localSearchCode."]},[zg.GITHUB_SEARCH_CODE]:{hasResults:(e={})=>{let t=[];return e.hasOwnerRepo?t.push("Result is from single repo. Use githubGetFileContent with path."):t.push("Results from multiple repos. Check owners/repos before fetching."),t},empty:(e={})=>{let t=[];return"path"===e.match?(t.push('match="path" searches file/directory NAMES only, not contents.'),t.push('No paths contain this keyword. Try match="file" to search content instead.')):e.hasOwnerRepo||t.push("Cross-repo search requires unique keywords (3+ chars)."),t},error:(e={})=>[]},[zg.GITHUB_FETCH_CONTENT]:{hasResults:(e={})=>[e.isLarge?"Large file - use matchString to target specific sections":void 0],empty:(e={})=>[],error:(e={})=>"size_limit"===e.errorType?["FILE_TOO_LARGE: Use matchString or startLine/endLine for partial reads"]:[]},[zg.GITHUB_VIEW_REPO_STRUCTURE]:{hasResults:(e={})=>[e.entryCount&&e.entryCount>50?`Large directory (${e.entryCount} entries) - use entriesPerPage to paginate`:void 0],empty:(e={})=>[],error:(e={})=>[]},[zg.GITHUB_SEARCH_PULL_REQUESTS]:{hasResults:(e={})=>[],empty:(e={})=>[],error:(e={})=>[]},[zg.GITHUB_SEARCH_REPOSITORIES]:{hasResults:(e={})=>[],empty:(e={})=>[],error:(e={})=>[]},[zg.PACKAGE_SEARCH]:{hasResults:(e={})=>[],empty:(e={})=>[],error:(e={})=>[]}};function yI(e){return"search"===e?["Large codebase: avoid floods.","Flow: localSearchCode filesOnly → add type/path filters → localGetFileContent matchString → localSearchCode links.","Parallelize where safe."]:["Large file: don't read all.","Flow: localGetFileContent matchString → analyze → localSearchCode usages/imports → localGetFileContent related.","Use charLength to paginate if needed.","Avoid fullContent without charLength."]}function vI(e,t,n){let r=function(e,t){return"error"===t?[]:r_(e,t)}(e,t),i=function(e){return e in _I}(e)?function(e,t,n){let r=_I[e]?.[t];return r?r(n||{}).filter(e=>"string"==typeof e):[]}(e,t,n):[],o=[...r,...i];return[...new Set(o)]}function bI(e){let t=[];if(t.push(`GitHub Octokit API Error: ${e.error}`),e.scopesSuggestion&&t.push(e.scopesSuggestion),void 0!==e.rateLimitRemaining&&void 0!==e.rateLimitReset){let n=new Date(e.rateLimitReset);t.push(`Rate limit: ${e.rateLimitRemaining} remaining, resets at ${n.toLocaleTimeString()}`)}return void 0!==e.retryAfter&&t.push(`Retry after ${e.retryAfter} seconds`),t}function EI(e,t,n={}){let{toolName:r,hintContext:i,extra:o,customHints:a,hintSourceError:s}=n,c={status:"error",mainResearchGoal:t.mainResearchGoal,researchGoal:t.researchGoal,reasoning:t.reasoning},l=[];if(s&&l.push(...bI(s)),function(e){return"object"==typeof e&&!!e&&"error"in e&&"string"==typeof e.error&&("type"in e||"status"in e||"scopesSuggestion"in e)}(e))c.error=e,s||l.push(...bI(e));else if(tg(e)){if(c.error=e.message,c.errorCode=e.errorCode,r){let t=vI(r,"error",{originalError:e.message,errorType:xI(e),...i});l.push(...t)}}else if("string"==typeof e)c.error=e;else if(e instanceof Error){let t=function(e,t=Zh.TOOL_EXECUTION_FAILED,n){return tg(e)?e:e instanceof Error?new eg(t,e.message,n,e):new eg(t,String(e),n)}(e);if(c.error=t.message,c.errorCode=t.errorCode,r){let e=vI(r,"error",{originalError:t.message,...i});l.push(...e)}}else c.error="Unknown error occurred";if(a&&a.length>0&&l.push(...a),o?.hints&&Array.isArray(o.hints)&&l.push(...o.hints),l.length>0&&(c.hints=l),o){let{hints:e,...t}=o;Object.assign(c,t)}return c}function xI(e){switch(e.errorCode){case"fileTooLarge":case"outputTooLarge":case"responseTooLarge":case"paginationRequired":return"size_limit";case"fileAccessFailed":case"fileReadFailed":return"not_found";case"pathValidationFailed":return"permission";case"patternTooBroad":return"pattern_too_broad";default:return}}async function wI(e,t,n){if(e)try{await e(t,n)}catch{Sg(t,Xh).catch(()=>{})}}function AI(e,t,n,r,i){let o=n?"hasResults":"empty",a={status:o,mainResearchGoal:e.mainResearchGoal,researchGoal:e.researchGoal,reasoning:e.reasoning,...t},s=vI(r,o,i?.hintContext),c=[...new Set([...s,...i?.extraHints||[]])].filter(e=>e&&e.trim().length>0);return c.length>0&&(a.hints=c),a}function TI(e,t){if(!function(e){return"object"==typeof e&&!!e&&"error"in e&&"string"==typeof e.error}(e))return null;let n={error:e.error,type:e.type||"unknown",status:e.status,scopesSuggestion:e.scopesSuggestion,rateLimitRemaining:e.rateLimitRemaining,rateLimitReset:e.rateLimitReset,retryAfter:e.retryAfter};return EI(n,t,{hintSourceError:n,customHints:e.hints||[]})}function SI(e,t,n,r){let i=e instanceof Error?e.message:"Unknown error occurred",o=n?`${n}: ${i}`:i;return Sg(r||n||"unknown_tool",Xh).catch(()=>{}),EI(o,t)}function kI(e,t){if(0===t)return 0;let n=Buffer.from(e,"utf8"),r=Math.min(t,n.length);return n.slice(0,r).toString("utf8").length}function CI(e,t){return Buffer.byteLength(e.substring(0,t),"utf8")}function OI(e,t=0,n,r={}){let i,o,a,s,c,l,u,p,d=r.mode??"characters",m=e.length,f=Buffer.byteLength(e,"utf-8");if(void 0===n)return{paginatedContent:e,byteOffset:0,byteLength:f,totalBytes:f,nextByteOffset:void 0,charOffset:0,charLength:m,totalChars:m,nextCharOffset:void 0,hasMore:!1,estimatedTokens:Math.ceil(e.length/4),currentPage:1,totalPages:1};if("bytes"===d){let d=Buffer.from(e,"utf-8");o=Math.min(t,f),a=Math.min(o+n,f),i=d.subarray(o,a).toString("utf-8"),s=kI(e,o),c=kI(e,a),l=a<f;let m=r.actualOffset??o;u=Math.floor(m/n)+1,p=Math.ceil(f/n)}else{s=Math.min(t,m),c=Math.min(s+n,m),i=e.substring(s,c),o=CI(e,s),a=CI(e,c),l=c<m;let d=r.actualOffset??s;u=Math.floor(d/n)+1,p=Math.ceil(m/n)}return{paginatedContent:i,byteOffset:o,byteLength:a-o,totalBytes:f,nextByteOffset:l?a:void 0,charOffset:s,charLength:i.length,totalChars:m,nextCharOffset:l?c:void 0,hasMore:l,estimatedTokens:Math.ceil(i.length/4),currentPage:u,totalPages:p}}function RI(e,t=!1){return t?JSON.stringify(e,null,2):JSON.stringify(e)}function DI(e){return{currentPage:e.currentPage,totalPages:e.totalPages,hasMore:e.hasMore,byteOffset:e.byteOffset,byteLength:e.byteLength,totalBytes:e.totalBytes,charOffset:e.charOffset,charLength:e.charLength,totalChars:e.totalChars}}function PI(e,t={}){let{enableWarnings:n=!0,customHints:r=[]}=t,i=[];return i.push(...r),e.estimatedTokens&&i.push(...function(e,t){if(!t)return[];let n=[];return e>5e4?n.push("🚨 CRITICAL: Response TOO LARGE (>50K tokens) - will likely exceed model context limits","ACTION REQUIRED: Use smaller charLength or refine query to reduce output size"):e>3e4?n.push("⚠️ WARNING: High token usage (>30K tokens) - may approach context limits","RECOMMENDATION: Consider reducing charLength or using more specific queries"):e>15e3?n.push("ℹ️ NOTICE: Moderate token usage (>15K tokens) - monitor context window usage"):e>5e3?n.push("ℹ️ Moderate usage: Response uses ~"+e.toLocaleString()+" tokens"):n.push("✓ Efficient query: Response uses ~"+e.toLocaleString()+" tokens"),n}(e.estimatedTokens,n)),i.push(...function(e){let t=[];return e.hasMore&&void 0!==e.nextCharOffset?t.push("📄 More available: This is page "+e.currentPage+" of "+e.totalPages,"▶ Next page: Use charOffset="+e.nextCharOffset+" to continue"):e.charOffset>0&&!e.hasMore&&t.push("✓ Final page: Reached end of content"),t}(e)),i}function FI(e,t){let n=[];if(n.push(`📂 Page ${e.currentPage}/${e.totalPages} (${t.pageFiles} files, ${t.pageFolders} folders on this page)`),n.push(`📊 Total: ${t.allFiles} files, ${t.allFolders} folders (${e.totalEntries} entries)`),e.hasMore){let r=t.path?`path="${t.path}", `:"",i=t.depth&&t.depth>1?`depth=${t.depth}, `:"";n.push(""),n.push("▶ TO GET NEXT PAGE:"),n.push(` Use: entryPageNumber=${e.currentPage+1}`),n.push(` Same params: owner="${t.owner}", repo="${t.repo}", branch="${t.branch}", ${r}${i}entriesPerPage=${e.entriesPerPage}`),n.push(""),n.push("💡 TIP: Use githubSearchCode with path filter for targeted discovery instead of paginating through entire structure")}else n.push(""),n.push(`✓ Complete structure retrieved (${e.totalPages} page${e.totalPages>1?"s":""})`);return n}const II=new(B(Rg(),1).default)({stdTTL:3600,checkperiod:600,useClones:!1});function NI(e,t,n){let r=e.content??"",i=n??2e4;if(Buffer.byteLength(r,"utf-8")<=i&&0===t)return e;let o=OI(r,t,i,{mode:"bytes"}),a=DI(o),s=function(e,t){if(!e.hasMore)return[`✓ Complete content retrieved (${e.totalPages} page${e.totalPages>1?"s":""})`];let n=(e.byteOffset??0)+(e.byteLength??0),r=t.branch?`, branch="${t.branch}"`:"";return[`📄 Page ${e.currentPage}/${e.totalPages} (${(e.byteLength??0).toLocaleString()} of ${(e.totalBytes??0).toLocaleString()} bytes)`,"","▶ TO GET NEXT PAGE:",` Use: charOffset=${n}`,` Same params: owner="${t.owner}", repo="${t.repo}", path="${t.path}"${r}`,"","💡 TIP: Use matchString for targeted extraction instead of paginating through entire file"]}(a,{owner:e.owner??"",repo:e.repo??"",path:e.path??"",branch:e.branch});return{...e,content:o.paginatedContent,contentLength:o.paginatedContent.length,pagination:a,hints:s}}async function LI(e,t,n,r,i){try{let o=r.split("/").slice(0,-1).join("/"),a=r.split("/").pop();if(!a)return[];let s=await e.rest.repos.getContent({owner:t,repo:n,path:o,ref:i});if(!Array.isArray(s.data))return[];let c=s.data,l=[],u=c.find(e=>e.name.toLowerCase()===a.toLowerCase());u&&l.push(u.path);let p=a.replace(/\.[^/.]+$/,"");return c.filter(e=>e.name!==a&&!!e.name.startsWith(p+".")).forEach(e=>l.push(e.path)),Array.from(new Set(l)).slice(0,3)}catch{return[]}}const MI=PR.extend({owner:ft().min(1).max(200).describe(p_.scope.owner),repo:ft().min(1).max(150).describe(p_.scope.repo),branch:ft().min(1).max(255).describe(p_.scope.branch),path:ft().default("").optional().describe(p_.scope.path),depth:ht().min(1).max(2).default(1).optional().describe(p_.range.depth),entriesPerPage:ht().min(1).max(200).default(50).optional().describe(p_.pagination.entriesPerPage),entryPageNumber:ht().min(1).default(1).optional().describe(p_.pagination.entryPageNumber)}),BI=IR(e_.GITHUB_VIEW_REPO_STRUCTURE,MI);async function UI(e,t,n){let r=await Mg(Ng("gh-repo-structure-api",{owner:e.owner,repo:e.repo,branch:e.branch,path:e.path,depth:e.depth},n),async()=>await async function(e,t){try{let n,r=await qF(t),{owner:i,repo:o,branch:a,path:s="",depth:c=1}=e,l=s.startsWith("/")?s.substring(1):s,u=a;try{n=await r.rest.repos.getContent({owner:i,repo:o,path:l||void 0,ref:a})}catch(e){if(!(e instanceof sD&&404===e.status)){let t=aI(e);return await Sg(e_.GITHUB_VIEW_REPO_STRUCTURE,"REPO_ACCESS_FAILED"),{error:jh(i,o,t.error),status:t.status,rateLimitRemaining:t.rateLimitRemaining,rateLimitReset:t.rateLimitReset}}{let t="main";try{t=(await r.rest.repos.get({owner:i,repo:o})).data.default_branch||"main"}catch(e){let t=aI(e);return await Sg(e_.GITHUB_VIEW_REPO_STRUCTURE,"REPO_NOT_FOUND"),{error:$h(i,o,t.error),status:t.status}}if(t===a){let t=aI(e);return await Sg(e_.GITHUB_VIEW_REPO_STRUCTURE,"REPO_PATH_NOT_FOUND"),{error:zh(l,i,o,a),status:t.status}}try{n=await r.rest.repos.getContent({owner:i,repo:o,path:l||void 0,ref:t}),u=t}catch{let s=["main","master","develop"],c=null;for(let e of s)if(e!==a&&e!==t)try{n=await r.rest.repos.getContent({owner:i,repo:o,path:l||void 0,ref:e}),c=e,u=e;break}catch{}if(!c){let n=aI(e);return await Sg(e_.GITHUB_VIEW_REPO_STRUCTURE,"REPO_PATH_NOT_FOUND_ANY_BRANCH"),{error:Gh(l,i,o),status:n.status,triedBranches:[a,t,...s],defaultBranch:t}}}}}let p=(Array.isArray(n.data)?n.data:[n.data]).map(e=>({name:e.name,path:e.path,type:e.type,size:"size"in e?e.size:void 0,download_url:"download_url"in e?e.download_url:void 0,url:e.url,html_url:e.html_url,git_url:e.git_url,sha:e.sha})),d=p;if(c>1){let e=await $I(r,i,o,u,l,1,c);d=[...p,...e].filter((e,t,n)=>n.findIndex(t=>t.path===e.path)===t)}let m=d.filter(e=>"dir"===e.type?!uR(e.name):!pR(e.path));m.sort((e,t)=>{if(e.type!==t.type)return"dir"===e.type?-1:1;let n=e.path.split("/").length,r=t.path.split("/").length;return n===r?e.path.localeCompare(t.path):n-r});let f=e.entriesPerPage??50,h=e.entryPageNumber??1,g=m.length,_=Math.max(1,Math.ceil(g/f)),y=(h-1)*f,v=Math.min(y+f,g),b=m.slice(y,v),E={},x=l||"",w=e=>{let t=e;x&&e.startsWith(x)&&(t=e.slice(x.length),t.startsWith("/")&&(t=t.slice(1)));let n=t.lastIndexOf("/");return-1===n?".":t.slice(0,n)},A=e=>{let t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)};for(let e of b){let t=w(e.path);E[t]||(E[t]={files:[],folders:[]});let n=A(e.path);"file"===e.type?E[t].files.push(n):E[t].folders.push(n)}for(let e of Object.keys(E))E[e].files.sort(),E[e].folders.sort();let T={},S=Object.keys(E).sort((e,t)=>"."===e?-1:"."===t?1:e.localeCompare(t));for(let e of S)T[e]=E[e];let k=b.filter(e=>"file"===e.type).length,C=b.filter(e=>"dir"===e.type).length,O=m.filter(e=>"file"===e.type).length,R=m.filter(e=>"dir"===e.type).length,D=h<_,P={currentPage:h,totalPages:_,hasMore:D,entriesPerPage:f,totalEntries:g},F=FI(P,{owner:i,repo:o,branch:u,path:l,depth:c,pageFiles:k,pageFolders:C,allFiles:O,allFolders:R}),I=void 0===e.entriesPerPage&&void 0===e.entryPageNumber;return{owner:i,repo:o,branch:u,path:l||"/",apiSource:!0,summary:{totalFiles:O,totalFolders:R,truncated:D,filtered:!0,originalCount:m.length},structure:T,pagination:P,hints:F,...I&&{_cachedItems:m.map(e=>({path:e.path,type:e.type}))}}}catch(e){let t=aI(e);return await Sg(e_.GITHUB_VIEW_REPO_STRUCTURE,"REPO_STRUCTURE_EXPLORATION_FAILED"),{error:"Failed to explore repository structure",status:t.status,rateLimitRemaining:t.rateLimitRemaining,rateLimitReset:t.rateLimitReset}}}({...e,entriesPerPage:void 0,entryPageNumber:void 0},t),{shouldCache:e=>!("error"in e)});return!("error"in r)&&r.structure?function(e,t){let n=e._cachedItems;if(!n||0===n.length){let{_cachedItems:t,...n}=e;return n}let r=t.entriesPerPage??50,i=t.entryPageNumber??1,o=n.length,a=Math.max(1,Math.ceil(o/r)),s=(i-1)*r,c=Math.min(s+r,o),l=n.slice(s,c),u={},p="/"===e.path?"":e.path,d=e=>{let t=e;p&&e.startsWith(p)&&(t=e.slice(p.length),t.startsWith("/")&&(t=t.slice(1)));let n=t.lastIndexOf("/");return-1===n?".":t.slice(0,n)},m=e=>{let t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)};for(let e of l){let t=d(e.path);u[t]||(u[t]={files:[],folders:[]});let n=m(e.path);"file"===e.type?u[t].files.push(n):u[t].folders.push(n)}for(let e of Object.keys(u))u[e].files.sort(),u[e].folders.sort();let f={},h=Object.keys(u).sort((e,t)=>"."===e?-1:"."===t?1:e.localeCompare(t));for(let e of h)f[e]=u[e];let g=l.filter(e=>"file"===e.type).length,_=l.filter(e=>"dir"===e.type).length,y=n.filter(e=>"file"===e.type).length,v=n.filter(e=>"dir"===e.type).length,b=i<a,E={currentPage:i,totalPages:a,hasMore:b,entriesPerPage:r,totalEntries:o},x=FI(E,{owner:e.owner,repo:e.repo,branch:e.branch,path:p,depth:t.depth??1,pageFiles:g,pageFolders:_,allFiles:y,allFolders:v});return{owner:e.owner,repo:e.repo,branch:e.branch,path:e.path,apiSource:e.apiSource,summary:{totalFiles:y,totalFolders:v,truncated:b,filtered:!0,originalCount:o},structure:f,pagination:E,hints:x}}(r,e):r}async function $I(e,t,n,r,i,o,a,s=new Set){if(o>a||s.has(i))return[];s.add(i);try{let c=await e.rest.repos.getContent({owner:t,repo:n,path:i||void 0,ref:r}),l=(Array.isArray(c.data)?c.data:[c.data]).map(e=>({name:e.name,path:e.path,type:e.type,size:"size"in e?e.size:void 0,download_url:"download_url"in e?e.download_url:void 0,url:e.url,html_url:e.html_url,git_url:e.git_url,sha:e.sha})),u=[...l];if(o<a){let i=l.filter(e=>"dir"===e.type);for(let c=0;c<i.length;c+=3){let l=i.slice(c,c+3).map(async i=>{try{return await $I(e,t,n,r,i.path,o+1,a,s)}catch{return[]}});(await Promise.all(l)).forEach(e=>{u.push(...e)})}}return u}catch{return[]}}const zI=PR.extend({owner:ft().min(1).max(200).describe(s_.scope.owner),repo:ft().min(1).max(150).describe(s_.scope.repo),path:ft().describe(s_.scope.path),branch:ft().min(1).max(255).optional().describe(s_.scope.branch),fullContent:gt().default(!1).describe(s_.range.fullContent),startLine:ht().int().min(1).optional().describe(s_.range.startLine),endLine:ht().int().min(1).optional().describe(s_.range.endLine),matchString:ft().optional().describe(s_.range.matchString),matchStringContextLines:ht().int().min(1).max(50).default(5).describe(s_.range.matchStringContextLines),charOffset:ht().int().min(0).optional().describe(s_.pagination.charOffset),charLength:ht().int().min(50).max(5e4).optional().describe(s_.pagination.charLength)}).superRefine((e,t)=>{e.fullContent&&(e.startLine||e.endLine||e.matchString)&&t.addIssue({code:G.custom,message:s_.validation.parameterConflict,path:["fullContent"]}),(e.startLine&&!e.endLine||!e.startLine&&e.endLine)&&t.addIssue({code:G.custom,message:s_.validation.parameterConflict,path:["startLine"]})}),GI=IR(e_.GITHUB_FETCH_CONTENT,zI),jI=PR.extend({keywordsToSearch:_t(ft()).optional().describe(l_.search.keywordsToSearch),topicsToSearch:_t(ft()).optional().describe(l_.search.topicsToSearch),owner:ft().optional().describe(l_.scope.owner),stars:ft().optional().describe(l_.filters.stars),size:ft().optional().describe(l_.filters.size),created:ft().optional().describe(l_.filters.created),updated:ft().optional().describe(l_.filters.updated),match:_t(wt(["name","description","readme"])).optional().describe(l_.filters.match),sort:wt(["forks","stars","updated","best-match"]).optional().describe(l_.sorting.sort),limit:ht().int().min(1).max(100).default(10).optional().describe(l_.resultLimit.limit),page:ht().int().min(1).max(10).default(1).optional().describe(l_.pagination.page)}).refine(e=>e.keywordsToSearch&&e.keywordsToSearch.length>0||e.topicsToSearch&&e.topicsToSearch.length>0,{message:"At least one of 'keywordsToSearch' or 'topicsToSearch' is required",path:["keywordsToSearch"]}),VI=IR(e_.GITHUB_SEARCH_REPOSITORIES,jI);function qI(e){return!(!e.topicsToSearch||!(Array.isArray(e.topicsToSearch)?e.topicsToSearch.length>0:e.topicsToSearch))}function HI(e){return!!(e.keywordsToSearch&&e.keywordsToSearch.length>0)}function KI(e,t){return e?`${e} (${"topics"===t?"topics-based search":"keywords-based search"})`:`${t.charAt(0).toUpperCase()+t.slice(1)}-based repository search`}function WI(e,t,n){if(!e)return"";if(void 0===t&&void 0===n)return e;let r=function(e){let t=e.split("\n"),n=[],r=0,i=0;for(let e of t){if(e.startsWith("@@")){let t=e.match(/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@/);t&&t[1]&&t[2]&&(r=parseInt(t[1],10)-1,i=parseInt(t[2],10)-1);continue}e.startsWith("+")?(i++,n.push({originalLineNumber:null,newLineNumber:i,content:e,type:"addition"})):e.startsWith("-")?(r++,n.push({originalLineNumber:r,newLineNumber:null,content:e,type:"deletion"})):e.startsWith("\\")||(r++,i++,n.push({originalLineNumber:r,newLineNumber:i,content:e,type:"context"}))}return n}(e),i=void 0===t?null:new Set(t),o=void 0===n?null:new Set(n),a=r.filter(e=>"addition"===e.type&&null!==e.newLineNumber?null===i||i.has(e.newLineNumber):"deletion"===e.type&&null!==e.originalLineNumber?null===o||o.has(e.originalLineNumber):"context"===e.type&&(null===i||i.size>0||null===o||o.size>0));return 0===a.length?"":a.map(e=>`${"addition"===e.type?`+${e.newLineNumber}`:"deletion"===e.type?`-${e.originalLineNumber}`:` ${e.newLineNumber}`}: ${e.content.substring(1)}`).join("\n")}function XI(e){let t=__.sanitizeContent(e.title??""),n=e.body?__.sanitizeContent(e.body):{content:void 0,warnings:[]},r=new Set([...t.warnings,...n.warnings]),i="closed"===e.state?.toLowerCase()?"closed":"open";return{prData:{number:e.number,title:t.content,body:n.content,state:i,author:e.user?.login??"",labels:e.labels?.map(e=>"string"==typeof e?e:e.name??"")??[],created_at:e.created_at??"",updated_at:e.updated_at??"",closed_at:e.closed_at??null,url:e.html_url,comments:[],reactions:0,draft:e.draft??!1,head:e.head?.ref,head_sha:e.head?.sha,base:e.base?.ref,base_sha:e.base?.sha,...e.merged_at&&{merged_at:e.merged_at}},sanitizationWarnings:r}}function ZI(e){return{number:e.number,title:e.title,url:e.url,state:e.state,draft:e.draft??!1,merged:"closed"===e.state&&!!e.merged_at,created_at:e.created_at,updated_at:e.updated_at,closed_at:e.closed_at??void 0,merged_at:e.merged_at,author:e.author,head_ref:e.head||"",head_sha:e.head_sha||"",base_ref:e.base||"",base_sha:e.base_sha||"",body:e.body,comments:e.comments?.length||0,commits:e.commits?.length||0,additions:e.file_changes?.files.reduce((e,t)=>e+t.additions,0)||0,deletions:e.file_changes?.files.reduce((e,t)=>e+t.deletions,0)||0,changed_files:e.file_changes?.total_count||0,...e.file_changes&&{file_changes:e.file_changes.files?.map(e=>({filename:e.filename,status:e.status,additions:e.additions,deletions:e.deletions,patch:e.patch}))},...e.commits&&{commit_details:e.commits},...e.comments&&e.comments.length>0&&{comment_details:e.comments},...e._sanitization_warnings&&{_sanitization_warnings:e._sanitization_warnings}}}async function YI(e,t,n,r){try{return(await e.rest.issues.listComments({owner:t,repo:n,issue_number:r})).data.map(e=>({id:String(e.id),user:e.user?.login??"unknown",body:__.sanitizeContent(e.body??"").content,created_at:e.created_at??"",updated_at:e.updated_at??""}))}catch{return[]}}function QI(e){return{owner:Array.isArray(e.owner)?e.owner[0]||void 0:e.owner,repo:Array.isArray(e.repo)?e.repo[0]||void 0:e.repo}}function JI(e,t){let n=t.type||"metadata",r=new Map(t.partialContentMetadata?.map(e=>[e.file,e])||[]);return"metadata"===n?e.map(e=>({...e,patch:void 0})):"partialContent"===n?e.filter(e=>r.has(e.filename)).map(e=>{let t=r.get(e.filename);return{...e,patch:e.patch?WI(e.patch,t?.additions,t?.deletions):void 0}}):e}async function eN(e,t,n,r){let i=await qF(r),o=[],a=1,s=!0;do{let r=await i.rest.pulls.listFiles({owner:e,repo:t,pull_number:n,per_page:100,page:a});o.push(...r.data),s=100===r.data.length,a++}while(s);return{total_count:o.length,files:o}}async function tN(e,t,n,r,i){let o=await async function(e,t,n,r){return(await(await qF(r)).rest.pulls.listCommits({owner:e,repo:t,pull_number:n})).data}(e,t,n,i);if(!o)return null;let a=[...o].sort((e,t)=>{let n=e.commit.author?.date?new Date(e.commit.author.date).getTime():0;return(t.commit.author?.date?new Date(t.commit.author.date).getTime():0)-n});return await Promise.all(a.map(async n=>{let o=await async function(e,t,n,r){try{return(await(await qF(r)).rest.repos.getCommit({owner:e,repo:t,ref:n})).data.files||[]}catch{return null}}(e,t,n.sha,i),a=[];return o&&(a=JI(o,r)),{sha:n.sha,message:n.commit.message,author:n.commit.author?.name||"unknown",date:n.commit.author?.date||"",files:a}}))}async function nN(e,t,n,r){let{prData:i,sanitizationWarnings:o}=XI(e);o.size>0&&(i._sanitization_warnings=Array.from(o));let a=t.type||"metadata",s="fullContent"===a||"partialContent"===a||"metadata"===a,c=t.owner,l=t.repo;if(s)try{let n=await eN(c,l,e.number,r);n&&(n.files=JI(n.files,t),i.file_changes=n)}catch(e){Sg(e_.GITHUB_SEARCH_PULL_REQUESTS,String(e)),i._sanitization_warnings=[...i._sanitization_warnings||[],`Partial Data: Failed to fetch details (files): ${e instanceof Error?e.message:String(e)}`]}if(t.withComments&&(i.comments=await YI(n,c,l,e.number)),t.withCommits)try{let n=await tN(c,l,e.number,t,r);n&&(i.commits=n)}catch(e){Sg(e_.GITHUB_SEARCH_PULL_REQUESTS,String(e)),i._sanitization_warnings=[...i._sanitization_warnings||[],`Partial Data: Failed to fetch details (commits): ${e instanceof Error?e.message:String(e)}`]}return i}const rN=_t(wt(["title","body","comments"])).optional().describe(u_.filters.match),iN=yt({created:ft().optional().describe(u_.filters.created),updated:ft().optional().describe(u_.filters.updated)}),oN=PR.extend({query:ft().optional().describe(u_.search.query),owner:ft().optional().describe(u_.scope.owner),repo:ft().optional().describe(u_.scope.repo),prNumber:ht().int().positive().optional().describe(u_.scope.prNumber),state:wt(["open","closed"]).optional().describe(u_.filters.state),assignee:ft().optional().describe(u_.filters.assignee),author:ft().optional().describe(u_.filters.author),commenter:ft().optional().describe(u_.filters.commenter),involves:ft().optional().describe(u_.filters.involves),mentions:ft().optional().describe(u_.filters.mentions),"review-requested":ft().optional().describe(u_.filters["review-requested"]),"reviewed-by":ft().optional().describe(u_.filters["reviewed-by"]),label:vt([ft(),_t(ft())]).optional().describe(u_.filters.label),"no-label":gt().optional().describe(u_.filters["no-label"]),"no-milestone":gt().optional().describe(u_.filters["no-milestone"]),"no-project":gt().optional().describe(u_.filters["no-project"]),"no-assignee":gt().optional().describe(u_.filters["no-assignee"]),head:ft().optional().describe(u_.filters.head),base:ft().optional().describe(u_.filters.base),created:iN.shape.created,updated:iN.shape.updated,closed:ft().optional().describe(u_.filters.closed),"merged-at":ft().optional().describe(u_.filters["merged-at"]),comments:vt([ht().int().min(0),ft().regex(/^(>=?\d+|<=?\d+|\d+\.\.\d+|\d+)$/)]).optional().describe(u_.filters.comments),reactions:vt([ht().int().min(0),ft().regex(/^(>=?\d+|<=?\d+|\d+\.\.\d+|\d+)$/)]).optional().describe(u_.filters.reactions),interactions:vt([ht().int().min(0),ft().regex(/^(>=?\d+|<=?\d+|\d+\.\.\d+|\d+)$/)]).optional().describe(u_.filters.interactions),merged:gt().optional().describe(u_.filters.merged),draft:gt().optional().describe(u_.filters.draft),match:rN,sort:wt(["created","updated","best-match"]).optional().describe(u_.sorting.sort),order:wt(["asc","desc"]).optional().default("desc").describe(u_.sorting.order),limit:ht().min(1).max(10).default(5).optional().describe(u_.resultLimit.limit),page:ht().int().min(1).max(10).default(1).optional().describe(u_.pagination.page),withComments:gt().default(!1).optional().describe(u_.outputShaping.withComments),withCommits:gt().default(!1).optional().describe(u_.outputShaping.withCommits),type:wt(["metadata","fullContent","partialContent"]).default("metadata").optional().describe(u_.outputShaping.type),partialContentMetadata:_t(yt({file:ft(),additions:_t(ht()).optional(),deletions:_t(ht()).optional()})).optional().describe(u_.outputShaping.partialContentMetadata)}),aN=IR(e_.GITHUB_SEARCH_PULL_REQUESTS,oN);function sN(e){return!!(e?.query&&String(e.query).length>256)}function cN(e){return!!(e?.query?.trim()||e?.owner||e?.repo||e?.author||e?.assignee||e?.prNumber&&e?.owner&&e?.repo)}function lN(e,t){return{...e,_validationError:t}}function uN(e,t){return{path:e.path||"/",structure:{},...t}}const pN={name:ft().min(1).describe(d_.search.name),searchLimit:ht().int().min(1).max(10).optional().default(1).describe(d_.options.searchLimit)},dN=bt("ecosystem",[PR.extend({...pN,ecosystem:xt("npm").describe(d_.search.ecosystem),npmFetchMetadata:gt().optional().default(!1).describe(d_.options.npmFetchMetadata)}),PR.extend({...pN,ecosystem:xt("python").describe(d_.search.ecosystem),pythonFetchMetadata:gt().optional().default(!1).describe(d_.options.pythonFetchMetadata)})]),mN=IR(e_.PACKAGE_SEARCH,dN);function fN(e){return e.replace(/^git\+/,"").replace(/\.git$/,"")}async function hN(e,t=!1){try{let n=await wh("view",[e,"--json"]);if(n.error||0!==n.exitCode)return null;let r,i=n.stdout.trim();if(!i||"undefined"===i)return null;try{let e=JSON.parse(i);if(r=Array.isArray(e)?e[0]:e,!r)return null}catch{return null}return function(e,t=!1){let n,r=null;if(e.repository&&("string"==typeof e.repository?r=fN(e.repository):e.repository.url&&(r=fN(e.repository.url))),e.time){let t=(e.version?e.time[e.version]:void 0)||e.time.modified;t&&(n=t)}let i={repoUrl:r,path:e.name,version:e.version||"latest",mainEntry:e.main||null,typeDefinitions:e.types||e.typings||null,lastPublished:n};return t&&(e.license&&(i.license="string"==typeof e.license?e.license:e.license.type),e.author&&("string"==typeof e.author?i.author=e.author:e.author.name&&(i.author=e.author.name)),e.description&&(i.description=e.description),e.keywords&&e.keywords.length>0&&(i.keywords=e.keywords),e.homepage&&(i.homepage=e.homepage),e.engines&&Object.keys(e.engines).length>0&&(i.engines=e.engines),e.dependencies&&Object.keys(e.dependencies).length>0&&(i.dependencies=e.dependencies),e.peerDependencies&&Object.keys(e.peerDependencies).length>0&&(i.peerDependencies=e.peerDependencies)),i}(r,t)}catch{return null}}const gN={wix:"wix-private",types:"DefinitelyTyped",babel:"babel",angular:"angular",vue:"vuejs",react:"facebook",modelcontextprotocol:"modelcontextprotocol",vercel:"vercel",nextjs:"vercel",prisma:"prisma",trpc:"trpc"},_N={"@wix/design-system":"https://github.com/wix-private/wix-design-systems","@types/node":"https://github.com/DefinitelyTyped/DefinitelyTyped","@modelcontextprotocol/sdk":"https://github.com/modelcontextprotocol/typescript-sdk"};function yN(e){return"path"in e?e.path:e.name}function vN(e){return"repoUrl"in e?e.repoUrl:e.repository}var bN=class{command;args=[];constructor(e){this.command=e}addFlag(e){return this.args.push(e),this}prependArg(e){return this.args.unshift(e),this}addOption(e,t){return this.args.push(e,String(t)),this}addArg(e){return this.args.push(e),this}build(){return{command:this.command,args:[...this.args]}}reset(){return this.args=[],this}getArgs(){return[...this.args]}};const EN=1e4;var xN=class extends bN{constructor(){super("rg")}simple(e,t){return this.addFlag("-n"),this.addFlag("--column"),this.addFlag("-S"),this.addOption("--color","never"),this.addOption("--sort","path"),this.addArg(e),this.addArg(t),this}smartCase(){return this.addFlag("-S"),this}filesOnly(){return this.addFlag("-l"),this}context(e){return this.addOption("-C",e),this}include(e){return this.addOption("-g",e),this}exclude(e){return this.addOption("-g",`!${e}`),this}excludeDir(e){return this.addOption("-g",`!${e}/`),this}type(e){return this.addOption("-t",e),this}fixedString(){return this.addFlag("-F"),this}perlRegex(){return this.addFlag("-P"),this}maxMatches(e){return this.addOption("-m",e),this}fromQuery(e){if(e.fixedString?this.addFlag("-F"):e.perlRegex&&this.addFlag("-P"),e.caseSensitive?this.addFlag("-s"):e.caseInsensitive?this.addFlag("-i"):!1!==e.smartCase&&this.addFlag("-S"),e.noUnicode&&this.addFlag("--no-unicode"),e.encoding&&this.addOption("-E",e.encoding),e.wholeWord&&this.addFlag("-w"),e.invertMatch&&this.addFlag("-v"),e.binaryFiles&&("text"===e.binaryFiles?this.addFlag("-a"):"binary"===e.binaryFiles&&this.addFlag("--binary")),e.followSymlinks&&this.addFlag("-L"),void 0!==e.contextLines&&e.contextLines>0?this.addOption("-C",e.contextLines):(void 0!==e.beforeContext&&e.beforeContext>0&&this.addOption("-B",e.beforeContext),void 0!==e.afterContext&&e.afterContext>0&&this.addOption("-A",e.afterContext)),this.addFlag("-n"),this.addFlag("--column"),e.filesOnly?this.addFlag("-l"):e.filesWithoutMatch?this.addFlag("--files-without-match"):e.countMatches?this.addFlag("--count-matches"):e.count&&this.addFlag("-c"),void 0!==e.maxMatchesPerFile)this.addOption("-m",e.maxMatchesPerFile);else if(!e.filesOnly&&!e.count&&!e.countMatches){let t=e.matchesPerPage&&Number.isFinite(e.matchesPerPage)?e.matchesPerPage:10;this.addOption("-m",t)}if(e.type&&this.addOption("-t",e.type),e.include&&e.include.length>0){let t=this._consolidateGlobs(e.include);for(let e of t)this.addOption("-g",e)}if(e.exclude&&e.exclude.length>0)for(let t of e.exclude)this.addOption("-g",`!${t}`);if(e.excludeDir&&e.excludeDir.length>0)for(let t of e.excludeDir)this.addOption("-g",`!${t}/`);e.noIgnore&&this.addFlag("--no-ignore"),e.hidden&&this.addFlag("--hidden"),e.multiline&&(this.addFlag("-U"),e.multilineDotall&&this.addFlag("--multiline-dotall")),this.addFlag("--json"),void 0!==e.threads&&this.addOption("-j",e.threads),!1===e.mmap&&this.addFlag("--no-mmap"),e.includeStats&&this.addFlag("--stats");let t=e.sort||"path";return e.sortReverse?(this.clearSortOption(),this.addOption("--sortr",t)):(this.clearSortrOption(),this.addOption("--sort",t)),this.addOption("--color","never"),e.noMessages&&this.addFlag("--no-messages"),e.lineRegexp&&this.addFlag("-x"),e.passthru&&this.addFlag("--passthru"),e.debug&&this.addFlag("--debug"),this.addArg(e.pattern),this.addArg(e.path),this}_consolidateGlobs(e){let t=/^\*\.([a-zA-Z0-9]+)$/,n=[],r=[];for(let i of e){let e=i.match(t);e&&e[1]?n.push(e[1]):r.push(i)}let i=[];return n.length>1?i.push(`*.{${n.join(",")}}`):1===n.length&&i.push(`*.${n[0]}`),i.push(...r),i}clearSortOption(){let e=this.args.indexOf("--sort");-1!==e&&e<this.args.length-1&&this.args.splice(e,2)}clearSortrOption(){let e=this.args.indexOf("--sortr");-1!==e&&e<this.args.length-1&&this.args.splice(e,2)}};const wN={ts:["ts","tsx"],js:["js","jsx","mjs","cjs"],py:["py","pyi"],rust:["rs"],go:["go"],java:["java"],cpp:["cpp","cc","cxx","hpp","h"],c:["c","h"],css:["css","scss","sass","less"],html:["html","htm"],json:["json"],yaml:["yaml","yml"],md:["md","markdown"],xml:["xml"],sh:["sh","bash","zsh"],rb:["rb"],php:["php"],swift:["swift"],kt:["kt","kts"],scala:["scala"],sql:["sql"],vim:["vim"],lua:["lua"],r:["r","R"],dockerfile:["Dockerfile"],make:["Makefile","makefile","mk"]};var AN=class extends bN{constructor(){super("grep")}simple(e,t){return this.addFlag("-r"),this.addFlag("-n"),this.addFlag("-H"),this.addFlag("-I"),this.addOption("--color","never"),this.addArg(e),this.addArg(t),this}caseInsensitive(){return this.addFlag("-i"),this}filesOnly(){return this.addFlag("-l"),this}context(e){return this.addOption("-C",e),this}include(e){return this.addOption("--include",e),this}exclude(e){return this.addOption("--exclude",e),this}excludeDir(e){return this.addOption("--exclude-dir",e),this}fixedString(){return this.addFlag("-F"),this}fromQuery(e){if(this.addFlag("-r"),e.fixedString?this.addFlag("-F"):e.perlRegex&&this.addFlag("-E"),(e.caseInsensitive||e.smartCase)&&this.addFlag("-i"),e.wholeWord&&this.addFlag("-w"),e.invertMatch&&this.addFlag("-v"),void 0!==e.contextLines&&e.contextLines>0?this.addOption("-C",e.contextLines):(void 0!==e.beforeContext&&e.beforeContext>0&&this.addOption("-B",e.beforeContext),void 0!==e.afterContext&&e.afterContext>0&&this.addOption("-A",e.afterContext)),this.addFlag("-n"),e.filesOnly?this.addFlag("-l"):e.filesWithoutMatch?this.addFlag("-L"):(e.count||e.countMatches)&&this.addFlag("-c"),e.type){let t=wN[e.type];if(t)for(let e of t)this.addOption("--include",`*.${e}`);else this.addOption("--include",`*.${e.type}`)}if(e.include&&e.include.length>0)for(let t of e.include)this.addOption("--include",t);if(e.exclude&&e.exclude.length>0)for(let t of e.exclude)this.addOption("--exclude",t);if(e.excludeDir&&e.excludeDir.length>0)for(let t of e.excludeDir)this.addOption("--exclude-dir",t);return e.binaryFiles?"text"===e.binaryFiles?this.addFlag("-a"):"without-match"===e.binaryFiles&&this.addFlag("-I"):this.addFlag("-I"),this.addOption("--color","never"),this.addFlag("-H"),e.lineRegexp&&this.addFlag("-x"),this.addArg(e.pattern),this.addArg(e.path),this}};const TN=o_[e_.LOCAL_RIPGREP]||"Search local files using ripgrep (rg) with grep fallback",SN=FR.extend({pattern:ft().min(1).describe(m_.search.pattern),path:ft().describe(m_.search.path),mode:wt(["discovery","paginated","detailed"]).optional().describe(m_.search.mode),fixedString:gt().optional().describe(m_.options.fixedString),perlRegex:gt().optional().describe(m_.options.perlRegex),smartCase:gt().optional().default(!0).describe(m_.options.smartCase),caseInsensitive:gt().optional().describe(m_.options.caseInsensitive),caseSensitive:gt().optional().describe(m_.options.caseSensitive),wholeWord:gt().optional().describe(m_.options.wholeWord),invertMatch:gt().optional().describe(m_.options.invertMatch),type:ft().optional().describe(m_.filters.type),include:_t(ft()).optional().describe(m_.filters.include),exclude:_t(ft()).optional().describe(m_.filters.exclude),excludeDir:_t(ft()).optional().describe(m_.filters.excludeDir),noIgnore:gt().optional().describe(m_.filters.noIgnore),hidden:gt().optional().describe(m_.filters.hidden),followSymlinks:gt().optional().describe(m_.filters.followSymlinks),filesOnly:gt().optional().describe(m_.output.filesOnly),filesWithoutMatch:gt().optional().describe(m_.output.filesWithoutMatch),count:gt().optional().describe(m_.output.count),countMatches:gt().optional().describe(m_.output.countMatches),contextLines:ht().int().min(0).max(50).optional().describe(m_.context.contextLines),beforeContext:ht().int().min(0).max(50).optional().describe(m_.context.beforeContext),afterContext:ht().int().min(0).max(50).optional().describe(m_.context.afterContext),matchContentLength:ht().int().min(1).max(800).optional().default(200).describe(m_.context.matchContentLength),lineNumbers:gt().optional().default(!0).describe(m_.context.lineNumbers),column:gt().optional().describe(m_.context.column),maxMatchesPerFile:ht().int().min(1).max(100).optional().describe(m_.pagination.maxMatchesPerFile),maxFiles:ht().int().min(1).max(1e3).optional().describe(m_.pagination.maxFiles),filesPerPage:ht().int().min(1).max(20).optional().default(10).describe(m_.pagination.filesPerPage),filePageNumber:ht().int().min(1).optional().default(1).describe(m_.pagination.filePageNumber),matchesPerPage:ht().int().min(1).max(100).optional().default(10).describe(m_.pagination.matchesPerPage),multiline:gt().optional().describe(m_.options.multiline),multilineDotall:gt().optional().describe(m_.options.multilineDotall),binaryFiles:wt(["text","without-match","binary"]).optional().default("without-match").describe(m_.filters.binaryFiles),includeStats:gt().optional().default(!0).describe(m_.output.includeStats),jsonOutput:gt().optional().describe(m_.output.jsonOutput),vimgrepFormat:gt().optional().describe(m_.output.vimgrepFormat),includeDistribution:gt().optional().default(!0).describe(m_.output.includeDistribution),threads:ht().int().min(1).max(32).optional().describe(m_.advanced.threads),mmap:gt().optional().describe(m_.advanced.mmap),noUnicode:gt().optional().describe(m_.advanced.noUnicode),encoding:ft().optional().describe(m_.advanced.encoding),sort:wt(["path","modified","accessed","created"]).optional().default("path").describe(m_.advanced.sort),sortReverse:gt().optional().describe(m_.advanced.sortReverse),noMessages:gt().optional().describe(m_.advanced.noMessages),lineRegexp:gt().optional().describe(m_.advanced.lineRegexp),passthru:gt().optional().describe(m_.advanced.passthru),debug:gt().optional().describe(m_.advanced.debug),showFileLastModified:gt().default(!1).describe(m_.advanced.showFileLastModified)}),kN=IR(e_.LOCAL_RIPGREP,SN,{maxQueries:5});function CN(e){let t=[],n=[];if(e.fixedString&&e.perlRegex&&n.push("fixedString and perlRegex are mutually exclusive. Choose one."),e.filesOnly&&e.count&&t.push("filesOnly and count are mutually exclusive. Using filesOnly."),e.filesOnly&&e.filesWithoutMatch&&n.push("filesOnly and filesWithoutMatch are mutually exclusive. Choose one."),e.passthru&&e.filesOnly&&n.push("passthru and filesOnly are mutually exclusive."),e.passthru&&t.push("passthru prints ALL lines from matched files. This can produce very large output. Consider using context lines instead."),e.lineRegexp&&e.wholeWord&&t.push("lineRegexp and wholeWord both specified. lineRegexp takes precedence."),e.invertMatch&&!e.filesWithoutMatch&&t.push("invertMatch inverts at LINE level (shows non-matching lines). Files in results may still contain the pattern on other lines. For FILE-level inversion (files without ANY matches), use filesWithoutMatch=true instead."),[e.caseInsensitive,e.caseSensitive,e.smartCase].filter(Boolean).length>1&&t.push("Multiple case sensitivity modes specified. Priority: caseSensitive > caseInsensitive > smartCase"),e.contextLines&&e.contextLines>2||e.beforeContext&&e.beforeContext>2||e.afterContext&&e.afterContext>2){let n=e.matchContentLength||200;t.push(`Context lines enabled (${e.contextLines||e.beforeContext||e.afterContext} lines). Match values will include context and be truncated to ${n} chars. Use matchesPerPage for pagination.`)}if(e.multiline&&t.push("Multiline mode is memory-intensive and slower. Entire files are loaded into memory. Only use when pattern genuinely spans multiple lines."),e.perlRegex&&!e.noUnicode&&e.multiline&&t.push("PERFORMANCE TIP: For fastest PCRE2 multiline searches on ASCII codebases, consider using noUnicode=true (2-3x faster)."),!e.filesOnly&&!e.count&&!e.maxMatchesPerFile&&!e.matchesPerPage&&t.push("No output limiting specified. Consider setting maxMatchesPerFile (default: 3) to control output size."),e.include&&e.include.length>1){let n=e.include.every(e=>e.match(/^\*\.[a-zA-Z0-9]+$/)),r=e.include[0];if(n&&r&&!r.includes("{")){let n=e.include.map(e=>e.replace("*.","")).join(",");t.push(`TIP: Consolidate globs for better performance: include=["*.{${n}}"] instead of separate globs.`)}}if(e.include&&!e.type){let n=e.include[0]?.match(/^\*\.([a-z]+)$/)?.[1];n&&["ts","js","py","rust","go","java","cpp","c"].includes(n)&&t.push(`TIP: Use type="${n}" instead of include glob for cleaner syntax.`)}return{isValid:0===n.length,warnings:t,errors:n}}const ON=[/^\.git$/,/^\.git\//,/\/\.git$/,/\/\.git\//,/^\.ssh$/,/^\.ssh\//,/\/\.ssh$/,/\/\.ssh\//,/^\.aws$/,/^\.aws\//,/\/\.aws$/,/\/\.aws\//,/^\.docker$/,/^\.docker\//,/\/\.docker$/,/\/\.docker\//,/^\.config\/gcloud$/,/^\.config\/gcloud\//,/\/\.config\/gcloud$/,/\/\.config\/gcloud\//,/^\.azure$/,/^\.azure\//,/\/\.azure$/,/\/\.azure\//,/^\.kube$/,/^\.kube\//,/\/\.kube$/,/\/\.kube\//,/^\.terraform$/,/^\.terraform\//,/\/\.terraform$/,/\/\.terraform\//,/^secrets$/,/^secrets\//,/\/secrets$/,/\/secrets\//,/^private$/,/^private\//,/\/private$/,/\/private\//,/^\.password-store$/,/^\.password-store\//,/\/\.password-store$/,/\/\.password-store\//,/\.mozilla\/firefox\//,/\.config\/chromium\//,/\.config\/google-chrome\//,/Library\/Application Support\/Google\/Chrome\//,/Library\/Application Support\/Firefox\//,/Library\/Keychains\//,/^\.thunderbird$/,/^\.thunderbird\//,/\/\.thunderbird$/,/\/\.thunderbird\//,/^\.evolution$/,/^\.evolution\//,/\/\.evolution$/,/\/\.evolution\//,/^\.vagrant$/,/^\.vagrant\//,/\/\.vagrant$/,/\/\.vagrant\//,/^\.minikube$/,/^\.minikube\//,/\/\.minikube$/,/\/\.minikube\//,/^\.bitcoin$/,/^\.bitcoin\//,/\/\.bitcoin$/,/\/\.bitcoin\//,/^\.ethereum$/,/^\.ethereum\//,/\/\.ethereum$/,/\/\.ethereum\//,/^\.electrum$/,/^\.electrum\//,/\/\.electrum$/,/\/\.electrum\//],RN=[/^\.env$/,/^\.env\.local$/,/^\.env\.development$/,/^\.env\.production$/,/^\.env\.test$/,/^\.env\..+$/,/\.env$/,/\.env\.local$/,/\.env\..+$/,/^\.npmrc$/,/^\.pypirc$/,/^\.netrc$/,/^\.dockercfg$/,/^\.docker\/config\.json$/,/^credentials$/,/^\.credentials$/,/^\.aws\/credentials$/,/^\.aws\/config$/,/^\.ssh\/.*$/,/^id_rsa$/,/^id_dsa$/,/^id_ecdsa$/,/^id_ed25519$/,/^id_rsa\.pub$/,/^id_dsa\.pub$/,/^id_ecdsa\.pub$/,/^id_ed25519\.pub$/,/^known_hosts$/,/^authorized_keys$/,/.*_rsa$/,/.*_dsa$/,/.*_ecdsa$/,/.*_ed25519$/,/^private.*\.key$/,/^private.*\.pem$/,/^.*[-_]private[-_].*\.key$/,/^.*[-_]private[-_].*\.pem$/,/[-_]private\.key$/,/[-_]private\.pem$/,/^.*\.private\.key$/,/^.*\.private\.pem$/,/\.pem$/,/\.key$/,/\.crt$/,/\.cer$/,/\.keystore$/,/\.p12$/,/\.pfx$/,/\.jks$/,/\.ppk$/,/^service[-_]account.*\.json$/,/^.*-service[-_]account.*\.json$/,/^application[-_]default[-_]credentials\.json$/,/^gcloud[-_]credentials\.json$/,/^kubeconfig$/,/^\.kube\/config$/,/^k8s[-_]config$/,/^terraform\.tfstate$/,/^terraform\.tfstate\.backup$/,/^terraform\.tfvars$/,/^\.terraform\.lock\.hcl$/,/^\.pgpass$/,/^\.my\.cnf$/,/^\.psqlrc$/,/^secrets\.yml$/,/^master\.key$/,/^config\/master\.key$/,/^wp-config\.php$/,/^google-services\.json$/,/^GoogleService-Info\.plist$/,/^keystore\.properties$/,/\.mobileprovision$/,/\.provisionprofile$/,/^\.token$/,/^token\.txt$/,/^access_token$/,/^refresh_token$/,/^bearer_token$/,/^auth_token$/,/^client_secret.*\.json$/,/^oauth2.*\.json$/,/^\.password$/,/^password\.txt$/,/^passwords\.txt$/,/^\.secret$/,/^secret\.txt$/,/^secrets\.txt$/,/^apikey\.txt$/,/^api_key\.txt$/,/^api-key\.txt$/,/^\.git-credentials$/,/^git-credentials$/,/^\.htpasswd$/,/^auth\.json$/,/^\.ftpconfig$/,/^ftpconfig\.json$/,/^_netrc$/,/^\.bash_history$/,/^\.zsh_history$/,/^\.sh_history$/,/^\.history$/,/^\.mysql_history$/,/^\.psql_history$/,/^\.sqlite_history$/,/^\.pip\/pip\.conf$/,/^credentials\.xml$/,/^secrets\/.*\.xml$/,/^shadow$/,/^shadow\.bak$/,/^gshadow$/,/^\.muttrc$/,/^\.mailrc$/,/^\.ircrc$/,/^\.s3cfg$/,/^s3cfg$/,/^\.slack-token$/,/^slack[-_]token$/,/^\.github[-_]token$/,/^github[-_]token$/,/^\.netrc\.heroku$/,/^\.circleci\/local[-_]config\.yml$/,/^vault[-_]pass.*\.txt$/,/^\.vault[-_]pass.*$/,/^\.npm[-_]token$/,/^settings\.xml$/,/^\.m2\/settings\.xml$/,/^gradle\.properties$/,/^\.gradle\/gradle\.properties$/,/^\.subversion\/auth\/.*$/,/^Login Data$/,/^Cookies$/,/\/Login Data$/,/\/Cookies$/,/\/logins\.json$/,/\/key[34]\.db$/,/\.mozilla\/firefox\/.*\/logins\.json$/,/\.mozilla\/firefox\/.*\/key[34]\.db$/,/\.config\/chromium\/.*\/Login Data$/,/\.config\/google-chrome\/.*\/Login Data$/,/\.kdbx$/,/\.kdb$/,/^1Password\.sqlite$/,/^1Password.*\.sqlite$/,/\.agilekeychain\//,/\.opvault\//,/^password-store$/,/^passwords\.kdbx$/,/^keepass\.kdbx$/,/^wallet\.dat$/,/^default_wallet$/,/^\.bitcoin\/wallet\.dat$/,/^\.ethereum\/keystore\/.*$/,/^\.electrum\/wallets\/.*$/,/\/keystore\/UTC--.*$/,/^dump\.rdb$/,/^mongodb\.dump$/,/\.bson$/,/\.dump$/,/^\.idea\/dataSources\.xml$/,/^\.idea\/webServers\.xml$/,/^\.idea\/deployment\.xml$/,/^\.vagrant\/machines\/.*\/private_key$/,/^\.vagrant\.d\/insecure_private_key$/,/^cookies\.txt$/,/^\.cookies$/,/^session$/,/^sessionid$/,/^\.wget-hsts$/,/^core$/,/^core\.\d+$/,/\.core$/,/\.dmp$/,/\.mdmp$/,/^Credentials$/,/^NTUSER\.DAT$/,/^SAM$/,/\.keychain$/,/\.keychain-db$/,/\.csr$/,/^oauth[-_]token.*$/,/^bearer[-_]token.*$/,/^jwt[-_]token.*$/,/^\.token\..*$/,/^api[-_]keys?\..*$/,/^\.redis_history$/,/^\.mongo_history$/,/^\.dbshell$/,/^docker-compose\.override\.yml$/,/^docker-compose\..*\.yml$/,/^\.gcp[-_]credentials\.json$/,/^\.azure[-_]credentials$/,/^\.do[-_]token$/,/^\.linode[-_]token$/,/^\.msmtprc$/,/^\.fetchmailrc$/,/^wireguard\.conf$/,/^wg[0-9]+\.conf$/,/\.ovpn$/,/^PASSWORDS\.md$/,/^SECRETS\.md$/,/^CREDENTIALS\.md$/,/^ACCESS\.md$/,/^\.env\.dusk\..*$/,/\.asc$/,/\.gpg$/,/^\.ssh\/config$/,/\.rdp$/,/^credentials\.db$/,/^credentials\.sqlite$/,/\.postman_environment\.json$/,/^\.ruby-env$/,/^\.rbenv-vars$/,/^\.python-env$/,/^\.node-env$/,/^\.rsync[-_]password$/,/^rsync[-_]password$/];function DN(e){return function(e){if(!e||""===e.trim())return!0;let t=e.replace(/\\/g,"/"),n=t.split("/");for(let e of n)if(ON.some(t=>t.test(e)))return!0;return!!ON.some(e=>e.test(t))}(e)||function(e){if(!e||""===e.trim())return!0;let t=e.replace(/\\/g,"/"),n=t.split("/").pop()||"";return!(!RN.some(e=>e.test(n))&&!RN.some(e=>e.test(t)))}(e)}const PN=new class{allowedRoots;constructor(e){let t="string"==typeof e?{workspaceRoot:e}:e||{},n=t.workspaceRoot?this.expandTilde(t.workspaceRoot):process.cwd();if(this.allowedRoots=[p.resolve(n)],!1!==t.includeHomeDir){let e=x.homedir();e&&!this.allowedRoots.includes(e)&&this.allowedRoots.push(e)}if(t.additionalRoots)for(let e of t.additionalRoots)this.addAllowedRoot(e);let r=process.env.ALLOWED_PATHS;if(r){let e=r.split(",").map(e=>e.trim()).filter(e=>e.length>0);for(let t of e)this.addAllowedRoot(t)}}expandTilde(e){return e.startsWith("~")?p.join(x.homedir(),e.slice(1)):e}addAllowedRoot(e){let t=this.expandTilde(e),n=p.resolve(t);this.allowedRoots.includes(n)||this.allowedRoots.push(n)}validate(e){if(!e||""===e.trim())return{isValid:!1,error:"Path cannot be empty"};let t=this.expandTilde(e),n=p.resolve(t);if(!this.allowedRoots.some(e=>n===e||n.startsWith(e+p.sep)))return{isValid:!1,error:`Path '${e}' is outside allowed directories. Allowed roots: ${this.allowedRoots.join(", ")}`};if(DN(n))return{isValid:!1,error:`Path '${e}' is in an ignored directory or matches an ignored pattern`};try{let e=_.realpathSync(n);return this.allowedRoots.some(t=>e===t||e.startsWith(t+p.sep))?DN(e)?{isValid:!1,error:`Symlink target '${e}' is in an ignored directory or matches an ignored pattern`}:{isValid:!0,sanitizedPath:e}:{isValid:!1,error:`Symlink target '${e}' is outside allowed directories`}}catch(t){if(t instanceof Error){let r=t;if("ENOENT"===r.code)return{isValid:!0,sanitizedPath:n};if("EACCES"===r.code)return{isValid:!1,error:`Permission denied accessing path: ${e}`};if("ELOOP"===r.code)return{isValid:!1,error:`Symlink loop detected at path: ${e}`};if("ENAMETOOLONG"===r.code)return{isValid:!1,error:`Path name too long: ${e}`}}return{isValid:!1,error:`Unexpected error validating path: ${e}`}}}async exists(e){let t=this.validate(e);if(!t.isValid||!t.sanitizedPath)return!1;try{return await _.promises.access(t.sanitizedPath,_.constants.R_OK),!0}catch{return!1}}async getType(e){let t=this.validate(e);if(!t.isValid||!t.sanitizedPath)return null;try{let e=await _.promises.lstat(t.sanitizedPath);return e.isFile()?"file":e.isDirectory()?"directory":e.isSymbolicLink()?"symlink":null}catch{return null}}getAllowedRoots(){return[...this.allowedRoots]}};function FN(e,t){let n=process.cwd(),r=p.resolve(e.path),i=PN.validate(e.path);if(!i.isValid){let o=((e,t)=>new eg(Zh.PATH_VALIDATION_FAILED,t||`Path validation failed: ${e}`,{path:e}))(e.path,i.error),a=function(e,t,n,r){let i=[],o=t?.includes("outside allowed"),a=t?.includes("Permission denied"),s=t?.includes("Symlink")||t?.includes("symlink"),c=t?.includes("ENOENT")||t?.includes("not found");return i.push(`Current working directory (CWD): ${n}`),e!==r&&i.push(`Path resolved to: ${r}`),o?(i.push(""),i.push("🔧 Fix: Use an absolute path within the workspace:"),i.push(` Instead of: path="${e}"`),i.push(` Try: path="${n}" (workspace root)`),i.push(' Or: path="/absolute/path/to/your/target" (full absolute path)')):a?(i.push(""),i.push("🔒 Permission denied - check file/directory permissions")):s?(i.push(""),i.push("🔗 Symlink issue - the target may be outside allowed directories")):c&&(i.push(""),i.push("📁 Path not found - verify the path exists"),i.push(` Use absolute path to avoid CWD ambiguity: path="${n}/..."`)),i.push(""),i.push("💡 TIP: Relative paths resolve from CWD, which may differ from your workspace."),i.push(" Always prefer absolute paths for reliable results."),i}(e.path,i.error,n,r);return{isValid:!1,errorResult:EI(o,e,{toolName:t,hintContext:{errorType:"permission",path:e.path,originalError:i.error},extra:{cwd:n,resolvedPath:r},customHints:a})}}return{isValid:!0,sanitizedPath:i.sanitizedPath}}async function IN(e,t,n,r,i){let o="rg"===n?await MN(e):e,a=await Promise.all(o.map(async e=>{let n={...e};return t.showFileLastModified&&(n.modified=await LN(e.path)),n}));a.sort((e,n)=>t.showFileLastModified&&e.modified&&n.modified?new Date(n.modified).getTime()-new Date(e.modified).getTime():e.path.localeCompare(n.path));let s=a,c=!1;t.maxFiles&&a.length>t.maxFiles&&(s=a.slice(0,t.maxFiles),c=!0);let l=s.length,u=s.reduce((e,t)=>e+t.matchCount,0),p=t.filesOnly?i?.matchCount??l:u,d=t.filesPerPage||10,m=t.filePageNumber||1,f=Math.ceil(l/d),h=(m-1)*d,g=Math.min(h+d,l),_=s.slice(h,g),y=t.matchesPerPage||10,v=_.map(e=>{let n=e.matches.length,r=Math.ceil(n/y),i=t.filesOnly?[]:e.matches.slice(0,y),o={path:e.path,matchCount:n,matches:i,pagination:!t.filesOnly&&n>y?{currentPage:1,totalPages:r,matchesPerPage:y,totalMatches:n,hasMore:r>1}:void 0};return t.showFileLastModified&&e.modified&&(o.modified=e.modified),o}),b=[`File page ${m}/${f} (showing ${v.length} of ${l})`,`Total: ${p} matches across ${l} files`,m<f?`Next: filePageNumber=${m+1}`:"Final page"];c&&b.push(`Results limited to ${t.maxFiles} files (found ${a.length} matching)`);let E=v.filter(e=>e.pagination?.hasMore);E.length>0&&b.push(`Note: ${E.length} file(s) have more matches - use matchesPerPage to see more`);let x=function(e,t,n){let r=[];if((n>100||e.length>20)&&(r.push("","Large result set - refine search:"),!t.type&&!t.include&&r.push(' - Narrow by file type: type="ts" or include=["*.{ts,tsx}"]'),t.excludeDir?.length||r.push(' - Exclude directories: excludeDir=["test", "vendor", "generated"]'),t.pattern.length<5&&r.push(" - Use more specific pattern (current pattern is very short)")),n>0&&n<=100&&r.push("","Good result size - manageable for analysis"),n>0){let e=t.matchContentLength||200;r.push("","Integration:"," - location.byteOffset/byteLength: raw byte offsets from ripgrep (use with Buffer operations)"," - location.charOffset/charLength: character indices for JavaScript strings",` - Match values truncated to ${e} chars (configurable via matchContentLength: 1-800)`," - Line/column numbers provided for human reference")}return r}(v,t,p);return{status:"hasResults",files:v,cwd:process.cwd(),totalMatches:p,totalFiles:l,path:t.path,searchEngine:n,pagination:{currentPage:m,totalPages:f,filesPerPage:d,totalFiles:l,hasMore:m<f},warnings:r,researchGoal:t.researchGoal,reasoning:t.reasoning,hints:[...b,...x,...vI(e_.LOCAL_RIPGREP,"hasResults")]}}async function NN(e){try{let t=0,n=0,r=await y.readdir(e,{withFileTypes:!0});for(let i of r)if(i.isFile())try{n+=(await y.stat(m(e,i.name))).size,t++}catch{}else if(i.isDirectory()&&!i.name.startsWith("."))try{let r=(await y.readdir(m(e,i.name),{withFileTypes:!0})).filter(e=>e.isFile());t+=r.length,n+=51200*r.length}catch{}let i=n/1048576;return{estimatedSizeMB:i,estimatedFileCount:t,isLarge:i>100||t>1e3}}catch{return{estimatedSizeMB:0,estimatedFileCount:0,isLarge:!1}}}async function LN(e){try{return(await y.stat(e)).mtime.toISOString()}catch{return}}async function MN(e){return Promise.all(e.map(async e=>{if(!e.matches||0===e.matches.length)return e;try{let t=await y.readFile(e.path,"utf8"),n=e.matches.map(e=>{let n=kI(t,e.location.byteOffset),r=function(e,t,n){return Buffer.from(e,"utf8").slice(t,n).toString("utf8")}(t,e.location.byteOffset,e.location.byteOffset+e.location.byteLength);return{...e,location:{...e.location,charOffset:n,charLength:r.length}}});return{...e,matches:n}}catch{return e}}))}var BN=class extends bN{constructor(){super("ls")}fromQuery(e){if(this.addFlag("--color=never"),"linux"===process.platform&&this.addFlag("--quoting-style=literal"),e.details&&(this.addFlag("-l"),"linux"===process.platform&&this.addFlag("--time-style=long-iso")),e.hidden&&this.addFlag("-a"),e.humanReadable&&this.addFlag("-h"),e.recursive&&this.addFlag("-R"),e.reverse&&this.addFlag("-r"),e.sortBy)switch(e.sortBy){case"size":this.addFlag("-S");break;case"time":this.addFlag("-t");break;case"extension":this.addFlag("-X")}return(!e.sortBy||"name"===e.sortBy)&&"linux"===process.platform&&this.addFlag("--group-directories-first"),e.details||this.addFlag("-1"),this.addArg(e.path),this}simple(e){return this.addArg(e),this}detailed(){return this.addFlag("-l"),this}all(){return this.addFlag("-a"),this}humanReadable(){return this.addFlag("-h"),this}recursive(){return this.addFlag("-R"),this}sortBySize(){return this.addFlag("-S"),this}sortByTime(){return this.addFlag("-t"),this}reverse(){return this.addFlag("-r"),this}path(e){return this.addArg(e),this}};function UN(e){return 0===e?"0.0B":e<1024?`${e}.0B`:e<1048576?`${(e/1024).toFixed(1)}KB`:e<1073741824?`${(e/1048576).toFixed(1)}MB`:e<1099511627776?`${(e/1073741824).toFixed(1)}GB`:`${(e/1099511627776).toFixed(1)}TB`}function $N(e){let t=e.trim();if(/^\d+$/.test(t))return parseInt(t,10);let n=t.match(/^(\d+(?:\.\d+)?)(B|KB|MB|GB|TB)$/i);if(n){let e=parseFloat(n[1]);switch(n[2].toUpperCase()){case"B":return Math.round(e);case"KB":return Math.round(1024*e);case"MB":return Math.round(1024*e*1024);case"GB":return Math.round(1024*e*1024*1024);case"TB":return Math.round(1024*e*1024*1024*1024)}}let r=t.match(/^(\d+(?:\.\d+)?)([KMGT])$/i);if(!r)throw Error(`Invalid size format: ${e}`);let i=parseFloat(r[1]);switch(r[2].toUpperCase()){case"K":return Math.round(1024*i);case"M":return Math.round(1024*i*1024);case"G":return Math.round(1024*i*1024*1024);default:return Math.round(1024*i*1024*1024*1024)}}const zN=o_[e_.LOCAL_VIEW_STRUCTURE]||"View directory structure and list files",GN=FR.extend({path:ft().describe(g_.scope.path),details:gt().default(!1).describe(g_.options.details),hidden:gt().default(!1).describe(g_.filters.hidden),humanReadable:gt().default(!0).describe(g_.options.humanReadable),sortBy:wt(["name","size","time","extension"]).optional().default("time").describe(g_.sorting.sortBy),reverse:gt().optional().describe(g_.sorting.reverse),entriesPerPage:ht().int().min(1).max(20).optional().default(20).describe(g_.pagination.entriesPerPage),entryPageNumber:ht().int().min(1).optional().default(1).describe(g_.pagination.entryPageNumber),pattern:ft().optional().describe(g_.filters.pattern),directoriesOnly:gt().optional().describe(g_.filters.directoriesOnly),filesOnly:gt().optional().describe(g_.filters.filesOnly),extension:ft().optional().describe(g_.filters.extension),extensions:_t(ft()).optional().describe(g_.filters.extensions),depth:ht().min(1).max(5).optional().describe(g_.options.depth),recursive:gt().optional().describe(g_.options.recursive),limit:ht().min(1).max(1e4).optional().describe(g_.pagination.limit),summary:gt().default(!0).describe(g_.options.summary),charOffset:ht().min(0).optional().describe(g_.pagination.charOffset),charLength:ht().min(1).max(1e4).optional().describe(g_.pagination.charLength),showFileLastModified:gt().default(!1).describe(g_.options.showFileLastModified)}),jN=IR(e_.LOCAL_VIEW_STRUCTURE,GN,{maxQueries:5});function VN(e,t){let n=e;if(t.pattern){let e=t.pattern;if(e.includes("*")||e.includes("?")||e.includes("[")){let t=e.replace(/[.+^${}()|[\]\\*?]/g,"\\$&");t=t.replace(/\\\*/g,".*").replace(/\\\?/g,".").replace(/\\\[!/g,"[^").replace(/\\\[/g,"[").replace(/\\\]/g,"]");try{let e=RegExp(`^${t}$`,"i");n=n.filter(t=>{let n=t.name.includes("/")?t.name.split("/").pop():t.name;return e.test(n)})}catch{n=n.filter(t=>(t.name.includes("/")?t.name.split("/").pop():t.name).includes(e))}}else n=n.filter(t=>(t.name.includes("/")?t.name.split("/").pop():t.name).includes(e))}return t.extension&&(n=n.filter(e=>e.extension===t.extension)),t.extensions&&t.extensions.length>0&&(n=n.filter(e=>e.extension&&t.extensions.includes(e.extension))),t.directoriesOnly&&(n=n.filter(e=>"directory"===e.type)),t.filesOnly&&(n=n.filter(e=>"file"===e.type)),n}function qN(e,t=0){let n=" ".repeat(t),r="directory"===e.type?"[DIR] ":"symlink"===e.type?"[LINK]":"[FILE]",i="directory"===e.type?`${e.name}/`:e.name;if("file"===e.type&&e.size){let t=e.extension?` .${e.extension}`:"";return`${n}${r} ${i} (${e.size})${t}`}return`${n}${r} ${i}`}async function HN(e,t,n=!1){let r=e.split("\n").filter(e=>e.trim()).map(async e=>{let r=p.join(t,e);try{let t=await _.promises.lstat(r),i={name:e,type:t.isDirectory()?"directory":t.isSymbolicLink()?"symlink":"file",size:UN(t.size),extension:dR(e)};return n&&(i.modified=t.mtime.toISOString()),i}catch{return{name:e,type:"file",extension:dR(e)}}});return await Promise.all(r)}async function KN(e,t,n=!1){let r=[];await WN(t,t,0,e.depth||(e.recursive?5:2),r,e.limit?2*e.limit:1e4,e.hidden,n);let i=VN(r,e);e.sortBy&&(i=i.sort((t,r)=>{let i=0;switch(e.sortBy){case"size":i=(t.size?$N(t.size):0)-(r.size?$N(r.size):0);break;case"time":i=n&&t.modified&&r.modified?t.modified.localeCompare(r.modified):t.name.localeCompare(r.name);break;case"extension":i=(t.extension||"").localeCompare(r.extension||"");break;default:i=t.name.localeCompare(r.name)}return e.reverse?-i:i})),e.limit&&(i=i.slice(0,e.limit));let o=i.filter(e=>"file"===e.type).length,a=i.filter(e=>"directory"===e.type).length,s=0;for(let e of i)"file"===e.type&&e.size&&(s+=$N(e.size));let c=s,l=i.length,u=e.entriesPerPage||20,d=e.entryPageNumber||1,m=Math.ceil(l/u),f=(d-1)*u,h=Math.min(f+u,l),g=i.slice(f,h),_={currentPage:d,totalPages:m,entriesPerPage:u,totalEntries:l,hasMore:d<m};if(!e.charLength&&l>100&&!e.entriesPerPage)return{status:"error",errorCode:ng(150*l,EN).errorCode,path:e.path,totalFiles:o,totalDirectories:a,totalSize:c,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Recursive listing found ${l} entries - too much to process at once`,"Options: Use entriesPerPage to paginate through results, or limit to reduce scope","Alternative: Start with depth=1 to get overview, then drill into specific subdirectories","Why this matters: Large trees overwhelm context and make it hard to find what you need"]};let y=g.map(e=>qN(e,e.depth??e.name.split(p.sep).length-1)).join("\n"),v=null;e.charLength&&(v=OI(y,e.charOffset??0,e.charLength),y=v.paginatedContent);let b=l>0?"hasResults":"empty",E=vI(zg.LOCAL_VIEW_STRUCTURE,b),x=[`Page ${d}/${m} (showing ${g.length} of ${l})`,`Total: ${o} files, ${a} directories`,_.hasMore?`Next: entryPageNumber=${d+1}`:"Final page"],w=v?PI(v,{toolName:zg.LOCAL_VIEW_STRUCTURE}):[],A={currentPage:_.currentPage,totalPages:_.totalPages,entriesPerPage:_.entriesPerPage,totalEntries:_.totalEntries,hasMore:_.hasMore,...v&&{charOffset:v.charOffset,charLength:v.charLength,totalChars:v.totalChars}};return{status:b,path:e.path,structuredOutput:y,totalFiles:o,totalDirectories:a,totalSize:c,pagination:A,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...E,...x,...w]}}async function WN(e,t,n,r,i,o=1e4,a=!1,s=!1){if(!(n>=r||i.length>=o))try{let c=await _.promises.readdir(t);for(let l of c){if(!a&&l.startsWith("."))continue;let c=p.join(t,l),u=p.relative(e,c);try{let t=await _.promises.lstat(c),p="file";t.isDirectory()?p="directory":t.isSymbolicLink()&&(p="symlink");let d={name:u,type:p,size:UN(t.size),extension:dR(l),depth:n};s&&(d.modified=t.mtime.toISOString()),i.push(d),"directory"===p&&await WN(e,c,n+1,r,i,o,a,s)}catch{}}}catch{}}var XN=class extends bN{isMacOS;isLinux;isWindows;constructor(){super("find"),this.isMacOS="darwin"===process.platform,this.isLinux="linux"===process.platform,this.isWindows="win32"===process.platform}fromQuery(e){if(this.isWindows)throw Error("Windows is not supported for localFindFiles. Use localViewStructure or localSearchCode instead.");return this.isMacOS&&e.regex&&this.addFlag("-E"),this.addArg(e.path),this.isLinux&&this.addFlag("-O3"),void 0!==e.maxDepth&&this.addOption("-maxdepth",e.maxDepth),void 0!==e.minDepth&&this.addOption("-mindepth",e.minDepth),e.excludeDir&&e.excludeDir.length>0&&(this.buildExcludeDirPrune(e.excludeDir),this.addArg("-o")),this.addFilters(e),this.addArg("-print0"),this}buildExcludeDirPrune(e){this.addArg("("),e.forEach((e,t)=>{t>0&&this.addArg("-o"),this.addArg("-path"),this.addArg(`*/${e}`),this.addArg("-o"),this.addArg("-path"),this.addArg(`*/${e}/*`)}),this.addArg(")"),this.addArg("-prune")}addFilters(e){if(e.type&&this.addOption("-type",e.type),e.names&&e.names.length>0?1===e.names.length?this.addOption("-name",e.names[0]):(this.addArg("("),e.names.forEach((e,t)=>{t>0&&this.addArg("-o"),this.addOption("-name",e)}),this.addArg(")")):e.name&&this.addOption("-name",e.name),e.iname&&this.addOption("-iname",e.iname),e.pathPattern&&this.addOption("-path",e.pathPattern),e.regex&&(this.isLinux&&e.regexType&&this.addOption("-regextype",e.regexType),this.addOption("-regex",e.regex)),e.empty&&this.addFlag("-empty"),e.sizeGreater&&this.addOption("-size",`+${e.sizeGreater}`),e.sizeLess&&this.addOption("-size",`-${e.sizeLess}`),e.modifiedWithin){let t=this.parseTimeString(e.modifiedWithin);this.addOption(t.unit,`-${t.value}`)}if(e.modifiedBefore){let t=this.parseTimeString(e.modifiedBefore);this.addOption(t.unit,`+${t.value}`)}if(e.accessedWithin){let t=this.parseTimeStringAccess(e.accessedWithin);this.addOption(t.unit,`-${t.value}`)}e.permissions&&this.addOption("-perm",e.permissions),e.executable&&(this.isLinux?this.addFlag("-executable"):this.addOption("-perm","+111")),e.readable&&(this.isLinux?this.addFlag("-readable"):this.addOption("-perm","+444")),e.writable&&(this.isLinux?this.addFlag("-writable"):this.addOption("-perm","+222"))}simple(e,t){return this.addArg(e),this.addOption("-name",t),this}type(e){return this.addOption("-type",e),this}name(e){return this.addOption("-name",e),this}iname(e){return this.addOption("-iname",e),this}maxDepth(e){return this.addOption("-maxdepth",e),this}minDepth(e){return this.addOption("-mindepth",e),this}size(e){return this.addOption("-size",e),this}mtime(e){return this.addOption("-mtime",e),this}path(e){return this.addArg(e),this}parseTimeString(e){let t=e.match(/^(\d+)([hdwm])$/);if(!t||!t[1]||!t[2])return{value:0,unit:"-mtime"};let n=parseInt(t[1],10);switch(t[2]){case"h":return{value:60*n,unit:"-mmin"};case"d":default:return{value:n,unit:"-mtime"};case"w":return{value:7*n,unit:"-mtime"};case"m":return{value:30*n,unit:"-mtime"}}}parseTimeStringAccess(e){let t=e.match(/^(\d+)([hdwm])$/);if(!t||!t[1]||!t[2])return{value:0,unit:"-atime"};let n=parseInt(t[1],10);switch(t[2]){case"h":return{value:60*n,unit:"-amin"};case"d":default:return{value:n,unit:"-atime"};case"w":return{value:7*n,unit:"-atime"};case"m":return{value:30*n,unit:"-atime"}}}};const ZN=o_[e_.LOCAL_FIND_FILES]||"Find files by name, pattern, or metadata",YN=FR.extend({path:ft().describe(h_.scope.path),maxDepth:ht().min(1).max(10).optional().describe(h_.options.maxDepth),minDepth:ht().min(0).max(10).optional().describe(h_.options.minDepth),name:ft().optional().describe(h_.filters.name),iname:ft().optional().describe(h_.filters.iname),names:_t(ft()).optional().describe(h_.filters.names),pathPattern:ft().optional().describe(h_.filters.pathPattern),regex:ft().optional().describe(h_.filters.regex),regexType:wt(["posix-egrep","posix-extended","posix-basic"]).optional().describe(h_.filters.regexType),type:wt(["f","d","l","b","c","p","s"]).optional().describe(h_.filters.type),empty:gt().optional().describe(h_.filters.empty),modifiedWithin:ft().optional().describe(h_.time.modifiedWithin),modifiedBefore:ft().optional().describe(h_.time.modifiedBefore),accessedWithin:ft().optional().describe(h_.time.accessedWithin),sizeGreater:ft().optional().describe(h_.size.sizeGreater),sizeLess:ft().optional().describe(h_.size.sizeLess),permissions:ft().optional().describe(h_.options.permissions),executable:gt().optional().describe(h_.filters.executable),readable:gt().optional().describe(h_.filters.readable),writable:gt().optional().describe(h_.filters.writable),excludeDir:_t(ft()).optional().describe(h_.filters.excludeDir),limit:ht().min(1).max(1e4).optional().describe(h_.pagination.limit),details:gt().default(!0).describe(h_.options.details),filesPerPage:ht().int().min(1).max(20).optional().default(20).describe(h_.pagination.filesPerPage),filePageNumber:ht().int().min(1).optional().default(1).describe(h_.pagination.filePageNumber),charOffset:ht().min(0).optional().describe(h_.pagination.charOffset),charLength:ht().min(1).max(1e4).optional().describe(h_.pagination.charLength),showFileLastModified:gt().default(!0).describe(h_.options.showFileLastModified)}),QN=IR(e_.LOCAL_FIND_FILES,YN,{maxQueries:5}),JN=o_[e_.LOCAL_FETCH_CONTENT]||"Read file content with optional pattern matching",eL=FR.extend({path:ft().min(1).describe(f_.scope.path),fullContent:gt().default(!1).describe(f_.options.fullContent),startLine:ht().int().min(1).optional().describe(f_.range?.startLine??"Start line (1-indexed). Use with endLine for line range extraction."),endLine:ht().int().min(1).optional().describe(f_.range?.endLine??"End line (1-indexed, inclusive). Use with startLine for line range extraction."),matchString:ft().optional().describe(f_.options.matchString),matchStringContextLines:ht().int().min(1).max(50).default(5).describe(f_.options.matchStringContextLines),matchStringIsRegex:gt().optional().default(!1).describe(f_.options.matchStringIsRegex),matchStringCaseSensitive:gt().optional().default(!1).describe(f_.options.matchStringCaseSensitive),charOffset:ht().min(0).optional().describe(f_.pagination.charOffset),charLength:ht().min(1).max(1e4).optional().describe(f_.pagination.charLength)}).superRefine((e,t)=>{(void 0!==e.startLine&&void 0===e.endLine||void 0===e.startLine&&void 0!==e.endLine)&&t.addIssue({code:G.custom,message:"startLine and endLine must be used together",path:["startLine"]}),void 0!==e.startLine&&void 0!==e.endLine&&e.startLine>e.endLine&&t.addIssue({code:G.custom,message:"startLine must be less than or equal to endLine",path:["startLine"]}),(void 0!==e.startLine||void 0!==e.endLine)&&void 0!==e.matchString&&t.addIssue({code:G.custom,message:"Cannot use startLine/endLine with matchString - choose one extraction method",path:["startLine"]}),(void 0!==e.startLine||void 0!==e.endLine)&&!0===e.fullContent&&t.addIssue({code:G.custom,message:"Cannot use startLine/endLine with fullContent - line extraction is partial by definition",path:["fullContent"]})}),tL=IR(e_.LOCAL_FETCH_CONTENT,eL,{maxQueries:5});function nL(e,t){try{let n=function(e,t){let n=_R(t),r=dR(t,gR);try{switch(n.strategy){case"terser":return function(e){try{return yR(e,"c-style").replace(/\s+/g," ").replace(/\s*([{}();,:])\s*/g,"$1").split("\n").map(e=>e.trim()).filter(e=>e.length>0).join("\n")}catch{return e}}(e);case"json":return ER(e).content;case"conservative":return vR(e,n);case"markdown":return wR(e);case"aggressive":return["css","less","scss"].includes(r)?AR(e):["html","htm","xml","svg"].includes(r)?TR(e):bR(e,n);default:return xR(e)}}catch{return e}}(e,t);return n.length<e.length?n:e}catch{return e}}const rL=e=>o_[e],iL=[{name:e_.GITHUB_SEARCH_CODE,description:rL(e_.GITHUB_SEARCH_CODE),isDefault:!0,isLocal:!1,type:"search",fn:function(e,t){return e.registerTool(e_.GITHUB_SEARCH_CODE,{description:o_[e_.GITHUB_SEARCH_CODE],inputSchema:LR,annotations:{title:"GitHub Code Search",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},RR(e_.GITHUB_SEARCH_CODE,async(e,n,r)=>{let i=e.queries||[];return await wI(t,e_.GITHUB_SEARCH_CODE,i),async function(e,t,n){return mI(e,async(e,r)=>{try{let r=await async function(e,t,n){return await Mg(Ng("gh-api-code",{keywordsToSearch:e.keywordsToSearch,owner:e.owner,repo:e.repo,extension:e.extension,filename:e.filename,path:e.path,match:e.match,limit:e.limit,page:e.page},n),async()=>await async function(e,t){try{let n=await qF(t);if(e.keywordsToSearch&&e.keywordsToSearch.length>0&&0===e.keywordsToSearch.filter(e=>e&&e.trim()).length)return await Sg(e_.GITHUB_SEARCH_CODE,Vh),{error:qh,type:"http",status:400};let r=function(e){return(new lI).addQueryTerms(e).addSearchFilters(e).addOwnerRepo(e).addMatchFilters(e).build()}(e);if(!r.trim())return await Sg(e_.GITHUB_SEARCH_CODE,Vh),{error:qh,type:"http",status:400};let i=Math.min("number"==typeof e.limit?e.limit:30,100),o=e.page||1,a={q:r,per_page:i,page:o,headers:{Accept:"application/vnd.github.v3.text-match+json"}},s=await n.rest.search.code(a),c=await async function(e){return async function(e,t){let n=function(e){if(0===e.length)return null;let t=e[0]?.repository;return t&&e.every(e=>e.repository.full_name===t.full_name)?t:null}(e),r=new Set,i=!1,o=[],a=new Set,s=e.filter(e=>!pR(e.path)),c={items:await Promise.all(s.map(async e=>{a.add(e.path);let t=await Promise.all((e.text_matches||[]).map(async t=>{let n=t.fragment,a=__.sanitizeContent(n||"");n=a.content,a.hasSecrets&&r.add(`Secrets detected in ${e.path}: ${a.secretsDetected.join(", ")}`),a.warnings.length>0&&a.warnings.forEach(t=>r.add(`${e.path}: ${t}`));let s=await SR(n||"",e.path);return n=s.content,s.failed?i=!0:"failed"!==s.type&&o.push(s.type),{context:n||"",positions:t.matches?.map(e=>Array.isArray(e.indices)&&e.indices.length>=2?[e.indices[0],e.indices[1]]:[0,0])||[]}})),n=e;return{path:e.path,matches:t,url:e.html_url,repository:{nameWithOwner:e.repository.full_name,url:e.repository.url,pushedAt:e.repository.pushed_at||void 0},...n.last_modified_at&&{lastModifiedAt:n.last_modified_at},...o.length>0&&{minificationType:Array.from(new Set(o)).join(",")}}})),total_count:void 0===t?s.length:t,_researchContext:{foundFiles:Array.from(a),repositoryContext:n?(()=>{let e=n.full_name.split("/");return 2===e.length&&e[0]&&e[1]?{owner:e[0],repo:e[1],branch:n.default_branch||void 0}:void 0})():void 0}};return n&&(c.repository={name:n.full_name,url:n.url,createdAt:n.created_at||void 0,updatedAt:n.updated_at||void 0,pushedAt:n.pushed_at||void 0}),r.size>0&&(c.matchLocations=Array.from(r)),c.minified=!i,c.minificationFailed=i,o.length>0&&(c.minificationTypes=Array.from(new Set(o))),c}(e.data.items,e.data.total_count)}(s),l=Math.min(c.total_count,1e3),u=Math.min(Math.ceil(l/i),10),p=o<u;return{data:{total_count:c.total_count,items:c.items,repository:c.repository,matchLocations:c.matchLocations,minified:c.minified,minificationFailed:c.minificationFailed,minificationTypes:c.minificationTypes,_researchContext:c._researchContext,pagination:{currentPage:o,totalPages:u,perPage:i,totalMatches:l,hasMore:p}},status:200,headers:s.headers}}catch(e){return aI(e)}}(e,t),{shouldCache:e=>"data"in e&&!e.error})}(e,t,n),i=TI(r,e);if(i)return i;if(!("data"in r))return SI(Error("Invalid API response structure"),e);let o=r.data.items.map(t=>{let n=t.repository?.nameWithOwner,r={path:t.path,...n&&{repo:n},...t.lastModifiedAt&&{lastModifiedAt:t.lastModifiedAt}};return"path"===e.match?r:{...r,text_matches:t.matches.map(e=>e.context)}}),a={files:o},s=r.data._researchContext?.repositoryContext;s&&(a.repositoryContext=s);let c=r.data.pagination;c&&(a.pagination=c);let l=o.length>0,u=!(!e.owner||!e.repo),p=[];if(c){let{currentPage:e,totalPages:t,totalMatches:n,perPage:r,hasMore:i}=c,o=(e-1)*r+1,a=Math.min(e*r,n);p.push(`Page ${e}/${t} (showing ${o}-${a} of ${n} matches)`),i&&p.push(`Next: page=${e+1}`),e>1&&p.push("Previous: page="+(e-1)),i||p.push("Final page"),t>2&&p.push(`Jump to: page=1 (first) or page=${t} (last)`)}return AI(e,a,l,e_.GITHUB_SEARCH_CODE,{hintContext:{hasOwnerRepo:u,match:e.match},extraHints:p})}catch(t){return SI(t,e)}},{toolName:e_.GITHUB_SEARCH_CODE,keysPriority:["files","pagination","repositoryContext","error"]})}(i,n,r)}))}},{name:e_.GITHUB_FETCH_CONTENT,description:rL(e_.GITHUB_FETCH_CONTENT),isDefault:!0,isLocal:!1,type:"content",fn:function(e,t){return e.registerTool(e_.GITHUB_FETCH_CONTENT,{description:o_[e_.GITHUB_FETCH_CONTENT],inputSchema:GI,annotations:{title:"GitHub File Content Fetch",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},RR(e_.GITHUB_FETCH_CONTENT,async(e,n,r)=>{let i=e.queries||[];return await wI(t,e_.GITHUB_FETCH_CONTENT,i),async function(e,t,n){return mI(e,async(e,r)=>{try{let r=await async function(e,t,n){let r=await Mg(Ng("gh-api-file-content",{owner:e.owner,repo:e.repo,path:e.path,branch:e.branch},n),async()=>await async function(e,t){try{let n,r=await qF(t),{owner:i,repo:o,path:a,branch:s}=e,c={owner:i,repo:o,path:a,...s&&{ref:s}},l=s;try{n=await r.rest.repos.getContent(c)}catch(e){if(!(e instanceof sD&&404===e.status&&s)){if(e instanceof sD&&404===e.status){let t=aI(e),n=await LI(r,i,o,a,s||"main");if(n.length>0){let e=`Did you mean: ${n.join(", ")}?`;t.hints=[...t.hints||[],e]}return t}throw e}{let t=await async function(e,t,n){let r=`${t}/${n}`,i=II.get(r);if(void 0!==i)return i;try{let i=(await e.rest.repos.get({owner:t,repo:n})).data.default_branch||"main";return II.set(r,i),i}catch{return"main"}}(r,i,o);if("main"!==s&&"master"!==s||s===t){let n=aI(e),c=s===t?void 0:`Branch '${s}' not found. Default branch is '${t}'. Ask user: Do you want to get the file from '${t}' instead?`,l=await LI(r,i,o,a,s||t);if(l.length>0){let e=`Did you mean: ${l.join(", ")}?`;n.hints=[...n.hints||[],e]}return{...n,...c&&{scopesSuggestion:c}}}try{n=await r.rest.repos.getContent({...c,ref:t}),l=t}catch{throw e}}}let u=n.data;if(Array.isArray(u))return await Sg(e_.GITHUB_FETCH_CONTENT,"FILE_PATH_IS_DIRECTORY"),{error:Nh(e_.GITHUB_VIEW_REPO_STRUCTURE),type:"unknown",status:400};if("content"in u&&"file"===u.type){let e=u.size||0,t=307200;if(e>t){let n=Math.round(e/1024),r=Math.round(t/1024);return await Sg(e_.GITHUB_FETCH_CONTENT,"FILE_TOO_LARGE"),{error:Lh(n,r,e_.GITHUB_SEARCH_CODE),type:"unknown",status:413}}if(!u.content)return await Sg(e_.GITHUB_FETCH_CONTENT,Mh),{error:Bh,type:"unknown",status:404};let n,r=u.content.replace(/\s/g,"");if(!r)return await Sg(e_.GITHUB_FETCH_CONTENT,Mh),{error:Bh,type:"unknown",status:404};try{let e=Buffer.from(r,"base64");if(-1!==e.indexOf(0))return await Sg(e_.GITHUB_FETCH_CONTENT,"FILE_BINARY"),{error:"Binary file detected. Cannot display as text - download directly from GitHub",type:"unknown",status:415};n=e.toString("utf-8")}catch{return await Sg(e_.GITHUB_FETCH_CONTENT,"FILE_DECODE_FAILED"),{error:"Failed to decode file. Encoding may not be supported (expected UTF-8)",type:"unknown",status:422}}return{data:{rawContent:n,branch:l||void 0,resolvedRef:l||s||"HEAD"},status:200}}return await Sg(e_.GITHUB_FETCH_CONTENT,"FILE_UNSUPPORTED_TYPE"),{error:Uh(u.type),type:"unknown",status:415}}catch(e){return aI(e)}}(e,t),{shouldCache:e=>"data"in e&&!e.error});if(!("data"in r)||!r.data)return r;let i=r.data.branch||r.data.resolvedRef||e.branch||"",o=await async function(e,t,n,r,i,o,a,s,c=5,l){let u,p,d=new Set,m=e.split("\n"),f=m.length,h=e,g=!1;if(o)h=e;else if(l){let e=[],o=l.toLowerCase();for(let t=0;t<m.length;t++)m[t]?.toLowerCase().includes(o)&&e.push(t+1);if(0===e.length)return{owner:t,repo:n,path:i,content:"",contentLength:0,branch:r,matchNotFound:!0,searchedFor:l,hints:[`Pattern "${l}" not found in file. Try broader search or verify path.`]};let _=e[0],y=Math.max(1,_-c),v=Math.min(f,_+c);a=y,s=v,h=m.slice(y-1,v).join("\n"),u=y,p=v,g=!0,d.add(`Found "${l}" on line ${_}${e.length>1?` (and ${e.length-1} other locations)`:""}`)}else if(void 0!==a||void 0!==s){let t=a||1,n=s||f;if(t<1||t>f)h=e;else if(n<t)h=e;else{let e=Math.max(1,t),r=Math.min(f,n);u=e,p=r,g=!0,h=m.slice(e-1,r).join("\n"),n>f&&d.add(`Requested endLine ${n} adjusted to ${f} (file end)`)}}let _=__.sanitizeContent(h);h=_.content,_.hasSecrets&&d.add(`Secrets detected and redacted: ${_.secretsDetected.join(", ")}`),_.warnings.length>0&&_.warnings.forEach(e=>d.add(e));let y=await SR(h,i);h=y.content;let v=y.failed,b=y.type,E=Array.from(d);return{owner:t,repo:n,path:i,contentLength:h.length,content:h,branch:r,...g&&{startLine:u,endLine:p,isPartial:g},minified:!v,minificationFailed:v,minificationType:b,...E.length>0&&{matchLocations:E}}}(r.data.rawContent,e.owner,e.repo,i,e.path,e.fullContent||!1,e.startLine,e.endLine,e.matchStringContextLines??5,e.matchString);if("error"in o)return{error:o.error||"Unknown error",status:500,type:"unknown"};if(!e.noTimestamp)try{let n=await async function(e,t,n,r,i){try{let o=await e.rest.repos.listCommits({owner:t,repo:n,path:r,per_page:1,...i&&{sha:i}});if(o.data.length>0){let e=o.data[0],t=e?.commit?.committer?.date;return{lastModified:t||"Unknown",lastModifiedBy:e?.commit?.author?.name||e?.author?.login||"Unknown"}}return null}catch{return null}}(await qF(t),e.owner,e.repo,e.path,e.branch);n&&(o.lastModified=n.lastModified,o.lastModifiedBy=n.lastModifiedBy)}catch{}return o.content?{data:NI(o,e.charOffset??0,e.charLength),status:200}:{data:o,status:200}}(function(e){let t=!!e.fullContent;return{owner:String(e.owner),repo:String(e.repo),path:String(e.path),branch:e.branch?String(e.branch):void 0,fullContent:t,startLine:t?void 0:e.startLine,endLine:t?void 0:e.endLine,matchString:t||!e.matchString?void 0:String(e.matchString),matchStringContextLines:e.matchStringContextLines??5,charOffset:e.charOffset??0,charLength:e.charLength}}(e),t,n),i=TI(r,e);if(i)return i;let o="data"in r?r.data:r,a=function(e){return!!(e&&"object"==typeof e&&"content"in e&&e.content&&String(e.content).length>0)}(o),s=o,c=Array.isArray(s.hints)?s.hints:[],l="number"==typeof s.contentLength&&s.contentLength>5e4;return AI(e,s,a,e_.GITHUB_FETCH_CONTENT,{hintContext:{isLarge:l},extraHints:c})}catch(t){return SI(t,e)}},{toolName:e_.GITHUB_FETCH_CONTENT,keysPriority:["owner","repo","path","branch","contentLength","content","pagination","isPartial","startLine","endLine","lastModified","lastModifiedBy","matchLocations","error"]})}(i,n,r)}))}},{name:e_.GITHUB_VIEW_REPO_STRUCTURE,description:rL(e_.GITHUB_VIEW_REPO_STRUCTURE),isDefault:!0,isLocal:!1,type:"content",fn:function(e,t){return e.registerTool(e_.GITHUB_VIEW_REPO_STRUCTURE,{description:o_[e_.GITHUB_VIEW_REPO_STRUCTURE],inputSchema:BI,annotations:{title:"GitHub Repository Structure Explorer",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},RR(e_.GITHUB_VIEW_REPO_STRUCTURE,async(e,n,r)=>{let i=e.queries||[];return await wI(t,e_.GITHUB_VIEW_REPO_STRUCTURE,i),async function(e,t,n){return mI(e,async(e,r)=>{try{let r=function(e){return{mainResearchGoal:e.mainResearchGoal,researchGoal:e.researchGoal,reasoning:e.reasoning,owner:String(e.owner),repo:String(e.repo),branch:String(e.branch),path:e.path?String(e.path):void 0,depth:"number"==typeof e.depth?e.depth:void 0,entriesPerPage:"number"==typeof e.entriesPerPage?e.entriesPerPage:void 0,entryPageNumber:"number"==typeof e.entryPageNumber?e.entryPageNumber:void 0}}(e),i=await UI(r,t,n),o=TI(i,e);if(o)return uN(e,o);if(!("structure"in i)||!i.structure)return uN(e,SI(Error("Invalid API response structure"),e));let a=function(e){let t={};for(let[n,r]of Object.entries(e)){let e=r.files.filter(e=>!pR(e)),i=r.folders.filter(e=>!uR(e));(e.length>0||i.length>0)&&(t[n]={files:e,folders:i})}return t}(i.structure),s=Object.keys(a).length>0,c={owner:r.owner,repo:r.repo,branch:i.branch??r.branch,path:r.path||"/",structure:a,summary:i.summary};i.pagination&&(c.pagination=i.pagination);let l=i.hints||[],u=Object.values(a).reduce((e,t)=>e+t.files.length+t.folders.length,0);return AI(e,c,s,e_.GITHUB_VIEW_REPO_STRUCTURE,{hintContext:{entryCount:u},extraHints:l})}catch(t){return uN(e,SI(t,e,"Failed to explore repository structure"))}},{toolName:e_.GITHUB_VIEW_REPO_STRUCTURE,keysPriority:["owner","repo","branch","path","structure","error"]})}(i,n,r)}))}},{name:e_.GITHUB_SEARCH_REPOSITORIES,description:rL(e_.GITHUB_SEARCH_REPOSITORIES),isDefault:!0,isLocal:!1,type:"search",fn:function(e,t){return e.registerTool(e_.GITHUB_SEARCH_REPOSITORIES,{description:o_[e_.GITHUB_SEARCH_REPOSITORIES],inputSchema:VI,annotations:{title:"GitHub Repository Search",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},RR(e_.GITHUB_SEARCH_REPOSITORIES,async(e,n,r)=>{let i=e.queries||[];return await wI(t,e_.GITHUB_SEARCH_REPOSITORIES,i),async function(e,t,n){return mI(function(e){let t=[];for(let n of e){let e=qI(n),r=HI(n);if(e&&r){let{topicsToSearch:e,keywordsToSearch:r,...i}=n;t.push({...i,reasoning:KI(n.reasoning,"topics"),topicsToSearch:e},{...i,reasoning:KI(n.reasoning,"keywords"),keywordsToSearch:r})}else t.push(n)}return t}(e),async(e,r)=>{try{let r=await async function(e,t,n){return await Mg(Ng("gh-api-repos",{keywordsToSearch:e.keywordsToSearch,topicsToSearch:e.topicsToSearch,owner:e.owner,stars:e.stars,size:e.size,created:e.created,updated:e.updated,match:e.match,sort:e.sort,limit:e.limit,page:e.page},n),async()=>await async function(e,t){try{let n=await qF(t),r=function(e){return(new uI).addQueryTerms(e).addOwnerRepo(e).addRepoFilters(e).addMatchFilters(e).addQualityFilters().build()}(e);if(!r.trim())return await Sg(e_.GITHUB_SEARCH_REPOSITORIES,Vh),{error:qh,type:"http",status:400};let i=Math.min(e.limit||30,100),o=e.page||1,a={q:r,per_page:i,page:o};e.sort&&"best-match"!==e.sort&&(a.sort=e.sort);let s=await n.rest.search.repos(a),c=s.data.items.map(e=>{let t=e.full_name.split("/");return{owner:t[0]||"",repo:t[1]||"",defaultBranch:e.default_branch,stars:e.stargazers_count||0,description:e.description?e.description.length>150?e.description.substring(0,150)+"...":e.description:"No description",url:e.html_url,createdAt:e.created_at,updatedAt:e.updated_at,pushedAt:e.pushed_at,visibility:e.visibility,...e.topics&&e.topics.length>0&&{topics:e.topics},...e.forks_count&&e.forks_count>0&&{forksCount:e.forks_count},...e.open_issues_count&&e.open_issues_count>0&&{openIssuesCount:e.open_issues_count}}}),l=Math.min(s.data.total_count,1e3),u=Math.min(Math.ceil(l/i),10);return{data:{repositories:c,pagination:{currentPage:o,totalPages:u,perPage:i,totalMatches:l,hasMore:o<u}},status:200,headers:s.headers}}catch(e){return aI(e)}}(e,t),{shouldCache:e=>"data"in e&&!e.error})}(e,t,n),i=TI(r,e);if(i)return i;let o="data"in r&&r.data.repositories||[],a="data"in r?r.data.pagination:void 0,s=[];if(a){let{currentPage:e,totalPages:t,totalMatches:n,perPage:r,hasMore:i}=a,o=(e-1)*r+1,c=Math.min(e*r,n);s.push(`Page ${e}/${t} (showing ${o}-${c} of ${n} repos)`),i&&s.push(`Next: page=${e+1}`),e>1&&s.push("Previous: page="+(e-1)),i||s.push("Final page"),t>2&&s.push(`Jump to: page=1 (first) or page=${t} (last)`)}let c=function(e,t){let n=[],r=qI(e),i=HI(e);return r&&t?n.push(...i_(e_.GITHUB_SEARCH_REPOSITORIES,"topicsHasResults")):r&&!t?n.push(...i_(e_.GITHUB_SEARCH_REPOSITORIES,"topicsEmpty")):i&&!t&&!r&&n.push(...i_(e_.GITHUB_SEARCH_REPOSITORIES,"keywordsEmpty")),n.length>0?n:void 0}(e,o.length>0);return AI(e,{repositories:o,pagination:a},o.length>0,e_.GITHUB_SEARCH_REPOSITORIES,{extraHints:[...s,...c||[]]})}catch(t){return SI(t,e)}},{toolName:e_.GITHUB_SEARCH_REPOSITORIES,keysPriority:["repositories","pagination","error"]})}(i,n,r)}))}},{name:e_.GITHUB_SEARCH_PULL_REQUESTS,description:rL(e_.GITHUB_SEARCH_PULL_REQUESTS),isDefault:!0,isLocal:!1,type:"history",fn:function(e,t){return e.registerTool(e_.GITHUB_SEARCH_PULL_REQUESTS,{description:o_[e_.GITHUB_SEARCH_PULL_REQUESTS],inputSchema:aN,annotations:{title:"GitHub Pull Request Search",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},RR(e_.GITHUB_SEARCH_PULL_REQUESTS,async(e,n,r)=>{let i=e.queries||[];await wI(t,e_.GITHUB_SEARCH_PULL_REQUESTS,i);let o=i.findIndex(sN);return-1!==o&&(i=i.map((e,t)=>t===o?lN(e,"Query too long. Maximum 256 characters allowed."):e)),i.length>0&&!i.some(cN)&&(i=i.map((e,t)=>0===t?lN(e,"At least one valid search parameter, filter, or PR number is required."):e)),async function(e,t,n){return mI(e,async(e,r)=>{try{let r=e?._validationError;if(r&&"string"==typeof r)return EI(r,e);let i=await async function(e,t,n){return await Mg(Ng("gh-api-prs",{query:e.query,owner:e.owner,repo:e.repo,prNumber:e.prNumber,state:e.state,draft:e.draft,merged:e.merged,author:e.author,assignee:e.assignee,mentions:e.mentions,commenter:e.commenter,involves:e.involves,"reviewed-by":e["reviewed-by"],"review-requested":e["review-requested"],head:e.head,base:e.base,created:e.created,updated:e.updated,"merged-at":e["merged-at"],closed:e.closed,comments:e.comments,reactions:e.reactions,interactions:e.interactions,label:e.label,"no-assignee":e["no-assignee"],"no-label":e["no-label"],"no-milestone":e["no-milestone"],"no-project":e["no-project"],match:e.match,sort:e.sort,order:e.order,limit:e.limit,page:e.page,withComments:e.withComments,withCommits:e.withCommits,type:e.type,partialContentMetadata:e.partialContentMetadata},n),async()=>await async function(e,t){try{if(e.prNumber&&e.owner&&e.repo&&!Array.isArray(e.owner)&&!Array.isArray(e.repo))return await async function(e,t){let{owner:n,repo:r,prNumber:i}=e;if(!n||!r||!i)return await Sg(e_.GITHUB_SEARCH_PULL_REQUESTS,"SEARCH_PR_REQUIRED_PARAMS"),{pull_requests:[],total_count:0,error:"Owner, repo, and prNumber are required parameters",hints:["Provide owner, repo, and prNumber"]};if(Array.isArray(n)||Array.isArray(r))return await Sg(e_.GITHUB_SEARCH_PULL_REQUESTS,"SEARCH_PR_SINGLE_VALUES"),{pull_requests:[],total_count:0,error:"Owner and repo must be single values",hints:["Do not use array for owner or repo when fetching by number"]};try{let o=await qF(t),a=(await o.rest.pulls.get({owner:n,repo:r,pull_number:i})).data;return{pull_requests:[ZI(await nN(a,e,o,t))],total_count:1}}catch(e){let t=aI(e);return await Sg(e_.GITHUB_SEARCH_PULL_REQUESTS,"SEARCH_PR_FETCH_FAILED"),{pull_requests:[],total_count:0,error:Wh(i,t.error),hints:[`Verify that pull request #${i} exists in ${n}/${r}`,"Check if you have access to this repository","Ensure the PR number is correct"]}}}(e,t);let n=await qF(t);if(!function(e){return void 0!==e.draft||void 0!==e.author||void 0!==e.assignee||void 0!==e.query||e.label&&e.label.length>0||void 0!==e.mentions||void 0!==e.commenter||void 0!==e.involves||void 0!==e["reviewed-by"]||void 0!==e["review-requested"]||void 0!==e.reactions||void 0!==e.comments||void 0!==e.interactions||void 0!==e["no-assignee"]||void 0!==e["no-label"]||void 0!==e["no-milestone"]||void 0!==e["no-project"]||void 0!==e.created||void 0!==e.updated||void 0!==e["merged-at"]||void 0!==e.closed||void 0!==e.merged||Array.isArray(e.owner)||Array.isArray(e.repo)}(e)&&e.owner&&e.repo&&!Array.isArray(e.owner)&&!Array.isArray(e.repo))return await async function(e,t){try{let n=t.owner,r=t.repo,i=Math.min(t.limit||30,100),o=t.page||1,a=await e.rest.pulls.list({owner:n,repo:r,state:t.state||"open",per_page:i,page:o,sort:"updated"===t.sort?"updated":"created",direction:t.order||"desc",...t.head&&{head:t.head},...t.base&&{base:t.base}}),s=(await Promise.all(a.data.map(async n=>await nN(n,t,e)))).map(ZI),c=a.data.length===i;return{pull_requests:s,total_count:s.length,pagination:{currentPage:o,totalPages:c?o+1:o,perPage:i,totalMatches:s.length,hasMore:c}}}catch(e){let t=aI(e);return await Sg(e_.GITHUB_SEARCH_PULL_REQUESTS,"SEARCH_PR_LIST_FAILED"),{pull_requests:[],total_count:0,error:Kh(t.error),hints:["Verify repository access and authentication"]}}}(n,e);let r=function(e){return(new pI).addBasicFilters(e).addOwnerRepo(e).addStateFilters(e).addUserFilters(e).addBranchFilters(e).addDateFilters(e).addEngagementFilters(e).addReviewFilters(e).addOrganizationFilters(e).addNegativeFilters(e).addMiscFilters(e).build()}(e);if(!r)return await Sg(e_.GITHUB_SEARCH_PULL_REQUESTS,"SEARCH_NO_VALID_PARAMETERS"),{pull_requests:[],total_count:0,error:"No valid search parameters provided",hints:["Provide search query or filters like owner/repo"]};let i=e.sort&&"best-match"!==e.sort&&"created"!==e.sort?e.sort:void 0,o=Math.min(e.limit||30,100),a=e.page||1,s=await n.rest.search.issuesAndPullRequests({q:r,sort:i,order:e.order||"desc",per_page:o,page:a}),c=s.data.items?.filter(e=>!!e.pull_request)||[],l=(await Promise.all(c.map(async t=>await async function(e,t,n){let{prData:r,sanitizationWarnings:i}=XI(e);i.size>0&&(r._sanitization_warnings=Array.from(i));let o=t.type||"metadata",a="fullContent"===o||"partialContent"===o||"metadata"===o;if(a||e.pull_request)try{let{owner:i,repo:o}=QI(t);if(i&&o){let s=await n.rest.pulls.get({owner:i,repo:o,pull_number:e.number});if(s.data&&(r.head=s.data.head?.ref,r.head_sha=s.data.head?.sha,r.base=s.data.base?.ref,r.base_sha=s.data.base?.sha,r.draft=s.data.draft??!1,s.data.merged_at&&(r.merged_at=s.data.merged_at),a)){let n=await eN(i,o,e.number);n&&(n.files=JI(n.files,t),r.file_changes=n)}}}catch(e){Sg(e_.GITHUB_SEARCH_PULL_REQUESTS,String(e)),r._sanitization_warnings=[...r._sanitization_warnings||[],`Partial Data: Failed to fetch details (files): ${e instanceof Error?e.message:String(e)}`]}if(t.withComments){let{owner:i,repo:o}=QI(t);i&&o&&(r.comments=await YI(n,i,o,e.number))}if(t.withCommits)try{let{owner:n,repo:i}=QI(t);if(n&&i){let o=await tN(n,i,e.number,t);o&&(r.commits=o)}}catch(e){Sg(e_.GITHUB_SEARCH_PULL_REQUESTS,String(e)),r._sanitization_warnings=[...r._sanitization_warnings||[],`Partial Data: Failed to fetch details (commits): ${e instanceof Error?e.message:String(e)}`]}return r}(t,e,n)))).map(ZI),u=Math.min(s.data.total_count,1e3),p=Math.min(Math.ceil(u/o),10),d=a<p;return{pull_requests:l,total_count:s.data.total_count,...s.data.incomplete_results&&{incomplete_results:!0},pagination:{currentPage:a,totalPages:p,perPage:o,totalMatches:u,hasMore:d}}}catch(e){let t=aI(e);return await Sg(e_.GITHUB_SEARCH_PULL_REQUESTS,"SEARCH_PR_SEARCH_FAILED"),{pull_requests:[],total_count:0,error:Hh(t.error),hints:["Verify authentication and search parameters"]}}}(e,t),{shouldCache:e=>!e.error})}(e,t,n),o=TI(i,e);if(o)return o;let a=i.pull_requests||[],s=a.length>0,c=[];if(i.pagination){let{currentPage:e,totalPages:t,totalMatches:n,hasMore:r}=i.pagination;c.push(`Page ${e}/${t} (showing ${a.length} of ${n} PRs)`),r&&c.push(`Next: page=${e+1}`),e>1&&c.push("Previous: page="+(e-1)),r||c.push("Final page"),t>2&&c.push(`Jump to: page=1 (first) or page=${t} (last)`)}return AI(e,{owner:e.owner,repo:e.repo,pull_requests:a,total_count:i.total_count||a.length,...i.pagination&&{pagination:i.pagination}},s,e_.GITHUB_SEARCH_PULL_REQUESTS,{hintContext:{matchCount:a.length},extraHints:c})}catch(t){return SI(t,e)}},{toolName:e_.GITHUB_SEARCH_PULL_REQUESTS,keysPriority:["owner","repo","pull_requests","pagination","total_count","error"]})}(i,n,r)}))}},{name:e_.PACKAGE_SEARCH,description:rL(e_.PACKAGE_SEARCH),isDefault:!0,isLocal:!1,type:"search",fn:async function(e,t){return await async function(e=1e4){return bh(Eh(),["--version"],e)}(1e4)?e.registerTool(e_.PACKAGE_SEARCH,{description:o_[e_.PACKAGE_SEARCH],inputSchema:mN,annotations:{title:"Package Search",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},RR(e_.PACKAGE_SEARCH,async(e,n,r)=>{let i=e.queries||[];return await wI(t,e_.PACKAGE_SEARCH,i),async function(e){return mI(e,async(e,t)=>{try{let t=await async function(e){let t="npm"===e.ecosystem?e.npmFetchMetadata??!1:e.pythonFetchMetadata??!1,n=e.searchLimit??1;if("npm"===e.ecosystem){let r=await async function(e,t,n){return Mg(Ng("npm-search",{name:e,limit:t,metadata:n}),async()=>1===t&&function(e){return!(!e.startsWith("@")||!e.includes("/"))||!e.includes(" ")&&/^[a-z0-9][a-z0-9._-]*$/i.test(e)}(e)?async function(e,t){let n=await hN(e,t);return n?{packages:[n],ecosystem:"npm",totalFound:1}:{packages:[],ecosystem:"npm",totalFound:0}}(e,n):async function(e,t,n){try{let r,i=await wh("search",[e,"--json",`--searchlimit=${t}`]);if(i.error)return{error:`NPM search failed: ${i.error.message}`,hints:["Ensure npm is installed and available in PATH","Check package name for typos"]};if(0!==i.exitCode)return{error:`NPM search failed: ${i.stderr?.trim()||"Unknown error"}`,hints:["Check package name for typos","Try searching with a simpler term"]};try{let e=i.stdout.trim();if(!e||"[]"===e)return{packages:[],ecosystem:"npm",totalFound:0};r=JSON.parse(e)}catch{return{error:"Failed to parse npm search output",hints:["Try a different search term","Check npm CLI version"]}}if(!Array.isArray(r))return{error:"Invalid npm search response format",hints:["Try a different search term"]};r=r.slice(0,t);let o=await Promise.all(r.map(async e=>{if(n){let t=await hN(e.name,!0);if(t)return t}return{repoUrl:e.links?.repository?fN(e.links.repository):null,path:e.name,version:e.version,mainEntry:null,typeDefinitions:null}}));return{packages:o,ecosystem:"npm",totalFound:o.length}}catch(e){return{error:`NPM search failed: ${e instanceof Error?e.message:String(e)}`,hints:["Check package name for typos","Try searching with a simpler term","Ensure npm is installed"]}}}(e,t,n),{shouldCache:e=>!("error"in e)})}(e.name,n,t);return!("error"in r)&&r.packages.length>0&&(r.packages=r.packages.map(e=>"repoUrl"in e&&!e.repoUrl?function(e,t){if(t.repoUrl)return t;let n=_N[e];if(n)return{...t,repoUrl:n};let r=function(e){if(!e.startsWith("@"))return null;let t=e.split("/");if(2!==t.length)return null;let n=t[0]?.slice(1),r=t[1];if(!n||!r)return null;let i=gN[n];return i?"types"===n?"https://github.com/DefinitelyTyped/DefinitelyTyped":`https://github.com/${i}/${r}`:null}(e);return r?{...t,repoUrl:r}:t}(e.path,e):e)),r}return async function(e,t){return Mg(Ng("pypi-search",{name:e,metadata:t}),async()=>async function(e,t){let n=[e.toLowerCase().replace(/_/g,"-"),e.toLowerCase(),e,e.replace(/-/g,"_").toLowerCase()],r=[...new Set(n)];for(let n of r)try{let r=encodeURIComponent(n),i=(await yh.get(`https://pypi.org/pypi/${r}/json`,{timeout:15e3,headers:{Accept:"application/json","User-Agent":"octocode-mcp/8.0.0"},validateStatus:e=>200===e})).data;if(!i.info)continue;let o=i.info,a=null;if(o.project_urls){let e=["source","repository","homepage","source code","github","gitlab"],t=Object.keys(o.project_urls);for(let n of e){let e=t.find(e=>e.toLowerCase()===n);if(e){let t=o.project_urls[e];if(t&&(t.includes("github")||t.includes("gitlab")||t.includes("bitbucket"))){a=t;break}}}}if(!a&&o.home_page){let e=o.home_page;(e.includes("github")||e.includes("gitlab")||e.includes("bitbucket"))&&(a=e)}if(!t)return{packages:[{name:o.name||e,repository:a}],ecosystem:"python",totalFound:1};let s=[];o.keywords&&("string"==typeof o.keywords?s=o.keywords.split(/[,\s]+/).filter(e=>e.trim()):Array.isArray(o.keywords)&&(s=o.keywords)),s=s.slice(0,10);let c=o.summary||o.description||null;c&&c.length>200&&(c=c.substring(0,200)+"...");let l,u=i.releases;if(u&&o.version&&u[o.version]){let e=u[o.version];if(Array.isArray(e)&&e.length>0){let t=e[0]?.upload_time;t&&(l=t)}}return{packages:[{name:o.name||e,version:o.version||"latest",description:c,keywords:s,repository:a,homepage:o.home_page||void 0,author:o.author||void 0,license:o.license||void 0,lastPublished:l}],ecosystem:"python",totalFound:1}}catch(e){if(yh.isAxiosError(e)&&404===e.response?.status)continue;throw e}return{packages:[],ecosystem:"python",totalFound:0}}(e,t),{shouldCache:e=>!("error"in e)})}(e.name,t)}(e);if(function(e){return"error"in e}(t))return EI(t.error,e);let n={packages:t.packages.map(e=>{let{owner:t,repo:n}=function(e){if(!e||!e.includes("github.com"))return{};let t=e.match(/github\.com\/([^/]+)\/([^/]+)/);return t&&t[1]&&t[2]?{owner:t[1],repo:t[2].replace(/\.git$/,"").replace(/\/$/,"")}:{}}(vN(e));return t&&n?{...e,owner:t,repo:n}:e}),totalFound:t.totalFound},r=n.packages.length>0,i=null;r&&"npm"===e.ecosystem&&n.packages[0]&&(i=await async function(e){try{let t=await wh("view",[e,"deprecated","--json"]);if(t.error||0!==t.exitCode)return null;let n=t.stdout.trim();if(!n||"undefined"===n||""===n)return{deprecated:!1};try{let e=JSON.parse(n);return{deprecated:!0,message:"string"==typeof e?e:"This package is deprecated"}}catch{return{deprecated:!0,message:n}}}catch{return null}}(yN(n.packages[0])));let o=r?function(e,t,n){let r=[],i=e.packages[0];if(!i)return r;let o=yN(i),a=vN(i);if(n?.deprecated){let e=n.message||"This package is deprecated";r.push(`DEPRECATED: ${o} - ${e}`)}if(a?.includes("github.com")){let e=a.match(/github\.com\/([^/]+)\/([^/]+)/);if(e&&e[1]&&e[2]){let t=e[1],n=e[2].replace(/\.git$/,"").replace(/\/$/,"");r.push(`Explore: githubViewRepoStructure(owner="${t}", repo="${n}")`)}}return r.push("npm"===t?`Install: npm install ${o}`:`Install: pip install ${o}`),r}(n,e.ecosystem,i):function(e){let t=[],n=e.name;t.push(`No ${e.ecosystem} packages found for '${n}'`);let r=function(e,t){let n=[];if(e.includes("-")&&(n.push(e.replace(/-/g,"_")),n.push(e.replace(/-/g,""))),e.includes("_")&&n.push(e.replace(/_/g,"-")),e.startsWith("@")){let t=e.split("/").pop();t&&n.push(t)}return"npm"===t&&!e.endsWith("js")&&n.push(e+"js"),"python"===t&&!e.startsWith("py")&&n.push("py"+e),[...new Set(n)].filter(t=>t!==e).slice(0,3)}(n,e.ecosystem);r.length>0&&t.push(`Try: ${r.join(", ")}`);let i="npm"===e.ecosystem?`https://npmjs.com/search?q=${encodeURIComponent(n)}`:`https://pypi.org/search/?q=${encodeURIComponent(n)}`;return t.push(`Browse: ${i}`),t}(e);return AI(e,n,r,e_.PACKAGE_SEARCH,{extraHints:o})}catch(t){return SI(t,e)}},{toolName:e_.PACKAGE_SEARCH,keysPriority:["packages","totalFound","error"]})}(i)})):null}},{name:e_.LOCAL_RIPGREP,description:rL(e_.LOCAL_RIPGREP),isDefault:!0,isLocal:!0,type:"search",fn:function(e){return e.registerTool(e_.LOCAL_RIPGREP,{description:TN,inputSchema:kN,annotations:{title:"Local Ripgrep Search",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>mI(e.queries||[],async e=>await async function(e){let t=function(e){if(!e.mode)return e;let t={};switch(e.mode){case"discovery":t.filesOnly=!0,t.smartCase=!0;break;case"paginated":t.filesPerPage=10,t.matchesPerPage=10,t.smartCase=!0;break;case"detailed":t.contextLines=3,t.filesPerPage=10,t.matchesPerPage=20,t.smartCase=!0}return{...t,...e}}(e);try{return(await Oh("rg")).available?await async function(e){let t=CN(e);if(!t.isValid)return EI(Error(`Query validation failed: ${t.errors.join(", ")}`),e,{toolName:e_.LOCAL_RIPGREP,extra:{warnings:t.warnings}});let n=FN(e,e_.LOCAL_RIPGREP);if(!n.isValid)return{...n.errorResult,warnings:t.warnings};e.path=n.sanitizedPath;let r=await NN(e.path),i=[];r.isLarge&&!e.filesOnly&&(i.push(`Large directory detected (~${Math.round(r.estimatedSizeMB)}MB, ~${r.estimatedFileCount} files). Consider chunking workflow for better performance.`),i.push(...yI("search")));let{command:o,args:a}=(new xN).fromQuery(e).build(),s=await Sh(o,a);if(s.stderr?.includes("timeout")||null===s.code){let t=3e4;return{status:"error",errorCode:Yh.COMMAND_TIMEOUT,path:e.path,searchEngine:"rg",researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Search timed out after ${t/1e3} seconds.`,"Try a more specific path or add type/include filters to narrow the search.","Use filesOnly=true for faster discovery.","Consider excluding large directories with excludeDir.",...i]}}if(1===s.code||s.success&&!s.stdout.trim())return{status:"empty",path:e.path,searchEngine:"rg",warnings:[...t.warnings,...i],researchGoal:e.researchGoal,reasoning:e.reasoning,hints:vI(e_.LOCAL_RIPGREP,"empty")};if(!s.success)return EI(Error(`Ripgrep failed (exit code ${s.code}): ${s.stderr}`),e,{toolName:e_.LOCAL_RIPGREP});let{files:c,stats:l}=function(e,t){let n=e.trim().split("\n").filter(Boolean),r=new Map,i={};for(let e of n)if(e.trim()&&e.trim().startsWith("{"))try{let t=JSON.parse(e);if("match"===t.type){let e=t.data.path.text,n=t.data.lines.text,i=t.data.line_number,o=t.data.absolute_offset;r.has(e)||r.set(e,{rawMatches:[],contexts:new Map});let a=t.data.submatches[0],s=a?.start??0,c=a?a.end-a.start:n.length;r.get(e).rawMatches.push({lineText:n,lineNumber:i,absoluteOffset:o,column:s,matchLength:c})}else if("context"===t.type){let e=t.data.path.text,n=t.data.line_number,i=t.data.lines.text;r.has(e)||r.set(e,{rawMatches:[],contexts:new Map}),r.get(e).contexts.set(n,i)}else"summary"===t.type&&(i={matchCount:t.data.stats.matches,matchedLines:t.data.stats.matched_lines,filesMatched:t.data.stats.searches_with_match,filesSearched:t.data.stats.searches,bytesSearched:t.data.stats.bytes_searched,searchTime:t.data.stats.elapsed.human})}catch{}let o=t.beforeContext??t.contextLines??0,a=t.afterContext??t.contextLines??0,s=t.matchContentLength||200;return{files:Array.from(r.entries()).map(([e,t])=>{let n=t.rawMatches.map(e=>{let n=[];for(let r=o;r>0;r--){let i=t.contexts.get(e.lineNumber-r);i&&n.push(i)}n.push(e.lineText);for(let r=1;r<=a;r++){let i=t.contexts.get(e.lineNumber+r);i&&n.push(i)}let r=n.join("\n"),i=[...r];return i.length>s&&(r=i.slice(0,s-3).join("")+"..."),{value:r,location:{byteOffset:e.absoluteOffset,byteLength:e.matchLength,charOffset:e.absoluteOffset,charLength:e.matchLength},line:e.lineNumber,column:e.column}});return{path:e,matchCount:n.length,matches:n}}),stats:i}}(s.stdout,e);return IN(c,e,"rg",[...t.warnings,...i],l)}(t):(await Oh("grep")).available?t.multiline?EI(Error("multiline patterns require ripgrep (rg). Install ripgrep or remove multiline option."),t,{toolName:e_.LOCAL_RIPGREP}):await async function(e){let t=function(e){let t=[],n=function(e){return{smartCase:!0===e.smartCase,multiline:!0===e.multiline,countMatches:!0===e.countMatches,jsonOutput:!0===e.jsonOutput,sortOptions:void 0!==e.sort&&"path"!==e.sort,threads:void 0!==e.threads,mmap:void 0!==e.mmap,stats:!0===e.includeStats,gitignore:!e.noIgnore}}(e);return n.smartCase&&t.push("smartCase not supported by grep - using case-insensitive search (-i)"),n.multiline&&t.push("multiline patterns not supported by grep - feature disabled"),n.countMatches&&t.push("countMatches not supported by grep - using line count (-c) instead"),n.sortOptions&&t.push(`sort="${e.sort}" not supported by grep - results will be in file order`),n.gitignore&&t.push("grep does not respect .gitignore - all files will be searched"),n.stats&&t.push("includeStats not supported by grep - stats will not be available"),t}(e);t.unshift("Using grep fallback (ripgrep not available). Some features may be limited.");let n=CN(e);if(!n.isValid)return EI(Error(`Query validation failed: ${n.errors.join(", ")}`),e,{toolName:e_.LOCAL_RIPGREP,extra:{warnings:[...t,...n.warnings]}});let r=FN(e,e_.LOCAL_RIPGREP);if(!r.isValid)return{...r.errorResult,warnings:[...t,...n.warnings]};e.path=r.sanitizedPath;let i=await NN(e.path),o=[];i.isLarge&&!e.filesOnly&&(o.push(`Large directory detected (~${Math.round(i.estimatedSizeMB)}MB, ~${i.estimatedFileCount} files). Consider chunking workflow for better performance.`),o.push(...yI("search")));let{command:a,args:s}=(new AN).fromQuery(e).build(),c=await Sh(a,s);if(c.stderr?.includes("timeout")||null===c.code){let t=3e4;return{status:"error",errorCode:Yh.COMMAND_TIMEOUT,path:e.path,searchEngine:"grep",researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Search timed out after ${t/1e3} seconds.`,"Try a more specific path or add type/include filters to narrow the search.","Use filesOnly=true for faster discovery.","Consider excluding large directories with excludeDir.",...o]}}return 1===c.code||c.success&&!c.stdout.trim()?{status:"empty",path:e.path,searchEngine:"grep",warnings:[...t,...n.warnings,...o],researchGoal:e.researchGoal,reasoning:e.reasoning,hints:vI(e_.LOCAL_RIPGREP,"empty")}:c.success?IN(function(e,t){let n=e.trim().split("\n").filter(Boolean),r=new Map;if(t.filesOnly)for(let e of n){let t=e.trim();t&&!r.has(t)&&r.set(t,[])}else for(let e of n){let t=e.match(/^(.+?):(\d+):(.*)$/);if(t){let[,e,n,i]=t,o=e,a=i,s=parseInt(n,10);r.has(o)||r.set(o,[]),r.get(o).push({lineText:a,lineNumber:s,column:0})}else if(e.includes(":")){let t=e.indexOf(":"),n=e.substring(0,t),i=e.substring(t+1);n&&!n.includes("\0")&&(r.has(n)||r.set(n,[]),r.get(n).push({lineText:i,lineNumber:0,column:0}))}}let i=t.matchContentLength||200;return Array.from(r.entries()).map(([e,t])=>{let n=t.map(e=>{let t=e.lineText,n=[...t];return n.length>i&&(t=n.slice(0,i-3).join("")+"..."),{value:t,location:{byteOffset:0,byteLength:0,charOffset:0,charLength:t.length},line:e.lineNumber,column:e.column}});return{path:e,matchCount:n.length,matches:n}})}(c.stdout,e),e,"grep",[...t,...n.warnings,...o]):EI(Error(`Grep failed (exit code ${c.code}): ${c.stderr}`),e,{toolName:e_.LOCAL_RIPGREP})}(t):EI(rg("rg or grep",`${Rh("rg")} Alternatively, ensure grep is in PATH.`),t,{toolName:e_.LOCAL_RIPGREP})}catch(e){return(e instanceof Error?e.message:String(e)).includes("Output size limit exceeded")?{status:"error",errorCode:Yh.OUTPUT_TOO_LARGE,path:t.path,searchEngine:"rg",researchGoal:t.researchGoal,reasoning:t.reasoning,hints:["Output exceeded 10MB - your pattern matched too broadly. Think about why results exploded:","Is the pattern too generic? Make it specific to target what you actually need","Searching everything? Add type filters or path restrictions to focus scope","For node_modules: Target specific packages rather than searching the entire directory","Need file names only? FIND_FILES searches metadata without reading content","Strategy: Start with filesOnly=true to see what matched, then narrow before reading content"]}:EI(e,t,{toolName:e_.LOCAL_RIPGREP})}}(e),{toolName:e_.LOCAL_RIPGREP}))}},{name:e_.LOCAL_VIEW_STRUCTURE,description:rL(e_.LOCAL_VIEW_STRUCTURE),isDefault:!0,isLocal:!0,type:"content",fn:function(e){return e.registerTool(e_.LOCAL_VIEW_STRUCTURE,{description:zN,inputSchema:jN,annotations:{title:"Local View Structure",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>mI(e.queries||[],async e=>await async function(e){try{let t=FN(e,e_.LOCAL_VIEW_STRUCTURE);if(!t.isValid)return t.errorResult;if(e.depth||e.recursive)return await KN(e,t.sanitizedPath,e.showFileLastModified);if(!(await Oh("ls")).available)return EI(rg("ls",Rh("ls")),e,{toolName:e_.LOCAL_VIEW_STRUCTURE});let{command:n,args:r}=(new BN).fromQuery(e).build(),i=await Sh(n,r);if(!i.success){let t=i.stderr?.trim();return{status:"error",errorCode:ig("ls",Error(t||"Unknown error"),t).errorCode,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[t?`Error: ${t}`:"ls command failed",...vI(zg.LOCAL_VIEW_STRUCTURE,"error")]}}let o=VN(e.details?function(e,t=!1){let n=e.split("\n").filter(e=>e.trim()),r=[];for(let e of n){if(e.startsWith("total "))continue;let n=e.match(/^([\w-]+[@+]?)\s+\d+\s+\w+\s+\w+\s+([\d.]+[KMGT]?)\s+(\w+\s+\d+\s+[\d:]+)\s+(.+)$/);if(n&&n[1]&&n[2]&&n[3]&&n[4]){let e=n[1],i=n[2],o=n[3],a=n[4],s=0;s=/^\d+$/.test(i)?parseInt(i,10):$N(i);let c="file";e.startsWith("d")?c="directory":e.startsWith("l")&&(c="symlink");let l={name:a,type:c,size:UN(s),permissions:e,extension:dR(a)};t&&(l.modified=o),r.push(l)}}return r}(i.stdout,e.showFileLastModified):await HN(i.stdout,t.sanitizedPath,e.showFileLastModified),e);e.limit&&(o=o.slice(0,e.limit));let a=o.length,s=o.filter(e=>"file"===e.type).length,c=o.filter(e=>"directory"===e.type).length,l=0;for(let e of o)"file"===e.type&&e.size&&(l+=$N(e.size));let u=l,p=e.entriesPerPage||20,d=e.entryPageNumber||1,m=Math.ceil(a/p),f=(d-1)*p,h=Math.min(f+p,a),g=o.slice(f,h),_={currentPage:d,totalPages:m,entriesPerPage:p,totalEntries:a,hasMore:d<m};if(!e.charLength&&a>100&&!e.entriesPerPage){let t=a*(e.details?150:30);return{status:"error",errorCode:ng(t,EN).errorCode,path:e.path,totalFiles:s,totalDirectories:c,totalSize:u,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Directory contains ${a} entries - overwhelming to view all at once`,"Use entriesPerPage to paginate through results (sorted by modification time, most recent first)","Why pagination helps: Lets you focus on relevant files first, reduces token usage, easier to navigate"]}}let y=g.map(e=>qN(e,0)).join("\n"),v=null;e.charLength&&(v=OI(y,e.charOffset??0,e.charLength),y=v.paginatedContent);let b=a>0?"hasResults":"empty",E=[`Page ${d}/${m} (showing ${g.length} of ${a})`,`Total: ${s} files, ${c} directories`,_.hasMore?`Next: entryPageNumber=${d+1}`:"Final page"],x={currentPage:_.currentPage,totalPages:_.totalPages,entriesPerPage:_.entriesPerPage,totalEntries:_.totalEntries,hasMore:_.hasMore,...v&&{charOffset:v.charOffset,charLength:v.charLength,totalChars:v.totalChars}};return{status:b,path:e.path,cwd:process.cwd(),structuredOutput:y,totalFiles:s,totalDirectories:c,totalSize:u,pagination:x,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...E,...vI(zg.LOCAL_VIEW_STRUCTURE,b),...v?PI(v,{toolName:zg.LOCAL_VIEW_STRUCTURE}):[]]}}catch(t){return{status:"error",errorCode:og("LOCAL_VIEW_STRUCTURE",t instanceof Error?t:void 0).errorCode,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:vI(zg.LOCAL_VIEW_STRUCTURE,"error")}}}(e),{toolName:e_.LOCAL_VIEW_STRUCTURE}))}},{name:e_.LOCAL_FIND_FILES,description:rL(e_.LOCAL_FIND_FILES),isDefault:!0,isLocal:!0,type:"search",fn:function(e){return e.registerTool(e_.LOCAL_FIND_FILES,{description:ZN,inputSchema:QN,annotations:{title:"Local Find Files",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>mI(e.queries||[],async e=>await async function(e){let t=e.details??!0,n=e.showFileLastModified??!1;try{if(!(await Oh("find")).available)return EI(rg("find",Rh("find")),e,{toolName:e_.LOCAL_FIND_FILES});let r=FN(e,e_.LOCAL_FIND_FILES);if(!r.isValid)return r.errorResult;let{command:i,args:o}=(new XN).fromQuery(e).build(),a=await Sh(i,o);if(!a.success){let t=a.stderr?.trim();return EI(ig("find",Error(t||"Unknown error"),t),e,{toolName:e_.LOCAL_FIND_FILES,extra:{stderr:t}})}let s=a.stdout.split("\0").filter(e=>e.trim()).map(e=>e.trim()),c=e.limit||1e3;s=s.slice(0,c);let l=await async function(e,t=!1){let n=Array(e.length),r=async r=>{let i=e[r];try{let e=await _.promises.lstat(i),o="file";e.isDirectory()?o="directory":e.isSymbolicLink()&&(o="symlink");let a={path:i,type:o,size:e.size,permissions:e.mode.toString(8).slice(-3)};t&&(a.modified=e.mtime.toISOString()),n[r]=a}catch{n[r]={path:i,type:"file"}}},i=0,o=()=>{let t=i;return i+=1,t<e.length?t:-1},a=Array.from({length:Math.min(24,e.length)},()=>(async()=>{for(let e=o();-1!==e;e=o())await r(e)})());return await Promise.all(a),n}(s,n);t&&await Promise.all(l.map(async e=>{if(void 0===e.size||!e.permissions||n&&!e.modified)try{let t=await _.promises.lstat(e.path);void 0===e.size&&(e.size=t.size),e.permissions||=t.mode.toString(8).slice(-3),n&&!e.modified&&(e.modified=t.mtime.toISOString())}catch{}})),l.sort((e,t)=>n&&e.modified&&t.modified?new Date(t.modified).getTime()-new Date(e.modified).getTime():e.path.localeCompare(t.path));let u=l.map(e=>{let r={path:e.path,type:e.type};return t&&(void 0!==e.size&&(r.size=e.size),e.permissions&&(r.permissions=e.permissions)),n&&e.modified&&(r.modified=e.modified),r}),p=u.length,d=e.filesPerPage||20,m=e.filePageNumber||1,f=Math.ceil(p/d),h=(m-1)*d,g=Math.min(h+d,p),y=u.slice(h,g),v=function(e,t,n={}){let{threshold:r=100,itemType:i="item",detailed:o=!1}=n;return t?{shouldBlock:!1}:e>r?{shouldBlock:!0,errorCode:ng(e,r).errorCode,hints:[`Found ${e} ${i}${1===e?"":"s"} - exceeds safe limit of ${r}`,"Use charLength to paginate through results",o?"Detailed results increase size - consider using charLength for pagination":"Consider using charLength to paginate large result sets"]}:{shouldBlock:!1}}(y.length,!!e.charLength,{threshold:100,itemType:"file",detailed:t});if(v.shouldBlock)return{status:"error",errorCode:v.errorCode,totalFiles:p,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:v.hints};let b=y,E=null;if(e.charLength){let t=RI(y,!1).length,n=e.charOffset??0,r=e.charLength,i=n+r;if(n>=t)b=[],E={paginatedContent:"[]",charOffset:n,charLength:0,totalChars:t,hasMore:!1,estimatedTokens:0,currentPage:Math.floor(n/r)+1,totalPages:Math.ceil(t/r),actualOffset:n,actualLength:0};else{let e=[],o=1;for(let t=0;t<y.length;t++){let r=JSON.stringify(y[t]).length;if(o<i&&o+r>n&&e.push(y[t]),o+=r+1,o>=i)break}b=e;let a=RI(b,!1),s=o<t;E={paginatedContent:a,charOffset:n,charLength:a.length,totalChars:t,hasMore:s,nextCharOffset:s?o:void 0,estimatedTokens:Math.ceil(a.length/4),currentPage:Math.floor(n/r)+1,totalPages:Math.ceil(t/r),actualOffset:n,actualLength:a.length}}}let x=p>0?"hasResults":"empty",w=[`Page ${m}/${f} (showing ${b.length} of ${p})`,m<f?`Next: filePageNumber=${m+1}`:"Final page",n?"Sorted by modification time (most recent first)":"Sorted by path"];return{status:x,files:b,cwd:process.cwd(),totalFiles:p,pagination:{currentPage:m,totalPages:f,filesPerPage:d,totalFiles:p,hasMore:m<f},...E&&{charPagination:DI(E)},researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...w,...vI(e_.LOCAL_FIND_FILES,x),...E?PI(E,{toolName:e_.LOCAL_FIND_FILES}):[]]}}catch(t){return EI(t,e,{toolName:e_.LOCAL_FIND_FILES})}}(e),{toolName:e_.LOCAL_FIND_FILES}))}},{name:e_.LOCAL_FETCH_CONTENT,description:rL(e_.LOCAL_FETCH_CONTENT),isDefault:!0,isLocal:!0,type:"content",fn:function(e){return e.registerTool(e_.LOCAL_FETCH_CONTENT,{description:JN,inputSchema:tL,annotations:{title:"Local Fetch Content",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>mI(e.queries||[],async e=>await async function(e){try{let t=FN(e,e_.LOCAL_FETCH_CONTENT);if(!t.isValid)return t.errorResult;let n,r=t.sanitizedPath;try{n=await C(r)}catch(t){return EI(((e,t)=>{let n=`Cannot access file: ${e}`,r=t?.code;return"ENOENT"===r?n=`File not found: ${e}. Verify the path exists using localFindFiles.`:"EACCES"===r?n=`Permission denied: ${e}. Check file permissions.`:"EISDIR"===r?n=`Path is a directory: ${e}. Use localViewStructure instead.`:"ENOTDIR"===r?n=`Invalid path: ${e}. A component of the path is not a directory.`:"ENAMETOOLONG"===r&&(n=`Path too long: ${e}`),new eg(Zh.FILE_ACCESS_FAILED,n,{path:e,errorCode:r},t)})(e.path,t instanceof Error?t:void 0),e,{toolName:e_.LOCAL_FETCH_CONTENT,extra:{path:e.path,resolvedPath:r}})}let i,o=n.size/1024;if(o>100&&!e.charLength&&!e.matchString)return EI(((e,t)=>new eg(Zh.FILE_TOO_LARGE,(()=>{let e=e=>Number.isInteger(e)?`${e}KB`:`${e.toFixed(1)}KB`;return`File too large: ${e(t)} (limit: ${e(100)})`})(),{path:e,sizeKB:t,limitKB:100}))(e.path,o),e,{toolName:e_.LOCAL_FETCH_CONTENT,extra:{path:e.path},customHints:["Best approach: Use matchString to extract specific functions/classes you actually need","Alternative: Use charLength for pagination if you need to browse through the file systematically","Why matchString works better: Gets only relevant sections, faster, and uses fewer tokens","Critical: fullContent without charLength will fail on large files - always specify a reading strategy"]});try{i=await k(r,"utf-8")}catch(t){return EI(((e,t)=>new eg(Zh.FILE_READ_FAILED,`Failed to read file: ${e}`,{path:e},t))(e.path,t instanceof Error?t:void 0),e,{toolName:e_.LOCAL_FETCH_CONTENT,extra:{path:e.path}})}let a,s,c,l,u=i.split("\n"),p=u.length,d=!1,m=[];if(e.matchString){let t=function(e,t,n,r=!1,i=!1,o){let a=[],s=null;if(r)try{s=new RegExp(t,i?"":"i")}catch(e){throw Error(`Invalid regex pattern: ${e instanceof Error?e.message:String(e)}`)}let c=i?t:t.toLowerCase();e.forEach((e,n)=>{(r?s.test(e):i?e.includes(t):e.toLowerCase().includes(c))&&a.push(n+1)});let l=a.length;if(0===l)return{lines:[],matchRanges:[],matchCount:0};let u=o?a.slice(0,o):a,p=[],d=u[0],m={start:Math.max(1,d-n),end:Math.min(e.length,d+n)};for(let t=1;t<u.length;t++){let r=u[t],i=Math.max(1,r-n),o=Math.min(e.length,r+n);i<=m.end+1?m.end=Math.max(m.end,o):(p.push({...m}),m={start:i,end:o})}p.push(m);let f=[];return p.forEach((t,n)=>{if(n>0){let e=p[n-1],r=t.start-e.end-1;r>0&&(f.push(""),f.push(`... [${r} lines omitted] ...`),f.push(""))}f.push(...e.slice(t.start-1,t.end))}),{lines:f,matchRanges:p,matchCount:l}}(u,e.matchString,e.matchStringContextLines??5,e.matchStringIsRegex??!1,e.matchStringCaseSensitive??!1,50);if(0===t.lines.length){let t=[`Searched ${p} line${1===p?"":"s"} - no matches found`];return e.matchStringIsRegex?t.push("TIP: Regex matches per-line only (not multiline). Verify pattern exists on a single line."):t.push('TIP: Try matchStringIsRegex=true for pattern matching (e.g., "export.*function")'),e.matchStringCaseSensitive&&t.push("TIP: Case-sensitive mode active - try matchStringCaseSensitive=false"),t.push("TIP: Verify file contains expected content or try simpler pattern"),{status:"empty",path:e.path,errorCode:Yh.NO_MATCHES,totalLines:p,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...vI(e_.LOCAL_FETCH_CONTENT,"empty"),"",...t]}}if(a=t.lines.join("\n"),a=nL(a,e.path),t.matchRanges.length>0&&(s=t.matchRanges[0].start,c=t.matchRanges[t.matchRanges.length-1].end,l=t.matchRanges),t.matchCount>50)return{status:"hasResults",path:e.path,cwd:process.cwd(),content:a,contentLength:a.length,isPartial:!0,totalLines:p,...void 0!==s&&{startLine:s,endLine:c,matchRanges:l},researchGoal:e.researchGoal,reasoning:e.reasoning,warnings:[`Pattern matched ${t.matchCount} lines. Truncated to first 50 matches.`],hints:[`Pattern matched ${t.matchCount} lines - likely too generic`,"Make the pattern more specific to target only what you need","TIP: Use charLength to paginate if you need all matches"]};if(!e.charLength&&a.length>2e3){let n=OI(a,0,EN);return{status:"hasResults",path:e.path,cwd:process.cwd(),content:n.paginatedContent,contentLength:n.paginatedContent.length,isPartial:!0,totalLines:p,...void 0!==s&&{startLine:s,endLine:c,matchRanges:l},pagination:DI(n),researchGoal:e.researchGoal,reasoning:e.reasoning,warnings:[`Auto-paginated: ${t.matchCount} matches exceeded display limit`],hints:[...vI(e_.LOCAL_FETCH_CONTENT,"hasResults"),...PI(n,{toolName:e_.LOCAL_FETCH_CONTENT})]}}d=!0}else if(void 0!==e.startLine&&void 0!==e.endLine){let t=Math.max(1,e.startLine),n=Math.min(e.endLine,p);if(t>p)return{status:"empty",path:e.path,totalLines:p,errorCode:Yh.NO_MATCHES,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...vI(e_.LOCAL_FETCH_CONTENT,"empty"),`Requested startLine ${e.startLine} exceeds file length (${p} lines)`,`Use startLine=1 to ${p} for valid range`]};a=u.slice(t-1,n).join("\n"),s=t,c=n,d=!0,e.endLine>p&&m.push(`Requested endLine ${e.endLine} adjusted to ${p} (file end)`),a=nL(a,e.path)}else a=i,d=!1,a=nL(a,e.path);if(!a||0===a.trim().length)return{status:"empty",path:e.path,totalLines:p,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:vI(e_.LOCAL_FETCH_CONTENT,"empty")};let f=e.charLength,h=!1;!e.charLength&&a.length>2e3&&(f=EN,h=!0,m.push(`Auto-paginated: Content (${a.length} chars) exceeds 2000 char limit`));let g=OI(a,e.charOffset??0,f),_=vI(e_.LOCAL_FETCH_CONTENT,"hasResults"),y=f||h?PI(g,{toolName:e_.LOCAL_FETCH_CONTENT}):[];return{status:"hasResults",path:e.path,cwd:process.cwd(),content:g.paginatedContent,contentLength:g.paginatedContent.length,isPartial:d,totalLines:p,...void 0!==s&&{startLine:s,endLine:c,...void 0===l&&{extractedLines:c-s+1},...void 0!==l&&{matchRanges:l}},...(f||h)&&{pagination:DI(g)},researchGoal:e.researchGoal,reasoning:e.reasoning,...m.length>0&&{warnings:m},hints:[..._,...y]}}catch(t){return EI(t,e,{toolName:e_.LOCAL_FETCH_CONTENT,extra:{path:e.path}})}}(e),{toolName:e_.LOCAL_FETCH_CONTENT}))}}];function oL(e,t,n){if(e.isLocal&&!t)return!1;let{toolsToRun:r,enableTools:i,disableTools:o}=n;return r.length>0?r.includes(e.name):!o.includes(e.name)&&(i.includes(e.name)||e.isDefault)}const aL={name:`octocode-mcp_${Dh}`,title:"Octocode MCP",version:Dh};async function sL(e,t){let n=Ug.getLogger(e,"tools");await vg()?await n.info("GitHub token ready"):(await n.warning("No GitHub token - limited functionality"),process.stderr.write("⚠️ No GitHub token available - some features may be limited\n"));let{successCount:r}=await async function(e){let t=yg().enableLocal,n=function(){let e=yg();return{toolsToRun:e.toolsToRun||[],enableTools:e.enableTools||[],disableTools:e.disableTools||[]}}();n.toolsToRun.length>0&&(n.enableTools.length>0||n.disableTools.length>0)&&process.stderr.write("Warning: TOOLS_TO_RUN cannot be used together with ENABLE_TOOLS/DISABLE_TOOLS. Using TOOLS_TO_RUN exclusively.\n");let r=0,i=[];for(let o of iL)if(oL(o,t,n)){try{if(!n_(o.name)){await Sg(o.name,Fh);continue}}catch{await Sg(o.name,Ih);continue}try{null!==await o.fn(e,void 0)&&r++}catch{i.push(o.name)}}return{successCount:r,failedTools:i}}(e);if(await n.info("Tools registered",{count:r}),0===r){await Sg("startup","STARTUP_NO_TOOLS_REGISTERED");let e=Error("No tools were successfully registered");throw await n.error("Tool registration failed"),e}}(async function(){let e=!1,t=null,n=null;try{await async function(){if(null===pg){if(null!==mg)return mg;mg=(async()=>{dg=await _g();let e=function(e){if(null==e)return!0;let t=e.trim().toLowerCase();return""===t||"false"!==t&&"0"!==t}(process.env.LOG),t=gg(process.env.ENABLE_LOCAL,!1)||gg(process.env.LOCAL,!1);pg={version:Dh,githubApiUrl:process.env.GITHUB_API_URL?.trim()||"https://api.github.com",toolsToRun:hg(process.env.TOOLS_TO_RUN),enableTools:hg(process.env.ENABLE_TOOLS),disableTools:hg(process.env.DISABLE_TOOLS),enableLogging:e,timeout:Math.max(3e4,parseInt(process.env.REQUEST_TIMEOUT?.trim()||"30000")||3e4),maxRetries:Math.max(0,Math.min(10,parseInt(process.env.MAX_RETRIES?.trim()||"3")||3)),loggingEnabled:e,enableLocal:t}})(),await mg}}();let r=await async function(){return jg||await Jg(),Yg()}(),i=(xg||=new Eg,xg),o=new ip(aL,{capabilities:{prompts:{},resources:{},tools:{},logging:{}},instructions:r.instructions});n=function(e){return new Bg(e,"server")}(o),await n.info("Server starting",{sessionId:i.getSessionId()}),await sL(o),function(e,t){let n=t.prompts;if(n)for(let t of Object.values(n)){if(!t||"string"!=typeof t.name||0===t.name.trim().length||"string"!=typeof t.description||0===t.description.trim().length||"string"!=typeof t.content||0===t.content.trim().length)continue;let n={};if(t.args&&Array.isArray(t.args))for(let e of t.args){if(!e||"string"!=typeof e.name)continue;let t=ft().describe(e.description);e.required||(t=t.optional()),n[e.name]=t}e.registerPrompt(t.name,{description:t.description,argsSchema:n},async e=>{await Tg(t.name);let n=t.content;if(e&&Object.keys(e).length>0){n+="\n\nUse Input\n\n";for(let[t,r]of Object.entries(e))null!=r&&(n+=`${t}: ${String(r)}\n`)}return{messages:[{role:"user",content:{type:"text",text:n}}]}})}}(o,r),await n.info("Prompts ready"),await n.info("Resources ready");let a=new fp;await o.connect(a),await n.info("Server ready",{pid:process.pid,sessionId:i.getSessionId()}),async function(){let e=wg();e&&await e.logInit()}().catch(()=>{}),process.stdout.uncork(),process.stderr.uncork();let s=async r=>{if(!e){e=!0;try{n&&await n.info("Shutting down",{signal:r}),t&&=(clearTimeout(t),null),t=setTimeout(()=>{process.exit(1)},5e3),Dg.flushAll(),Ig.clear(),Pg.hits=0,Pg.misses=0,Pg.sets=0,Pg.totalKeys=0,Pg.lastReset=new Date,pg=null,dg=null,mg=null,fg=null;try{await o.close()}catch{}t&&=(clearTimeout(t),null),n&&await n.info("Shutdown complete"),process.exit(0)}catch{t&&=(clearTimeout(t),null),process.exit(1)}}};process.once("SIGINT",()=>s("SIGINT")),process.once("SIGTERM",()=>s("SIGTERM")),process.stdin.once("close",()=>{s("STDIN_CLOSE")}),process.once("uncaughtException",e=>{n&&n.error("Uncaught exception",{error:e.message}),Sg("startup","STARTUP_UNCAUGHT_EXCEPTION").catch(()=>{}),s("UNCAUGHT_EXCEPTION")}),process.once("unhandledRejection",e=>{n&&n.error("Unhandled rejection",{reason:String(e)}),Sg("startup","STARTUP_UNHANDLED_REJECTION").catch(()=>{}),s("UNHANDLED_REJECTION")}),process.stdin.resume()}catch(e){n&&await n.error("Startup failed",{error:String(e)}),await Sg("startup","STARTUP_FAILED"),process.exit(1)}})().catch(e=>{let t=e instanceof Error?e.message:String(e||"Unknown error");process.stderr.write(`❌ Startup failed: ${t}\n`),process.exit(1)});export{sL as registerAllTools};
|