UNPKG

chrome-devtools-frontend

Version:
61 lines 1.63 MB
/** * Lighthouse v9.1.0 8100b8034507e679c95b2fab5ab48965875443b6 (Nov 29 2021) * * Automated auditing, performance metrics, and best practices for the web. * * @homepage https://github.com/GoogleChrome/lighthouse#readme * @author The Lighthouse Authors * @license Apache-2.0 */ (function(){"use strict";function getAugmentedNamespace(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var devtoolsEntry={},global$1=void 0!==global$1?global$1:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},lodash_isequal={exports:{}};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}!function(e,t){ var r="__lodash_hash_undefined__",n=9007199254740991,a="[object Arguments]",i="[object Array]",o="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",p="[object Map]",f="[object Number]",b="[object Object]",S="[object Promise]",_="[object RegExp]",T="[object Set]",E="[object String]",$="[object Symbol]",A="[object WeakMap]",I="[object ArrayBuffer]",R="[object DataView]",x=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,C={};C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C[a]=C[i]=C[I]=C[o]=C[R]=C[l]=C[c]=C[u]=C[p]=C[f]=C[b]=C[_]=C[T]=C[E]=C[A]=!1 ;var k="object"==typeof global$1&&global$1&&global$1.Object===Object&&global$1,N="object"==typeof self&&self&&self.Object===Object&&self,L=k||N||Function("return this")(),M=t&&!t.nodeType&&t,U=M&&e&&!e.nodeType&&e,O=U&&U.exports===M,P=O&&k.process,F=function(){try{return P&&P.binding&&P.binding("util")}catch(e){}}(),B=F&&F.isTypedArray;function arraySome(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function mapToArray(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function setToArray(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r} var j,q=Array.prototype,H=Function.prototype,z=Object.prototype,G=L["__core-js_shared__"],V=H.toString,W=z.hasOwnProperty,Y=(j=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+j:"",K=z.toString,J=RegExp("^"+V.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Z=O?L.Buffer:void 0,X=L.Symbol,Q=L.Uint8Array,ee=z.propertyIsEnumerable,te=q.splice,re=X?X.toStringTag:void 0,ne=Object.getOwnPropertySymbols,ae=Z?Z.isBuffer:void 0,ie=function overArg(e,t){return function(r){return e(t(r))}}(Object.keys,Object),se=getNative(L,"DataView"),oe=getNative(L,"Map"),le=getNative(L,"Promise"),ce=getNative(L,"Set"),ue=getNative(L,"WeakMap"),de=getNative(Object,"create"),me=toSource(se),pe=toSource(oe),ge=toSource(le),he=toSource(ce),fe=toSource(ue),ye=X?X.prototype:void 0,ve=ye?ye.valueOf:void 0;function Hash(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}} function ListCache(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function MapCache(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function SetCache(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new MapCache;++t<r;)this.add(e[t])}function Stack(e){var t=this.__data__=new ListCache(e);this.size=t.size}function arrayLikeKeys(e,t){var r=_e(e),n=!r&&Se(e),a=!r&&!n&&Te(e),i=!r&&!n&&!a&&Ee(e),o=r||n||a||i,l=o?function baseTimes(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],c=l.length;for(var u in e)!t&&!W.call(e,u)||o&&("length"==u||a&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||isIndex(u,c))||l.push(u);return l}function assocIndexOf(e,t){for(var r=e.length;r--;)if(eq(e[r][0],t))return r;return-1}function baseGetTag(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":re&&re in Object(e)?function getRawTag(e){ var t=W.call(e,re),r=e[re];try{e[re]=void 0;var n=!0}catch(e){}var a=K.call(e);n&&(t?e[re]=r:delete e[re]);return a}(e):function objectToString(e){return K.call(e)}(e)}function baseIsArguments(e){return isObjectLike(e)&&baseGetTag(e)==a}function baseIsEqual(e,t,r,n,u){return e===t||(null==e||null==t||!isObjectLike(e)&&!isObjectLike(t)?e!=e&&t!=t:function baseIsEqualDeep(e,t,r,n,u,S){var A=_e(e),x=_e(t),D=A?i:we(e),C=x?i:we(t),k=(D=D==a?b:D)==b,N=(C=C==a?b:C)==b,L=D==C;if(L&&Te(e)){if(!Te(t))return!1;A=!0,k=!1}if(L&&!k)return S||(S=new Stack),A||Ee(e)?equalArrays(e,t,r,n,u,S):function equalByTag(e,t,r,n,a,i,u){switch(r){case R:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!i(new Q(e),new Q(t)));case o:case l:case f:return eq(+e,+t);case c:return e.name==t.name&&e.message==t.message;case _:case E:return e==t+"";case p:var b=mapToArray;case T:var S=1&n;if(b||(b=setToArray),e.size!=t.size&&!S)return!1 ;var A=u.get(e);if(A)return A==t;n|=2,u.set(e,t);var x=equalArrays(b(e),b(t),n,a,i,u);return u.delete(e),x;case $:if(ve)return ve.call(e)==ve.call(t)}return!1}(e,t,D,r,n,u,S);if(!(1&r)){var M=k&&W.call(e,"__wrapped__"),U=N&&W.call(t,"__wrapped__");if(M||U){var O=M?e.value():e,P=U?t.value():t;return S||(S=new Stack),u(O,P,r,n,S)}}if(!L)return!1;return S||(S=new Stack),function equalObjects(e,t,r,n,a,i){var o=1&r,l=getAllKeys(e),c=l.length,u=getAllKeys(t).length;if(c!=u&&!o)return!1;var p=c;for(;p--;){var f=l[p];if(!(o?f in t:W.call(t,f)))return!1}var b=i.get(e);if(b&&i.get(t))return b==t;var S=!0;i.set(e,t),i.set(t,e);var _=o;for(;++p<c;){var T=e[f=l[p]],E=t[f];if(n)var $=o?n(E,T,f,t,e,i):n(T,E,f,e,t,i);if(!(void 0===$?T===E||a(T,E,r,n,i):$)){S=!1;break}_||(_="constructor"==f)}if(S&&!_){var A=e.constructor,I=t.constructor;A==I||!("constructor"in e)||!("constructor"in t)||"function"==typeof A&&A instanceof A&&"function"==typeof I&&I instanceof I||(S=!1)}return i.delete(e),i.delete(t),S }(e,t,r,n,u,S)}(e,t,r,n,baseIsEqual,u))}function baseIsNative(e){return!(!isObject(e)||function isMasked(e){return!!Y&&Y in e}(e))&&(isFunction(e)?J:x).test(toSource(e))}function baseKeys(e){if(!function isPrototype(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||z;return e===r}(e))return ie(e);var t=[];for(var r in Object(e))W.call(e,r)&&"constructor"!=r&&t.push(r);return t}function equalArrays(e,t,r,n,a,i){var o=1&r,l=e.length,c=t.length;if(l!=c&&!(o&&c>l))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var p=-1,f=!0,b=2&r?new SetCache:void 0;for(i.set(e,t),i.set(t,e);++p<l;){var S=e[p],_=t[p];if(n)var T=o?n(_,S,p,t,e,i):n(S,_,p,e,t,i);if(void 0!==T){if(T)continue;f=!1;break}if(b){if(!arraySome(t,(function(e,t){if(o=t,!b.has(o)&&(S===e||a(S,e,r,n,i)))return b.push(t);var o}))){f=!1;break}}else if(S!==_&&!a(S,_,r,n,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function getAllKeys(e){return function baseGetAllKeys(e,t,r){var n=t(e) ;return _e(e)?n:function arrayPush(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}(n,r(e))}(e,keys,be)}function getMapData(e,t){var r=e.__data__;return function isKeyable(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?r["string"==typeof t?"string":"hash"]:r.map}function getNative(e,t){var r=function getValue(e,t){return null==e?void 0:e[t]}(e,t);return baseIsNative(r)?r:void 0}Hash.prototype.clear=function hashClear(){this.__data__=de?de(null):{},this.size=0},Hash.prototype.delete=function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hash.prototype.get=function hashGet(e){var t=this.__data__;if(de){var n=t[e];return n===r?void 0:n}return W.call(t,e)?t[e]:void 0},Hash.prototype.has=function hashHas(e){var t=this.__data__;return de?void 0!==t[e]:W.call(t,e)},Hash.prototype.set=function hashSet(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1, n[e]=de&&void 0===t?r:t,this},ListCache.prototype.clear=function listCacheClear(){this.__data__=[],this.size=0},ListCache.prototype.delete=function listCacheDelete(e){var t=this.__data__,r=assocIndexOf(t,e);return!(r<0)&&(r==t.length-1?t.pop():te.call(t,r,1),--this.size,!0)},ListCache.prototype.get=function listCacheGet(e){var t=this.__data__,r=assocIndexOf(t,e);return r<0?void 0:t[r][1]},ListCache.prototype.has=function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1},ListCache.prototype.set=function listCacheSet(e,t){var r=this.__data__,n=assocIndexOf(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},MapCache.prototype.clear=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(oe||ListCache),string:new Hash}},MapCache.prototype.delete=function mapCacheDelete(e){var t=getMapData(this,e).delete(e);return this.size-=t?1:0,t},MapCache.prototype.get=function mapCacheGet(e){return getMapData(this,e).get(e)}, MapCache.prototype.has=function mapCacheHas(e){return getMapData(this,e).has(e)},MapCache.prototype.set=function mapCacheSet(e,t){var r=getMapData(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function setCacheAdd(e){return this.__data__.set(e,r),this},SetCache.prototype.has=function setCacheHas(e){return this.__data__.has(e)},Stack.prototype.clear=function stackClear(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function stackDelete(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Stack.prototype.get=function stackGet(e){return this.__data__.get(e)},Stack.prototype.has=function stackHas(e){return this.__data__.has(e)},Stack.prototype.set=function stackSet(e,t){var r=this.__data__;if(r instanceof ListCache){var n=r.__data__;if(!oe||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new MapCache(n)}return r.set(e,t),this.size=r.size,this};var be=ne?function(e){ return null==e?[]:(e=Object(e),function arrayFilter(e,t){for(var r=-1,n=null==e?0:e.length,a=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[a++]=o)}return i}(ne(e),(function(t){return ee.call(e,t)})))}:function stubArray(){return[]},we=baseGetTag;function isIndex(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||D.test(e))&&e>-1&&e%1==0&&e<t}function toSource(e){if(null!=e){try{return V.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eq(e,t){return e===t||e!=e&&t!=t}(se&&we(new se(new ArrayBuffer(1)))!=R||oe&&we(new oe)!=p||le&&we(le.resolve())!=S||ce&&we(new ce)!=T||ue&&we(new ue)!=A)&&(we=function(e){var t=baseGetTag(e),r=t==b?e.constructor:void 0,n=r?toSource(r):"";if(n)switch(n){case me:return R;case pe:return p;case ge:return S;case he:return T;case fe:return A}return t});var Se=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&W.call(e,"callee")&&!ee.call(e,"callee")},_e=Array.isArray;var Te=ae||function stubFalse(){ return!1};function isFunction(e){if(!isObject(e))return!1;var t=baseGetTag(e);return t==u||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function isLength(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function isObject(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function isObjectLike(e){return null!=e&&"object"==typeof e}var Ee=B?function baseUnary(e){return function(t){return e(t)}}(B):function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!C[baseGetTag(e)]};function keys(e){return function isArrayLike(e){return null!=e&&isLength(e.length)&&!isFunction(e)}(e)?arrayLikeKeys(e):baseKeys(e)}e.exports=function isEqual(e,t){return baseIsEqual(e,t)}}(lodash_isequal,lodash_isequal.exports);var cachedSetTimeout=defaultSetTimout,cachedClearTimeout=defaultClearTimeout;function runTimeout(e){if(cachedSetTimeout===setTimeout)return setTimeout(e,0) ;if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(e,0);try{return cachedSetTimeout(e,0)}catch(t){try{return cachedSetTimeout.call(null,e,0)}catch(t){return cachedSetTimeout.call(this,e,0)}}}function runClearTimeout(e){if(cachedClearTimeout===clearTimeout)return clearTimeout(e);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(e);try{return cachedClearTimeout(e)}catch(t){try{return cachedClearTimeout.call(null,e)}catch(t){return cachedClearTimeout.call(this,e)}}}"function"==typeof global$1.setTimeout&&(cachedSetTimeout=setTimeout),"function"==typeof global$1.clearTimeout&&(cachedClearTimeout=clearTimeout);var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){draining&&currentQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){ if(!draining){var e=runTimeout(cleanUpNextTick);draining=!0;for(var t=queue.length;t;){for(currentQueue=queue,queue=[];++queueIndex<t;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,t=queue.length}currentQueue=null,draining=!1,runClearTimeout(e)}}function nextTick(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];queue.push(new Item(e,t)),1!==queue.length||draining||runTimeout(drainQueue)}function Item(e,t){this.fun=e,this.array=t}Item.prototype.run=function(){this.fun.apply(null,this.array)};var title="browser",platform="browser",browser$1=!0,env={},argv=[],version$1="",versions={},release={},config$1={};function noop$1(){}var on=noop$1,addListener=noop$1,once=noop$1,off=noop$1,removeListener=noop$1,removeAllListeners=noop$1,emit=noop$1;function binding$1(e){throw new Error("process.binding is not supported")}function cwd(){return"/"}function chdir(e){throw new Error("process.chdir is not supported")} function umask(){return 0}var performance$1=global$1.performance||{},performanceNow=performance$1.now||performance$1.mozNow||performance$1.msNow||performance$1.oNow||performance$1.webkitNow||function(){return(new Date).getTime()};function hrtime$1(e){var t=.001*performanceNow.call(performance$1),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]}var startTime=new Date;function uptime(){return(new Date-startTime)/1e3}var browser$1$1={nextTick,title,browser:browser$1,env,argv,version:version$1,versions,on,addListener,once,off,removeListener,removeAllListeners,emit,binding:binding$1,cwd,chdir,umask,hrtime:hrtime$1,platform,release,config:config$1,uptime},process$3=browser$1$1,_polyfillNode_process=Object.freeze({__proto__:null,default:process$3,addListener,argv,binding:binding$1,browser:browser$1,chdir,config:config$1,cwd,emit,env,hrtime:hrtime$1,nextTick,off,on,once,platform,release,removeAllListeners,removeListener,title,umask,uptime, version:version$1,versions}),require$$0$4=getAugmentedNamespace(_polyfillNode_process),browser={exports:{}},s=1e3,m=60*s,h=60*m,d=24*h,w=7*d,y=365.25*d,ms=function(e,t){t=t||{};var r=typeof e;if("string"===r&&e.length>0)return parse$3(e);if("number"===r&&isFinite(e))return t.long?fmtLong(e):fmtShort(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse$3(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return r*y;case"weeks":case"week":case"w":return r*w;case"days":case"day":case"d":return r*d;case"hours":case"hour":case"hrs":case"hr":case"h":return r*h;case"minutes":case"minute":case"mins":case"min":case"m":return r*m;case"seconds":case"second":case"secs":case"sec":case"s":return r*s ;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function fmtShort(e){var t=Math.abs(e);return t>=d?Math.round(e/d)+"d":t>=h?Math.round(e/h)+"h":t>=m?Math.round(e/m)+"m":t>=s?Math.round(e/s)+"s":e+"ms"}function fmtLong(e){var t=Math.abs(e);return t>=d?plural(e,t,d,"day"):t>=h?plural(e,t,h,"hour"):t>=m?plural(e,t,m,"minute"):t>=s?plural(e,t,s,"second"):e+" ms"}function plural(e,t,r,n){var a=t>=1.5*r;return Math.round(e/r)+" "+n+(a?"s":"")}function setup(e){function createDebug(e){let t,r,n,a=null;function debug(...e){if(!debug.enabled)return;const r=debug,n=Number(new Date),a=n-(t||n);r.diff=a,r.prev=t,r.curr=n,t=n,e[0]=createDebug.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,n)=>{if("%%"===t)return"%";i++;const a=createDebug.formatters[n];if("function"==typeof a){const n=e[i];t=a.call(r,n),e.splice(i,1),i--}return t})),createDebug.formatArgs.call(r,e);(r.log||createDebug.log).apply(r,e) }return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(r!==createDebug.namespaces&&(r=createDebug.namespaces,n=createDebug.enabled(e)),n),set:e=>{a=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const r=createDebug(this.namespace+(void 0===t?":":t)+e);return r.log=this.log,r}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((e=>"-"+e))].join(",");return createDebug.enable(""),e}, createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),n=r.length;for(t=0;t<n;t++)r[t]&&("-"===(e=r[t].replace(/\*/g,".*?"))[0]?createDebug.skips.push(new RegExp("^"+e.substr(1)+"$")):createDebug.names.push(new RegExp("^"+e+"$")))},createDebug.enabled=function enabled(e){if("*"===e[e.length-1])return!0;let t,r;for(t=0,r=createDebug.skips.length;t<r;t++)if(createDebug.skips[t].test(e))return!1;for(t=0,r=createDebug.names.length;t<r;t++)if(createDebug.names[t].test(e))return!0;return!1},createDebug.humanize=ms,createDebug.destroy=function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((t=>{createDebug[t]=e[t]})),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){ let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return createDebug.colors[Math.abs(t)%createDebug.colors.length]},createDebug.enable(createDebug.load()),createDebug}var common=setup;!function(e,t){t.formatArgs=function formatArgs(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 r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(a=n))})),t.splice(a,0,r)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==process$3&&"env"in process$3&&(e=process$3.env.DEBUG);return e},t.useColors=function useColors(){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;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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(), 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=common(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(browser,browser.exports) ;var perf="undefined"!=typeof performance&&performance,nowForNode,hrtime=process$3.hrtime,getNanoSeconds=function(){var e=hrtime();return 1e9*e[0]+e[1]},loadTime=getNanoSeconds();nowForNode=function(){return(getNanoSeconds()-loadTime)/1e6};var now=nowForNode,mark,stop,getEntries,clear;function throwIfEmpty(e){if(!e)throw new Error("name must be non-empty")}function insertSorted(e,t){for(var r,n=0,a=e.length;n<a;)e[r=n+a>>>1].startTime<t.startTime?n=r+1:a=r;e.splice(n,0,t)}if(perf&&perf.mark&&perf.getEntriesByName&&perf.getEntriesByType&&perf.clearMeasures)mark=function(e){throwIfEmpty(e),perf.mark("start "+e)},stop=function(e){throwIfEmpty(e),perf.mark("end "+e),perf.measure(e,"start "+e,"end "+e);var t=perf.getEntriesByName(e);return t[t.length-1]},getEntries=function(){return perf.getEntriesByType("measure")},clear=function(){perf.clearMarks(),perf.clearMeasures()};else{var marks={},entries=[];mark=function(e){throwIfEmpty(e);var t=now();marks["$"+e]=t},stop=function(e){ throwIfEmpty(e);var t=now(),r=marks["$"+e];if(!r)throw new Error("no known mark: "+e);var n={startTime:r,name:e,duration:t-r,entryType:"measure"};return insertSorted(entries,n),n},getEntries=function(){return entries},clear=function(){marks={},entries=[]}}var marky_es=Object.freeze({__proto__:null,get clear(){return clear},get getEntries(){return getEntries},get mark(){return mark},get stop(){return stop}}),require$$2$1=getAugmentedNamespace(marky_es),domain;function EventHandlers(){}function EventEmitter$5(){EventEmitter$5.init.call(this)}function $getMaxListeners(e){return void 0===e._maxListeners?EventEmitter$5.defaultMaxListeners:e._maxListeners}function emitNone(e,t,r){if(t)e.call(r);else for(var n=e.length,a=arrayClone(e,n),i=0;i<n;++i)a[i].call(r)}function emitOne(e,t,r,n){if(t)e.call(r,n);else for(var a=e.length,i=arrayClone(e,a),o=0;o<a;++o)i[o].call(r,n)}function emitTwo(e,t,r,n,a){if(t)e.call(r,n,a);else for(var i=e.length,o=arrayClone(e,i),l=0;l<i;++l)o[l].call(r,n,a)} function emitThree(e,t,r,n,a,i){if(t)e.call(r,n,a,i);else for(var o=e.length,l=arrayClone(e,o),c=0;c<o;++c)l[c].call(r,n,a,i)}function emitMany(e,t,r,n){if(t)e.apply(r,n);else for(var a=e.length,i=arrayClone(e,a),o=0;o<a;++o)i[o].apply(r,n)}function _addListener(e,t,r,n){var a,i,o;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((i=e._events)?(i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),o=i[t]):(i=e._events=new EventHandlers,e._eventsCount=0),o){if("function"==typeof o?o=i[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),!o.warned&&(a=$getMaxListeners(e))&&a>0&&o.length>a){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=o.length,emitWarning(l)}}else o=i[t]=r,++e._eventsCount;return e}function emitWarning(e){ "function"==typeof console.warn?console.warn(e):console.log(e)}function _onceWrap(e,t,r){var n=!1;function g(){e.removeListener(t,g),n||(n=!0,r.apply(e,arguments))}return g.listener=r,g}function listenerCount$1(e){var t=this._events;if(t){var r=t[e];if("function"==typeof r)return 1;if(r)return r.length}return 0}function spliceOne(e,t){for(var r=t,n=r+1,a=e.length;n<a;r+=1,n+=1)e[r]=e[n];e.pop()}function arrayClone(e,t){for(var r=new Array(t);t--;)r[t]=e[t];return r}function unwrapListeners(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}EventHandlers.prototype=Object.create(null),EventEmitter$5.EventEmitter=EventEmitter$5,EventEmitter$5.usingDomains=!1,EventEmitter$5.prototype.domain=void 0,EventEmitter$5.prototype._events=void 0,EventEmitter$5.prototype._maxListeners=void 0,EventEmitter$5.defaultMaxListeners=10,EventEmitter$5.init=function(){this.domain=null,EventEmitter$5.usingDomains&&domain.active, this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new EventHandlers,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter$5.prototype.setMaxListeners=function setMaxListeners(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},EventEmitter$5.prototype.getMaxListeners=function getMaxListeners(){return $getMaxListeners(this)},EventEmitter$5.prototype.emit=function emit(e){var t,r,n,a,i,o,l,c="error"===e;if(o=this._events)c=c&&null==o.error;else if(!c)return!1;if(l=this.domain,c){if(t=arguments[1],!l){if(t instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=l,t.domainThrown=!1,l.emit("error",t),!1}if(!(r=o[e]))return!1;var p="function"==typeof r;switch(n=arguments.length){case 1:emitNone(r,p,this);break ;case 2:emitOne(r,p,this,arguments[1]);break;case 3:emitTwo(r,p,this,arguments[1],arguments[2]);break;case 4:emitThree(r,p,this,arguments[1],arguments[2],arguments[3]);break;default:for(a=new Array(n-1),i=1;i<n;i++)a[i-1]=arguments[i];emitMany(r,p,this,a)}return!0},EventEmitter$5.prototype.addListener=function addListener(e,t){return _addListener(this,e,t,!1)},EventEmitter$5.prototype.on=EventEmitter$5.prototype.addListener,EventEmitter$5.prototype.prependListener=function prependListener(e,t){return _addListener(this,e,t,!0)},EventEmitter$5.prototype.once=function once(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,_onceWrap(this,e,t)),this},EventEmitter$5.prototype.prependOnceListener=function prependOnceListener(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,_onceWrap(this,e,t)),this}, EventEmitter$5.prototype.removeListener=function removeListener(e,t){var r,n,a,i,o;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[e]))return this;if(r===t||r.listener&&r.listener===t)0==--this._eventsCount?this._events=new EventHandlers:(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(a=-1,i=r.length;i-- >0;)if(r[i]===t||r[i].listener&&r[i].listener===t){o=r[i].listener,a=i;break}if(a<0)return this;if(1===r.length){if(r[0]=void 0,0==--this._eventsCount)return this._events=new EventHandlers,this;delete n[e]}else spliceOne(r,a);n.removeListener&&this.emit("removeListener",e,o||t)}return this},EventEmitter$5.prototype.off=function(e,t){return this.removeListener(e,t)},EventEmitter$5.prototype.removeAllListeners=function removeAllListeners(e){var t,r;if(!(r=this._events))return this ;if(!r.removeListener)return 0===arguments.length?(this._events=new EventHandlers,this._eventsCount=0):r[e]&&(0==--this._eventsCount?this._events=new EventHandlers:delete r[e]),this;if(0===arguments.length){for(var n,a=Object.keys(r),i=0;i<a.length;++i)"removeListener"!==(n=a[i])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=new EventHandlers,this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(t)do{this.removeListener(e,t[t.length-1])}while(t[0]);return this},EventEmitter$5.prototype.listeners=function listeners(e){var t,r=this._events;return r&&(t=r[e])?"function"==typeof t?[t.listener||t]:unwrapListeners(t):[]},EventEmitter$5.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):listenerCount$1.call(e,t)},EventEmitter$5.prototype.listenerCount=listenerCount$1,EventEmitter$5.prototype.eventNames=function eventNames(){ return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var _polyfillNode_events=Object.freeze({__proto__:null,default:EventEmitter$5,EventEmitter:EventEmitter$5}),require$$1$3=getAugmentedNamespace(_polyfillNode_events);const process$2=require$$0$4,debug$1=browser.exports,marky=require$$2$1,EventEmitter$4=require$$1$3.EventEmitter,isWindows="win32"===process$2.platform,isBrowser=process$2.browser,colors={red:isBrowser?"crimson":1,yellow:isBrowser?"gold":3,cyan:isBrowser?"darkturquoise":6,green:isBrowser?"forestgreen":2,blue:isBrowser?"steelblue":4,magenta:isBrowser?"palevioletred":5};debug$1.colors=[colors.cyan,colors.green,colors.blue,colors.magenta];class Emitter extends EventEmitter$4{issueStatus(e,t){"status"!==e&&"statusEnd"!==e||this.emit(e,[e,...t])}issueWarning(e,t){this.emit("warning",[e,...t])}}const loggersByTitle={},loggingBufferColumns=25;let level_;class Log{static _logToStdErr(e,t){Log.loggerfn(e)(...t)}static loggerfn(e){let t=loggersByTitle[e=`LH:${e}`] ;return t||(t=debug$1(e),loggersByTitle[e]=t,e.endsWith("error")?t.color=colors.red:e.endsWith("warn")&&(t.color=colors.yellow)),t}static setLevel(e){switch(level_=e,e){case"silent":debug$1.enable("-LH:*");break;case"verbose":debug$1.enable("LH:*");break;case"error":debug$1.enable("-LH:*, LH:*:error");break;default:debug$1.enable("LH:*, -LH:*:verbose")}}static formatProtocol(e,t,r){const n=!process$2||process$2.browser?1/0:process$2.stdout.columns,a=t.method||"?????",i=n-a.length-e.length-loggingBufferColumns,o=t.params&&"IO.read"!==a?JSON.stringify(t.params).substr(0,i):"";Log._logToStdErr(`${e}:${r||""}`,[a,o])}static isVerbose(){return"verbose"===level_}static time({msg:e,id:t,args:r=[]},n="log"){marky.mark(t),Log[n]("status",e,...r)}static timeEnd({msg:e,id:t,args:r=[]},n="verbose"){Log[n]("statusEnd",e,...r),marky.stop(t)}static log(e,...t){return Log.events.issueStatus(e,t),Log._logToStdErr(e,t)}static warn(e,...t){return Log.events.issueWarning(e,t), Log._logToStdErr(`${e}:warn`,t)}static error(e,...t){return Log._logToStdErr(`${e}:error`,t)}static verbose(e,...t){return Log.events.issueStatus(e,t),Log._logToStdErr(`${e}:verbose`,t)}static greenify(e){return`${Log.green}${e}${Log.reset}`}static redify(e){return`${Log.red}${e}${Log.reset}`}static get green(){return""}static get red(){return""}static get yellow(){return""}static get purple(){return""}static get reset(){return""}static get bold(){return""}static get dim(){return""}static get tick(){return isWindows?"√":"✓"}static get cross(){return isWindows?"×":"✘"}static get whiteSmallSquare(){return isWindows?"·":"▫"}static get heavyHorizontal(){return isWindows?"─":"━"}static get heavyVertical(){return isWindows?"│ ":"┃ "}static get heavyUpAndRight(){return isWindows?"└":"┗"}static get heavyVerticalAndRight(){return isWindows?"├":"┣"}static get heavyDownAndHorizontal(){return isWindows?"┬":"┳"}static get doubleLightHorizontal(){return"──"}} Log.events=new Emitter,Log.takeTimeEntries=()=>{const e=marky.getEntries();return marky.clear(),e},Log.getTimeEntries=()=>marky.getEntries();var lighthouseLogger=Log;const DEVTOOLS_RTT_ADJUSTMENT_FACTOR=3.75,DEVTOOLS_THROUGHPUT_ADJUSTMENT_FACTOR=.9,throttling={DEVTOOLS_RTT_ADJUSTMENT_FACTOR,DEVTOOLS_THROUGHPUT_ADJUSTMENT_FACTOR,mobileSlow4G:{rttMs:150,throughputKbps:1638.4,requestLatencyMs:150*DEVTOOLS_RTT_ADJUSTMENT_FACTOR,downloadThroughputKbps:1638.4*DEVTOOLS_THROUGHPUT_ADJUSTMENT_FACTOR,uploadThroughputKbps:750*DEVTOOLS_THROUGHPUT_ADJUSTMENT_FACTOR,cpuSlowdownMultiplier:4},mobileRegular3G:{rttMs:300,throughputKbps:700,requestLatencyMs:300*DEVTOOLS_RTT_ADJUSTMENT_FACTOR,downloadThroughputKbps:700*DEVTOOLS_THROUGHPUT_ADJUSTMENT_FACTOR,uploadThroughputKbps:700*DEVTOOLS_THROUGHPUT_ADJUSTMENT_FACTOR,cpuSlowdownMultiplier:4},desktopDense4G:{rttMs:40,throughputKbps:10240,cpuSlowdownMultiplier:1,requestLatencyMs:0,downloadThroughputKbps:0,uploadThroughputKbps:0}},MOTOG4_EMULATION_METRICS={ mobile:!0,width:360,height:640,deviceScaleFactor:2.625,disabled:!1},DESKTOP_EMULATION_METRICS={mobile:!1,width:1350,height:940,deviceScaleFactor:1,disabled:!1},screenEmulationMetrics={mobile:MOTOG4_EMULATION_METRICS,desktop:DESKTOP_EMULATION_METRICS},MOTOG4_USERAGENT="Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4695.0 Mobile Safari/537.36 Chrome-Lighthouse",DESKTOP_USERAGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4695.0 Safari/537.36 Chrome-Lighthouse",userAgents={mobile:MOTOG4_USERAGENT,desktop:DESKTOP_USERAGENT},defaultSettings={output:"json",maxWaitForFcp:3e4,maxWaitForLoad:45e3,formFactor:"mobile",throttling:throttling.mobileSlow4G,throttlingMethod:"simulate",screenEmulation:screenEmulationMetrics.mobile,emulatedUserAgent:userAgents.mobile,auditMode:!1,gatherMode:!1,disableStorageReset:!1,debugNavigation:!1,channel:"node",budgets:null,locale:"en-US", blockedUrlPatterns:null,additionalTraceCategories:null,extraHeaders:null,precomputedLanternData:null,onlyAudits:null,onlyCategories:null,skipAudits:null},defaultPassConfig={passName:"defaultPass",loadFailureMode:"fatal",recordTrace:!1,useThrottling:!1,pauseAfterFcpMs:0,pauseAfterLoadMs:0,networkQuietThresholdMs:0,cpuQuietThresholdMs:0,blockedUrlPatterns:[],blankPage:"about:blank",gatherers:[]},defaultNavigationConfig={id:"default",loadFailureMode:"fatal",disableThrottling:!1,disableStorageReset:!1,pauseAfterFcpMs:0,pauseAfterLoadMs:0,networkQuietThresholdMs:0,cpuQuietThresholdMs:0,blockedUrlPatterns:[],blankPage:"about:blank",artifacts:[]},nonSimulatedPassConfigOverrides={pauseAfterFcpMs:5250,pauseAfterLoadMs:5250,networkQuietThresholdMs:5250,cpuQuietThresholdMs:5250};var constants$7={throttling,screenEmulationMetrics,userAgents,defaultSettings,defaultPassConfig,defaultNavigationConfig,nonSimulatedPassConfigOverrides};function wrapRuntimeEvalErrorInBrowser(e){ return e&&"string"!=typeof e||(e=new Error(e)),{__failedInBrowser:!0,name:e.name||"Error",message:e.message||"unknown error",stack:e.stack}}function getElementsInDocument(e){const t=window.__ElementMatches||window.Element.prototype.matches,r=[],_findAllElements=n=>{for(let a,i=0;a=n[i];++i){if(!e||t.call(a,e)){const e=a;r.push(e)}a.shadowRoot&&_findAllElements(a.shadowRoot.querySelectorAll("*"))}};return _findAllElements(document.querySelectorAll("*")),r}function getOuterHTMLSnippet(e,t=[],r=500){const n=["autofill-information","autofill-prediction","title"];e instanceof ShadowRoot&&(e=e.host);try{const a=e.cloneNode();e.ownerDocument.createElement("template").content.append(a),t.concat(n).forEach((e=>{a.removeAttribute(e)}));let i=0;for(const t of a.getAttributeNames()){if(i>r){a.removeAttribute(t);continue}let n=a.getAttribute(t);if(null===n)continue;let o=!1;if("src"===t&&"currentSrc"in e){const t=e,r=t.currentSrc,a=t.ownerDocument.location.href;new URL(n,a).toString()!==r&&(n=r, o=!0)}n.length>75&&(n=n.slice(0,74)+"…",o=!0),o&&a.setAttribute(t,n),i+=t.length+n.length}const o=/^[\s\S]*?>/,[l]=a.outerHTML.match(o)||[];return l&&i>r?l.slice(0,l.length-1)+" …>":l||""}catch(t){return`<${e.localName}>`}}function getMaxTextureSize(){try{const e=document.createElement("canvas").getContext("webgl");if(!e)throw new Error("no webgl");return e.getParameter(e.MAX_TEXTURE_SIZE)}catch(e){return 4095}}function computeBenchmarkIndex(){return(function benchmarkIndexGC(){const e=Date.now();let t=0;for(;Date.now()-e<500;){let e="";for(let t=0;t<1e4;t++)e+="a";if(1===e.length)throw new Error("will never happen, but prevents compiler optimizations");t++}const r=(Date.now()-e)/1e3;return Math.round(t/10/r)}()+function benchmarkIndexNoGC(){const e=[],t=[];for(let r=0;r<1e5;r++)e[r]=t[r]=r;const r=Date.now();let n=0;for(;n%10!=0||Date.now()-r<500;){const r=n%2==0?e:t,a=n%2==0?t:e;for(let e=0;e<r.length;e++)a[e]=r[e];n++}const a=(Date.now()-r)/1e3;return Math.round(n/10/a)}())/2} function getNodePath(e){const isShadowRoot=e=>e.nodeType===Node.DOCUMENT_FRAGMENT_NODE,getNodeParent=e=>isShadowRoot(e)?e.host:e.parentNode;function getNodeIndex(e){if(isShadowRoot(e))return"a";let t,r=0;for(;t=e.previousSibling;)(e=t).nodeType===Node.TEXT_NODE&&0===(e.nodeValue||"").trim().length||r++;return r}let t=e;const r=[];for(;t&&getNodeParent(t);){const e=getNodeIndex(t);r.push([e,t.nodeName]),t=getNodeParent(t)}return r.reverse(),r.join(",")}function getNodeSelector(e){function getSelectorPart(e){let t=e.tagName.toLowerCase();return e.id?t+="#"+e.id:e.classList.length>0&&(t+="."+e.classList[0]),t}const t=[];for(;t.length<4&&(t.unshift(getSelectorPart(e)),e.parentElement)&&"HTML"!==(e=e.parentElement).tagName;);return t.join(" > ")}function isPositionFixed(e){function getStyleAttrValue(e,t){return e.style[t]||window.getComputedStyle(e)[t]}const t=document.querySelector("html");if(!t)throw new Error("html element not found in document") ;if(t.scrollHeight<=t.clientHeight||!["scroll","auto","visible"].includes(getStyleAttrValue(t,"overflowY")))return!1;let r=e;for(;r;){const e=getStyleAttrValue(r,"position");if("fixed"===e||"sticky"===e)return!0;r=r.parentElement}return!1}function getNodeLabel(e){const t=e.tagName.toLowerCase();if("html"!==t&&"body"!==t){const t=e instanceof HTMLElement&&e.innerText||e.getAttribute("alt")||e.getAttribute("aria-label");if(t)return function truncate(e,t){return e.length<=t?e:Array.from(e).slice(0,t-1).join("")+"…"}(t,80);{const t=e.querySelector("[alt], [aria-label]");if(t)return getNodeLabel(t)}}return null}function getBoundingClientRect(e){const t=e.getBoundingClientRect();return{top:Math.round(t.top),bottom:Math.round(t.bottom),left:Math.round(t.left),right:Math.round(t.right),width:Math.round(t.width),height:Math.round(t.height)}}function wrapRequestIdleCallback(e){const t=Math.floor(40/e),r=window.requestIdleCallback;window.requestIdleCallback=(e,n)=>r((r=>{const n=Date.now() ;r.__timeRemaining=r.timeRemaining,r.timeRemaining=()=>{const e=r.__timeRemaining();return Math.min(e,Math.max(0,t-(Date.now()-n)))},r.timeRemaining.toString=()=>"function timeRemaining() { [native code] }",e(r)}),n),window.requestIdleCallback.toString=()=>"function requestIdleCallback() { [native code] }"}function getNodeDetails(e){window.__lighthouseNodesDontTouchOrAllVarianceGoesAway||(window.__lighthouseNodesDontTouchOrAllVarianceGoesAway=new Map);const t=getNodeSelector(e=e instanceof ShadowRoot?e.host:e);let r=window.__lighthouseNodesDontTouchOrAllVarianceGoesAway.get(e);r||(r=[void 0!==window.__lighthouseExecutionContextId?window.__lighthouseExecutionContextId:"page",window.__lighthouseNodesDontTouchOrAllVarianceGoesAway.size,e.tagName].join("-"),window.__lighthouseNodesDontTouchOrAllVarianceGoesAway.set(e,r));return{lhId:r,devtoolsNodePath:getNodePath(e),selector:t,boundingRect:getBoundingClientRect(e),snippet:getOuterHTMLSnippet(e),nodeLabel:getNodeLabel(e)||t}} const getNodeDetailsString=`function getNodeDetails(element) {\n ${getNodePath.toString()};\n ${getNodeSelector.toString()};\n ${getBoundingClientRect.toString()};\n ${getOuterHTMLSnippet.toString()};\n ${getNodeLabel.toString()};\n return (${getNodeDetails.toString()})(element);\n}`;var pageFunctions$h={wrapRuntimeEvalErrorInBrowserString:wrapRuntimeEvalErrorInBrowser.toString(),wrapRuntimeEvalErrorInBrowser,getElementsInDocument,getElementsInDocumentString:getElementsInDocument.toString(),getOuterHTMLSnippetString:getOuterHTMLSnippet.toString(),getOuterHTMLSnippet,computeBenchmarkIndex,computeBenchmarkIndexString:computeBenchmarkIndex.toString(),getMaxTextureSize,getNodeDetailsString,getNodeDetails,getNodePathString:getNodePath.toString(),getNodeSelectorString:getNodeSelector.toString(),getNodePath,getNodeSelector,getNodeLabel,getNodeLabelString:getNodeLabel.toString(),isPositionFixedString:isPositionFixed.toString(),wrapRequestIdleCallback, getBoundingClientRectString:getBoundingClientRect.toString()};function normalizeArray(e,t){for(var r=0,n=e.length-1;n>=0;n--){var a=e[n];"."===a?e.splice(n,1):".."===a?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,splitPath=function(e){return splitPathRe.exec(e).slice(1)};function resolve(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=normalizeArray(filter(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function normalize(e){var t=isAbsolute(e),r="/"===substr(e,-1);return(e=normalizeArray(filter(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function isAbsolute(e){return"/"===e.charAt(0)}function join(){ var e=Array.prototype.slice.call(arguments,0);return normalize(filter(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function relative(e,t){function trim(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=resolve(e).substr(1),t=resolve(t).substr(1);for(var r=trim(e.split("/")),n=trim(t.split("/")),a=Math.min(r.length,n.length),i=a,o=0;o<a;o++)if(r[o]!==n[o]){i=o;break}var l=[];for(o=i;o<r.length;o++)l.push("..");return(l=l.concat(n.slice(i))).join("/")}var sep="/",delimiter=":";function dirname(e){var t=splitPath(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function basename(e,t){var r=splitPath(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function extname(e){return splitPath(e)[3]}var _polyfillNode_path={extname,basename,dirname,sep,delimiter,relative,join,isAbsolute,normalize,resolve} ;function filter(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}var substr="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)},_polyfillNode_path$1=Object.freeze({__proto__:null,resolve,normalize,isAbsolute,join,relative,sep,delimiter,dirname,basename,extname,default:_polyfillNode_path}),require$$5$2=getAugmentedNamespace(_polyfillNode_path$1),lookupClosestLocale$1=function lookupClosestLocale(e,t){if("string"==typeof e&&t[e])return e;for(var r=[].concat(e||[]),n=0,a=r.length;n<a;++n)for(var i=r[n].split("-");i.length;){var o=i.join("-");if(t[o])return o;i.pop()}},_polyfillNode_fs={},_polyfillNode_fs$1=Object.freeze({__proto__:null,default:_polyfillNode_fs}),require$$0$3=getAugmentedNamespace(_polyfillNode_fs$1),parser$1=function(){function peg$SyntaxError(e,t,r,n){this.message=e,this.expected=t,this.found=r,this.location=n,this.name="SyntaxError", "function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,peg$SyntaxError)}return function peg$subclass(e,t){function ctor(){this.constructor=e}ctor.prototype=t.prototype,e.prototype=new ctor}(peg$SyntaxError,Error),peg$SyntaxError.buildMessage=function(e,t){var r={literal:function(e){return'"'+literalEscape(e.text)+'"'},class:function(e){var t,r="";for(t=0;t<e.parts.length;t++)r+=e.parts[t]instanceof Array?classEscape(e.parts[t][0])+"-"+classEscape(e.parts[t][1]):classEscape(e.parts[t]);return"["+(e.inverted?"^":"")+r+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function hex(e){return e.charCodeAt(0).toString(16).toUpperCase()}function literalEscape(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+hex(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){ return"\\x"+hex(e)}))}function classEscape(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+hex(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+hex(e)}))}return"Expected "+function describeExpected(e){var t,n,a,i=new Array(e.length);for(t=0;t<e.length;t++)i[t]=(a=e[t],r[a.type](a));if(i.sort(),i.length>0){for(t=1,n=1;t<i.length;t++)i[t-1]!==i[t]&&(i[n]=i[t],n++);i.length=n}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+function describeFound(e){return e?'"'+literalEscape(e)+'"':"end of input"}(t)+" found."},{SyntaxError:peg$SyntaxError,parse:function peg$parse(e,t){t=void 0!==t?t:{};var r,n={},a={start:peg$parsestart},i=peg$parsestart,peg$c3=function(e){return e.join("") },o=peg$literalExpectation("{",!1),l=",",c=peg$literalExpectation(",",!1),u=peg$literalExpectation("}",!1),p="number",f=peg$literalExpectation("number",!1),b="date",S=peg$literalExpectation("date",!1),_="time",T=peg$literalExpectation("time",!1),E="plural",$=peg$literalExpectation("plural",!1),A="selectordinal",I=peg$literalExpectation("selectordinal",!1),R="select",x=peg$literalExpectation("select",!1),D=peg$literalExpectation("=",!1),C="offset:",k=peg$literalExpectation("offset:",!1),N=peg$otherExpectation("whitespace"),L=/^[ \t\n\r]/,M=peg$classExpectation([" ","\t","\n","\r"],!1,!1),U=peg$otherExpectation("optionalWhitespace"),O=/^[0-9]/,P=peg$classExpectation([["0","9"]],!1,!1),F=/^[0-9a-f]/i,B=peg$classExpectation([["0","9"],["a","f"]],!1,!0),j=peg$literalExpectation("0",!1),q=/^[1-9]/,H=peg$classExpectation([["1","9"]],!1,!1),z="'",G=peg$literalExpectation("'",!1),V=/^[ \t\n\r,.+={}#]/,W=peg$classExpectation([" ","\t","\n","\r",",",".","+","=","{","}","#"],!1,!1),Y={type:"any" },K=/^[^{}\\\0-\x1F\x7F \t\n\r]/,J=peg$classExpectation(["{","}","\\",["\0",""],""," ","\t","\n","\r"],!0,!1),Z=peg$literalExpectation("\\\\",!1),X=peg$literalExpectation("\\#",!1),Q=peg$literalExpectation("\\{",!1),ee=peg$literalExpectation("\\}",!1),te=peg$literalExpectation("\\u",!1),re=0,ne=0,ae=[{line:1,column:1}],ie=0,se=[],oe=0;if("startRule"in t){if(!(t.startRule in a))throw new Error("Can't start parsing from rule \""+t.startRule+'".');i=a[t.startRule]}function location(){return peg$computeLocation(ne,re)}function peg$literalExpectation(e,t){return{type:"literal",text:e,ignoreCase:t}}function peg$classExpectation(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function peg$otherExpectation(e){return{type:"other",description:e}}function peg$computePosDetails(t){var r,n=ae[t];if(n)return n;for(r=t-1;!ae[r];)r--;for(n={line:(n=ae[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return ae[t]=n,n} function peg$computeLocation(e,t){var r=peg$computePosDetails(e),n=peg$computePosDetails(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function peg$fail(e){re<ie||(re>ie&&(ie=re,se=[]),se.push(e))}function peg$parsestart(){return peg$parsemessageFormatPattern()}function peg$parsemessageFormatPattern(){var e,t,r;for(e=re,t=[],r=peg$parsemessageFormatElement();r!==n;)t.push(r),r=peg$parsemessageFormatElement();return t!==n&&(ne=e,t={type:"messageFormatPattern",elements:t,location:location()}),e=t}function peg$parsemessageFormatElement(){var t;return(t=function peg$parsemessageTextElement(){var t,r;t=re,(r=function peg$parsemessageText(){var t,r,a,i,o,l;t=re,r=[],a=re,(i=peg$parse_())!==n&&(o=peg$parsechars())!==n&&(l=peg$parse_())!==n?a=i=[i,o,l]:(re=a,a=n);if(a!==n)for(;a!==n;)r.push(a),a=re,(i=peg$parse_())!==n&&(o=peg$parsechars())!==n&&(l=peg$parse_())!==n?a=i=[i,o,l]:(re=a,a=n);else r=n;r!==n&&(ne=t,r=r.reduce((function(e,t){ return e.concat(t)}),[]).join(""));(t=r)===n&&(t=re,t=(r=peg$parsews())!==n?e.substring(t,re):r);return t}())!==n&&(ne=t,r={type:"messageTextElement",value:r,location:location()});return t=r}())===n&&(t=function peg$parseargumentElement(){var t,r,a,i,D,C,k;t=re,123===e.charCodeAt(re)?(r="{",re++):(r=n,0===oe&&peg$fail(o));r!==n&&peg$parse_()!==n&&(a=function peg$parseargument(){var e,t,r;if((e=peg$parsenumber())===n){for(e