| 14 | optional arguments:`),t.forEach(c),process.exit()},c=()=>{console.log(i._program.version),process.exit()},u=e=>{s(),console.log(i._program.name+":","error:",e),process.exit(1)};e.exports=i},4025:(e,t,r)=>{"use strict";var i=r(697),o=r(1196),s=r(1999),a=r(7854);i({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return o(a,this,s(e))}})},4037:e=>{e.exports=function e(t,r){if(t&&r)return e(t)(r);if("function"!=typeof t)throw TypeError("need wrapper function");return Object.keys(t).forEach(function(e){i[e]=t[e]}),i;function i(){for(var e=Array(arguments.length),r=0;r<e.length;r++)e[r]=arguments[r];var i=t.apply(this,e),o=e[e.length-1];return"function"==typeof i&&i!==o&&Object.keys(o).forEach(function(e){i[e]=o[e]}),i}}},4045:e=>{"use strict";let t="undefined"!=typeof Buffer,r=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,i=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function o(e,o,a){null==a&&(null!==o&&"object"==typeof o?(a=o,o=void 0):a={});let c=a.protoAction||"error",u=a.constructorAction||"error";t&&Buffer.isBuffer(e)&&(e=e.toString()),e&&65279===e.charCodeAt(0)&&(e=e.slice(1));let l=JSON.parse(e,o);if("ignore"===c&&"ignore"===u||null===l||"object"!=typeof l)return l;if("ignore"!==c&&"ignore"!==u){if(!1===r.test(e)&&!1===i.test(e))return l}else if("ignore"!==c&&"ignore"===u){if(!1===r.test(e))return l}else if(!1===i.test(e))return l;return s(l,{protoAction:c,constructorAction:u}),l}function s(e,{protoAction:t="error",constructorAction:r="error"}={}){let i=[e];for(;i.length;){let e=i;for(let o of(i=[],e)){if("ignore"!==t&&Object.prototype.hasOwnProperty.call(o,"__proto__")){if("error"===t)throw SyntaxError("Object contains forbidden prototype property");delete o.__proto__}if("ignore"!==r&&Object.prototype.hasOwnProperty.call(o,"constructor")&&Object.prototype.hasOwnProperty.call(o.constructor,"prototype")){if("error"===r)throw SyntaxError("Object contains forbidden prototype property");delete o.constructor}for(let e in o){let t=o[e];t&&"object"==typeof t&&i.push(o[e])}}}}e.exports={parse:o,scan:s,safeParse:function(e,t){try{return o(e,t)}catch(e){return null}}}},4068:(e,t,r)=>{"use strict";e.exports=!r(6078)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},4099:(e,t,r)=>{"use strict";r(2262)},4164:(e,t,r)=>{"use strict";var i=r(8585),o=r(8142),s=r(8295);e.exports=i?function(e,t,r){return o.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}},4214:(e,t,r)=>{"use strict";var i=r(3746),o=r(2870),s=r(8034),a=r(8078),c=r(6728),u=a("iterator"),l=Object;e.exports=function(e){if(s(e))return!1;var t=l(e);return void 0!==t[u]||"@@iterator"in t||o(c,i(t))}},4249:e=>{"use strict";e.exports={DATE_FORMAT:"yyyy-mm-dd HH:MM:ss.l o",ERROR_LIKE_KEYS:["err","error"],MESSAGE_KEY:"msg",LEVEL_KEY:"level",LEVEL_LABEL:"levelLabel",TIMESTAMP_KEY:"time",LEVELS:{default:"USERLVL",60:"FATAL",50:"ERROR",40:"WARN",30:"INFO",20:"DEBUG",10:"TRACE"},LEVEL_NAMES:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},LOGGER_KEYS:["pid","hostname","name","level","time","timestamp","caller"]}},4264:e=>{"use strict";e.exports=function(e){try{var t=new Set,r=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return 1===r.size&&4===r.values().next().value}catch(e){return!1}}},4285:(e,t,r)=>{"use strict";var i=r(8173),o=r(8348),s=r(6465),a=s.Map,c=s.proto,u=i(c.forEach),l=i(c.entries),f=l(new a).next;e.exports=function(e,t,r){return r?o({iterator:l(e),next:f},function(e){return t(e[1],e[0])}):u(e,t)}},4296:(e,t,r)=>{"use strict";var i=r(4526),o=r(9384);e.exports=function(e,t,r,s){try{return s?t(i(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},4298:(e,t,r)=>{"use strict";var i=r(2025),o=r(3531),s=i.document,a=o(s)&&o(s.createElement);e.exports=function(e){return a?s.createElement(e):{}}},4314:(e,t,r)=>{"use strict";var i=r(4164),o=r(992),s=r(3354),a=Error.captureStackTrace;e.exports=function(e,t,r,c){s&&(a?a(e,t):i(e,"stack",o(r,c)))}},4337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(7784),r(2448),r(1202),r(8795),r(8422),r(4500),r(488),r(9158),r(1808),r(1933),r(1501),r(8255),r(6925),r(3416),r(777),r(5410),r(8528),r(8222),r(8727),r(2862),r(3621),r(2122),r(3060),r(8770),r(4850),r(2552),r(2736),r(9437),r(8096),r(8966),r(4025),r(5590),r(3543),r(3367),r(9193),r(5921),r(5239),r(5962),r(3172);let{EventEmitter:i}=r(4434),{logScope:o}=r(6166),s=o("cache"),a={CLEANUP:"cs@cleanup"};class c extends i{id="Default Cache Storage";cacheMap=new Map;aliveDuration=18e5;constructor(e){super(),e&&(this.id=e),this.on(a.CLEANUP,async()=>this.removeExpiredCache())}get WillExpireAt(){return Date.now()+this.aliveDuration}getLoggerContext(e={}){return{...e,cacheStorageId:this.id}}removeExpiredCache(){s.debug(this.getLoggerContext(),"Cleaning up the expired caches..."),this.cacheMap.forEach((e,t)=>{e.expireAt<=Date.now()&&this.cacheMap.delete(t)})}async cache(e,t,r){if("true"===process.env.NO_CACHE)return t();this.emit(a.CLEANUP);let i=this.cacheMap.get(e),o="object"==typeof e?"Something":e,c=this.getLoggerContext({logKey:o});if(i)return s.debug(c,`${o} hit!`),i.data;s.debug(c,`${o} did not hit. Storing the execution result...`);let u=await t();return this.cacheMap.set(e,{data:u,expireAt:new Date(r||this.WillExpireAt)}),u}}class u{static instance=void 0;cacheStorages=new Set;constructor(){}static getInstance(){return u.instance||(u.instance=new u),u.instance}cleanup(){this.cacheStorages.forEach(e=>e.removeExpiredCache())}}let l=u.getInstance();e.exports={CacheStorage:c,CacheStorageEvents:a,CacheStorageGroup:u,getManagedCacheStorage:function(e){let t=new c(e);return l.cacheStorages.add(t),t}}},4359:(e,t,r)=>{"use strict";var i=r(697),o=r(1196),s=r(3845),a=r(5869),c=r(4526),u=r(6718),l=r(9384),f=r(8918)("find",TypeError);i({target:"Iterator",proto:!0,real:!0,forced:f},{find:function(e){c(this);try{a(e)}catch(e){l(this,"throw",e)}if(f)return o(f,this,e);var t=u(this),r=0;return s(t,function(t,i){if(e(t,r++))return i(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},4429:(e,t,r)=>{"use strict";e.exports=r(2436)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4434:e=>{"use strict";e.exports=require("events")},4500:(e,t,r)=>{"use strict";var i=r(697),o=r(4689),s=r(2675),a=r(4285);i({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=s(this),r=o(e,arguments.length>1?arguments[1]:void 0),i=a(t,function(e,i){if(r(e,i,t))return{key:i}},!0);return i&&i.key}})},4526:(e,t,r)=>{"use strict";var i=r(3531),o=String,s=TypeError;e.exports=function(e){if(i(e))return e;throw new s(o(e)+" is not an object")}},4554:(e,t,r)=>{"use strict";var i=r(2250),o=r(2025),s=r(722),a="__core-js_shared__",c=e.exports=o[a]||s(a,{});(c.versions||(c.versions=[])).push({version:"3.45.1",mode:i?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4563:(e,t,r)=>{"use strict";var i=r(1196),o=r(6880),s=r(3531),a=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&o(r=e.toString)&&!s(c=i(r,e))||o(r=e.valueOf)&&!s(c=i(r,e))||"string"!==t&&o(r=e.toString)&&!s(c=i(r,e)))return c;throw new a("Can't convert object to primitive value")}},4614:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},4649:(e,t,r)=>{"use strict";var i=r(1262),o=r(8142);e.exports=function(e,t,r){return r.get&&i(r.get,t,{getter:!0}),r.set&&i(r.set,t,{setter:!0}),o.f(e,t,r)}},4689:(e,t,r)=>{"use strict";var i=r(6799),o=r(5869),s=r(1651),a=i(i.bind);e.exports=function(e,t){return o(e),void 0===t?e:s?a(e,t):function(){return e.apply(t,arguments)}}},4690:(e,t,r)=>{"use strict";var i=r(8381),o=r(3531),s=r(3561),a=r(9853);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=i(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return s(r),a(i),o(r)&&(t?e(r,i):r.__proto__=i),r}}():void 0)},4823:(e,t,r)=>{"use strict";var i=r(8078)("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var s={};s[i]=function(){return{next:function(){return{done:r=!0}}}},e(s)}catch(e){}return r}},4833:(e,t,r)=>{"use strict";var i=r(8173),o=r(6880),s=r(4554),a=i(Function.toString);o(s.inspectSource)||(s.inspectSource=function(e){return a(e)}),e.exports=s.inspectSource},4850:(e,t,r)=>{"use strict";var i=r(697),o=r(5773),s=r(487).remove;i({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=o(this),r=!0,i=0,a=arguments.length;i<a;i++)e=s(t,arguments[i]),r=r&&e;return!!r}})},4914:(e,t,r)=>{"use strict";r(4359)},4942:(e,t,r)=>{"use strict";var i=r(2025),o=r(6078),s=i.RegExp;e.exports={correct:!o(function(){var e=!0;try{s(".","d")}catch(t){e=!1}var t={},r="",i=e?"dgimsy":"gimsy",o=function(e,i){Object.defineProperty(t,e,{get:function(){return r+=i,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var c in e&&(a.hasIndices="d"),a)o(c,a[c]);return Object.getOwnPropertyDescriptor(s.prototype,"flags").get.call(t)!==i||r!==i})}},5032:(e,t,r)=>{"use strict";var i=r(3561),o=Object;e.exports=function(e){return o(i(e))}},5092:e=>{"use strict";e.exports=function(e,t){return e===t||e!=e&&t!=t}},5117:e=>{"use strict";e.exports=function(e){let{secret:t,censor:r,compileRestore:i,serialize:o,groupRedact:s,nestedRedact:a,wildcards:c,wcLen:u}=e,l=[{secret:t,censor:r,compileRestore:i}];return!1!==o&&l.push({serialize:o}),u>0&&l.push({groupRedact:s,nestedRedact:a,wildcards:c,wcLen:u}),Object.assign(...l)}},5212:(e,t,r)=>{"use strict";var i=r(8585),o=r(1196),s=r(1852),a=r(8295),c=r(1512),u=r(148),l=r(2870),f=r(5698),p=Object.getOwnPropertyDescriptor;t.f=i?p:function(e,t){if(e=c(e),t=u(t),f)try{return p(e,t)}catch(e){}if(l(e,t))return a(!o(s.f,e,t),e[t])}},5228:(e,t,r)=>{"use strict";var i=r(7776),o=r(8173),s=r(833),a=r(9232),c=r(4526),u=o([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=s.f(c(e)),r=a.f;return r?u(t,r(e)):t}},5239:(e,t,r)=>{"use strict";var i=r(697),o=r(4689),s=r(5773),a=r(9900);i({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=s(this),r=o(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,function(e){if(r(e,e,t))return!0},!0)}})},5251:(e,t,r)=>{e.exports=r(2203)},5262:(e,t,r)=>{"use strict";let{EventEmitter:i}=r(4434),o=r(361),s=r(1517),a=r(617),{lsCacheSym:c,levelValSym:u,setLevelSym:l,getLevelSym:f,chindingsSym:p,parsedChindingsSym:h,mixinSym:d,asJsonSym:g,writeSym:y,mixinMergeStrategySym:m,timeSym:b,timeSliceIndexSym:v,streamSym:w,serializersSym:_,formattersSym:S,useOnlyCustomLevelsSym:x,needsMetadataGsym:E,redactFmtSym:O,stringifySym:k,formatOptsSym:j,stringifiersSym:T}=r(37),{getLevel:R,setLevel:P,isLevelEnabled:M,mappings:L,initialLsCache:A,genLsCache:N,assertNoLevelCollisions:C}=r(2129),{asChindings:I,asJson:D,buildFormatters:$,stringify:B}=r(711),{version:q}=r(6011),U=r(2205),F={constructor:class{},child:function(e,t){if(!e)throw Error("missing bindings for child Pino");t=t||{};let r=this[_],i=this[S],o=Object.create(this);if(!0===e.hasOwnProperty("serializers")&&(a.emit("PINODEP004"),t.serializers=e.serializers),!0===e.hasOwnProperty("formatters")&&(a.emit("PINODEP005"),t.formatters=e.formatters),!0===e.hasOwnProperty("customLevels")&&(a.emit("PINODEP006"),t.customLevels=e.customLevels),!0===e.hasOwnProperty("level")&&(a.emit("PINODEP007"),t.level=e.level),!0===t.hasOwnProperty("serializers")){for(let e in o[_]=Object.create(null),r)o[_][e]=r[e];let e=Object.getOwnPropertySymbols(r);for(var s=0;s<e.length;s++){let t=e[s];o[_][t]=r[t]}for(let e in t.serializers)o[_][e]=t.serializers[e];let i=Object.getOwnPropertySymbols(t.serializers);for(var c=0;c<i.length;c++){let e=i[c];o[_][e]=t.serializers[e]}}else o[_]=r;if(t.hasOwnProperty("formatters")){let{level:e,bindings:r,log:s}=t.formatters;o[S]=$(e||i.level,r||W,s||i.log)}else o[S]=$(i.level,W,i.log);if(!0===t.hasOwnProperty("customLevels")&&(C(this.levels,t.customLevels),o.levels=L(t.customLevels,o[x]),N(o)),"object"==typeof t.redact&&null!==t.redact||Array.isArray(t.redact)){o.redact=t.redact;let e=U(o.redact,B),r={stringify:e[O]};o[k]=B,o[T]=e,o[j]=r}o[p]=I(o,e);let u=t.level||this.level;return o[l](u),o},bindings:function(){let e=this[p],t=JSON.parse(`{${e.substr(1)}}`);return delete t.pid,delete t.hostname,t},setBindings:function(e){let t=I(this,e);this[p]=t,delete this[h]},flush:function(){let e=this[w];"flush"in e&&e.flush()},isLevelEnabled:M,version:q,get level(){return this[f]()},set level(lvl){this[l](lvl)},get levelVal(){return this[u]},set levelVal(n){throw Error("levelVal is read-only")},[c]:A,[y]:function(e,t,r){let i,a=this[b](),c=this[d],u=this[m]||G,l=e instanceof Error;null==e?i=c?c({}):{}:(i=u(e,c?c(e):{}),!t&&l&&(t=e.message),l&&(i.stack=e.stack,i.type||(i.type="Error")));let f=this[g](i,t,r,a),p=this[w];!0===p[E]&&(p.lastLevel=r,p.lastObj=i,p.lastMsg=t,p.lastTime=a.slice(this[v]),p.lastLogger=this),p instanceof o?p.write(f):p.write(s(f))},[g]:D,[f]:R,[l]:P};Object.setPrototypeOf(F,i.prototype),e.exports=function(){return Object.create(F)};let W=e=>e;function G(e,t){return Object.assign(t,e)}},5267:(e,t,r)=>{"use strict";var i=r(697),o=r(5032),s=r(2913),a=r(2732),c=r(9534);i({target:"Array",proto:!0,arity:1,forced:r(6078)(function(){return 0x100000001!==[].push.call({length:0x100000000},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=o(this),r=s(t),i=arguments.length;c(r+i);for(var u=0;u<i;u++)t[r]=arguments[u],r++;return a(t,r),r}})},5317:e=>{"use strict";e.exports=require("child_process")},5319:(e,t,r)=>{"use strict";let i=r(5317),{logScope:o}=r(6166),s=r(1828),a=o("spawn");e.exports={spawnStdout:async function(e,t=[]){return new Promise((r,o)=>{let c=0,u=0,l=Buffer.alloc(5e6),f=Buffer.alloc(5e6),p=i.spawn(e,t);p.on("spawn",()=>{a.info(`running ${e} ${t.join(" ")}`)}),p.on("error",e=>o(e)),p.on("close",t=>{0!==t?o(new s(e,t)):(a.debug(`process ${e} exited successfully`),r({stdout:l.slice(0,c),stderr:f.slice(0,u)}))}),p.stdout.on("data",e=>{c+=e.copy(l,c)}),p.stderr.on("data",t=>{a.warn(`[${e}][stderr] ${t}`),u+=t.copy(f,u)})})}}},5369:(e,t,r)=>{"use strict";var i=r(6880),o=r(8142),s=r(1262),a=r(722);e.exports=function(e,t,r,c){c||(c={});var u=c.enumerable,l=void 0!==c.name?c.name:t;if(i(r)&&s(r,l,c),c.global)u?e[t]=r:a(t,r);else{try{c.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return e}},5374:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(1806);let{getManagedCacheStorage:i}=r(4337),{logScope:o}=r(6166),s=r(8696),a=r(6587),{spawnStdout:c}=r(5319),u=o("provider/youtube-dl");async function l(e){try{let{stdout:t}=await c("youtube-dl",e),r=JSON.parse(t.toString());if("object"==typeof r&&"string"==typeof r.id&&"string"==typeof r.url)return r;throw new s(r)}catch(e){if(e&&"ENOENT"===e.code)throw new a;throw e}}let f=async e=>{let t,{url:r}=await l((t=e.keyword,["-f","140","--dump-json",`ytsearch1:${t}`]));return r},p=i("youtube-dl");e.exports={check:e=>p.cache(e,()=>f(e)).catch(e=>{throw e&&u.error(e),e})}},5402:(e,t,r)=>{"use strict";var i;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(s){var a,c,u,l=arguments,f=(a=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,c=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,u=/[^-+\dA-Z]/g,function(e,t,r,i){if(1!==l.length||"string"!==y(e)||/\d/.test(e)||(t=e,e=void 0),(e=e||0===e?e:new Date)instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");var o=(t=String(f.masks[t]||t||f.masks.default)).slice(0,4);("UTC:"===o||"GMT:"===o)&&(t=t.slice(4),r=!0,"GMT:"===o&&(i=!0));var s=function(){return r?"getUTC":"get"},m=function(){return e[s()+"Date"]()},b=function(){return e[s()+"Day"]()},v=function(){return e[s()+"Month"]()},w=function(){return e[s()+"FullYear"]()},_=function(){return e[s()+"Hours"]()},S=function(){return e[s()+"Minutes"]()},x=function(){return e[s()+"Seconds"]()},E=function(){return e[s()+"Milliseconds"]()},O=function(){return r?0:e.getTimezoneOffset()},k=function(){return d(e)},j={d:function(){return m()},dd:function(){return p(m())},ddd:function(){return f.i18n.dayNames[b()]},DDD:function(){return h({y:w(),m:v(),d:m(),_:s(),dayName:f.i18n.dayNames[b()],short:!0})},dddd:function(){return f.i18n.dayNames[b()+7]},DDDD:function(){return h({y:w(),m:v(),d:m(),_:s(),dayName:f.i18n.dayNames[b()+7]})},m:function(){return v()+1},mm:function(){return p(v()+1)},mmm:function(){return f.i18n.monthNames[v()]},mmmm:function(){return f.i18n.monthNames[v()+12]},yy:function(){return String(w()).slice(2)},yyyy:function(){return p(w(),4)},h:function(){return _()%12||12},hh:function(){return p(_()%12||12)},H:function(){return _()},HH:function(){return p(_())},M:function(){return S()},MM:function(){return p(S())},s:function(){return x()},ss:function(){return p(x())},l:function(){return p(E(),3)},L:function(){return p(Math.floor(E()/10))},t:function(){return 12>_()?f.i18n.timeNames[0]:f.i18n.timeNames[1]},tt:function(){return 12>_()?f.i18n.timeNames[2]:f.i18n.timeNames[3]},T:function(){return 12>_()?f.i18n.timeNames[4]:f.i18n.timeNames[5]},TT:function(){return 12>_()?f.i18n.timeNames[6]:f.i18n.timeNames[7]},Z:function(){return i?"GMT":r?"UTC":(String(e).match(c)||[""]).pop().replace(u,"").replace(/GMT\+0000/g,"UTC")},o:function(){return(O()>0?"-":"+")+p(100*Math.floor(Math.abs(O())/60)+Math.abs(O())%60,4)},p:function(){return(O()>0?"-":"+")+p(Math.floor(Math.abs(O())/60),2)+":"+p(Math.floor(Math.abs(O())%60),2)},S:function(){return["th","st","nd","rd"][m()%10>3?0:(m()%100-m()%10!=10)*m()%10]},W:function(){return k()},WW:function(){return p(k())},N:function(){return g(e)}};return t.replace(a,function(e){return e in j?j[e]():e.slice(1,e.length-1)})});f.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},f.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]};var p=function(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e},h=function(e){var t=e.y,r=e.m,i=e.d,o=e._,s=e.dayName,a=e.short,c=void 0!==a&&a,u=new Date,l=new Date;l.setDate(l[o+"Date"]()-1);var f=new Date;return(f.setDate(f[o+"Date"]()+1),u[o+"FullYear"]()===t&&u[o+"Month"]()===r&&u[o+"Date"]()===i)?c?"Tdy":"Today":l[o+"FullYear"]()===t&&l[o+"Month"]()===r&&l[o+"Date"]()===i?c?"Ysd":"Yesterday":f[o+"FullYear"]()===t&&f[o+"Month"]()===r&&f[o+"Date"]()===i?c?"Tmw":"Tomorrow":s},d=function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);var r=new Date(t.getFullYear(),0,4);r.setDate(r.getDate()-(r.getDay()+6)%7+3);var i=t.getTimezoneOffset()-r.getTimezoneOffset();return t.setHours(t.getHours()-i),1+Math.floor((t-r)/(864e5*7))},g=function(e){var t=e.getDay();return 0===t&&(t=7),t},y=function(e){return null===e?"null":void 0===e?"undefined":"object"!==o(e)?o(e):Array.isArray(e)?"array":({}).toString.call(e).slice(8,-1).toLowerCase()};void 0===(i=(function(){return f}).call(t,r,t,e))||(e.exports=i)}(void 0)},5410:(e,t,r)=>{"use strict";r(8739)},5422:(e,t,r)=>{"use strict";var i=r(1196),o=r(3531),s=r(1820),a=r(877),c=r(4563),u=r(8078),l=TypeError,f=u("toPrimitive");e.exports=function(e,t){if(!o(e)||s(e))return e;var r,u=a(e,f);if(u){if(void 0===t&&(t="default"),!o(r=i(u,e,t))||s(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},5449:(e,t,r)=>{"use strict";var i=r(5773),o=r(487).add,s=r(1451),a=r(1428),c=r(8348);e.exports=function(e){var t=i(this),r=a(e).getIterator(),u=s(t);return c(r,function(e){o(u,e)}),u}},5463:e=>{"use strict";function t(e,t,r,i){function o(){let e=t.deref();void 0!==e&&r(e,i)}e[i]=o,process.once(i,o)}let r=new FinalizationRegistry(o),i=new WeakMap;function o(e){process.removeListener("exit",e.exit),process.removeListener("beforeExit",e.beforeExit)}e.exports={register:function(e,o){if(void 0===e)throw Error("the object can't be undefined");let s=new WeakRef(e),a={};i.set(e,a),r.register(e,a),t(a,s,o,"exit"),t(a,s,o,"beforeExit")},unregister:function(e){let t=i.get(e);i.delete(e),t&&o(t),r.unregister(e)}}},5486:(e,t,r)=>{var i=r(5645),o=function(){},s=function(e,t,r){if("function"==typeof t)return s(e,null,t);t||(t={}),r=i(r||o);var a=e._writableState,c=e._readableState,u=t.readable||!1!==t.readable&&e.readable,l=t.writable||!1!==t.writable&&e.writable,f=!1,p=function(){e.writable||h()},h=function(){l=!1,u||r.call(e)},d=function(){u=!1,l||r.call(e)},g=function(t){r.call(e,t?Error("exited with error code: "+t):null)},y=function(t){r.call(e,t)},m=function(){process.nextTick(b)},b=function(){if(!f&&(u&&!(c&&c.ended&&!c.destroyed)||l&&!(a&&a.ended&&!a.destroyed)))return r.call(e,Error("premature close"))},v=function(){e.req.on("finish",h)};return e.setHeader&&"function"==typeof e.abort?(e.on("complete",h),e.on("abort",m),e.req?v():e.on("request",v)):l&&!a&&(e.on("end",p),e.on("close",p)),e.stdio&&Array.isArray(e.stdio)&&3===e.stdio.length&&e.on("exit",g),e.on("end",d),e.on("finish",h),!1!==t.error&&e.on("error",y),e.on("close",m),function(){f=!0,e.removeListener("complete",h),e.removeListener("abort",m),e.removeListener("request",v),e.req&&e.req.removeListener("finish",h),e.removeListener("end",p),e.removeListener("close",p),e.removeListener("finish",h),e.removeListener("exit",g),e.removeListener("end",d),e.removeListener("error",y),e.removeListener("close",m)}};e.exports=s},5535:(e,t,r)=>{"use strict";var i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=l;var o=r(605),s=r(3581);r(3081)(l,o);for(var a=i(s.prototype),c=0;c<a.length;c++){var u=a[c];l.prototype[u]||(l.prototype[u]=s.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);o.call(this,e),s.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",f)))}function f(){this._writableState.ended||process.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},5550:(e,t,r)=>{"use strict";let{LEVELS:i,LEVEL_NAMES:o}=r(4249),s=e=>e,a={default:s,60:s,50:s,40:s,30:s,20:s,10:s,message:s,greyMessage:s},{createColors:c}=r(6666),u=c({useColor:!0}),{white:l,bgRed:f,red:p,yellow:h,green:d,blue:g,gray:y,cyan:m}=u,b={default:l,60:f,50:p,40:h,30:d,20:g,10:y,message:m,greyMessage:y};function v(e){return function(t,r,{customLevels:s,customLevelNames:a}={}){let c=e?s||i:Object.assign({},i,s),u=e?a||o:Object.assign({},o,a),l="default";l=Number.isInteger(+t)?Object.prototype.hasOwnProperty.call(c,t)?t:l:Object.prototype.hasOwnProperty.call(u,t.toLowerCase())?u[t.toLowerCase()]:l;let f=c[l];return Object.prototype.hasOwnProperty.call(r,l)?r[l](f):r.default(f)}}e.exports=function(e=!1,t,r){if(e&&void 0!==t){let e=t.reduce(function(e,[t,r]){return e[t]="function"==typeof u[r]?u[r]:l,e},{default:l,message:m,greyMessage:y}),i=r?e:Object.assign({},b,e),o=v(r),s=function(e,t){return o(e,i,t)};return s.message=s.message||i.message,s.greyMessage=s.greyMessage||i.greyMessage,s}if(e){let e=v(r),t=function(t,r){return e(t,b,r)};return t.message=b.message,t.greyMessage=b.greyMessage,t}let i=v(r),o=function(e,t){return i(e,a,t)};return o.message=a.message,o.greyMessage=a.greyMessage,o}},5590:(e,t,r)=>{"use strict";var i=r(697),o=r(1196),s=r(1999),a=r(2749);i({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return o(a,this,s(e))}})},5629:(e,t,r)=>{"use strict";var i,o=r(8396).F,s=o.ERR_MISSING_ARGS,a=o.ERR_STREAM_DESTROYED;function c(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}e.exports=function(){for(var e,t,o=arguments.length,f=Array(o),p=0;p<o;p++)f[p]=arguments[p];var h=(e=f).length&&"function"==typeof e[e.length-1]?e.pop():c;if(Array.isArray(f[0])&&(f=f[0]),f.length<2)throw new s("streams");var d=f.map(function(e,o){var s,c,l,p,g,y,m=o<f.length-1;return s=o>0,l=c=function(e){t||(t=e),e&&d.forEach(u),m||(d.forEach(u),h(t))},p=!1,c=function(){p||(p=!0,l.apply(void 0,arguments))},g=!1,e.on("close",function(){g=!0}),void 0===i&&(i=r(9919)),i(e,{readable:m,writable:s},function(e){if(e)return c(e);g=!0,c()}),y=!1,function(t){if(!g&&!y){if(y=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();c(t||new a("pipe"))}}});return f.reduce(l)}},5645:(e,t,r)=>{var i=r(4037);function o(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function s(e){var t=function(){if(t.called)throw Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)};return t.onceError=(e.name||"Function wrapped with `once`")+" shouldn't be called more than once",t.called=!1,t}e.exports=i(o),e.exports.strict=i(s),o.proto=o(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return o(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return s(this)},configurable:!0})})},5653:(e,t,r)=>{"use strict";var i=r(8078)("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},5692:e=>{"use strict";e.exports=require("https")},5698:(e,t,r)=>{"use strict";var i=r(8585),o=r(6078),s=r(4298);e.exports=!i&&!o(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},5773:(e,t,r)=>{"use strict";var i=r(487).has;e.exports=function(e){return i(e),e}},5805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(777),r(9071);let{cacheStorage:i,CacheStorageGroup:o,getManagedCacheStorage:s}=r(4337),a=r(9588),c=r(3186),u=r(2965),l=r(23),{logScope:f}=r(6166);f("provider/bilivideo");let p=s("provider/bilivideo"),h=[46,47,18,2,53,8,23,32,15,50,10,31,58,3,45,35,27,43,5,49,33,9,42,19,29,28,14,39,12,38,41,13,37,48,7,16,24,55,40,61,26,17,0,1,60,51,30,4,22,25,54,21,56,59,6,63,57,62,11,36,20,34,44,52];async function d(){let e=await u("GET","https://api.bilibili.com/x/web-interface/nav",{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3",Referer:"https://www.bilibili.com/"}),{data:{wbi_img:{img_url:t,sub_url:r}}}=await e.json();return{img_key:t.slice(t.lastIndexOf("/")+1,t.lastIndexOf(".")),sub_key:r.slice(r.lastIndexOf("/")+1,r.lastIndexOf("."))}}let g=async e=>{let{img_key:t,sub_key:r}=await p.cache("wbikey",async()=>await d());return function(e,t,r){let i,o=(i=t+r,h.map(e=>i[e]).join("").slice(0,32)),s=Math.round(Date.now()/1e3),a=/[!'()*]/g;Object.assign(e,{wts:s});let c=Object.keys(e).sort().map(t=>{let r=e[t].toString().replace(a,"");return`${encodeURIComponent(t)}=${encodeURIComponent(r)}`}).join("&"),u=l.md5.digest(c+o);return c+"&w_rid="+u}(e,t,r)},y=e=>({id:e.bvid,name:e.title,artists:{id:e.typeid,name:e.typename}}),m=async()=>p.cache("bilicookie",()=>u("GET","https://www.bilibili.com").then(e=>e.headers["set-cookie"].map(e=>e.split(";")[0]).join("; "))),b=e=>g({bvid:e}).then(t=>u("GET","https://api.bilibili.com/x/web-interface/wbi/view?"+t).then(e=>e.json()).then(t=>0===t.code?g({bvid:e,cid:t.data.cid,fnval:16,platform:"pc"}).then(t=>u("GET","https://api.bilibili.com/x/player/wbi/playurl?"+t).then(e=>e.json()).then(e=>0!==e.code?Promise.reject():null!=e.data.dash.audio?e.data.dash.audio[0].base_url:Promise.reject()).catch(()=>a().bilibili.track(e))):Promise.reject()).catch(()=>a().bilibili.track(e)));e.exports={check:e=>p.cache(e,()=>(e=>m().then(t=>g({search_type:"video",keyword:e.keyword}).then(r=>u("GET","https://api.bilibili.com/x/web-interface/wbi/search/type?"+r,{cookie:t,referer:"https://search.bilibili.com"}).then(e=>e.json()).then(t=>{let r=c(t.data.result.map(y),e);return r?r.id:Promise.reject()}))))(e)).then(b),track:b}},5826:(e,t,r)=>{"use strict";var i=r(6880),o=r(3531),s=r(4690);e.exports=function(e,t,r){var a,c;return s&&i(a=t.constructor)&&a!==r&&o(c=a.prototype)&&c!==r.prototype&&s(e,c),e}},5869:(e,t,r)=>{"use strict";var i=r(6880),o=r(8498),s=TypeError;e.exports=function(e){if(i(e))return e;throw new s(o(e)+" is not a function")}},5871:(e,t,r)=>{"use strict";var i=r(8173),o=r(2870),s=r(1512),a=r(9398).indexOf,c=r(1088),u=i([].push);e.exports=function(e,t){var r,i=s(e),l=0,f=[];for(r in i)!o(c,r)&&o(i,r)&&u(f,r);for(;t.length>l;)o(i,r=t[l++])&&(~a(f,r)||u(f,r));return f}},5921:(e,t,r)=>{"use strict";var i=r(697),o=r(5869),s=r(5773),a=r(9900),c=TypeError;i({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=s(this),r=arguments.length<2,i=r?void 0:arguments[1];if(o(e),a(t,function(o){r?(r=!1,i=o):i=e(i,o,o,t)}),r)throw new c("Reduce of empty set with no initial value");return i}})},5962:(e,t,r)=>{"use strict";var i=r(697),o=r(1196),s=r(1999),a=r(9157);i({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return o(a,this,s(e))}})},5966:(e,t,r)=>{"use strict";let{groupRestore:i,nestedRestore:o}=r(1022);e.exports=function(){return function(){var e;if(this.restore){this.restore.state.secret=this.secret;return}let{secret:t,wcLen:r}=this,s=Object.keys(t),a=(e=t,s.map(t=>{let{circle:r,escPath:i,leadingBracket:o}=e[t],s=r?`o.${r} = secret[${i}].val`:`o${o?"":"."}${t} = secret[${i}].val`,a=`secret[${i}].val = undefined`;return` |