import {a}from'./chunk-L2JLFSNM.js';var t=class s{get addedTrackedBarcodes(){return this._addedTrackedBarcodes}get removedTrackedBarcodes(){return this._removedTrackedBarcodes}get updatedTrackedBarcodes(){return this._updatedTrackedBarcodes}get trackedBarcodes(){return this._trackedBarcodes}get frameSequenceID(){return this._frameSequenceID}static fromJSON(r){let d=new s;d._addedTrackedBarcodes=r.addedTrackedBarcodes.map(e=>a.fromJSON(e));for(let e of d._addedTrackedBarcodes)e.sessionFrameSequenceID=`${r.frameSequenceId}`;d._removedTrackedBarcodes=r.removedTrackedBarcodes,d._updatedTrackedBarcodes=r.updatedTrackedBarcodes.map(e=>a.fromJSON(e));for(let e of d._updatedTrackedBarcodes)e.sessionFrameSequenceID=`${r.frameSequenceId}`;return d._trackedBarcodes=Object.keys(r.trackedBarcodes).reduce((e,c)=>{let o=a.fromJSON(r.trackedBarcodes[c]);return o.sessionFrameSequenceID=`${r.frameSequenceId}`,e[c]=o,e},{}),d._frameSequenceID=r.frameSequenceId,d}};export{t as a};