ERP-admin/build/admin/assets/performance-now.a710f6e4.js

2 lines
595 B
JavaScript
Raw Permalink Normal View History

2024-05-21 15:15:41 +08:00
import{n as p}from"./@babel.16688d44.js";var e={exports:{}},f;function c(){return f||(f=1,function(){var o,t,r,i,a,s;typeof performance<"u"&&performance!==null&&performance.now?e.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(e.exports=function(){return(o()-a)/1e6},t=process.hrtime,o=function(){var n;return n=t(),n[0]*1e9+n[1]},i=o(),s=process.uptime()*1e9,a=i-s):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}.call(p)),e.exports}export{c as r};