var h=Object.create;var m=Object.defineProperty,l=Object.defineProperties,y=Object.getOwnPropertyDescriptor,N=Object.getOwnPropertyDescriptors,B=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,p=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,E=Reflect.get;var w=(r,e,a)=>e in r?m(r,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[e]=a,g=(r,e)=>{for(var a in e||={})u.call(e,a)&&w(r,a,e[a]);if(o)for(var a of o(e))M.call(e,a)&&w(r,a,e[a]);return r},P=(r,e)=>l(r,N(e));var F=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,a)=>(typeof require<"u"?require:e)[a]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+r+'" is not supported')});var S=(r,e)=>{var a={};for(var t in r)u.call(r,t)&&e.indexOf(t)<0&&(a[t]=r[t]);if(r!=null&&o)for(var t of o(r))e.indexOf(t)<0&&M.call(r,t)&&(a[t]=r[t]);return a};var x=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),b=(r,e)=>{for(var a in e)m(r,a,{get:e[a],enumerable:!0})},$=(r,e,a,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of B(e))!u.call(r,s)&&s!==a&&m(r,s,{get:()=>e[s],enumerable:!(t=y(e,s))||t.enumerable});return r};var j=(r,e,a)=>(a=r!=null?h(p(r)):{},$(e||!r||!r.__esModule?m(a,"default",{value:r,enumerable:!0}):a,r));var q=(r,e,a)=>E(p(r),a,e);var v=(r,e,a)=>new Promise((t,s)=>{var f=n=>{try{i(a.next(n))}catch(c){s(c)}},d=n=>{try{i(a.throw(n))}catch(c){s(c)}},i=n=>n.done?t(n.value):Promise.resolve(n.value).then(f,d);i((a=a.apply(r,e)).next())});var k=class r{constructor(e,a){this.correlationId=a,this.measureName=r.makeMeasureName(e,a),this.startMark=r.makeStartMark(e,a),this.endMark=r.makeEndMark(e,a)}static makeMeasureName(e,a){return`msal.measure.${e}.${a}`}static makeStartMark(e,a){return`msal.start.${e}.${a}`}static makeEndMark(e,a){return`msal.end.${e}.${a}`}static supportsBrowserPerformance(){return typeof window<"u"&&typeof window.performance<"u"&&typeof window.performance.mark=="function"&&typeof window.performance.measure=="function"&&typeof window.performance.clearMarks=="function"&&typeof window.performance.clearMeasures=="function"&&typeof window.performance.getEntriesByName=="function"}static flushMeasurements(e,a){if(r.supportsBrowserPerformance())try{a.forEach(t=>{let s=r.makeMeasureName(t.name,e);window.performance.getEntriesByName(s,"measure").length>0&&(window.performance.clearMeasures(s),window.performance.clearMarks(r.makeStartMark(s,e)),window.performance.clearMarks(r.makeEndMark(s,e)))})}catch{}}startMeasurement(){if(r.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch{}}endMeasurement(){if(r.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch{}}flushMeasurement(){if(r.supportsBrowserPerformance())try{let e=window.performance.getEntriesByName(this.measureName,"measure");if(e.length>0){let a=e[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),a}}catch{}return null}};export{g as a,P as b,F as c,S as d,x as e,b as f,j as g,q as h,v as i,k as j}; /**i18n:f3bb0d4155e0a92dcbce266b72b3eb7fcd4322e8558a7661e329493748cad80e*/