vault backup: 2026-11-06 08:29:08
This commit is contained in:
1 parent
432aaaa3dd
commit
3d71bd0088
2588 files changed
+554970
-23
No files matched your search
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see vendor.bundle.js.LICENSE.txt */
|
||||
(self.webpackChunk_xpay_wallet_hub=self.webpackChunk_xpay_wallet_hub||[]).push([[502],{12865:function(e,t,r){var o;"undefined"!=typeof self&&self,o=function(e){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){e.exports=r(1)},function(e,t,r){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),n=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||o(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.PerformanceMetricsLoggerMode=void 0,n(r(2),t);var i=r(5);Object.defineProperty(t,"PerformanceMetricsLoggerMode",{enumerable:!0,get:function(){return i.PerformanceMetricsLoggerMode}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PerformanceTimingLogger=t.PerformanceMetricsLogger=void 0;const o=r(3),n=r(4),i=r(6),a=r(7),s=r(5);t.PerformanceMetricsLogger=class{constructor(e){this.mode=s.PerformanceMetricsLoggerMode.Customized,this.skipViewportCheck=!1,this.initialized=!1;const t=e.instrumentation.addScenario({scenario:[{name:"performance",value:"performance",activity:[{name:"webMetrics",value:"web metrics"}]}]}).performance.create();this.metricsLogger=t.webMetrics.create(),this.mode=e.mode||this.mode,this.skipViewportCheck=e.skipViewportCheck||this.skipViewportCheck}writeMetric(e){try{const{name:t,value:r,delta:o,id:n,priority:i,attachment:a}=e,s=JSON.stringify({name:t,value:r,delta:o,id:n,priority:i,attachment:a});this.metricsLogger.perf(s,e.name)}catch(e){}}writeMetricException(e){this.metricsLogger.trace(e)}start(){this.init()}init(){this.initialized||(this.initialized=!0,(0,o.getCLS)((e=>this.writeMetric(e))),(0,o.getFCP)((e=>this.writeMetric(e))),(0,o.getFID)((e=>this.writeMetric(e))),(0,o.getLCP)((e=>this.writeMetric(e))),(0,o.getTTFB)((e=>this.writeMetric(e))),this.mode===s.PerformanceMetricsLoggerMode.Customized&&(0,n.getSpaFCP)((e=>this.writeMetric(e))),this.mode===s.PerformanceMetricsLoggerMode.Customized&&(0,i.getFMP)((e=>this.writeMetric(e)),(e=>this.writeMetricException(e)),this.skipViewportCheck))}measureFMP(e){(0,i.measureFMP)((e=>this.writeMetric(e)),(e=>this.writeMetricException(e)),null==e?void 0:e.startTime,this.skipViewportCheck)}},t.PerformanceTimingLogger=class{constructor(e){this.instrumentation=e.instrumentation}init(){this.observeNavigation(),this.observeResources()}writeTimingLog(e){this.instrumentation.writeRawLog(e)}observeResources(){(0,a.observe)("resource",(e=>{const t=e,{entryType:r,name:o,startTime:n,duration:i,initiatorType:a,nextHopProtocol:s,workerStart:l,redirectStart:c,redirectEnd:u,fetchStart:d,domainLookupStart:f,domainLookupEnd:h,connectStart:p,connectEnd:v,secureConnectionStart:g,requestStart:m,responseStart:b,responseEnd:y,transferSize:w,encodedBodySize:k,decodedBodySize:x}=t;this.writeTimingLog({entryType:r,name:o,startTime:n,duration:i,initiatorType:a,nextHopProtocol:s,workerStart:l,redirectStart:c,redirectEnd:u,fetchStart:d,domainLookupStart:f,domainLookupEnd:h,connectStart:p,connectEnd:v,secureConnectionStart:g,requestStart:m,responseStart:b,responseEnd:y,transferSize:w,encodedBodySize:k,decodedBodySize:x})}))}observeNavigation(){(0,a.observe)("navigation",(e=>{const t=e,{entryType:r,name:o,startTime:n,duration:i,initiatorType:a,domComplete:s,domContentLoadedEventEnd:l,domContentLoadedEventStart:c,domInteractive:u,loadEventEnd:d,loadEventStart:f,redirectCount:h,requestStart:p,responseStart:v,type:g,unloadEventEnd:m,unloadEventStart:b,nextHopProtocol:y,workerStart:w,redirectStart:k,redirectEnd:x,fetchStart:B,domainLookupStart:_,domainLookupEnd:S,connectStart:C,connectEnd:z,secureConnectionStart:P,responseEnd:T,transferSize:E,encodedBodySize:N,decodedBodySize:j}=t;this.writeTimingLog({entryType:r,name:o,startTime:n,duration:i,initiatorType:a,domComplete:s,domContentLoadedEventEnd:l,domContentLoadedEventStart:c,domInteractive:u,loadEventEnd:d,loadEventStart:f,redirectCount:h,requestStart:p,responseStart:v,type:g,unloadEventEnd:m,unloaLine truncated
|
||||
Reference in new issue
Block a user