"use strict";(self.webpackChunk_flagship_io_js_sdk=self.webpackChunk_flagship_io_js_sdk||[]).push([[247],{247:(t,e,s)=>{s.r(e),s.d(e,{ERROR_MESSAGE:()=>r,Segment:()=>i});var o=s(719),n=s(487);const r="data property is required";class i extends n.HitAbstract{_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[o.S_API_ITEM]=this.context,t}toObject(){return{...super.toObject(),context:this.context}}getErrorMessage(){return r}}}}]);
//# sourceMappingURL=247.1b97c8df797d57b93f9d.js.map