1var a=Object.defineProperty;var p=(n,e,t)=>e in n?a(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var r=(n,e,t)=>p(n,typeof e!="symbol"?e+"":e,t);import"./index-DbpIxVVg.js";import{h as i}from"./Stop-8NKSpgr4.js";class o{constructor(){r(this,"id");r(this,"key");r(this,"name");r(this,"parentId");r(this,"typeId");r(this,"roleKeys");r(this,"parent");r(this,"children");r(this,"stopZone");r(this,"type");r(this,"_platformNumbers")}static fromJSON(e){const t=Object.assign(new o,e);return t.stopZone=e.stopZone&&i.fromJSON(e.stopZone),t}static create(e){const t=new o,s=new i;return s.region=e,t.stopZone=s,t}static fromStopZone(e){if(!e)return null;const t=new o;return t.id=e.id,t.key=e.key,t.name=e.name,t.roleKeys=e.roleKeys,t.stopZone=e,t}get peers(){var e,t;return(t=(e=this.parent)==null?void 0:e.children)==null?void 0:t.filter(s=>s.id!==this.id)}get platformNumbers(){if(!this._platformNumbers){const e=/ ([0-9/]+)$/.exec(this.name);this._platformNumbers=e&&e[1].split("/")}return this._platformNumbers}get parentGtfsId(){var e;return(e=this.stopZone)==null?void 0:e.parent}get viewUrl(){return`/zone/${this.id}`}get dashboardUrl(){return`/zone/${this.id}/dashboard`}}export{o as Z};
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.