"use strict";(self.webpackChunk_flagship_io_js_sdk=self.webpackChunk_flagship_io_js_sdk||[]).push([[220],{220:(t,e,o)=>{o.r(e),o.d(e,{ERROR_MESSAGE:()=>c,Screen:()=>r});var s=o(3641),n=o(1417),i=o(8068);const c="Screen name is required";class r extends i.HitAbstract{get documentLocation(){return this._documentLocation}set documentLocation(t){this.isNotEmptyString(t,"documentLocation")&&(this._documentLocation=t)}constructor(t){super({type:n.HitType.SCREEN_VIEW,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.documentLocation=t.documentLocation}isReady(){return!((!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&!super.isReady()||!this.documentLocation)}toApiKeys(){const t=super.toApiKeys();return t[s.DL_API_ITEM]=this.documentLocation,t}toObject(){return{...super.toObject(),documentLocation:this.documentLocation}}getErrorMessage(){return c}}}}]);
//# sourceMappingURL=220.e5a6057dbf12d9128e23.js.map