"use strict";(self.webpackChunk_flagship_io_js_sdk=self.webpackChunk_flagship_io_js_sdk||[]).push([[851],{851:(t,o,e)=>{e.r(o),e.d(o,{ERROR_MESSAGE:()=>c,Page:()=>r});var s=e(719),n=e(761),i=e(487);const c="documentLocation url is required";class r extends i.HitAbstract{_documentLocation;get documentLocation(){return this._documentLocation}set documentLocation(t){this.isNotEmptyString(t,"documentLocation")&&(this._documentLocation=t)}constructor(t){super({type:n.HitType.PAGE_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(t=!0){return!(t&&!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=851.582cc41e906c4e0f85ad.js.map