1import{a as e}from"./chunk-MUU6G6BE.js";import{H as i}from"./chunk-5XMBELDX.js";var r=class{constructor(t){this._arrivalTime=t?.arrivalTime??"",this._departureTime=t?.departureTime??"",this._flightNumber=t?.flightNumber??0,this._line=t?.line??"",this._plane=t?.plane??"",this._token=t?.token??"",this._origin=e.create(t?.origin),this._destination=e.create(t?.destination)}get arrivalTime(){return this._arrivalTime}get arrivalHour(){return this._arrivalTime.substring(11,16)}get departureTime(){return this._departureTime}get departureHour(){return this._departureTime.substring(11,16)}get destination(){return this._destination}get flightNumber(){return this._flightNumber}get line(){return this._line}get origin(){return this._origin}get plane(){return this._plane}get token(){return this._token}get flightNumberWithLine(){return this._line+this._flightNumber}get iFlightSegment(){return{arrivalTime:this._arrivalTime,departureTime:this._departureTime,destination:this._destination.iDestination,flightNumber:this._flightNumber,line:this._line,origin:this._origin.iDestination,plane:this._plane,token:this._token}}hoursBetween(t){return i.getDifference(this._arrivalTime,t.departureTime,"minutes")}static create(t){return new this(t)}};export{r as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.