1import{LeafletMarker}from"../leaflet/LeafletMarker.js";export class Location{#e;#n;#t;constructor(e={},t){this.#e=e,this.#n=t}getMarker(){if(typeof this.#t=="undefined"){let e="";(this.#e?.productAvailability??!1)&&(e=` marker-product-${this.#e.productAvailability}`),this.#t=new LeafletMarker(this.latLng,this.#e,{className:`map-marker marker-id-${this.id} marker-status-${this.#e.status}${e}`},this.#n),this.#t.getMarker().on("click",()=>{this.#t.openPopup()})}return this.#t}get latLng(){return typeof this.#e.location=="undefined"||this.#e.location===null?[58.366663,19.2037144]:[this.#e.location.latitude,this.#e.location.longitude]}get id(){return this.#e.id}}
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.