@nodecg/types
Version:
Dynamic broadcast graphics rendered in a browser
10 lines • 641 kB
JavaScript
"use strict";(()=>{var cP=Object.create;var Uu=Object.defineProperty,uP=Object.defineProperties,lP=Object.getOwnPropertyDescriptor,fP=Object.getOwnPropertyDescriptors,dP=Object.getOwnPropertyNames,Bu=Object.getOwnPropertySymbols,pP=Object.getPrototypeOf,Yp=Object.prototype.hasOwnProperty,dv=Object.prototype.propertyIsEnumerable;var Kp=(e,t,r)=>t in e?Uu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))Yp.call(t,r)&&Kp(e,r,t[r]);if(Bu)for(var r of Bu(t))dv.call(t,r)&&Kp(e,r,t[r]);return e},b=(e,t)=>uP(e,fP(t));var so=(e,t)=>{var r={};for(var n in e)Yp.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Bu)for(var n of Bu(e))t.indexOf(n)<0&&dv.call(e,n)&&(r[n]=e[n]);return r};var v=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Jp=(e,t)=>{for(var r in t)Uu(e,r,{get:t[r],enumerable:!0})},mP=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of dP(t))!Yp.call(e,o)&&o!==r&&Uu(e,o,{get:()=>t[o],enumerable:!(n=lP(t,o))||n.enumerable});return e};var Lr=(e,t,r)=>(r=e!=null?cP(pP(e)):{},mP(t||!e||!e.__esModule?Uu(r,"default",{value:e,enumerable:!0}):r,e));var Te=(e,t,r)=>(Kp(e,typeof t!="symbol"?t+"":t,r),r);var P=(e,t,r)=>new Promise((n,o)=>{var s=c=>{try{a(r.next(c))}catch(u){o(u)}},i=c=>{try{a(r.throw(c))}catch(u){o(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(s,i);a((r=r.apply(e,t)).next())});var Tv=v((P7,Xp)=>{"use strict";var os=typeof Reflect=="object"?Reflect:null,pv=os&&typeof os.apply=="function"?os.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},Hu;os&&typeof os.ownKeys=="function"?Hu=os.ownKeys:Object.getOwnPropertySymbols?Hu=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Hu=function(t){return Object.getOwnPropertyNames(t)};function hP(e){console&&console.warn&&console.warn(e)}var hv=Number.isNaN||function(t){return t!==t};function de(){de.init.call(this)}Xp.exports=de;Xp.exports.once=SP;de.EventEmitter=de;de.prototype._events=void 0;de.prototype._eventsCount=0;de.prototype._maxListeners=void 0;var mv=10;function qu(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(de,"defaultMaxListeners",{enumerable:!0,get:function(){return mv},set:function(e){if(typeof e!="number"||e<0||hv(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");mv=e}});de.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};de.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||hv(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function gv(e){return e._maxListeners===void 0?de.defaultMaxListeners:e._maxListeners}de.prototype.getMaxListeners=function(){return gv(this)};de.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var o=t==="error",s=this._events;if(s!==void 0)o=o&&s.error===void 0;else if(!o)return!1;if(o){var i;if(r.length>0&&(i=r[0]),i instanceof Error)throw i;var a=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw a.context=i,a}var c=s[t];if(c===void 0)return!1;if(typeof c=="function")pv(c,this,r);else for(var u=c.length,l=bv(c,u),n=0;n<u;++n)pv(l[n],this,r);return!0};function yv(e,t,r,n){var o,s,i;if(qu(r),s=e._events,s===void 0?(s=e._events=Object.create(null),e._eventsCount=0):(s.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),i=s[t]),i===void 0)i=s[t]=r,++e._eventsCount;else if(typeof i=="function"?i=s[t]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),o=gv(e),o>0&&i.length>o&&!i.warned){i.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=i.length,hP(a)}return e}de.prototype.addListener=function(t,r){return yv(this,t,r,!1)};de.prototype.on=de.prototype.addListener;de.prototype.prependListener=function(t,r){return yv(this,t,r,!0)};function gP(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _v(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=gP.bind(n);return o.listener=r,n.wrapFn=o,o}de.prototype.once=function(t,r){return qu(r),this.on(t,_v(this,t,r)),this};de.prototype.prependOnceListener=function(t,r){return qu(r),this.prependListener(t,_v(this,t,r)),this};de.prototype.removeListener=function(t,r){var n,o,s,i,a;if(qu(r),o=this._events,o===void 0)return this;if(n=o[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(s=-1,i=n.length-1;i>=0;i--)if(n[i]===r||n[i].listener===r){a=n[i].listener,s=i;break}if(s<0)return this;s===0?n.shift():yP(n,s),n.length===1&&(o[t]=n[0]),o.removeListener!==void 0&&this.emit("removeListener",t,a||r)}return this};de.prototype.off=de.prototype.removeListener;de.prototype.removeAllListeners=function(t){var r,n,o;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var s=Object.keys(n),i;for(o=0;o<s.length;++o)i=s[o],i!=="removeListener"&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(o=r.length-1;o>=0;o--)this.removeListener(t,r[o]);return this};function Sv(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?_P(o):bv(o,o.length)}de.prototype.listeners=function(t){return Sv(this,t,!0)};de.prototype.rawListeners=function(t){return Sv(this,t,!1)};de.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Ev.call(e,t)};de.prototype.listenerCount=Ev;function Ev(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}de.prototype.eventNames=function(){return this._eventsCount>0?Hu(this._events):[]};function bv(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function yP(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function _P(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function SP(e,t){return new Promise(function(r,n){function o(i){e.removeListener(t,s),n(i)}function s(){typeof e.removeListener=="function"&&e.removeListener("error",o),r([].slice.call(arguments))}vv(e,t,s,{once:!0}),t!=="error"&&EP(e,o,{once:!0})})}function EP(e,t,r){typeof e.on=="function"&&vv(e,"error",t,r)}function vv(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function o(s){n.once&&e.removeEventListener(t,o),r(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}});var xv=v((M7,bP)=>{bP.exports={name:"nodecg",version:"2.6.0",description:"Dynamic broadcast graphics rendered in a browser",keywords:["graphics","nodecg","node","dynamic","broadcast"],homepage:"https://nodecg.dev/",bugs:"https://github.com/hoishin/nodecg/issues",repository:{type:"git",url:"https://github.com/hoishin/nodecg.git"},license:"MIT",exports:{".":"./index.js","./types":{types:"./types/index.d.ts"},"./types/augment-window":{types:"./types/augment-window.d.ts"}},bin:{nodecg:"./cli.mjs"},files:["dist","out","bundles/.empty_directory","db/.empty_directory","schemas","types","index.js"],workspaces:["workspaces/internal-util","workspaces/database-adapter-types","workspaces/database-adapter-sqlite-legacy","workspaces/cli"],scripts:{start:"node index.js",dev:"del-cli dist out && run-p dev:*","dev:client":"npm run build:client -- --watch","dev:tsc":"tsc -b src/server src/client --watch --preserveWatchOutput","dev:copy-templates":'onchange "src/server/**/*.tmpl" -i -- cpy "src/server/**/*.tmpl" out/server',"dev:workspaces":"tsx scripts/workspaces-parallel.ts dev",test:"vitest",typetest:"cd typetest/fake-bundle && npm run build",lint:"npm-run-all -s lint:*","lint:prettier":"prettier --check .","lint:eslint":"eslint --cache",fix:"npm-run-all -s fix:*","fix:prettier":"prettier --write .","fix:eslint":"npm run lint:eslint -- --fix ",build:"del-cli dist out && run-s build:*","build:workspaces":"npm --workspaces run build","build:tsc":"tsc -b src/server src/client","build:client":"tsx scripts/build-client.ts","build:copy-templates":'cpy "src/server/**/*.tmpl" out/server'},dependencies:{"@nodecg/cli":"2.6.0","@nodecg/database-adapter-sqlite-legacy":"2.6.0","@nodecg/database-adapter-types":"2.6.0","@nodecg/internal-util":"2.6.0","@nodecg/json-schema-defaults":"^1.0.4","@nodecg/json-schema-lib":"0.1.0","@polymer/app-layout":"^3.1.0","@polymer/app-route":"^3.0.2","@polymer/iron-collapse":"^3.0.1","@polymer/iron-flex-layout":"^3.0.1","@polymer/iron-icons":"^3.0.1","@polymer/iron-image":"^3.0.2","@polymer/iron-localstorage":"^3.0.1","@polymer/iron-pages":"^3.0.1","@polymer/iron-selector":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-dialog":"^3.0.1","@polymer/paper-dialog-behavior":"^3.0.1","@polymer/paper-dialog-scrollable":"^3.0.1","@polymer/paper-icon-button":"^3.0.2","@polymer/paper-item":"^3.0.1","@polymer/paper-slider":"^3.0.1","@polymer/paper-spinner":"^3.0.2","@polymer/paper-styles":"^3.0.1","@polymer/paper-tabs":"^3.1.0","@polymer/paper-toast":"^3.0.1","@polymer/paper-toolbar":"^3.0.1","@polymer/polymer":"^3.5.1","@sentry/browser":"^7.91.0","@sentry/node":"^7.91.0","@types/cookie-parser":"^1.4.6","@types/express-session":"^1.17.10","@types/multer":"^1.4.11","@types/node":"20","@types/passport":"^1.0.16","@types/soundjs":"^0.6.31","@vaadin/vaadin-upload":"^4.4.3","@webcomponents/webcomponentsjs":"^2.8.0",ajv:"^8.17.1","ajv-draft-04":"^1.0.0","ajv-formats":"^2.1.1","body-parser":"^1.20.2",cheerio:"1.0.0-rc.12",chokidar:"^4.0.3",clipboard:"^2.0.11",compression:"^1.7.4","cookie-parser":"^1.4.6","cookies-js":"^1.2.3",cosmiconfig:"^8.3.6",draggabilly:"^2.4.1",events:"^3.3.0",express:"^4.18.2","express-session":"^1.17.3","express-transform-bare-module-specifiers":"^1.0.4",extend:"^3.0.2","fast-equals":"^5.0.1","fast-memoize":"^2.5.2","fp-ts":"^2.16.9","git-rev-sync":"^3.0.2",hasha:"^5.2.2",httpolyglot:"^0.1.2","iframe-resizer":"^4.3.9","is-error":"^2.2.2","json-ptr":"^3.1.1",klona:"^2.0.6",lodash:"^4.17.21",multer:"^1.4.5-lts.1","nano-spawn":"^0.2.0","object-path":"^0.11.8",packery:"^2.1.2",passport:"^0.6.0","passport-discord":"^0.1.4","passport-local":"^1.0.0","passport-steam":"^1.0.18","passport-twitch-helix":"^1.1.0",process:"^0.11.10",semver:"^7.6.3","serialize-error":"^8.1.0","socket.io":"^4.8.1","socket.io-client":"^4.8.1",soundjs:"^1.0.1","ts-essentials":"^9.4.1",util:"^0.12.5",winston:"^3.11.0",yargs:"^15.4.1",zod:"^3.22.4"},devDependencies:{"@eslint/js":"^9.17.0","@types/compression":"^1.7.5","@types/express":"^4.17.21","@types/extend":"^3.0.4","@types/git-rev-sync":"^2.0.2","@types/is-ci":"^3.0.4","@types/lodash":"^4.17.13","@types/object-path":"^0.11.4","@types/passport-discord":"^0.1.14","@types/passport-local":"^1.0.38","@types/passport-steam":"^1.0.5","@types/semver":"^7.5.8","@types/yargs":"^15.0.19","@vitest/coverage-v8":"^3.0.2","cpy-cli":"^5.0.0","del-cli":"^5.1.0",esbuild:"^0.19.12","esbuild-plugin-copy":"^2.1.1",eslint:"^9.17.0","eslint-config-prettier":"^9.1.0","eslint-plugin-simple-import-sort":"^12.1.1","is-ci":"^3.0.1","npm-run-all2":"^7.0.2",onchange:"^7.1.0",prettier:"^3.4.2",puppeteer:"^23.11.1","ts-node":"^10.9.2",tsx:"^4.19.2",typescript:"~5.7.2","typescript-eslint":"^8.18.2",vitest:"^3.0.2","vitest-mock-express":"^2.2.0"},engines:{node:"^20.9.0 || ^22.11.0"},publishConfig:{access:"public"}}});var j_=v((Y_e,QC)=>{"use strict";QC.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==o||a.enumerable!==!0)return!1}return!0}});var Cd=v((J_e,eO)=>{"use strict";var kq=j_();eO.exports=function(){return kq()&&!!Symbol.toStringTag}});var rO=v((X_e,tO)=>{"use strict";tO.exports=Object});var oO=v((Z_e,nO)=>{"use strict";nO.exports=Error});var iO=v((Q_e,sO)=>{"use strict";sO.exports=EvalError});var cO=v((eSe,aO)=>{"use strict";aO.exports=RangeError});var lO=v((tSe,uO)=>{"use strict";uO.exports=ReferenceError});var dO=v((rSe,fO)=>{"use strict";fO.exports=SyntaxError});var B_=v((nSe,pO)=>{"use strict";pO.exports=TypeError});var hO=v((oSe,mO)=>{"use strict";mO.exports=URIError});var yO=v((sSe,gO)=>{"use strict";gO.exports=Math.abs});var SO=v((iSe,_O)=>{"use strict";_O.exports=Math.floor});var bO=v((aSe,EO)=>{"use strict";EO.exports=Math.max});var TO=v((cSe,vO)=>{"use strict";vO.exports=Math.min});var xO=v((uSe,IO)=>{"use strict";IO.exports=Math.pow});var CO=v((lSe,wO)=>{"use strict";wO.exports=Object.getOwnPropertyDescriptor});var Ei=v((fSe,OO)=>{"use strict";var Od=CO();if(Od)try{Od([],"length")}catch(e){Od=null}OO.exports=Od});var kO=v((dSe,RO)=>{"use strict";var Rd=Object.defineProperty||!1;if(Rd)try{Rd({},"a",{value:1})}catch(e){Rd=!1}RO.exports=Rd});var PO=v((pSe,NO)=>{"use strict";var AO=typeof Symbol!="undefined"&&Symbol,Aq=j_();NO.exports=function(){return typeof AO!="function"||typeof Symbol!="function"||typeof AO("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Aq()}});var MO=v((mSe,DO)=>{"use strict";var Nq="Function.prototype.bind called on incompatible ",Pq=Object.prototype.toString,$q=Math.max,Dq="[object Function]",$O=function(t,r){for(var n=[],o=0;o<t.length;o+=1)n[o]=t[o];for(var s=0;s<r.length;s+=1)n[s+t.length]=r[s];return n},Mq=function(t,r){for(var n=[],o=r||0,s=0;o<t.length;o+=1,s+=1)n[s]=t[o];return n},Lq=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};DO.exports=function(t){var r=this;if(typeof r!="function"||Pq.apply(r)!==Dq)throw new TypeError(Nq+r);for(var n=Mq(arguments,1),o,s=function(){if(this instanceof o){var l=r.apply(this,$O(n,arguments));return Object(l)===l?l:this}return r.apply(t,$O(n,arguments))},i=$q(0,r.length-n.length),a=[],c=0;c<i;c++)a[c]="$"+c;if(o=Function("binder","return function ("+Lq(a,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var u=function(){};u.prototype=r.prototype,o.prototype=new u,u.prototype=null}return o}});var bi=v((hSe,LO)=>{"use strict";var Fq=MO();LO.exports=Function.prototype.bind||Fq});var kd=v((gSe,FO)=>{"use strict";FO.exports=Function.prototype.call});var U_=v((ySe,jO)=>{"use strict";jO.exports=Function.prototype.apply});var UO=v((_Se,BO)=>{"use strict";BO.exports=typeof Reflect!="undefined"&&Reflect&&Reflect.apply});var qO=v((SSe,HO)=>{"use strict";var jq=bi(),Bq=U_(),Uq=kd(),Hq=UO();HO.exports=Hq||jq.call(Uq,Bq)});var zO=v((ESe,GO)=>{"use strict";var qq=bi(),Gq=B_(),zq=kd(),Vq=qO();GO.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new Gq("a function is required");return Vq(qq,zq,t)}});var XO=v((bSe,JO)=>{"use strict";var Wq=zO(),VO=Ei(),KO;try{KO=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var H_=!!KO&&VO&&VO(Object.prototype,"__proto__"),YO=Object,WO=YO.getPrototypeOf;JO.exports=H_&&typeof H_.get=="function"?Wq([H_.get]):typeof WO=="function"?function(t){return WO(t==null?t:YO(t))}:!1});var QO=v((vSe,ZO)=>{"use strict";var Kq=Function.prototype.call,Yq=Object.prototype.hasOwnProperty,Jq=bi();ZO.exports=Jq.call(Kq,Yq)});var wi=v((TSe,iR)=>{"use strict";var ee,nR=rO(),Xq=oO(),Zq=iO(),Qq=cO(),eG=lO(),xi=dO(),Ii=B_(),tG=hO(),rG=yO(),nG=SO(),oG=bO(),sG=TO(),iG=xO(),oR=Function,q_=function(e){try{return oR('"use strict"; return ('+e+").constructor;")()}catch(t){}},Kc=Ei(),aG=kO(),G_=function(){throw new Ii},cG=Kc?function(){try{return arguments.callee,G_}catch(e){try{return Kc(arguments,"callee").get}catch(t){return G_}}}():G_,vi=PO()(),uG=XO(),Ke=typeof Reflect=="function"&&Reflect.getPrototypeOf||nR.getPrototypeOf||uG,sR=U_(),Yc=kd(),Ti={},lG=typeof Uint8Array=="undefined"||!Ke?ee:Ke(Uint8Array),Bo={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?ee:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?ee:ArrayBuffer,"%ArrayIteratorPrototype%":vi&&Ke?Ke([][Symbol.iterator]()):ee,"%AsyncFromSyncIteratorPrototype%":ee,"%AsyncFunction%":Ti,"%AsyncGenerator%":Ti,"%AsyncGeneratorFunction%":Ti,"%AsyncIteratorPrototype%":Ti,"%Atomics%":typeof Atomics=="undefined"?ee:Atomics,"%BigInt%":typeof BigInt=="undefined"?ee:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?ee:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?ee:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?ee:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Xq,"%eval%":eval,"%EvalError%":Zq,"%Float32Array%":typeof Float32Array=="undefined"?ee:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?ee:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?ee:FinalizationRegistry,"%Function%":oR,"%GeneratorFunction%":Ti,"%Int8Array%":typeof Int8Array=="undefined"?ee:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?ee:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?ee:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":vi&&Ke?Ke(Ke([][Symbol.iterator]())):ee,"%JSON%":typeof JSON=="object"?JSON:ee,"%Map%":typeof Map=="undefined"?ee:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!vi||!Ke?ee:Ke(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":nR,"%Object.getOwnPropertyDescriptor%":Kc,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?ee:Promise,"%Proxy%":typeof Proxy=="undefined"?ee:Proxy,"%RangeError%":Qq,"%ReferenceError%":eG,"%Reflect%":typeof Reflect=="undefined"?ee:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?ee:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!vi||!Ke?ee:Ke(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?ee:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":vi&&Ke?Ke(""[Symbol.iterator]()):ee,"%Symbol%":vi?Symbol:ee,"%SyntaxError%":xi,"%ThrowTypeError%":cG,"%TypedArray%":lG,"%TypeError%":Ii,"%Uint8Array%":typeof Uint8Array=="undefined"?ee:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?ee:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?ee:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?ee:Uint32Array,"%URIError%":tG,"%WeakMap%":typeof WeakMap=="undefined"?ee:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?ee:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?ee:WeakSet,"%Function.prototype.call%":Yc,"%Function.prototype.apply%":sR,"%Object.defineProperty%":aG,"%Math.abs%":rG,"%Math.floor%":nG,"%Math.max%":oG,"%Math.min%":sG,"%Math.pow%":iG};if(Ke)try{null.error}catch(e){eR=Ke(Ke(e)),Bo["%Error.prototype%"]=eR}var eR,fG=function e(t){var r;if(t==="%AsyncFunction%")r=q_("async function () {}");else if(t==="%GeneratorFunction%")r=q_("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=q_("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&Ke&&(r=Ke(o.prototype))}return Bo[t]=r,r},tR={__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"]},Jc=bi(),Ad=QO(),dG=Jc.call(Yc,Array.prototype.concat),pG=Jc.call(sR,Array.prototype.splice),rR=Jc.call(Yc,String.prototype.replace),Nd=Jc.call(Yc,String.prototype.slice),mG=Jc.call(Yc,RegExp.prototype.exec),hG=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,gG=/\\(\\)?/g,yG=function(t){var r=Nd(t,0,1),n=Nd(t,-1);if(r==="%"&&n!=="%")throw new xi("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new xi("invalid intrinsic syntax, expected opening `%`");var o=[];return rR(t,hG,function(s,i,a,c){o[o.length]=a?rR(c,gG,"$1"):i||s}),o},_G=function(t,r){var n=t,o;if(Ad(tR,n)&&(o=tR[n],n="%"+o[0]+"%"),Ad(Bo,n)){var s=Bo[n];if(s===Ti&&(s=fG(n)),typeof s=="undefined"&&!r)throw new Ii("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:s}}throw new xi("intrinsic "+t+" does not exist!")};iR.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Ii("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Ii('"allowMissing" argument must be a boolean');if(mG(/^%?[^%]*%?$/,t)===null)throw new xi("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=yG(t),o=n.length>0?n[0]:"",s=_G("%"+o+"%",r),i=s.name,a=s.value,c=!1,u=s.alias;u&&(o=u[0],pG(n,dG([0,1],u)));for(var l=1,f=!0;l<n.length;l+=1){var p=n[l],m=Nd(p,0,1),h=Nd(p,-1);if((m==='"'||m==="'"||m==="`"||h==='"'||h==="'"||h==="`")&&m!==h)throw new xi("property names with quotes must have matching quotes");if((p==="constructor"||!f)&&(c=!0),o+="."+p,i="%"+o+"%",Ad(Bo,i))a=Bo[i];else if(a!=null){if(!(p in a)){if(!r)throw new Ii("base intrinsic for "+t+" exists, but the property is not available.");return}if(Kc&&l+1>=n.length){var _=Kc(a,p);f=!!_,f&&"get"in _&&!("originalValue"in _.get)?a=_.get:a=a[p]}else f=Ad(a,p),a=a[p];f&&!c&&(Bo[i]=a)}}return a}});var W_=v((ISe,aR)=>{"use strict";var SG=wi(),z_=SG("%Object.defineProperty%",!0),V_=function(){if(z_)try{return z_({},"a",{value:1}),!0}catch(t){return!1}return!1};V_.hasArrayLengthDefineBug=function(){if(!V_())return null;try{return z_([],"length",{value:1}).length!==1}catch(t){return!0}};aR.exports=V_});var lR=v((xSe,uR)=>{"use strict";var EG=W_()(),K_=wi(),Xc=EG&&K_("%Object.defineProperty%",!0);if(Xc)try{Xc({},"a",{value:1})}catch(e){Xc=!1}var bG=K_("%SyntaxError%"),Ci=K_("%TypeError%"),cR=Ei();uR.exports=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Ci("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Ci("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Ci("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Ci("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Ci("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Ci("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,c=!!cR&&cR(t,r);if(Xc)Xc(t,r,{configurable:i===null&&c?c.configurable:!i,enumerable:o===null&&c?c.enumerable:!o,value:n,writable:s===null&&c?c.writable:!s});else if(a||!o&&!s&&!i)t[r]=n;else throw new bG("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var gR=v((wSe,hR)=>{"use strict";var mR=wi(),fR=lR(),vG=W_()(),dR=Ei(),pR=mR("%TypeError%"),TG=mR("%Math.floor%");hR.exports=function(t,r){if(typeof t!="function")throw new pR("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||TG(r)!==r)throw new pR("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,s=!0;if("length"in t&&dR){var i=dR(t,"length");i&&!i.configurable&&(o=!1),i&&!i.writable&&(s=!1)}return(o||s||!n)&&(vG?fR(t,"length",r,!0,!0):fR(t,"length",r)),t}});var J_=v((CSe,Pd)=>{"use strict";var Y_=bi(),Oi=wi(),IG=gR(),xG=Oi("%TypeError%"),_R=Oi("%Function.prototype.apply%"),SR=Oi("%Function.prototype.call%"),ER=Oi("%Reflect.apply%",!0)||Y_.call(SR,_R),Zc=Oi("%Object.defineProperty%",!0),wG=Oi("%Math.max%");if(Zc)try{Zc({},"a",{value:1})}catch(e){Zc=null}Pd.exports=function(t){if(typeof t!="function")throw new xG("a function is required");var r=ER(Y_,SR,arguments);return IG(r,1+wG(0,t.length-(arguments.length-1)),!0)};var yR=function(){return ER(Y_,_R,arguments)};Zc?Zc(Pd.exports,"apply",{value:yR}):Pd.exports.apply=yR});var X_=v((OSe,TR)=>{"use strict";var bR=wi(),vR=J_(),CG=vR(bR("String.prototype.indexOf"));TR.exports=function(t,r){var n=bR(t,!!r);return typeof n=="function"&&CG(t,".prototype.")>-1?vR(n):n}});var wR=v((RSe,xR)=>{"use strict";var OG=Cd()(),RG=X_(),Z_=RG("Object.prototype.toString"),$d=function(t){return OG&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Z_(t)==="[object Arguments]"},IR=function(t){return $d(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Z_(t)!=="[object Array]"&&Z_(t.callee)==="[object Function]"},kG=function(){return $d(arguments)}();$d.isLegacyArguments=IR;xR.exports=kG?$d:IR});var RR=v((kSe,OR)=>{"use strict";var AG=Object.prototype.toString,NG=Function.prototype.toString,PG=/^\s*(?:function)?\*/,CR=Cd()(),Q_=Object.getPrototypeOf,$G=function(){if(!CR)return!1;try{return Function("return function*() {}")()}catch(e){}},eS;OR.exports=function(t){if(typeof t!="function")return!1;if(PG.test(NG.call(t)))return!0;if(!CR){var r=AG.call(t);return r==="[object GeneratorFunction]"}if(!Q_)return!1;if(typeof eS=="undefined"){var n=$G();eS=n?Q_(n):!1}return Q_(t)===eS}});var PR=v((ASe,NR)=>{"use strict";var AR=Function.prototype.toString,Ri=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,rS,Dd;if(typeof Ri=="function"&&typeof Object.defineProperty=="function")try{rS=Object.defineProperty({},"length",{get:function(){throw Dd}}),Dd={},Ri(function(){throw 42},null,rS)}catch(e){e!==Dd&&(Ri=null)}else Ri=null;var DG=/^\s*class\b/,nS=function(t){try{var r=AR.call(t);return DG.test(r)}catch(n){return!1}},tS=function(t){try{return nS(t)?!1:(AR.call(t),!0)}catch(r){return!1}},Md=Object.prototype.toString,MG="[object Object]",LG="[object Function]",FG="[object GeneratorFunction]",jG="[object HTMLAllCollection]",BG="[object HTML document.all class]",UG="[object HTMLCollection]",HG=typeof Symbol=="function"&&!!Symbol.toStringTag,qG=!(0 in[,]),oS=function(){return!1};typeof document=="object"&&(kR=document.all,Md.call(kR)===Md.call(document.all)&&(oS=function(t){if((qG||!t)&&(typeof t=="undefined"||typeof t=="object"))try{var r=Md.call(t);return(r===jG||r===BG||r===UG||r===MG)&&t("")==null}catch(n){}return!1}));var kR;NR.exports=Ri?function(t){if(oS(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{Ri(t,null,rS)}catch(r){if(r!==Dd)return!1}return!nS(t)&&tS(t)}:function(t){if(oS(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(HG)return tS(t);if(nS(t))return!1;var r=Md.call(t);return r!==LG&&r!==FG&&!/^\[object HTML/.test(r)?!1:tS(t)}});var MR=v((NSe,DR)=>{"use strict";var GG=PR(),zG=Object.prototype.toString,$R=Object.prototype.hasOwnProperty,VG=function(t,r,n){for(var o=0,s=t.length;o<s;o++)$R.call(t,o)&&(n==null?r(t[o],o,t):r.call(n,t[o],o,t))},WG=function(t,r,n){for(var o=0,s=t.length;o<s;o++)n==null?r(t.charAt(o),o,t):r.call(n,t.charAt(o),o,t)},KG=function(t,r,n){for(var o in t)$R.call(t,o)&&(n==null?r(t[o],o,t):r.call(n,t[o],o,t))},YG=function(t,r,n){if(!GG(r))throw new TypeError("iterator must be a function");var o;arguments.length>=3&&(o=n),zG.call(t)==="[object Array]"?VG(t,r,o):typeof t=="string"?WG(t,r,o):KG(t,r,o)};DR.exports=YG});var FR=v((PSe,LR)=>{"use strict";var sS=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],JG=typeof globalThis=="undefined"?global:globalThis;LR.exports=function(){for(var t=[],r=0;r<sS.length;r++)typeof JG[sS[r]]=="function"&&(t[t.length]=sS[r]);return t}});var lS=v(($Se,HR)=>{"use strict";var Fd=MR(),XG=FR(),jR=J_(),cS=X_(),Ld=Ei(),ZG=cS("Object.prototype.toString"),UR=Cd()(),BR=typeof globalThis=="undefined"?global:globalThis,aS=XG(),uS=cS("String.prototype.slice"),iS=Object.getPrototypeOf,QG=cS("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},jd={__proto__:null};UR&&Ld&&iS?Fd(aS,function(e){var t=new BR[e];if(Symbol.toStringTag in t){var r=iS(t),n=Ld(r,Symbol.toStringTag);if(!n){var o=iS(r);n=Ld(o,Symbol.toStringTag)}jd["$"+e]=jR(n.get)}}):Fd(aS,function(e){var t=new BR[e],r=t.slice||t.set;r&&(jd["$"+e]=jR(r))});var e9=function(t){var r=!1;return Fd(jd,function(n,o){if(!r)try{"$"+n(t)===o&&(r=uS(o,1))}catch(s){}}),r},t9=function(t){var r=!1;return Fd(jd,function(n,o){if(!r)try{n(t),r=uS(o,1)}catch(s){}}),r};HR.exports=function(t){if(!t||typeof t!="object")return!1;if(!UR){var r=uS(ZG(t),8,-1);return QG(aS,r)>-1?r:r!=="Object"?!1:t9(t)}return Ld?e9(t):null}});var GR=v((DSe,qR)=>{"use strict";var r9=lS();qR.exports=function(t){return!!r9(t)}});var ok=v(X=>{"use strict";var n9=wR(),o9=RR(),mr=lS(),zR=GR();function ki(e){return e.call.bind(e)}var VR=typeof BigInt!="undefined",WR=typeof Symbol!="undefined",zt=ki(Object.prototype.toString),s9=ki(Number.prototype.valueOf),i9=ki(String.prototype.valueOf),a9=ki(Boolean.prototype.valueOf);VR&&(KR=ki(BigInt.prototype.valueOf));var KR;WR&&(YR=ki(Symbol.prototype.valueOf));var YR;function eu(e,t){if(typeof e!="object")return!1;try{return t(e),!0}catch(r){return!1}}X.isArgumentsObject=n9;X.isGeneratorFunction=o9;X.isTypedArray=zR;function c9(e){return typeof Promise!="undefined"&&e instanceof Promise||e!==null&&typeof e=="object"&&typeof e.then=="function"&&typeof e.catch=="function"}X.isPromise=c9;function u9(e){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(e):zR(e)||XR(e)}X.isArrayBufferView=u9;function l9(e){return mr(e)==="Uint8Array"}X.isUint8Array=l9;function f9(e){return mr(e)==="Uint8ClampedArray"}X.isUint8ClampedArray=f9;function d9(e){return mr(e)==="Uint16Array"}X.isUint16Array=d9;function p9(e){return mr(e)==="Uint32Array"}X.isUint32Array=p9;function m9(e){return mr(e)==="Int8Array"}X.isInt8Array=m9;function h9(e){return mr(e)==="Int16Array"}X.isInt16Array=h9;function g9(e){return mr(e)==="Int32Array"}X.isInt32Array=g9;function y9(e){return mr(e)==="Float32Array"}X.isFloat32Array=y9;function _9(e){return mr(e)==="Float64Array"}X.isFloat64Array=_9;function S9(e){return mr(e)==="BigInt64Array"}X.isBigInt64Array=S9;function E9(e){return mr(e)==="BigUint64Array"}X.isBigUint64Array=E9;function Bd(e){return zt(e)==="[object Map]"}Bd.working=typeof Map!="undefined"&&Bd(new Map);function b9(e){return typeof Map=="undefined"?!1:Bd.working?Bd(e):e instanceof Map}X.isMap=b9;function Ud(e){return zt(e)==="[object Set]"}Ud.working=typeof Set!="undefined"&&Ud(new Set);function v9(e){return typeof Set=="undefined"?!1:Ud.working?Ud(e):e instanceof Set}X.isSet=v9;function Hd(e){return zt(e)==="[object WeakMap]"}Hd.working=typeof WeakMap!="undefined"&&Hd(new WeakMap);function T9(e){return typeof WeakMap=="undefined"?!1:Hd.working?Hd(e):e instanceof WeakMap}X.isWeakMap=T9;function dS(e){return zt(e)==="[object WeakSet]"}dS.working=typeof WeakSet!="undefined"&&dS(new WeakSet);function I9(e){return dS(e)}X.isWeakSet=I9;function qd(e){return zt(e)==="[object ArrayBuffer]"}qd.working=typeof ArrayBuffer!="undefined"&&qd(new ArrayBuffer);function JR(e){return typeof ArrayBuffer=="undefined"?!1:qd.working?qd(e):e instanceof ArrayBuffer}X.isArrayBuffer=JR;function Gd(e){return zt(e)==="[object DataView]"}Gd.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&Gd(new DataView(new ArrayBuffer(1),0,1));function XR(e){return typeof DataView=="undefined"?!1:Gd.working?Gd(e):e instanceof DataView}X.isDataView=XR;var fS=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function Qc(e){return zt(e)==="[object SharedArrayBuffer]"}function ZR(e){return typeof fS=="undefined"?!1:(typeof Qc.working=="undefined"&&(Qc.working=Qc(new fS)),Qc.working?Qc(e):e instanceof fS)}X.isSharedArrayBuffer=ZR;function x9(e){return zt(e)==="[object AsyncFunction]"}X.isAsyncFunction=x9;function w9(e){return zt(e)==="[object Map Iterator]"}X.isMapIterator=w9;function C9(e){return zt(e)==="[object Set Iterator]"}X.isSetIterator=C9;function O9(e){return zt(e)==="[object Generator]"}X.isGeneratorObject=O9;function R9(e){return zt(e)==="[object WebAssembly.Module]"}X.isWebAssemblyCompiledModule=R9;function QR(e){return eu(e,s9)}X.isNumberObject=QR;function ek(e){return eu(e,i9)}X.isStringObject=ek;function tk(e){return eu(e,a9)}X.isBooleanObject=tk;function rk(e){return VR&&eu(e,KR)}X.isBigIntObject=rk;function nk(e){return WR&&eu(e,YR)}X.isSymbolObject=nk;function k9(e){return QR(e)||ek(e)||tk(e)||rk(e)||nk(e)}X.isBoxedPrimitive=k9;function A9(e){return typeof Uint8Array!="undefined"&&(JR(e)||ZR(e))}X.isAnyArrayBuffer=A9;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(X,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})});var ik=v((LSe,sk)=>{sk.exports=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"}});var ak=v((FSe,pS)=>{typeof Object.create=="function"?pS.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:pS.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var dk=v(Z=>{var ck=Object.getOwnPropertyDescriptors||function(t){for(var r=Object.keys(t),n={},o=0;o<r.length;o++)n[r[o]]=Object.getOwnPropertyDescriptor(t,r[o]);return n},N9=/%[sdj%]/g;Z.format=function(e){if(!Jd(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Un(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,o=n.length,s=String(e).replace(N9,function(a){if(a==="%%")return"%";if(r>=o)return a;switch(a){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(c){return"[Circular]"}default:return a}}),i=n[r];r<o;i=n[++r])Yd(i)||!Ai(i)?s+=" "+i:s+=" "+Un(i);return s};Z.deprecate=function(e,t){if(typeof process!="undefined"&&process.noDeprecation===!0)return e;if(typeof process=="undefined")return function(){return Z.deprecate(e,t).apply(this,arguments)};var r=!1;function n(){if(!r){if(process.throwDeprecation)throw new Error(t);process.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return n};var zd={},P9=/^$/;Z.debuglog=function(e){if(e=e.toUpperCase(),!zd[e])if(P9.test(e)){var t=process.pid;zd[e]=function(){var r=Z.format.apply(Z,arguments);console.error("%s %d: %s",e,t,r)}}else zd[e]=function(){};return zd[e]};function Un(e,t){var r={seen:[],stylize:D9};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),yS(t)?r.showHidden=t:t&&Z._extend(r,t),Ho(r.showHidden)&&(r.showHidden=!1),Ho(r.depth)&&(r.depth=2),Ho(r.colors)&&(r.colors=!1),Ho(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=$9),Wd(r,e,r.depth)}Z.inspect=Un;Un.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};Un.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function $9(e,t){var r=Un.styles[t];return r?"\x1B["+Un.colors[r][0]+"m"+e+"\x1B["+Un.colors[r][1]+"m":e}function D9(e,t){return e}function M9(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}function Wd(e,t,r){if(e.customInspect&&t&&Vd(t.inspect)&&t.inspect!==Z.inspect&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return Jd(n)||(n=Wd(e,n,r)),n}var o=L9(e,t);if(o)return o;var s=Object.keys(t),i=M9(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),ru(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return mS(t);if(s.length===0){if(Vd(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(tu(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Kd(t))return e.stylize(Date.prototype.toString.call(t),"date");if(ru(t))return mS(t)}var c="",u=!1,l=["{","}"];if(uk(t)&&(u=!0,l=["[","]"]),Vd(t)){var f=t.name?": "+t.name:"";c=" [Function"+f+"]"}if(tu(t)&&(c=" "+RegExp.prototype.toString.call(t)),Kd(t)&&(c=" "+Date.prototype.toUTCString.call(t)),ru(t)&&(c=" "+mS(t)),s.length===0&&(!u||t.length==0))return l[0]+c+l[1];if(r<0)return tu(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var p;return u?p=F9(e,t,r,i,s):p=s.map(function(m){return gS(e,t,r,i,m,u)}),e.seen.pop(),j9(p,c,l)}function L9(e,t){if(Ho(t))return e.stylize("undefined","undefined");if(Jd(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(lk(t))return e.stylize(""+t,"number");if(yS(t))return e.stylize(""+t,"boolean");if(Yd(t))return e.stylize("null","null")}function mS(e){return"["+Error.prototype.toString.call(e)+"]"}function F9(e,t,r,n,o){for(var s=[],i=0,a=t.length;i<a;++i)fk(t,String(i))?s.push(gS(e,t,r,n,String(i),!0)):s.push("");return o.forEach(function(c){c.match(/^\d+$/)||s.push(gS(e,t,r,n,c,!0))}),s}function gS(e,t,r,n,o,s){var i,a,c;if(c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]},c.get?c.set?a=e.stylize("[Getter/Setter]","special"):a=e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),fk(n,o)||(i="["+o+"]"),a||(e.seen.indexOf(c.value)<0?(Yd(r)?a=Wd(e,c.value,null):a=Wd(e,c.value,r-1),a.indexOf(`
`)>-1&&(s?a=a.split(`
`).map(function(u){return" "+u}).join(`
`).slice(2):a=`
`+a.split(`
`).map(function(u){return" "+u}).join(`
`))):a=e.stylize("[Circular]","special")),Ho(i)){if(s&&o.match(/^\d+$/))return a;i=JSON.stringify(""+o),i.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.slice(1,-1),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+a}function j9(e,t,r){var n=0,o=e.reduce(function(s,i){return n++,i.indexOf(`
`)>=0&&n++,s+i.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?r[0]+(t===""?"":t+`
`)+" "+e.join(`,
`)+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}Z.types=ok();function uk(e){return Array.isArray(e)}Z.isArray=uk;function yS(e){return typeof e=="boolean"}Z.isBoolean=yS;function Yd(e){return e===null}Z.isNull=Yd;function B9(e){return e==null}Z.isNullOrUndefined=B9;function lk(e){return typeof e=="number"}Z.isNumber=lk;function Jd(e){return typeof e=="string"}Z.isString=Jd;function U9(e){return typeof e=="symbol"}Z.isSymbol=U9;function Ho(e){return e===void 0}Z.isUndefined=Ho;function tu(e){return Ai(e)&&_S(e)==="[object RegExp]"}Z.isRegExp=tu;Z.types.isRegExp=tu;function Ai(e){return typeof e=="object"&&e!==null}Z.isObject=Ai;function Kd(e){return Ai(e)&&_S(e)==="[object Date]"}Z.isDate=Kd;Z.types.isDate=Kd;function ru(e){return Ai(e)&&(_S(e)==="[object Error]"||e instanceof Error)}Z.isError=ru;Z.types.isNativeError=ru;function Vd(e){return typeof e=="function"}Z.isFunction=Vd;function H9(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e=="undefined"}Z.isPrimitive=H9;Z.isBuffer=ik();function _S(e){return Object.prototype.toString.call(e)}function hS(e){return e<10?"0"+e.toString(10):e.toString(10)}var q9=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function G9(){var e=new Date,t=[hS(e.getHours()),hS(e.getMinutes()),hS(e.getSeconds())].join(":");return[e.getDate(),q9[e.getMonth()],t].join(" ")}Z.log=function(){console.log("%s - %s",G9(),Z.format.apply(Z,arguments))};Z.inherits=ak();Z._extend=function(e,t){if(!t||!Ai(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};function fk(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Uo=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;Z.promisify=function(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(Uo&&t[Uo]){var r=t[Uo];if(typeof r!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,Uo,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var n,o,s=new Promise(function(c,u){n=c,o=u}),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push(function(c,u){c?o(c):n(u)});try{t.apply(this,i)}catch(c){o(c)}return s}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Uo&&Object.defineProperty(r,Uo,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,ck(t))};Z.promisify.custom=Uo;function z9(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function V9(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');function t(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var o=r.pop();if(typeof o!="function")throw new TypeError("The last argument must be of type Function");var s=this,i=function(){return o.apply(s,arguments)};e.apply(this,r).then(function(a){process.nextTick(i.bind(null,null,a))},function(a){process.nextTick(z9.bind(null,a,i))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,ck(e)),t}Z.callbackify=V9});var Ck=v((wk,Qd)=>{(function(e,t){"use strict";typeof Qd=="object"&&typeof Qd.exports=="object"?Qd.exports=t():typeof define=="function"&&define.amd?define([],t):e.objectPath=t()})(wk,function(){"use strict";var e=Object.prototype.toString;function t(l,f){return l==null?!1:Object.prototype.hasOwnProperty.call(l,f)}function r(l){if(!l||s(l)&&l.length===0)return!0;if(typeof l!="string"){for(var f in l)if(t(l,f))return!1;return!0}return!1}function n(l){return e.call(l)}function o(l){return typeof l=="object"&&n(l)==="[object Object]"}var s=Array.isArray||function(l){return e.call(l)==="[object Array]"};function i(l){return typeof l=="boolean"||n(l)==="[object Boolean]"}function a(l){var f=parseInt(l);return f.toString()===l?f:l}function c(l){l=l||{};var f=function(y){return Object.keys(f).reduce(function(g,S){return S==="create"||typeof f[S]=="function"&&(g[S]=f[S].bind(f,y)),g},{})},p;l.includeInheritedProps?p=function(){return!0}:p=function(y,g){return typeof g=="number"&&Array.isArray(y)||t(y,g)};function m(y,g){if(p(y,g))return y[g]}var h;l.includeInheritedProps?h=function(y,g){typeof g!="string"&&typeof g!="number"&&(g=String(g));var S=m(y,g);if(g==="__proto__"||g==="prototype"||g==="constructor"&&typeof S=="function")throw new Error("For security reasons, object's magic properties cannot be set");return S}:h=function(y,g){return m(y,g)};function _(y,g,S,T){if(typeof g=="number"&&(g=[g]),!g||g.length===0)return y;if(typeof g=="string")return _(y,g.split(".").map(a),S,T);var x=g[0],I=h(y,x);return g.length===1?((I===void 0||!T)&&(y[x]=S),I):(I===void 0&&(typeof g[1]=="number"?y[x]=[]:y[x]={}),_(y[x],g.slice(1),S,T))}return f.has=function(y,g){if(typeof g=="number"?g=[g]:typeof g=="string"&&(g=g.split(".")),!g||g.length===0)return!!y;for(var S=0;S<g.length;S++){var T=a(g[S]);if(typeof T=="number"&&s(y)&&T<y.length||(l.includeInheritedProps?T in Object(y):t(y,T)))y=y[T];else return!1}return!0},f.ensureExists=function(y,g,S){return _(y,g,S,!0)},f.set=function(y,g,S,T){return _(y,g,S,T)},f.insert=function(y,g,S,T){var x=f.get(y,g);T=~~T,s(x)||(x=[],f.set(y,g,x)),x.splice(T,0,S)},f.empty=function(y,g){if(!r(g)&&y!=null){var S,T;if(S=f.get(y,g)){if(typeof S=="string")return f.set(y,g,"");if(i(S))return f.set(y,g,!1);if(typeof S=="number")return f.set(y,g,0);if(s(S))S.length=0;else if(o(S))for(T in S)p(S,T)&&delete S[T];else return f.set(y,g,null)}}},f.push=function(y,g){var S=f.get(y,g);s(S)||(S=[],f.set(y,g,S)),S.push.apply(S,Array.prototype.slice.call(arguments,2))},f.coalesce=function(y,g,S){for(var T,x=0,I=g.length;x<I;x++)if((T=f.get(y,g[x]))!==void 0)return T;return S},f.get=function(y,g,S){if(typeof g=="number"&&(g=[g]),!g||g.length===0)return y;if(y==null)return S;if(typeof g=="string")return f.get(y,g.split("."),S);var T=a(g[0]),x=h(y,T);return x===void 0?S:g.length===1?x:f.get(y[T],g.slice(1),S)},f.del=function(g,S){if(typeof S=="number"&&(S=[S]),g==null||r(S))return g;if(typeof S=="string")return f.del(g,S.split("."));var T=a(S[0]);if(h(g,T),!p(g,T))return g;if(S.length===1)s(g)?g.splice(T,1):delete g[T];else return f.del(g[T],S.slice(1));return g},f}var u=c();return u.create=c,u.withInheritedProps=c({includeInheritedProps:!0}),u})});var Rk=v(bS=>{"use strict";bS.__esModule=!0;var ep=function(e){return typeof e=="object"&&e!==null&&e.toString()==={}.toString()},tp=function(e){return JSON.parse(JSON.stringify(e))},ES=function(e,t){e=tp(e);for(var r in t)t.hasOwnProperty(r)&&(ep(e[r])&&ep(t[r])?e[r]=ES(e[r],t[r]):e[r]=t[r]);return e},Ok=function(e,t){var r=e.replace(/^#\/definitions\//,"").split("/"),n=function(s,i){var a=s.shift();return a===void 0||!i[a]?{}:s.length?n(s,i[a]):i[a]},o=n(r,t);return ep(o)?tp(o):o},y4=function(e,t){for(var r=e.length,n=-1,o={};++n<r;){var s=e[n];s=typeof s.$ref!="undefined"?Ok(s.$ref,t):s,o=ES(o,s)}return o},$i=function(e,t){if(typeof e.default!="undefined")return e.default;if(typeof e.allOf!="undefined"){var r=y4(e.allOf,t);return $i(r,t)}else if(typeof e.$ref!="undefined"){var n=Ok(e.$ref,t);return $i(n,t)}else if(e.type==="object"){if(!e.properties)return{};for(var o in e.properties)e.properties.hasOwnProperty(o)&&(e.properties[o]=$i(e.properties[o],t),typeof e.properties[o]=="undefined"&&delete e.properties[o]);return e.properties}else if(e.type==="array"){if(!e.items)return[];var s=e.minItems||0;if(e.items.constructor===Array){for(var i=e.items.map(function(u){return $i(u,t)}),a=i.length-1;a>=0&&typeof i[a]=="undefined";a--)a+1>s&&i.pop();return i}var c=$i(e.items,t);if(typeof c=="undefined")return[];for(var i=[],a=0;a<Math.max(1,s);a++)i.push(tp(c));return i}};function _4(e,t){var r;return typeof t=="undefined"?t=(r=e.definitions)!==null&&r!==void 0?r:{}:ep(e.definitions)&&(t=ES(t,e.definitions)),$i(tp(e),t)}bS.default=_4});var kk=v(Di=>{"use strict";var S4=Di&&Di.__createBinding||(Object.creat