PageSourceSearch

https://www.fuselive.net/page_view_timing-aggregate.6d017a0158c9651b0734.js

js fuselive.net collected 2026-10-09 23:49:24 UTC 18,642 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkfitu_app=self.webpackChunkfitu_app||[]).push([[2617],{702:function(t,e,n){n.d(e,{j:function(){return o}});var r=n(57226),i=n(58740),a=n(83209);const o=new(n(79507).x)(a.w.FIRST_CONTENTFUL_PAINT);if(i.RI)if(i.sb)try{if(!i.mw){performance.getEntriesByType("paint").forEach(t=>{"first-contentful-paint"===t.name&&o.update({value:Math.floor(t.startTime)})})}}catch(t){}else(0,r.zB)(({value:t,attribution:e})=>{if(i.mw||o.isValid)return;const n={timeToFirstByte:e.timeToFirstByte,firstByteToFCP:e.firstByteToFCP,loadState:e.loadState};o.update({value:t,attrs:n})})},38025:function(t,e,n){n.d(e,{j:function(){return s}});var r=n(58740),i=n(83209),a=n(79507),o=n(57226);const s=new a.x(i.w.TIME_TO_FIRST_BYTE);if(r.RI&&"undefined"!=typeof PerformanceNavigationTiming&&!r.OF&&window===window.parent)(0,o.Ck)(({value:t,attribution:e})=>{s.isValid||s.update({value:t,attrs:{navigationEntry:e.navigationEntry}})});else if(!s.isValid){const t={};for(let e in r.gm?.performance?.timing||{})t[e]=Math.max(r.gm?.performance?.timing[e]-r.WN,0);s.update({value:t.responseStart,attrs:{navigationEntry:t}})}},41291:function(t,e,n){n.d(e,{J:function(){return a}});var r=n(58740),i=n(83209);const a=new(n(79507).x)(i.w.FIRST_PAINT);if(r.RI){const t=t=>{t.forEach(t=>{"first-paint"!==t.name||a.isValid||(e.disconnect(),a.update({value:t.startTime}))})};let e;try{PerformanceObserver.supportedEntryTypes.includes("paint")&&!r.mw&&(e=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})}),e.observe({type:"paint",buffered:!0}))}catch(t){}}},48861:function(t,e,n){n.d(e,{AQ:function(){return c},me:function(){return o},sH:function(){return s},uJ:function(){return u}});var r=n(21690),i=Object.prototype.hasOwnProperty,a=64;function o(t,e,n){return t||0===t||""===t?e(t)+(n?",":""):"!"}function s(t,e){return e?Math.floor(t).toString(36):void 0===t||0===t?"":Math.floor(t).toString(36)}function u(t){let e=0;const n=Object.prototype.hasOwnProperty.call(Object,"create")?Object.create(null):{};return function(r){if(void 0===r||""===r)return"";return r=t.obfuscateString(String(r)),i.call(n,r)?s(n[r],!0):(n[r]=e++,function(t){return"'"+t.replace(f,"\\$1")}(r))}}function c(t,e){var n=[];return Object.entries(t||{}).forEach(([t,i])=>{if(!(n.length>=a)){var o,s=5;switch(t=e(t),typeof i){case"object":i?o=e((0,r.A)(i)):s=9;break;case"number":s=6,o=i%1?i:i+".";break;case"boolean":s=i?7:8;break;case"undefined":s=9;break;default:o=e(i)}n.push([s,t+(o?","+o:"")])}}),n}var f=/([,\\;])/g},57226:function(t,e,n){n.d(e,{Ck:function(){return ut},IN:function(){return F},fK:function(){return it},rH:function(){return et},zB:function(){return N}});var r,i,a=function(){var t=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart<performance.now())return t},o=function(t){if("loading"===document.readyState)return"loading";var e=a();if(e){if(t<e.domInteractive)return"loading";if(0===e.domContentLoadedEventStart||t<e.domContentLoadedEventStart)return"dom-interactive";if(0===e.domComplete||t<e.domComplete)return"dom-content-loaded"}return"complete"},s=function(t){var e=t.nodeName;return 1===t.nodeType?e.toLowerCase():e.toUpperCase().replace(/^#/,"")},u=function(t,e){var n="";try{for(;t&&9!==t.nodeType;){var r=t,i=r.id?"#"+r.id:s(r)+(r.classList&&r.classList.value&&r.classList.value.trim()&&r.classList.value.trim().length?"."+r.classList.value.trim().replace(/\s+/g,"."):"");if(n.length+i.length>(e||100)-1)return n||i;if(n=n?i+">"+n:i,r.id)break;t=r.parentNode}}catch(t){}return n},c=-1,f=function(){return c},d=function(t){addEventListener("pageshow",function(e){e.persisted&&(c=e.timeStamp,t(e))},!0)},l=function(){var t=a();return t&&t.activationStart||0},m=function(t,e){var n=a(),r="navigate";return f()>=0?r="back-forward-cache":n&&(document.prerendering||l()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},h=function(t,e,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var r=new PerformanceObserver(function(t){Promise.resolve().then(function(){e(t.getEntries())})});return r.observe(Object.assign({type:t,buffered:!0},n||{})),r}}catch(t){}},p=function(t,e,n,r){var i,a;return function(o){e.value>=0&&(o||r)&&((a=e.value-(i||0))||void 0===i)&&(i=e.value,e.delta=a,e.rating=function(t,e){return t>e[1]?"poor":t>e[0]?"needs-improvement":"good"}(e.value,n),t(e))}},v=function(t){requestAnimationFrame(function(){return requestAnimationFrame(function(){return t()})})},g=function(t){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&t()})},T=function(t){var e=!1;return function(){e||(t(),e=!0)}},y=-1,b=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},E=function(t){"hidden"===document.visibilityState&&y>-1&&(y="visibilitychange"===t.type?t.timeStamp:0,I())},S=function(){addEventListener("visibilitychange",E,!0),addEventListener("prerenderingchange",E,!0)},I=function(){removeEventListener("visibilitychange",E,!0),removeEventListener("prerenderingchange",E,!0)},w=function(){return y<0&&(y=b(),S(),d(function(){setTimeout(function(){y=b(),S()},0)})),{get firstHiddenTime(){return y}}},C=function(t){document.prerendering?addEventListener("prerenderingchange",function(){return t()},!0):t()},L=[1800,3e3],M=function(t,e){e=e||{},C(function(){var n,r=w(),i=m("FCP"),a=h("paint",function(t){t.forEach(function(t){"first-contentful-paint"===t.name&&(a.disconnect(),t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-l(),0),i.entries.push(t),n(!0)))})});a&&(n=p(t,i,L,e.reportAllChanges),d(function(r){i=m("FCP"),n=p(t,i,L,e.reportAllChanges),v(function(){i.value=performance.now()-r.timeStamp,n(!0)})}))})},A=[.1,.25],F=function(t,e){!function(t,e){e=e||{},M(T(function(){var n,r=m("CLS",0),i=0,a=[],o=function(t){t.forEach(function(t){if(!t.hadRecentInput){var e=a[0],n=a[a.length-1];i&&t.startTime-n.startTime<1e3&&t.startTime-e.startTime<5e3?(i+=t.value,a.push(t)):(i=t.value,a=[t])}}),i>r.value&&(r.value=i,r.entries=a,n())},s=h("layout-shift",o);s&&(n=p(t,r,A,e.reportAllChanges),g(function(){o(s.takeRecords()),n(!0)}),d(function(){i=0,r=m("CLS",0),n=p(t,r,A,e.reportAllChanges),v(function(){return n()})}),setTimeout(n,0))}
1))}(function(e){var n=function(t){var e,n={};if(t.entries.length){var r=t.entries.reduce(function(t,e){return t&&t.value>e.value?t:e});if(r&&r.sources&&r.sources.length){var i=(e=r.sources).find(function(t){return t.node&&1===t.node.nodeType})||e[0];i&&(n={largestShiftTarget:u(i.node),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:i,largestShiftEntry:r,loadState:o(r.startTime)})}}return Object.assign(t,{attribution:n})}(e);t(n)},e)},N=function(t,e){M(function(e){var n=function(t){var e={timeToFirstByte:0,firstByteToFCP:t.value,loadState:o(f())};if(t.entries.length){var n=a(),r=t.entries[t.entries.length-1];if(n){var i=n.activationStart||0,s=Math.max(0,n.responseStart-i);e={timeToFirstByte:s,firstByteToFCP:t.value-s,loadState:o(t.entries[0].startTime),navigationEntry:n,fcpEntry:r}}}return Object.assign(t,{attribution:e})}(e);t(n)},e)},R=0,k=1/0,x=0,D=function(t){t.forEach(function(t){t.interactionId&&(k=Math.min(k,t.interactionId),x=Math.max(x,t.interactionId),R=x?(x-k)/7+1:0)})},O=function(){return r?R:performance.interactionCount||0},P=function(){"interactionCount"in performance||r||(r=h("event",D,{type:"event",buffered:!0,durationThreshold:0}))},_=[],B=new Map,j=0,V=[],H=function(t){if(V.forEach(function(e){return e(t)}),t.interactionId||"first-input"===t.entryType){var e=_[_.length-1],n=B.get(t.interactionId);if(n||_.length<10||t.duration>e.latency){if(n)t.duration>n.latency?(n.entries=[t],n.latency=t.duration):t.duration===n.latency&&t.startTime===n.entries[0].startTime&&n.entries.push(t);else{var r={id:t.interactionId,latency:t.duration,entries:[t]};B.set(r.id,r),_.push(r)}_.sort(function(t,e){return e.latency-t.latency}),_.length>10&&_.splice(10).forEach(function(t){return B.delete(t.id)})}}},U=function(t){var e=self.requestIdleCallback||self.setTimeout,n=-1;return t=T(t),"hidden"===document.visibilityState?t():(n=e(t),g(t)),n},z=[200,500],q=function(t,e){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(e=e||{},C(function(){var n;P();var r,i=m("INP"),a=function(t){U(function(){t.forEach(H);var e=function(){var t=Math.min(_.length-1,Math.floor((O()-j)/50));return _[t]}();e&&e.latency!==i.value&&(i.value=e.latency,i.entries=e.entries,r())})},o=h("event",a,{durationThreshold:null!==(n=e.durationThreshold)&&void 0!==n?n:40});r=p(t,i,z,e.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),g(function(){a(o.takeRecords()),r(!0)}),d(function(){j=O(),_.length=0,B.clear(),i=m("INP"),r=p(t,i,z,e.reportAllChanges)}))}))},Y=[],G=[],J=0,K=new WeakMap,W=new Map,X=-1,Q=function(t){Y=Y.concat(t),$()},$=function(){X<0&&(X=U(Z))},Z=function(){W.size>10&&W.forEach(function(t,e){B.has(e)||W.delete(e)});var t=_.map(function(t){return K.get(t.entries[0])}),e=G.length-50;G=G.filter(function(n,r){return r>=e||t.includes(n)});for(var n=new Set,r=0;r<G.length;r++){var i=G[r];tt(i.startTime,i.processingEnd).forEach(function(t){n.add(t)})}var a=Y.length-1-50;Y=Y.filter(function(t,e){return t.startTime>J&&e>a||n.has(t)}),X=-1};V.push(function(t){t.interactionId&&t.target&&!W.has(t.interactionId)&&W.set(t.interactionId,t.target)},function(t){var e,n=t.startTime+t.duration;J=Math.max(J,t.processingEnd);for(var r=G.length-1;r>=0;r--){var i=G[r];if(Math.abs(n-i.renderTime)<=8){(e=i).startTime=Math.min(t.startTime,e.startTime),e.processingStart=Math.min(t.processingStart,e.processingStart),e.processingEnd=Math.max(t.processingEnd,e.processingEnd),e.entries.push(t);break}}e||(e={startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,renderTime:n,entries:[t]},G.push(e)),(t.interactionId||"first-input"===t.entryType)&&K.set(t,e),$()});var tt=function(t,e){for(var n,r=[],i=0;n=Y[i];i++)if(!(n.startTime+n.duration<t)){if(n.startTime>e)break;r.push(n)}return r},et=function(t,e){i||(i=h("long-animation-frame",Q)),q(function(e){var n=function(t){var e=t.entries[0],n=K.get(e),r=e.processingStart,i=n.processingEnd,a=n.entries.sort(function(t,e){return t.processingStart-e.processingStart}),s=tt(e.startTime,i),c=t.entries.find(function(t){return t.target}),f=c&&c.target||W.get(e.interactionId),d=[e.startTime+e.duration,i].concat(s.map(function(t){return t.startTime+t.duration})),l=Math.max.apply(Math,d),m={interactionTarget:u(f),interactionTargetElement:f,interactionType:e.name.startsWith("key")?"keyboard":"pointer",interactionTime:e.startTime,nextPaintTime:l,processedEventEntries:a,longAnimationFrameEntries:s,inputDelay:r-e.startTime,processingDuration:i-r,presentationDelay:Math.max(l-i,0),loadState:o(e.startTime)};return Object.assign(t,{attribution:m})}(e);t(n)},e)},nt=[2500,4e3],rt={},it=function(t,e){!function(t,e){e=e||{},C(function(){var n,r=w(),i=m("LCP"),a=function(t){e.reportAllChanges||(t=t.slice(-1)),t.forEach(function(t){t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-l(),0),i.entries=[t],n())})},o=h("largest-contentful-paint",a);if(o){n=p(t,i,nt,e.reportAllChanges);var s=T(function(){rt[i.id]||(a(o.takeRecords()),o.disconnect(),rt[i.id]=!0,n(!0))});["keydown","click"].forEach(function(t){addEventListener(t,function(){return U(s)},{once:!0,capture:!0})}),g(s),d(function(r){i=m("LCP"),n=p(t,i,nt,e.reportAllChanges),v(function(){i.value=performance.now()-r.timeStamp,rt[i.id]=!0,n(!0)})})}})}(function(e){var n=function(t){var e={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:t.value};if(t.entries.length){var n=a();if(n){var r=n.activationStart||0,i=t.entries[t.entries.length-1],o=i.url&&performance.getEntriesByType("resource").filter(function(t){return t.name===i.url})[0],s=Math.max(0,n.responseStart-r),c=Math.max(s,o?(o.requestStart||o.startTime)-r:0),f=Math.max(c,o?o.responseEnd-r:0),d=Math.max(f,i.startTime-r);e={element:u(i.element),timeToFirstByte:s,resourceLoadDelay:c-s,resourceLoadDuration:f-c,elementRenderDelay:d-f,navigationEntry:n,lcpEntry:i},i.url&&(e.url=i.url),o&&(e.lcpResourceEntry=o)}}return Object.assign(t,{attribution:e})}(e);t(n)},e)},at=[800,1800],ot=function t(e){document.prerendering?C(function(){return t(e)}):"complete"!==document.readyState?addEventListener("load",function(){return t(e)},!0):setTimeout(e,0)},st=function(t,e){e=e||{};var n=m("TTFB"),r=p(t,n,at,e.reportAllChanges);ot(function(){var i=a();i&&(n.value=Math.max(i.responseStart-l(),0),n.entries=[i],r(!0),d(function(){n=m("TTFB",0),(r=p(t,n,at,e.reportAllChanges))(!0)}))})}
1,ut=function(t,e){st(function(e){var n=function(t){var e={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(t.entries.length){var n=t.entries[0],r=n.activationStart||0,i=Math.max((n.workerStart||n.fetchStart)-r,0),a=Math.max(n.domainLookupStart-r,0),o=Math.max(n.connectStart-r,0),s=Math.max(n.connectEnd-r,0);e={waitingDuration:i,cacheDuration:a-i,dnsDuration:o-a,connectionDuration:s-o,requestDuration:t.value-s,navigationEntry:n}}return Object.assign(t,{attribution:e})}(e);t(n)},e)};new Date},79507:function(t,e,n){n.d(e,{x:function(){return r}});class r{#t=new Set;history=[];constructor(t,e){this.name=t,this.attrs={},this.roundingMethod="function"==typeof e?e:Math.floor}update({value:t,attrs:e={}}){if(null==t||t<0)return;const n={value:this.roundingMethod(t),name:this.name,attrs:e};this.history.push(n),this.#t.forEach(t=>{try{t(n)}catch(t){}})}get current(){return this.history[this.history.length-1]||{value:void 0,name:this.name,attrs:{}}}get isValid(){return this.current.value>=0}subscribe(t,e=!0){if("function"==typeof t)return this.#t.add(t),this.isValid&&e&&this.history.forEac
1h(e=>{t(e)}),()=>{this.#t.delete(t)}}}},83209:function(t,e,n){n.d(e,{w:function(){return r}});const r={FIRST_PAINT:"fp",FIRST_CONTENTFUL_PAINT:"fcp",FIRST_INTERACTION:"fi",LARGEST_CONTENTFUL_PAINT:"lcp",CUMULATIVE_LAYOUT_SHIFT:"cls",INTERACTION_TO_NEXT_PAINT:"inp",TIME_TO_FIRST_BYTE:"ttfb"}},87154:function(t,e,n){n.r(e),n.d(e,{Aggregate:function(){return S}});var r=n(48861),i=n(72024),a=n(34842),o=n(41172),s=n(19470),u=n(12489),c=n(57226),f=n(83209),d=n(79507),l=n(58740);const m=new d.x(f.w.CUMULATIVE_LAYOUT_SHIFT,t=>t);l.RI&&(0,c.IN)(({value:t,attribution:e,id:n})=>{const r={metricId:n,largestShiftTarget:e.largestShiftTarget,largestShiftTime:e.largestShiftTime,largestShiftValue:e.largestShiftValue,loadState:e.loadState};m.update({value:t,attrs:r})},{reportAllChanges:!0});var h=n(702),p=n(41291);const v=new d.x(f.w.INTERACTION_TO_NEXT_PAINT);l.RI&&(0,c.rH)(({value:t,attribution:e,id:n})=>{const r={metricId:n,eventTarget:e.interactionTarget,eventTime:e.interactionTime,interactionTarget:e.interactionTarget,interactionTime:e.interactionTime,interactionType:e.interactionType,inputDelay:e.inputDelay,nextPaintTime:e.nextPaintTime,processingDuration:e.processingDuration,presentationDelay:e.presentationDelay,loadState:e.loadState};v.update({value:t,attrs:r})});var g=n(18897);const T=new d.x(f.w.LARGEST_CONTENTFUL_PAINT);l.RI&&(0,c.fK)(({value:t,attribution:e})=>{if(l.mw||T.isValid)return;let n;const r=e.lcpEntry;r&&(n={size:r.size,eid:r.id,element:e.element,timeToFirstByte:e.timeToFirstByte,resourceLoadDelay:e.resourceLoadDelay,resourceLoadDuration:e.resourceLoadDuration,resourceLoadTime:e.resourceLoadDuration,elementRenderDelay:e.elementRenderDelay},e.url&&(n.elUrl=(0,g.L)(e.url)),r.element?.tagName&&(n.elTag=r.element.tagName)),T.update({value:t,attrs:n})});var y=n(38025),b=n(62449),E=n(94970);class S extends u.r{static featureName=o.T;#e=({name:t,value:e,attrs:n})=>{this.addTiming(t,e,n)};constructor(t){super(t,o.T),this.curSessEndRecorded=!1,this.firstIxnRecorded=!1,super.customAttributesAreSeparate=!0,(0,i.i)("docHidden",t=>this.endCurrentSession(t),this.featureName,this.ee),(0,i.i)("winPagehide",t=>this.addTiming("unload",t,null),this.featureName,this.ee),this.waitForFlags([]).then(()=>{p.J.subscribe(this.#e),h.j.subscribe(this.#e),T.subscribe(this.#e),v.subscribe(this.#e),y.j.subscribe(({attrs:t})=>{this.addTiming("load",Math.round(t.navigationEntry.loadEventEnd))}),(0,b.u)(()=>{const{name:t,value:e,attrs:n}=m.current;void 0!==e&&this.addTiming(t,1e3*e,n)},!0,!0),this.drain()})}endCurrentSession(t){this.curSessEndRecorded||(this.addTiming("pageHide",t,null),this.curSessEndRecorded=!0)}addTiming(t,e,n){(function(t){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(!e)return;e.type&&(t["net-type"]=e.type);e.effectiveType&&(t["net-etype"]=e.effectiveType);e.rtt&&(t["net-rtt"]=e.rtt);e.downlink&&(t["net-dlink"]=e.downlink)})(n=n||{}),t!==f.w.CUMULATIVE_LAYOUT_SHIFT&&m.current.value>=0&&(n.cls=m.current.value);const r={name:t,value:e,attrs:n};return this.events.add(r),(0,a.p)("pvtAdded",[t,e,n],void 0,s.K7.sessionTrace,this.ee),this.checkForFirstInteraction(),r}checkForFirstInteraction(){if(this.firstIxnRecorded||l.mw||!performance)return;const t=performance.getEntriesByType("first-input")[0];t&&(this.firstIxnRecorded=!0,this.addTiming("fi",t.startTime,{type:t.name,eventTarget:(0,E.t)(t.target),loadState:document.readyState}))}appendGlobalCustomAttributes(t){var e=t.attrs||{},n=["size","eid","cls","type","fid","elTag","elUrl","net-type","net-etype","net-rtt","net-dlink"];Object.entries(this.agentRef.info.jsAttributes||{}).forEach(([t,r])=>{n.indexOf(t)<0&&(e[t]=r)})}preHarvestChecks(){return this.checkForFirstInteraction(),super.preHarvestChecks()}serializer(t){if(!t?.length)return"";for(var e=(0,r.uJ)(this.agentRef.runtime.obfuscator),n="bel.6;",i=0;i<t.length;i++){var a=t[i];n+="e,",n+=e(a.name)+",",n+=(0,r.me)(a.value,r.sH,!1)+",",this.appendGlobalCustomAttributes(a);var o=(0,r.AQ)(a.attrs,e);o&&o.length>0&&(n+=(0,r.sH)(o.length)+";"+o.join(";")),i+1<t.length&&(n+=";")}return n}}},94970:function(t,e,n){function r(t,e,n){let r="unknown";if(t&&t instanceof XMLHttpRequest){const e=n.context(t).params;if(!(e&&e.status&&e.method&&e.host&&e.pathname))return"xhrOriginMissing";r=e.status+" "+e.method+": "+e.host+e.pathname}else if(t&&"string"==typeof t.tagName&&(r=t.tagName.toLowerCase(),t.id&&(r+="#"+t.id),t.className))for(let e=0;e<t.classList.length;e++)r+="."+t.classList[e];return"unknown"===r&&("string"==typeof e?r=e:e===document?r="document":e===window?r="window":e instanceof FileReader&&(r="FileReader")),r}n.d(e,{t:function(){return r}})}}]);

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.