import{H as t,n as e}from"./ppyR687H.js";import"events";const s="data property is required";class o extends t{_context;get context(){return this._context}set context(t){this._context=t}constructor(t){super({type:"SEGMENT",userIp:t.userIp,screenResolution:t.screenResolution,locale:t.locale,sessionNumber:t.sessionNumber,visitorId:t.visitorId,anonymousId:t.anonymousId,qaMode:t.qaMode,isActionTrackingHit:t.isActionTrackingHit}),this.context=t.context}isReady(t=!0){return!(t&&!super.isReady()||!this.context)}toApiKeys(){const t=super.toApiKeys();return t[e]=this.context,t}toObject(){return{...super.toObject(),context:this.context}}getErrorMessage(){return s}}export{s as ERROR_MESSAGE,o as Segment};
//# sourceMappingURL=BxzvTZhz.js.map
