import{H as o,q as t,A as e}from"./ppyR687H.js";import"events";const n="documentLocation url is required";class s extends o{_documentLocation;get documentLocation(){return this._documentLocation}set documentLocation(o){this.isNotEmptyString(o,"documentLocation")&&(this._documentLocation=o)}constructor(o){super({type:t.PAGE_VIEW,userIp:o.userIp,screenResolution:o.screenResolution,locale:o.locale,sessionNumber:o.sessionNumber,visitorId:o.visitorId,anonymousId:o.anonymousId,qaMode:o.qaMode,isActionTrackingHit:o.isActionTrackingHit}),this.documentLocation=o.documentLocation}isReady(o=!0){return!(o&&!super.isReady()||!this.documentLocation)}toApiKeys(){const o=super.toApiKeys();return o[e]=this.documentLocation,o}toObject(){return{...super.toObject(),documentLocation:this.documentLocation}}getErrorMessage(){return n}}export{n as ERROR_MESSAGE,s as Page};
//# sourceMappingURL=BSPKQVoH.js.map
