1function x(A,P){for(var b=0;b<P.length;b++){const I=P[b];if(typeof I!="string"&&!Array.isArray(I)){for(const S in I)if(S!=="default"&&!(S in A)){const w=Object.getOwnPropertyDescriptor(I,S);w&&Object.defineProperty(A,S,w.get?w:{enumerable:!0,get:()=>I[S]})}}}return Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}},k;function O(){return k||(k=1,(function(A,P){(function(b,I){A.exports=I()})(self,(()=>(()=>{var b={669:(g,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AvoBatcher=void 0;var f=c(611),v=(function(){function p(a){var l=this;this.events=[],this.networkCallsHandler=a,this.batchFlushAttemptTimestamp=Date.now(),f.AvoInspector.avoStorage.getItemAsync(p.cacheKey).then((function(t){if(t!==null){var n=t.filter((function(e){return e!==null}));l.events=l.events.concat(n),l.checkIfBatchNeedsToBeSent()}})).catch((function(t){console.error("Avo Inspector: error getting events from cache",t)}))}return p.prototype.handleSessionStarted=function(){this.events.push(this.networkCallsHandler.bodyForSessionStartedCall()),this.saveEvents(),this.checkIfBatchNeedsToBeSent()},p.prototype.handleTrackSchema=function(a,l,t,n){this.events.push(this.networkCallsHandler.bodyForEventSchemaCall(a,l,t,n)),this.saveEvents(),f.AvoInspector.shouldLog&&console.log("Avo Inspector: saved event "+a+" with schema "+JSON.stringify(l)),this.checkIfBatchNeedsToBeSent()},p.prototype.checkIfBatchNeedsToBeSent=function(){var a=this.events.length,l=Date.now(),t=l-this.batchFlushAttemptTimestamp,n=a%f.AvoInspector.batchSize==0,e=t>=1e3*f.AvoInspector.batchFlushSeconds,r=this;if(n||e){this.batchFlushAttemptTimestamp=l;var s=r.events;r.events=[],this.networkCallsHandler.callInspectorWithBatchBody(s,(function(o){o!=null?(r.events=r.events.concat(s),f.AvoInspector.shouldLog&&console.log("Avo Inspector: batch sending failed: "+o.message+". We will attempt to send your schemas with next batch")):f.AvoInspector.shouldLog&&console.log("Avo Inspector: batch sent successfully."),r.saveEvents()}))}},p.prototype.saveEvents=function(){if(this.events.length>1e3){var a=this.events.length-1e3;this.events.splice(0,a)}f.AvoInspector.avoStorage.setItem(p.cacheKey,this.events)},Object.defineProperty(p,"cacheKey",{get:function(){return"AvoInspectorEvents"},enumerable:!1,configurable:!0}),p})();u.AvoBatcher=v},492:(g,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AvoDeduplicator=void 0;var f=c(924),v=c(185),p=(function(){function a(){this.avoFunctionsEvents={},this.manualEvents={},this.avoFunctionsEventsParams={},this.manualEventsParams={}}return a.prototype.shouldRegisterEvent=function(l,t,n){this.clearOldEvents(),n?(this.avoFunctionsEvents[Date.now()]=l,this.avoFunctionsEventsParams[l]=t):(this.manualEvents[Date.now()]=l,this.manualEventsParams[l]=t);var e=!n;return!this.hasSameEventAs(l,t,e)},a.prototype.hasSameEventAs=function(l,t,n){var e=!1;return n?this.lookForEventIn(l,t,this.avoFunctionsEventsParams)&&(e=!0):this.lookForEventIn(l,t,this.manualEventsParams)&&(e=!0),e&&(delete this.avoFunctionsEventsParams[l],delete this.manualEventsParams[l]),e},a.prototype.lookForEventIn=function(l,t,n){for(var e in n)if(n.hasOwnProperty(e)&&e===l){var r=n[l];if(r&&(0,v.deepEquals)(t,r))return!0}return!1},a.prototype.hasSeenEventParams=function(l,t){var n=!1;return t?this.lookForEventParamsIn(l,this.avoFunctionsEventsParams)&&(n=!0):this.lookForEventParamsIn(l,this.manualEventsParams)&&(n=!0),n},a.prototype.lookForEventParamsIn=function(l,t){for(var n in t)if(t.hasOwnProperty(n)){var e=t[n];if(e&&(0,v.deepEquals)(l,e))return!0}return!1},a.prototype.shouldRegisterSchemaFromManually=function(l,t){return this.clearOldEvents(),!this.hasSameShapeInAvoFunctionsAs(l,t)},a.prototype.hasSameShapeInAvoFunctionsAs=function(l,t){var n=!1;return this.lookForEventSchemaIn(l,t,this.avoFunctionsEventsParams)&&(n=!0),n&&delete this.avoFunctionsEventsParams[l],n},a.prototype.lookForEventSchemaIn=function(l,t,n){for(var e in n)if(n.hasOwnProperty(e)&&e===l){var r=f.AvoSchemaParser.extractSchema(n[l]);if(r&&(0,v.deepEquals)(t,r))return!0}return!1},a.prototype.clearOldEvents=function(){var l=Date.now();for(var t in this.avoFunctionsEvents)if(this.avoFunctionsEvents.hasOwnProperty(t)&&l-(Number(t)||0)>300){var n=this.avoFunctionsEvents[t];delete this.avoFunctionsEvents[t],delete this.avoFunctionsEventsParams[n]}for(var t in this.manualEvents)this.manualEvents.hasOwnProperty(t)&&l-(Number(t)||0)>300&&(n=this.manualEvents[t],delete this.manualEvents[t],delete this.manualEventsParams[n])},a.prototype._clearEvents=function(){this.avoFunctionsEvents={},this.manualEvents={},this.avoFunctionsEventsParams={},this.manualEventsParams={}},a})();u.AvoDeduplicator=p},249:(g,u)=>
1{Object.defineProperty(u,"__esModule",{value:!0});var c=(function(){function f(){}return f.newGuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(v){var p=16*Math.random()|0;return(v==="x"?p:3&p|8).toString(16)}))},f})();u.default=c},611:(g,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AvoInspector=void 0;var f=c(844),v=c(924),p=c(948),a=c(669),l=c(243),t=c(491),n=c(492),e=c(185),r=c(330).rE,s=(function(){function o(i){var d=this;if((0,e.isValueEmpty)(i.env)?(this.environment=f.AvoInspectorEnv.Dev,console.warn("[Avo Inspector] No environment provided. Defaulting to dev.")):Object.values(f.AvoInspectorEnv).includes(i.env)?this.environment=i.env:(this.environment=f.AvoInspectorEnv.Dev,console.warn("[Avo Inspector] Unsupported environment provided. Defaulting to dev. Supported environments - Dev, Staging, Prod.")),(0,e.isValueEmpty)(i.apiKey))throw new Error("[Avo Inspector] No API key provided. Inspector can't operate without API key.");if(this.apiKey=i.apiKey,(0,e.isValueEmpty)(i.version))throw new Error("[Avo Inspector] No version provided. Many features of Inspector rely on versioning. Please provide comparable string version, i.e. integer or semantic.");this.version=i.version,this.environment===f.AvoInspectorEnv.Dev?(o._batchSize=1,o._shouldLog=!0):(o._batchSize=30,o._batchFlushSeconds=30,o._shouldLog=!1),o.avoStorage=new t.AvoStorage(o._shouldLog,i.suffix!=null?i.suffix:"");var m=new l.AvoNetworkCallsHandler(this.apiKey,this.environment.toString(),i.appName||"",this.version,r);this.avoBatcher=new a.AvoBatcher(m),this.sessionTracker=new p.AvoSessionTracker(this.avoBatcher),this.avoDeduplicator=new n.AvoDeduplicator;try{typeof window<"u"&&window.addEventListener("load",(function(){d.sessionTracker.startOrProlongSession(Date.now())}),!1)}catch(y){console.error("Avo Inspector: something went wrong. Please report to [email protected].",y)}}return Object.defineProperty(o,"batchSize",{get:function(){return this._batchSize},set:function(i){this._batchSize=i<1?1:i},enumerable:!1,configurable:!0}),Object.defineProperty(o,"batchFlushSeconds",{get:function(){return this._batchFlushSeconds},enumerable:!1,configurable:!0}),Object.defineProperty(o,"shouldLog",{get:function(){return this._shouldLog},set:function(i){this._shouldLog=i},enumerable:!1,configurable:!0}),Object.defineProperty(o,"networkTimeout",{get:function(){return this._networkTimeout},set:function(i){this._networkTimeout=i},enumerable:!1,configurable:!0}),o.prototype.trackSchemaFromEvent=function(i,d){try{if(this.avoDeduplicator.shouldRegisterEvent(i,d,!1)){o.shouldLog&&console.log("Avo Inspector: supplied event "+i+" with params "+JSON.stringify(d));var m=this.extractSchema(d,!1);return this.trackSchemaInternal(i,m,null,null),m}return o.shouldLog&&console.log("Avo Inspector: Deduplicated event: "+i),[]}catch(y){return console.error("Avo Inspector: something went wrong. Please report to [email protected].",y),[]}},o.prototype._avoFunctionTrackSchemaFromEvent=function(i,d,m,y){try{if(this.avoDeduplicator.shouldRegisterEvent(i,d,!0)){o.shouldLog&&console.log("Avo Inspector: supplied event "+i+" with params "+JSON.stringify(d));var h=this.extractSchema(d,!1);return this.trackSchemaInternal(i,h,m,y),h}return o.shouldLog&&console.log("Avo Inspector: Deduplicated event: "+i),[]}catch(E){return console.error("Avo Inspector: something went wrong. Please report to [email protected].",E),[]}},o.prototype.trackSchema=function(i,d){try{this.avoDeduplicator.shouldRegisterSchemaFromManually(i,d)?(o.shouldLog&&console.log("Avo Inspector: supplied event "+i+" with schema "+JSON.stringify(d)),this.trackSchemaInternal(i,d,null,null)):o.shouldLog&&console.log("Avo Inspector: Deduplicated event: "+i)}catch(m){console.error("Avo Inspector: something went wrong. Please report to [email protected].",m)}},o.prototype.trackSchemaInternal=function(i,d,m,y){try{this.sessionTracker.startOrProlongSession(Date.now()),this.avoBatcher.handleTrackSchema(i,d,m,y)}catch(h){console.error("Avo Inspector: something went wrong. Please report to [email protected].",h)}},o.prototype.enableLogging=function(i){o._shouldLog=i},o.prototype.extractSchema=function(i,d){d===void 0&&(d=!0);try{return this.sessionTracker.startOrProlongSession(Date.now()),this.avoDeduplicator.hasSeenEventParam
1s(i,!0)&&d&&o.shouldLog&&console.warn("Avo Inspector: WARNING! You are trying to extract schema shape that was just reported by your Avo Codegen. This is an indicator of duplicate inspector reporting. Please reach out to [email protected] for advice if you are not sure how to handle this."),o.shouldLog&&console.log("Avo Inspector: extracting schema from "+JSON.stringify(i)),v.AvoSchemaParser.extractSchema(i)}catch(m){return console.error("Avo Inspector: something went wrong. Please report to [email protected].",m),[]}},o.prototype.setBatchSize=function(i){o._batchSize=i},o.prototype.setBatchFlushSeconds=function(i){o._batchFlushSeconds=i},o._batchSize=30,o._batchFlushSeconds=30,o._shouldLog=!1,o._networkTimeout=2e3,o})();u.AvoInspector=s},844:(g,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AvoInspectorEnv=void 0,u.AvoInspectorEnv={Prod:"prod",Dev:"dev",Staging:"staging"}},661:(g,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AvoInstallationId=void 0;var f=c(249),v=c(611),p=(function(){function a(){}return a.getInstallationId=function(){if(a.installationId!==null)return a.installationId;if(!v.AvoInspector.avoStorage.isInitialized())return"unknown";var l=v.AvoInspector.avoStorage.getItem(a.cacheKey);return l==null?(a.installationId=f.default.newGuid(),v.AvoInspector.avoStorage.setItem(a.cacheKey,a.installationId)):a.installationId=l,a.installationId}
1,Object.defineProperty(a,"cacheKey",{get:function(){return"AvoInstallationId"},enumerable:!1,configurable:!0}),a.installationId=null,a})();u.AvoInstallationId=p},243:(g,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AvoNetworkCallsHandler=void 0;var f=c(249),v=c(948),p=c(611),a=c(661),l=(function(){function t(n,e,r,s,o){this.samplingRate=1,this.sending=!1,this.apiKey=n,this.envName=e,this.appName=r,this.appVersion=s,this.libVersion=o}return t.prototype.callInspectorWithBatchBody=function(n,e){var r=this;if(this.sending)e(new Error("Batch sending cancelled because another batch sending is in progress. Your events will be sent with next batch."));else{var s=n.filter((function(i){return i!=null}));if(this.fixSessionAndTrackingIds(s),s.length!==0)if(Math.random()>this.samplingRate)p.AvoInspector.shouldLog&&console.log("Avo Inspector: last event schema dropped due to sampling rate.");else{p.AvoInspector.shouldLog&&(console.log("Avo Inspector: events",s),s.forEach((function(i){if(i.type==="sessionStarted")console.log("Avo Inspector: sending session started event.");else if(i.type==="event"){var d=i;console.log("Avo Inspector: sending event "+d.eventName+" with schema "+JSON.stringify(d.eventProperties))}}))),this.sending=!0;var o=new XMLHttpRequest;o.open("POST",t.trackingEndpoint,!0),o.setRequestHeader("Content-Type","text/plain"),o.timeout=p.AvoInspector.networkTimeout,o.send(JSON.stringify(s)),o.onload=function(){if(o.status!==200)e(new Error("Error ".concat(o.status,": ").concat(o.statusText)));else{var i=JSON.parse(o.response).samplingRate;i!==void 0&&(r.samplingRate=i),e(null)}r.sending=!1},o.onerror=function(){e(new Error("Request failed")),r.sending=!1},o.ontimeout=function(){e(new Error("Request timed out")),r.sending=!1}}}},t.prototype.fixSessionAndTrackingIds=function(n){var e=null,r=null;
1n.forEach((function(s){s.sessionId!==null&&s.sessionId!==void 0&&s.sessionId!=="unknown"&&(e=s.sessionId),s.trackingId!==null&&s.trackingId!==void 0&&s.trackingId!=="unknown"&&(r=s.trackingId)})),n.forEach((function(s){s.sessionId==="unknown"&&(s.sessionId=e??v.AvoSessionTracker.sessionId),s.trackingId==="unknown"&&(s.trackingId=r??a.AvoInstallationId.getInstallationId())}))},t.prototype.bodyForSessionStartedCall=function(){var n=this.createBaseCallBody();return n.type="sessionStarted",n},t.prototype.bodyForEventSchemaCall=function(n,e,r,s){var o=this.createBaseCallBody();return o.type="event",o.eventName=n,o.eventProperties=e,r!=null?(o.avoFunction=!0,o.eventId=r,o.eventHash=s):(o.avoFunction=!1,o.eventId=null,o.eventHash=null),o},t.prototype.createBaseCallBody=function(){return{apiKey:this.apiKey,appName:this.appName,appVersion:this.appVersion,libVersion:this.libVersion,env:this.envName,libPlatform:"web",messageId:f.default.newGuid(),trackingId:a.AvoInstallationId.getInstallationId(),createdAt:new Date().toISOString(),sessionId:v.AvoSessionTracker.sessionId,samplingRate:this.samplingRate}},t.trackingEndpoint="https://api.avo.app/inspector/v1/track",t})();u.AvoNetworkCallsHandler=l},924:(g,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AvoSchemaParser=void 0;var c=function(v){return Object.prototype.toString.call(v)==="[object Array]"},f=(function(){function v(){}return v.extractSchema=function(p){var a=this;if(p==null)return[];var l=function(t){if(c(t)){var n=t.map((function(i){return l(i)}));return a.removeDuplicates(n)}if(typeof t=="object"){var e=[];for(var r in t)if(t.hasOwnProperty(r)){var s=t[r],o={propertyName:r,propertyType:a.getPropValueType(s)};typeof s=="object"&&s!=null&&(o.children=l(s)),e.push(o)}return e}return a.getPropValueType(t)};return l(p)},v.removeDuplicates=function(p){var a={boolean:{},number:{},string:{}},l=[];return p.filter((function(t){var n=typeof t;return n in a?!a[n].hasOwnProperty(t)&&(a[n][t]=!0):!l.includes(t)&&l.push(t)}))},v.getPropValueType=function(p){var a=typeof p;return p==null?"null":a==="string"?"string":a==="number"||a==="bigint"?(p+"").includes(".")?"float":"int":a==="boolean"?"boolean":a==="object"?c(p)?"list":"object":"unknown"},v})();u.AvoSchemaParser=f},948:(g,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AvoSessionTracker=void 0;var f=c(249),v=c(611),p=(function(){function a(l){this._lastSessionTimestamp=null,this._sessionLengthMillis=3e5,this.avoBatcher=l}return Object.defineProperty(a,"sessionId",{get:function(){if(a._sessionId===null){if(!v.AvoInspector.avoStorage.isInitialized())return"unknown";var l=null;try{l=v.AvoInspector.avoStorage.getItem(a.idCacheKey)}catch(t){console.error("Avo Inspector: something went wrong. Please report to [email protected].",t)}a._sessionId=l??this.updateSessionId()}return a._sessionId},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"lastSessionTimestamp",{get:function(){if(this._lastSessionTimestamp===null||this._lastSessionTimestamp===0){var l=v.AvoInspector.avoStorage.getItem(a.lastSessionTimestampKey);l!=null?(this._lastSessionTimestamp=l,isNaN(this._lastSessionTimestamp)&&(this._lastSessionTimestamp=0)):this._lastSessionTimestamp=0}return this._lastSessionTimestamp},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"sessionLengthMillis",{get:function(){return this._sessionLengthMillis},enumerable:!1,configurable:!0}),a.prototype.startOrProlongSession=function(l){var t=this;v.AvoInspector.avoStorage.runAfterInit((function(){l-t.lastSessionTimestamp>t._sessionLengthMillis&&(a.updateSessionId(),t.avoBatcher.handleSessionStarted()),t._lastSessionTimestamp=l,v.AvoInspector.avoStorage.setItem(a.lastSessionTimestampKey,t._lastSessionTimestamp)}))},a.updateSessionId=function(){a._sessionId=f.default.newGuid();try{v.AvoInspector.avoStorage.setItem(a.idCacheKey,a.sessionId)}catch(l){console.error("Avo Inspector: something went wrong. Please report to [email protected].",l)}return a._sessionId},Object.defineProperty(a,"lastSessionTimestampKey",{get:function(){return"AvoInspectorSessionTimestamp"}
1,enumerable:!1,configurable:!0}),Object.defineProperty(a,"idCacheKey",{get:function(){return"AvoInspectorSessionId"},enumerable:!1,configurable:!0}),a._sessionId=null,a})();u.AvoSessionTracker=p},491:function(g,u){var c,f=this&&this.__extends||(c=function(t,n){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])},c(t,n)},function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}c(t,n),t.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}),v=this&&this.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(s,o){function i(y){try{m(r.next(y))}catch(h){o(h)}}function d(y){try{m(r.throw(y))}catch(h){o(h)}}function m(y){var h;y.done?s(y.value):(h=y.value,h instanceof e?h:new e((function(E){E(h)}))).then(i,d)}m((r=r.apply(t,n||[])).next())}))},p=this&&this.__generator||function(t,n){var e,r,s,o,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return o={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function d(m){return function(y){return(function(h){if(e)throw new TypeError("Generator is already executing.");for(;o&&(o=0,h[0]&&(i=0)),i;)try{if(e=1,r&&(s=2&h[0]?r.return:h[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,h[1])).done)return s;switch(r=0,s&&(h=[2&h[0],s.value]),h[0]){case 0:case 1:s=h;break;case 4:return i.label++,{value:h[1],done:!1};case 5:i.label++,r=h[1],h=[0];continue;case 7:h=i.ops.pop(),i.trys.pop();continue;default:if(!((s=(s=i.trys).length>0&&s[s.length-1])||h[0]!==6&&h[0]!==2)){i=0;continue}if(h[0]===3&&(!s||h[1]>s[0]&&h[1]<s[3])){i.label=h[1];break}if(h[0]===6&&i.label<s[1]){i.label=s[1],s=h;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(h);break}s[2]&&i.ops.pop(),i.trys.pop();continue}h=n.call(t,i)}catch(E){h=[6,E],r=0}finally{e=s=0}if(5&h[0])throw h[1];return{value:h[0]?h[1]:void 0,done:!0}})([m,y])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.AvoStorage=void 0;var a=(function(t){function n(){var e=t!==null&&t.apply(this,arguments)||this;return e.useFallbackStorage=!1,e.fallbackStorage={},e.storageInitialized=!1,e.onStorageInitFuncs=[],e.shouldLog=!1,e.suffix="",e}return f(n,t),n.prototype.init=function(e,r){this.shouldLog=e,this.suffix=r,this.initializeStorageWeb(this.isLocalStorageAvailable())},n.prototype.initializeStorageWeb=function(e){this.storageInitialized=!0,e||(this.useFallbackStorage=!0),this.onStorageInitFuncs.forEach((function(r){r()}))},n.prototype.isLocalStorageAvailable=function(){var e=new Date().toISOString();try{return window.localStorage.setItem(e,e),window.localStorage.getItem(e)===e&&(window.localStorage.removeItem(e),!0)}catch{return!1}},n.prototype.isInitialized=function(){return this.storageInitialized},n.prototype.getItemAsync=function(e){return v(this,void 0,void 0,(function(){var r=this;return p(this,(function(s){switch(s.label){case 0:return[4,new Promise((function(o,i){r.runAfterInit((function(){if(r.useFallbackStorage){var d=r.fallbackStorage[e+r.suffix];o(r.parseJson(d))}else if(typeof window<"u"){d=void 0;try{d=window.localStorage.getItem(e+r.suffix)}catch(m){r.shouldLog&&console.error("Avo Inspector Storage getItemAsync error:",m),o(null)}o(r.parseJson(d))}else o(null)}))}))];case 1:return[2,s.sent()]}}))}))},n.prototype.getItem=function(e){var r;if(this.storageInitialized){if(this.useFallbackStorage)r=this.fallbackStorage[e+this.suffix];else if(typeof window<"u")try{r=window.localStorage.getItem(e+this.suffix)}catch(s){this.shouldLog&&console.error("Avo Inspector Storage getItem error:",s)}}else r=null;return this.parseJson(r)},n.prototype.setItem=function(e,r){var s=this;this.runAfterInit((function(){if(s.useFallbackStorage)s.fallbackStorage[e+s.suffix]=JSON.stringify(r);else if(typeof window<"u")try{window.localStorage.setItem(e+s.suffix,JSON.stringify(r))}catch(o){s.shouldLog&&console.error("Avo Inspector Storage setItem error:",o)}}))},n.prototype.removeItem=function(e){var r=this;this.runAfterInit((function(){if(r.useFallbackStorage)r.fallbackStorage[e+r.suffix]=null;else if(typeof window<"u")try{window.localStorage.removeItem(e+r.suffix)}catch(s){r.shouldLog&&console.error("Avo Inspector Storage removeItem error:",s)}}))},n.prototype.runAfterInit=function(e){this.storageInitialized?e():this.onStorageInitFuncs.push(e)},n})((function(){function t(){}return t.prototype.parseJson=function(n){return n!=null?JSON.parse(n):null},t})()),l=(function(){function t(n,e){e===void 0&&(e=""),this.Platform=null,this.Platform="browser",this.storageImpl=new a,this.storageImpl.init(n,e)}return t.prototype.isInitialized=function(){return this.storageImpl.isInitialized()},t.prototype.getItemAsync=function(n){return v(this,void 0,void 0,(function(){return p(this,(function(e){switch(e.label){case 0:return[4,this.storageImpl.getItemAsync(n)];case 1:return[2,e.sent()]}}))}))},t.prototype.getItem=function(n){return this.storageImpl.getItem(n)},t.prototype.setItem=function(n,e){this.storageImpl.setItem(n,e)},t.prototype.removeItem=function(n){this.storageImpl.removeItem(n)},t.prototype.runAfterInit=function(n){this.storageImpl.runAfterInit(n)},t})();u.AvoStorage=l},185:(g,u)=>
1{Object.defineProperty(u,"__esModule",{value:!0}),u.deepEquals=u.isValueEmpty=void 0,u.isValueEmpty=function(c){return c==null||c.trim().length==0},u.deepEquals=function c(f,v){if(f===v)return!0;if(!(f instanceof Object&&v instanceof Object)||f.constructor!==v.constructor)return!1;for(var p in f)if(f.hasOwnProperty(p)&&(!v.hasOwnProperty(p)||f[p]!==v[p]&&(typeof f[p]!="object"||!c(f[p],v[p]))))return!1;for(p in v)if(v.hasOwnProperty(p)&&!f.hasOwnProperty(p))return!1;return!0}},330:g=>{g.exports={rE:"2.1.0"}}},I={};function S(g){var u=I[g];if(u!==void 0)return u.exports;var c=I[g]={exports:{}};return b[g].call(c.exports,c,c.exports,S),c.exports}var w={};return(()=>{var g=w;Object.defineProperty(g,"__esModule",{value:!0}),g.AvoInspectorEnv=g.AvoInspector=void 0;var u=S(611);Object.defineProperty(g,"AvoInspector",{enumerable:!0,get:function(){return u.AvoInspector}});var c=S(844);Object.defineProperty(g,"AvoInspectorEnv",{enumerable:!0,get:function(){return c.AvoInspectorEnv}})})(),w})()))})(_)),_.exports}var F=O();const T=x({__proto__:null},[F]);export{T as i};
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.