UNPKG

octocode-mcp

Version:

Model Context Protocol (MCP) server for advanced GitHub repository analysis, code discovery, and npm package exploration. Provides AI assistants with powerful tools to search, analyze, and understand codebases across GitHub and npm ecosystems.

3 lines 1.49 MB
#!/usr/bin/env node
import e from"node:process";import t,{EventEmitter as n}from"events";import r from"crypto";import{spawn as i}from"child_process";import o from"http";import a from"https";import s from"url";import c from"path";import u from"fs";import l from"util";import p,{Readable as d}from"stream";import m from"assert";import f from"tty";import h from"os";import g from"zlib";var v,_;!function(e){e.assertEqual=e=>{},e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t},e.getValidEnumValues=t=>{const n=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),r={};for(const 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=>{const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(const 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}(v||(v={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(_||(_={}));const y=v.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),b=e=>{switch(typeof e){case"undefined":return y.undefined;case"string":return y.string;case"number":return Number.isNaN(e)?y.nan:y.number;case"boolean":return y.boolean;case"function":return y.function;case"bigint":return y.bigint;case"symbol":return y.symbol;case"object":return Array.isArray(e)?y.array:null===e?y.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?y.promise:"undefined"!=typeof Map&&e instanceof Map?y.map:"undefined"!=typeof Set&&e instanceof Set?y.set:"undefined"!=typeof Date&&e instanceof Date?y.date:y.object;default:return y.unknown}},E=v.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"]);class x 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]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(const 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;){const 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(e){if(!(e instanceof x))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,v.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){const t={},n=[];for(const r of this.issues)if(r.path.length>0){const 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()}}x.create=e=>new x(e);const w=(e,t)=>{let n;switch(e.code){case E.invalid_type:n=e.received===y.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case E.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,v.jsonStringifyReplacer)}`;break;case E.unrecognized_keys:n=`Unrecognized key(s) in object: ${v.joinValues(e.keys,", ")}`;break;case E.invalid_union:n="Invalid input";break;case E.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${v.joinValues(e.options)}`;break;case E.invalid_enum_value:n=`Invalid enum value. Expected ${v.joinValues(e.options)}, received '${e.received}'`;break;case E.invalid_arguments:n="Invalid function arguments";break;case E.invalid_return_type:n="Invalid function return type";break;case E.invalid_date:n="Invalid date";break;case E.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}"`:v.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case E.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 E.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 E.custom:n="Invalid input";break;case E.invalid_intersection_types:n="Intersection results could not be merged";break;case E.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case E.not_finite:n="Number must be finite";break;default:n=t.defaultError,v.assertNever(e)}return{message:n}};let A=w;function S(e,t){const n=A,r=(e=>{const{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="";const c=r.filter(e=>!!e).slice().reverse();for(const 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===w?void 0:w].filter(e=>!!e)});e.common.issues.push(r)}class T{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const r of t){if("aborted"===r.status)return k;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const e of t){const t=await e.key,r=await e.value;n.push({key:t,value:r})}return T.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const r of t){const{key:t,value:i}=r;if("aborted"===t.status)return k;if("aborted"===i.status)return k;"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 k=Object.freeze({status:"aborted"}),R=e=>({status:"dirty",value:e}),C=e=>({status:"valid",value:e}),O=e=>"aborted"===e.status,D=e=>"dirty"===e.status,P=e=>"valid"===e.status,F=e=>"undefined"!=typeof Promise&&e instanceof Promise;var I;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:e?.message}(I||(I={}));class M{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 N=(e,t)=>{if(P(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new x(e.common.issues);return this._error=t,this._error}}};function L(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new 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)=>{const{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:i.defaultError}:{message:o??n??i.defaultError}},description:i}}class B{get description(){return this._def.description}_getType(e){return b(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:b(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new T,ctx:{common:e.parent.common,data:e.data,parsedType:b(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(F(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){const n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:b(e)},r=this._parseSync({data:e,path:n.path,parent:n});return N(n,r)}"~validate"(e){const t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:b(e)};if(!this["~standard"].async)try{const n=this._parseSync({data:e,path:[],parent:t});return P(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=>P(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:b(e)},r=this._parse({data:e,path:n.path,parent:n}),i=await(F(r)?r:Promise.resolve(r));return N(n,i)}refine(e,t){const n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{const i=e(t),o=()=>r.addIssue({code:E.custom,...n(t)});return"undefined"!=typeof Promise&&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 Ue({schema:this,typeName:We.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 Ge.create(this,this._def)}nullable(){return ze.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Ee.create(this)}promise(){return Be.create(this,this._def)}or(e){return Ae.create([this,e],this._def)}and(e){return Re.create(this,e,this._def)}transform(e){return new Ue({...L(this._def),schema:this,typeName:We.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new Ve({...L(this._def),innerType:this,defaultValue:t,typeName:We.ZodDefault})}brand(){return new He({typeName:We.ZodBranded,type:this,...L(this._def)})}catch(e){const t="function"==typeof e?e:()=>e;return new je({...L(this._def),innerType:this,catchValue:t,typeName:We.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return Ke.create(this,e)}readonly(){return $e.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const U=/^c[^\s-]{8,}$/i,G=/^[0-9a-z]+$/,z=/^[0-9A-HJKMNP-TV-Z]{26}$/i,V=/^[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,j=/^[a-z0-9_-]{21}$/i,q=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,H=/^[-+]?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)?)??$/,K=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let $;const W=/^(?:(?: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])$/,X=/^(?:(?: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])$/,Y=/^(([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]))$/,Z=/^(([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])$/,Q=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,J=/^([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])))",te=new RegExp(`^${ee}$`);function ne(e){let t="[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),`([01]\\d|2[0-3]):[0-5]\\d(:${t})${e.precision?"+":"?"}`}function re(e){return new RegExp(`^${ne(e)}$`)}function ie(e){let t=`${ee}T${ne(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function oe(e,t){return!("v4"!==t&&t||!W.test(e))||!("v6"!==t&&t||!Y.test(e))}function ae(e,t){if(!q.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),i=JSON.parse(atob(r));return!("object"!=typeof i||null===i||"typ"in i&&"JWT"!==i?.typ||!i.alg||t&&i.alg!==t)}catch{return!1}}function se(e,t){return!("v4"!==t&&t||!X.test(e))||!("v6"!==t&&t||!Z.test(e))}class ce extends B{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==y.string){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.string,received:t.parsedType}),k}const t=new T;let n;for(const r of this._def.checks)if("min"===r.kind)e.data.length<r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:E.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if("max"===r.kind)e.data.length>r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:E.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if("length"===r.kind){const i=e.data.length>r.value,o=e.data.length<r.value;(i||o)&&(n=this._getOrReturnCtx(e,n),i?S(n,{code:E.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):o&&S(n,{code:E.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),t.dirty())}else if("email"===r.kind)K.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"email",code:E.invalid_string,message:r.message}),t.dirty());else if("emoji"===r.kind)$||($=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),$.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"emoji",code:E.invalid_string,message:r.message}),t.dirty());else if("uuid"===r.kind)V.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"uuid",code:E.invalid_string,message:r.message}),t.dirty());else if("nanoid"===r.kind)j.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"nanoid",code:E.invalid_string,message:r.message}),t.dirty());else if("cuid"===r.kind)U.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"cuid",code:E.invalid_string,message:r.message}),t.dirty());else if("cuid2"===r.kind)G.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"cuid2",code:E.invalid_string,message:r.message}),t.dirty());else if("ulid"===r.kind)z.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"ulid",code:E.invalid_string,message:r.message}),t.dirty());else if("url"===r.kind)try{new URL(e.data)}catch{n=this._getOrReturnCtx(e,n),S(n,{validation:"url",code:E.invalid_string,message:r.message}),t.dirty()}else"regex"===r.kind?(r.regex.lastIndex=0,r.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"regex",code:E.invalid_string,message:r.message}),t.dirty())):"trim"===r.kind?e.data=e.data.trim():"includes"===r.kind?e.data.includes(r.value,r.position)||(n=this._getOrReturnCtx(e,n),S(n,{code:E.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),t.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)||(n=this._getOrReturnCtx(e,n),S(n,{code:E.invalid_string,validation:{startsWith:r.value},message:r.message}),t.dirty()):"endsWith"===r.kind?e.data.endsWith(r.value)||(n=this._getOrReturnCtx(e,n),S(n,{code:E.invalid_string,validation:{endsWith:r.value},message:r.message}),t.dirty()):"datetime"===r.kind?ie(r).test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{code:E.invalid_string,validation:"datetime",message:r.message}),t.dirty()):"date"===r.kind?te.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{code:E.invalid_string,validation:"date",message:r.message}),t.dirty()):"time"===r.kind?re(r).test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{code:E.invalid_string,validation:"time",message:r.message}),t.dirty()):"duration"===r.kind?H.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"duration",code:E.invalid_string,message:r.message}),t.dirty()):"ip"===r.kind?oe(e.data,r.version)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"ip",code:E.invalid_string,message:r.message}),t.dirty()):"jwt"===r.kind?ae(e.data,r.alg)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"jwt",code:E.invalid_string,message:r.message}),t.dirty()):"cidr"===r.kind?se(e.data,r.version)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"cidr",code:E.invalid_string,message:r.message}),t.dirty()):"base64"===r.kind?Q.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"base64",code:E.invalid_string,message:r.message}),t.dirty()):"base64url"===r.kind?J.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"base64url",code:E.invalid_string,message:r.message}),t.dirty()):v.assertNever(r);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:E.invalid_string,...I.errToObj(n)})}_addCheck(e){return new ce({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...I.errToObj(e)})}url(e){return this._addCheck({kind:"url",...I.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...I.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...I.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...I.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...I.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...I.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...I.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...I.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...I.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...I.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...I.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...I.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,...I.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,...I.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...I.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...I.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...I.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...I.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...I.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...I.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...I.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...I.errToObj(t)})}nonempty(e){return this.min(1,I.errToObj(e))}trim(){return new ce({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ce({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ce({...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(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function ue(e,t){const 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}ce.create=e=>new ce({checks:[],typeName:We.ZodString,coerce:e?.coerce??!1,...L(e)});class le extends B{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)!==y.number){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.number,received:t.parsedType}),k}let t;const n=new T;for(const r of this._def.checks)"int"===r.kind?v.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),S(t,{code:E.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),S(t,{code:E.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),S(t,{code:E.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==ue(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:E.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),S(t,{code:E.not_finite,message:r.message}),n.dirty()):v.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,I.toString(t))}gt(e,t){return this.setLimit("min",e,!1,I.toString(t))}lte(e,t){return this.setLimit("max",e,!0,I.toString(t))}lt(e,t){return this.setLimit("max",e,!1,I.toString(t))}setLimit(e,t,n,r){return new le({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:I.toString(r)}]})}_addCheck(e){return new le({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:I.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:I.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:I.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:I.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:I.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:I.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:I.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:I.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:I.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const 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&&v.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const 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)}}le.create=e=>new le({checks:[],typeName:We.ZodNumber,coerce:e?.coerce||!1,...L(e)});class pe extends B{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)!==y.bigint)return this._getInvalidInput(e);let t;const n=new T;for(const r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:E.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),S(t,{code:E.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),S(t,{code:E.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):v.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.bigint,received:t.parsedType}),k}gte(e,t){return this.setLimit("min",e,!0,I.toString(t))}gt(e,t){return this.setLimit("min",e,!1,I.toString(t))}lte(e,t){return this.setLimit("max",e,!0,I.toString(t))}lt(e,t){return this.setLimit("max",e,!1,I.toString(t))}setLimit(e,t,n,r){return new pe({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:I.toString(r)}]})}_addCheck(e){return new pe({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:I.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:I.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:I.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:I.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:I.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const 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:We.ZodBigInt,coerce:e?.coerce??!1,...L(e)});class de extends B{_parse(e){if(this._def.coerce&&(e.data=Boolean(e.data)),this._getType(e)!==y.boolean){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.boolean,received:t.parsedType}),k}return C(e.data)}}de.create=e=>new de({typeName:We.ZodBoolean,coerce:e?.coerce||!1,...L(e)});class me extends B{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==y.date){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.date,received:t.parsedType}),k}if(Number.isNaN(e.data.getTime()))return S(this._getOrReturnCtx(e),{code:E.invalid_date}),k;const t=new T;let n;for(const r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:E.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),t.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:E.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),t.dirty()):v.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new me({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:I.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:I.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}me.create=e=>new me({checks:[],coerce:e?.coerce||!1,typeName:We.ZodDate,...L(e)});class fe extends B{_parse(e){if(this._getType(e)!==y.symbol){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.symbol,received:t.parsedType}),k}return C(e.data)}}fe.create=e=>new fe({typeName:We.ZodSymbol,...L(e)});class he extends B{_parse(e){if(this._getType(e)!==y.undefined){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.undefined,received:t.parsedType}),k}return C(e.data)}}he.create=e=>new he({typeName:We.ZodUndefined,...L(e)});class ge extends B{_parse(e){if(this._getType(e)!==y.null){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.null,received:t.parsedType}),k}return C(e.data)}}ge.create=e=>new ge({typeName:We.ZodNull,...L(e)});class ve extends B{constructor(){super(...arguments),this._any=!0}_parse(e){return C(e.data)}}ve.create=e=>new ve({typeName:We.ZodAny,...L(e)});class _e extends B{constructor(){super(...arguments),this._unknown=!0}_parse(e){return C(e.data)}}_e.create=e=>new _e({typeName:We.ZodUnknown,...L(e)});class ye extends B{_parse(e){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.never,received:t.parsedType}),k}}ye.create=e=>new ye({typeName:We.ZodNever,...L(e)});class be extends B{_parse(e){if(this._getType(e)!==y.undefined){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.void,received:t.parsedType}),k}return C(e.data)}}be.create=e=>new be({typeName:We.ZodVoid,...L(e)});class Ee extends B{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==y.array)return S(t,{code:E.invalid_type,expected:y.array,received:t.parsedType}),k;if(null!==r.exactLength){const e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&(S(t,{code:e?E.too_big:E.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&&(S(t,{code:E.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&&(S(t,{code:E.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 M(t,e,t.path,n)))).then(e=>T.mergeArray(n,e));const i=[...t.data].map((e,n)=>r.type._parseSync(new M(t,e,t.path,n)));return T.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new Ee({...this._def,minLength:{value:e,message:I.toString(t)}})}max(e,t){return new Ee({...this._def,maxLength:{value:e,message:I.toString(t)}})}length(e,t){return new Ee({...this._def,exactLength:{value:e,message:I.toString(t)}})}nonempty(e){return this.min(1,e)}}function xe(e){if(e instanceof we){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Ge.create(xe(r))}return new we({...e._def,shape:()=>t})}return e instanceof Ee?new Ee({...e._def,type:xe(e.element)}):e instanceof Ge?Ge.create(xe(e.unwrap())):e instanceof ze?ze.create(xe(e.unwrap())):e instanceof Ce?Ce.create(e.items.map(e=>xe(e))):e}Ee.create=(e,t)=>new Ee({type:e,minLength:null,maxLength:null,exactLength:null,typeName:We.ZodArray,...L(t)});class we extends B{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=v.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==y.object){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.object,received:t.parsedType}),k}const{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),o=[];if(!(this._def.catchall instanceof ye&&"strip"===this._def.unknownKeys))for(const e in n.data)i.includes(e)||o.push(e);const a=[];for(const e of i){const t=r[e],i=n.data[e];a.push({key:{status:"valid",value:e},value:t._parse(new M(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof ye){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of o)a.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)o.length>0&&(S(n,{code:E.unrecognized_keys,keys:o}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of o){const r=n.data[t];a.push({key:{status:"valid",value:t},value:e._parse(new M(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{const e=[];for(const t of a){const n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>T.mergeObjectSync(t,e)):T.mergeObjectSync(t,a)}get shape(){return this._def.shape()}strict(e){return I.errToObj,new we({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{const r=this._def.errorMap?.(t,n).message??n.defaultError;return"unrecognized_keys"===t.code?{message:I.errToObj(e).message??r}:{message:r}}}:{}})}strip(){return new we({...this._def,unknownKeys:"strip"})}passthrough(){return new we({...this._def,unknownKeys:"passthrough"})}extend(e){return new we({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new we({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:We.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new we({...this._def,catchall:e})}pick(e){const t={};for(const n of v.objectKeys(e))e[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new we({...this._def,shape:()=>t})}omit(e){const t={};for(const n of v.objectKeys(this.shape))e[n]||(t[n]=this.shape[n]);return new we({...this._def,shape:()=>t})}deepPartial(){return xe(this)}partial(e){const t={};for(const n of v.objectKeys(this.shape)){const r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}return new we({...this._def,shape:()=>t})}required(e){const t={};for(const n of v.objectKeys(this.shape))if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof Ge;)e=e._def.innerType;t[n]=e}return new we({...this._def,shape:()=>t})}keyof(){return Me(v.objectKeys(this.shape))}}we.create=(e,t)=>new we({shape:()=>e,unknownKeys:"strip",catchall:ye.create(),typeName:We.ZodObject,...L(t)}),we.strictCreate=(e,t)=>new we({shape:()=>e,unknownKeys:"strict",catchall:ye.create(),typeName:We.ZodObject,...L(t)}),we.lazycreate=(e,t)=>new we({shape:e,unknownKeys:"strip",catchall:ye.create(),typeName:We.ZodObject,...L(t)});class Ae extends B{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{const 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(const t of e)if("valid"===t.result.status)return t.result;for(const n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;const n=e.map(e=>new x(e.ctx.common.issues));return S(t,{code:E.invalid_union,unionErrors:n}),k});{let e;const r=[];for(const i of n){const 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;const i=r.map(e=>new x(e));return S(t,{code:E.invalid_union,unionErrors:i}),k}}get options(){return this._def.options}}Ae.create=(e,t)=>new Ae({options:e,typeName:We.ZodUnion,...L(t)});const Se=e=>e instanceof Fe?Se(e.schema):e instanceof Ue?Se(e.innerType()):e instanceof Ie?[e.value]:e instanceof Ne?e.options:e instanceof Le?v.objectValues(e.enum):e instanceof Ve?Se(e._def.innerType):e instanceof he?[void 0]:e instanceof ge?[null]:e instanceof Ge?[void 0,...Se(e.unwrap())]:e instanceof ze?[null,...Se(e.unwrap())]:e instanceof He||e instanceof $e?Se(e.unwrap()):e instanceof je?Se(e._def.innerType):[];class Te extends B{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==y.object)return S(t,{code:E.invalid_type,expected:y.object,received:t.parsedType}),k;const 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}):(S(t,{code:E.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),k)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){const r=new Map;for(const n of t){const t=Se(n.shape[e]);if(!t.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const i of t){if(r.has(i))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);r.set(i,n)}}return new Te({typeName:We.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...L(n)})}}function ke(e,t){const n=b(e),r=b(t);if(e===t)return{valid:!0,data:e};if(n===y.object&&r===y.object){const n=v.objectKeys(t),r=v.objectKeys(e).filter(e=>-1!==n.indexOf(e)),i={...e,...t};for(const n of r){const r=ke(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}if(n===y.array&&r===y.array){if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r<e.length;r++){const i=ke(e[r],t[r]);if(!i.valid)return{valid:!1};n.push(i.data)}return{valid:!0,data:n}}return n===y.date&&r===y.date&&+e===+t?{valid:!0,data:e}:{valid:!1}}class Re extends B{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(O(e)||O(r))return k;const i=ke(e.value,r.value);return i.valid?((D(e)||D(r))&&t.dirty(),{status:t.value,value:i.data}):(S(n,{code:E.invalid_intersection_types}),k)};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}))}}Re.create=(e,t,n)=>new Re({left:e,right:t,typeName:We.ZodIntersection,...L(n)});class Ce extends B{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==y.array)return S(n,{code:E.invalid_type,expected:y.array,received:n.parsedType}),k;if(n.data.length<this._def.items.length)return S(n,{code:E.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),k;!this._def.rest&&n.data.length>this._def.items.length&&(S(n,{code:E.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const r=[...n.data].map((e,t)=>{const r=this._def.items[t]||this._def.rest;return r?r._parse(new M(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>T.mergeArray(t,e)):T.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new Ce({...this._def,rest:e})}}Ce.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Ce({items:e,typeName:We.ZodTuple,rest:null,...L(t)})};class Oe extends B{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==y.object)return S(n,{code:E.invalid_type,expected:y.object,received:n.parsedType}),k;const r=[],i=this._def.keyType,o=this._def.valueType;for(const e in n.data)r.push({key:i._parse(new M(n,e,n.path,e)),value:o._parse(new M(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?T.mergeObjectAsync(t,r):T.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new Oe(t instanceof B?{keyType:e,valueType:t,typeName:We.ZodRecord,...L(n)}:{keyType:ce.create(),valueType:e,typeName:We.ZodRecord,...L(t)})}}class De extends B{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==y.map)return S(n,{code:E.invalid_type,expected:y.map,received:n.parsedType}),k;const r=this._def.keyType,i=this._def.valueType,o=[...n.data.entries()].map(([e,t],o)=>({key:r._parse(new M(n,e,n.path,[o,"key"])),value:i._parse(new M(n,t,n.path,[o,"value"]))}));if(n.common.async){const e=new Map;return Promise.resolve().then(async()=>{for(const n of o){const r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return k;"dirty"!==r.status&&"dirty"!==i.status||t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{const e=new Map;for(const n of o){const r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return k;"dirty"!==r.status&&"dirty"!==i.status||t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}De.create=(e,t,n)=>new De({valueType:t,keyType:e,typeName:We.ZodMap,...L(n)});class Pe extends B{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==y.set)return S(n,{code:E.invalid_type,expected:y.set,received:n.parsedType}),k;const r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(S(n,{code:E.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&&(S(n,{code:E.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());const i=this._def.valueType;function o(e){const n=new Set;for(const r of e){if("aborted"===r.status)return k;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}const a=[...n.data.values()].map((e,t)=>i._parse(new M(n,e,n.path,t)));return n.common.async?Promise.all(a).then(e=>o(e)):o(a)}min(e,t){return new Pe({...this._def,minSize:{value:e,message:I.toString(t)}})}max(e,t){return new Pe({...this._def,maxSize:{value:e,message:I.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}Pe.create=(e,t)=>new Pe({valueType:e,minSize:null,maxSize:null,typeName:We.ZodSet,...L(t)});class Fe extends B{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}Fe.create=(e,t)=>new Fe({getter:e,typeName:We.ZodLazy,...L(t)});class Ie extends B{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return S(t,{received:t.data,code:E.invalid_literal,expected:this._def.value}),k}return{status:"valid",value:e.data}}get value(){return this._def.value}}function Me(e,t){return new Ne({values:e,typeName:We.ZodEnum,...L(t)})}Ie.create=(e,t)=>new Ie({value:e,typeName:We.ZodLiteral,...L(t)});class Ne extends B{_parse(e){if("string"!=typeof e.data){const t=this._getOrReturnCtx(e),n=this._def.values;return S(t,{expected:v.joinValues(n),received:t.parsedType,code:E.invalid_type}),k}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return S(t,{received:t.data,code:E.invalid_enum_value,options:n}),k}return C(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return Ne.create(e,{...this._def,...t})}exclude(e,t=this._def){return Ne.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}Ne.create=Me;class Le extends B{_parse(e){const t=v.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==y.string&&n.parsedType!==y.number){const e=v.objectValues(t);return S(n,{expected:v.joinValues(e),received:n.parsedType,code:E.invalid_type}),k}if(this._cache||(this._cache=new Set(v.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const e=v.objectValues(t);return S(n,{received:n.data,code:E.invalid_enum_value,options:e}),k}return C(e.data)}get enum(){return this._def.values}}Le.create=(e,t)=>new Le({values:e,typeName:We.ZodNativeEnum,...L(t)});class Be extends B{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==y.promise&&!1===t.common.async)return S(t,{code:E.invalid_type,expected:y.promise,received:t.parsedType}),k;const n=t.parsedType===y.promise?t.data:Promise.resolve(t.data);return C(n.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}Be.create=(e,t)=>new Be({type:e,typeName:We.ZodPromise,...L(t)});class Ue extends B{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===We.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{S(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===r.type){const e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return k;const r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?k:"dirty"===r.status||"dirty"===t.value?R(r.value):r});{if("aborted"===t.value)return k;const r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?k:"dirty"===r.status||"dirty"===t.value?R(r.value):r}}if("refinement"===r.type){const e=e=>{const t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?k:("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?k:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if("transform"===r.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!P(e))return k;const o=r.transform(e.value,i);if(o instanceof Promise)throw new 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=>P(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):k)}v.assertNever(r)}}Ue.create=(e,t,n)=>new Ue({schema:e,typeName:We.ZodEffects,effect:t,...L(n)}),Ue.createWithPreprocess=(e,t,n)=>new Ue({schema:t,effect:{type:"preprocess",transform:e},typeName:We.ZodEffects,...L(n)});class Ge extends B{_parse(e){return this._getType(e)===y.undefined?C(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ge.create=(e,t)=>new Ge({innerType:e,typeName:We.ZodOptional,...L(t)});class ze extends B{_parse(e){return this._getType(e)===y.null?C(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ze.create=(e,t)=>new ze({innerType:e,typeName:We.ZodNullable,...L(t)});class Ve extends B{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===y.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Ve.create=(e,t)=>new Ve({innerType:e,typeName:We.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...L(t)});class je extends B{_parse(e){const{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 F(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new x(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new x(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}je.create=(e,t)=>new je({innerType:e,typeName:We.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...L(t)});class qe extends B{_parse(e){if(this._getType(e)!==y.nan){const t=this._getOrReturnCtx(e);return S(t,{code:E.invalid_type,expected:y.nan,received:t.parsedType}),k}return{status:"valid",value:e.data}}}qe.create=e=>new qe({typeName:We.ZodNaN,...L(e)});class He extends B{_parse(e){const{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}}class Ke extends B{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?k:"dirty"===e.status?(t.dirty(),R(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?k:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new Ke({in:e,out:t,typeName:We.ZodPipeline})}}class $e extends B{_parse(e){const t=this._def.innerType._parse(e),n=e=>(P(e)&&(e.value=Object.freeze(e.value)),e);return F(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}var We;$e.create=(e,t)=>new $e({innerType:e,typeName:We.ZodReadonly,...L(t)}),function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(We||(We={}));const Xe=ce.create,Ye=le.create,Ze=de.create,Qe=ge.create,Je=_e.create;ye.create;const et=Ee.create,tt=we.create,nt=Ae.create,rt=Te.create;Re.create,Ce.create;const it=Oe.create,ot=Ie.create,at=Ne.create;Be.create;const st=Ge.create;ze.create;const ct="2025-06-18",ut=[ct,"2025-03-26","2024-11-05","2024-10-07"],lt="2.0",pt=nt([Xe(),Ye().int()]),dt=Xe(),mt=tt({progressToken:st(pt)}).passthrough(),ft=tt({_meta:st(mt)}).passthrough(),ht=tt({method:Xe(),params:st(ft)}),gt=tt({_meta:st(tt({}).passthrough())}).passthrough(),vt=tt({method:Xe(),params:st(gt)}),_t=tt({_meta:st(tt({}).passthrough())}).passthrough(),yt=nt([Xe(),Ye().int()]),bt=tt({jsonrpc:ot(lt),id:yt}).merge(ht).strict(),Et=tt({jsonrpc:ot(lt)}).merge(vt).strict(),xt=tt({jsonrpc:ot(lt),id:yt,result:_t}).strict(),wt=e=>xt.safeParse(e).success;var At;!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"}(At||(At={}));const St=tt({jsonrpc:ot(lt),id:yt,error:tt({code:Ye().int(),message:Xe(),data:st(Je())})}).strict(),Tt=nt([bt,Et,xt,St]),kt=_t.strict(),Rt=vt.extend({method:ot("notifications/cancelled"),params:gt.extend({requestId:yt,reason:Xe().optional()})}),Ct=tt({name:Xe(),title:st(Xe())}).passthrough(),Ot=Ct.extend({version:Xe()}),Dt=tt({experimental:st(tt({}).passthrough()),sampling:st(tt({}).passthrough()),elicitation:st(tt({}).passthrough()),roots:st(tt({listChanged:st(Ze())}).passthrough())}).passthrough(),Pt=ht.extend({method:ot("initialize"),params:ft.extend({protocolVersion:Xe(),capabilities:Dt,clientInfo:Ot})}),Ft=tt({experimental:st(tt({}).passthrough()),logging:st(tt({}).passthrough()),completions:st(tt({}).passthrough()),prompts:st(tt({listChanged:st(Ze())}).passthrough()),resources:st(tt({subscribe:st(Ze()),listChanged:st(Ze())}).passthrough()),tools:st(tt({listChanged:st(Ze())}).passthrough())}).passthrough(),It=_t.extend({protocolVersion:Xe(),capabilities:Ft,serverInfo:Ot,instructions:st(Xe())}),Mt=vt.extend({method:ot("notifications/initialized")}),Nt=ht.extend({method:ot("ping")}),Lt=tt({progress:Ye(),total:st(Ye()),message:st(Xe())}).passthrough(),Bt=vt.extend({method:ot("notifications/progress"),params:gt.merge(Lt).extend({progressToken:pt})}),Ut=ht.extend({params:ft.extend({cursor:st(dt)}).optional()}),Gt=_t.extend({nextCursor:st(dt)}),zt=tt({uri:Xe(),mimeType:st(Xe()),_meta:st(tt({}).passthrough())}).passthrough(),Vt=zt.extend({text:Xe()}),jt=Xe().refine(e=>{try{return atob(e),!0}catch(e){return!1}},{message:"Invalid Base64 string"}),qt=zt.extend({blob:jt}),Ht=Ct.extend({uri:Xe(),description:st(Xe()),mimeType:st(Xe()),_meta:st(tt({}).passthrough())}),Kt=Ct.extend({uriTemplate:Xe(),description:st(Xe()),mimeType:st(Xe()),_meta:st(tt({}).passthrough())}),$t=Ut.extend({method:ot("resources/list")}),Wt=Gt.extend({resources:et(Ht)}),Xt=Ut.extend({method:ot("resources/templates/list")}),Yt=Gt.extend({resourceTemplates:et(Kt)}),Zt=ht.extend({method:ot("resources/read"),params:ft.extend({uri:Xe()})}),Qt=_t.extend({contents:et(nt([Vt,qt]))}),Jt=vt.extend({method:ot("notifications/resources/list_changed")}),en=ht.extend({method:ot("resources/subscribe"),params:ft.extend({uri:Xe()})}),tn=ht.extend({method:ot("resources/unsubscribe"),params:ft.extend({uri:Xe()})}),nn=vt.extend({method:ot("notifications/resources/updated"),params:gt.extend({uri:Xe()})}),rn=tt({name:Xe(),description:st(Xe()),required:st(Ze())}).passthrough(),on=Ct.extend({description:st(Xe()),arguments:st(et(rn)),_meta:st(tt({}).passthrough())}),an=Ut.extend({method:ot("prompts/list")}),sn=Gt.extend({prompts:et(on)}),cn=ht.extend({method:ot("prompts/get"),params:ft.extend({name:Xe(),arguments:st(it(Xe()))})}),un=tt({type:ot("text"),text:Xe(),_meta:st(tt({}).passthrough())}).passthrough(),ln=tt({type:ot("image"),data:jt,mimeType:Xe(),_meta:st(tt({}).passthrough())}).passthrough(),pn=tt({type:ot("audio"),data:jt,mimeType:Xe(),_meta:st(tt({}).passthrough())}).passthrough(),dn=tt({type:ot("resource"),resource:nt([Vt,qt]),_meta:st(tt({}).passthrough())}).passthrough(),mn=nt([un,ln,pn,Ht.extend({type:ot("resource_link")}),dn]),fn=tt({role:at(["user","assistant"]),content:mn}).passthrough(),hn=_t.extend({description:st(Xe()),messages:et(fn)}),gn=vt.extend({method:ot("notifications/prompts/list_changed")}),vn=tt({title:st(Xe()),readOnlyHint:st(Ze()),destructiveHint:st(Ze()),idempotentHint:st(Ze()),openWorldHint:st(Ze())}).passthrough(),_n=Ct.extend({description:st(Xe()),inputSchema:tt({type:ot("object"),properties:st(tt({}).passthrough()),required:st(et(Xe()))}).passthrough(),outputSchema:st(tt({type:ot("object"),properties:st(tt({}).passthrough()),required:st(et(Xe()))}).passthrough()),annotations:st(vn),_meta:st(tt({}).passthrough())}),yn=Ut.extend({method:ot("tools/list")}),bn=Gt.extend({tools:et(_n)}),En=_t.extend({content:et(mn).default([]),structuredContent:tt({}).passthrough().optional(),isError:st(Ze())});En.or(_t.extend({toolResult:Je()}));const xn=ht.extend({method:ot("tools/call"),params:ft.extend({name:Xe(),arguments:st(it(Je()))})}),wn=vt.extend({method:ot("notifications/tools/list_changed")}),An=at(["debug","info","notice","warning","error","critical","alert","emergency"]),Sn=ht.extend({method:ot("logging/setLevel"),params:ft.extend({level:An})}),Tn=vt.extend({method:ot("notifications/message"),params:gt.extend({level:An,logger:st(Xe()),data:Je()})}),kn=tt({name:Xe().optional()}).passthrough(),Rn=tt({hints:st(et(kn)),costPriority:st(Ye().min(0).max(1)),speedPriority:st(Ye().min(0).max(1)),intelligencePriority:st(Ye().min(0).max(1))}).passthrough(),Cn=tt({role:at(["user","assistant"]),content:nt([un,ln,pn])}).passthrough(),On=ht.extend({method:ot("sampling/createMessage"),params:ft.extend({messages:et(Cn),systemPrompt:st(Xe()),includeContext:st(at(["none","thisServer","allServers"])),temperature:st(Ye()),maxTokens:Ye().int(),stopSequences:st(et(Xe())),metadata:st(tt({}).passthrough()),modelPreferences:st(Rn)})}),Dn=_t.extend({model:Xe(),stopReason:st(at(["endTurn","stopSequence","maxTokens"]).or(Xe())),role:at(["user","assistant"]),content:rt("type",[un,ln,pn])}),Pn=nt([tt({type:ot("boolean"),title:st(Xe()),description:st(Xe()),default:st(Ze())}).passthrough(),tt({type:ot("string"),title:st(Xe()),description:st(Xe()),minLength:st(Ye()),maxLength:st(Ye()),format:st(at(["email","uri","date","date-time"]))}).passthrough(),tt({type:at(["number","integer"]),title:st(Xe()),description:st(Xe()),minimum:st(Ye()),maximum:st(Ye())}).passthrough(),tt({type:ot("string"),title:st(Xe()),description:st(Xe()),enum:et(Xe()),enumNames:st(et(Xe()))}).passthrough()]),Fn=ht.extend({method:ot("elicitation/create"),params:ft.extend({message:Xe(),requestedSchema:tt({type:ot("object"),properties:it(Xe(),Pn),required:st(et(Xe()))}).passthrough()})}),In=_t.extend({action:at(["accept","decline","cancel"]),content:st(it(Xe(),Je()))}),Mn=tt({type:ot("ref/resource"),uri:Xe()}).passthrough(),Nn=tt({type:ot("ref/prompt"),name:Xe()}).passthrough(),Ln=ht.extend({method:ot("completion/complete"),params:ft.extend({ref:nt([Nn,Mn]),argument:tt({name:Xe(),value:Xe()}).passthrough(),context:st(tt({arguments:st(it(Xe(),Xe()))}))})}),Bn=_t.extend({completion:tt({values:et(Xe()).max(100),total:st(Ye().int()),hasMore:st(Ze())}).passthrough()}),Un=tt({uri:Xe().startsWith("file://"),name:st(Xe()),_meta:st(tt({}).passthrough())}).passthrough(),Gn=ht.extend({method:ot("roots/list")}),zn=_t.extend({roots:et(Un)}),Vn=vt.extend({method:ot("notifications/roots/list_changed")});nt([Nt,Pt,Ln,Sn,cn,an,$t,Xt,Zt,en,tn,xn,yn]),nt([Rt,Bt,Mt,Vn]),nt([kt,Dn,In,zn]),nt([Nt,On,Fn,Gn]),nt([Rt,Bt,Tn,nn,Jt,wn,gn]),nt([kt,It,Bn,hn,sn,Wt,Yt,Qt,En,bn]);class jn extends Error{constructor(e,t,n){super(`MCP error ${e}: ${t}`),this.code=e,this.data=n,this.name="McpError"}}class qn{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.setNotificationHandler(Rt,e=>{const t=this._requestHandlerAbortControllers.get(e.params.requestId);null==t||t.abort(e.params.reason)}),this.setNotificationHandler(Bt,e=>{this._onprogress(e)}),this.setRequestHandler(Nt,e=>({}))}_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){const t=this._timeoutInfo.get(e);if(!t)return!1;const n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),new jn(At.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){const t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){var t,n,r;this._transport=e;const i=null===(t=this.transport)||void 0===t?void 0:t.onclose;this._transport.onclose=()=>{null==i||i(),this._onclose()};const o=null===(n=this.transport)||void 0===n?void 0:n.onerror;this._transport.onerror=e=>{null==o||o(e),this._onerror(e)};const a=null===(r=this._transport)||void 0===r?void 0:r.onmessage;this._transport.onmessage=(e,t)=>{var n;null==a||a(e,t),wt(e)||(n=e,St.safeParse(n).success)?this._onresponse(e):(e=>bt.safeParse(e).success)(e)?this._onrequest(e,t):(e=>Et.safeParse(e).success)(e)?this._onnotification(e):this._onerror(new Error(`Unknown message type: ${JSON.stringify(e)}`))},await this._transport.start()}_onclose(){var e;const t=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._pendingDebouncedNotifications.clear(),this._transport=void 0,null===(e=this.onclose)||void 0===e||e.call(this);const n=new jn(At.ConnectionClosed,"Connection closed");for(const e of t.values())e(n)}_onerror(e){var t;null===(t=this.onerror)||void 0===t||t.call(this,e)}_onnotification(e){var t;const n=null!==(t=this._notificationHandlers.get(e.method))&&void 0!==t?t:this.fallbackNotificationHandler;void 0!==n&&Promise.resolve().then(()=>n(e)).catch(e=>this._onerror(new Error(`Uncaught error in notification handler: ${e}`)))}_onrequest(e,t){var n,r;const i=null!==(n=this._requestHandlers.get(e.method))&&void 0!==n?n:this.fallbackRequestHandler,o=this._transport;if(void 0===i)return void(null==o||o.send({jsonrpc:"2.0",id:e.id,error:{code:At.MethodNotFound,message:"Method not found"}}).catch(e=>this._onerror(new Error(`Failed to send an error response: ${e}`))));const a=new AbortController;this._requestHandlerAbortControllers.set(e.id,a);const s={signal:a.signal,sessionId:null==o?void 0:o.sessionId,_meta:null===(r=e.params)||void 0===r?void 0:r._meta,sendNotification:t=>this.notification(t,{relatedRequestId:e.id}),sendRequest:(t,n,r)=>this.request(t,n,{...r,relatedRequestId:e.id}),authInfo:null==t?void 0:t.authInfo,requestId:e.id,requestInfo:null==t?void 0:t.requestInfo};Promise.resolve().then(()=>i(e,s)).then(t=>{if(!a.signal.aborted)return null==o?void 0:o.send({result:t,jsonrpc:"2.0",id:e.id})},t=>{var n;if(!a.signal.aborted)return null==o?void 0:o.send({jsonrpc:"2.0",id:e.id,error:{code:Number.isSafeInteger(t.code)?t.code:At.InternalError,message:null!==(n=t.message)&&void 0!==n?n:"Internal error"}})}).catch(e=>this._onerror(new Error(`Failed to send response: ${e}`))).finally(()=>{this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){const{progressToken:t,...n}=e.params,r=Number(t),i=this._progressHandlers.get(r);if(!i)return void this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));const o=this._responseHandlers.get(r),a=this._timeoutInfo.get(r);if(a&&o&&a.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(e){return void o(e)}i(n)}_onresponse(e){const t=Number(e.id),n=this._responseHandlers.get(t);void 0!==n?(this._responseHandlers.delete(t),this._progressHandlers.delete(t),this._cleanupTimeout(t),wt(e)?n(e):n(new jn(e.error.code,e.error.message,e.error.data))):this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`))}get transport(){return this._transport}async close(){var e;await(null===(e=this._transport)||void 0===e?void 0:e.close())}request(e,t,n){const{relatedRequestId:r,resumptionToken:i,onresumptiontoken:o}=null!=n?n:{};return new Promise((a,s)=>{var c,u,l,p,d,m;if(!this._transport)return void s(new Error("Not connected"));!0===(null===(c=this._options)||void 0===c?void 0:c.enforceStrictCapabilities)&&this.assertCapabilityForMethod(e.method),null===(u=null==n?void 0:n.signal)||void 0===u||u.throwIfAborted();const f=this._requestMessageId++,h={...e,jsonrpc:"2.0",id:f};(null==n?void 0:n.onprogress)&&(this._progressHandlers.set(f,n.onprogress),h.params={...e.params,_meta:{...(null===(l=e.params)||void 0===l?void 0:l._meta)||{},progressToken:f}});const g=e=>{var t;this._responseHandlers.delete(f),this._progressHandlers.delete(f),this._cleanupTimeout(f),null===(t=this._transport)||void 0===t||t.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:f,reason:String(e)}},{relatedRequestId:r,resumptionToken:i,onresumptiontoken:o}).catch(e=>this._onerror(new Error(`Failed to send cancellation: ${e}`))),s(e)};this._responseHandlers.set(f,e=>{var r;if(!(null===(r=null==n?void 0:n.signal)||void 0===r?void 0:r.aborted)){if(e instanceof Error)return s(e);try{const n=t.parse(e.result);a(n)}catch(e){s(e)}}}),null===(p=null==n?void 0:n.signal)||void 0===p||p.addEventListener("abort",()=>{var e;g(null===(e=null==n?void 0:n.signal)||void 0===e?void 0:e.reason)});const v=null!==(d=null==n?void 0:n.timeout)&&void 0!==d?d:6e4;this._setupTimeout(f,v,null==n?void 0:n.maxTotalTimeout,()=>g(new jn(At.RequestTimeout,"Request timed out",{timeout:v})),null!==(m=null==n?void 0:n.resetTimeoutOnProgress)&&void 0!==m&&m),this._transport.send(h,{relatedRequestId:r,resumptionToken:i,onresumptiontoken:o}).catch(e=>{this._cleanupTimeout(f),s(e)})})}async notification(e,t){var n,r;if(!this._transport)throw new Error("Not connected");if(this.assertNotificationCapability(e.method),(null!==(r=null===(n=this._options)||void 0===n?void 0:n.debouncedNotificationMethods)&&void 0!==r?r:[]).includes(e.method)&&!e.params&&!(null==t?void 0:t.relatedRequestId)){if(this._pendingDebouncedNotifications.has(e.method))return;return this._pendingDebouncedNotifications.add(e.method),void Promise.resolve().then(()=>{var n;if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;const r={...e,jsonrpc:"2.0"};null===(n=this._transport)||void 0===n||n.send(r,t).catch(e=>this._onerror(e))})}const i={...e,jsonrpc:"2.0"};await this._transport.send(i,t)}setRequestHandler(e,t){const n=e.shape.method.value;this.assertRequestHandlerCapability(n),this._requestHandlers.set(n,(n,r)=>Promise.resolve(t(e.parse(n),r)))}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t){this._notificationHandlers.set(e.shape.method.value,n=>Promise.resolve(t(e.parse(n))))}removeNotificationHandler(e){this._notificationHandlers.delete(e)}}var Hn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Kn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $n,Wn,Xn,Yn,Zn,Qn,Jn,er,tr,nr={exports:{}};function rr(){return $n||($n=1,function(e){function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,i=1;i<r;++i)t[i]=t[i].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function i(e){return e.toUpperCase()}function o(e){var r="[A-Za-z]",i="[0-9]",o=t(i,"[A-Fa-f]"),a=n(n("%[EFef]"+o+"%"+o+o+"%"+o+o)+"|"+n("%[89A-Fa-f]"+o+"%"+o+o)+"|"+n("%"+o+o)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",c=t("[\\:\\/\\?\\#\\[\\]\\@]",s),u=e?"[\\uE000-\\uF8FF]":"[]",l=t(r,i,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]");n(r+t(r,i,"[\\+\\-\\.]")+"*"),n(n(a+"|"+t(l,s,"[\\:]"))+"*");var p=n(n("25[0-5]")+"|"+n("2[0-4]"+i)+"|"+n("1"+i+i)+"|"+n("0?[1-9]"+i)+"|0?0?"+i),d=n(p+"\\."+p+"\\."+p+"\\."+p),m=n(o+"{1,4}"),f=n(n(m+"\\:"+m)+"|"+d),h=n(n(m+"\\:")+"{6}"+f),g=n("\\:\\:"+n(m+"\\:")+"{5}"+f),v=n(n(m)+"?\\:\\:"+n(m+"\\:")+"{4}"+f),_=n(n(n(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+n(m+"\\:")+"{3}"+f),y=n(n(n(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+n(m+"\\:")+"{2}"+f),b=n(n(n(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+f),E=n(n(n(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+f),x=n(n(n(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),w=n(n(n(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),A=n([h,g,v,_,y,b,E,x,w].join("|")),S=n(n(l+"|"+a)+"+");n("[vV]"+o+"+\\."+t(l,s,"[\\:]")+"+"),n(n(a+"|"+t(l,s))+"*");var T=n(a+"|"+t(l,s,"[\\:\\@]"));return n(n(a+"|"+t(l,s,"[\\@]"))+"+"),n(n(T+"|"+t("[\\/\\?]",u))+"*"),{NOT_SCHEME:new RegExp(t("[^]",r,i,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]",u),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,s),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,c),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+A+")"+n(n("\\%25|\\%(?!"+o+"{2})")+"("+S+")")+"?\\]?$")}}var a=o(!1),s=o(!0),c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},u=2147483647,l=36,p=/^xn--/,d=/[^\0-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,g=String.fromCharCode;function v(e){throw new RangeError(f[e])}function _(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(m,".")).split("."),t).join(".")}function y(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}var b=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:l},E=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},x=function(e,t,n){var r=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;r+=l)e=h(e/35);return h(r+36*e/(e+38))},w=function(e){var t=[],n=e.length,r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&v("not-basic"),t.push(e.charCodeAt(s));for(var c=a>0?a+1:0;c<n;){for(var p=r,d=1,m=l;;m+=l){c>=n&&v("invalid-input");var f=b(e.charCodeAt(c++));(f>=l||f>h((u-r)/d))&&v("overflow"),r+=f*d;var g=m<=o?1:m>=o+26?26:m-o;if(f<g)break;var _=l-g;d>h(u/_)&&v("overflow"),d*=_}var y=t.length+1;o=x(r-p,y,0==p),h(r/y)>u-i&&v("overflow"),i+=h(r/y),r%=y,t.splice(r++,0,i)}return String.fromCodePoint.apply(String,t)},A=function(e){var t=[],n=(e=y(e)).length,r=128,i=0,o=72,a=!0,s=!1,c=void 0;try{for(var p,d=e[Symbol.iterator]();!(a=(p=d.next()).done);a=!0){var m=p.value;m<128&&t.push(g(m))}}catch(e){s=!0,c=e}finally{try{!a&&d.return&&d.return()}finally{if(s)throw c}}var f=t.length,_=f;for(f&&t.push("-");_<n;){var b=u,w=!0,A=!1,S=void 0;try{for(var T,k=e[Symbol.iterator]();!(w=(T=k.next()).done);w=!0){var R=T.value;R>=r&&R<b&&(b=R)}}catch(e){A=!0,S=e}finally{try{!w&&k.return&&k.return()}finally{if(A)throw S}}var C=_+1;b-r>h((u-i)/C)&&v("overflow"),i+=(b-r)*C,r=b;var O=!0,D=!1,P=void 0;try{for(var F,I=e[Symbol.iterator]();!(O=(F=I.next()).done);O=!0){var M=F.value;if(M<r&&++i>u&&v("overflow"),M==r){for(var N=i,L=l;;L+=l){var B=L<=o?1:L>=o+26?26:L-o;if(N<B)break;var U=N-B,G=l-B;t.push(g(E(B+U%G,0))),N=h(U/G)}t.push(g(E(N,0))),o=x(i,C,_==f),i=0,++_}}}catch(e){D=!0,P=e}finally{try{!O&&I.return&&I.return()}finally{if(D)throw P}}++i,++r}return t.join("")},S=function(e){return _(e,function(e){return d.test(e)?"xn--"+A(e):e})},T=function(e){return _(e,function(e){return p.test(e)?w(e.slice(4).toLowerCase()):e})},k={};function R(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function C(e){for(var t="",n=0,r=e.length;n<r;){var i=parseInt(e.substr(n+1,2),16);if(i<128)t+=String.fromCharCode(i),n+=3;else if(i>=194&&i<224){if(r-n>=6){var o=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&i)<<6|63&o)}else t+=e.substr(n,6);n+=6}else if(i>=224){if(r-n>=9){var a=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function O(e,t){function n(e){var n=C(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,R).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,R).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,R).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,R).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,R).replace(t.PCT_ENCODED,i)),e}function D(e){return e.replace(/^0*(.*)/,"$1")||"0"}function P(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=c(n,2)[1];return r?r.split(".").map(D).join("."):e}function F(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=c(n,3),i=r[1],o=r[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),s=c(a,2),u=s[0],l=s[1],p=l?l.split(":").map(D):[],d=u.split(":").map(D),m=t.IPV4ADDRESS.test(d[d.length-1]),f=m?7:8,h=d.length-f,g=Array(f),v=0;v<f;++v)g[v]=p[v]||d[h+v]||"";m&&(g[f-1]=P(g[f-1],t));var _=g.reduce(function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e},[]).sort(function(e,t){return t.length-e.length})[0],y=void 0;if(_&&_.length>1){var b=g.slice(0,_.index),E=g.slice(_.index+_.length);y=b.join(":")+"::"+E.join(":")}else y=g.join(":");return o&&(y+="%"+o),y}return e}var I=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,M=void 0==="".match(/(){0}/)[1];function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?s:a;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(I);if(i){M?(n.scheme=i[1],n.userinfo=i[3],n.host=i[4],n.port=parseInt(i[5],10),n.path=i[6]||"",n.query=i[7],n.fragment=i[8],isNaN(n.port)&&(n.port=i[5])):(n.scheme=i[1]||void 0,n.userinfo=-1!==e.indexOf("@")?i[3]:void 0,n.host=-1!==e.indexOf("//")?i[4]:void 0,n.port=parseInt(i[5],10),n.path=i[6]||"",n.query=-1!==e.indexOf("?")?i[7]:void 0,n.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),n.host&&(n.host=F(P(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var o=k[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)O(n,r);else{if(n.host&&(t.domainHost||o&&o.domainHost))try{n.host=S(n.host.replace(r.PCT_ENCODED,C).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}O(n,a)}o&&o.parse&&o.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}var L=/^\.\.?\//,B=/^\/\.(\/|$)/,U=/^\/\.\.(\/|$)/,G=/^\/?(?:.|\n)*?(?=\/|$)/;function z(e){for(var t=[];e.length;)if(e.match(L))e=e.replace(L,"");else if(e.match(B))e=e.replace(B,"/");else if(e.match(U))e=e.replace(U,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(G);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function V(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?s:a,r=[],i=k[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?T(e.host):S(e.host.replace(n.PCT_ENCODED,C).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}O(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var o=function(e,t){var n=!1!==t.iri?s:a,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(F(P(String(e.host),n),n).replace(n.IPV6ADDRESS,function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"})),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}(e,t);if(void 0!==o&&("suffix"!==t.reference&&r.push("//"),r.push(o),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var c=e.path;t.absolutePath||i&&i.absolutePath||(c=z(c)),void 0===o&&(c=c.replace(/^\/\//,"/%2F")),r.push(c)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function j(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=N(V(e,n),n),t=N(V(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=z(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=z(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=z(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=z(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function q(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:a.PCT_ENCODED,C)}var H={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},K={scheme:"https",domainHost:H.domainHost,parse:H.parse,serialize:H.serialize};function $(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var W={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=$(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==($(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){var n=e.resourceName.split("?"),r=c(n,2),i=r[0],o=r[1];e.path=i&&"/"!==i?i:void 0,e.query=o,e.resourceName=void 0}return e.fragment=void 0,e}},X={scheme:"wss",domainHost:W.domainHost,parse:W.parse,serialize:W.serialize},Y={},Z="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Q="[0-9A-Fa-f]",J=n(n("%[EFef]"+Q+"%"+Q+Q+"%"+Q+Q)+"|"+n("%[89A-Fa-f]"+Q+"%"+Q+Q)+"|"+n("%"+Q+Q)),ee=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),te=new RegExp(Z,"g"),ne=new RegExp(J,"g"),re=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',ee),"g"),ie=new RegExp(t("[^]",Z,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),oe=ie;function ae(e){var t=C(e);return t.match(te)?t:e}var se={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var i=!1,o={},a=n.query.split("&"),s=0,c=a.length;s<c;++s){var u=a[s].split("=");switch(u[0]){case"to":for(var l=u[1].split(","),p=0,d=l.length;p<d;++p)r.push(l[p]);break;case"subject":n.subject=q(u[1],t);break;case"body":n.body=q(u[1],t);break;default:i=!0,o[q(u[0],t)]=q(u[1],t)}}i&&(n.headers=o)}n.query=void 0;for(var m=0,f=r.length;m<f;++m){var h=r[m].split("@");if(h[0]=q(h[0]),t.unicodeSupport)h[1]=q(h[1],t).toLowerCase();else try{h[1]=S(q(h[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}r[m]=h.join("@")}return n},serialize:function(e,t){var n,r=e,o=null!=(n=e.to)?n instanceof Array?n:"number"!=typeof n.length||n.split||n.setInterval||n.call?[n]:Array.prototype.slice.call(n):[];if(o){for(var a=0,s=o.length;a<s;++a){var c=String(o[a]),u=c.lastIndexOf("@"),l=c.slice(0,u).replace(ne,ae).replace(ne,i).replace(re,R),p=c.slice(u+1);try{p=t.iri?T(p):S(q(p,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}o[a]=l+"@"+p}r.path=o.join(",")}var d=e.headers=e.headers||{};e.subject&&(d.subject=e.subject),e.body&&(d.body=e.body);var m=[];for(var f in d)d[f]!==Y[f]&&m.push(f.replace(ne,ae).replace(ne,i).replace(ie,R)+"="+d[f].replace(ne,ae).replace(ne,i).replace(oe,R));return m.length&&(r.query=m.join("&")),r}},ce=/^([^\:]+)\:(.*)/,ue={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(ce),r=e;if(n){var i=t.scheme||r.scheme||"urn",o=n[1].toLowerCase(),a=n[2],s=i+":"+(t.nid||o),c=k[s];r.nid=o,r.nss=a,r.path=void 0,c&&(r=c.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,i=n+":"+(t.nid||r),o=k[i];o&&(e=o.serialize(e,t));var a=e,s=e.nss;return a.path=(r||t.nid)+":"+s,a}},le=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,pe={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(le)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};k[H.scheme]=H,k[K.scheme]=K,k[W.scheme]=W,k[X.scheme]=X,k[se.scheme]=se,k[ue.scheme]=ue,k[pe.scheme]=pe,e.SCHEMES=k,e.pctEncChar=R,e.pctDecChars=C,e.parse=N,e.removeDotSegments=z,e.serialize=V,e.resolveComponents=j,e.resolve=function(e,t,n){var r=function(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}({scheme:"null"},n);return V(j(N(e,r),N(t,r),r,!0),r)},e.normalize=function(e,t){return"string"==typeof e?e=V(N(e,t),t):"object"===r(e)&&(e=N(V(e,t),t)),e},e.equal=function(e,t,n){return"string"==typeof e?e=V(N(e,n),n):"object"===r(e)&&(e=V(e,n)),"string"==typeof t?t=V(N(t,n),n):"object"===r(t)&&(t=V(t,n)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?s.ESCAPE:a.ESCAPE,R)},e.unescapeComponent=q,Object.defineProperty(e,"__esModule",{value:!0})}(nr.exports)),nr.exports}function ir(){return Xn?Wn:(Xn=1,Wn=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})}function or(){if(Jn)return Qn;function e(e,t,n,r){var i=r?" !== ":" === ",o=r?" || ":" && ",a=r?"!":"",s=r?"":"!";switch(e){case"null":return t+i+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+o+"typeof "+t+i+'"object"'+o+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+i+'"number"'+o+s+"("+t+" % 1)"+o+t+i+t+(n?o+a+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+i+'"'+e+'"'+(n?o+a+"isFinite("+t+")":"")+")";default:return"typeof "+t+i+'"'+e+'"'}}Jn=1,Qn={copy:function(e,t){for(var n in t=t||{},e)t[n]=e[n];return t},checkDataType:e,checkDataTypes:function(t,r,i){if(1===t.length)return e(t[0],r,i,!0);var o="",a=n(t);for(var s in a.array&&a.object&&(o=a.null?"(":"(!"+r+" || ",o+="typeof "+r+' !== "object")',delete a.null,delete a.array,delete a.object),a.number&&delete a.integer,a)o+=(o?" && ":"")+e(s,r,i,!0);return o},coerceToTypes:function(e,n){if(Array.isArray(n)){for(var r=[],i=0;i<n.length;i++){var o=n[i];(t[o]||"array"===e&&"array"===o)&&(r[r.length]=o)}if(r.length)return r}else{if(t[n])return[n];if("array"===e&&"array"===n)return["array"]}},toHash:n,getProperty:o,escapeQuotes:a,equal:ir(),ucs2length:Zn?Yn:(Zn=1,Yn=function(e){for(var t,n=0,r=e.length,i=0;i<r;)n++,(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<r&&56320==(64512&(t=e.charCodeAt(i)))&&i++;return n}),varOccurences:function(e,t){t+="[^0-9]";var n=e.match(new RegExp(t,"g"));return n?n.length:0},varReplace:function(e,t,n){return t+="([^0-9])",n=n.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),n+"$1")},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var n in e)if(t[n])return!0},schemaHasRulesExcept:function(e,t,n){if("boolean"==typeof e)return!e&&"not"!=n;for(var r in e)if(r!=n&&t[r])return!0},schemaUnknownRules:function(e,t){if("boolean"!=typeof e)for(var n in e)if(!t[n])return n},toQuotedString:s,getPathExpr:function(e,t,n,r){return l(e,n?"'/' + "+t+(r?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):r?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,n){return l(e,s(n?"/"+p(t):o(t)))},getData:function(e,t,n){var r,i,a,s;if(""===e)return"rootData";if("/"==e[0]){if(!c.test(e))throw new Error("Invalid JSON-pointer: "+e);i=e,a="rootData"}else{if(!(s=e.match(u)))throw new Error("Invalid JSON-pointer: "+e);if(r=+s[1],"#"==(i=s[2])){if(r>=t)throw new Error("Cannot access property/index "+r+" levels up, current level is "+t);return n[t-r]}if(r>t)throw new Error("Cannot access data "+r+" levels up, current level is "+t);if(a="data"+(t-r||""),!i)return a}for(var l=a,p=i.split("/"),m=0;m<p.length;m++){var f=p[m];f&&(l+=" && "+(a+=o(d(f))))}return l},unescapeFragment:function(e){return d(decodeURIComponent(e))},unescapeJsonPointer:d,escapeFragment:function(e){return encodeURIComponent(p(e))},escapeJsonPointer:p};var t=n(["string","number","integer","boolean","null"]);function n(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var r=/^[a-z$_][a-z$_0-9]*$/i,i=/'|\\/g;function o(e){return"number"==typeof e?"["+e+"]":r.test(e)?"."+e:"['"+a(e)+"']"}function a(e){return e.replace(i,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function s(e){return"'"+a(e)+"'"}var c=/^\/(?:[^~]|~0|~1)*$/,u=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function l(e,t){return'""'==e?t:(e+" + "+t).replace(/([^\\])' \+ '/g,"$1")}function p(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function d(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}return Qn}function ar(){if(tr)return er;tr=1;var e=or();return er=function(t){e.copy(t,this)}}var sr,cr,ur,lr,pr,dr,mr,fr,hr,gr,vr,_r={exports:{}};function yr(){if(sr)return _r.exports;sr=1;var e=_r.exports=function(e,n,r){"function"==typeof n&&(r=n,n={}),t(n,"function"==typeof(r=n.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function t(r,i,o,a,s,c,u,l,p,d){if(a&&"object"==typeof a&&!Array.isArray(a)){for(var m in i(a,s,c,u,l,p,d),a){var f=a[m];if(Array.isArray(f)){if(m in e.arrayKeywords)for(var h=0;h<f.length;h++)t(r,i,o,f[h],s+"/"+m+"/"+h,c,s,m,a,h)}else if(m in e.propsKeywords){if(f&&"object"==typeof f)for(var g in f)t(r,i,o,f[g],s+"/"+m+"/"+n(g),c,s,m,a,g)}else(m in e.keywords||r.allKeys&&!(m in e.skipKeywords))&&t(r,i,o,f,s+"/"+m,c,s,m,a)}o(a,s,c,u,l,p,d)}}function n(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}return e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.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},_r.exports}function br(){if(ur)return cr;ur=1;var e=rr(),t=ir(),n=or(),r=ar(),i=yr();function o(e,t,n){var i=this._refs[n];if("string"==typeof i){if(!this._refs[i])return o.call(this,e,t,i);i=this._refs[i]}if((i=i||this._schemas[n])instanceof r)return p(i.schema,this._opts.inlineRefs)?i.schema:i.validate||this._compile(i);var s,c,u,l=a.call(this,t,n);return l&&(s=l.schema,t=l.root,u=l.baseId),s instanceof r?c=s.validate||e.call(this,s.schema,t,void 0,u):void 0!==s&&(c=p(s,this._opts.inlineRefs)?s:e.call(this,s,t,void 0,u)),c}function a(t,n){var i=e.parse(n),o=h(i),a=f(this._getId(t.schema));if(0===Object.keys(t.schema).length||o!==a){var c=v(o),l=this._refs[c];if("string"==typeof l)return s.call(this,t,l,i);if(l instanceof r)l.validate||this._compile(l),t=l;else{if(!((l=this._schemas[c])instanceof r))return;if(l.validate||this._compile(l),c==v(n))return{schema:l,root:t,baseId:a};t=l}if(!t.schema)return;a=f(this._getId(t.schema))}return u.call(this,i,a,t.schema,t)}function s(e,t,n){var r=a.call(this,e,t);if(r){var i=r.schema,o=r.baseId;e=r.root;var s=this._getId(i);return s&&(o=_(o,s)),u.call(this,n,o,i,e)}}cr=o,o.normalizeId=v,o.fullPath=f,o.url=_,o.ids=function(r){var o=v(this._getId(r)),a={"":o},s={"":f(o,!1)},c={},u=this;return i(r,{allKeys:!0},function(r,i,o,l,p,d,m){if(""!==i){var f=u._getId(r),h=a[l],g=s[l]+"/"+p;if(void 0!==m&&(g+="/"+("number"==typeof m?m:n.escapeFragment(m))),"string"==typeof f){f=h=v(h?e.resolve(h,f):f);var _=u._refs[f];if("string"==typeof _&&(_=u._refs[_]),_&&_.schema){if(!t(r,_.schema))throw new Error('id "'+f+'" resolves to more than one schema')}else if(f!=v(g))if("#"==f[0]){if(c[f]&&!t(r,c[f]))throw new Error('id "'+f+'" resolves to more than one schema');c[f]=r}else u._refs[f]=g}a[i]=h,s[i]=g}}),c},o.inlineRef=p,o.schema=a;var c=n.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function u(e,t,r,i){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var o=e.fragment.split("/"),s=1;s<o.length;s++){var u=o[s];if(u){if(void 0===(r=r[u=n.unescapeFragment(u)]))break;var l;if(!c[u]&&((l=this._getId(r))&&(t=_(t,l)),r.$ref)){var p=_(t,r.$ref),d=a.call(this,i,p);d&&(r=d.schema,i=d.root,t=d.baseId)}}}return void 0!==r&&r!==i.schema?{schema:r,root:i,baseId:t}:void 0}}var l=n.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function p(e,t){return!1!==t&&(void 0===t||!0===t?d(e):t?m(e)<=t:void 0)}function d(e){var t;if(Array.isArray(e)){for(var n=0;n<e.length;n++)if("object"==typeof(t=e[n])&&!d(t))return!1}else for(var r in e){if("$ref"==r)return!1;if("object"==typeof(t=e[r])&&!d(t))return!1}return!0}function m(e){var t,n=0;if(Array.isArray(e)){for(var r=0;r<e.length;r++)if("object"==typeof(t=e[r])&&(n+=m(t)),n==1/0)return 1/0}else for(var i in e){if("$ref"==i)return 1/0;if(l[i])n++;else if("object"==typeof(t=e[i])&&(n+=m(t)+1),n==1/0)return 1/0}return n}function f(t,n){return!1!==n&&(t=v(t)),h(e.parse(t))}function h(t){return e.serialize(t).split("#")[0]+"#"}var g=/#\/?$/;function v(e){return e?e.replace(g,""):""}function _(t,n){return n=v(n),e.resolve(t,n)}return cr}function Er(){if(pr)return lr;pr=1;var e=br();function t(n,r,i){this.message=i||t.message(n,r),this.missingRef=e.url(n,r),this.missingSchema=e.normalizeId(e.fullPath(this.missingRef))}function n(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}return lr={Validation:n(function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0}),MissingRef:n(t)},t.message=function(e,t){return"can't resolve reference "+t+" from id "+e},lr}function xr(){return mr||(mr=1,dr=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},o={key:r,value:e[r]};return n(i,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,a;if(Array.isArray(t)){for(a="[",n=0;n<t.length;n++)n&&(a+=","),a+=e(t[n])||"null";return a+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(t)-1,c=Object.keys(t).sort(i&&i(t));for(a="",n=0;n<c.length;n++){var u=c[n],l=e(t[u]);l&&(a&&(a+=","),a+=JSON.stringify(u)+":"+l)}return o.splice(s,1),"{"+a+"}"}}(e)}),dr}function wr(){return hr||(hr=1,fr=function(e,t,n){var r="",i=!0===e.schema.$async,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),a=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var c="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(c);e.logger.warn(c)}}if(e.isTop&&(r+=" var validate = ",i&&(e.async=!0,r+="async "),r+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",a&&(e.opts.sourceCode||e.opts.processCode)&&(r+=" /*# sourceURL="+a+" */ ")),"boolean"==typeof e.schema||!o&&!e.schema.$ref){t="false schema";var u=e.level,l=e.dataLevel,p=e.schema[t],d=e.schemaPath+e.util.getProperty(t),m=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,h="data"+(l||""),g="valid"+u;if(!1===e.schema){e.isTop?f=!0:r+=" var "+g+" = false; ",(H=H||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'boolean schema is false' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),r+=" } "):r+=" {} ";var v=r;r=H.pop(),!e.compositeRule&&f?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?r+=i?" return data; ":" validate.errors = null; return true; ":r+=" var "+g+" = true; ";return e.isTop&&(r+=" }; return validate; "),r}if(e.isTop){var _=e.isTop;if(u=e.level=0,l=e.dataLevel=0,h="data",e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var y="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(y);e.logger.warn(y)}r+=" var vErrors = null; ",r+=" var errors = 0;     ",r+=" if (rootData === undefined) rootData = data; "}else{if(u=e.level,h="data"+((l=e.dataLevel)||""),a&&(e.baseId=e.resolve.url(e.baseId,a)),i&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+u+" = errors;"}g="valid"+u,f=!e.opts.allErrors;var b="",E="",x=e.schema.type,w=Array.isArray(x);if(x&&e.opts.nullable&&!0===e.schema.nullable&&(w?-1==x.indexOf("null")&&(x=x.concat("null")):"null"!=x&&(x=[x,"null"],w=!0)),w&&1==x.length&&(x=x[0],w=!1),e.schema.$ref&&o){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(o=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(r+=" "+e.RULES.all.$comment.code(e,"$comment")),x){if(e.opts.coerceTypes)var A=e.util.coerceToTypes(e.opts.coerceTypes,x);var S=e.RULES.types[x];if(A||w||!0===S||S&&!Z(S)){d=e.schemaPath+".type",m=e.errSchemaPath+"/type",d=e.schemaPath+".type",m=e.errSchemaPath+"/type";var T=w?"checkDataTypes":"checkDataType";if(r+=" if ("+e.util[T](x,h,e.opts.strictNumbers,!0)+") { ",A){var k="dataType"+u,R="coerced"+u;r+=" var "+k+" = typeof "+h+"; var "+R+" = undefined; ","array"==e.opts.coerceTypes&&(r+=" if ("+k+" == 'object' && Array.isArray("+h+") && "+h+".length == 1) { "+h+" = "+h+"[0]; "+k+" = typeof "+h+"; if ("+e.util.checkDataType(e.schema.type,h,e.opts.strictNumbers)+") "+R+" = "+h+"; } "),r+=" if ("+R+" !== undefined) ; ";var C=A;if(C)for(var O,D=-1,P=C.length-1;D<P;)"string"==(O=C[D+=1])?r+=" else if ("+k+" == 'number' || "+k+" == 'boolean') "+R+" = '' + "+h+"; else if ("+h+" === null) "+R+" = ''; ":"number"==O||"integer"==O?(r+=" else if ("+k+" == 'boolean' || "+h+" === null || ("+k+" == 'string' && "+h+" && "+h+" == +"+h+" ","integer"==O&&(r+=" && !("+h+" % 1)"),r+=")) "+R+" = +"+h+"; "):"boolean"==O?r+=" else if ("+h+" === 'false' || "+h+" === 0 || "+h+" === null) "+R+" = false; else if ("+h+" === 'true' || "+h+" === 1) "+R+" = true; ":"null"==O?r+=" else if ("+h+" === '' || "+h+" === 0 || "+h+" === false) "+R+" = null; ":"array"==e.opts.coerceTypes&&"array"==O&&(r+=" else if ("+k+" == 'string' || "+k+" == 'number' || "+k+" == 'boolean' || "+h+" == null) "+R+" = ["+h+"]; ");r+=" else {   ",(H=H||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",r+=w?""+x.join(","):""+x,r+="' } ",!1!==e.opts.messages&&(r+=" , message: 'should be ",r+=w?""+x.join(","):""+x,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),r+=" } "):r+=" {} ",v=r,r=H.pop(),!e.compositeRule&&f?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } if ("+R+" !== undefined) {  ";var F=l?"data"+(l-1||""):"parentData";r+=" "+h+" = "+R+"; ",l||(r+="if ("+F+" !== undefined)"),r+=" "+F+"["+(l?e.dataPathArr[l]:"parentDataProperty")+"] = "+R+"; } "}else(H=H||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",r+=w?""+x.join(","):""+x,r+="' } ",!1!==e.opts.messages&&(r+=" , message: 'should be ",r+=w?""+x.join(","):""+x,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),r+=" } "):r+=" {} ",v=r,r=H.pop(),!e.compositeRule&&f?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";r+=" } "}}if(e.schema.$ref&&!o)r+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",f&&(r+=" } if (errors === ",r+=_?"0":"errs_"+u,r+=") { ",E+="}");else{var I=e.RULES;if(I)for(var M=-1,N=I.length-1;M<N;)if(Z(S=I[M+=1])){if(S.type&&(r+=" if ("+e.util.checkDataType(S.type,h,e.opts.strictNumbers)+") { "),e.opts.useDefaults)if("object"==S.type&&e.schema.properties){p=e.schema.properties;var L=Object.keys(p);if(L)for(var B,U=-1,G=L.length-1;U<G;)if(void 0!==(j=p[B=L[U+=1]]).default){var z=h+e.util.getProperty(B);if(e.compositeRule){if(e.opts.strictDefaults){if(y="default is ignored for: "+z,"log"!==e.opts.strictDefaults)throw new Error(y);e.logger.warn(y)}}else r+=" if ("+z+" === undefined ","empty"==e.opts.useDefaults&&(r+=" || "+z+" === null || "+z+" === '' "),r+=" ) "+z+" = ","shared"==e.opts.useDefaults?r+=" "+e.useDefault(j.default)+" ":r+=" "+JSON.stringify(j.default)+" ",r+="; "}}else if("array"==S.type&&Array.isArray(e.schema.items)){var V=e.schema.items;if(V){D=-1;for(var j,q=V.length-1;D<q;)if(void 0!==(j=V[D+=1]).default)if(z=h+"["+D+"]",e.compositeRule){if(e.opts.strictDefaults){if(y="default is ignored for: "+z,"log"!==e.opts.strictDefaults)throw new Error(y);e.logger.warn(y)}}else r+=" if ("+z+" === undefined ","empty"==e.opts.useDefaults&&(r+=" || "+z+" === null || "+z+" === '' "),r+=" ) "+z+" = ","shared"==e.opts.useDefaults?r+=" "+e.useDefault(j.default)+" ":r+=" "+JSON.stringify(j.default)+" ",r+="; "}}var H,K=S.rules;if(K)for(var $,W=-1,X=K.length-1;W<X;)if(Q($=K[W+=1])){var Y=$.code(e,$.keyword,S.type);Y&&(r+=" "+Y+" ",f&&(b+="}"))}if(f&&(r+=" "+b+" ",b=""),S.type&&(r+=" } ",x&&x===S.type&&!A))r+=" else { ",d=e.schemaPath+".type",m=e.errSchemaPath+"/type",(H=H||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",r+=w?""+x.join(","):""+x,r+="' } ",!1!==e.opts.messages&&(r+=" , message: 'should be ",r+=w?""+x.join(","):""+x,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),r+=" } "):r+=" {} ",v=r,r=H.pop(),!e.compositeRule&&f?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ";f&&(r+=" if (errors === ",r+=_?"0":"errs_"+u,r+=") { ",E+="}")}}function Z(e){for(var t=e.rules,n=0;n<t.length;n++)if(Q(t[n]))return!0}function Q(t){return void 0!==e.schema[t.keyword]||t.implements&&function(t){for(var n=t.implements,r=0;r<n.length;r++)if(void 0!==e.schema[n[r]])return!0}(t)}return f&&(r+=" "+E+" "),_?(i?(r+=" if (errors === 0) return data;           ",r+=" else throw new ValidationError(vErrors); "):(r+=" validate.errors = vErrors; ",r+=" return errors === 0;       "),r+=" }; return validate;"):r+=" var "+g+" = errors === errs_"+u+";",r}),fr}function Ar(){if(vr)return gr;vr=1;var e=br(),t=or(),n=Er(),r=xr(),i=wr(),o=t.ucs2length,a=ir(),s=n.Validation;function c(e,t,n){var r=l.call(this,e,t,n);return r>=0?{index:r,compiling:!0}:(r=this._compilations.length,this._compilations[r]={schema:e,root:t,baseId:n},{index:r,compiling:!1})}function u(e,t,n){var r=l.call(this,e,t,n);r>=0&&this._compilations.splice(r,1)}function l(e,t,n){for(var r=0;r<this._compilations.length;r++){var i=this._compilations[r];if(i.schema==e&&i.root==t&&i.baseId==n)return r}return-1}function p(e,n){return"var pattern"+e+" = new RegExp("+t.toQuotedString(n[e])+");"}function d(e){return"var default"+e+" = defaults["+e+"];"}function m(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function f(e){return"var customRule"+e+" = customRules["+e+"];"}function h(e,t){if(!e.length)return"";for(var n="",r=0;r<e.length;r++)n+=t(r,e);return n}return gr=function l(g,v,_,y){var b=this,E=this._opts,x=[void 0],w={},A=[],S={},T=[],k={},R=[];v=v||{schema:g,refVal:x,refs:w};var C=c.call(this,g,v,y),O=this._compilations[C.index];if(C.compiling)return O.callValidate=function e(){var t=O.validate,n=t.apply(this,arguments);return e.errors=t.errors,n};var D=this._formats,P=this.RULES;try{var F=M(g,v,_,y);O.validate=F;var I=O.callValidate;return I&&(I.schema=F.schema,I.errors=null,I.refs=F.refs,I.refVal=F.refVal,I.root=F.root,I.$async=F.$async,E.sourceCode&&(I.source=F.source)),F}finally{u.call(this,g,v,y)}function M(r,c,u,g){var _=!c||c&&c.schema==r;if(c.schema!=v.schema)return l.call(b,r,c,u,g);var y,S=!0===r.$async,k=i({isTop:!0,schema:r,isRoot:_,baseId:g,root:c,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:n.MissingRef,RULES:P,validate:i,util:t,resolve:e,resolveRef:N,usePattern:U,useDefault:G,useCustomRule:z,opts:E,formats:D,logger:b.logger,self:b});k=h(x,m)+h(A,p)+h(T,d)+h(R,f)+k,E.processCode&&(k=E.processCode(k,r));try{y=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",k)(b,P,D,v,x,T,R,a,o,s),x[0]=y}catch(e){throw b.logger.error("Error compiling schema, function code:",k),e}return y.schema=r,y.errors=null,y.refs=w,y.refVal=x,y.root=_?y:c,S&&(y.$async=!0),!0===E.sourceCode&&(y.source={code:k,patterns:A,defaults:T}),y}function N(t,n,r){n=e.url(t,n);var i,o,a=w[n];if(void 0!==a)return B(i=x[a],o="refVal["+a+"]");if(!r&&v.refs){var s=v.refs[n];if(void 0!==s)return B(i=v.refVal[s],o=L(n,i))}o=L(n);var c=e.call(b,M,v,n);if(void 0===c){var u=_&&_[n];u&&(c=e.inlineRef(u,E.inlineRefs)?u:l.call(b,u,v,_,t))}if(void 0!==c)return function(e,t){var n=w[e];x[n]=t}(n,c),B(c,o);!function(e){delete w[e]}(n)}function L(e,t){var n=x.length;return x[n]=t,w[e]=n,"refVal"+n}function B(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function U(e){var t=S[e];return void 0===t&&(t=S[e]=A.length,A[t]=e),"pattern"+t}function G(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return t.toQuotedString(e);case"object":if(null===e)return"null";var n=r(e),i=k[n];return void 0===i&&(i=k[n]=T.length,T[i]=e),"default"+i}}function z(e,t,n,r){if(!1!==b._opts.validateSchema){var i=e.definition.dependencies;if(i&&!i.every(function(e){return Object.prototype.hasOwnProperty.call(n,e)}))throw new Error("parent schema must have all required keywords: "+i.join(","));var o=e.definition.validateSchema;if(o&&!o(t)){var a="keyword schema is invalid: "+b.errorsText(o.errors);if("log"!=b._opts.validateSchema)throw new Error(a);b.logger.error(a)}}var s,c=e.definition.compile,u=e.definition.inline,l=e.definition.macro;if(c)s=c.call(b,t,n,r);else if(l)s=l.call(b,t,n,r),!1!==E.validateSchema&&b.validateSchema(s,!0);else if(u)s=u.call(b,r,e.keyword,t,n);else if(!(s=e.definition.validate))return;if(void 0===s)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var p=R.length;return R[p]=s,{code:"customRule"+p,validate:s}}},gr}var Sr,Tr,kr,Rr,Cr,Or,Dr,Pr,Fr,Ir,Mr,Nr,Lr,Br,Ur,Gr,zr,Vr,jr,qr,Hr,Kr,$r,Wr,Xr,Yr,Zr,Qr,Jr,ei,ti,ni,ri,ii,oi,ai,si,ci,ui,li,pi,di,mi,fi,hi,gi,vi,_i,yi,bi,Ei,xi,wi,Ai,Si,Ti,ki,Ri,Ci,Oi={exports:{}};function Di(){return Zr||(Zr=1,Yr=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,p="data"+(a||""),d=e.opts.$data&&s&&s.$data;d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s;var m="maximum"==t,f=m?"exclusiveMaximum":"exclusiveMinimum",h=e.schema[f],g=e.opts.$data&&h&&h.$data,v=m?"<":">",_=m?">":"<",y=void 0;if(!d&&"number"!=typeof s&&void 0!==s)throw new Error(t+" must be number");if(!g&&void 0!==h&&"number"!=typeof h&&"boolean"!=typeof h)throw new Error(f+" must be number or boolean");if(g){var b,E=e.util.getData(h.$data,a,e.dataPathArr),x="exclusive"+o,w="exclType"+o,A="exclIsNumber"+o,S="' + "+(k="op"+o)+" + '";i+=" var schemaExcl"+o+" = "+E+"; ",i+=" var "+x+"; var "+w+" = typeof "+(E="schemaExcl"+o)+"; if ("+w+" != 'boolean' && "+w+" != 'undefined' && "+w+" != 'number') { ",y=f,(b=b||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(y||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: '"+f+" should be boolean' "),e.opts.verbose&&(i+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ";var T=i;i=b.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+T+"]); ":i+=" validate.errors = ["+T+"]; return false; ":i+=" var err = "+T+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" "+w+" == 'number' ? ( ("+x+" = "+r+" === undefined || "+E+" "+v+"= "+r+") ? "+p+" "+_+"= "+E+" : "+p+" "+_+" "+r+" ) : ( ("+x+" = "+E+" === true) ? "+p+" "+_+"= "+r+" : "+p+" "+_+" "+r+" ) || "+p+" !== "+p+") { var op"+o+" = "+x+" ? '"+v+"' : '"+v+"='; ",void 0===s&&(y=f,u=e.errSchemaPath+"/"+f,r=E,d=g)}else if(S=v,(A="number"==typeof h)&&d){var k="'"+S+"'";i+=" if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" ( "+r+" === undefined || "+h+" "+v+"= "+r+" ? "+p+" "+_+"= "+h+" : "+p+" "+_+" "+r+" ) || "+p+" !== "+p+") { "}else A&&void 0===s?(x=!0,y=f,u=e.errSchemaPath+"/"+f,r=h,_+="="):(A&&(r=Math[m?"min":"max"](h,s)),h===(!A||r)?(x=!0,y=f,u=e.errSchemaPath+"/"+f,_+="="):(x=!1,S+="=")),k="'"+S+"'",i+=" if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" "+p+" "+_+" "+r+" || "+p+" !== "+p+") { ";return y=y||t,(b=b||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(y||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+k+", limit: "+r+", exclusive: "+x+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be "+S+" ",i+=d?"' + "+r:r+"'"),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+c:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ",T=i,i=b.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+T+"]); ":i+=" validate.errors = ["+T+"]; return false; ":i+=" var err = "+T+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",l&&(i+=" else { "),i}),Yr}function Pi(){return Jr||(Jr=1,Qr=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,p="data"+(a||""),d=e.opts.$data&&s&&s.$data;if(d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");i+="if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" "+p+".length "+("maxItems"==t?">":"<")+" "+r+") { ";var m=t,f=f||[];f.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(m||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxItems"==t?"more":"fewer",i+=" than ",i+=d?"' + "+r+" + '":""+s,i+=" items' "),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+c:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ";var h=i;return i=f.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+h+"]); ":i+=" validate.errors = ["+h+"]; return false; ":i+=" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}),Qr}function Fi(){return ti||(ti=1,ei=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,p="data"+(a||""),d=e.opts.$data&&s&&s.$data;if(d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");var m="maxLength"==t?">":"<";i+="if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),!1===e.opts.unicode?i+=" "+p+".length ":i+=" ucs2length("+p+") ",i+=" "+m+" "+r+") { ";var f=t,h=h||[];h.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(f||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be ",i+="maxLength"==t?"longer":"shorter",i+=" than ",i+=d?"' + "+r+" + '":""+s,i+=" characters' "),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+c:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ";var g=i;return i=h.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+g+"]); ":i+=" validate.errors = ["+g+"]; return false; ":i+=" var err = "+g+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}),ei}function Ii(){return ri||(ri=1,ni=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,p="data"+(a||""),d=e.opts.$data&&s&&s.$data;if(d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");i+="if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" Object.keys("+p+").length "+("maxProperties"==t?">":"<")+" "+r+") { ";var m=t,f=f||[];f.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(m||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxProperties"==t?"more":"fewer",i+=" than ",i+=d?"' + "+r+" + '":""+s,i+=" properties' "),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+c:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ";var h=i;return i=f.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+h+"]); ":i+=" validate.errors = ["+h+"]; return false; ":i+=" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}),ni}function Mi(){if(wi)return xi;wi=1;var e=(Ei||(Ei=1,bi={$ref:(Cr||(Cr=1,Rr=function(e,t,n){var r,i,o=" ",a=e.level,s=e.dataLevel,c=e.schema[t],u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,p="data"+(s||""),d="valid"+a;if("#"==c||"#/"==c)e.isRoot?(r=e.async,i="validate"):(r=!0===e.root.schema.$async,i="root.refVal[0]");else{var m=e.resolveRef(e.baseId,c,e.isRoot);if(void 0===m){var f=e.MissingRefError.message(e.baseId,c);if("fail"==e.opts.missingRefs){e.logger.error(f),(_=_||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { ref: '"+e.util.escapeQuotes(c)+"' } ",!1!==e.opts.messages&&(o+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(c)+"' "),e.opts.verbose&&(o+=" , schema: "+e.util.toQuotedString(c)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),o+=" } "):o+=" {} ";var h=o;o=_.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(o+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,c,f);e.logger.warn(f),l&&(o+=" if (true) { ")}}else if(m.inline){var g=e.util.copy(e);g.level++;var v="valid"+g.level;g.schema=m.schema,g.schemaPath="",g.errSchemaPath=c,o+=" "+e.validate(g).replace(/validate\.schema/g,m.code)+" ",l&&(o+=" if ("+v+") { ")}else r=!0===m.$async||e.async&&!1!==m.$async,i=m.code}if(i){var _;(_=_||[]).push(o),o="",e.opts.passContext?o+=" "+i+".call(this, ":o+=" "+i+"( ",o+=" "+p+", (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var y=o+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData)  ";if(o=_.pop(),r){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(o+=" var "+d+"; "),o+=" try { await "+y+"; ",l&&(o+=" "+d+" = true; "),o+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",l&&(o+=" "+d+" = false; "),o+=" } ",l&&(o+=" if ("+d+") { ")}else o+=" if (!"+y+") { if (vErrors === null) vErrors = "+i+".errors; else vErrors = vErrors.concat("+i+".errors); errors = vErrors.length; } ",l&&(o+=" else { ")}return o}),Rr),allOf:(Dr||(Dr=1,Or=function(e,t,n){var r=" ",i=e.schema[t],o=e.schemaPath+e.util.getProperty(t),a=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,c=e.util.copy(e),u="";c.level++;var l="valid"+c.level,p=c.baseId,d=!0,m=i;if(m)for(var f,h=-1,g=m.length-1;h<g;)f=m[h+=1],(e.opts.strictKeywords?"object"==typeof f&&Object.keys(f).length>0||!1===f:e.util.schemaHasRules(f,e.RULES.all))&&(d=!1,c.schema=f,c.schemaPath=o+"["+h+"]",c.errSchemaPath=a+"/"+h,r+="  "+e.validate(c)+" ",c.baseId=p,s&&(r+=" if ("+l+") { ",u+="}"));return s&&(r+=d?" if (true) { ":" "+u.slice(0,-1)+" "),r}),Or),anyOf:(Fr||(Fr=1,Pr=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="valid"+i,d="errs__"+i,m=e.util.copy(e),f="";m.level++;var h="valid"+m.level,g=a.every(function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0||!1===t:e.util.schemaHasRules(t,e.RULES.all)});if(g){var v=m.baseId;r+=" var "+d+" = errors; var "+p+" = false;  ";var _=e.compositeRule;e.compositeRule=m.compositeRule=!0;var y=a;if(y)for(var b,E=-1,x=y.length-1;E<x;)b=y[E+=1],m.schema=b,m.schemaPath=s+"["+E+"]",m.errSchemaPath=c+"/"+E,r+="  "+e.validate(m)+" ",m.baseId=v,r+=" "+p+" = "+p+" || "+h+"; if (!"+p+") { ",f+="}";e.compositeRule=m.compositeRule=_,r+=" "+f+" if (!"+p+") {   var err =   ",!1!==e.createErrors?(r+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } else {  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else u&&(r+=" if (true) { ");return r}),Pr),$comment:(Mr||(Mr=1,Ir=function(e,t,n){var r=" ",i=e.schema[t],o=e.errSchemaPath+"/"+t;e.opts.allErrors;var a=e.util.toQuotedString(i);return!0===e.opts.$comment?r+=" console.log("+a+");":"function"==typeof e.opts.$comment&&(r+=" self._opts.$comment("+a+", "+e.util.toQuotedString(o)+", validate.root.schema);"),r}),Ir),const:(Lr||(Lr=1,Nr=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="valid"+i,d=e.opts.$data&&a&&a.$data;d&&(r+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; "),d||(r+=" var schema"+i+" = validate.schema"+s+";"),r+="var "+p+" = equal("+l+", schema"+i+"); if (!"+p+") {   ";var m=m||[];m.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValue: schema"+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be equal to constant' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ";var f=r;return r=m.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+f+"]); ":r+=" validate.errors = ["+f+"]; return false; ":r+=" var err = "+f+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",u&&(r+=" else { "),r}),Nr),contains:(Ur||(Ur=1,Br=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="valid"+i,d="errs__"+i,m=e.util.copy(e);m.level++;var f="valid"+m.level,h="i"+i,g=m.dataLevel=e.dataLevel+1,v="data"+g,_=e.baseId,y=e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all);if(r+="var "+d+" = errors;var "+p+";",y){var b=e.compositeRule;e.compositeRule=m.compositeRule=!0,m.schema=a,m.schemaPath=s,m.errSchemaPath=c,r+=" var "+f+" = false; for (var "+h+" = 0; "+h+" < "+l+".length; "+h+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers,!0);var E=l+"["+h+"]";m.dataPathArr[g]=h;var x=e.validate(m);m.baseId=_,e.util.varOccurences(x,v)<2?r+=" "+e.util.varReplace(x,v,E)+" ":r+=" var "+v+" = "+E+"; "+x+" ",r+=" if ("+f+") break; }  ",e.compositeRule=m.compositeRule=b,r+="  if (!"+f+") {"}else r+=" if ("+l+".length == 0) {";var w=w||[];w.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should contain a valid item' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ";var A=r;return r=w.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+A+"]); ":r+=" validate.errors = ["+A+"]; return false; ":r+=" var err = "+A+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",y&&(r+="  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } "),e.opts.allErrors&&(r+=" } "),r}),Br),dependencies:(zr||(zr=1,Gr=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="errs__"+i,d=e.util.copy(e),m="";d.level++;var f="valid"+d.level,h={},g={},v=e.opts.ownProperties;for(E in a)if("__proto__"!=E){var _=a[E],y=Array.isArray(_)?g:h;y[E]=_}r+="var "+p+" = errors;";var b=e.errorPath;for(var E in r+="var missing"+i+";",g)if((y=g[E]).length){if(r+=" if ( "+l+e.util.getProperty(E)+" !== undefined ",v&&(r+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(E)+"') "),u){r+=" && ( ";var x=y;if(x)for(var w=-1,A=x.length-1;w<A;)O=x[w+=1],w&&(r+=" || "),r+=" ( ( "+(I=l+(F=e.util.getProperty(O)))+" === undefined ",v&&(r+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "),r+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?O:F)+") ) ";r+=")) {  ";var S="missing"+i,T="' + "+S+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(b,S,!0):b+" + "+S);var k=k||[];k.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(E)+"', missingProperty: '"+T+"', depsCount: "+y.length+", deps: '"+e.util.escapeQuotes(1==y.length?y[0]:y.join(", "))+"' } ",!1!==e.opts.messages&&(r+=" , message: 'should have ",1==y.length?r+="property "+e.util.escapeQuotes(y[0]):r+="properties "+e.util.escapeQuotes(y.join(", ")),r+=" when property "+e.util.escapeQuotes(E)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ";var R=r;r=k.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+R+"]); ":r+=" validate.errors = ["+R+"]; return false; ":r+=" var err = "+R+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{r+=" ) { ";var C=y;if(C)for(var O,D=-1,P=C.length-1;D<P;){O=C[D+=1];var F=e.util.getProperty(O),I=(T=e.util.escapeQuotes(O),l+F);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(b,O,e.opts.jsonPointers)),r+=" if ( "+I+" === undefined ",v&&(r+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "),r+=") {  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(E)+"', missingProperty: '"+T+"', depsCount: "+y.length+", deps: '"+e.util.escapeQuotes(1==y.length?y[0]:y.join(", "))+"' } ",!1!==e.opts.messages&&(r+=" , message: 'should have ",1==y.length?r+="property "+e.util.escapeQuotes(y[0]):r+="properties "+e.util.escapeQuotes(y.join(", ")),r+=" when property "+e.util.escapeQuotes(E)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}r+=" }   ",u&&(m+="}",r+=" else { ")}e.errorPath=b;var M=d.baseId;for(var E in h)_=h[E],(e.opts.strictKeywords?"object"==typeof _&&Object.keys(_).length>0||!1===_:e.util.schemaHasRules(_,e.RULES.all))&&(r+=" "+f+" = true; if ( "+l+e.util.getProperty(E)+" !== undefined ",v&&(r+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(E)+"') "),r+=") { ",d.schema=_,d.schemaPath=s+e.util.getProperty(E),d.errSchemaPath=c+"/"+e.util.escapeFragment(E),r+="  "+e.validate(d)+" ",d.baseId=M,r+=" }  ",u&&(r+=" if ("+f+") { ",m+="}"));return u&&(r+="   "+m+" if ("+p+" == errors) {"),r}),Gr),enum:(jr||(jr=1,Vr=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="valid"+i,d=e.opts.$data&&a&&a.$data;d&&(r+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ");var m="i"+i,f="schema"+i;d||(r+=" var "+f+" = validate.schema"+s+";"),r+="var "+p+";",d&&(r+=" if (schema"+i+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+i+")) "+p+" = false; else {"),r+=p+" = false;for (var "+m+"=0; "+m+"<"+f+".length; "+m+"++) if (equal("+l+", "+f+"["+m+"])) { "+p+" = true; break; }",d&&(r+="  }  "),r+=" if (!"+p+") {   ";var h=h||[];h.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValues: schema"+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ";var g=r;return r=h.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+g+"]); ":r+=" validate.errors = ["+g+"]; return false; ":r+=" var err = "+g+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",u&&(r+=" else { "),r}),Vr),format:(Hr||(Hr=1,qr=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||"");if(!1===e.opts.format)return u&&(r+=" if (true) { "),r;var p,d=e.opts.$data&&a&&a.$data;d?(r+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",p="schema"+i):p=a;var m=e.opts.unknownFormats,f=Array.isArray(m);if(d)r+=" var "+(h="format"+i)+" = formats["+p+"]; var "+(g="isObject"+i)+" = typeof "+h+" == 'object' && !("+h+" instanceof RegExp) && "+h+".validate; var "+(v="formatType"+i)+" = "+g+" && "+h+".type || 'string'; if ("+g+") { ",e.async&&(r+=" var async"+i+" = "+h+".async; "),r+=" "+h+" = "+h+".validate; } if (  ",d&&(r+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),r+=" (","ignore"!=m&&(r+=" ("+p+" && !"+h+" ",f&&(r+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "),r+=") || "),r+=" ("+h+" && "+v+" == '"+n+"' && !(typeof "+h+" == 'function' ? ",e.async?r+=" (async"+i+" ? await "+h+"("+l+") : "+h+"("+l+")) ":r+=" "+h+"("+l+") ",r+=" : "+h+".test("+l+"))))) {";else{var h;if(!(h=e.formats[a])){if("ignore"==m)return e.logger.warn('unknown format "'+a+'" ignored in schema at path "'+e.errSchemaPath+'"'),u&&(r+=" if (true) { "),r;if(f&&m.indexOf(a)>=0)return u&&(r+=" if (true) { "),r;throw new Error('unknown format "'+a+'" is used in schema at path "'+e.errSchemaPath+'"')}var g,v=(g="object"==typeof h&&!(h instanceof RegExp)&&h.validate)&&h.type||"string";if(g){var _=!0===h.async;h=h.validate}if(v!=n)return u&&(r+=" if (true) { "),r;if(_){if(!e.async)throw new Error("async format in sync schema");r+=" if (!(await "+(y="formats"+e.util.getProperty(a)+".validate")+"("+l+"))) { "}else{r+=" if (! ";var y="formats"+e.util.getProperty(a);g&&(y+=".validate"),r+="function"==typeof h?" "+y+"("+l+") ":" "+y+".test("+l+") ",r+=") { "}}var b=b||[];b.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { format:  ",r+=d?""+p:""+e.util.toQuotedString(a),r+="  } ",!1!==e.opts.messages&&(r+=" , message: 'should match format \"",r+=d?"' + "+p+" + '":""+e.util.escapeQuotes(a),r+="\"' "),e.opts.verbose&&(r+=" , schema:  ",r+=d?"validate.schema"+s:""+e.util.toQuotedString(a),r+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ";var E=r;return r=b.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { "),r}),qr),if:($r||($r=1,Kr=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="valid"+i,d="errs__"+i,m=e.util.copy(e);m.level++;var f="valid"+m.level,h=e.schema.then,g=e.schema.else,v=void 0!==h&&(e.opts.strictKeywords?"object"==typeof h&&Object.keys(h).length>0||!1===h:e.util.schemaHasRules(h,e.RULES.all)),_=void 0!==g&&(e.opts.strictKeywords?"object"==typeof g&&Object.keys(g).length>0||!1===g:e.util.schemaHasRules(g,e.RULES.all)),y=m.baseId;if(v||_){var b;m.createErrors=!1,m.schema=a,m.schemaPath=s,m.errSchemaPath=c,r+=" var "+d+" = errors; var "+p+" = true;  ";var E=e.compositeRule;e.compositeRule=m.compositeRule=!0,r+="  "+e.validate(m)+" ",m.baseId=y,m.createErrors=!0,r+="  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; }  ",e.compositeRule=m.compositeRule=E,v?(r+=" if ("+f+") {  ",m.schema=e.schema.then,m.schemaPath=e.schemaPath+".then",m.errSchemaPath=e.errSchemaPath+"/then",r+="  "+e.validate(m)+" ",m.baseId=y,r+=" "+p+" = "+f+"; ",v&&_?r+=" var "+(b="ifClause"+i)+" = 'then'; ":b="'then'",r+=" } ",_&&(r+=" else { ")):r+=" if (!"+f+") { ",_&&(m.schema=e.schema.else,m.schemaPath=e.schemaPath+".else",m.errSchemaPath=e.errSchemaPath+"/else",r+="  "+e.validate(m)+" ",m.baseId=y,r+=" "+p+" = "+f+"; ",v&&_?r+=" var "+(b="ifClause"+i)+" = 'else'; ":b="'else'",r+=" } "),r+=" if (!"+p+") {   var err =   ",!1!==e.createErrors?(r+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { failingKeyword: "+b+" } ",!1!==e.opts.messages&&(r+=" , message: 'should match \"' + "+b+" + '\" schema' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" }   ",u&&(r+=" else { ")}else u&&(r+=" if (true) { ");return r}),Kr),items:(Xr||(Xr=1,Wr=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="valid"+i,d="errs__"+i,m=e.util.copy(e),f="";m.level++;var h="valid"+m.level,g="i"+i,v=m.dataLevel=e.dataLevel+1,_="data"+v,y=e.baseId;if(r+="var "+d+" = errors;var "+p+";",Array.isArray(a)){var b=e.schema.additionalItems;if(!1===b){r+=" "+p+" = "+l+".length <= "+a.length+"; ";var E=c;c=e.errSchemaPath+"/additionalItems",r+="  if (!"+p+") {   ";var x=x||[];x.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+a.length+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have more than "+a.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ";var w=r;r=x.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+w+"]); ":r+=" validate.errors = ["+w+"]; return false; ":r+=" var err = "+w+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",c=E,u&&(f+="}",r+=" else { ")}var A=a;if(A)for(var S,T=-1,k=A.length-1;T<k;)if(S=A[T+=1],e.opts.strictKeywords?"object"==typeof S&&Object.keys(S).length>0||!1===S:e.util.schemaHasRules(S,e.RULES.all)){r+=" "+h+" = true; if ("+l+".length > "+T+") { ";var R=l+"["+T+"]";m.schema=S,m.schemaPath=s+"["+T+"]",m.errSchemaPath=c+"/"+T,m.errorPath=e.util.getPathExpr(e.errorPath,T,e.opts.jsonPointers,!0),m.dataPathArr[v]=T;var C=e.validate(m);m.baseId=y,e.util.varOccurences(C,_)<2?r+=" "+e.util.varReplace(C,_,R)+" ":r+=" var "+_+" = "+R+"; "+C+" ",r+=" }  ",u&&(r+=" if ("+h+") { ",f+="}")}"object"==typeof b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0||!1===b:e.util.schemaHasRules(b,e.RULES.all))&&(m.schema=b,m.schemaPath=e.schemaPath+".additionalItems",m.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+h+" = true; if ("+l+".length > "+a.length+") {  for (var "+g+" = "+a.length+"; "+g+" < "+l+".length; "+g+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),R=l+"["+g+"]",m.dataPathArr[v]=g,C=e.validate(m),m.baseId=y,e.util.varOccurences(C,_)<2?r+=" "+e.util.varReplace(C,_,R)+" ":r+=" var "+_+" = "+R+"; "+C+" ",u&&(r+=" if (!"+h+") break; "),r+=" } }  ",u&&(r+=" if ("+h+") { ",f+="}"))}else(e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all))&&(m.schema=a,m.schemaPath=s,m.errSchemaPath=c,r+="  for (var "+g+" = 0; "+g+" < "+l+".length; "+g+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),R=l+"["+g+"]",m.dataPathArr[v]=g,C=e.validate(m),m.baseId=y,e.util.varOccurences(C,_)<2?r+=" "+e.util.varReplace(C,_,R)+" ":r+=" var "+_+" = "+R+"; "+C+" ",u&&(r+=" if (!"+h+") break; "),r+=" }");return u&&(r+=" "+f+" if ("+d+" == errors) {"),r}),Wr),maximum:Di(),minimum:Di(),maxItems:Pi(),minItems:Pi(),maxLength:Fi(),minLength:Fi(),maxProperties:Ii(),minProperties:Ii(),multipleOf:(oi||(oi=1,ii=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,p="data"+(a||""),d=e.opts.$data&&s&&s.$data;if(d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");i+="var division"+o+";if (",d&&(i+=" "+r+" !== undefined && ( typeof "+r+" != 'number' || "),i+=" (division"+o+" = "+p+" / "+r+", ",e.opts.multipleOfPrecision?i+=" Math.abs(Math.round(division"+o+") - division"+o+") > 1e-"+e.opts.multipleOfPrecision+" ":i+=" division"+o+" !== parseInt(division"+o+") ",i+=" ) ",d&&(i+="  )  "),i+=" ) {   ";var m=m||[];m.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be multiple of ",i+=d?"' + "+r:r+"'"),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+c:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ";var f=i;return i=m.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+f+"]); ":i+=" validate.errors = ["+f+"]; return false; ":i+=" var err = "+f+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}),ii),not:(si||(si=1,ai=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="errs__"+i,d=e.util.copy(e);d.level++;var m="valid"+d.level;if(e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){d.schema=a,d.schemaPath=s,d.errSchemaPath=c,r+=" var "+p+" = errors;  ";var f,h=e.compositeRule;e.compositeRule=d.compositeRule=!0,d.createErrors=!1,d.opts.allErrors&&(f=d.opts.allErrors,d.opts.allErrors=!1),r+=" "+e.validate(d)+" ",d.createErrors=!0,f&&(d.opts.allErrors=f),e.compositeRule=d.compositeRule=h,r+=" if ("+m+") {   ";var g=g||[];g.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ";var v=r;r=g.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else {  errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else r+="  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(r+=" if (false) { ");return r}),ai),oneOf:(ui||(ui=1,ci=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="valid"+i,d="errs__"+i,m=e.util.copy(e),f="";m.level++;var h="valid"+m.level,g=m.baseId,v="prevValid"+i,_="passingSchemas"+i;r+="var "+d+" = errors , "+v+" = false , "+p+" = false , "+_+" = null; ";var y=e.compositeRule;e.compositeRule=m.compositeRule=!0;var b=a;if(b)for(var E,x=-1,w=b.length-1;x<w;)E=b[x+=1],(e.opts.strictKeywords?"object"==typeof E&&Object.keys(E).length>0||!1===E:e.util.schemaHasRules(E,e.RULES.all))?(m.schema=E,m.schemaPath=s+"["+x+"]",m.errSchemaPath=c+"/"+x,r+="  "+e.validate(m)+" ",m.baseId=g):r+=" var "+h+" = true; ",x&&(r+=" if ("+h+" && "+v+") { "+p+" = false; "+_+" = ["+_+", "+x+"]; } else { ",f+="}"),r+=" if ("+h+") { "+p+" = "+v+" = true; "+_+" = "+x+"; }";return e.compositeRule=m.compositeRule=y,r+=f+"if (!"+p+") {   var err =   ",!1!==e.createErrors?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { passingSchemas: "+_+" } ",!1!==e.opts.messages&&(r+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+="} else {  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; }",e.opts.allErrors&&(r+=" } "),r}),ci),pattern:(pi||(pi=1,li=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,p="data"+(a||""),d=e.opts.$data&&s&&s.$data;d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,i+="if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'string') || "),i+=" !"+(d?"(new RegExp("+r+"))":e.usePattern(s))+".test("+p+") ) {   ";var m=m||[];m.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern:  ",i+=d?""+r:""+e.util.toQuotedString(s),i+="  } ",!1!==e.opts.messages&&(i+=" , message: 'should match pattern \"",i+=d?"' + "+r+" + '":""+e.util.escapeQuotes(s),i+="\"' "),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+c:""+e.util.toQuotedString(s),i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ";var f=i;return i=m.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+f+"]); ":i+=" validate.errors = ["+f+"]; return false; ":i+=" var err = "+f+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}),li),properties:(mi||(mi=1,di=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="errs__"+i,d=e.util.copy(e),m="";d.level++;var f="valid"+d.level,h="key"+i,g="idx"+i,v=d.dataLevel=e.dataLevel+1,_="data"+v,y="dataProperties"+i,b=Object.keys(a||{}).filter(F),E=e.schema.patternProperties||{},x=Object.keys(E).filter(F),w=e.schema.additionalProperties,A=b.length||x.length,S=!1===w,T="object"==typeof w&&Object.keys(w).length,k=e.opts.removeAdditional,R=S||T||k,C=e.opts.ownProperties,O=e.baseId,D=e.schema.required;if(D&&(!e.opts.$data||!D.$data)&&D.length<e.opts.loopRequired)var P=e.util.toHash(D);function F(e){return"__proto__"!==e}if(r+="var "+p+" = errors;var "+f+" = true;",C&&(r+=" var "+y+" = undefined;"),R){if(r+=C?" "+y+" = "+y+" || Object.keys("+l+"); for (var "+g+"=0; "+g+"<"+y+".length; "+g+"++) { var "+h+" = "+y+"["+g+"]; ":" for (var "+h+" in "+l+") { ",A){if(r+=" var isAdditional"+i+" = !(false ",b.length)if(b.length>8)r+=" || validate.schema"+s+".hasOwnProperty("+h+") ";else{var I=b;if(I)for(var M=-1,N=I.length-1;M<N;)X=I[M+=1],r+=" || "+h+" == "+e.util.toQuotedString(X)+" "}if(x.length){var L=x;if(L)for(var B=-1,U=L.length-1;B<U;)oe=L[B+=1],r+=" || "+e.usePattern(oe)+".test("+h+") "}r+=" ); if (isAdditional"+i+") { "}if("all"==k)r+=" delete "+l+"["+h+"]; ";else{var G=e.errorPath,z="' + "+h+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers)),S)if(k)r+=" delete "+l+"["+h+"]; ";else{r+=" "+f+" = false; ";var V=c;c=e.errSchemaPath+"/additionalProperties",(ne=ne||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { additionalProperty: '"+z+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is an invalid additional property":r+="should NOT have additional properties",r+="' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ";var j=r;r=ne.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+j+"]); ":r+=" validate.errors = ["+j+"]; return false; ":r+=" var err = "+j+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=V,u&&(r+=" break; ")}else if(T)if("failing"==k){r+=" var "+p+" = errors;  ";var q=e.compositeRule;e.compositeRule=d.compositeRule=!0,d.schema=w,d.schemaPath=e.schemaPath+".additionalProperties",d.errSchemaPath=e.errSchemaPath+"/additionalProperties",d.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers);var H=l+"["+h+"]";d.dataPathArr[v]=h;var K=e.validate(d);d.baseId=O,e.util.varOccurences(K,_)<2?r+=" "+e.util.varReplace(K,_,H)+" ":r+=" var "+_+" = "+H+"; "+K+" ",r+=" if (!"+f+") { errors = "+p+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+l+"["+h+"]; }  ",e.compositeRule=d.compositeRule=q}else d.schema=w,d.schemaPath=e.schemaPath+".additionalProperties",d.errSchemaPath=e.errSchemaPath+"/additionalProperties",d.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers),H=l+"["+h+"]",d.dataPathArr[v]=h,K=e.validate(d),d.baseId=O,e.util.varOccurences(K,_)<2?r+=" "+e.util.varReplace(K,_,H)+" ":r+=" var "+_+" = "+H+"; "+K+" ",u&&(r+=" if (!"+f+") break; ");e.errorPath=G}A&&(r+=" } "),r+=" }  ",u&&(r+=" if ("+f+") { ",m+="}")}var $=e.opts.useDefaults&&!e.compositeRule;if(b.length){var W=b;if(W)for(var X,Y=-1,Z=W.length-1;Y<Z;){var Q=a[X=W[Y+=1]];if(e.opts.strictKeywords?"object"==typeof Q&&Object.keys(Q).length>0||!1===Q:e.util.schemaHasRules(Q,e.RULES.all)){var J=e.util.getProperty(X),ee=(H=l+J,$&&void 0!==Q.default);if(d.schema=Q,d.schemaPath=s+J,d.errSchemaPath=c+"/"+e.util.escapeFragment(X),d.errorPath=e.util.getPath(e.errorPath,X,e.opts.jsonPointers),d.dataPathArr[v]=e.util.toQuotedString(X),K=e.validate(d),d.baseId=O,e.util.varOccurences(K,_)<2){K=e.util.varReplace(K,_,H);var te=H}else te=_,r+=" var "+_+" = "+H+"; ";if(ee)r+=" "+K+" ";else{if(P&&P[X]){r+=" if ( "+te+" === undefined ",C&&(r+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(X)+"') "),r+=") { "+f+" = false; ",G=e.errorPath,V=c;var ne,re=e.util.escapeQuotes(X);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(G,X,e.opts.jsonPointers)),c=e.errSchemaPath+"/required",(ne=ne||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+re+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+re+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",j=r,r=ne.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+j+"]); ":r+=" validate.errors = ["+j+"]; return false; ":r+=" var err = "+j+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=V,e.errorPath=G,r+=" } else { "}else u?(r+=" if ( "+te+" === undefined ",C&&(r+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(X)+"') "),r+=") { "+f+" = true; } else { "):(r+=" if ("+te+" !== undefined ",C&&(r+=" &&   Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(X)+"') "),r+=" ) { ");r+=" "+K+" } "}}u&&(r+=" if ("+f+") { ",m+="}")}}if(x.length){var ie=x;if(ie)for(var oe,ae=-1,se=ie.length-1;ae<se;)Q=E[oe=ie[ae+=1]],(e.opts.strictKeywords?"object"==typeof Q&&Object.keys(Q).length>0||!1===Q:e.util.schemaHasRules(Q,e.RULES.all))&&(d.schema=Q,d.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(oe),d.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(oe),r+=C?" "+y+" = "+y+" || Object.keys("+l+"); for (var "+g+"=0; "+g+"<"+y+".length; "+g+"++) { var "+h+" = "+y+"["+g+"]; ":" for (var "+h+" in "+l+") { ",r+=" if ("+e.usePattern(oe)+".test("+h+")) { ",d.errorPath=e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers),H=l+"["+h+"]",d.dataPathArr[v]=h,K=e.validate(d),d.baseId=O,e.util.varOccurences(K,_)<2?r+=" "+e.util.varReplace(K,_,H)+" ":r+=" var "+_+" = "+H+"; "+K+" ",u&&(r+=" if (!"+f+") break; "),r+=" } ",u&&(r+=" else "+f+" = true; "),r+=" }  ",u&&(r+=" if ("+f+") { ",m+="}"))}return u&&(r+=" "+m+" if ("+p+" == errors) {"),r}),di),propertyNames:(hi||(hi=1,fi=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="errs__"+i,d=e.util.copy(e);d.level++;var m="valid"+d.level;if(r+="var "+p+" = errors;",e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){d.schema=a,d.schemaPath=s,d.errSchemaPath=c;var f="key"+i,h="idx"+i,g="i"+i,v="' + "+f+" + '",_="data"+(d.dataLevel=e.dataLevel+1),y="dataProperties"+i,b=e.opts.ownProperties,E=e.baseId;b&&(r+=" var "+y+" = undefined; "),r+=b?" "+y+" = "+y+" || Object.keys("+l+"); for (var "+h+"=0; "+h+"<"+y+".length; "+h+"++) { var "+f+" = "+y+"["+h+"]; ":" for (var "+f+" in "+l+") { ",r+=" var startErrs"+i+" = errors; ";var x=f,w=e.compositeRule;e.compositeRule=d.compositeRule=!0;var A=e.validate(d);d.baseId=E,e.util.varOccurences(A,_)<2?r+=" "+e.util.varReplace(A,_,x)+" ":r+=" var "+_+" = "+x+"; "+A+" ",e.compositeRule=d.compositeRule=w,r+=" if (!"+m+") { for (var "+g+"=startErrs"+i+"; "+g+"<errors; "+g+"++) { vErrors["+g+"].propertyName = "+f+"; }   var err =   ",!1!==e.createErrors?(r+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { propertyName: '"+v+"' } ",!1!==e.opts.messages&&(r+=" , message: 'property name \\'"+v+"\\' is invalid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),u&&(r+=" break; "),r+=" } }"}return u&&(r+="  if ("+p+" == errors) {"),r}),fi),required:(vi||(vi=1,gi=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(o||""),p="valid"+i,d=e.opts.$data&&a&&a.$data;d&&(r+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ");var m="schema"+i;if(!d)if(a.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var f=[],h=a;if(h)for(var g,v=-1,_=h.length-1;v<_;){g=h[v+=1];var y=e.schema.properties[g];y&&(e.opts.strictKeywords?"object"==typeof y&&Object.keys(y).length>0||!1===y:e.util.schemaHasRules(y,e.RULES.all))||(f[f.length]=g)}}else f=a;if(d||f.length){var b=e.errorPath,E=d||f.length>=e.opts.loopRequired,x=e.opts.ownProperties;if(u)if(r+=" var missing"+i+"; ",E){d||(r+=" var "+m+" = validate.schema"+s+"; ");var w="' + "+(C="schema"+i+"["+(k="i"+i)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(b,C,e.opts.jsonPointers)),r+=" var "+p+" = true; ",d&&(r+=" if (schema"+i+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+i+")) "+p+" = false; else {"),r+=" for (var "+k+" = 0; "+k+" < "+m+".length; "+k+"++) { "+p+" = "+l+"["+m+"["+k+"]] !== undefined ",x&&(r+=" &&   Object.prototype.hasOwnProperty.call("+l+", "+m+"["+k+"]) "),r+="; if (!"+p+") break; } ",d&&(r+="  }  "),r+="  if (!"+p+") {   ",(S=S||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+w+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+w+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ";var A=r;r=S.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+A+"]); ":r+=" validate.errors = ["+A+"]; return false; ":r+=" var err = "+A+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var S,T=f;if(T)for(var k=-1,R=T.length-1;k<R;)D=T[k+=1],k&&(r+=" || "),r+=" ( ( "+(M=l+(I=e.util.getProperty(D)))+" === undefined ",x&&(r+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(D)+"') "),r+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?D:I)+") ) ";r+=") {  ",w="' + "+(C="missing"+i)+" + '",e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(b,C,!0):b+" + "+C),(S=S||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+w+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+w+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",A=r,r=S.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+A+"]); ":r+=" validate.errors = ["+A+"]; return false; ":r+=" var err = "+A+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else if(E){var C;d||(r+=" var "+m+" = validate.schema"+s+"; "),w="' + "+(C="schema"+i+"["+(k="i"+i)+"]")+" + '",e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(b,C,e.opts.jsonPointers)),d&&(r+=" if ("+m+" && !Array.isArray("+m+")) {  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+w+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+w+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+m+" !== undefined) { "),r+=" for (var "+k+" = 0; "+k+" < "+m+".length; "+k+"++) { if ("+l+"["+m+"["+k+"]] === undefined ",x&&(r+=" || ! Object.prototype.hasOwnProperty.call("+l+", "+m+"["+k+"]) "),r+=") {  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+w+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+w+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",d&&(r+="  }  ")}else{var O=f;if(O)for(var D,P=-1,F=O.length-1;P<F;){D=O[P+=1];var I=e.util.getProperty(D),M=(w=e.util.escapeQuotes(D),l+I);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(b,D,e.opts.jsonPointers)),r+=" if ( "+M+" === undefined ",x&&(r+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(D)+"') "),r+=") {  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+w+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+w+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=b}else u&&(r+=" if (true) {");return r}),gi),uniqueItems:(yi||(yi=1,_i=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,p="data"+(a||""),d="valid"+o,m=e.opts.$data&&s&&s.$data;if(m?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,(s||m)&&!1!==e.opts.uniqueItems){m&&(i+=" var "+d+"; if ("+r+" === false || "+r+" === undefined) "+d+" = true; else if (typeof "+r+" != 'boolean') "+d+" = false; else { "),i+=" var i = "+p+".length , "+d+" = true , j; if (i > 1) { ";var f=e.schema.items&&e.schema.items.type,h=Array.isArray(f);if(!f||"object"==f||"array"==f||h&&(f.indexOf("object")>=0||f.indexOf("array")>=0))i+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+p+"[i], "+p+"[j])) { "+d+" = false; break outer; } } } ";else{i+=" var itemIndices = {}, item; for (;i--;) { var item = "+p+"[i]; ";var g="checkDataType"+(h?"s":"");i+=" if ("+e.util[g](f,"item",e.opts.strictNumbers,!0)+") continue; ",h&&(i+=" if (typeof item == 'string') item = '\"' + item; "),i+=" if (typeof itemIndices[item] == 'number') { "+d+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}i+=" } ",m&&(i+="  }  "),i+=" if (!"+d+") {   ";var v=v||[];v.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(i+=" , schema:  ",i+=m?"validate.schema"+c:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ";var _=i;i=v.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+_+"]); ":i+=" validate.errors = ["+_+"]; return false; ":i+=" var err = "+_+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",l&&(i+=" else { ")}else l&&(i+=" if (true) { ");return i}),_i),validate:wr()}),bi),t=or().toHash;return xi=function(){var n=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],r=["type","$comment"];return n.all=t(r),n.types=t(["number","integer","string","array","object","boolean","null"]),n.forEach(function(t){t.rules=t.rules.map(function(t){var i;if("object"==typeof t){var o=Object.keys(t)[0];i=t[o],t=o,i.forEach(function(e){r.push(e),n.all[e]=!0})}return r.push(t),n.all[t]={keyword:t,code:e[t],implements:i}}),n.all.$comment={keyword:"$comment",code:e.$comment},t.type&&(n.types[t.type]=t)}),n.keywords=t(r.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),n.custom={},n},xi}function Ni(){if(ki)return Ti;ki=1;var e=Er().MissingRef;return Ti=function t(n,r,i){var o=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof r&&(i=r,r=void 0);var a=s(n).then(function(){var e=o._addSchema(n,void 0,r);return e.validate||c(e)});return i&&a.then(function(e){i(null,e)},i),a;function s(e){var n=e.$schema;return n&&!o.getSchema(n)?t.call(o,{$ref:n},!0):Promise.resolve()}function c(t){try{return o._compile(t)}catch(n){if(n instanceof e)return function(e){var n=e.missingSchema;if(u(n))throw new Error("Schema "+n+" is loaded but "+e.missingRef+" cannot be resolved");var i=o._loadingSchemas[n];return i||(i=o._loadingSchemas[n]=o._opts.loadSchema(n)).then(a,a),i.then(function(e){if(!u(n))return s(e).then(function(){u(n)||o.addSchema(e,n,void 0,r)})}).then(function(){return c(t)});function a(){delete o._loadingSchemas[n]}function u(e){return o._refs[e]||o._schemas[e]}}(n);throw n}}},Ti}var Li,Bi,Ui,Gi,zi={$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};var Vi,ji,qi={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON Schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1},Hi=function(){if(ji)return Vi;ji=1;var e=Ar(),t=br(),n=function(){if(Sr)return Oi.exports;Sr=1;var e=Oi.exports=function(){this._cache={}};return e.prototype.put=function(e,t){this._cache[e]=t},e.prototype.get=function(e){return this._cache[e]},e.prototype.del=function(e){delete this._cache[e]},e.prototype.clear=function(){this._cache={}},Oi.exports}(),r=ar(),i=xr(),o=function(){if(kr)return Tr;kr=1;var e=or(),t=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31],r=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,i=/^(?=.{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,o=/^(?:[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,a=/^(?:(?:[^\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,s=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,c=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,u=/^(?:\/(?:[^~/]|~0|~1)*)*$/,l=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function d(t){return t="full"==t?"full":"fast",e.copy(d[t])}function m(e){var r=e.match(t);if(!r)return!1;var i=+r[1],o=+r[2],a=+r[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:n[o])}function f(e,t){var n=e.match(r);if(!n)return!1;var i=n[1],o=n[2],a=n[3],s=n[5];return(i<=23&&o<=59&&a<=59||23==i&&59==o&&60==a)&&(!t||s)}Tr=d,d.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\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,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":a,url:s,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,hostname:i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[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}))|:)))(?:%.+)?\s*$/i,regex:_,uuid:c,"json-pointer":u,"json-pointer-uri-fragment":l,"relative-json-pointer":p},d.full={date:m,time:f,"date-time":function(e){var t=e.split(h);return 2==t.length&&m(t[0])&&f(t[1],!0)},uri:function(e){return g.test(e)&&o.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":a,url:s,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:i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[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}))|:)))(?:%.+)?\s*$/i,regex:_,uuid:c,"json-pointer":u,"json-pointer-uri-fragment":l,"relative-json-pointer":p};var h=/t|\s/i,g=/\/|:/,v=/[^\\]\\Z/;function _(e){if(v.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}return Tr}(),a=Mi(),s=function(){if(Si)return Ai;Si=1;var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return Ai=function(t,n){for(var r=0;r<n.length;r++){t=JSON.parse(JSON.stringify(t));var i,o=n[r].split("/"),a=t;for(i=1;i<o.length;i++)a=a[o[i]];for(i=0;i<e.length;i++){var s=e[i],c=a[s];c&&(a[s]={anyOf:[c,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return t}}(),c=or();Vi=f,f.prototype.validate=function(e,t){var n;if("string"==typeof e){if(!(n=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var r=this._addSchema(e);n=r.validate||this._compile(r)}var i=n(t);return!0!==n.$async&&(this.errors=n.errors),i},f.prototype.compile=function(e,t){var n=this._addSchema(e,void 0,t);return n.validate||this._compile(n)},f.prototype.addSchema=function(e,n,r,i){if(Array.isArray(e)){for(var o=0;o<e.length;o++)this.addSchema(e[o],void 0,r,i);return this}var a=this._getId(e);if(void 0!==a&&"string"!=typeof a)throw new Error("schema id must be string");return b(this,n=t.normalizeId(n||a)),this._schemas[n]=this._addSchema(e,r,i,!0),this},f.prototype.addMetaSchema=function(e,t,n){return this.addSchema(e,t,n,!0),this},f.prototype.validateSchema=function(e,t){var n=e.$schema;if(void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(!(n=n||this._opts.defaultMeta||function(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(p)?p:void 0,e._opts.defaultMeta}(this)))return this.logger.warn("meta-schema not available"),this.errors=null,!0;var r=this.validate(n,e);if(!r&&t){var i="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(i);this.logger.error(i)}return r},f.prototype.getSchema=function(n){var i=h(this,n);switch(typeof i){case"object":return i.validate||this._compile(i);case"string":return this.getSchema(i);case"undefined":return function(n,i){var o=t.schema.call(n,{schema:{}},i);if(o){var a=o.schema,s=o.root,c=o.baseId,u=e.call(n,a,s,void 0,c);return n._fragments[i]=new r({ref:i,fragment:!0,schema:a,root:s,baseId:c,validate:u}),u}}(this,n)}},f.prototype.removeSchema=function(e){if(e instanceof RegExp)return g(this,this._schemas,e),g(this,this._refs,e),this;switch(typeof e){case"undefined":return g(this,this._schemas),g(this,this._refs),this._cache.clear(),this;case"string":var n=h(this,e);return n&&this._cache.del(n.cacheKey),delete this._schemas[e],delete this._refs[e],this;case"object":var r=this._opts.serialize,i=r?r(e):e;this._cache.del(i);var o=this._getId(e);o&&(o=t.normalizeId(o),delete this._schemas[o],delete this._refs[o])}return this},f.prototype.addFormat=function(e,t){return"string"==typeof t&&(t=new RegExp(t)),this._formats[e]=t,this},f.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var n=void 0===(t=t||{}).separator?", ":t.separator,r=void 0===t.dataVar?"data":t.dataVar,i="",o=0;o<e.length;o++){var a=e[o];a&&(i+=r+a.dataPath+" "+a.message+n)}return i.slice(0,-n.length)},f.prototype._addSchema=function(e,n,i,o){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var a=this._opts.serialize,s=a?a(e):e,c=this._cache.get(s);if(c)return c;o=o||!1!==this._opts.addUsedSchema;var u=t.normalizeId(this._getId(e));u&&o&&b(this,u);var l,p=!1!==this._opts.validateSchema&&!n;p&&!(l=u&&u==t.normalizeId(e.$schema))&&this.validateSchema(e,!0);var d=t.ids.call(this,e),m=new r({id:u,schema:e,localRefs:d,cacheKey:s,meta:i});return"#"!=u[0]&&o&&(this._refs[u]=m),this._cache.put(s,m),p&&l&&this.validateSchema(e,!0),m},f.prototype._compile=function(t,n){if(t.compiling)return t.validate=o,o.schema=t.schema,o.errors=null,o.root=n||o,!0===t.schema.$async&&(o.$async=!0),o;var r,i;t.compiling=!0,t.meta&&(r=this._opts,this._opts=this._metaOpts);try{i=e.call(this,t.schema,n,t.localRefs)}catch(e){throw delete t.validate,e}finally{t.compiling=!1,t.meta&&(this._opts=r)}return t.validate=i,t.refs=i.refs,t.refVal=i.refVal,t.root=i.root,i;function o(){var e=t.validate,n=e.apply(this,arguments);return o.errors=e.errors,n}},f.prototype.compileAsync=Ni();var u=function(){if(Gi)return Ui;Gi=1;var e=/^[a-z_$][a-z0-9_$-]*$/i,t=(Ci||(Ci=1,Ri=function(e,t,n){var r,i,o=" ",a=e.level,s=e.dataLevel,c=e.schema[t],u=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,d="data"+(s||""),m="valid"+a,f="errs__"+a,h=e.opts.$data&&c&&c.$data;h?(o+=" var schema"+a+" = "+e.util.getData(c.$data,s,e.dataPathArr)+"; ",i="schema"+a):i=c;var g,v,_,y,b,E=this,x="definition"+a,w=E.definition,A="";if(h&&w.$data){b="keywordValidate"+a;var S=w.validateSchema;o+=" var "+x+" = RULES.custom['"+t+"'].definition; var "+b+" = "+x+".validate;"}else{if(!(y=e.useCustomRule(E,c,e.schema,e)))return;i="validate.schema"+u,b=y.code,g=w.compile,v=w.inline,_=w.macro}var T=b+".errors",k="i"+a,R="ruleErr"+a,C=w.async;if(C&&!e.async)throw new Error("async keyword in sync schema");if(v||_||(o+=T+" = null;"),o+="var "+f+" = errors;var "+m+";",h&&w.$data&&(A+="}",o+=" if ("+i+" === undefined) { "+m+" = true; } else { ",S&&(A+="}",o+=" "+m+" = "+x+".validateSchema("+i+"); if ("+m+") { ")),v)w.statements?o+=" "+y.validate+" ":o+=" "+m+" = "+y.validate+"; ";else if(_){var O=e.util.copy(e);A="",O.level++;var D="valid"+O.level;O.schema=y.validate,O.schemaPath="";var P=e.compositeRule;e.compositeRule=O.compositeRule=!0;var F=e.validate(O).replace(/validate\.schema/g,b);e.compositeRule=O.compositeRule=P,o+=" "+F}else{(L=L||[]).push(o),o="",o+="  "+b+".call( ",e.opts.passContext?o+="this":o+="self",g||!1===w.schema?o+=" , "+d+" ":o+=" , "+i+" , "+d+" , validate.schema"+e.schemaPath+" ",o+=" , (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var I=s?"data"+(s-1||""):"parentData",M=s?e.dataPathArr[s]:"parentDataProperty",N=o+=" , "+I+" , "+M+" , rootData )  ";o=L.pop(),!1===w.errors?(o+=" "+m+" = ",C&&(o+="await "),o+=N+"; "):o+=C?" var "+(T="customErrors"+a)+" = null; try { "+m+" = await "+N+"; } catch (e) { "+m+" = false; if (e instanceof ValidationError) "+T+" = e.errors; else throw e; } ":" "+T+" = null; "+m+" = "+N+"; "}if(w.modifying&&(o+=" if ("+I+") "+d+" = "+I+"["+M+"];"),o+=""+A,w.valid)p&&(o+=" if (true) { ");else{var L;o+=" if ( ",void 0===w.valid?(o+=" !",o+=_?""+D:""+m):o+=" "+!w.valid+" ",o+=") { ",r=E.keyword,(L=L||[]).push(o),o="",(L=L||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(r||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+E.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+E.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";var B=o;o=L.pop(),!e.compositeRule&&p?e.async?o+=" throw new ValidationError(["+B+"]); ":o+=" validate.errors = ["+B+"]; return false; ":o+=" var err = "+B+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var U=o;o=L.pop(),v?w.errors?"full"!=w.errors&&(o+="  for (var "+k+"="+f+"; "+k+"<errors; "+k+"++) { var "+R+" = vErrors["+k+"]; if ("+R+".dataPath === undefined) "+R+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+R+".schemaPath === undefined) { "+R+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(o+=" "+R+".schema = "+i+"; "+R+".data = "+d+"; "),o+=" } "):!1===w.errors?o+=" "+U+" ":(o+=" if ("+f+" == errors) { "+U+" } else {  for (var "+k+"="+f+"; "+k+"<errors; "+k+"++) { var "+R+" = vErrors["+k+"]; if ("+R+".dataPath === undefined) "+R+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+R+".schemaPath === undefined) { "+R+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(o+=" "+R+".schema = "+i+"; "+R+".data = "+d+"; "),o+=" } } "):_?(o+="   var err =   ",!1!==e.createErrors?(o+=" { keyword: '"+(r||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+E.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+E.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ",o+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?o+=" throw new ValidationError(vErrors); ":o+=" validate.errors = vErrors; return false; ")):!1===w.errors?o+=" "+U+" ":(o+=" if (Array.isArray("+T+")) { if (vErrors === null) vErrors = "+T+"; else vErrors = vErrors.concat("+T+"); errors = vErrors.length;  for (var "+k+"="+f+"; "+k+"<errors; "+k+"++) { var "+R+" = vErrors["+k+"]; if ("+R+".dataPath === undefined) "+R+".dataPath = (dataPath || '') + "+e.errorPath+";  "+R+'.schemaPath = "'+l+'";  ',e.opts.verbose&&(o+=" "+R+".schema = "+i+"; "+R+".data = "+d+"; "),o+=" } } else { "+U+" } "),o+=" } ",p&&(o+=" else { ")}return o}),Ri),n=function(){if(Bi)return Li;Bi=1;var e=zi;return Li={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:e.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:e.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}}();return Ui={add:function(n,r){var i=this.RULES;if(i.keywords[n])throw new Error("Keyword "+n+" is already defined");if(!e.test(n))throw new Error("Keyword "+n+" is not a valid identifier");if(r){this.validateKeyword(r,!0);var o=r.type;if(Array.isArray(o))for(var a=0;a<o.length;a++)c(n,o[a],r);else c(n,o,r);var s=r.metaSchema;s&&(r.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),r.validateSchema=this.compile(s,!0))}function c(e,n,r){for(var o,a=0;a<i.length;a++){var s=i[a];if(s.type==n){o=s;break}}o||(o={type:n,rules:[]},i.push(o));var c={keyword:e,definition:r,custom:!0,code:t,implements:r.implements};o.rules.push(c),i.custom[e]=c}return i.keywords[n]=i.all[n]=!0,this},get:function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},remove:function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var n=0;n<t.length;n++)for(var r=t[n].rules,i=0;i<r.length;i++)if(r[i].keyword==e){r.splice(i,1);break}return this},validate:function e(t,r){e.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(n,!0);if(i(t))return!0;if(e.errors=i.errors,r)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}},Ui}();f.prototype.addKeyword=u.add,f.prototype.getKeyword=u.get,f.prototype.removeKeyword=u.remove,f.prototype.validateKeyword=u.validate;var l=Er();f.ValidationError=l.Validation,f.MissingRefError=l.MissingRef,f.$dataMetaSchema=s;var p="http://json-schema.org/draft-07/schema",d=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],m=["/properties"];function f(e){if(!(this instanceof f))return new f(e);e=this._opts=c.copy(e)||{},function(e){var t=e._opts.logger;if(!1===t)e.logger={log:E,warn:E,error:E};else{if(void 0===t&&(t=console),!("object"==typeof t&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}(this),this._schemas={},this._refs={},this._fragments={},this._formats=o(e.format),this._cache=e.cache||new n,this._loadingSchemas={},this._compilations=[],this.RULES=a(),this._getId=function(e){switch(e.schemaId){case"auto":return y;case"id":return v;default:return _}}(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=i),this._metaOpts=function(e){for(var t=c.copy(e._opts),n=0;n<d.length;n++)delete t[d[n]];return t}(this),e.formats&&function(e){for(var t in e._opts.formats){var n=e._opts.formats[t];e.addFormat(t,n)}}(this),e.keywords&&function(e){for(var t in e._opts.keywords){var n=e._opts.keywords[t];e.addKeyword(t,n)}}(this),function(e){var t;if(e._opts.$data&&(t=qi,e.addMetaSchema(t,t.$id,!0)),!1!==e._opts.meta){var n=zi;e._opts.$data&&(n=s(n,m)),e.addMetaSchema(n,p,!0),e._refs["http://json-schema.org/schema"]=p}}(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),function(e){var t=e._opts.schemas;if(t)if(Array.isArray(t))e.addSchema(t);else for(var n in t)e.addSchema(t[n],n)}(this)}function h(e,n){return n=t.normalizeId(n),e._schemas[n]||e._refs[n]||e._fragments[n]}function g(e,t,n){for(var r in t){var i=t[r];i.meta||n&&!n.test(r)||(e._cache.del(i.cacheKey),delete t[r])}}function v(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id),e.id}function _(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function y(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function b(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function E(){}return Vi}(),Ki=Kn(Hi);class $i extends qn{constructor(e,t){var n;super(t),this._serverInfo=e,this._capabilities=null!==(n=null==t?void 0:t.capabilities)&&void 0!==n?n:{},this._instructions=null==t?void 0:t.instructions,this.setRequestHandler(Pt,e=>this._oninitialize(e)),this.setNotificationHandler(Mt,()=>{var e;return null===(e=this.oninitialized)||void 0===e?void 0:e.call(this)})}registerCapabilities(e){if(this.transport)throw new Error("Cannot register capabilities after connecting to transport");var t,n;this._capabilities=(t=this._capabilities,n=e,Object.entries(n).reduce((e,[t,n])=>(e[t]=n&&"object"==typeof n&&e[t]?{...e[t],...n}:n,e),{...t}))}assertCapabilityForMethod(e){var t,n,r;switch(e){case"sampling/createMessage":if(!(null===(t=this._clientCapabilities)||void 0===t?void 0:t.sampling))throw new Error(`Client does not support sampling (required for ${e})`);break;case"elicitation/create":if(!(null===(n=this._clientCapabilities)||void 0===n?void 0:n.elicitation))throw new Error(`Client does not support elicitation (required for ${e})`);break;case"roots/list":if(!(null===(r=this._clientCapabilities)||void 0===r?void 0:r.roots))throw new Error(`Client does not support listing roots (required for ${e})`)}}assertNotificationCapability(e){switch(e){case"notifications/message":if(!this._capabilities.logging)throw new Error(`Server does not support logging (required for ${e})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw new Error(`Server does not support notifying about resources (required for ${e})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw new Error(`Server does not support notifying of tool list changes (required for ${e})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw new Error(`Server does not support notifying of prompt list changes (required for ${e})`)}}assertRequestHandlerCapability(e){switch(e){case"sampling/createMessage":if(!this._capabilities.sampling)throw new Error(`Server does not support sampling (required for ${e})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw new Error(`Server does not support logging (required for ${e})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw new 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 new Error(`Server does not support resources (required for ${e})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw new Error(`Server does not support tools (required for ${e})`)}}async _oninitialize(e){const t=e.params.protocolVersion;return this._clientCapabilities=e.params.capabilities,this._clientVersion=e.params.clientInfo,{protocolVersion:ut.includes(t)?t:ct,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"},kt)}async createMessage(e,t){return this.request({method:"sampling/createMessage",params:e},Dn,t)}async elicitInput(e,t){const n=await this.request({method:"elicitation/create",params:e},In,t);if("accept"===n.action&&n.content)try{const t=new Ki,r=t.compile(e.requestedSchema);if(!r(n.content))throw new jn(At.InvalidParams,`Elicitation response content does not match requested schema: ${t.errorsText(r.errors)}`)}catch(e){if(e instanceof jn)throw e;throw new jn(At.InternalError,`Error validating elicitation response: ${e}`)}return n}async listRoots(e,t){return this.request({method:"roots/list",params:e},zn,t)}async sendLoggingMessage(e){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 Wi=Symbol("Let zodToJsonSchema decide on which parser to use"),Xi={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 Yi(e,t,n,r){r?.errorMessages&&n&&(e.errorMessage={...e.errorMessage,[t]:n})}function Zi(e,t,n,r,i){e[t]=n,Yi(e,t,r,i)}const Qi=(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 Ji(e){if("openAi"!==e.target)return{};const t=[...e.basePath,e.definitionPath,e.openAiAnyTypeName];return e.flags.hasReferencedOpenAiAnyType=!0,{$ref:"relative"===e.$refStrategy?Qi(t,e.currentPath):t.join("/")}}function eo(e,t){return ko(e.type._def,t)}function to(e,t,n){const r=n??t.dateStrategy;if(Array.isArray(r))return{anyOf:r.map((n,r)=>to(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 no(e,t)}}const no=(e,t)=>{const n={type:"integer",format:"unix-time"};if("openApi3"===t.target)return n;for(const r of e.checks)switch(r.kind){case"min":Zi(n,"minimum",r.value,r.message,t);break;case"max":Zi(n,"maximum",r.value,r.message,t)}return n};let ro;const io=/^[cC][^\s-]{8,}$/,oo=/^[0-9a-z]+$/,ao=/^[0-9A-HJKMNP-TV-Z]{26}$/,so=/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,co=()=>(void 0===ro&&(ro=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),ro),uo=/^(?:(?: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])$/,lo=/^(([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])$/,po=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,mo=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,fo=/^[a-zA-Z0-9_-]{21}$/,ho=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/;function go(e,t){const n={type:"string"};if(e.checks)for(const r of e.checks)switch(r.kind){case"min":Zi(n,"minLength","number"==typeof n.minLength?Math.max(n.minLength,r.value):r.value,r.message,t);break;case"max":Zi(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":yo(n,"email",r.message,t);break;case"format:idn-email":yo(n,"idn-email",r.message,t);break;case"pattern:zod":bo(n,so,r.message,t)}break;case"url":yo(n,"uri",r.message,t);break;case"uuid":yo(n,"uuid",r.message,t);break;case"regex":bo(n,r.regex,r.message,t);break;case"cuid":bo(n,io,r.message,t);break;case"cuid2":bo(n,oo,r.message,t);break;case"startsWith":bo(n,RegExp(`^${vo(r.value,t)}`),r.message,t);break;case"endsWith":bo(n,RegExp(`${vo(r.value,t)}$`),r.message,t);break;case"datetime":yo(n,"date-time",r.message,t);break;case"date":yo(n,"date",r.message,t);break;case"time":yo(n,"time",r.message,t);break;case"duration":yo(n,"duration",r.message,t);break;case"length":Zi(n,"minLength","number"==typeof n.minLength?Math.max(n.minLength,r.value):r.value,r.message,t),Zi(n,"maxLength","number"==typeof n.maxLength?Math.min(n.maxLength,r.value):r.value,r.message,t);break;case"includes":bo(n,RegExp(vo(r.value,t)),r.message,t);break;case"ip":"v6"!==r.version&&yo(n,"ipv4",r.message,t),"v4"!==r.version&&yo(n,"ipv6",r.message,t);break;case"base64url":bo(n,mo,r.message,t);break;case"jwt":bo(n,ho,r.message,t);break;case"cidr":"v6"!==r.version&&bo(n,uo,r.message,t),"v4"!==r.version&&bo(n,lo,r.message,t);break;case"emoji":bo(n,co(),r.message,t);break;case"ulid":bo(n,ao,r.message,t);break;case"base64":switch(t.base64Strategy){case"format:binary":yo(n,"binary",r.message,t);break;case"contentEncoding:base64":Zi(n,"contentEncoding","base64",r.message,t);break;case"pattern:zod":bo(n,po,r.message,t)}break;case"nanoid":bo(n,fo,r.message,t)}return n}function vo(e,t){return"escape"===t.patternStrategy?function(e){let t="";for(let n=0;n<e.length;n++)_o.has(e[n])||(t+="\\"),t+=e[n];return t}(e):e}const _o=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function yo(e,t,n,r){e.format||e.anyOf?.some(e=>e.format)?(e.anyOf||(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}}})):Zi(e,"format",t,n,r)}function bo(e,t,n,r){e.pattern||e.allOf?.some(e=>e.pattern)?(e.allOf||(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:Eo(t,r),...n&&r.errorMessages&&{errorMessage:{pattern:n}}})):Zi(e,"pattern",Eo(t,r),n,r)}function Eo(e,t){if(!t.applyRegexFlags||!e.flags)return e.source;const n=e.flags.includes("i"),r=e.flags.includes("m"),i=e.flags.includes("s"),o=n?e.source.toLowerCase():e.source;let a="",s=!1,c=!1,u=!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]/)){u?(a+=o[e],a+=`${o[e-2]}-${o[e]}`.toUpperCase(),u=!1):"-"===o[e+1]&&o[e+2]?.match(/[a-z]/)?(a+=o[e],u=!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 e.source}return a}function xo(e,t){if(t.target,"openApi3"===t.target&&e.keyType?._def.typeName===We.ZodEnum)return{type:"object",required:e.keyType._def.values,properties:e.keyType._def.values.reduce((n,r)=>({...n,[r]:ko(e.valueType._def,{...t,currentPath:[...t.currentPath,"properties",r]})??Ji(t)}),{}),additionalProperties:t.rejectedAdditionalProperties};const n={type:"object",additionalProperties:ko(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??t.allowedAdditionalProperties};if("openApi3"===t.target)return n;if(e.keyType?._def.typeName===We.ZodString&&e.keyType._def.checks?.length){const{type:r,...i}=go(e.keyType._def,t);return{...n,propertyNames:i}}if(e.keyType?._def.typeName===We.ZodEnum)return{...n,propertyNames:{enum:e.keyType._def.values}};if(e.keyType?._def.typeName===We.ZodBranded&&e.keyType._def.type._def.typeName===We.ZodString&&e.keyType._def.type._def.checks?.length){const{type:r,...i}=eo(e.keyType._def,t);return{...n,propertyNames:i}}return n}const wo={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"},Ao=(e,t)=>{const n=(e.options instanceof Map?Array.from(e.options.values()):e.options).map((e,n)=>ko(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 So(e){try{return e.isOptional()}catch{return!0}}const To=(e,t,n)=>{switch(t){case We.ZodString:return go(e,n);case We.ZodNumber:return function(e,t){const n={type:"number"};if(!e.checks)return n;for(const r of e.checks)switch(r.kind){case"int":n.type="integer",Yi(n,"type",r.message,t);break;case"min":"jsonSchema7"===t.target?r.inclusive?Zi(n,"minimum",r.value,r.message,t):Zi(n,"exclusiveMinimum",r.value,r.message,t):(r.inclusive||(n.exclusiveMinimum=!0),Zi(n,"minimum",r.value,r.message,t));break;case"max":"jsonSchema7"===t.target?r.inclusive?Zi(n,"maximum",r.value,r.message,t):Zi(n,"exclusiveMaximum",r.value,r.message,t):(r.inclusive||(n.exclusiveMaximum=!0),Zi(n,"maximum",r.value,r.message,t));break;case"multipleOf":Zi(n,"multipleOf",r.value,r.message,t)}return n}(e,n);case We.ZodObject:return function(e,t){const n="openAi"===t.target,r={type:"object",properties:{}},i=[],o=e.shape();for(const e in o){let a=o[e];if(void 0===a||void 0===a._def)continue;let s=So(a);s&&n&&("ZodOptional"===a._def.typeName&&(a=a._def.innerType),a.isNullable()||(a=a.nullable()),s=!1);const c=ko(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);const a=function(e,t){if("ZodNever"!==e.catchall._def.typeName)return ko(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 We.ZodBigInt:return function(e,t){const n={type:"integer",format:"int64"};if(!e.checks)return n;for(const r of e.checks)switch(r.kind){case"min":"jsonSchema7"===t.target?r.inclusive?Zi(n,"minimum",r.value,r.message,t):Zi(n,"exclusiveMinimum",r.value,r.message,t):(r.inclusive||(n.exclusiveMinimum=!0),Zi(n,"minimum",r.value,r.message,t));break;case"max":"jsonSchema7"===t.target?r.inclusive?Zi(n,"maximum",r.value,r.message,t):Zi(n,"exclusiveMaximum",r.value,r.message,t):(r.inclusive||(n.exclusiveMaximum=!0),Zi(n,"maximum",r.value,r.message,t));break;case"multipleOf":Zi(n,"multipleOf",r.value,r.message,t)}return n}(e,n);case We.ZodBoolean:return{type:"boolean"};case We.ZodDate:return to(e,n);case We.ZodUndefined:return function(e){return{not:Ji(e)}}(n);case We.ZodNull:return function(e){return"openApi3"===e.target?{enum:["null"],nullable:!0}:{type:"null"}}(n);case We.ZodArray:return function(e,t){const n={type:"array"};return e.type?._def&&e.type?._def?.typeName!==We.ZodAny&&(n.items=ko(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&Zi(n,"minItems",e.minLength.value,e.minLength.message,t),e.maxLength&&Zi(n,"maxItems",e.maxLength.value,e.maxLength.message,t),e.exactLength&&(Zi(n,"minItems",e.exactLength.value,e.exactLength.message,t),Zi(n,"maxItems",e.exactLength.value,e.exactLength.message,t)),n}(e,n);case We.ZodUnion:case We.ZodDiscriminatedUnion:return function(e,t){if("openApi3"===t.target)return Ao(e,t);const n=e.options instanceof Map?Array.from(e.options.values()):e.options;if(n.every(e=>e._def.typeName in wo&&(!e._def.checks||!e._def.checks.length))){const e=n.reduce((e,t)=>{const n=wo[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)){const e=n.reduce((e,t)=>{const 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){const 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 Ao(e,t)}(e,n);case We.ZodIntersection:return function(e,t){const n=[ko(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),ko(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(e=>!!e);let r="jsonSchema2019-09"===t.target?{unevaluatedProperties:!1}:void 0;const 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){const{additionalProperties:n,...r}=e;t=r}else r=void 0;i.push(t)}}),i.length?{allOf:i,...r}:void 0}(e,n);case We.ZodTuple:return function(e,t){return e.rest?{type:"array",minItems:e.items.length,items:e.items.map((e,n)=>ko(e._def,{...t,currentPath:[...t.currentPath,"items",`${n}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[]),additionalItems:ko(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map((e,n)=>ko(e._def,{...t,currentPath:[...t.currentPath,"items",`${n}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[])}}(e,n);case We.ZodRecord:return xo(e,n);case We.ZodLiteral:return function(e,t){const 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 We.ZodEnum:return function(e){return{type:"string",enum:Array.from(e.values)}}(e);case We.ZodNativeEnum:return function(e){const 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 We.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:wo[e.innerType._def.typeName],nullable:!0}:{type:[wo[e.innerType._def.typeName],"null"]};if("openApi3"===t.target){const n=ko(e.innerType._def,{...t,currentPath:[...t.currentPath]});return n&&"$ref"in n?{allOf:[n],nullable:!0}:n&&{...n,nullable:!0}}const n=ko(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return n&&{anyOf:[n,{type:"null"}]}}(e,n);case We.ZodOptional:return((e,t)=>{if(t.currentPath.toString()===t.propertyPath?.toString())return ko(e.innerType._def,t);const n=ko(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return n?{anyOf:[{not:Ji(t)},n]}:Ji(t)})(e,n);case We.ZodMap:return function(e,t){return"record"===t.mapStrategy?xo(e,t):{type:"array",maxItems:125,items:{type:"array",items:[ko(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||Ji(t),ko(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||Ji(t)],minItems:2,maxItems:2}}}(e,n);case We.ZodSet:return function(e,t){const n={type:"array",uniqueItems:!0,items:ko(e.valueType._def,{...t,currentPath:[...t.currentPath,"items"]})};return e.minSize&&Zi(n,"minItems",e.minSize.value,e.minSize.message,t),e.maxSize&&Zi(n,"maxItems",e.maxSize.value,e.maxSize.message,t),n}(e,n);case We.ZodLazy:return()=>e.getter()._def;case We.ZodPromise:return function(e,t){return ko(e.type._def,t)}(e,n);case We.ZodNaN:case We.ZodNever:return function(e){return"openAi"===e.target?void 0:{not:Ji({...e,currentPath:[...e.currentPath,"not"]})}}(n);case We.ZodEffects:return function(e,t){return"input"===t.effectStrategy?ko(e.schema._def,t):Ji(t)}(e,n);case We.ZodAny:return Ji(n);case We.ZodUnknown:return function(e){return Ji(e)}(n);case We.ZodDefault:return function(e,t){return{...ko(e.innerType._def,t),default:e.defaultValue()}}(e,n);case We.ZodBranded:return eo(e,n);case We.ZodReadonly:case We.ZodCatch:return((e,t)=>ko(e.innerType._def,t))(e,n);case We.ZodPipeline:return((e,t)=>{if("input"===t.pipeStrategy)return ko(e.in._def,t);if("output"===t.pipeStrategy)return ko(e.out._def,t);const n=ko(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]});return{allOf:[n,ko(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",n?"1":"0"]})].filter(e=>void 0!==e)}})(e,n);case We.ZodFunction:case We.ZodVoid:case We.ZodSymbol:default:return}};function ko(e,t,n=!1){const r=t.seen.get(e);if(t.override){const i=t.override?.(e,t,r,n);if(i!==Wi)return i}if(r&&!n){const e=Ro(r,t);if(void 0!==e)return e}const i={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,i);const o=To(e,e.typeName,t),a="function"==typeof o?ko(o(),t):o;if(a&&Co(e,t,a),t.postProcess){const n=t.postProcess(a,e,t);return i.jsonSchema=a,n}return i.jsonSchema=a,a}const Ro=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:Qi(t.currentPath,e.path)};case"none":case"seen":return e.path.length<t.currentPath.length&&e.path.every((e,n)=>t.currentPath[n]===e)||"seen"===t.$refStrategy?Ji(t):void 0}},Co=(e,t,n)=>(e.description&&(n.description=e.description,t.markdownDescription&&(n.markdownDescription=e.description)),n),Oo=(e,t)=>{const n=(e=>{const t=(e=>"string"==typeof e?{...Xi,name:e}:{...Xi,...e})(e),n=void 0!==t.name?[...t.basePath,t.definitionPath,t.name]:t.basePath;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);let r="object"==typeof t&&t.definitions?Object.entries(t.definitions).reduce((e,[t,r])=>({...e,[t]:ko(r._def,{...n,currentPath:[...n.basePath,n.definitionPath,t]},!0)??Ji(n)}),{}):void 0;const i="string"==typeof t?t:"title"===t?.nameStrategy?void 0:t?.name,o=ko(e._def,void 0===i?n:{...n,currentPath:[...n.basePath,n.definitionPath,i]},!1)??Ji(n),a="object"==typeof t&&void 0!==t.name&&"title"===t.nameStrategy?t.name:void 0;void 0!==a&&(o.title=a),n.flags.hasReferencedOpenAiAnyType&&(r||(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("/")}}));const 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)),s};var Do;!function(e){e.Completable="McpCompletable"}(Do||(Do={}));class Po extends B{_parse(e){const{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}}function Fo(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new 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)=>{var o,a;const{message:s}=e;return"invalid_enum_value"===t.code?{message:null!=s?s:i.defaultError}:void 0===i.data?{message:null!==(o=null!=s?s:r)&&void 0!==o?o:i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:null!==(a=null!=s?s:n)&&void 0!==a?a:i.defaultError}},description:i}}Po.create=(e,t)=>new Po({type:e,typeName:Do.Completable,complete:t.complete,...Fo(t)});class Io{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 $i(e,t)}async connect(e){return await this.server.connect(e)}async close(){await this.server.close()}setToolRequestHandlers(){this._toolHandlersInitialized||(this.server.assertCanSetRequestHandler(yn.shape.method.value),this.server.assertCanSetRequestHandler(xn.shape.method.value),this.server.registerCapabilities({tools:{listChanged:!0}}),this.server.setRequestHandler(yn,()=>({tools:Object.entries(this._registeredTools).filter(([,e])=>e.enabled).map(([e,t])=>{const n={name:e,title:t.title,description:t.description,inputSchema:t.inputSchema?Oo(t.inputSchema,{strictUnions:!0}):Mo,annotations:t.annotations};return t.outputSchema&&(n.outputSchema=Oo(t.outputSchema,{strictUnions:!0})),n})})),this.server.setRequestHandler(xn,async(e,t)=>{const n=this._registeredTools[e.params.name];if(!n)throw new jn(At.InvalidParams,`Tool ${e.params.name} not found`);if(!n.enabled)throw new jn(At.InvalidParams,`Tool ${e.params.name} disabled`);let r;if(n.inputSchema){const i=await n.inputSchema.safeParseAsync(e.params.arguments);if(!i.success)throw new jn(At.InvalidParams,`Invalid arguments for tool ${e.params.name}: ${i.error.message}`);const o=i.data,a=n.callback;try{r=await Promise.resolve(a(o,t))}catch(e){r={content:[{type:"text",text:e instanceof Error?e.message:String(e)}],isError:!0}}}else{const e=n.callback;try{r=await Promise.resolve(e(t))}catch(e){r={content:[{type:"text",text:e instanceof Error?e.message:String(e)}],isError:!0}}}if(n.outputSchema&&!r.isError){if(!r.structuredContent)throw new jn(At.InvalidParams,`Tool ${e.params.name} has an output schema but no structured content was provided`);const t=await n.outputSchema.safeParseAsync(r.structuredContent);if(!t.success)throw new jn(At.InvalidParams,`Invalid structured content for tool ${e.params.name}: ${t.error.message}`)}return r}),this._toolHandlersInitialized=!0)}setCompletionRequestHandler(){this._completionHandlerInitialized||(this.server.assertCanSetRequestHandler(Ln.shape.method.value),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler(Ln,async e=>{switch(e.params.ref.type){case"ref/prompt":return this.handlePromptCompletion(e,e.params.ref);case"ref/resource":return this.handleResourceCompletion(e,e.params.ref);default:throw new jn(At.InvalidParams,`Invalid completion reference: ${e.params.ref}`)}}),this._completionHandlerInitialized=!0)}async handlePromptCompletion(e,t){const n=this._registeredPrompts[t.name];if(!n)throw new jn(At.InvalidParams,`Prompt ${t.name} not found`);if(!n.enabled)throw new jn(At.InvalidParams,`Prompt ${t.name} disabled`);if(!n.argsSchema)return Uo;const r=n.argsSchema.shape[e.params.argument.name];if(!(r instanceof Po))return Uo;const i=r._def;return Bo(await i.complete(e.params.argument.value,e.params.context))}async handleResourceCompletion(e,t){const n=Object.values(this._registeredResourceTemplates).find(e=>e.resourceTemplate.uriTemplate.toString()===t.uri);if(!n){if(this._registeredResources[t.uri])return Uo;throw new jn(At.InvalidParams,`Resource template ${e.params.ref.uri} not found`)}const r=n.resourceTemplate.completeCallback(e.params.argument.name);return r?Bo(await r(e.params.argument.value,e.params.context)):Uo}setResourceRequestHandlers(){this._resourceHandlersInitialized||(this.server.assertCanSetRequestHandler($t.shape.method.value),this.server.assertCanSetRequestHandler(Xt.shape.method.value),this.server.assertCanSetRequestHandler(Zt.shape.method.value),this.server.registerCapabilities({resources:{listChanged:!0}}),this.server.setRequestHandler($t,async(e,t)=>{const n=Object.entries(this._registeredResources).filter(([e,t])=>t.enabled).map(([e,t])=>({uri:e,name:t.name,...t.metadata})),r=[];for(const e of Object.values(this._registeredResourceTemplates)){if(!e.resourceTemplate.listCallback)continue;const n=await e.resourceTemplate.listCallback(t);for(const t of n.resources)r.push({...e.metadata,...t})}return{resources:[...n,...r]}}),this.server.setRequestHandler(Xt,async()=>({resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([e,t])=>({name:e,uriTemplate:t.resourceTemplate.uriTemplate.toString(),...t.metadata}))})),this.server.setRequestHandler(Zt,async(e,t)=>{const n=new URL(e.params.uri),r=this._registeredResources[n.toString()];if(r){if(!r.enabled)throw new jn(At.InvalidParams,`Resource ${n} disabled`);return r.readCallback(n,t)}for(const e of Object.values(this._registeredResourceTemplates)){const r=e.resourceTemplate.uriTemplate.match(n.toString());if(r)return e.readCallback(n,r,t)}throw new jn(At.InvalidParams,`Resource ${n} not found`)}),this.setCompletionRequestHandler(),this._resourceHandlersInitialized=!0)}setPromptRequestHandlers(){this._promptHandlersInitialized||(this.server.assertCanSetRequestHandler(an.shape.method.value),this.server.assertCanSetRequestHandler(cn.shape.method.value),this.server.registerCapabilities({prompts:{listChanged:!0}}),this.server.setRequestHandler(an,()=>({prompts:Object.entries(this._registeredPrompts).filter(([,e])=>e.enabled).map(([e,t])=>{return{name:e,title:t.title,description:t.description,arguments:t.argsSchema?(n=t.argsSchema,Object.entries(n.shape).map(([e,t])=>({name:e,description:t.description,required:!t.isOptional()}))):void 0};var n})})),this.server.setRequestHandler(cn,async(e,t)=>{const n=this._registeredPrompts[e.params.name];if(!n)throw new jn(At.InvalidParams,`Prompt ${e.params.name} not found`);if(!n.enabled)throw new jn(At.InvalidParams,`Prompt ${e.params.name} disabled`);if(n.argsSchema){const r=await n.argsSchema.safeParseAsync(e.params.arguments);if(!r.success)throw new jn(At.InvalidParams,`Invalid arguments for prompt ${e.params.name}: ${r.error.message}`);const i=r.data,o=n.callback;return await Promise.resolve(o(i,t))}{const e=n.callback;return await Promise.resolve(e(t))}}),this.setCompletionRequestHandler(),this._promptHandlersInitialized=!0)}resource(e,t,...n){let r;"object"==typeof n[0]&&(r=n.shift());const i=n[0];if("string"==typeof t){if(this._registeredResources[t])throw new Error(`Resource ${t} is already registered`);const n=this._createRegisteredResource(e,void 0,t,r,i);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),n}{if(this._registeredResourceTemplates[e])throw new Error(`Resource template ${e} is already registered`);const 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 new Error(`Resource ${t} is already registered`);const i=this._createRegisteredResource(e,n.title,t,n,r);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),i}{if(this._registeredResourceTemplates[e])throw new Error(`Resource template ${e} is already registered`);const i=this._createRegisteredResourceTemplate(e,n.title,t,n,r);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),i}}_createRegisteredResource(e,t,n,r,i){const 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){const 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()}};return this._registeredResourceTemplates[e]=o,o}_createRegisteredPrompt(e,t,n,r,i){const o={title:t,description:n,argsSchema:void 0===r?void 0:tt(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=tt(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,o}_createRegisteredTool(e,t,n,r,i,o,a){const s={title:t,description:n,inputSchema:void 0===r?void 0:tt(r),outputSchema:void 0===i?void 0:tt(i),annotations:o,callback:a,enabled:!0,disable:()=>s.update({enabled:!1}),enable:()=>s.update({enabled:!0}),remove:()=>s.update({name:null}),update:t=>{void 0!==t.name&&t.name!==e&&(delete this._registeredTools[e],t.name&&(this._registeredTools[t.name]=s)),void 0!==t.title&&(s.title=t.title),void 0!==t.description&&(s.description=t.description),void 0!==t.paramsSchema&&(s.inputSchema=tt(t.paramsSchema)),void 0!==t.callback&&(s.callback=t.callback),void 0!==t.annotations&&(s.annotations=t.annotations),void 0!==t.enabled&&(s.enabled=t.enabled),this.sendToolListChanged()}};return this._registeredTools[e]=s,this.setToolRequestHandlers(),this.sendToolListChanged(),s}tool(e,...t){if(this._registeredTools[e])throw new Error(`Tool ${e} is already registered`);let n,r,i;if("string"==typeof t[0]&&(n=t.shift()),t.length>1){const e=t[0];No(e)?(r=t.shift(),t.length>1&&"object"==typeof t[0]&&null!==t[0]&&!No(t[0])&&(i=t.shift())):"object"==typeof e&&null!==e&&(i=t.shift())}const o=t[0];return this._createRegisteredTool(e,void 0,n,r,void 0,i,o)}registerTool(e,t,n){if(this._registeredTools[e])throw new Error(`Tool ${e} is already registered`);const{title:r,description:i,inputSchema:o,outputSchema:a,annotations:s}=t;return this._createRegisteredTool(e,r,i,o,a,s,n)}prompt(e,...t){if(this._registeredPrompts[e])throw new Error(`Prompt ${e} is already registered`);let n,r;"string"==typeof t[0]&&(n=t.shift()),t.length>1&&(r=t.shift());const 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 new Error(`Prompt ${e} is already registered`);const{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}sendResourceListChanged(){this.isConnected()&&this.server.sendResourceListChanged()}sendToolListChanged(){this.isConnected()&&this.server.sendToolListChanged()}sendPromptListChanged(){this.isConnected()&&this.server.sendPromptListChanged()}}const Mo={type:"object",properties:{}};function No(e){return"object"==typeof e&&null!==e&&(0===Object.keys(e).length||Object.values(e).some(Lo))}function Lo(e){return null!==e&&"object"==typeof e&&"parse"in e&&"function"==typeof e.parse&&"safeParse"in e&&"function"==typeof e.safeParse}function Bo(e){return{completion:{values:e.slice(0,100),total:e.length,hasMore:e.length>100}}}const Uo={completion:{values:[],hasMore:!1}};class Go{append(e){this._buffer=this._buffer?Buffer.concat([this._buffer,e]):e}readMessage(){if(!this._buffer)return null;const e=this._buffer.indexOf("\n");if(-1===e)return null;const t=this._buffer.toString("utf8",0,e).replace(/\r$/,"");return this._buffer=this._buffer.subarray(e+1),function(e){return Tt.parse(JSON.parse(e))}(t)}clear(){this._buffer=void 0}}class zo{constructor(t=e.stdin,n=e.stdout){this._stdin=t,this._stdout=n,this._readBuffer=new Go,this._started=!1,this._ondata=e=>{this._readBuffer.append(e),this.processReadBuffer()},this._onerror=e=>{var t;null===(t=this.onerror)||void 0===t||t.call(this,e)}}async start(){if(this._started)throw new 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(var e,t;;)try{const t=this._readBuffer.readMessage();if(null===t)break;null===(e=this.onmessage)||void 0===e||e.call(this,t)}catch(e){null===(t=this.onerror)||void 0===t||t.call(this,e)}}async close(){var e;this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),0===this._stdin.listenerCount("data")&&this._stdin.pause(),this._readBuffer.clear(),null===(e=this.onclose)||void 0===e||e.call(this)}send(e){return new Promise(t=>{const n=function(e){return JSON.stringify(e)+"\n"}(e);this._stdout.write(n)?t():this._stdout.once("drain",t)})}}const Vo=tt({messages:et(tt({role:at(["user","assistant"]),content:tt({type:ot("text"),text:Xe()})})),maxTokens:Ye().optional().default(1e3),temperature:Ye().min(0).max(2).optional().default(.7),stopSequences:et(Xe()).optional()});async function jo(e,t){try{const n=Vo.parse(t),r={method:"sampling/createMessage",params:{messages:n.messages,maxTokens:n.maxTokens,temperature:n.temperature,stopSequences:n.stopSequences}},i=await e.server.request(r,Dn);return{content:"text"===i.content.type?i.content.text:"Non-text response received",stopReason:i.stopReason,usage:{promptTokens:0,completionTokens:0,totalTokens:0}}}catch(e){throw new Error(`Sampling failed: ${e instanceof Error?e.message:String(e)}`)}}const qo=(e,t,n)=>function(e,t){return{messages:[{role:"user",content:{type:"text",text:e}}],maxTokens:t?.maxTokens??1e3,temperature:t?.temperature??.7,stopSequences:t?.stopSequences}}(t?`Context: ${t}\n\nQuestion: ${e}`:e,n);var Ho,Ko,$o={exports:{}},Wo={exports:{}},Xo={exports:{}},Yo=Wo.exports;var Zo,Qo=$o.exports,Jo=(Zo||(Zo=1,function(){($o.exports=(Ko||(Ko=1,function(){var e,n,r=[].splice,i=function(e,t){if(!(e instanceof t))throw new Error("Bound instance method accessed before binding")},o=[].indexOf;Ho||(Ho=1,function(e){var t=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,r;try{t=Map}catch(e){t=function(){}}try{n=Set}catch(e){n=function(){}}try{r=Promise}catch(e){r=function(){}}function i(o,s,c,u,l){"object"==typeof s&&(c=s.depth,u=s.prototype,l=s.includeNonEnumerable,s=s.circular);var p=[],d=[],m="undefined"!=typeof Buffer;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===u?(g=Object.getPrototypeOf(c),h=Object.create(g)):(h=Object.create(u),g=u)}if(s){var v=p.indexOf(c);if(-1!=v)return d[v];p.push(c),d.push(h)}for(var _ 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 y;g&&(y=Object.getOwnPropertyDescriptor(g,_)),y&&null==y.set||(h[_]=o(c[_],f-1))}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(c);for(_=0;_<b.length;_++){var E=b[_];(!(w=Object.getOwnPropertyDescriptor(c,E))||w.enumerable||l)&&(h[E]=o(c[E],f-1),w.enumerable||Object.defineProperty(h,E,{enumerable:!1}))}}if(l){var x=Object.getOwnPropertyNames(c);for(_=0;_<x.length;_++){var w,A=x[_];(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}();e.exports&&(e.exports=t)}(Xo)),n=Xo.exports,e=t.EventEmitter,Wo.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&&["get","mget","set","del","ttl","getTtl","keys","has"].forEach(e=>{var t;t=this[e],this[e]=function(...e){var n,i;if(i=e,[...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;return null!=this.data[e]&&this._check(e,this.data[e])?(this.stats.hits++,this._unwrap(this.data[e])):void 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,null==r&&(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,u,l,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:l}=s),l&&"number"!=typeof l)throw this._error("ETTLTYPE");if(null!=(n=this._isInvalidKey(a)))throw n}for(o=0,u=e.length;o<u;o++)s=e[o],({key:a,val:p,ttl:l}=s),this.set(a,p,l);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||(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;return null!=this.data[e]&&this._check(e,this.data[e])?this.data[e].t:void 0}}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?t?n(e.v):e.v:null}_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(null!=e?e.then:void 0)?this.options.promiseValueSize:("undefined"!=typeof Buffer&&null!==Buffer?Buffer.isBuffer(e):void 0)?e.length:null!=e&&"object"==typeof e?this.options.objectValueSize*Object.keys(e).length:"boolean"==typeof e?8:0}_error(e,n={}){var r;return i(this,t),(r=new 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(Yo)),Wo.exports)).version="5.1.2"}.call(Qo)),$o.exports);const ea=new(Kn(Jo))({stdTTL:86400,checkperiod:3600,maxKeys:1e3,deleteOnExpire:!0,useClones:!1}),ta={hits:0,misses:0,sets:0,totalKeys:0,lastReset:new Date},na={"gh-api-code":3600,"gh-api-repos":7200,"gh-api-issues":1800,"gh-api-prs":1800,"gh-commits-api":3600,"gh-api-file-content":3600,"gh-repo-structure-api":7200,"gh-code":3600,"gh-repos":7200,"gh-issues":1800,"gh-prs":1800,"gh-commits":3600,"gh-file-content-cli":7200,"gh-repo-structure":7200,"npm-view":14400,"npm-exec":7200,"gh-exec":1800,default:86400};function ra(e,t){const n=ia(t);return`v1-${e}:${r.createHash("sha256").update(n).digest("hex")}`}function ia(e){return null===e?"null":void 0===e?"undefined":"object"!=typeof e?String(e):Array.isArray(e)?`[${e.map(ia).join(",")}]`:`{${Object.keys(e).sort().map(t=>`"${t}":${ia(e[t])}`).join(",")}}`}function oa(e){return na[e]||na.default}async function aa(e,t,n={}){if(n.skipCache)return await t();if(!n.forceRefresh)try{const t=ea.get(e);if(t)return ta.hits++,t}catch(e){}ta.misses++;const r=await t();if(!r.isError)try{let t=n.ttl;if(!t){const n=e.match(/^v\d+-([^:]+):/);t=oa(n?.[1]??"default")}ea.set(e,r,t),ta.sets++,ta.totalKeys=ea.keys().length}catch(e){}return r}const sa=[{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:"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:"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:"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:"npmToken",description:"NPM authentication token",regex:/\bnpm_[a-zA-Z0-9]{36}\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:"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]*?\bdata:\s*[\s\S]*?[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:"npmAccessToken",description:"NPM access token",regex:/\bnpm_[a-zA-Z0-9]{36}\b/g,matchAccuracy:"high"},{name:"pypiDevApiToken",description:"PyPI development API token",regex:/\bpypi-[A-Za-z0-9_-]{84}\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:"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:"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:"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:"emailAddress",description:"Email address",regex:/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\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:"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:"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:"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"}];let ca=null,ua=[];function la(e){let t="";for(let n=0;n<e.length;n++)t+=n%2==0?"*":e[n];return t}class pa{static sanitizeContent(e){const t=this.detectSecrets(e);return{content:t.sanitizedContent,hasSecrets:t.hasSecrets,secretsDetected:t.secretsDetected,warnings:t.secretsDetected,hasPromptInjection:!1,isMalicious:!1}}static detectSecrets(e){let t=e;const n=new Set;try{for(const e of sa){const 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(t){return{hasSecrets:!1,secretsDetected:[],sanitizedContent:e}}const 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"]};const t={},n=new Set;let r=!1,i=!1;for(const[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)a.length>1e4?(n.add(`Parameter ${o} exceeds maximum length (10,000 characters)`),t[o]=a.substring(0,1e4)):t[o]=a;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(null!==a&&"object"==typeof a){const 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=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 da(e){const{data:t,error:n,isError:r=!1,hints:i=[],meta:o={}}=e;let a=t,s=r,c={...o};if(n){s=!0;const e=n instanceof Error?n.message:n;void 0!==t||(a=null),c={...o,error:e}}s&&!n&&(c={...c,error:!0});const u={data:a||null,hints:i,meta:c};return{content:[{type:"text",text:ma({data:u.data,meta:u.meta,hints:u.hints})}],isError:s}}function ma(e){let t;try{t="string"==typeof e?e:JSON.stringify(e,null,2)}catch(e){t="[Unserializable data]"}const n=pa.sanitizeContent(t),r=function(e){if(!e)return e;const t=(ca||(ca=function(){const e=sa.map((e,t)=>`(?<p${t}>${e.regex.source})`);return new RegExp(e.join("|"),"gi")}(),ua=sa),ca),n=[];let r;for(;null!==(r=t.exec(e));){for(let e=0;e<ua.length;e++)if(r.groups?.[`p${e}`]){n.push({start:r.index,end:r.index+r[0].length,accuracy:ua[e]?.matchAccuracy||"medium"});break}0===r[0].length&&t.lastIndex++}if(0===n.length)return e;n.sort((e,t)=>e.start-t.start);const i=[];let o=-1;for(const e of n)e.start>=o&&(i.push(e),o=e.end);let a=e;for(let t=i.length-1;t>=0;t--){const n=i[t];if(n){const t=la(e.slice(n.start,n.end));a=a.slice(0,n.start)+t+a.slice(n.end)}}return a}(n.content);if(n.warnings.length>0)try{JSON.parse(r)}catch{return`${r}\n\n--- Security Notice ---\n${n.warnings.map(e=>`⚠️ ${e}`).join("\n")}`}return r}function fa(e){const t=new Date(e);return`${t.getDate().toString().padStart(2,"0")}/${(t.getMonth()+1).toString().padStart(2,"0")}/${t.getFullYear()}`}function ha(e){if(0===e)return"0 B";const t=Math.floor(Math.log(e)/Math.log(1024));return`${Math.round(e/Math.pow(1024,t))} ${["B","KB","MB","GB"][t]}`}const ga=["discovery","analysis","debugging","exploration","context_generation","code_generation","docs_generation","code_analysis","code_review","code_refactoring","code_optimization"],va="githubGetFileContent",_a="githubSearchCode",ya="githubSearchCommits",ba="githubSearchPullRequests",Ea="githubSearchRepositories",xa="githubViewRepoStructure",wa="packageSearch";function Aa(){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 Sa(e,t,n,r){if("function"!=typeof n)throw new Error("method for before hook must be a function");return r||(r={}),Array.isArray(t)?t.reverse().reduce((t,n)=>Sa.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 Ta(e,t,n,r){const 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 ka(e,t,n){if(!e.registry[t])return;const r=e.registry[t].map(e=>e.orig).indexOf(n);-1!==r&&e.registry[t].splice(r,1)}const Ra=Function.bind,Ca=Ra.bind(Ra);var Oa=function(){const e={registry:{}},t=Sa.bind(null,e);return function(e,t){const n=Ca(ka,null).apply(null,[t]);e.api={remove:n},e.remove=n,["before","error","after","wrap"].forEach(n=>{const r=[t,n];e[n]=e.api[n]=Ca(Ta,null).apply(null,r)})}(t,e),t},Da=`octokit-endpoint.js/0.0.0-development ${Aa()}`;function Pa(e,t){const n=Object.assign({},e);return Object.keys(t).forEach(r=>{!function(e){if("object"!=typeof e||null===e)return!1;if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);if(null===t)return!0;const 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])?Object.assign(n,{[r]:t[r]}):r in e?n[r]=Pa(e[r],t[r]):Object.assign(n,{[r]:t[r]})}),n}function Fa(e){for(const t in e)void 0===e[t]&&delete e[t];return e}function Ia(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),Fa(n),Fa(n.headers);const r=Pa(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 Ma=/\{[^{}}]+\}/g;function Na(e){return e.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g,"").split(/,/)}function La(e,t){const n={__proto__:null};for(const r of Object.keys(e))-1===t.indexOf(r)&&(n[r]=e[r]);return n}function Ba(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 Ua(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function Ga(e,t,n){return t="+"===e||"#"===e?Ba(t):Ua(t),n?Ua(n)+"="+t:t}function za(e){return null!=e}function Va(e){return";"===e||"&"===e||"?"===e}function ja(e,t){var n=["+","#",".","/",";","?","&"];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,r,i){if(r){let e="";const 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(za(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(Ga(t,i,Va(t)?n:""));else if("*"===r)Array.isArray(i)?i.filter(za).forEach(function(e){o.push(Ga(t,e,Va(t)?n:""))}):Object.keys(i).forEach(function(e){za(i[e])&&o.push(Ga(t,i[e],e))});else{const e=[];Array.isArray(i)?i.filter(za).forEach(function(n){e.push(Ga(t,n))}):Object.keys(i).forEach(function(n){za(i[n])&&(e.push(Ua(n)),e.push(Ga(t,i[n].toString())))}),Va(t)?o.push(Ua(n)+"="+e.join(",")):0!==e.length&&o.push(e.join(","))}else";"===t?za(i)&&o.push(Ua(n)):""!==i||"&"!==t&&"?"!==t?""===i&&o.push(""):o.push(Ua(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 Ba(i)}),"/"===e?e:e.replace(/\/$/,"")}function qa(e){let t,n=e.method.toUpperCase(),r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),i=Object.assign({},e.headers),o=La(e,["method","baseUrl","url","headers","request","mediaType"]);const a=function(e){const t=e.match(Ma);return t?t.map(Na).reduce((e,t)=>e.concat(t),[]):[]}(r);var s;r=(s=r,{expand:ja.bind(null,s)}).expand(o),/^http/.test(r)||(r=e.baseUrl+r);const c=La(o,Object.keys(e).filter(e=>a.includes(e)).concat("baseUrl"));if(!/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)){const t=i.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g)||[];i.accept=t.concat(e.mediaType.previews).map(t=>`application/vnd.github.${t}-preview${e.mediaType.format?`.${e.mediaType.format}`:"+json"}`).join(",")}return["GET","HEAD"].includes(n)?r=function(e,t){const 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,c):"data"in c?t=c.data:Object.keys(c).length&&(t=c),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?{body:t}:null,e.request?{request:e.request}:null)}function Ha(e,t,n){return qa(Ia(e,t,n))}var Ka,$a=function e(t,n){const r=Ia(t,n),i=Ha.bind(null,r);return Object.assign(i,{DEFAULTS:r,defaults:e.bind(null,r),merge:Ia.bind(null,r),parse:qa})}(null,{method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":Da},mediaType:{format:""}}),Wa={},Xa=function(){if(Ka)return Wa;Ka=1;const e=function(){};e.prototype=Object.create(null);const t=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,n=/\\([\v\u0020-\u00ff])/gu,r=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,i={type:"",parameters:new e};function o(i){if("string"!=typeof i)throw new TypeError("argument header is required and must be a string");let o=i.indexOf(";");const a=-1!==o?i.slice(0,o).trim():i.trim();if(!1===r.test(a))throw new TypeError("invalid media type");const s={type:a.toLowerCase(),parameters:new e};if(-1===o)return s;let c,u,l;for(t.lastIndex=o;u=t.exec(i);){if(u.index!==o)throw new TypeError("invalid parameter format");o+=u[0].length,c=u[1].toLowerCase(),l=u[2],'"'===l[0]&&(l=l.slice(1,l.length-1),n.test(l)&&(l=l.replace(n,"$1"))),s.parameters[c]=l}if(o!==i.length)throw new TypeError("invalid parameter format");return s}function a(o){if("string"!=typeof o)return i;let a=o.indexOf(";");const s=-1!==a?o.slice(0,a).trim():o.trim();if(!1===r.test(s))return i;const c={type:s.toLowerCase(),parameters:new e};if(-1===a)return c;let u,l,p;for(t.lastIndex=a;l=t.exec(o);){if(l.index!==a)return i;a+=l[0].length,u=l[1].toLowerCase(),p=l[2],'"'===p[0]&&(p=p.slice(1,p.length-1),n.test(p)&&(p=p.replace(n,"$1"))),c.parameters[u]=p}return a!==o.length?i:c}return Object.freeze(i.parameters),Object.freeze(i),Wa.default={parse:o,safeParse:a},Wa.parse=o,Wa.safeParse=a,Wa.defaultContentType=i,Wa}();class Ya extends Error{name;status;request;response;constructor(e,t,n){super(e),this.name="HttpError",this.status=Number.parseInt(t),Number.isNaN(this.status)&&(this.status=0),"response"in n&&(this.response=n.response);const 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}}async function Za(e){const t=e.request?.fetch||globalThis.fetch;if(!t)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");const n=e.request?.log||console,r=!1!==e.request?.parseSuccessResponseBody,i=function(e){if("object"!=typeof e||null===e)return!1;if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);if(null===t)return!0;const 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,o=Object.fromEntries(Object.entries(e.headers).map(([e,t])=>[e,String(t)]));let a;try{a=await t(e.url,{method:e.method,body:i,redirect:e.request?.redirect,headers:o,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))}const r=new Ya(n,500,{request:e});throw r.cause=t,r}const s=a.status,c=a.url,u={};for(const[e,t]of a.headers)u[e]=t;const l={url:c,status:s,headers:u,data:""};if("deprecation"in u){const t=u.link&&u.link.match(/<([^<>]+)>; rel="deprecation"/),r=t&&t.pop();n.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${u.sunset}${r?`. See ${r}`:""}`)}if(204===s||205===s)return l;if("HEAD"===e.method){if(s<400)return l;throw new Ya(a.statusText,s,{response:l,request:e})}if(304===s)throw l.data=await Qa(a),new Ya("Not modified",s,{response:l,request:e});if(s>=400)throw l.data=await Qa(a),new Ya(function(e){if("string"==typeof e)return e;if(e instanceof ArrayBuffer)return"Unknown error";if("message"in e){const t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map(e=>JSON.stringify(e)).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}(l.data),s,{response:l,request:e});return l.data=r?await Qa(a):a.body,l}async function Qa(e){const t=e.headers.get("content-type");if(!t)return e.text().catch(()=>"");const n=Xa.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(()=>""):e.arrayBuffer().catch(()=>new ArrayBuffer(0));{let t="";try{return t=await e.text(),JSON.parse(t)}catch(e){return t}}}var Ja=function e(t,n){const r=t.defaults(n);return Object.assign(function(t,n){const i=r.merge(t,n);if(!i.request||!i.request.hook)return Za(r.parse(i));const o=(e,t)=>Za(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)})}($a,{headers:{"user-agent":`octokit-request.js/10.0.3 ${Aa()}`}}),es=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},ts=["method","baseUrl","url","headers","request","query","mediaType","operationName"],ns=["query","method","url"],rs=/\/api\/v3\/?$/;function is(e,t){const 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(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(const e in n)if(ns.includes(e))return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}const r="string"==typeof t?Object.assign({query:t},n):t,i=Object.keys(r).reduce((e,t)=>ts.includes(t)?(e[t]=r[t],e):(e.variables||(e.variables={}),e.variables[t]=r[t],e),{}),o=r.baseUrl||e.endpoint.DEFAULTS.baseUrl;return rs.test(o)&&(i.url=o.replace(rs,"/api/graphql")),e(i).then(e=>{if(e.data.errors){const t={};for(const n of Object.keys(e.headers))t[n]=e.headers[n];throw new es(i,t,e.data)}return e.data.data})}(n,e,t),{defaults:is.bind(null,n),endpoint:n.endpoint})}is(Ja,{headers:{"user-agent":`octokit-graphql.js/0.0.0-development ${Aa()}`},method:"POST",url:"/graphql"});var os="(?:[a-zA-Z0-9_-]+)",as=new RegExp(`^${os}\\.${os}\\.${os}$`),ss=as.test.bind(as);async function cs(e){const t=ss(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 us(e,t,n,r){const 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 ls=function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if("string"!=typeof e)throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(cs.bind(null,e),{hook:us.bind(null,e)})};const ps="7.0.3",ds=()=>{},ms=function(){}.bind(),fs=function(){}.bind(),hs=`octokit-core.js/${ps} ${Aa()}`;function gs(e,t,n){const 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;let s=r.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!s)return{done:!0};try{const 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;const 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;const o=Object.keys(e.data)[0],a=e.data[o];return e.data=a,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){const 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 vs(e,t,n,r){return"function"==typeof n&&(r=n,n=void 0),_s(e,[],gs(e,t,n)[Symbol.asyncIterator](),r)}function _s(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:_s(e,t,n,r)})}function ys(e){return{paginate:Object.assign(vs.bind(null,e),{iterator:gs.bind(null,e)})}}Object.assign(vs,{iterator:gs}),ys.VERSION="0.0.0-development";var bs=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"},Es=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"},xs=e=>"[object Object]"===Object.prototype.toString.call(e);function ws(e){const t=As(e,"pageInfo");if(0===t.length)throw new Es(e);return t}var As=(e,t,n=[])=>{for(const r of Object.keys(e)){const i=[...n,r],o=e[r];if(xs(o)){if(o.hasOwnProperty(t))return i;const e=As(o,t,i);if(e.length>0)return e}}return[]},Ss=(e,t)=>t.reduce((e,t)=>e[t],e),Ts=(e,t,n)=>{const r=t[t.length-1],i=[...t].slice(0,-1),o=Ss(e,i);o[r]="function"==typeof n?n(o[r]):n},ks=e=>e.hasOwnProperty("hasNextPage"),Rs=e=>(t,n={})=>{let r=!0,i={...n};return{[Symbol.asyncIterator]:()=>({async next(){if(!r)return{done:!0,value:{}};const n=await e.graphql(t,i),o=(e=>{const t=ws(e);return{pathInQuery:t,pageInfo:Ss(e,[...t,"pageInfo"])}})(n),a=(s=o.pageInfo,ks(s)?s.endCursor:s.startCursor);var s;if(r=(e=>ks(e)?e.hasNextPage:e.hasPreviousPage)(o.pageInfo),r&&a===i.cursor)throw new bs(o,a);return i={...i,cursor:a},{done:!1,value:n}}})}},Cs=(e,t)=>{if(0===Object.keys(e).length)return Object.assign(e,t);const n=ws(e),r=[...n,"nodes"],i=Ss(t,r);i&&Ts(e,r,e=>[...e,...i]);const o=[...n,"edges"],a=Ss(t,o);a&&Ts(e,o,e=>[...e,...a]);const s=[...n,"pageInfo"];return Ts(e,s,Ss(t,s)),e},Os=e=>{const t=Rs(e);return async(e,n={})=>{let r={};for await(const i of t(e,n))r=Cs(r,i);return r}};const Ds=new Map;for(const[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}"],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}"],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"],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"],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}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},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"],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}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],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"],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}"],createInvitation:["POST /orgs/{org}/invitations"],createIssueType:["POST /orgs/{org}/issue-types"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteIssueType:["DELETE /orgs/{org}/issue-types/{issue_type_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}",{},{deprecated:"octokit.rest.orgs.enableOrDisableSecurityProductOnAllOrgRepos() is deprecated, see https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization"}],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],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"],listAttestations:["GET /orgs/{org}/attestations/{subject_digest}"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],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"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}",{},{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}"],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}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],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"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],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",{},{deprecated:"octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests"}],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"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],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"],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}"],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(const[n,r]of Object.entries(t)){const[t,i,o]=r,[a,s]=t.split(/ /),c=Object.assign({method:a,url:s},i);Ds.has(e)||Ds.set(e,new Map),Ds.get(e).set(n,{scope:e,methodName:n,endpointDefaults:c,decorations:o})}const Ps={has:({scope:e},t)=>Ds.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})=>[...Ds.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];const i=Ds.get(t).get(r);if(!i)return;const{endpointDefaults:o,decorations:a}=i;return n[r]=a?function(e,t,n,r,i){const 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){const[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){const a=o.endpoint.merge(...r);for(const[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 Fs(e){const t=function(e){const t={};for(const n of Ds.keys())t[n]=new Proxy({octokit:e,scope:n,cache:{}},Ps);return t}(e);return{rest:t}}Fs.VERSION="16.0.0";var Is,Ms={exports:{}},Ns=(Is||(Is=1,Ms.exports=function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==Hn?Hn:"undefined"!=typeof self?self:{};var t,n={load:function(e,t,n={}){var r,i,o;for(r in t)o=t[r],n[r]=null!=(i=e[r])?i:o;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}};t=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._last.next=t,this._last=t):this._first=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._first.prev=null:this._last=null,e}first(){if(null!=this._first)return this._first.value}getArray(){var e,t,n;for(e=this._first,n=[];null!=e;)n.push((t=e,e=e.next,t.value));return n}forEachShift(e){var t;for(t=this.shift();null!=t;)e(t),t=this.shift()}debug(){var e,t,n,r,i;for(e=this._first,i=[];null!=e;)i.push((t=e,e=e.next,{value:t.value,prev:null!=(n=t.prev)?n.value:void 0,next:null!=(r=t.next)?r.value:void 0}));return i}};var r,i,o,a=t,s=class{constructor(e){if(this.instance=e,this._events={},null!=this.instance.on||null!=this.instance.once||null!=this.instance.removeAllListeners)throw new Error("An Emitter already exists for this object");this.instance.on=(e,t)=>this._addListener(e,"many",t),this.instance.once=(e,t)=>this._addListener(e,"once",t),this.instance.removeAllListeners=(e=null)=>null!=e?delete this._events[e]:this._events={}}_addListener(e,t,n){var r;return null==(r=this._events)[e]&&(r[e]=[]),this._events[e].push({cb:n,status:t}),this.instance}listenerCount(e){return null!=this._events[e]?this._events[e].length:0}async trigger(e,...t){var n,r;try{if("debug"!==e&&this.trigger("debug",`Event triggered: ${e}`,t),null==this._events[e])return;return 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"function"==typeof(null!=(r="function"==typeof e.cb?e.cb(...t):void 0)?r.then:void 0)?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}}};r=a,i=s,o=class{constructor(e){this.Events=new i(this),this._length=0,this._lists=function(){var t,n,i;for(i=[],t=1,n=e;1<=n?t<=n:t>=n;1<=n?++t:--t)i.push(new r(()=>this.incr(),()=>this.decr()));return i}.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._lists[e].length:this._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()}};var c,u,l,p=o,d=class extends Error{};l=n,c=d,u=class{constructor(e,t,n,r,i,o,a,s){this.task=e,this.args=t,this.rejectOnDrop=i,this.Events=o,this._states=a,this.Promise=s,this.options=l.load(n,r),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===r.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;return(t=~~e!==e?5:e)<0?0:t>9?9:t}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:e,message:t="This job has been dropped by Bottleneck"}={}){return!!this._states.remove(this.options.id)&&(this.rejectOnDrop&&this._reject(null!=e?e:new c(t)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0)}_assertStatus(e){var t;if((t=this._states.jobStatus(this.options.id))!==e&&("DONE"!==e||null!==t))throw new c(`Invalid job status ${t}, expected ${e}. 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?e.schedule(this.options,this.task,...this.args):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(e,t,n){var r,i;return this._states.jobStatus("RUNNING"===this.options.id)&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),i={args:this.args,options:this.options,retryCount:this.retryCount},r=new c(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(r,i,e,t,n)}async _onFailure(e,t,n,r,i){var o,a;if(n())return null!=(o=await this.Events.trigger("failed",e,t))?(a=~~o,this.Events.trigger("retry",`Retrying ${this.options.id} after ${a} ms`,t),this.retryCount++,r(a)):(this.doDone(t),await i(this.options,t),this._assertStatus("DONE"),this._reject(e))}doDone(e){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",e)}};var m,f,h,g=u;h=n,m=d,f=class{constructor(e,t,n){this.instance=e,this.storeOptions=t,this.clientId=this.instance._randomIndex(),h.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;if(r=Date.now(),null!=this.storeOptions.reservoirRefreshInterval&&r>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=r,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),null!=this.storeOptions.reservoirIncreaseInterval&&r>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&(({reservoirIncreaseAmount:e,reservoirIncreaseMaximum:n,reservoir:i}=this.storeOptions),this._lastReservoirIncrease=r,(t=null!=n?Math.min(e,n-i):e)>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(){var e;return null!=(e=this.storeOptions.penalty)?e:15*this.storeOptions.minTime||5e3}async __updateSettings__(e){return await this.yieldLoop(),h.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?e-this._running:null!=t?t:null}conditionsCheck(e){var t;return null==(t=this.computeCapacity())||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 m(`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 v,_,y=f;v=d,_=class{constructor(e){this.status=e,this._jobs={},this.counts=this.status.map(function(){return 0})}next(e){var t,n;return n=(t=this._jobs[e])+1,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;return null!=(t=this._jobs[e])&&(this.counts[t]--,delete this._jobs[e]),null!=t}jobStatus(e){var t;return null!=(t=this.status[this._jobs[e]])?t:null}statusJobs(e){var t,n,r,i;if(null!=e){if((n=this.status.indexOf(e))<0)throw new v(`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),{})}};var b,E,x=_;b=a,E=class{constructor(e,t){this.schedule=this.schedule.bind(this),this.name=e,this.Promise=t,this._running=0,this._queue=new b}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;return i=r=null,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}};var w,A,S,T,k,R,C=E,O="2.19.5",D={version:O},P=Object.freeze({version:O,default:D}),F=()=>{},I=()=>{};R=n,w=s,T=F,S=I,k=()=>{},A=function(){class e{constructor(e={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=e,R.load(this.limiterOptions,this.defaults,this),this.Events=new w(this),this.instances={},this.Bottleneck=Q,this._startAutoCleanup(),this.sharedConnection=null!=this.connection,null==this.connection&&("redis"===this.limiterOptions.datastore?this.connection=new T(Object.assign({},this.limiterOptions,{Events:this.Events})):"ioredis"===this.limiterOptions.datastore&&(this.connection=new S(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(e=""){var t;return null!=(t=this.instances[e])?t:(()=>{var t;return t=this.instances[e]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${e}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",t,e),t})()}async deleteKey(e=""){var t,n;return n=this.instances[e],this.connection&&(t=await this.connection.__runCommand__(["del",...k.allKeys(`${this.id}-${e}`)])),null!=n&&(delete this.instances[e],await n.disconnect()),null!=n||t>0}limiters(){var e,t,n,r;for(e in n=[],t=this.instances)r=t[e],n.push({key:e,limiter:r});return n}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,9;0!==e;)for([a,t]=await this.connection.__runCommand__(["scan",null!=e?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;for(t in i=Date.now(),r=[],n=this.instances){o=n[t];try{await o._store.__groupCheck__(i)?r.push(this.deleteKey(t)):r.push(void 0)}catch(t){e=t,r.push(o.Events.trigger("error",e))}}return r},this.timeout/2)).unref?e.unref():void 0}updateSettings(e={}){if(R.overwrite(e,this.defaults,this),R.overwrite(e,e,this.limiterOptions),null!=e.timeout)return this._startAutoCleanup()}disconnect(e=!0){var t;if(!this.sharedConnection)return null!=(t=this.connection)?t.disconnect(e):void 0}}return e.prototype.defaults={timeout:3e5,connection:null,Promise:Promise,id:"group-key"},e}.call(e);var M,N,L,B=A;L=n,N=s,M=function(){class e{constructor(e={}){this.options=e,L.load(this.options,this.defaults,this),this.Events=new N(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(e);var U,G,z,V,j,q,H,K,$,W,X=M,Y=(W=P)&&W.default||W,Z=[].splice;$=n,j=p,z=g,V=y,q=()=>{},G=s,H=x,K=C,U=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 j(10),this._scheduled={},this._states=new H(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new G(this),this._submitLock=new K("submit",this.Promise),this._registerLock=new K("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 q(this,i,r);if("local"===this.datastore)return r=$.load(t,this.localStoreDefaults,{}),new V(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)&&"function"==typeof e.ref?e.ref():void 0}),this._queues.on("zero",()=>{var e;return null!=(e=this._store.heartbeat)&&"function"==typeof e.unref?e.unref():void 0})}_validateOptions(t,n){if(null==t||"object"!=typeof 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?setTimeout(function(){return t.doExpire(r,o,i)},n+t.options.expiration):void 0,job:t}}_drainOne(e){return this._registerLock.schedule(()=>{var t,n,r,i,o;return 0===this.queued()?this.Promise.resolve(null):(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?(r=null!=e?e-n:e,this._drainAll(r,t+n)):this.Promise.resolve(t)}).catch(e=>this.Events.trigger("error",e))}_dropAllQueued(e){return this._queues.shiftAll(function(t){return t.doDrop({message:e})})}stop(t={}){var n,r;return t=$.load(t,this.stopDefaults),r=e=>{var t;return t=()=>{var t;return(t=this._states.counts)[0]+t[1]+t[2]+t[3]===e},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;for(e in n=this._scheduled)i=n[e],"RUNNING"===this.jobStatus(i.job.options.id)&&(clearTimeout(i.timeout),clearTimeout(i.expiration),i.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&&(null!=(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)?(null==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._reject(new e.prototype.BottleneckError(`A job with the same id already exists (id=${t.options.id})`)),!1):(t.doReceive(),this._submitLock.schedule(this._addToQueue,t))}submit(...e){var t,n,r,i,o,a,s;return"function"==typeof e[0]?(o=e,[n,...e]=o,[t]=Z.call(e,-1),i=$.load({},this.jobDefaults)):(a=e,[i,n,...e]=a,[t]=Z.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]?r:t)(e)})}),(r=new z(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 z(r,e,n,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(t),t.promise}wrap(e){var t,n;return t=this.schedule.bind(this),(n=function(...n){return t(e.bind(this),...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=G,e.version=e.prototype.version=Y.version,e.strategy=e.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},e.BottleneckError=e.prototype.BottleneckError=d,e.Group=e.prototype.Group=B,e.RedisConnection=e.prototype.RedisConnection=F,e.IORedisConnection=e.prototype.IORedisConnection=I,e.Batcher=e.prototype.Batcher=X,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(e);var Q=U;return Q}()),Ms.exports),Ls=Kn(Ns);async function Bs(e,t,n,r){if(!n.request||!n.request.request)throw n;if(n.status>=400&&!e.doNotRetry.includes(n.status)){const i=null!=r.request.retries?r.request.retries:e.retries,o=Math.pow((r.request.retryCount||0)+1,2);throw t.retry.retryRequest(n,i,o)}throw n}async function Us(e,t,n,r){const i=new Ls;return i.on("failed",function(t,n){const 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(Gs.bind(null,e,t,n),r)}async function Gs(e,t,n,r){const 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)?Bs(e,t,new Ya(i.data.errors[0].message,500,{request:r,response:i}),r):i}function zs(e,t){const 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",Bs.bind(null,n,e)),e.hook.wrap("request",Us.bind(null,n,e))),{retry:{retryRequest:(e,t,n)=>(e.request.request=Object.assign({},e.request.request,{retries:t,retryAfter:n}),e)}}}zs.VERSION="0.0.0-development";var Vs=()=>Promise.resolve();function js(e,t,n){return e.retryLimiter.schedule(qs,e,t,n)}async function qs(e,t,n){const{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,Vs),o&&e.triggersNotification(r)&&await e.notifications.key(e.id).schedule(c,Vs),a&&await e.search.key(e.id).schedule(c,Vs);const u=(i?e.auth:e.global).key(e.id).schedule(c,t,n);if(s){const e=await u;if(null!=e.data.errors&&e.data.errors.some(e=>"RATE_LIMITED"===e.type))throw Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:e,data:e.data})}return u}var Hs=function(){const 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("/")),t=`^(?:${e.map(e=>`(?:${e})`).join("|")})[^/]*$`;return new RegExp(t,"i")}(),Ks=Hs.test.bind(Hs),$s={};function Ws(e,t){const{enabled:n=!0,Bottleneck:r=Ls,id:i="no-id",timeout:o=12e4,connection:a}=t.throttle||{};if(!n)return{};const s={timeout:o};void 0!==a&&(s.connection=a),null==$s.global&&function(e,t){$s.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t}),$s.auth=new e.Group({id:"octokit-auth",maxConcurrent:1,...t}),$s.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t}),$s.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t}),$s.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})}(r,s);const c=Object.assign({clustering:null!=a,triggersNotification:Ks,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new r,id:i,...$s},t.throttle);if("function"!=typeof c.onSecondaryRateLimit||"function"!=typeof c.onRateLimit)throw new Error("octokit/plugin-throttling error:\n        You must pass the onSecondaryRateLimit and onRateLimit error handlers.\n        See https://octokit.github.io/rest.js/#throttling\n\n        const octokit = new Octokit({\n          throttle: {\n            onSecondaryRateLimit: (retryAfter, options) => {/* ... */},\n            onRateLimit: (retryAfter, options) => {/* ... */}\n          }\n        })\n    ");const u={},l=new r.Events(u);return u.on("secondary-limit",c.onSecondaryRateLimit),u.on("rate-limit",c.onRateLimit),u.on("error",t=>e.log.warn("Error in throttling-plugin limit handler",t)),c.retryLimiter.on("failed",async function(t,n){const[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;const s=~~i.retryCount;i.retryCount=s,o.request.retryCount=s;const{wantRetry:c,retryAfter:u=0}=await async function(){if(/\bsecondary rate\b/i.test(t.message)){const n=Number(t.response.headers["retry-after"])||r.fallbackSecondaryRateRetryAfter;return{wantRetry:await l.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)){const 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 l.trigger("rate-limit",r,o,e,s),retryAfter:r}}return{}}();return c?(i.retryCount++,u*r.retryAfterBaseValue):void 0}),e.hook.wrap("request",js.bind(null,c)),{}}Ws.VERSION="0.0.0-development",Ws.triggersNotification=Ks;var Xs=class{static VERSION=ps;static defaults(e){return class extends(this){constructor(...t){const 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){const t=this.plugins;return class extends(this){static plugins=t.concat(e.filter(e=>!t.includes(e)))}}constructor(e={}){const t=new Oa,n={baseUrl:Ja.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};var r;if(n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${hs}`:hs,e.baseUrl&&(n.baseUrl=e.baseUrl),e.previews&&(n.mediaType.previews=e.previews),e.timeZone&&(n.headers["time-zone"]=e.timeZone),this.request=Ja.defaults(n),this.graphql=(r=this.request,is(r,{method:"POST",url:"/graphql"})).defaults(n),this.log=function(e={}){return"function"!=typeof e.debug&&(e.debug=ds),"function"!=typeof e.info&&(e.info=ds),"function"!=typeof e.warn&&(e.warn=ms),"function"!=typeof e.error&&(e.error=fs),e}(e.log),this.hook=t,e.authStrategy){const{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){const n=ls(e.auth);t.wrap("request",n.hook),this.auth=n}else this.auth=async()=>({type:"unauthenticated"});const i=this.constructor;for(let t=0;t<i.plugins.length;++t)Object.assign(this,i.plugins[t](this,e))}request;graphql;log;hook;auth}.plugin(Fs,ys,function(e){return{graphql:Object.assign(e.graphql,{paginate:Object.assign(Os(e),{iterator:Rs(e)})})}},zs,Ws).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 Ys{static ALGORITHM="aes-256-gcm";static KEY_LENGTH=32;static IV_LENGTH=16;static encryptionKey=null;static credentials=new Map;static isInitialized=!1;static initialize(){this.isInitialized||(this.encryptionKey=this.deriveKey(),this.isInitialized=!0,this.setupCleanup())}static deriveKey(){const e=Buffer.concat([Buffer.from(process.pid.toString()),Buffer.from(process.hrtime.bigint().toString()),Buffer.from(Date.now().toString()),Buffer.from(process.env.USER||"unknown"),Buffer.from(process.env.HOME||"unknown"),Buffer.from(process.platform),r.randomBytes(32)]);return r.pbkdf2Sync(e,"octocode-mcp-credential-store",1e5,this.KEY_LENGTH,"sha256")}static setCredential(e){if(this.initialize(),!this.encryptionKey)throw new Error("Encryption key not available");const t=r.randomUUID(),n=r.randomBytes(this.IV_LENGTH),i=r.createCipheriv(this.ALGORITHM,this.encryptionKey,n);i.setAAD(Buffer.from(t));let o=i.update(e,"utf8","hex");o+=i.final("hex");const a=i.getAuthTag();return this.credentials.set(t,{encrypted:o,iv:n.toString("hex"),authTag:a.toString("hex"),timestamp:Date.now()}),t}static getCredential(e){if(this.initialize(),!this.encryptionKey)return null;const t=this.credentials.get(e);if(!t)return null;try{const n=Buffer.from(t.iv,"hex"),i=r.createDecipheriv(this.ALGORITHM,this.encryptionKey,n);i.setAAD(Buffer.from(e)),i.setAuthTag(Buffer.from(t.authTag,"hex"));let o=i.update(t.encrypted,"hex","utf8");return o+=i.final("utf8"),o}catch(t){return this.credentials.delete(e),null}}static removeCredential(e){return this.credentials.delete(e)}static getCredentialCount(){return this.credentials.size}static clearAll(){this.credentials.clear(),this.encryptionKey&&(this.encryptionKey.fill(0),this.encryptionKey=null),this.isInitialized=!1}static cleanupOldCredentials(){const e=Date.now();for(const[t,n]of this.credentials.entries())e-n.timestamp>864e5&&this.credentials.delete(t)}static setupCleanup(){const e=()=>{this.clearAll()};process.on("exit",e),process.on("SIGINT",e),process.on("SIGTERM",e),process.on("SIGUSR1",e),process.on("SIGUSR2",e),process.on("uncaughtException",e),process.on("unhandledRejection",e)}static setToken(e){return this.setCredential(e)}static getToken(e){return this.getCredential(e)}}const Zs=["view","search","ping","config","whoami"];function Qs(e,t,n){return n?da({isError:!0,hints:[`Command failed: ${n.message}`]}):t&&t.trim()?da({isError:!0,hints:[`Command error: ${t.trim()}`]}):da({data:e})}function Js(e){return e.replace(/[`$\\]/g,"\\$&").replace(/[;&|><]/g,"").replace(/\s+/g," ").trim()}async function ec(e,t,n={}){if(!Zs.includes(e))return da({isError:!0,hints:[`Command '${e}' is not allowed`]});const r=function(e){for(const t of e){if(t.includes("\0"))return{valid:!1,error:"Null bytes not allowed in arguments"};if(t.length>1e3)return{valid:!1,error:"Argument too long"};const e=[/\$\(/,/`[^`]*`/,/\|\s*\w/,/;\s*\w/,/&&\s*\w/,/\|\|\s*\w/,/>\s*\/|<\s*\//];for(const n of e)if(n.test(t))return{valid:!1,error:`Suspicious pattern detected in argument: ${t.substring(0,50)}...`}}return{valid:!0}}(t);if(!r.valid)return da({isError:!0,hints:[`Invalid arguments: ${r.error}`]});const{timeout:o=3e4,cwd:a,env:s}=n,c=t.map(Js);return new Promise(t=>{const n=i("npm",[e,...c],{cwd:a,env:{...process.env,...s,NODE_OPTIONS:void 0,NPM_CONFIG_SCRIPT_SHELL:void 0},stdio:["ignore","pipe","pipe"],timeout:o});let r="",u="";n.stdout?.on("data",e=>{r+=e.toString()}),n.stderr?.on("data",e=>{u+=e.toString()}),n.on("close",e=>{t(0===e?Qs(r,u):Qs(r,u,new Error(`Process exited with code ${e}`)))}),n.on("error",e=>{t(Qs("","",e))});const l=setTimeout(()=>{n.kill("SIGTERM"),t(Qs("","",new Error("Command timeout")))},o);n.on("close",()=>{clearTimeout(l)})})}let tc=null,nc=null;const rc=new Map;let ic=null;const oc=new Set;function ac(){const e=!!(ic?.organizationId||ic?.enableAuditLogging||ic?.enableRateLimiting||ic?.enableOrganizationValidation),t=!!process.env.GITHUB_ORGANIZATION,n="true"===process.env.AUDIT_ALL_ACCESS,r=!!(process.env.RATE_LIMIT_API_HOUR||process.env.RATE_LIMIT_AUTH_HOUR||process.env.RATE_LIMIT_TOKEN_HOUR);return e||t||n||r}function sc(e){if(!e)return null;let t=e.trim();return t=t.replace(/^bearer\s+/i,""),t=t.replace(/^token\s+/i,""),t=t.replace(/^\{\{(.+)\}\}$/,"$1"),t.trim()||null}async function cc(){const e=await async function(){try{const e=await yc("oauth_access_token"),t=await yc("oauth_refresh_token"),n=await yc("oauth_expires_at"),r=await yc("oauth_scopes"),i=await yc("oauth_client_id");if(!e)return null;const o=n?new Date(n):new Date(Date.now()+36e5),a=r?JSON.parse(r):[];return o<=new Date?t?await fc(t,i||void 0):(await gc(),null):{accessToken:e,refreshToken:t||void 0,expiresAt:o,scopes:a,tokenType:"Bearer",clientId:i||void 0}}catch(e){if(ac())try{const{logAuthEvent:t}=await import("./security/auditLogger.js");t("token_resolved","failure",{error:e instanceof Error?e.message:String(e)})}catch{}return null}}();if(e)return{token:e.accessToken,source:"oauth",metadata:e,expiresAt:e.expiresAt};const t=await async function(){try{const{ConfigManager:e}=await Promise.resolve().then(function(){return Tc}),t=e.getConfig();if(!t.githubApp?.enabled)return null;const n=await yc("github_app_token"),r=await yc("github_app_expires_at"),i=await yc("github_app_installation_id"),o=await yc("github_app_permissions");if(!n||!i)return null;const a=r?new Date(r):new Date(Date.now()+36e5),s=parseInt(i),c=o?JSON.parse(o):{};return a<=new Date?await hc(s):{installationToken:n,expiresAt:a,installationId:s,permissions:c,appId:t.githubApp.appId}}catch(e){if(ac())try{const{logAuthEvent:t}=await import("./security/auditLogger.js");t("token_resolved","failure",{error:e instanceof Error?e.message:String(e)})}catch{}return null}}();if(t)return{token:t.installationToken,source:"github_app",metadata:t,expiresAt:t.expiresAt};const n=await async function(){if(process.env.GITHUB_TOKEN)return{token:process.env.GITHUB_TOKEN,source:"env"};if(process.env.GH_TOKEN)return{token:process.env.GH_TOKEN,source:"env"};if(ac()){if(!process.env.GITHUB_TOKEN&&!process.env.GH_TOKEN&&ic?.enableAuditLogging)try{const{logAuthEvent:e}=await import("./security/auditLogger.js");e("token_validation","success",{reason:"CLI token resolution disabled in enterprise mode",organizationId:ic.organizationId,action:"cli_disabled_enterprise"})}catch{}}else{const e=await async function(){return new Promise(e=>{const t=i("gh",["auth","token"],{stdio:["ignore","pipe","pipe"],timeout:1e4,env:{...process.env,NODE_OPTIONS:void 0}});let n="";t.stdout?.on("data",e=>{n+=e.toString()}),t.stderr?.on("data",e=>{}),t.on("close",t=>{if(0===t){const t=n.trim();e(t||null)}else e(null)}),t.on("error",()=>{e(null)});const r=setTimeout(()=>{t.kill("SIGTERM"),e(null)},1e4);t.on("close",()=>{clearTimeout(r)})})}();if(e)return{token:e,source:"cli"}}const e=sc(process.env.Authorization??"");return e?{token:e,source:"authorization"}:{token:null,source:"unknown"}}();return{token:n.token,source:n.source,metadata:void 0,expiresAt:void 0}}async function uc(){if(tc&&(!nc||nc>new Date))return tc;const e=await cc();return e.token?(tc=e.token,e.source,e.metadata,nc=e.expiresAt||null,e.expiresAt&&e.metadata&&vc(e.expiresAt,e.source,e.metadata),e.token):null}async function lc(){const e=await cc();if(!e.token){const e=ac();throw new Error(e?"No GitHub token found. In enterprise mode, please configure OAuth, GitHub App, or set GITHUB_TOKEN/GH_TOKEN environment variable (CLI authentication is disabled for security)":"No GitHub token found. Please configure OAuth authentication, set GITHUB_TOKEN/GH_TOKEN environment variable, or authenticate with GitHub CLI")}return Ys.setToken(e.token),tc=e.token,e.source,e.metadata,nc=e.expiresAt||null,e.token}function pc(e){return oc.add(e),()=>{oc.delete(e)}}function dc(){return!ac()}function mc(){return ac()}async function fc(e,t){try{const{ConfigManager:n}=await Promise.resolve().then(function(){return Tc}),r=n.getConfig();if(!r.oauth?.enabled||!r.oauth.clientSecret)throw new Error("OAuth not properly configured");const i=r.oauth.tokenUrl||(r.githubHost?`${r.githubHost}/login/oauth/access_token`:"https://github.com/login/oauth/access_token"),o=await fetch(i,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":`octocode-mcp/${r.version}`},body:new URLSearchParams({client_id:t||r.oauth.clientId,client_secret:r.oauth.clientSecret,refresh_token:e,grant_type:"refresh_token"})});if(!o.ok)throw new Error(`Token refresh failed: ${o.statusText}`);const a=await o.json();if(a.error)throw new Error(`OAuth error: ${a.error_description||a.error}`);const s={accessToken:a.access_token,refreshToken:a.refresh_token||e,tokenType:a.token_type||"Bearer",expiresAt:new Date(Date.now()+1e3*(a.expires_in||3600)),scopes:a.scope?a.scope.split(" "):[],clientId:t||r.oauth.clientId};if(await async function(e){await _c("oauth_access_token",e.accessToken),e.refreshToken&&await _c("oauth_refresh_token",e.refreshToken),await _c("oauth_expires_at",e.expiresAt.toISOString()),await _c("oauth_scopes",JSON.stringify(e.scopes)),e.clientId&&await _c("oauth_client_id",e.clientId)}(s),vc(s.expiresAt,"oauth",s),ac())try{const{logAuthEvent:e}=await import("./security/auditLogger.js");e("token_rotation","success",{clientId:s.clientId,expiresAt:s.expiresAt.toISOString(),scopes:s.scopes})}catch{}return s}catch(e){if(await gc(),ac())try{const{logAuthEvent:n}=await import("./security/auditLogger.js");n("token_rotation","failure",{error:e instanceof Error?e.message:String(e),clientId:t})}catch{}throw e}}async function hc(e){try{const{ConfigManager:t}=await Promise.resolve().then(function(){return Tc}),n=t.getConfig();if(!n.githubApp?.enabled)throw new Error("GitHub App not configured");const i=await async function(e,t){const n=Math.floor(Date.now()/1e3),i={iat:n-60,exp:n+600,iss:e},o=`${Buffer.from(JSON.stringify({alg:"RS256",typ:"JWT"})).toString("base64url")}.${Buffer.from(JSON.stringify(i)).toString("base64url")}`;return`${o}.${r.sign("RSA-SHA256",Buffer.from(o),t).toString("base64url")}`}(n.githubApp.appId,n.githubApp.privateKey),o=n.githubApp.baseUrl||"https://api.github.com",a=await fetch(`${o}/app/installations/${e}/access_tokens`,{method:"POST",headers:{Authorization:`Bearer ${i}`,Accept:"application/vnd.github.v3+json","User-Agent":`octocode-mcp/${n.version}`}});if(!a.ok)throw new Error(`GitHub App token refresh failed: ${a.statusText}`);const s=await a.json(),c={installationToken:s.token,expiresAt:new Date(s.expires_at),installationId:e,permissions:s.permissions||{},appId:n.githubApp.appId};if(await async function(e){await _c("github_app_token",e.installationToken),await _c("github_app_expires_at",e.expiresAt.toISOString()),await _c("github_app_installation_id",e.installationId.toString()),await _c("github_app_permissions",JSON.stringify(e.permissions))}(c),vc(new Date(c.expiresAt.getTime()-3e5),"github_app",c),ac())try{const{logAuthEvent:t}=await import("./security/auditLogger.js");t("token_rotation","success",{appId:c.appId,installationId:e,expiresAt:c.expiresAt.toISOString(),permissions:Object.keys(c.permissions)})}catch{}return c}catch(t){if(ac())try{const{logAuthEvent:n}=await import("./security/auditLogger.js");n("token_rotation","failure",{error:t instanceof Error?t.message:String(t),installationId:e})}catch{}throw t}}async function gc(){await bc("oauth_access_token"),await bc("oauth_refresh_token"),await bc("oauth_expires_at"),await bc("oauth_scopes"),await bc("oauth_client_id")}function vc(e,t,n){const r=e.getTime()-Date.now()-3e5,i=`${t}_${Date.now()}`;if(r<=0)return void("oauth"===t&&"refreshToken"in n&&n.refreshToken?fc(n.refreshToken,n.clientId).catch(async e=>{if(ac())try{const{logAuthEvent:n}=await import("./security/auditLogger.js");n("auth_failure","failure",{error:e instanceof Error?e.message:String(e),immediate:!0,source:t})}catch{}}):"github_app"===t&&"installationId"in n&&hc(n.installationId).catch(async e=>{if(ac())try{const{logAuthEvent:n}=await import("./security/auditLogger.js");n("auth_failure","failure",{error:e instanceof Error?e.message:String(e),immediate:!0,source:t})}catch{}}));const o=setTimeout(async()=>{try{"oauth"===t&&"refreshToken"in n&&n.refreshToken?await fc(n.refreshToken,n.clientId):"github_app"===t&&"installationId"in n&&await hc(n.installationId)}catch(e){if(ac())try{const{logAuthEvent:n}=await import("./security/auditLogger.js");await n("token_rotation","failure",{error:e instanceof Error?e.message:String(e),source:t})}catch{}}finally{rc.delete(i)}},r);rc.set(i,o)}async function _c(e,t){const n=Ys.setCredential(t),r=await xc();r[e]=n,await wc(r)}async function yc(e){try{const t=(await xc())[e];return t?Ys.getCredential(t):null}catch{return null}}async function bc(e){try{const t=await xc(),n=t[e];n&&(Ys.removeCredential(n),delete t[e],await wc(t))}catch{}}let Ec={};async function xc(){return{...Ec}}async function wc(e){Ec={...e}}var Ac=Object.freeze({__proto__:null,extractBearerToken:sc,getGitHubToken:uc,getToken:lc,initialize:function(e){e&&(ic={...e},ic.enableAuditLogging,ic.enableOrganizationValidation&&ic.organizationId,ic.enableRateLimiting)},isCliTokenResolutionEnabled:dc,isEnterpriseTokenManager:mc,onTokenRotated:pc});class Sc{static config=null;static initialized=!1;static initialize(){return this.initialized&&this.config||(this.config={version:process.env.npm_package_version||"4.0.5",host:process.env.GITHUB_HOST,enabledToolsets:this.parseStringArray(process.env.GITHUB_TOOLSETS)||["all"],dynamicToolsets:"true"===process.env.GITHUB_DYNAMIC_TOOLSETS,readOnly:"true"===process.env.GITHUB_READ_ONLY,oauth:this.getOAuthConfig(),githubApp:this.getGitHubAppConfig(),enterprise:{organizationId:process.env.GITHUB_ORGANIZATION,ssoEnforcement:"true"===process.env.GITHUB_SSO_ENFORCEMENT,auditLogging:"true"===process.env.AUDIT_ALL_ACCESS,rateLimiting:this.hasRateLimitConfig(),tokenValidation:"true"===process.env.GITHUB_TOKEN_VALIDATION,permissionValidation:"true"===process.env.GITHUB_PERMISSION_VALIDATION},enableCommandLogging:"true"===process.env.ENABLE_COMMAND_LOGGING,logFilePath:process.env.LOG_FILE_PATH,githubHost:process.env.GITHUB_HOST,timeout:parseInt(process.env.REQUEST_TIMEOUT||"30000"),maxRetries:parseInt(process.env.MAX_RETRIES||"3")},this.initialized=!0,this.validateConfig()),this.config}static getConfig(){return this.initialized&&this.config?this.config:this.initialize()}static updateConfig(e){this.config||this.initialize(),this.config={...this.config,...e},this.validateConfig()}static isEnterpriseMode(){const e=this.getConfig();return!!(e.enterprise?.organizationId||e.enterprise?.auditLogging||e.enterprise?.rateLimiting||e.enterprise?.ssoEnforcement)}static getEnterpriseConfig(){return this.getConfig().enterprise}static getGitHubBaseURL(){const e=this.getConfig();return e.githubHost?`${e.githubHost.startsWith("https://")?e.githubHost:`https://${e.githubHost}`}/api/v3`:"https://api.github.com"}static exportConfig(){const e=this.getConfig();return{...e,token:e.token?"[REDACTED]":void 0,oauth:e.oauth?{...e.oauth,clientSecret:"[REDACTED]"}:void 0,githubApp:e.githubApp?{...e.githubApp,privateKey:"[REDACTED]"}:void 0}}static parseStringArray(e){if(e&&""!==e.trim())return e.split(",").map(e=>e.trim()).filter(e=>e.length>0)}static hasRateLimitConfig(){return!!(process.env.RATE_LIMIT_API_HOUR||process.env.RATE_LIMIT_AUTH_HOUR||process.env.RATE_LIMIT_TOKEN_HOUR)}static getOAuthConfig(){const e=process.env.GITHUB_OAUTH_CLIENT_ID,t=process.env.GITHUB_OAUTH_CLIENT_SECRET;if(e&&t)return{clientId:e,clientSecret:t,redirectUri:process.env.GITHUB_OAUTH_REDIRECT_URI||"http://localhost:3000/auth/callback",scopes:(process.env.GITHUB_OAUTH_SCOPES||"repo,read:user").split(","),enabled:"false"!==process.env.GITHUB_OAUTH_ENABLED,authorizationUrl:process.env.GITHUB_OAUTH_AUTH_URL||(process.env.GITHUB_HOST?`${process.env.GITHUB_HOST}/login/oauth/authorize`:"https://github.com/login/oauth/authorize"),tokenUrl:process.env.GITHUB_OAUTH_TOKEN_URL||(process.env.GITHUB_HOST?`${process.env.GITHUB_HOST}/login/oauth/access_token`:"https://github.com/login/oauth/access_token")}}static getGitHubAppConfig(){const e=process.env.GITHUB_APP_ID,t=process.env.GITHUB_APP_PRIVATE_KEY;if(e&&t)return{appId:e,privateKey:t.replace(/\\n/g,"\n"),installationId:process.env.GITHUB_APP_INSTALLATION_ID?parseInt(process.env.GITHUB_APP_INSTALLATION_ID):void 0,enabled:"false"!==process.env.GITHUB_APP_ENABLED,baseUrl:process.env.GITHUB_HOST?process.env.GITHUB_HOST.startsWith("https://")?`${process.env.GITHUB_HOST}/api/v3`:`https://${process.env.GITHUB_HOST}/api/v3`:void 0}}static validateConfig(){this.config&&(this.config.timeout<1e3&&(this.config.timeout=3e4),(this.config.maxRetries<0||this.config.maxRetries>10)&&(this.config.maxRetries=3),0===this.config.enabledToolsets.length&&(this.config.enabledToolsets=["all"]),this.config.enterprise?.auditLogging&&!this.config.enterprise?.organizationId&&process.stderr.write("Warning: Audit logging enabled without organization ID - some features may not work correctly\n"),this.config.oauth?.enabled&&!this.config.oauth.clientId&&process.stderr.write("Warning: OAuth enabled but no client ID provided - OAuth authentication will not work\n"),this.config.githubApp?.enabled&&!this.config.githubApp.appId&&process.stderr.write("Warning: GitHub App enabled but no app ID provided - GitHub App authentication will not work\n"))}}var Tc=Object.freeze({__proto__:null,ConfigManager:Sc});const kc=Xs.plugin(Ws);let Rc=null,Cc=null;async function Oc(){if(!Rc){const e=await uc(),t={userAgent:"octocode-mcp/1.0.0",baseUrl:Sc.getGitHubBaseURL(),request:{timeout:Sc.getConfig().timeout||3e4},throttle:{onRateLimit:(e,t,n,r)=>0===r,onSecondaryRateLimit:(e,t,n,r)=>0===r},...e&&{auth:e}};Rc=new kc(t),Cc=pc(async()=>{Rc=null})}return Rc}process.on("exit",()=>{Cc&&Cc()});var Dc=Object.freeze({__proto__:null,OctokitWithThrottling:kc,getOctokit:Oc});function Pc(e){if(e instanceof Ya){const{status:t,message:n,response:r}=e;switch(t){case 401:return{error:"GitHub authentication required",status:t,type:"http",scopesSuggestion:"Set GITHUB_TOKEN or GH_TOKEN environment variable"};case 403:{const e=r?.headers?.["x-ratelimit-remaining"],n=r?.headers?.["x-ratelimit-reset"],i=r?.headers?.["x-accepted-oauth-scopes"],o=r?.headers?.["x-oauth-scopes"];if("0"===e){const e=n?new Date(1e3*parseInt(n)):null;return{error:"GitHub API rate limit exceeded",status:t,type:"http",rateLimitRemaining:0,rateLimitReset:e?e.getTime():void 0,retryAfter:e?Math.ceil((e.getTime()-Date.now())/1e3):3600,scopesSuggestion:"Set GITHUB_TOKEN for higher rate limits (5000/hour vs 60/hour)"}}let a="Check repository permissions or authentication";return i&&o&&(a=function(e,t){const 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?`Missing required scopes: ${i.join(", ")}. Run: gh auth refresh -s ${i.join(" -s ")}`:"Token may not have sufficient permissions for this operation"}(String(i),String(o))),{error:"Access forbidden - insufficient permissions",status:t,type:"http",scopesSuggestion:a}}case 422:return{error:"Invalid search query or request parameters",status:t,type:"http",scopesSuggestion:"Check search syntax and parameter values"};case 404:return{error:"Repository, resource, or path not found",status:t,type:"http"};case 502:case 503:case 504:return{error:"GitHub API temporarily unavailable",status:t,type:"network",scopesSuggestion:"Retry the request after a short delay"};default:return{error:n||"GitHub API request failed",status:t,type:"http"}}}if(e instanceof Error){if(e.message.includes("ENOTFOUND")||e.message.includes("ECONNREFUSED"))return{error:"Network connection failed",type:"network",scopesSuggestion:"Check internet connection and GitHub API status"};if(e.message.includes("timeout"))return{error:"Request timeout",type:"network",scopesSuggestion:"Retry the request or check network connectivity"}}return{error:e instanceof Error?e.message:"Unknown error occurred",type:"unknown"}}async function Fc(){const e=ra("github-user",{}),t=await aa(e,async()=>{try{const e=await Oc(),t=await e.rest.users.getAuthenticated();return da({data:{login:t.data.login,id:t.data.id,name:t.data.name,email:t.data.email,company:t.data.company,type:t.data.type,plan:t.data.plan?{name:t.data.plan.name,space:t.data.plan.space,private_repos:t.data.plan.private_repos}:void 0}})}catch(e){const t=Pc(e);return da({isError:!0,error:`Failed to get user info: ${t.error}`,data:t})}},{ttl:9e5});if(t.isError)return null;const n=t.content[0].text;return JSON.parse(n).data}async function Ic(){try{const e=await Oc(),t=await e.rest.rateLimit.get();return{core:t.data.resources.core,search:t.data.resources.search,graphql:t.data.resources.graphql}}catch(e){return null}}class Mc{static userLimits=new Map;static initialized=!1;static config={apiRequestsPerHour:parseInt(process.env.RATE_LIMIT_API_HOUR||"1000"),authAttemptsPerHour:parseInt(process.env.RATE_LIMIT_AUTH_HOUR||"10"),tokenRequestsPerHour:parseInt(process.env.RATE_LIMIT_TOKEN_HOUR||"50")};static cleanupInterval=null;static initialize(){this.initialized||(this.initialized=!0,this.loadConfiguration(),this.setupCleanup())}static async checkLimit(e,t,n={}){if(!this.initialized)return{allowed:!0};const{increment:r=!0,customLimit:i}=n,o=this.getUserLimits(e)["auth"===t?"authentication":"token"===t?"tokenRequests":"api"],a=new Date;a.getTime()-o.windowStart.getTime()>=o.windowSize&&(o.requests=0,o.windowStart=a);const s=i??this.getMaxRequests(t),c=o.requests<s;return r&&c&&o.requests++,{allowed:c,resetTime:new Date(o.windowStart.getTime()+o.windowSize),remaining:Math.max(0,s-o.requests),limit:s,windowSize:o.windowSize}}static recordAction(e,t){if(!this.initialized)return;const n=this.getUserLimits(e)["auth"===t?"authentication":"token"===t?"tokenRequests":"api"],r=new Date;r.getTime()-n.windowStart.getTime()>=n.windowSize&&(n.requests=0,n.windowStart=r),n.requests++}static getUsage(e){if(!this.initialized)return{api:{current:0,limit:0,resetTime:new Date},auth:{current:0,limit:0,resetTime:new Date},token:{current:0,limit:0,resetTime:new Date}};const t=this.getUserLimits(e);return{api:{current:t.api.requests,limit:this.config.apiRequestsPerHour,resetTime:new Date(t.api.windowStart.getTime()+t.api.windowSize)},auth:{current:t.authentication.requests,limit:this.config.authAttemptsPerHour,resetTime:new Date(t.authentication.windowStart.getTime()+t.authentication.windowSize)},token:{current:t.tokenRequests.requests,limit:this.config.tokenRequestsPerHour,resetTime:new Date(t.tokenRequests.windowStart.getTime()+t.tokenRequests.windowSize)}}}static resetUserLimits(e){this.userLimits.delete(e)}static resetAllLimits(){this.userLimits.clear()}static getConfig(){return{...this.config}}static updateConfig(e){this.config={...this.config,...e}}static getStats(){const e={api:0,auth:0,token:0};for(const t of this.userLimits.values())e.api+=t.api.requests,e.auth+=t.authentication.requests,e.token+=t.tokenRequests.requests;return{initialized:this.initialized,activeUsers:this.userLimits.size,totalRequests:e,config:this.getConfig()}}static shutdown(){this.cleanupInterval&&(clearInterval(this.cleanupInterval),this.cleanupInterval=null),this.initialized=!1}static loadConfiguration(){const e=parseInt(process.env.RATE_LIMIT_API_HOUR||"1000"),t=parseInt(process.env.RATE_LIMIT_AUTH_HOUR||"10"),n=parseInt(process.env.RATE_LIMIT_TOKEN_HOUR||"50");this.config={apiRequestsPerHour:isNaN(e)?1e3:Math.max(1,e),authAttemptsPerHour:isNaN(t)?10:Math.max(1,t),tokenRequestsPerHour:isNaN(n)?50:Math.max(1,n)}}static getUserLimits(e){if(!this.userLimits.has(e)){const t=new Date,n=36e5;this.userLimits.set(e,{api:{requests:0,windowStart:t,windowSize:n},authentication:{requests:0,windowStart:t,windowSize:n},tokenRequests:{requests:0,windowStart:t,windowSize:n}})}return this.userLimits.get(e)}static getMaxRequests(e){switch(e){case"api":return this.config.apiRequestsPerHour;case"auth":return this.config.authAttemptsPerHour;case"token":return this.config.tokenRequestsPerHour;default:return 100}}static setupCleanup(){this.cleanupInterval=setInterval(()=>{this.cleanupExpiredWindows()},18e5),process.once("exit",()=>{this.shutdown()})}static cleanupExpiredWindows(){const e=(new Date).getTime(),t=[];for(const[n,r]of this.userLimits.entries())[r.api,r.authentication,r.tokenRequests].every(t=>e-t.windowStart.getTime()>=t.windowSize&&0===t.requests)&&t.push(n);for(const e of t)this.userLimits.delete(e)}}var Nc=Object.freeze({__proto__:null,RateLimiter:Mc});class Lc{static organizations=new Map;static initialized=!1;static membershipCache=new Map;static CACHE_TTL=9e5;static cleanupInterval=null;static initialize(){if(this.initialized)return;this.initialized=!0,this.cleanupInterval=setInterval(()=>{this.cleanupCache()},3e5);const e=process.env.GITHUB_ORGANIZATION;if(e){const t={id:e,name:process.env.GITHUB_ORGANIZATION_NAME||e,allowedUsers:this.parseCommaSeparatedList(process.env.GITHUB_ALLOWED_USERS),requiredTeams:this.parseCommaSeparatedList(process.env.GITHUB_REQUIRED_TEAMS),adminUsers:this.parseCommaSeparatedList(process.env.GITHUB_ADMIN_USERS)||[],settings:{requireMFA:"true"===process.env.REQUIRE_MFA,auditAllAccess:"true"===process.env.AUDIT_ALL_ACCESS,restrictToMembers:"true"===process.env.RESTRICT_TO_MEMBERS}};this.registerOrganization(t)}}static registerOrganization(e){this.organizations.set(e.id,e)}static getOrganization(e){return this.organizations.get(e)||null}static getOrganizations(){return Array.from(this.organizations.values())}static async validateOrganizationAccess(e,t,n={}){const r=this.organizations.get(e);if(!r)return{valid:!0,errors:[],warnings:["No organization configuration found - allowing access"]};const i=[],o=[],a={};r.allowedUsers&&r.allowedUsers.length>0&&(r.allowedUsers.includes(t)||i.push(`User '${t}' not in organization allowlist`));const s=r.adminUsers.includes(t);if(s&&o.push(`User '${t}' has admin privileges`),!n.skipMembershipCheck&&r.settings.restrictToMembers){const r=await this.verifyOrganizationMembership(e,t,n.bypassCache);a.membershipVerified=r.isMember,!r.isMember&&r.error?r.error.includes("403")?o.push("Insufficient token scopes to verify organization membership (requires read:org)"):r.error.includes("404")?i.push(`User '${t}' is not a member of organization '${e}'`):o.push(`Organization membership check failed: ${r.error}`):r.isMember||i.push(`User '${t}' is not a member of organization '${e}'`)}return r.requiredTeams&&r.requiredTeams.length>0&&(a.teamsChecked=r.requiredTeams,o.push("Team membership validation not implemented - requires additional GitHub API scopes")),r.settings.requireMFA&&(a.mfaStatus="required",o.push("MFA requirement configured but cannot be verified via API")),s&&i.length>0&&(o.push(`Admin user '${t}' bypassing ${i.length} access restrictions`),i.length=0),{valid:0===i.length,errors:i,warnings:o,metadata:a}}static isUserAdmin(e,t){if(t){const n=this.organizations.get(t);return!!n&&n.adminUsers.includes(e)}return Array.from(this.organizations.values()).some(t=>t.adminUsers.includes(e))}static getOrganizationSettings(e){const t=this.organizations.get(e);return t?t.settings:null}static clearMembershipCache(){this.membershipCache.clear()}static shutdown(){this.cleanupInterval&&(clearInterval(this.cleanupInterval),this.cleanupInterval=null),this.initialized=!1}static getCacheStats(){const e=Date.now(),t=Array.from(this.membershipCache.entries()).map(([t,n])=>({key:t,expiry:n.expiry,expired:n.expiry<e}));return{size:this.membershipCache.size,entries:t}}static parseCommaSeparatedList(e){if(e&&""!==e.trim())return e.split(",").map(e=>e.trim()).filter(e=>e.length>0)}static async verifyOrganizationMembership(e,t,n=!1){const r=`${e}:${t}`,i=Date.now();if(!n){const e=this.membershipCache.get(r);if(e&&e.expiry>i)return{isMember:e.valid,cached:!0}}try{const{getOctokit:n}=await Promise.resolve().then(function(){return Dc}),o=await n();await o.request("GET /orgs/{org}/members/{username}",{org:e,username:t});const a={isMember:!0};return this.membershipCache.set(r,{valid:!0,expiry:i+this.CACHE_TTL}),a}catch(e){let t="unknown error",n=!1;const o=e;if(404===o?.status)t="404 - User not found or not a public member",n=!1;else{if(403===o?.status)return t="403 - Insufficient token scopes (requires read:org)",{isMember:!1,error:t};t=o?.status?`${o.status} - ${o.message||"API error"}`:o?.message||"Network or unknown error"}return 403!==o?.status&&this.membershipCache.set(r,{valid:n,expiry:i+this.CACHE_TTL}),{isMember:n,error:t}}}static cleanupCache(){const e=Date.now();for(const[t,n]of this.membershipCache.entries())n.expiry<e&&this.membershipCache.delete(t)}}var Bc=Object.freeze({__proto__:null,OrganizationManager:Lc});function Uc(){return Sc.isEnterpriseMode()}function Gc(){return Sc.getEnterpriseConfig()}function zc(){return function(){const e=Gc();return!0===e?.auditLogging}()}function Vc(e){return async t=>{try{const n=pa.validateInputParameters(t);if(!n.isValid)return da({error:`Security validation failed: ${n.warnings.join("; ")}`,isError:!0});let r;if(Uc())try{const e=await async function(){const[e,t]=await Promise.all([Fc(),Ic()]);return{user:e,organizationId:process.env.GITHUB_ORGANIZATION,rateLimits:t}}();if(e.user){r={userId:e.user.id.toString(),userLogin:e.user.login,organizationId:e.organizationId,isEnterpriseMode:!0};try{const e=await Mc.checkLimit(r.userId,"api",{increment:!0});if(!e.allowed)return da({error:`Rate limit exceeded. Try again in ${Math.ceil((e.resetTime?.getTime()||Date.now())-Date.now())/1e3} seconds.`,isError:!0,hints:["Rate limiting is active in enterprise mode"]})}catch(e){}if(r.organizationId)try{const e=await Lc.validateOrganizationAccess(r.organizationId,r.userLogin);if(!e.valid)return da({error:`Organization access denied: ${e.errors.join("; ")}`,isError:!0,hints:["Enterprise organization validation failed"]})}catch(e){}}}catch(e){}return await e(n.sanitizedParams,r)}catch(e){return da({error:`Security validation error: ${e instanceof Error?e.message:"Unknown error"}`,isError:!0})}}}const jc=tt({id:Xe().optional().describe("Optional identifier for the query"),researchGoal:at(ga).optional().describe("Research goal to guide tool behavior and hint generation for enhanced LLM reasoning and context-aware responses")});function qc(e){return jc.extend(e)}function Hc(e,t=1,n=10,r){return tt({queries:et(e).min(t).max(n).describe(r||`Array of ${t}-${n} queries for bulk execution`),verbose:Ze().optional().default(!1).describe("Include detailed metadata for debugging. Default: false for cleaner responses")})}tt({queries:et(jc).min(1).describe("Array of queries for bulk execution"),verbose:Ze().optional().default(!1).describe("Include detailed metadata for debugging. Default: false for cleaner responses")}),tt({limit:Ye().int().min(1).max(100).optional().describe("Maximum number of results to return"),offset:Ye().int().min(0).optional().describe("Number of results to skip")}),tt({sort:Xe().optional().describe("Field to sort by"),order:at(["asc","desc"]).optional().default("desc").describe("Sort order direction")}),tt({query:Xe().min(1).optional().describe("Search query text"),queryTerms:et(Xe()).optional().describe("Multiple search terms with AND logic")}),tt({owner:nt([Xe(),et(Xe())]).optional().describe("Repository owner/organization name(s)"),repo:nt([Xe(),et(Xe())]).optional().describe("Repository name(s)"),language:Xe().optional().describe("Programming language filter"),visibility:at(["public","private","internal"]).optional().describe("Repository visibility")});const Kc=Xe().min(1).max(150).regex(/^[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?$/).describe('Repository owner/organization name (e.g., "facebook", "microsoft"). Do NOT include repository name here.'),$c=Xe().min(1).max(150).regex(/^[a-zA-Z0-9._-]+$/).describe('Repository name only (e.g., "react", "vscode"). Do NOT include owner/org prefix.'),Wc=Xe().min(1).max(255).regex(/^[^\s]+$/).describe("Branch name, tag name, OR commit SHA. Uses default branch if not provided."),Xc=Xe().min(1).describe('File path from repository root (e.g., "src/index.js", "README.md", "docs/api.md"). Do NOT start with slash.');Ye().int().min(1).max(100).optional().describe("Maximum number of results to return"),tt({minify:Ze().optional().default(!0).describe("Optimize content for token efficiency (default: true)"),sanitize:Ze().optional().default(!0).describe("Remove secrets and malicious content (default: true)")}),tt({created:Xe().regex(/^(>=?\d{4}-\d{2}-\d{2}|<=?\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2}\.\.\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2})$/).optional().describe('Creation date filter. Format: ">2020-01-01", ">=2020-01-01", "<2023-12-31", "2020-01-01..2023-12-31"'),updated:Xe().regex(/^(>=?\d{4}-\d{2}-\d{2}|<=?\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2}\.\.\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2})$/).optional().describe('Last updated date filter. Format: ">2024-01-01", ">=2024-01-01", "<2022-01-01", "2023-01-01..2024-12-31"')}),tt({stars:nt([Ye().int().min(0),Xe().regex(/^(>=?\d+|<=?\d+|\d+\.\.\d+|\d+)$/)]).optional().describe('Star count filter. Format: ">N", "<N", "N..M", or exact number')}),tt({locked:Ze().optional().describe("Conversation locked status"),draft:Ze().optional().describe("Draft state filter")}),nt([Xe(),et(Xe())]).optional(),nt([Xe(),et(Xe()),Qe()]).optional(),nt([Ye().int().min(0),Xe().regex(/^(>=?\d+|<=?\d+|\d+\.\.\d+|\d+)$/)]).optional(),nt([Ye().int().min(0),Xe().regex(/^(>=?\d+|<=?\d+|\d+\.\.\d+|\d+)$/),Qe()]).optional();const Yc=Hc(qc({queryTerms:et(Xe()).min(1).max(4).describe('Search terms (AND logic in a file). Returns actual code snippets with context. Prefer one word only for exploratory search. Use specific code terms for better results (e.g., ["functionName"], ["className"]) rather than semantic words (e.g., ["implementation"])\n      Prefer using several queries in bulk for better research data from different angles'),owner:nt([Xe(),et(Xe())]).optional().describe("Repository owner name (user or organization)"),repo:nt([Xe(),et(Xe())]).optional().describe("Repository name (use with owner for specific repo)"),language:Xe().optional().describe('Programming language filter (e.g., "language-name", "script-language", "compiled-language")'),extension:Xe().optional().describe('File extension filter (e.g., "md", "js", "yml")'),filename:Xe().optional().describe('Target specific filename or pattern (e.g., "README", "test", ".env")'),path:Xe().optional().describe('Filter on file path pattern (e.g., "src/", "docs/", "config/")'),size:Xe().regex(/^(>=?\d+|<=?\d+|\d+\.\.\d+|\d+)$/).optional().describe('File size filter in KB. Use ">50" for substantial files, "<10" for simple examples'),visibility:at(["public","private","internal"]).optional().describe("Repository visibility"),stars:nt([Ye(),Xe()]).optional().describe('Minimum repository stars for better quality results (e.g., ">100", ">=500", "1000..5000")'),pushed:Xe().regex(/^(>=?\d{4}-\d{2}-\d{2}|<=?\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2}\.\.\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2})$/).optional().describe('Last pushed date filter for active repositories (e.g., ">2023-01-01", ">=2024-01-01")'),created:Xe().regex(/^(>=?\d{4}-\d{2}-\d{2}|<=?\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2}\.\.\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2})$/).optional().describe('Repository creation date filter (e.g., ">2020-01-01", ">=2018-01-01")'),match:nt([at(["file","path"]),et(at(["file","path"]))]).optional().describe('Search scope: "file" (content search - default), "path" (filename search)'),sort:at(["indexed","best-match"]).optional().default("best-match").describe('Sort results: "best-match" (relevance - default), "indexed" (recently indexed)'),order:at(["asc","desc"]).optional().default("desc").describe('Sort order: "desc" (default), "asc"'),qualityBoost:Ze().optional().default(!0).describe("Enable quality boosting: prioritize popular, well-maintained repositories (default: true)"),limit:Ye().int().min(1).max(20).optional().describe("Maximum results per query (1-20). Higher limits for discovery, lower for targeted searches"),minify:Ze().optional().default(!0).describe("Optimize content for token efficiency (default: true)"),sanitize:Ze().optional().default(!0).describe("Remove secrets and malicious content (default: true)"),branch:Xe().optional().describe("Branch name, tag name, OR commit SHA. Uses default branch if not provided.")}),1,5,"Array of 1-5 progressive refinement queries, starting broad then narrowing. PROGRESSIVE STRATEGY: Query 1 should be broad (queryTerms + owner/repo only), then progressively add filters based on initial findings.");function Zc(e){return e.includes("-")||e.includes("_")||e.toLowerCase().includes("org")?`org:${e}`:`user:${e}`}function Qc(e){return{js:"JavaScript",jsx:"JavaScript",javascript:"JavaScript",mjs:"JavaScript",cjs:"JavaScript",ts:"TypeScript",tsx:"TypeScript",py:"Python",py3:"Python",java:"Java",kt:"Kotlin",scala:"Scala",c:"C",cpp:"C++",cc:"C++",cxx:"C++",cs:"C#",html:"HTML",css:"CSS",scss:"SCSS",sass:"Sass",less:"Less",go:"Go",rs:"Rust",rb:"Ruby",php:"PHP",swift:"Swift",r:"R",sql:"SQL",sh:"Shell",bash:"Shell",zsh:"Shell",fish:"Shell",ps1:"PowerShell",psm1:"PowerShell",json:"JSON",xml:"XML",yaml:"YAML",yml:"YAML",toml:"TOML",ini:"INI",md:"Markdown",rst:"reStructuredText",conf:"Configuration",config:"Configuration"}[e.toLowerCase()]||e}function Jc(e){return e.split("")}function eu(e,t){return t.includes(e)}class tu extends Error{constructor(e,t){super(),this.name="DefaultsError",this.message=e,this.defs=t}}function nu(e,t,n){!0===e?e={}:null!=e&&"object"==typeof e&&(e={...e});const r=e||{};if(n)for(const e in r)if(gu(r,e)&&!gu(t,e))throw new tu("`"+e+"` is not a supported option",t);for(const n in t)if(gu(t,n))if(e&&gu(e,n))if("ecma"===n){let t=0|e[n];t>5&&t<2015&&(t+=2009),r[n]=t}else r[n]=e&&gu(e,n)?e[n]:t[n];else r[n]=t[n];return r}function ru(){}function iu(){return!1}function ou(){return!0}function au(){return this}function su(){return null}var cu=function(){function e(e,n,r=!0){const i=[];for(let o=0;o<e.length;++o){let a=e[o].transform(n,r);a instanceof _l?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 uu(e,t,n){return n||(n={}),t&&(n.start||(n.start=t.start),n.end||(n.end=t.end)),new e(n)}function lu(e,t){e.includes(t)||e.push(t)}function pu(e,t){return e.replace(/{(.+?)}/g,function(e,n){return t&&t[n]})}function du(e,t){for(var n=e.length;--n>=0;)e[n]===t&&e.splice(n,1)}function mu(e,t){return e.length<2?e.slice():function e(n){if(n.length<=1)return n;var r=Math.floor(n.length/2),i=n.slice(0,r),o=n.slice(r);return function(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}(i=e(i),o=e(o))}(e)}function fu(e){return Array.isArray(e)||(e=e.split(" ")),new Set(e.sort())}function hu(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}function gu(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function vu(e,t){return!0===e||e instanceof RegExp&&e.test(t)}var _u={"\0":"0","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function yu(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))?"\\":"")+_u[t]})}const bu=/^[\\/|\0\s\w^$.[\]()]*$/,Eu=e=>bu.test(e);function xu(e,t){return e._annotations&t}function wu(e,t){e._annotations|=t}function Au(e,t){e._annotations&=-9}var Su="",Tu=new Map,ku="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",Ru="false null true",Cu="enum import super this "+Ru+" "+ku,Ou="implements interface package private protected public static "+Cu,Du="return new delete throw else case yield await";ku=fu(ku),Cu=fu(Cu),Du=fu(Du),Ru=fu(Ru),Ou=fu(Ou);var Pu=fu(Jc("+-*&%=<>!?|~^")),Fu=/^0x[0-9a-f]+$/i,Iu=/^0[0-7]+$/,Mu=/^0o[0-7]+$/i,Nu=/^0b[01]+$/i,Lu=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,Bu=/^(0[xob])?[0-9a-f]+n$/i,Uu=fu(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]),Gu=fu(Jc("  \n\r\t\f\v​           \u2028\u2029   \ufeff")),zu=fu(Jc("\n\r\u2028\u2029")),Vu=fu(Jc(";]),:")),ju=fu(Jc("[{(,;:")),qu=fu(Jc("[]{}(),;:")),Hu={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 Ku(e,t){if($u(e.charCodeAt(t))){if(Wu(e.charCodeAt(t+1)))return e.charAt(t)+e.charAt(t+1)}else if(Wu(e.charCodeAt(t))&&$u(e.charCodeAt(t-1)))return e.charAt(t-1)+e.charAt(t);return e.charAt(t)}function $u(e){return e>=55296&&e<=56319}function Wu(e){return e>=56320&&e<=57343}function Xu(e){return e>=48&&e<=57}function Yu(e){return Hu.ID_Start.test(e)}function Zu(e){return Hu.ID_Continue.test(e)}const Qu=/^[a-z_$][a-z0-9_$]*$/i;function Ju(e){return Qu.test(e)}function el(e,t){if(Qu.test(e))return!0;if(!t&&/[\ud800-\udfff]/.test(e))return!1;var n=Hu.ID_Start.exec(e);return!(!n||0!==n.index||(e=e.slice(n[0].length))&&(!(n=Hu.ID_Continue.exec(e))||n[0].length!==e.length))}function tl(e,t=!0){if(!t&&e.includes("e"))return NaN;if(Fu.test(e))return parseInt(e.substr(2),16);if(Iu.test(e))return parseInt(e.substr(1),8);if(Mu.test(e))return parseInt(e.substr(2),8);if(Nu.test(e))return parseInt(e.substr(2),2);if(Lu.test(e))return parseFloat(e);var n=parseFloat(e);return n==e?n:void 0}class nl 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 rl(e,t,n,r,i){throw new nl(e,t,n,r,i)}function il(e,t,n){return e.type==t&&(null==n||e.value==n)}var ol={};function al(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 Ku(i.text,i.pos)}function a(){if(46!==i.text.charCodeAt(i.pos+1))return!1;const e=i.text.charCodeAt(i.pos+2);return e<48||e>57}function s(e,t){var n=Ku(i.text,i.pos++);if(e&&!n)throw ol;return zu.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 u(e){return i.text.substr(i.pos,e.length)==e}function l(e,t){var n=i.text.indexOf(e,i.pos);if(-1==n)throw ol;return n}function p(){i.tokline=i.line,i.tokcol=i.col,i.tokpos=i.pos}var d=!1,m=null;function f(e,n,r){i.regex_allowed="operator"==e&&!cl.has(n)||"keyword"==e&&Du.has(n)||"punc"==e&&ju.has(n)||"arrow"==e,"punc"!=e||"."!=n&&"?."!=n?r||(d=!1):d=!0;const o=i.tokline,a=i.tokcol,s=i.tokpos,c=i.newline_before,u=t;let l=[],p=[];r||(l=i.comments_before,p=i.comments_before=[]),i.newline_before=!1;const f=new vl(e,n,o,a,s,c,l,p,u);return r||(m=f),f}function h(){for(;Gu.has(o());)s()}function g(e){rl(e,t,i.tokline,i.tokcol,i.tokpos)}function v(e){var t=!1,n=!1,r=!1,i="."==e,a=!1,c=!1,u=function(e){for(var t,n="",r=0;(t=o())&&e(t,r++);)n+=s();return n}(function(o,s){if(a)return!1;var u=o.charCodeAt(0);switch(u){case 95:return c=!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==s&&!e;case 43:return n;case n=!1,46:return!(i||r||t)&&(i=!0);case 110:return a=!0,!0}return u>=48&&u<=57||u>=97&&u<=102||u>=65&&u<=70});if(e&&(u=e+u),Su=u,Iu.test(u)&&M.has_directive("use strict")&&g("Legacy octal literals are not allowed in strict mode"),c&&(u.endsWith("_")?g("Numeric separators are not allowed at the end of numeric literals"):u.includes("__")&&g("Only one underscore is allowed as numeric separator"),u=u.replace(/_/g,"")),a){const e=u.slice(0,-1),t=tl(e,Fu.test(e));if(!i&&Bu.test(u)&&!isNaN(t))return f("big_int",e);g("Invalid or unexpected token")}var l=tl(u);if(!isNaN(l))return f("num",l);g("Invalid syntax: "+u)}function _(e){return e>="0"&&e<="7"}function y(e,t,n){var r,a=s(!0,e);switch(a.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(b(2,t));case 117:if("{"==o()){for(s(!0),"}"===o()&&g("Expecting hex-character between {}");"0"==o();)s(!0);var c,u=l("}")-i.pos;return(u>6||(c=b(u,t))>1114111)&&g("Unicode reference out of bounds"),s(!0),(r=c)>65535?(r-=65536,String.fromCharCode(55296+(r>>10))+String.fromCharCode(r%1024+56320)):String.fromCharCode(r)}return String.fromCharCode(b(4,t));case 10:return"";case 13:if("\n"==o())return s(!0,e),""}return _(a)?(n&&t&&("0"===a&&!_(o())||g("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&&g("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(e,8)))}(a,t)):a}function b(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))&&g("Invalid hex-character pattern in string"),n+=r}return parseInt(n,16)}var E=I("Unterminated string constant",function(){const e=i.pos;for(var t=s(),n=[];;){var r=s(!0,!0);if("\\"==r)r=y(!0,!0);else if("\r"==r||"\n"==r)g("Unterminated string constant");else if(r==t)break;n.push(r)}var o=f("string",n.join(""));return Su=i.text.slice(e,i.pos),o.quote=t,o}),x=I("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=f(e?"template_head":"template_cont",r),Tu.set(n,a),n.template_end=!1,n;if(a+=t,"\\"==t){var c=i.pos;t=y(!0,!(m&&("name"===m.type||"punc"===m.type&&(")"===m.value||"]"===m.value))),!0),a+=i.text.substr(c,i.pos-c)}r+=t}return i.template_braces.pop(),n=f(e?"template_head":"template_cont",r),Tu.set(n,a),n.template_end=!0,n});function w(e){var t,n=i.regex_allowed,r=function(){for(var e=i.text,t=i.pos,n=i.text.length;t<n;++t){var r=e[t];if(zu.has(r))return t}return-1}();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(f(e,t,!0)),i.regex_allowed=n,M}var A=I("Unterminated multiline comment",function(){var e=i.regex_allowed,t=l("*/"),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++)$u(e.charCodeAt(n))&&Wu(e.charCodeAt(n+1))&&(t++,n++);return e.length-t}(n)+2),i.comments_before.push(f("comment2",n,!0)),i.newline_before=i.newline_before||n.includes("\n"),i.regex_allowed=e,M}),S=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&&!Zu(n)?(i.pos+=t-e,i.col+=t-e,i.text.slice(e,i.pos)):T()},T=I("Unterminated identifier name",function(){var e,t=[],n=!1,r=function(){return n=!0,s(),"u"!==o()&&g("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),y(!1,!0)};if("\\"===(e=o()))Yu(e=r())||g("First identifier char is an invalid identifier char");else{if(!Yu(e))return"";s()}for(t.push(e);null!=(e=o());){if("\\"===(e=o()))Zu(e=r())||g("Invalid escaped identifier char");else{if(!Zu(e))break;s()}t.push(e)}const i=t.join("");return Cu.has(i)&&n&&g("Escaped characters are not allowed in keywords"),i}),k=I("Unterminated regular expression",function(e){for(var t,n=!1,r=!1;t=s(!0);)if(zu.has(t))g("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 f("regexp","/"+e+"/"+S())});function R(e){return f("operator",function e(t){if(!o())return t;var n=t+o();return Uu.has(n)?(s(),e(n)):t}(e||s()))}function C(){switch(s(),o()){case"/":return s(),w("comment1");case"*":return s(),A()}return i.regex_allowed?k(""):R("/")}function O(){return s(),">"===o()?(s(),f("arrow","=>")):R("=")}function D(){return s(),Xu(o().charCodeAt(0))?v("."):"."===o()?(s(),s(),f("expand","...")):f("punc",".")}function P(){var e=S();return d?f("name",e):Ru.has(e)?f("atom",e):ku.has(e)?Uu.has(e)?f("operator",e):f("keyword",e):f("name",e)}function F(){return s(),f("privatename",S())}function I(e,t){return function(n){try{return t(n)}catch(t){if(t!==ol)throw t;g(e)}}}function M(e){if(null!=e)return k(e);for(r&&0==i.pos&&u("#!")&&(p(),c(2),w("comment5"));;){if(h(),p(),n){if(u("\x3c!--")){c(4),w("comment3");continue}if(u("--\x3e")&&i.newline_before){c(3),w("comment4");continue}}var t=o();if(!t)return f("eof");var l=t.charCodeAt(0);switch(l){case 34:case 39:return E();case 46:return D();case 47:var d=C();if(d===M)continue;return d;case 61:return O();case 63:if(!a())break;return s(),s(),f("punc","?.");case 96:return x(!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 x(!1)}if(Xu(l))return v();if(qu.has(t))return f("punc",s());if(Pu.has(t))return R();if(92==l||Yu(t))return P();if(35==l)return F();break}g("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}var sl=fu(["typeof","void","delete","--","++","!","~","-","+"]),cl=fu(["--","++"]),ul=fu(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),ll=fu(["??=","&&=","||="]),pl=function(e,t){for(var n=0;n<e.length;++n)for(const r of e[n])t[r]=n+1;return t}([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),dl=fu(["atom","num","big_int","string","regexp","name"]);function ml(e,t){const n=new WeakMap;t=nu(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?al(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 il(r.token,e,t)}function o(){return r.peeked||(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();rl(e,o.filename,null!=t?t:o.tokline,null!=n?n:o.tokcol,null!=i?i:o.tokpos)}function u(e,t){c(t,e.line,e.col)}function l(e){null==e&&(e=r.token),u(e,"Unexpected token: "+e.type+" ("+e.value+")")}function p(e,t){if(i(e,t))return a();u(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 v(e){i("punc",";")?a():e||f()||l()}function _(){d("(");var e=_e(!0);return d(")"),e}function y(e){return function(...t){const 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=y(function e(n,h,y){switch(b(),r.token.type){case"string":if(r.in_directives){var E=o();!Su.includes("\\")&&(il(E,"punc",";")||il(E,"punc","}")||m(E)||il(E,"eof"))?r.input.add_directive(r.token.value):r.in_directives=!1}var R=r.in_directives,O=w();return R&&O.body instanceof kd?new El(O.body):O;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return w();case"name":case"privatename":if(i("privatename")&&!r.in_class&&c("Private field must be used in an enclosing class"),"async"==r.token.value&&il(o(),"keyword","function"))return a(),a(),h&&c("functions are not allowed as the body of a loop"),C(Hl,!1,!0,n);if("import"==r.token.value&&!il(o(),"punc","(")&&!il(o(),"punc",".")){a();var P=function(){var e,t,n=s();i("name")&&(e=ae(gd)),i("punc",",")&&a(),((t=ee(!0))||e)&&p("name","from");var o=r.token;"string"!==o.type&&l(),a();const c=Z();return new bp({start:n,imported_name:e,imported_names:t,module_name:new kd({start:o,value:o.value,quote:o.quote,end:o}),attributes:c,end:r.token})}();return v(),P}return il(o(),"punc",":")?x():w();case"punc":switch(r.token.value){case"{":return new Tl({start:r.token,body:M(),end:s()});case"[":case"(":return w();case";":return r.in_directives=!1,a(),new kl;default:l()}case"keyword":switch(r.token.value){case"break":return a(),A(tp);case"continue":return a(),A(np);case"debugger":return a(),v(),new bl;case"do":a();var F=ye(e);p("keyword","while");var L=_();return v(!0),new Pl({body:F,condition:L});case"while":return a(),new Fl({condition:_(),body:ye(function(){return e(!1,!0)})});case"for":return a(),function(){var e="`for await` invalid in this context",t=r.token;"name"==t.type&&"await"==t.value?(g()||u(t,e),a()):t=!1,d("(");var n=null;if(i("punc",";"))t&&u(t,e);else{n=i("keyword","var")?(a(),B(!0)):i("keyword","let")?(a(),U(!0)):i("keyword","const")?(a(),G(!0)):_e(!0,!0);var o=i("operator","in"),s=i("name","of");if(t&&!s&&u(t,e),o||s)return n instanceof fp?n.definitions.length>1&&u(n.start,"Only one variable declaration allowed in for..in loop"):fe(n)||(n=he(n))instanceof Kl||u(n.start,"Invalid left-hand side in for..in loop"),a(),o?k(n):T(n,!!t)}return S(n)}();case"class":return a(),h&&c("classes are not allowed as the body of a loop"),y&&c("classes are not allowed as the body of an if"),X(Qp,n);case"function":return a(),h&&c("functions are not allowed as the body of a loop"),C(Hl,!1,!1,n);case"if":return a(),I();case"return":0!=r.in_function||t.bare_returns||c("'return' outside of function"),a();var z=null;return i("punc",";")?a():f()||(z=_e(!0),v()),new Ql({value:z});case"switch":return a(),new ap({expression:_(),body:ye(N)});case"throw":return a(),m(r.token)&&c("Illegal newline after 'throw'"),z=_e(!0),v(),new Jl({value:z});case"try":return a(),function(){var e,t=null,n=null;if(e=new pp({start:r.token,body:M(),end:s()}),i("keyword","catch")){var o=r.token;if(a(),i("punc","{"))var u=null;else d("("),u=D(void 0,hd),d(")");t=new dp({start:o,argname:u,body:M(),end:s()})}return i("keyword","finally")&&(o=r.token,a(),n=new mp({start:o,body:M(),end:s()})),t||n||c("Missing catch/finally blocks"),new lp({body:e,bcatch:t,bfinally:n})}();case"var":return a(),P=B(),v(),P;case"let":return a(),P=U(),v(),P;case"const":return a(),P=G(),v(),P;case"with":return r.input.has_directive("use strict")&&c("Strict mode may not include a with statement"),a(),new Ll({expression:_(),body:e()});case"export":if(!il(o(),"punc","("))return a(),P=te(),i("punc",";")&&v(),P}}l()});function x(){var e=ae(_d);"await"===e.name&&r.in_async===r.in_function&&u(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 Ol||e.references.forEach(function(t){t instanceof np&&(t=t.label.start,c("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos))}),new Cl({body:t,label:e})}function w(e){return new xl({body:(e=_e(!0),v(),e)})}function A(e){var t,n=null;f()||(n=ae(xd,!0)),null!=n?((t=r.labels.find(e=>e.name===n.name))||c("Undefined label "+n.name),n.thedef=t):0==r.in_loop&&c(e.TYPE+" not inside a loop or switch"),v();var i=new e({label:n});return t&&t.references.push(i),i}function S(e){d(";");var t=i("punc",";")?null:_e(!0);d(";");var n=i("punc",")")?null:_e(!0);return d(")"),new Il({init:e,condition:t,step:n,body:ye(function(){return E(!1,!0)})})}function T(e,t){var n=e instanceof fp?e.definitions[0].name:null,r=_e(!0);return d(")"),new Nl({await:t,init:e,name:n,object:r,body:ye(function(){return E(!1,!0)})})}function k(e){var t=_e(!0);return d(")"),new Ml({init:e,object:t,body:ye(function(){return E(!1,!0)})})}var R=function(e,t,n){m(r.token)&&c("Unexpected newline before arrow (=>)"),p("arrow","=>");var o=F(i("punc","{"),!1,n);return new ql({start:e,end:o.end,async:n,argnames:t,body:o})},C=function(e,t,n,r){var o=e===Hl;i("operator","*")&&(t=!0,a());var c=i("name")?ae(o?ud:dd):null;o&&!c&&(r?e=jl:l()),!c||e===Vl||c instanceof rd||l(s());var u=[],p=F(!0,t,n,c,u);return new e({start:u.start,end:p.end,is_generator:t,async:n,name:c,argnames:u,body:p})};class O{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&&u(e,"Unexpected "+e.value+" identifier as parameter inside strict mode");break;default:Cu.has(e.value)&&l()}}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&&u(this.duplicate,"Parameter "+this.duplicate.value+" was used already")}}function D(e,t){var n,o=!1;return void 0===e&&(e=new O(!0,r.input.has_directive("use strict"))),i("expand","...")&&(o=r.token,e.mark_spread(r.token),a()),n=P(e,t),i("operator","=")&&!1===o&&(e.mark_default_assignment(r.token),a(),n=new Lp({start:n.start,left:n,operator:"=",right:_e(!1),end:r.token})),!1!==o&&(i("punc",")")||l(),n=new Gl({start:o,expression:n,end:o})),e.check_strict(),n}function P(e,t){var n,u=[],p=!0,m=!1,f=r.token;if(void 0===e){const n=r.input.has_directive("use strict");e=new O(!1,n,t===id)}if(t=void 0===t?cd: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",":u.push(new Md({start:r.token,end:r.token}));continue;case"]":break;case"[":case"{":u.push(P(e,t));break;default:l()}else i("name")?(e.add_parameter(r.token),u.push(ae(t))):c("Invalid function parameter");i("operator","=")&&!1===m&&(e.mark_default_assignment(r.token),a(),u[u.length-1]=new Lp({start:u[u.length-1].start,left:u[u.length-1],operator:"=",right:_e(!1),end:r.token})),m&&(i("punc","]")||c("Rest element must be last element"),u[u.length-1]=new Gl({start:n,expression:u[u.length-1],end:n}))}return d("]"),e.check_strict(),new Kl({start:f,names:u,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")&&(il(o(),"punc")||il(o(),"operator"))&&[",","}","="].includes(o().value)){e.add_parameter(r.token);var h=s(),g=ae(t);m?u.push(new Gl({start:n,expression:g,end:g.end})):u.push(new zp({start:h,key:g.name,value:g,end:g.end}))}else{if(i("punc","}"))continue;var v=r.token,_=ne();null===_?l(s()):"name"!==s().type||i("punc",":")?(d(":"),u.push(new zp({start:v,quote:v.quote,key:_,value:P(e,t),end:s()}))):u.push(new zp({start:s(),key:_,value:new t({start:s(),name:_,end:s()}),end:s()}))}m?i("punc","}")||c("Rest element must be last element"):i("operator","=")&&(e.mark_default_assignment(r.token),a(),u[u.length-1].value=new Lp({start:u[u.length-1].value.start,left:u[u.length-1].value,operator:"=",right:_e(!1),end:r.token}))}return d("}"),e.check_strict(),new Kl({start:f,names:u,is_array:!1,end:s()})}if(i("name"))return e.add_parameter(r.token),ae(t);c("Invalid function parameter")}function F(e,t,n,o,s){var c=r.in_loop,u=r.labels,l=r.in_generator,p=r.in_async;if(++r.in_function,t&&(r.in_generator=r.in_function),n&&(r.in_async=r.in_function),s&&function(e){var t=new O(!0,r.input.has_directive("use strict"));for(d("(");!i("punc",")");){var n=D(t);if(e.push(n),i("punc",")")||d(","),n instanceof Gl)break}a()}(s),e&&(r.in_directives=!0),r.in_loop=0,r.labels=[],e){r.input.push_directives_stack();var m=M();o&&oe(o),s&&s.forEach(oe),r.input.pop_directives_stack()}else m=[new Ql({start:r.token,value:_e(!1),end:r.token})];return--r.in_function,r.in_loop=c,r.labels=u,r.in_generator=l,r.in_async=p,m}function I(){var e=_(),t=E(!1,!1,!0),n=null;return i("keyword","else")&&(a(),n=E(!1,!1,!0)),new op({condition:e,body:t,alternative:n})}function M(){d("{");for(var e=[];!i("punc","}");)i("eof")&&l(),e.push(E());return a(),e}function N(){d("{");for(var e,t=[],n=null,o=null;!i("punc","}");)i("eof")&&l(),i("keyword","case")?(o&&(o.end=s()),n=[],o=new up({start:(e=r.token,a(),e),expression:_e(!0),body:n}),t.push(o),d(":")):i("keyword","default")?(o&&(o.end=s()),n=[],o=new cp({start:(e=r.token,a(),d(":"),e),body:n}),t.push(o)):(n||l(),n.push(E()));return o&&(o.end=s()),a(),t}function L(e,t){for(var n,o=[];;){var u="var"===t?id:"const"===t?ad:"let"===t?sd:null;if(i("punc","{")||i("punc","[")?n=new _p({start:r.token,name:P(void 0,u),value:i("operator","=")?(p("operator","="),_e(!1,e)):null,end:s()}):"import"==(n=new _p({start:r.token,name:ae(u),value:i("operator","=")?(a(),_e(!1,e)):e||"const"!==t?null:c("Missing initializer in const declaration"),end:s()})).name.name&&c("Unexpected token: import"),o.push(n),!i("punc",","))break;a()}return o}var B=function(e){return new hp({start:s(),definitions:L(e,"var"),end:s()})},U=function(e){return new gp({start:s(),definitions:L(e,"let"),end:s()})},G=function(e){return new vp({start:s(),definitions:L(e,"const"),end:s()})};function z(){var e,t=r.token;switch(t.type){case"name":e=ie(yd);break;case"num":e=new Rd({start:t,end:t,value:t.value,raw:Su});break;case"big_int":e=new Cd({start:t,end:t,value:t.value,raw:Su});break;case"string":se(e=new kd({start:t,end:t,value:t.value,quote:t.quote}));break;case"regexp":const[n,r,i]=t.value.match(/^\/(.*)\/(\w*)$/);e=new Od({start:t,end:t,value:{source:r,flags:i}});break;case"atom":switch(t.value){case"false":e=new Bd({start:t,end:t});break;case"true":e=new Ud({start:t,end:t});break;case"null":e=new Pd({start:t,end:t})}}return a(),e}function V(e,t){var n=function(e,t){return t?new Lp({start:e.start,left:e,operator:"=",right:t,end:t.end}):e};return e instanceof Up?n(new Kl({start:e.start,end:e.end,is_array:!1,names:e.properties.map(e=>V(e))}),t):e instanceof zp?(e.value=V(e.value),n(e,t)):e instanceof Md?e:e instanceof Kl?(e.names=e.names.map(e=>V(e)),n(e,t)):e instanceof yd?n(new cd({name:e.name,start:e.start,end:e.end}),t):e instanceof Gl?(e.expression=V(e.expression),n(e,t)):e instanceof Bp?n(new Kl({start:e.start,end:e.end,is_array:!0,names:e.elements.map(e=>V(e))}),t):e instanceof Np?n(V(e.left,e.right),t):e instanceof Lp?(e.left=V(e.left),e):void c("Invalid function parameter",e.start.line,e.start.col)}var j=function(e,t){if(i("operator","new"))return function(e){var t=r.token;if(p("operator","new"),i("punc","."))return a(),p("name","target"),ce(new nd({start:t,end:s()}),e);var n,o=j(!1);i("punc","(")?(a(),n=H(")",!0)):n=[];var c=new Ap({start:t,expression:o,args:n,end:s()});return se(c),ce(c,e)}(e);if(i("name","import")&&il(o(),"punc","."))return function(e){var t=r.token;return p("name","import"),p("punc","."),p("name","meta"),ce(new Ep({start:t,end:s()}),e)}(e);var c,u=r.token,m=i("name","async")&&"["!=(c=o()).value&&"arrow"!=c.type&&z();if(i("punc")){switch(r.token.value){case"(":if(m&&!e)break;var f=function(e,t){var n,o,c,u=[];for(d("(");!i("punc",")");)n&&l(n),i("expand","...")?(n=r.token,t&&(o=r.token),a(),u.push(new Gl({start:s(),expression:_e(),end:r.token}))):u.push(_e()),i("punc",")")||(d(","),i("punc",")")&&(c=s(),t&&(o=c)));return d(")"),e&&i("arrow","=>")?n&&c&&l(c):o&&l(o),u}(t,!m);if(t&&i("arrow","=>"))return R(u,f.map(e=>V(e)),!!m);var h=m?new wp({expression:m,args:f}):ve(u,f);if(h.start){const e=u.comments_before.length;if(n.set(u,e),h.start.comments_before.unshift(...u.comments_before),u.comments_before=h.start.comments_before,0==e&&u.comments_before.length>0){var g=u.comments_before[0];g.nlb||(g.nlb=u.nlb,u.nlb=!1)}u.comments_after=h.start.comments_after}h.start=u;var v=s();return h.end&&(v.comments_before=h.end.comments_before,h.end.comments_after.push(...v.comments_after),v.comments_after=h.end.comments_after),h.end=v,h instanceof wp&&se(h),ce(h,e);case"[":return ce(K(),e);case"{":return ce(W(),e)}m||l()}if(t&&i("name")&&il(o(),"arrow")){var _=new cd({name:r.token.value,start:u,end:u});return a(),R(u,[_],!!m)}if(i("keyword","function")){a();var y=C(jl,!1,!!m);return y.start=u,y.end=s(),ce(y,e)}if(m)return ce(m,e);if(i("keyword","class")){a();var b=X(ed);return b.start=u,b.end=s(),ce(b,e)}return i("template_head")?ce(q(),e):dl.has(r.token.type)?ce(z(),e):void l()};function q(){var e=[],t=r.token;for(e.push(new Xl({start:r.token,raw:Tu.get(r.token),value:r.token.value,end:r.token}));!r.token.template_end;)a(),b(),e.push(_e(!0)),e.push(new Xl({start:r.token,raw:Tu.get(r.token),value:r.token.value,end:r.token}));return a(),new Wl({start:t,segments:e,end:r.token})}function H(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 Md({start:r.token,end:r.token})):i("expand","...")?(a(),c.push(new Gl({start:s(),expression:_e(),end:r.token}))):c.push(_e(!1));return a(),c}var K=y(function(){return d("["),new Bp({elements:H("]",!t.strict,!0)})}),$=y((e,t)=>C(Vl,e,t)),W=y(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 Gl({start:e,expression:_e(!1),end:s()}));continue}i("privatename")&&c("private fields are not allowed in an object");var u,p=ne();if(i("punc",":"))null===p?l(s()):(a(),u=_e(!1));else{var m=Y(p,e);if(m){o.push(m);continue}u=new yd({start:s(),name:p,end:s()})}i("operator","=")&&(a(),u=new Np({start:e,left:u,operator:"=",right:_e(!1),logical:!1,end:s()}));const t=new zp({start:e,quote:e.quote,key:p,value:u,end:s()});o.push(se(t))}return a(),new Up({properties:o})});function X(e,t){var n,o,c,u,p=[];r.input.push_directives_stack(),r.input.add_directive("use strict"),"name"==r.token.type&&"extends"!=r.token.value&&(c=ae(e===Qp?md:fd)),e!==Qp||c||(t?e=ed:l()),"extends"==r.token.value&&(a(),u=_e(!0)),d("{");const m=r.in_class;for(r.in_class=!0;i("punc",";");)a();for(;!i("punc","}");)for(n=r.token,(o=Y(ne(),n,!0))||l(),p.push(o);i("punc",";");)a();return r.in_class=m,r.input.pop_directives_stack(),a(),new e({start:n,name:c,extends:u,properties:p,end:s()})}function Y(e,t,n){const o=(e,n)=>"string"==typeof e?new n({start:t,name:e,end:s()}):(null===e&&l(),e),c=()=>!(i("punc","(")||i("punc",",")||i("punc","}")||i("punc",";")||i("operator","="));var u=!1,p=!1,d=!1,m=!1,f=null;if(n&&"static"===e&&c()){const t=function(){if(!i("punc","{"))return null;const e=r.token,t=[];for(a();!i("punc","}");)t.push(E());return a(),new Jp({start:e,body:t,end:s()})}();if(null!=t)return t;p=!0,e=ne()}"async"===e&&c()&&(u=!0,e=ne()),"operator"===s().type&&"*"===s().value&&(d=!0,e=ne()),"get"!==e&&"set"!==e||!c()||(f=e,e=ne()),"privatename"===s().type&&(m=!0);const h=s();if(null!=f){if(m)return se(new("get"===f?jp:Vp)({start:t,static:p,key:o(e,ld),value:$(),end:s()}));{const n="get"===f?Hp:qp;return e=o(e,ld),se(new n({start:t,static:p,key:e,quote:e instanceof ld?h.quote:void 0,value:$(),end:s()}))}}if(i("punc","("))return e=o(e,ld),se(new(m?$p:Kp)({start:t,static:p,key:e,quote:e instanceof ld?h.quote:void 0,value:$(d,u),end:s()}));if(n){const n=m?Yp:Xp,r=o(e,m?wd:pd),c=r instanceof pd?h.quote:void 0;if(i("operator","="))return a(),se(new n({start:t,static:p,quote:c,key:r,value:_e(!1),end:s()}));if(i("name")||i("privatename")||i("punc","[")||i("operator","*")||i("punc",";")||i("punc","}")||i("string")||i("num")||i("big_int"))return se(new n({start:t,static:p,quote:c,key:r,end:s()}))}}function Z(){return!i("keyword","with")&&!i("name","assert")||m(r.token)?null:(a(),W())}function Q(e){function t(e,t){return new e({name:ne(),quote:t||void 0,start:s(),end:s()})}var n,o,c=e?vd:Ed,u=e?gd:bd,l=r.token;return e?n=t(c,l.quote):o=t(u,l.quote),i("name","as")?(a(),e?o=t(u):n=t(c,r.token.quote)):e?o=new u(n):n=new c(o),new yp({start:l,foreign_name:n,name:o,end:s()})}function J(e,t){var n,i,o=e?vd:Ed,a=e?gd:bd,c=r.token,u=s();return e?n=t:i=t,n=n||new a({start:c,name:"*",end:u}),i=i||new o({start:c,name:"*",end:u}),new yp({start:c,foreign_name:i,name:n,end:u})}function ee(e){var t;if(i("punc","{")){for(a(),t=[];!i("punc","}");)t.push(Q(e)),i("punc",",")&&a();a()}else if(i("operator","*")){var n;a(),i("name","as")&&(a(),n=e?ae(gd):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=ie(e);return oe(o),a(),o}(Ed)),t=[J(e,n)]}return t}function te(){var e,t,n,c,u,p=r.token;if(i("keyword","default"))e=!0,a();else if(t=ee(!1)){if(i("name","from")){a();var d=r.token;"string"!==d.type&&l(),a();const n=Z();return new xp({start:p,is_default:e,exported_names:t,module_name:new kd({start:d,value:d.value,quote:d.quote,end:d}),end:s(),attributes:n})}return new xp({start:p,is_default:e,exported_names:t,end:s()})}return i("punc","{")||e&&(i("keyword","class")||i("keyword","function"))&&il(o(),"punc")?(c=_e(!1),v()):(n=E(e))instanceof fp&&e?l(n.start):n instanceof fp||n instanceof Hl||n instanceof Qp?u=n:n instanceof ed||n instanceof jl?c=n:n instanceof xl?c=n.body:l(n.start),new xp({start:p,is_default:e,exported_value:c,exported_definition:u,end:s(),attributes:null})}function ne(){var e=r.token;switch(e.type){case"punc":if("["===e.value){a();var t=_e(!1);return d("]"),t}l(e);case"operator":if("*"===e.value)return a(),null;["delete","in","instanceof","new","typeof","void"].includes(e.value)||l(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:l(e)}}function re(){var e=r.token;return"name"!=e.type&&"privatename"!=e.type&&l(),a(),e.value}function ie(e){var t=r.token.value;return new("this"==t?Ad:"super"==t?Sd:e)({name:String(t),start:r.token,end:r.token})}function oe(e){var t=e.name;h()&&"yield"==t&&u(e.start,"Yield cannot be used as identifier inside generators"),r.input.has_directive("use strict")&&("yield"==t&&u(e.start,"Unexpected yield identifier inside strict mode"),e instanceof rd&&("arguments"==t||"eval"==t)&&u(e.start,"Unexpected "+t+" in strict mode"))}function ae(e,t){if(!i("name"))return t||c("Name expected"),null;var n=ie(e);return oe(n),a(),n}function se(e,t=e.start){var r=t.comments_before;const i=n.get(t);for(var o=null!=i?i:r.length;--o>=0;){var a=r[o];if(/[@#]__/.test(a.value)){if(/[@#]__PURE__/.test(a.value)){wu(e,Hd);break}if(/[@#]__INLINE__/.test(a.value)){wu(e,Kd);break}if(/[@#]__NOINLINE__/.test(a.value)){wu(e,$d);break}if(/[@#]__KEY__/.test(a.value)){wu(e,Wd);break}if(/[@#]__MANGLE_PROP__/.test(a.value)){wu(e,Xd);break}}}return e}var ce=function(e,t,n){var o=e.start;if(i("punc",".")){a(),i("privatename")&&!r.in_class&&c("Private field must be used in an enclosing class");const u=i("privatename")?Rp:kp;return se(ce(new u({start:o,expression:e,optional:!1,property:re(),end:s()}),t,n))}if(i("punc","[")){a();var u=_e(!0);return d("]"),se(ce(new Cp({start:o,expression:e,optional:!1,property:u,end:s()}),t,n))}if(t&&i("punc","(")){a();var p=new wp({start:o,expression:e,optional:!1,args:ue(),end:s()});return se(p),ce(p,!0,n)}if(i("punc","?.")){let n;if(a(),t&&i("punc","(")){a();const t=new wp({start:o,optional:!0,expression:e,args:ue(),end:s()});se(t),n=ce(t,!0,!0)}else if(i("name")||i("privatename")){i("privatename")&&!r.in_class&&c("Private field must be used in an enclosing class");const a=i("privatename")?Rp:kp;n=se(ce(new a({start:o,expression:e,optional:!0,property:re(),end:s()}),t,!0))}else if(i("punc","[")){a();const r=_e(!0);d("]"),n=se(ce(new Cp({start:o,expression:e,optional:!0,property:r,end:s()}),t,!0))}return n||l(),n instanceof Op?n:new Op({start:o,expression:n,end:s()})}return i("template_head")?(n&&l(),ce(new $l({start:o,prefix:e,template_string:q(),end:s()}),t)):e};function ue(){for(var e=[];!i("punc",")");)i("expand","...")?(a(),e.push(new Gl({start:s(),expression:_e(!1),end:s()}))):e.push(_e(!1)),i("punc",")")||d(",");return a(),e}var le=function(e,t){var n=r.token;if("name"==n.type&&"await"==n.value&&g())return a(),g()||c("Unexpected await expression outside async function",r.prev.line,r.prev.col,r.prev.pos),new rp({start:s(),end:r.token,expression:le(!0)});if(i("operator")&&sl.has(n.value)){a(),b();var o=pe(Pp,n,le(e));return o.start=n,o.end=s(),o}for(var u=j(e,t);i("operator")&&cl.has(r.token.value)&&!m(r.token);)u instanceof ql&&l(),(u=pe(Fp,r.token,u)).start=n,u.end=r.token,a();return u};function pe(e,t,n){var i=t.value;switch(i){case"++":case"--":fe(n)||c("Invalid use of "+i+" operator",t.line,t.col,t.pos);break;case"delete":n instanceof yd&&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 de=function(e,t,n){var o=i("operator")?r.token.value:null;"in"==o&&n&&(o=null),"**"==o&&e instanceof Pp&&!il(e.start,"punc","(")&&"--"!==e.operator&&"++"!==e.operator&&l(e.start);var s=null!=o?pl[o]:null;if(null!=s&&(s>t||"**"===o&&t===s)){a();var c=me(n,s,!0);return de(new Ip({start:e.start,left:e,operator:o,right:c,end:c.end}),t,n)}return e};function me(e,t,n,o){if(!e&&t<pl.in&&i("privatename")){r.in_class||c("Private field must be used in an enclosing class");const t=r.token,n=new wd({start:t,name:t.value,end:t});a(),p("operator","in");const i=new Zp({start:t,key:n,value:me(e,pl.in,!0),end:s()});return de(i,0,e)}return de(le(n,o),t,e)}function fe(e){return e instanceof Tp||e instanceof yd}function he(e){if(e instanceof Up)e=new Kl({start:e.start,names:e.properties.map(he),is_array:!1,end:e.end});else if(e instanceof Bp){for(var t=[],n=0;n<e.elements.length;n++)e.elements[n]instanceof Gl&&(n+1!==e.elements.length&&u(e.elements[n].start,"Spread must the be last element in destructuring array"),e.elements[n].expression=he(e.elements[n].expression)),t.push(he(e.elements[n]));e=new Kl({start:e.start,names:t,is_array:!0,end:e.end})}else e instanceof Gp?e.value=he(e.value):e instanceof Np&&(e=new Lp({start:e.start,left:e.left,operator:"=",right:e.right,end:e.end}));return e}var ge=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")&&Vu.has(r.token.value)||i("template_cont")?n=!1:i("operator","*")&&(t=!0,a()),new ip({start:e,is_star:t,expression:n?_e():null,end:s()})}();r.input.has_directive("use strict")&&u(r.token,"Unexpected yield identifier inside strict mode")}var n=function(e){var t=r.token,n=me(e,0,!0,!0);if(i("operator","?")){a();var o=_e(!1);return d(":"),new Mp({start:t,condition:n,consequent:o,alternative:_e(!1,e),end:s()})}return n}(e),o=r.token.value;if(i("operator")&&ul.has(o)){if(fe(n)||(n=he(n))instanceof Kl)return a(),new Np({start:t,left:n,operator:o,right:ge(e),logical:ll.has(o),end:s()});c("Invalid assignment")}return n},ve=function(e,t){return 1===t.length?t[0]:t.length>1?new Sp({start:e,expressions:t,end:o()}):void c("Invalid parenthesized expression")},_e=function(e,t){for(var n=r.token,o=[];o.push(ge(t)),e&&i("punc",",");)a(),e=!0;return ve(n,o)};function ye(e){++r.in_loop;var t=e();return--r.in_loop,t}return t.expression?_e(!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 Ul({start:e,body:n,end:o}),Tu=new Map,a}()}function fl(e,t,n,r,i=_l){var o=t=t?t.split(/\s+/):[];i&&i.PROPS&&(t=t.concat(i.PROPS));const 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)gu(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 hl=(e,t)=>Boolean(e.flags&t),gl=(e,t,n)=>{n?e.flags|=t:e.flags&=~t};class vl{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){const 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 hl(this,1)}set nlb(e){gl(this,1,e)}get quote(){return hl(this,4)?hl(this,2)?"'":'"':""}set quote(e){gl(this,2,"'"===e),gl(this,4,!!e)}get template_end(){return hl(this,8)}set template_end(e){gl(this,8,e)}}var _l=fl("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 qd(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),yl=fl("Statement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class of all statements"}),bl=fl("Debugger",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Represents a debugger statement"},yl),El=fl("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"}},yl),xl=fl("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)}},yl);function wl(e,t){const n=e.body;for(var r=0,i=n.length;r<i;r++)n[r]._walk(t)}function Al(e){var t=this._clone(e);return this.block_scope&&(t.block_scope=this.block_scope.clone()),t}var Sl=fl("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(){wl(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t])},clone:Al},yl),Tl=fl("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"},Sl),kl=fl("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)"},yl),Rl=fl("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"}},yl),Cl=fl("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 jd(function(e){e instanceof ep&&e.label&&e.label.thedef===r&&(e.label.thedef=n,n.references.push(e))}))}return t}},Rl),Ol=fl("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:Al},Rl),Dl=fl("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"}},Ol),Pl=fl("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)}},Dl),Fl=fl("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)}},Dl),Il=fl("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)}},Ol),Ml=fl("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)}},Ol),Nl=fl("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"},Ml),Ll=fl("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)}},Rl),Bl=fl("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}},Sl),Ul=fl("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=ml(n)).transform(new qd(function(e){if(e instanceof El&&"$ORIG"==e.value)return cu.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 ml(["(function(",e.slice(0,t),'){"$ORIG"})(',e.slice(t+1),")"].join("")).transform(new qd(function(e){if(e instanceof El&&"$ORIG"==e.value)return cu.splice(n)}))}},Bl),Gl=fl("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)}}),zl=fl("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 Kl?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);wl(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 Ql&&this.body[0].value},length_property(){let e=0;for(const t of this.argnames)(t instanceof cd||t instanceof Kl)&&e++;return e}},Bl),Vl=fl("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."},zl),jl=fl("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"},zl),ql=fl("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)"},zl),Hl=fl("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"},zl),Kl=fl("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 Gd(this,t=>{if(t instanceof rd&&e.push(t),t instanceof zl)return!0}),e}}),$l=fl("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)}}),Wl=fl("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])}}),Xl=fl("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"}}),Yl=fl("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`)"},yl),Zl=fl("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)}},Yl),Ql=fl("Return",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `return` statement"},Zl),Jl=fl("Throw",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `throw` statement"},Zl),ep=fl("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)}},Yl),tp=fl("Break",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `break` statement"},ep),np=fl("Continue",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `continue` statement"},ep),rp=fl("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)}}),ip=fl("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)}}),op=fl("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)}},Rl),ap=fl("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),wl(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);e(this.expression)}},Sl),sp=fl("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"},Sl),cp=fl("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"},sp),up=fl("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),wl(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);e(this.expression)}},sp),lp=fl("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)}},yl),pp=fl("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"},Sl),dp=fl("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),wl(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);this.argname&&e(this.argname)}},Sl),mp=fl("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"},Sl),fp=fl("Definitions","definitions",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)",$propdoc:{definitions:"[AST_VarDef*] 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])}},yl),hp=fl("Var",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `var` statement"},fp),gp=fl("Let",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `let` statement"},fp),vp=fl("Const",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `const` statement"},fp),_p=fl("VarDef","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 variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_Destructuring|AST_SymbolConst|AST_SymbolLet|AST_SymbolVar] 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 rd?[this]:this.name.all_symbols()}}),yp=fl("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)}}),bp=fl("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)}}),Ep=fl("ImportMeta",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to import.meta"}),xp=fl("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)}},yl),wp=fl("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(){null==this._annotations&&(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)}}),Ap=fl("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"},wp),Sp=fl("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])}}),Tp=fl("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 ?.)"}}),kp=fl("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)}},Tp),Rp=fl("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)}},Tp),Cp=fl("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)}},Tp),Op=fl("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)}}),Dp=fl("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)}}),Pp=fl("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`"},Dp),Fp=fl("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++`"},Dp),Ip=fl("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)}}),Mp=fl("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)}}),Np=fl("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"}},Ip),Lp=fl("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`"},Ip),Bp=fl("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])}}),Up=fl("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])}}),Gp=fl("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 _l&&this.key._walk(e),this.value._walk(e)})},_children_backwards(e){e(this.value),this.key instanceof _l&&e(this.key)}}),zp=fl("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 _l}},Gp),Vp=fl("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},Gp),jp=fl("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},Gp),qp=fl("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 ld)}},Gp),Hp=fl("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 ld)}},Gp),Kp=fl("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 ld)}},Gp),$p=fl("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},Gp),Wp=fl("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 Jp?t._walk(e):(t.computed_key()&&(e.push(t),t.key._walk(e),e.pop()),(t instanceof Yp&&t.static&&t.value||t instanceof Xp&&t.static&&t.value)&&(e.push(t),t.value._walk(e),e.pop()))})},visit_deferred_class_parts(e){this.properties.forEach(t=>{t instanceof Kp||t instanceof $p?t.walk(e):(t instanceof Xp&&!t.static&&t.value||t instanceof Yp&&!t.static&&t.value)&&(e.push(t),t.value._walk(e),e.pop())})},is_self_referential:function(){const e=this.name&&this.name.definition().id;let t=!1,n=!0;return this.visit_nondeferred_class_parts(new jd((r,i)=>{if(t)return!0;if(r instanceof Ad)return t=n;if(r instanceof yd)return t=r.definition().id===e;if(r instanceof zl&&!(r instanceof ql)){const e=n;return n=!1,i(),n=e,!0}})),t}},Bl),Xp=fl("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 _l&&this.key._walk(e),this.value instanceof _l&&this.value._walk(e)})},_children_backwards(e){this.value instanceof _l&&e(this.value),this.key instanceof _l&&e(this.key)},computed_key(){return!(this.key instanceof pd)}},Gp),Yp=fl("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 _l&&this.value._walk(e)})},_children_backwards(e){this.value instanceof _l&&e(this.value)},computed_key:()=>!1},Gp),Zp=fl("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)}}),Qp=fl("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"},Wp),Jp=fl("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(){wl(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t])},clone:Al,computed_key:()=>!1},Bl),ed=fl("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."},Wp),td=fl("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"}),nd=fl("NewTarget",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to new.target"}),rd=fl("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)"},td),id=fl("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"},rd),od=fl("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"},rd),ad=fl("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"},od),sd=fl("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"},od),cd=fl("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"},id),ud=fl("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"},rd),ld=fl("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"},td),pd=fl("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"},td),dd=fl("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"},rd),md=fl("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."},od),fd=fl("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."},rd),hd=fl("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"},od),gd=fl("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"},od),vd=fl("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"},td),_d=fl("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}},td),yd=fl("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)"},td),bd=fl("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"},yd),Ed=fl("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"},td),xd=fl("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"},td),wd=fl("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"},td),Ad=fl("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"},td),Sd=fl("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"},Ad),Td=fl("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}}),kd=fl("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"}},Td),Rd=fl("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"}},Td),Cd=fl("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"}},Td),Od=fl("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"}},Td),Dd=fl("Atom",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for atoms"},Td),Pd=fl("Null",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `null` atom",value:null},Dd),Fd=fl("NaN",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The impossible value",value:NaN},Dd),Id=fl("Undefined",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:void 0},Dd),Md=fl("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},Dd),Nd=fl("Infinity",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},Dd),Ld=fl("Boolean",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for booleans"},Dd),Bd=fl("False",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},Ld),Ud=fl("True",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},Ld);function Gd(e,t,n=[e]){const r=n.push.bind(n);for(;n.length;){const e=n.pop(),i=t(e,n);if(i){if(i===Vd)return!0}else e._children_backwards(r)}return!1}function zd(e,t,n){const r=[e],i=r.push.bind(r),o=n?n.slice():[],a=[];let s;const c={parent:(e=0)=>-1===e?s:n&&e>=o.length?(e-=o.length,n[n.length-(e+1)]):o[o.length-(1+e)]};for(;r.length;){for(s=r.pop();a.length&&r.length==a[a.length-1];)o.pop(),a.pop();const e=t(s,c);if(e){if(e===Vd)return!0;continue}const n=r.length;s._children_backwards(i),r.length>n&&(o.push(s),a.push(n-1))}return!1}const Vd=Symbol("abort walk");class jd{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)}:ru);return!n&&t&&t.call(e),this.pop(),n}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){e instanceof zl?this.directives=Object.create(this.directives):e instanceof El&&!this.directives[e.value]?this.directives[e.value]=e:e instanceof Wp&&(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 zl||e instanceof Wp)&&(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--;){const n=this.stack[e];if(n instanceof zl)return!1;if(n instanceof Ol&&!(n instanceof Il&&t===n.init)&&(!(n instanceof Ml||n instanceof Nl)||t!==n.object))return!0;t=n}return!1}find_scope(){for(var e=this.stack,t=e.length;--t>=0;){const n=e[t];if(n instanceof Ul)return n;if(n instanceof zl)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 Bl&&n.body)for(var r=0;r<n.body.length;++r){var i=n.body[r];if(!(i instanceof El))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 Cl&&r.label.name==e.label.name)return r.body}else for(n=t.length;--n>=0;){var r;if((r=t[n])instanceof Ol||e instanceof tp&&r instanceof ap)return r}}}class qd extends jd{constructor(e,t){super(),this.before=e,this.after=t}}const Hd=1,Kd=2,$d=4,Wd=8,Xd=16;function Yd(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)){const t=e.after(r,n);void 0!==t&&(r=t)}return e.pop(),r})}function Zd(e){let t=e.parent(-1);for(let n,r=0;n=e.parent(r);r++){if(n instanceof yl&&n.body===t)return!0;if(!(n instanceof Sp&&n.expressions[0]===t||"Call"===n.TYPE&&n.expression===t||n instanceof $l&&n.prefix===t||n instanceof kp&&n.expression===t||n instanceof Cp&&n.expression===t||n instanceof Op&&n.expression===t||n instanceof Mp&&n.condition===t||n instanceof Ip&&n.left===t||n instanceof Fp&&n.expression===t))return!1;t=n}}function Qd(e){return e instanceof Up||(e instanceof Sp?Qd(e.expressions[0]):"Call"===e.TYPE?Qd(e.expression):e instanceof $l?Qd(e.prefix):e instanceof kp||e instanceof Cp||e instanceof Op?Qd(e.expression):e instanceof Mp?Qd(e.condition):e instanceof Ip?Qd(e.left):e instanceof Fp&&Qd(e.expression))}Yd(_l,ru),Yd(Cl,function(e,t){e.label=e.label.transform(t),e.body=e.body.transform(t)}),Yd(xl,function(e,t){e.body=e.body.transform(t)}),Yd(Sl,function(e,t){e.body=cu(e.body,t)}),Yd(Pl,function(e,t){e.body=e.body.transform(t),e.condition=e.condition.transform(t)}),Yd(Fl,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t)}),Yd(Il,function(e,t){e.init&&(e.init=e.init.transform(t)),e.condition&&(e.condition=e.condition.transform(t)),e.step&&(e.step=e.step.transform(t)),e.body=e.body.transform(t)}),Yd(Ml,function(e,t){e.init=e.init.transform(t),e.object=e.object.transform(t),e.body=e.body.transform(t)}),Yd(Ll,function(e,t){e.expression=e.expression.transform(t),e.body=e.body.transform(t)}),Yd(Zl,function(e,t){e.value&&(e.value=e.value.transform(t))}),Yd(ep,function(e,t){e.label&&(e.label=e.label.transform(t))}),Yd(op,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t),e.alternative&&(e.alternative=e.alternative.transform(t))}),Yd(ap,function(e,t){e.expression=e.expression.transform(t),e.body=cu(e.body,t)}),Yd(up,function(e,t){e.expression=e.expression.transform(t),e.body=cu(e.body,t)}),Yd(lp,function(e,t){e.body=e.body.transform(t),e.bcatch&&(e.bcatch=e.bcatch.transform(t)),e.bfinally&&(e.bfinally=e.bfinally.transform(t))}),Yd(dp,function(e,t){e.argname&&(e.argname=e.argname.transform(t)),e.body=cu(e.body,t)}),Yd(fp,function(e,t){e.definitions=cu(e.definitions,t)}),Yd(_p,function(e,t){e.name=e.name.transform(t),e.value&&(e.value=e.value.transform(t))}),Yd(Kl,function(e,t){e.names=cu(e.names,t)}),Yd(zl,function(e,t){e.name&&(e.name=e.name.transform(t)),e.argnames=cu(e.argnames,t,!1),e.body instanceof _l?e.body=e.body.transform(t):e.body=cu(e.body,t)}),Yd(wp,function(e,t){e.expression=e.expression.transform(t),e.args=cu(e.args,t,!1)}),Yd(Sp,function(e,t){const n=cu(e.expressions,t);e.expressions=n.length?n:[new Rd({value:0})]}),Yd(Tp,function(e,t){e.expression=e.expression.transform(t)}),Yd(Cp,function(e,t){e.expression=e.expression.transform(t),e.property=e.property.transform(t)}),Yd(Op,function(e,t){e.expression=e.expression.transform(t)}),Yd(ip,function(e,t){e.expression&&(e.expression=e.expression.transform(t))}),Yd(rp,function(e,t){e.expression=e.expression.transform(t)}),Yd(Dp,function(e,t){e.expression=e.expression.transform(t)}),Yd(Ip,function(e,t){e.left=e.left.transform(t),e.right=e.right.transform(t)}),Yd(Zp,function(e,t){e.key=e.key.transform(t),e.value=e.value.transform(t)}),Yd(Mp,function(e,t){e.condition=e.condition.transform(t),e.consequent=e.consequent.transform(t),e.alternative=e.alternative.transform(t)}),Yd(Bp,function(e,t){e.elements=cu(e.elements,t)}),Yd(Up,function(e,t){e.properties=cu(e.properties,t)}),Yd(Gp,function(e,t){e.key instanceof _l&&(e.key=e.key.transform(t)),e.value&&(e.value=e.value.transform(t))}),Yd(Wp,function(e,t){e.name&&(e.name=e.name.transform(t)),e.extends&&(e.extends=e.extends.transform(t)),e.properties=cu(e.properties,t)}),Yd(Jp,function(e,t){e.body=cu(e.body,t)}),Yd(Gl,function(e,t){e.expression=e.expression.transform(t)}),Yd(yp,function(e,t){e.foreign_name=e.foreign_name.transform(t),e.name=e.name.transform(t)}),Yd(bp,function(e,t){e.imported_name&&(e.imported_name=e.imported_name.transform(t)),e.imported_names&&cu(e.imported_names,t),e.module_name=e.module_name.transform(t)}),Yd(xp,function(e,t){e.exported_definition&&(e.exported_definition=e.exported_definition.transform(t)),e.exported_value&&(e.exported_value=e.exported_value.transform(t)),e.exported_names&&cu(e.exported_names,t),e.module_name&&(e.module_name=e.module_name.transform(t))}),Yd(Wl,function(e,t){e.segments=cu(e.segments,t)}),Yd($l,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 yl&&e[t].body instanceof kd))return e;e[t]=new El({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 Up({start:i(e),end:o(e),properties:e.map(e=>new zp({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 Ul({start:i(t),end:o(t),body:e(t.body.map(s))})},ArrayPattern:function(e){return new Kl({start:i(e),end:o(e),names:e.elements.map(function(e){return null===e?new Md:s(e)}),is_array:!0})},ObjectPattern:function(e){return new Kl({start:i(e),end:o(e),names:e.properties.map(s),is_array:!1})},AssignmentPattern:function(e){return new Lp({start:i(e),end:o(e),left:s(e.left),operator:"=",right:s(e.right)})},SpreadElement:function(e){return new Gl({start:i(e),end:o(e),expression:s(e.argument)})},RestElement:function(e){return new Gl({start:i(e),end:o(e),expression:s(e.argument)})},TemplateElement:function(e){return new Xl({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 Wl({start:i(e),end:o(e),segments:t})},TaggedTemplateExpression:function(e){return new $l({start:i(e),end:o(e),template_string:s(e.quasi),prefix:s(e.tag)})},FunctionDeclaration:function(t){return new Hl({start:i(t),end:o(t),name:t.id&&u(ud,t.id),argnames:t.params.map(e=>p(e,cd)),is_generator:t.generator,async:t.async,body:e(s(t.body).body)})},FunctionExpression:function(e){return l(e,!1)},ArrowFunctionExpression:function(e){const t="BlockStatement"===e.body.type?s(e.body).body:[uu(Ql,{},{value:s(e.body)})];return new ql({start:i(e),end:o(e),argnames:e.params.map(e=>p(e,cd)),body:t,async:e.async})},ExpressionStatement:function(e){return new xl({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 new Error("Multiple catch clauses are not supported.");return new lp({start:i(e),end:o(e),body:new pp(s(e.block)),bcatch:s(t[0]),bfinally:e.finalizer?new mp(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 zp(t)}var n=l(e.value,!0);return t={start:i(e.key||e.value),end:o(e.value),key:e.computed?s(e.key):u(ld,e.key),quote:c(e.key,e.computed),static:!1,value:n},"get"==e.kind?new Hp(t):"set"==e.kind?new qp(t):e.method?new Kp(t):void 0},MethodDefinition:function(e){const t="PrivateIdentifier"===e.key.type,n=e.computed?s(e.key):new ld({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:l(e.value,!0),static:e.static};return"get"==e.kind?new(t?jp:Hp)(r):"set"==e.kind?new(t?Vp:qp)(r):new(t?$p:Kp)(r)},FieldDefinition:function(e){let t;if(e.computed)t=s(e.key);else{if("Identifier"!==e.key.type)throw new Error("Non-Identifier key in FieldDefinition");t=s(e.key)}return new Xp({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 Yp({start:i(e),end:o(e),key:s(e.key),value:s(e.value),static:e.static});t=u(pd,e.key)}return new Xp({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 wd({start:i(e),end:o(e),name:e.name})},StaticBlock:function(e){return new Jp({start:i(e),end:o(e),body:e.body.map(s)})},ArrayExpression:function(e){return new Bp({start:i(e),end:o(e),elements:e.elements.map(function(e){return null===e?new Md:s(e)})})},ObjectExpression:function(e){return new Up({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 Sp({start:i(e),end:o(e),expressions:e.expressions.map(s)})},MemberExpression:function(e){return"PrivateIdentifier"===e.property.type?new Rp({start:i(e),end:o(e),property:e.property.name,expression:s(e.object),optional:e.optional||!1}):new(e.computed?Cp:kp)({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 Op({start:i(e),end:o(e),expression:s(e.expression)})},SwitchCase:function(e){return new(e.test?up:cp)({start:i(e),end:o(e),expression:s(e.test),body:e.consequent.map(s)})},VariableDeclaration:function(e){let t,n;"const"===e.kind?(t=vp,n=ad):"let"===e.kind?(t=gp,n=sd):(t=hp,n=id);const r=e.declarations.map(e=>new _p({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:r})},ImportDeclaration:function(e){var n=null,r=null;return e.specifiers.forEach(function(e){"ImportSpecifier"===e.type||"ImportNamespaceSpecifier"===e.type?(r||(r=[]),r.push(s(e))):"ImportDefaultSpecifier"===e.type&&(n=s(e))}),new bp({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 yp({start:i(e),end:o(e),foreign_name:u(vd,e.imported,"Literal"===e.imported.type),name:u(gd,e.local)})},ImportDefaultSpecifier:function(e){return u(gd,e.local)},ImportNamespaceSpecifier:function(e){return new yp({start:i(e),end:o(e),foreign_name:new vd({name:"*"}),name:u(gd,e.local)})},ImportExpression:function(e){const t=[s(e.source)];return e.options&&t.push(s(e.options)),new wp({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 Ed({name:"*"}):u(Ed,e.exported,"Literal"===e.exported.type);return new xp({start:i(e),end:o(e),exported_names:[new yp({start:i(e),end:o(e),name:new bd({name:"*"}),foreign_name:n})],module_name:s(e.source),attributes:t(e.attributes||e.assertions)})},ExportNamedDeclaration:function(e){return e.declaration?new xp({start:i(e),end:o(e),exported_definition:s(e.declaration),exported_names:null,module_name:null,attributes:null}):new xp({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 xp({start:i(e),end:o(e),exported_value:s(e.declaration),is_default:!0})},ExportSpecifier:function(e){return new yp({start:i(e),end:o(e),foreign_name:u(Ed,e.exported,"Literal"===e.exported.type),name:u(bd,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 Od(n);if(r){const r=e.raw||t,i=r.match(/^\/(.*)\/(\w*)$/);if(!i)throw new Error("Invalid regex source "+r);const[o,a,s]=i;return n.value={source:a,flags:s},new Od(n)}const a="bigint"==typeof e.value?e.value.toString():e.bigint;if("string"==typeof a)return n.value=a,n.raw=e.raw,new Cd(n);if(null===t)return new Pd(n);switch(typeof t){case"string":return n.quote='"',n.value=t,new kd(n);case"number":return n.value=t,n.raw=e.raw||t.toString(),new Rd(n);case"boolean":return new(t?Ud:Bd)(n)}},MetaProperty:function(e){return"new"===e.meta.name&&"target"===e.property.name?new nd({start:i(e),end:o(e)}):"import"===e.meta.name&&"meta"===e.property.name?new Ep({start:i(e),end:o(e)}):void 0},Identifier:function(e){return new yd({start:i(e),end:o(e),name:e.name})},EmptyStatement:function(e){return new kl({start:i(e),end:o(e)})},BlockStatement:function(e){return new Tl({start:i(e),end:o(e),body:e.body.map(s)})},IfStatement:function(e){return new op({start:i(e),end:o(e),condition:s(e.test),body:s(e.consequent),alternative:s(e.alternate)})},LabeledStatement:function(e){try{const t=u(_d,e.label);return a.push(t),new Cl({start:i(e),end:o(e),label:t,body:s(e.body)})}finally{a.pop()}},BreakStatement:function(e){return new tp({start:i(e),end:o(e),label:d(e.label)})},ContinueStatement:function(e){return new np({start:i(e),end:o(e),label:d(e.label)})},WithStatement:function(e){return new Ll({start:i(e),end:o(e),expression:s(e.object),body:s(e.body)})},SwitchStatement:function(e){return new ap({start:i(e),end:o(e),expression:s(e.discriminant),body:e.cases.map(s)})},ReturnStatement:function(e){return new Ql({start:i(e),end:o(e),value:s(e.argument)})},ThrowStatement:function(e){return new Jl({start:i(e),end:o(e),value:s(e.argument)})},WhileStatement:function(e){return new Fl({start:i(e),end:o(e),condition:s(e.test),body:s(e.body)})},DoWhileStatement:function(e){return new Pl({start:i(e),end:o(e),condition:s(e.test),body:s(e.body)})},ForStatement:function(e){return new Il({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 Ml({start:i(e),end:o(e),init:s(e.left),object:s(e.right),body:s(e.body)})},ForOfStatement:function(e){return new Nl({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 rp({start:i(e),end:o(e),expression:s(e.argument)})},YieldExpression:function(e){return new ip({start:i(e),end:o(e),expression:s(e.argument),is_star:e.delegate})},DebuggerStatement:function(e){return new bl({start:i(e),end:o(e)})},CatchClause:function(e){return new dp({start:i(e),end:o(e),argname:e.param?p(e.param,hd):null,body:s(e.body).body})},ThisExpression:function(e){return new Ad({start:i(e),name:"this",end:o(e)})},Super:function(e){return new Sd({start:i(e),end:o(e),name:"super"})},BinaryExpression:function(e){return"PrivateIdentifier"===e.left.type?new Zp({start:i(e),end:o(e),key:new wd({start:i(e.left),end:o(e.left),name:e.left.name}),value:s(e.right)}):new Ip({start:i(e),end:o(e),operator:e.operator,left:s(e.left),right:s(e.right)})},LogicalExpression:function(e){return new Ip({start:i(e),end:o(e),operator:e.operator,left:s(e.left),right:s(e.right)})},AssignmentExpression:function(e){return new Np({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 Mp({start:i(e),end:o(e),condition:s(e.test),consequent:s(e.consequent),alternative:s(e.alternate)})},NewExpression:function(e){return new Ap({start:i(e),end:o(e),expression:s(e.callee),args:e.arguments.map(s)})},CallExpression:function(e){return new wp({start:i(e),end:o(e),expression:s(e.callee),optional:e.optional,args:e.arguments.map(s)})}};function r(e){const t=[];if(e)for(const{key:n,value:r}of e.properties){const e=Ju(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 vl("","",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 vl("","",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)?Pp:Fp)({start:i(e),end:o(e),operator:e.operator,expression:s(e.argument)})},n.ClassDeclaration=n.ClassExpression=function(e){return new("ClassDeclaration"===e.type?Qp:ed)({start:i(e),end:o(e),name:e.id&&u("ClassDeclaration"===e.type?md:fd,e.id),extends:s(e.superClass),properties:e.body.body.map(s)})},m(kl,function(){return{type:"EmptyStatement"}}),m(Tl,function(e){return{type:"BlockStatement",body:e.body.map(h)}}),m(op,function(e){return{type:"IfStatement",test:h(e.condition),consequent:h(e.body),alternate:h(e.alternative)}}),m(Cl,function(e){return{type:"LabeledStatement",label:h(e.label),body:h(e.body)}}),m(tp,function(e){return{type:"BreakStatement",label:h(e.label)}}),m(np,function(e){return{type:"ContinueStatement",label:h(e.label)}}),m(Ll,function(e){return{type:"WithStatement",object:h(e.expression),body:h(e.body)}}),m(ap,function(e){return{type:"SwitchStatement",discriminant:h(e.expression),cases:e.body.map(h)}}),m(Ql,function(e){return{type:"ReturnStatement",argument:h(e.value)}}),m(Jl,function(e){return{type:"ThrowStatement",argument:h(e.value)}}),m(Fl,function(e){return{type:"WhileStatement",test:h(e.condition),body:h(e.body)}}),m(Pl,function(e){return{type:"DoWhileStatement",test:h(e.condition),body:h(e.body)}}),m(Il,function(e){return{type:"ForStatement",init:h(e.init),test:h(e.condition),update:h(e.step),body:h(e.body)}}),m(Ml,function(e){return{type:"ForInStatement",left:h(e.init),right:h(e.object),body:h(e.body)}}),m(Nl,function(e){return{type:"ForOfStatement",left:h(e.init),right:h(e.object),body:h(e.body),await:e.await}}),m(rp,function(e){return{type:"AwaitExpression",argument:h(e.expression)}}),m(ip,function(e){return{type:"YieldExpression",argument:h(e.expression),delegate:e.is_star}}),m(bl,function(){return{type:"DebuggerStatement"}}),m(_p,function(e){return{type:"VariableDeclarator",id:h(e.name),init:h(e.value)}}),m(Ad,function(){return{type:"ThisExpression"}}),m(Sd,function(){return{type:"Super"}}),m(Mp,function(e){return{type:"ConditionalExpression",test:h(e.condition),consequent:h(e.consequent),alternate:h(e.alternative)}}),m(Ap,function(e){return{type:"NewExpression",callee:h(e.expression),arguments:e.args.map(h)}}),m(wp,function(e){if(e.expression instanceof yd&&"import"===e.expression.name){const[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(Ul,function(e){return b("Program",e)}),m(Gl,function(e){return{type:_()?"RestElement":"SpreadElement",argument:h(e.expression)}}),m($l,function(e){return{type:"TaggedTemplateExpression",tag:h(e.prefix),quasi:h(e.template_string)}}),m(Wl,function(e){for(var t=[],n=[],r=0;r<e.segments.length;r++)r%2!=0?n.push(h(e.segments[r])):t.push({type:"TemplateElement",value:{raw:e.segments[r].raw,cooked:e.segments[r].value},tail:r===e.segments.length-1});return{type:"TemplateLiteral",quasis:t,expressions:n}}),m(Hl,function(e){return{type:"FunctionDeclaration",id:h(e.name),params:e.argnames.map(v),generator:e.is_generator,async:e.async,body:b("BlockStatement",e)}}),m(jl,function(e){return{type:"FunctionExpression",id:h(e.name),params:e.argnames.map(v),generator:e.is_generator||!1,async:e.async||!1,body:b("BlockStatement",e)}}),m(ql,function(e){var t=1===e.body.length&&e.body[0]instanceof Ql&&e.body[0].value?h(e.body[0].value):{type:"BlockStatement",body:e.body.map(h)};return{type:"ArrowFunctionExpression",params:e.argnames.map(v),async:e.async,body:t}}),m(Kl,function(e){return e.is_array?{type:"ArrayPattern",elements:e.names.map(e=>e instanceof Md?null:v(e))}:{type:"ObjectPattern",properties:e.names.map(e=>{if(e instanceof zp){var t=e.computed_key();const[n,r]=g(e.key,t,e.quote,e.value);return{type:"Property",computed:t,kind:"init",key:r,method:!1,shorthand:n,value:v(e.value)}}return v(e)})}}),m(Lp,function(e){return{type:"AssignmentPattern",left:v(e.left),right:h(e.right)}}),m(El,function(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value,raw:e.print_to_string()},directive:e.value}}),m(xl,function(e){return{type:"ExpressionStatement",expression:h(e.body)}}),m(sp,function(e){return{type:"SwitchCase",test:h(e.expression),consequent:e.body.map(h)}}),m(lp,function(e){return{type:"TryStatement",block:y(e.body),handler:h(e.bcatch),guardedHandlers:[],finalizer:h(e.bfinally)}}),m(dp,function(e){return{type:"CatchClause",param:null!=e.argname?v(e.argname):null,body:y(e)}}),m(fp,function(e){return{type:"VariableDeclaration",kind:e instanceof vp?"const":e instanceof gp?"let":"var",declarations:e.definitions.map(h)}}),m(xp,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(bp,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(Ep,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),m(Sp,function(e){return{type:"SequenceExpression",expressions:e.expressions.map(h)}}),m(Rp,function(e){return{type:"MemberExpression",object:h(e.expression),computed:!1,property:{type:"PrivateIdentifier",name:e.property},optional:e.optional}}),m(Tp,function(e){var t=e instanceof Cp;return{type:"MemberExpression",object:h(e.expression),computed:t,property:t?h(e.property):{type:"Identifier",name:e.property},optional:e.optional}}),m(Op,function(e){return{type:"ChainExpression",expression:h(e.expression)}}),m(Dp,function(e){return{type:"++"==e.operator||"--"==e.operator?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof Pp,argument:h(e.expression)}}),m(Ip,function(e){return"="==e.operator&&_()?{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(Np,function(e){return{type:"AssignmentExpression",operator:e.operator,left:h(e.left),right:h(e.right)}}),m(Zp,function(e){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:e.key.name},operator:"in",right:h(e.value)}}),m(Bp,function(e){return{type:"ArrayExpression",elements:e.elements.map(h)}}),m(Up,function(e){return{type:"ObjectExpression",properties:e.properties.map(h)}}),m(Gp,function(e,t){var n=e.computed_key();const[r,i]=g(e.key,n,e.quote,e.value);var o;return e instanceof Hp?o="get":e instanceof qp&&(o="set"),e instanceof jp||e instanceof Vp?{type:"MethodDefinition",computed:!1,kind:e instanceof jp?"get":"set",static:e.static,key:{type:"PrivateIdentifier",name:e.key.name},value:h(e.value)}:e instanceof Yp?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:e.key.name},value:h(e.value),computed:!1,static:e.static}:e instanceof Xp?{type:"PropertyDefinition",key:i,value:h(e.value),computed:n,static:e.static}:t instanceof Wp?{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(zp,function(e){var t=e.computed_key();const[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(Kp,function(e,t){const n=e.computed_key(),[r,i]=g(e.key,n,e.quote,e.value);return t instanceof Up?{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($p,function(e){return{type:"MethodDefinition",kind:"method",key:{type:"PrivateIdentifier",name:e.key.name},value:h(e.value),computed:!1,static:e.static}}),m(Wp,function(e){return{type:e instanceof ed?"ClassExpression":"ClassDeclaration",superClass:h(e.extends),id:e.name?h(e.name):null,body:{type:"ClassBody",body:e.properties.map(h)}}}),m(Jp,function(e){return{type:"StaticBlock",body:e.body.map(h)}}),m(nd,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),m(td,function(e,t){if(e instanceof ld&&t.quote||(e instanceof vd||e instanceof Ed||e instanceof bd)&&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(Od,function(e){const t=e.value.source,n=e.value.flags;return{type:"Literal",value:null,raw:e.print_to_string(),regex:{pattern:t,flags:n}}}),m(Td,function(e){return{type:"Literal",value:e.value,raw:e.raw||e.print_to_string()}}),m(Dd,function(e){return{type:"Identifier",name:String(e.value)}}),m(Cd,e=>({type:"Literal",value:null,bigint:"function"==typeof BigInt?BigInt(e.value).toString():e.value,raw:e.raw})),Ld.DEFMETHOD("to_mozilla_ast",Td.prototype.to_mozilla_ast),Pd.DEFMETHOD("to_mozilla_ast",Td.prototype.to_mozilla_ast),Md.DEFMETHOD("to_mozilla_ast",function(){return null}),Sl.DEFMETHOD("to_mozilla_ast",Tl.prototype.to_mozilla_ast),zl.DEFMETHOD("to_mozilla_ast",jl.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 u(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 l(t,n){return new(n?Vl:jl)({start:i(t),end:o(t),name:t.id&&u(n?ld:dd,t.id),argnames:t.params.map(e=>p(e,cd)),is_generator:t.generator,async:t.async,body:e(s(t.body).body)})}function p(e,t){switch(e.type){case"ObjectPattern":return new Kl({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 zp(r);case"ArrayPattern":return new Kl({start:i(e),end:o(e),names:e.elements.map(function(e){return null===e?new Md:p(e,t)}),is_array:!0});case"SpreadElement":case"RestElement":return new Gl({start:i(e),end:o(e),expression:p(e.argument,t)});case"AssignmentPattern":return new Lp({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 new Error("Invalid node type for destructuring: "+e.type)}}function d(e){if(!e)return null;const t=u(xd,e);let n=a.length;for(;n--;){const 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 n=t(this,e),r=this.start,i=this.end,r&&i?(null!=r.pos&&null!=i.endpos&&(n.range=[r.pos,i.endpos]),r.line&&(n.loc={start:{line:r.line,column:r.col},end:i.endline?{line:i.endline,column:i.endcol}:null},r.file&&(n.loc.source=r.file)),n):n;var n,r,i})}_l.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?e.to_mozilla_ast(f[f.length-2]):null;return f.pop(),0===f.length&&(f=null),t}function g(e,t=!1,n=!1,r=null){if(t)return[!1,h(e)];const i="string"==typeof e?e:e.name;let o;return o=n?{type:"Literal",value:i,raw:JSON.stringify(i)}:""+ +i===i&&+i>=0?{type:"Literal",value:+i,raw:JSON.stringify(+i)}:{type:"Identifier",name:i},["Identifier"===o.type&&o.name===i&&(r instanceof td&&r.name===i||r instanceof Lp&&r.left.name===i),o]}function v(e){if(e instanceof Gl)return{type:"RestElement",argument:v(e.expression)};if(e instanceof td||e instanceof Kl||e instanceof Lp||e instanceof Tp)return h(e);throw new Error(e.TYPE)}function _(){for(var e=f.length;e--;)if(f[e]instanceof Kl)return!0;return!1}function y(e){return{type:"BlockStatement",body:e.body.map(h)}}function b(e,t){var n=t.body.map(h);return t.body[0]instanceof xl&&t.body[0].body instanceof kd&&n.unshift(h(new kl(t.body[0]))),{type:e,body:n}}}();const Jd=/[@#]__(PURE|INLINE|NOINLINE)__/;function em(e){return("comment2"===e.type||"comment1"===e.type)&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(e.value)}class tm{constructor(){this.committed="",this.current=""}append(e){this.current.length>8e3?(this.committed+=this.current+e,this.current=""):this.current+=e}insertAt(e,t){const{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){const{committed:t}=this;return e<t.length?t[e]:this.current[e-t.length]}charCodeAt(e){const{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;){const t=this.charCodeAt(e--);if(10===t)return!0;if(32!==t)return!1}return!0}toString(){return this.committed+this.current}}function nm(e){var t=!e;void 0===(e=nu(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=iu;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?em:ou}if(e.preserve_annotations){let e=n;n=function(t){return Jd.test(t.value)||e.apply(this,arguments)}}var i=0,o=0,a=1,s=0,c=new tm;let u=new Set;var l=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){var t=function(e){return $u(e.charCodeAt(0))?65536+(e.charCodeAt(0)-55296<<10)+e.charCodeAt(1)-56320:e.charCodeAt(0)}(e).toString(16);return"\\u{"+t+"}"})),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(Ku(t,o+1))?"\\x00":"\\0"}return n}),t=l(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,v=0,_=!1,y=!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 td&&(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,Ju(n)?n:void 0)}catch(e){}}),x=[]}:ru,A=e.max_line_len?function(){if(o>e.max_line_len&&v){c.insertAt("\n",v);const e=c.length()-v-1;if(x){var t=e-o;x.forEach(function(e){e.line++,e.col+=t})}a++,s++,o=e}v&&(v=0,w())}:ru,S=fu("( [ + * / - , . `");function T(t){var n=Ku(t=String(t),0);_&&n&&(_=!1,"\n"!==n&&(T("\n"),R())),y&&n&&(y=!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||S.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&&((Zu(r)&&(Zu(n)||"\\"==n)||"/"==n&&n==r||("+"==n||"-"==n)&&n==E)&&(c.append(" "),o++,s++),h=!1),d&&(x.push({token:d,name:m,line:a,col:o}),d=!1,v||w()),c.append(t),f="("==t[t.length-1],s+=t.length;var i=t.split(/\r?\n/),u=i.length-1;a+=u,o+=i[0].length,u>0&&(A(),o=i[u].length),E=t}var k=e.beautify?function(){T(" ")}:function(){h=!0},R=e.beautify?function(t){var n;e.beautify&&T((n=t?.5:0," ".repeat(e.indent_start+i-n*e.indent_level)))}:ru,C=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()},O=e.beautify?function(){if(b<0)return T("\n");"\n"!=c.charAt(b)&&(c.insertAt("\n",b),s++,a++),b++}:e.max_line_len?function(){A(),v=c.length()}:ru,D=e.beautify?function(){T(";")}:function(){g=!0};function P(){g=!1,T(";")}function F(){return i+e.indent_level}var I=x?function(e,t){d=e,m=t}:ru;function M(){return v&&A(),c.toString()}function N(t){return e.preserve_annotations||(t=t.replace(Jd," ")),/^\s*$/.test(t)?"":t.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}const L=e._destroy_ast?function(e){e.body.length=0,e.argnames.length=0}:ru;var B=[];return{get:M,toString:M,indent:R,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:O,print:T,star:function(){T("*")},space:k,comma:function(){T(","),k()},colon:function(){T(":"),k()},last:function(){return E},semicolon:D,force_semicolon:P,to_utf8:l,print_name:function(e){T(function(e){return e=e.toString(),l(e,!0)}(e))},print_string:function(e,t,n){var r=p(e,t);!0!==n||r.includes("\\")||(c.expectDirective()||P(),P()),T(r)},print_template_string_chars:function(e){var t=p(e,"`").replace(/\${/g,"\\${");return T(t.substr(1,t.length-2))},encode_string:p,next_indent:F,with_indent:C,with_block:function(e){var t;return T("{"),O(),C(F(),function(){t=e()}),R(),T("}"),t},with_parens:function(e){T("(");var t=e();return T(")"),t},with_square:function(e){T("[");var t=e();return T("]"),t},add_mapping:I,option:function(t){return e[t]},gc_scope:L,printed_comments:u,prepend_comments:t?ru:function(t){var r=t.start;if(!r)return;var i=this.printed_comments;const o=t instanceof Zl&&t.value||(t instanceof rp||t instanceof ip)&&t.expression;if(r.comments_before&&i.has(r.comments_before)){if(!o)return;r.comments_before=[]}var a=r.comments_before;if(a||(a=r.comments_before=[]),i.add(a),o){var u=new jd(function(e){var t=u.parent();if(!(t instanceof Zl||t instanceof rp||t instanceof ip||t instanceof Ip&&t.left===e||"Call"==t.TYPE&&t.expression===e||t instanceof Mp&&t.condition===e||t instanceof kp&&t.expression===e||t instanceof Sp&&t.expressions[0]===e||t instanceof Cp&&t.expression===e||t instanceof Fp))return!0;if(e.start){var n=e.start.comments_before;n&&!i.has(n)&&(i.add(n),a=a.concat(n))}});u.push(t),o.walk(u)}if(0==s){a.length>0&&e.shebang&&"comment5"===a[0].type&&!i.has(a[0])&&(T("#!"+a.shift().value+"\n"),R());var l=e.preamble;l&&T(l.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}if(0!=(a=a.filter(n,t).filter(e=>!i.has(e))).length){var p=c.hasNLB();a.forEach(function(e,t){if(i.add(e),p||(e.nlb?(T("\n"),R(),p=!0):t>0&&k()),/comment[134]/.test(e.type))(n=N(e.value))&&(T("//"+n+"\n"),R()),p=!0;else if("comment2"==e.type){var n;(n=N(e.value))&&T("/*"+n+"*/"),p=!1}}),p||(r.nlb?(T("\n"),R()):k())}},append_comments:t||n===iu?ru: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 yl||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),y=!1,_?(T("\n"),R(),_=!1):e.nlb&&(n>0||!c.hasNLB())?(T("\n"),R()):(n>0||!t)&&k(),/comment[134]/.test(e.type)){const t=N(e.value);t&&T("//"+t),_=!0}else if("comment2"==e.type){const t=N(e.value);t&&T("/*"+t+"*/"),y=!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 El||e instanceof kl||e instanceof xl&&e.body instanceof kd||(n.in_directive=!1),e instanceof kl||(n.indent(),e.print(n),r==i&&t||(n.newline(),t&&n.newline())),!0===n.in_directive&&e instanceof xl&&e.body instanceof kd&&(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=Gd(e,e=>e instanceof Bl&&!(e instanceof ql)||(e instanceof Ip&&"in"==e.operator||e instanceof Zp?Vd: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):(Ou.has(e)?n.option("ie8"):n.option("ecma")<2015||n.option("safari10")?!Ju(e):!el(e,!0))||t&&n.option("keep_quoted_props")?(n.print_string(e,t),!1):(n.print_name(e),!0)}_l.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 Bl?e.active_scope=n:!e.use_asm&&n instanceof El&&"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)}),_l.DEFMETHOD("_print",_l.prototype.print),_l.DEFMETHOD("print_to_string",function(e){var t=nm(e);return this.print(t),t.get()}),t(_l,iu),t(jl,function(e){return!(e.has_parens()||!Zd(e))||(!!(e.option("webkit")&&(t=e.parent())instanceof Tp&&t.expression===this)||(!!(e.option("wrap_iife")&&(t=e.parent())instanceof wp&&t.expression===this)||!!(e.option("wrap_func_args")&&(t=e.parent())instanceof wp&&t.args.includes(this))));var t}),t(ql,function(e){var t=e.parent();return!!(e.option("wrap_func_args")&&t instanceof wp&&t.args.includes(this))||t instanceof Tp&&t.expression===this||t instanceof Mp&&t.condition===this}),t(Up,function(e){return!e.has_parens()&&Zd(e)}),t(ed,Zd),t(Dp,function(e){var t=e.parent();return t instanceof Tp&&t.expression===this||t instanceof wp&&t.expression===this||t instanceof Ip&&"**"===t.operator&&this instanceof Pp&&t.left===this&&"++"!==this.operator&&"--"!==this.operator}),t(rp,function(e){var t=e.parent();return t instanceof Tp&&t.expression===this||t instanceof wp&&t.expression===this||t instanceof Ip&&"**"===t.operator&&t.left===this||e.option("safari10")&&t instanceof Pp}),t(Sp,function(e){var t=e.parent();return t instanceof wp||t instanceof Dp||t instanceof Ip||t instanceof _p||t instanceof Tp||t instanceof Bp||t instanceof Gp||t instanceof Mp||t instanceof ql||t instanceof Lp||t instanceof Gl||t instanceof Nl&&this===t.object||t instanceof ip||t instanceof xp}),t(Ip,function(e){var t=e.parent();if(t instanceof wp&&t.expression===this)return!0;if(t instanceof Dp)return!0;if(t instanceof Tp&&t.expression===this)return!0;if(t instanceof Ip){const e=t.operator,n=this.operator;if("??"===n&&("||"===e||"&&"===e))return!0;if("??"===e&&("||"===n||"&&"===n))return!0;const r=pl[e],i=pl[n];if(r>i||r==i&&(this===t.right||"**"==e))return!0}if(t instanceof Zp){const e=this.operator,n=pl.in,r=pl[e];if(n>r||n==r&&this===t.value)return!0}}),t(Zp,function(e){var t=e.parent();if(t instanceof wp&&t.expression===this)return!0;if(t instanceof Dp)return!0;if(t instanceof Tp&&t.expression===this)return!0;if(t instanceof Ip){const e=t.operator,n=pl[e],r=pl.in;if(n>r||n==r&&(this===t.right||"**"==e))return!0}return t instanceof Zp&&this===t.value||void 0}),t(ip,function(e){var t=e.parent();return t instanceof Ip&&"="!==t.operator||t instanceof wp&&t.expression===this||t instanceof Mp&&t.condition===this||t instanceof Dp||t instanceof Tp&&t.expression===this||void 0}),t(Op,function(e){var t=e.parent();return(t instanceof wp||t instanceof Tp)&&t.expression===this}),t(Tp,function(e){var t=e.parent();if(t instanceof Ap&&t.expression===this)return Gd(this,e=>e instanceof Bl||(e instanceof wp?Vd:void 0))}),t(wp,function(e){var t,n=e.parent();return!!(n instanceof Ap&&n.expression===this||n instanceof xp&&n.is_default&&this.expression instanceof jl)||this.expression instanceof jl&&n instanceof Tp&&n.expression===this&&(t=e.parent(1))instanceof Np&&t.left===n}),t(Ap,function(e){var t=e.parent();if(0===this.args.length&&(t instanceof Tp||t instanceof wp&&t.expression===this||t instanceof $l&&t.prefix===this))return!0}),t(Rd,function(e){var t=e.parent();if(t instanceof Tp&&t.expression===this){var n=this.getValue();if(n<0||/^0/.test(p(n)))return!0}}),t(Cd,function(e){var t=e.parent();if(t instanceof Tp&&t.expression===this&&this.getValue().startsWith("-"))return!0}),t([Np,Mp],function(e){var t=e.parent();return t instanceof Dp||t instanceof Ip&&!(t instanceof Np)||t instanceof wp&&t.expression===this||t instanceof Mp&&t.condition===this||t instanceof Tp&&t.expression===this||this instanceof Np&&this.left instanceof Kl&&!1===this.left.is_array||void 0}),e(El,function(e,t){t.print_string(e.value,e.quote),t.semicolon()}),e(Gl,function(e,t){t.print("..."),e.expression.print(t)}),e(Kl,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 Md&&t.comma()}),t.print(e.is_array?"]":"}")}),e(bl,function(e,t){t.print("debugger"),t.semicolon()}),Rl.DEFMETHOD("_do_print_body",function(e){l(this.body,e)}),e(yl,function(e,t){e.body.print(t),t.semicolon()}),e(Ul,function(e,t){n(e.body,!0,t,!0),t.print("")}),e(Cl,function(e,t){e.label.print(t),t.colon(),e.body.print(t)}),e(xl,function(e,t){e.body.print(t),t.semicolon()}),e(Tl,function(e,t){i(e,t)}),e(kl,function(e,t){t.semicolon()}),e(Pl,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(Fl,function(e,t){t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e._do_print_body(t)}),e(Il,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init?(e.init instanceof fp?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(Ml,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 Nl?"of":"in"),t.space(),e.object.print(t)}),t.space(),e._do_print_body(t)}),e(Ll,function(e,t){t.print("with"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space(),e._do_print_body(t)}),zl.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 td?n.name.print(e):t&&n.name instanceof _l&&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(zl,function(e,t){e._do_print(t),t.gc_scope(e)}),e($l,function(e,t){var n=e.prefix,r=n instanceof zl||n instanceof Ip||n instanceof Mp||n instanceof Sp||n instanceof Dp||n instanceof kp&&n.expression instanceof Up;r&&t.print("("),e.prefix.print(t),r&&t.print(")"),e.template_string.print(t)}),e(Wl,function(e,t){var n=t.parent()instanceof $l;t.print("`");for(var r=0;r<e.segments.length;r++)e.segments[r]instanceof Xl?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(Xl,function(e,t){t.print_template_string_chars(e.value)}),ql.DEFMETHOD("_do_print",function(e){var t=this,n=e.parent(),r=n instanceof Ip&&!(n instanceof Np)&&!(n instanceof Lp)||n instanceof Dp||n instanceof wp&&t===n.expression;r&&e.print("("),t.async&&(e.print("async"),e.space()),1===t.argnames.length&&t.argnames[0]instanceof td?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();const o=t.body[0];if(1===t.body.length&&o instanceof Ql){const t=o.value;t?Qd(t)?(e.print("("),t.print(e),e.print(")")):t.print(e):e.print("{}")}else i(t,e);r&&e.print(")"),e.gc_scope(t)}),Zl.DEFMETHOD("_do_print",function(e,t){if(e.print(t),this.value){e.space();const 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(Ql,function(e,t){e._do_print(t,"return")}),e(Jl,function(e,t){e._do_print(t,"throw")}),e(ip,function(e,t){var n=e.is_star?"*":"";t.print("yield"+n),e.expression&&(t.space(),e.expression.print(t))}),e(rp,function(e,t){t.print("await"),t.space();var n=e.expression,r=!(n instanceof wp||n instanceof yd||n instanceof Tp||n instanceof Dp||n instanceof Td||n instanceof rp||n instanceof Up);r&&t.print("("),e.expression.print(t),r&&t.print(")")}),ep.DEFMETHOD("_do_print",function(e,t){e.print(t),this.label&&(e.space(),this.label.print(e)),e.semicolon()}),e(tp,function(e,t){e._do_print(t,"break")}),e(np,function(e,t){e._do_print(t,"continue")}),e(op,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 Pl)return d(n,t);if(!n)return t.force_semicolon();for(;;)if(n instanceof op){if(!n.alternative)return void d(e.body,t);n=n.alternative}else{if(!(n instanceof Rl))break;n=n.body}l(e.body,t)}(e,t),t.space(),t.print("else"),t.space(),e.alternative instanceof op?e.alternative.print(t):l(e.alternative,t)):e._do_print_body(t)}),e(ap,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()})})}),sp.DEFMETHOD("_do_print_body",function(e){e.newline(),this.body.forEach(function(t){e.indent(),t.print(e),e.newline()})}),e(cp,function(e,t){t.print("default:"),e._do_print_body(t)}),e(up,function(e,t){t.print("case"),t.space(),e.expression.print(t),t.print(":"),e._do_print_body(t)}),e(lp,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(pp,function(e,t){i(e,t)}),e(dp,function(e,t){t.print("catch"),e.argname&&(t.space(),t.with_parens(function(){e.argname.print(t)})),t.space(),i(e,t)}),e(mp,function(e,t){t.print("finally"),t.space(),i(e,t)}),fp.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 Il||n instanceof Ml)||n&&n.init!==this)&&e.semicolon()}),e(gp,function(e,t){e._do_print(t,"let")}),e(hp,function(e,t){e._do_print(t,"var")}),e(vp,function(e,t){e._do_print(t,"const")}),e(bp,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(Ep,function(e,t){t.print("import.meta")}),e(yp,function(e,t){var n=t.parent()instanceof bp,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(xp,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 fp))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 Hl||e.exported_value instanceof jl||e.exported_value instanceof Wp)||e.module_name||e.exported_names)&&t.semicolon()}),e(_p,function(e,t){if(e.name.print(t),e.value){t.space(),t.print("="),t.space();var n=t.parent(1),r=n instanceof Il||n instanceof Ml;o(e.value,t,r)}}),e(wp,function(e,t){e.expression.print(t),e instanceof Ap&&0===e.args.length||((e.expression instanceof wp||e.expression instanceof zl)&&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(Ap,function(e,t){t.print("new"),t.space(),wp.prototype._codegen(e,t)}),Sp.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(Sp,function(e,t){e._do_print(t)}),e(kp,function(e,t){var n=e.expression;n.print(t);var r=e.property,i=Ou.has(r)?t.option("ie8"):!el(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 Rd&&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(Rp,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(Cp,function(e,t){e.expression.print(t),e.optional&&t.print("?."),t.print("["),e.property.print(t),t.print("]")}),e(Op,function(e,t){e.expression.print(t)}),e(Pp,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 Pp&&/^[+-]/.test(e.expression.operator))&&t.space(),e.expression.print(t)}),e(Fp,function(e,t){e.expression.print(t),t.print(e.operator)}),e(Ip,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(Mp,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(Bp,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 Md&&t.comma()}),r>0&&t.space()})}),e(Up,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(Wp,function(e,t){if(t.print("class"),t.space(),e.name&&(e.name.print(t),t.space()),e.extends){var n=!(e.extends instanceof yd||e.extends instanceof Tp||e.extends instanceof ed||e.extends instanceof jl);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(nd,function(e,t){t.print("new.target")}),e(zp,function(e,t){function n(e){var t=e.definition();return t?t.mangled_name||t.name:e.name}const r=t.option("shorthand")&&!(e.key instanceof _l);r&&e.value instanceof td&&n(e.value)===e.key&&!Ou.has(e.key)?a(e.key,e.quote,t)||(t.colon(),e.value.print(t)):r&&e.value instanceof Lp&&e.value.left instanceof td&&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 _l?t.with_square(function(){e.key.print(t)}):a(e.key,e.quote,t),t.colon(),e.value.print(t))}),e(Yp,(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(Xp,(e,t)=>{e.static&&(t.print("static"),t.space()),e.key instanceof pd?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()}),Gp.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 ld?(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(qp,function(e,t){e._print_getter_setter("set",!1,t)}),e(Hp,function(e,t){e._print_getter_setter("get",!1,t)}),e(Vp,function(e,t){e._print_getter_setter("set",!0,t)}),e(jp,function(e,t){e._print_getter_setter("get",!0,t)}),e(Kp,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($p,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(Zp,function(e,t){e.key.print(t),t.space(),t.print("in"),t.space(),e.value.print(t)}),e(wd,function(e,t){t.print("#"+e.name)}),e(Jp,function(e,t){t.print("static"),t.space(),i(e,t)}),td.DEFMETHOD("_do_print",function(e){var t=this.definition();e.print_name(t?t.mangled_name||t.name:this.name)}),e(td,function(e,t){e._do_print(t)}),e(Md,ru),e(Ad,function(e,t){t.print("this")}),e(Sd,function(e,t){t.print("super")}),e(Td,function(e,t){t.print(e.getValue())}),e(kd,function(e,t){t.print_string(e.getValue(),e.quote,t.in_directive)}),e(Rd,function(e,t){(t.option("keep_numbers")||t.use_asm)&&e.raw?t.print(e.raw):t.print(p(e.getValue()))}),e(Cd,function(e,t){t.option("keep_numbers")&&e.raw?t.print(e.raw):t.print(e.getValue()+"n")});const s=/(<\s*\/\s*script)/i,c=/^\s*script/i,u=(e,t)=>t.replace("/","\\/");function l(e,t){t.option("braces")?d(e,t):!e||e instanceof kl?t.force_semicolon():e instanceof gp||e instanceof vp||e instanceof Wp?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 kl?t.print("{}"):e instanceof Tl?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(Od,function(e,t){let{source:n,flags:r}=e.getValue();n=yu(n),r=r?function(e){const t=new Set(e.split(""));let n="";for(const 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,u),c.test(n)&&t.last().endsWith("<")&&t.print(" "),t.print(t.to_utf8(`/${n}/${r}`,!1,!0));const i=t.parent();i instanceof Ip&&/^\w/.test(i.operator)&&i.left===e&&t.print(" ")}),m([_l,Cl,Ul],ru),m([Bp,Tl,dp,Wp,Td,bl,fp,El,mp,Yl,zl,Ap,Up,Rl,td,ap,sp,Wl,Xl,lp],function(e){e.add_mapping(this.start)}),m([Hp,qp,jp,Vp,Kp,$p],function(e){e.add_mapping(this.start,!1)}),m([ld,wd],function(e){const t=this.end&&this.end.type;"name"===t||"privatename"===t?e.add_mapping(this.end,this.name):e.add_mapping(this.end)}),m([Gp],function(e){e.add_mapping(this.start,this.key)})}();const rm=(e,t)=>null===e&&null===t||e.TYPE===t.TYPE&&e.shallow_cmp(t),im=()=>!0;_l.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)},bl.prototype.shallow_cmp=im,El.prototype.shallow_cmp=function(e){return this.value===e.value},xl.prototype.shallow_cmp=im,Sl.prototype.shallow_cmp=im,kl.prototype.shallow_cmp=im,Cl.prototype.shallow_cmp=function(e){return this.label.name===e.label.name},Pl.prototype.shallow_cmp=im,Fl.prototype.shallow_cmp=im,Il.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)},Ml.prototype.shallow_cmp=im,Nl.prototype.shallow_cmp=im,Ll.prototype.shallow_cmp=im,Ul.prototype.shallow_cmp=im,Gl.prototype.shallow_cmp=im,zl.prototype.shallow_cmp=function(e){return this.is_generator===e.is_generator&&this.async===e.async},Kl.prototype.shallow_cmp=function(e){return this.is_array===e.is_array},$l.prototype.shallow_cmp=im,Wl.prototype.shallow_cmp=im,Xl.prototype.shallow_cmp=function(e){return this.value===e.value},Yl.prototype.shallow_cmp=im,ep.prototype.shallow_cmp=im,rp.prototype.shallow_cmp=im,ip.prototype.shallow_cmp=function(e){return this.is_star===e.is_star},op.prototype.shallow_cmp=function(e){return null==this.alternative?null==e.alternative:this.alternative===e.alternative},ap.prototype.shallow_cmp=im,sp.prototype.shallow_cmp=im,lp.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)},dp.prototype.shallow_cmp=function(e){return null==this.argname?null==e.argname:this.argname===e.argname},mp.prototype.shallow_cmp=im,fp.prototype.shallow_cmp=im,_p.prototype.shallow_cmp=function(e){return null==this.value?null==e.value:this.value===e.value},yp.prototype.shallow_cmp=im,bp.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)},Ep.prototype.shallow_cmp=im,xp.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},wp.prototype.shallow_cmp=im,Sp.prototype.shallow_cmp=im,Tp.prototype.shallow_cmp=im,Op.prototype.shallow_cmp=im,kp.prototype.shallow_cmp=function(e){return this.property===e.property},Rp.prototype.shallow_cmp=function(e){return this.property===e.property},Dp.prototype.shallow_cmp=function(e){return this.operator===e.operator},Ip.prototype.shallow_cmp=function(e){return this.operator===e.operator},Zp.prototype.shallow_cmp=im,Mp.prototype.shallow_cmp=im,Bp.prototype.shallow_cmp=im,Up.prototype.shallow_cmp=im,Gp.prototype.shallow_cmp=im,zp.prototype.shallow_cmp=function(e){return this.key===e.key&&this.quote===e.quote},qp.prototype.shallow_cmp=function(e){return this.static===e.static},Hp.prototype.shallow_cmp=function(e){return this.static===e.static},Kp.prototype.shallow_cmp=function(e){return this.static===e.static},$p.prototype.shallow_cmp=function(e){return this.static===e.static},Wp.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)},Xp.prototype.shallow_cmp=function(e){return this.static===e.static&&("string"!=typeof this.key||this.key===e.key)},Yp.prototype.shallow_cmp=function(e){return this.static===e.static},td.prototype.shallow_cmp=function(e){return this.name===e.name},nd.prototype.shallow_cmp=im,Ad.prototype.shallow_cmp=im,Sd.prototype.shallow_cmp=im,kd.prototype.shallow_cmp=function(e){return this.value===e.value},Rd.prototype.shallow_cmp=function(e){return this.value===e.value},Cd.prototype.shallow_cmp=function(e){return this.value===e.value},Od.prototype.shallow_cmp=function(e){return this.value.flags===e.value.flags&&this.value.source===e.value.source},Dd.prototype.shallow_cmp=im;let om=null,am=null,sm=null;class cm{constructor(e,t,n){this.name=t.name,this.orig=[t],this.init=n,this.eliminated=0,this.assignments=0,this.scope=e,this.replaced=0,this.global=!1,this.export=0,this.mangled_name=null,this.undeclared=!1,this.id=cm.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 _l?this.fixed:this.fixed()}unmangleable(e){return e||(e={}),!!(om&&om.has(this.id)&&vu(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 dd||this.orig[0]instanceof ud)&&vu(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof ld||(this.orig[0]instanceof fd||this.orig[0]instanceof md)&&vu(e.keep_classnames,this.orig[0].name)}mangle(e){const 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 dd&&(n=n.parent_scope);const i=um(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 um(e){if(e.orig[0]instanceof hd&&e.scope.is_block_scope())return e.scope.get_defun_scope().variables.get(e.name)}function lm(e,t){let n;sm&&(n=e.get_defun_scope())&&sm.has(n)&&(e=n);var r=e.enclosed,i=t.nth_identifier;e:for(;;){var o=i.get(++e.cname);if(!Ou.has(o)&&!(t.reserved.has(o)||am&&am.has(o))){for(let e=r.length;--e>=0;){const n=r[e];if(o==(n.mangled_name||n.unmangleable(t)&&n.name))continue e}return o}}}function pm(e){return(e=nu(e,{eval:!1,nth_identifier:dm,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}cm.next_id=1,Bl.DEFMETHOD("figure_out_scope",function(e,{parent_scope:t,toplevel:n=this}={}){if(e=nu(e,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof Ul))throw new Error("Invalid toplevel scope");var r=this.parent_scope=t,i=new Map,o=null,a=null,s=[],c=new jd((t,n)=>{if(t.is_block_scope()){const i=r;if(t.block_scope=r=new Bl(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 Il||t instanceof Ml||t instanceof Nl)&&s.push(r),t instanceof ap){const 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 Kl){const e=a;return a=t,n(),a=e,!0}if(t instanceof Bl){t.init_scope_vars(r);var l=r,p=o,d=i;return o=r=t,i=new Map,n(),r=l,o=p,i=d,!0}if(t instanceof Cl){var m=t.label;if(i.has(m.name))throw new Error(pu("Label {name} defined twice",m));return i.set(m.name,m),n(),i.delete(m.name),!0}if(t instanceof Ll)for(var f=r;f;f=f.parent_scope)f.uses_with=!0;else{if(t instanceof td&&(t.scope=r),t instanceof _d&&(t.thedef=t,t.references=[]),t instanceof dd)o.def_function(t,"arguments"==t.name?void 0:o);else if(t instanceof ud){const e=o.parent_scope;t.scope=c.directives["use strict"]?e:e.get_defun_scope(),u(t.scope.def_function(t,o),1)}else if(t instanceof fd)u(o.def_variable(t,o),1);else if(t instanceof gd)r.def_variable(t);else if(t instanceof md)u((t.scope=o.parent_scope).def_function(t,o),1);else if(t instanceof id||t instanceof sd||t instanceof ad||t instanceof hd){if((h=t instanceof od?r.def_variable(t,null):o.def_variable(t,"SymbolVar"==t.TYPE?null:void 0)).orig.every(e=>e===t||(t instanceof od?e instanceof dd:!(e instanceof sd||e instanceof ad)))||rl(`"${t.name}" is redeclared`,t.start.file,t.start.line,t.start.col,t.start.pos),t instanceof cd||u(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 xd){var g=i.get(t.name);if(!g)throw new Error(pu("Undefined label {name} [{line},{col}]",{name:t.name,line:t.start.line,col:t.start.col}));t.thedef=g}r instanceof Ul||!(t instanceof xp||t instanceof bp)||rl(`"${t.TYPE}" statement may only appear at the top level`,t.start.file,t.start.line,t.start.col,t.start.pos)}});function u(e,t){if(a){var n=0;do{t++}while(c.parent(n++)!==a)}var r=c.parent(t);if(e.export=r instanceof xp?1:0){var i=r.exported_definition;(i instanceof Hl||i instanceof Qp)&&r.is_default&&(e.export=2)}}if(e.module&&(c.directives["use strict"]=!0),this.walk(c),this instanceof Ul&&(this.globals=new Map),c=new jd(e=>{if(e instanceof ep&&e.label)return e.label.thedef.references.push(e),!0;if(e instanceof yd){var t,r=e.name;if("eval"==r&&c.parent()instanceof wp)for(var i=e.scope;i&&!i.uses_eval;i=i.parent_scope)i.uses_eval=!0;return c.parent()instanceof yp&&c.parent(1).module_name||!(t=e.scope.find_variable(r))?(t=n.def_global(e),e instanceof bd&&(t.export=1)):t.scope instanceof zl&&"arguments"==r&&(t.scope.get_defun_scope().uses_arguments=!0),e.thedef=t,e.reference(),!e.scope.is_block_scope()||t.orig[0]instanceof od||(e.scope=e.scope.get_defun_scope()),!0}var o;if(e instanceof hd&&(o=um(e.definition())))for(i=e.scope;i&&(lu(i.enclosed,o),i!==o.scope);)i=i.parent_scope}),this.walk(c),(e.ie8||e.safari10)&&Gd(this,e=>{if(e instanceof hd){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(const e of s)e.parent_scope.variables.forEach(function(t){lu(e.enclosed,t)})}),Ul.DEFMETHOD("def_global",function(e){var t=this.globals,n=e.name;if(t.has(n))return t.get(n);var r=new cm(this,e);return r.undeclared=!0,r.global=!0,t.set(n,r),r}),Bl.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}),Bl.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)}),Bl.DEFMETHOD("conflicting_def_shallow",function(e){return this.enclosed.find(t=>t.name===e)||this.variables.has(e)}),Bl.DEFMETHOD("add_child_scope",function(e){if(e.parent_scope===this)return;e.parent_scope=this,e instanceof ql&&this instanceof zl&&!this.uses_arguments&&(this.uses_arguments=Gd(e,e=>e instanceof yd&&e.scope instanceof zl&&"arguments"===e.name?Vd:e instanceof zl&&!(e instanceof ql)||void 0)),this.uses_with=this.uses_with||e.uses_with,this.uses_eval=this.uses_eval||e.uses_eval;const t=(()=>{const e=[];let t=this;do{e.push(t)}while(t=t.parent_scope);return e.reverse(),e})(),n=new Set(e.enclosed),r=[];for(const e of t){r.forEach(t=>lu(e.enclosed,t));for(const t of e.variables.values())n.has(t)&&(lu(r,t),lu(e.enclosed,t))}}),Bl.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){const t=new Set;for(const 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 new Error("No symbol name could be generated in create_symbol()");const s=uu(e,t,{name:a,scope:r});return this.def_variable(s,o||null),s.mark_enclosed(),s}),_l.DEFMETHOD("is_block_scope",iu),Wp.DEFMETHOD("is_block_scope",iu),zl.DEFMETHOD("is_block_scope",iu),Ul.DEFMETHOD("is_block_scope",iu),sp.DEFMETHOD("is_block_scope",iu),Sl.DEFMETHOD("is_block_scope",ou),Bl.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1}),Ol.DEFMETHOD("is_block_scope",ou),zl.DEFMETHOD("init_scope_vars",function(){Bl.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new cd({name:"arguments",start:this.start,end:this.end}))}),ql.DEFMETHOD("init_scope_vars",function(){Bl.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1}),td.DEFMETHOD("mark_enclosed",function(){for(var e=this.definition(),t=this.scope;t&&(lu(t.enclosed,e),t!==e.scope);)t=t.parent_scope}),td.DEFMETHOD("reference",function(){this.definition().references.push(this),this.mark_enclosed()}),Bl.DEFMETHOD("find_variable",function(e){return e instanceof td&&(e=e.name),this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)}),Bl.DEFMETHOD("def_function",function(e,t){var n=this.def_variable(e,t);return(!n.init||n.init instanceof Hl)&&(n.init=t),n}),Bl.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 jl)&&(n.init=t)):(n=new cm(this,e,t),this.variables.set(e.name,n),n.global=!this.parent_scope),e.thedef=n}),Bl.DEFMETHOD("next_mangled",function(e){return lm(this,e)}),Ul.DEFMETHOD("next_mangled",function(e){let t;const n=this.mangled_names;do{t=lm(this,e)}while(n.has(t));return t}),jl.DEFMETHOD("next_mangled",function(e,t){for(var n=t.orig[0]instanceof cd&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var i=lm(this,e);if(!r||r!=i)return i}}),td.DEFMETHOD("unmangleable",function(e){var t=this.definition();return!t||t.unmangleable(e)}),_d.DEFMETHOD("unmangleable",iu),td.DEFMETHOD("unreferenced",function(){return!this.definition().references.length&&!this.scope.pinned()}),td.DEFMETHOD("definition",function(){return this.thedef}),td.DEFMETHOD("global",function(){return this.thedef.global}),Ul.DEFMETHOD("mangle_names",function(e){var t=(e=pm(e)).nth_identifier,n=-1,r=[];e.keep_fnames&&(om=new Set);const i=this.mangled_names=new Set;am=new Set,e.cache&&(this.globals.forEach(a),e.cache.props&&e.cache.props.forEach(function(e){i.add(e)}));var o=new jd(function(i,s){if(i instanceof Cl){var c=n;return s(),n=c,!0}if(i instanceof Hl&&!(o.parent()instanceof Bl)&&(sm=sm||new Set,sm.add(i.parent_scope.get_defun_scope())),i instanceof Bl)i.variables.forEach(a);else if(i.is_block_scope())i.block_scope.variables.forEach(a);else if(om&&i instanceof _p&&i.value instanceof zl&&!i.value.name&&vu(e.keep_fnames,i.name.name))om.add(i.name.definition().id);else{if(i instanceof _d){let e;do{e=t.get(++n)}while(Ou.has(e));return i.mangled_name=e,!0}!e.ie8&&!e.safari10&&i instanceof hd&&r.push(i.definition())}});function a(t){1&t.export?am.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)&&am.add(t.name)}),r.forEach(t=>{t.mangle(e)}),om=null,am=null,sm=null}),Ul.DEFMETHOD("find_colliding_names",function(e){const t=e.cache&&e.cache.props,n=new Set;return e.reserved.forEach(r),this.globals.forEach(i),this.walk(new jd(function(e){e instanceof Bl&&e.variables.forEach(i),e instanceof hd&&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)}}),Ul.DEFMETHOD("expand_names",function(e){var t=(e=pm(e)).nth_identifier;t.reset&&t.sort&&(t.reset(),t.sort());var n=this.find_colliding_names(e),r=0;function i(i){if(i.global&&e.cache)return;if(i.unmangleable(e))return;if(e.reserved.has(i.name))return;const o=um(i),a=i.name=o?o.name:function(){var e;do{e=t.get(r++)}while(n.has(e)||Ou.has(e));return e}();i.orig.forEach(function(e){e.name=a}),i.references.forEach(function(e){e.name=a})}this.globals.forEach(i),this.walk(new jd(function(e){e instanceof Bl&&e.variables.forEach(i),e instanceof hd&&i(e.definition())}))}),_l.DEFMETHOD("tail_node",au),Sp.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]}),Ul.DEFMETHOD("compute_char_frequency",function(e){var t=(e=pm(e)).nth_identifier;if(t.reset&&t.consider&&t.sort){t.reset();try{_l.prototype.print=function(r,i){this._print(r,i),this instanceof td&&!this.unmangleable(e)?t.consider(this.name,-1):e.properties&&(this instanceof Rp?t.consider("#"+this.property,-1):this instanceof kp?t.consider(this.property,-1):this instanceof Cp&&n(this.property))},t.consider(this.print_to_string(),1)}finally{_l.prototype.print=_l.prototype._print}t.sort()}function n(e){e instanceof kd?t.consider(e.value,-1):e instanceof Mp?(n(e.consequent),n(e.alternative)):e instanceof Sp&&n(e.tail_node())}});const dm=(()=>{const e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),t="0123456789".split("");let n,r;function i(){r=new Map,e.forEach(function(e){r.set(e,0)}),t.forEach(function(e){r.set(e,0)})}function o(e,t){return r.get(t)-r.get(e)}function a(){n=mu(e,o).concat(mu(t,o))}return i(),a(),{get:function(e){var t="",r=54;e++;do{e--,t+=n[e%r],e=Math.floor(e/r),r=64}while(e>0);return t},consider:function(e,t){for(var n=e.length;--n>=0;)r.set(e[n],r.get(e[n])+t)},reset:i,sort:a}})();let mm;_l.prototype.size=function(e,t){mm=e&&e._mangle_options;let n=0;return zd(this,(e,t)=>{if(n+=e._size(t),e instanceof ql&&e.is_braceless())return n+=e.body[0].value._size(t),!0},t||e&&e.stack),mm=void 0,n},_l.prototype._size=()=>0,bl.prototype._size=()=>8,El.prototype._size=function(){return 2+this.value.length};const fm=e=>e.length&&e.length-1;Sl.prototype._size=function(){return 2+fm(this.body)},Ul.prototype._size=function(){return fm(this.body)},kl.prototype._size=()=>1,Cl.prototype._size=()=>2,Pl.prototype._size=()=>9,Fl.prototype._size=()=>7,Il.prototype._size=()=>8,Ml.prototype._size=()=>8,Ll.prototype._size=()=>6,Gl.prototype._size=()=>3;const hm=e=>(e.is_generator?1:0)+(e.async?6:0);Vl.prototype._size=function(){return hm(this)+4+fm(this.argnames)+fm(this.body)},jl.prototype._size=function(e){return 2*!!Zd(e)+hm(this)+12+fm(this.argnames)+fm(this.body)},Hl.prototype._size=function(){return hm(this)+13+fm(this.argnames)+fm(this.body)},ql.prototype._size=function(){let e=2+fm(this.argnames);1===this.argnames.length&&this.argnames[0]instanceof td||(e+=2);const t=this.is_braceless()?0:fm(this.body)+2;return hm(this)+e+t},Kl.prototype._size=()=>2,Wl.prototype._size=function(){return 2+3*Math.floor(this.segments.length/2)},Xl.prototype._size=function(){return this.value.length},Ql.prototype._size=function(){return this.value?7:6},Jl.prototype._size=()=>6,tp.prototype._size=function(){return this.label?6:5},np.prototype._size=function(){return this.label?9:8},op.prototype._size=()=>4,ap.prototype._size=function(){return 8+fm(this.body)},up.prototype._size=function(){return 5+fm(this.body)},cp.prototype._size=function(){return 8+fm(this.body)},lp.prototype._size=()=>3,dp.prototype._size=function(){let e=7+fm(this.body);return this.argname&&(e+=2),e},mp.prototype._size=function(){return 7+fm(this.body)},hp.prototype._size=function(){return 4+fm(this.definitions)},gp.prototype._size=function(){return 4+fm(this.definitions)},vp.prototype._size=function(){return 6+fm(this.definitions)},_p.prototype._size=function(){return this.value?1:0},yp.prototype._size=function(){return this.name?4:0},bp.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+fm(this.imported_names)),e},Ep.prototype._size=()=>11,xp.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+fm(this.exported_names)),this.module_name&&(e+=5),e},wp.prototype._size=function(){return this.optional?4+fm(this.args):2+fm(this.args)},Ap.prototype._size=function(){return 6+fm(this.args)},Sp.prototype._size=function(){return fm(this.expressions)},kp.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},Rp.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},Cp.prototype._size=function(){return this.optional?4:2},Dp.prototype._size=function(){return"typeof"===this.operator?7:"void"===this.operator?5:this.operator.length},Ip.prototype._size=function(e){if("in"===this.operator)return 4;let t=this.operator.length;return("+"===this.operator||"-"===this.operator)&&this.right instanceof Dp&&this.right.operator===this.operator&&(t+=1),this.needs_parens(e)&&(t+=2),t},Mp.prototype._size=()=>3,Bp.prototype._size=function(){return 2+fm(this.elements)},Up.prototype._size=function(e){let t=2;return Zd(e)&&(t+=2),t+fm(this.properties)};const gm=e=>"string"==typeof e?e.length:0;zp.prototype._size=function(){return gm(this.key)+1};const vm=e=>e?7:0;Hp.prototype._size=function(){return 5+vm(this.static)+gm(this.key)},qp.prototype._size=function(){return 5+vm(this.static)+gm(this.key)},Kp.prototype._size=function(){return vm(this.static)+gm(this.key)},$p.prototype._size=function(){return Kp.prototype._size.call(this)+1},jp.prototype._size=function(){return Kp.prototype._size.call(this)+4},Vp.prototype._size=function(){return Kp.prototype._size.call(this)+4},Zp.prototype._size=function(){return 5},Wp.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},Jp.prototype._size=function(){return 8+fm(this.body)},Xp.prototype._size=function(){return vm(this.static)+("string"==typeof this.key?this.key.length+2:0)+(this.value?1:0)},Yp.prototype._size=function(){return Xp.prototype._size.call(this)+1},td.prototype._size=function(){return mm&&this.thedef&&!this.thedef.unmangleable(mm)?1:this.name.length},pd.prototype._size=function(){return this.name.length},yd.prototype._size=rd.prototype._size=function(){return"arguments"===this.name?9:td.prototype._size.call(this)},nd.prototype._size=()=>10,vd.prototype._size=function(){return this.name.length},Ed.prototype._size=function(){return this.name.length},Ad.prototype._size=()=>4,Sd.prototype._size=()=>5,kd.prototype._size=function(){return this.value.length+2},Rd.prototype._size=function(){const{value:e}=this;return 0===e?1:e>0&&Math.floor(e)===e?Math.floor(Math.log10(e)+1):e.toString().length},Cd.prototype._size=function(){return this.value.length},Od.prototype._size=function(){return this.value.toString().length},Pd.prototype._size=()=>4,Fd.prototype._size=()=>3,Id.prototype._size=()=>6,Md.prototype._size=()=>0,Nd.prototype._size=()=>8,Ud.prototype._size=()=>4,Bd.prototype._size=()=>5,rp.prototype._size=()=>6,ip.prototype._size=()=>6;const _m=32,ym=256,bm=(e,t)=>e.flags&t,Em=(e,t)=>{e.flags|=t},xm=(e,t)=>{e.flags&=~t};function wm(e,t){return t instanceof Sp?e.push(...t.expressions):e.push(t),e}function Am(e,t){if(1==t.length)return t[0];if(0==t.length)throw new Error("trying to create a sequence with length zero!");return uu(Sp,e,{expressions:t.reduce(wm,[])})}function Sm(e){return uu(jl,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 Tm(e,t){switch(typeof e){case"string":return uu(kd,t,{value:e});case"number":return isNaN(e)?uu(Fd,t):isFinite(e)?1/e<0?uu(Pp,t,{operator:"-",expression:uu(Rd,t,{value:-e})}):uu(Rd,t,{value:e}):e<0?uu(Pp,t,{operator:"-",expression:uu(Nd,t)}):uu(Nd,t);case"bigint":return uu(Cd,t,{value:e.toString()});case"boolean":return uu(e?Ud:Bd,t);case"undefined":return uu(Id,t);default:if(null===e)return uu(Pd,t,{value:null});if(e instanceof RegExp)return uu(Od,t,{value:{source:yu(e.source),flags:e.flags}});throw new Error(pu("Can't handle constant of type: {type}",{type:typeof e}))}}function km(e,t){return e.size()>t.size()?t:e}function Rm(e,t,n){return Zd(e)?function(e,t){return km(uu(xl,e,{body:e}),uu(xl,t,{body:t})).body}(t,n):km(t,n)}function Cm(e){return e instanceof Td?e.getValue():e instanceof Pp&&"void"==e.operator&&e.expression instanceof Td?void 0:e}function Om(e,t){if(!((t=Cm(t))instanceof _l)){var n;if(e instanceof Bp){var r=e.elements;if("length"==t)return Tm(r.length,e);"number"==typeof t&&t in r&&(n=r[t])}else if(e instanceof Up){t=""+t;for(var i=e.properties,o=i.length;--o>=0;){if(!(i[o]instanceof zp))return;n||i[o].key!==t||(n=i[o].value)}}return n instanceof yd&&n.fixed_value()||n}}function Dm(e,t){var n=!1,r=new jd(function(t){return!!(n||t instanceof Bl)||(t instanceof ep&&r.loopcontrol_target(t)===e?n=!0:void 0)});return t instanceof Cl&&r.push(t),r.push(e),e.body.walk(r),n}function Pm(e,t,n){return Fm(e,t,n)?Am(t,[uu(Rd,t,{value:0}),n]):n}function Fm(e,t,n){return e instanceof Pp&&"delete"==e.operator||e instanceof wp&&e.expression===t&&(n instanceof Op||n instanceof Tp||n instanceof yd&&"eval"==n.name)}function Im(e){return e instanceof ql||e instanceof jl}function Mm(e){return"Call"==e.TYPE&&(e.expression instanceof jl||Mm(e.expression))}function Nm(e){return null===e||e instanceof kl||e instanceof Tl&&0==e.body.length}const Lm=fu("Infinity NaN undefined");function Bm(e){return e instanceof Nd||e instanceof Fd||e instanceof Id}function Um(e,t){if(!(e instanceof yd))return!1;for(var n=e.definition().orig,r=n.length;--r>=0;)if(n[r]instanceof t)return!0}function Gm(e){return!(e instanceof Qp||e instanceof Hl||e instanceof gp||e instanceof vp||e instanceof xp||e instanceof bp)}function zm(e){if(null===e)return[];if(e instanceof Tl)return e.body;if(e instanceof kl)return[];if(e instanceof yl)return[e];throw new Error("Can't convert thing to statement array")}function Vm(e,t){const n=e=>{if(e instanceof yd&&t.includes(e.definition()))return Vd};return zd(e,(t,r)=>{if(t instanceof Bl&&t!==e){var i=r.parent();if(i instanceof wp&&i.expression===t&&!t.async&&!t.is_generator)return;return!Gd(t,n)||Vd}})}function jm(e,t){for(var n,r=0;n=e.parent(r);r++)if(n instanceof zl||n instanceof Wp){var i=n.name;if(i&&i.definition()===t)return!0}return!1}function qm(e,t){return t.top_retain&&e instanceof Hl&&bm(e,1024)&&e.name&&t.top_retain(e.name.definition())}function Hm(e){const t=new Map;for(var n of Object.keys(e))t.set(n,fu(e[n]));return(e,n)=>{const r=t.get(e);return null!=r&&r.has(n)}}const Km=new Set(["Number","String","Array","Object","Function","Promise"]),$m=["constructor","toString","valueOf"],Wm=Hm({Array:["at","flat","includes","indexOf","join","lastIndexOf","slice",...$m],Boolean:$m,Function:$m,Number:["toExponential","toFixed","toPrecision",...$m],Object:$m,RegExp:["test",...$m],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",...$m]}),Xm=Hm({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"]}),Ym=Hm({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]}),Zm=e=>e instanceof yd&&e.definition().undeclared,Qm=fu("<<< >> << & | ^ ~"),Jm=fu("&& || ??"),ef=fu("delete ++ --");var tf,nf;function rf(e,t){return bm(e,8)||e instanceof Id||e instanceof Pp&&"void"==e.operator&&!e.expression.has_side_effects(t)}function of(e,t){let n;return e instanceof Pd||rf(e,t)||e instanceof yd&&(n=e.definition().fixed)instanceof _l&&sf(n,t)}function af(e,t){return e instanceof Tp||e instanceof wp?e.optional&&of(e.expression,t)||af(e.expression,t):e instanceof Op&&af(e.expression,t)}function sf(e,t){return!!of(e,t)||af(e,t)}function cf(e,t){return t instanceof Dp&&ef.has(t.operator)?t.expression:t instanceof Np&&t.left===e||t instanceof Ml&&t.init===e?e:void 0}!function(e){const t=fu("! delete"),n=fu("in instanceof == != === !== < <= >= >");e(_l,iu),e(Pp,function(){return t.has(this.operator)}),e(Ip,function(){return n.has(this.operator)||Jm.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),e(Mp,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),e(Np,function(){return"="==this.operator&&this.right.is_boolean()}),e(Sp,function(){return this.tail_node().is_boolean()}),e(Ud,ou),e(Bd,ou)}(function(e,t){e.DEFMETHOD("is_boolean",t)}),function(e){e(_l,iu),e(Rd,ou);const t=fu("+ - ~ ++ --");e(Dp,function(e){return t.has(this.operator)&&this.expression.is_number(e)});const n=fu("- * / % & | ^ << >> >>>");e(Ip,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(Np,function(e){return("="===this.operator||n.has(this.operator.slice(0,-1)))&&this.right.is_number(e)}),e(Sp,function(e){return this.tail_node().is_number(e)}),e(Mp,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})}(function(e,t){e.DEFMETHOD("is_number",t)}),function(e){e(_l,iu),e(Cd,ou);const t=fu("+ - ~ ++ --");e(Dp,function(e){return t.has(this.operator)&&this.expression.is_bigint(e)});const n=fu("- * / % & | ^ << >>");e(Ip,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(Np,function(e){return(n.has(this.operator.slice(0,-1))||"="==this.operator)&&this.right.is_bigint(e)}),e(Sp,function(e){return this.tail_node().is_bigint(e)}),e(Mp,function(e){return this.consequent.is_bigint(e)&&this.alternative.is_bigint(e)})}(function(e,t){e.DEFMETHOD("is_bigint",t)}),function(e){e(_l,iu),e(Rd,ou),e(Cd,ou);const t=fu("+ - ~ ++ --");e(Dp,function(e){return t.has(this.operator)});const n=fu("- * / % & | ^ << >>");e(Ip,function(e){return"+"===this.operator?this.left.is_number_or_bigint(e)&&this.right.is_number_or_bigint(e):n.has(this.operator)}),e(Np,function(e){return n.has(this.operator.slice(0,-1))||"="==this.operator&&this.right.is_number_or_bigint(e)}),e(Sp,function(e){return this.tail_node().is_number_or_bigint(e)}),e(Mp,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)}),tf=function(e,t){e.DEFMETHOD("is_32_bit_integer",t)},tf(_l,iu),tf(Rd,function(e){return this.value===(0|this.value)}),tf(Pp,function(e){return"~"==this.operator?this.expression.is_number(e):"+"===this.operator&&this.expression.is_32_bit_integer(e)}),tf(Ip,function(e){return Qm.has(this.operator)&&(this.left.is_number(e)||this.right.is_number(e))}),nf=function(e,t){e.DEFMETHOD("is_string",t)},nf(_l,iu),nf(kd,ou),nf(Wl,ou),nf(Pp,function(){return"typeof"==this.operator}),nf(Ip,function(e){return"+"==this.operator&&(this.left.is_string(e)||this.right.is_string(e))}),nf(Np,function(e){return("="==this.operator||"+="==this.operator)&&this.right.is_string(e)}),nf(Sp,function(e){return this.tail_node().is_string(e)}),nf(Mp,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)}),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(_l,ou),e(kl,iu),e(Td,iu),e(Ad,iu),e(Sl,function(e){return t(this.body,e)}),e(wp,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(ap,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(up,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(lp,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(op,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(Ep,iu),e(Cl,function(e){return this.body.has_side_effects(e)}),e(xl,function(e){return this.body.has_side_effects(e)}),e(zl,iu),e(Wp,function(e){return!(!this.extends||!this.extends.has_side_effects(e))||t(this.properties,e)}),e(Jp,function(e){return t(this.body,e)}),e(Ip,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(Np,ou),e(Mp,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(Dp,function(e){return ef.has(this.operator)||this.expression.has_side_effects(e)}),e(yd,function(e){return!this.is_declared(e)&&!Km.has(this.name)}),e(pd,iu),e(rd,iu),e(Up,function(e){return t(this.properties,e)}),e(zp,function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.value&&this.value.has_side_effects(e)}),e([Xp,Yp],function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.static&&this.value&&this.value.has_side_effects(e)}),e([$p,jp,Vp,Kp,Hp,qp],function(e){return this.computed_key()&&this.key.has_side_effects(e)}),e(Bp,function(e){return t(this.elements,e)}),e(kp,function(e){return sf(this,e)?this.expression.has_side_effects(e):!(this.optional||!this.expression.may_throw_on_access(e))||this.expression.has_side_effects(e)}),e(Cp,function(e){if(sf(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(Op,function(e){return this.expression.has_side_effects(e)}),e(Sp,function(e){return t(this.expressions,e)}),e(fp,function(e){return t(this.definitions,e)}),e(_p,function(){return null!=this.value}),e(Xl,iu),e(Wl,function(e){return t(this.segments,e)})}(function(e,t){for(const 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(_l,ou),e(Td,iu),e(kl,iu),e(zl,iu),e(rd,iu),e(Ad,iu),e(Ep,iu),e(Wp,function(e){return!(!this.extends||!this.extends.may_throw(e))||t(this.properties,e)}),e(Jp,function(e){return t(this.body,e)}),e(Bp,function(e){return t(this.elements,e)}),e(Np,function(e){return!!this.right.may_throw(e)||!(!e.has_directive("use strict")&&"="==this.operator&&this.left instanceof yd)&&this.left.may_throw(e)}),e(Ip,function(e){return this.left.may_throw(e)||this.right.may_throw(e)}),e(Sl,function(e){return t(this.body,e)}),e(wp,function(e){return!sf(this,e)&&(!!t(this.args,e)||!this.is_callee_pure(e)&&(!!this.expression.may_throw(e)||!(this.expression instanceof zl)||t(this.expression.body,e)))}),e(up,function(e){return this.expression.may_throw(e)||t(this.body,e)}),e(Mp,function(e){return this.condition.may_throw(e)||this.consequent.may_throw(e)||this.alternative.may_throw(e)}),e(fp,function(e){return t(this.definitions,e)}),e(op,function(e){return this.condition.may_throw(e)||this.body&&this.body.may_throw(e)||this.alternative&&this.alternative.may_throw(e)}),e(Cl,function(e){return this.body.may_throw(e)}),e(Up,function(e){return t(this.properties,e)}),e(zp,function(e){return!!(this.computed_key()&&this.key.may_throw(e)||this.value)&&this.value.may_throw(e)}),e([Xp,Yp],function(e){return this.computed_key()&&this.key.may_throw(e)||this.static&&this.value&&this.value.may_throw(e)}),e([Kp,Hp,qp],function(e){return this.computed_key()&&this.key.may_throw(e)}),e([$p,jp,Vp],iu),e(Ql,function(e){return this.value&&this.value.may_throw(e)}),e(Sp,function(e){return t(this.expressions,e)}),e(xl,function(e){return this.body.may_throw(e)}),e(kp,function(e){return!sf(this,e)&&(!this.optional&&this.expression.may_throw_on_access(e)||this.expression.may_throw(e))}),e(Cp,function(e){return!sf(this,e)&&(!this.optional&&this.expression.may_throw_on_access(e)||this.expression.may_throw(e)||this.property.may_throw(e))}),e(Op,function(e){return this.expression.may_throw(e)}),e(ap,function(e){return this.expression.may_throw(e)||t(this.body,e)}),e(yd,function(e){return!this.is_declared(e)&&!Km.has(this.name)}),e(pd,iu),e(lp,function(e){return this.bcatch?this.bcatch.may_throw(e):this.body.may_throw(e)||this.bfinally&&this.bfinally.may_throw(e)}),e(Dp,function(e){return!("typeof"==this.operator&&this.expression instanceof yd)&&this.expression.may_throw(e)}),e(_p,function(e){return!!this.value&&this.value.may_throw(e)})}(function(e,t){for(const n of[].concat(e))n.DEFMETHOD("may_throw",t)}),function(e){function t(e){let t=!0;return Gd(this,n=>{if(n instanceof yd){if(bm(this,16))return t=!1,Vd;var r=n.definition();if(eu(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,Vd}return!0}if(n instanceof Ad&&this instanceof ql)return t=!1,Vd}),t}e(_l,iu),e(Td,ou),e(Wp,function(e){if(this.extends&&!this.extends.is_constant_expression(e))return!1;for(const t of this.properties){if(t.computed_key()&&!t.key.is_constant_expression(e))return!1;if(t.static&&t.value&&!t.value.is_constant_expression(e))return!1;if(t instanceof Jp)return!1}return t.call(this,e)}),e(zl,t),e(Dp,function(){return this.expression.is_constant_expression()}),e(Ip,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),e(Bp,function(){return this.elements.every(e=>e.is_constant_expression())}),e(Up,function(){return this.properties.every(e=>e.is_constant_expression())}),e(Gp,function(){return!(this.key instanceof _l||!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"))}_l.DEFMETHOD("may_throw_on_access",function(e){return!e.option("pure_getters")||this._dot_throw(e)}),e(_l,t),e(Pd,ou),e(Id,ou),e(Td,iu),e(Bp,iu),e(Up,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(Wp,iu),e(Gp,iu),e(Hp,ou),e(Gl,function(e){return this.expression._dot_throw(e)}),e(jl,iu),e(ql,iu),e(Fp,iu),e(Pp,function(){return"void"==this.operator}),e(Ip,function(e){return("&&"==this.operator||"||"==this.operator||"??"==this.operator)&&(this.left._dot_throw(e)||this.right._dot_throw(e))}),e(Np,function(e){return!!this.logical||"="==this.operator&&this.right._dot_throw(e)}),e(Mp,function(e){return this.consequent._dot_throw(e)||this.alternative._dot_throw(e)}),e(kp,function(e){return!(!t(e)||"prototype"==this.property&&(this.expression instanceof jl||this.expression instanceof Wp))}),e(Op,function(e){return this.expression._dot_throw(e)}),e(Sp,function(e){return this.tail_node()._dot_throw(e)}),e(yd,function(e){if("arguments"===this.name&&this.scope instanceof zl)return!1;if(bm(this,8))return!0;if(!t(e))return!1;if(Zm(this)&&this.is_declared(e))return!1;if(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 uu(Pp,e,{operator:"!",expression:e})}function n(e,n,r){var i=t(e);if(r){var o=uu(xl,n,{body:n});return km(i,o)===o?n:i}return km(i,n)}e(_l,function(){return t(this)}),e(yl,function(){throw new Error("Cannot negate a statement")}),e(jl,function(){return t(this)}),e(Wp,function(){return t(this)}),e(ql,function(){return t(this)}),e(Pp,function(){return"!"==this.operator?this.expression:t(this)}),e(Sp,function(e){var t=this.expressions.slice();return t.push(t.pop().negate(e)),Am(this,t)}),e(Mp,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(Ip,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 uu(Pp,e,{operator:"~",expression:e})}e(_l,function(e){return t(this)}),e(Rd,function(e){const n=~this.value;return n.toString().length>this.value.toString().length?t(this):uu(Rd,this,{value:n})}),e(Pp,function(e,n){return"~"==this.operator&&(this.expression.is_32_bit_integer(e)||(null!=n?n:e.in_32_bit_context()))?this.expression:t(this)})}(function(e,t){e.DEFMETHOD("bitwise_negate",t)});var uf=fu("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");wp.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(Zm(t)&&uf.has(t.name))return!0;if(t instanceof kp&&Zm(t.expression)&&Xm(t.expression.name,t.property))return!0}return!!(this instanceof Ap&&e.option("pure_new"))||!(!e.option("side_effects")||!xu(this,Hd))||!e.pure_funcs(this)}),_l.DEFMETHOD("is_call_pure",iu),kp.DEFMETHOD("is_call_pure",function(e){if(!e.option("unsafe"))return;const t=this.expression;let n;return t instanceof Bp?n="Array":t.is_boolean()?n="Boolean":t.is_number(e)?n="Number":t instanceof Od?n="RegExp":t.is_string(e)?n="String":this.may_throw_on_access(e)||(n="Object"),null!=n&&Wm(n,this.property)});const lf=e=>e&&e.aborts();function pf(e,t,n,r,i,o){var a=t.parent(i),s=cf(n,a);if(s)return s;if(!o&&a instanceof wp&&a.expression===n&&!(r instanceof ql)&&!(r instanceof Wp)&&!a.is_callee_pure(e)&&(!(r instanceof jl)||!(a instanceof Ap)&&r.contains_this()))return!0;if(a instanceof Bp)return pf(e,t,a,a,i+1);if(a instanceof zp&&n===a.value){var c=t.parent(i+1);return pf(e,t,c,c,i+2)}if(a instanceof Tp&&a.expression===n){var u=Om(r,a.property);return!o&&pf(e,t,a,u,i+1)}}function df(e){for(let t,n,r=-1;t=e.parent(r),n=e.parent(r+1);r++){if(!(n instanceof Sp)){if(n instanceof Dp){const e=n.operator;if("void"===e)return!1;if("typeof"===e||"+"===e||"-"===e||"!"===e||"~"===e)continue}return!(n instanceof xl||n instanceof Cl||n instanceof Bl)}if(n.expressions.indexOf(t)!==n.expressions.length-1){const t=e.parent(r+2);return!(n.expressions.length>2||1===n.expressions.length||!Fm(t,n,n.expressions[1]))}}return!0}function mf(e,t){e.DEFMETHOD("_eval",t)}!function(e){function t(){for(var e=0;e<this.body.length;e++)if(lf(this.body[e]))return this.body[e];return null}e(yl,su),e(Yl,au),e(bp,su),e(Tl,t),e(sp,t),e(Qp,function(){for(const e of this.properties)if(e instanceof Jp&&e.aborts())return e;return null}),e(Jp,t),e(op,function(){return this.alternative&&lf(this.body)&&lf(this.alternative)&&this})}(function(e,t){e.DEFMETHOD("aborts",t)}),_l.DEFMETHOD("contains_this",function(){return Gd(this,e=>e instanceof Ad?Vd:e!==this&&e instanceof Bl&&!(e instanceof ql)||void 0)});const ff=Symbol("This AST_Chain is nullish");_l.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==ff)return this;if("string"==typeof t){const n=this.size(e);if(t.length+2>n)return this}return t});var hf=fu("! ~ - + void");_l.DEFMETHOD("is_constant",function(){return this instanceof Td?!(this instanceof Od):this instanceof Pp&&hf.has(this.operator)&&(this.expression instanceof Td||this.expression.is_constant())}),mf(yl,function(){throw new Error(pu("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),mf(zl,au),mf(Wp,au),mf(_l,au),mf(Td,function(){return this.getValue()});const gf="function"==typeof BigInt;mf(Cd,function(){return gf?BigInt(this.value):this}),mf(Od,function(e){let t=e.evaluated_regexps.get(this.value);if(void 0===t&&Eu(this.value.source)){try{const{source:e,flags:n}=this.value;t=new RegExp(e,n)}catch(e){t=null}e.evaluated_regexps.set(this.value,t)}return t||this}),mf(Wl,function(){return 1!==this.segments.length?this:this.segments[0].value}),mf(jl,function(e){if(e.option("unsafe")){var t=function(){};return t.node=this,t.toString=()=>this.print_to_string(),t}return this}),mf(Bp,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}),mf(Up,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 Gl)return this;var a=o.key;if(a instanceof td)a=a.name;else if(a instanceof _l&&(a=a._eval(e,t))===o.key)return this;if("function"==typeof Object.prototype[a])return this;if(!(o.value instanceof jl)&&(n[a]=o.value._eval(e,t),n[a]===o.value))return this}return n}return this});var vf=fu("! typeof void");mf(Pp,function(e,t){var n=this.expression;if(e.option("typeofs")&&"typeof"==this.operator){if(n instanceof zl||n instanceof yd&&n.fixed_value()instanceof zl)return"function";if((n instanceof Up||n instanceof Bp||n instanceof yd&&(n.fixed_value()instanceof Up||n.fixed_value()instanceof Bp))&&!n.has_side_effects(e))return"object"}if(vf.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 _f=fu("&& || ?? === !==");const yf=fu("== != === !=="),bf=e=>"object"==typeof e||"function"==typeof e||"symbol"==typeof e;mf(Ip,function(e,t){_f.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)return this;if(null!=n&&null!=i&&yf.has(this.operator)&&bf(n)&&bf(i)&&typeof n==typeof i)return this;if("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=null!=n?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(Ll)?this:r}),mf(Mp,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 Ef=new Set;mf(yd,function(e,t){if(Ef.has(this))return this;var n=this.fixed_value();if(!n)return this;Ef.add(this);const r=n._eval(e,t);if(Ef.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 xf={Array:Array,Math:Math,Number:Number,Object:Object,String:String},wf=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);function Af(e,t){for(const n of[].concat(e))n.DEFMETHOD("drop_side_effect_free",t)}function Sf(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}mf(Tp,function(e,t){let n=this.expression._eval(e,t+1);if(n===ff||this.optional&&null==n)return ff;if("length"===this.property){if("string"==typeof n)return n.length;if(n instanceof Bp&&n.elements.every(e=>!(e instanceof Gl))&&n.elements.every(t=>!t.has_side_effects(e)))return n.elements.length}if(e.option("unsafe")){var r=this.property;if(r instanceof _l&&(r=r._eval(e,t))===this.property)return this;var i=this.expression;if(Zm(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 kp?a.expression:a)||a.thedef&&a.thedef.undeclared)return this.clone();if(!Ym(i.name,r))return this;n=xf[i.name]}else{if(n instanceof RegExp){if("source"==r)return yu(n.source);if("flags"==r||wf.has(r))return n[r]}if(!n||n===i||!gu(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}),mf(Op,function(e,t){const n=this.expression._eval(e,t);return n===ff?void 0:n===this.expression?this:n}),mf(wp,function(e,t){var n=this.expression;const r=n._eval(e,t);if(r===ff||this.optional&&null==r)return ff;if(e.option("unsafe")&&n instanceof Tp){var i,o=n.property;if(o instanceof _l&&(o=o._eval(e,t))===n.property)return this;var a=n.expression;if(Zm(a)){var s="hasOwnProperty"===a.name&&"call"===o&&this.args[0]&&this.args[0].evaluate(e);if(null==(s=s instanceof kp?s.expression:s)||s.thedef&&s.thedef.undeclared)return this.clone();if(!Xm(a.name,o))return this;i=xf[a.name]}else{if((i=a._eval(e,t+1))===a||!i)return this;if(!Wm(i.constructor.name,o))return this}for(var c=[],u=0,l=this.args.length;u<l;u++){var p=this.args[u],d=p._eval(e,t);if(p===d)return this;if(p instanceof zl)return this;c.push(d)}try{return i[o].apply(i,c)}catch(e){}}return this}),mf(Ap,au),Af(_l,au),Af(Td,su),Af(Ad,su),Af(wp,function(e,t){if(af(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=Sf(n,e,t))&&Am(this,n)}if(Im(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=Sf(this.args,e,t);return i&&Am(this,i)}),Af(Vl,su),Af(jl,su),Af(ql,su),Af(Wp,function(e){const t=[];if(this.is_self_referential()&&this.has_side_effects(e))return this;const n=this.extends&&this.extends.drop_side_effect_free(e);n&&t.push(n);for(const n of this.properties)if(n instanceof Jp){if(n.has_side_effects(e))return this}else{const r=n.drop_side_effect_free(e);r&&t.push(r)}if(!t.length)return null;const r=Am(this,t);return this instanceof Qp?uu(xl,this,{body:r}):r}),Af([Xp,Yp],function(e){const 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?Am(this,[t,n]):t||n||null}),Af(Ip,function(e,t){var n=this.right.drop_side_effect_free(e);if(!n)return this.left.drop_side_effect_free(e,t);if(Jm.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?Am(this,[i,n]):this.right.drop_side_effect_free(e,t)}),Af(Np,function(e){if(this.logical)return this;var t=this.left;if(t.has_side_effects(e)||e.has_directive("use strict")&&t instanceof Tp&&t.expression.is_constant())return this;for(Em(this,_m);t instanceof Tp;)t=t.expression;return t.is_constant_expression(e.find_parent(Bl))?this.right.drop_side_effect_free(e):this}),Af(Mp,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?uu(Ip,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(e);if(!n)return uu(Ip,this,{operator:"&&",left:this.condition,right:t});var r=this.clone();return r.consequent=t,r.alternative=n,r}),Af(Dp,function(e,t){if(ef.has(this.operator))return this.expression.has_side_effects(e)?xm(this,_m):Em(this,_m),this;if("typeof"==this.operator&&this.expression instanceof yd)return null;var n=this.expression.drop_side_effect_free(e,t);return t&&n&&Mm(n)?n===this.expression&&"!"==this.operator?this:n.negate(e,t):n}),Af(yd,function(e){return this.is_declared(e)||Km.has(this.name)?null:this}),Af(Up,function(e,t){var n=Sf(this.properties,e,t);return n&&Am(this,n)}),Af(zp,function(e,t){const n=this.key instanceof _l&&this.key.drop_side_effect_free(e,t),r=this.value.drop_side_effect_free(e,t);return n&&r?Am(this,[n,r]):n||r}),Af([Kp,Hp,qp],function(){return this.computed_key()?this.key:null}),Af([$p,jp,Vp],function(){return null}),Af(Bp,function(e,t){var n=Sf(this.elements,e,t);return n&&Am(this,n)}),Af(kp,function(e,t){return af(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)}),Af(Cp,function(e,t){if(af(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?Am(this,[r,n]):r||n}),Af(Op,function(e,t){return this.expression.drop_side_effect_free(e,t)}),Af(Sp,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?Am(this,r):uu(Rd,this,{value:0})}),Af(Gl,function(e,t){return this.expression.drop_side_effect_free(e,t)}),Af(Xl,su),Af(Wl,function(e){var t=Sf(this.segments,e,Zd);return t&&Am(this,t)});const Tf=/keep_assign/;function kf(e,t){e.DEFMETHOD("reduce_vars",t)}function Rf(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 cd&&t.scope.uses_arguments?t.fixed=!1:t.orig[0]instanceof ad||!e.exposed(t)?t.fixed=t.init:t.fixed=!1}function Cf(e,t,n){n.variables.forEach(function(n){Rf(t,n),null===n.fixed?(e.defs_to_safe_ids.set(n.id,e.safe_ids),Ff(e,n,!0)):n.fixed&&(e.loop_ids.set(n.id,e.in_loop),Ff(e,n,!0))})}function Of(e,t){t.block_scope&&t.block_scope.variables.forEach(t=>{Rf(e,t)})}function Df(e){e.safe_ids=Object.create(e.safe_ids)}function Pf(e){e.safe_ids=Object.getPrototypeOf(e.safe_ids)}function Ff(e,t,n){e.safe_ids[t.id]=n}function If(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 cd||"arguments"==n.name)return!1;t.fixed=uu(Id,n)}return!0}return t.fixed instanceof Hl}function Mf(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):!!gu(e.safe_ids,t.id)&&!!If(e,t)&&!1!==t.fixed&&!(null!=t.fixed&&(!r||t.references.length>t.assignments))&&(t.fixed instanceof Hl?r instanceof _l&&t.fixed.parent_scope===n:t.orig.every(e=>!(e instanceof ad||e instanceof ud||e instanceof dd)))}function Nf(e,t,n,r,i,o=0,a=1){var s=e.parent(o);if(i){if(i.is_constant())return;if(i instanceof ed)return}if(s instanceof Np&&("="===s.operator||s.logical)&&r===s.right||s instanceof wp&&(r!==s.expression||s instanceof Ap)||s instanceof Zl&&r===s.value&&r.scope!==t.scope||s instanceof _p&&r===s.value||s instanceof ip&&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 Bp||s instanceof rp||s instanceof Ip&&Jm.has(s.operator)||s instanceof Mp&&r!==s.condition||s instanceof Gl||s instanceof Sp&&r===s.tail_node())Nf(e,t,n,s,s,o+1,a);else if(s instanceof zp&&r===s.value){var c=e.parent(o+1);Nf(e,t,n,c,c,o+2,a)}else if(s instanceof Tp&&r===s.expression&&(Nf(e,t,n,s,i=Om(i,s.property),o+1,a+1),i))return;o>0||s instanceof Sp&&r!==s.tail_node()||s instanceof xl||(t.direct_access=!0)}Bl.DEFMETHOD("drop_unused",function(e){if(!e.option("unused"))return;if(e.has_directive("use asm"))return;if(!this.variables)return;var t=this;if(t.pinned())return;var n=!(t instanceof Ul)||e.toplevel.funcs,r=!(t instanceof Ul)||e.toplevel.vars;const i=Tf.test(e.option("unused"))?iu:function(e){return e instanceof Np&&!e.logical&&(bm(e,_m)||"="==e.operator)?e.left:e instanceof Dp&&bm(e,_m)?e.expression:void 0};var o=new Map,a=new Map;t instanceof Ul&&e.top_retain&&t.variables.forEach(function(t){e.top_retain(t)&&o.set(t.id,t)});var s=new Map,c=new Map,u=this,l=new jd(function(i,p){if(i instanceof zl&&i.uses_arguments&&!l.has_directive("use strict")&&i.argnames.forEach(function(e){if(e instanceof rd){var t=e.definition();o.set(t.id,t)}}),i===t)return;if(i instanceof Wp&&i.has_side_effects(e)&&(i.is_self_referential()?p():i.visit_nondeferred_class_parts(l)),i instanceof Hl||i instanceof Qp){var m=i.name.definition();return(l.parent()instanceof xp||!n&&u===t)&&m.global&&o.set(m.id,m),hu(c,m.id,i),!0}const f=u===t;if(i instanceof cd&&f&&hu(s,i.definition().id,i),i instanceof fp&&f){const t=l.parent()instanceof xp;return i.definitions.forEach(function(n){if(n.name instanceof id&&hu(s,n.name.definition().id,n),!t&&r||Gd(n.name,e=>{if(e instanceof rd){const t=e.definition();t.global&&o.set(t.id,t)}}),n.name instanceof Kl&&n.walk(l),n.name instanceof rd&&n.value){var i=n.name.definition();hu(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(l)}}),!0}return d(i,p)});t.walk(l),l=new jd(d),o.forEach(function(e){var t=c.get(e.id);t&&t.forEach(function(e){e.walk(l)})});var p=new qd(function(c,l,d){var m=p.parent();if(r){const t=i(c);if(t instanceof yd){var f=t.definition(),h=o.has(f.id);if(c instanceof Np){if(!h||a.has(f.id)&&a.get(f.id)!==c){const t=c.right.transform(p);return h||t.has_side_effects(e)||df(p)?Pm(m,c,t):d?cu.skip:uu(Rd,c,{value:0})}}else if(!h)return d?cu.skip:uu(Rd,c,{value:0})}}if(u===t){if(c.name&&(c instanceof ed&&!vu(e.option("keep_classnames"),(f=c.name.definition()).name)||c instanceof jl&&!vu(e.option("keep_fnames"),(f=c.name.definition()).name))&&(!o.has(f.id)||f.orig.length>1)&&(c.name=null),c instanceof zl&&!(c instanceof Vl))for(var g=!e.option("keep_fargs")||m instanceof wp&&m.expression===c&&!c.pinned()&&(!c.name||c.name.unreferenced()),v=c.argnames,_=v.length;--_>=0;){var y=v[_];y instanceof Gl&&(y=y.expression),y instanceof Lp&&(y=y.left),y instanceof Kl||o.has(y.definition().id)?g=!1:(Em(y,1),g&&v.pop())}if(c instanceof Qp&&c!==t){const t=c.name.definition();if(l(c,this),!(t.global&&!n||o.has(t.id))){const n=c.drop_side_effect_free(e);return null==n?(t.eliminated++,d?cu.skip:uu(kl,c)):n}return c}if(c instanceof Hl&&c!==t){const e=c.name.definition();if(!(e.global&&!n||o.has(e.id)))return e.eliminated++,d?cu.skip:uu(kl,c)}if(c instanceof fp&&!(m instanceof Ml&&m.init===c)){var b=!(m instanceof Ul||c instanceof hp),E=[],x=[],w=[],A=[];switch(c.definitions.forEach(function(t){t.value&&(t.value=t.value.transform(p));var n=t.name instanceof Kl,i=n?new cm(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 id){var u=s.get(i.id);if(u.length>1&&(!t.value||i.orig.indexOf(t.name)>i.eliminated)){if(t.value){var l=uu(yd,t.name,t.name);i.references.push(l);var d=uu(Np,t,{operator:"=",logical:!1,left:l,right:t.value});a.get(i.id)===t&&a.set(i.id,d),A.push(d.transform(p))}return du(u,t),void i.eliminated++}}t.value?(A.length>0&&(w.length>0?(A.push(t.value),t.value=Am(t.value,A)):E.push(uu(xl,c,{body:Am(c,A)})),A=[]),w.push(t)):x.push(t)}else if(i.orig[0]instanceof hd)(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(uu(xl,c,{body:Am(c,A)})),E.length){case 0:return d?cu.skip:uu(kl,c);case 1:return E[0];default:return d?cu.splice(E):uu(Tl,c,{body:E})}}if(c instanceof Il)return l(c,this),c.init instanceof Tl&&(S=c.init,c.init=S.body.pop(),S.body.push(c)),c.init instanceof xl?c.init=c.init.body:Nm(c.init)&&(c.init=null),S?d?cu.splice(S.body):S:c;if(c instanceof Cl&&c.body instanceof Il){if(l(c,this),c.body instanceof Tl){var S=c.body;return c.body=S.body.pop(),S.body.push(c),d?cu.splice(S.body):S}return c}if(c instanceof Tl)return l(c,this),d&&c.body.every(Gm)?cu.splice(c.body):c;if(c instanceof Bl&&!(c instanceof Jp)){const e=u;return u=c,l(c,this),u=e,c}}},function(e,t){if(e instanceof Sp)switch(e.expressions.length){case 0:return t?cu.skip:uu(Rd,e,{value:0});case 1:return e.expressions[0]}});function d(e,n){var r;const s=i(e);if(s instanceof yd&&!Um(e.left,od)&&t.variables.get(s.name)===(r=s.definition()))return e instanceof Np&&(e.right.walk(l),r.chained||e.left.fixed_value()!==e.right||a.set(r.id,e)),!0;if(e instanceof yd){if(r=e.definition(),!o.has(r.id)&&(o.set(r.id,r),r.orig[0]instanceof hd)){const 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 Wp)return n(),!0;if(e instanceof Bl&&!(e instanceof Jp)){var c=u;return u=e,n(),u=c,!0}}t.transform(p)}),kf(_l,ru);const Lf=e=>Gd(e,e=>{if(e instanceof td){var t=e.definition();t&&(e instanceof yd&&t.references.push(e),t.fixed=!1)}});function Bf(e){const t=[];Gd(e,n=>{if(n!==e)return n instanceof Hl?(t.push(n),!0):n instanceof Bl||n instanceof xl||void 0});const n=new Map,r=new Map,i=new Set,o=new Set;for(const a of t){const t=a.name.definition(),s=[];for(const r of a.enclosed)!1!==r.fixed&&r!==t&&r.scope.get_defun_scope()===e&&(i.add(r.id),0===r.assignments&&1===r.orig.length&&r.orig[0]instanceof ud?(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)):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;const s=new Map,c=new Map;zd(e,(e,t)=>{if(e instanceof td&&e.thedef){const n=e.definition().id;a++,i.has(n)&&(e instanceof rd||cf(e,t.parent()))&&c.set(n,a),o.has(n)&&(s.has(n)||jm(t,n)||s.set(n,a))}});for(const[e,t]of s){const r=new Set(n.get(e));for(const e of r){let i=s.get(e);if(!(null!=i&&i<t)){s.set(e,t);for(const t of n.get(e)||[])r.add(t)}}}for(const[e,t]of r){const n=s.get(e);if(void 0!==n)for(const e of t)!1!==e.fixed&&n<(c.get(e.id)||0)&&(e.fixed=!1)}}function Uf(e){return e instanceof Ol&&e.body instanceof Tl?e.body:e}function Gf(e){if(e instanceof Ad)return!0;if(e instanceof yd)return e.definition().orig[0]instanceof dd;if(e instanceof Tp){if((e=e.expression)instanceof yd){if(e.is_immutable())return!1;e=e.fixed_value()}return!e||!(e instanceof Od)&&(e instanceof Td||Gf(e))}return!1}function zf(e,t,n){Gd(t,r=>{if(r instanceof hp){const e=(o=[],(i=r).definitions.forEach(function(e){e.name instanceof rd?(e.value=null,o.push(e)):e.declarations_as_names().forEach(t=>{o.push(uu(_p,e,{name:t,value:null}))})}),o.length?uu(hp,i,{definitions:o}):null);return e&&n.push(e),!0}var i,o;return r instanceof Hl&&(r===t||!e.has_directive("use strict"))?(n.push(r===t?r:uu(hp,r,{definitions:[uu(_p,r,{name:uu(id,r.name,r.name),value:null})]})),!0):r instanceof xp||r instanceof bp?(n.push(r),!0):r instanceof Bl||void 0})}function Vf(e,t){const 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 Ol)r=!0;else{if(e instanceof Bl)break;e instanceof pp&&(i=!0)}}while(e=t.parent(n++));return{in_loop:r,in_try:i}}();var a,s=10;do{a=!1,u(e),t.option("dead_code")&&p(e,t),t.option("if_return")&&l(e,t),t.sequences_limit>0&&(m(e,t),h(e,t)),t.option("join_vars")&&v(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=[],u=e.length,l=new qd(function(e){if(T)return e;if(!S)return e!==d[m]?e:++m<d.length?D(e):(S=!0,(g=N(e,0))===e&&(T=!0),e);var r,i=l.parent();if(e instanceof Np&&(e.logical||"="!=e.operator&&_.equivalent_to(e.left))||e instanceof rp||e instanceof wp&&_ instanceof Tp&&_.equivalent_to(e.expression)||(e instanceof wp||e instanceof Tp)&&e.optional||e instanceof bl||e instanceof Kl||e instanceof Gl&&e.expression instanceof td&&(e.expression instanceof Ad||e.expression.definition().references.length>1)||e instanceof Ol&&!(e instanceof Il)||e instanceof ep||e instanceof lp||e instanceof Ll||e instanceof ip||e instanceof xp||e instanceof Wp||i instanceof Il&&e!==i.init||!x&&e instanceof yd&&!e.is_declared(t)&&!Km.has(e)||e instanceof yd&&i instanceof wp&&xu(i,$d)||e instanceof Gp&&e.key instanceof _l)return T=!0,e;if(v||b&&x||!(i instanceof Ip&&Jm.has(i.operator)&&i.left!==e||i instanceof Mp&&i.condition!==e||i instanceof op&&i.condition!==e)||(v=i),R&&!(e instanceof rd)&&_.equivalent_to(e)&&!function(e,t){for(const{def:n}of t.values()){const t=e.find_variable(n.name);if(t){if(t===n)continue;return!0}}return!1}(l.find_scope()||n,y)){if(v)return T=!0,e;if(cf(e,i))return h&&k++,e;if(k++,h&&f instanceof _p)return e;if(a=T=!0,f instanceof Fp)return uu(Pp,f,f);if(f instanceof _p){var s=f.name.definition(),c=f.value;return s.references.length-s.replaced!=1||t.exposed(s)?uu(Np,f,{operator:"=",logical:!1,left:uu(yd,f.name,f.name),right:c}):(s.replaced++,A&&Bm(c)?c.transform(t):Pm(i,e,c))}return xm(f,_m),f}return(e instanceof wp||e instanceof Zl&&(E||_ instanceof Tp||q(_))||e instanceof Tp&&(E||e.expression.may_throw_on_access(t))||e instanceof yd&&(y.has(e.name)&&y.get(e.name).modified||E&&q(e))||e instanceof _p&&e.value&&(y.has(e.name.name)||E&&q(e.name))||(r=cf(e.left,e))&&(r instanceof Tp||y.has(r.name))||w&&(o?e.has_side_effects(t):H(e)))&&(g=e,e instanceof Bl&&(T=!0)),D(e)},function(e){T||(g===e&&(T=!0),v===e&&(v=null))}),p=new qd(function(e){if(T)return e;if(!S){if(e!==d[m])return e;if(++m<d.length)return;return S=!0,e}return e instanceof yd&&e.name==O.name?(--k||(T=!0),cf(e,p.parent())?e:(O.replaced++,h.replaced--,f.value)):e instanceof cp||e instanceof Bl?e:void 0});--u>=0;){0==u&&t.option("unused")&&I();var d=[];for(M(e[u]);c.length>0;){d=c.pop();var m=0,f=d[d.length-1],h=null,g=null,v=null,_=L(f);if(_&&!Gf(_)&&!_.has_side_effects(t)){var y=U(f),b=z(_);_ instanceof yd&&y.set(_.name,{def:_.definition(),modified:!1});var E=V(f),x=j(),w=f.may_throw(t),A=f.name instanceof cd,S=A,T=!1,k=0,R=!s||!S;if(!R){for(let e=t.self().argnames.lastIndexOf(f.name)+1;!T&&e<s.length;e++)s[e].transform(l);R=!0}for(var C=u;!T&&C<e.length;C++)e[C].transform(l);if(h){var O=f.name.definition();if(T&&O.references.length-O.replaced>k)k=!1;else{for(T=!1,m=0,S=A,C=u;!T&&C<e.length;C++)e[C].transform(p);h.single_use=!1}}k&&!G(f)&&e.splice(u,1)}}}function D(e){if(e instanceof Bl)return e;if(e instanceof ap){e.expression=e.expression.transform(l);for(var t=0,n=e.body.length;!T&&t<n;t++){var r=e.body[t];if(r instanceof up){if(!S){if(r!==d[m])continue;m++}if(r.expression=r.expression.transform(l),!x)break}}return T=!0,e}}function P(e,t,n){var i=!1,o=!(e instanceof ql);return t.walk(new jd(function(t,a){if(i)return!0;if(t instanceof yd&&(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 Ad)return i=!0;if(t instanceof Bl&&!(t instanceof ql)){var c=o;return o=!1,a(),o=c,!0}})),i}function F(e){if(e instanceof Gl)return!1;const t=Gd(e,e=>{if(e instanceof rp)return Vd});return!t}function I(){var e,n=t.self();if(Im(n)&&!n.name&&!n.uses_arguments&&!n.pinned()&&(e=t.parent())instanceof wp&&e.expression===n&&e.args.every(F)){var r=t.has_directive("use strict");r&&!eu(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 u=n.argnames[a],l=e.args[a];const i=u.definition&&u.definition();if(!(i&&i.orig.length>1||(s.unshift(uu(_p,u,{name:u,value:l})),o.has(u.name))))if(o.add(u.name),u instanceof Gl){var p=e.args.slice(a);p.every(e=>!P(n,e,r))&&c.unshift([uu(_p,u,{name:u.expression,value:uu(Bp,e,{elements:p})})])}else l?(l instanceof zl&&l.pinned()||P(n,l,r))&&(l=null):l=uu(Id,u).transform(t),l&&c.unshift([uu(_p,u,{name:u,value:l})])}}}function M(e){if(d.push(e),e instanceof Np)e.left.has_side_effects(t)||e.right instanceof Op||c.push(d.slice()),M(e.right);else if(e instanceof Ip)M(e.left),M(e.right);else if(e instanceof wp&&!xu(e,$d))M(e.expression),e.args.forEach(M);else if(e instanceof up)M(e.expression);else if(e instanceof Mp)M(e.condition),M(e.consequent),M(e.alternative);else if(e instanceof fp){var n=e.definitions.length,r=n-200;for(r<0&&(r=0);r<n;r++)M(e.definitions[r])}else e instanceof Dl?(M(e.condition),e.body instanceof Sl||M(e.body)):e instanceof Zl?e.value&&M(e.value):e instanceof Il?(e.init&&M(e.init),e.condition&&M(e.condition),e.step&&M(e.step),e.body instanceof Sl||M(e.body)):e instanceof Ml?(M(e.object),e.body instanceof Sl||M(e.body)):e instanceof op?(M(e.condition),e.body instanceof Sl||M(e.body),!e.alternative||e.alternative instanceof Sl||M(e.alternative)):e instanceof Sp?e.expressions.forEach(M):e instanceof xl?M(e.body):e instanceof ap?(M(e.expression),e.body.forEach(M)):e instanceof Dp?"++"!=e.operator&&"--"!=e.operator||c.push(d.slice()):e instanceof _p&&(!e.value||e.value instanceof Op||(c.push(d.slice()),M(e.value)));d.pop()}function N(e,t,n){var r=l.parent(t);return r instanceof Np?!n||r.logical||r.left instanceof Tp||y.has(r.left.name)?e:N(r,t+1,n):r instanceof Ip?!n||Jm.has(r.operator)&&r.left!==e?e:N(r,t+1,n):r instanceof wp||r instanceof up?e:r instanceof Mp?n&&r.condition===e?N(r,t+1,n):e:r instanceof fp?N(r,t+1,!0):r instanceof Zl?n?N(r,t+1,n):e:r instanceof op?n&&r.condition===e?N(r,t+1,n):e:r instanceof Ol?e:r instanceof Sp?N(r,t+1,r.tail_node()!==e):r instanceof xl?N(r,t+1,!0):r instanceof ap||r instanceof _p?e:null}function L(e){if(e instanceof Np&&e.logical)return!1;if(!(e instanceof _p&&e.name instanceof rd)){const t=e instanceof Np?e.left:e.expression;return!Um(t,ad)&&!Um(t,sd)&&t}var n=e.name.definition();if(eu(e.name,n.orig)){var r=n.references.length-n.replaced;if(r)return n.orig.length-n.eliminated>1&&!(e.name instanceof cd)||(r>1?function(e){var t=e.value;if(t instanceof yd&&"arguments"!=t.name){var n=t.definition();if(!n.undeclared)return h=n}}(e):!t.exposed(n))?uu(yd,e.name,e.name):void 0}}function B(e){return e instanceof Np?e.right:e.value}function U(e){var n=new Map;if(e instanceof Dp)return n;var r=new jd(function(e){for(var i=e;i instanceof Tp;)i=i.expression;if(i instanceof yd){const o=n.get(i.name);o&&o.modified||n.set(i.name,{def:i.definition(),modified:pf(t,r,e,e,0)})}});return B(e).walk(r),n}function G(n){if(n.name instanceof cd){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]=uu(Rd,a[o],{value:0}))}return!0}var s=!1;return e[u].transform(new qd(function(e,t,r){return s?e:e===n||e.body===n?(s=!0,e instanceof _p?(e.value=e.name instanceof ad?uu(Id,e.value):null,e):r?cu.skip:null):void 0},function(e){if(e instanceof Sp)switch(e.expressions.length){case 0:return null;case 1:return e.expressions[0]}}))}function z(e){for(;e instanceof Tp;)e=e.expression;return e instanceof yd&&e.definition().scope.get_defun_scope()===r&&!(i&&(y.has(e.name)||f instanceof Dp||f instanceof Np&&!f.logical&&"="!=f.operator))}function V(e){return e instanceof Dp?ef.has(e.operator):B(e).has_side_effects(t)}function j(){if(E)return!1;if(h)return!0;if(_ instanceof yd){var e=_.definition();if(e.references.length-e.replaced==(f instanceof _p?1:2))return!0}return!1}function q(e){if(!e.definition)return!0;var t=e.definition();return!(1==t.orig.length&&t.orig[0]instanceof ud)&&(t.scope.get_defun_scope()!==r||t.references.some(e=>e.scope.get_defun_scope()!==r))}function H(e,t){if(e instanceof Np)return H(e.left,!0);if(e instanceof Dp)return H(e.expression,!0);if(e instanceof _p)return e.value&&H(e.value);if(t){if(e instanceof kp)return H(e.expression,!0);if(e instanceof Cp)return H(e.expression,!0);if(e instanceof yd)return e.definition().scope.get_defun_scope()!==r}return!1}}function u(e){for(var t=[],n=0;n<e.length;){var r=e[n];r instanceof Tl&&r.body.every(Gm)?(a=!0,u(r.body),e.splice(n,1,...r.body),n+=r.body.length):r instanceof kl?(a=!0,e.splice(n,1)):r instanceof El?t.indexOf(r.value)<0?(n++,t.push(r.value)):(a=!0,e.splice(n,1)):n++}}function l(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 op&&r.body instanceof Ql&&++t>1)return!0}return!1}(e),i=n instanceof zl,o=Math.min(e.length,500);--o>=0;){var s=e[o],c=g(o),u=e[c];if(i&&!u&&s instanceof Ql){if(!s.value){a=!0,e.splice(o,1);continue}if(s.value instanceof Pp&&"void"==s.value.operator){a=!0,e[o]=uu(xl,s,{body:s.value.expression});continue}}if(s instanceof op){let n,r;if(n=lf(s.body),m(n)&&(r=h(s.body,n))){n.label&&du(n.label.thedef.references,n),a=!0,(s=s.clone()).condition=s.condition.negate(t),s.body=uu(Tl,s,{body:zm(s.alternative).concat(f())}),s.alternative=uu(Tl,s,{body:r}),e[o]=s.transform(t);continue}if(n=lf(s.alternative),m(n)&&(r=h(s.alternative,n))){n.label&&du(n.label.thedef.references,n),a=!0,(s=s.clone()).body=uu(Tl,s.body,{body:zm(s.body).concat(f())}),s.alternative=uu(Tl,s.alternative,{body:r}),e[o]=s.transform(t);continue}}if(s instanceof op&&s.body instanceof Ql){var l=s.body.value;if(!l&&!s.alternative&&(i&&!u||u instanceof Ql&&!u.value)){a=!0,e[o]=uu(xl,s.condition,{body:s.condition});continue}if(l&&!s.alternative&&u instanceof Ql&&u.value){a=!0,(s=s.clone()).alternative=u,e[o]=s.transform(t),e.splice(c,1);continue}if(l&&!s.alternative&&(!u&&i&&r||u instanceof Ql)){a=!0,(s=s.clone()).alternative=u||uu(Ql,s,{value:null}),e[o]=s.transform(t),u&&e.splice(c,1);continue}var p=e[v(o)];if(t.option("sequences")&&i&&!s.alternative&&p instanceof op&&p.body instanceof Ql&&g(c)==e.length&&u instanceof xl){a=!0,(s=s.clone()).alternative=uu(Tl,u,{body:[u,uu(Ql,u,{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 vp||c instanceof gp)return!1}var u=r instanceof ep?t.loopcontrol_target(r):null;return r instanceof Ql&&i&&function(e){return!e||e instanceof Pp&&"void"==e.operator}(r.value)||r instanceof np&&n===Uf(u)||r instanceof tp&&u instanceof Tl&&n===u}function f(){var t=e.slice(o+1);return e.length=o+1,t.filter(function(t){return!(t instanceof Hl&&(e.push(t),1))})}function h(e,t){var n=zm(e);if(t===n[n.length-1]&&(n=n.slice(0,-1)).every(e=>Gm(e)))return t.value&&n.push(uu(xl,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 hp&&d(i)))break}return n}function v(t){for(var n=t;--n>=0;){var r=e[n];if(!(r instanceof hp&&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 ep){var u=t.loopcontrol_target(c);c instanceof tp&&!(u instanceof Ol)&&Uf(u)===r||c instanceof np&&Uf(u)===r?c.label&&du(c.label.thedef.references,c):e[o++]=c}else e[o++]=c;if(lf(c)){n=e.slice(i+1);break}}e.length=o,a=o!=s,n&&n.forEach(function(n){zf(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 xl){n.length>=t.sequences_limit&&u();var c=s.body;n.length>0&&(c=c.drop_side_effect_free(t)),c&&wm(n,c)}else s instanceof fp&&d(s)||s instanceof Hl||u(),e[r++]=s}u(),e.length=r,r!=o&&(a=!0)}function u(){if(n.length){var t=Am(n[0],n);e[r++]=uu(xl,t,{body:t}),n=[]}}}function f(e,t){if(!(e instanceof Tl))return e;for(var n=null,r=0,i=e.body.length;r<i;r++){var o=e.body[r];if(o instanceof hp&&d(o))t.push(o);else{if(n||o instanceof vp||o instanceof gp)return!1;n=o}}return n}function h(e,t){function n(e){i--,a=!0;var n=r.body;return Am(n,[n,e]).transform(t)}for(var r,i=0,o=0;o<e.length;o++){var s=e[o];if(r)if(s instanceof Zl)s.value=n(s.value||uu(Id,s).transform(t));else if(s instanceof Il){if(!(s.init instanceof fp)){const e=Gd(r.body,e=>e instanceof Bl||(e instanceof Ip&&"in"===e.operator?Vd:void 0));e||(s.init?s.init=n(s.init):(s.init=r.body,i--,a=!0))}}else s instanceof Ml?s.init instanceof vp||s.init instanceof gp||(s.object=n(s.object)):s instanceof op?s.condition=n(s.condition):(s instanceof ap||s instanceof Ll)&&(s.expression=n(s.expression));if(t.option("conditionals")&&s instanceof op){var c=[],u=f(s.body,c),l=f(s.alternative,c);if(!1!==u&&!1!==l&&c.length>0){var p=c.length;c.push(uu(op,s,{condition:s.condition,body:u||uu(kl,s.body),alternative:l})),c.unshift(i,1),[].splice.apply(e,c),o+=p,i+=p+1,r=null,a=!0;continue}}e[i++]=s,r=s instanceof xl?s:null}e.length=i}function g(e,r){if(e instanceof fp){var i,o=e.definitions[e.definitions.length-1];if(o.value instanceof Up&&(r instanceof Np&&!r.logical?i=[r]:r instanceof Sp&&(i=r.expressions.slice()),i)){var a=!1;do{var s=i[0];if(!(s instanceof Np))break;if("="!=s.operator)break;if(!(s.left instanceof Tp))break;var c=s.left.expression;if(!(c instanceof yd))break;if(o.name.name!=c.name)break;if(!s.right.is_constant_expression(n))break;var u=s.left.property;if(u instanceof _l&&(u=u.evaluate(t)),u instanceof _l)break;u=""+u;var l=t.option("ecma")<2015&&t.has_directive("use strict")?function(e){return e.key!=u&&e.key&&e.key.name!=u}:function(e){return e.key&&e.key.name!=u};if(!o.value.properties.every(l))break;var p=o.value.properties.filter(function(e){return e.key===u})[0];p?p.value=new Sp({start:p.start,expressions:[p.value.clone(),s.right.clone()],end:p.end}):o.value.properties.push(uu(zp,s,{key:u,value:s.right})),i.shift(),a=!0}while(i.length);return a&&i}}}function v(e){for(var t,n=0,r=-1,i=e.length;n<i;n++){var o=e[n],s=e[r];if(o instanceof fp)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 Zl)o.value=u(o.value);else if(o instanceof Il)(c=g(s,o.init))?(a=!0,o.init=c.length?Am(o.init,c):null,e[++r]=o):s instanceof hp&&(!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 hp&&o.init instanceof hp&&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 Ml)o.object=u(o.object);else if(o instanceof op)o.condition=u(o.condition);else if(o instanceof xl){var c;if(c=g(s,o.body)){if(a=!0,!c.length)continue;o.body=Am(o.body,c)}e[++r]=o}else o instanceof ap||o instanceof Ll?o.expression=u(o.expression):e[++r]=o}function u(t){e[++r]=o;var n=g(s,t);return n?(a=!0,n.length?Am(t,n):t instanceof Sp?t.tail_node().left:t.left):t}e.length=r+1}}function jf(e,t){for(const n of t.enclosed){if(t.variables.has(n.name))continue;const r=e.find_variable(n.name);if(r){if(r===n)continue;return!0}}return!1}function qf(e,t){return(t instanceof zl||t instanceof Wp)&&!!e.is_within_loop()}kf(Vl,function(e,t,n){return Df(e),Cf(e,n,this),t(),Pf(e),!0}),kf(Np,function(e,t,n){var r=this;if(r.left instanceof Kl)return void Lf(r.left);const i=()=>{if(r.logical)return r.left.walk(e),Df(e),r.right.walk(e),Pf(e),!0};var o=r.left;if(!(o instanceof yd))return i();var a=o.definition(),s=Mf(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 u="="==r.operator,l=u?r.right:r;return pf(n,e,r,l,0)?i():(a.references.push(o),r.logical||(u||(a.chained=!0),a.fixed=u?function(){return r.right}:function(){return uu(Ip,r,{operator:r.operator.slice(0,-1),left:c instanceof _l?c:c(),right:r.right})}),r.logical?(Ff(e,a,!1),Df(e),r.right.walk(e),Pf(e),!0):(Ff(e,a,!1),r.right.walk(e),Ff(e,a,!0),Nf(e,a,o.scope,r,l,0,1),!0))}),kf(Ip,function(e){if(Jm.has(this.operator))return this.left.walk(e),Df(e),this.right.walk(e),Pf(e),!0}),kf(Sl,function(e,t,n){Of(n,this)}),kf(up,function(e){return Df(e),this.expression.walk(e),Pf(e),Df(e),wl(this,e),Pf(e),!0}),kf(Wp,function(e,t){return xm(this,16),Df(e),t(),Pf(e),!0}),kf(Jp,function(e,t,n){Of(n,this)}),kf(Mp,function(e){return this.condition.walk(e),Df(e),this.consequent.walk(e),Pf(e),Df(e),this.alternative.walk(e),Pf(e),!0}),kf(Op,function(e,t){const n=e.safe_ids;return t(),e.safe_ids=n,!0}),kf(wp,function(e){this.expression.walk(e),this.optional&&Df(e);for(const t of this.args)t.walk(e);return!0}),kf(Tp,function(e){if(this.optional)return this.expression.walk(e),Df(e),this.property instanceof _l&&this.property.walk(e),!0}),kf(cp,function(e,t){return Df(e),t(),Pf(e),!0}),kf(zl,function(e,t,n){var r;return xm(this,16),Df(e),Cf(e,n,this),!this.name&&!this.uses_arguments&&!this.pinned()&&(r=e.parent())instanceof wp&&r.expression===this&&!r.args.some(e=>e instanceof Gl)&&this.argnames.every(e=>e instanceof td)&&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]||uu(Id,r)},e.loop_ids.set(i.id,e.in_loop),Ff(e,i,!0)))}}),t(),Pf(e),Bf(this),!0}),kf(Pl,function(e,t,n){Of(n,this);const r=e.in_loop;return e.in_loop=this,Df(e),this.body.walk(e),Dm(this)&&(Pf(e),Df(e)),this.condition.walk(e),Pf(e),e.in_loop=r,!0}),kf(Il,function(e,t,n){Of(n,this),this.init&&this.init.walk(e);const r=e.in_loop;return e.in_loop=this,Df(e),this.condition&&this.condition.walk(e),this.body.walk(e),this.step&&(Dm(this)&&(Pf(e),Df(e)),this.step.walk(e)),Pf(e),e.in_loop=r,!0}),kf(Ml,function(e,t,n){Of(n,this),Lf(this.init),this.object.walk(e);const r=e.in_loop;return e.in_loop=this,Df(e),this.body.walk(e),Pf(e),e.in_loop=r,!0}),kf(op,function(e){return this.condition.walk(e),Df(e),this.body.walk(e),Pf(e),this.alternative&&(Df(e),this.alternative.walk(e),Pf(e)),!0}),kf(Cl,function(e){return Df(e),this.body.walk(e),Pf(e),!0}),kf(hd,function(){this.definition().fixed=!1}),kf(yd,function(e,t,n){var r,i,o=this.definition();o.references.push(this),1==o.references.length&&!o.fixed&&o.orig[0]instanceof ud&&e.loop_ids.set(o.id,e.in_loop),void 0!==o.fixed&&If(e,o)?o.fixed&&((r=this.fixed_value())instanceof zl&&jm(e,o)?o.recursive_refs++:r&&!n.exposed(o)&&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,o)?o.single_use=r instanceof zl&&!r.pinned()||r instanceof Wp||o.scope===this.scope&&r.is_constant_expression():o.single_use=!1,pf(n,e,this,r,0,!!(i=r)&&(i.is_constant()||i instanceof zl||i instanceof Ad))&&(o.single_use?o.single_use="m":o.fixed=!1)):o.fixed=!1,Nf(e,o,this.scope,this,r,0,1)}),kf(Ul,function(e,t,n){return this.globals.forEach(function(e){Rf(n,e)}),Cf(e,n,this),t(),Bf(this),!0}),kf(lp,function(e,t,n){return Of(n,this),Df(e),this.body.walk(e),Pf(e),this.bcatch&&(Df(e),this.bcatch.walk(e),Pf(e)),this.bfinally&&this.bfinally.walk(e),!0}),kf(Dp,function(e){var t=this;if("++"===t.operator||"--"===t.operator){var n=t.expression;if(n instanceof yd){var r=n.definition(),i=Mf(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 uu(Ip,t,{operator:t.operator.slice(0,-1),left:uu(Pp,t,{operator:"+",expression:o instanceof _l?o:o()}),right:uu(Rd,t,{value:1})})},Ff(e,r,!0),!0}}}}),kf(_p,function(e,t){var n=this;if(n.name instanceof Kl)Lf(n.name);else{var r=n.name.definition();if(n.value){if(Mf(e,r,n.name.scope,n.value))return r.fixed=function(){return n.value},e.loop_ids.set(r.id,e.in_loop),Ff(e,r,!1),t(),Ff(e,r,!0),!0;r.fixed=!1}}}),kf(Fl,function(e,t,n){Of(n,this);const r=e.in_loop;return e.in_loop=this,Df(e),t(),Pf(e),e.in_loop=r,!0}),function(e){function t(e,n){if(e instanceof _l)return e instanceof Td||(e=e.clone(!0)),uu(e.CTOR,n,e);if(Array.isArray(e))return uu(Bp,n,{elements:e.map(function(e){return t(e,n)})});if(e&&"object"==typeof e){var r=[];for(var i in e)gu(e,i)&&r.push(uu(zp,n,{key:i,value:t(e[i],n)}));return uu(Up,n,{properties:r})}return Tm(e,n)}Ul.DEFMETHOD("resolve_defines",function(e){return e.option("global_defs")?(this.figure_out_scope({ie8:e.option("ie8")}),this.transform(new qd(function(t){var n=t._find_defs(e,"");if(n){for(var r,i=0,o=t;(r=this.parent(i++))&&r instanceof Tp&&r.expression===o;)o=r;if(!cf(o,r))return n}}))):this}),e(_l,ru),e(Op,function(e,t){return this.expression._find_defs(e,t)}),e(kp,function(e,t){return this.expression._find_defs(e,"."+this.property+t)}),e(rd,function(){this.global()}),e(yd,function(e,n){if(this.global()){var r=e.option("global_defs"),i=this.name+n;return gu(r,i)?t(r[i],this):void 0}}),e(Ep,function(e,n){var r=e.option("global_defs"),i="import.meta"+n;if(gu(r,i))return t(r[i],this)})}(function(e,t){e.DEFMETHOD("_find_defs",t)});class Hf extends jd{constructor(e,{false_by_default:t=!1,mangle_options:n=!1}){super(),void 0===e.defaults||e.defaults||(t=!0),this.options=nu(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]&&gu(r,i)&&(r[i.slice(1)]=ml(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())}:ou;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?pm(n):n}mangle_options(){var e=this._mangle_options&&this._mangle_options.nth_identifier||dm,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 ud?"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 xl||e instanceof Mp&&e.condition===t||e instanceof Dl&&e.condition===t||e instanceof Il&&e.condition===t||e instanceof op&&e.condition===t||e instanceof Pp&&"!"==e.operator&&e.expression===t)return!0;if(!(e instanceof Ip&&("&&"==e.operator||"||"==e.operator||"??"==e.operator)||e instanceof Mp||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 Ip&&Qm.has(t.operator))return!e||(n===t.left?t.right:t.left).is_number(this);if(t instanceof Pp)return"~"===t.operator;if(!(t instanceof Ip&&("&&"==t.operator||"||"==t.operator||"??"==t.operator)||t instanceof Mp&&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 Gp&&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(Gd(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(bm(e,ym))return e;var n=!1;e instanceof Bl&&(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 Bl&&(r.drop_unused(this),t(r,this)),r===e&&Em(r,ym),r}is_lhs(){return cf(this.stack[this.stack.length-1],this.stack[this.stack.length-2])}}function Kf(e,t){e.DEFMETHOD("optimize",function(e){var n=this;if(bm(n,512))return n;if(e.has_directive("use asm"))return n;var r=t(n,e);return Em(r,512),r})}function $f(e,t){for(var n,r=0;(n=e.parent(r++))&&!(n instanceof Bl);)if(n instanceof dp&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(t)}Kf(_l,function(e){return e}),Ul.DEFMETHOD("drop_console",function(e){const t=Array.isArray(e),n=new qd(function(r){if("Call"===r.TYPE){var i=r.expression;if(i instanceof Tp){for(var o=i.expression,a=i.property,s=2;o.expression;)a=o.property,o=o.expression,s++;if((!t||e.includes(a))&&Zm(o)&&"console"==o.name){if(3!==s||["call","apply"].includes(i.property)||!df(n))return uu(Id,r);i.expression=Sm(r),Em(i.expression,ym),r.args=[]}}}});return this.transform(n)}),_l.DEFMETHOD("equivalent_to",function(e){return((e,t)=>{if(!rm(e,t))return!1;const n=[e],r=[t],i=n.push.bind(n),o=r.push.bind(r);for(;n.length&&r.length;){const e=n.pop(),t=r.pop();if(!rm(e,t))return!1;if(e._children_backwards(i),t._children_backwards(o),n.length!==r.length)return!1}return 0==n.length&&0==r.length})(this,e)}),Bl.DEFMETHOD("process_expression",function(e,t){var n=this,r=new qd(function(i){if(e&&i instanceof xl)return uu(Ql,i,{value:i.body});if(!e&&i instanceof Ql){if(t){var o=i.value&&i.value.drop_side_effect_free(t,!0);return o?uu(xl,i,{body:o}):uu(kl,i)}return uu(xl,i,{body:i.value||uu(Pp,i,{operator:"void",expression:uu(Rd,i,{value:0})})})}if(i instanceof Wp||i instanceof zl&&i!==n)return i;if(i instanceof Sl){var a=i.body.length-1;a>=0&&(i.body[a]=i.body[a].transform(r))}else i instanceof op?(i.body=i.body.transform(r),i.alternative&&(i.alternative=i.alternative.transform(r))):i instanceof Ll&&(i.body=i.body.transform(r));return i});n.transform(r)}),Ul.DEFMETHOD("reset_opt_flags",function(e){const t=this,n=e.option("reduce_vars"),r=new jd(function(i,o){if(xm(i,1792),n)return e.top_retain&&i instanceof Hl&&r.parent()===t&&Em(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)}),td.DEFMETHOD("fixed_value",function(){var e=this.thedef.fixed;return!e||e instanceof _l?e:e()}),yd.DEFMETHOD("is_immutable",function(){var e=this.definition().orig;return 1==e.length&&e[0]instanceof dd});var Wf=fu("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");yd.DEFMETHOD("is_declared",function(e){return!this.definition().undeclared||e.option("unsafe")&&Wf.has(this.name)});var Xf=new Set(["use asm","use strict"]);function Yf(e,t){return Vf(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 Zf(e,t){var n=e.body instanceof Tl?e.body.body[0]:e.body;if(t.option("dead_code")&&i(n)){var r=[];return e.init instanceof yl?r.push(e.init):e.init&&r.push(uu(xl,e.init,{body:e.init})),e.condition&&r.push(uu(xl,e.condition,{body:e.condition})),zf(t,e.body,r),uu(Tl,e,{body:r})}return n instanceof op&&(i(n.body)?(e.condition?e.condition=uu(Ip,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=uu(Ip,e.condition,{left:e.condition,operator:"&&",right:n.condition}):e.condition=n.condition,o(n.body))),e;function i(e){return e instanceof tp&&t.loopcontrol_target(e)===t.self()}function o(n){n=zm(n),e.body instanceof Tl?(e.body=e.body.clone(),e.body.body=n.concat(e.body.body.slice(1)),e.body=e.body.transform(t)):e.body=uu(Tl,e.body,{body:n}).transform(t),e=Zf(e,t)}}Kf(El,function(e,t){return!t.option("directives")||Xf.has(e.value)&&t.has_directive(e.value)===e?e:uu(kl,e)}),Kf(bl,function(e,t){return t.option("drop_debugger")?uu(kl,e):e}),Kf(Cl,function(e,t){return e.body instanceof tp&&t.loopcontrol_target(e.body)===e.body?uu(kl,e):0==e.label.references.length?e.body:e}),Kf(Sl,function(e,t){return Vf(e.body,t),e}),Kf(Tl,function(e,t){switch(Vf(e.body,t),e.body.length){case 1:if(!t.has_directive("use strict")&&t.parent()instanceof op&&function(e){return!(e instanceof vp||e instanceof gp||e instanceof Wp)}(e.body[0])||Gm(e.body[0]))return e.body[0];break;case 0:return uu(kl,e)}return e}),Kf(zl,Yf),Bl.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;Gd(t,e=>e instanceof Bl&&e!==t||(e instanceof hp?(++c,!0):void 0)),r=r&&c>1;var u=new qd(function(c){if(c!==t){if(c instanceof El)return i.push(c),uu(kl,c);if(n&&c instanceof Hl&&!(u.parent()instanceof xp)&&u.parent()===t)return o.push(c),uu(kl,c);if(r&&c instanceof hp&&!c.definitions.some(e=>e.name instanceof Kl)){c.definitions.forEach(function(e){a.set(e.name.name,e),++s});var l=c.to_assignments(e),p=u.parent();if(p instanceof Ml&&p.init===c){if(null==l){var d=c.definitions[0].name;return uu(yd,d,d)}return l}return p instanceof Il&&p.init===c?l:l?uu(xl,c,{body:l}):uu(kl,c)}if(c instanceof Bl)return c}});if(t=t.transform(u),s>0){var l=[];const e=t instanceof zl,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,l.push(t),a.set(r,t))}),l.length>0){for(;0<t.body.length;){if(t.body[0]instanceof xl){var p,d,m=t.body[0].body;if(m instanceof Np&&"="==m.operator&&(p=m.left)instanceof td&&a.has(p.name)){if((f=a.get(p.name)).value)break;f.value=m.right,du(l,f),l.push(f),t.body.splice(0,1);continue}if(m instanceof Sp&&(d=m.expressions[0])instanceof Np&&"="==d.operator&&(p=d.left)instanceof td&&a.has(p.name)){var f;if((f=a.get(p.name)).value)break;f.value=d.right,du(l,f),l.push(f),t.body[0].body=Am(m,m.expressions.slice(1));continue}}if(t.body[0]instanceof kl)t.body.splice(0,1);else{if(!(t.body[0]instanceof Tl))break;t.body.splice(0,1,...t.body[0].body)}}l=uu(hp,t,{definitions:l}),o.push(l)}}t.body=i.concat(o,t.body)}return t}),Bl.DEFMETHOD("hoist_properties",function(e){var t=this;if(!e.option("hoist_props")||e.has_directive("use asm"))return t;var n=t instanceof Ul&&e.top_retain||iu,r=new Map,i=new qd(function(o,a){if(o instanceof _p){const s=o.name;let c,u;if(s.scope===t&&1!=(c=s.definition()).escaped&&!c.assignments&&!c.direct_access&&!c.single_use&&!e.exposed(c)&&!n(c)&&(u=s.fixed_value())===o.value&&u instanceof Up&&!u.properties.some(e=>e instanceof Gl||e.computed_key())){a(o,this);const e=new Map,n=[];return u.properties.forEach(({key:r,value:a})=>{const c=i.find_scope(),u=t.create_symbol(s.CTOR,{source:s,scope:c,conflict_scopes:new Set([c,...s.definition().references.map(e=>e.scope)]),tentative_name:s.name+"_"+r});e.set(String(r),u.definition()),n.push(uu(_p,o,{name:u,value:a}))}),r.set(c.id,e),cu.splice(n)}}else if(o instanceof Tp&&o.expression instanceof yd){const e=r.get(o.expression.definition().id);if(e){const t=e.get(String(Cm(o.property))),n=uu(yd,o,{name:t.name,scope:o.expression.scope,thedef:t});return n.reference({}),n}}});return t.transform(i)}),Kf(xl,function(e,t){if(t.option("side_effects")){var n=e.body,r=n.drop_side_effect_free(t,!0);if(!r)return uu(kl,e);if(r!==n)return uu(xl,e,{body:r})}return e}),Kf(Fl,function(e,t){return t.option("loops")?uu(Il,e,e).optimize(t):e}),Kf(Pl,function(e,t){if(!t.option("loops"))return e;var n=e.condition.tail_node().evaluate(t);if(!(n instanceof _l)){if(n)return uu(Il,e,{body:uu(Tl,e.body,{body:[e.body,uu(xl,e.condition,{body:e.condition})]})}).optimize(t);if(!Dm(e,t.parent()))return uu(Tl,e.body,{body:[e.body,uu(xl,e.condition,{body:e.condition})]}).optimize(t)}return e}),Kf(Il,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 _l))if(n)e.condition=null;else if(!t.option("dead_code")){var r=e.condition;e.condition=Tm(n,e.condition),e.condition=km(e.condition.transform(t),r)}if(t.option("dead_code")&&(n instanceof _l&&(n=e.condition.tail_node().evaluate(t)),!n)){var i=[];return zf(t,e.body,i),e.init instanceof yl?i.push(e.init):e.init&&i.push(uu(xl,e.init,{body:e.init})),i.push(uu(xl,e.condition,{body:e.condition})),uu(Tl,e,{body:i}).optimize(t)}}return Zf(e,t)}),Kf(op,function(e,t){if(Nm(e.alternative)&&(e.alternative=null),!t.option("conditionals"))return e;var n=e.condition.evaluate(t);if(!(t.option("dead_code")||n instanceof _l)){var r=e.condition;e.condition=Tm(n,r),e.condition=km(e.condition.transform(t),r)}if(t.option("dead_code")){if(n instanceof _l&&(n=e.condition.tail_node().evaluate(t)),!n){var i=[];return zf(t,e.body,i),i.push(uu(xl,e.condition,{body:e.condition})),e.alternative&&i.push(e.alternative),uu(Tl,e,{body:i}).optimize(t)}if(!(n instanceof _l))return(i=[]).push(uu(xl,e.condition,{body:e.condition})),i.push(e.body),e.alternative&&zf(t,e.alternative,i),uu(Tl,e,{body:i}).optimize(t)}var o=e.condition.negate(t),a=e.condition.size(),s=o.size(),c=s<a;if(e.alternative&&c){c=!1,e.condition=o;var u=e.body;e.body=e.alternative||uu(kl,e),e.alternative=u}if(Nm(e.body)&&Nm(e.alternative))return uu(xl,e.condition,{body:e.condition.clone()}).optimize(t);if(e.body instanceof xl&&e.alternative instanceof xl)return uu(xl,e,{body:uu(Mp,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).optimize(t);if(Nm(e.alternative)&&e.body instanceof xl)return a===s&&!c&&e.condition instanceof Ip&&"||"==e.condition.operator&&(c=!0),c?uu(xl,e,{body:uu(Ip,e,{operator:"||",left:o,right:e.body.body})}).optimize(t):uu(xl,e,{body:uu(Ip,e,{operator:"&&",left:e.condition,right:e.body.body})}).optimize(t);if(e.body instanceof kl&&e.alternative instanceof xl)return uu(xl,e,{body:uu(Ip,e,{operator:"||",left:e.condition,right:e.alternative.body})}).optimize(t);if(e.body instanceof Zl&&e.alternative instanceof Zl&&e.body.TYPE==e.alternative.TYPE)return uu(e.body.CTOR,e,{value:uu(Mp,e,{condition:e.condition,consequent:e.body.value||uu(Id,e.body),alternative:e.alternative.value||uu(Id,e.alternative)}).transform(t)}).optimize(t);if(e.body instanceof op&&!e.body.alternative&&!e.alternative&&(e=uu(op,e,{condition:uu(Ip,e.condition,{operator:"&&",left:e.condition,right:e.body.condition}),body:e.body.body,alternative:null})),lf(e.body)&&e.alternative){var l=e.alternative;return e.alternative=null,uu(Tl,e,{body:[e,l]}).optimize(t)}return lf(e.alternative)?(i=e.body,e.body=e.alternative,e.condition=c?o:e.condition.negate(t),e.alternative=null,uu(Tl,e,{body:[e,i]}).optimize(t)):e}),Kf(ap,function(e,t){if(!t.option("switches"))return e;var n,r=e.expression.evaluate(t);if(!(r instanceof _l)){var i=e.expression;e.expression=Tm(r,i),e.expression=km(e.expression.transform(t),i)}if(!t.option("dead_code"))return e;r instanceof _l&&(r=e.expression.tail_node().evaluate(t));for(var o,a,s=[],c=[],u=0,l=e.body.length;u<l&&!a;u++){if((n=e.body[u])instanceof cp)o?f(n,c[c.length-1]):o=n;else if(!(r instanceof _l)){var p=n.expression.evaluate(t);if(!(p instanceof _l)&&p!==r){f(n,c[c.length-1]);continue}if(p instanceof _l&&!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(;u<l;)f(e.body[u++],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 Td)&&(0===e.body.length||lf(e)||c.length-1===t)))for(let e=0;e<c.length;e++){const t=c[e];for(let n=e+1;n<c.length;n++){const r=c[n];if(0===r.body.length)continue;const i=n===c.length-1,o=h(r,t,!1);if(o||i&&h(r,t,!0)){!o&&i&&r.body.push(uu(tp));let t=n-1,a=0;for(;t>e&&y(c[t--]);)a++;const 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&&lf(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)))break;t.body=[],t=e}}}{let e=c.length-1;for(;e>=0;e--){let n=c[e].body;if(_(n[n.length-1],t)&&n.pop(),!y(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,c.pop();else{if(e.expression.has_side_effects(t))break;c.pop()}}}e:if(m){let e=c.indexOf(m),n=e;for(;n<c.length-1&&y(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&&y(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=>!y(e));if(r===c.length-1){let t=c[r];if(v(e))break e;n=uu(Tl,t,{body:t.body}),t.body=[]}else if(-1!==r)break e;let i=c.find(e=>e!==m&&e.expression.has_side_effects(t));if(!i)return uu(Tl,e,{body:s.concat(g(e.expression),m.expression?g(m.expression):[],n||[])}).optimize(t);const o=c.indexOf(m);if(c.splice(o,1),m=null,n)return uu(Tl,e,{body:s.concat(e,n)}).optimize(t)}if(c.length>0&&(c[0].body=s.concat(c[0].body)),0==c.length)return uu(Tl,e,{body:s.concat(g(e.expression))}).optimize(t);if(1==c.length&&!v(e)){let n=c[0];return uu(op,e,{condition:uu(Ip,e,{operator:"===",left:e.expression,right:n.expression}),body:uu(Tl,n,{body:n.body}),alternative:null}).optimize(t)}if(2===c.length&&m&&!v(e)){let n=c[0]===m?c[1]:c[0],r=m.expression&&g(m.expression);if(lf(c[0])){let i=c[0];return _(i.body[i.body.length-1],t)&&i.body.pop(),uu(op,e,{condition:uu(Ip,e,{operator:"===",left:e.expression,right:n.expression}),body:uu(Tl,n,{body:n.body}),alternative:uu(Tl,m,{body:[].concat(r||[],m.body)})}).optimize(t)}let i="===",o=uu(Tl,n,{body:n.body}),a=uu(Tl,m,{body:[].concat(r||[],m.body)});if(c[0]===m){i="!==";let e=a;a=o,o=e}return uu(Tl,e,{body:[uu(op,e,{condition:uu(Ip,e,{operator:i,left:e.expression,right:n.expression}),body:o,alternative:null}),a]}).optimize(t)}return e;function f(e,n){n&&!lf(n)?n.body=n.body.concat(e.body):zf(t,e,s)}function h(e,t,n){let r=e.body,i=t.body;if(n&&(r=r.concat(uu(tp))),r.length!==i.length)return!1;let o=uu(Tl,e,{body:r}),a=uu(Tl,t,{body:i});return o.equivalent_to(a)}function g(e){return uu(xl,e,{body:e})}function v(e){let t=!1,n=new jd(e=>{if(t)return!0;if(e instanceof zl)return!0;if(e instanceof xl)return!0;if(!_(e,n))return;let r=n.parent();r instanceof sp&&r.body[r.body.length-1]===e||(t=!0)});return e.walk(n),t}function _(t,n){return t instanceof tp&&n.loopcontrol_target(t)===e}function y(e){return!lf(e)&&!uu(Tl,e,{body:e.body}).has_side_effects(t)}}),Kf(lp,function(e,t){if(e.bcatch&&e.bfinally&&e.bfinally.body.every(Nm)&&(e.bfinally=null),t.option("dead_code")&&e.body.body.every(Nm)){var n=[];return e.bcatch&&zf(t,e.bcatch,n),e.bfinally&&n.push(...e.bfinally.body),uu(Tl,e,{body:n}).optimize(t)}return e}),fp.DEFMETHOD("to_assignments",function(e){var t=e.option("reduce_vars"),n=[];for(const e of this.definitions){if(e.value){var r=uu(yd,e.name,e.name);n.push(uu(Np,e,{operator:"=",logical:!1,left:r,right:e.value})),t&&(r.definition().fixed=!1)}const i=e.name.definition();i.eliminated++,i.replaced--}return 0==n.length?null:Am(this,n)}),Kf(fp,function(e){return 0==e.definitions.length?uu(kl,e):e}),Kf(_p,function(e,t){return e.name instanceof sd&&null!=e.value&&rf(e.value,t)&&(e.value=null),e}),Kf(bp,function(e){return e}),Kf(wp,function(e,t){var n=e.expression,r=n;ih(e.args);var i=e.args.every(e=>!(e instanceof Gl));t.option("reduce_vars")&&r instanceof yd&&(r=r.fixed_value());var o=r instanceof zl;if(o&&r.pinned())return e;if(t.option("unused")&&i&&o&&!r.uses_arguments){for(var a=0,s=0,c=0,u=e.args.length;c<u;c++){if(r.argnames[c]instanceof Gl){if(bm(r.argnames[c].expression,1))for(;c<u;)(f=e.args[c++].drop_side_effect_free(t))&&(e.args[a++]=f);else for(;c<u;)e.args[a++]=e.args[c++];s=a;break}var l=c>=r.argnames.length;if(l||bm(r.argnames[c],1)){if(f=e.args[c].drop_side_effect_free(t))e.args[a++]=f;else if(!l){e.args[a++]=uu(Rd,e.args[c],{value:0});continue}}else e.args[a++]=e.args[c];s=a}e.args.length=s}if(n instanceof kp&&n.expression instanceof yd&&"console"===n.expression.name&&n.expression.definition().undeclared&&"assert"===n.property){const n=e.args[0];if(n){const r=n.evaluate(t);if(1===r||!0===r)return uu(Id,e)}}if(t.option("unsafe")&&!n.contains_optional()){if(n instanceof kp&&"Array"===n.start.value&&"from"===n.property&&1===e.args.length){const[n]=e.args;if(n instanceof Bp)return uu(Bp,n,{elements:n.elements}).optimize(t)}if(Zm(n))switch(n.name){case"Array":if(1!=e.args.length)return uu(Bp,e,{elements:e.args}).optimize(t);if(e.args[0]instanceof Rd&&e.args[0].value<=11){const t=[];for(let n=0;n<e.args[0].value;n++)t.push(new Md);return new Bp({elements:t})}break;case"Object":if(0==e.args.length)return uu(Up,e,{properties:[]});break;case"String":if(0==e.args.length)return uu(kd,e,{value:""});if(e.args.length<=1)return uu(Ip,e,{left:e.args[0],operator:"+",right:uu(kd,e,{value:""})}).optimize(t);break;case"Number":if(0==e.args.length)return uu(Rd,e,{value:0});if(1==e.args.length&&t.option("unsafe_math"))return uu(Pp,e,{expression:e.args[0],operator:"+"}).optimize(t);break;case"Symbol":1==e.args.length&&e.args[0]instanceof kd&&t.option("unsafe_symbols")&&(e.args.length=0);break;case"Boolean":if(0==e.args.length)return uu(Bd,e);if(1==e.args.length)return uu(Pp,e,{expression:uu(Pp,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})&&Eu(p[0])){let[n,r]=p;n=yu(new RegExp(n).source);const i=uu(Od,e,{value:{source:n,flags:r}});if(i._eval(t)!==i)return i}}else if(n instanceof kp)switch(n.property){case"toString":if(0==e.args.length&&!n.expression.may_throw_on_access(t))return uu(Ip,e,{left:uu(kd,e,{value:""}),operator:"+",right:n.expression}).optimize(t);break;case"join":if(n.expression instanceof Bp)e:{var d;if(!(e.args.length>0&&(d=e.args[0].evaluate(t))===e.args[0])){var m,f,h=[],g=[];for(c=0,u=n.expression.elements.length;c<u;c++){var v=n.expression.elements[c];if(v instanceof Gl)break e;var _=v.evaluate(t);_!==v?g.push(_):(g.length>0&&(h.push(uu(kd,e,{value:g.join(d)})),g.length=0),h.push(v))}return g.length>0&&h.push(uu(kd,e,{value:g.join(d)})),0==h.length?uu(kd,e,{value:""}):1==h.length?h[0].is_string(t)?h[0]:uu(Ip,h[0],{operator:"+",left:uu(kd,e,{value:""}),right:h[0]}):""==d?(m=h[0].is_string(t)||h[1].is_string(t)?h.shift():uu(kd,e,{value:""}),h.reduce(function(e,t){return uu(Ip,t,{operator:"+",left:e,right:t})},m).optimize(t)):((f=e.clone()).expression=f.expression.clone(),f.expression.expression=f.expression.expression.clone(),f.expression.expression.elements=h,Rm(t,e,f))}}break;case"charAt":if(n.expression.is_string(t)){var y=e.args[0],b=y?y.evaluate(t):0;if(b!==y)return uu(Cp,n,{expression:n.expression,property:Tm(0|b,y||n)}).optimize(t)}break;case"apply":if(2==e.args.length&&e.args[1]instanceof Bp){var E=e.args[1].elements.slice();return E.unshift(e.args[0]),uu(wp,e,{expression:uu(kp,n,{expression:n.expression,optional:!1,property:"call"}),args:E}).optimize(t)}break;case"call":var x=n.expression;if(x instanceof yd&&(x=x.fixed_value()),x instanceof zl&&!x.contains_this())return(e.args.length?Am(this,[e.args[0],uu(wp,e,{expression:n.expression,args:e.args.slice(1)})]):uu(wp,e,{expression:n.expression,args:[]})).optimize(t)}}if(t.option("unsafe_Function")&&Zm(n)&&"Function"==n.name){if(0==e.args.length)return Sm(e).optimize(t);if(e.args.every(e=>e instanceof kd))try{var w="n(function("+e.args.slice(0,-1).map(function(e){return e.value}).join(",")+"){"+e.args[e.args.length-1].value+"})",A=ml(w),S=t.mangle_options();A.figure_out_scope(S);var T,k=new Hf(t.options,{mangle_options:t._mangle_options});return(A=A.transform(k)).figure_out_scope(S),A.compute_char_frequency(S),A.mangle_names(S),Gd(A,e=>{if(Im(e))return T=e,Vd}),w=nm(),Tl.prototype._codegen.call(T,T,w),e.args=[uu(kd,e,{value:T.argnames.map(function(e){return e.print_to_string()}).join(",")}),uu(kd,e.args[e.args.length-1],{value:w.get().replace(/^{|}$/g,"")})],e}catch(e){if(!(e instanceof nl))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 Gl));if(t.option("reduce_vars")&&r instanceof yd&&!xu(e,$d)){const i=r.fixed_value();if(qm(i,t)||!t.toplevel.funcs&&n.definition().global)return e;r=i}if(qf(t,r)&&!xu(e,Kd))return e;var o=r instanceof zl,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 Ql){let n=a.value;if(!n||n.is_constant_expression()){n=n?n.clone(!0):uu(Id,e);const r=e.args.concat(n);return Am(e,r).optimize(t)}if(1===r.argnames.length&&r.argnames[0]instanceof cd&&e.args.length<2&&!(e.args[0]instanceof Gl)&&n instanceof yd&&n.name===r.argnames[0].name){const n=(e.args[0]||uu(Id)).optimize(t);let r;return n instanceof Tp&&(r=t.parent())instanceof wp&&r.expression===e?Am(e,[uu(Rd,e,{value:0}),n]):n}}if(c){var u,l,p=-1;let o,s,c;if(i&&!r.uses_arguments&&!(t.parent()instanceof Wp)&&!(r.name&&r instanceof jl)&&(s=function(e){var n=r.body,i=n.length;if(t.option("inline")<3)return 1==i&&f(e);e=null;for(var o=0;o<i;o++){var a=n[o];if(a instanceof hp){if(e&&!a.definitions.every(e=>!e.value))return!1}else{if(e)return!1;a instanceof kl||(e=a)}}return f(e)}(a))&&(n===r||xu(e,Kd)||t.option("unused")&&1==(o=n.definition()).references.length&&!jm(t,o)&&r.is_constant_expression(n.scope))&&!xu(e,Hd|$d)&&!r.contains_this()&&function(){var e=new Set;do{if((u=t.parent(++p)).is_block_scope()&&u.block_scope&&u.block_scope.variables.forEach(function(t){e.add(t.name)}),u instanceof dp)u.argname&&e.add(u.argname.name);else if(u instanceof Ol)l=[];else if(u instanceof yd&&u.fixed_value()instanceof Bl)return!1}while(!(u instanceof Bl));var n=!(u instanceof Ul)||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 hp){if(!t)return!1;for(var a=o.definitions.length;--a>=0;){var s=o.definitions[a].name;if(s instanceof Kl||e.has(s.name)||Lm.has(s.name)||u.conflicting_def(s.name))return!1;l&&l.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 Lp){if(bm(o.left,1))continue;return!1}if(o instanceof Kl)return!1;if(o instanceof Gl){if(bm(o.expression,1))continue;return!1}if(!bm(o,1)){if(!t||e.has(o.name)||Lm.has(o.name)||u.conflicting_def(o.name))return!1;l&&l.push(o.definition())}}return!0}(e,i>=2&&n)||l&&0!=l.length&&Vm(r,l))}()&&(c=t.find_scope())&&!jf(c,r)&&!function(){let e,n=0;for(;e=t.parent(n++);){if(e instanceof Lp)return!0;if(e instanceof Sl)break}return!1}()&&!(u instanceof Wp))return Em(r,ym),c.add_child_scope(r),Am(e,function(n){var i=[],o=[];if(function(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(bm(a,1)||!a.name||u.conflicting_def(a.name))s&&n.push(s);else{var c=uu(id,a,a);a.definition().orig.push(c),!s&&l&&(s=uu(Id,e)),h(t,n,c,s)}}t.reverse(),n.reverse()}(i,o),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 hp)for(var s=0,c=a.definitions.length;s<c;s++){var u=a.definitions[s],p=u.name;if(h(e,t,p,u.value),l&&r.argnames.every(e=>e.name!=p.name)){var d=r.variables.get(p.name),m=uu(yd,p,p);d.references.push(m),t.splice(n++,0,uu(Np,u,{operator:"=",logical:!1,left:m,right:uu(Id,p)}))}}}}(i,o),o.push(n),i.length){const e=u.body.indexOf(t.parent(p-1))+1;u.body.splice(e,0,uu(hp,r,{definitions:i}))}return o.map(e=>e.clone(!0))}(s)).optimize(t)}if(c&&xu(e,Kd))return Em(r,ym),(r=(r=uu(r.CTOR===Hl?jl:r.CTOR,r,r)).clone(!0)).figure_out_scope({},{parent_scope:t.find_scope(),toplevel:t.get_toplevel()}),uu(wp,e,{expression:r,args:e.args}).optimize(t);if(s&&t.option("side_effects")&&r.body.every(Nm)){var d=e.args.concat(uu(Id,e));return Am(e,d).optimize(t)}if(t.option("negate_iife")&&t.parent()instanceof xl&&Mm(e))return e.negate(t,!0);var m=e.evaluate(t);return m!==e?(m=Tm(m,e).optimize(t),Rm(t,m,e)):e;function f(t){return t?t instanceof Ql?t.value?t.value.clone(!0):uu(Id,e):t instanceof xl?uu(Pp,t,{operator:"void",expression:t.body.clone(!0)}):void 0:uu(Id,e)}function h(t,n,r,i){var o=r.definition();u.variables.has(r.name)||(u.variables.set(r.name,o),u.enclosed.push(o),t.push(uu(_p,r,{name:r,value:null})));var a=uu(yd,r,r);o.references.push(a),i&&n.push(uu(Np,e,{operator:"=",logical:!1,left:a,right:i.clone()}))}}(e,t)}),_l.DEFMETHOD("contains_optional",function(){return(this instanceof Tp||this instanceof wp||this instanceof Op)&&(!!this.optional||this.expression.contains_optional())}),Kf(Ap,function(e,t){return t.option("unsafe")&&Zm(e.expression)&&["Object","RegExp","Function","Error","Array"].includes(e.expression.name)?uu(wp,e,e).transform(t):e}),Kf(Sp,function(e,t){if(!t.option("side_effects"))return e;var n,r,i=[];n=Zd(t),r=e.expressions.length-1,e.expressions.forEach(function(e,o){o<r&&(e=e.drop_side_effect_free(t,n)),e&&(wm(i,e),n=!1)});var o=i.length-1;return function(){for(;o>0&&rf(i[o],t);)o--;o<i.length-1&&(i[o]=uu(Pp,e,{operator:"void",expression:i[o]}),i.length=o+1)}(),0==o?((e=Pm(t.parent(),t.self(),i[0]))instanceof Sp||(e=e.optimize(t)),e):(e.expressions=i,e)}),Dp.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")&&this.expression instanceof Sp){var t=this.expression.expressions.slice(),n=this.clone();return n.expression=t.pop(),t.push(n),Am(this,t).optimize(e)}return this}),Kf(Fp,function(e,t){return e.lift_sequences(t)}),Kf(Pp,function(e,t){var n=e.expression;if("delete"==e.operator&&!(n instanceof yd||n instanceof Tp||n instanceof Op||Bm(n)))return Am(e,[n,uu(Ud,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):uu(Id,e).optimize(t);if(t.in_boolean_context())switch(e.operator){case"!":if(n instanceof Pp&&"!"==n.operator)return n.expression;n instanceof Ip&&(e=Rm(t,e,n.negate(t,Zd(t))));break;case"typeof":return(n instanceof yd?uu(Ud,e):Am(e,[n,uu(Ud,e)])).optimize(t)}if("-"==e.operator&&n instanceof Nd&&(n=n.transform(t)),n instanceof Ip&&("+"==e.operator||"-"==e.operator)&&("*"==n.operator||"/"==n.operator||"%"==n.operator))return uu(Ip,e,{operator:n.operator,left:uu(Pp,n.left,{operator:e.operator,expression:n.left}),right:n.right});if(t.option("evaluate")){if("~"===e.operator&&e.expression instanceof Pp&&"~"===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 Ip&&"^"===n.operator)return n.left instanceof Pp&&"~"===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 Rd||n instanceof Nd||n instanceof Cd)){var i=e.evaluate(t);if(i!==e)return Rm(t,i=Tm(i,e).optimize(t),e)}return e}),Ip.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.left instanceof Sp){var t=this.left.expressions.slice();return(n=this.clone()).left=t.pop(),t.push(n),Am(this,t).optimize(e)}if(this.right instanceof Sp&&!this.left.has_side_effects(e)){for(var n,r="="==this.operator&&this.left instanceof yd,i=(t=this.right.expressions).length-1,o=0;o<i&&(r||!t[o].has_side_effects(e));o++);if(o==i)return t=t.slice(),(n=this.clone()).right=t.pop(),t.push(n),Am(this,t).optimize(e);if(o>0)return(n=this.clone()).right=Am(this.right,t.slice(o)),(t=t.slice(0,o)).push(n),Am(this,t).optimize(e)}}return this});var Qf=fu("== === != !== * & | ^");function Jf(e,t){return e instanceof yd||e.TYPE===t.TYPE}Kf(Ip,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")&&Qf.has(e.operator)&&e.right.is_constant()&&!e.left.is_constant()&&(e.left instanceof Ip&&pl[e.left.operator]>=pl[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&&rf(e.left,t))e.left=uu(Pd,e.left);else if(!i&&rf(e.right,t))e.right=uu(Pd,e.right);else if(t.option("typeofs")&&e.left instanceof kd&&"undefined"==e.left.value&&e.right instanceof Pp&&"typeof"==e.right.operator)((o=e.right.expression)instanceof yd?!o.is_declared(t):o instanceof Tp&&t.option("ie8"))||(e.right=o,e.left=uu(Id,e.left).optimize(t),2==e.operator.length&&(e.operator+="="));else if(t.option("typeofs")&&e.left instanceof Pp&&"typeof"==e.left.operator&&e.right instanceof kd&&"undefined"==e.right.value){var o;((o=e.left.expression)instanceof yd?!o.is_declared(t):o instanceof Tp&&t.option("ie8"))||(e.left=o,e.right=uu(Id,e.right).optimize(t),2==e.operator.length&&(e.operator+="="))}else{if(e.left instanceof yd&&e.right instanceof yd&&e.left.definition()===e.right.definition()&&function(e){return e instanceof Bp||e instanceof zl||e instanceof Up||e instanceof Wp}(e.left.fixed_value()))return uu("="==e.operator[0]?Ud:Bd,e);if(e.left.is_32_bit_integer(t)&&e.right.is_32_bit_integer(t)){const n=e=>uu(Pp,e,{operator:"!",expression:e}),r=(e,r)=>r?t.in_boolean_context()?e:n(n(e)):n(e);if(e.left instanceof Rd&&0===e.left.value)return r(e.right,"!"===e.operator[0]);if(e.right instanceof Rd&&0===e.right.value)return r(e.left,"!"===e.operator[0]);let i,o,a;if((i=e.left instanceof Ip?e.left:e.right instanceof Ip?e.right:null)&&(a=i===e.left?e.right:e.left)&&"&"===i.operator&&a instanceof Rd&&a.is_32_bit_integer(t)&&(o=i.left.equivalent_to(a)?i.right:i.right.equivalent_to(a)?i.left:null)){let n=r(uu(Ip,e,{operator:"&",left:a,right:uu(Pp,e,{operator:"~",expression:o})}),"!"===e.operator[0]);return Rm(t,n,e)}}}break;case"&&":case"||":var a=e.left;if(a.operator==e.operator&&(a=a.right),a instanceof Ip&&a.operator==("&&"==e.operator?"!==":"===")&&e.right instanceof Ip&&a.operator==e.right.operator&&(rf(a.left,t)&&e.right.left instanceof Pd||a.left instanceof Pd&&rf(e.right.left,t))&&!a.right.has_side_effects(t)&&a.right.equivalent_to(e.right.right)){var s=uu(Ip,e,{operator:a.operator.slice(0,-1),left:uu(Pd,e),right:a.right});return a!==e.left&&(s=uu(Ip,e,{operator:e.operator,left:e.left.left,right:s})),s}}if("+"==e.operator&&t.in_boolean_context()){var c=e.left.evaluate(t),u=e.right.evaluate(t);if(c&&"string"==typeof c)return Am(e,[e.right,uu(Ud,e)]).optimize(t);if(u&&"string"==typeof u)return Am(e,[e.left,uu(Ud,e)]).optimize(t)}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof Ip)||t.parent()instanceof Np){var l=uu(Pp,e,{operator:"!",expression:e.negate(t,Zd(t))});e=Rm(t,e,l)}if(t.option("unsafe_comps"))switch(e.operator){case"<":r(">");break;case"<=":r(">=")}}if("+"==e.operator){if(e.right instanceof kd&&""==e.right.getValue()&&e.left.is_string(t))return e.left;if(e.left instanceof kd&&""==e.left.getValue()&&e.right.is_string(t))return e.right;if(e.left instanceof Ip&&"+"==e.left.operator&&e.left.left instanceof kd&&""==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=!!bm(e.left,2)||!bm(e.left,4)&&e.left.evaluate(t)))return Pm(t.parent(),t.self(),e.left).optimize(t);if(!(c instanceof _l))return Am(e,[e.left,e.right]).optimize(t);if(u=e.right.evaluate(t)){if(!(u instanceof _l)&&("&&"==(p=t.parent()).operator&&p.left===t.self()||t.in_boolean_context()))return e.left.optimize(t)}else{if(t.in_boolean_context())return Am(e,[e.left,uu(Bd,e)]).optimize(t);Em(e,4)}if("||"==e.left.operator&&!(d=e.left.right.evaluate(t)))return uu(Mp,e,{condition:e.left.left,consequent:e.right,alternative:e.left.right}).optimize(t);break;case"||":var p,d;if(!(c=!!bm(e.left,2)||!bm(e.left,4)&&e.left.evaluate(t)))return Am(e,[e.left,e.right]).optimize(t);if(!(c instanceof _l))return Pm(t.parent(),t.self(),e.left).optimize(t);if(u=e.right.evaluate(t)){if(!(u instanceof _l)){if(t.in_boolean_context())return Am(e,[e.left,uu(Ud,e)]).optimize(t);Em(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 _l))return uu(Mp,e,{condition:e.left.left,consequent:e.left.right,alternative:e.right}).optimize(t);break;case"??":if(sf(e.left,t))return e.right;if(!((c=e.left.evaluate(t))instanceof _l))return null==c?e.right:e.left;if(t.in_boolean_context()){const n=e.right.evaluate(t);if(!(n instanceof _l||n))return e.left}}var m=!0;switch(e.operator){case"+":if(e.right instanceof Td&&e.left instanceof Ip&&"+"==e.left.operator&&e.left.is_string(t)){var f=(h=uu(Ip,e,{operator:"+",left:e.left.right,right:e.right})).optimize(t);h!==f&&(e=uu(Ip,e,{operator:"+",left:e.left.left,right:f}))}if(e.left instanceof Ip&&"+"==e.left.operator&&e.left.is_string(t)&&e.right instanceof Ip&&"+"==e.right.operator&&e.right.is_string(t)){var h,g=(h=uu(Ip,e,{operator:"+",left:e.left.right,right:e.right.left})).optimize(t);h!==g&&(e=uu(Ip,e,{operator:"+",left:uu(Ip,e.left,{operator:"+",left:e.left.left,right:g}),right:e.right.right}))}if(e.right instanceof Pp&&"-"==e.right.operator&&e.left.is_number_or_bigint(t)){e=uu(Ip,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof Pp&&"-"==e.left.operator&&n()&&e.right.is_number_or_bigint(t)){e=uu(Ip,e,{operator:"-",left:e.right,right:e.left.expression});break}if(e.left instanceof Wl){var v=e.left;if((f=e.right.evaluate(t))!=e.right)return v.segments[v.segments.length-1].value+=String(f),v}if(e.right instanceof Wl&&(f=e.right,(v=e.left.evaluate(t))!=e.left))return f.segments[0].value=String(v)+f.segments[0].value,f;if(e.left instanceof Wl&&e.right instanceof Wl){var _=(v=e.left).segments;f=e.right,_[_.length-1].value+=f.segments[0].value;for(var y=1;y<f.segments.length;y++)_.push(f.segments[y]);return v}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 Ip&&e.left.operator!=e.operator&&pl[e.left.operator]>=pl[e.operator])){var b=uu(Ip,e,{operator:e.operator,left:e.right,right:e.left});e=e.right instanceof Td&&!(e.left instanceof Td)?Rm(t,b,e):Rm(t,e,b)}m&&e.is_number_or_bigint(t)&&(e.right instanceof Ip&&e.right.operator==e.operator&&(e=uu(Ip,e,{operator:e.operator,left:uu(Ip,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 Td&&e.left instanceof Ip&&e.left.operator==e.operator&&(e.left.left instanceof Td?e=uu(Ip,e,{operator:e.operator,left:uu(Ip,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 Td&&(e=uu(Ip,e,{operator:e.operator,left:uu(Ip,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 Ip&&e.left.operator==e.operator&&e.left.right instanceof Td&&e.right instanceof Ip&&e.right.operator==e.operator&&e.right.left instanceof Td&&(e=uu(Ip,e,{operator:e.operator,left:uu(Ip,e.left,{operator:e.operator,left:uu(Ip,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(Qm.has(e.operator)){let n,r,i,o,a=e.left;if("&"===e.operator&&e.right instanceof Ip&&"|"===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=uu(Ip,e,{operator:e.operator,left:a,right:i});else{const s=uu(Ip,e,{operator:"|",left:uu(Ip,e,{operator:"&",left:i,right:a}),right:Tm(n&r,o)});e=Rm(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=uu(Rd,e,{value:0}),e.operator="|"),"^"===e.operator&&e.left instanceof Pp&&"~"===e.left.operator&&e.right instanceof Pp&&"~"===e.right.operator&&(e=uu(Ip,e,{operator:"^",left:e.left.expression,right:e.right.expression})),("<<"===e.operator||">>"===e.operator)&&e.right instanceof Rd&&0===e.right.value&&(e.operator="|");const s=e.right instanceof Rd&&0===e.right.value?e.right:e.left instanceof Rd&&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;const u=e=>e instanceof Rd&&-1===e.value||e instanceof Pp&&"-"===e.operator&&e.expression instanceof Rd&&1===e.expression.value,l=u(e.right)?e.right:u(e.left)?e.left:null,p=l===e.right?e.left:e.right;if(l&&"&"===e.operator&&(p.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return p;if(l&&"^"===e.operator&&(p.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return p.bitwise_negate(t)}}if(e.right instanceof Ip&&e.right.operator==e.operator&&(Jm.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=uu(Ip,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=Tm(E,e).optimize(t),Rm(t,E,e)):e}),Kf(bd,function(e){return e}),Kf(yd,function(e,t){if(!t.option("ie8")&&Zm(e)&&!t.find_parent(Ll))switch(e.name){case"undefined":return uu(Id,e).optimize(t);case"NaN":return uu(Fd,e).optimize(t);case"Infinity":return uu(Nd,e).optimize(t)}return t.option("reduce_vars")&&!t.is_lhs()?function(e,t){if(t.in_computed_key())return e;const n=t.parent(),r=e.definition(),i=t.find_scope();let 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(qf(t,o))return e;let a=r.single_use&&!(n instanceof wp&&n.is_callee_pure(t)||xu(n,$d))&&!(n instanceof xp&&o instanceof zl&&o.name);if(a&&o instanceof _l&&(a=!o.has_side_effects(t)&&!o.may_throw(t)),o instanceof Wp&&r.scope!==e.scope)return e;if(a&&(o instanceof zl||o instanceof Wp))if(qm(o,t))a=!1;else if(r.scope===e.scope||1!=r.escaped&&!bm(o,16)&&!function(e){for(var t,n=0;t=e.parent(n++);){if(t instanceof yl)return!1;if(t instanceof Bp||t instanceof zp||t instanceof Up)return!0}return!1}(t)&&t.option("reduce_funcs")){if(jm(t,r))a=!1;else if((r.scope!==e.scope||r.orig[0]instanceof cd)&&(a=o.is_constant_expression(e.scope),"f"==a)){var s=e.scope;do{(s instanceof Hl||Im(s))&&Em(s,16)}while(s=s.parent_scope)}}else a=!1;if(a&&(o instanceof zl||o instanceof Wp)&&(a=r.scope===e.scope&&!jf(i,o)||n instanceof wp&&n.expression===e&&!jf(i,o)&&!(o.name&&o.name.definition().recursive_refs>0)),a&&o){if(o instanceof Qp&&(Em(o,ym),o=uu(ed,o,o)),o instanceof Hl&&(Em(o,ym),o=uu(jl,o,o)),r.recursive_refs>0&&o.name instanceof ud){const e=o.name.definition();let t=o.variables.get(o.name.name),n=t&&t.orig[0];n instanceof dd||(n=uu(dd,o.name,o.name),n.scope=o,o.name=n,t=o.def_function(n)),Gd(o,n=>{n instanceof yd&&n.definition()===e&&(n.thedef=t,t.references.push(n))})}return(o instanceof zl||o instanceof Wp)&&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 Ad)r.orig[0]instanceof cd||!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=Tm(c,o))}if(n){const i=e.size(t),a=n.size(t);let 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}),Kf(Id,function(e,t){if(t.option("unsafe_undefined")){var n=$f(t,"undefined");if(n){var r=uu(yd,e,{name:"undefined",scope:n.scope,thedef:n});return Em(r,8),r}}var i=t.is_lhs();return i&&Jf(i,e)?e:uu(Pp,e,{operator:"void",expression:uu(Rd,e,{value:0})})}),Kf(Nd,function(e,t){var n=t.is_lhs();return n&&Jf(n,e)?e:!t.option("keep_infinity")||n&&!Jf(n,e)||$f(t,"Infinity")?uu(Ip,e,{operator:"/",left:uu(Rd,e,{value:1}),right:uu(Rd,e,{value:0})}):e}),Kf(Fd,function(e,t){var n=t.is_lhs();return n&&!Jf(n,e)||$f(t,"NaN")?uu(Ip,e,{operator:"/",left:uu(Rd,e,{value:0}),right:uu(Rd,e,{value:0})}):e});const eh=fu("+ - / * % >> << >>> | ^ &"),th=fu("* | ^ &");function nh(e,t){return e instanceof yd&&(e=e.fixed_value()),!!e&&(!(e instanceof zl||e instanceof Wp)||!(e instanceof zl&&e.contains_this())||t.parent()instanceof Ap)}function rh(e,t){return t.in_boolean_context()?Rm(t,e,Am(e,[e,uu(Ud,e)]).optimize(t)):e}function ih(e){for(var t=0;t<e.length;t++){var n=e[t];if(n instanceof Gl){var r=n.expression;r instanceof Bp&&!r.elements.some(e=>e instanceof Md)&&(e.splice(t,1,...r.elements),t--)}}}function oh(e,t){if(!t.option("computed_props"))return e;if(!(e.key instanceof Td))return e;if(e.key instanceof kd||e.key instanceof Rd){const n=e.key.value.toString();if("__proto__"===n)return e;if("constructor"==n&&t.parent()instanceof Wp)return e;e instanceof zp?(e.quote=e.key.quote,e.key=n):e instanceof Xp?(e.quote=e.key.quote,e.key=uu(pd,e.key,{name:n})):(e.quote=e.key.quote,e.key=uu(ld,e.key,{name:n}))}return e}Kf(Np,function(e,t){if(e.logical)return e.lift_sequences(t);var n;if("="===e.operator&&e.left instanceof yd&&"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 yd&&(n=e.left.definition()).scope===t.find_parent(zl)){var r,i=0,o=e;do{if(r=o,(o=t.parent(i++))instanceof Zl){if(a(i,o))break;if(Vm(n.scope,[n]))break;return"="==e.operator?e.right:(n.fixed=!1,uu(Ip,e,{operator:e.operator.slice(0,-1),left:e.left,right:e.right}).optimize(t))}}while(o instanceof Ip&&o.right===r||o instanceof Sp&&o.tail_node()===r)}return"="==(e=e.lift_sequences(t)).operator&&e.left instanceof yd&&e.right instanceof Ip&&(e.right.left instanceof yd&&e.right.left.name==e.left.name&&eh.has(e.right.operator)?(e.operator=e.right.operator+"=",e.right=e.right.right):e.right.right instanceof yd&&e.right.right.name==e.left.name&&th.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(){const n=e.right;e.right=uu(Pd,n);const 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 lp){if(o.bfinally)return!0;if(o.bcatch&&i())return!0}}}),Kf(Lp,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 zl&&!1!==t.option("keep_fargs")&&("Call"!==(i=t.parent(1)).TYPE||i.expression!==r)||(e=e.left):n!==e.right&&(n=Tm(n,e.right),e.right=km(n,e.right)),e}),Kf(Mp,function(e,t){if(!t.option("conditionals"))return e;if(e.condition instanceof Sp){var n=e.condition.expressions.slice();return e.condition=n.pop(),n.push(e),Am(e,n)}var r=e.condition.evaluate(t);if(r!==e.condition)return Pm(t.parent(),t.self(),r?e.consequent:e.alternative);var i=r.negate(t,Zd(t));Rm(t,r,i)===i&&(e=uu(Mp,e,{condition:i,consequent:e.alternative,alternative:e.consequent}));var o,a=e.condition,s=e.consequent,c=e.alternative;if(a instanceof yd&&s instanceof yd&&a.definition()===s.definition())return uu(Ip,e,{operator:"||",left:a,right:c});if(s instanceof Np&&c instanceof Np&&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 uu(Np,e,{operator:s.operator,left:s.left,logical:s.logical,right:uu(Mp,e,{condition:e.condition,consequent:s.right,alternative:c.right})});if(s instanceof wp&&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 Gl)return;if(!e[n].equivalent_to(t[n])){if(t[n]instanceof Gl)return;for(var i=n+1;i<r;i++){if(e[i]instanceof Gl)return;if(!e[i].equivalent_to(t[i]))return}return n}}}())){var u=s.clone();return u.args[o]=uu(Mp,e,{condition:e.condition,consequent:s.args[o],alternative:c.args[o]}),u}if(c instanceof Mp&&s.equivalent_to(c.consequent))return uu(Mp,e,{condition:uu(Ip,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 Ip&&"=="===e.operator&&((r=sf(e.left,n)&&e.left)||(r=sf(e.right,n)&&e.right))&&(r===e.left?e.right:e.left).equivalent_to(t))return!0;if(e instanceof Ip&&"||"===e.operator){let r,i;const o=e=>{if(!(e instanceof Ip)||"==="!==e.operator&&"=="!==e.operator)return!1;let o,a=0;return e.left instanceof Pd&&(a++,r=e,o=e.right),e.right instanceof Pd&&(a++,r=e,o=e.left),rf(e.left,n)&&(a++,i=e,o=e.right),rf(e.right,n)&&(a++,i=e,o=e.left),1===a&&!!o.equivalent_to(t)};if(!o(e.left))return!1;if(!o(e.right))return!1;if(r&&i&&r!==i)return!0}return!1}(a,c,t))return uu(Ip,e,{operator:"??",left:c,right:s}).optimize(t);if(c instanceof Sp&&s.equivalent_to(c.expressions[c.expressions.length-1]))return Am(e,[uu(Ip,e,{operator:"||",left:a,right:Am(e,c.expressions.slice(0,-1))}),s]).optimize(t);if(c instanceof Ip&&"&&"==c.operator&&s.equivalent_to(c.right))return uu(Ip,e,{operator:"&&",left:uu(Ip,e,{operator:"||",left:a,right:c.left}),right:s}).optimize(t);if(s instanceof Mp&&s.alternative.equivalent_to(c))return uu(Mp,e,{condition:uu(Ip,e,{left:e.condition,operator:"&&",right:s.condition}),consequent:s.consequent,alternative:c});if(s.equivalent_to(c))return Am(e,[e.condition,s]).optimize(t);if(s instanceof Ip&&"||"==s.operator&&s.right.equivalent_to(c))return uu(Ip,e,{operator:"||",left:uu(Ip,e,{operator:"&&",left:e.condition,right:s.left}),right:c}).optimize(t);const l=t.in_boolean_context();return d(e.consequent)?m(e.alternative)?p(e.condition):uu(Ip,e,{operator:"||",left:p(e.condition),right:e.alternative}):m(e.consequent)?d(e.alternative)?p(e.condition.negate(t)):uu(Ip,e,{operator:"&&",left:p(e.condition.negate(t)),right:e.alternative}):d(e.alternative)?uu(Ip,e,{operator:"||",left:p(e.condition.negate(t)),right:e.consequent}):m(e.alternative)?uu(Ip,e,{operator:"&&",left:p(e.condition),right:e.consequent}):e;function p(e){return e.is_boolean()?e:uu(Pp,e,{operator:"!",expression:e.negate(t)})}function d(e){return e instanceof Ud||l&&e instanceof Td&&e.getValue()||e instanceof Pp&&"!"==e.operator&&e.expression instanceof Td&&!e.expression.getValue()}function m(e){return e instanceof Bd||l&&e instanceof Td&&!e.getValue()||e instanceof Pp&&"!"==e.operator&&e.expression instanceof Td&&e.expression.getValue()}}),Kf(Ld,function(e,t){if(t.in_boolean_context())return uu(Rd,e,{value:+e.value});var n=t.parent();return t.option("booleans_as_integers")?(n instanceof Ip&&("==="==n.operator||"!=="==n.operator)&&(n.operator=n.operator.replace(/=$/,"")),uu(Rd,e,{value:+e.value})):t.option("booleans")?n instanceof Ip&&("=="==n.operator||"!="==n.operator)?uu(Rd,e,{value:+e.value}):uu(Pp,e,{operator:"!",expression:uu(Rd,e,{value:1-e.value})}):e}),Tp.DEFMETHOD("flatten_object",function(e,t){if(t.option("properties")&&"__proto__"!==e&&!(this instanceof Rp)){var n=t.option("unsafe_arrows")&&t.option("ecma")>=2015,r=this.expression;if(r instanceof Up)for(var i=r.properties,o=i.length;--o>=0;){var a=i[o];if(""+(a instanceof Kp?a.key.name:a.key)==e){if(!i.every(e=>(e instanceof zp||n&&e instanceof Kp&&!e.value.is_generator)&&!e.computed_key()))return;if(!nh(a.value,t))return;return uu(Cp,this,{expression:uu(Bp,r,{elements:i.map(function(e){var t=e.value;t instanceof Vl&&(t=uu(jl,t,t));var n=e.key;return n instanceof _l&&!(n instanceof ld)?Am(e,[n,t]):t})}),property:uu(Rd,this,{value:o})})}}}}),Kf(Cp,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=km(i,Tm(o,i).transform(t));var a=""+o;if(Ju(a)&&a.length<=i.size()+1)return uu(kp,e,{expression:r,optional:e.optional,property:a,quote:i.quote}).optimize(t)}}e:if(t.option("arguments")&&r instanceof yd&&"arguments"==r.name&&1==r.definition().orig.length&&(n=r.scope)instanceof zl&&n.uses_arguments&&!(n instanceof ql)&&i instanceof Rd){for(var s=i.getValue(),c=new Set,u=n.argnames,l=0;l<u.length;l++){if(!(u[l]instanceof cd))break e;var p=u[l].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(cd,{source:n,scope:n,tentative_name:"argument_"+n.argnames.length}),n.argnames.push(d);if(d){var f=uu(yd,e,d);return f.reference({}),xm(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 Rd&&r instanceof Bp){s=i.getValue();var g=r.elements,v=g[s];e:if(nh(v,t)){for(var _=!0,y=[],b=g.length;--b>s;)(E=g[b].drop_side_effect_free(t))&&(y.unshift(E),_&&E.has_side_effects(t)&&(_=!1));if(v instanceof Gl)break e;for(v=v instanceof Md?uu(Id,v):v,_||y.unshift(v);--b>=0;){var E;if((E=g[b])instanceof Gl)break e;(E=E.drop_side_effect_free(t))?y.unshift(E):s--}return _?(y.push(v),Am(e,y).optimize(t)):uu(Cp,e,{expression:uu(Bp,r,{elements:y}),property:uu(Rd,i,{value:s})})}}var x=e.evaluate(t);return x!==e?Rm(t,x=Tm(x,e).optimize(t),e):e}),Kf(Op,function(e,t){if(sf(e.expression,t)){let n=t.parent();return n instanceof Pp&&"delete"===n.operator?Tm(0,e):uu(Id,e)}return e.expression instanceof Tp||e.expression instanceof wp?e:e.expression}),Kf(kp,function(e,t){const n=t.parent();if(t.is_lhs())return e;if(t.option("unsafe_proto")&&e.expression instanceof kp&&"prototype"==e.expression.property){var r=e.expression.expression;if(Zm(r))switch(r.name){case"Array":e.expression=uu(Bp,e.expression,{elements:[]});break;case"Function":e.expression=Sm(e.expression);break;case"Number":e.expression=uu(Rd,e.expression,{value:0});break;case"Object":e.expression=uu(Up,e.expression,{properties:[]});break;case"RegExp":e.expression=uu(Od,e.expression,{value:{source:"t",flags:""}});break;case"String":e.expression=uu(kd,e.expression,{value:""})}}if(!(n instanceof wp&&xu(n,$d))){const n=e.flatten_object(e.property,t);if(n)return n.optimize(t)}if(e.expression instanceof Tp&&n instanceof Tp)return e;let i=e.evaluate(t);return i!==e?(i=Tm(i,e).optimize(t),Rm(t,i,e)):e}),Kf(Bp,function(e,t){var n=rh(e,t);return n!==e?n:(ih(e.elements),e)}),Kf(Up,function(e,t){var n=rh(e,t);return n!==e?n:(function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n instanceof Gl){const r=n.expression;r instanceof Up&&r.properties.every(e=>e instanceof zp)?(e.splice(t,1,...r.properties),t--):!(r instanceof Td||r.is_constant())||r instanceof kd||(e.splice(t,1),t--)}}}(e.properties),e)}),Kf(Od,rh),Kf(Ql,function(e,t){return e.value&&rf(e.value,t)&&(e.value=null),e}),Kf(ql,Yf),Kf(jl,function(e,t){if(e=Yf(e,t),t.option("unsafe_arrows")&&t.option("ecma")>=2015&&!e.name&&!e.is_generator&&!e.uses_arguments&&!e.pinned()){const n=Gd(e,e=>{if(e instanceof Ad)return Vd});if(!n)return uu(ql,e,e).optimize(t)}return e}),Kf(Wp,function(e){for(let t=0;t<e.properties.length;t++){const n=e.properties[t];n instanceof Jp&&0==n.body.length&&(e.properties.splice(t,1),t--)}return e}),Kf(Jp,function(e,t){return Vf(e.body,t),e}),Kf(ip,function(e,t){return e.expression&&!e.is_star&&rf(e.expression,t)&&(e.expression=null),e}),Kf(Wl,function(e,t){if(!t.option("evaluate")||t.parent()instanceof $l)return e;for(var n=[],r=0;r<e.segments.length;r++){var i=e.segments[r];if(i instanceof _l){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 Wl){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 uu(kd,e,n[0]);if(3===n.length&&n[1]instanceof _l&&(n[1].is_string(t)||n[1].is_number_or_bigint(t)||sf(n[1],t)||t.option("unsafe"))){if(""===n[2].value)return uu(Ip,e,{operator:"+",left:uu(kd,e,{value:n[0].value}),right:n[1]});if(""===n[0].value)return uu(Ip,e,{operator:"+",left:n[1],right:uu(kd,e,{value:n[2].value})})}return e}),Kf($l,function(e){return e}),Kf(Gp,oh),Kf(Kp,function(e,t){if(oh(e,t),t.option("arrows")&&t.parent()instanceof Up&&!e.value.is_generator&&!e.value.uses_arguments&&!e.value.pinned()&&1==e.value.body.length&&e.value.body[0]instanceof Ql&&e.value.body[0].value&&!e.value.contains_this()){var n=uu(ql,e.value,e.value);return n.async=e.value.async,n.is_generator=e.value.is_generator,uu(zp,e,{key:e.key instanceof ld?e.key.name:e.key,value:n,quote:e.quote})}return e}),Kf(zp,function(e,t){oh(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 ql&&Array.isArray(i.body)&&!i.contains_this()||i instanceof jl)&&!i.name)return uu(Kp,e,{key:r instanceof _l?r:uu(ld,e,{name:r}),value:uu(Vl,i,i),quote:e.quote})}return e}),Kf(Kl,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 Gl)){for(var n=[],r=0;r<e.names.length;r++){var i=e.names[r];i instanceof zp&&"string"==typeof i.key&&i.value instanceof rd&&!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 ah=",".charCodeAt(0),sh=";".charCodeAt(0),ch=new Uint8Array(64),uh=new Uint8Array(128);for(let e=0;e<64;e++){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e);ch[e]=t,uh[t]=e}function lh(e,t){let n=0,r=0,i=0;do{const t=e.next();i=uh[t],n|=(31&i)<<r,r+=5}while(32&i);const o=1&n;return n>>>=1,o&&(n=-2147483648|-n),t+n}function ph(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(ch[t])}while(r>0);return t}function dh(e,t){return!(e.pos>=t)&&e.peek()!==ah}var mh="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{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}},fh=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}write(e){const{buffer:t}=this;t[this.pos++]=e,16384===this.pos&&(this.out+=mh.decode(t),this.pos=0)}flush(){const{buffer:e,out:t,pos:n}=this;return n>0?t+mh.decode(e.subarray(0,n)):t}},hh=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){const{buffer:t,pos:n}=this,r=t.indexOf(e,n);return-1===r?t.length:r}};function gh(e){e.sort(vh)}function vh(e,t){return e[0]-t[0]}function _h(e){const t=new fh;let n=0,r=0,i=0,o=0;for(let a=0;a<e.length;a++){const s=e[a];if(a>0&&t.write(sh),0===s.length)continue;let c=0;for(let e=0;e<s.length;e++){const a=s[e];e>0&&t.write(ah),c=ph(t,a[0],c),1!==a.length&&(n=ph(t,a[1],n),r=ph(t,a[2],r),i=ph(t,a[3],i),4!==a.length&&(o=ph(t,a[4],o)))}}return t.flush()}const yh=/^[\w+.-]+:\/\//,bh=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,Eh=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function xh(e){return e.startsWith("/")}function wh(e){return/^[.?#]/.test(e)}function Ah(e){const t=bh.exec(e);return Sh(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function Sh(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 Th(e){if(function(e){return e.startsWith("//")}(e)){const t=Ah("http:"+e);return t.scheme="",t.type=6,t}if(xh(e)){const t=Ah("http://foo.com"+e);return t.scheme="",t.host="",t.type=5,t}if(function(e){return e.startsWith("file:")}(e))return function(e){const t=Eh.exec(e),n=t[2];return Sh("file:","",t[1]||"","",xh(n)?n:"/"+n,t[3]||"",t[4]||"")}(e);if(function(e){return yh.test(e)}(e))return Ah(e);const t=Ah("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1,t}function kh(e,t){const n=t<=4,r=e.path.split("/");let i=1,o=0,a=!1;for(let e=1;e<r.length;e++){const t=r[e];t?(a=!1,"."!==t&&(".."!==t?(r[i++]=t,o++):o?(a=!0,o--,i--):n&&(r[i++]=t))):a=!0}let s="";for(let e=1;e<i;e++)s+="/"+r[e];(!s||a&&!s.endsWith("/.."))&&(s+="/"),e.path=s}function Rh(e,t){const n=function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(e),r=t?t+"/":"";return e=>function(e,t){if(!e&&!t)return"";const n=Th(e);let r=n.type;if(t&&7!==r){const e=Th(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){kh(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;const 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)}kh(n,r);const i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{const r=n.path.slice(1);return r?wh(t||e)&&!wh(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)}function Ch(e,t){for(let n=t;n<e.length;n++)if(!Oh(e[n]))return n;return e.length}function Oh(e){for(let t=1;t<e.length;t++)if(e[t][0]<e[t-1][0])return!1;return!0}function Dh(e,t){return t||(e=e.slice()),e.sort(Ph)}function Ph(e,t){return e[0]-t[0]}var Fh=!1;function Ih(e,t,n){for(let r=n+1;r<e.length&&e[r][0]===t;n=r++);return n}function Mh(e,t,n){for(let r=n-1;r>=0&&e[r][0]===t;n=r--);return n}function Nh(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Lh(e,t,n,r){const{lastKey:i,lastNeedle:o,lastIndex:a}=n;let s=0,c=e.length-1;if(r===i){if(t===o)return Fh=-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;){const i=n+(r-n>>1),o=e[i][0]-t;if(0===o)return Fh=!0,i;o<0?n=i+1:r=i-1}return Fh=!1,n-1}(e,t,s,c)}function Bh(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function Uh(){return{__proto__:null}}function Gh(e){return"string"==typeof e?JSON.parse(e):e}var zh=function(e,t){const n=Gh(e);if(!("sections"in n))return new Wh(n,t);const r=[],i=[],o=[],a=[],s=[];return Vh(n,t,r,i,o,a,s,0,0,1/0,1/0),function(e){const t=new Wh(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 Vh(e,t,n,r,i,o,a,s,c,u,l){const{sections:p}=e;for(let e=0;e<p.length;e++){const{map:d,offset:m}=p[e];let f=u,h=l;if(e+1<p.length){const t=p[e+1].offset;f=Math.min(u,s+t.line),f===u?h=Math.min(l,c+t.column):f<u&&(h=c+t.column)}jh(d,t,n,r,i,o,a,s+m.line,c+m.column,f,h)}}function jh(e,t,n,r,i,o,a,s,c,u,l){const p=Gh(e);if("sections"in p)return Vh(...arguments);const d=new Wh(p,t),m=r.length,f=o.length,h=Xh(d),{resolvedSources:g,sourcesContent:v,ignoreList:_}=d;if(qh(r,g),qh(o,d.names),v)qh(i,v);else for(let e=0;e<g.length;e++)i.push(null);if(_)for(let e=0;e<_.length;e++)a.push(_[e]+m);for(let e=0;e<h.length;e++){const t=s+e;if(t>u)return;const r=Hh(n,t),i=0===e?c:0,o=h[e];for(let e=0;e<o.length;e++){const n=o[e],a=i+n[0];if(t===u&&a>=l)return;if(1===n.length){r.push([a]);continue}const 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 qh(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}function Hh(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}var Kh="`line` must be greater than 0 (lines start at line 1)",$h="`column` must be greater than or equal to 0 (columns start at column 0)",Wh=class{constructor(e,t){const n="string"==typeof e;if(!n&&e._decodedMemo)return e;const r=Gh(e),{version:i,file:o,names:a,sourceRoot:s,sources:c,sourcesContent:u}=r;this.version=i,this.file=o,this.names=a||[],this.sourceRoot=s,this.sources=c,this.sourcesContent=u,this.ignoreList=r.ignoreList||r.x_google_ignoreList||void 0;const l=Rh(t,s);this.resolvedSources=c.map(l);const{mappings:p}=r;if("string"==typeof p)this._encoded=p,this._decoded=void 0;else{if(!Array.isArray(p))throw r.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(r)}`);this._encoded=void 0,this._decoded=function(e,t){const n=Ch(e,0);if(n===e.length)return e;t||(e=e.slice());for(let r=n;r<e.length;r=Ch(e,r+1))e[r]=Dh(e[r],t);return e}(p,n)}this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}};function Xh(e){var t;return(t=e)._decoded||(t._decoded=function(e){const{length:t}=e,n=new hh(e),r=[];let i=0,o=0,a=0,s=0,c=0;do{const e=n.indexOf(";"),t=[];let u=!0,l=0;for(i=0;n.pos<e;){let r;i=lh(n,i),i<l&&(u=!1),l=i,dh(n,e)?(o=lh(n,o),a=lh(n,a),s=lh(n,s),dh(n,e)?(c=lh(n,c),r=[i,o,a,s,c]):r=[i,o,a,s]):r=[i],t.push(r),n.pos++}u||gh(t),r.push(t),n.pos=e+1}while(n.pos<=t);return r}(e._encoded))}function Yh(e,t,n,r){return{source:e,line:t,column:n,name:r}}function Zh(e,t){return{line:e,column:t}}function Qh(e,t,n,r,i){let o=Lh(e,r,t,n);return Fh?o=(-1===i?Ih:Mh)(e,r,o):-1===i&&o++,-1===o||o===e.length?-1:o}function Jh(e,t,n,r,i,o){var a;if(--n<0)throw new Error(Kh);if(r<0)throw new Error($h);const{sources:s,resolvedSources:c}=e;let u=s.indexOf(t);if(-1===u&&(u=c.indexOf(t)),-1===u)return o?[]:Zh(null,null);const l=(a=e)._bySources||(a._bySources=function(e,t){const n=t.map(Uh);for(let r=0;r<e.length;r++){const i=e[r];for(let e=0;e<i.length;e++){const o=i[e];if(1===o.length)continue;const a=o[1],s=o[2],c=o[3],u=n[a],l=u[s]||(u[s]=[]),p=t[a];let d=Ih(l,c,Lh(l,c,p,s));p.lastIndex=++d,Bh(l,d,[c,r,o[0]])}}return n}(Xh(e),e._bySourceMemos=s.map(Nh))),p=l[u][n];if(null==p)return o?[]:Zh(null,null);const d=e._bySourceMemos[u];if(o)return function(e,t,n,r,i){let o=Qh(e,t,n,r,1);if(Fh||-1!==i||o++,-1===o||o===e.length)return[];const a=Fh?r:e[o][0];Fh||(o=Mh(e,a,o));const s=Ih(e,a,o),c=[];for(;o<=s;o++){const t=e[o];c.push(Zh(t[1]+1,t[2]))}return c}(p,d,n,r,i);const m=Qh(p,d,n,r,i);if(-1===m)return Zh(null,null);const f=p[m];return Zh(f[1]+1,f[2])}var eg=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function tg(e,t){const n=function(e,t){return e._indexes[t]}(e,t);if(void 0!==n)return n;const{array:r,_indexes:i}=e,o=r.push(t);return i[t]=o-1}var ng=class{constructor({file:e,sourceRoot:t}={}){this._names=new eg,this._sources=new eg,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t,this._ignoreList=new eg}};function rg(e){const{_mappings:t,_sources:n,_sourcesContent:r,_names:i,_ignoreList:o}=e;return function(e){const{length:t}=e;let 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 ig(e,t,n,r,i,o,a,s,c){const{_mappings:u,_sources:l,_sourcesContent:p,_names:d}=t,m=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(u,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){if(function(e,t){if(0===t)return!0;return 1===e[t-1].length}(m,f))return;return og(m,f,[r])}const h=tg(l,i),g=s?tg(d,s):-1;if(h===p.length&&(p[h]=null!=c?c:null),!function(e,t,n,r,i,o){if(0===t)return!1;const 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))return og(m,f,s?[r,h,o,a,g]:[r,h,o,a])}function og(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function ag(e,t){for(let n=0;n<t.length;n++)tg(e,t[n])}var sg=class e{constructor(e,t){const n=this._map=new zh(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,n;return null!=(n=(t=e)._encoded)?n:t._encoded=_h(e._decoded)}(this._map)}originalPositionFor(e){return function(e,t){let{line:n,column:r,bias:i}=t;if(n--,n<0)throw new Error(Kh);if(r<0)throw new Error($h);const o=Xh(e);if(n>=o.length)return Yh(null,null,null,null);const a=o[n],s=Qh(a,e._decodedMemo,n,r,i||1);if(-1===s)return Yh(null,null,null,null);const c=a[s];if(1===c.length)return Yh(null,null,null,null);const{names:u,resolvedSources:l}=e;return Yh(l[c[1]],c[2]+1,c[3],5===c.length?u[c[4]]:null)}(this._map,e)}generatedPositionFor(e){return function(e,t){const{source:n,line:r,column:i,bias:o}=t;return Jh(e,n,r,i,o||1,!1)}(this._map,e)}allGeneratedPositionsFor(e){return function(e,t){const{source:n,line:r,column:i,bias:o}=t;return Jh(e,n,r,i,o||-1,!0)}(this._map,e)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(const e of this.sourcesContent)if(null==e)return!1;return!0}sourceContentFor(e,t){const n=function(e,t){const{sourcesContent:n}=e;if(null==n)return null;const r=function(e,t){const{sources:n,resolvedSources:r}=e;let 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 new Error(`"${e}" is not in the SourceMap.`)}eachMapping(e,t){!function(e,t){const n=Xh(e),{names:r,resolvedSources:i}=e;for(let e=0;e<n.length;e++){const o=n[e];for(let n=0;n<o.length;n++){const a=o[n],s=e+1,c=a[0];let u=null,l=null,p=null,d=null;1!==a.length&&(u=i[a[1]],l=a[2]+1,p=a[3]),5===a.length&&(d=r[a[4]]),t({generatedLine:s,generatedColumn:c,source:u,originalLine:l,originalColumn:p,name:d})}}}(this._map,t?e.bind(t):e)}destroy(){}},cg=class e{constructor(e){this._map=e instanceof ng?e:new ng(e)}static fromSourceMap(t){return new e(function(e){const t=new Wh(e),n=new ng({file:t.file,sourceRoot:t.sourceRoot});return ag(n._names,t.names),ag(n._sources,t.sources),n._sourcesContent=t.sourcesContent||t.sources.map(()=>null),n._mappings=Xh(t),t.ignoreList&&ag(n._ignoreList,t.ignoreList),n}(t))}addMapping(e){((e,t)=>{(function(e,t,n){const{generated:r,source:i,original:o,name:a,content:s}=n;i?ig(0,t,r.line-1,r.column,i,o.line-1,o.column,a,s):ig(0,t,r.line-1,r.column,null,null,null,null,null)})(0,e,t)})(this._map,e)}setSourceContent(e,t){!function(e,t,n){const{_sources:r,_sourcesContent:i}=e;i[tg(r,t)]=n}(this._map,e,t)}toJSON(){return function(e){const t=rg(e);return Object.assign({},t,{mappings:_h(t.mappings)})}(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return rg(this._map)}},ug=["$&","$'","$*","$+","$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"];function lg(e,t){e.walk(new jd(function(e){return e instanceof Sp?lg(e.tail_node(),t):e instanceof kd?t(e.value):e instanceof Mp&&(lg(e.consequent,t),lg(e.alternative,t)),!0}))}function pg(e){var t=new Set;return Gd(e,e=>{e instanceof Yp||e instanceof $p||e instanceof jp||e instanceof Vp||e instanceof Rp||(e instanceof zp?"string"==typeof e.key&&xu(e,Xd)&&t.add(e.key):e instanceof Gp?xu(e,Xd)&&t.add(e.key.name):e instanceof kp?xu(e,Xd)&&t.add(e.property):e instanceof Cp&&e.property instanceof kd&&xu(e,Xd)&&t.add(e.property.value))}),t}var dg="undefined"!=typeof Buffer?e=>Buffer.from(e,"base64").toString():e=>decodeURIComponent(escape(atob(e))),mg="undefined"!=typeof Buffer?e=>Buffer.from(e).toString("base64"):e=>btoa(unescape(encodeURIComponent(e)));function fg(e){var t=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(e);return t?dg(t[2]):null}function hg(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 gg(e){e&&("props"in e?e.props instanceof Map||(e.props=function(e){var t=new Map;for(var n in e)gu(e,n)&&"$"===n.charAt(0)&&t.set(n.substr(1),e[n]);return t}(e.props)):e.props=new Map)}function vg(e){return{props:(t=e.props,n=Object.create(null),t.forEach(function(e,t){n["$"+t]=e}),n)};var t,n}function*_g(e,t,n){var r,i,o,a=(t=nu(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 new Error("Please only specify either output or format option, preferrably format.");if(t.format=t.format||t.output||{},hg("ecma",t,["parse","compress","format"]),hg("ie8",t,["compress","mangle","format"]),hg("keep_classnames",t,["compress","mangle"]),hg("keep_fnames",t,["compress","mangle"]),hg("module",t,["parse","compress","mangle"]),hg("safari10",t,["mangle","format"]),hg("toplevel",t,["compress","mangle"]),hg("warnings",t,["compress"]),t.mangle&&(t.mangle=nu(t.mangle,{cache:t.nameCache&&(t.nameCache.vars||{}),eval:!1,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,nth_identifier:dm,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||{})),gg(t.mangle.cache),gg(t.mangle.properties.cache)),t.sourceMap&&(t.sourceMap=nu(t.sourceMap,{asObject:!1,content:null,filename:null,includeSources:!1,root:null,url:null},!0)),a&&(a.parse=Date.now()),e instanceof Ul)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=_l.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(gu(e,s)&&(t.parse.filename=s,t.parse.toplevel=ml(e[s],t.parse),t.sourceMap&&"inline"==t.sourceMap.content)){if(Object.keys(e).length>1)throw new Error("inline source map only works with singular input");t.sourceMap.content=fg(e[s])}if(null===t.parse.toplevel)throw new Error("no source file given");i=t.parse.toplevel}r&&"strict"!==t.mangle.properties.keep_quoted&&function(e,t){function n(e){lu(t,e)}e.walk(new jd(function(e){e instanceof zp&&e.quote?n(e.key):e instanceof Gp&&e.quote?n(e.key.name):e instanceof Cp&&lg(e.property,n)}))}(i,r),t.mangle&&t.mangle.properties&&(o=pg(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 Hf(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||dm;return e=e.transform(new qd(function(e){e instanceof Yp||e instanceof $p||e instanceof jp||e instanceof Vp||e instanceof Zp?e.key.name=o(e.key.name):e instanceof Rp&&(e.property=o(e.property))})),e;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=pg(e)){var r=(t=nu(t,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:dm,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){ug.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;a=t.cache?t.cache.props:new Map;var c,u=t.only_annotated,l=t.regex&&new RegExp(t.regex),p=!1!==t.debug;p&&(c=!0===t.debug?"":t.debug);var d=new Set,m=new Set;a.forEach(e=>m.add(e));var f=!!t.keep_quoted;return e.walk(new jd(function(e){if(e instanceof Yp||e instanceof $p||e instanceof jp||e instanceof Vp||e instanceof Rp);else if(e instanceof zp)"string"!=typeof e.key||f&&e.quote||v(e.key);else if(e instanceof Gp)f&&e.quote||v(e.key.name);else if(e instanceof kp){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||v(e.property)}else e instanceof Cp?f||lg(e.property,v):e instanceof wp&&"Object.defineProperty"==e.expression.print_to_string()?lg(e.args[1],v):e instanceof Ip&&"in"===e.operator?lg(e.left,v):e instanceof kd&&xu(e,Wd)&&v(e.value)})),e.transform(new qd(function(e){e instanceof Yp||e instanceof $p||e instanceof jp||e instanceof Vp||e instanceof Rp||(e instanceof zp?"string"!=typeof e.key||f&&e.quote||(e.key=_(e.key)):e instanceof Gp?f&&e.quote||e.computed_key()||(e.key.name=_(e.key.name)):e instanceof kp?f&&e.quote||(e.property=_(e.property)):!f&&e instanceof Cp?e.property=y(e.property):e instanceof wp&&"Object.defineProperty"==e.expression.print_to_string()?e.args[1]=y(e.args[1]):e instanceof Ip&&"in"===e.operator?e.left=y(e.left):e instanceof kd&&xu(e,Wd)&&(Au(e),e.value=_(e.value)))}));function h(e){return!m.has(e)&&!o.has(e)&&(t.only_cache?a.has(e):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(e))}function g(e){return!(u&&!n.has(e))&&(l&&!l.test(e)?n.has(e):!o.has(e)&&(a.has(e)||d.has(e)))}function v(e){h(e)&&d.add(e),g(e)||m.add(e)}function _(e){if(!g(e))return e;var t=a.get(e);if(!t){if(p){var n="_$"+e+"$"+c+"_";h(n)&&(t=n)}if(!t)do{t=r.get(++s)}while(!h(t));a.set(e,t)}return t}function y(e){return e.transform(new qd(function(e){if(e instanceof Sp){var t=e.expressions.length-1;e.expressions[t]=y(e.expressions[t])}else e instanceof kd?(Au(e),e.value=_(e.value)):e instanceof Mp&&(e.consequent=y(e.consequent),e.alternative=y(e.alternative));return e}))}}(i,t.mangle.properties,o)),a&&(a.format=Date.now());var c={};let u;if(t.format.ast&&(c.ast=i),t.format.spidermonkey&&(c.ast=i.to_mozilla_ast()),!gu(t.format,"code")||t.format.code){if(u={...t.format},u.ast||(u._destroy_ast=!0,Gd(i,e=>{e instanceof Bl&&(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 Ul)throw new Error("original source content unavailable");u.source_map=yield*function*(e){var t;e=nu(e,{file:null,root:null,orig:null,files:{}});var n=new cg({file:e.file,sourceRoot:e.root});let r={__proto__:null},i=e.files;for(var o in i)gu(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 sg(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 u={line:i,column:o};if(t){var l=t.originalPositionFor({line:a,column:s});if(null===l.source)return void n.addMapping({generated:u,original:null,source:null,name:null});e=l.source,a=l.line,s=l.column,c=l.name||c}n.addMapping({generated:u,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 u.ast,delete u.code,delete u.spidermonkey;var l=nm(u);if(i.print(l),c.code=l.get(),t.sourceMap)if(Object.defineProperty(c,"map",{configurable:!0,enumerable:!0,get(){const e=u.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=u.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,"+mg(p)}else t.sourceMap.url&&(c.code+="\n//# sourceMappingURL="+t.sourceMap.url)}return t.nameCache&&t.mangle&&(t.mangle.cache&&(t.nameCache.vars=vg(t.mangle.cache)),t.mangle.properties&&t.mangle.properties.cache&&(t.nameCache.props=vg(t.mangle.properties.cache))),u&&u.source_map&&u.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}async function yg(e,t,n){const r=_g(e,t);let i,o;do{o=r.next(await i),i=o.value}while(!o.done);return o.value}var bg,Eg,xg,wg,Ag,Sg,Tg,kg,Rg,Cg,Og,Dg,Pg,Fg,Ig,Mg,Ng,Lg,Bg,Ug,Gg,zg,Vg,jg,qg,Hg,Kg,$g,Wg,Xg,Yg,Zg,Qg,Jg,ev,tv,nv,rv,iv,ov,av,sv,cv,uv,lv,pv,dv,mv,fv,hv,gv,vv,_v,yv,bv,Ev,xv,wv,Av,Sv,Tv,kv,Rv,Cv,Ov,Dv,Pv,Fv,Iv,Mv,Nv,Lv,Bv,Uv,Gv,zv,Vv,jv,qv,Hv,Kv,$v,Wv,Xv,Yv,Zv,Qv,Jv,e_,t_,n_,r_,i_,o_,a_,s_,c_,u_,l_,p_,d_,m_,f_,h_,g_,v_,__,y_,b_,E_,x_,w_,A_,S_,T_,k_,R_,C_,O_,D_,P_,F_,I_,M_,N_,L_,B_,U_,G_,z_,V_,j_,q_,H_,K_,$_,W_,X_,Y_,Z_,Q_,J_,ey,ty,ny,ry,iy,oy,ay,sy,cy,uy,ly,py,dy,my,fy,hy,gy,vy,_y,yy,by,Ey,xy,wy,Ay,Sy,Ty,ky,Ry,Cy,Oy,Dy,Py,Fy,Iy,My,Ny,Ly,By,Uy,Gy,zy,Vy,jy,qy,Hy,Ky,$y,Wy,Xy,Yy,Zy,Qy,Jy,eb,tb,nb={exports:{}};function rb(){if(Sg)return Ag;Sg=1;var e=function(){if(wg)return xg;wg=1;var e=/([0-9]+)/;function t(e){return""+parseInt(e)==e?parseInt(e):e}return xg=function(n,r){var i,o,a,s,c=(""+n).split(e).map(t),u=(""+r).split(e).map(t);for(a=0,s=Math.min(c.length,u.length);a<s;a++)if((i=c[a])!=(o=u[a]))return i>o?1:-1;return c.length>u.length?1:c.length==u.length?0:-1}}();function t(t,n){return e(t[1],n[1])}function n(e,t){return e[1]>t[1]?1:-1}return Ag=function(e,r){switch(r){case"natural":return e.sort(t);case"standard":return e.sort(n);case"none":case!1:return e}}}function ib(){return kg||(kg=1,Tg=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&&null!==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&&null!==o?e(a[i],o):o;return a}),Tg}function ob(){if(Cg)return Rg;Cg=1;var e=ib(),t={AfterAtRule:"afterAtRule",AfterBlockBegins:"afterBlockBegins",AfterBlockEnds:"afterBlockEnds",AfterComment:"afterComment",AfterProperty:"afterProperty",AfterRuleBegins:"afterRuleBegins",AfterRuleEnds:"afterRuleEnds",BeforeBlockEnds:"beforeBlockEnds",BetweenSelectors:"betweenSelectors"},n={CarriageReturnLineFeed:"\r\n",LineFeed:"\n",System:function(){var e="\n";try{e=require("os").EOL}catch(e){}return e}()},r={AroundSelectorRelation:"aroundSelectorRelation",BeforeBlockBegins:"beforeBlockBegins",BeforeValue:"beforeValue"},i={breaks:o(!1),breakWith:n.System,indentBy:0,indentWith:" ",spaces:a(!1),wrapAt:!1,semicolonAfterLastProperty:!1};function o(e){var n={};return n[t.AfterAtRule]=e,n[t.AfterBlockBegins]=e,n[t.AfterBlockEnds]=e,n[t.AfterComment]=e,n[t.AfterProperty]=e,n[t.AfterRuleBegins]=e,n[t.AfterRuleEnds]=e,n[t.BeforeBlockEnds]=e,n[t.BetweenSelectors]=e,n}function a(e){var t={};return t[r.AroundSelectorRelation]=e,t[r.BeforeBlockBegins]=e,t[r.BeforeValue]=e,t}function s(e){switch(e){case"windows":case"crlf":case n.CarriageReturnLineFeed:return n.CarriageReturnLineFeed;case"unix":case"lf":case n.LineFeed:return n.LineFeed;default:return n.System}}function c(e){switch(e){case"space":return" ";case"tab":return"\t";default:return e}}function u(e){for(var n in t){var r=t[n],i=e.breaks[r];e.breaks[r]=!0===i?e.breakWith:!1===i?"":e.breakWith.repeat(parseInt(i))}return e}return Rg={Breaks:t,Spaces:r,formatFrom:function(t){return void 0!==t&&!1!==t&&("object"==typeof t&&"breakWith"in t&&(t=e(t,{breakWith:s(t.breakWith)})),"object"==typeof t&&"indentBy"in t&&(t=e(t,{indentBy:parseInt(t.indentBy)})),"object"==typeof t&&"indentWith"in t&&(t=e(t,{indentWith:c(t.indentWith)})),"object"==typeof t?u(e(i,t)):"string"==typeof t&&"beautify"==t?u(e(i,{breaks:o(!0),indentBy:2,spaces:a(!0)})):"string"==typeof t&&"keep-breaks"==t?u(e(i,{breaks:{afterAtRule:!0,afterBlockBegins:!0,afterBlockEnds:!0,afterComment:!0,afterRuleEnds:!0,beforeBlockEnds:!0}})):"string"==typeof t?u(e(i,t.split(";").reduce(function(e,t){var n=t.split(":"),r=n[0],i=n[1];return"breaks"==r||"spaces"==r?e[r]=i.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},{}):"indentBy"==r||"wrapAt"==r?e[r]=parseInt(i):"indentWith"==r?e[r]=c(i):"breakWith"==r&&(e[r]=s(i)),e},{}))):i)}}}function ab(){return Dg?Og:(Dg=1,Og={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:"_"})}function sb(){return Fg?Pg:(Fg=1,Pg=function(e){var t=e[0],n=e[1],r=e[2];return r?r+":"+t+":"+n:t+":"+n})}function cb(){if(Mg)return Ig;Mg=1;var e=ob().Spaces,t=ab(),n=sb(),r=/[\s"'][iI]\s*\]/,i=/([\d\w])([iI])\]/g,o=/="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g,a=/="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g,s=/^(?:(?:<!--|-->)\s*)+/,c=/='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g,u=/='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g,l=/[>+~]/,p=/\s/,d=[":current",":future",":has",":host",":host-context",":is",":not",":past",":where"];function m(e){var n,r,i,o,a=!1,s=!1;for(i=0,o=e.length;i<o;i++){if(r=e[i],n);else if(r==t.SINGLE_QUOTE||r==t.DOUBLE_QUOTE)s=!s;else{if(!(s||r!=t.CLOSE_CURLY_BRACKET&&r!=t.EXCLAMATION&&"<"!=r&&r!=t.SEMICOLON)){a=!0;break}if(!s&&0===i&&l.test(r)){a=!0;break}}n=r==t.BACK_SLASH}return a}function f(n,o){var a,s,c,u,d,m,f,g,v,_,y,b,E,x,w=[],A=0,S=!1,T=!1,k=!1,R=r.test(n),C=o&&o.spaces[e.AroundSelectorRelation];for(E=0,x=n.length;E<x;E++){if(s=(a=n[E])==t.NEW_LINE_NIX,c=a==t.NEW_LINE_NIX&&n[E-1]==t.CARRIAGE_RETURN,m=f||g,_=!v&&!u&&0===A&&l.test(a),y=p.test(a),b=(1!=A||a!=t.CLOSE_ROUND_BRACKET)&&(b||0===A&&a==t.COLON&&h(n,E)),d&&m&&c)w.pop(),w.pop();else if(u&&m&&s)w.pop();else if(u)w.push(a);else if(a!=t.OPEN_SQUARE_BRACKET||m)if(a!=t.CLOSE_SQUARE_BRACKET||m)if(a!=t.OPEN_ROUND_BRACKET||m)if(a!=t.CLOSE_ROUND_BRACKET||m)if(a!=t.SINGLE_QUOTE||m)if(a!=t.DOUBLE_QUOTE||m)if(a==t.SINGLE_QUOTE&&m)w.push(a),f=!1;else if(a==t.DOUBLE_QUOTE&&m)w.push(a),g=!1;else{if(y&&T&&!C)continue;!y&&T&&C?(w.push(t.SPACE),w.push(a)):y&&!k&&S&&A>0&&b||(y&&!k&&A>0&&b?w.push(a):y&&(v||A>0)&&!m||y&&k&&!m||(c||s)&&(v||A>0)&&m||(_&&k&&!C?(w.pop(),w.push(a)):_&&!k&&C?(w.push(t.SPACE),w.push(a)):y?w.push(t.SPACE):w.push(a)))}else w.push(a),g=!0;else w.push(a),f=!0;else w.push(a),A--;else w.push(a),A++;else w.push(a),v=!1;else w.push(a),v=!0;d=u,u=a==t.BACK_SLASH,T=_,k=y,S=a==t.COMMA}return R?w.join("").replace(i,"$1 $2]"):w.join("")}function h(e,n){var r=e.substring(n,e.indexOf(t.OPEN_ROUND_BRACKET,n));return d.indexOf(r)>-1}function g(e){return-1==e.indexOf("'")&&-1==e.indexOf('"')?e:e.replace(c,"=$1 $2").replace(u,"=$1$2").replace(o,"=$1 $2").replace(a,"=$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)")}return Ig=function(e,t,r,i,o){var a=[],c=[];function u(e,t){return o.push("HTML comment '"+t+"' at "+n(e[2][0])+". Removing."),""}for(var l=0,p=e.length;l<p;l++){var d=e[l],h=d[1];m(h=h.replace(s,u.bind(null,d)))?o.push("Invalid selector '"+d[1]+"' at "+n(d[2][0])+". Ignoring."):(h=g(h=f(h,i)),r&&h.indexOf("nav")>0&&(h=h.replace(/\+nav(\S|$)/,"+ nav$1")),t&&h.indexOf("*+html ")>-1||t&&h.indexOf("*:first-child+html ")>-1||(h.indexOf("*")>-1&&(h=h.replace(/\*([:#.[])/g,"$1").replace(/^(:first-child)?\+html/,"*$1+html")),c.indexOf(h)>-1||(h=v(h),d[1]=h,c.push(h),a.push(d))))}return 1==a.length&&0===a[0][1].length&&(o.push("Empty selector '"+a[0][1]+"' at "+n(a[0][2][0])+". Ignoring."),a=[]),a},Ig}function ub(){return zg?Gg:(zg=1,Gg={ASTERISK:"asterisk",BANG:"bang",BACKSLASH:"backslash",UNDERSCORE:"underscore"})}function lb(){return jg||(jg=1,Vg=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n.unused&&n.all.splice(n.position,1)}}),Vg}function pb(){if(Hg)return qg;Hg=1;var e=ub(),t=ab();function n(e){e.value[e.value.length-1][1]+="!important"}function r(n){n.hack[0]==e.UNDERSCORE?n.name="_"+n.name:n.hack[0]==e.ASTERISK?n.name="*"+n.name:n.hack[0]==e.BACKSLASH?n.value[n.value.length-1][1]+="\\"+n.hack[1]:n.hack[0]==e.BANG&&(n.value[n.value.length-1][1]+=t.SPACE+"!ie")}return qg=function(e,t){var i,o,a,s;for(s=e.length-1;s>=0;s--)(i=e[s]).dynamic&&i.important?n(i):i.dynamic||i.unused||(i.dirty||i.important||i.hack)&&(i.optimizable&&t?(o=t(i),i.value=o):o=i.value,i.important&&n(i),i.hack&&r(i),"all"in i&&((a=i.all[i.position])[1][1]=i.name,a.splice(2,a.length-1),Array.prototype.push.apply(a,o)))}}function db(){return $g?Kg:($g=1,Kg={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"})}function mb(){if(Xg)return Wg;Xg=1;var e=ub(),t=ab(),n=db(),r={ASTERISK:"*",BACKSLASH:"\\",BANG:"!",BANG_SUFFIX_PATTERN:/!\w+$/,IMPORTANT_TOKEN_PATTERN:new RegExp("!important$","i"),IMPORTANT_WORD_PATTERN:new RegExp("important$","i"),SUFFIX_BANG_PATTERN:/!$/,UNDERSCORE:"_",VARIABLE_REFERENCE_PATTERN:/var\(--.+\)$/};function i(e){var t,r,i;for(t=2,r=e.length;t<r;t++)if((i=e[t])[0]==n.PROPERTY_VALUE&&o(i[1]))return!0;return!1}function o(e){return r.VARIABLE_REFERENCE_PATTERN.test(e)}function a(e){var r,i,o;for(i=3,o=e.length;i<o;i++)if((r=e[i])[0]==n.PROPERTY_VALUE&&(r[1]==t.COMMA||r[1]==t.FORWARD_SLASH))return!0;return!1}function s(t){var o=function(e){if(e.length<3)return!1;var t=e[e.length-1];return!!r.IMPORTANT_TOKEN_PATTERN.test(t[1])||!(!r.IMPORTANT_WORD_PATTERN.test(t[1])||!r.SUFFIX_BANG_PATTERN.test(e[e.length-2][1]))}(t);o&&function(e){var t=e[e.length-1],n=e[e.length-2];r.IMPORTANT_TOKEN_PATTERN.test(t[1])?t[1]=t[1].replace(r.IMPORTANT_TOKEN_PATTERN,""):(t[1]=t[1].replace(r.IMPORTANT_WORD_PATTERN,""),n[1]=n[1].replace(r.SUFFIX_BANG_PATTERN,"")),0===t[1].length&&e.pop(),0===n[1].length&&e.pop()}(t);var s=function(t){var n=!1,i=t[1][1],o=t[t.length-1];return i[0]==r.UNDERSCORE?n=[e.UNDERSCORE]:i[0]==r.ASTERISK?n=[e.ASTERISK]:o[1][0]!=r.BANG||o[1].match(r.IMPORTANT_WORD_PATTERN)?o[1].indexOf(r.BANG)>0&&!o[1].match(r.IMPORTANT_WORD_PATTERN)&&r.BANG_SUFFIX_PATTERN.test(o[1])?n=[e.BANG]:o[1].indexOf(r.BACKSLASH)>0&&o[1].indexOf(r.BACKSLASH)==o[1].length-r.BACKSLASH.length-1?n=[e.BACKSLASH,o[1].substring(o[1].indexOf(r.BACKSLASH)+1)]:0===o[1].indexOf(r.BACKSLASH)&&2==o[1].length&&(n=[e.BACKSLASH,o[1].substring(1)]):n=[e.BANG],n}(t);return s[0]==e.ASTERISK||s[0]==e.UNDERSCORE?function(e){e[1][1]=e[1][1].substring(1)}(t):s[0]!=e.BACKSLASH&&s[0]!=e.BANG||function(t,n){var i=t[t.length-1];i[1]=i[1].substring(0,i[1].indexOf(n[0]==e.BACKSLASH?r.BACKSLASH:r.BANG)).trim(),0===i[1].length&&t.pop()}(t,s),{block:t[2]&&t[2][0]==n.PROPERTY_BLOCK,components:[],dirty:!1,dynamic:i(t),hack:s,important:o,name:t[1][1],multiplex:t.length>3&&a(t),optimizable:!0,position:0,shorthand:!1,unused:!1,value:t.slice(2)}}return Wg={all:function(e,t){var r,i,o,a=[];for(o=e.length-1;o>=0;o--)(i=e[o])[0]==n.PROPERTY&&(t&&t.indexOf(i[1][1])>-1||((r=s(i)).all=e,r.position=o,a.unshift(r)));return a},single:s}}function fb(){if(Zg)return Yg;function e(e){this.name="InvalidPropertyError",this.message=e,this.stack=(new Error).stack}return Zg=1,e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,Yg=e}function hb(){if(Jg)return Qg;Jg=1;var e=fb(),t=mb().single,n=db(),r=ab(),i=sb();function o(e){var t,n;for(t=0,n=e.length;t<n;t++)if("inherit"==e[t][1])return!0;return!1}function a(e,r,i){var o=i[e];return o.doubleValues&&2==o.defaultValue.length?t([n.PROPERTY,[n.PROPERTY_NAME,e],[n.PROPERTY_VALUE,o.defaultValue[0]],[n.PROPERTY_VALUE,o.defaultValue[1]]]):o.doubleValues&&1==o.defaultValue.length?t([n.PROPERTY,[n.PROPERTY_NAME,e],[n.PROPERTY_VALUE,o.defaultValue[0]]]):t([n.PROPERTY,[n.PROPERTY_NAME,e],[n.PROPERTY_VALUE,o.defaultValue]])}function s(e,r){var i=r[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=i.length-1;s>=0;s--){var c=t([n.PROPERTY,[n.PROPERTY_NAME,i[s]]]);c.value=[a[s]],o.unshift(c)}return o}function c(e,t,n){for(var r,i,o,s=t[e.name],c=[a(s.components[0],0,t),a(s.components[1],0,t),a(s.components[2],0,t)],u=0;u<3;u++){var l=c[u];l.name.indexOf("color")>0?r=l:l.name.indexOf("style")>0?i=l:o=l}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]],c;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))),c}return Qg={animation:function(t,n,r){var s,c,u,l=a(t.name+"-duration",0,n),p=a(t.name+"-timing-function",0,n),d=a(t.name+"-delay",0,n),m=a(t.name+"-iteration-count",0,n),f=a(t.name+"-direction",0,n),h=a(t.name+"-fill-mode",0,n),g=a(t.name+"-play-state",0,n),v=a(t.name+"-name",0,n),_=[l,p,d,m,f,h,g,v],y=t.value,b=!1,E=!1,x=!1,w=!1,A=!1,S=!1,T=!1,k=!1;if(1==t.value.length&&"inherit"==t.value[0][1])return l.value=p.value=d.value=m.value=f.value=h.value=g.value=v.value=t.value,_;if(y.length>1&&o(y))throw new e("Invalid animation values at "+i(y[0][2][0])+". Ignoring.");for(c=0,u=y.length;c<u;c++)if(s=y[c],r.isTime(s[1])&&!b)l.value=[s],b=!0;else if(r.isTime(s[1])&&!x)d.value=[s],x=!0;else if(!r.isGlobal(s[1])&&!r.isTimingFunction(s[1])||E)if(!r.isAnimationIterationCountKeyword(s[1])&&!r.isPositiveNumber(s[1])||w)if(r.isAnimationDirectionKeyword(s[1])&&!A)f.value=[s],A=!0;else if(r.isAnimationFillModeKeyword(s[1])&&!S)h.value=[s],S=!0;else if(r.isAnimationPlayStateKeyword(s[1])&&!T)g.value=[s],T=!0;else{if(!r.isAnimationNameKeyword(s[1])&&!r.isIdentifier(s[1])||k)throw new e("Invalid animation value at "+i(s[2][0])+". Ignoring.");v.value=[s],k=!0}else m.value=[s],w=!0;else p.value=[s],E=!0;return _},background:function(t,n,o){var s=a("background-image",0,n),c=a("background-position",0,n),u=a("background-size",0,n),l=a("background-repeat",0,n),p=a("background-attachment",0,n),d=a("background-origin",0,n),m=a("background-clip",0,n),f=a("background-color",0,n),h=[s,c,u,l,p,d,m,f],g=t.value,v=!1,_=!1,y=!1,b=!1,E=!1;if(1==t.value.length&&"inherit"==t.value[0][1])return f.value=s.value=l.value=c.value=u.value=d.value=m.value=t.value,h;if(1==t.value.length&&"0 0"==t.value[0][1])return h;for(var x=g.length-1;x>=0;x--){var w=g[x];if(o.isBackgroundAttachmentKeyword(w[1]))p.value=[w],E=!0;else if(o.isBackgroundClipKeyword(w[1])||o.isBackgroundOriginKeyword(w[1]))_?(d.value=[w],y=!0):(m.value=[w],_=!0),E=!0;else if(o.isBackgroundRepeatKeyword(w[1]))b?l.value.unshift(w):(l.value=[w],b=!0),E=!0;else if(o.isBackgroundPositionKeyword(w[1])||o.isBackgroundSizeKeyword(w[1])||o.isUnit(w[1])||o.isDynamicUnit(w[1])){if(x>0){var A=g[x-1];A[1]==r.FORWARD_SLASH?u.value=[w]:x>1&&g[x-2][1]==r.FORWARD_SLASH?(u.value=[A,w],x-=2):(v||(c.value=[]),c.value.unshift(w),v=!0)}else v||(c.value=[]),c.value.unshift(w),v=!0;E=!0}else f.value[0][1]!=n[f.name].defaultValue&&"none"!=f.value[0][1]||!o.isColor(w[1])&&!o.isPrefixed(w[1])?(o.isUrl(w[1])||o.isFunction(w[1]))&&(s.value=[w],E=!0):(f.value=[w],E=!0)}if(_&&!y&&(d.value=m.value.slice(0)),!E)throw new e("Invalid background value at "+i(g[0][2][0])+". Ignoring.");return h},border:c,borderRadius:function(t,n){for(var o=t.value,c=-1,u=0,l=o.length;u<l;u++)if(o[u][1]==r.FORWARD_SLASH){c=u;break}if(0===c||c===o.length-1)throw new e("Invalid border-radius value at "+i(o[0][2][0])+". Ignoring.");var p=a(t.name,0,n);p.value=c>-1?o.slice(0,c):o.slice(0),p.components=s(p,n);var d=a(t.name,0,n);d.value=c>-1?o.slice(c+1):o.slice(0),d.components=s(d,n);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(t,n,s){var c,u,l,p,d=a("font-style",0,n),m=a("font-variant",0,n),f=a("font-weight",0,n),h=a("font-stretch",0,n),g=a("font-size",0,n),v=a("line-height",0,n),_=a("font-family",0,n),y=[d,m,f,h,g,v,_],b=t.value,E=0,x=!1,w=!1,A=!1,S=!1,T=!1;if(!b[E])throw new e("Missing font values at "+i(t.all[t.position][1][2][0])+". Ignoring.");if(1==b.length&&"inherit"==b[0][1])return d.value=m.value=f.value=h.value=g.value=v.value=_.value=b,y;if(1==b.length&&(s.isFontKeyword(b[0][1])||s.isGlobal(b[0][1])||s.isPrefixed(b[0][1])))return b[0][1]=r.INTERNAL+b[0][1],d.value=m.value=f.value=h.value=g.value=v.value=_.value=b,y;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,s)||!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,s))throw new e("Invalid font values at "+i(t.all[t.position][1][2][0])+". Ignoring.");if(b.length>1&&o(b))throw new e("Invalid font values at "+i(b[0][2][0])+". Ignoring.");for(;E<4;){if(c=s.isFontStretchKeyword(b[E][1])||s.isGlobal(b[E][1]),u=s.isFontStyleKeyword(b[E][1])||s.isGlobal(b[E][1]),l=s.isFontVariantKeyword(b[E][1])||s.isGlobal(b[E][1]),p=s.isFontWeightKeyword(b[E][1])||s.isGlobal(b[E][1]),u&&!w)d.value=[b[E]],w=!0;else if(l&&!A)m.value=[b[E]],A=!0;else if(p&&!S)f.value=[b[E]],S=!0;else{if(!c||x){if(u&&w||l&&A||p&&S||c&&x)throw new e("Invalid font style / variant / weight / stretch value at "+i(b[0][2][0])+". Ignoring.");break}h.value=[b[E]],x=!0}E++}if(!(s.isFontSizeKeyword(b[E][1])||s.isUnit(b[E][1])&&!s.isDynamicUnit(b[E][1])))throw new e("Missing font size at "+i(b[0][2][0])+". Ignoring.");if(g.value=[b[E]],!b[++E])throw new e("Missing font family at "+i(b[0][2][0])+". Ignoring.");for(b[E]&&b[E][1]==r.FORWARD_SLASH&&b[E+1]&&(s.isLineHeightKeyword(b[E+1][1])||s.isUnit(b[E+1][1])||s.isNumber(b[E+1][1]))&&(v.value=[b[E+1]],E++,E++),_.value=[];b[E];)b[E][1]==r.COMMA?T=!1:(T?_.value[_.value.length-1][1]+=r.SPACE+b[E][1]:_.value.push(b[E]),T=!0),E++;if(0===_.value.length)throw new e("Missing font family at "+i(b[0][2][0])+". Ignoring.");return y},fourValues:s,listStyle:function(e,t,n){var r=a("list-style-type",0,t),i=a("list-style-position",0,t),o=a("list-style-image",0,t),s=[r,i,o];if(1==e.value.length&&"inherit"==e.value[0][1])return r.value=i.value=o.value=[e.value[0]],s;var c=e.value.slice(0),u=c.length,l=0;for(l=0,u=c.length;l<u;l++)if(n.isUrl(c[l][1])||"0"==c[l][1]){o.value=[c[l]],c.splice(l,1);break}for(l=0,u=c.length;l<u;l++)if(n.isListStylePositionKeyword(c[l][1])){i.value=[c[l]],c.splice(l,1);break}return c.length>0&&(n.isListStyleTypeKeyword(c[0][1])||n.isIdentifier(c[0][1]))&&(r.value=[c[0]]),s},multiplex:function(e){return function(t,i,o){var s,c,u,l,p=[],d=t.value;for(s=0,u=d.length;s<u;s++)","==d[s][1]&&p.push(s);if(0===p.length)return e(t,i,o);var m=[];for(s=0,u=p.length;s<=u;s++){var f=0===s?0:p[s-1]+1,h=s<u?p[s]:d.length,g=a(t.name,0,i);g.value=d.slice(f,h),g.value.length>0&&m.push(e(g,i,o))}var v=m[0];for(s=0,u=v.length;s<u;s++)for(v[s].multiplex=!0,c=1,l=m.length;c<l;c++)v[s].value.push([n.PROPERTY_VALUE,r.COMMA]),Array.prototype.push.apply(v[s].value,m[c][s].value);return v}},outline:c,transition:function(t,n,r){var s,c,u,l=a(t.name+"-property",0,n),p=a(t.name+"-duration",0,n),d=a(t.name+"-timing-function",0,n),m=a(t.name+"-delay",0,n),f=[l,p,d,m],h=t.value,g=!1,v=!1,_=!1,y=!1;if(1==t.value.length&&"inherit"==t.value[0][1])return l.value=p.value=d.value=m.value=t.value,f;if(h.length>1&&o(h))throw new e("Invalid animation values at "+i(h[0][2][0])+". Ignoring.");for(c=0,u=h.length;c<u;c++)if(s=h[c],r.isTime(s[1])&&!g)p.value=[s],g=!0;else if(r.isTime(s[1])&&!v)m.value=[s],v=!0;else if(!r.isGlobal(s[1])&&!r.isTimingFunction(s[1])||y){if(!r.isIdentifier(s[1])||_)throw new e("Invalid animation value at "+i(s[2][0])+". Ignoring.");l.value=[s],_=!0}else d.value=[s],y=!0;return f}},Qg}function gb(){if(tv)return ev;tv=1;var e=/(?:^|\W)(-\w+-)/g;function t(t){for(var n,r=[];null!==(n=e.exec(t));)-1==r.indexOf(n[0])&&r.push(n[0]);return r}return ev={unique:t,same:function(e,n){return t(e).sort().join(",")==t(n).sort().join(",")}}}function vb(){if(ov)return iv;ov=1;var e=function(){if(rv)return nv;rv=1;var e=gb().same;return nv=function(t,n,r,i,o){return!(!e(n,r)||o&&t.isVariable(n)!==t.isVariable(r))},nv}();function t(e,n,r){if(!e.isFunction(n)||!e.isFunction(r))return!1;var i=n.substring(0,n.indexOf("(")),o=r.substring(0,r.indexOf("(")),a=n.substring(i.length+1,n.length-1),s=r.substring(o.length+1,r.length-1);return e.isFunction(a)||e.isFunction(s)?i===o&&t(e,a,s):i===o}function n(t){return function(n,r,i){return!(!e(n,r,i,0,!0)&&!n.isKeyword(t)(i))&&(!(!n.isVariable(r)||!n.isVariable(i))||n.isKeyword(t)(i))}}function r(t){return function(n,r,i){return!!(e(n,r,i,0,!0)||n.isKeyword(t)(i)||n.isGlobal(i))&&(!(!n.isVariable(r)||!n.isVariable(i))||n.isKeyword(t)(i)||n.isGlobal(i))}}function i(e,n,r){return!!t(e,n,r)||n===r}function o(t,n,r){return!(!e(t,n,r,0,!0)&&!t.isUnit(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||!(t.isUnit(n)&&!t.isUnit(r))&&(!!t.isUnit(r)||!t.isUnit(n)&&(!(!t.isFunction(n)||t.isPrefixed(n)||!t.isFunction(r)||t.isPrefixed(r))||i(t,n,r))))}function a(e){var t=r(e);return function(e,n,r){return o(e,n,r)||t(e,n,r)}}return iv={generic:{color:function(t,n,r){return!(!e(t,n,r,0,!0)&&!t.isColor(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||!(!t.colorOpacity&&(t.isRgbColor(n)||t.isHslColor(n)))&&!(!t.colorOpacity&&(t.isRgbColor(r)||t.isHslColor(r)))&&!(!t.colorHexAlpha&&(t.isHexAlphaColor(n)||t.isHexAlphaColor(r)))&&(!(!t.isColor(n)||!t.isColor(r))||i(t,n,r)))},components:function(e){return function(t,n,r,i){return e[i](t,n,r)}},image:function(t,n,r){return!(!e(t,n,r,0,!0)&&!t.isImage(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||!!t.isImage(r)||!t.isImage(n)&&i(t,n,r))},propertyName:function(t,n,r){return!(!e(t,n,r,0,!0)&&!t.isIdentifier(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isIdentifier(r))},time:function(t,n,r){return!(!e(t,n,r,0,!0)&&!t.isTime(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||!(t.isTime(n)&&!t.isTime(r))&&(!!t.isTime(r)||!t.isTime(n)&&(!(!t.isFunction(n)||t.isPrefixed(n)||!t.isFunction(r)||t.isPrefixed(r))||i(t,n,r))))},timingFunction:function(t,n,r){return!!(e(t,n,r,0,!0)||t.isTimingFunction(r)||t.isGlobal(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isTimingFunction(r)||t.isGlobal(r))},unit:o,unitOrNumber:function(t,n,r){return!!(e(t,n,r,0,!0)||t.isUnit(r)||t.isNumber(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||!((t.isUnit(n)||t.isNumber(n))&&!t.isUnit(r)&&!t.isNumber(r))&&(!(!t.isUnit(r)&&!t.isNumber(r))||!t.isUnit(n)&&!t.isNumber(n)&&(!(!t.isFunction(n)||t.isPrefixed(n)||!t.isFunction(r)||t.isPrefixed(r))||i(t,n,r))))}},property:{animationDirection:r("animation-direction"),animationFillMode:n("animation-fill-mode"),animationIterationCount:function(t,n,r){return!!(e(t,n,r,0,!0)||t.isAnimationIterationCountKeyword(r)||t.isPositiveNumber(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isAnimationIterationCountKeyword(r)||t.isPositiveNumber(r))},animationName:function(t,n,r){return!!(e(t,n,r,0,!0)||t.isAnimationNameKeyword(r)||t.isIdentifier(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isAnimationNameKeyword(r)||t.isIdentifier(r))},animationPlayState:r("animation-play-state"),backgroundAttachment:n("background-attachment"),backgroundClip:r("background-clip"),backgroundOrigin:n("background-origin"),backgroundPosition:function(t,n,r){return!!(e(t,n,r,0,!0)||t.isBackgroundPositionKeyword(r)||t.isGlobal(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||!(!t.isBackgroundPositionKeyword(r)&&!t.isGlobal(r))||o(t,n,r))},backgroundRepeat:n("background-repeat"),backgroundSize:function(t,n,r){return!!(e(t,n,r,0,!0)||t.isBackgroundSizeKeyword(r)||t.isGlobal(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||!(!t.isBackgroundSizeKeyword(r)&&!t.isGlobal(r))||o(t,n,r))},bottom:a("bottom"),borderCollapse:n("border-collapse"),borderStyle:r("*-style"),clear:r("clear"),cursor:r("cursor"),display:r("display"),float:r("float"),left:a("left"),fontFamily:function(t,n,r){return e(t,n,r,0,!0)},fontStretch:r("font-stretch"),fontStyle:r("font-style"),fontVariant:r("font-variant"),fontWeight:r("font-weight"),listStyleType:r("list-style-type"),listStylePosition:r("list-style-position"),outlineStyle:r("*-style"),overflow:r("overflow"),position:r("position"),right:a("right"),textAlign:r("text-align"),textDecoration:r("text-decoration"),textOverflow:r("text-overflow"),textShadow:function(t,n,r){return!!(e(t,n,r,0,!0)||t.isUnit(r)||t.isColor(r)||t.isGlobal(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isUnit(r)||t.isColor(r)||t.isGlobal(r))},top:a("top"),transform:i,verticalAlign:a("vertical-align"),visibility:r("visibility"),whiteSpace:r("white-space"),zIndex:function(t,n,r){return!(!e(t,n,r,0,!0)&&!t.isZIndex(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isZIndex(r))}}},iv}function _b(){if(sv)return av;sv=1;var e=mb().single,t=db();function n(n){var r=e([t.PROPERTY,[t.PROPERTY_NAME,n.name]]);return r.important=n.important,r.hack=n.hack,r.unused=!1,r}return av={deep:function(e){for(var t=n(e),r=e.components.length-1;r>=0;r--){var i=n(e.components[r]);i.value=e.components[r].value.slice(0),t.components.unshift(i)}return t.dirty=!0,t.value=e.value.slice(0),t},shallow:n}}function yb(){if(uv)return cv;uv=1;var e=_b().shallow,t=db(),n=ab();function r(e){for(var t=0,r=e.length;t<r;t++){var i=e[t][1];if("inherit"!=i&&i!=n.COMMA&&i!=n.FORWARD_SLASH)return!1}return!0}function i(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 o(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}return cv={background:function(e,i,o){var a,s,c=e.components,u=[];function l(e){Array.prototype.unshift.apply(u,e.value)}function p(e){var t=i[e.name];return t.doubleValues&&1==t.defaultValue.length?e.value[0][1]==t.defaultValue[0]&&(!e.value[1]||e.value[1][1]==t.defaultValue[0]):t.doubleValues&&1!=t.defaultValue.length?e.value[0][1]==t.defaultValue[0]&&(e.value[1]?e.value[1][1]:e.value[0][1])==t.defaultValue[1]:e.value[0][1]==t.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?l(h):s&&(l(m),l(h)),d--}else if("background-size"==m.name){var v=c[d-1],_=p(v);s=!(a=!_&&f)&&(_&&!f||!_&&!f),a?l(v):s?(l(m),u.unshift([t.PROPERTY_VALUE,n.FORWARD_SLASH]),l(v)):1==v.value.length&&l(v),d--}else{if(f||i[m.name].multiplexLastOnly&&!o)continue;l(m)}}return 0===u.length&&1==e.value.length&&"0"==e.value[0][1]&&u.push(e.value[0]),0===u.length&&u.push([t.PROPERTY_VALUE,i[e.name].defaultValue]),r(u)?[u[0]]:u},borderRadius:function(r){if(r.multiplex){for(var o=e(r),a=e(r),s=0;s<4;s++){var c=r.components[s],u=e(r);u.value=[c.value[0]],o.components.push(u);var l=e(r);l.value=[c.value[1]||c.value[0]],a.components.push(l)}var p=i(o),d=i(a);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([[t.PROPERTY_VALUE,n.FORWARD_SLASH]]).concat(d):p}return i(r)},font:function(e,i){var o,a=e.components,s=[],c=0,u=0;if(0===e.value[0][1].indexOf(n.INTERNAL))return e.value[0][1]=e.value[0][1].substring(n.INTERNAL.length),e.value;for(;c<4;)(o=a[c]).value[0][1]!=i[o.name].defaultValue&&Array.prototype.push.apply(s,o.value),c++;for(Array.prototype.push.apply(s,a[c].value),a[++c].value[0][1]!=i[a[c].name].defaultValue&&(Array.prototype.push.apply(s,[[t.PROPERTY_VALUE,n.FORWARD_SLASH]]),Array.prototype.push.apply(s,a[c].value)),c++;a[c].value[u];)s.push(a[c].value[u]),a[c].value[u+1]&&s.push([t.PROPERTY_VALUE,n.COMMA]),u++;return r(s)?[s[0]]:s},fourValues:i,multiplex:function(r){return function(i,o){if(!i.multiplex)return r(i,o,!0);var a,s,c=0,u=[],l={};for(a=0,s=i.components[0].value.length;a<s;a++)i.components[0].value[a][1]==n.COMMA&&c++;for(a=0;a<=c;a++){for(var p=e(i),d=0,m=i.components.length;d<m;d++){var f=i.components[d],h=e(f);p.components.push(h);for(var g=l[h.name]||0,v=f.value.length;g<v;g++){if(f.value[g][1]==n.COMMA){l[h.name]=g+1;break}h.value.push(f.value[g])}}var _=r(p,o,a==c);Array.prototype.push.apply(u,_),a<c&&u.push([t.PROPERTY_VALUE,n.COMMA])}return u}},withoutDefaults:function(e,n){for(var i=e.components,a=[],s=i.length-1;s>=0;s--){var c=i[s],u=n[c.name];(c.value[0][1]!=u.defaultValue||"keepUnlessDefault"in u&&!o(i,n,u.keepUnlessDefault))&&a.unshift(c.value[0])}return 0===a.length&&a.push([t.PROPERTY_VALUE,n[e.name].defaultValue]),r(a)?[a[0]]:a}}}function bb(){if(pv)return lv;pv=1;var e=ib(),t=/^\d+$/,n=["*","all"],r="off";function i(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}}return lv={DEFAULT:r,roundingPrecisionFrom:function(o){return e(i(r),function(o){return null==o||"boolean"==typeof o?{}:"number"==typeof o&&-1==o?i(r):"number"==typeof o?i(o):"string"==typeof o&&t.test(o)?i(parseInt(o)):"string"==typeof o&&o==r?i(r):"object"==typeof o?o:o.split(",").reduce(function(t,o){var a=o.split("="),s=a[0],c=parseInt(a[1]);return(Number.isNaN(c)||-1==c)&&(c=r),n.indexOf(s)>-1?t=e(t,i(c)):t[s]=c,t},{})}(o))}}}function Eb(){if(mv)return dv;mv=1;var e=bb().roundingPrecisionFrom,t=ib(),n={Zero:"0",One:"1",Two:"2"},r={};r[n.Zero]={},r[n.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:e(void 0),selectorsSortingMethod:"standard",specialComments:"all",tidyAtRules:!0,tidyBlockScopes:!0,tidySelectors:!0,variableValueOptimizers:[]},r[n.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 i="*",o="all";function a(e,n){var i,o=t(r[e],{});for(i in o)"boolean"==typeof o[i]&&(o[i]=n);return o}function s(e){switch(e){case"false":case"off":return!1;case"true":case"on":return!0;default:return e}}function c(e,n){return e.split(";").reduce(function(e,r){var c=r.split(":"),u=c[0],l=s(c[1]);return i==u||o==u?e=t(e,a(n,l)):e[u]=l,e},{})}return dv={OptimizationLevel:n,optimizationLevelFrom:function(u){var l=t(r,{}),p=n.Zero,d=n.One,m=n.Two;return void 0===u?(delete l[m],l):("string"==typeof u&&(u=parseInt(u)),"number"==typeof u&&u===parseInt(m)?l:"number"==typeof u&&u===parseInt(d)?(delete l[m],l):"number"==typeof u&&u===parseInt(p)?(delete l[m],delete l[d],l):("object"==typeof u&&(u=function(e){var n,r,i=t(e,{});for(r=0;r<=2;r++)!((n=""+r)in i)||void 0!==i[n]&&!1!==i[n]||delete i[n],n in i&&!0===i[n]&&(i[n]={}),n in i&&"string"==typeof i[n]&&(i[n]=c(i[n],n));return i}(u)),d in u&&"roundingPrecision"in u[d]&&(u[d].roundingPrecision=e(u[d].roundingPrecision)),m in u&&"skipProperties"in u[m]&&"string"==typeof u[m].skipProperties&&(u[m].skipProperties=u[m].skipProperties.split(",")),(p in u||d in u||m in u)&&(l[p]=t(l[p],u[p])),d in u&&i in u[d]&&(l[d]=t(l[d],a(d,s(u[d][i]))),delete u[d][i]),d in u&&o in u[d]&&(l[d]=t(l[d],a(d,s(u[d][o]))),delete u[d][o]),d in u||m in u?l[d]=t(l[d],u[d]):delete l[d],m in u&&i in u[m]&&(l[m]=t(l[m],a(m,s(u[m][i]))),delete u[m][i]),m in u&&o in u[m]&&(l[m]=t(l[m],a(m,s(u[m][o]))),delete u[m][o]),m in u?l[m]=t(l[m],u[m]):delete l[m],l))}}}function xb(){if(hv)return fv;hv=1;var e=Eb().OptimizationLevel,t={level1:{property:function(t,n,r){var i=n.value;r.level[e.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"))}}};return fv=t}function wb(){if(yv)return _v;yv=1;var e=Eb().OptimizationLevel,t={level1:{property:function(t,n,r){var i=n.value;r.level[e.One].optimizeBorderRadius&&(3==i.length&&"/"==i[1][1]&&i[0][1]==i[2][1]?(n.value.splice(1),n.dirty=!0):5==i.length&&"/"==i[2][1]&&i[0][1]==i[3][1]&&i[1][1]==i[4][1]?(n.value.splice(2),n.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]?(n.value.splice(3),n.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]&&(n.value.splice(4),n.dirty=!0))}}};return _v=t}function Ab(){if(Ev)return bv;Ev=1;var e=Eb().OptimizationLevel,t=/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/,n=/,(\S)/g,r=/ ?= ?/g,i={level1:{property:function(i,o,a){a.compatibility.properties.ieFilters&&a.level[e.One].optimizeFilter&&(1==o.value.length&&(o.value[0][1]=o.value[0][1].replace(t,function(e,t,n){return t.toLowerCase()+n})),o.value[0][1]=o.value[0][1].replace(n,", $1").replace(r,"="))}}};return bv=i}function Sb(){if(wv)return xv;wv=1;var e=Eb().OptimizationLevel,t={level1:{property:function(t,n,r){var i=n.value[0][1];r.level[e.One].optimizeFontWeight&&("normal"==i?i="400":"bold"==i&&(i="700"),n.value[0][1]=i)}}};return xv=t}function Tb(){if(Sv)return Av;Sv=1;var e=Eb().OptimizationLevel,t={level1:{property:function(t,n,r){var i=n.value;r.level[e.One].replaceMultipleZeros&&4==i.length&&"0"===i[0][1]&&"0"===i[1][1]&&"0"===i[2][1]&&"0"===i[3][1]&&(n.value.splice(1),n.dirty=!0)}}};return Av=t}function kb(){if(kv)return Tv;kv=1;var e=Eb().OptimizationLevel,t={level1:{property:function(t,n,r){var i=n.value;r.level[e.One].optimizeOutline&&1==i.length&&"none"==i[0][1]&&(i[0][1]="0")}}};return Tv=t}function Rb(){if(Cv)return Rv;Cv=1;var e=Eb().OptimizationLevel;function t(e){return e&&"-"==e[1][0]&&parseFloat(e[1])<0}var n={level1:{property:function(n,r,i){var o=r.value;4==o.length&&"0"===o[0][1]&&"0"===o[1][1]&&"0"===o[2][1]&&"0"===o[3][1]&&(r.value.splice(1),r.dirty=!0),i.level[e.One].removeNegativePaddings&&(t(r.value[0])||t(r.value[1])||t(r.value[2])||t(r.value[3]))&&(r.unused=!0)}}};return Rv=n}function Cb(){return Dv?Ov:(Dv=1,Ov={background:xb().level1.property,boxShadow:(vv?gv:(vv=1,gv={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)}}})).level1.property,borderRadius:wb().level1.property,filter:Ab().level1.property,fontWeight:Sb().level1.property,margin:Tb().level1.property,outline:kb().level1.property,padding:Rb().level1.property})}function Ob(){if(Uv)return Bv;Uv=1;var e=ab();function t(e,t,n){return n?t.test(e):e===t}return Bv=function(n,r){var i,o=e.OPEN_ROUND_BRACKET,a=e.CLOSE_ROUND_BRACKET,s=0,c=0,u=0,l=n.length,p=[],d="object"==typeof r&&"exec"in r;if(!d&&-1==n.indexOf(r))return[n];if(-1==n.indexOf(o))return n.split(r);for(;c<l;)n[c]==o?s++:n[c]==a&&s--,0===s&&c>0&&c+1<l&&t(n[c],r,d)&&(p.push(n.substring(u,c)),d&&r.exec(n[c]).length>1&&p.push(n[c]),u=c+1),c++;return u<c+1&&(t((i=n.substring(u))[i.length-1],r,d)&&(i=i.substring(0,i.length-1)),p.push(i)),p}}function Db(){if(zv)return Gv;zv=1;var e=function(){if(Fv)return Pv;Fv=1;var e={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"},t={},n={};for(var r in e){var i=e[r];r.length<i.length?n[i]=r:t[r]=i}var o=new RegExp("(^| |,|\\))("+Object.keys(t).join("|")+")( |,|\\)|$)","ig"),a=new RegExp("("+Object.keys(n).join("|")+")([^a-f0-9]|$)","ig");function s(e,n,r,i){return n+t[r.toLowerCase()]+i}function c(e,t,r){return n[t.toLowerCase()]+r}return Pv=function(e){var t=e.indexOf("#")>-1,n=e.replace(o,s);return n!=e&&(n=n.replace(o,s)),t?n.replace(a,c):n}}(),t=function(){if(Mv)return Iv;function e(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}return Mv=1,Iv=function(t,n,r){var i=function(t,n,r){var i,o,a;if((t%=360)<0&&(t+=360),t=~~t/360,n<0?n=0:n>100&&(n=100),r<0?r=0:r>100&&(r=100),r=~~r/100,0==(n=~~n/100))i=o=a=r;else{var s=r<.5?r*(1+n):r+n-r*n,c=2*r-s;i=e(c,s,t+1/3),o=e(c,s,t),a=e(c,s,t-1/3)}return[~~(255*i),~~(255*o),~~(255*a)]}(t,n,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}}(),n=Lv?Nv:(Lv=1,Nv=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)}),r=Ob(),i=/(rgb|rgba|hsl|hsla)\(([^()]+)\)/gi,o=/#|rgb|hsl/gi,a=/(^|[^='"])#([0-9a-f]{6})/gi,s=/(^|[^='"])#([0-9a-f]{3})/gi,c=/[0-9a-f]/i,u=/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/gi,l=/(rgb|hsl)a?\((-?\d+),(-?\d+%?),(-?\d+%?),(0*[1-9]+[0-9]*(\.?\d*)?)\)/gi,p=/rgb\((-?\d+),(-?\d+),(-?\d+)\)/gi,d=/(?:rgba|hsla)\(0,0%?,0%?,0\)/g,m={level1:{value:function(m,f,h){return h.compatibility.properties.colors?f.match(o)?(f=f.replace(l,function(e,t,n,r,i,o){return parseInt(o)>=1?t+"("+[n,r,i].join(",")+")":e}).replace(p,function(e,t,r,i){return n(t,r,i)}).replace(u,function(e,n,r,i){return t(n,r,i)}).replace(a,function(e,t,n,r,i){var o=i[r+e.length];return o&&c.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(s,function(e,t,n){return t+"#"+n.toLowerCase()}).replace(i,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==m.indexOf("background")&&(f=f.replace(d,function(e){return r(f,",").pop().indexOf("gradient(")>-1?e:"transparent"})),e(f)):e(f):f}}};return Gv=m}function Pb(){if(jv)return Vv;jv=1;var e=/\(0deg\)/g,t={level1:{value:function(t,n,r){return r.compatibility.properties.zeroUnits?-1==n.indexOf("0deg")?n:n.replace(e,"(0)"):n}}};return Vv=t}function Fb(){if(Hv)return qv;Hv=1;var e=/^url\(/i;return qv=function(t){return e.test(t)}}function Ib(){if($v)return Kv;$v=1;var e=Ob(),t=Fb(),n=Eb().OptimizationLevel,r=/^expression\(.*\)$/,i=/^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/,o=/([\s,/])/,a=/(^|\D)\.0+(\D|$)/g,s=/\.([1-9]*)0+(\D|$)/g,c=/(^|\D)0\.(\d)/g,u=/([^\w\d-]|^)-0([^.]|$)/g,l=/(^|\s)0+([1-9])/g;function p(n){var d,m;return t(n)||r.test(n)?n:(d=i.exec(n))?(m=e(d[2],o).map(function(e){return p(e)}),d[1]+"("+m.join("")+")"):function(e){return-1==e.indexOf("0")?e:(e.indexOf("-")>-1&&(e=e.replace(u,"$10$2").replace(u,"$10$2")),e.replace(l,"$1$2").replace(a,"$10$2").replace(s,function(e,t,n){return(t.length>0?".":"")+t+n}).replace(c,"$1.$2"))}(n)}var d={level1:{value:function(e,t,r){return r.level[n.One].replaceZeroUnits?p(t):t}}};return Kv=d}function Mb(){if(Xv)return Wv;Xv=1;var e={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}}};return Wv=e}function Nb(){if(Zv)return Yv;Zv=1;var e=Eb().OptimizationLevel,t=/^local\(/i,n=/^('.*'|".*")$/,r=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,i=/^['"](?: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)['"]$/,o={level1:{value:function(o,a,s){return("font-family"!=o&&"font"!=o||!i.test(a))&&s.level[e.One].removeQuotes&&(n.test(a)||t.test(a))&&r.test(a)?a.substring(1,a.length-1):a}}};return Yv=o}function Lb(){if(Jv)return Qv;Jv=1;var e=Eb().OptimizationLevel,t=/^(-?[\d.]+)(m?s)$/,n={level1:{value:function(n,r,i){return i.level[e.One].replaceTimeUnits&&t.test(r)?r.replace(t,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}):r}}};return Qv=n}function Bb(){if(t_)return e_;t_=1;var e=/(?:^|\s|\()(-?\d+)px/,t={level1:{value:function(t,n,r){return e.test(n)?n.replace(e,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&&(n=e.substring(0,e.indexOf(t))+n),n&&n.length<e.length?n:e)}):n}}};return e_=t}function Ub(){if(r_)return n_;r_=1;var e=Fb(),t=Eb().OptimizationLevel,n=/^url\(/i,r={level1:{value:function(r,i,o){return o.level[t.One].normalizeUrls&&e(i)?i.replace(n,"url("):i}}};return n_=r}function Gb(){if(o_)return i_;o_=1;var e=/^url\(['"].+['"]\)$/,t=/^url\(['"].*[*\s()'"].*['"]\)$/,n=/["']/g,r=/^url\(['"]data:[^;]+;charset/,i={level1:{value:function(i,o,a){return a.compatibility.properties.urlQuotes||!e.test(o)||t.test(o)||r.test(o)?o:o.replace(n,"")}}};return i_=i}function zb(){if(s_)return a_;s_=1;var e=Fb(),t=/\\?\n|\\?\r\n/g,n=/(\()\s+/g,r=/\s+(\))/g;return a_={level1:{value:function(i,o){return e(o)?o.replace(t,"").replace(n,"$1").replace(r,"$1"):o}}}}function Vb(){if(u_)return c_;u_=1;var e=Eb().OptimizationLevel,t=ab(),n=/\) ?\/ ?/g,r=/, /g,i=/\r?\n/g,o=/\s+/g,a=/\s+(;?\))/g,s=/(\(;?)\s+/g,c=/^--\S+$/,u=/^var\(\s*--\S+\s*\)$/,l={level1:{value:function(l,p,d){return d.level[e.One].removeWhitespace?c.test(l)&&!u.test(p)||-1==p.indexOf(" ")&&-1==p.indexOf("\n")||0===p.indexOf("expression")||p.indexOf(t.SINGLE_QUOTE)>-1||p.indexOf(t.DOUBLE_QUOTE)>-1?p:((p=(p=p.replace(i,"")).replace(o," ")).indexOf("calc")>-1&&(p=p.replace(n,")/ ")),p.replace(s,"$1").replace(a,"$1").replace(r,",")):p}}};return c_=l}function jb(){if(p_)return l_;p_=1;var e=Ob(),t=/^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/,n=/^(?:-moz-calc|-webkit-calc|calc|rgb|hsl|rgba|hsla|min|max|clamp|expression)\(/,r=/([\s,/])/;function i(o,a){var s,c;return n.test(o)?o:(s=t.exec(o))?(c=e(s[2],r).map(function(e){return i(e,a)}),s[1]+"("+c.join("")+")"):function(e,t){return e.replace(t.unitsRegexp,"$10$2").replace(t.unitsRegexp,"$10$2")}(o,a)}var o={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:i(t,n):t}}};return l_=o}function qb(){return m_?d_:(m_=1,d_={color:Db().level1.value,degrees:Pb().level1.value,fraction:Ib().level1.value,precision:Mb().level1.value,textQuotes:Nb().level1.value,time:Lb().level1.value,unit:Bb().level1.value,urlPrefix:Ub().level1.value,urlQuotes:Gb().level1.value,urlWhiteSpace:zb().level1.value,whiteSpace:Vb().level1.value,zero:jb().level1.value})}function Hb(){if(h_)return f_;h_=1;var e=hb(),t=vb(),n=yb(),r=Cb(),i=qb(),o=ib(),a={animation:{canOverride:t.generic.components([t.generic.time,t.generic.timingFunction,t.generic.time,t.property.animationIterationCount,t.property.animationDirection,t.property.animationFillMode,t.property.animationPlayState,t.property.animationName]),components:["animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-name"],breakUp:e.multiplex(e.animation),defaultValue:"none",restore:n.multiplex(n.withoutDefaults),shorthand:!0,valueOptimizers:[i.whiteSpace,i.textQuotes,i.time,i.fraction,i.precision,i.unit,i.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-delay":{canOverride:t.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",valueOptimizers:[i.time,i.fraction,i.precision,i.unit,i.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-direction":{canOverride:t.property.animationDirection,componentOf:["animation"],defaultValue:"normal",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-duration":{canOverride:t.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",keepUnlessDefault:"animation-delay",valueOptimizers:[i.time,i.fraction,i.precision,i.unit,i.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-fill-mode":{canOverride:t.property.animationFillMode,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-iteration-count":{canOverride:t.property.animationIterationCount,componentOf:["animation"],defaultValue:"1",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-name":{canOverride:t.property.animationName,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",valueOptimizers:[i.textQuotes],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-play-state":{canOverride:t.property.animationPlayState,componentOf:["animation"],defaultValue:"running",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-timing-function":{canOverride:t.generic.timingFunction,componentOf:["animation"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},background:{canOverride:t.generic.components([t.generic.image,t.property.backgroundPosition,t.property.backgroundSize,t.property.backgroundRepeat,t.property.backgroundAttachment,t.property.backgroundOrigin,t.property.backgroundClip,t.generic.color]),components:["background-image","background-position","background-size","background-repeat","background-attachment","background-origin","background-clip","background-color"],breakUp:e.multiplex(e.background),defaultValue:"0 0",propertyOptimizer:r.background,restore:n.multiplex(n.background),shortestValue:"0",shorthand:!0,valueOptimizers:[i.whiteSpace,i.urlWhiteSpace,i.fraction,i.zero,i.color,i.urlPrefix,i.urlQuotes]},"background-attachment":{canOverride:t.property.backgroundAttachment,componentOf:["background"],defaultValue:"scroll",intoMultiplexMode:"real"},"background-clip":{canOverride:t.property.backgroundClip,componentOf:["background"],defaultValue:"border-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-color":{canOverride:t.generic.color,componentOf:["background"],defaultValue:"transparent",intoMultiplexMode:"real",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red",valueOptimizers:[i.whiteSpace,i.fraction,i.color]},"background-image":{canOverride:t.generic.image,componentOf:["background"],defaultValue:"none",intoMultiplexMode:"default",valueOptimizers:[i.urlWhiteSpace,i.urlPrefix,i.urlQuotes,i.whiteSpace,i.fraction,i.precision,i.unit,i.zero,i.color]},"background-origin":{canOverride:t.property.backgroundOrigin,componentOf:["background"],defaultValue:"padding-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-position":{canOverride:t.property.backgroundPosition,componentOf:["background"],defaultValue:["0","0"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"background-repeat":{canOverride:t.property.backgroundRepeat,componentOf:["background"],defaultValue:["repeat"],doubleValues:!0,intoMultiplexMode:"real"},"background-size":{canOverride:t.property.backgroundSize,componentOf:["background"],defaultValue:["auto"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0 0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},bottom:{canOverride:t.property.bottom,defaultValue:"auto",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},border:{breakUp:e.border,canOverride:t.generic.components([t.generic.unit,t.property.borderStyle,t.generic.color]),components:["border-width","border-style","border-color"],defaultValue:"none",overridesShorthands:["border-bottom","border-left","border-right","border-top"],restore:n.withoutDefaults,shorthand:!0,shorthandComponents:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.zero,i.color]},"border-bottom":{breakUp:e.border,canOverride:t.generic.components([t.generic.unit,t.property.borderStyle,t.generic.color]),components:["border-bottom-width","border-bottom-style","border-bottom-color"],defaultValue:"none",restore:n.withoutDefaults,shorthand:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.zero,i.color]},"border-bottom-color":{canOverride:t.generic.color,componentOf:["border-bottom","border-color"],defaultValue:"none",valueOptimizers:[i.whiteSpace,i.fraction,i.color]},"border-bottom-left-radius":{canOverride:t.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:r.borderRadius,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero],vendorPrefixes:["-moz-","-o-"]},"border-bottom-right-radius":{canOverride:t.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:r.borderRadius,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero],vendorPrefixes:["-moz-","-o-"]},"border-bottom-style":{canOverride:t.property.borderStyle,componentOf:["border-bottom","border-style"],defaultValue:"none"},"border-bottom-width":{canOverride:t.generic.unit,componentOf:["border-bottom","border-width"],defaultValue:"medium",oppositeTo:"border-top-width",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"border-collapse":{canOverride:t.property.borderCollapse,defaultValue:"separate"},"border-color":{breakUp:e.fourValues,canOverride:t.generic.components([t.generic.color,t.generic.color,t.generic.color,t.generic.color]),componentOf:["border"],components:["border-top-color","border-right-color","border-bottom-color","border-left-color"],defaultValue:"none",restore:n.fourValues,shortestValue:"red",shorthand:!0,singleTypeComponents:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.color]},"border-left":{breakUp:e.border,canOverride:t.generic.components([t.generic.unit,t.property.borderStyle,t.generic.color]),components:["border-left-width","border-left-style","border-left-color"],defaultValue:"none",restore:n.withoutDefaults,shorthand:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.zero,i.color]},"border-left-color":{canOverride:t.generic.color,componentOf:["border-color","border-left"],defaultValue:"none",valueOptimizers:[i.whiteSpace,i.fraction,i.color]},"border-left-style":{canOverride:t.property.borderStyle,componentOf:["border-left","border-style"],defaultValue:"none"},"border-left-width":{canOverride:t.generic.unit,componentOf:["border-left","border-width"],defaultValue:"medium",oppositeTo:"border-right-width",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"border-radius":{breakUp:e.borderRadius,canOverride:t.generic.components([t.generic.unit,t.generic.unit,t.generic.unit,t.generic.unit]),components:["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],defaultValue:"0",propertyOptimizer:r.borderRadius,restore:n.borderRadius,shorthand:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero],vendorPrefixes:["-moz-","-o-"]},"border-right":{breakUp:e.border,canOverride:t.generic.components([t.generic.unit,t.property.borderStyle,t.generic.color]),components:["border-right-width","border-right-style","border-right-color"],defaultValue:"none",restore:n.withoutDefaults,shorthand:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.color]},"border-right-color":{canOverride:t.generic.color,componentOf:["border-color","border-right"],defaultValue:"none",valueOptimizers:[i.whiteSpace,i.fraction,i.color]},"border-right-style":{canOverride:t.property.borderStyle,componentOf:["border-right","border-style"],defaultValue:"none"},"border-right-width":{canOverride:t.generic.unit,componentOf:["border-right","border-width"],defaultValue:"medium",oppositeTo:"border-left-width",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"border-style":{breakUp:e.fourValues,canOverride:t.generic.components([t.property.borderStyle,t.property.borderStyle,t.property.borderStyle,t.property.borderStyle]),componentOf:["border"],components:["border-top-style","border-right-style","border-bottom-style","border-left-style"],defaultValue:"none",restore:n.fourValues,shorthand:!0,singleTypeComponents:!0},"border-top":{breakUp:e.border,canOverride:t.generic.components([t.generic.unit,t.property.borderStyle,t.generic.color]),components:["border-top-width","border-top-style","border-top-color"],defaultValue:"none",restore:n.withoutDefaults,shorthand:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.zero,i.color,i.unit]},"border-top-color":{canOverride:t.generic.color,componentOf:["border-color","border-top"],defaultValue:"none",valueOptimizers:[i.whiteSpace,i.fraction,i.color]},"border-top-left-radius":{canOverride:t.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:r.borderRadius,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero],vendorPrefixes:["-moz-","-o-"]},"border-top-right-radius":{canOverride:t.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:r.borderRadius,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero],vendorPrefixes:["-moz-","-o-"]},"border-top-style":{canOverride:t.property.borderStyle,componentOf:["border-style","border-top"],defaultValue:"none"},"border-top-width":{canOverride:t.generic.unit,componentOf:["border-top","border-width"],defaultValue:"medium",oppositeTo:"border-bottom-width",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"border-width":{breakUp:e.fourValues,canOverride:t.generic.components([t.generic.unit,t.generic.unit,t.generic.unit,t.generic.unit]),componentOf:["border"],components:["border-top-width","border-right-width","border-bottom-width","border-left-width"],defaultValue:"medium",restore:n.fourValues,shortestValue:"0",shorthand:!0,singleTypeComponents:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"box-shadow":{propertyOptimizer:r.boxShadow,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero,i.color],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},clear:{canOverride:t.property.clear,defaultValue:"none"},clip:{valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},color:{canOverride:t.generic.color,defaultValue:"transparent",shortestValue:"red",valueOptimizers:[i.whiteSpace,i.fraction,i.color]},"column-gap":{valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},cursor:{canOverride:t.property.cursor,defaultValue:"auto"},display:{canOverride:t.property.display},filter:{propertyOptimizer:r.filter,valueOptimizers:[i.fraction]},float:{canOverride:t.property.float,defaultValue:"none"},font:{breakUp:e.font,canOverride:t.generic.components([t.property.fontStyle,t.property.fontVariant,t.property.fontWeight,t.property.fontStretch,t.generic.unit,t.generic.unit,t.property.fontFamily]),components:["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],restore:n.font,shorthand:!0,valueOptimizers:[i.textQuotes]},"font-family":{canOverride:t.property.fontFamily,defaultValue:"user|agent|specific",valueOptimizers:[i.textQuotes]},"font-size":{canOverride:t.generic.unit,defaultValue:"medium",shortestValue:"0",valueOptimizers:[i.fraction]},"font-stretch":{canOverride:t.property.fontStretch,defaultValue:"normal"},"font-style":{canOverride:t.property.fontStyle,defaultValue:"normal"},"font-variant":{canOverride:t.property.fontVariant,defaultValue:"normal"},"font-weight":{canOverride:t.property.fontWeight,defaultValue:"normal",propertyOptimizer:r.fontWeight,shortestValue:"400"},gap:{valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},height:{canOverride:t.generic.unit,defaultValue:"auto",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},left:{canOverride:t.property.left,defaultValue:"auto",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"letter-spacing":{valueOptimizers:[i.fraction,i.zero]},"line-height":{canOverride:t.generic.unitOrNumber,defaultValue:"normal",shortestValue:"0",valueOptimizers:[i.fraction,i.zero]},"list-style":{canOverride:t.generic.components([t.property.listStyleType,t.property.listStylePosition,t.property.listStyleImage]),components:["list-style-type","list-style-position","list-style-image"],breakUp:e.listStyle,restore:n.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-image":{canOverride:t.generic.image,componentOf:["list-style"],defaultValue:"none"},"list-style-position":{canOverride:t.property.listStylePosition,componentOf:["list-style"],defaultValue:"outside",shortestValue:"inside"},"list-style-type":{canOverride:t.property.listStyleType,componentOf:["list-style"],defaultValue:"decimal|disc",shortestValue:"none"},margin:{breakUp:e.fourValues,canOverride:t.generic.components([t.generic.unit,t.generic.unit,t.generic.unit,t.generic.unit]),components:["margin-top","margin-right","margin-bottom","margin-left"],defaultValue:"0",propertyOptimizer:r.margin,restore:n.fourValues,shorthand:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"margin-bottom":{canOverride:t.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-top",propertyOptimizer:r.margin,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"margin-inline-end":{valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"margin-inline-start":{valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"margin-left":{canOverride:t.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-right",propertyOptimizer:r.margin,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"margin-right":{canOverride:t.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-left",propertyOptimizer:r.margin,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"margin-top":{canOverride:t.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-bottom",propertyOptimizer:r.margin,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"max-height":{canOverride:t.generic.unit,defaultValue:"none",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"max-width":{canOverride:t.generic.unit,defaultValue:"none",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"min-height":{canOverride:t.generic.unit,defaultValue:"0",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"min-width":{canOverride:t.generic.unit,defaultValue:"0",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},opacity:{valueOptimizers:[i.fraction,i.precision]},outline:{canOverride:t.generic.components([t.generic.color,t.property.outlineStyle,t.generic.unit]),components:["outline-color","outline-style","outline-width"],breakUp:e.outline,restore:n.withoutDefaults,defaultValue:"0",propertyOptimizer:r.outline,shorthand:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"outline-color":{canOverride:t.generic.color,componentOf:["outline"],defaultValue:"invert",shortestValue:"red",valueOptimizers:[i.whiteSpace,i.fraction,i.color]},"outline-style":{canOverride:t.property.outlineStyle,componentOf:["outline"],defaultValue:"none"},"outline-width":{canOverride:t.generic.unit,componentOf:["outline"],defaultValue:"medium",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},overflow:{canOverride:t.property.overflow,defaultValue:"visible"},"overflow-x":{canOverride:t.property.overflow,defaultValue:"visible"},"overflow-y":{canOverride:t.property.overflow,defaultValue:"visible"},padding:{breakUp:e.fourValues,canOverride:t.generic.components([t.generic.unit,t.generic.unit,t.generic.unit,t.generic.unit]),components:["padding-top","padding-right","padding-bottom","padding-left"],defaultValue:"0",propertyOptimizer:r.padding,restore:n.fourValues,shorthand:!0,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"padding-bottom":{canOverride:t.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-top",propertyOptimizer:r.padding,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"padding-left":{canOverride:t.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-right",propertyOptimizer:r.padding,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"padding-right":{canOverride:t.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-left",propertyOptimizer:r.padding,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"padding-top":{canOverride:t.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-bottom",propertyOptimizer:r.padding,valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},position:{canOverride:t.property.position,defaultValue:"static"},right:{canOverride:t.property.right,defaultValue:"auto",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"row-gap":{valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},src:{valueOptimizers:[i.urlWhiteSpace,i.urlPrefix,i.urlQuotes]},"stroke-width":{valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"text-align":{canOverride:t.property.textAlign,defaultValue:"left|right"},"text-decoration":{canOverride:t.property.textDecoration,defaultValue:"none"},"text-indent":{canOverride:t.property.textOverflow,defaultValue:"none",valueOptimizers:[i.fraction,i.zero]},"text-overflow":{canOverride:t.property.textOverflow,defaultValue:"none"},"text-shadow":{canOverride:t.property.textShadow,defaultValue:"none",valueOptimizers:[i.whiteSpace,i.fraction,i.zero,i.color]},top:{canOverride:t.property.top,defaultValue:"auto",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},transform:{canOverride:t.property.transform,valueOptimizers:[i.whiteSpace,i.degrees,i.fraction,i.precision,i.unit,i.zero],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},transition:{breakUp:e.multiplex(e.transition),canOverride:t.generic.components([t.property.transitionProperty,t.generic.time,t.generic.timingFunction,t.generic.time]),components:["transition-property","transition-duration","transition-timing-function","transition-delay"],defaultValue:"none",restore:n.multiplex(n.withoutDefaults),shorthand:!0,valueOptimizers:[i.time,i.fraction],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-delay":{canOverride:t.generic.time,componentOf:["transition"],defaultValue:"0s",intoMultiplexMode:"real",valueOptimizers:[i.time],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-duration":{canOverride:t.generic.time,componentOf:["transition"],defaultValue:"0s",intoMultiplexMode:"real",keepUnlessDefault:"transition-delay",valueOptimizers:[i.time,i.fraction],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-property":{canOverride:t.generic.propertyName,componentOf:["transition"],defaultValue:"all",intoMultiplexMode:"placeholder",placeholderValue:"_",vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-timing-function":{canOverride:t.generic.timingFunction,componentOf:["transition"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"vertical-align":{canOverride:t.property.verticalAlign,defaultValue:"baseline",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},visibility:{canOverride:t.property.visibility,defaultValue:"visible"},"-webkit-tap-highlight-color":{valueOptimizers:[i.whiteSpace,i.color]},"-webkit-margin-end":{valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"white-space":{canOverride:t.property.whiteSpace,defaultValue:"normal"},width:{canOverride:t.generic.unit,defaultValue:"auto",shortestValue:"0",valueOptimizers:[i.whiteSpace,i.fraction,i.precision,i.unit,i.zero]},"z-index":{canOverride:t.property.zIndex,defaultValue:"auto"}},s={};function c(e,t){var n=o(a[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 u in a){var l=a[u];if("vendorPrefixes"in l){for(var p=0;p<l.vendorPrefixes.length;p++){var d=l.vendorPrefixes[p],m=c(u,d);delete m.vendorPrefixes,s[d+u]=m}delete l.vendorPrefixes}}return f_=o(a,s)}function Kb(){if(v_)return g_;v_=1;var e="",t=ob().Breaks,n=ob().Spaces,r=ab(),i=db();function o(e){return"filter"==e[1][1]||"-ms-filter"==e[1][1]}function a(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]==r.CLOSE_ROUND_BRACKET}(t,n)||function(e,t){return e[t+1]&&e[t+1][1]==r.FORWARD_SLASH}(t,n)||function(e,t){return e[t][1]==r.FORWARD_SLASH}(t,n)||function(e,t){return e[t+1]&&e[t+1][1]==r.COMMA}(t,n)||function(e,t){return e[t][1]==r.COMMA}(t,n)}function s(e,t){for(var n=e.store,r=0,i=t.length;r<i;r++)n(e,t[r]),r<i-1&&n(e,g(e))}function c(e,t){for(var n=function(e){for(var t=e.length-1;t>=0&&e[t][0]==i.COMMENT;t--);return t}(t),r=0,o=t.length;r<o;r++)u(e,t,r,n)}function u(o,a,u,g){var v,_=o.store,y=a[u],b=y[2],E=b&&b[0]===i.PROPERTY_BLOCK;v=o.format?!(!o.format.semicolonAfterLastProperty&&!E)||u<g:u<g||E;var x=u===g;switch(y[0]){case i.AT_RULE:_(o,y),_(o,h(o,t.AfterProperty,!1));break;case i.AT_RULE_BLOCK:s(o,y[1]),_(o,m(o,t.AfterRuleBegins,!0)),c(o,y[2]),_(o,f(o,t.AfterRuleEnds,!1,x));break;case i.COMMENT:_(o,y),_(o,p(o,t.AfterComment)+o.indentWith);break;case i.PROPERTY:_(o,y[1]),_(o,function(t){return t.format?r.COLON+(d(t,n.BeforeValue)?r.SPACE:e):r.COLON}(o)),b&&l(o,y),_(o,v?h(o,t.AfterProperty,x):e);break;case i.RAW:_(o,y)}}function l(e,n){var s,u,l=e.store;if(n[2][0]==i.PROPERTY_BLOCK)l(e,m(e,t.AfterBlockBegins,!1)),c(e,n[2][1]),l(e,f(e,t.AfterBlockEnds,!1,!0));else for(s=2,u=n.length;s<u;s++)l(e,n[s]),s<u-1&&(o(n)||!a(e,n,s))&&l(e,r.SPACE)}function p(t,n){return t.format?t.format.breaks[n]:e}function d(e,t){return e.format&&e.format.spaces[t]}function m(t,i,o){return t.format?(t.indentBy+=t.format.indentBy,t.indentWith=t.format.indentWith.repeat(t.indentBy),(o&&d(t,n.BeforeBlockBegins)?r.SPACE:e)+r.OPEN_CURLY_BRACKET+p(t,i)+t.indentWith):r.OPEN_CURLY_BRACKET}function f(n,i,o,a){return n.format?(n.indentBy-=n.format.indentBy,n.indentWith=n.format.indentWith.repeat(n.indentBy),p(n,o?t.BeforeBlockEnds:t.AfterProperty)+n.indentWith+r.CLOSE_CURLY_BRACKET+(a?e:p(n,i)+n.indentWith)):r.CLOSE_CURLY_BRACKET}function h(t,n,i){return t.format?r.SEMICOLON+(i?e:p(t,n)+t.indentWith):r.SEMICOLON}function g(e){return e.format?r.COMMA+p(e,t.BetweenSelectors)+e.indentWith:r.COMMA}return g_={all:function e(n,r){var o,a,u,l,d=n.store;for(u=0,l=r.length;u<l;u++)switch(a=u==l-1,(o=r[u])[0]){case i.AT_RULE:d(n,o),d(n,h(n,t.AfterAtRule,a));break;case i.AT_RULE_BLOCK:s(n,o[1]),d(n,m(n,t.AfterRuleBegins,!0)),c(n,o[2]),d(n,f(n,t.AfterRuleEnds,!1,a));break;case i.NESTED_BLOCK:s(n,o[1]),d(n,m(n,t.AfterBlockBegins,!0)),e(n,o[2]),d(n,f(n,t.AfterBlockEnds,!0,a));break;case i.COMMENT:d(n,o),d(n,p(n,t.AfterComment)+n.indentWith);break;case i.RAW:d(n,o);break;case i.RULE:s(n,o[1]),d(n,m(n,t.AfterRuleBegins,!0)),c(n,o[2]),d(n,f(n,t.AfterRuleEnds,!1,a))}},body:c,property:u,rules:s,value:l},g_}function $b(){if(y_)return __;y_=1;var e=Kb();function t(e,t){e.output.push("string"==typeof t?t:t[1])}function n(){return{output:[],store:t}}return __={all:function(t){var r=n();return e.all(r,t),r.output.join("")},body:function(t){var r=n();return e.body(r,t),r.output.join("")},property:function(t,r){var i=n();return e.property(i,t,r,!0),i.output.join("")},rules:function(t){var r=n();return e.rules(r,t),r.output.join("")},value:function(t){var r=n();return e.value(r,t),r.output.join("")}}}function Wb(){if(w_)return x_;w_=1;var e=ab(),t=Ob(),n=/\/deep\//,r=/^::/,i=/:(-moz-|-ms-|-o-|-webkit-)/,o=":not",a=[":dir",":lang",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type"],s=/[>+~]/,c=[":after",":before",":first-letter",":first-line",":lang"],u=["::after","::before","::first-letter","::first-line"],l="double-quote",p="single-quote",d="root";function m(e){return n.test(e)}function f(e){return i.test(e)}function h(t){var n,r,i,o,a,c,u=[],m=[],f=d,h=0,g=!1,v=!1;for(a=0,c=t.length;a<c;a++)n=t[a],o=!i&&s.test(n),r=f==l||f==p,i?m.push(n):n==e.DOUBLE_QUOTE&&f==d?(m.push(n),f=l):n==e.DOUBLE_QUOTE&&f==l?(m.push(n),f=d):n==e.SINGLE_QUOTE&&f==d?(m.push(n),f=p):n==e.SINGLE_QUOTE&&f==p?(m.push(n),f=d):r?m.push(n):n==e.OPEN_ROUND_BRACKET?(m.push(n),h++):n==e.CLOSE_ROUND_BRACKET&&1==h&&g?(m.push(n),u.push(m.join("")),h--,m=[],g=!1):n==e.CLOSE_ROUND_BRACKET?(m.push(n),h--):n==e.COLON&&0===h&&g&&!v?(u.push(m.join("")),(m=[]).push(n)):n!=e.COLON||0!==h||v?n==e.SPACE&&0===h&&g||o&&0===h&&g?(u.push(m.join("")),m=[],g=!1):m.push(n):((m=[]).push(n),g=!0),i=n==e.BACK_SLASH,v=n==e.COLON;return m.length>0&&g&&u.push(m.join("")),u}function g(t,n,r,i,s){return function(t,n,r){var i,o,a,s;for(a=0,s=t.length;a<s;a++)if(o=(i=t[a]).indexOf(e.OPEN_ROUND_BRACKET)>-1?i.substring(0,i.indexOf(e.OPEN_ROUND_BRACKET)):i,-1===n.indexOf(o)&&-1===r.indexOf(o))return!1;return!0}(n,r,i)&&function(t){var n,r,i,o,s,c;for(s=0,c=t.length;s<c;s++){if(r=(o=(i=(n=t[s]).indexOf(e.OPEN_ROUND_BRACKET))>-1)?n.substring(0,i):n,o&&-1==a.indexOf(r))return!1;if(!o&&a.indexOf(r)>-1)return!1}return!0}(n)&&(n.length<2||!function(t,n){var r,i,a,s,c,u,l,p,d=0;for(l=0,p=n.length;l<p&&(r=n[l],a=n[l+1]);l++)if(i=t.indexOf(r,d),d=s=t.indexOf(r,i+1),i+r.length==s&&(c=r.indexOf(e.OPEN_ROUND_BRACKET)>-1?r.substring(0,r.indexOf(e.OPEN_ROUND_BRACKET)):r,u=a.indexOf(e.OPEN_ROUND_BRACKET)>-1?a.substring(0,a.indexOf(e.OPEN_ROUND_BRACKET)):a,c!=o||u!=o))return!0;return!1}(t,n))&&(n.length<2||s&&function(e){var t,n,r,i=0;for(n=0,r=e.length;n<r;n++)if(v(t=e[n])?i+=u.indexOf(t)>-1?1:0:i+=c.indexOf(t)>-1?1:0,i>1)return!1;return!0}(n))}function v(e){return r.test(e)}return x_=function(n,r,i,o){var a,s,c,u=t(n,e.COMMA);for(s=0,c=u.length;s<c;s++)if(0===(a=u[s]).length||m(a)||f(a)||a.indexOf(e.COLON)>-1&&!g(a,h(a),r,i,o))return!1;return!0}}function Xb(){if(S_)return A_;S_=1;var e=ab();return A_=function(t,n,r){var i,o,a,s=n.value.length,c=r.value.length,u=Math.max(s,c),l=Math.min(s,c)-1;for(a=0;a<u;a++)if(i=n.value[a]&&n.value[a][1]||i,o=r.value[a]&&r.value[a][1]||o,i!=e.COMMA&&o!=e.COMMA&&!t(i,o,a,a<=l))return!1;return!0},A_}function Yb(){return k_?T_:(k_=1,T_=function(e){for(var t=e.value.length-1;t>=0;t--)if("inherit"==e.value[t][1])return!0;return!1})}function Zb(){if(D_)return O_;D_=1;var e=Hb(),t=fb();function n(e,t){return 1==e.value.length&&t.isVariable(e.value[0][1])}function r(e,t){return e.value.length>1&&e.value.filter(function(e){return t.isVariable(e[1])}).length>1}return O_=function(i,o,a){for(var s,c,u,l=i.length-1;l>=0;l--){var p=i[l],d=e[p.name];if(!p.dynamic&&d&&d.shorthand){if(n(p,o)||r(p,o)){p.optimizable=!1;continue}p.shorthand=!0,p.dirty=!0;try{if(p.components=d.breakUp(p,e,o),d.shorthandComponents)for(c=0,u=p.components.length;c<u;c++)(s=p.components[c]).components=e[s.name].breakUp(s,e,o)}catch(e){if(!(e instanceof t))throw e;p.components=[],a.push(e.message)}p.components.length>0?p.multiplex=p.components[0].multiplex:p.unused=!0}}},O_}function Qb(){if(F_)return P_;F_=1;var e=Hb();return P_=function(t){var n=e[t.name];return n&&n.shorthand?n.restore(t,e):t.value}}function Jb(){if($_)return K_;$_=1;var e=Yb(),t=L_?N_:(L_=1,N_=function(e){for(var t=e.value.length-1;t>=0;t--)if("unset"==e.value[t][1])return!0;return!1}),n=Xb(),r=function(){if(U_)return B_;U_=1;var e=Hb();function t(e,t){return e.components.filter(t)[0]}return B_=function(n,r){var i,o=(i=r,function(e){return i.name===e.name});return t(n,o)||function(n,r){var i,o,a;if(e[n.name].shorthandComponents)for(o=0,a=n.components.length;o<a;o++)if(i=t(n.components[o],r))return i}(n,o)}}(),i=function(){if(z_)return G_;z_=1;var e=Hb();function t(t,n){var r=e[t.name];return"components"in r&&r.components.indexOf(n.name)>-1}return G_=function(n,r,i){return t(n,r)||!i&&!!e[n.name].shorthandComponents&&function(e,n){return e.components.some(function(e){return t(e,n)})}(n,r)}}(),o=function(){if(j_)return V_;j_=1;var e=ab();return V_=function(t){return"font"!=t.name||-1==t.value[0][1].indexOf(e.INTERNAL)}}(),a=function(){if(H_)return q_;H_=1;var e=Hb();return q_=function(t,n){return t.name in e&&"overridesShorthands"in e[t.name]&&e[t.name].overridesShorthands.indexOf(n.name)>-1}}(),s=gb().same,c=Hb(),u=_b().deep,l=Qb(),p=_b().shallow,d=pb(),m=db(),f=ab(),h=$b().property;function g(e,t,n){return t===n}function v(e,t){for(var r=0;r<e.components.length;r++){var i=e.components[r],o=c[i.name],a=o&&o.canOverride||g,s=p(i);if(s.value=[[m.PROPERTY_VALUE,o.defaultValue]],!n(a.bind(null,t),s,i))return!0}return!1}function _(e,t){t.unused=!0,x(t,A(e)),e.value=t.value}function y(e,t){t.unused=!0,e.multiplex=!0,e.value=t.value}function b(e,t){t.multiplex?y(e,t):e.multiplex?_(e,t):function(e,t){t.unused=!0,e.value=t.value}(e,t)}function E(e,t){t.unused=!0;for(var n=0,r=e.components.length;n<r;n++)b(e.components[n],t.components[n])}function x(e,t){e.multiplex=!0,c[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||w(n,t)}(e,t):w(e,t)}function w(e,t){for(var n,r=c[e.name],i="real"==r.intoMultiplexMode,o="real"==r.intoMultiplexMode?e.value.slice(0):"placeholder"==r.intoMultiplexMode?r.placeholderValue:r.defaultValue,a=A(e),s=o.length;a<t;a++)if(e.value.push([m.PROPERTY_VALUE,f.COMMA]),Array.isArray(o))for(n=0;n<s;n++)e.value.push(i?o[n]:[m.PROPERTY_VALUE,o[n]]);else e.value.push(i?o:[m.PROPERTY_VALUE,o])}function A(e){for(var t=0,n=0,r=e.value.length;n<r;n++)e.value[n][1]==f.COMMA&&t++;return t+1}function S(e){var t=[m.PROPERTY,[m.PROPERTY_NAME,e.name]].concat(e.value);return h([t],0).length}function T(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 k(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]!=f.COMMA&&e(t.value[n][1]))return!0;return!1}function C(e,t){if(!e.multiplex&&!t.multiplex||e.multiplex&&t.multiplex)return!1;var n,i=e.multiplex?e:t,o=e.multiplex?t:e,a=u(i);d([a],l);var s=u(o);d([s],l);var c=S(a)+1+S(s);return e.multiplex?_(n=r(a,s),s):(n=r(s,a),x(s,A(a)),y(n,a)),d([s],l),c<=S(s)}function O(e){return e.name in c}function D(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]==f.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)}return K_=function(u,l,p,d){var m,f,h,_,y,w,S,P,F,I,M;e:for(F=u.length-1;F>=0;F--)if(O(f=u[F])&&!f.block){m=c[f.name].canOverride||g;t:for(I=F-1;I>=0;I--)if(O(h=u[I])&&!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])||e(f)||D(h,f)))if(f.shorthand&&i(f,h)){if(!f.important&&h.important)continue;if(!s([h],f.components))continue;if(!R(d.isFunction,h)&&k(f,d))continue;if(!o(f)){h.unused=!0;continue}_=r(f,h),m=c[h.name].canOverride||g,n(m.bind(null,d),h,_)&&(h.unused=!0)}else if(f.shorthand&&a(f,h)){if(!f.important&&h.important)continue;if(!s([h],f.components))continue;if(!R(d.isFunction,h)&&k(f,d))continue;for(M=(y=h.shorthand?h.components:[h]).length-1;M>=0;M--)if(w=y[M],S=r(f,w),m=c[w.name].canOverride||g,!n(m.bind(null,d),h,S))continue t;h.unused=!0}else if(l&&h.shorthand&&!f.shorthand&&i(h,f,!0)){if(f.important&&!h.important)continue;if(!f.important&&h.important){f.unused=!0;continue}if(T(u,F-1,h.name))continue;if(k(h,d))continue;if(!o(h))continue;if(t(h)||t(f))continue;if(_=r(h,f),n(m.bind(null,d),_,f)){var N=!p.properties.backgroundClipMerging&&_.name.indexOf("background-clip")>-1||!p.properties.backgroundOriginMerging&&_.name.indexOf("background-origin")>-1||!p.properties.backgroundSizeMerging&&_.name.indexOf("background-size")>-1,L=c[f.name].nonMergeableValue===f.value[0][1];if(N||L)continue;if(!p.properties.merging&&v(h,d))continue;if(_.value[0][1]!=f.value[0][1]&&(e(h)||e(f)))continue;if(C(h,f))continue;!h.multiplex&&f.multiplex&&x(h,A(f)),b(_,f),h.dirty=!0}}else if(l&&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(!o(f)){h.unused=!0;continue}for(M=h.components.length-1;M>=0;M--){var B=h.components[M],U=f.components[M];if(m=c[B.name].canOverride||g,!n(m.bind(null,d),B,U))continue e}E(h,f),h.dirty=!0}else if(l&&h.shorthand&&f.shorthand&&i(h,f)){if(!h.important&&f.important)continue;if(_=r(h,f),m=c[f.name].canOverride||g,!n(m.bind(null,d),_,f))continue;if(h.important&&!f.important){f.unused=!0;continue}if(c[f.name].restore(f,c).length>1)continue;b(_=r(h,f),f),f.dirty=!0}else if(h.name==f.name){if(P=!0,f.shorthand)for(M=f.components.length-1;M>=0&&P;M--)w=h.components[M],S=f.components[M],m=c[S.name].canOverride||g,P=n(m.bind(null,d),w,S);else m=c[f.name].canOverride||g,P=n(m.bind(null,d),h,f);if(h.important&&!f.important&&P){f.unused=!0;continue}if(!h.important&&f.important&&P){h.unused=!0;continue}if(!P)continue;h.unused=!0}}},K_}function eE(){if(X_)return W_;X_=1;var e=function(){if(M_)return I_;M_=1;var e=Xb(),t=Yb(),n=C_?R_:(C_=1,R_=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}),r=Zb(),i=Hb(),o=_b().deep,a=Qb(),s=pb(),c=mb().single,u=$b().body,l=db();function p(e,t,n,r){var o,a,s,c,u=e[t],l=[];for(o in n)void 0!==u&&o==u.name||(a=i[o],s=n[o],u&&d(n,o,u)?delete n[o]:a.components.length>Object.keys(s).length||m(s)||f(s,o,r)&&g(s)&&(v(s)?_(e,s,o,r):w(e,s,o,r),l.push(o)));for(c=l.length-1;c>=0;c--)delete n[l[c]]}function d(e,t,n){var r,o=i[t],a=i[n.name];if("overridesShorthands"in o&&o.overridesShorthands.indexOf(n.name)>-1)return!0;if(a&&"componentOf"in a)for(r in e[t])if(a.componentOf.indexOf(r)>-1)return!0;return!1}function m(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 f(t,n,o){var a,s,u,p,d=i[n],m=[l.PROPERTY,[l.PROPERTY_NAME,n],[l.PROPERTY_VALUE,d.defaultValue]],f=c(m);for(r([f],o,[]),u=0,p=d.components.length;u<p;u++)if(a=t[d.components[u]],s=i[a.name].canOverride||h,!e(s.bind(null,o),f.components[u],a))return!1;return!0}function h(e,t,n){return t===n}function g(e){var t,n,r,o,c=null;for(n in e)if(r=e[n],"restore"in(o=i[n])){if(s([r.all[r.position]],a),t=o.restore(r,i).length,null!==c&&t!==c)return!1;c=t}return!0}function v(e){var n,r,i=null;for(n in e){if(r=t(e[n]),null!==i&&i!==r)return!0;i=r}return!1}function _(e,n,p,d){var m,f,h,g,v=function(e,n,u){var p,d,m,f,h,g,v=[],_={},E={},x=i[n],w=[l.PROPERTY,[l.PROPERTY_NAME,n],[l.PROPERTY_VALUE,x.defaultValue]],A=c(w);for(r([A],u,[]),h=0,g=x.components.length;h<g;h++)p=e[x.components[h]],t(p)?(d=p.all[p.position].slice(0,2),Array.prototype.push.apply(d,p.value),v.push(d),(m=o(p)).value=y(e,m.name),A.components[h]=m,_[p.name]=o(p)):((m=o(p)).all=p.all,A.components[h]=m,E[p.name]=p);return A.important=e[Object.keys(e).pop()].important,f=b(E,1),w[1].push(f),s([A],a),w=w.slice(0,2),Array.prototype.push.apply(w,A.value),v.unshift(w),[v,A,_]}(n,p,d),_=function(e,n,a){var s,u,p,d,m,f,h=[],g={},v={},_=i[n],y=[l.PROPERTY,[l.PROPERTY_NAME,n],[l.PROPERTY_VALUE,"inherit"]],E=c(y);for(r([E],a,[]),m=0,f=_.components.length;m<f;m++)s=e[_.components[m]],t(s)?g[s.name]=s:(u=s.all[s.position].slice(0,2),Array.prototype.push.apply(u,s.value),h.push(u),v[s.name]=o(s));return p=b(g,1),y[1].push(p),d=b(g,2),y[2].push(d),h.unshift(y),[h,E,v]}(n,p,d),E=v[0],w=_[0],A=u(E).length<u(w).length,S=A?E:w,T=A?v[1]:_[1],k=A?v[2]:_[2],R=n[Object.keys(n).pop()],C=R.all,O=R.position;for(m in T.position=O,T.shorthand=!0,T.important=R.important,T.multiplex=!1,T.dirty=!0,T.all=C,T.all[O]=S[0],e.splice(O,1,T),n)(f=n[m]).unused=!0,T.multiplex=T.multiplex||f.multiplex,f.name in k&&(h=k[f.name],g=x(S,m),h.position=C.length,h.all=C,h.all.push(g),e.push(h))}function y(e,t){var n=i[t];return"oppositeTo"in n?e[n.oppositeTo].value:[[l.PROPERTY_VALUE,n.defaultValue]]}function b(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(E)}function E(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 x(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n][1][1]==t)return e[n]}function w(e,t,n,a){var s,u,p,d=i[n],m=[l.PROPERTY,[l.PROPERTY_NAME,n],[l.PROPERTY_VALUE,d.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=c(m);h.shorthand=!0,h.dirty=!0,h.multiplex=!1,r([h],a,[]);for(var g=0,v=d.components.length;g<v;g++){var _=t[d.components[g]];h.components[g]=o(_),h.important=_.important,h.multiplex=h.multiplex||_.multiplex,p=_.all}for(var y in t)t[y].unused=!0;s=b(t,1),m[1].push(s),u=b(t,2),m[2].push(u),h.position=f,h.all=p,h.all[f]=m,e.splice(f,1,h)}return I_=function(e,t){var r,o,a,s,c,u,l,d={};if(!(e.length<3)){for(s=0,c=e.length;s<c;s++)if(a=e[s],r=i[a.name],!a.dynamic&&!a.unused&&!a.hack&&!a.block&&(!r||!r.singleTypeComponents||n(a))&&(p(e,s,d,t),r&&r.componentOf))for(u=0,l=r.componentOf.length;u<l;u++)d[o=r.componentOf[u]]=d[o]||{},d[o][a.name]=a;p(e,s,d,t)}},I_}(),t=Jb(),n=Zb(),r=Qb(),i=mb().all,o=lb(),a=pb(),s=Eb().OptimizationLevel;return W_=function c(u,l,p,d){var m,f,h,g=d.options.level[s.Two],v=i(u,g.skipProperties);for(n(v,d.validator,d.warnings),f=0,h=v.length;f<h;f++)(m=v[f]).block&&c(m.value[0][1],l,p,d);p&&g.mergeIntoShorthands&&e(v,d.validator),l&&g.overrideProperties&&t(v,p,d.options.compatibility,d.validator),a(v,r),o(v)}}function tE(){if(J_)return Q_;J_=1;var e=/--.+$/;function t(t){return t.replace(e,"")}return Q_=function(e,n,r){var i,o,a,s,c,u;for(a=0,s=e.length;a<s;a++)for(i=e[a][1],c=0,u=n.length;c<u;c++){if(i==(o=n[c][1]))return!0;if(r&&t(i)==t(o))return!0}return!1}}function nE(){if(oy)return iy;oy=1;var e=tE(),t=function(){if(ry)return ny;ry=1;var e=function(){if(ty)return ey;ty=1;var e=ab(),t=/[a-zA-Z]/,n=/[\s,(>~+]/;function r(e,t){return e.indexOf(":not(",t)===t}return ey=function(i){var o,a,s,c,u,l,p,d=[0,0,0],m=0,f=!1,h=!1;for(l=0,p=i.length;l<p;l++){if(o=i[l],a);else if(o!=e.SINGLE_QUOTE||c||s)if(o==e.SINGLE_QUOTE&&!c&&s)s=!1;else if(o!=e.DOUBLE_QUOTE||c||s)if(o==e.DOUBLE_QUOTE&&c&&!s)c=!1;else{if(s||c)continue;m>0&&!f||(o==e.OPEN_ROUND_BRACKET?m++:o==e.CLOSE_ROUND_BRACKET&&1==m?(m--,f=!1):o==e.CLOSE_ROUND_BRACKET?m--:"#"==o?d[0]++:"."==o||o==e.OPEN_SQUARE_BRACKET?d[1]++:":"!=o||h||r(i,l)?":"==o?f=!0:(0===l||u)&&t.test(o)&&d[2]++:(d[1]++,f=!1))}else c=!0;else s=!0;h=":"==o,u=!(a=o==e.BACK_SLASH)&&n.test(o)}return d}}();function t(t,n){var r;return t in n||(n[t]=r=e(t)),r||n[t]}return ny=function(e,n,r){var i,o,a,s,c,u;for(a=0,s=e.length;a<s;a++)for(i=t(e[a][1],r),c=0,u=n.length;c<u;c++)if(o=t(n[c][1],r),i[0]===o[0]&&i[1]===o[1]&&i[2]===o[2])return!0;return!1},ny}(),n=/align-items|box-align|box-pack|flex|justify/,r=/^border-(top|right|bottom|left|color|style|width|radius)/;function i(i,p,d){var m,f,h=i[0],g=i[1],v=i[2],_=i[5],y=i[6],b=p[0],E=p[1],x=p[2],w=p[5],A=p[6];return!("font"==h&&"line-height"==b||"font"==b&&"line-height"==h||n.test(h)&&n.test(b)||v==x&&a(h)==a(b)&&o(h)^o(b)||"border"==v&&r.test(x)&&("border"==h||h==x||g!=E&&s(h,b))||"border"==x&&r.test(v)&&("border"==b||b==v||g!=E&&s(h,b))||"border"==v&&"border"==x&&h!=b&&(c(h)&&u(b)||u(h)&&c(b))||!(v!=x||!(h!=b||v!=x||g!=E&&(m=g,f=E,!o(m)||!o(f)||m.split("-")[1]==f.split("-")[2]))||h!=b&&v==x&&h!=v&&b!=x||h!=b&&v==x&&g==E)&&(!A||!y||l(v)||l(x)||e(w,_,!1))&&t(_,w,d))}function o(e){return/^-(?:moz|webkit|ms|o)-/.test(e)}function a(e){return e.replace(/^-(?:moz|webkit|ms|o)-/,"")}function s(e,t){return e.split("-").pop()==t.split("-").pop()}function c(e){return"border-top"==e||"border-right"==e||"border-bottom"==e||"border-left"==e}function u(e){return"border-color"==e||"border-style"==e||"border-width"==e}function l(e){return"font"==e||"line-height"==e||"list-style"==e}return iy={canReorder:function(e,t,n){for(var r=t.length-1;r>=0;r--)for(var o=e.length-1;o>=0;o--)if(!i(e[o],t[r],n))return!1;return!0},canReorderSingle:i},iy}function rE(){if(sy)return ay;sy=1;var e=db(),t=$b().rules,n=$b().value;function r(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()}return ay=function i(o){var a,s,c,u,l,p,d=[];if(o[0]==e.RULE)for(a=!/[.+>~]/.test(t(o[1])),l=0,p=o[2].length;l<p;l++)(s=o[2][l])[0]==e.PROPERTY&&0!==(c=s[1][1]).length&&(u=n(s,l),d.push([c,u,r(c),o[2][l],c+":"+u,o[1],a]));else if(o[0]==e.NESTED_BLOCK)for(l=0,p=o[2].length;l<p;l++)d=d.concat(i(o[2][l]));return d},ay}function iE(){return hy||(hy=1,fy=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}),fy}function oE(){if(Sy)return Ay;Sy=1;var e=Zb(),t=mb().single,n=pb(),r=db(),i=/^(-moz-|-o-|-webkit-)?animation-name$/,o=/^(-moz-|-o-|-webkit-)?animation$/,a=/^@(-moz-|-o-|-webkit-)?keyframes /,s=/\s{0,31}!important$/,c=/^(['"]?)(.*)\1$/;function u(e){return e.replace(c,"$2").replace(s,"")}function l(e,t,n,i){var o,a,s,c,u,l={};for(c=0,u=e.length;c<u;c++)t(e[c],l);if(0!==Object.keys(l).length)for(o in p(e,n,l,i),l)for(c=0,u=(a=l[o]).length;c<u;c++)(s=a[c])[s[0]==r.AT_RULE?1:2]=[]}function p(e,t,n,i){var o,a,s=t(n);for(o=0,a=e.length;o<a;o++)switch(e[o][0]){case r.RULE:s(e[o],i);break;case r.NESTED_BLOCK:p(e[o][2],t,n,i)}}function d(e,t){var n;e[0]==r.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 m(r){return function(i,o){var a,s,c,u;for(c=0,u=i[2].length;c<u;c++)"list-style"==(a=i[2][c])[1][1]&&(s=t(a),e([s],o.validator,o.warnings),s.components[0].value[0][1]in r&&delete r[a[2][1]],n([s])),"list-style-type"==a[1][1]&&a[2][1]in r&&delete r[a[2][1]]}}function f(e,t){var n,i,o,a;if(e[0]==r.AT_RULE_BLOCK&&"@font-face"==e[1][0][1])for(o=0,a=e[2].length;o<a;o++)if("font-family"==(n=e[2][o])[1][1]){t[i=u(n[2][1].toLowerCase())]=t[i]||[],t[i].push(e);break}}function h(r){return function(i,o){var a,s,c,l,p,d,m,f;for(p=0,d=i[2].length;p<d;p++){if("font"==(a=i[2][p])[1][1]){for(s=t(a),e([s],o.validator,o.warnings),m=0,f=(c=s.components[6]).value.length;m<f;m++)(l=u(c.value[m][1].toLowerCase()))in r&&delete r[l];n([s])}if("font-family"==a[1][1])for(m=2,f=a.length;m<f;m++)(l=u(a[m][1].toLowerCase()))in r&&delete r[l]}}}function g(e,t){var n;e[0]==r.NESTED_BLOCK&&a.test(e[1][0][1])&&(t[n=e[1][0][1].split(" ")[1]]=t[n]||[],t[n].push(e))}function v(r){return function(a,s){var c,u,l,p,d,m,f;for(p=0,d=a[2].length;p<d;p++){if(c=a[2][p],o.test(c[1][1])){for(u=t(c),e([u],s.validator,s.warnings),m=0,f=(l=u.components[7]).value.length;m<f;m++)l.value[m][1]in r&&delete r[l.value[m][1]];n([u])}if(i.test(c[1][1]))for(m=2,f=c.length;m<f;m++)c[m][1]in r&&delete r[c[m][1]]}}}function _(e,t){var n;e[0]==r.AT_RULE&&0===e[1].indexOf("@namespace")&&(t[n=e[1].split(" ")[1]]=t[n]||[],t[n].push(e))}function y(e){var t=new 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]}}return Ay=function(e,t){l(e,d,m,t),l(e,f,h,t),l(e,g,v,t),l(e,_,y,t)}}function aE(){if(Cy)return Ry;Cy=1;var e=nE().canReorderSingle,t=rE(),n=Wb(),r=function(){if(ky)return Ty;function e(e,t){return e[1]>t[1]?1:-1}return ky=1,Ty=function(t){for(var n=[],r=[],i=0,o=t.length;i<o;i++){var a=t[i];-1==r.indexOf(a[1])&&(r.push(a[1]),n.push(a))}return n.sort(e)},Ty}(),i=db(),o=iE(),a=$b().body,s=$b().rules;function c(e,t){return e>t?1:-1}function u(e,t){var n=o(e);return n[5]=n[5].concat(t[5]),n}return Ry=function(o,l){var p=l.options,d=p.compatibility.selectors.mergeablePseudoClasses,m=p.compatibility.selectors.mergeablePseudoElements,f=p.compatibility.selectors.mergeLimit,h=p.compatibility.selectors.multiplePseudoMerging,g=l.cache.specificity,v={},_=[],y={},b=[];function E(e,t){var n=function(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(s(e[n][1]));return t.join("%")}(t);return y[n]=y[n]||[],y[n].push([e,t]),n}function x(e){var t,n=e.split("%"),r=[];for(var i in y){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 y[r[t]]}function w(e){for(var t=[],r=[],i=e.length-1;i>=0;i--)n(s(e[i][1]),d,m,h)&&(r.unshift(e[i]),e[i][2].length>0&&-1==t.indexOf(e[i])&&t.push(e[i]));return t.length>1?r:[]}function A(e,t){return e[1]>t[1]?1:e[1]==t[1]?0:-1}function S(e,t,n){return T(e,t,n,1).sort(A)}function T(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(T(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?s(e[i][1]).length:-1;return r-(e.length-1)*t+1}function R(e,t,n,r){var s,c,u,l,p=[];for(s=r.length-1;s>=0;s--){var d=r[s];for(c=d[2].length-1;c>=0;c--){var m=d[2][c];for(u=0,l=t.length;u<l;u++){var f=t[u],h=m[1][1],g=f[0],v=f[4];if(h==g&&a([m])==v){d[2].splice(c,1);break}}}}for(s=t.length-1;s>=0;s--)p.unshift(t[s][3]);var _=[i.RULE,n,p];o.splice(e,0,_)}function C(e,t){var n=t[4],i=v[n];i&&i.length>1&&(function(e,t){var n,r,i=[],o=[],a=t[4],s=w(v[a]);if(!(s.length<2)){e:for(var c in v){var u=v[c];for(n=s.length-1;n>=0;n--)if(-1==u.indexOf(s[n]))continue e;i.push(c)}if(i.length<2)return!1;for(n=i.length-1;n>=0;n--)for(r=_.length-1;r>=0;r--)if(_[r][4]==i[n]){o.unshift([_[r],s]);break}return O(e,o)}}(e,t)||function(e,t){var n=t[0],i=t[1],o=t[4],a=n.length+i.length+1,s=[],c=[],u=w(v[o]);if(!(u.length<2)){var l=S(u,a,1),p=l[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(y[i].length>1&&O(e,y[i])){x(i);break}}}(e,t,l);for(var d=p[0].length-1;d>=0;d--)s=p[0][d][1].concat(s),c.unshift(p[0][d]);R(e,[t],s=r(s),c)}}(e,t))}function O(e,t){for(var n,i=0,o=[],a=t.length-1;a>=0;a--)i+=(n=t[a][0])[4].length+(a>0?1:0),o.push(n);var s=S(t[0][1],i,o.length)[0];if(s[1]>0)return!1;var c=[],u=[];for(a=s[0].length-1;a>=0;a--)c=s[0][a][1].concat(c),u.unshift(s[0][a]);for(R(e,o,c=r(c),u),a=o.length-1;a>=0;a--){n=o[a];var l=_.indexOf(n);delete v[n[4]],l>-1&&-1==b.indexOf(l)&&b.push(l)}return!0}function D(e,t,n){if(e[0]!=t[0])return!1;var r=t[4],i=v[r];return i&&i.indexOf(n)>-1}for(var P=o.length-1;P>=0;P--){var F,I,M,N,L,B=o[P];if(B[0]==i.RULE)F=!0;else{if(B[0]!=i.NESTED_BLOCK)continue;F=!1}var U=_.length,G=t(B);b=[];var z=[];for(I=G.length-1;I>=0;I--)for(M=I-1;M>=0;M--)if(!e(G[I],G[M],g)){z.push(I);break}for(I=G.length-1;I>=0;I--){var V=G[I],j=!1;for(M=0;M<U;M++){var q=_[M];-1==b.indexOf(M)&&(!e(V,q,g)&&!D(V,q,B)||v[q[4]]&&v[q[4]].length===f)&&(C(P+1,q),-1==b.indexOf(M)&&(b.push(M),delete v[q[4]])),j||(j=V[0]==q[0]&&V[1]==q[1])&&(L=M)}if(F&&!(z.indexOf(I)>-1)){var H=V[4];j&&_[L][5].length+V[5].length>f?(C(P+1,_[L]),_.splice(L,1),v[H]=[B],j=!1):(v[H]=v[H]||[],v[H].push(B)),j?_[L]=u(_[L],V):_.push(V)}}for(I=0,N=(b=b.sort(c)).length;I<N;I++){var K=b[I]-I;_.splice(K,1)}}for(var $=o[0]&&o[0][0]==i.AT_RULE&&0===o[0][1].indexOf("@charset")?1:0;$<o.length-1;$++){var W=o[$][0]===i.AT_RULE&&0===o[$][1].indexOf("@import"),X=o[$][0]===i.COMMENT;if(!W&&!X)break}for(P=0;P<_.length;P++)C($,_[P])},Ry}function sE(){if(Dy)return Oy;Dy=1;var e=function(){if(Z_)return Y_;Z_=1;var e=Wb(),t=eE(),n=rb(),r=cb(),i=Eb().OptimizationLevel,o=$b().body,a=$b().rules,s=db();return Y_=function(c,u){for(var l=[null,[],[]],p=u.options,d=p.compatibility.selectors.adjacentSpace,m=p.level[i.One].selectorsSortingMethod,f=p.compatibility.selectors.mergeablePseudoClasses,h=p.compatibility.selectors.mergeablePseudoElements,g=p.compatibility.selectors.mergeLimit,v=p.compatibility.selectors.multiplePseudoMerging,_=0,y=c.length;_<y;_++){var b=c[_];b[0]==s.RULE?l[0]==s.RULE&&a(b[1])==a(l[1])?(Array.prototype.push.apply(l[2],b[2]),t(l[2],!0,!0,u),b[2]=[]):l[0]==s.RULE&&o(b[2])==o(l[2])&&e(a(b[1]),f,h,v)&&e(a(l[1]),f,h,v)&&l[1].length<g?(l[1]=r(l[1].concat(b[1]),!1,d,!1,u.warnings),l[1]=l.length>1?n(l[1],m):l[1],b[2]=[]):l=b:l=[null,[],[]]}},Y_}(),t=function(){if(uy)return cy;uy=1;var e=nE().canReorder,t=nE().canReorderSingle,n=rE(),r=tE(),i=$b().rules,o=Eb().OptimizationLevel,a=db();function s(e,n,i){var o,a,s,c,u,l,p,d;for(u=0,l=e.length;u<l;u++)for(a=(o=e[u])[5],p=0,d=n.length;p<d;p++)if(c=(s=n[p])[5],r(a,c,!0)&&!t(o,s,i))return!1;return!0}return cy=function(t,r){for(var c=r.options.level[o.Two].mergeSemantically,u=r.cache.specificity,l={},p=[],d=t.length-1;d>=0;d--){var m=t[d];if(m[0]==a.NESTED_BLOCK){var f=i(m[1]),h=l[f];h||(h=[],l[f]=h),h.push(d)}}for(var g in l){var v=l[g];e:for(var _=v.length-1;_>0;_--){var y=v[_],b=t[y],E=v[_-1],x=t[E];t:for(var w=1;w>=-1;w-=2){for(var A=1==w,S=A?y+1:E-1,T=A?E:y,k=A?1:-1,R=A?b:x,C=A?x:b,O=n(R);S!=T;){var D=n(t[S]);if(S+=k,!(c&&s(O,D,u)||e(O,D,u)))continue t}C[2]=A?R[2].concat(C[2]):C[2].concat(R[2]),R[2]=[],p.push(C);continue e}}}return p},cy}(),n=function(){if(py)return ly;py=1;var e=Wb(),t=rb(),n=cb(),r=Eb().OptimizationLevel,i=$b().body,o=$b().rules,a=db();function s(e){return/\.|\*| :/.test(e)}function c(e){var t=o(e[1]);return t.indexOf("__")>-1||t.indexOf("--")>-1}function u(e){return e.replace(/--[^ ,>+~:]+/g,"")}function l(e,t){var n=u(o(e[1]));for(var r in t){var i=t[r],a=u(o(i[1]));(a.indexOf(n)>-1||n.indexOf(a)>-1)&&delete t[r]}}return ly=function(u,p){for(var d=p.options,m=d.level[r.Two].mergeSemantically,f=d.compatibility.selectors.adjacentSpace,h=d.level[r.One].selectorsSortingMethod,g=d.compatibility.selectors.mergeablePseudoClasses,v=d.compatibility.selectors.mergeablePseudoElements,_=d.compatibility.selectors.multiplePseudoMerging,y={},b=u.length-1;b>=0;b--){var E=u[b];if(E[0]==a.RULE){E[2].length>0&&!m&&s(o(E[1]))&&(y={}),E[2].length>0&&m&&c(E)&&l(E,y);var x=i(E[2]),w=y[x];w&&e(o(E[1]),g,v,_)&&e(o(w[1]),g,v,_)&&(E[2].length>0?(E[1]=n(w[1].concat(E[1]),!1,f,!1,p.warnings),E[1]=E[1].length>1?t(E[1],h):E[1]):E[1]=w[1].concat(E[1]),w[2]=[],y[x]=null),y[i(E[2])]=E}}},ly}(),r=function(){if(my)return dy;my=1;var e=nE().canReorder,t=rE(),n=eE(),r=$b().rules,i=db();return dy=function(o,a){var s,c=a.cache.specificity,u={},l=[];for(s=o.length-1;s>=0;s--)if(o[s][0]==i.RULE&&0!==o[s][2].length){var p=r(o[s][1]);u[p]=[s].concat(u[p]||[]),2==u[p].length&&l.push(p)}for(s=l.length-1;s>=0;s--){var d=u[l[s]];e:for(var m=d.length-1;m>0;m--){var f=d[m-1],h=o[f],g=d[m],v=o[g];t:for(var _=1;_>=-1;_-=2){for(var y=1==_,b=y?f+1:g-1,E=y?g:f,x=y?1:-1,w=y?h:v,A=y?v:h,S=t(w);b!=E;){var T=t(o[b]);b+=x;var k=y?e(S,T,c):e(T,S,c);if(!k&&!y)continue e;if(!k&&y)continue t}y?(Array.prototype.push.apply(w[2],A[2]),A[2]=w[2]):Array.prototype.push.apply(A[2],w[2]),n(A[2],!0,!0,a),w[2]=[]}}}},dy}(),i=function(){if(vy)return gy;vy=1;var e=Wb(),t=eE(),n=iE(),r=db(),i=$b().body,o=$b().rules;function a(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][1]]);return t}function s(e,r,i,o,a){for(var s=[],c=[],u=[],l=r.length-1;l>=0;l--)if(!i.filterOut(l,s)){var p=r[l].where,d=e[p],m=n(d[2]);s=s.concat(m),c.push(m),u.push(p)}t(s,!0,!1,a);for(var f=u.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 v=s.splice(h+1);i.callback(e[u[g]],v,f,g),g--}}return gy=function(t,n){for(var c=n.options,u=c.compatibility.selectors.mergeablePseudoClasses,l=c.compatibility.selectors.mergeablePseudoElements,p=c.compatibility.selectors.multiplePseudoMerging,d={},m=[],f=t.length-1;f>=0;f--){var h=t[f];if(h[0]==r.RULE&&0!==h[2].length)for(var g=o(h[1]),v=h[1].length>1&&e(g,u,l,p),_=a(h[1]),y=v?[g].concat(_):[g],b=0,E=y.length;b<E;b++){var x=y[b];d[x]?m.push(x):d[x]=[],d[x].push({where:f,list:_,isPartial:v&&b>0,isComplex:v&&0===b})}}!function(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 c=0,u=t.length;c<u;c++){var l=n[t[c]];s(e,l,{filterOut:o,callback:a},0,i)}}(t,m,d,0,n),function(t,n,r,o){var a=r.compatibility.selectors.mergeablePseudoClasses,c=r.compatibility.selectors.mergeablePseudoElements,u=r.compatibility.selectors.multiplePseudoMerging,l={};function p(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 n){var f=n[m];if(f[0].isComplex){var h=f[f.length-1].where,g=t[h],v=[],_=e(m,a,c,u)?f[0].list:[m];l.intoPosition=h,l.reducedBodies=v;for(var y=0,b=_.length;y<b;y++){var E=n[_[y]];if(E.length<2)continue e;if(l.data=E,s(t,E,{filterOut:p,callback:d},0,o),i(v[v.length-1])!=i(v[0]))continue e}g[2]=v[0]}}}(t,d,c,n)},gy}(),o=function(){if(yy)return _y;yy=1;var e=db(),t=$b().all;return _y=function(n){var r,i,o,a,s=[];for(o=0,a=n.length;o<a;o++)(r=n[o])[0]!=e.AT_RULE_BLOCK&&"@font-face"!=r[1][0][1]||(i=t([r]),s.indexOf(i)>-1?r[2]=[]:s.push(i))},_y}(),a=function(){if(Ey)return by;Ey=1;var e=db(),t=$b().all,n=$b().rules;return by=function(r){var i,o,a,s,c,u={};for(s=0,c=r.length;s<c;s++)(o=r[s])[0]==e.NESTED_BLOCK&&((i=u[a=n(o[1])+"%"+t(o[2])])&&(i[2]=[]),u[a]=o)},by}(),s=function(){if(wy)return xy;wy=1;var e=db(),t=$b().body,n=$b().rules;return xy=function(r){for(var i,o,a,s,c={},u=[],l=0,p=r.length;l<p;l++)(o=r[l])[0]==e.RULE&&(c[i=n(o[1])]&&1==c[i].length?u.push(i):c[i]=c[i]||[],c[i].push(l));for(l=0,p=u.length;l<p;l++){s=[];for(var d=c[i=u[l]].length-1;d>=0;d--)o=r[c[i][d]],a=t(o[2]),s.indexOf(a)>-1?o[2]=[]:s.push(a)}},xy}(),c=oE(),u=aE(),l=eE(),p=Eb().OptimizationLevel,d=db();function m(e){for(var t=0,n=e.length;t<n;t++){var r=e[t],i=!1;switch(r[0]){case d.RULE:i=0===r[1].length||0===r[2].length;break;case d.NESTED_BLOCK:m(r[2]),i=0===r[2].length;break;case d.AT_RULE:i=0===r[1].length;break;case d.AT_RULE_BLOCK:i=0===r[2].length}i&&(e.splice(t,1),t--,n--)}}function f(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];switch(i[0]){case d.RULE:l(i[2],!0,!0,t);break;case d.NESTED_BLOCK:f(i[2],t)}}}return Oy=function l(h,g,v){var _,y,b=g.options.level[p.Two],E=g.options.plugins.level2Block;if(function(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i[0]==d.NESTED_BLOCK){var o=/@(-moz-|-o-|-webkit-)?keyframes/.test(i[1][0][1]);l(i[2],t,!o)}}}(h,g),f(h,g),b.removeDuplicateRules&&s(h,g),b.mergeAdjacentRules&&e(h,g),b.reduceNonAdjacentRules&&i(h,g),b.mergeNonAdjacentRules&&"body"!=b.mergeNonAdjacentRules&&r(h,g),b.mergeNonAdjacentRules&&"selector"!=b.mergeNonAdjacentRules&&n(h,g),b.restructureRules&&b.mergeAdjacentRules&&v&&(u(h,g),e(h,g)),b.restructureRules&&!b.mergeAdjacentRules&&v&&u(h,g),b.removeDuplicateFontRules&&o(h,g),b.removeDuplicateMediaBlocks&&a(h,g),b.removeUnusedAtRules&&c(h,g),b.mergeMedia)for(y=(_=t(h,g)).length-1;y>=0;y--)l(_[y][2],g,!1);for(y=0;y<E.length;y++)E[y](h);return b.removeEmpty&&m(h),h}}var cE,uE,lE={},pE={},dE={},mE={};function fE(){if(cE)return mE;cE=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return mE.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},mE.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},mE}function hE(){if(uE)return dE;uE=1;var e=fE();return dE.encode=function(t){var n,r="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(t);do{n=31&i,(i>>>=5)>0&&(n|=32),r+=e.encode(n)}while(i>0);return r},dE.decode=function(t,n,r){var i,o,a,s,c=t.length,u=0,l=0;do{if(n>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=e.decode(t.charCodeAt(n++))))throw new Error("Invalid base64 digit: "+t.charAt(n-1));i=!!(32&o),u+=(o&=31)<<l,l+=5}while(i);r.value=(s=(a=u)>>1,1&~a?s:-s),r.rest=n},dE}var gE,vE={};function _E(){return gE||(gE=1,function(e){e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new 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(/\/+/),u=0,l=c.length-1;l>=0;l--)"."===(a=c[l])?c.splice(l,1):".."===a?u++:u>0&&(""===a?(c.splice(l+1,u),u=0):(c.splice(l,2),u--));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)return t;if((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 u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(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 l(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=s?c:function(e){return u(e)?"$"+e:e},e.fromSetString=s?c:function(e){return u(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=l(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:l(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=l(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:l(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=l(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:l(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var s=r(n);if(!s)throw new 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)}}(vE)),vE}var yE,bE={};function EE(){if(yE)return bE;yE=1;var e=_E(),t=Object.prototype.hasOwnProperty,n="undefined"!=typeof Map;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;i<o;i++)n.add(e[i],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,i){var o=n?r:e.toSetString(r),a=n?this.has(r):t.call(this._set,o),s=this._array.length;a&&!i||this._array.push(r),a||(n?this._set.set(r,s):this._set[o]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var i=e.toSetString(r);return t.call(this._set,i)},r.prototype.indexOf=function(r){if(n){var i=this._set.get(r);if(i>=0)return i}else{var o=e.toSetString(r);if(t.call(this._set,o))return this._set[o]}throw new Error('"'+r+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},bE.ArraySet=r,bE}var xE,wE,AE={};function SE(){if(wE)return pE;wE=1;var e=hE(),t=_E(),n=EE().ArraySet,r=function(){if(xE)return AE;xE=1;var e=_E();function t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return t.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},t.prototype.add=function(t){var n,r,i,o,a,s;r=t,i=(n=this._last).generatedLine,o=r.generatedLine,a=n.generatedColumn,s=r.generatedColumn,o>i||o==i&&s>=a||e.compareByGeneratedPositionsInflated(n,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},AE.MappingList=t,AE}().MappingList;function i(e){e||(e={}),this._file=t.getArg(e,"file",null),this._sourceRoot=t.getArg(e,"sourceRoot",null),this._skipValidation=t.getArg(e,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(e){var n=e.sourceRoot,r=new i({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var i={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(i.source=e.source,null!=n&&(i.source=t.relative(n,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!==n&&(o=t.relative(n,i)),r._sources.has(o)||r._sources.add(o);var a=e.sourceContentFor(i);null!=a&&r.setSourceContent(i,a)}),r},i.prototype.addMapping=function(e){var n=t.getArg(e,"generated"),r=t.getArg(e,"original",null),i=t.getArg(e,"source",null),o=t.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,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:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:i,name:o})},i.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=t.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(e,r,i){var o=r;if(null==r){if(null==e.file)throw new 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=t.relative(a,o));var s=new n,c=new n;this._mappings.unsortedForEach(function(n){if(n.source===o&&null!=n.originalLine){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=r.source&&(n.source=r.source,null!=i&&(n.source=t.join(i,n.source)),null!=a&&(n.source=t.relative(a,n.source)),n.originalLine=r.line,n.originalColumn=r.column,null!=r.name&&(n.name=r.name))}var u=n.source;null==u||s.has(u)||s.add(u);var l=n.name;null==l||c.has(l)||c.add(l)},this),this._sources=s,this._names=c,e.sources.forEach(function(n){var r=e.sourceContentFor(n);null!=r&&(null!=i&&(n=t.join(i,n)),null!=a&&(n=t.relative(a,n)),this.setSourceContent(n,r))},this)},i.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new 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 new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},i.prototype._serializeMappings=function(){for(var n,r,i,o,a=0,s=1,c=0,u=0,l=0,p=0,d="",m=this._mappings.toArray(),f=0,h=m.length;f<h;f++){if(n="",(r=m[f]).generatedLine!==s)for(a=0;r.generatedLine!==s;)n+=";",s++;else if(f>0){if(!t.compareByGeneratedPositionsInflated(r,m[f-1]))continue;n+=","}n+=e.encode(r.generatedColumn-a),a=r.generatedColumn,null!=r.source&&(o=this._sources.indexOf(r.source),n+=e.encode(o-p),p=o,n+=e.encode(r.originalLine-1-u),u=r.originalLine-1,n+=e.encode(r.originalColumn-c),c=r.originalColumn,null!=r.name&&(i=this._names.indexOf(r.name),n+=e.encode(i-l),l=i)),d+=n}return d},i.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},i.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},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},pE.SourceMapGenerator=i,pE}var TE,kE={},RE={};function CE(){return TE||(TE=1,function(e){function t(n,r,i,o,a,s){var c=Math.floor((r-n)/2)+n,u=a(i,o[c],!0);return 0===u?c:u>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}}(RE)),RE}var OE,DE,PE={};function FE(){if(OE)return PE;function e(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function t(n,r,i,o){if(i<o){var a=i-1;e(n,(l=i,p=o,Math.round(l+Math.random()*(p-l))),o);for(var s=n[o],c=i;c<o;c++)r(n[c],s)<=0&&e(n,a+=1,c);e(n,a+1,c);var u=a+1;t(n,r,i,u-1),t(n,r,u+1,o)}var l,p}return OE=1,PE.quickSort=function(e,n){t(e,n,0,e.length-1)},PE}var IE,ME,NE,LE,BE,UE,GE,zE,VE,jE,qE,HE,KE,$E,WE,XE,YE,ZE,QE,JE,ex,tx,nx,rx,ix,ox,ax,sx,cx,ux,lx,px,dx,mx,fx,hx,gx,vx,_x,yx,bx,Ex,xx,wx,Ax,Sx={};function Tx(){return ME||(ME=1,lE.SourceMapGenerator=SE().SourceMapGenerator,lE.SourceMapConsumer=function(){if(DE)return kE;DE=1;var e=_E(),t=CE(),n=EE().ArraySet,r=hE(),i=FE().quickSort;function o(t,n){var r=t;return"string"==typeof t&&(r=e.parseSourceMapInput(t)),null!=r.sections?new c(r,n):new a(r,n)}function a(t,r){var i=t;"string"==typeof t&&(i=e.parseSourceMapInput(t));var o=e.getArg(i,"version"),a=e.getArg(i,"sources"),s=e.getArg(i,"names",[]),c=e.getArg(i,"sourceRoot",null),u=e.getArg(i,"sourcesContent",null),l=e.getArg(i,"mappings"),p=e.getArg(i,"file",null);if(o!=this._version)throw new Error("Unsupported version: "+o);c&&(c=e.normalize(c)),a=a.map(String).map(e.normalize).map(function(t){return c&&e.isAbsolute(c)&&e.isAbsolute(t)?e.relative(c,t):t}),this._names=n.fromArray(s.map(String),!0),this._sources=n.fromArray(a,!0),this._absoluteSources=this._sources.toArray().map(function(t){return e.computeSourceURL(c,t,r)}),this.sourceRoot=c,this.sourcesContent=u,this._mappings=l,this._sourceMapURL=r,this.file=p}function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function c(t,r){var i=t;"string"==typeof t&&(i=e.parseSourceMapInput(t));var a=e.getArg(i,"version"),s=e.getArg(i,"sections");if(a!=this._version)throw new Error("Unsupported version: "+a);this._sources=new n,this._names=new n;var c={line:-1,column:0};this._sections=s.map(function(t){if(t.url)throw new Error("Support for url field in sections not implemented.");var n=e.getArg(t,"offset"),i=e.getArg(n,"line"),a=e.getArg(n,"column");if(i<c.line||i===c.line&&a<c.column)throw new Error("Section offsets must be ordered and non-overlapping.");return c=n,{generatedOffset:{generatedLine:i+1,generatedColumn:a+1},consumer:new o(e.getArg(t,"map"),r)}})}return o.fromSourceMap=function(e,t){return a.fromSourceMap(e,t)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},o.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(t,n,r){var i,a=n||null;switch(r||o.GENERATED_ORDER){case o.GENERATED_ORDER:i=this._generatedMappings;break;case o.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;i.map(function(t){var n=null===t.source?null:this._sources.at(t.source);return{source:n=e.computeSourceURL(s,n,this._sourceMapURL),generatedLine:t.generatedLine,generatedColumn:t.generatedColumn,originalLine:t.originalLine,originalColumn:t.originalColumn,name:null===t.name?null:this._names.at(t.name)}},this).forEach(t,a)},o.prototype.allGeneratedPositionsFor=function(n){var r=e.getArg(n,"line"),i={source:e.getArg(n,"source"),originalLine:r,originalColumn:e.getArg(n,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var o=[],a=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(void 0===n.column)for(var c=s.originalLine;s&&s.originalLine===c;)o.push({line:e.getArg(s,"generatedLine",null),column:e.getArg(s,"generatedColumn",null),lastColumn:e.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var u=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==u;)o.push({line:e.getArg(s,"generatedLine",null),column:e.getArg(s,"generatedColumn",null),lastColumn:e.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return o},kE.SourceMapConsumer=o,a.prototype=Object.create(o.prototype),a.prototype.consumer=o,a.prototype._findSourceIndex=function(t){var n,r=t;if(null!=this.sourceRoot&&(r=e.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]==t)return n;return-1},a.fromSourceMap=function(t,r){var o=Object.create(a.prototype),c=o._names=n.fromArray(t._names.toArray(),!0),u=o._sources=n.fromArray(t._sources.toArray(),!0);o.sourceRoot=t._sourceRoot,o.sourcesContent=t._generateSourcesContent(o._sources.toArray(),o.sourceRoot),o.file=t._file,o._sourceMapURL=r,o._absoluteSources=o._sources.toArray().map(function(t){return e.computeSourceURL(o.sourceRoot,t,r)});for(var l=t._mappings.toArray().slice(),p=o.__generatedMappings=[],d=o.__originalMappings=[],m=0,f=l.length;m<f;m++){var h=l[m],g=new s;g.generatedLine=h.generatedLine,g.generatedColumn=h.generatedColumn,h.source&&(g.source=u.indexOf(h.source),g.originalLine=h.originalLine,g.originalColumn=h.originalColumn,h.name&&(g.name=c.indexOf(h.name)),d.push(g)),p.push(g)}return i(o.__originalMappings,e.compareByOriginalPositions),o},a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),a.prototype._parseMappings=function(t,n){for(var o,a,c,u,l,p=1,d=0,m=0,f=0,h=0,g=0,v=t.length,_=0,y={},b={},E=[],x=[];_<v;)if(";"===t.charAt(_))p++,_++,d=0;else if(","===t.charAt(_))_++;else{for((o=new s).generatedLine=p,u=_;u<v&&!this._charIsMappingSeparator(t,u);u++);if(c=y[a=t.slice(_,u)])_+=a.length;else{for(c=[];_<u;)r.decode(t,_,b),l=b.value,_=b.rest,c.push(l);if(2===c.length)throw new Error("Found a source, but no line and column");if(3===c.length)throw new Error("Found a source and line, but no column");y[a]=c}o.generatedColumn=d+c[0],d=o.generatedColumn,c.length>1&&(o.source=h+c[1],h+=c[1],o.originalLine=m+c[2],m=o.originalLine,o.originalLine+=1,o.originalColumn=f+c[3],f=o.originalColumn,c.length>4&&(o.name=g+c[4],g+=c[4])),x.push(o),"number"==typeof o.originalLine&&E.push(o)}i(x,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=x,i(E,e.compareByOriginalPositions),this.__originalMappings=E},a.prototype._findMapping=function(e,n,r,i,o,a){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return t.search(e,n,o,a)},a.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}},a.prototype.originalPositionFor=function(t){var n={generatedLine:e.getArg(t,"line"),generatedColumn:e.getArg(t,"column")},r=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(t,"bias",o.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var a=e.getArg(i,"source",null);null!==a&&(a=this._sources.at(a),a=e.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var s=e.getArg(i,"name",null);return null!==s&&(s=this._names.at(s)),{source:a,line:e.getArg(i,"originalLine",null),column:e.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})},a.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var i,o=t;if(null!=this.sourceRoot&&(o=e.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(i=e.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 new Error('"'+o+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(t){var n=e.getArg(t,"source");if((n=this._findSourceIndex(n))<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:e.getArg(t,"line"),originalColumn:e.getArg(t,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(t,"bias",o.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},kE.BasicSourceMapConsumer=a,c.prototype=Object.create(o.prototype),c.prototype.constructor=o,c.prototype._version=3,Object.defineProperty(c.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}}),c.prototype.originalPositionFor=function(n){var r={generatedLine:e.getArg(n,"line"),generatedColumn:e.getArg(n,"column")},i=t.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:n.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},c.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 new Error('"'+e+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(-1!==r.consumer._findSourceIndex(e.getArg(t,"source"))){var i=r.consumer.generatedPositionFor(t);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}},c.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var o=this._sections[r],a=o.consumer._generatedMappings,s=0;s<a.length;s++){var c=a[s],u=o.consumer._sources.at(c.source);u=e.computeSourceURL(o.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;c.name&&(l=o.consumer._names.at(c.name),this._names.add(l),l=this._names.indexOf(l));var p={source:u,generatedLine:c.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(o.generatedOffset.generatedLine===c.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:l};this.__generatedMappings.push(p),"number"==typeof p.originalLine&&this.__originalMappings.push(p)}i(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),i(this.__originalMappings,e.compareByOriginalPositions)},kE.IndexedSourceMapConsumer=c,kE}().SourceMapConsumer,lE.SourceNode=function(){if(IE)return Sx;IE=1;var e=SE().SourceMapGenerator,t=_E(),n=/(\r?\n)/,r="$$$isSourceNode$$$";function i(e,t,n,i,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[r]=!0,null!=i&&this.add(i)}return i.fromStringWithSourceMap=function(e,r,o){var a=new i,s=e.split(n),c=0,u=function(){return e()+(e()||"");function e(){return c<s.length?s[c++]:void 0}},l=1,p=0,d=null;return r.eachMapping(function(e){if(null!==d){if(!(l<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,u()),l++,p=0}for(;l<e.generatedLine;)a.add(u()),l++;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,u()),a.add(s.splice(c).join(""))),r.sources.forEach(function(e){var n=r.sourceContentFor(e);null!=n&&(null!=o&&(e=t.join(o,e)),a.setSourceContent(e,n))}),a;function m(e,n){if(null===e||void 0===e.source)a.add(n);else{var r=o?t.join(o,e.source):e.source;a.add(new i(e.originalLine,e.originalColumn,r,n,e.name))}}},i.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},i.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},i.prototype.walk=function(e){for(var t,n=0,i=this.children.length;n<i;n++)(t=this.children[n])[r]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},i.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},i.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[r]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},i.prototype.setSourceContent=function(e,n){this.sourceContents[t.toSetString(e)]=n},i.prototype.walkSourceContents=function(e){for(var n=0,i=this.children.length;n<i;n++)this.children[n][r]&&this.children[n].walkSourceContents(e);var o=Object.keys(this.sourceContents);for(n=0,i=o.length;n<i;n++)e(t.fromSetString(o[n]),this.sourceContents[o[n]])},i.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},i.prototype.toStringWithSourceMap=function(t){var n={code:"",line:1,column:0},r=new e(t),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,i=!1);for(var u=0,l=e.length;u<l;u++)10===e.charCodeAt(u)?(n.line++,n.column=0,u+1===l?(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}},Sx.SourceNode=i,Sx}().SourceNode),lE}function kx(){if(UE)return BE;UE=1;var e=/^(\w+:\/\/|\/\/)/,t=/^file:\/\//;return BE=function(n){return e.test(n)&&!t.test(n)},BE}function Rx(){if(zE)return GE;zE=1;var e=/^\/\//;return GE=function(t){return!e.test(t)},GE}function Cx(){if(jE)return VE;jE=1;var e=c,t=s,n=kx(),r=Rx(),i="http:";function o(e){return n(e)||t.parse(i+"//"+e).host==e}return VE=function n(a,s,c){var u,l,p,d,m,f,h=!s;if(0===c.length)return!1;for(s&&!r(a)&&(a=i+a),u=s?t.parse(a).host:a,l=s?a:e.resolve(a),f=0;f<c.length;f++)d="!"==(p=c[f])[0],m=p.substring(1),h=d&&s&&o(m)?h&&!n(a,!0,[m]):!d||s||o(m)?d?h&&!0:"all"==p||(s&&"local"==p?h||!1:!(!s||"remote"!=p)||!(!s&&"remote"==p)&&(!s&&"local"==p||p===u||p===a||!(!s||0!==l.indexOf(p))||!s&&0===l.indexOf(e.resolve(p))||s!=o(m)&&h&&!0)):h&&!n(a,!1,[m]);return h},VE}function Ox(){if($E)return KE;$E=1;var e=c;return KE=function(t,n,r){var i=e.resolve(""),o=e.resolve(i,n),a=e.dirname(o);return t.sources=t.sources.map(function(t){return e.relative(r,e.resolve(a,t))}),t},KE}function Dx(){if(XE)return WE;XE=1;var e=c,t=s;return WE=function(n,r){var i=e.dirname(r);return n.sources=n.sources.map(function(e){return t.resolve(i,e)}),n},WE}function Px(){if(ZE)return YE;ZE=1;var e=/^data:(\S{0,31}?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;return YE=function(t){return e.test(t)},YE}function Fx(){if(JE)return QE;JE=1;var e=u,t=c,n=Cx(),r=function(){if(HE)return qE;HE=1;var e=/^data:(\S*?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;return qE=function(t){return e.exec(t)},qE}(),i=Ox(),o=Dx(),a=db(),s=Rx(),l=Px(),p=kx(),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]==a.COMMENT&&d.test(n[1]))return h(n[1],t,i,e);return e.callback(e.processedTokens)}function f(e){return(e[0]==a.AT_RULE||e[0]==a.COMMENT||e[0]==a.RAW?e[2][0]:e[1][0][2][0])[2]}function h(a,c,u,f){return function(a,c,u){var m,f,h,g=d.exec(a)[1];return l(g)?(f=function(e){var t=r(e),n=t[2]?t[2].split(/[=;]/)[2]:"us-ascii",i=t[3]?t[3].split(";")[1]:"utf8",o="utf8"==i?Hn.unescape(t[4]):t[4],a=Buffer.from(o,i);return a.charset=n,JSON.parse(a.toString())}(g),u(f)):p(g)?function(e,t,r){var i=n(e,!0,t.inline),o=!s(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),r(null)):o?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),r(null)):i?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(n,i){if(n)return t.warnings.push('Missing source map at "'+e+'" - '+n),r(null);r(i)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),r(null))}(g,c,function(e){var t;e?(t=JSON.parse(e),h=o(t,g),u(h)):u(null)}):(f=function(t,r){var i,o=n(t,!1,r.inline);return e.existsSync(t)&&e.statSync(t).isFile()?o?e.statSync(t).size?(i=e.readFileSync(t,"utf-8"),JSON.parse(i)):(r.warnings.push('Cannot fetch "'+t+'" as resource is empty.'),null):(r.warnings.push('Cannot fetch "'+t+'" as resource is not allowed.'),null):(r.warnings.push('Ignoring local source map at "'+t+'" as resource is missing.'),null)}(m=t.resolve(c.rebaseTo,g),c),f?(h=i(f,m,c.rebaseTo),u(h)):u(null))}(a,f,function(e){return e&&(f.inputSourceMapTracker.track(c,e),g(u,f.inputSourceMapTracker)),f.index++,m(f)})}function g(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)switch((n=e[r])[0]){case a.AT_RULE:v(n,t);break;case a.AT_RULE_BLOCK:g(n[1],t),g(n[2],t);break;case a.AT_RULE_BLOCK_SCOPE:v(n,t);break;case a.NESTED_BLOCK:g(n[1],t),g(n[2],t);break;case a.NESTED_BLOCK_SCOPE:case a.COMMENT:v(n,t);break;case a.PROPERTY:g(n,t);break;case a.PROPERTY_BLOCK:g(n[1],t);break;case a.PROPERTY_NAME:case a.PROPERTY_VALUE:v(n,t);break;case a.RULE:g(n[1],t),g(n[2],t);break;case a.RULE_SCOPE:v(n,t)}return e}function v(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}return QE=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)}}function Ix(){if(tx)return ex;tx=1;var e=Ob(),t=/^\(/,n=/\)$/,r=/^@import/i,i=/['"]\s{0,31}/,o=/\s{0,31}['"]/,a=/^url\(\s{0,31}/i,s=/\s{0,31}\)/i;return ex=function(c){var u,l;return u=c.replace(r,"").trim().replace(a,"(").replace(s,") ").replace(i,"").replace(o,""),[(l=e(u," "))[0].replace(t,"").replace(n,""),l.slice(1).join(" ")]}}function Mx(){return sx||(sx=1,ax=function(e,t){return("@import "+e+" "+t).trim()}),ax}function Nx(){if(ux)return cx;ux=1;var e=c,t=s,n=Px(),r=/^[^\w\d]*\/\//,i=/^["']/,o=/["']$/,a=/[()]/,u=/^url\(/i,l=/\)$/,p=/\s/,d="win32"==process.platform;function m(r,i){return i?function(t){return e.isAbsolute(t)}(r)&&!f(i.toBase)||f(r)||function(e){return"#"==e[0]}(r)||function(e){return/^\w+:\w+/.test(e)}(r)||n(r)?r:f(i.toBase)?t.resolve(i.toBase,r):i.absolute?h(function(t,n){return e.resolve(e.join(n.fromBase||"",t)).replace(n.toBase,"")}(r,i)):h(function(t,n){return e.relative(n.toBase,e.join(n.fromBase||"",t))}(r,i)):r}function f(e){return/^[^:]+?:\/\//.test(e)||r.test(e)}function h(e){return d?e.replace(/\\/g,"/"):e}return cx=function(e,t,n){var r=e.replace(u,"").replace(l,"").trim(),s=r.replace(i,"").replace(o,"").trim(),c="'"==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 a.test(e)}(e)?"'":""}(s);return n?m(s,t):"url("+c+m(s,t)+c+")"}}function Lx(){if(px)return lx;px=1;var e=/^@import/i;return lx=function(t){return e.test(t)}}function Bx(){if(mx)return dx;mx=1;var e=Ix(),t=Mx(),n=Nx(),r=db(),i=Lx(),o=/^\/\*# sourceMappingURL=(\S+) \*\/$/;function a(e,t,n){var i,o,l;for(o=0,l=e.length;o<l;o++)switch((i=e[o])[0]){case r.AT_RULE:s(i,0,n);break;case r.AT_RULE_BLOCK:u(i[2],t,n);break;case r.COMMENT:c(i,n);break;case r.NESTED_BLOCK:a(i[2],t,n);break;case r.RULE:u(i[2],t,n)}return e}function s(r,o,a){if(i(r[1])){var s=e(r[1]),c=n(s[0],a),u=s[1];r[1]=t(c,u)}}function c(e,t){var r=o.exec(e[1]);r&&-1===r[1].indexOf("data:")&&(e[1]=e[1].replace(r[1],n(r[1],t,!0)))}function u(e,t,r){var i,o,a,s,c,u;for(a=0,s=e.length;a<s;a++)for(c=2,u=(i=e[a]).length;c<u;c++)o=i[c][1],t.isUrl(o)&&(i[c][1]=n(o,r))}return dx=function(e,t,n,i){return t?a(e,n,i):function(e,t,n){var i,o,a;for(o=0,a=e.length;o<a;o++)(i=e[o])[0]===r.AT_RULE&&s(i,0,n);return e}(e,0,i)},dx}function Ux(){if(hx)return fx;hx=1;var e=ab(),t=db(),n=sb(),r="block",i="comment",o="double-quote",a="rule",s="single-quote",c=["@charset","@import"],u=["@-moz-document","@document","@-moz-keyframes","@-ms-keyframes","@-o-keyframes","@-webkit-keyframes","@keyframes","@media","@supports","@container","@layer"],l=/\/\* clean-css ignore:end \*\/$/,p=/^\/\* clean-css ignore:start \*\//,d=["@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"],m=["@footnote","@footnotes","@left","@page-float-bottom","@page-float-top","@right"],f=/^\[\s{0,31}\d+\s{0,31}\]$/,h=/([^}])\}*$/,g=/[\s(]/;function v(c,u,l,p){for(var d,m,f,g,S,T,k,R,C,O,D,P,F,I,M,N,L,B=[],U=B,G=[],z=[],V=l.level,j=[],q=[],H=[],K=!0,$=0,W=!1,X=!1,Y=!1,Z=!1,Q=!1,J=!1,ee=!1,te=l.position;te.index<c.length;te.index++){var ne=c[te.index];if(k=V==s||V==o,R=ne==e.SPACE||ne==e.TAB,C=ne==e.NEW_LINE_NIX,O=ne==e.NEW_LINE_NIX&&c[te.index-1]==e.CARRIAGE_RETURN,D=ne==e.CARRIAGE_RETURN&&c[te.index+1]&&c[te.index+1]!=e.NEW_LINE_NIX,P=!X&&V!=i&&!k&&ne==e.ASTERISK&&c[te.index-1]==e.FORWARD_SLASH,I=!W&&!k&&ne==e.FORWARD_SLASH&&c[te.index-1]==e.ASTERISK,F=V==i&&I,N=!R&&!D&&(ne>="A"&&ne<="Z"||ne>="a"&&ne<="z"||ne>="0"&&ne<="9"||"-"==ne),Z=Z||V!=i&&!J&&Y&&"-"===ne&&1===q.length,Y="-"===ne,$=Math.max($,0),g=K?[te.line,te.column,te.source]:g,M)q.push(ne),K=!1;else if(N)q.push(ne),K=!1;else if((R||C&&!O)&&(k||V==i))q.push(ne),K=!1;else if((R||C&&!O)&&K);else if(F||V!=i)if(P||F||!Q)if(P&&Z&&(V==r||V==a)&&q.length>1)q.push(ne),K=!1,j.push(V),V=i;else if(P&&(V==r||V==a)&&q.length>1)z.push(g),q.push(ne),H.push(q.slice(0,-2)),K=!1,q=q.slice(-2),g=[te.line,te.column-1,te.source],j.push(V),V=i;else if(P)j.push(V),V=i,q.push(ne),K=!1;else if(F&&Z)q.push(ne),V=j.pop();else if(F&&_(q))S=q.join("").trim()+ne,d=[t.COMMENT,S,[b(g,S,u)]],U.push(d),Q=!0,g=z.pop()||null,K=0===(q=H.pop()||[]).length;else if(F&&y(q))L=(S=q.join("")+ne).lastIndexOf(e.FORWARD_SLASH+e.ASTERISK),T=S.substring(0,L),d=[t.RAW,T,[b(g,T,u)]],U.push(d),T=S.substring(L),g=[te.line,te.column-T.length+1,te.source],d=[t.COMMENT,T,[b(g,T,u)]],U.push(d),Q=!1,V=j.pop(),g=z.pop()||null,K=0===(q=H.pop()||[]).length;else if(F)S=q.join("").trim()+ne,d=[t.COMMENT,S,[b(g,S,u)]],U.push(d),V=j.pop(),g=z.pop()||null,K=0===(q=H.pop()||[]).length;else if(I&&c[te.index+1]!=e.ASTERISK)u.warnings.push("Unexpected '*/' at "+n([te.line,te.column,te.source])+"."),q=[],K=!0;else if(ne!=e.SINGLE_QUOTE||k)if(ne==e.SINGLE_QUOTE&&V==s)V=j.pop(),q.push(ne),K=!1;else if(ne!=e.DOUBLE_QUOTE||k)if(ne==e.DOUBLE_QUOTE&&V==o)V=j.pop(),q.push(ne),K=!1;else if(ne!=e.CLOSE_ROUND_BRACKET&&ne!=e.OPEN_ROUND_BRACKET&&V!=i&&!k&&$>0)q.push(ne),K=!1;else if(ne!=e.OPEN_ROUND_BRACKET||k||V==i||J)if(ne!=e.CLOSE_ROUND_BRACKET||k||V==i||J)if(ne==e.SEMICOLON&&V==r&&q[0]==e.AT)S=q.join("").trim(),B.push([t.AT_RULE,S,[b(g,S,u)]]),q=[],K=!0;else if(ne==e.COMMA&&V==r&&m)S=q.join("").trim(),m[1].push([x(m[0]),S,[b(g,S,u,m[1].length)]]),q=[],K=!0;else if(ne==e.COMMA&&V==r&&E(q)==t.AT_RULE)q.push(ne),K=!1;else if(ne==e.COMMA&&V==r)m=[E(q),[],[]],S=q.join("").trim(),m[1].push([x(m[0]),S,[b(g,S,u,0)]]),q=[],K=!0;else if(ne==e.OPEN_CURLY_BRACKET&&V==r&&m&&m[0]==t.NESTED_BLOCK)S=q.join("").trim(),m[1].push([t.NESTED_BLOCK_SCOPE,S,[b(g,S,u)]]),B.push(m),j.push(V),te.column++,te.index++,q=[],K=!0,m[2]=v(c,u,l,!0),m=null;else if(ne==e.OPEN_CURLY_BRACKET&&V==r&&E(q)==t.NESTED_BLOCK)S=q.join("").trim(),(m=m||[t.NESTED_BLOCK,[],[]])[1].push([t.NESTED_BLOCK_SCOPE,S,[b(g,S,u)]]),B.push(m),j.push(V),te.column++,te.index++,q=[],K=!0,Z=!1,m[2]=v(c,u,l,!0),m=null;else if(ne==e.OPEN_CURLY_BRACKET&&V==r)S=q.join("").trim(),(m=m||[E(q),[],[]])[1].push([x(m[0]),S,[b(g,S,u,m[1].length)]]),U=m[2],B.push(m),j.push(V),V=a,q=[],K=!0;else if(ne==e.OPEN_CURLY_BRACKET&&V==a&&J)G.push(m),m=[t.PROPERTY_BLOCK,[]],f.push(m),U=m[1],j.push(V),V=a,J=!1;else if(ne==e.OPEN_CURLY_BRACKET&&V==a&&w(q))S=q.join("").trim(),G.push(m),(m=[t.AT_RULE_BLOCK,[],[]])[1].push([t.AT_RULE_BLOCK_SCOPE,S,[b(g,S,u)]]),U.push(m),U=m[2],j.push(V),V=a,q=[],K=!0;else if(ne!=e.COLON||V!=a||J)if(ne==e.SEMICOLON&&V==a&&f&&G.length>0&&!K&&q[0]==e.AT)S=q.join("").trim(),m[1].push([t.AT_RULE,S,[b(g,S,u)]]),q=[],K=!0;else if(ne==e.SEMICOLON&&V==a&&f&&!K)S=q.join("").trim(),f.push([t.PROPERTY_VALUE,S,[b(g,S,u)]]),f=null,J=!1,q=[],K=!0,Z=!1;else if(ne==e.SEMICOLON&&V==a&&f&&K&&Z&&!f[2])f.push([t.PROPERTY_VALUE," ",[b(g," ",u)]]),Z=!1,f=null,J=!1;else if(ne==e.SEMICOLON&&V==a&&f&&K)f=null,J=!1;else if(ne!=e.SEMICOLON||V!=a||K||q[0]!=e.AT)if(ne==e.SEMICOLON&&V==a&&ee)ee=!1,q=[],K=!0;else if(ne==e.SEMICOLON&&V==a&&K);else if(ne==e.CLOSE_CURLY_BRACKET&&V==a&&f&&J&&!K&&G.length>0)S=q.join(""),f.push([t.PROPERTY_VALUE,S,[b(g,S,u)]]),f=null,U=(m=G.pop())[2],V=j.pop(),J=!1,q=[],K=!0;else if(ne==e.CLOSE_CURLY_BRACKET&&V==a&&f&&!K&&q[0]==e.AT&&G.length>0)S=q.join(""),m[1].push([t.AT_RULE,S,[b(g,S,u)]]),f=null,U=(m=G.pop())[2],V=j.pop(),J=!1,q=[],K=!0;else if(ne==e.CLOSE_CURLY_BRACKET&&V==a&&f&&G.length>0)f=null,U=(m=G.pop())[2],V=j.pop(),J=!1;else if(ne==e.CLOSE_CURLY_BRACKET&&V==a&&f&&!K)S=q.join(""),f.push([t.PROPERTY_VALUE,S,[b(g,S,u)]]),f=null,m=G.pop(),U=B,V=j.pop(),J=!1,q=[],K=!0;else if(ne!=e.CLOSE_CURLY_BRACKET||V!=a||K||q[0]!=e.AT)if(ne==e.CLOSE_CURLY_BRACKET&&V==a&&j[j.length-1]==a)f=null,U=(m=G.pop())[2],V=j.pop(),J=!1,ee=!0,q=[],K=!0;else if(ne==e.CLOSE_CURLY_BRACKET&&V==a&&Z&&f&&!f[2])f.push([t.PROPERTY_VALUE," ",[b(g," ",u)]]),Z=!1,f=null,m=null,U=B,V=j.pop(),J=!1,Z=!1;else if(ne==e.CLOSE_CURLY_BRACKET&&V==a)f=null,m=null,U=B,V=j.pop(),J=!1,Z=!1;else if(ne==e.CLOSE_CURLY_BRACKET&&V==r&&!p&&te.index<=c.length-1)u.warnings.push("Unexpected '}' at "+n([te.line,te.column,te.source])+"."),q.push(ne),K=!1;else{if(ne==e.CLOSE_CURLY_BRACKET&&V==r)break;ne==e.OPEN_ROUND_BRACKET&&V==a&&J?(q.push(ne),K=!1,$++):ne==e.CLOSE_ROUND_BRACKET&&V==a&&J&&1==$?(q.push(ne),K=!1,S=q.join("").trim(),f.push([t.PROPERTY_VALUE,S,[b(g,S,u)]]),$--,q=[],K=!0,Z=!1):ne==e.CLOSE_ROUND_BRACKET&&V==a&&J?(q.push(ne),K=!1,Z=!1,$--):ne==e.FORWARD_SLASH&&c[te.index+1]!=e.ASTERISK&&V==a&&J&&!K?(S=q.join("").trim(),f.push([t.PROPERTY_VALUE,S,[b(g,S,u)]]),f.push([t.PROPERTY_VALUE,ne,[[te.line,te.column,te.source]]]),q=[],K=!0):ne==e.FORWARD_SLASH&&c[te.index+1]!=e.ASTERISK&&V==a&&J?(f.push([t.PROPERTY_VALUE,ne,[[te.line,te.column,te.source]]]),q=[],K=!0):ne==e.COMMA&&V==a&&J&&!K?(S=q.join("").trim(),f.push([t.PROPERTY_VALUE,S,[b(g,S,u)]]),f.push([t.PROPERTY_VALUE,ne,[[te.line,te.column,te.source]]]),q=[],K=!0):ne==e.COMMA&&V==a&&J?(f.push([t.PROPERTY_VALUE,ne,[[te.line,te.column,te.source]]]),q=[],K=!0):ne==e.CLOSE_SQUARE_BRACKET&&f&&f.length>1&&!K&&A(q)?(q.push(ne),S=q.join("").trim(),f[f.length-1][1]+=S,q=[],K=!0):(R||C&&!O)&&V==a&&J&&f&&!K||O&&V==a&&J&&f&&q.length>1?(S=q.join("").trim(),f.push([t.PROPERTY_VALUE,S,[b(g,S,u)]]),q=[],K=!0):O&&V==a&&J?(q=[],K=!0):O&&1==q.length?(q.pop(),K=0===q.length):K&&(R||C||O||D)||(q.push(ne),K=!1)}else f=null,m=null,S=q.join("").trim(),U.push([t.AT_RULE,S,[b(g,S,u)]]),U=B,V=j.pop(),J=!1,q=[],K=!0;else S=q.join(""),U.push([t.AT_RULE,S,[b(g,S,u)]]),J=!1,q=[],K=!0;else S=q.join("").trim(),f=[t.PROPERTY,[t.PROPERTY_NAME,S,[b(g,S,u)]]],U.push(f),J=!0,q=[],K=!0;else q.push(ne),K=!1,$--;else q.push(ne),K=!1,$++;else j.push(V),V=o,q.push(ne),K=!1;else j.push(V),V=s,q.push(ne),K=!1;else q.push(ne),K=!1;else q.push(ne),K=!1;M=!M&&ne==e.BACK_SLASH,W=P,X=F,te.line=O||C||D?te.line+1:te.line,te.column=O||C||D?0:te.column+1}return J&&u.warnings.push("Missing '}' at "+n([te.line,te.column,te.source])+"."),J&&q.length>0&&(S=q.join("").trimRight().replace(h,"$1").trimRight(),f.push([t.PROPERTY_VALUE,S,[b(g,S,u)]]),q=[]),q.length>0&&u.warnings.push("Invalid character(s) '"+q.join("")+"' at "+n(g)+". Ignoring."),B}function _(t){return p.test(t.join("")+e.FORWARD_SLASH)}function y(t){return l.test(t.join("")+e.FORWARD_SLASH)}function b(e,t,n,r){var i=e[2];return n.inputSourceMapTracker.isTracking(i)?n.inputSourceMapTracker.originalPositionFor(e,t.length,r):e}function E(n){var r=n[0]==e.AT||n[0]==e.UNDERSCORE,i=n.join("").split(g)[0];return r&&u.indexOf(i)>-1?t.NESTED_BLOCK:r&&c.indexOf(i)>-1?t.AT_RULE:r?t.AT_RULE_BLOCK:t.RULE}function x(e){return e==t.RULE?t.RULE_SCOPE:e==t.NESTED_BLOCK?t.NESTED_BLOCK_SCOPE:e==t.AT_RULE_BLOCK?t.AT_RULE_BLOCK_SCOPE:void 0}function w(e){var t=e.join("").trim();return d.indexOf(t)>-1||m.indexOf(t)>-1}function A(t){return f.test(t.join("")+e.CLOSE_SQUARE_BRACKET)}return fx=function(e,t){return v(e,t,{level:r,position:{source:t.source||void 0,line:1,column:0,index:0}},!1)}}function Gx(){if(vx)return gx;vx=1;var e=u,t=c,n=Fx(),r=Ix(),i=Cx(),o=function(){if(rx)return nx;rx=1;var e=u,t=c,n=Cx(),r=Rx(),i=kx();function o(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 a(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 s(t,e);e.sourcesContent[t]=n}return e.callback()}function s(o,s){var c;return i(o)?function(e,t,i){var o=n(e,!0,t.inline),a=!r(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),i(null)):a?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),i(null)):o?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(n,r){n&&t.warnings.push('Missing original source at "'+e+'" - '+n),i(r)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),i(null))}(o,s,function(e){return s.index++,s.sourcesContent[o]=e,a(s)}):(c=function(r,i){var o=n(r,!1,i.inline),a=t.resolve(i.rebaseTo,r);if(!e.existsSync(a)||!e.statSync(a).isFile())return i.warnings.push('Ignoring local source map at "'+a+'" as resource is missing.'),null;if(!o)return i.warnings.push('Cannot fetch "'+a+'" as resource is not allowed.'),null;var s=e.readFileSync(a,"utf8");return 65279===s.charCodeAt(0)&&(s=s.substring(1)),s}(o,s),s.index++,s.sourcesContent[o]=c,a(s))}return nx=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:o(e.inputSourceMapTracker.all()),warnings:e.warnings};return e.options.sourceMap&&e.options.sourceMapInlineSources?a(n):t()}}(),a=function(){if(ox)return ix;ox=1;var e=/\\/g;return ix=function(t){return t.replace(e,"/")},ix}(),s=Bx(),l=Ox(),p=Dx(),d=Mx(),m=Ux(),f=db(),h=ab(),g=Rx(),v=Lx(),_=kx();function y(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 n,r,i=t.resolve("");return _(e)?e:(n=t.isAbsolute(e)?e:t.resolve(e),r=t.relative(i,n),a(r))}function x(e,t,n){var r="string"==typeof e?JSON.parse(e):e,i=_(t)?p(r,t):l(r,t||"uri:unknown",n.options.rebaseTo);n.inputSourceMapTracker.track(t,i)}function w(e){return d("url("+e+")","")+h.SEMICOLON}function A(e,n,r,i){var o,a={};return n.source?_(n.source)?(a.fromBase=n.source,a.toBase=n.source):t.isAbsolute(n.source)?(a.fromBase=t.dirname(n.source),a.toBase=n.options.rebaseTo):(a.fromBase=t.dirname(t.resolve(n.source)),a.toBase=n.options.rebaseTo):(a.fromBase=t.resolve(""),a.toBase=n.options.rebaseTo),o=m(e,n),o=s(o,n.options.rebase,n.validator,a),function(e){return!(1==e.length&&"none"==e[0])}(r.inline)?function(e,t,n,r){return S({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,n,r,i):i(o)}function S(e){var t,n,r;for(n=0,r=e.sourceTokens.length;n<r;n++){if((t=e.sourceTokens[n])[0]==f.AT_RULE&&v(t[1]))return e.sourceTokens.splice(0,n),T(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 T(n,o){var s=r(n[1]),c=s[0],u=s[1],l=n[2];return _(c)?function(e,t,n,r){var o=i(e,!0,r.inline),a=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),S(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),S(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),S(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),S(r);if(!o&&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),S(r);if(!o)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),S(r);function u(i,o){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),S(r)})):(r.inline=r.externalContext.options.inline,r.isRemote=!0,r.externalContext.source=a,r.externalContext.sourcesContent[e]=o,r.externalContext.stats.originalSize+=o.length,A(o,r.externalContext,r,function(e){return e=k(e,t,n),r.outputTokens=r.outputTokens.concat(e),r.sourceTokens=r.sourceTokens.slice(1),S(r)}))}return r.inlinedStylesheets.push(e),s?u(null,r.externalContext.sourcesContent[e]):r.fetch(e,r.inlineRequest,r.inlineTimeout,u)}(c,u,l,o):function(n,r,o,s){var c,u=n.replace("file://",""),l=t.resolve(""),p=t.isAbsolute(u)?t.resolve(l,"/"==u[0]?u.substring(1):u):t.resolve(s.rebaseTo,u),d=t.relative(l,p),m=i(u,!1,s.inline),f=a(d),h=f in s.externalContext.sourcesContent;if(s.inlinedStylesheets.indexOf(p)>-1)s.warnings.push('Ignoring local @import of "'+u+'" as it has already been imported.');else if(!m||h||e.existsSync(p)&&e.statSync(p).isFile())if(!m&&s.afterContent)s.warnings.push('Ignoring local @import of "'+u+'" as resource is not allowed and after other content.');else if(s.afterContent)s.warnings.push('Ignoring local @import of "'+u+'" as after other content.');else{if(m)return 65279===(c=h?s.externalContext.sourcesContent[f]:e.readFileSync(p,"utf-8")).charCodeAt(0)&&(c=c.substring(1)),s.inlinedStylesheets.push(p),s.inline=s.externalContext.options.inline,s.externalContext.source=f,s.externalContext.sourcesContent[f]=c,s.externalContext.stats.originalSize+=c.length,A(c,s.externalContext,s,function(e){return e=k(e,r,o),s.outputTokens=s.outputTokens.concat(e),s.sourceTokens=s.sourceTokens.slice(1),S(s)});s.warnings.push('Skipping local @import of "'+u+'" as resource is not allowed.'),s.outputTokens=s.outputTokens.concat(s.sourceTokens.slice(0,1))}else s.errors.push('Ignoring local @import of "'+u+'" as resource is missing.');return s.sourceTokens=s.sourceTokens.slice(1),S(s)}(c,u,l,o)}function k(e,t,n){return t?[[f.NESTED_BLOCK,[[f.NESTED_BLOCK_SCOPE,"@media "+t,n]],e]]:e}return gx=function(e,t,r){return function(e,t,n){return"string"==typeof e?y(e,t,n):Buffer.isBuffer(e)?y(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 n(e,t,function(){return o(t,function(){return r(e)})})})}}var zx,Vx=Kn(Ax?wx:(Ax=1,wx=function(){if(xx)return nb.exports;xx=1;var e=Eg?bg:(Eg=1,bg=function(e){return e}),t=function(){if(E_)return b_;E_=1;var e=rb(),t=cb(),n=function(){if(Lg)return Ng;Lg=1;var e=/^@media\W/,t=/^@(?:keyframes|-moz-keyframes|-o-keyframes|-webkit-keyframes)\W/;return Ng=function(n,r){var i,o,a;for(a=n.length-1;a>=0;a--)i=!r&&e.test(n[a][1]),o=t.test(n[a][1]),n[a][1]=n[a][1].replace(/\n|\r\n/g," ").replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")"),o&&(n[a][1]=n[a][1].replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/,"$1").replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/,"$1")),i&&(n[a][1]=n[a][1].replace(/\) /g,")"));return n}}(),r=Ug?Bg:(Ug=1,Bg=function(e){return e.replace(/\s+/g," ").replace(/url\(\s+/g,"url(").replace(/\s+\)/g,")").trim()}),i=ub(),o=lb(),a=pb(),s=mb().all,c=Hb(),u=qb(),l=Eb().OptimizationLevel,p=db(),d=ab(),m=sb(),f=$b().rules,h="@charset",g=new RegExp("^"+h,"i"),v=bb().DEFAULT,_=/^--\S+$/,y=/^(?:-chrome-|-[\w-]+\w|\w[\w-]+\w|\w{1,})$/,b=/^@import/i,E=/^url\(/i;function x(e){return E.test(e)}function w(e){return b.test(e[1])}function A(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 S(){}function T(e,t,n){return t}function k(e,t,n){var r,l,d,h,g,v,b,E,w,T,C=n.options,O=f(e),D=s(t),P=n.options.plugins.level1Value,F=n.options.plugins.level1Property;for(w=0,T=D.length;w<T;w++){var I,M,N,L;if(d=(l=D[w]).name,b=c[d]&&c[d].propertyOptimizer||S,r=c[d]&&c[d].valueOptimizers||[u.whiteSpace],(E=_.test(d))&&(r=C.variableOptimizers.length>0?C.variableOptimizers:[u.whiteSpace]),E||y.test(d))if(0!==l.value.length)if(!l.hack||(l.hack[0]!=i.ASTERISK&&l.hack[0]!=i.UNDERSCORE||C.compatibility.properties.iePrefixHack)&&(l.hack[0]!=i.BACKSLASH||C.compatibility.properties.ieSuffixHack)&&(l.hack[0]!=i.BANG||C.compatibility.properties.ieBangHack))if(C.compatibility.properties.ieFilters||!A(l))if(l.block)k(e,l.value[0][1],n);else{for(I=0,N=l.value.length;I<N;I++){if(h=l.value[I][0],g=l.value[I][1],h==p.PROPERTY_BLOCK){l.unused=!0,n.warnings.push("Invalid value token at "+m(g[0][1][2][0])+". Ignoring.");break}if(x(g)&&!n.validator.isUrl(g)){l.unused=!0,n.warnings.push("Broken URL '"+g+"' at "+m(l.value[I][2][0])+". Ignoring.");break}for(M=0,L=r.length;M<L;M++)g=r[M](d,g,C);for(M=0,L=P.length;M<L;M++)g=P[M](d,g,C);l.value[I][1]=g}for(b(O,l,C),I=0,N=F.length;I<N;I++)F[I](O,l,C)}else l.unused=!0;else l.unused=!0;else v=l.all[l.position],n.warnings.push("Empty property '"+d+"' at "+m(v[1][2][0])+". Ignoring."),l.unused=!0;else v=l.all[l.position],n.warnings.push("Invalid property name '"+d+"' at "+m(v[1][2][0])+". Ignoring."),l.unused=!0}a(D),o(D),function(e,t){var n,r;for(r=0;r<e.length;r++)(n=e[r])[0]==p.COMMENT&&(R(n,t),0===n[1].length&&(e.splice(r,1),r--))}(t,C)}function R(e,t){e[1][2]==d.EXCLAMATION&&("all"==t.level[l.One].specialComments||t.commentsKept<t.level[l.One].specialComments)?t.commentsKept++:e[1]=[]}return b_=function i(o,a){var s=a.options,c=s.level[l.One],d=s.compatibility.selectors.ie7Hack,m=s.compatibility.selectors.adjacentSpace,f=s.compatibility.properties.spaceAfterClosingBrace,_=s.format,y=!1,b=!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)}),new 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=new RegExp("(\\d)\\.($|"+i.join("|")+")($|\\W)","g"),r.zeroMatcher=new RegExp("(\\d*)(\\.\\d+)("+i.join("|")+")","g")),r}(c.roundingPrecision),s.commentsKept=s.commentsKept||0,s.variableOptimizers=s.variableOptimizers||function(e){return e.level[l.One].variableValueOptimizers.map(function(e){return"string"==typeof e?u[e]||T:e})}(s);for(var E=0,x=o.length;E<x;E++){var A=o[E];switch(A[0]){case p.AT_RULE:A[1]=w(A)&&b?"":A[1],A[1]=c.tidyAtRules?r(A[1]):A[1],y=!0;break;case p.AT_RULE_BLOCK:k(A[1],A[2],a),b=!0;break;case p.NESTED_BLOCK:A[1]=c.tidyBlockScopes?n(A[1],f):A[1],i(A[2],a),b=!0;break;case p.COMMENT:R(A,s);break;case p.RULE:A[1]=c.tidySelectors?t(A[1],!d,m,_,a.warnings):A[1],A[1]=A[1].length>1?e(A[1],c.selectorsSortingMethod):A[1],k(A[1],A[2],a),b=!0}(A[0]==p.COMMENT&&0===A[1].length||c.removeEmpty&&(0===A[1].length||A[2]&&0===A[2].length))&&(o.splice(E,1),E--,x--)}return c.cleanupCharsets&&y&&function(e){for(var t=!1,n=0,r=e.length;n<r;n++){var i=e[n];i[0]==p.AT_RULE&&g.test(i[1])&&(t||-1==i[1].indexOf(h)?(e.splice(n,1),n--,r--):(t=!0,e.splice(n,1),e.unshift([p.AT_RULE,i[1].replace(g,h)])))}}(o),o},b_}(),n=sE(),r=function(){if(Fy)return Py;Fy=1;var e="var\\(\\-\\-[^\\)]+\\)",t="("+e+"|[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)|\\-(\\-|[A-Z]|[0-9])+\\(.*?\\))",n=new RegExp("^(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)$","i"),r=/[0-9]/,i=new RegExp("^"+t+"$","i"),o=/^#(?:[0-9a-f]{4}|[0-9a-f]{8})$/i,a=/^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}\)$/,s=/^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}\)$/,c=/^(-[a-z0-9_][a-z0-9\-_]*|[a-z_][a-z0-9\-_]*)$/i,u=/^[a-z]+$/i,l=/^-([a-z0-9]|-)*$/i,p=/^("[^"]*"|'[^']*')$/i,d=/^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,m=/^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,f=/\d+(s|ms)/,h=/^(cubic-bezier|steps)\([^)]+\)$/,g=["ms","s"],v=/^url\([\s\S]+\)$/i,_=new RegExp("^"+e+"$","i"),y=/^#[0-9a-f]{8}$/i,b=/^#[0-9a-f]{4}$/i,E=/^#[0-9a-f]{6}$/i,x=/^#[0-9a-f]{3}$/i,w={"^":["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"]},A=["%","ch","cm","em","ex","in","mm","pc","pt","px","rem","vh","vm","vmax","vmin","vw"];function S(e){return"auto"!=e&&(I("color")(e)||function(e){return x.test(e)||b.test(e)||E.test(e)||y.test(e)}(e)||T(e)||function(e){return u.test(e)}(e))}function T(e){return N(e)||C(e)}function k(e){return n.test(e)}function R(e){return i.test(e)}function C(e){return a.test(e)||s.test(e)}function O(e){return o.test(e)}function D(e){return c.test(e)}function P(e){return p.test(e)}function F(e){return"none"==e||"inherit"==e||V(e)}function I(e){return function(t){return w[e].indexOf(t)>-1}}function M(e){return q(e)==e.length}function N(e){return d.test(e)||m.test(e)}function L(e){return l.test(e)}function B(e){return M(e)&&parseFloat(e)>=0}function U(e){return _.test(e)}function G(e){var t=q(e);return t==e.length&&0===parseInt(e)||t>-1&&g.indexOf(e.slice(t+1))>-1||function(e){return R(e)&&f.test(e)}(e)}function z(e,t){var n=q(t);return n==t.length&&0===parseInt(t)||n>-1&&e.indexOf(t.slice(n+1).toLowerCase())>-1||"auto"==t||"inherit"==t}function V(e){return v.test(e)}function j(e){return"auto"==e||M(e)||I("^")(e)}function q(e){var t,n,i,o=!1,a=!1;for(n=0,i=e.length;n<i;n++)if(t=e[n],0!==n||"+"!=t&&"-"!=t){if(n>0&&a&&("+"==t||"-"==t))return n-1;if("."!=t||o){if("."==t&&o)return n-1;if(r.test(t))continue;return n-1}o=!0}else a=!0;return n}return Py=function(e){var t,n=A.slice(0).filter(function(t){return!(t in e.units)||!0===e.units[t]});return e.customUnits.rpx&&n.push("rpx"),{colorOpacity:e.colors.opacity,colorHexAlpha:e.colors.hexAlpha,isAnimationDirectionKeyword:I("animation-direction"),isAnimationFillModeKeyword:I("animation-fill-mode"),isAnimationIterationCountKeyword:I("animation-iteration-count"),isAnimationNameKeyword:I("animation-name"),isAnimationPlayStateKeyword:I("animation-play-state"),isTimingFunction:(t=I("*-timing-function"),function(e){return t(e)||h.test(e)}),isBackgroundAttachmentKeyword:I("background-attachment"),isBackgroundClipKeyword:I("background-clip"),isBackgroundOriginKeyword:I("background-origin"),isBackgroundPositionKeyword:I("background-position"),isBackgroundRepeatKeyword:I("background-repeat"),isBackgroundSizeKeyword:I("background-size"),isColor:S,isColorFunction:T,isDynamicUnit:k,isFontKeyword:I("font"),isFontSizeKeyword:I("font-size"),isFontStretchKeyword:I("font-stretch"),isFontStyleKeyword:I("font-style"),isFontVariantKeyword:I("font-variant"),isFontWeightKeyword:I("font-weight"),isFunction:R,isGlobal:I("^"),isHexAlphaColor:O,isHslColor:C,isIdentifier:D,isImage:F,isKeyword:I,isLineHeightKeyword:I("line-height"),isListStylePositionKeyword:I("list-style-position"),isListStyleTypeKeyword:I("list-style-type"),isNumber:M,isPrefixed:L,isPositiveNumber:B,isQuotedText:P,isRgbColor:N,isStyleKeyword:I("*-style"),isTime:G,isUnit:z.bind(null,n),isUrl:V,isVariable:U,isWidth:I("width"),isZIndex:j}},Py}(),i=function(){if(My)return Iy;My=1;var e={"*":{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"],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 t(e,n){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];Object.prototype.hasOwnProperty.call(n,r)&&"object"==typeof i&&!Array.isArray(i)?n[r]=t(i,n[r]||{}):n[r]=r in n?n[r]:i}return n}return e.ie11=t(e["*"],{properties:{ieSuffixHack:!0}}),e.ie10=t(e["*"],{properties:{ieSuffixHack:!0}}),e.ie9=t(e["*"],{properties:{ieFilters:!0,ieSuffixHack:!0}}),e.ie8=t(e.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}}),e.ie7=t(e.ie8,{properties:{ieBangHack:!0},selectors:{ie7Hack:!0,mergeablePseudoClasses:[":first-child",":first-letter",":hover",":visited"]}}),Iy=function(n){return t(e["*"],function(n){if("object"==typeof n)return n;if(!/[,+-]/.test(n))return e[n]||e["*"];var r=n.split(","),i=r[0]in e?e[r.shift()]:e["*"];return n={},r.forEach(function(e){var t="+"==e[0],r=e.substring(1).split("."),i=r[0],o=r[1];n[i]=n[i]||{},n[i][o]=t}),t(i,n)}(n))}}(),u=function(){if(jy)return Vy;jy=1;var e=function(){if(zy)return Gy;zy=1;var e=o,t=a,n=s,r=function(){if(Ly)return Ny;Ly=1;var e=/^http:\/\//;return Ny=function(t){return e.test(t)},Ny}(),i=function(){if(Uy)return By;Uy=1;var e=/^https:\/\//;return By=function(t){return e.test(t)},By}(),c=ib();return Gy=function o(a,s,u,l){var p,d=s.protocol||s.hostname,m=!1;p=c(n.parse(a),s||{}),void 0!==s.hostname&&(p.protocol=s.protocol||"http:",p.path=p.href),(d&&!i(d)||r(a)?e.get:t.get)(p,function(e){var t=[];if(!m){if(e.statusCode<200||e.statusCode>399)return l(e.statusCode,null);if(e.statusCode>299)return o(n.resolve(a,e.headers.location),s,u,l);e.on("data",function(e){t.push(e.toString())}),e.on("end",function(){var e=t.join("");l(null,e)})}}).on("error",function(e){m||(m=!0,l(e.message,null))}).on("timeout",function(){m||(m=!0,l("timeout",null))}).setTimeout(u)},Gy}();return Vy=function(t){return t||e}}(),l=ob().formatFrom,p=(Hy||(Hy=1,qy=function(e){return Array.isArray(e)?e:!1===e?["none"]:void 0===e?["local"]:e.split(",")}),qy),d=function(){if($y)return Ky;$y=1;var e=s,t=ib();return Ky=function(n){return t((r=process.env.HTTP_PROXY||process.env.http_proxy)?{hostname:e.parse(r).hostname,port:parseInt(e.parse(r).port)}:{},n||{});var r}}(),m=Xy?Wy:(Xy=1,Wy=function(e){return e||5e3}),f=Eb().OptimizationLevel,h=Eb().optimizationLevelFrom,g=Zy?Yy:(Zy=1,Yy=function(e){var t={level1Value:[],level1Property:[],level2Block:[]};return e=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}),v=Jy?Qy:(Jy=1,Qy=function(e,t){return void 0!==t||void 0!==e&&!!e}),_=function(){if(tb)return eb;tb=1;var e=c;return eb=function(t){return t?e.resolve(t):process.cwd()}}(),y=function(){if(LE)return NE;LE=1;var e=Tx().SourceMapConsumer;function t(e){return e}function n(e,t){return t in e}function r(e,t,n,i){for(var o,a,s=t[0],c=t[1],u=t[2],l={line:s,column:c+n};!o&&l.column>c;)l.column--,o=e[u].originalPositionFor(l);return!o||o.column<0?t:null===o.line&&s>1&&i>0?r(e,[s-1,c,u],n,i-1):null!==o.line?[(a=o).line,a.column,a.source]:t}function i(t,n,r){t[n]=new e(r)}return NE=function(){var e={};return{all:t.bind(null,e),isTracking:n.bind(null,e),originalPositionFor:r.bind(null,e),track:i.bind(null,e)}}}(),b=Gx(),E=function(){if(yx)return _x;yx=1;var e=Kb().all;function t(e,t){var n="string"==typeof t?t:t[1];(0,e.wrap)(e,n),r(e,n),e.output.push(n)}function n(e,t){e.column+t.length>e.format.wrapAt&&(r(e,e.format.breakWith),e.output.push(e.format.breakWith))}function r(e,t){var n=t.split("\n");e.line+=n.length-1,e.column=n.length>1?0:e.column+n.pop().length}return _x=function(r,i){var o={column:0,format:i.options.format,indentBy:0,indentWith:"",line:1,output:[],spaceAfterClosingBrace:i.options.compatibility.properties.spaceAfterClosingBrace,store:t,wrap:i.options.format.wrapAt?n:function(){}};return e(o,r),{styles:o.output.join("")}}}(),x=function(){if(Ex)return bx;Ex=1;var e=Tx().SourceMapGenerator,t=Kb().all,n=kx(),r="win32"==process.platform,i=/\//g;function o(e,t){var n="string"==typeof t,r=n?t:t[1],i=n?null:t[2];(0,e.wrap)(e,r),s(e,r,i),e.output.push(r)}function a(e,t){e.column+t.length>e.format.wrapAt&&(s(e,e.format.breakWith,!1),e.output.push(e.format.breakWith))}function s(e,t,n){var r=t.split("\n");n&&function(e,t){for(var n=0,r=t.length;n<r;n++)c(e,t[n])}(e,n),e.line+=r.length-1,e.column=r.length>1?0:e.column+r.pop().length}function c(e,t){var o=t[0],a=t[1],s=t[2],c=s,u=c||"$stdin";r&&c&&!n(c)&&(u=c.replace(i,"\\")),e.outputMap.addMapping({generated:{line:e.line,column:e.column},source:u,original:{line:o,column:a}}),e.inlineSources&&s in e.sourcesContent&&e.outputMap.setSourceContent(u,e.sourcesContent[s])}return bx=function(n,r){var i={column:0,format:r.options.format,indentBy:0,indentWith:"",inlineSources:r.options.sourceMapInlineSources,line:1,output:[],outputMap:new e,sourcesContent:r.sourcesContent,spaceAfterClosingBrace:r.options.compatibility.properties.spaceAfterClosingBrace,store:o,wrap:r.options.format.wrapAt?a:function(){}};return t(i,n),{sourceMap:i.outputMap,styles:i.output.join("")}}}(),w=nb.exports=function(e){e=e||{},this.options={batch:!!e.batch,compatibility:i(e.compatibility),explicitRebaseTo:"rebaseTo"in e,fetch:u(e.fetch),format:l(e.format),inline:p(e.inline),inlineRequest:d(e.inlineRequest),inlineTimeout:m(e.inlineTimeout),level:h(e.level),plugins:g(e.plugins),rebase:v(e.rebase,e.rebaseTo),rebaseTo:_(e.rebaseTo),returnPromise:!!e.returnPromise,sourceMap:!!e.sourceMap,sourceMapInlineSources:!!e.sourceMapInlineSources}};function A(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=[],u={};function l(e,t){u=Object.assign(u,t),null!==e&&(c=c.concat(e))}for(o=0,a=e.length;o<a;o++)"object"==typeof e[o]?S(e[o],t,l):(i=e[o],u[i]=T([i],t),c=c.concat(u[i].errors));return s?s(c.length>0?c:null,u):u}(e,t,n,r):t.batch&&"object"==typeof e?S(e,t,n,r):T(e,t,n,r)}function S(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]=T(o.styles,t,o.sourceMap),s=s.concat(c[i].errors);return a?a(s.length>0?s:null,c):c}function T(i,o,a,s){var c="function"!=typeof a?a:null,u="function"==typeof s?s:"function"==typeof a?a:null,l={stats:{efficiency:0,minifiedSize:0,originalSize:0,startedAt:Date.now(),timeSpent:0},cache:{specificity:{}},errors:[],inlinedStylesheets:[],inputSourceMapTracker:y(),localOnly:!u,options:o,source:null,sourcesContent:{},validator:r(o.compatibility),warnings:[]};return c&&l.inputSourceMapTracker.track(void 0,c),o.rebase&&!o.explicitRebaseTo&&l.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."),(l.localOnly?function(e){return e()}:process.nextTick)(function(){return b(i,l,function(r){var i=l.options.sourceMap?x:E,o=function(r,i){var o=e(r,i);return o=f.One in i.options.level?t(r,i):r,o=f.Two in i.options.level?n(r,i,!0):o}(r,l),a=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}(i(o,l),l);return u?u(l.errors.length>0?l.errors:null,a):a})})}return w.process=function(e,t){var n=t.to;return delete t.to,new w(Object.assign({returnPromise:!0,rebaseTo:n},t)).minify(e).then(function(e){return{css:e.styles}})},w.prototype.minify=function(e,t,n){var r=this.options;return r.returnPromise?new Promise(function(n,i){A(e,r,t,function(e,t){return e?i(e):n(t)})}):A(e,r,t,n)},nb.exports}())),jx=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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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))),qx=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));const Hx=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]]),Kx=null!==(zx=String.fromCodePoint)&&void 0!==zx?zx: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 $x,Wx,Xx,Yx;function Zx(e){return e>=$x.ZERO&&e<=$x.NINE}function Qx(e){return e>=$x.UPPER_A&&e<=$x.UPPER_F||e>=$x.LOWER_A&&e<=$x.LOWER_F}function Jx(e){return e===$x.EQUALS||function(e){return e>=$x.UPPER_A&&e<=$x.UPPER_Z||e>=$x.LOWER_A&&e<=$x.LOWER_Z||Zx(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"}($x||($x={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(Wx||(Wx={})),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"}(Xx||(Xx={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(Yx||(Yx={}));class ew{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Xx.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Yx.Strict}startEntity(e){this.decodeMode=e,this.state=Xx.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Xx.EntityStart:return e.charCodeAt(t)===$x.NUM?(this.state=Xx.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Xx.NamedEntity,this.stateNamedEntity(e,t));case Xx.NumericStart:return this.stateNumericStart(e,t);case Xx.NumericDecimal:return this.stateNumericDecimal(e,t);case Xx.NumericHex:return this.stateNumericHex(e,t);case Xx.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===$x.LOWER_X?(this.state=Xx.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Xx.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!Zx(r)&&!Qx(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){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!Zx(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)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===$x.SEMI)this.consumed+=1;else if(this.decodeMode===Yx.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=Hx.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==$x.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&Wx.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const o=e.charCodeAt(t);if(this.treeIndex=nw(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===Yx.Attribute&&(0===i||Jx(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Wx.VALUE_LENGTH)>>14,0!==i){if(o===$x.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Yx.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&Wx.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~Wx.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Xx.NamedEntity:return 0===this.result||this.decodeMode===Yx.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Xx.NumericDecimal:return this.emitNumericEntity(0,2);case Xx.NumericHex:return this.emitNumericEntity(0,3);case Xx.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Xx.EntityStart:return 0}}}function tw(e){let t="";const n=new ew(e,e=>t+=Kx(e));return function(e,r){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);const a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}const a=t+e.slice(i);return t="",a}}function nw(e,t,n,r){const i=(t&Wx.BRANCH_LENGTH)>>7,o=t&Wx.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){const t=r-o;return t<0||t>=i?-1:e[n+t]-1}let a=n,s=a+i-1;for(;a<=s;){const 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 rw=tw(jx);var iw,ow,aw,sw,cw,uw,lw,pw,dw,mw,fw,hw,gw,vw,_w,yw,bw,Ew,xw,ww,Aw,Sw,Tw,kw,Rw,Cw,Ow,Dw,Pw,Fw,Iw,Mw,Nw,Lw;function Bw(){return ow?iw:(ow=1,iw={ABSOLUTE:"absolute",PATH_RELATIVE:"pathRelative",ROOT_RELATIVE:"rootRelative",SHORTEST:"shortest"})}function Uw(){return uw||(uw=1,cw={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}}),cw}function Gw(){return Sw?Aw:(Sw=1,Aw={join:function(e){return e.length>0?e.join("/")+"/":""},resolveDotSegments:function(e){var t=[];return e.forEach(function(e){".."!==e?"."!==e&&t.push(e):t.length>0&&t.splice(t.length-1,1)}),t}})}function zw(){return Cw||(Cw=1,Rw={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,u=e.resource===t.resource||!e.resource&&t.extra.resourceIsIndex||n.removeDirectoryIndexes&&e.extra.resourceIsIndex&&!t.resource,l=c&&(u||r||i||o),p=n.removeEmptyQueries?"stripped":"full",d=e.query.string[p],m=t.query.string[p],f=l&&!!d&&d===m||(i||o)&&!e.extra.hrefInfo.separatorOnlyQuery,h=f&&e.hash===t.hash;e.extra.relation.minimumPath=c,e.extra.relation.minimumResource=l,e.extra.relation.minimumQuery=f,e.extra.relation.minimumHash=h,e.extra.relation.maximumPort=!s||s&&!c,e.extra.relation.maximumPath=!s||s&&!l,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}}),Rw}function Vw(){if(Mw)return Iw;Mw=1;var e=function(){if(Dw)return Ow;Dw=1;var e=zw(),t=Uw(),n=Gw();return Ow=function(r,i,o){e.upToPath(r,i,o),r.extra.relation.minimumScheme&&(r.scheme=i.scheme),r.extra.relation.minimumAuth&&(r.auth=i.auth),r.extra.relation.minimumHost&&(r.host=t.clone(i.host)),r.extra.relation.minimumPort&&function(e,t){e.port=t.port,e.extra.portIsDefault=t.extra.portIsDefault}(r,i),r.extra.relation.minimumScheme&&function(e,r){if(e.extra.relation.maximumHost||!e.extra.hrefInfo.minimumResourceOnly){var i=e.path.absolute.array,o="/";i?(e.extra.hrefInfo.minimumPathOnly&&0!==e.path.absolute.string.indexOf("/")&&(i=r.path.absolute.array.concat(i)),i=n.resolveDotSegments(i),o+=n.join(i)):i=[],e.path.absolute.array=i,e.path.absolute.string=o}else e.path=t.clone(r.path)}(r,i),e.pathOn(r,i,o),r.extra.relation.minimumResource&&function(e,t){e.resource=t.resource,e.extra.resourceIsIndex=t.extra.resourceIsIndex}(r,i),r.extra.relation.minimumQuery&&(r.query=t.clone(i.query)),r.extra.relation.minimumHash&&(r.hash=i.hash)},Ow}(),t=function(){if(Fw)return Pw;Fw=1;var e=Gw();return Pw=function(t,n,r){if(t.extra.relation.minimumScheme){var i=(o=t.path.absolute.array,a=n.path.absolute.array,s=[],c=!0,u=-1,a.forEach(function(e,t){c&&(o[t]!==e?c=!1:u=t),c||s.push("..")}),o.forEach(function(e,t){t>u&&s.push(e)}),s);t.path.relative.array=i,t.path.relative.string=e.join(i)}var o,a,s,c,u}}();return Iw=function(n,r,i){return e(r,n,i),t(r,n,i),r},Iw}tw(qx);var jw=function(){if(Lw)return Nw;Lw=1;var e=Bw(),t=function(){if(sw)return aw;sw=1;var e=Bw();function t(e,t){var n=t.removeEmptyQueries&&e.extra.relation.minimumPort;return e.query.string[n?"stripped":"full"]}function n(t,n){return!t.extra.relation.minimumQuery||n.output===e.ABSOLUTE||n.output===e.ROOT_RELATIVE}function r(t,n){var r=n.removeDirectoryIndexes&&t.extra.resourceIsIndex,i=t.extra.relation.minimumResource&&n.output!==e.ABSOLUTE&&n.output!==e.ROOT_RELATIVE;return!!t.resource&&!i&&!r}return aw=function(i,o){var a="";return a+=function(t,n){var r="";return(t.extra.relation.maximumHost||n.output===e.ABSOLUTE)&&(t.extra.relation.minimumScheme&&n.schemeRelative&&n.output!==e.ABSOLUTE?r+="//":r+=t.scheme+"://"),r}(i,o),a+=function(t,n){return!t.auth||n.removeAuth||!t.extra.relation.maximumHost&&n.output!==e.ABSOLUTE?"":t.auth+"@"}(i,o),a+=function(t,n){return t.host.full&&(t.extra.relation.maximumAuth||n.output===e.ABSOLUTE)?t.host.full:""}(i,o),a+=function(e){return e.port&&!e.extra.portIsDefault&&e.extra.relation.maximumHost?":"+e.port:""}(i),a+=function(i,o){var a="",s=i.path.absolute.string,c=i.path.relative.string,u=r(i,o);if(i.extra.relation.maximumHost||o.output===e.ABSOLUTE||o.output===e.ROOT_RELATIVE)a=s;else if(c.length<=s.length&&o.output===e.SHORTEST||o.output===e.PATH_RELATIVE){if(""===(a=c)){var l=n(i,o)&&!!t(i,o);i.extra.relation.maximumPath&&!u?a="./":!i.extra.relation.overridesQuery||u||l||(a="./")}}else a=s;return"/"!==a||u||!o.removeRootTrailingSlash||i.extra.relation.minimumPort&&o.output!==e.ABSOLUTE||(a=""),a}(i,o),a+=function(e,t){return r(e,t)?e.resource:""}(i,o),a+=function(e,r){return n(e,r)?t(e,r):""}(i,o),a+function(e){return e.hash?e.hash:""}(i)},aw}(),n=function(){if(pw)return lw;pw=1;var e=Uw();function t(t,n){return n instanceof Object&&t instanceof Object?n instanceof Array&&t instanceof Array?n.concat(t):e.shallowMerge(t,n):t}return lw=function(n,r){if(e.isPlainObject(n)){var i={};for(var o in r)r.hasOwnProperty(o)&&(void 0!==n[o]?i[o]=t(n[o],r[o]):i[o]=r[o]);return i}return r},lw}(),r=Uw(),i=function(){if(kw)return Tw;kw=1;var e=(mw||(mw=1,dw=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}),dw),t=(hw||(hw=1,fw=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}}}),fw),n=function(){if(vw)return gw;function e(e){if("/"!==e){var t=[];return e.split("/").forEach(function(e){""!==e&&t.push(e)}),t}return[]}return vw=1,gw=function(t,n){var r=t.path.absolute.string;if(r){var i=r.lastIndexOf("/");if(i>-1){if(++i<r.length){var o=r.substr(i);"."!==o&&".."!==o?(t.resource=o,r=r.substr(0,i)):r+="/"}t.path.absolute.string=r,t.path.absolute.array=e(r)}else"."===r||".."===r?(r+="/",t.path.absolute.string=r,t.path.absolute.array=e(r)):(t.resource=r,t.path.absolute.string=null);t.extra.resourceIsIndex=function(e,t){var n=!1;return t.directoryIndexes.every(function(t){return t!==e||(n=!0,!1)}),n}(t.resource,n)}},gw}(),r=(yw||(yw=1,_w=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)}),_w),i=function(){if(Ew)return bw;Ew=1;var e=Object.prototype.hasOwnProperty;function t(t,n){var r=0,i="";for(var o in t)if(""!==o&&!0===e.call(t,o)){var a=t[o];""===a&&n||(i+=1===++r?"?":"&",o=encodeURIComponent(o),i+=""!==a?o+"="+encodeURIComponent(a).replace(/%20/g,"+"):o)}return i}return bw=function(e,n){e.query.string.full=t(e.query.object,!1),n.removeEmptyQueries&&(e.query.string.stripped=t(e.query.object,!0))},bw}(),o=function(){if(ww)return xw;ww=1;var e=s.parse;return xw=function(t,n){return function(e,t){var n=!0;return t.rejectedSchemes.every(function(t){return n=!(0===e.indexOf(t+":"))}),n}(t,n)?((i=(r=e(t,!0,n.slashesDenoteHost)).protocol)&&i.indexOf(":")===i.length-1&&(i=i.substr(0,i.length-1)),r.host={full:r.hostname,stripped:null},r.path={absolute:{array:null,string:r.pathname},relative:{array:null,string:null}},r.query={object:r.query,string:{full:null,stripped:null}},r.extra={hrefInfo:{minimumPathOnly:null,minimumResourceOnly:null,minimumQueryOnly:null,minimumHashOnly:null,empty:null,separatorOnlyQuery:"?"===r.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:r.slashes},r.resource=null,r.scheme=i,delete r.hostname,delete r.pathname,delete r.protocol,delete r.search,delete r.slashes,r):{href:t,valid:!1};var r,i},xw}(),a=Gw();function c(a,s){var c=o(a,s);return!1===c.valid||(t(c,s),r(c,s),n(c,s),i(c,s),e(c)),c}return Tw={from:function(e,t,n){if(e){var r=c(e,t),i=a.resolveDotSegments(r.path.absolute.array);return r.path.absolute.array=i,r.path.absolute.string="/"+a.join(i),r}return n},to:c},Tw}(),o=Vw();function a(e,t){this.options=n(t,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:["index.html"],ignore_www:!1,output:a.SHORTEST,rejectedSchemes:["data","javascript","mailto"],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=i.from(e,this.options,null)}return a.prototype.relate=function(e,a,s){if(r.isPlainObject(a)?(s=a,a=e,e=null):a||(a=e,e=null),s=n(s,this.options),e=e||s.site,!(e=i.from(e,s,this.from))||!e.href)throw new Error("from value not defined.");if(e.extra.hrefInfo.minimumPathOnly)throw new Error("from value supplied is not absolute: "+e.href);return!1===(a=i.to(a,s)).valid?a.href:(a=o(e,a,s),a=t(a,s))},a.relate=function(e,t,n){return(new a).relate(e,t,n)},r.shallowMerge(a,e),Nw=a}(),qw=Kn(jw);async function Hw(e,t,n){const r=[];e.replace(t,(e,...t)=>{const i=n(e,...t);r.push(i)});const i=await Promise.all(r);return e.replace(t,()=>i.shift())}class Kw extends Set{has(e){return super.has(e.toLowerCase())}}const $w=/([^\s"'<>/=]+)/,Ww=[/=/],Xw=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^ \t\n\f\r"'`=<>]+)/.source],Yw=function(){const e="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",t="["+e+"_]["+e+"0-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]*";return"((?:"+t+"\\:)?"+t+")"}(),Zw=new RegExp("^<"+Yw),Qw=/^\s*(\/?)>/,Jw=new RegExp("^<\\/"+Yw+"[^>]*>"),eA=/^<!DOCTYPE\s?[^>]+>/i;let tA=!1;"x".replace(/x(.)?/g,function(e,t){tA=""===t});const nA=new Kw(["area","base","basefont","br","col","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),rA=new Kw(["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"]),iA=new Kw(["colgroup","dd","dt","li","option","p","td","tfoot","th","thead","tr","source"]),oA=new Kw(["checked","compact","declare","defer","disabled","ismap","multiple","nohref","noresize","noshade","nowrap","readonly","selected"]),aA=new Kw(["script","style"]),sA=new Kw(["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"]),cA={};class uA{constructor(e,t){this.html=e,this.handler=t}async parse(){let e=this.html;const t=this.handler,n=[];let r;const i=function(e){let t=$w.source+"(?:\\s*("+function(e){return Ww.concat(e.customAttrAssign||[]).map(function(e){return"(?:"+e.source+")"}).join("|")}(e)+")[ \\t\\n\\f\\r]*(?:"+Xw.join("|")+"))?";if(e.customAttrSurround){const 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 new RegExp("^\\s*"+t)}(t);let o,a,s;for(;e;){if(o=e,r&&aA.has(r)){const n=r.toLowerCase(),i=cA[n]||(cA[n]=new RegExp("([\\s\\S]*?)</"+n+"[^>]*>","i"));e=await Hw(e,i,async(e,r)=>("script"!==n&&"style"!==n&&"noscript"!==n&&(r=r.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),t.chars&&await t.chars(r),"")),await d("</"+n+">",n)}else{let n,r=e.indexOf("<");if(0===r){if(/^<!--/.test(e)){const n=e.indexOf("--\x3e");if(n>=0){t.comment&&await t.comment(e.substring(4,n)),e=e.substring(n+3),a="";continue}}if(/^<!\[/.test(e)){const n=e.indexOf("]>");if(n>=0){t.comment&&await t.comment(e.substring(2,n+1),!0),e=e.substring(n+2),a="";continue}}const n=e.match(eA);if(n){t.doctype&&t.doctype(n[0]),e=e.substring(n[0].length),a="";continue}const i=e.match(Jw);if(i){e=e.substring(i[0].length),await Hw(i[0],Jw,d),a="/"+i[1].toLowerCase();continue}const o=c(e);if(o){e=o.rest,await l(o),a=o.tagName.toLowerCase();continue}t.continueOnParseError&&(r=e.indexOf("<",1))}r>=0?(n=e.substring(0,r),e=e.substring(r)):(n=e,e="");let i=c(e);i?s=i.tagName:(i=e.match(Jw),s=i?"/"+i[1]:""),t.chars&&await t.chars(n,a,s),a=""}if(e===o)throw new Error("Parse Error: "+e)}function c(e){const t=e.match(Zw);if(t){const n={tagName:t[1],attrs:[]};let r,o;for(e=e.slice(t[0].length);!(r=e.match(Qw))&&(o=e.match(i));)e=e.slice(o[0].length),n.attrs.push(o);if(r)return n.unarySlash=r[1],n.rest=e.slice(r[0].length),n}}async function u(e){if(p(e)>=0)return await d("",e),!0}async function l(e){const i=e.tagName;let o=e.unarySlash;if(t.html5&&("p"===r&&sA.has(i)?await d("",r):"tbody"===i?await u("thead"):"tfoot"===i&&(await u("tbody")||await u("thead")),"col"===i&&p("colgroup")<0&&(r="colgroup",n.push({tag:r,attrs:[]}),t.start&&await t.start(r,[],!1,""))),!t.html5&&!rA.has(i))for(;r&&rA.has(r);)await d("",r);iA.has(i)&&r===i&&await d("",i);const a=nA.has(i)||"html"===i&&"head"===r||!!o,s=e.attrs.map(function(e){let n,r,i,o,a,s;function c(t){return a=e[t],r=e[t+1],void 0!==r?'"':(r=e[t+2],void 0!==r?"'":(r=e[t+3],void 0===r&&oA.has(n)&&(r=n),""))}tA&&-1===e[0].indexOf('""')&&(""===e[3]&&delete e[3],""===e[4]&&delete e[4],""===e[5]&&delete e[5]);let u=1;if(t.customAttrSurround)for(let r=0,a=t.customAttrSurround.length;r<a;r++,u+=7)if(n=e[u+1],n){s=c(u+2),i=e[u],o=e[u+6];break}return!n&&(n=e[u])&&(s=c(u+1)),{name:n,value:r,customAssign:a||"=",customOpen:i||"",customClose:o||"",quote:s||""}});a||(n.push({tag:i,attrs:s}),r=i,o=""),t.start&&await t.start(i,s,a,o)}function p(e){let t;const r=e.toLowerCase();for(t=n.length-1;t>=0&&n[t].tag.toLowerCase()!==r;t--);return t}async function d(e,i){let o;if(o=i?p(i):0,o>=0){for(let r=n.length-1;r>=o;r--)t.end&&t.end(n[r].tag,n[r].attrs,r>o||!e);n.length=o,r=o&&n[o-1].tag}else"br"===i.toLowerCase()?t.start&&await t.start(i,[],!0,""):"p"===i.toLowerCase()&&(t.start&&await t.start(i,[],!1,"",!0),t.end&&t.end(i,[]))}t.partialMarkup||await d()}}class lA{sort(e,t=0){for(let n=0,r=this.keys.length;n<r;n++){const r=this.keys[n],i=r.slice(1);let 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}}class pA{add(e){e.forEach(t=>{const n="$"+t;this[n]||(this[n]=[],this[n].processed=0),this[n].push(e)})}createSorter(){const e=new lA;return e.keys=Object.keys(this).sort((e,t)=>{const n=this[e].length,r=this[t].length;return n<r?1:n>r||e<t?-1:e>t?1:0}).filter(t=>{if(this[t].processed<this[t].length){const n=t.slice(1),r=new pA;return this[t].forEach(e=>{let t;for(;-1!==(t=e.indexOf(n));)e.splice(t,1);e.forEach(e=>{this["$"+e].processed++}),r.add(e.slice(0))}),e[t]=r.createSorter(),!0}return!1}),e}}function dA(e){return e&&e.replace(/^[ \n\r\t\f]+/,"").replace(/[ \n\r\t\f]+$/,"")}function mA(e){return e&&e.replace(/[ \n\r\t\f\xA0]+/g,function(e){return"\t"===e?"\t":e.replace(/(^|\xA0+)[^\xA0]+/g,"$1 ")})}function fA(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){const 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){const n=!a&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/[^\xA0]+(\xA0+)/g," $1").replace(/[^\xA0]+$/,"")||(n?" ":"")})),i&&(e=mA(e)),o+e+a}const hA=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"]),gA=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"]),vA=new Set(["comment","img","input","wbr"]);function _A(e,t,n,r){let i=t&&!vA.has(t);i&&!r.collapseInlineTagWhitespace&&(i="/"===t.charAt(0)?!hA.has(t.slice(1)):!gA.has(t));let o=n&&!vA.has(n);return o&&!r.collapseInlineTagWhitespace&&(o="/"===n.charAt(0)?!gA.has(n.slice(1)):!hA.has(n)),fA(e,r,i,o,t&&n)}function yA(e,t){for(let n=e.length;n--;)if(e[n].name.toLowerCase()===t)return!0;return!1}const bA=new Set(["text/javascript","text/ecmascript","text/jscript","application/javascript","application/x-javascript","application/ecmascript","module"]),EA=new Set(["module"]);function xA(e=""){return""===(e=dA(e.split(/;/,2)[0]).toLowerCase())||bA.has(e)}function wA(e=""){return""===(e=dA(e).toLowerCase())||"text/css"===e}function AA(e,t){if("style"!==e)return!1;for(let e=0,n=t.length;e<n;e++)if("type"===t[e].name.toLowerCase())return wA(t[e].value);return!0}const SA=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"]),TA=new Set(["true","false"]);function kA(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 RA=new Set(["img","source"]);function CA(e){return"/* clean-css ignore:start */"+e+"/* clean-css ignore:end */"}function OA(e,t){switch(t){case"inline":return"*{"+e+"}";case"media":return"@media "+e+"{a{top:0}}";default:return e}}const DA=new Set(["html","head","body","colgroup","tbody"]),PA=new Set(["html","head","body","li","dt","dd","p","rb","rt","rtc","rp","optgroup","option","colgroup","caption","thead","tbody","tfoot","tr","td","th"]),FA=new Set(["meta","link","script","style","template","noscript"]),IA=new Set(["dt","dd"]),MA=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"]),NA=new Set(["a","audio","del","ins","map","noscript","video"]),LA=new Set(["rb","rt","rtc","rp"]),BA=new Set(["rb","rtc","rp"]),UA=new Set(["option","optgroup"]),GA=new Set(["tbody","tfoot"]),zA=new Set(["thead","tbody","tfoot"]),VA=new Set(["td","th"]),jA=new Set(["html","head","body"]),qA=new Set(["html","body"]),HA=new Set(["head","colgroup","caption"]),KA=new Set(["dt","thead"]),$A=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"]),WA=new RegExp("^(?:class|id|style|title|lang|dir|on(?:focus|blur|change|click|dblclick|mouse(?:down|up|over|move|out)|key(?:press|down|up)))$");function XA(e,t){for(let n=t.length-1;n>=0;n--)if(t[n].name===e)return!0;return!1}function YA(e){return!/^(?:script|style|pre|textarea)$/.test(e)}function ZA(e){return!/^(?:pre|textarea)$/.test(e)}async function QA(e,t,n,r){const i=r.name(e.name);let o=e.value;if(r.decodeEntities&&o&&(o=rw(o,Yx.Strict)),!(r.removeRedundantAttributes&&function(e,t,n,r){return n=n?dA(n.toLowerCase()):"","script"===e&&"language"===t&&"javascript"===n||"form"===e&&"method"===t&&"get"===n||"input"===e&&"type"===t&&"text"===n||"script"===e&&"charset"===t&&!yA(r,"src")||"a"===e&&"name"===t&&yA(r,"id")||"area"===e&&"shape"===t&&"rect"===n}(n,i,o,t)||r.removeScriptTypeAttributes&&"script"===n&&"type"===i&&xA(o)&&!function(e=""){return e=dA(e.split(/;/,2)[0]).toLowerCase(),EA.has(e)}(o)||r.removeStyleLinkTypeAttributes&&("style"===n||"link"===n)&&"type"===i&&wA(o)||(o&&(o=await async function(e,t,n,r,i){if(function(e,t){const 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=dA(n).replace(/^javascript:\s*/i,""),r.minifyJS(n,!0);if("class"===t)return n=dA(n),r.sortClassName?r.sortClassName(n):mA(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=dA(n),kA(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 dA(n);if("style"===t)return(n=dA(n))&&(/;$/.test(n)&&!/&#?[0-9a-zA-Z]+;$/.test(n)&&(n=n.replace(/\s*;$/,";")),n=await r.minifyCSS(n,"inline")),n;if(function(e,t){return"srcset"===e&&RA.has(t)}(t,e))n=dA(n).split(/\s+,\s*|\s*,\s+/).map(function(e){let t=e,n="";const i=e.match(/\s+([1-9][0-9]*w|[0-9]+(?:\.[0-9]+)?x)$/);if(i){t=t.slice(0,-i[0].length);const 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 mA(n);if(r.customAttrCollapse&&r.customAttrCollapse.test(t))n=dA(n.replace(/ ?[\n\r]+ ?/g,"").replace(/\s{2,}/g,r.conservativeCollapse?" ":""));else if("script"===e&&"type"===t)n=dA(n.replace(/\s*;\s*/g,";"));else if(function(e,t,n){return"media"===n&&(kA(e,t,"stylesheet")||AA(e,t))}(e,i,t))return n=dA(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||WA.test(t))}(n,i,o,r))))return r.decodeEntities&&o&&(o=o.replace(/&(#?[0-9a-zA-Z]+;)/g,"&amp;$1")),{attr:e,name:i,value:o}}function JA(e,t,n,r,i){const o=e.name;let a=e.value;const s=e.attr;let c,u,l=s.quote;return void 0===a||n.removeAttributeQuotes&&!~a.indexOf(i)&&/^[^ \t\n\f\r"'`=<>]+$/.test(a)?u=!r||t||/\/$/.test(a)?a+" ":a:(n.preventAttributesEscaping||(l=void 0===n.quoteCharacter?(a.match(/'/g)||[]).length<(a.match(/"/g)||[]).length?"'":'"':"'"===n.quoteCharacter?"'":'"',a='"'===l?a.replace(/"/g,"&#34;"):a.replace(/'/g,"&#39;")),u=l+a+l,r||n.removeTagWhitespace||(u+=" ")),void 0===a||n.collapseBooleanAttributes&&function(e,t){return SA.has(e)||"draggable"===e&&!TA.has(t)}(o.toLowerCase(),a.toLowerCase())?(c=o,r||(c+=" ")):c=o+s.customAssign+u,s.customOpen+c+s.customClose}function eS(e){return e}function tS(e){return Promise.resolve(e)}function nS(e){let t;do{t=Math.random().toString(36).replace(/^0\.[0-9]*/,"")}while(~e.indexOf(t));return t}const rS=new Set(["script","style"]);async function iS(e,t,n){t.collapseWhitespace&&(e=fA(e,t,!0,!0));const r=[];let i,o,a="",s="",c=[];const u=[],l=[];let p="",d="";const m=[],f=[];let h,g,v;e=e.replace(/<!-- htmlmin:ignore -->([\s\S]*?)<!-- htmlmin:ignore -->/g,function(n,r){if(!h){h=nS(e);const n=new RegExp("^"+h+"([0-9]+)$");t.ignoreCustomComments?t.ignoreCustomComments=t.ignoreCustomComments.slice():t.ignoreCustomComments=[],t.ignoreCustomComments.push(n)}const i="\x3c!--"+h+m.length+"--\x3e";return m.push(r),i});const _=t.ignoreCustomFragments.map(function(e){return e.source});if(_.length){const n=new RegExp("\\s*(?:"+_.join("|")+")+\\s*","g");e=e.replace(n,function(n){var r;g||(g=nS(e),v=new RegExp("(\\s*)"+g+"([0-9]+)"+g+"(\\s*)","g"),t.minifyCSS&&(t.minifyCSS=(r=t.minifyCSS,function(e,t){e=e.replace(v,function(e,t,n){const r=f[+n];return r[1]+g+n+g+r[2]});const n=[];return(new Vx).minify(OA(e,t)).warnings.forEach(function(t){const r=v.exec(t);if(r){const t=g+r[2]+g;e=e.replace(t,CA(t)),n.push(t)}}),r(e,t).then(e=>(n.forEach(function(t){e=e.replace(CA(t),t)}),e))})),t.minifyJS&&(t.minifyJS=function(e){return function(t,n){return e(t.replace(v,function(e,t,n){const r=f[+n];return r[1]+g+n+g+r[2]}),n)}}(t.minifyJS)));const i=g+f.length+g;return f.push(/^(\s*)[\s\S]*?(\s*)$/.exec(n)),"\t"+i+"\t"})}function y(e,n){return t.canTrimWhitespace(e,n,ZA)}function b(){let e=r.length-1;for(;e>0&&!/^<[^/!]/.test(r[e]);)e--;r.length=Math.max(0,e)}function E(){let e=r.length-1;for(;e>0&&!/^<\//.test(r[e]);)e--;r.length=Math.max(0,e)}function x(e,n){for(let i=null;e>=0&&y(i);e--){const o=r[e],a=o.match(/^<\/([\w:-]+)>$/);if(a)i=a[1];else if(/>$/.test(o)||(r[e]=_A(o,null,n,t)))break}}function w(e){let t=r.length-1;if(r.length>1){const e=r[r.length-1];/^(?:<!|$)/.test(e)&&-1===e.indexOf(h)&&t--}x(t,e)}(t.sortAttributes&&"function"!=typeof t.sortAttributes||t.sortClassName&&"function"!=typeof t.sortClassName)&&await async function(e,t,n,r){const i=t.sortAttributes&&Object.create(null),o=t.sortClassName&&new pA;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)}const u=t.log;if(t.log=eS,t.sortAttributes=!1,t.sortClassName=!1,await async function e(n){let r,s;const u=new uA(n,{start:function(e,n){i&&(i[e]||(i[e]=new pA),i[e].add(a(n).filter(c)));for(let i=0,a=n.length;i<a;i++){const a=n[i];o&&a.value&&"class"===t.name(a.name)?o.add(dA(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&&rS.has(r)&&t.processScripts.indexOf(s)>-1&&await e(n)}});await u.parse()}(await iS(e,t)),t.log=u,i){const e=Object.create(null);for(const t in i)e[t]=i[t].createSorter();t.sortAttributes=function(t,n){const r=e[t];if(r){const 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){const e=o.createSorter();t.sortClassName=function(t){return e.sort(t.split(/[ \n\f\r]+/)).join(" ")}}}(e,t,h,g);const A=new uA(e,{partialMarkup:n,continueOnParseError:t.continueOnParseError,customAttrAssign:t.customAttrAssign,customAttrSurround:t.customAttrSurround,html5:t.html5,start:async function(e,n,m,f,h){"svg"===e.toLowerCase()&&((t=Object.create(t)).caseSensitive=!0,t.keepClosingSlash=!0,t.name=eS),e=t.name(e),s=e,i=e,gA.has(e)||(a=""),o=!1,c=n;let v=t.removeOptionalTags;if(v){const t=$A.has(e);t&&function(e,t){switch(e){case"html":case"head":return!0;case"body":return!FA.has(t);case"colgroup":return"col"===t;case"tbody":return"tr"===t}return!1}(p,e)&&b(),p="",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 IA.has(t);case"p":return MA.has(t);case"rb":case"rt":case"rp":return LA.has(t);case"rtc":return BA.has(t);case"option":return UA.has(t);case"thead":case"tbody":return GA.has(t);case"tfoot":return"tbody"===t;case"td":case"th":return VA.has(t)}return!1}(d,e)&&(E(),v=!function(e,t){switch(t){case"colgroup":return"colgroup"===e;case"tbody":return zA.has(e)}return!1}(d,e)),d=""}t.collapseWhitespace&&(u.length||w(e),m||(y(e,n)&&!u.length||u.push(e),function(e,n){return t.canCollapseWhitespace(e,n,YA)}(e,n)&&!l.length||l.push(e)));const _="<"+e,x=f&&t.keepClosingSlash;r.push(_),t.sortAttributes&&t.sortAttributes(e,n);const A=[];for(let r=n.length,i=!0;--r>=0;){const o=await QA(n[r],n,e,t);o&&(A.unshift(JA(o,x,t,i,g)),i=!1)}A.length>0?(r.push(" "),r.push.apply(r,A)):v&&DA.has(e)&&(p=e),r.push(r.pop()+(x?"/":"")+">"),h&&!t.includeAutoGeneratedTags&&(b(),p="")},end:function(e,n,c){"svg"===e.toLowerCase()&&(t=Object.getPrototypeOf(t)),e=t.name(e),t.collapseWhitespace&&(u.length?e===u[u.length-1]&&u.pop():w("/"+e),l.length&&e===l[l.length-1]&&l.pop());let m=!1;e===s&&(s="",m=!o),t.removeOptionalTags&&(m&&jA.has(p)&&b(),p="",!$A.has(e)||!d||KA.has(d)||"p"===d&&NA.has(e)||E(),d=PA.has(e)?e:""),t.removeEmptyElements&&m&&function(e,t){switch(e){case"textarea":return!1;case"audio":case"script":case"video":if(XA("src",t))return!1;break;case"iframe":if(XA("src",t)||XA("srcdoc",t))return!1;break;case"object":if(XA("data",t))return!1;break;case"applet":if(XA("code",t))return!1}return!0}(e,n)?(b(),p="",d=""):(c&&!t.includeAutoGeneratedTags?d="":r.push("</"+e+">"),i="/"+e,hA.has(e)?m&&(a+="|"):a="")},chars:async function(e,n,m){if(n=""===n?"comment":n,m=""===m?"comment":m,t.decodeEntities&&e&&!rS.has(s)&&(e=function(e,t=Yx.Legacy){return rw(e,t)}(e)),t.collapseWhitespace){if(!u.length){if("comment"===n){const o=r[r.length-1];if(-1===o.indexOf(h)&&(o||(n=i),r.length>1&&(!o||!t.conservativeCollapse&&/ $/.test(a)))){const t=r.length-2;r[t]=r[t].replace(/\s+$/,function(t){return e=t+e,""})}}if(n)if("/nobr"===n||"wbr"===n){if(/^\s/.test(e)){let e=r.length-1;for(;e>0&&0!==r[e].lastIndexOf("<"+n);)e--;x(e-1,"br")}}else gA.has("/"===n.charAt(0)?n.slice(1):n)&&(e=fA(e,t,/(?:^|\s)$/.test(a)));!(e=n||m?_A(e,n,m,t):fA(e,t,!0,!0))&&/\s$/.test(a)&&n&&"/"===n.charAt(0)&&x(r.length-1,m)}l.length||"html"===m||n&&m||(e=fA(e,t,!1,!1,!0))}t.processScripts&&rS.has(s)&&(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 iS(e,t);return e}(e,t,c)),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 xA(t[e].value);return!0}(s,c)&&(e=await t.minifyJS(e)),AA(s,c)&&(e=await t.minifyCSS(e)),t.removeOptionalTags&&e&&(("html"===p||"body"===p&&!/^\s/.test(e))&&b(),p="",(qA.has(d)||HA.has(d)&&!/^\s/.test(e))&&E(),d=""),i=/^\s*$/.test(e)?n:"comment",t.decodeEntities&&e&&!rS.has(s)&&(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,"&amp$1").replace(/</g,"&lt;")),v&&t.collapseWhitespace&&u.length&&(e=e.replace(v,function(e,t,n){return f[+n][0]})),a+=e,e&&(o=!0),r.push(e)},comment:async function(e,n){const i=n?"<!":"\x3c!--",o=n?">":"--\x3e";e=function(e){return/^\[if\s[^\]]+]|\[endif]$/.test(e)}(e)?i+await async function(e,t){return t.processConditionalComments?await Hw(e,/^(\[if\s[^\]]+]>)([\s\S]*?)(<!\[endif])$/,async function(e,n,r,i){return n+await iS(r,t,!0)+i}):e}(e,t)+o: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":"":i+e+o,t.removeOptionalTags&&e&&(p="",d=""),r.push(e)},doctype:function(e){r.push(t.useShortDoctype?"<!doctype"+(t.removeTagWhitespace?"":" ")+"html>":mA(e))}});return await A.parse(),t.removeOptionalTags&&(jA.has(p)&&b(),d&&!KA.has(d)&&E()),t.collapseWhitespace&&w("br"),function(e,t,n,r){let i;const o=t.maxLineLength,a=t.noNewlinesBeforeTagClose;if(o){let t="";const s=[];for(;e.length;){const i=t.length,c=e[0].indexOf("\n"),u=Boolean(e[0].match(Jw)),l=a&&u;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&&!l?(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?fA(i,t,!0,!0):i}(r,t,v?function(e){return e.replace(v,function(e,n,r,i){let o=f[+r][0];return t.collapseWhitespace?("\t"!==n&&(o=n+o),"\t"!==i&&(o+=i),fA(o,{preserveLineBreaks:t.preserveLineBreaks,conservativeCollapse:!t.trimCustomFragments},/^[ \n\r\t\f]/.test(o),/[ \n\r\t\f]$/.test(o))):o})}:eS,h?function(e){return e.replace(new RegExp("\x3c!--"+h+"([0-9]+)--\x3e","g"),function(e,t){return m[+t]})}:eS)}const oS=async function(e,t){const n=Date.now();t=(e=>{const t={name:function(e){return e.toLowerCase()},canCollapseWhitespace:YA,canTrimWhitespace:ZA,html5:!0,ignoreCustomComments:[/^!/,/^\s*#/],ignoreCustomFragments:[/<%[\s\S]*?%>/,/<\?[\s\S]*?\?>/],includeAutoGeneratedTags:!0,log:eS,minifyCSS:tS,minifyJS:eS,minifyURLs:eS};return Object.keys(e).forEach(function(n){const r=e[n];if("caseSensitive"===n)r&&(t.name=eS);else if("log"===n)"function"==typeof r&&(t.log=r);else if("minifyCSS"===n&&"function"!=typeof r){if(!r)return;const e="object"==typeof r?r:{};t.minifyCSS=async function(n,r){const i=OA(n=n.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/gi,function(e,n,r,i,o){return n+r+t.minifyURLs(i)+r+o}),r);return new Promise(o=>{new Vx(e).minify(i,(e,i)=>{i.errors.length>0&&(i.errors.forEach(t.log),o(n));const a=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);o(a)})})}}else if("minifyJS"===n&&"function"!=typeof r){if(!r)return;const e="object"==typeof r?r:{};e.parse={...e.parse,bare_returns:!1},t.minifyJS=async function(n,r){const i=n.match(/^\s*<!--.*/),o=i?n.slice(i[0].length).replace(/\n\s*-->\s*$/,""):n;e.parse.bare_returns=r;try{return(await yg(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 qw.relate(n,e)}catch(e){return t.log(e),n}}}else t[n]=r}),t})(t||{});const r=await iS(e,t);return t.log("minified in: "+(Date.now()-n)+"ms"),r},aS={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"},ts:{strategy:"terser"},jsx:{strategy:"terser"},tsx:{strategy:"terser"},mjs:{strategy:"terser"},cjs:{strategy:"terser"},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:"aggressive",comments:"hash"},bash:{strategy:"aggressive",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"}}};function sS(e){return e.split(".").pop()?.toLowerCase()||"txt"}function cS(e,t){try{let n=e;const r=Array.isArray(t)?t:[t];for(const e of r){const t=aS.commentPatterns[e];if(t)for(const e of t)try{n=n.replace(e,"")}catch(e){continue}}return n}catch(t){return e}}function uS(e){try{let t=e;return t=t.replace(/[ \t]+$/gm,"").replace(/\r\n/g,"\n").replace(/\n\s*\n\s*\n+/g,"\n\n").replace(/[ \t]{3,}/g," ").trim(),t}catch(t){return e}}async function lS(e,t){try{const n=1048576,r=Buffer.byteLength(e,"utf8");if(r>n)return{content:e,failed:!0,type:"failed",reason:`File too large: ${(r/1024/1024).toFixed(2)}MB exceeds 1MB limit`};const i=function(e){const t=sS(e),n=(e.split("/").pop()||"").toLowerCase();return new Set(["makefile","dockerfile","procfile","justfile","rakefile","gemfile","podfile","fastfile","vagrantfile","jenkinsfile","cakefile","pipfile","buildfile","capfile","brewfile"]).has(n)?{strategy:"conservative",comments:"hash"}:aS.fileTypes[t]||{strategy:"general"}}(t);switch(i.strategy){case"terser":{const t=await async function(e){try{return e.trim()?{content:(await yg(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":{const t=function(e){try{const t=JSON.parse(e);return{content:JSON.stringify(t),failed:!1}}catch(t){try{return{content:e.replace(/\s+/g," ").trim(),failed:!1}}catch(t){return{content:e,failed:!0,reason:"JSON minification failed: Invalid JSON syntax and regex fallback failed"}}}}(e);return{content:t.content,failed:t.failed,type:t.failed?"failed":"json",...t.reason&&{reason:t.reason}}}case"conservative":{const t=function(e,t){try{let n=e;return t.comments&&(n=cS(n,t.comments)),n=n.replace(/[ \t]+$/gm,"").replace(/\n\s*\n\s*\n+/g,"\n\n").trim(),n}catch(t){return e}}(e,i);return{content:t,failed:!1,type:"conservative"}}case"general":default:return{content:uS(e),failed:!1,type:"general"};case"markdown":{const t=function(e){try{let t=e;return t=t.replace(/<!--[\s\S]*?-->/g,""),t=t.replace(/[ \t]+$/gm,""),t=t.replace(/\r\n/g,"\n"),t=t.replace(/\n\s*\n\s*\n+/g,"\n\n"),t=t.replace(/([^\n])[ \t]{5,}([^\n])/g,"$1 $2"),t=t.replace(/\s*\|\s*/g," | "),t=t.replace(/^(#{1,6})[ \t]+/gm,"$1 "),t=t.replace(/^(\s*)([-*+]|\d+\.)[ \t]+/gm,"$1$2 "),t=t.replace(/\n{3,}(```)/g,"\n\n$1"),t=t.replace(/(```)\n{3,}/g,"$1\n\n"),t=t.trim(),t}catch(t){return e}}(e);return{content:t,failed:!1,type:"markdown"}}case"aggressive":{const n=sS(t);if(["css","less","scss"].includes(n)){const t=await async function(e){try{const t=new Vx({level:2,format:!1,inline:!1,rebase:!1}).minify(e);if(t.errors&&t.errors.length>0)throw new Error(t.errors.join(", "));return{content:t.styles,failed:!1}}catch(t){try{let t=e;return t=cS(t,"c-style"),t=t.replace(/\s+/g," ").replace(/\s*([{}:;,])\s*/g,"$1").trim(),{content:t,failed:!1}}catch(t){return{content:e,failed:!0,reason:"CSS minification failed: CleanCSS error and regex fallback failed"}}}}(e);return{content:t.content,failed:t.failed,type:t.failed?"failed":"aggressive",...t.reason&&{reason:t.reason}}}if(["html","htm"].includes(n)){const t=await async function(e){try{return{content:await oS(e,{collapseWhitespace:!0,removeComments:!0,removeRedundantAttributes:!0,removeScriptTypeAttributes:!0,removeStyleLinkTypeAttributes:!0,minifyCSS:!1,minifyJS:!1,caseSensitive:!1}),failed:!1}}catch(t){try{let t=e;return t=cS(t,"html"),t=t.replace(/\s+/g," ").replace(/>\s+</g,"><").trim(),{content:t,failed:!1}}catch(t){return{content:e,failed:!0,reason:"HTML minification failed: html-minifier-terser error and regex fallback failed"}}}}(e);return{content:t.content,failed:t.failed,type:t.failed?"failed":"aggressive",...t.reason&&{reason:t.reason}}}const r=function(e,t){try{let n=e;return t.comments&&(n=cS(n,t.comments)),n=n.replace(/\s+/g," ").replace(/\s*([{}:;,])\s*/g,"$1").replace(/>\s+</g,"><").trim(),n}catch(t){return e}}(e,i);return{content: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"}`}}}async function pS(e,t,n){try{const r=await Oc(),i=(await r.rest.pulls.listFiles({owner:e,repo:t,pull_number:n})).data;return{total_count:i.length,files:i}}catch(e){return null}}async function dS(e,t,n){const r=pa.sanitizeContent(e.title||""),i=e.body?pa.sanitizeContent(e.body):{content:void 0,warnings:[]},o=new Set([...r.warnings,...i.warnings]),a={number:e.number,title:r.content,body:i.content,state:e.state?.toLowerCase()||"unknown",author:e.user?.login||"",repository:`${t.owner}/${t.repo}`,labels:e.labels?.map(e=>e.name)||[],created_at:e.created_at?new Date(e.created_at).toLocaleDateString("en-GB"):"",updated_at:e.updated_at?new Date(e.updated_at).toLocaleDateString("en-GB"):"",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};if(o.size>0&&(a._sanitization_warnings=Array.from(o)),e.closed_at&&(a.closed_at=new Date(e.closed_at).toLocaleDateString("en-GB")),e.merged_at&&(a.merged_at=new Date(e.merged_at).toLocaleDateString("en-GB")),t.getFileChanges){const n=await pS(t.owner,t.repo,e.number);n&&(a.file_changes=n)}if(t.withComments)try{const r=await n.rest.issues.listComments({owner:t.owner,repo:t.repo,issue_number:e.number});a.comments=r.data.map(e=>({id:e.id,user:e.user?.login||"unknown",body:pa.sanitizeContent(e.body||"").content,created_at:new Date(e.created_at).toLocaleDateString("en-GB"),updated_at:new Date(e.updated_at).toLocaleDateString("en-GB")}))}catch(e){}return a}async function mS(e){const t=ra("gh-api-file-content",{owner:e.owner,repo:e.repo,filePath:e.filePath,branch:e.branch,startLine:e.startLine,endLine:e.endLine,matchString:e.matchString,minified:e.minified,matchStringContextLines:e.matchStringContextLines}),n=await aa(t,async()=>{const t=await async function(e){try{const t=await Oc(),{owner:n,repo:r,filePath:i,branch:o}=e,a={owner:n,repo:r,path:i,...o&&{ref:o}},s=(await t.rest.repos.getContent(a)).data;if(Array.isArray(s))return{error:"Path is a directory. Use githubViewRepoStructure to list directory contents",type:"unknown",status:400};if("content"in s&&"file"===s.type){const t=s.size||0,a=307200;if(t>a){return{error:`File too large (${Math.round(t/1024)}KB > ${Math.round(a/1024)}KB). Use githubSearchCode to search within the file or use startLine/endLine parameters to get specific sections`,type:"unknown",status:413}}if(!s.content)return{error:"File is empty - no content to display",type:"unknown",status:404};const c=s.content.replace(/\s/g,"");if(!c)return{error:"File is empty - no content to display",type:"unknown",status:404};let u;try{const e=Buffer.from(c,"base64");if(-1!==e.indexOf(0))return{error:"Binary file detected. Cannot display as text - download directly from GitHub",type:"unknown",status:415};u=e.toString("utf-8")}catch(e){return{error:"Failed to decode file. Encoding may not be supported (expected UTF-8)",type:"unknown",status:422}}const l=await async function(e,t,n,r,i,o,a,s,c=5,u){const l=pa.sanitizeContent(e);e=l.content;const p=new Set;l.hasSecrets&&p.add(`Secrets detected and redacted: ${l.secretsDetected.join(", ")}`),l.hasPromptInjection&&p.add("Potential prompt injection detected and sanitized"),l.isMalicious&&p.add("Potentially malicious content detected and sanitized"),l.warnings.length>0&&l.warnings.forEach(e=>p.add(e));const d=Array.from(p);let m,f,h=e,g=!1;const v=e.split("\n"),_=v.length;if(u){const e=[];for(let t=0;t<v.length;t++)v[t]?.includes(u)&&e.push(t+1);if(0===e.length)return{error:`Match string "${u}" not found in file. The file may have changed since the search was performed.`,hints:[`Match string "${u}" not found in file. The file may have changed since the search was performed.`]};const t=e[0];a=Math.max(1,t-c),s=Math.min(_,t+c),d.push(`Found "${u}" on line ${t}${e.length>1?` (and ${e.length-1} other locations)`:""}`)}if(void 0!==a||void 0!==s){const t=a||1,n=s||_;if(t<1||t>_)h=e;else if(n<t)h=e;else{const e=Math.max(1,t),r=Math.min(_,n);m=e,f=r,g=!0,h=v.slice(e-1,r).join("\n"),n>_&&d.push(`Requested endLine ${n} adjusted to ${_} (file end)`)}}let y=!1,b="none";if(o){const e=await lS(h,i);h=e.content,y=e.failed,b=e.type}return{filePath:i,owner:t,repo:n,branch:r,content:h,totalLines:_,...g&&{startLine:m,endLine:f,isPartial:g},...o&&{minified:!y,minificationFailed:y,minificationType:b},...d.length>0&&{securityWarnings:d}}}(u,n,r,o||s.sha,i,!1!==e.minified,e.startLine,e.endLine,e.matchStringContextLines||5,e.matchString);return"error"in l?{...l,type:l.type||"unknown"}:{data:l,status:200}}return{error:`Unsupported file type: ${s.type}`,type:"unknown",status:415}}catch(e){return Pc(e)}}(e);return da("error"in t?{isError:!0,data:t}:{data:t.data})});if(n.isError){const e=n.content[0].text;return JSON.parse(e).data}{const e=n.content[0].text;return{data:JSON.parse(e).data,status:200}}}async function fS(e){const t=ra("gh-repo-structure-api",e),n=await aa(t,async()=>{const t=await async function(e){try{const t=await Oc(),{owner:n,repo:r,branch:i,path:o="",depth:a=1,includeIgnored:s=!1,showMedia:c=!1}=e,u=o.startsWith("/")?o.substring(1):o;let l,p=i;try{l=await t.rest.repos.getContent({owner:n,repo:r,path:u||void 0,ref:i})}catch(e){if(!(e instanceof Ya&&404===e.status)){const t=Pc(e);return{error:`Failed to access repository "${n}/${r}": ${t.error}`,status:t.status,rateLimitRemaining:t.rateLimitRemaining,rateLimitReset:t.rateLimitReset}}{let o="main";try{o=(await t.rest.repos.get({owner:n,repo:r})).data.default_branch||"main"}catch(e){const t=Pc(e);return{error:`Repository "${n}/${r}" not found or not accessible: ${t.error}`,status:t.status}}if(o===i)return{error:`Path "${u}" not found in repository "${n}/${r}" on branch "${i}"`,status:Pc(e).status};try{l=await t.rest.repos.getContent({owner:n,repo:r,path:u||void 0,ref:o}),p=o}catch(a){const s=["main","master","develop"];let c=null;for(const e of s)if(e!==i&&e!==o)try{l=await t.rest.repos.getContent({owner:n,repo:r,path:u||void 0,ref:e}),c=e,p=e;break}catch{}if(!c)return{error:`Path "${u}" not found in repository "${n}/${r}" on any common branch`,status:Pc(e).status,triedBranches:[i,o,...s],defaultBranch:o}}}}const d=(Array.isArray(l.data)?l.data:[l.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}));let m=d;if(a>1){const e=await hS(t,n,r,p,u,1,a);m=[...d,...e].filter((e,t,n)=>n.findIndex(t=>t.path===e.path)===t)}let f=m;s||(f=m.filter(e=>{const t=e.name.toLowerCase(),n=e.path.toLowerCase();return!(t.startsWith(".")&&!c)&&(!["node_modules","dist","build",".git",".vscode",".idea"].includes(t)&&(!t.includes("lock")&&!t.endsWith(".lock")&&!(!c&&[".png",".jpg",".jpeg",".gif",".svg",".ico",".webp",".mp4",".mov",".avi"].some(e=>n.endsWith(e)))))}));const h=Math.min(200,50*a),g=f.slice(0,h);g.sort((e,t)=>{if(e.type!==t.type)return"dir"===e.type?-1:1;const n=e.path.split("/").length,r=t.path.split("/").length;return n!==r?n-r:e.path.localeCompare(t.path)});const v=g.filter(e=>"file"===e.type).map(e=>({path:e.path,size:e.size,url:e.path})),_=g.filter(e=>"dir"===e.type).map(e=>({path:e.path,url:e.path}));return{repository:`${n}/${r}`,branch:p,path:u||"/",apiSource:!0,summary:{totalFiles:v.length,totalFolders:_.length,truncated:m.length>g.length,filtered:!s,originalCount:m.length},files:v,folders:{count:_.length,folders:_}}}catch(e){const t=Pc(e);return{error:`API request failed: ${t.error}`,status:t.status,rateLimitRemaining:t.rateLimitRemaining,rateLimitReset:t.rateLimitReset}}}(e);return da("error"in t?{isError:!0,data:t}:{data:t})});if(n.isError){const e=n.content[0].text;return JSON.parse(e).data}{const e=n.content[0].text;return JSON.parse(e).data}}async function hS(e,t,n,r,i,o,a,s=new Set){if(o>a||s.has(i))return[];s.add(i);try{const c=await e.rest.repos.getContent({owner:t,repo:n,path:i||void 0,ref:r}),u=(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})),l=[...u];if(o<a){const i=u.filter(e=>"dir"===e.type),c=3;for(let u=0;u<i.length;u+=c){const p=i.slice(u,u+c).map(async i=>{try{return await hS(e,t,n,r,i.path,o+1,a,new Set(s))}catch(e){return[]}});(await Promise.all(p)).forEach(e=>{l.push(...e)})}}return l}catch(e){return[]}}const gS="Try broader search terms to expand your search scope",vS="Try broader functional terms that describe what the code does rather than specific tool names",_S="Use github_fetch_content with matchString from search results for precise context extraction",yS="Use github_view_repo_structure first to understand project layout, then target specific files",bS="Compare implementations across 3-5 repositories to identify best practices",ES="Chain tools strategically: start broad with repository search, then structure view, code search, and content fetch for deep analysis",xS="Focus on implementation files in relevant languages for accurate code understanding",wS="Always verify documentation claims against actual implementation code",AS="Use commit/PR search only when explicitly requested - focus on implementation files",SS="Start with repository search to find relevant projects, then search within promising repos",TS="Try semantic alternatives: expand abbreviations, use synonyms, or try related conceptual terms",kS="Use package search to find libraries, then explore their GitHub repositories",RS="Start with core concepts, then progressively narrow to specific implementations and tools";function CS(e,t,n){const r=[];switch(e){case _a:t?(r.push(_S),r.push(ES),n&&n>15?r.push("Refine with owner/repo filters or specific file extensions"):n&&n>5&&r.push("Consider language or path filters to focus results")):(r.push(SS),r.push(RS),r.push(TS),r.push("Start with package search to discover libraries, then follow repository links for implementation analysis"),r.push(xS));break;case Ea:t?(r.push(yS),r.push(bS),n&&n>10?r.push("Sort by stars and focus on top 3-5 repositories for analysis"):n&&n>3&&r.push("Explore structure of most popular repositories first")):(r.push(`If repo not found, try ${wa} for npm/python packages search to get the github repo`),r.push("Topics for ecosystem discovery: combine technology type with domain area for broad exploration"),r.push(kS),r.push("Explore ecosystem: consider frameworks, libraries, and tools commonly used with your target technology"),r.push("Use functional descriptions that focus on what the code accomplishes rather than specific library names"));break;case va:t?(r.push("From implementation files, find: imports, exports, tests, and related modules"),r.push(wS),r.push("Look for main files, index files, and public APIs to understand code structure"),r.push("Examine imports/exports to understand dependencies and usage")):(r.push(yS),r.push("Check branch name (main/master) and verify file path exists"),r.push(xS));break;case xa:t?(r.push(_S),r.push("Look for: naming conventions, file structure, error handling, and configuration patterns"),r.push("Focus on source code and example directories for implementation details")):(r.push("Try different branch names: main, master, develop, or default"),r.push("Verify repository access and spelling of owner/repo names"));break;case wa:t?(r.push("Extract GitHub URLs and use repository tools for source code analysis"),r.push("Compare download stats, dependencies, and maintenance activity"),r.push(bS),r.push("Check package documentation and README files for usage examples")):(r.push(TS),r.push(vS),r.push("Try broader functional categories that describe the domain or purpose"),r.push("Search GitHub repositories directly if package not found"));break;case ba:t?(r.push(AS),r.push("Focus on code changes rather than PR discussions for implementation details")):(r.push("Consider if commit/PR search is necessary for your research goal"),r.push(xS));break;case ya:t?(r.push("Use commit SHAs with github_fetch_content to see actual code changes"),r.push(wS)):(r.push(AS),r.push("Focus on current implementation rather than change history"))}return r}function OS(e){const t=[];return e.customHints&&t.push(...e.customHints),e.errorMessage&&t.push(...function(e){const t=function(e){const t=e.toLowerCase();return t.includes("rate limit")||t.includes("too many requests")?{type:"rate_limit",isRecoverable:!0}:t.includes("auth")||t.includes("token")||t.includes("unauthorized")?{type:"auth",isRecoverable:!0}:t.includes("network")||t.includes("connection")||t.includes("timeout")?{type:"network",isRecoverable:!0}:t.includes("validation")||t.includes("invalid")||t.includes("required")?{type:"validation",isRecoverable:!0}:t.includes("not found")||t.includes("404")?{type:"not_found",isRecoverable:!0}:t.includes("package")&&(t.includes("not found")||t.includes("no packages found"))?{type:"package_not_found",isRecoverable:!0}:t.includes("access denied")||t.includes("forbidden")||t.includes("403")?{type:"access_denied",isRecoverable:!0}:{type:"unknown",isRecoverable:!1}}(e),n=[];switch(t.type){case"rate_limit":n.push("Rate limit exceeded. Wait 60 seconds before retrying"),n.push("Use more specific search terms to reduce API calls"),n.push("Consider adding owner/repo filters to narrow search scope");break;case"auth":n.push("Authentication required. Check your GitHub token configuration");break;case"network":n.push("Network error. Check connection and retry"),n.push("Check your internet connection and retry the request");break;case"validation":n.push("Validation failed. Check parameter types and constraints"),n.push("Invalid parameters. Review your query format");break;case"not_found":n.push("Resource not found. Verify spelling and accessibility"),n.push(gS);break;case"access_denied":n.push("Access denied. Check permissions or try public repositories"),n.push("Search in public repositories if private access is denied");break;case"package_not_found":n.push("Package not found. Try alternative names or spellings"),n.push(vS),n.push("Use core concept keywords instead of compound library-specific names"),n.push("For NPM: Check package availability on https://npmjs.com"),n.push("For Python: Check exact spelling on https://pypi.org");break;default:n.push(gS),n.push("Remove specific filters to discover more alternatives")}return n}(e.errorMessage)),t.push(...CS(e.toolName,e.hasResults||!1,e.totalItems)),e.hasResults||e.errorMessage||(t.push("No results found. Try broader search terms or related concepts"),t.push(SS),t.push(RS),t.push(xS),e.queryContext?.language&&t.push(`Focus on ${e.queryContext.language} implementation files rather than documentation`),e.queryContext?.owner&&e.queryContext?.repo&&t.push(`Use structure view to find main implementation files in ${e.queryContext.owner}/${e.queryContext.repo}`)),[...new Set(t.filter(e=>e&&"string"==typeof e))].slice(0,6)}function DS(e){const t=[];if(e.researchGoal&&t.push(...function(e){const t=[];switch(e){case"discovery":t.push("Focus on broad exploration and multiple alternatives"),t.push("Use bulk queries to cover different angles simultaneously");break;case"debugging":t.push("Look for error patterns and troubleshooting discussions"),t.push("Search for common issues and their solutions");break;case"code_generation":t.push("Search for working examples and implementation templates"),t.push("Look for complete, runnable code samples");break;case"analysis":t.push("Deep-dive into patterns and implementation details"),t.push("Compare multiple approaches and identify best practices");break;case"learning":t.push("Start with documentation and beginner-friendly examples"),t.push("Look for tutorials and step-by-step guides");break;default:t.push(`Research focus: ${e} - tailor your search accordingly`)}return t}(e.researchGoal,e.toolName)),e.hasResults){if(e.errorCount>0){const n=Math.round(e.successCount/e.totalCount*100);t.push(`${e.successCount}/${e.totalCount} queries succeeded (${n}%)`),t.push("Review failed queries for pattern adjustments and retry strategies")}e.successCount>3?(t.push("Rich dataset available - analyze patterns, compare implementations, identify best practices"),t.push(bS)):e.successCount>1?(t.push("Multiple results found - cross-reference approaches and look for common patterns"),t.push(ES)):1===e.successCount&&(t.push("Single result found - dive deep and look for related examples in the same repository"),t.push("Use repository structure analysis to find similar implementations"))}else t.push(`All ${e.totalCount} queries returned no results - try broader research strategy`),t.push(SS),t.push(kS),t.push("Break down into smaller, more focused searches");return t.push(...CS(e.toolName,e.hasResults)),[...new Set(t.filter(e=>e&&"string"==typeof e))].sort((e,t)=>{const n=["use","try","search","explore","compare","analyze"],r=n.some(t=>e.toLowerCase().includes(t)),i=n.some(e=>t.toLowerCase().includes(e));return r&&!i?-1:!r&&i?1:0}).slice(0,6)}function PS(e,t="query"){const n=new Map;return e.map((e,r)=>{const i=e.id||`${t}_${r+1}`,o=n.get(i)||0;n.set(i,o+1);const a=0===o?i:`${i}_${o}`;return{...e,id:a}})}async function FS(e,t){const n=[],r=[],i=e.map(async e=>{try{const n=await t(e);return{queryId:e.id,result:n}}catch(t){const n=t instanceof Error?t.message:String(t);return r.push({queryId:e.id,error:n}),null}});return(await async function(e,t={}){const{timeout:n=3e4,concurrency:r=e.length,onError:i}=t;if(0===e.length)return[];const o=e.map((e,t)=>async function(e,t,n,r){try{const r=new Promise((e,r)=>setTimeout(()=>{r(new Error(`Promise ${t} timed out after ${n}ms`))},n));return{success:!0,data:await Promise.race([e(),r]),index:t}}catch(e){const n=e instanceof Error?e:new Error(String(e));if(r)try{r(n,t)}catch(e){}return{success:!1,error:n,index:t}}}(e,t,n,i));return r<e.length?async function(e,t){const n=new Array(e.length),r=[];for(let i=0;i<e.length;i++){const o=e[i]?.then(e=>{void 0!==n[i]&&(n[i]=e)});if(o&&r.push(o),r.length>=t){await Promise.race(r);for(let e=r.length-1;e>=0;e--)await Promise.race([r[e]?.then(()=>!0),Promise.resolve(!1)])&&r.splice(e,1)}}return await Promise.all(r),n}(o,r):(await Promise.allSettled(o)).map((e,t)=>"fulfilled"===e.status?e.value:{success:!1,error:e.reason instanceof Error?e.reason:new Error(String(e.reason)),index:t})}(i.map(e=>()=>e),{timeout:6e4,onError:(e,t)=>{r.push({queryId:`query-${t}`,error:e.message})}})).forEach(e=>{e.success&&e.data&&n.push(e.data)}),{results:n,errors:r}}function IS(e,t,n,r,i){const o=function(e,t,n,r){const i=r.map(e=>e.researchGoal).filter(e=>!!e),o=i.length>0?i[0]:void 0;return{toolName:e.toolName,hasResults:t.dataQuality.hasResults,errorCount:n.length,totalCount:t.totalQueries,successCount:t.successfulQueries,researchGoal:o}}(e,n,r,i),a=DS(o),s=t.map(e=>e.result),c=i.map(e=>e.researchGoal).filter(e=>!!e),u=c.length>0?c[0]:void 0,l={totalOperations:t.length,successfulOperations:t.filter(e=>!e.result.error).length,failedOperations:t.filter(e=>!!e.result.error).length,...u&&{researchGoal:u}};return e.includeAggregatedContext&&(l.aggregatedContext=n),e.includeErrors&&r.length>0&&(l.errors=r),da({data:s,meta:l,hints:a})}const MS=`PURPOSE: Search code across GitHub repositories with strategic query planning.\n\nSEARCH STRATEGY:\n  SEMANTIC: Natural language terms describing functionality, concepts, business logic\n  TECHNICAL: Actual code terms, function names, class names, file patterns\n  Use bulk queries from different angles. Start narrow, broaden if needed\n  SEPERATE SEARCH SMART USING SEVERAL QUERIES IN BULK\n  USE STRINGS WITH ONE WORD ONLY FOR EXPLORETORY SEARCH.\n    EXAMPLE:\n      queryTerms: [\n          term1,\n          term2\n        ]\nFOR MORE CONTEXT AFTER GOOD FINDINGS:\n      Use ${va} with matchString for context.\n      Use ${xa} to find the repository structure for relevant files after search\n\nProgressive queries: Core terms → Specific patterns → Documentation → Configuration → Alternatives`;function NS(e){e.registerTool(_a,{description:MS,inputSchema:Yc.shape,annotations:{title:"GitHub Code Search",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},Vc(async(e,t)=>{if(!e.queries||!Array.isArray(e.queries)||0===e.queries.length)return da({isError:!0,error:"Queries array is required and cannot be empty",hints:OS({toolName:_a,hasResults:!1,errorMessage:"Queries array is required and cannot be empty",customHints:["Provide at least one search query with queryTerms"]})});if(e.queries.length>5)return da({isError:!0,error:"Maximum 5 queries allowed per request",hints:OS({toolName:_a,hasResults:!1,errorMessage:"Too many queries provided",customHints:["Limit to 5 queries per request for optimal performance"]})});if(t?.isEnterpriseMode)try{const{logToolEvent:n}=await import("./security/auditLogger.js");n(_a,"success",{userId:t.userId,userLogin:t.userLogin,organizationId:t.organizationId,queryCount:e.queries.length,queryTerms:e.queries.map(e=>e.queryTerms).flat()})}catch{}return async function(e,t=!1){const n=PS(e,"code-search"),{results:r,errors:i}=await FS(n,async e=>{try{const t=await async function(e){const t=ra("gh-api-code",e),n=await async function(e,t,n={}){if(n.skipCache)return await t();if(!n.forceRefresh)try{const t=ea.get(e);if(void 0!==t)return ta.hits++,t}catch(e){}ta.misses++;const r=await t();if((n.shouldCache??(()=>!0))(r))try{let t=n.ttl;if(!t){const n=e.match(/^v\d+-([^:]+):/);t=oa(n?.[1]??"default")}ea.set(e,r,t),ta.sets++,ta.totalKeys=ea.keys().length}catch(e){}return r}(t,async()=>await async function(e){try{const t=await Oc(),n=function(e){if(!1===e.qualityBoost)return e;const t={...e};return t.stars||t.owner||t.repo||(t.stars=">10"),t.pushed||t.owner||t.repo||(t.pushed=">2022-01-01"),t.sort||(t.sort="best-match"),t}(e),r=function(e){const t=[];if(e.queryTerms&&e.queryTerms.length>0&&t.push(...e.queryTerms),e.language){const n=Qc(e.language);t.push(`language:${n}`)}if(e.owner&&e.repo){const n=Array.isArray(e.owner)?e.owner[0]:e.owner,r=Array.isArray(e.repo)?e.repo[0]:e.repo;t.push(`repo:${n}/${r}`)}else e.owner&&(Array.isArray(e.owner)?e.owner:[e.owner]).forEach(e=>{t.push(Zc(e))});return e.filename&&t.push(`filename:${e.filename}`),e.extension&&t.push(`extension:${e.extension}`),e.path&&t.push(`path:${e.path}`),e.size&&t.push(`size:${e.size}`),e.stars&&t.push(`stars:${e.stars}`),e.pushed&&t.push(`pushed:${e.pushed}`),e.created&&t.push(`created:${e.created}`),e.match&&(Array.isArray(e.match)?e.match:[e.match]).forEach(e=>{"file"===e?t.push("in:file"):"path"===e&&t.push("in:path")}),t.join(" ")}(n);if(!r.trim())return{error:"Search query cannot be empty",type:"http",status:400};const i={q:r,per_page:Math.min(n.limit||30,100),page:1,headers:{Accept:"application/vnd.github.v3.text-match+json"}};n.sort&&"best-match"!==n.sort&&(i.sort=n.sort),n.order&&(i.order=n.order);const o=await t.rest.search.code(i),a=await async function(e,t=!0,n=!0){return async function(e,t,n){const r=function(e){if(0===e.length)return null;const t=e[0]?.repository;return t&&e.every(e=>e.repository.full_name===t.full_name)?t:null}(e),i=new Set;let o=!1;const a=[],s=new Set,c=new Set,u={items:await Promise.all(e.map(async e=>{c.add(e.path);const s=await Promise.all((e.text_matches||[]).map(async r=>{let s=r.fragment;if(n){const t=pa.sanitizeContent(s||"");s=t.content,t.hasSecrets&&i.add(`Secrets detected in ${e.path}: ${t.secretsDetected.join(", ")}`),t.hasPromptInjection&&i.add(`Prompt injection detected in ${e.path}`),t.isMalicious&&i.add(`Malicious content detected in ${e.path}`),t.warnings.length>0&&t.warnings.forEach(t=>i.add(`${e.path}: ${t}`))}if(t){const t=await lS(s||"",e.path);s=t.content,t.failed?o=!0:"failed"!==t.type&&a.push(t.type)}return{context:s||"",positions:r.matches?.map(e=>Array.isArray(e.indices)&&e.indices.length>=2?[e.indices[0],e.indices[1]]:[0,0])||[]}}));return{path:e.path,matches:s,url:r?e.path:e.url,repository:{nameWithOwner:e.repository.full_name,url:e.repository.url},...t&&a.length>0&&{minificationType:Array.from(new Set(a)).join(",")}}})),total_count:e.length,_researchContext:{foundPackages:Array.from(s),foundFiles:Array.from(c),repositoryContext:r?(()=>{const e=r.full_name.split("/");return 2===e.length&&e[0]&&e[1]?{owner:e[0],repo:e[1]}:void 0})():void 0}};return r&&(u.repository={name:r.full_name,url:r.url}),n&&i.size>0&&(u.securityWarnings=Array.from(i)),t&&(u.minified=!o,u.minificationFailed=o,a.length>0&&(u.minificationTypes=Array.from(new Set(a)))),u}(e.data.items,t,n)}(o,!1!==n.minify,!1!==n.sanitize);return{data:{total_count:o.data.total_count,items:a.items,repository:a.repository,securityWarnings:a.securityWarnings,minified:a.minified,minificationFailed:a.minificationFailed,minificationTypes:a.minificationTypes,_researchContext:a._researchContext},status:200,headers:o.headers}}catch(e){return Pc(e)}}(e),{shouldCache:e=>"data"in e&&!e.error});return n}(e);if("error"in t){const n=OS({toolName:_a,hasResults:!1,errorMessage:t.error,researchGoal:e.researchGoal});return{queryId:e.id,error:t.error,hints:n,metadata:{queryArgs:{...e},error:t.error,hints:n,researchGoal:e.researchGoal||"discovery"}}}const n=t.data.repository?.name||(t.data.items.length>0&&t.data.items[0]?.repository?.nameWithOwner?t.data.items[0].repository.nameWithOwner:void 0),r=t.data.items.reduce((e,t)=>e+t.matches.length,0),i=0===t.data.items.length,o={queryId:e.id,data:{repository:n,files:t.data.items.map(e=>({path:e.path,text_matches:e.matches.map(e=>e.context)})),totalCount:t.data.total_count},metadata:{researchGoal:e.researchGoal||"discovery",resultCount:t.data.items.length,hasMatches:r>0,repositories:n?[n]:[]}};if(i){o.metadata.searchType="no_results",o.metadata.queryArgs={...e};const t=["Use broader search terms","Try repository search first","Consider related concepts"];e.owner&&e.repo&&t.unshift(`No results found in ${e.owner}/${e.repo} - try searching across all repositories`),o.hints=t}return o}catch(t){const n=t instanceof Error?t.message:"Unknown error occurred",r=OS({toolName:_a,hasResults:!1,errorMessage:n,researchGoal:e.researchGoal});return{queryId:e.id,error:n,hints:r,metadata:{queryArgs:{...e},error:n,hints:r,researchGoal:e.researchGoal||"discovery"}}}}),o=r.filter(e=>!e.result.error).length,a={totalQueries:r.length,successfulQueries:o,failedQueries:r.length-o,foundPackages:new Set,foundFiles:new Set,repositoryContexts:new Set,searchPatterns:new Set,dataQuality:{hasResults:o>0,hasContent:r.some(e=>!e.result.error&&e.result.data?.files&&e.result.data.files.length>0),hasMatches:r.some(e=>!e.result.error&&e.result.metadata?.hasMatches)}};r.forEach(({result:e})=>{if(!e.error){e.data?.repository&&a.repositoryContexts.add(e.data.repository),e.data?.files&&e.data.files.forEach(e=>{a.foundFiles.add(e.path)});const t=e.metadata?.queryArgs;(t?.queryTerms||[]).forEach(e=>a.searchPatterns.add(e))}});const s=DS({toolName:_a,hasResults:o>0,errorCount:r.length-o,totalCount:n.length,successCount:o}),c=IS({toolName:_a,includeAggregatedContext:t,includeErrors:!0},r.map(({queryId:e,result:r})=>{const i=!!r.error,o="no_results"===r.metadata?.searchType;if(i||o||t){const t=n.find(t=>t.id===e);t&&r.metadata&&(r.metadata.queryArgs={...t})}return{queryId:e,result:r}}),a,i,n);if(s.length>0){const e=c.content[0]?.text||"";let t;try{t=JSON.parse(e)}catch{return c}const n=t.hints||[],r=function(e,t=6){if(!e.length)return[];const n=new Set,r=[];for(const i of e){const e=i.trim().replace(/\s+/g," ");if(!e)continue;const o=e.toLowerCase();if(!n.has(o)&&(n.add(o),r.push(e),r.length>=t))break}return r}([...s,...n],8);return da({data:t.data,meta:t.meta,hints:r,isError:c.isError})}return c}(e.queries,e.verbose||!1)}))}const LS=Hc(qc({owner:Kc,repo:$c,filePath:Xc.describe("File path from repository root (e.g., 'src/index.js', 'README.md', 'docs/api.md'). Do NOT start with slash.\n        \n        CRITICAL: Always verify file paths using githubViewRepoStructure and githubSearchCode before fetching to ensure accurate research results."),branch:Wc.optional(),startLine:Ye().int().min(1).optional().describe("Starting line number (1-based) for partial file access. Recommended to save tokens."),endLine:Ye().int().min(1).optional().describe("Ending line number (1-based) for partial file access. Use with startLine to fetch only specific sections and save tokens."),matchString:Xe().optional().describe("Exact string to find in file. Returns surrounding context with matchStringContextLines. Perfect for locating specific code patterns found in search results text_matches. Content is processed through the same pipeline as code search for consistency."),matchStringContextLines:Ye().int().min(0).max(50).default(5).describe("Number of lines to include above and below a matched string. For example, 5 means 5 lines above + the matching line + 5 lines below. Only used when matchString is provided. Default: 5."),minified:Ze().default(!0).describe("Optimize content for token efficiency (enabled by default). Applies basic formatting optimizations that may reduce token usage. Set to false only when exact formatting is required.")}),1,10,"Array of up to 10 file content queries for parallel execution");function BS(){return"1"===process.env.BETA||"true"===process.env.BETA?.toLowerCase()}function US(){return BS()}function GS(e){e.registerTool(va,{description:"Fetch file contents from GitHub repositories with intelligent context extraction.\n\nRetrieves complete file contents with smart context handling, partial access capabilities,\nand research-oriented guidance. Perfect for examining implementations, documentation, and configuration files.\n\nPRECISION INTEGRATION: Uses same content processing pipeline as code search results,\nensuring consistent precision, security, and optimization.\n\nFEATURES:\n- Content Precision: Same processing pipeline as code search text_matches\n- Complete file retrieval: Full file contents with proper formatting\n- Partial access: Specify line ranges for targeted content extraction\n- Context extraction: Smart matching with surrounding context using matchString\n- Security & Optimization: Same sanitization and minification as search results\n- Research optimization: Tailored hints based on research goals\n\nBEST PRACTICES:\n- Use line ranges for large files to focus on relevant sections\n- Leverage matchString for finding specific code patterns from search results\n- Results processed identically to code search text_matches for consistency\n- Combine with repository structure exploration for navigation\n- Specify research goals for optimized next-step suggestions\n\nBETA FEATURES (BETA=1):\n- sampling: Automatic code explanation via MCP sampling protocol",inputSchema:LS.shape,annotations:{title:"GitHub File Content Fetch",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},Vc(async t=>t.queries&&Array.isArray(t.queries)&&0!==t.queries.length?t.queries.length>10?da({isError:!0,data:{error:"Maximum 10 file queries allowed per request"},hints:OS({toolName:va,hasResults:!1,errorMessage:"Too many queries provided",customHints:["Limit to 10 file queries per request for optimal performance"]})}):async function(e,t){const n=PS(t,"file-content"),r=[];for(const t of n)try{const n=await mS(t),i="data"in n?n.data:n,o={queryId:t.id,researchGoal:t.researchGoal,result:i};if(US()&&i&&"object"==typeof i&&"content"in i)try{const n=qo(`What does this ${t.filePath} code file do? Describe its main functionality, key components, and purpose in simple terms.\n            which research path can I take to research more about this file?\n            what is the best way to use this file?\n            Is somthing missing from this file to understand it better?`,`File: ${t.owner}/${t.repo}/${t.filePath}\n\nCode:\n${i.content}`,{maxTokens:2e3,temperature:.3}),r=await jo(e,n);o.sampling={codeExplanation:r.content,filePath:t.filePath,repo:`${t.owner}/${t.repo}`,usage:r.usage,stopReason:r.stopReason},o._samplingRequest=n}catch(e){}r.push(o)}catch(e){const n=e instanceof Error?e.message:"Unknown error occurred";r.push({queryId:t.id,researchGoal:t.researchGoal,originalQuery:t,result:{error:n},error:n})}const i=r.filter(e=>!("error"in e.result)&&!e.error).length,o=n.map(e=>e.researchGoal).filter(e=>!!e);o.length>0&&o[0];return da({data:r,hints:OS({toolName:va,hasResults:i>0,totalItems:i,customHints:[]})})}(e,t.queries):da({isError:!0,data:{error:"Queries array is required and cannot be empty"},hints:["Provide at least one file content query"]})))}const zS=Hc(qc({queryTerms:et(Xe()).optional().describe('Search terms for repo names/descriptions (e.g., ["todo app"], ["authentication"])'),owner:nt([Xe(),et(Xe()),Qe()]).optional().describe("Repository owner/organization name(s)"),topic:nt([Xe(),et(Xe()),Qe()]).optional().describe('Find repos by topic/technology (e.g., ["react", "typescript"], ["machine-learning"])'),language:Xe().nullable().optional().describe('Programming language filter (e.g., "typescript", "python")'),license:nt([Xe(),et(Xe()),Qe()]).optional().describe("License filter"),stars:nt([Ye().min(0),Xe(),Qe()]).optional().describe("Star count filter"),size:Xe().nullable().optional().describe("Repository size filter in KB"),created:Xe().regex(/^(>=?\d{4}-\d{2}-\d{2}|<=?\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2}\.\.\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2})$/).optional().describe('Created date filter (e.g., ">2020-01-01", "2020-01-01..2023-12-31")'),updated:Xe().regex(/^(>=?\d{4}-\d{2}-\d{2}|<=?\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2}\.\.\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2})$/).optional().describe('Updated date filter (e.g., ">2024-01-01", "2023-01-01..2024-12-31")'),followers:nt([Ye().min(0),Xe(),Qe()]).optional().describe("Repository owner followers count"),"good-first-issues":nt([Ye().min(0),Xe(),Qe()]).optional().describe("Good first issues count"),"help-wanted-issues":nt([Ye().min(0),Xe(),Qe()]).optional().describe("Help wanted issues count"),"number-topics":nt([Ye().min(0),Xe(),Qe()]).optional().describe("Number of topics filter"),visibility:at(["public","private","internal"]).nullable().optional().describe("Repository visibility"),match:nt([at(["name","description","readme"]),et(at(["name","description","readme"])),Qe()]).optional().describe("Search scope"),sort:at(["forks","help-wanted-issues","stars","updated","best-match"]).nullable().optional().describe("Sort criteria"),order:at(["asc","desc"]).nullable().optional().describe("Sort order direction"),limit:Ye().int().min(1).max(100).nullable().optional().describe("Maximum number of repositories to return (1-100)")}),1,5,"Array of 1-5 repository search queries for bulk execution");function VS(e){e.registerTool(Ea,{description:"Search GitHub repositories with smart filtering and bulk operations.\n\nKEY FEATURES:\n- Bulk queries: Execute up to 5 searches in parallel for comprehensive discovery\n- use both topics specific query and terms specific query for better results\n- query with both topics and terms is not good for exploration\n- Quality filters: Stars, forks, activity (commits, issues, pull requests),last updated, update frequency\n\nSEARCH STRATEGIES:\n- for specific repositorry search with limit of 1 and get most relevant repository\n- Exploration: Use bulk search with several search directions",inputSchema:zS.shape,annotations:{idempotent:!0,openWorld:!0}},Vc(async e=>e.queries&&Array.isArray(e.queries)&&0!==e.queries.length?e.queries.length>5?da({isError:!0,error:"Maximum 5 queries allowed per request",hints:OS({toolName:Ea,hasResults:!1,errorMessage:"Too many queries provided",customHints:["Limit to 5 queries per request for optimal performance"]})}):async function(e,t=!1){const n=PS(e,"repo-search"),{results:r,errors:i}=await FS(n,async e=>{try{const t=await async function(e){const t=ra("gh-api-repos",e),n=await aa(t,async()=>{const t=await async function(e){try{const t=await Oc(),n=function(e){const t=[];if(e.queryTerms&&e.queryTerms.length>0&&t.push(...e.queryTerms),e.language){const n=Qc(e.language);t.push(`language:${n}`)}return e.owner&&(Array.isArray(e.owner)?e.owner:[e.owner]).forEach(e=>t.push(Zc(e))),e.topic&&(Array.isArray(e.topic)?e.topic:[e.topic]).forEach(e=>t.push(`topic:${e}`)),e.stars&&t.push(`stars:${e.stars}`),e.size&&t.push(`size:${e.size}`),e.created&&t.push(`created:${e.created}`),e.updated&&t.push(`pushed:${e.updated}`),t.push("is:not-archived"),t.push("is:not-fork"),e.license&&(Array.isArray(e.license)?e.license:[e.license]).forEach(e=>t.push(`license:${e}`)),e["good-first-issues"]&&t.push(`good-first-issues:${e["good-first-issues"]}`),e["help-wanted-issues"]&&t.push(`help-wanted-issues:${e["help-wanted-issues"]}`),e.followers&&t.push(`followers:${e.followers}`),e["number-topics"]&&t.push(`topics:${e["number-topics"]}`),e.match&&(Array.isArray(e.match)?e.match:[e.match]).forEach(e=>{"name"===e?t.push("in:name"):"description"===e?t.push("in:description"):"readme"===e&&t.push("in:readme")}),t.join(" ")}(e);if(!n.trim())return{error:"Search query cannot be empty. Provide queryTerms or filters.",type:"http",status:400};const r={q:n,per_page:Math.min(e.limit||30,100),page:1};e.sort&&"best-match"!==e.sort&&(r.sort=e.sort),e.order&&(r.order=e.order);const i=await t.rest.search.repos(r),o=i.data.items.map(e=>({name:e.full_name,stars:e.stargazers_count||0,description:e.description?e.description.length>150?e.description.substring(0,150)+"...":e.description:"No description",language:e.language||"Unknown",url:e.html_url,forks:e.forks||0,updatedAt:new Date(e.updated_at).toLocaleDateString("en-GB"),owner:e.owner?.login||"Unknown"}));return{data:{total_count:i.data.total_count,repositories:o},status:200,headers:i.headers}}catch(e){return Pc(e)}}(e);return da("error"in t?{isError:!0,data:t}:{data:t})});if(n.isError){const e=n.content[0].text;return JSON.parse(e).data}{const e=n.content[0].text;return JSON.parse(e).data}}(e);if("error"in t){const n=OS({toolName:Ea,hasResults:!1,errorMessage:t.error,researchGoal:e.researchGoal});return{queryId:e.id,error:t.error,hints:n,metadata:{queryArgs:{...e},error:t.error,researchGoal:e.researchGoal||"discovery"}}}const n=t.data.repositories||[],r=n.length>0&&(t.data.total_count||0)>0,i=n;return{queryId:e.id,data:{repositories:i,total_count:t.data.total_count},metadata:{...r?{}:{queryArgs:{...e}},searchType:"success",researchGoal:e.researchGoal||"discovery"}}}catch(t){const n=t instanceof Error?t.message:"Unknown error occurred",r=OS({toolName:Ea,hasResults:!1,errorMessage:n,researchGoal:e.researchGoal});return{queryId:e.id,error:n,hints:r,metadata:{queryArgs:{...e},error:n,researchGoal:e.researchGoal||"discovery"}}}}),o={totalQueries:r.length,successfulQueries:r.filter(e=>!e.result.error).length,failedQueries:r.filter(e=>!!e.result.error).length,foundOwners:new Set,foundLanguages:new Set,foundTopics:new Set,searchPatterns:new Set,totalStars:0,dataQuality:{hasResults:r.some(e=>!e.result.error&&e.result.data?.repositories&&e.result.data.repositories.length>0),hasPopularRepos:!1}};r.forEach(({result:e})=>{if(!e.error&&e.data?.repositories){e.data.repositories.forEach(e=>{o.foundOwners.add(e.owner.login),e.language&&o.foundLanguages.add(e.language),o.totalStars+=e.stargazers_count||0,e.stargazers_count>1e3&&(o.dataQuality.hasPopularRepos=!0)});const t=e.metadata?.queryArgs,n=t?.queryTerms||[];Array.isArray(n)&&n.forEach(e=>o.searchPatterns.add(e))}});return IS({toolName:Ea,includeAggregatedContext:t,includeErrors:!0},r,o,i,n)}(e.queries,e.verbose||!1):da({isError:!0,error:"Queries array is required and cannot be empty",hints:OS({toolName:Ea,hasResults:!1,errorMessage:"Queries array is required and cannot be empty",customHints:["Provide at least one search query with search terms or filters"]})})))}const jS=jc.extend({queryTerms:et(Xe()).optional().describe("Array of search terms (AND logic)"),orTerms:et(Xe()).optional().describe("Array of search terms (OR logic)"),owner:Xe().optional().describe("Repository owner"),repo:Xe().optional().describe("Repository name"),author:Xe().optional().describe("GitHub username of commit author"),"author-name":Xe().optional().describe("Full name of commit author"),"author-email":Xe().optional().describe("Email of commit author"),committer:Xe().optional().describe("GitHub username of committer"),"committer-name":Xe().optional().describe("Full name of committer"),"committer-email":Xe().optional().describe("Email of committer"),"author-date":Xe().optional().describe('Filter by author date (e.g., ">2022-01-01", "2020-01-01..2021-01-01")'),"committer-date":Xe().optional().describe('Filter by commit date (e.g., ">2022-01-01", "2020-01-01..2021-01-01")'),hash:Xe().optional().describe("Commit SHA (full or partial)"),parent:Xe().optional().describe("Parent commit SHA"),tree:Xe().optional().describe("Tree SHA"),merge:Ze().optional().describe("Only merge commits (true) or exclude them (false)"),visibility:at(["public","private","internal"]).optional().describe("Repository visibility filter"),limit:Ye().min(1).max(50).default(25).optional().describe("Maximum number of results to fetch"),getChangesContent:Ze().default(!1).optional().describe("Fetch actual commit changes (diffs/patches). WARNING: EXTREMELY expensive in tokens"),sort:at(["author-date","committer-date"]).optional().describe("Sort by date field"),order:at(["asc","desc"]).default("desc").optional().describe("Sort order direction")});function qS(e){e.registerTool(ya,{description:"Search GitHub commits with intelligent filtering and comprehensive analysis.\n\nProvides powerful commit discovery across GitHub repositories with smart filtering capabilities,\nerror recovery, and context-aware suggestions. Perfect for understanding code evolution,\ntracking changes, and analyzing development patterns.\n\nFEATURES:\n- Comprehensive commit search: Find changes by author, message, date, and more\n- Smart filtering: By repository, author, date ranges, and commit types\n- Error recovery: Intelligent suggestions for failed searches\n- Research optimization: Tailored hints based on research goals\n\nBEST PRACTICES:\n- Use specific keywords related to the changes you're looking for\n- Filter by date ranges for targeted historical analysis\n- Leverage author filters for developer-specific searches\n- Specify research goals (debugging, analysis) for optimal guidance",inputSchema:jS.shape,annotations:{title:"GitHub Commit Search",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},Vc(async e=>{const t=e.queryTerms?.length||e.orTerms?.length,n=e.author||e["author-name"]||e["author-email"]||e.committer||e["committer-name"]||e["committer-email"]||e.hash||e.parent||e.tree||void 0!==e.merge||e["author-date"]||e["committer-date"];if(!t&&!n)return da({data:{error:"At least one search parameter or filter is required"},isError:!0,hints:OS({toolName:ya,hasResults:!1,totalItems:0,errorMessage:"Search parameters required",customHints:["Provide search terms (queryTerms) or filters (author, hash, dates)",'Example: queryTerms: ["fix", "bug"] or author: "username"']})});if(e.getChangesContent&&(!e.owner||!e.repo))return da({data:{error:"Both owner and repo are required when getChangesContent is true"},isError:!0,hints:OS({toolName:ya,hasResults:!1,errorMessage:"Repository required for changes content",customHints:["Specify both owner and repo when requesting commit changes"]})});try{const t=await async function(e){const t=ra("gh-commits-api",e),n=await aa(t,async()=>{const t=await async function(e){try{const t=await Oc(),n=function(e){const t=[];return e.exactQuery?t.push(`"${e.exactQuery}"`):e.queryTerms&&e.queryTerms.length>0?t.push(e.queryTerms.join(" ")):e.orTerms&&e.orTerms.length>0&&t.push(e.orTerms.join(" OR ")),e.owner&&e.repo?t.push(`repo:${e.owner}/${e.repo}`):e.owner&&t.push(Zc(e.owner)),e.author&&t.push(`author:${e.author}`),e["author-name"]&&t.push(`author-name:"${e["author-name"]}"`),e["author-email"]&&t.push(`author-email:${e["author-email"]}`),e.committer&&t.push(`committer:${e.committer}`),e["committer-name"]&&t.push(`committer-name:"${e["committer-name"]}"`),e["committer-email"]&&t.push(`committer-email:${e["committer-email"]}`),e["author-date"]&&t.push(`author-date:${e["author-date"]}`),e["committer-date"]&&t.push(`committer-date:${e["committer-date"]}`),e.hash&&t.push(`hash:${e.hash}`),e.parent&&t.push(`parent:${e.parent}`),e.tree&&t.push(`tree:${e.tree}`),!0===e.merge?t.push("merge:true"):!1===e.merge&&t.push("merge:false"),e.visibility&&t.push(`is:${e.visibility}`),t.join(" ").trim()}(e);if(!n)return{error:"No valid search parameters provided",status:400,hints:["Provide search query or filters like author, committer, hash, or date"]};const r=Math.min(e.limit||25,100);let i=[],o=0,a=1,s=!0;for(;s&&i.length<(e.limit||25);){const c=await t.rest.search.commits({q:n,sort:"author-date"===e.sort?"author-date":"committer-date",order:e.order||"desc",per_page:r,page:a}),u=c.data.items||[];o=c.data.total_count||0;const l=(e.limit||25)-i.length,p=u.slice(0,l);if(i=i.concat(p),s=u.length===r&&i.length<(e.limit||25),a++,a>10)break}const c=i.map(e=>({sha:e.sha,commit:{message:e.commit?.message||"",author:{name:e.commit?.author?.name||"Unknown",email:e.commit?.author?.email||"",date:e.commit?.author?.date||""},committer:{name:e.commit?.committer?.name||"Unknown",email:e.commit?.committer?.email||"",date:e.commit?.committer?.date||""}},author:e.author?{login:e.author.login,id:e.author.id,type:e.author.type||"User",url:e.author.url}:void 0,committer:e.committer?{login:e.committer.login,id:e.committer.id,type:e.committer.type||"User",url:e.committer.url}:void 0,repository:e.repository,url:e.url})),u=await async function(e,t){const n=function(e){if(0===e.length)return null;const t=e[0]?.repository;return t&&e.every(e=>e.repository?.fullName===t.fullName)?t:null}(e),r=t.getChangesContent&&t.owner&&t.repo,i=new Map;if(r&&e.length>0){const n=e.slice(0,10).map(e=>e.sha),r=await Oc(),o=n.map(async e=>{try{return{sha:e,commitData:(await r.rest.repos.getCommit({owner:t.owner,repo:t.repo,ref:e})).data}}catch(t){return{sha:e,commitData:null}}});(await Promise.all(o)).forEach(({sha:e,commitData:t})=>{t&&i.set(e,t)})}const o={commits:e.map(e=>{const t=e.commit?.message??"",o=pa.sanitizeContent(t),a=new Set(o.warnings),s={sha:e.sha,message:o.content,author:e.author?.login??e.commit?.author?.name??"Unknown",date:e.commit?.author?.date?new Date(e.commit.author.date).toLocaleDateString("en-GB"):"",repository:n?void 0:e.repository?.fullName||"",url:e.url||`https://github.com/${e.repository?.fullName||"unknown"}/commit/${e.sha}`};if(a.size>0&&(s._sanitization_warnings=Array.from(a)),r&&i.has(e.sha)){const t=i.get(e.sha),n=t.files||[];s.diff={changed_files:n.length,additions:t.stats?.additions||0,deletions:t.stats?.deletions||0,total_changes:t.stats?.total||0,files:n.map(e=>{const t={filename:e.filename,status:e.status,additions:e.additions,deletions:e.deletions,changes:e.changes};if(e.patch&&"string"==typeof e.patch){const n=e.patch.substring(0,1e3)+(e.patch.length>1e3?"...":""),r=pa.sanitizeContent(n);t.patch=r.content,r.warnings.length>0&&r.warnings.forEach(t=>a.add(`[${e.filename}] ${t}`))}return t}).slice(0,5)},a.size>(Array.isArray(s._sanitization_warnings)?s._sanitization_warnings.length:0)&&(s._sanitization_warnings=Array.from(a))}return s}).map(e=>{const t={};return Object.entries(e).forEach(([e,n])=>{void 0!==n&&(t[e]=n)}),t}),total_count:e.length};return n&&(o.repository={name:n.fullName,description:n.description}),o}(c,e),l=u.commits.map(e=>({sha:e.sha,node_id:`MDQ6Q29tbWl0${e.sha}`,url:e.url,html_url:e.url,commit:{message:e.message,author:{name:e.author,email:"",date:e.date},committer:{name:e.author,email:"",date:e.date},tree:{sha:e.sha,url:e.url}},author:void 0,committer:void 0,parents:[],repository:e.repository?{id:0,name:e.repository.split("/").pop()||"",full_name:e.repository,owner:{login:e.repository.split("/")[0]||"",id:0},private:!1,html_url:`https://github.com/${e.repository}`}:void 0,score:1,files:e.diff?.files?.map(e=>({...e,status:e.status})),stats:e.diff?{total:e.diff.total_changes,additions:e.diff.additions,deletions:e.diff.deletions}:void 0}));return{total_count:o,incomplete_results:o>i.length,commits:l}}catch(e){const t=Pc(e);return{error:`Commit search failed: ${t.error}`,status:t.status,rateLimitRemaining:t.rateLimitRemaining,rateLimitReset:t.rateLimitReset,hints:["Verify authentication and search parameters"],type:t.type}}}(e);return da("error"in t?{isError:!0,data:t}:{data:t})});if(n.isError){const e=n.content[0].text;return JSON.parse(e).data}{const e=n.content[0].text;return JSON.parse(e).data}}(e);if("error"in t){const n=OS({toolName:ya,hasResults:!1,totalItems:0,errorMessage:t.error,customHints:t.hints||[],researchGoal:e.researchGoal});return da({error:t.error,hints:n})}const n=[...e.queryTerms||[],...e.orTerms||[]];let r=OS({toolName:ya,hasResults:t.commits.length>0,totalItems:t.commits.length,researchGoal:e.researchGoal,queryContext:{owner:e.owner,repo:e.repo,queryTerms:n}});t.commits.length>0&&(r=[e.owner&&e.repo?"You can see code changes of the commit using getChangesContent: true":"You can see code changes of the commit using getChangesContent: true (requires owner and repo parameters)",...r]),(t.total_count||0)>(t.commits?.length||0)&&(r=[`Showing ${t.commits?.length||0} of ${t.total_count} total commits. Increase limit parameter to see more results.`,...r]);const i=r;return da({data:{total_count:t.total_count||0,incomplete_results:t.incomplete_results||!1,commits:t.commits||[]},meta:{totalResults:t.commits?.length||0,totalAvailable:t.total_count||0,showingLimited:(t.total_count||0)>(t.commits?.length||0),researchGoal:e.researchGoal},hints:i})}catch(t){const n=t instanceof Error?t.message:"Unknown error occurred";return da({data:{error:`Failed to search commits: ${n}`},isError:!0,hints:OS({toolName:ya,hasResults:!1,totalItems:0,errorMessage:n,researchGoal:e.researchGoal})})}}))}Hc(jS,1,5,"Array of 1-5 commit search queries for bulk execution");const HS=Hc(jc.extend({query:Xe().optional().describe("Search query for PR content"),owner:nt([Xe(),et(Xe())]).optional().describe("Repository owner - single owner or array"),repo:nt([Xe(),et(Xe())]).optional().describe("Repository name - single repo or array"),prNumber:Ye().int().positive().optional().describe("Specific PR number to fetch. When provided with owner/repo, fetches the exact PR instead of searching"),state:at(["open","closed"]).optional().describe('PR state: "open" or "closed"'),assignee:Xe().optional().describe("GitHub username of assignee"),author:Xe().optional().describe("GitHub username of PR author"),commenter:Xe().optional().describe("User who commented on PR"),involves:Xe().optional().describe("User involved in any way"),mentions:Xe().optional().describe("PRs mentioning this user"),"review-requested":Xe().optional().describe("User/team requested for review"),"reviewed-by":Xe().optional().describe("User who reviewed the PR"),"team-mentions":Xe().optional().describe("Team mentions (@org/team-name)"),label:nt([Xe(),et(Xe())]).optional().describe("Labels. Single label or array for OR logic"),"no-label":Ze().optional().describe("PRs without labels"),milestone:Xe().optional().describe("Milestone title"),"no-milestone":Ze().optional().describe("PRs without milestones"),project:Xe().optional().describe("Project board owner/number"),"no-project":Ze().optional().describe("PRs not in projects"),"no-assignee":Ze().optional().describe("PRs without assignees"),head:Xe().optional().describe("Filter on head branch name"),base:Xe().optional().describe("Filter on base branch name"),created:Xe().optional().describe('Created date. Use ">2024-01-01", "2024-01-01..2024-12-31", etc.'),updated:Xe().optional().describe('Updated date. Use ">2024-01-01", "2024-01-01..2024-12-31", etc.'),closed:Xe().optional().describe('Closed date. Use ">2024-01-01", "2024-01-01..2024-12-31", etc.'),"merged-at":Xe().optional().describe('Merged date. Use ">2024-01-01", "2024-01-01..2024-12-31", etc.'),comments:nt([Ye(),Xe()]).optional().describe('Comment count. Use ">10", ">=5", "<20", "5..10", or exact number'),reactions:nt([Ye(),Xe()]).optional().describe('Reaction count. Use ">100", ">=10", "<50", "10..50", or exact number'),interactions:nt([Ye(),Xe()]).optional().describe('Total interactions (reactions + comments). Use ">50", "10..100", etc.'),merged:Ze().optional().describe("Merged state"),draft:Ze().optional().describe("Draft state"),locked:Ze().optional().describe("Locked conversation status"),review:at(["none","required","approved","changes_requested"]).optional().describe("Review status"),checks:at(["pending","success","failure"]).optional().describe("CI checks status"),language:Xe().optional().describe("Programming language filter"),visibility:nt([at(["public","private","internal"]),et(at(["public","private","internal"]))]).optional().describe("Repository visibility"),app:Xe().optional().describe("GitHub App author"),match:et(at(["title","body","comments"])).optional().describe("Restrict search to specific fields"),sort:at(["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated","best-match"]).optional().describe("Sort fetched results"),order:at(["asc","desc"]).default("desc").optional().describe("Order of results, requires --sort"),limit:Ye().min(1).max(100).default(30).optional().describe("Maximum number of results to fetch"),withComments:Ze().default(!1).optional().describe("Include full comment content in search results. WARNING: EXTREMELY expensive in tokens"),getFileChanges:Ze().default(!1).optional().describe("Include file changes/diffs in the PR. WARNING: EXTREMELY expensive in tokens")}),1,5,"Array of 1-5 pull request search queries for bulk execution");function KS(e){e.registerTool(ba,{description:"Search GitHub pull requests with intelligent filtering and comprehensive analysis.\n\nProvides powerful pull request discovery across GitHub repositories with smart filtering capabilities,\nerror recovery, and context-aware suggestions. Perfect for understanding code reviews, tracking features,\nand analyzing development workflows.\n\nFEATURES:\n- Comprehensive PR search: Find pull requests by state, author, labels, and more\n- Direct PR fetching: Get specific pull requests by number (e.g., PR #123 from owner/repo)\n- Smart filtering: By repository, review status, merge state, and activity\n- Error recovery: Intelligent suggestions for failed searches\n- Research optimization: Tailored hints based on research goals\n\nBEST PRACTICES:\n- Use specific keywords related to the features or changes you're looking for\n- For known PR numbers: Use prNumber with owner/repo for efficient direct fetching\n- Filter by state (open/closed) and review status for targeted results\n- Leverage author and assignee filters for people-specific searches\n- Specify research goals (debugging, analysis) for optimal guidance",inputSchema:HS.shape,annotations:{title:"GitHub Pull Request Search",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},Vc(async e=>{if(!e.queries||!Array.isArray(e.queries)||0===e.queries.length)return da({isError:!0,error:"Queries array is required and cannot be empty",hints:OS({toolName:ba,hasResults:!1,totalItems:0,errorMessage:"Queries array is required and cannot be empty",customHints:["Provide at least one search query with owner/repo or prNumber",'Example: queries: [{owner: "user", repo: "repo", prNumber: 123}]']})});if(e.queries.length>5)return da({isError:!0,error:"Too many queries. Maximum 5 queries allowed per request.",hints:OS({toolName:ba,hasResults:!1,totalItems:0,errorMessage:"Too many queries",customHints:["Maximum 5 queries allowed per request"]})});for(let t=0;t<e.queries.length;t++){const n=e.queries[t];if(!(n?.query&&n.query.trim()||n?.owner||n?.repo||n?.author||n?.assignee||n?.prNumber&&n?.owner&&n?.repo))return da({isError:!0,error:`Query ${t+1} has no valid parameters. At least one search parameter, filter, or PR number is required.`,hints:OS({toolName:ba,hasResults:!1,totalItems:0,errorMessage:`Query ${t+1} has no valid parameters`,customHints:["Each query must have: query terms, filters (owner/repo), or prNumber with owner/repo",`Query ${t+1} is missing required parameters`]})});if(n?.query&&n.query.length>256)return da({isError:!0,error:`Query ${t+1} query too long. Please use a shorter search query.`,hints:OS({toolName:ba,hasResults:!1,errorMessage:`Query ${t+1} query too long`,customHints:["Use shorter, more focused search terms"]})})}try{return await async function(e){const t=await Promise.allSettled(e.map(async(e,t)=>{try{const n=await async function(e){const t=ra("gh-api-prs",e),n=await aa(t,async()=>{const t=await async function(e){try{if(e.prNumber&&e.owner&&e.repo&&!Array.isArray(e.owner)&&!Array.isArray(e.repo))return await async function(e){try{const t=await Oc(),n=e.owner,r=e.repo,i=e.prNumber,o=(await t.rest.pulls.get({owner:n,repo:r,pull_number:i})).data,a=await dS(o,e,t);return{total_count:1,incomplete_results:!1,pull_requests:[{id:0,number:a.number,title:a.title,url:a.url,html_url:a.url,state:a.state,draft:a.draft,merged:"closed"===a.state&&!!a.merged_at,created_at:a.created_at,updated_at:a.updated_at,closed_at:a.closed_at,merged_at:a.merged_at,user:{login:a.author,id:0,avatar_url:"",html_url:`https://github.com/${a.author}`},head:{ref:a.head||"",sha:a.head_sha||""},base:{ref:a.base||"",sha:a.base_sha||"",repo:{id:0,name:a.repository.split("/")[1]||"",full_name:a.repository,owner:{login:a.repository.split("/")[0]||"",id:0},private:!1,html_url:`https://github.com/${a.repository}`,default_branch:"main"}},body:a.body,comments:a.comments?.length||0,review_comments:0,commits:0,additions:a.file_changes?.files.reduce((e,t)=>e+t.additions,0)||0,deletions:a.file_changes?.files.reduce((e,t)=>e+t.deletions,0)||0,changed_files:a.file_changes?.total_count||0,...a.file_changes&&{file_changes:a.file_changes}}]}}catch(t){const n=Pc(t),r=e.owner,i=e.repo,o=e.prNumber;return{error:`Failed to fetch pull request #${o}: ${n.error}`,status:n.status,rateLimitRemaining:n.rateLimitRemaining,rateLimitReset:n.rateLimitReset,hints:[`Verify that pull request #${o} exists in ${r}/${i}`,"Check if you have access to this repository","Ensure the PR number is correct"],type:n.type}}}(e);const t=await Oc(),n=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.review||void 0!==e.checks||void 0!==e.reactions||void 0!==e.comments||void 0!==e.interactions||void 0!==e.milestone||void 0!==e.project||void 0!==e["team-mentions"]||void 0!==e["no-assignee"]||void 0!==e["no-label"]||void 0!==e["no-milestone"]||void 0!==e["no-project"]||void 0!==e.language||void 0!==e.visibility||void 0!==e.app||void 0!==e.created||void 0!==e.updated||void 0!==e["merged-at"]||void 0!==e.closed||void 0!==e.merged||void 0!==e.locked||Array.isArray(e.owner)||Array.isArray(e.repo)}(e);if(!n&&e.owner&&e.repo&&!Array.isArray(e.owner)&&!Array.isArray(e.repo))return await async function(e,t){try{const n={owner:t.owner,repo:t.repo,state:t.state||"open",per_page:Math.min(t.limit||30,100),sort:"updated"===t.sort?"updated":"created",direction:t.order||"desc"};t.head&&(n.head=t.head),t.base&&(n.base=t.base);const r=await e.rest.pulls.list(n),i=(await Promise.all(r.data.map(async n=>await dS(n,t,e)))).map(e=>({id:0,number:e.number,title:e.title,url:e.url,html_url:e.url,state:e.state,draft:e.draft,merged:"closed"===e.state&&!!e.merged_at,created_at:e.created_at,updated_at:e.updated_at,closed_at:e.closed_at,merged_at:e.merged_at,user:{login:e.author,id:0,avatar_url:"",html_url:`https://github.com/${e.author}`},head:{ref:e.head||"",sha:e.head_sha||""},base:{ref:e.base||"",sha:e.base_sha||"",repo:{id:0,name:e.repository.split("/")[1]||"",full_name:e.repository,owner:{login:e.repository.split("/")[0]||"",id:0},private:!1,html_url:`https://github.com/${e.repository}`,default_branch:"main"}},body:e.body,comments:e.comments?.length||0,review_comments:0,commits: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}}));return{total_count:i.length,incomplete_results:!1,pull_requests:i}}catch(e){const t=Pc(e);return{error:`Pull request list failed: ${t.error}`,status:t.status,rateLimitRemaining:t.rateLimitRemaining,rateLimitReset:t.rateLimitReset,hints:["Verify repository access and authentication"],type:t.type}}}(t,e);const r=function(e){const t=[];if(e.query&&e.query.trim()&&t.push(e.query.trim()),t.push("is:pr"),e.owner&&e.repo){const n=Array.isArray(e.owner)?e.owner:[e.owner],r=Array.isArray(e.repo)?e.repo:[e.repo];n.forEach(e=>{r.forEach(n=>{t.push(`repo:${e}/${n}`)})})}else e.owner&&(Array.isArray(e.owner)?e.owner:[e.owner]).forEach(e=>{t.push(Zc(e))});return e.state&&t.push(`is:${e.state}`),void 0!==e.draft&&t.push(e.draft?"is:draft":"-is:draft"),void 0!==e.merged&&t.push(e.merged?"is:merged":"is:unmerged"),void 0!==e.locked&&t.push(e.locked?"is:locked":"-is:locked"),e.author&&t.push(`author:${e.author}`),e.assignee&&t.push(`assignee:${e.assignee}`),e.mentions&&t.push(`mentions:${e.mentions}`),e.commenter&&t.push(`commenter:${e.commenter}`),e.involves&&t.push(`involves:${e.involves}`),e["reviewed-by"]&&t.push(`reviewed-by:${e["reviewed-by"]}`),e["review-requested"]&&t.push(`review-requested:${e["review-requested"]}`),e.head&&t.push(`head:${e.head}`),e.base&&t.push(`base:${e.base}`),e.created&&t.push(`created:${e.created}`),e.updated&&t.push(`updated:${e.updated}`),e["merged-at"]&&t.push(`merged:${e["merged-at"]}`),e.closed&&t.push(`closed:${e.closed}`),void 0!==e.comments&&t.push(`comments:${e.comments}`),void 0!==e.reactions&&t.push(`reactions:${e.reactions}`),void 0!==e.interactions&&t.push(`interactions:${e.interactions}`),e.review&&t.push(`review:${e.review}`),e.checks&&t.push(`status:${e.checks}`),e.label&&(Array.isArray(e.label)?e.label:[e.label]).forEach(e=>{t.push(`label:"${e}"`)}),e.milestone&&t.push(`milestone:"${e.milestone}"`),e["team-mentions"]&&t.push(`team:${e["team-mentions"]}`),e.project&&t.push(`project:${e.project}`),e.app&&t.push(`app:${e.app}`),e["no-assignee"]&&t.push("no:assignee"),e["no-label"]&&t.push("no:label"),e["no-milestone"]&&t.push("no:milestone"),e["no-project"]&&t.push("no:project"),e.language&&t.push(`language:${e.language}`),e.visibility&&(Array.isArray(e.visibility)?e.visibility:[e.visibility]).forEach(e=>{t.push(`is:${e}`)}),t.push("archived:false"),t.join(" ").trim()}(e);if(!r)return{error:"No valid search parameters provided",status:400,hints:["Provide search query or filters like owner/repo"]};const i=await t.rest.search.issuesAndPullRequests({q:r,sort:e.sort&&"best-match"!==e.sort?e.sort:void 0,order:e.order||"desc",per_page:Math.min(e.limit||30,100)}),o=i.data.items?.filter(e=>e.pull_request)||[],a=await Promise.all(o.map(async n=>await async function(e,t,n){const r=pa.sanitizeContent(e.title||""),i=e.body?pa.sanitizeContent(e.body):{content:void 0,warnings:[]},o=new Set([...r.warnings,...i.warnings]),a={number:e.number,title:r.content,body:i.content,state:e.state?.toLowerCase()||"unknown",author:e.user?.login||"",repository:`${t.owner}/${t.repo}`,labels:e.labels?.map(e=>e.name)||[],created_at:e.created_at?new Date(e.created_at).toLocaleDateString("en-GB"):"",updated_at:e.updated_at?new Date(e.updated_at).toLocaleDateString("en-GB"):"",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};if(o.size>0&&(a._sanitization_warnings=Array.from(o)),e.closed_at&&(a.closed_at=new Date(e.closed_at).toLocaleDateString("en-GB")),t.getFileChanges||e.pull_request)try{const[r,i]=a.repository.split("/");if(r&&i){const o=await n.rest.pulls.get({owner:r,repo:i,pull_number:e.number});if(o.data&&(a.head=o.data.head?.ref,a.head_sha=o.data.head?.sha,a.base=o.data.base?.ref,a.base_sha=o.data.base?.sha,a.draft=o.data.draft||!1,t.getFileChanges)){const t=await pS(r,i,e.number);t&&(a.file_changes=t)}}}catch(e){}if(t.withComments)try{const[t,r]=a.repository.split("/");if(t&&r){const i=await n.rest.issues.listComments({owner:t,repo:r,issue_number:e.number});a.comments=i.data.map(e=>({id:e.id,user:e.user?.login||"unknown",body:pa.sanitizeContent(e.body||"").content,created_at:new Date(e.created_at).toLocaleDateString("en-GB"),updated_at:new Date(e.updated_at).toLocaleDateString("en-GB")}))}}catch(e){}return a}(n,e,t))),s=a.map(e=>({id:0,number:e.number,title:e.title,url:e.url,html_url:e.url,state:e.state,draft:e.draft,merged:"closed"===e.state&&!!e.merged_at,created_at:e.created_at,updated_at:e.updated_at,closed_at:e.closed_at,merged_at:e.merged_at,user:{login:e.author,id:0,avatar_url:"",html_url:`https://github.com/${e.author}`},head:{ref:e.head||"",sha:e.head_sha||""},base:{ref:e.base||"",sha:e.base_sha||"",repo:{id:0,name:e.repository.split("/")[1]||"",full_name:e.repository,owner:{login:e.repository.split("/")[0]||"",id:0},private:!1,html_url:`https://github.com/${e.repository}`,default_branch:"main"}},body:e.body,comments:e.comments?.length||0,review_comments:0,commits: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}}));return{total_count:i.data.total_count,incomplete_results:i.data.incomplete_results,pull_requests:s}}catch(e){const t=Pc(e);return{error:`Pull request search failed: ${t.error}`,status:t.status,rateLimitRemaining:t.rateLimitRemaining,rateLimitReset:t.rateLimitReset,hints:["Verify authentication and search parameters"],type:t.type}}}(e);return da("error"in t?{isError:!0,data:t}:{data:t})});if(n.isError){const e=n.content[0].text;return JSON.parse(e).data}{const e=n.content[0].text;return JSON.parse(e).data}}(e);return{queryId:`pr-search_${t+1}`,data:n,metadata:{researchGoal:e.researchGoal,resultCount:"error"in n?0:n.pull_requests?.length||0,hasResults:!("error"in n)&&(n.pull_requests?.length||0)>0,searchType:"error"in n?"error":"success",queryArgs:{...e,id:`pr-search_${t+1}`}}}}catch(n){return{queryId:`pr-search_${t+1}`,data:{error:n instanceof Error?n.message:"Unknown error occurred",status:500,hints:["Internal error occurred during search"]},metadata:{researchGoal:e.researchGoal,resultCount:0,hasResults:!1,searchType:"error",queryArgs:{id:`pr-search_${t+1}`}}}}})),n=t.map((e,t)=>"fulfilled"===e.status?e.value:{queryId:`pr-search_${t+1}`,data:{error:e.reason?.message||"Unknown error occurred",status:500,hints:["Promise rejected during search"]},metadata:{resultCount:0,hasResults:!1,searchType:"error",queryArgs:{id:`pr-search_${t+1}`}}}),r=n.filter(e=>!("error"in e.data)||void 0===e.data.error),i=n.filter(e=>"error"in e.data&&void 0!==e.data.error),o=OS({toolName:ba,hasResults:r.some(e=>e.metadata.hasResults),totalItems:r.reduce((e,t)=>e+t.metadata.resultCount,0),researchGoal:e[0]?.researchGoal,queryContext:{owner:e[0]?.owner,repo:e[0]?.repo,queryTerms:e[0]?.query?[e[0].query]:[]}});return da({data:n,meta:{totalOperations:e.length,successfulOperations:r.length,failedOperations:i.length,researchGoal:e[0]?.researchGoal},hints:o})}(e.queries,e.verbose)}catch(e){const t=e instanceof Error?e.message:"Unknown error occurred";return da({isError:!0,error:`Failed to search pull requests: ${t}`,hints:OS({toolName:ba,hasResults:!1,totalItems:0,errorMessage:t})})}}))}const $S=["version","description","license","author","homepage","repository","dependencies","devDependencies","keywords","main","scripts","engines","files","publishConfig","dist-tags","time"],WS=tt({name:Xe().describe("NPM package name to search for"),searchLimit:Ye().int().min(1).max(10).optional().describe("Results limit for this query (1-10). Default: 1 for specific packages, up to 10 for exploration"),npmSearchStrategy:at(["individual","combined"]).optional().describe("Search strategy for this query"),npmFetchMetadata:Ze().optional().describe("Whether to fetch detailed metadata for this package"),npmField:Xe().optional().describe("Specific field to retrieve from this NPM package"),npmMatch:nt([at($S),et(at($S)),Xe()]).optional().describe("Specific field(s) to retrieve from this NPM package")}),XS=tt({name:Xe().describe("Python package name to search for"),searchLimit:Ye().int().min(1).max(10).optional().describe("Results limit for this query (1-10). Default: 1 for specific packages, up to 10 for exploration")}),YS=tt({searchLimit:Ye().int().min(1).max(10).optional().default(1).describe("Global default results limit per query (1-10). Use 1 for specific packages, up to 10 for exploration. Can be overridden per query. Default: 1"),npmSearchStrategy:at(["individual","combined"]).optional().default("individual").describe("Global default NPM search strategy. Can be overridden per query. Default: individual"),npmFetchMetadata:Ze().optional().default(!1).describe("Global default for NPM metadata fetching. Can be overridden per query. Default: false"),researchGoal:at(ga).optional().describe("Research goal to guide tool behavior and hint generation"),npmPackages:et(WS).max(10).optional().describe("Array of NPM package queries (max 10). Each query can have individual parameters for customized search behavior."),pythonPackages:et(XS).max(10).optional().describe("Array of Python package queries (max 10). Each query searches PyPI for the specified package name with individual result limits.")});function ZS(e,t){return function(){return e.apply(t,arguments)}}const{toString:QS}=Object.prototype,{getPrototypeOf:JS}=Object,{iterator:eT,toStringTag:tT}=Symbol,nT=(e=>t=>{const n=QS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rT=e=>(e=e.toLowerCase(),t=>nT(t)===e),iT=e=>t=>typeof t===e,{isArray:oT}=Array,aT=iT("undefined");function sT(e){return null!==e&&!aT(e)&&null!==e.constructor&&!aT(e.constructor)&&lT(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const cT=rT("ArrayBuffer"),uT=iT("string"),lT=iT("function"),pT=iT("number"),dT=e=>null!==e&&"object"==typeof e,mT=e=>{if("object"!==nT(e))return!1;const t=JS(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||tT in e||eT in e)},fT=rT("Date"),hT=rT("File"),gT=rT("Blob"),vT=rT("FileList"),_T=rT("URLSearchParams"),[yT,bT,ET,xT]=["ReadableStream","Request","Response","Headers"].map(rT);function wT(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),oT(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(sT(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function AT(e,t){if(sT(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const ST="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,TT=e=>!aT(e)&&e!==ST,kT=(RT="undefined"!=typeof Uint8Array&&JS(Uint8Array),e=>RT&&e instanceof RT);var RT;const CT=rT("HTMLFormElement"),OT=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),DT=rT("RegExp"),PT=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};wT(n,(n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)}),Object.defineProperties(e,r)},FT=rT("AsyncFunction"),IT=(MT="function"==typeof setImmediate,NT=lT(ST.postMessage),MT?setImmediate:NT?((e,t)=>(ST.addEventListener("message",({source:n,data:r})=>{n===ST&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),ST.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e));var MT,NT;const LT="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ST):"undefined"!=typeof process&&process.nextTick||IT;var BT={isArray:oT,isArrayBuffer:cT,isBuffer:sT,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||lT(e.append)&&("formdata"===(t=nT(e))||"object"===t&&lT(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&cT(e.buffer),t},isString:uT,isNumber:pT,isBoolean:e=>!0===e||!1===e,isObject:dT,isPlainObject:mT,isEmptyObject:e=>{if(!dT(e)||sT(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:yT,isRequest:bT,isResponse:ET,isHeaders:xT,isUndefined:aT,isDate:fT,isFile:hT,isBlob:gT,isRegExp:DT,isFunction:lT,isStream:e=>dT(e)&&lT(e.pipe),isURLSearchParams:_T,isTypedArray:kT,isFileList:vT,forEach:wT,merge:function e(){const{caseless:t}=TT(this)&&this||{},n={},r=(r,i)=>{const o=t&&AT(n,i)||i;mT(n[o])&&mT(r)?n[o]=e(n[o],r):mT(r)?n[o]=e({},r):oT(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&wT(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(wT(t,(t,r)=>{n&&lT(t)?e[r]=ZS(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;const s={};if(t=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&&JS(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:nT,kindOfTest:rT,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(oT(e))return e;let t=e.length;if(!pT(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[eT]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:CT,hasOwnProperty:OT,hasOwnProp:OT,reduceDescriptors:PT,freezeMethods:e=>{PT(e,(t,n)=>{if(lT(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];lT(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return oT(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:AT,global:ST,isContextDefined:TT,isSpecCompliantForm:function(e){return!!(e&&lT(e.append)&&"FormData"===e[tT]&&e[eT])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(dT(e)){if(t.indexOf(e)>=0)return;if(sT(e))return e;if(!("toJSON"in e)){t[r]=e;const i=oT(e)?[]:{};return wT(e,(e,t)=>{const o=n(e,r+1);!aT(o)&&(i[t]=o)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:FT,isThenable:e=>e&&(dT(e)||lT(e))&&lT(e.then)&&lT(e.catch),setImmediate:IT,asap:LT,isIterable:e=>null!=e&&lT(e[eT])};function UT(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new 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)}BT.inherits(UT,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:BT.toJSONObject(this.config),code:this.code,status:this.status}}});const GT=UT.prototype,zT={};var VT,jT,qT,HT;["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=>{zT[e]={value:e}}),Object.defineProperties(UT,zT),Object.defineProperty(GT,"isAxiosError",{value:!0}),UT.from=(e,t,n,r,i,o)=>{const a=Object.create(GT);return BT.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),UT.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var KT,$T,WT,XT,YT,ZT,QT,JT,ek,tk,nk,rk,ik,ok,ak,sk,ck,uk={},lk={"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}};function pk(){if(QT)return ZT;QT=1;var e=YT?XT:(YT=1,XT=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)});return ZT=function(t){var n=!1;return e(function(){n=!0}),function(r,i){n?t(r,i):e(function(){t(r,i)})}},ZT}function dk(){if(ek)return JT;function e(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}return ek=1,JT=function(t){Object.keys(t.jobs).forEach(e.bind(t)),t.jobs={}}}function mk(){if(nk)return tk;nk=1;var e=pk(),t=dk();return tk=function(n,r,i,o){var a=i.keyedList?i.keyedList[i.index]:i.index;i.jobs[a]=function(t,n,r,i){return 2==t.length?t(r,e(i)):t(r,n,e(i))}(r,a,n[a],function(e,n){a in i.jobs&&(delete i.jobs[a],e?t(i):i.results[a]=n,o(e,i.results))})},tk}function fk(){return ik?rk:(ik=1,rk=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})}function hk(){if(ak)return ok;ak=1;var e=dk(),t=pk();return ok=function(n){Object.keys(this.jobs).length&&(this.index=this.size,e(this),t(n)(null,this.results))}}function gk(){if(ck)return sk;ck=1;var e=mk(),t=fk(),n=hk();return sk=function(r,i,o){for(var a=t(r);a.index<(a.keyedList||r).length;)e(r,i,a,function(e,t){e?o(e,t):0!==Object.keys(a.jobs).length||o(null,a.results)}),a.index++;return n.bind(a,o)},sk}var vk,_k,yk,bk,Ek,xk,wk,Ak,Sk,Tk,kk,Rk,Ck,Ok,Dk,Pk,Fk,Ik,Mk,Nk,Lk,Bk,Uk,Gk,zk,Vk,jk,qk,Hk,Kk,$k,Wk,Xk,Yk,Zk,Qk,Jk,eR,tR,nR,rR,iR,oR,aR,sR,cR,uR,lR,pR,dR,mR,fR,hR,gR,vR,_R,yR,bR,ER,xR,wR,AR,SR,TR,kR,RR,CR,OR,DR,PR,FR,IR,MR,NR,LR,BR,UR,GR,zR,VR,jR,qR={exports:{}};function HR(){if(vk)return qR.exports;vk=1;var e=mk(),t=fk(),n=hk();function r(e,t){return e<t?-1:e>t?1:0}return qR.exports=function(r,i,o,a){var s=t(r,o);return e(r,i,s,function t(n,o){n?a(n,o):(s.index++,s.index<(s.keyedList||r).length?e(r,i,s,t):a(null,s.results))}),n.bind(s,a)},qR.exports.ascending=r,qR.exports.descending=function(e,t){return-1*r(e,t)},qR.exports}function KR(){if(yk)return _k;yk=1;var e=HR();return _k=function(t,n,r){return e(t,n,null,r)},_k}function $R(){return Ek?bk:(Ek=1,bk={parallel:gk(),serial:KR(),serialOrdered:HR()})}function WR(){return wk?xk:(wk=1,xk=Object)}function XR(){return Sk?Ak:(Sk=1,Ak=Error)}function YR(){return kk?Tk:(kk=1,Tk=EvalError)}function ZR(){return Ck?Rk:(Ck=1,Rk=RangeError)}function QR(){return Dk?Ok:(Dk=1,Ok=ReferenceError)}function JR(){return Fk?Pk:(Fk=1,Pk=SyntaxError)}function eC(){return Mk?Ik:(Mk=1,Ik=TypeError)}function tC(){return Lk?Nk:(Lk=1,Nk=URIError)}function nC(){return Uk?Bk:(Uk=1,Bk=Math.abs)}function rC(){return zk?Gk:(zk=1,Gk=Math.floor)}function iC(){return jk?Vk:(jk=1,Vk=Math.max)}function oC(){return Hk?qk:(Hk=1,qk=Math.min)}function aC(){return $k?Kk:($k=1,Kk=Math.pow)}function sC(){return Xk?Wk:(Xk=1,Wk=Math.round)}function cC(){return Zk?Yk:(Zk=1,Yk=Number.isNaN||function(e){return e!=e})}function uC(){if(Jk)return Qk;Jk=1;var e=cC();return Qk=function(t){return e(t)||0===t?t:t<0?-1:1}}function lC(){return tR?eR:(tR=1,eR=Object.getOwnPropertyDescriptor)}function pC(){if(rR)return nR;rR=1;var e=lC();if(e)try{e([],"length")}catch(t){e=null}return nR=e}function dC(){if(oR)return iR;oR=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}return iR=e}function mC(){return sR?aR:(sR=1,aR=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)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[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)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!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})}function fC(){if(uR)return cR;uR=1;var e="undefined"!=typeof Symbol&&Symbol,t=mC();return cR=function(){return"function"==typeof e&&"function"==typeof Symbol&&"symbol"==typeof e("foo")&&"symbol"==typeof Symbol("bar")&&t()}}function hC(){return pR?lR:(pR=1,lR="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function gC(){return mR?dR:(mR=1,dR=WR().getPrototypeOf||null)}function vC(){if(hR)return fR;hR=1;var e=Object.prototype.toString,t=Math.max,n=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};return fR=function(r){var i=this;if("function"!=typeof i||"[object Function]"!==e.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);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=t(0,i.length-a.length),c=[],u=0;u<s;u++)c[u]="$"+u;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 e=i.apply(this,n(a,arguments));return Object(e)===e?e:this}return i.apply(r,n(a,arguments))}),i.prototype){var l=function(){};l.prototype=i.prototype,o.prototype=new l,l.prototype=null}return o},fR}function _C(){if(vR)return gR;vR=1;var e=vC();return gR=Function.prototype.bind||e}function yC(){return yR?_R:(yR=1,_R=Function.prototype.call)}function bC(){return ER?bR:(ER=1,bR=Function.prototype.apply)}function EC(){if(CR)return RR;CR=1;var e,t=function(){if(kR)return TR;kR=1;var e=_C(),t=eC(),n=yC(),r=function(){if(SR)return AR;SR=1;var e=_C(),t=bC(),n=yC(),r=wR?xR:(wR=1,xR="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return AR=r||e.call(n,t)}();return TR=function(i){if(i.length<1||"function"!=typeof i[0])throw new t("a function is required");return r(e,n,i)}}(),n=pC();try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var r=!!e&&n&&n(Object.prototype,"__proto__"),i=Object,o=i.getPrototypeOf;return RR=r&&"function"==typeof r.get?t([r.get]):"function"==typeof o&&function(e){return o(null==e?e:i(e))}}function xC(){if(DR)return OR;DR=1;var e=hC(),t=gC(),n=EC();return OR=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:n?function(e){return n(e)}:null}function wC(){if(FR)return PR;FR=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=_C();return PR=n.call(e,t)}function AC(){if(MR)return IR;var e;MR=1;var t=WR(),n=XR(),r=YR(),i=ZR(),o=QR(),a=JR(),s=eC(),c=tC(),u=nC(),l=rC(),p=iC(),d=oC(),m=aC(),f=sC(),h=uC(),g=Function,v=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},_=pC(),y=dC(),b=function(){throw new s},E=_?function(){try{return b}catch(e){try{return _(arguments,"callee").get}catch(e){return b}}}():b,x=fC()(),w=xC(),A=gC(),S=hC(),T=bC(),k=yC(),R={},C="undefined"!=typeof Uint8Array&&w?w(Uint8Array):e,O={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?e:ArrayBuffer,"%ArrayIteratorPrototype%":x&&w?w([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":"undefined"==typeof Atomics?e:Atomics,"%BigInt%":"undefined"==typeof BigInt?e:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?e:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":"undefined"==typeof Float16Array?e:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?e:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?e:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?e:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":R,"%Int8Array%":"undefined"==typeof Int8Array?e:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?e:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&w?w(w([][Symbol.iterator]())):e,"%JSON%":"object"==typeof JSON?JSON:e,"%Map%":"undefined"==typeof Map?e:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&x&&w?w((new Map)[Symbol.iterator]()):e,"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?e:Promise,"%Proxy%":"undefined"==typeof Proxy?e:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":"undefined"==typeof Reflect?e:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?e:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&x&&w?w((new Set)[Symbol.iterator]()):e,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&w?w(""[Symbol.iterator]()):e,"%Symbol%":x?Symbol:e,"%SyntaxError%":a,"%ThrowTypeError%":E,"%TypedArray%":C,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?e:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?e:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?e:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?e:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"==typeof WeakMap?e:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?e:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?e:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":T,"%Object.defineProperty%":y,"%Object.getPrototypeOf%":A,"%Math.abs%":u,"%Math.floor%":l,"%Math.max%":p,"%Math.min%":d,"%Math.pow%":m,"%Math.round%":f,"%Math.sign%":h,"%Reflect.getPrototypeOf%":S};if(w)try{null.error}catch(e){var D=w(w(e));O["%Error.prototype%"]=D}var P=function e(t){var n;if("%AsyncFunction%"===t)n=v("async function () {}");else if("%GeneratorFunction%"===t)n=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=v("async function* () {}");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 O[t]=n,n},F={__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"]},I=_C(),M=wC(),N=I.call(k,Array.prototype.concat),L=I.call(T,Array.prototype.splice),B=I.call(k,String.prototype.replace),U=I.call(k,String.prototype.slice),G=I.call(k,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,j=function(e,t){var n,r=e;if(M(F,r)&&(r="%"+(n=F[r])[0]+"%"),M(O,r)){var i=O[r];if(i===R&&(i=P(r)),void 0===i&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new a("intrinsic "+e+" does not exist!")};return IR=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');if(null===G(/^%?[^%]*%?$/,e))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=U(e,0,1),n=U(e,-1);if("%"===t&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return B(e,z,function(e,t,n,i){r[r.length]=n?B(i,V,"$1"):t||e}),r}(e),r=n.length>0?n[0]:"",i=j("%"+r+"%",t),o=i.name,c=i.value,u=!1,l=i.alias;l&&(r=l[0],L(n,N([0,1],l)));for(var p=1,d=!0;p<n.length;p+=1){var m=n[p],f=U(m,0,1),h=U(m,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new a("property names with quotes must have matching quotes");if("constructor"!==m&&d||(u=!0),M(O,o="%"+(r+="."+m)+"%"))c=O[o];else if(null!=c){if(!(m in c)){if(!t)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(_&&p+1>=n.length){var g=_(c,m);c=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:c[m]}else d=M(c,m),c=c[m];d&&!u&&(O[o]=c)}}return c},IR}function SC(){if(UR)return BR;UR=1;var e=AC()("%Object.defineProperty%",!0),t=function(){if(LR)return NR;LR=1;var e=mC();return NR=function(){return e()&&!!Symbol.toStringTag}}()(),n=wC(),r=eC(),i=t?Symbol.toStringTag:null;return BR=function(t,o){var a=arguments.length>2&&!!arguments[2]&&arguments[2].force,s=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==a&&"boolean"!=typeof a||void 0!==s&&"boolean"!=typeof s)throw new r("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!i||!a&&n(t,i)||(e?e(t,i,{configurable:!s,enumerable:!1,value:o,writable:!1}):t[i]=o)},BR}function TC(){return zR||(zR=1,GR=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}),GR}var kC=function(){if(jR)return VR;jR=1;var e=function(){if(HT)return qT;HT=1;var e=l,t=p.Stream,n=function(){if(jT)return VT;jT=1;var e=p.Stream;function t(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return VT=t,l.inherits(t,e),t.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(t.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),t.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},t.prototype.resume=function(){this._released||this.release(),this.source.resume()},t.prototype.pause=function(){this.source.pause()},t.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},t.prototype.pipe=function(){var t=e.prototype.pipe.apply(this,arguments);return this.resume(),t},t.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))},t.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",new Error(e))}},VT}();function r(){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}return qT=r,e.inherits(r,t),r.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.isStreamLike(e)){if(!(e instanceof n)){var t=n.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},r.prototype.pipe=function(e,n){return t.prototype.pipe.call(this,e,n),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.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)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)},qT}(),t=l,n=c,i=o,d=a,m=s.parse,f=u,h=p.Stream,g=r,v=(WT||(WT=1,function(e){var t,n,r,i=$T?KT:($T=1,KT=lk),o=c.extname,a=/^\s*([^;\s]*)(?:;|\s|$)/,s=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=a.exec(e),n=t&&i[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!s.test(t[1]))&&"UTF-8"}e.charset=u,e.charsets={lookup:u},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=a.exec(t),r=n&&e.extensions[n[1].toLowerCase()];return!(!r||!r.length)&&r[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var n=o("x."+t).toLowerCase().substr(1);return n&&e.types[n]||!1},e.types=Object.create(null),t=e.extensions,n=e.types,r=["nginx","apache",void 0,"iana"],Object.keys(i).forEach(function(e){var o=i[e],a=o.extensions;if(a&&a.length){t[e]=a;for(var s=0;s<a.length;s++){var c=a[s];if(n[c]){var u=r.indexOf(i[n[c]].source),l=r.indexOf(o.source);if("application/octet-stream"!==n[c]&&(u>l||u===l&&"application/"===n[c].substr(0,12)))continue}n[c]=e}}})}(uk)),uk),_=$R(),y=SC(),b=wC(),E=TC();function x(t){if(!(this instanceof x))return new x(t);for(var n in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),t=t||{})this[n]=t[n]}return t.inherits(x,e),x.LINE_BREAK="\r\n",x.DEFAULT_CONTENT_TYPE="application/octet-stream",x.prototype.append=function(t,n,r){"string"==typeof(r=r||{})&&(r={filename:r});var i=e.prototype.append.bind(this);if("number"!=typeof n&&null!=n||(n=String(n)),Array.isArray(n))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(t,n,r),a=this._multiPartFooter();i(o),i(n),i(a),this._trackLength(o,n,r)}},x.prototype._trackLength=function(e,t,n){var r=0;null!=n.knownLength?r+=Number(n.knownLength):Buffer.isBuffer(t)?r=t.length:"string"==typeof t&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+x.LINE_BREAK.length,t&&(t.path||t.readable&&b(t,"httpVersion")||t instanceof h)&&(n.knownLength||this._valuesToMeasure.push(t))},x.prototype._lengthRetriever=function(e,t){b(e,"fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):f.stat(e.path,function(n,r){if(n)t(n);else{var i=r.size-(e.start?e.start:0);t(null,i)}}):b(e,"httpVersion")?t(null,Number(e.headers["content-length"])):b(e,"httpModule")?(e.on("response",function(n){e.pause(),t(null,Number(n.headers["content-length"]))}),e.resume()):t("Unknown stream")},x.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&&E(s,n.header),s)if(b(s,c)){if(null==(r=s[c]))continue;Array.isArray(r)||(r=[r]),r.length&&(a+=c+": "+r.join("; ")+x.LINE_BREAK)}return"--"+this.getBoundary()+x.LINE_BREAK+a+x.LINE_BREAK},x.prototype._getContentDisposition=function(e,t){var r;if("string"==typeof t.filepath?r=n.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?r=n.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&b(e,"httpVersion")&&(r=n.basename(e.client._httpMessage.path||"")),r)return'filename="'+r+'"'},x.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e&&e.name&&(n=v.lookup(e.name)),!n&&e&&e.path&&(n=v.lookup(e.path)),!n&&e&&e.readable&&b(e,"httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=v.lookup(t.filepath||t.filename)),!n&&e&&"object"==typeof e&&(n=x.DEFAULT_CONTENT_TYPE),n},x.prototype._multiPartFooter=function(){return function(e){var t=x.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},x.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+x.LINE_BREAK},x.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)b(e,t)&&(n[t.toLowerCase()]=e[t]);return n},x.prototype.setBoundary=function(e){if("string"!=typeof e)throw new TypeError("FormData boundary must be a string");this._boundary=e},x.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},x.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(x.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},x.prototype._generateBoundary=function(){this._boundary="--------------------------"+g.randomBytes(12).toString("hex")},x.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},x.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},x.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?_.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))},x.prototype.submit=function(e,t){var n,r,o={method:"post"};return"string"==typeof e?(e=m(e),r=E({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},o)):(r=E(e,o)).port||(r.port="https:"===r.protocol?443:80),r.headers=this.getHeaders(e.headers),n="https:"===r.protocol?d.request(r):i.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},x.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},x.prototype.toString=function(){return"[object FormData]"},y(x,"FormData"),VR=x}(),RC=Kn(kC);function CC(e){return BT.isPlainObject(e)||BT.isArray(e)}function OC(e){return BT.endsWith(e,"[]")?e.slice(0,-2):e}function DC(e,t,n){return e?e.concat(t).map(function(e,t){return e=OC(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const PC=BT.toFlatObject(BT,{},null,function(e){return/^is[A-Z]/.test(e)});function FC(e,t,n){if(!BT.isObject(e))throw new TypeError("target must be an object");t=t||new(RC||FormData);const r=(n=BT.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!BT.isUndefined(t[e])})).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&BT.isSpecCompliantForm(t);if(!BT.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(BT.isDate(e))return e.toISOString();if(BT.isBoolean(e))return e.toString();if(!s&&BT.isBlob(e))throw new UT("Blob is not supported. Use a Buffer instead.");return BT.isArrayBuffer(e)||BT.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(BT.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(BT.isArray(e)&&function(e){return BT.isArray(e)&&!e.some(CC)}(e)||(BT.isFileList(e)||BT.endsWith(n,"[]"))&&(s=BT.toArray(e)))return n=OC(n),s.forEach(function(e,r){!BT.isUndefined(e)&&null!==e&&t.append(!0===a?DC([n],r,o):null===a?n:n+"[]",c(e))}),!1;return!!CC(e)||(t.append(DC(i,n,o),c(e)),!1)}const l=[],p=Object.assign(PC,{defaultVisitor:u,convertValue:c,isVisitable:CC});if(!BT.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!BT.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),BT.forEach(n,function(n,o){!0===(!(BT.isUndefined(n)||null===n)&&i.call(t,n,BT.isString(o)?o.trim():o,r,p))&&e(n,r?r.concat(o):[o])}),l.pop()}}(e),t}function IC(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function MC(e,t){this._pairs=[],e&&FC(e,this,t)}const NC=MC.prototype;function LC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function BC(e,t,n){if(!t)return e;const r=n&&n.encode||LC;BT.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(o=i?i(t,n):BT.isURLSearchParams(t)?t.toString():new MC(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}NC.append=function(e,t){this._pairs.push([e,t])},NC.toString=function(e){const t=e?function(t){return e.call(this,t,IC)}:IC;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class UC{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&&(this.handlers=[])}forEach(e){BT.forEach(this.handlers,function(t){null!==t&&e(t)})}}var GC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},zC=s.URLSearchParams;const VC="abcdefghijklmnopqrstuvwxyz",jC="0123456789",qC={DIGIT:jC,ALPHA:VC,ALPHA_DIGIT:VC+VC.toUpperCase()+jC};var HC={isNode:!0,classes:{URLSearchParams:zC,FormData:RC,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:qC,generateString:(e=16,t=qC.ALPHA_DIGIT)=>{let n="";const{length:i}=t,o=new Uint32Array(e);r.randomFillSync(o);for(let r=0;r<e;r++)n+=t[o[r]%i];return n},protocols:["http","https","file","data"]};const KC="undefined"!=typeof window&&"undefined"!=typeof document,$C="object"==typeof navigator&&navigator||void 0,WC=KC&&(!$C||["ReactNative","NativeScript","NS"].indexOf($C.product)<0),XC="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,YC=KC&&window.location.href||"http://localhost";var ZC={...Object.freeze({__proto__:null,hasBrowserEnv:KC,hasStandardBrowserEnv:WC,hasStandardBrowserWebWorkerEnv:XC,navigator:$C,origin:YC}),...HC};function QC(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;return o=!o&&BT.isArray(r)?r.length:o,s?(BT.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a):(r[o]&&BT.isObject(r[o])||(r[o]=[]),t(e,n,r[o],i)&&BT.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a)}if(BT.isFormData(e)&&BT.isFunction(e.entries)){const n={};return BT.forEachEntry(e,(e,r)=>{t(function(e){return BT.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const JC={transitional:GC,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=BT.isObject(e);if(i&&BT.isHTMLForm(e)&&(e=new FormData(e)),BT.isFormData(e))return r?JSON.stringify(QC(e)):e;if(BT.isArrayBuffer(e)||BT.isBuffer(e)||BT.isStream(e)||BT.isFile(e)||BT.isBlob(e)||BT.isReadableStream(e))return e;if(BT.isArrayBufferView(e))return e.buffer;if(BT.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return FC(e,new ZC.classes.URLSearchParams,{visitor:function(e,t,n,r){return ZC.isNode&&BT.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((o=BT.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return FC(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e){if(BT.isString(e))try{return(0,JSON.parse)(e),BT.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||JC.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(BT.isResponse(e)||BT.isReadableStream(e))return e;if(e&&BT.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw UT.from(e,UT.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ZC.classes.FormData,Blob:ZC.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};BT.forEach(["delete","get","head","post","put","patch"],e=>{JC.headers[e]={}});const eO=BT.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"]),tO=Symbol("internals");function nO(e){return e&&String(e).trim().toLowerCase()}function rO(e){return!1===e||null==e?e:BT.isArray(e)?e.map(rO):String(e)}function iO(e,t,n,r,i){return BT.isFunction(r)?r.call(this,t,n):(i&&(t=n),BT.isString(t)?BT.isString(r)?-1!==t.indexOf(r):BT.isRegExp(r)?r.test(t):void 0:void 0)}let oO=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=nO(t);if(!i)throw new Error("header name must be a non-empty string");const o=BT.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=rO(e))}const o=(e,t)=>BT.forEach(e,(e,n)=>i(e,n,t));if(BT.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(BT.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&eO[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(BT.isObject(e)&&BT.isIterable(e)){let n,r,i={};for(const t of e){if(!BT.isArray(t))throw TypeError("Object iterator must return a key-value pair");i[r=t[0]]=(n=i[r])?BT.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=nO(e)){const n=BT.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(BT.isFunction(t))return t.call(this,e,n);if(BT.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=nO(e)){const n=BT.findKey(this,e);return!(!n||void 0===this[n]||t&&!iO(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=nO(e)){const i=BT.findKey(n,e);!i||t&&!iO(0,n[i],i,t)||(delete n[i],r=!0)}}return BT.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!iO(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return BT.forEach(this,(r,i)=>{const o=BT.findKey(n,i);if(o)return t[o]=rO(r),void delete t[i];const 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]=rO(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return BT.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&BT.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){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[tO]=this[tO]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=nO(e);t[r]||(function(e,t){const n=BT.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 BT.isArray(e)?e.forEach(r):r(e),this}};function aO(e,t){const n=this||JC,r=t||n,i=oO.from(r.headers);let o=r.data;return BT.forEach(e,function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function sO(e){return!(!e||!e.__CANCEL__)}function cO(e,t,n){UT.call(this,null==e?"canceled":e,UT.ERR_CANCELED,t,n),this.name="CanceledError"}function uO(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new UT("Request failed with status code "+n.status,[UT.ERR_BAD_REQUEST,UT.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function lO(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}oO.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),BT.reduceDescriptors(oO.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),BT.freezeMethods(oO),BT.inherits(cO,UT,{__CANCEL__:!0});var pO,dO,mO,fO,hO,gO,vO={},_O=function(){if(pO)return vO;pO=1;var e=s.parse,t={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},n=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function r(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}return vO.getProxyForUrl=function(i){var o="string"==typeof i?e(i):i||{},a=o.protocol,s=o.host,c=o.port;if("string"!=typeof s||!s||"string"!=typeof a)return"";if(a=a.split(":",1)[0],!function(e,t){var i=(r("npm_config_no_proxy")||r("no_proxy")).toLowerCase();return!i||"*"!==i&&i.split(/[,\s]/).every(function(r){if(!r)return!0;var i=r.match(/^(.+):(\d+)$/),o=i?i[1]:r,a=i?parseInt(i[2]):0;return!(!a||a===t)||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!n.call(e,o)):e!==o)})}(s=s.replace(/:\d*$/,""),c=parseInt(c)||t[a]||0))return"";var u=r("npm_config_"+a+"_proxy")||r(a+"_proxy")||r("npm_config_proxy")||r("all_proxy");return u&&-1===u.indexOf("://")&&(u=a+"://"+u),u},vO}(),yO=Kn(_O),bO={exports:{}},EO={exports:{}},xO={exports:{}};function wO(){return hO||(hO=1,fO=function(e){function t(e){let r,i,o,a=null;function s(...e){if(!s.enabled)return;const n=s,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";a++;const o=t.formatters[i];if("function"==typeof o){const t=e[a];r=o.call(n,t),e.splice(a,1),a--}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?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const 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(){const 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=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(r(e,n))return!1;for(const n of t.names)if(r(e,n))return!0;return!1},t.humanize=function(){if(mO)return dO;mO=1;var e=1e3,t=60*e,n=60*t,r=24*n,i=7*r;function o(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}return dO=function(a,s){s=s||{};var c=typeof a;if("string"===c&&a.length>0)return function(o){if(!((o=String(o)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(a){var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*i;case"days":case"day":case"d":return s*r;case"hours":case"hour":case"hrs":case"hr":case"h":return s*n;case"minutes":case"minute":case"mins":case"min":case"m":return s*t;case"seconds":case"second":case"secs":case"sec":case"s":return s*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(a);if("number"===c&&isFinite(a))return s.long?function(i){var a=Math.abs(i);return a>=r?o(i,a,r,"day"):a>=n?o(i,a,n,"hour"):a>=t?o(i,a,t,"minute"):a>=e?o(i,a,e,"second"):i+" ms"}(a):function(i){var o=Math.abs(i);return o>=r?Math.round(i/r)+"d":o>=n?Math.round(i/n)+"h":o>=t?Math.round(i/t)+"m":o>=e?Math.round(i/e)+"s":i+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))},dO}(),t.destroy=function(){},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}),fO}var AO,SO,TO,kO,RO,CO,OO,DO,PO,FO={exports:{}};function IO(){return SO?AO:(SO=1,AO=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)})}function MO(){return CO||(CO=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?EO.exports=(gO||(gO=1,function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0)}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=wO()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(xO,xO.exports)),xO.exports):EO.exports=(RO||(RO=1,function(e,t){const n=f,r=l;t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let r=0;r<n.length;r++)e.inspectOpts[n[r]]=t.inspectOpts[n[r]]},t.log=function(...e){return process.stderr.write(r.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:r,useColors:i}=this;if(i){const t=this.color,i="[3"+(t<8?t:"8;5;"+t),o=`  ${i};1m${r} `;n[0]=o+n[0].split("\n").join("\n"+o),n.push(i+"m+"+e.exports.humanize(this.diff)+"")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+r+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.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`."),t.colors=[6,2,3,4,5,1];try{const e=function(){if(kO)return TO;kO=1;const e=h,t=f,n=IO(),{env:r}=process;let i;function o(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function a(t,o){if(0===i)return 0;if(n("color=16m")||n("color=full")||n("color=truecolor"))return 3;if(n("color=256"))return 2;if(t&&!o&&void 0===i)return 0;const a=i||0;if("dumb"===r.TERM)return a;if("win32"===process.platform){const t=e.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in r)||"codeship"===r.CI_NAME?1:a;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){const e=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:a}return n("no-color")||n("no-colors")||n("color=false")||n("color=never")?i=0:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(i=1),"FORCE_COLOR"in r&&(i="true"===r.FORCE_COLOR?1:"false"===r.FORCE_COLOR?0:0===r.FORCE_COLOR.length?1:Math.min(parseInt(r.FORCE_COLOR,10),3)),TO={supportsColor:function(e){return o(a(e,e&&e.isTTY))},stdout:o(a(!0,t.isatty(1))),stderr:o(a(!0,t.isatty(2)))},TO}();e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase());let 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},{}),e.exports=wO()(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}}(FO,FO.exports)),FO.exports)),EO.exports}var NO=function(){if(PO)return bO.exports;PO=1;var e=s,t=e.URL,n=o,r=a,i=p.Writable,c=m,u=function(){return DO||(DO=1,OO=function(){if(!e){try{e=MO()("follow-redirects")}catch(e){}"function"!=typeof e&&(e=function(){})}e.apply(null,arguments)}),OO;var e}();P(Error.captureStackTrace);var l=!1;try{c(new t(""))}catch(e){l="ERR_INVALID_URL"===e.code}var d=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],f=["abort","aborted","connect","error","socket","timeout"],h=Object.create(null);f.forEach(function(e){h[e]=function(t,n,r){this._redirectable.emit(e,t,n,r)}});var g=C("ERR_INVALID_URL","Invalid URL",TypeError),v=C("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),_=C("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",v),y=C("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),b=C("ERR_STREAM_WRITE_AFTER_END","write after end"),E=i.prototype.destroy||A;function x(e,t){i.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 v?e:new v({cause:e}))}},this._performRequest()}function w(e){var n={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(i){var o=i+":",a=r[o]=e[i],s=n[i]=Object.create(a);Object.defineProperties(s,{request:{value:function(e,i,a){return t&&e instanceof t?e=k(e):D(e)?e=k(S(e)):(a=i,i=T(e),e={protocol:o}),P(i)&&(a=i,i=null),(i=Object.assign({maxRedirects:n.maxRedirects,maxBodyLength:n.maxBodyLength},e,i)).nativeProtocols=r,D(i.host)||D(i.hostname)||(i.hostname="::1"),c.equal(i.protocol,o,"protocol mismatch"),u("options",i),new x(i,a)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var r=s.request(e,t,n);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})}),n}function A(){}function S(n){var r;if(l)r=new t(n);else if(!D((r=T(e.parse(n))).protocol))throw new g({input:n});return r}function T(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new g({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new g({input:e.href||e});return e}function k(e,t){var n=t||{};for(var r of d)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 R(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 C(e,t,n){function r(n){P(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 O(e,t){for(var n of f)e.removeListener(n,h[n]);e.on("error",A),e.destroy(t)}function D(e){return"string"==typeof e||e instanceof String}function P(e){return"function"==typeof e}return x.prototype=Object.create(i.prototype),x.prototype.abort=function(){O(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},x.prototype.destroy=function(e){return O(this._currentRequest,e),E.call(this,e),this},x.prototype.write=function(e,t,n){if(this._ending)throw new b;if(!(D(e)||"object"==typeof(r=e)&&"length"in r))throw new TypeError("data should be a string, Buffer or Uint8Array");var r;P(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 y),this.abort()):n&&n()},x.prototype.end=function(e,t,n){if(P(e)?(n=e,e=t=null):P(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)},x.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},x.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},x.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),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){x.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}}),["aborted","connection","socket"].forEach(function(e){Object.defineProperty(x.prototype,e,{get:function(){return this._currentRequest[e]}})}),x.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(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))}},x.prototype._performRequest=function(){var t=this._options.protocol,n=this._options.nativeProtocols[t];if(!n)throw new TypeError("Unsupported protocol "+t);if(this._options.agents){var r=t.slice(0,-1);this._options.agent=this._options.agents[r]}var i=this._currentRequest=n.request(this._options,this._onNativeResponse);for(var o of(i._redirectable=this,f))i.on(o,h[o]);if(this._currentUrl=/^\//.test(this._options.path)?e.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()}()}},x.prototype._processResponse=function(n){var r=n.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:n.headers,statusCode:r});var i,o=n.headers.location;if(!o||!1===this._options.followRedirects||r<300||r>=400)return n.responseUrl=this._currentUrl,n.redirects=this._redirects,this.emit("response",n),void(this._requestBodyBuffers=[]);if(O(this._currentRequest),n.destroy(),++this._redirectCount>this._options.maxRedirects)throw new _;var a=this._options.beforeRedirect;a&&(i=Object.assign({Host:n.req.getHeader("host")},this._options.headers));var s=this._options.method;((301===r||302===r)&&"POST"===this._options.method||303===r&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],R(/^content-/i,this._options.headers));var p,d,m=R(/^host$/i,this._options.headers),f=S(this._currentUrl),h=m||f.host,g=/^\w+:/.test(o)?this._currentUrl:e.format(Object.assign(f,{host:h})),v=(p=o,d=g,l?new t(p,d):S(e.resolve(d,p)));if(u("redirecting to",v.href),this._isRedirect=!0,k(v,this._options),(v.protocol!==f.protocol&&"https:"!==v.protocol||v.host!==h&&!function(e,t){c(D(e)&&D(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(v.host,h))&&R(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),P(a)){var y={headers:n.headers,statusCode:r},b={url:g,method:s,headers:i};a(this._options,y,b),this._sanitizeOptions(this._options)}this._performRequest()},bO.exports=w({http:n,https:r}),bO.exports.wrap=w,bO.exports}(),LO=Kn(NO);const BO="1.11.0";function UO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const GO=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/,zO=Symbol("internals");class VO extends p.Transform{constructor(e){super({readableHighWaterMark:(e=BT.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(e,t)=>!BT.isUndefined(t[e]))).chunkSize});const t=this[zO]={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||(t.isCaptured=!0))})}_read(e){const t=this[zO];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const r=this[zO],i=r.maxRate,o=this.readableHighWaterMark,a=r.timeWindow,s=i/(1e3/a),c=!1!==r.minChunkSize?Math.max(r.minChunkSize,.01*s):0,u=(e,t)=>{const 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)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,p=null,d=o,m=0;if(i){const e=Date.now();(!r.ts||(m=e-r.ts)>=a)&&(r.ts=e,l=s-r.bytes,r.bytes=l<0?-l:0,m=0),l=s-r.bytes}if(i){if(l<=0)return setTimeout(()=>{t(null,e)},a-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(p=e.subarray(d),e=e.subarray(0,d)),u(e,p?()=>{process.nextTick(t,null,p)}:t)};l(e,function e(t,r){if(t)return n(t);r?l(r,e):n(null)})}}const{asyncIterator:jO}=Symbol,qO=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[jO]?yield*e[jO]():yield e},HO=ZC.ALPHABET.ALPHA_DIGIT+"-_",KO="function"==typeof TextEncoder?new TextEncoder:new l.TextEncoder,$O="\r\n",WO=KO.encode($O);class XO{constructor(e,t){const{escapeName:n}=this.constructor,r=BT.isString(t);let i=`Content-Disposition: form-data; name="${n(e)}"${!r&&t.name?`; filename="${n(t.name)}"`:""}${$O}`;r?t=KO.encode(String(t).replace(/\r?\n|\r\n?/g,$O)):i+=`Content-Type: ${t.type||"application/octet-stream"}${$O}`,this.headers=KO.encode(i+$O),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;const{value:e}=this;BT.isTypedArray(e)?yield e:yield*qO(e),yield WO}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e]))}}class YO extends p.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}const ZO=(e,t)=>BT.isAsyncFn(e)?function(...n){const r=n.pop();e.apply(this,n).then(e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}},r)}:e,QO=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=r[a];i||(i=c),n[o]=s,r[o]=c;let l=a,p=0;for(;l!==o;)p+=n[l++],l%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i<t)return;const d=u&&c-u;return d?Math.round(1e3*p/d):void 0}}(50,250);return function(n,o){let a,s,c=0,u=1e3/o;const l=(n,o=Date.now())=>{c=o,a=null,s&&(clearTimeout(s),s=null),(n=>{const 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)};return[(...e)=>{const t=Date.now(),n=t-c;n>=u?l(e,t):(a=e,s||(s=setTimeout(()=>{s=null,l(a)},u-n)))},()=>a&&l(a)]}(0,n)},JO=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},eD=e=>(...t)=>BT.asap(()=>e(...t)),tD={flush:g.constants.Z_SYNC_FLUSH,finishFlush:g.constants.Z_SYNC_FLUSH},nD={flush:g.constants.BROTLI_OPERATION_FLUSH,finishFlush:g.constants.BROTLI_OPERATION_FLUSH},rD=BT.isFunction(g.createBrotliDecompress),{http:iD,https:oD}=LO,aD=/https:?/,sD=ZC.protocols.map(e=>e+":"),cD=(e,[t,n])=>(e.on("end",n).on("error",n),t);function uD(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function lD(e,t,n){let r=t;if(!r&&!1!==r){const e=yO.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||""));const t=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=r.hostname||r.host;e.hostname=t,e.host=t,e.port=r.port,e.path=n,r.protocol&&(e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`)}e.beforeRedirects.proxy=function(e){lD(e,t,e.href)}}const pD="undefined"!=typeof process&&"process"===BT.kindOf(process),dD=(e,t)=>(({address:e,family:t})=>{if(!BT.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(BT.isObject(e)?e:{address:e,family:t});var mD=pD&&function(e){return t=async function(t,r,i){let{data:s,lookup:c,family:u}=e;const{responseType:m,responseEncoding:f}=e,h=e.method.toUpperCase();let v,_,y=!1;if(c){const e=ZO(c,e=>BT.isArray(e)?e:[e]);c=(t,n,r)=>{e(t,n,(e,t,i)=>{if(e)return r(e);const o=BT.isArray(t)?t.map(e=>dD(e)):[dD(t,i)];n.all?r(e,o):r(e,o[0].address,o[0].family)})}}const b=new n,E=()=>{e.cancelToken&&e.cancelToken.unsubscribe(x),e.signal&&e.signal.removeEventListener("abort",x),b.removeAllListeners()};function x(t){b.emit("abort",!t||t.type?new cO(null,e,_):t)}i((e,t)=>{v=!0,t&&(y=!0,E())}),b.once("abort",r),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(x),e.signal&&(e.signal.aborted?x():e.signal.addEventListener("abort",x)));const w=lO(e.baseURL,e.url,e.allowAbsoluteUrls),A=new URL(w,ZC.hasBrowserEnv?ZC.origin:void 0),S=A.protocol||sD[0];if("data:"===S){let n;if("GET"!==h)return uO(t,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{n=function(e,t,n){const r=n&&n.Blob||ZC.classes.Blob,i=UO(e);if(void 0===t&&r&&(t=!0),"data"===i){e=i.length?e.slice(i.length+1):e;const n=GO.exec(e);if(!n)throw new UT("Invalid URL",UT.ERR_INVALID_URL);const o=n[1],a=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),a?"base64":"utf8");if(t){if(!r)throw new UT("Blob is not supported",UT.ERR_NOT_SUPPORT);return new r([c],{type:o})}return c}throw new UT("Unsupported protocol "+i,UT.ERR_NOT_SUPPORT)}(e.url,"blob"===m,{Blob:e.env&&e.env.Blob})}catch(t){throw UT.from(t,UT.ERR_BAD_REQUEST,e)}return"text"===m?(n=n.toString(f),f&&"utf8"!==f||(n=BT.stripBOM(n))):"stream"===m&&(n=p.Readable.from(n)),uO(t,r,{data:n,status:200,statusText:"OK",headers:new oO,config:e})}if(-1===sD.indexOf(S))return r(new UT("Unsupported protocol "+S,UT.ERR_BAD_REQUEST,e));const T=oO.from(e.headers).normalize();T.set("User-Agent","axios/"+BO,!1);const{onUploadProgress:k,onDownloadProgress:R}=e,C=e.maxRate;let O,D;if(BT.isSpecCompliantForm(s)){const e=T.getContentType(/boundary=([-_\w\d]{10,70})/i);s=((e,t,n)=>{const{tag:r="form-data-boundary",size:i=25,boundary:o=r+"-"+ZC.generateString(i,HO)}=n||{};if(!BT.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 10-70 characters long");const a=KO.encode("--"+o+$O),s=KO.encode("--"+o+"--"+$O);let c=s.byteLength;const u=Array.from(e.entries()).map(([e,t])=>{const n=new XO(e,t);return c+=n.size,n});c+=a.byteLength*u.length,c=BT.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${o}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),d.from(async function*(){for(const e of u)yield a,yield*e.encode();yield s}())})(s,e=>{T.set(e)},{tag:`axios-${BO}-boundary`,boundary:e&&e[1]||void 0})}else if(BT.isFormData(s)&&BT.isFunction(s.getHeaders)){if(T.set(s.getHeaders()),!T.hasContentLength())try{const e=await l.promisify(s.getLength).call(s);Number.isFinite(e)&&e>=0&&T.setContentLength(e)}catch(e){}}else if(BT.isBlob(s)||BT.isFile(s))s.size&&T.setContentType(s.type||"application/octet-stream"),T.setContentLength(s.size||0),s=p.Readable.from(qO(s));else if(s&&!BT.isStream(s)){if(Buffer.isBuffer(s));else if(BT.isArrayBuffer(s))s=Buffer.from(new Uint8Array(s));else{if(!BT.isString(s))return r(new UT("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",UT.ERR_BAD_REQUEST,e));s=Buffer.from(s,"utf-8")}if(T.setContentLength(s.length,!1),e.maxBodyLength>-1&&s.length>e.maxBodyLength)return r(new UT("Request body larger than maxBodyLength limit",UT.ERR_BAD_REQUEST,e))}const P=BT.toFiniteNumber(T.getContentLength());let F,I;BT.isArray(C)?(O=C[0],D=C[1]):O=D=C,s&&(k||O)&&(BT.isStream(s)||(s=p.Readable.from(s,{objectMode:!1})),s=p.pipeline([s,new VO({maxRate:BT.toFiniteNumber(O)})],BT.noop),k&&s.on("progress",cD(s,JO(P,QO(eD(k),!1,3))))),e.auth&&(F=(e.auth.username||"")+":"+(e.auth.password||"")),!F&&A.username&&(F=A.username+":"+A.password),F&&T.delete("authorization");try{I=BC(A.pathname+A.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const n=new Error(t.message);return n.config=e,n.url=e.url,n.exists=!0,r(n)}T.set("Accept-Encoding","gzip, compress, deflate"+(rD?", br":""),!1);const M={path:I,method:h,headers:T.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:F,protocol:S,family:u,beforeRedirect:uD,beforeRedirects:{}};let N;!BT.isUndefined(c)&&(M.lookup=c),e.socketPath?M.socketPath=e.socketPath:(M.hostname=A.hostname.startsWith("[")?A.hostname.slice(1,-1):A.hostname,M.port=A.port,lD(M,e.proxy,S+"//"+A.hostname+(A.port?":"+A.port:"")+M.path));const L=aD.test(M.protocol);if(M.agent=L?e.httpsAgent:e.httpAgent,e.transport?N=e.transport:0===e.maxRedirects?N=L?a:o:(e.maxRedirects&&(M.maxRedirects=e.maxRedirects),e.beforeRedirect&&(M.beforeRedirects.config=e.beforeRedirect),N=L?oD:iD),e.maxBodyLength>-1?M.maxBodyLength=e.maxBodyLength:M.maxBodyLength=1/0,e.insecureHTTPParser&&(M.insecureHTTPParser=e.insecureHTTPParser),_=N.request(M,function(n){if(_.destroyed)return;const i=[n],o=+n.headers["content-length"];if(R||D){const e=new VO({maxRate:BT.toFiniteNumber(D)});R&&e.on("progress",cD(e,JO(o,QO(eD(R),!0,3)))),i.push(e)}let a=n;const s=n.req||_;if(!1!==e.decompress&&n.headers["content-encoding"])switch("HEAD"!==h&&204!==n.statusCode||delete n.headers["content-encoding"],(n.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":i.push(g.createUnzip(tD)),delete n.headers["content-encoding"];break;case"deflate":i.push(new YO),i.push(g.createUnzip(tD)),delete n.headers["content-encoding"];break;case"br":rD&&(i.push(g.createBrotliDecompress(nD)),delete n.headers["content-encoding"])}a=i.length>1?p.pipeline(i,BT.noop):i[0];const c=p.finished(a,()=>{c(),E()}),u={status:n.statusCode,statusText:n.statusMessage,headers:new oO(n.headers),config:e,request:s};if("stream"===m)u.data=a,uO(t,r,u);else{const n=[];let i=0;a.on("data",function(t){n.push(t),i+=t.length,e.maxContentLength>-1&&i>e.maxContentLength&&(y=!0,a.destroy(),r(new UT("maxContentLength size of "+e.maxContentLength+" exceeded",UT.ERR_BAD_RESPONSE,e,s)))}),a.on("aborted",function(){if(y)return;const t=new UT("stream has been aborted",UT.ERR_BAD_RESPONSE,e,s);a.destroy(t),r(t)}),a.on("error",function(t){_.destroyed||r(UT.from(t,null,e,s))}),a.on("end",function(){try{let e=1===n.length?n[0]:Buffer.concat(n);"arraybuffer"!==m&&(e=e.toString(f),f&&"utf8"!==f||(e=BT.stripBOM(e))),u.data=e}catch(t){return r(UT.from(t,null,e,u.request,u))}uO(t,r,u)})}b.once("abort",e=>{a.destroyed||(a.emit("error",e),a.destroy())})}),b.once("abort",e=>{r(e),_.destroy(e)}),_.on("error",function(t){r(UT.from(t,null,e,_))}),_.on("socket",function(e){e.setKeepAlive(!0,6e4)}),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void r(new UT("error trying to parse `config.timeout` to int",UT.ERR_BAD_OPTION_VALUE,e,_));_.setTimeout(t,function(){if(v)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||GC;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new UT(t,n.clarifyTimeoutError?UT.ETIMEDOUT:UT.ECONNABORTED,e,_)),x()})}if(BT.isStream(s)){let t=!1,n=!1;s.on("end",()=>{t=!0}),s.once("error",e=>{n=!0,_.destroy(e)}),s.on("close",()=>{t||n||x(new cO("Request stream has been aborted",e,_))}),s.pipe(_)}else _.end(s)},new Promise((e,n)=>{let r,i;const o=(e,t)=>{i||(i=!0,r&&r(e,t))},a=e=>{o(e,!0),n(e)};t(t=>{o(t),e(t)},a,e=>r=e).catch(a)});var t},fD=ZC.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ZC.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ZC.origin),ZC.navigator&&/(msie|trident)/i.test(ZC.navigator.userAgent)):()=>!0,hD=ZC.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];BT.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),BT.isString(r)&&a.push("path="+r),BT.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};const gD=e=>e instanceof oO?{...e}:e;function vD(e,t){t=t||{};const n={};function r(e,t,n,r){return BT.isPlainObject(e)&&BT.isPlainObject(t)?BT.merge.call({caseless:r},e,t):BT.isPlainObject(t)?BT.merge({},t):BT.isArray(t)?t.slice():t}function i(e,t,n,i){return BT.isUndefined(t)?BT.isUndefined(e)?void 0:r(void 0,e,0,i):r(e,t,0,i)}function o(e,t){if(!BT.isUndefined(t))return r(void 0,t)}function a(e,t){return BT.isUndefined(t)?BT.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}const 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(gD(e),gD(t),0,!0)};return BT.forEach(Object.keys({...e,...t}),function(r){const o=c[r]||i,a=o(e[r],t[r],r);BT.isUndefined(a)&&o!==s||(n[r]=a)}),n}var _D=e=>{const t=vD({},e);let n,{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:c}=t;if(t.headers=s=oO.from(s),t.url=BC(lO(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),BT.isFormData(r))if(ZC.hasStandardBrowserEnv||ZC.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(ZC.hasStandardBrowserEnv&&(i&&BT.isFunction(i)&&(i=i(t)),i||!1!==i&&fD(t.url))){const e=o&&a&&hD.read(a);e&&s.set(o,e)}return t},yD="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=_D(e);let i=r.data;const o=oO.from(r.headers).normalize();let a,s,c,u,l,{responseType:p,onUploadProgress:d,onDownloadProgress:m}=r;function f(){u&&u(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let h=new XMLHttpRequest;function g(){if(!h)return;const r=oO.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());uO(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(r.method.toUpperCase(),r.url,!0),h.timeout=r.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 UT("Request aborted",UT.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new UT("Network Error",UT.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||GC;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new UT(t,i.clarifyTimeoutError?UT.ETIMEDOUT:UT.ECONNABORTED,e,h)),h=null},void 0===i&&o.setContentType(null),"setRequestHeader"in h&&BT.forEach(o.toJSON(),function(e,t){h.setRequestHeader(t,e)}),BT.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),p&&"json"!==p&&(h.responseType=r.responseType),m&&([c,l]=QO(m,!0),h.addEventListener("progress",c)),d&&h.upload&&([s,u]=QO(d),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{h&&(n(!t||t.type?new cO(null,e,h):t),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=UO(r.url);v&&-1===ZC.protocols.indexOf(v)?n(new UT("Unsupported protocol "+v+":",UT.ERR_BAD_REQUEST,e)):h.send(i||null)})};const bD=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const i=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof UT?t:new cO(t instanceof Error?t.message:t))}};let o=t&&setTimeout(()=>{o=null,i(new UT(`timeout ${t} of ms exceeded`,UT.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));const{signal:s}=r;return s.unsubscribe=()=>BT.asap(a),s}},ED=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},xD=(e,t,n,r)=>{const i=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*ED(n,t)}(e,t);let o,a=0,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return s(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},wD="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,AD=wD&&"function"==typeof ReadableStream,SD=wD&&("function"==typeof TextEncoder?(TD=new TextEncoder,e=>TD.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var TD;const kD=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},RD=AD&&kD(()=>{let e=!1;const t=new Request(ZC.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),CD=AD&&kD(()=>BT.isReadableStream(new Response("").body)),OD={stream:CD&&(e=>e.body)};var DD;wD&&(DD=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!OD[e]&&(OD[e]=BT.isFunction(DD[e])?t=>t[e]():(t,n)=>{throw new UT(`Response type '${e}' is not supported`,UT.ERR_NOT_SUPPORT,n)})}));var PD=wD&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:l,withCredentials:p="same-origin",fetchOptions:d}=_D(e);u=u?(u+"").toLowerCase():"text";let m,f=bD([i,o&&o.toAbortSignal()],a);const h=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let g;try{if(c&&RD&&"get"!==n&&"head"!==n&&0!==(g=await(async(e,t)=>{const n=BT.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(BT.isBlob(e))return e.size;if(BT.isSpecCompliantForm(e)){const t=new Request(ZC.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return BT.isArrayBufferView(e)||BT.isArrayBuffer(e)?e.byteLength:(BT.isURLSearchParams(e)&&(e+=""),BT.isString(e)?(await SD(e)).byteLength:void 0)})(t):n})(l,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(BT.isFormData(r)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=JO(g,QO(eD(c)));r=xD(n.body,65536,e,t)}}BT.isString(p)||(p=p?"include":"omit");const i="credentials"in Request.prototype;m=new Request(t,{...d,signal:f,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:i?p:void 0});let o=await fetch(m,d);const a=CD&&("stream"===u||"response"===u);if(CD&&(s||a&&h)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=o[t]});const t=BT.toFiniteNumber(o.headers.get("content-length")),[n,r]=s&&JO(t,QO(eD(s),!0))||[];o=new Response(xD(o.body,65536,n,()=>{r&&r(),h&&h()}),e)}u=u||"text";let v=await OD[BT.findKey(OD,u)||"text"](o,e);return!a&&h&&h(),await new Promise((t,n)=>{uO(t,n,{data:v,headers:oO.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:m})})}catch(t){if(h&&h(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new UT("Network Error",UT.ERR_NETWORK,e,m),{cause:t.cause||t});throw UT.from(t,t&&t.code,e,m)}});const FD={http:mD,xhr:yD,fetch:PD};BT.forEach(FD,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const ID=e=>`- ${e}`,MD=e=>BT.isFunction(e)||null===e||!1===e;var ND=e=>{e=BT.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!MD(n)&&(r=FD[(t=String(n)).toLowerCase()],void 0===r))throw new UT(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new UT("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(ID).join("\n"):" "+ID(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function LD(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new cO(null,e)}function BD(e){return LD(e),e.headers=oO.from(e.headers),e.data=aO.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ND(e.adapter||JC.adapter)(e).then(function(t){return LD(e),t.data=aO.call(e,e.transformResponse,t),t.headers=oO.from(t.headers),t},function(t){return sO(t)||(LD(e),t&&t.response&&(t.response.data=aO.call(e,e.transformResponse,t.response),t.response.headers=oO.from(t.response.headers))),Promise.reject(t)})}const UD={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{UD[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const GD={};UD.transitional=function(e,t,n){return(r,i,o)=>{if(!1===e)throw new UT(function(e,t){return"[Axios v"+BO+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}(i," has been removed"+(t?" in "+t:"")),UT.ERR_DEPRECATED);return t&&!GD[i]&&(GD[i]=!0),!e||e(r,i,o)}},UD.spelling=function(e){return(e,t)=>!0};var zD={assertOptions:function(e,t,n){if("object"!=typeof e)throw new UT("options must be an object",UT.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new UT("option "+o+" must be "+n,UT.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new UT("Unknown option "+o,UT.ERR_BAD_OPTION)}},validators:UD};const VD=zD.validators;let jD=class{constructor(e){this.defaults=e||{},this.interceptors={request:new UC,response:new UC}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const 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(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=vD(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&zD.assertOptions(n,{silentJSONParsing:VD.transitional(VD.boolean),forcedJSONParsing:VD.transitional(VD.boolean),clarifyTimeoutError:VD.transitional(VD.boolean)},!1),null!=r&&(BT.isFunction(r)?t.paramsSerializer={serialize:r}:zD.assertOptions(r,{encode:VD.function,serialize:VD.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),zD.assertOptions(t,{baseUrl:VD.spelling("baseURL"),withXsrfToken:VD.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&BT.merge(i.common,i[t.method]);i&&BT.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=oO.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))});const c=[];let u;this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,p=0;if(!s){const e=[BD.bind(this),void 0];for(e.unshift(...a),e.push(...c),l=e.length,u=Promise.resolve(t);p<l;)u=u.then(e[p++],e[p++]);return u}l=a.length;let d=t;for(p=0;p<l;){const e=a[p++],t=a[p++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=BD.call(this,d)}catch(e){return Promise.reject(e)}for(p=0,l=c.length;p<l;)u=u.then(c[p++],c[p++]);return u}getUri(e){return BC(lO((e=vD(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};BT.forEach(["delete","get","head","options"],function(e){jD.prototype[e]=function(t,n){return this.request(vD(n||{},{method:e,url:t,data:(n||{}).data}))}}),BT.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(vD(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}jD.prototype[e]=t(),jD.prototype[e+"Form"]=t(!0)});const qD={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qD).forEach(([e,t])=>{qD[t]=e});const HD=function e(t){const n=new jD(t),r=ZS(jD.prototype.request,n);return BT.extend(r,jD.prototype,n,{allOwnKeys:!0}),BT.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(vD(t,n))},r}(JC);HD.Axios=jD,HD.CanceledError=cO,HD.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const 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;const 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 cO(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;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const 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}}},HD.isCancel=sO,HD.VERSION=BO,HD.toFormData=FC,HD.AxiosError=UT,HD.Cancel=HD.CanceledError,HD.all=function(e){return Promise.all(e)},HD.spread=function(e){return function(t){return e.apply(null,t)}},HD.isAxiosError=function(e){return BT.isObject(e)&&!0===e.isAxiosError},HD.mergeConfig=vD,HD.AxiosHeaders=oO,HD.formToJSON=e=>QC(BT.isHTMLForm(e)?new FormData(e):e),HD.getAdapter=ND,HD.HttpStatusCode=qD,HD.default=HD;const{Axios:KD,AxiosError:$D,CanceledError:WD,isCancel:XD,CancelToken:YD,VERSION:ZD,all:QD,Cancel:JD,isAxiosError:eP,spread:tP,toFormData:nP,AxiosHeaders:rP,HttpStatusCode:iP,formToJSON:oP,getAdapter:aP,mergeConfig:sP}=HD;class cP{commandType;args=[];constructor(e){this.commandType=e}addQuery(e){if(e.queryTerms&&e.queryTerms.length>0){const t=[],n=e.queryTerms.map(e=>/[()[\]{}*?^$|.\\+]/.test(e)?`"${e}"`:e);if(t.push(...n),e.orTerms&&e.orTerms.length>0){const n=e.orTerms.map(e=>/[()[\]{}*?^$|.\\+]/.test(e)?`"${e}"`:e);if(1===n.length)"string"==typeof n[0]&&t.push(n[0]);else{const e=`(${n.join(" OR ")})`;t.push(e)}}t.length>0&&this.args.push(t.join(" "))}else if(e.orTerms&&e.orTerms.length>0){const t=e.orTerms.map(e=>/[()[\]{}*?^$|.\\+]/.test(e)?`"${e}"`:e);if(1===t.length)"string"==typeof t[0]&&this.args.push(t[0]);else{const e=`(${t.join(" OR ")})`;this.args.push(e)}}return this}addFlag(e,t){return null==t||this.args.push(`--${e}=${t}`),this}addFlagWithSeparateValue(e,t){return this.args.push("--"+e,t.toString()),this}addOwnerRepo(e){return e.repo?this.normalizeArrayParam(e.repo).forEach(t=>{e.owner&&!t.includes("/")?this.normalizeArrayParam(e.owner).forEach(e=>{this.addFlag("repo",`${e}/${t}`)}):this.addFlag("repo",t)}):e.owner&&this.normalizeArrayParam(e.owner).forEach(e=>{this.addFlag("owner",e)}),this}normalizeArrayParam(e){if(Array.isArray(e))return e.filter(e=>"string"==typeof e&&this.isValidArrayItem(e));if("string"==typeof e){try{const t=JSON.parse(e);if(Array.isArray(t))return t.filter(e=>"string"==typeof e&&this.isValidArrayItem(e))}catch{}let t;return t=e.includes(", ")?e.split(", "):e.includes(",")?e.split(","):[e],t.map(e=>e.trim().replace(/^["']|["']$/g,"")).filter(e=>e.length>0&&this.isValidArrayItem(e))}return[String(e)].filter(e=>this.isValidArrayItem(e))}isValidArrayItem(e){return!(e.includes(";")||e.includes("|")||e.includes("&")||e.startsWith("-")&&e.length>1||/[`$\\<>]/.test(e))}addFlags(e,t){for(const[n,r]of Object.entries(t)){const t=e[n];null!=t&&this.addFlag(r,t)}return this}addConditionalFlags(e,t){return t.forEach(t=>{e[t]&&this.args.push(`--${t}`)}),this}addJsonOutput(e){return e?this.addFlag("json",e):this.args.push("--json"),this}addLimit(e,t){const n=e||t;return n&&this.addFlag("limit",n),this}getArgs(){return this.args}reset(){return this.args=[],this}}class uP extends cP{constructor(){super("npm")}addSearchLimit(e){return e&&this.addFlag("searchlimit",e),this}addNpmJsonOutput(){return this.args.push("--json"),this}}class lP extends uP{initializeCommand(){return this.args=[],this}build(e){const t=this.reset().initializeCommand();if(e.queryTerms&&Array.isArray(e.queryTerms)&&e.queryTerms.length>0){const t=e.queryTerms.join(" ");this.args.push(t)}else e.query&&"string"==typeof e.query&&this.args.push(e.query);return t.addSearchLimit(e.searchLimit||20).addNpmJsonOutput().getArgs()}}class pP extends uP{initializeCommand(){return this.args=[],this}build(e){const t=this.reset().initializeCommand();return void 0!==e.packageName&&this.args.push(e.packageName),e.field&&"string"==typeof e.field?this.args.push(e.field):e.match&&(Array.isArray(e.match)?e.match.forEach(e=>this.args.push(e)):"string"==typeof e.match&&this.args.push(e.match)),t.addNpmJsonOutput().getArgs()}}let dP=null;const mP=100;async function fP(e){try{const t=await async function(){if(null!==dP)return dP;try{const e=await async function(){let e=!1,t="";try{if(!(await ec("whoami",[],{timeout:5e3})).isError){e=!0;const n=await ec("config",["get","registry"],{timeout:3e3});if(n.isError||"text"!==n.content?.[0]?.type)t="https://registry.npmjs.org/";else{const e=n.content[0].text;try{const n=JSON.parse(e),r=n.data||n;t="string"==typeof r?r.trim():"https://registry.npmjs.org/"}catch{t=e.trim()||"https://registry.npmjs.org/"}}}}catch(t){e=!1}return{npmConnected:e,registry:t}}();return dP=e.npmConnected,dP}catch(e){return dP=!1,!1}}();let n=t&&e.npmPackages||[],r=e.pythonPackages||[];const i={searchLimit:e.searchLimit||1,npmSearchStrategy:e.npmSearchStrategy||"individual",npmFetchMetadata:e.npmFetchMetadata||!1};if(t&&(n=n.map(e=>({...e,searchLimit:e.searchLimit??i.searchLimit,npmSearchStrategy:e.npmSearchStrategy??i.npmSearchStrategy,npmFetchMetadata:e.npmFetchMetadata??i.npmFetchMetadata}))),r=r.map(e=>({...e,searchLimit:e.searchLimit??i.searchLimit})),0===n.length&&0===r.length)return{error:"No valid package queries found after processing parameters",hints:["Ensure package names are not empty strings","Check array format for bulk queries",t?"Provide npmPackages or pythonPackages arrays with package objects":"Provide pythonPackages array with package objects"]};const o={npm:[],python:[]},a=[];if(r.length>0){const e=r.map(e=>async function(e){const t=[e.toLowerCase().replace(/_/g,"-"),e.toLowerCase(),e,e.replace(/-/g,"_").toLowerCase()],n=[...new Set(t)];for(const t of n)try{const n=encodeURIComponent(t),r=(await HD.get(`https://pypi.org/pypi/${n}/json`,{timeout:15e3,headers:{"User-Agent":"octocode-mcp/2.3.21",Accept:"application/json"},validateStatus:e=>200===e})).data;if(!r.info||r.message?.includes("Not Found"))continue;const i=r.info;let o=null;if(i.project_urls){const e=["Source","Repository","Homepage","Source Code","GitHub","GitLab","Bitbucket"];for(const t of e){const e=i.project_urls[t];if(e&&(e.includes("github")||e.includes("gitlab")||e.includes("bitbucket"))){o=e;break}}}if(!o&&i.home_page){const e=i.home_page;(e.includes("github")||e.includes("gitlab")||e.includes("bitbucket"))&&(o=e)}let a=[];i.keywords&&("string"==typeof i.keywords?a=i.keywords.split(/[,\s]+/).filter(e=>e.trim()):Array.isArray(i.keywords)&&(a=i.keywords)),a=a.slice(0,10);let s=i.summary||i.description||null;return s&&s.length>mP&&(s=s.substring(0,mP)+"..."),{name:i.name||e,version:i.version||"latest",description:s,keywords:a,repository:o}}catch(e){continue}return null}(e.name).then(t=>({type:"python",packages:t?[t]:[],errors:t?[]:[`Python package '${e.name}' not found on PyPI`]})).catch(t=>{const n=t instanceof Error?t.message:String(t);return{type:"python",packages:[],errors:[`Python search failed for '${e.name}': ${n}`]}}));a.push(Promise.all(e).then(e=>({type:"python",packages:e.flatMap(e=>e.packages),errors:e.flatMap(e=>e.errors)})))}if(t&&n.length>0){const e=n.map(e=>async function(e,t){const n=(new lP).build({query:e,searchLimit:t}),r=await ec("search",n,{});if(r.isError||!r.content?.[0]?.text)throw new Error(String(r.content?.[0]?.text)||"Unknown NPM error");{const e=r.content[0].text;try{const t=JSON.parse(e);return function(e){try{const t=JSON.parse(e);let n=[];if(Array.isArray(t))n=t;else if(t.result){const e=t.result;Array.isArray(e)?n=e:e?.objects&&Array.isArray(e.objects)?n=e.objects.map(e=>e.package||e):e?.results&&Array.isArray(e.results)&&(n=e.results)}else t?.objects&&Array.isArray(t.objects)?n=t.objects.map(e=>e.package||e):t?.results&&Array.isArray(t.results)&&(n=t.results);return n.map(hP)}catch(e){return[]}}(t&&"object"==typeof t&&"data"in t?t.data||"":e)}catch(e){throw new Error("Failed to parse npm search response")}}}(e.name,e.searchLimit||1).then(t=>({type:"npm",packages:t,errors:0===t.length?[`NPM package '${e.name}' not found`]:[]})).catch(t=>{const n=t instanceof Error?t.message:String(t);return{type:"npm",packages:[],errors:[`NPM search failed for '${e.name}': ${n}`]}}));a.push(Promise.all(e).then(e=>({type:"npm",packages:e.flatMap(e=>e.packages),errors:e.flatMap(e=>e.errors)})))}const s=await Promise.all(a),c=[],u=[];for(const e of s)"npm"===e.type?(c.push(...e.packages),o.npm.push(...e.errors)):(u.push(...e.packages),o.python.push(...e.errors));const l=gP(c),p=gP(u),d=l.length+p.length;if(0===d)return{error:"No packages found",errors:o,hints:vP(o,n,r,t)};if(t&&n.some(e=>e.npmFetchMetadata)&&l.length>0)try{const e=await async function(e,t){const n={},r=e.map(async e=>{const n=t.find(t=>t.name===e.name);try{const t=await async function(e,t,n){return aa(ra("npm-view",{packageName:e,field:t,match:n}),async()=>{try{const r=new pP;let i;if(t)i=r.build({packageName:e,field:t});else if(n){let t=n;if("string"==typeof n&&n.startsWith("[")&&n.endsWith("]"))try{t=JSON.parse(n)}catch(e){t=n}const o=Array.isArray(t)?t:[t];i=r.build({packageName:e,match:o})}else i=r.build({packageName:e});return await ec("view",i,{cache:!1})}catch(e){return(e.message||"").includes("404")?da({error:"Package not found on NPM registry. Verify the exact package name"}):da({error:"Failed to execute NPM command. Check npm installation"})}})}(e.name,n?.npmField,n?.npmMatch);if(t.isError)return{packageName:e.name,metadata:{gitURL:e.repository||"",metadata:{name:e.name,version:e.version,description:e.description||"",license:"Unknown",repository:e.repository||"",size:"Unknown",created:"Unknown",updated:"Unknown",versions:[],stats:{total_versions:0}}}};const r=JSON.parse(t.content[0]?.text);let i;i=n?.npmField?{name:e.name,[n.npmField]:r.result,version:e.version,description:e.description,repository:e.repository}:n?.npmMatch?{name:e.name,...r.result,version:r.result.version||e.version,description:r.result.description||e.description,repository:r.result.repository||e.repository}:r.result;const o=n?.npmField||n?.npmMatch?i:function(e){const t=e.repository?.url||e.repositoryGitUrl||"",n=t?function(e){const t=e.match(/github\.com\/([^/]+\/[^/]+)/);return t?.[1]||e}(t):"",r=e.exports?function(e){if("string"==typeof e)return{main:e};if("object"==typeof e&&null!==e){const t=e,n={};if(t["."]){const e=t["."];if("string"==typeof e)n.main=e;else if("object"==typeof e&&null!==e){const t=e;t.default?n.main=t.default:t.import&&(n.main=t.import)}}(t["./types"]||t["."]&&"object"==typeof t["."]&&null!==t["."]&&t["."].types)&&(n.types=t["./types"]||t["."].types);let r=0;for(const[e,i]of Object.entries(t))r>=3||"."===e||"./types"===e||e.includes("package.json")||e.includes("node_modules")||(n[e]="object"==typeof i&&null!==i&&i.default||i,r++);return n}return{main:"index.js"}}(e.exports):void 0,i=e.time||{},o=Array.isArray(e.versions)?e.versions:[],a=o.slice(-5).map(e=>({version:e,date:i[e]?fa(i[e]):"Unknown"})),s={name:e.name,version:e.version,description:e.description||"",license:e.license||"Unknown",repository:n,size:ha(e.dist?.unpackedSize||0),created:i.created?fa(i.created):"Unknown",updated:i.modified?fa(i.modified):"Unknown",versions:a,stats:{total_versions:o.length,weekly_downloads:e.weeklyDownloads}};return r&&Object.keys(r).length>0&&(s.exports=r),s}(i),a=o.repository||e.repository||"";return{packageName:e.name,metadata:{gitURL:a,metadata:o}}}catch(t){return{packageName:e.name,metadata:{gitURL:e.repository||"",metadata:{name:e.name,version:e.version,description:e.description||"",license:"Unknown",repository:e.repository||"",size:"Unknown",created:"Unknown",updated:"Unknown",versions:[],stats:{total_versions:0}}}}}});for(let e=0;e<r.length;e+=5){const t=r.slice(e,e+5),i=await Promise.all(t);for(const e of i)n[e.packageName]=e.metadata}return n}(l,n),t=function(e){const t={};for(const n of e){const e={name:n.name,version:n.version,description:n.description,keywords:n.keywords,repository:n.repository};t[n.name]={gitURL:n.repository||"",metadata:e}}return t}(p),r={total_count:d};return Object.keys(e).length>0&&(r.npm=e),Object.keys(t).length>0&&(r.python=t),r}catch(e){}const m={total_count:d,python:p};return t&&l.length>0&&(m.npm=l),m}catch(e){return{error:`Package search failed: ${e instanceof Error?e.message:String(e)}`,hints:["Check network connection","Verify package names are correct","Try again in a few moments"]}}}function hP(e){const t=e.description||null,n=t&&t.length>mP?t.substring(0,mP)+"...":t,r=(e.keywords||[]).slice(0,10);let i=null;return e.links?.repository?i=e.links.repository:e.repository?.url&&(i=e.repository.url),{name:e.name||"",version:e.version||"",description:n,keywords:r,repository:i}}function gP(e){const t=new Map;for(const n of e)t.has(n.name)||t.set(n.name,n);return Array.from(t.values())}function vP(e,t,n,r){const i=[];e.npm.length>0&&(i.push("NPM Search Issues:"),e.npm.forEach(e=>i.push(`   ${e}`))),e.python.length>0&&(i.push("Python Search Issues:"),e.python.forEach(e=>i.push(`   ${e}`)));const o=t.some(e=>e.name.includes("-")||e.name.includes("@")||e.name.length>15),a=t.some(e=>["react","vue","angular","express","fastify"].some(t=>e.name.toLowerCase().includes(t)));let s=[' Try broader functional terms: "testing" instead of "jest-unit-test"'," Remove version numbers or specific constraints",' Use single keywords: "http" instead of "http-client-library"'];return o&&(s=[' Use simpler terms: "validation" instead of "schema-validation-library"',' Try category terms: "database", "testing", "auth"',...s.slice(1)]),a&&s.unshift(' Try specific framework searches: "react hooks", "vue components"'),n.length>0&&e.python.length>0&&(s.push(' For Python: Try alternative names (e.g., "pillow" instead of "PIL")'),s.push(" For Python: Check exact spelling on https://pypi.org")),r&&t.length>0&&e.npm.length>0&&(s.push(" For NPM: Check package availability on https://npmjs.com"),s.push(" For NPM: Try searching with exact package names")),i.push(...s),i}function _P(e){e.registerTool(wa,{description:'Discover NPM and Python packages with comprehensive metadata and repository analysis.\n\nSearches package registries to find packages by functionality, providing rich metadata\nincluding GitHub repository links, version history, and usage statistics. Essential for package\nresearch, dependency analysis, and finding optimal solutions for your projects.\n\nFEATURES:\n- Multi-ecosystem search: NPM and Python package discovery in single tool\n- Rich metadata: Repository links, version history, download stats, dependencies\n- Research optimization: Better than GitHub API for package-specific analysis\n- Bulk operations: Search multiple packages simultaneously (up to 10 queries)\n- Repository integration: Direct links to GitHub repos for deeper code analysis\n\nBEST PRACTICES:\n- Search by functionality rather than exact names: "http client", "database ORM"\n- Use package search first when researching libraries or frameworks\n- Combine with GitHub tools for complete package-to-code analysis\n- Specify research goals for optimized metadata extraction\n- Leverage bulk operations to compare multiple package alternatives',inputSchema:YS.shape,annotations:{title:"Package Search",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},Vc(async e=>{const t=e.npmPackages&&e.npmPackages.length>0,n=e.pythonPackages&&e.pythonPackages.length>0;if(!t&&!n)return da({isError:!0,error:"At least one package search query is required",hints:OS({toolName:wa,hasResults:!1,totalItems:0,errorMessage:"No package queries provided",customHints:["Use npmPackages or pythonPackages arrays with package names",'Search by functionality: "http client", "database ORM", "testing framework"']})});if((e.npmPackages?.length||0)+(e.pythonPackages?.length||0)>10)return da({isError:!0,error:"Maximum 10 package queries allowed per request",hints:OS({toolName:wa,hasResults:!1,errorMessage:"Too many queries provided",customHints:["Limit to 10 package queries per request for optimal performance"]})});try{const t=await fP(e);if("error"in t){const n=OS({toolName:wa,hasResults:!1,totalItems:0,errorMessage:t.error,customHints:t.hints||[],researchGoal:e.researchGoal});return da({error:t.error,hints:n})}const n="npmResults"in t?Array.isArray(t.npmResults)?t.npmResults:[]:Array.isArray(t.npm)?t.npm:[],r="pythonResults"in t?Array.isArray(t.pythonResults)?t.pythonResults:[]:Array.isArray(t.python)?t.python:[],i=(n?.length||0)+(r?.length||0),o={foundEcosystems:[...n&&n.length>0?["npm"]:[],...r&&r.length>0?["python"]:[]],repositoryLinks:[...n?.flatMap(e=>e.repository?.url?[e.repository.url]:[])||[],...r?.flatMap(e=>e.project_urls?.Homepage?[e.project_urls.Homepage]:[])||[]].slice(0,5),dataQuality:{hasContent:i>0,hasRepositoryLinks:n?.some(e=>e.repository?.url)||r?.some(e=>e.project_urls?.Homepage)||!1,hasMetadata:n?.some(e=>e.version||e.description)||r?.some(e=>e.version||e.summary)||!1}},a=OS({toolName:wa,hasResults:i>0,totalItems:i,researchGoal:e.researchGoal,customHints:o.repositoryLinks.length>0?["Use repository URLs with GitHub tools for deeper code analysis","Compare package metadata to evaluate alternatives and trade-offs"]:[]});return da({data:{...t,apiSource:!0},meta:{totalPackages:i,ecosystems:o.foundEcosystems,repositoryCount:o.repositoryLinks.length,hasMetadata:o.dataQuality.hasMetadata,researchGoal:e.researchGoal},hints:a})}catch(t){const n=t instanceof Error?t.message:"Unknown error occurred";return da({isError:!0,error:`Failed to search packages: ${n}`,hints:OS({toolName:wa,hasResults:!1,totalItems:0,errorMessage:n,researchGoal:e.researchGoal,customHints:["Check package names for typos or alternative spellings","Try broader search terms if specific packages are not found","Verify ecosystem selection (NPM vs Python)"]})})}}))}const yP=Hc(qc({owner:Kc,repo:$c,branch:Wc,path:Xe().default("").optional().describe("Directory path within repository. Start empty for root exploration"),depth:Ye().min(1).max(2).default(1).optional().describe("Directory depth to explore. Default 1 (preferred). Max 2. Use sparingly."),includeIgnored:Ze().default(!1).optional().describe("Include config files, lock files, hidden directories. Default false for optimization"),showMedia:Ze().default(!1).optional().describe("Include media files. Default false for optimization")}),1,5,"Array of 1-5 repository structure queries for bulk execution");function bP(e){e.registerTool(xa,{description:"Explore GitHub repository structure and validate repository access with intelligent navigation.\n\nProvides comprehensive repository exploration with smart filtering, error recovery,\nand context-aware suggestions. Perfect for understanding project organization, discovering\nkey files, and validating repository accessibility. Supports bulk operations for efficient\nmulti-repository analysis.\n\nFEATURES:\n- Bulk operations: Explore multiple repositories simultaneously for comparative analysis\n- Comprehensive structure exploration: Navigate directories and understand project layout\n- Smart filtering: Focus on relevant files while excluding noise (build artifacts, etc.)\n- Access validation: Verify repository existence and permissions\n- Research optimization: Tailored hints based on research goals\n\nBEST PRACTICES:\n- Start with root directory to understand overall project structure\n- Use depth control to balance detail with performance\n- Include ignored files only when needed for complete analysis\n- Specify research goals for optimized navigation suggestions\n- Use bulk operations to compare structures across multiple repositories",inputSchema:yP.shape,annotations:{title:"GitHub Repository Structure Explorer",readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},Vc(async e=>e.queries&&Array.isArray(e.queries)&&0!==e.queries.length?e.queries.length>5?da({isError:!0,error:"Maximum 5 queries allowed per request",hints:OS({toolName:xa,hasResults:!1,errorMessage:"Too many queries provided",customHints:["Limit to 5 repository structure queries per request for optimal performance"]})}):async function(e,t=!1){const n=PS(e,"repo-structure"),{results:r,errors:i}=await FS(n,async e=>{try{if(!e.owner?.trim())return{queryId:e.id,error:"Repository owner is required",hints:["Repository owner is required","Provide repository owner (organization or username)",'Example: owner: "facebook" for Facebook repositories'],metadata:{queryArgs:{...e},error:"Repository owner is required",searchType:"validation_error"}};if(!e.repo?.trim())return{queryId:e.id,error:"Repository name is required",hints:["Repository name is required","Provide repository name",'Example: repo: "react" for the React repository'],metadata:{queryArgs:{...e},error:"Repository name is required",searchType:"validation_error"}};if(!e.branch?.trim())return{queryId:e.id,error:"Branch name is required",hints:["Branch name is required",'Provide branch name (usually "main" or "master")','Example: branch: "main"'],metadata:{queryArgs:{...e},error:"Branch name is required",searchType:"validation_error"}};const t=await fS(e);return"error"in t?{queryId:e.id,error:t.error,hints:["Verify repository owner and name are correct",'Check that the branch exists (try "main" or "master")',"Ensure you have access to the repository"],metadata:{queryArgs:{...e},error:t.error,searchType:"api_error"}}:{queryId:e.id,data:{repository:`${e.owner}/${e.repo}`,structure:t.files.map(e=>({...e,type:"file"})),totalCount:t.files.length},metadata:{branch:e.branch,path:e.path||"/",folders:t.folders,summary:t.summary,researchGoal:e.researchGoal,queryArgs:{...e},searchType:"success"}}}catch(t){const n=t instanceof Error?t.message:"Unknown error occurred";return{queryId:e.id,error:`Failed to explore repository structure: ${n}`,hints:["Verify repository owner and name are correct",'Check that the branch exists (try "main" or "master")',"Ensure you have access to the repository"],metadata:{queryArgs:{...e},error:`Failed to explore repository structure: ${n}`,searchType:"api_error"}}}}),o=r.filter(e=>!e.result.error).length,a=r.length-o,s={totalQueries:r.length,successfulQueries:o,failedQueries:a,foundDirectories:new Set,foundFileTypes:new Set,repositoryContexts:new Set,exploredPaths:new Set,dataQuality:{hasResults:o>0,hasContent:r.some(e=>!e.result.error&&Array.isArray(e.result.data?.structure)&&e.result.data.structure.length>0),hasStructure:r.some(e=>!e.result.error&&Array.isArray(e.result.data?.structure)&&e.result.data.structure.length>0)}};r.forEach(({result:e})=>{if(!e.error&&e.data?.structure){e.data.repository&&s.repositoryContexts.add(e.data.repository),"string"==typeof e.metadata?.path&&s.exploredPaths.add(e.metadata.path),Array.isArray(e.data?.structure)&&e.data.structure.forEach(e=>{const t=e.path.split(".").pop();t&&s.foundFileTypes.add(t);const n=e.path.split("/").slice(0,-1).join("/");n&&s.foundDirectories.add(n)});const t=e.metadata?.folders;t?.folders&&t.folders.forEach(e=>{s.foundDirectories.add(e.path)})}});return IS({toolName:xa,includeAggregatedContext:t,includeErrors:!0},r,s,i,n)}(e.queries,e.verbose||!1):da({isError:!0,error:"Queries array is required and cannot be empty",hints:OS({toolName:xa,hasResults:!1,errorMessage:"Queries array is required and cannot be empty",customHints:["Provide at least one repository structure query with owner, repo, and branch"]})})))}class EP{static toolsets=new Map;static initialized=!1;static DEFAULT_TOOLSETS=[{name:"repos",description:"GitHub Repository related tools",enabled:!0,readOnly:!1,tools:["githubSearchCode","githubGetFileContent","githubViewRepoStructure"],category:"core"},{name:"search",description:"GitHub Search and Discovery tools",enabled:!0,readOnly:!0,tools:["githubSearchRepositories","githubSearchCommits","githubSearchPullRequests"],category:"core"},{name:"packages",description:"Package registry tools",enabled:!0,readOnly:!0,tools:["packageSearch"],category:"core"},{name:"enterprise",description:"Enterprise security and audit tools",enabled:!1,readOnly:!1,tools:["audit_logger","rate_limiter","organization_manager"],category:"enterprise"}];static initialize(e,t=!1){if(!this.initialized){this.initialized=!0;for(const n of this.DEFAULT_TOOLSETS)this.registerToolset({...n,readOnly:t||n.readOnly,enabled:this.shouldEnableToolset(n.name,e)});if(process.env.GITHUB_ORGANIZATION||"true"===process.env.AUDIT_ALL_ACCESS||process.env.RATE_LIMIT_API_HOUR||process.env.RATE_LIMIT_AUTH_HOUR||process.env.RATE_LIMIT_TOKEN_HOUR){const e=this.toolsets.get("enterprise");e&&(e.enabled=!0)}}}static registerToolset(e){this.toolsets.set(e.name,e)}static enableToolsets(e){for(const t of e){if("all"===t){for(const e of this.toolsets.values())e.enabled=!0;return}const e=this.toolsets.get(t);e&&(e.enabled=!0)}}static getEnabledToolsets(){return Array.from(this.toolsets.values()).filter(e=>e.enabled)}static getEnabledTools(){const e=[];for(const t of this.toolsets.values())t.enabled&&e.push(...t.tools);return e}static isToolEnabled(e){for(const t of this.toolsets.values())if(t.enabled&&t.tools.includes(e))return!0;return!1}static getToolsetForTool(e){for(const t of this.toolsets.values())if(t.tools.includes(e))return t;return null}static getStats(){const e=this.getEnabledToolsets(),t=this.getEnabledTools(),n=e.some(e=>e.readOnly);return{totalToolsets:this.toolsets.size,enabledToolsets:e.length,totalTools:Array.from(this.toolsets.values()).reduce((e,t)=>e+t.tools.length,0),enabledTools:t.length,readOnlyMode:n}}static shouldEnableToolset(e,t){return!t||0===t.length||t.includes("all")||t.includes(e)}}var xP="4.1.2";const wP=process.env.TOOLS_TO_RUN?.split(",").map(e=>e.trim()).filter(e=>e.length>0)||[],AP={name:`octocode-mcp_${xP}`,title:"Octocode MCP",version:xP};async function SP(e){const t=Sc.initialize();EP.initialize(t.enabledToolsets,t.readOnly),await lc(),mc()&&!dc()&&process.stderr.write("🔒 Enterprise mode active: CLI token resolution disabled for security\n");const n=0===wP.length,r=[{name:_a,fn:NS},{name:Ea,fn:VS},{name:va,fn:GS},{name:xa,fn:bP},{name:ya,fn:qS},{name:ba,fn:KS},{name:wa,fn:_P}];let i=0;const o=[];for(const t of r)try{const r=n||wP.includes(t.name);r&&EP.isToolEnabled(t.name)?(t.fn(e),i++):r?process.stderr.write(`Tool ${t.name} disabled by toolset configuration\n`):process.stderr.write(`Tool ${t.name} excluded by TOOLS_TO_RUN configuration\n`)}catch(e){o.push(t.name)}if(0===i)throw new Error("No tools were successfully registered")}(async function(){let e=!1,t=null;try{const n=new Io(AP,{capabilities:{prompts:{},tools:{},...BS()&&{sampling:{}}}});try{if("true"===process.env.AUDIT_ALL_ACCESS){const{AuditLogger:e}=await import("./security/auditLogger.js");e.initialize()}if(process.env.RATE_LIMIT_API_HOUR||process.env.RATE_LIMIT_AUTH_HOUR||process.env.RATE_LIMIT_TOKEN_HOUR){const{RateLimiter:e}=await Promise.resolve().then(function(){return Nc});e.initialize()}}catch(e){}await async function(){try{const{AuthenticationManager:e}=await import("./authenticationManager-BrDERSd0.js"),t=e.getInstance();await t.initialize()}catch(e){process.stderr.write(`Warning: Failed to initialize authentication: ${e instanceof Error?e.message:String(e)}\n`)}}(),await SP(n),function(e){e.registerPrompt("research",{description:"Research prompt that takes a user query and formats it with instructions",argsSchema:tt({user_query:Xe().describe("The user query to research")}).shape},async e=>{const{user_query:t}=e;return{messages:[{role:"user",content:{type:"text",text:`\n      # SYSTEM PROMPT\n      Expert GitHub code research assistant using MCP tools for comprehensive analysis.\n\nCORE CAPABILITIES:\n- Gihub Search: code, repos, npm packages\n- Github: commits, PRs across GitHub\n- File Fetch: file contents with context and partial access  \n- Explore: View repository structures\n\nRESEARCH METHODOLOGY (Chain-of-Thought):\n- Verify docs against implementation code - trust implementation if they disagree\n**DISCOVERY PHASE**: Start broad → analyze patterns → identify focus areas\n**ANALYSIS PHASE**: Deep-dive into promising areas → extract insights → cross-validate\n**SYNTHESIS PHASE**: Compile findings → identify patterns → generate recommendations\n\nSTOP CONDITIONS & EFFICIENCY:\n- Stop when you have enough info to answer\n- NEVER repeat queries - vary terms strategically  \n- Continue searching with different strategies if needed\n- Ask user when stuck or research is too long\n\nOUTPUT:\n- Comprehensive results after research and analysis\n- Diagrams and charts when appropriate\n\nTOOL ORCHESTRATION (ReAct Pattern):\n- **REASON**: Analyze research goal and current context\n- **ACT**: Select optimal tool combination (bulk operations preferred)\n- **OBSERVE**: Evaluate results and hints for next steps\n- **REFLECT**: Adjust strategy based on findings\n\nRESPONSE FORMAT:\n- data: Tool response content\n- isError: Operation success/failure  \n- hints: [CRITICAL] Next steps, recovery tips, strategic guidance\n- meta: Context (totals, errors, research goals, phase)\n\nEXECUTION PRINCIPLES:\n- **Bulk-First**: Use multi-query operations for comprehensive coverage\n- **Progressive Refinement**: Start broad, narrow based on findings\n- **Cross-Validation**: Verify insights across multiple sources\n- **Strategic Chaining**: Follow tool relationships for optimal flow\n- **Error Recovery**: Use hints for intelligent fallbacks\n\nNever hallucinate. Use verified data only. Execute systematically with clear reasoning.\n\n      # User Query\n      ${t}`}}]}})}(n),BS();const r=new zo;await n.connect(r),process.stdout.uncork(),process.stderr.uncork();const i=async r=>{if(!e){e=!0;try{t&&(clearTimeout(t),t=null),t=setTimeout(()=>{process.exit(1)},5e3),ea.flushAll(),ta.hits=0,ta.misses=0,ta.sets=0,ta.totalKeys=0,ta.lastReset=new Date,Ys.clearAll();try{if("true"===process.env.AUDIT_ALL_ACCESS){const{AuditLogger:e}=await import("./security/auditLogger.js");e.shutdown()}if(process.env.RATE_LIMIT_API_HOUR||process.env.RATE_LIMIT_AUTH_HOUR||process.env.RATE_LIMIT_TOKEN_HOUR){const{RateLimiter:e}=await Promise.resolve().then(function(){return Nc});e.shutdown()}}catch(e){}try{await n.close()}catch(e){}t&&(clearTimeout(t),t=null),process.exit(0)}catch(e){t&&(clearTimeout(t),t=null),process.exit(1)}}};process.once("SIGINT",()=>i("SIGINT")),process.once("SIGTERM",()=>i("SIGTERM")),process.stdin.once("close",()=>{i("STDIN_CLOSE")}),process.once("uncaughtException",e=>{i("UNCAUGHT_EXCEPTION")}),process.once("unhandledRejection",(e,t)=>{i("UNHANDLED_REJECTION")}),process.stdin.resume()}catch(e){process.exit(1)}})().catch(()=>{process.exit(1)});export{Sc as C,zc as a,Nc as b,Gc as g,Uc as i,Bc as o,SP as r,Ac as t};