1const l={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},d={silent:{level:-1},fatal:{level:l.fatal},error:{level:l.error},warn:{level:l.warn},log:{level:l.log},info:{level:l.info},success:{level:l.success},fail:{level:l.fail},ready:{level:l.info},start:{level:l.info},box:{level:l.info},debug:{level:l.debug},trace:{level:l.trace},verbose:{level:l.verbose}};function f(s){if(s===null||typeof s!="object")return!1;const t=Object.getPrototypeOf(s);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in s?!1:Symbol.toStringTag in s?Object.prototype.toString.call(s)==="[object Module]":!0}function g(s,t,e=".",r){if(!f(t))return g(s,{},e);const o=Object.assign({},t);for(const n in s){if(n==="__proto__"||n==="constructor")continue;const p=s[n];p!=null&&(Array.isArray(p)&&Array.isArray(o[n])?o[n]=[...p,...o[n]]:f(p)&&f(o[n])?o[n]=g(p,o[n],(e?`${e}.`:"")+n.toString()):o[n]=p)}return o}function m(s){return(...t)=>t.reduce((e,r)=>g(e,r,""),{})}const w=m();function v(s){return Object.prototype.toString.call(s)==="[object Object]"}function L(s){return!(!v(s)||!s.message&&!s.args||s.stack)}let h=!1;const y=[];class i{options;_lastLog;_mockFn;constructor(t={}){const e=t.types||d;this.options=w({...t,defaults:{...t.defaults},level:u(t.level,e),reporters:[...t.reporters||[]]},{types:d,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(const r in e){const o={type:r,...this.options.defaults,...e[r]};this[r]=this._wrapLogFn(o),this[r].raw=this._wrapLogFn(o,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(t){this.options.level=u(t,this.options.types,this.options.level)}prompt(t,e){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(t,e)}create(t){const e=new i({...this.options,...t});return this._mockFn&&e.mockTypes(this._mockFn),e}withDefaults(t){return this.create({...this.options,defaults:{...this.options.defaults,...t}})}withTag(t){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+t:t})}addReporter(t){return this.options.reporters.push(t),this}removeReporter(t){if(t){const e=this.options.reporters.indexOf(t);if(e!==-1)return this.options.reporters.splice(e,1)}else this.options.reporters.splice(0);return this}setReporters(t){return this.options.reporters=Array.isArray(t)?t:[t],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const t in this.options.types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}restoreConsole(){for(const t in this.options.types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(t,e){t&&(t.__write||(t.__write=t.write),t.write=r=>{this[e].raw(String(r).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}pauseLogs(){h=!0}resumeLogs(){h=!1;const t=y.splice(0);for(const e of t)e[0]._logFn(e[1],e[2])}mockTypes(t){const e=t||this.options.mockFn;if(this._mockFn=e,typeof e=="function")for(const r in this.options.types)this[r]=e(r,this.options.types[r])||this[r],this[r].raw=this[r]}_wrapLogFn(t,e){return(...r)=>{if(h){y.push([this,t,r,e]);return}return this._logFn(t,r,e)}}_logFn(t,e,r){if((t.level||0)>this.level)return!1;const o={date:new Date,args:[],...t,level:u(t.level,this.options.types)};!r&&e.length===1&&L(e[0])?Object.assign(o,e[0]):o.args=[...e],o.message&&(o.args.unshift(o.message),delete o.message),o.additional&&(Array.isArray(o.additional)||(o.additional=o.additional.split(` 2`)),o.args.push(` 3`+o.additional.join(` 4`)),delete o.additional),o.type=typeof o.type=="string"?o.type.toLowerCase():"log",o.tag=typeof o.tag=="string"?o.tag:"";const n=(a=!1)=>{const c=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&c>0){const _=[...this._lastLog.object.args];c>1&&_.push(`(repeated ${c} times)`),this._log({...this._lastLog.object,args:_}),this._lastLog.count=1}a&&(this._lastLog.object=o,this._log(o))};clearTimeout(this._lastLog.timeout);const p=this._lastLog.time&&o.date?o.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=o.date,p<this.options.throttle)try{const a=JSON.stringify([o.type,o.tag,o.args]),c=this._lastLog.serialized===a;if(this._lastLog.serialized=a,c&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin)){this._lastLog.timeout=setTimeout(n,this.options.throttle);return}}catch{}n(!0)}_log(t){for(const e of this.options.reporters)e.log(t,{options:this.options})}}function u(s,t={},e=3){return s===void 0?e:typeof s=="number"?s:t[s]&&t[s].level!==void 0?t[s].level:e}i.prototype.add=i.prototype.addReporter;i.prototype.remove=i.prototype.removeReporter;i.prototype.clear=i.prototype.removeReporter;i.prototype.withScope=i.prototype.withTag;i.prototype.mock=i.prototype.mockTypes;i.prototype.pause=i.prototype.pauseLogs;i.prototype.resume=i.prototype.resumeLogs;function b(s={}){return new i(s)}class S{options;defaultColor;levelColorMap;typeColorMap;constructor(t){this.options={...t},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(t){return t<1?console.__error||console.error:t===1?console.__warn||console.warn:console.__log||console.log}log(t){const e=this._getLogFn(t.level),r=t.type==="log"?"":t.type,o=t.tag||"",p=` 5 background: ${this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor}; 6 border-radius: 0.5em; 7 color: white; 8 font-weight: bold; 9 padding: 2px 0.5em;
10 `,a=`%c${[o,r].filter(Boolean).join(":")}`;typeof t.args[0]=="string"?e(`${a}%c ${t.args[0]}`,p,"",...t.args.slice(1)):e(a,p,...t.args)}}function C(s={}){return b({reporters:s.reporters||[new S({})],prompt(e,r={}){return r.type==="confirm"?Promise.resolve(confirm(e)):Promise.resolve(prompt(e))},...s})}const F=C();F.withTag("nuxt-multi-cache"); 11//# sourceMappingURL=DPejhZdZ.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.