import {a}from'./chunk-MUX2WWWH.js';import {e}from'./chunk-R3B72E4T.js';var i=class n{get newlyRecognizedBarcode(){return this._newlyRecognizedBarcode}get newlyLocalizedBarcodes(){return this._newlyLocalizedBarcodes}get frameSequenceID(){return this._frameSequenceID}static fromJSON(e$1){let r=new n;return e$1.newlyRecognizedBarcode&&(r._newlyRecognizedBarcode=e.fromJSON(e$1.newlyRecognizedBarcode)),r._newlyLocalizedBarcodes=e$1.newlyLocalizedBarcodes.map(a$1=>a.fromJSON(a$1)),r._frameSequenceID=e$1.frameSequenceId,r}toJSON(){var e,r;return JSON.stringify({newlyLocalizedBarcodes:this.newlyLocalizedBarcodes.map(a=>a.toJSONObject()),newlyRecognizedBarcode:(r=(e=this.newlyRecognizedBarcode)==null?void 0:e.toJSONObject())!=null?r:null,frameSequenceId:this.frameSequenceID})}};export{i as a};