PageSourceSearch

https://ferovepzp.sk/profiler-66bca454e413314e2fd5.js

js ferovepzp.sk collected 2026-10-08 08:05:20 UTC 4,666 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[12],{14566:function(t,e,n){n.r(e),n.d(e,{DEFAULT_RUM_PROFILER_CONFIGURATION:function(){return v},createRumProfiler:function(){return w}});var s=n(9507),r=n(49501),i=n(7797),a=n(14375),o=n(44693),c=n(70432),u=n(45294);const l=/\/(?![vV]\d{1,2}\/)([^/\d?]*\d+[^/?]*)/g;const d=(t,e)=>t||function(t){return t?t.replace(l,"/?"):"/"}(e);var p=n(46997);function f(t,e,n){const s={application:{id:e}};n&&(s.session={id:n});const{ids:r,names:i}=function(t){const e={ids:[],names:[]};for(const n of t)e.ids.push(n.viewId),n.viewName&&e.names.push(n.viewName);return e.names=Array.from(new Set(e.names)),e}(t.views);r.length&&(s.view={id:r,name:i});const a=t.longTasks.map((t=>t.id)).filter((t=>void 0!==t));return a.length&&(s.long_task={id:a}),s}function m(t,e,n){const s=function(t,e,n){const s=(0,p.m5)(e),r=f(t,e.applicationId,n),i=function(t){const e=t.concat(["language:javascript","runtime:chrome","family:chrome","host:browser"]);return e}(s),a={...r,attachments:["wall-time.json"],start:new Date(t.startClocks.timeStamp).toISOString(),end:new Date(t.endClocks.timeStamp).toISOString(),family:"chrome",runtime:"chrome",format:"json",version:4,tags_profiler:i.join(","),_dd:{clock_drift:(0,o.TP)()}};return a}(t,e,n);return{event:s,"wall-time.json":t}}const v={sampleIntervalMs:10,collectIntervalMs:6e4,minProfileDurationMs:5e3,minNumberOfSamples:50};function w(t,e,n,l,p,f,w,g=v){const h=(0,u.wP)(t,e,f,6);let k;const b=[];let y={state:"stopped",stateReason:"initializing"};function I(){if("running"===y.state)return;const e=w.findView();k=e?{startClocks:e.startClocks,viewId:e.id,viewName:d(e.name,document.location.pathname)}:void 0,b.push((0,r.q)(t,window,"visibilitychange",P).stop,(0,r.q)(t,window,"beforeunload",R).stop),S()}async function M(t){await async function(t){if("running"!==y.state)return;await D(),y={state:"stopped",stateReason:t}}(t),b.forEach((t=>t())),l.set({status:"stopped",error_reason:void 0})}function S(){const t=(0,i.VZ)().Profiler;if(!t)throw l.set({status:"error",error_reason:"not-supported-by-browser"}),new Error("RUM Profiler is not supported in this browser.");T(y).catch(s.Dx);const{cleanupTasks:n}=function(t){if("running"===t.state)return{cleanupTasks:t.cleanupTasks};const n=[],s=e.subscribe(2,(t=>{const e={viewId:t.id,viewName:d(t.name,document.location.pathname),startClocks:t.startClocks};C(e),k=e}));return n.push(s.unsubscribe),{cleanupTasks:n}}(y);let r;try{r=new t({sampleInterval:g.sampleIntervalMs,maxBufferSize:Math.round(1.5*g.collectIntervalMs/g.sampleIntervalMs)})}catch(u){return void(u instanceof Error&&u.message.includes("disabled by Document Policy")?(a.Vy.warn("[DD_RUM] Profiler startup failed. Ensure your server includes the `Document-Policy: js-profiling` response header when serving HTML pages.",u),l.set({status:"error",error_reason:"missing-document-policy-header"})):l.set({status:"error",error_reason:"unexpected-exception"}))}l.set({status:"running",error_reason:void 0}),y={state:"running",startClocks:(0,o.M8)(),profiler:r,timeoutId:(0,c.wg)(S,g.collectIntervalMs),views:[],cleanupTasks:n,longTasks:[]},C(k),r.addEventListener("samplebufferfull",_)}async function T(e){if("running"!==e.state)return;(0,c.DJ)(e.timeoutId),e.profiler.removeEventListener("samplebufferfull",_);const{startClocks:r,views:i}=e;await e.profiler.stop().then((e=>{const s=(0,o.M8)(),a=(0,o.vk)(r.timeStamp,s.timeStamp),c=p.findLongTasks(r.relative,a),u=a<g.minProfileDurationMs,l=function(t){let e=0;for(const n of t)void 0!==n.stackId&&e++;return e}(e.samples)<g.minNumberOfSamples;0===c.length&&(u||l)||function(e){var s;const r=null===(s=n.findTrackedSession())||void 0===s?void 0:s.id,i=m(e,t,r);h.send(i)}(Object.assign(e,{startClocks:r,endClocks:s,clocksOrigin:(0,o.Oc)(),longTasks:c,views:i,sampleInterval:g.sampleIntervalMs}))})).catch(s.Dx)}async function D(){"running"===y.state&&(y.cleanupTasks.forEach((t=>t())),await T(y))}function C(t){"running"===y.state&&t&&y.views.push(t)}function _(){S()}function P(){"hidden"===document.visibilityState&&"running"===y.state?async function(){"running"===y.state&&(await D(),y={state:"paused"})}().catch(s.Dx):"visible"===document.visibilityState&&"paused"===y.state&&S()}function R(){S()}return e.subscribe(9,(()=>
1{M("session-expired").catch(s.Dx)})),e.subscribe(10,(()=>{"stopped"===y.state&&"session-expired"===y.stateReason&&I()})),{start:I,stop:async function(){await M("stopped-by-user")},isStopped:function(){return"stopped"===y.state},isRunning:function(){return"running"===y.state},isPaused:function(){return"paused"===y.state}}}}}]);
2//# sourceMappingURL=profiler-66bca454e413314e2fd5.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.