import {a}from'./chunk-MQ3C6JQR.js';import {Quadrilateral}from'@scandit/web-datacapture-core';var r=class d{get fields(){return this._fields}get name(){return this._name}get isComplete(){return this._isComplete}get predictedBounds(){return this._predictedBounds}get deltaTimeToPrediction(){return this._deltaTimeToPrediction}get trackingId(){return this._trackingId}static fromJSON(e){let t=new d;return t._fields=e.fields.map(a$1=>a.fromJSON(a$1)),t._name=e.name,t._isComplete=e.isComplete,t._predictedBounds=Quadrilateral.fromJSON(e.predictedBounds),t._deltaTimeToPrediction=e.deltaTimeToPrediction,t._trackingId=e.trackingId,t}toJSONObject(){return {fields:this._fields.map(e=>e.toJSONObject()),name:this._name,isComplete:this._isComplete,predictedBounds:this._predictedBounds.toJSONObject(),deltaTimeToPrediction:this._deltaTimeToPrediction,trackingId:this._trackingId}}};export{r as a};