diff --git a/frontend/react/package.json b/frontend/react/package.json index 1f1eee0d..ca6df087 100644 --- a/frontend/react/package.json +++ b/frontend/react/package.json @@ -11,6 +11,7 @@ "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-brands-svg-icons": "^6.5.2", + "@fortawesome/free-regular-svg-icons": "^6.6.0", "@fortawesome/free-solid-svg-icons": "^6.5.1", "@fortawesome/react-fontawesome": "^0.2.0", "@tanem/svg-injector": "^10.1.68", @@ -21,6 +22,7 @@ "js-sha256": "^0.11.0", "leaflet": "^1.9.4", "leaflet-control-mini-map": "^0.4.0", + "leaflet-path-drag": "^1.9.5", "react": "^18.2.0", "react-dom": "^18.2.0", "react-icons": "^5.0.1", diff --git a/frontend/react/src/constants/constants.ts b/frontend/react/src/constants/constants.ts index 486fdc30..1b769e00 100644 --- a/frontend/react/src/constants/constants.ts +++ b/frontend/react/src/constants/constants.ts @@ -259,7 +259,9 @@ export const defaultMapLayers = {}; export const IDLE = "Idle"; export const SPAWN_UNIT = "Spawn unit"; export const CONTEXT_ACTION = "Context action"; -export const COALITIONAREA_DRAW_POLYGON = "Draw Coalition Area"; +export const COALITIONAREA_DRAW_POLYGON = "Draw Coalition Area polygon"; +export const COALITIONAREA_DRAW_CIRCLE = "Draw Coalition Area circle"; +export const COALITIONAREA_EDIT = "Edit Coalition Area"; export const IADSTypes = ["AAA", "SAM Site", "Radar (EWR)"]; export const IADSDensities: { [key: string]: number } = { diff --git a/frontend/react/src/dom.d.ts b/frontend/react/src/dom.d.ts index 146d437f..90d7c7af 100644 --- a/frontend/react/src/dom.d.ts +++ b/frontend/react/src/dom.d.ts @@ -1,4 +1,5 @@ import { ServerStatus } from "./interfaces"; +import { CoalitionPolygon } from "./map/coalitionarea/coalitionpolygon"; import { Unit } from "./unit/unit"; interface CustomEventMap { @@ -20,7 +21,8 @@ interface CustomEventMap { contactsUpdated: CustomEvent; activeCoalitionChanged: CustomEvent; serverStatusUpdated: CustomEvent; - mapForceBoxSelect: CustomEvent + mapForceBoxSelect: CustomEvent; + coalitionAreaSelected: CustomEvent; } declare global { diff --git a/frontend/react/src/map/coalitionarea/coalitionarea.ts b/frontend/react/src/map/coalitionarea/coalitionarea.ts index a9b7423c..d057bcaa 100644 --- a/frontend/react/src/map/coalitionarea/coalitionarea.ts +++ b/frontend/react/src/map/coalitionarea/coalitionarea.ts @@ -1,194 +1,5 @@ -import { - DomUtil, - LatLng, - LatLngExpression, - Map, - Point, - Polygon, - PolylineOptions, -} from "leaflet"; -import { getApp } from "../../olympusapp"; -import { CoalitionAreaHandle } from "./coalitionareahandle"; -import { CoalitionAreaMiddleHandle } from "./coalitionareamiddlehandle"; -import { BLUE_COMMANDER, RED_COMMANDER } from "../../constants/constants"; +const CoalitionArea = Base => class extends Base { -export class CoalitionArea extends Polygon { - #coalition: string = "blue"; - #selected: boolean = true; - #editing: boolean = true; - #handles: CoalitionAreaHandle[] = []; - #middleHandles: CoalitionAreaMiddleHandle[] = []; - #activeIndex: number = 0; - - constructor( - latlngs: LatLngExpression[] | LatLngExpression[][] | LatLngExpression[][][], - options?: PolylineOptions - ) { - if (options === undefined) options = {}; - - options.bubblingMouseEvents = false; - options.interactive = false; - - super(latlngs, options); - this.#setColors(); - this.#registerCallbacks(); - - if ( - [BLUE_COMMANDER, RED_COMMANDER].includes( - getApp().getMissionManager().getCommandModeOptions().commandMode - ) - ) - this.setCoalition(getApp().getMissionManager().getCommandedCoalition()); - } - - setCoalition(coalition: string) { - this.#coalition = coalition; - this.#setColors(); - } - - getCoalition() { - return this.#coalition; - } - - setSelected(selected: boolean) { - this.#selected = selected; - this.#setColors(); - this.#setHandles(); - this.setOpacity(selected ? 1 : 0.5); - if (!this.getSelected() && this.getEditing()) { - /* Remove the vertex we were working on */ - var latlngs = this.getLatLngs()[0] as LatLng[]; - latlngs.splice(this.#activeIndex, 1); - this.setLatLngs(latlngs); - this.setEditing(false); - } - } - - getSelected() { - return this.#selected; - } - - setEditing(editing: boolean) { - this.#editing = editing; - this.#setHandles(); - var latlngs = this.getLatLngs()[0] as LatLng[]; - - /* Remove areas with less than 2 vertexes */ - if (latlngs.length <= 2) getApp().getMap().deleteCoalitionArea(this); - } - - getEditing() { - return this.#editing; - } - - addTemporaryLatLng(latlng: LatLng) { - this.#activeIndex++; - var latlngs = this.getLatLngs()[0] as LatLng[]; - latlngs.splice(this.#activeIndex, 0, latlng); - this.setLatLngs(latlngs); - this.#setHandles(); - } - - moveActiveVertex(latlng: LatLng) { - var latlngs = this.getLatLngs()[0] as LatLng[]; - latlngs[this.#activeIndex] = latlng; - this.setLatLngs(latlngs); - this.#setHandles(); - } - - setOpacity(opacity: number) { - this.setStyle({ opacity: opacity, fillOpacity: opacity * 0.25 }); - } - - onRemove(map: Map): this { - super.onRemove(map); - this.#handles - .concat(this.#middleHandles) - .forEach((handle: CoalitionAreaHandle | CoalitionAreaMiddleHandle) => - handle.removeFrom(getApp().getMap()) - ); - return this; - } - - #setColors() { - const coalitionColor = - this.getCoalition() === "blue" ? "#247be2" : "#ff5858"; - this.setStyle({ - color: this.getSelected() ? "white" : coalitionColor, - fillColor: coalitionColor, - }); - } - - #setHandles() { - this.#handles.forEach((handle: CoalitionAreaHandle) => - handle.removeFrom(getApp().getMap()) - ); - this.#handles = []; - if (this.getSelected()) { - var latlngs = this.getLatLngs()[0] as LatLng[]; - latlngs.forEach((latlng: LatLng, idx: number) => { - /* Add the polygon vertex handle (for moving the vertex) */ - const handle = new CoalitionAreaHandle(latlng); - handle.addTo(getApp().getMap()); - handle.on("drag", (e: any) => { - var latlngs = this.getLatLngs()[0] as LatLng[]; - latlngs[idx] = e.target.getLatLng(); - this.setLatLngs(latlngs); - this.#setMiddleHandles(); - }); - this.#handles.push(handle); - }); - } - this.#setMiddleHandles(); - } - - #setMiddleHandles() { - this.#middleHandles.forEach((handle: CoalitionAreaMiddleHandle) => - handle.removeFrom(getApp().getMap()) - ); - this.#middleHandles = []; - var latlngs = this.getLatLngs()[0] as LatLng[]; - if (this.getSelected() && latlngs.length >= 2) { - var lastLatLng: LatLng | null = null; - latlngs.concat([latlngs[0]]).forEach((latlng: LatLng, idx: number) => { - /* Add the polygon middle point handle (for adding new vertexes) */ - if (lastLatLng != null) { - const handle1Point = getApp().getMap().latLngToLayerPoint(latlng); - const handle2Point = getApp().getMap().latLngToLayerPoint(lastLatLng); - const middlePoint = new Point( - (handle1Point.x + handle2Point.x) / 2, - (handle1Point.y + handle2Point.y) / 2 - ); - const middleLatLng = getApp() - .getMap() - .layerPointToLatLng(middlePoint); - - const middleHandle = new CoalitionAreaMiddleHandle(middleLatLng); - middleHandle.addTo(getApp().getMap()); - middleHandle.on("click", (e: any) => { - this.#activeIndex = idx - 1; - this.addTemporaryLatLng(middleLatLng); - }); - this.#middleHandles.push(middleHandle); - } - lastLatLng = latlng; - }); - } - } - - #registerCallbacks() { - this.on("click", (e: any) => { - getApp().getMap().deselectAllCoalitionAreas(); - if (!this.getSelected()) { - this.setSelected(true); - } - }); - - this.on("contextmenu", (e: any) => { - if (!this.getEditing()) { - getApp().getMap().deselectAllCoalitionAreas(); - this.setSelected(true); - } else this.setEditing(false); - }); - } } + +export CoalitionArea; \ No newline at end of file diff --git a/frontend/react/src/map/coalitionarea/coalitionareahandle.ts b/frontend/react/src/map/coalitionarea/coalitionareahandle.ts index ea86b808..1612b63b 100644 --- a/frontend/react/src/map/coalitionarea/coalitionareahandle.ts +++ b/frontend/react/src/map/coalitionarea/coalitionareahandle.ts @@ -4,6 +4,10 @@ import { CustomMarker } from "../markers/custommarker"; export class CoalitionAreaHandle extends CustomMarker { constructor(latlng: LatLng) { super(latlng, { interactive: true, draggable: true }); + + this.on("add", (e) => { + this.getElement()?.addEventListener("touchstart", (e) => e.stopPropagation()); + }) } createIcon() { diff --git a/frontend/react/src/map/coalitionarea/coalitioncircle.ts b/frontend/react/src/map/coalitionarea/coalitioncircle.ts new file mode 100644 index 00000000..f7916267 --- /dev/null +++ b/frontend/react/src/map/coalitionarea/coalitioncircle.ts @@ -0,0 +1,166 @@ +import { + LatLngExpression, + Map, + Circle, + DivIcon, + Marker, + CircleOptions, + LatLng, +} from "leaflet"; +import { getApp } from "../../olympusapp"; +import { CoalitionAreaHandle } from "./coalitionareahandle"; +import { BLUE_COMMANDER, RED_COMMANDER } from "../../constants/constants"; +import { Coalition } from "../../types/types"; +import * as turf from "@turf/turf"; + +let totalAreas = 0; + +export class CoalitionCircle extends Circle { + #coalition: Coalition = "blue"; + #selected: boolean = true; + #editing: boolean = true; + #radiusHandle: CoalitionAreaHandle; + #labelText: string; + #label: Marker; + + constructor(latlng: LatLngExpression, options: CircleOptions) { + if (options === undefined) options = { radius: 0 }; + + totalAreas++; + + options.bubblingMouseEvents = false; + options.interactive = false; + //@ts-ignore draggable option added by leaflet-path-drag + options.draggable = true; + + super(latlng, options); + this.#setColors(); + + this.#labelText = `Circle ${totalAreas}`; + + if ( + [BLUE_COMMANDER, RED_COMMANDER].includes( + getApp().getMissionManager().getCommandModeOptions().commandMode + ) + ) + this.setCoalition(getApp().getMissionManager().getCommandedCoalition()); + + this.on("drag", () => { + this.#setRadiusHandle(); + this.#drawLabel(); + }); + + this.on("remove", () => { + this.#label.removeFrom(this._map); + }); + } + + setCoalition(coalition: Coalition) { + this.#coalition = coalition; + this.#setColors(); + } + + getCoalition() { + return this.#coalition; + } + + setSelected(selected: boolean) { + this.#selected = selected; + this.#setColors(); + this.#setRadiusHandle(); + this.#drawLabel(); + this.setOpacity(selected ? 1 : 0.5); + + //@ts-ignore draggable option added by leaflet-path-drag + selected ? this.dragging.enable() : this.dragging.disable(); + } + + getSelected() { + return this.#selected; + } + + setEditing(editing: boolean) { + this.#editing = editing; + this.#setRadiusHandle(); + } + + getEditing() { + return this.#editing; + } + + setOpacity(opacity: number) { + this.setStyle({ opacity: opacity, fillOpacity: opacity * 0.25 }); + } + + getLabelText() { + return this.#labelText; + } + + setLabelText(labelText: string) { + this.#labelText = labelText; + this.#drawLabel(); + } + + onRemove(map: Map): this { + super.onRemove(map); + this.#radiusHandle.removeFrom(getApp().getMap()); + return this; + } + + setLatLng(latlng: LatLngExpression): this { + super.setLatLng(latlng); + this.#setRadiusHandle(); + this.#drawLabel(); + return this; + } + + #setColors() { + let coalitionColor = "#FFFFFF"; + if (this.getCoalition() === "blue") coalitionColor = "#247be2"; + else if (this.getCoalition() === "red") coalitionColor = "#ff5858"; + + this.setStyle({ + color: this.getSelected() ? "white" : coalitionColor, + fillColor: coalitionColor, + }); + } + + #setRadiusHandle() { + if (this.#radiusHandle) this.#radiusHandle.removeFrom(getApp().getMap()); + + if (this.#selected) { + const dest = turf.destination( + turf.point([this.getLatLng().lng, this.getLatLng().lat]), + this.getRadius() / 1000, + 0 + ); + this.#radiusHandle = new CoalitionAreaHandle( + new LatLng(dest.geometry.coordinates[1], dest.geometry.coordinates[0]) + ); + this.#radiusHandle.addTo(getApp().getMap()); + this.#radiusHandle.on("drag", (e: any) => { + this.setRadius(this.getLatLng().distanceTo(e.latlng)); + }); + } + } + + #drawLabel() { + if (this.#label) { + this.#label.removeFrom(this._map); + } + this.#label = new Marker(this.getLatLng(), { + icon: new DivIcon({ + className: "label", + html: this.#labelText, + iconSize: [100, 40], + }), + interactive: false, + }).addTo(this._map); + this.#label + .getElement() + ?.classList.add( + `ol-coalitionarea-label`, + `${this.#selected ? "selected" : `${this.#coalition}`}` + ); + } +} diff --git a/frontend/react/src/map/coalitionarea/coalitionpolygon.ts b/frontend/react/src/map/coalitionarea/coalitionpolygon.ts new file mode 100644 index 00000000..eff13d35 --- /dev/null +++ b/frontend/react/src/map/coalitionarea/coalitionpolygon.ts @@ -0,0 +1,239 @@ +import { + LatLng, + LatLngExpression, + Map, + Point, + Polygon, + PolylineOptions, + DivIcon, + Marker +} from "leaflet"; +import { getApp } from "../../olympusapp"; +import { CoalitionAreaHandle } from "./coalitionareahandle"; +import { CoalitionAreaMiddleHandle } from "./coalitionareamiddlehandle"; +import { BLUE_COMMANDER, RED_COMMANDER } from "../../constants/constants"; +import { Coalition } from "../../types/types"; +import { polyCenter } from "../../other/utils"; + +let totalAreas = 0; + +export class CoalitionPolygon extends Polygon { + #coalition: Coalition = "blue"; + #selected: boolean = true; + #editing: boolean = true; + #handles: CoalitionAreaHandle[] = []; + #middleHandles: CoalitionAreaMiddleHandle[] = []; + #activeIndex: number = 0; + #labelText: string; + #label: Marker; + + constructor( + latlngs: LatLngExpression[] | LatLngExpression[][] | LatLngExpression[][][], + options?: PolylineOptions + ) { + if (options === undefined) options = {}; + + totalAreas++; + + options.bubblingMouseEvents = false; + options.interactive = false; + //@ts-ignore draggable option added by leaflet-path-drag + options.draggable = true; + + super(latlngs, options); + this.#setColors(); + + this.#labelText = `Polygon ${totalAreas}`; + + if ( + [BLUE_COMMANDER, RED_COMMANDER].includes( + getApp().getMissionManager().getCommandModeOptions().commandMode + ) + ) + this.setCoalition(getApp().getMissionManager().getCommandedCoalition()); + + this.on("drag", () => { + this.#setHandles(); + this.#setMiddleHandles(); + this.#drawLabel(); + }); + + this.on("remove", () => { + this.#label.removeFrom(this._map); + }); + } + + setCoalition(coalition: Coalition) { + this.#coalition = coalition; + this.#setColors(); + } + + getCoalition() { + return this.#coalition; + } + + setSelected(selected: boolean) { + this.#selected = selected; + this.#setColors(); + this.#setHandles(); + this.#drawLabel(); + this.setOpacity(selected ? 1 : 0.5); + if (!this.getSelected() && this.getEditing()) { + /* Remove the vertex we were working on */ + var latlngs = this.getLatLngs()[0] as LatLng[]; + latlngs.splice(this.#activeIndex, 1); + this.setLatLngs(latlngs); + this.setEditing(false); + } + + //@ts-ignore draggable option added by leaflet-path-drag + selected ? this.dragging.enable() : this.dragging.disable(); + } + + getSelected() { + return this.#selected; + } + + setEditing(editing: boolean) { + this.#editing = editing; + this.#setHandles(); + var latlngs = this.getLatLngs()[0] as LatLng[]; + + /* Remove areas with less than 2 vertexes */ + if (latlngs.length <= 2) getApp().getMap().deleteCoalitionArea(this); + } + + getEditing() { + return this.#editing; + } + + addTemporaryLatLng(latlng: LatLng) { + this.#activeIndex++; + var latlngs = this.getLatLngs()[0] as LatLng[]; + latlngs.splice(this.#activeIndex, 0, latlng); + this.setLatLngs(latlngs); + this.#setHandles(); + } + + setOpacity(opacity: number) { + this.setStyle({ opacity: opacity, fillOpacity: opacity * 0.25 }); + } + + getLabelText() { + return this.#labelText; + } + + setLabelText(labelText: string) { + this.#labelText = labelText; + this.#drawLabel(); + } + + onRemove(map: Map): this { + super.onRemove(map); + this.#handles + .concat(this.#middleHandles) + .forEach((handle: CoalitionAreaHandle | CoalitionAreaMiddleHandle) => + handle.removeFrom(getApp().getMap()) + ); + return this; + } + + setLatLngs( + latlngs: LatLngExpression[] | LatLngExpression[][] | LatLngExpression[][][] + ) { + super.setLatLngs(latlngs); + this.#drawLabel(); + return this; + } + + #setColors() { + let coalitionColor = "#FFFFFF"; + if (this.getCoalition() === "blue") coalitionColor = "#247be2"; + else if (this.getCoalition() === "red") coalitionColor = "#ff5858"; + + this.setStyle({ + color: this.getSelected() ? "white" : coalitionColor, + fillColor: coalitionColor, + }); + } + + #setHandles() { + this.#handles.forEach((handle: CoalitionAreaHandle) => + handle.removeFrom(getApp().getMap()) + ); + this.#handles = []; + if (this.getSelected()) { + var latlngs = this.getLatLngs()[0] as LatLng[]; + latlngs.forEach((latlng: LatLng, idx: number) => { + /* Add the polygon vertex handle (for moving the vertex) */ + const handle = new CoalitionAreaHandle(latlng); + handle.addTo(getApp().getMap()); + handle.on("drag", (e: any) => { + var latlngs = this.getLatLngs()[0] as LatLng[]; + latlngs[idx] = e.target.getLatLng(); + this.setLatLngs(latlngs); + this.#setMiddleHandles(); + }); + this.#handles.push(handle); + }); + } + this.#setMiddleHandles(); + } + + #setMiddleHandles() { + this.#middleHandles.forEach((handle: CoalitionAreaMiddleHandle) => + handle.removeFrom(getApp().getMap()) + ); + this.#middleHandles = []; + var latlngs = this.getLatLngs()[0] as LatLng[]; + if (this.getSelected() && latlngs.length >= 2) { + var lastLatLng: LatLng | null = null; + latlngs.concat([latlngs[0]]).forEach((latlng: LatLng, idx: number) => { + /* Add the polygon middle point handle (for adding new vertexes) */ + if (lastLatLng != null) { + const handle1Point = getApp().getMap().latLngToLayerPoint(latlng); + const handle2Point = getApp().getMap().latLngToLayerPoint(lastLatLng); + const middlePoint = new Point( + (handle1Point.x + handle2Point.x) / 2, + (handle1Point.y + handle2Point.y) / 2 + ); + const middleLatLng = getApp() + .getMap() + .layerPointToLatLng(middlePoint); + + const middleHandle = new CoalitionAreaMiddleHandle(middleLatLng); + middleHandle.addTo(getApp().getMap()); + middleHandle.on("click", (e: any) => { + getApp().getMap().preventClicks(); + this.#activeIndex = idx - 1; + this.addTemporaryLatLng(middleLatLng); + }); + this.#middleHandles.push(middleHandle); + } + lastLatLng = latlng; + }); + } + } + + #drawLabel() { + if (this.#label) { + this.#label.removeFrom(this._map); + } + if ((this.getLatLngs()[0] as LatLng[]).length > 2) { + this.#label = new Marker(polyCenter(this), { + icon: new DivIcon({ + className: "label", + html: this.#labelText, + iconSize: [100, 40], + }), + interactive: false, + }).addTo(this._map); + this.#label + .getElement() + ?.classList.add( + `ol-coalitionarea-label`, + `${this.#selected ? "selected" : `${this.#coalition}`}` + ); + } + } +} diff --git a/frontend/react/src/map/coalitionarea/draggablepath.ts b/frontend/react/src/map/coalitionarea/draggablepath.ts new file mode 100644 index 00000000..676870db --- /dev/null +++ b/frontend/react/src/map/coalitionarea/draggablepath.ts @@ -0,0 +1,179 @@ +import * as L from "leaflet"; + +export const initDraggablePath = () => { + //@ts-ignore + L.PathDraggable = L.Draggable.extend({ + initialize: function (path) { + this._path = path; + + this._canvas = path._map.getRenderer(path) instanceof L.Canvas; + + var element = this._canvas + ? this._path._map.getRenderer(this._path)._container + : this._path._path; + + //@ts-ignore + L.Draggable.prototype.initialize.call(this, element, element, true); + }, + + _updatePosition: function () { + var e = { originalEvent: this._lastEvent }; + + this.fire("drag", e); + }, + + _onDown: function (e) { + var first = e.touches ? e.touches[0] : e; + + this._startPoint = new L.Point(first.clientX, first.clientY); + + if ( + this._canvas && + !this._path._containsPoint( + this._path._map.mouseEventToLayerPoint(first) + ) + ) { + return; + } + + //@ts-ignore + L.Draggable.prototype._onDown.call(this, e); + e.stopPropagation(); + }, + }); + + //@ts-ignore + L.Handler.PathDrag = L.Handler.extend({ + initialize: function (path) { + this._path = path; + }, + + getEvents: function () { + return { + dragstart: this._onDragStart, + + drag: this._onDrag, + + dragend: this._onDragEnd, + }; + }, + + addHooks: function () { + if (!this._draggable) { + //@ts-ignore + this._draggable = new L.PathDraggable(this._path); + } + + this._draggable.on(this.getEvents(), this).enable(); + + L.DomUtil.addClass(this._draggable._element, "leaflet-path-draggable"); + }, + + removeHooks: function () { + this._draggable.off(this.getEvents(), this).disable(); + + L.DomUtil.removeClass(this._draggable._element, "leaflet-path-draggable"); + }, + + moved: function () { + return this._draggable && this._draggable._moved; + }, + + _onDragStart: function () { + this._startPoint = this._draggable._startPoint; + + this._path.closePopup().fire("movestart").fire("dragstart"); + }, + + _onDrag: function (e) { + var path = this._path, + event = + e.originalEvent.touches && e.originalEvent.touches.length === 1 + ? e.originalEvent.touches[0] + : e.originalEvent, + newPoint = L.point(event.clientX, event.clientY), + latlng = path._map.layerPointToLatLng(newPoint); + + this._offset = newPoint.subtract(this._startPoint); + + this._startPoint = newPoint; + + this._path.eachLatLng(this.updateLatLng, this); + + path.redraw(); + + e.latlng = latlng; + + e.offset = this._offset; + + path.fire("drag", e); + + e.latlng = this._path.getCenter + ? this._path.getCenter() + : this._path.getLatLng(); + + path.fire("move", e); + }, + + _onDragEnd: function (e) { + if (this._path._bounds) this.resetBounds(); + + this._path.fire("moveend").fire("dragend", e); + }, + + latLngToLayerPoint: function (latlng) { + // Same as map.latLngToLayerPoint, but without the round(). + + var projectedPoint = this._path._map.project(L.latLng(latlng)); + + return projectedPoint._subtract(this._path._map.getPixelOrigin()); + }, + + updateLatLng: function (latlng) { + var oldPoint = this.latLngToLayerPoint(latlng); + + oldPoint._add(this._offset); + + var newLatLng = this._path._map.layerPointToLatLng(oldPoint); + + latlng.lat = newLatLng.lat; + + latlng.lng = newLatLng.lng; + }, + + resetBounds: function () { + //@ts-ignore + this._path._bounds = new L.LatLngBounds(); + + this._path.eachLatLng(function (latlng) { + this._bounds.extend(latlng); + }); + }, + }); + + L.Path.include({ + eachLatLng: function (callback, context) { + context = context || this; + + var loop = function (latlngs) { + for (var i = 0; i < latlngs.length; i++) { + if (L.Util.isArray(latlngs[i])) loop(latlngs[i]); + else callback.call(context, latlngs[i]); + } + }; + + loop(this.getLatLngs ? this.getLatLngs() : [this.getLatLng()]); + }, + }); + + L.Path.addInitHook(function () { + //@ts-ignore + this.dragging = new L.Handler.PathDrag(this); + + if (this.options.draggable) { + this.once("add", function () { + this.dragging.enable(); + }); + } + }); +}; diff --git a/frontend/react/src/map/coalitionarea/drawingcursor.ts b/frontend/react/src/map/coalitionarea/drawingcursor.ts deleted file mode 100644 index a783e622..00000000 --- a/frontend/react/src/map/coalitionarea/drawingcursor.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { DivIcon, LatLng } from "leaflet"; -import { CustomMarker } from "../markers/custommarker"; - -export class DrawingCursor extends CustomMarker { - constructor() { - super(new LatLng(0, 0), { interactive: false }); - this.setZIndexOffset(9999); - } - - createIcon() { - this.setIcon( - new DivIcon({ - iconSize: [24, 24], - iconAnchor: [0, 24], - className: "leaflet-draw-marker", - }) - ); - var el = document.createElement("div"); - el.classList.add("ol-draw-icon"); - this.getElement()?.appendChild(el); - } -} diff --git a/frontend/react/src/map/dcslayer.ts b/frontend/react/src/map/dcslayer.ts deleted file mode 100644 index 5b3d6d92..00000000 --- a/frontend/react/src/map/dcslayer.ts +++ /dev/null @@ -1,71 +0,0 @@ -import * as L from "leaflet"; - -export class DCSLayer extends L.TileLayer { - createTile(coords: L.Coords, done: L.DoneCallback) { - let newDone = (error?: Error, tile?: HTMLElement) => { - if ( - error === null && - tile !== undefined && - !tile.classList.contains("filtered") - ) { - // Create a canvas and set its width and height. - var canvas = document.createElement("canvas"); - canvas.setAttribute("width", "256px"); - canvas.setAttribute("height", "256px"); - - // Get the canvas drawing context, and draw the image to it. - var context = canvas.getContext("2d"); - if (context) { - context.drawImage( - tile as CanvasImageSource, - 0, - 0, - canvas.width, - canvas.height - ); - - // Get the canvas image data. - var imageData = context.getImageData( - 0, - 0, - canvas.width, - canvas.height - ); - - // Create a function for preserving a specified colour. - var makeTransparent = function ( - imageData: ImageData, - color: { r: number; g: number; b: number } - ) { - // Get the pixel data from the source. - var data = imageData.data; - // Iterate through all the pixels. - for (var i = 0; i < data.length; i += 4) { - // Check if the current pixel should have preserved transparency. This simply compares whether the color we passed in is equivalent to our pixel data. - var convert = - data[i] > color.r - 5 && - data[i] < color.r + 5 && - data[i + 1] > color.g - 5 && - data[i + 1] < color.g + 5 && - data[i + 2] > color.b - 5 && - data[i + 2] < color.b + 5; - - // Either preserve the initial transparency or set the transparency to 0. - data[i + 3] = convert ? 100 : data[i + 3]; - } - return imageData; - }; - - // Get the new pixel data and set it to the canvas context. - var newData = makeTransparent(imageData, { r: 26, g: 109, b: 127 }); - context.putImageData(newData, 0, 0); - (tile as HTMLImageElement).src = canvas.toDataURL(); - tile.classList.add("filtered"); - } - } else { - return done(error, tile); - } - }; - return super.createTile(coords, newDone); - } -} diff --git a/frontend/react/src/map/theme.css b/frontend/react/src/map/map.css similarity index 80% rename from frontend/react/src/map/theme.css rename to frontend/react/src/map/map.css index 744e3347..0639722e 100644 --- a/frontend/react/src/map/theme.css +++ b/frontend/react/src/map/map.css @@ -97,3 +97,36 @@ * { font-weight: 600; } + +.ol-coalitionarea-handle-icon { + background-color: #FFFFFFAA; + width: 100%; + height: 100%; + border-radius: 999px; +} + +.ol-coalitionarea-middle-handle-icon { + background-color: #FFFFFFAA; + width: 100%; + height: 100%; + border-radius: 999px; +} + +.ol-coalitionarea-label { + font-weight: 700; + font-size: 16px; +} + +.ol-coalitionarea-label.selected { + color: white; + /* 1 pixel black shadow to left, top, right and bottom */ + text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; +} + +.ol-coalitionarea-label.blue { + color: #0f3764; +} + +.ol-coalitionarea-label.red { + color: #461818; +} \ No newline at end of file diff --git a/frontend/react/src/map/map.ts b/frontend/react/src/map/map.ts index 3d115636..ed313f1a 100644 --- a/frontend/react/src/map/map.ts +++ b/frontend/react/src/map/map.ts @@ -3,13 +3,7 @@ import { getApp } from "../olympusapp"; import { BoxSelect } from "./boxselect"; import { Airbase } from "../mission/airbase"; import { Unit } from "../unit/unit"; -import { - bearing, - deg2rad, - getGroundElevation, - polyContains, -} from "../other/utils"; -import { DestinationPreviewMarker } from "./markers/destinationpreviewmarker"; +import { areaContains, deg2rad, getFunctionArguments, getGroundElevation } from "../other/utils"; import { TemporaryUnitMarker } from "./markers/temporaryunitmarker"; import { ClickableMiniMap } from "./clickableminimap"; import { @@ -23,84 +17,100 @@ import { CONTEXT_ACTION, MAP_OPTIONS_DEFAULTS, MAP_HIDDEN_TYPES_DEFAULTS, + COALITIONAREA_EDIT, + COALITIONAREA_DRAW_CIRCLE, } from "../constants/constants"; -import { CoalitionArea } from "./coalitionarea/coalitionarea"; -import { TouchBoxSelect } from "./touchboxselect"; -import { DestinationPreviewHandle } from "./markers/destinationpreviewHandle"; - -import "./markers/stylesheets/airbase.css"; -import "./markers/stylesheets/bullseye.css"; -import "./markers/stylesheets/units.css"; - -// Temporary -import "./theme.css"; +import { CoalitionPolygon } from "./coalitionarea/coalitionpolygon"; import { MapHiddenTypes, MapOptions } from "../types/types"; import { SpawnRequestTable } from "../interfaces"; import { ContextAction } from "../unit/contextaction"; +/* Stylesheets */ +import "./markers/stylesheets/airbase.css"; +import "./markers/stylesheets/bullseye.css"; +import "./markers/stylesheets/units.css"; +import "./map.css"; +import { CoalitionCircle } from "./coalitionarea/coalitioncircle"; + +import { initDraggablePath } from "./coalitionarea/draggablepath"; +import { faDrawPolygon, faJetFighter, faMap } from "@fortawesome/free-solid-svg-icons"; + +/* Register the handler for the box selection */ L.Map.addInitHook("addHandler", "boxSelect", BoxSelect); +initDraggablePath(); + export class Map extends L.Map { /* Options */ #options: MapOptions = MAP_OPTIONS_DEFAULTS; #hiddenTypes: MapHiddenTypes = MAP_HIDDEN_TYPES_DEFAULTS; - #ID: string; + /* State machine */ #state: string; + + /* Map layers */ + #theatre: string = ""; #layer: L.TileLayer | L.LayerGroup | null = null; + #layerName: string = ""; + #mapLayers: any = defaultMapLayers; + #mapMirrors: any = defaultMapMirrors; - #spawnRequestTable: SpawnRequestTable | null = null; + /* Inputs timers */ + #mouseCooldownTimer: number = 0; + #shortPressTimer: number = 0; + #longPressTimer: number = 0; - #preventLeftClick: boolean = false; - #leftClickTimer: number = 0; - #deafultPanDelta: number = 100; + /* Camera keyboard panning control */ + defaultPanDelta: number = 100; #panInterval: number | null = null; #panLeft: boolean = false; #panRight: boolean = false; #panUp: boolean = false; #panDown: boolean = false; - #lastMousePosition: L.Point = new L.Point(0, 0); - #lastMouseCoordinates: L.LatLng = new L.LatLng(0, 0); + /* Keyboard state */ + #isShiftKeyDown: boolean = false; - #shiftKey: boolean = false; - #centerUnit: Unit | null = null; + /* Center on unit target */ + #centeredUnit: Unit | null = null; + /* Minimap */ #miniMap: ClickableMiniMap | null = null; #miniMapLayerGroup: L.LayerGroup; #miniMapPolyline: L.Polyline; - #temporaryMarkers: TemporaryUnitMarker[] = []; - - #isSelecting: boolean = false; + /* Other state controls */ + #isMouseOnCooldown: boolean = false; #isZooming: boolean = false; + #isDragging: boolean = false; + #isMouseDown: boolean = false; + #lastMousePosition: L.Point = new L.Point(0, 0); + #lastMouseCoordinates: L.LatLng = new L.LatLng(0, 0); #previousZoom: number = 0; + /* Camera control plugin */ #slaveDCSCamera: boolean = false; #slaveDCSCameraAvailable: boolean = false; #cameraControlTimer: number = 0; #cameraControlPort: number = 3003; #cameraControlMode: string = "map"; - - #coalitionAreas: CoalitionArea[] = []; - - #mapLayers: any = defaultMapLayers; - #mapMirrors: any = defaultMapMirrors; - #layerName: string = ""; #cameraOptionsXmlHttp: XMLHttpRequest | null = null; #bradcastPositionXmlHttp: XMLHttpRequest | null = null; #cameraZoomRatio: number = 1.0; + /* Coalition areas drawing */ + #coalitionAreas: (CoalitionPolygon | CoalitionCircle)[] = []; + + /* Unit context actions */ #contextAction: null | ContextAction = null; - #theatre: string = ""; - #waitingForDoubleClick: boolean = false; - #doubleClickTimer: number = 0; - #longPressTimer: number = 0; - #isDragging: boolean = false; + + /* Unit spawning */ + #spawnRequestTable: SpawnRequestTable | null = null; + #temporaryMarkers: TemporaryUnitMarker[] = []; /** * - * @param ID - the ID of the HTML element which will contain the context menu + * @param ID - the ID of the HTML element which will contain the map */ constructor(ID: string) { /* Init the leaflet map */ @@ -109,7 +119,7 @@ export class Map extends L.Map { doubleClickZoom: false, zoomControl: false, boxZoom: false, - //@ts-ignore Needed because the boxSelect option is non-standard + //@ts-ignore Needed because the boxSelect option is non-standard and unsuppoerted boxSelect: true, zoomAnimation: true, maxBoundsViscosity: 1.0, @@ -119,8 +129,6 @@ export class Map extends L.Map { }); this.setView([37.23, -115.8], 10); - this.#ID = ID; - /* Minimap */ var minimapLayer = new L.TileLayer( "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", @@ -131,29 +139,32 @@ export class Map extends L.Map { this.#miniMapPolyline.addTo(this.#miniMapLayerGroup); /* Init the state machine */ - this.#state = IDLE; + this.setState(IDLE); /* Register event handles */ - this.on("click", (e: any) => this.#onClick(e)); - this.on("dblclick", (e: any) => this.#onDoubleClick(e)); this.on("zoomstart", (e: any) => this.#onZoomStart(e)); this.on("zoom", (e: any) => this.#onZoom(e)); this.on("zoomend", (e: any) => this.#onZoomEnd(e)); - this.on("drag", (e: any) => this.centerOnUnit(null)); + this.on("dragstart", (e: any) => this.#onDragStart(e)); + this.on("drag", (e: any) => this.centerOnUnit(null)); this.on("dragend", (e: any) => this.#onDragEnd(e)); - this.on("contextmenu", (e: any) => this.#onContextMenu(e)); + this.on("selectionstart", (e: any) => this.#onSelectionStart(e)); this.on("selectionend", (e: any) => this.#onSelectionEnd(e)); + + this.on("dblclick", (e: any) => this.#onDoubleClick(e)); this.on("mouseup", (e: any) => this.#onMouseUp(e)); this.on("mousedown", (e: any) => this.#onMouseDown(e)); + this.on("mousemove", (e: any) => this.#onMouseMove(e)); + this.on("keydown", (e: any) => this.#onKeyDown(e)); this.on("keyup", (e: any) => this.#onKeyUp(e)); - this.on("move", (e: any) => { - if (this.#slaveDCSCamera) this.#broadcastPosition(); - }); + this.on("move", (e: any) => this.#onMapMove(e)); + + /* Custom touch events for touchscreen support */ L.DomEvent.on(this.getContainer(), "touchstart", this.#onMouseDown, this); L.DomEvent.on(this.getContainer(), "touchend", this.#onMouseUp, this); @@ -170,19 +181,6 @@ export class Map extends L.Map { ); }); - document.addEventListener( - "toggleCoalitionAreaDraw", - (ev: CustomEventInit) => { - //this.getMapContextMenu().hide(); - this.deselectAllCoalitionAreas(); - if (ev.detail?.type == "polygon") { - if (this.getState() !== COALITIONAREA_DRAW_POLYGON) - this.setState(COALITIONAREA_DRAW_POLYGON); - else this.setState(IDLE); - } - } - ); - //document.addEventListener("unitUpdated", (ev: CustomEvent) => { // if (this.#centerUnit != null && ev.detail == this.#centerUnit) // this.#panToUnit(this.#centerUnit); @@ -242,15 +240,11 @@ export class Map extends L.Map { }); document.addEventListener("toggleCameraLinkStatus", () => { - // if (this.#slaveDCSCameraAvailable) { // Commented to experiment with usability this.setSlaveDCSCamera(!this.#slaveDCSCamera); - // } }); document.addEventListener("slewCameraToPosition", () => { - // if (this.#slaveDCSCameraAvailable) { // Commented to experiment with usability this.#broadcastPosition(); - // } }); /* Pan interval */ @@ -259,11 +253,11 @@ export class Map extends L.Map { this.panBy( new L.Point( ((this.#panLeft ? -1 : 0) + (this.#panRight ? 1 : 0)) * - this.#deafultPanDelta * - (this.#shiftKey ? 3 : 1), + this.defaultPanDelta * + (this.#isShiftKeyDown ? 3 : 1), ((this.#panUp ? -1 : 0) + (this.#panDown ? 1 : 0)) * - this.#deafultPanDelta * - (this.#shiftKey ? 3 : 1) + this.defaultPanDelta * + (this.#isShiftKeyDown ? 3 : 1) ) ); }, 20); @@ -364,22 +358,40 @@ export class Map extends L.Map { contextAction?: ContextAction | null; } ) { + console.log(`Switching from state ${this.#state} to ${state}`); + + /* Operations to perform when leaving a state */ + if ( + this.#state === COALITIONAREA_DRAW_POLYGON || + this.#state === COALITIONAREA_DRAW_CIRCLE + ) + this.getSelectedCoalitionArea()?.setEditing(false); + this.#state = state; - /* Operations to perform if you are NOT in a state */ - if (this.#state !== COALITIONAREA_DRAW_POLYGON) { - this.#deselectSelectedCoalitionArea(); - } - - /* Operations to perform if you ARE in a state */ + /* Operations to perform when entering a state */ if (this.#state === IDLE) { - getApp().getUnitsManager().deselectAllUnits(); + getApp().getUnitsManager()?.deselectAllUnits(); + this.deselectAllCoalitionAreas(); } else if (this.#state === SPAWN_UNIT) { + this.deselectAllCoalitionAreas(); this.#spawnRequestTable = options?.spawnRequestTable ?? null; + console.log(`Spawn request table:`); + console.log(this.#spawnRequestTable); } else if (this.#state === CONTEXT_ACTION) { + this.deselectAllCoalitionAreas(); this.#contextAction = options?.contextAction ?? null; + console.log(`Context action:`); + console.log(this.#contextAction); } else if (this.#state === COALITIONAREA_DRAW_POLYGON) { - this.#coalitionAreas.push(new CoalitionArea([])); + getApp().getUnitsManager().deselectAllUnits(); + this.#coalitionAreas.push(new CoalitionPolygon([])); + this.#coalitionAreas[this.#coalitionAreas.length - 1].addTo(this); + } else if (this.#state === COALITIONAREA_DRAW_CIRCLE) { + getApp().getUnitsManager().deselectAllUnits(); + this.#coalitionAreas.push( + new CoalitionCircle(new L.LatLng(0, 0), { radius: 1000 }) + ); this.#coalitionAreas[this.#coalitionAreas.length - 1].addTo(this); } @@ -392,18 +404,147 @@ export class Map extends L.Map { return this.#state; } + getCurrentControls() { + if (this.#state === IDLE) { + return [ + { + actions: ["Tap"], + target: faJetFighter, + text: "Select unit", + }, + { + actions: ["Shift", "Drag"], + target: faMap, + text: "Box selection", + }, + { + actions: ["Press", "Drag"], + target: faMap, + text: "Box selection", + }, + { + actions: ["Drag"], + target: faMap, + text: "Move map location", + }, + ]; + } else if (this.#state === SPAWN_UNIT) { + return [ + { + actions: ["Tap"], + target: faMap, + text: "Spawn unit", + }, + { + actions: ["Double tap"], + target: faMap, + text: "Exit spawn mode", + }, + { + actions: ["Drag"], + target: faMap, + text: "Move map location", + }, + ]; + } else if (this.#state === CONTEXT_ACTION) { + let controls = [ + { + actions: ["Double tap"], + target: faMap, + text: "Deselect units", + }, + { + actions: ["Drag"], + target: faMap, + text: "Move map location", + }, + ]; + + if (this.#contextAction) { + /* TODO: I don't like this approach, it relies on the arguments names of the callback. We should find a better method */ + const args = getFunctionArguments(this.#contextAction.getCallback()); + controls.push({ + actions: ["Tap"], + target: args.includes("targetUnit")? faJetFighter: faMap, + text: this.#contextAction?.getLabel() ?? "", + }); + } + + return controls; + } else if (this.#state === COALITIONAREA_EDIT) { + return [ + { + actions: ["Tap"], + target: faDrawPolygon, + text: "Select shape", + }, + { + actions: ["Double tap"], + target: faMap, + text: "Exit drawing mode", + }, + { + actions: ["Drag"], + target: faMap, + text: "Move map location", + }, + ]; + } else if (this.#state === COALITIONAREA_DRAW_POLYGON) { + return [ + { + actions: ["Tap"], + target: faMap, + text: "Add vertex to polygon", + }, + { + actions: ["Double tap"], + target: faMap, + text: "Finalize polygon", + }, + { + actions: ["Drag"], + target: faMap, + text: "Move map location", + }, + ]; + } else if (this.#state === COALITIONAREA_DRAW_CIRCLE) { + return [ + { + actions: ["Tap"], + target: faMap, + text: "Add circle", + }, + { + actions: ["Drag"], + target: faMap, + text: "Move map location", + }, + ]; + } else { + return []; + } + } + deselectAllCoalitionAreas() { - this.#coalitionAreas.forEach((coalitionArea: CoalitionArea) => - coalitionArea.setSelected(false) + document.dispatchEvent( + new CustomEvent("coalitionAreaSelected", { + detail: null, + }) + ); + + this.#coalitionAreas.forEach( + (coalitionArea: CoalitionPolygon | CoalitionCircle) => + coalitionArea.setSelected(false) ); } - deleteCoalitionArea(coalitionArea: CoalitionArea) { + deleteCoalitionArea(coalitionArea: CoalitionPolygon | CoalitionCircle) { if (this.#coalitionAreas.includes(coalitionArea)) this.#coalitionAreas.splice( this.#coalitionAreas.indexOf(coalitionArea), 1 ); + if (this.hasLayer(coalitionArea)) this.removeLayer(coalitionArea); } @@ -416,104 +557,6 @@ export class Map extends L.Map { return this.#hiddenTypes; } - /* Context Menus */ - hideAllContextMenus() { - this.hideMapContextMenu(); - this.hideUnitContextMenu(); - this.hideAirbaseContextMenu(); - this.hideAirbaseSpawnMenu(); - this.hideCoalitionAreaContextMenu(); - } - - showMapContextMenu(x: number, y: number, latlng: L.LatLng) { - //this.hideAllContextMenus(); - //this.#mapContextMenu.show(x, y, latlng); - //document.dispatchEvent(new CustomEvent("mapContextMenu")); - } - - hideMapContextMenu() { - //this.#mapContextMenu.hide(); - //document.dispatchEvent(new CustomEvent("mapContextMenu")); - } - - getMapContextMenu() { - return null; //this.#mapContextMenu; - } - - showUnitContextMenu( - x: number | undefined = undefined, - y: number | undefined = undefined, - latlng: L.LatLng | undefined = undefined - ) { - //this.hideAllContextMenus(); - //this.#unitContextMenu.show(x, y, latlng); - } - - getUnitContextMenu() { - return null; //this.#unitContextMenu; - } - - hideUnitContextMenu() { - //this.#unitContextMenu.hide(); - } - - showAirbaseContextMenu( - airbase: Airbase, - x: number | undefined = undefined, - y: number | undefined = undefined, - latlng: L.LatLng | undefined = undefined - ) { - //this.hideAllContextMenus(); - //this.#airbaseContextMenu.show(x, y, latlng); - //this.#airbaseContextMenu.setAirbase(airbase); - } - - getAirbaseContextMenu() { - return null; //this.#airbaseContextMenu; - } - - hideAirbaseContextMenu() { - //this.#airbaseContextMenu.hide(); - } - - showAirbaseSpawnMenu( - airbase: Airbase, - x: number | undefined = undefined, - y: number | undefined = undefined, - latlng: L.LatLng | undefined = undefined - ) { - //this.hideAllContextMenus(); - //this.#airbaseSpawnMenu.show(x, y); - //this.#airbaseSpawnMenu.setAirbase(airbase); - } - - getAirbaseSpawnMenu() { - return null; //this.#airbaseSpawnMenu; - } - - hideAirbaseSpawnMenu() { - //this.#airbaseSpawnMenu.hide(); - } - - showCoalitionAreaContextMenu( - x: number, - y: number, - latlng: L.LatLng, - coalitionArea: CoalitionArea - ) { - //this.hideAllContextMenus(); - //this.#coalitionAreaContextMenu.show(x, y, latlng); - //this.#coalitionAreaContextMenu.setCoalitionArea(coalitionArea); - } - - getCoalitionAreaContextMenu() { - return null; //this.#coalitionAreaContextMenu; - } - - hideCoalitionAreaContextMenu() { - //this.#coalitionAreaContextMenu.hide(); - } - getMousePosition() { return this.#lastMousePosition; } @@ -525,15 +568,15 @@ export class Map extends L.Map { centerOnUnit(unit: Unit | null) { if (unit !== null) { this.options.scrollWheelZoom = "center"; - this.#centerUnit = unit; + this.#centeredUnit = unit; } else { this.options.scrollWheelZoom = undefined; - this.#centerUnit = null; + this.#centeredUnit = null; } } getCenteredOnUnit() { - return this.#centerUnit; + return this.#centeredUnit; } setTheatre(theatre: string) { @@ -642,15 +685,13 @@ export class Map extends L.Map { } getSelectedCoalitionArea() { - return this.#coalitionAreas.find((area: CoalitionArea) => { - return area.getSelected(); - }); - } + const coalitionArea = this.#coalitionAreas.find( + (coalitionArea: CoalitionPolygon | CoalitionCircle) => { + return coalitionArea.getSelected(); + } + ); - bringCoalitionAreaToBack(coalitionArea: CoalitionArea) { - coalitionArea.bringToBack(); - this.#coalitionAreas.splice(this.#coalitionAreas.indexOf(coalitionArea), 1); - this.#coalitionAreas.unshift(coalitionArea); + return coalitionArea ?? null; } setOption(key, value) { @@ -688,10 +729,6 @@ export class Map extends L.Map { return false; } - getMapMarkerVisibilityControls() { - return null; //this.#mapMarkerVisibilityControls; - } - setSlaveDCSCamera(newSlaveDCSCamera: boolean) { this.#slaveDCSCamera = newSlaveDCSCamera; let button = document.getElementById("camera-link-control"); @@ -739,76 +776,13 @@ export class Map extends L.Map { this.#contextAction?.executeCallback(targetUnit, targetPosition); } + preventClicks() { + console.log("Preventing clicks on map"); + window.clearTimeout(this.#shortPressTimer); + window.clearTimeout(this.#longPressTimer); + } + /* Event handlers */ - #onClick(e: any) { - /* Exit if we were waiting for a doubleclick */ - if (this.#waitingForDoubleClick) { - return; - } - - /* We'll wait for a doubleclick */ - this.#waitingForDoubleClick = true; - - this.#doubleClickTimer = window.setTimeout(() => { - /* Still waiting so no doubleclick; do the click action */ - if (this.#waitingForDoubleClick) { - if (!this.#preventLeftClick) { - /* Execute the short click action */ - if (this.#state === IDLE) { - this.deselectAllCoalitionAreas(); - } else if (this.#state === SPAWN_UNIT) { - if (this.#spawnRequestTable !== null) { - const location = e.latlng; - this.#spawnRequestTable.unit.location = e.latlng; - getApp() - .getUnitsManager() - .spawnUnits( - this.#spawnRequestTable.category, - [this.#spawnRequestTable.unit], - this.#spawnRequestTable.coalition, - false, - undefined, - undefined, - (hash) => { - this.addTemporaryMarker( - location, - this.#spawnRequestTable?.unit.unitType ?? "unknown", - this.#spawnRequestTable?.coalition ?? "blue", - hash - ); - } - ); - } - } else if (this.#state === COALITIONAREA_DRAW_POLYGON) { - if (this.getSelectedCoalitionArea()?.getEditing()) { - this.getSelectedCoalitionArea()?.addTemporaryLatLng(e.latlng); - } else { - this.deselectAllCoalitionAreas(); - } - } else if (this.#state === CONTEXT_ACTION) { - this.executeContextAction(null, e.latlng); - } else { - this.setState(IDLE); - getApp().getUnitsManager().deselectAllUnits(); - } - } - } - - /* No longer waiting for a doubleclick */ - this.#waitingForDoubleClick = false; - }, 200); - } - - #onDoubleClick(e: any) { - /* Let single clicks work again */ - this.#waitingForDoubleClick = false; - clearTimeout(this.#doubleClickTimer); - - this.setState(IDLE); - } - - #onContextMenu(e: any) {} - #onDragStart(e: any) { this.#isDragging = true; } @@ -817,28 +791,139 @@ export class Map extends L.Map { this.#isDragging = false; } - #onSelectionStart(e: any) { - this.#isSelecting = true; - } + #onSelectionStart(e: any) {} #onSelectionEnd(e: any) { - this.#isSelecting = false; - clearTimeout(this.#leftClickTimer); - this.#preventLeftClick = true; - this.#leftClickTimer = window.setTimeout(() => { - this.#preventLeftClick = false; - }, 200); getApp().getUnitsManager().selectFromBounds(e.selectionBounds); document.dispatchEvent(new CustomEvent("mapSelectionEnd")); } #onMouseUp(e: any) { + this.#isMouseDown = false; window.clearTimeout(this.#longPressTimer); + + this.#isMouseOnCooldown = true; + this.#mouseCooldownTimer = window.setTimeout(() => { + this.#isMouseOnCooldown = false; + }, 200); } #onMouseDown(e: any) { + this.#isMouseDown = true; + + if (this.#isMouseOnCooldown) { + return; + } + + this.#shortPressTimer = window.setTimeout(() => { + /* If the mouse is no longer being pressed, execute the short press action */ + if (!this.#isMouseDown) this.#onShortPress(e); + }, 200); + this.#longPressTimer = window.setTimeout(() => { - if (!this.#isDragging && !this.#isZooming) + /* If the mouse is still being pressed, execute the long press action */ + if (this.#isMouseDown && !this.#isDragging && !this.#isZooming) + this.#onLongPress(e); + }, 500); + } + + #onDoubleClick(e: any) { + console.log(`Double click at ${e.latlng}`); + + window.clearTimeout(this.#shortPressTimer); + window.clearTimeout(this.#longPressTimer); + + if ( + this.#state === COALITIONAREA_DRAW_POLYGON || + this.#state === COALITIONAREA_DRAW_CIRCLE + ) { + this.setState(COALITIONAREA_EDIT); + } else { + this.setState(IDLE); + } + } + + #onShortPress(e: any) { + let touchLocation: L.LatLng; + if (e.type === "touchstart") + touchLocation = this.containerPointToLatLng( + this.mouseEventToContainerPoint(e.touches[0]) + ); + else touchLocation = new L.LatLng(e.latlng.lat, e.latlng.lng); + + console.log(`Short press at ${touchLocation}`); + + /* Execute the short click action */ + if (this.#state === IDLE) { + } else if (this.#state === SPAWN_UNIT) { + if (this.#spawnRequestTable !== null) { + this.#spawnRequestTable.unit.location = touchLocation; + getApp() + .getUnitsManager() + .spawnUnits( + this.#spawnRequestTable.category, + [this.#spawnRequestTable.unit], + this.#spawnRequestTable.coalition, + false, + undefined, + undefined, + (hash) => { + this.addTemporaryMarker( + touchLocation, + this.#spawnRequestTable?.unit.unitType ?? "unknown", + this.#spawnRequestTable?.coalition ?? "blue", + hash + ); + } + ); + } + } else if (this.#state === COALITIONAREA_DRAW_POLYGON) { + const selectedArea = this.getSelectedCoalitionArea(); + if (selectedArea && selectedArea instanceof CoalitionPolygon) { + selectedArea.addTemporaryLatLng(touchLocation); + } + } else if (this.#state === COALITIONAREA_DRAW_CIRCLE) { + const selectedArea = this.getSelectedCoalitionArea(); + if (selectedArea && selectedArea instanceof CoalitionCircle) { + if ( + selectedArea.getLatLng().lat == 0 && + selectedArea.getLatLng().lng == 0 + ) + selectedArea.setLatLng(touchLocation); + this.setState(COALITIONAREA_EDIT); + } + } else if (this.#state == COALITIONAREA_EDIT) { + this.deselectAllCoalitionAreas(); + for (let idx = 0; idx < this.#coalitionAreas.length; idx++) { + if (areaContains(touchLocation, this.#coalitionAreas[idx])) { + this.#coalitionAreas[idx].setSelected(true); + document.dispatchEvent( + new CustomEvent("coalitionAreaSelected", { + detail: this.#coalitionAreas[idx], + }) + ); + break; + } + } + } else if (this.#state === CONTEXT_ACTION) { + this.executeContextAction(null, touchLocation); + } else { + } + } + + #onLongPress(e: any) { + let touchLocation: L.LatLng; + if (e.type === "touchstart") + touchLocation = this.containerPointToLatLng( + this.mouseEventToContainerPoint(e.touches[0]) + ); + else touchLocation = new L.LatLng(e.latlng.lat, e.latlng.lng); + + console.log(`Long press at ${touchLocation}`); + + if (!this.#isDragging && !this.#isZooming) { + this.deselectAllCoalitionAreas(); + if (this.#state === IDLE) { if (e.type === "touchstart") document.dispatchEvent( new CustomEvent("mapForceBoxSelect", { detail: e }) @@ -847,36 +932,38 @@ export class Map extends L.Map { document.dispatchEvent( new CustomEvent("mapForceBoxSelect", { detail: e.originalEvent }) ); - }, 500); - } - - #onMouseMove(e: any) { - this.#lastMousePosition.x = e.originalEvent.x; - this.#lastMousePosition.y = e.originalEvent.y; - this.#lastMouseCoordinates = this.mouseEventToLatLng(e.originalEvent); - - if (this.#state === COALITIONAREA_DRAW_POLYGON && e.latlng !== undefined) { - /* Update the polygon being drawn with the current position of the mouse cursor */ - this.getSelectedCoalitionArea()?.moveActiveVertex(e.latlng); + } } } + #onMouseMove(e: any) { + window.clearTimeout(this.#longPressTimer); + + this.#lastMousePosition.x = e.originalEvent.x; + this.#lastMousePosition.y = e.originalEvent.y; + this.#lastMouseCoordinates = e.latlng; + } + + #onMapMove(e: any) { + if (this.#slaveDCSCamera) this.#broadcastPosition(); + } + #onKeyDown(e: any) { - this.#shiftKey = e.originalEvent.shiftKey; + this.#isShiftKeyDown = e.originalEvent.shiftKey; } #onKeyUp(e: any) { - this.#shiftKey = e.originalEvent.shiftKey; + this.#isShiftKeyDown = e.originalEvent.shiftKey; } #onZoomStart(e: any) { this.#previousZoom = this.getZoom(); - if (this.#centerUnit != null) this.#panToUnit(this.#centerUnit); + if (this.#centeredUnit != null) this.#panToUnit(this.#centeredUnit); this.#isZooming = true; } #onZoom(e: any) { - if (this.#centerUnit != null) this.#panToUnit(this.#centerUnit); + if (this.#centeredUnit != null) this.#panToUnit(this.#centeredUnit); } #onZoomEnd(e: any) { @@ -938,10 +1025,6 @@ export class Map extends L.Map { return minimapBoundaries; } - #deselectSelectedCoalitionArea() { - this.getSelectedCoalitionArea()?.setSelected(false); - } - #setSlaveDCSCameraAvailable(newSlaveDCSCameraAvailable: boolean) { this.#slaveDCSCameraAvailable = newSlaveDCSCameraAvailable; let linkButton = document.getElementById("camera-link-control"); diff --git a/frontend/react/src/map/markers/smokemarker.ts b/frontend/react/src/map/markers/smokemarker.ts index b8a99c6e..cf20e4dc 100644 --- a/frontend/react/src/map/markers/smokemarker.ts +++ b/frontend/react/src/map/markers/smokemarker.ts @@ -31,7 +31,7 @@ export class SmokeMarker extends CustomMarker { el.classList.add("ol-smoke-icon"); el.setAttribute("data-color", this.#color); var img = document.createElement("img"); - img.src = "/images/markers/smoke.svg"; + img.src = "/vite/images/markers/smoke.svg"; img.onload = () => SVGInjector(img); el.appendChild(img); this.getElement()?.appendChild(el); diff --git a/frontend/react/src/map/markers/stylesheets/units.css b/frontend/react/src/map/markers/stylesheets/units.css index 7b46717f..32de33e9 100644 --- a/frontend/react/src/map/markers/stylesheets/units.css +++ b/frontend/react/src/map/markers/stylesheets/units.css @@ -288,15 +288,15 @@ } [data-object|="unit"][data-state="rtb"] .unit-state { - background-image: url("/images/states/rtb.svg"); + background-image: url("/vite/images/states/rtb.svg"); } [data-object|="unit"][data-state="land"] .unit-state { - background-image: url("/images/states/rtb.svg"); + background-image: url("/vite/images/states/rtb.svg"); } [data-object|="unit"][data-state="idle"] .unit-state { - background-image: url("/images/states/idle.svg"); + background-image: url("/vite/images/states/idle.svg"); } [data-object*="groundunit"][data-state="idle"] .unit-state, @@ -308,59 +308,59 @@ [data-object|="unit"][data-state="bomb-point"] .unit-state, [data-object|="unit"][data-state="carpet-bombing"] .unit-state, [data-object|="unit"][data-state="fire-at-area"] .unit-state { - background-image: url("/images/states/attack.svg"); + background-image: url("/vite/images/states/attack.svg"); } [data-object|="unit"][data-state="follow"] .unit-state { - background-image: url("/images/states/follow.svg"); + background-image: url("/vite/images/states/follow.svg"); } [data-object|="unit"][data-state="refuel"] .unit-state { - background-image: url("/images/states/refuel.svg"); + background-image: url("/vite/images/states/refuel.svg"); } [data-object|="unit"][data-state="human"] .unit-state { - background-image: url("/images/states/human.svg"); + background-image: url("/vite/images/states/human.svg"); } [data-object|="unit"][data-state="dcs"] .unit-state { - background-image: url("/images/states/dcs.svg"); + background-image: url("/vite/images/states/dcs.svg"); } [data-object|="unit"][data-state="land-at-point"] .unit-state { - background-image: url("/images/states/land-at-point.svg"); + background-image: url("/vite/images/states/land-at-point.svg"); } [data-object|="unit"][data-state="no-task"] .unit-state { - background-image: url("/images/states/no-task.svg"); + background-image: url("/vite/images/states/no-task.svg"); } [data-object|="unit"][data-state="off"] .unit-state { - background-image: url("/images/states/off.svg"); + background-image: url("/vite/images/states/off.svg"); } [data-object|="unit"][data-state="tanker"] .unit-state { - background-image: url("/images/states/tanker.svg"); + background-image: url("/vite/images/states/tanker.svg"); } [data-object|="unit"][data-state="AWACS"] .unit-state { - background-image: url("/images/states/awacs.svg"); + background-image: url("/vite/images/states/awacs.svg"); } [data-object|="unit"][data-state="miss-on-purpose"] .unit-state { - background-image: url("/images/states/miss-on-purpose.svg"); + background-image: url("/vite/images/states/miss-on-purpose.svg"); } [data-object|="unit"][data-state="scenic-aaa"] .unit-state { - background-image: url("/images/states/scenic-aaa.svg"); + background-image: url("/vite/images/states/scenic-aaa.svg"); } [data-object|="unit"][data-state="simulate-fire-fight"] .unit-state { - background-image: url("/images/states/simulate-fire-fight.svg"); + background-image: url("/vite/images/states/simulate-fire-fight.svg"); } [data-object|="unit"] .unit-health::before { - background-image: url("/images/icons/health.svg"); + background-image: url("/vite/images/icons/health.svg"); background-repeat: no-repeat; background-size: contain; content: " "; diff --git a/frontend/react/src/map/markers/temporaryunitmarker.ts b/frontend/react/src/map/markers/temporaryunitmarker.ts index 72a09228..76eca34a 100644 --- a/frontend/react/src/map/markers/temporaryunitmarker.ts +++ b/frontend/react/src/map/markers/temporaryunitmarker.ts @@ -67,7 +67,7 @@ export class TemporaryUnitMarker extends CustomMarker { unitIcon.classList.add("unit-icon"); var img = document.createElement("img"); - img.src = `/images/units/${databaseEntry?.markerFile ?? category}.svg`; + img.src = `/vite/images/units/${databaseEntry?.markerFile ?? category}.svg`; img.onload = () => SVGInjector(img); unitIcon.appendChild(img); unitIcon.toggleAttribute("data-rotate-to-heading", false); diff --git a/frontend/react/src/map/rangecircle.ts b/frontend/react/src/map/rangecircle.ts index ed76937a..d9e81c34 100644 --- a/frontend/react/src/map/rangecircle.ts +++ b/frontend/react/src/map/rangecircle.ts @@ -1,5 +1,4 @@ -// @ts-nocheck -// This is a horrible hack. But it is needed at the moment to ovveride a default behaviour of Leaflet. TODO please fix me the proper way. +// @ts-nocheck <-- This is a horrible hack. But it is needed at the moment to ovveride a default behaviour of Leaflet. TODO please fix me the proper way. import { Circle, Point, Polyline } from "leaflet"; diff --git a/frontend/react/src/map/touchboxselect.ts b/frontend/react/src/map/touchboxselect.ts deleted file mode 100644 index fe531e4b..00000000 --- a/frontend/react/src/map/touchboxselect.ts +++ /dev/null @@ -1,149 +0,0 @@ -import { Map, Point } from "leaflet"; -import { Handler } from "leaflet"; -import { Util } from "leaflet"; -import { DomUtil } from "leaflet"; -import { DomEvent } from "leaflet"; -import { LatLngBounds } from "leaflet"; -import { Bounds } from "leaflet"; - -export var TouchBoxSelect = Handler.extend({ - initialize: function (map: Map) { - this._map = map; - this._container = map.getContainer(); - this._pane = map.getPanes().overlayPane; - this._resetStateTimeout = 0; - this._doubleClicked = false; - map.on("unload", this._destroy, this); - }, - - addHooks: function () { - DomEvent.on(this._container, "touchstart", this._onMouseDown, this); - }, - - removeHooks: function () { - DomEvent.off(this._container, "touchstart", this._onMouseDown, this); - }, - - moved: function () { - return this._moved; - }, - - _destroy: function () { - DomUtil.remove(this._pane); - delete this._pane; - }, - - _resetState: function () { - this._resetStateTimeout = 0; - this._moved = false; - }, - - _clearDeferredResetState: function () { - if (this._resetStateTimeout !== 0) { - clearTimeout(this._resetStateTimeout); - this._resetStateTimeout = 0; - } - }, - - _onMouseDown: function (e: any) { - if (e.which == 0) { - this._map.fire("selectionstart"); - // Clear the deferred resetState if it hasn't executed yet, otherwise it - // will interrupt the interaction and orphan a box element in the container. - this._clearDeferredResetState(); - this._resetState(); - - DomUtil.disableTextSelection(); - DomUtil.disableImageDrag(); - - this._startPoint = this._getMousePosition(e); - - //@ts-ignore - DomEvent.on( - document, - { - contextmenu: DomEvent.stop, - touchmove: this._onMouseMove, - touchend: this._onMouseUp, - }, - this - ); - } else { - return false; - } - }, - - _onMouseMove: function (e: any) { - if (!this._moved) { - this._moved = true; - - this._box = DomUtil.create("div", "leaflet-zoom-box", this._container); - DomUtil.addClass(this._container, "leaflet-crosshair"); - } - - this._point = this._getMousePosition(e); - - var bounds = new Bounds(this._point, this._startPoint), - size = bounds.getSize(); - - if (bounds.min != undefined) DomUtil.setPosition(this._box, bounds.min); - - this._box.style.width = size.x + "px"; - this._box.style.height = size.y + "px"; - }, - - _finish: function () { - if (this._moved) { - DomUtil.remove(this._box); - DomUtil.removeClass(this._container, "leaflet-crosshair"); - } - - DomUtil.enableTextSelection(); - DomUtil.enableImageDrag(); - - //@ts-ignore - DomEvent.off( - document, - { - contextmenu: DomEvent.stop, - touchmove: this._onMouseMove, - touchend: this._onMouseUp, - }, - this - ); - }, - - _onMouseUp: function (e: any) { - if (e.which !== 0) { - return; - } - - this._finish(); - - if (!this._moved) { - return; - } - // Postpone to next JS tick so internal click event handling - // still see it as "moved". - window.setTimeout(Util.bind(this._resetState, this), 0); - var bounds = new LatLngBounds( - this._map.containerPointToLatLng(this._startPoint), - this._map.containerPointToLatLng(this._point) - ); - - this._map.fire("selectionend", { selectionBounds: bounds }); - }, - - _getMousePosition(e: any) { - var scale = DomUtil.getScale(this._container), - offset = scale.boundingClientRect; // left and top values are in page scale (like the event clientX/Y) - - return new Point( - // offset.left/top values are in page scale (like clientX/Y), - // whereas clientLeft/Top (border width) values are the original values (before CSS scale applies). - (e.touches[0].clientX - offset.left) / scale.x - - this._container.clientLeft, - (e.touches[0].clientY - offset.top) / scale.y - this._container.clientTop - ); - }, -}); diff --git a/frontend/react/src/mission/airbase.ts b/frontend/react/src/mission/airbase.ts index 50b82851..70a81746 100644 --- a/frontend/react/src/mission/airbase.ts +++ b/frontend/react/src/mission/airbase.ts @@ -38,7 +38,7 @@ export class Airbase extends CustomMarker { el.classList.add("airbase-icon"); el.setAttribute("data-object", "airbase"); var img = document.createElement("img"); - img.src = "/images/markers/airbase.svg"; + img.src = "/vite/images/markers/airbase.svg"; img.onload = () => SVGInjector(img); el.appendChild(img); this.getElement()?.appendChild(el); diff --git a/frontend/react/src/mission/bullseye.ts b/frontend/react/src/mission/bullseye.ts index b1149780..6a343720 100644 --- a/frontend/react/src/mission/bullseye.ts +++ b/frontend/react/src/mission/bullseye.ts @@ -17,7 +17,7 @@ export class Bullseye extends CustomMarker { el.classList.add("bullseye-icon"); el.setAttribute("data-object", "bullseye"); var img = document.createElement("img"); - img.src = "/images/markers/bullseye.svg"; + img.src = "/vite/images/markers/bullseye.svg"; img.onload = () => SVGInjector(img); el.appendChild(img); this.getElement()?.appendChild(el); diff --git a/frontend/react/src/mission/missionmanager.ts b/frontend/react/src/mission/missionmanager.ts index 0fed3c8c..91418f36 100644 --- a/frontend/react/src/mission/missionmanager.ts +++ b/frontend/react/src/mission/missionmanager.ts @@ -23,6 +23,7 @@ import { DateAndTime, MissionData, } from "../interfaces"; +import { Coalition } from "../types/types"; /** The MissionManager */ export class MissionManager { @@ -253,10 +254,10 @@ export class MissionManager { getCommandedCoalition() { if (this.getCommandModeOptions().commandMode === BLUE_COMMANDER) - return "blue"; + return "blue" as Coalition; else if (this.getCommandModeOptions().commandMode === RED_COMMANDER) - return "red"; - else return "all"; + return "red" as Coalition; + else return "all" as Coalition; } refreshSpawnPoints() { @@ -395,14 +396,7 @@ export class MissionManager { } #onAirbaseClick(e: any) { - getApp() - .getMap() - .showAirbaseContextMenu( - e.sourceTarget, - e.originalEvent.x, - e.originalEvent.y, - e.latlng - ); + } #loadAirbaseChartData(callsign: string) { diff --git a/frontend/react/src/other/utils.ts b/frontend/react/src/other/utils.ts index 02e8868e..3ec5ba96 100644 --- a/frontend/react/src/other/utils.ts +++ b/frontend/react/src/other/utils.ts @@ -1,15 +1,10 @@ -import { LatLng, Point, Polygon } from "leaflet"; +import { Circle, LatLng, Polygon } from "leaflet"; import * as turf from "@turf/turf"; import { UnitDatabase } from "../unit/databases/unitdatabase"; -import { - AircraftDatabase, - aircraftDatabase, -} from "../unit/databases/aircraftdatabase"; +import { aircraftDatabase } from "../unit/databases/aircraftdatabase"; import { helicopterDatabase } from "../unit/databases/helicopterdatabase"; import { groundUnitDatabase } from "../unit/databases/groundunitdatabase"; -//import { Buffer } from "buffer"; import { - GROUND_UNIT_AIR_DEFENCE_REGEX, ROEs, emissionsCountermeasures, reactionsToThreat, @@ -20,6 +15,7 @@ import { DateAndTime, UnitBlueprint } from "../interfaces"; import { Converter } from "usng"; import { MGRS } from "../types/types"; import { getApp } from "../olympusapp"; +import { featureCollection } from "turf"; export function bearing( lat1: number, @@ -290,12 +286,6 @@ export function mercatorToLatLng(x: number, y: number) { return { lng: lng, lat: lat }; } -export function createDivWithClass(className: string) { - var el = document.createElement("div"); - el.classList.add(className); - return el; -} - export function knotsToMs(knots: number) { return knots / 1.94384; } @@ -324,11 +314,53 @@ export function nmToFt(nm: number) { return nm * 6076.12; } +export function areaContains(latlng: LatLng, area: Polygon | Circle) { + if (area instanceof Polygon) return polyContains(latlng, area); + else return circleContains(latlng, area); +} + export function polyContains(latlng: LatLng, polygon: Polygon) { - var poly = polygon.toGeoJSON(); + let coordinates = [ + (polygon.getLatLngs()[0] as LatLng[]).map((latlng) => { + return [latlng.lng, latlng.lat]; + }), + ]; + coordinates[0].push([ + polygon.getLatLngs()[0][0].lng, + polygon.getLatLngs()[0][0].lat, + ]); + const poly = turf.polygon(coordinates); return turf.inside(turf.point([latlng.lng, latlng.lat]), poly); } +export function circleContains(latlng: LatLng, circle: Circle) { + const poly = turf.circle( + turf.point([circle.getLatLng().lng, circle.getLatLng().lat]), + circle.getRadius() / 1000, + 100, + "kilometers" + ); + return turf.inside(turf.point([latlng.lng, latlng.lat]), poly); +} + +export function polyCenter(polygon: Polygon) { + let coordinates = [ + (polygon.getLatLngs()[0] as LatLng[]).map((latlng) => { + return [latlng.lng, latlng.lat]; + }), + ]; + coordinates[0].push([ + polygon.getLatLngs()[0][0].lng, + polygon.getLatLngs()[0][0].lat, + ]); + const poly = turf.polygon(coordinates); + const center = turf.center(featureCollection([poly])); + return new LatLng( + center.geometry.coordinates[1], + center.geometry.coordinates[0] + ); +} + export function randomPointInPoly(polygon: Polygon): LatLng { var bounds = polygon.getBounds(); var x_min = bounds.getEast(); @@ -339,7 +371,16 @@ export function randomPointInPoly(polygon: Polygon): LatLng { var lat = y_min + Math.random() * (y_max - y_min); var lng = x_min + Math.random() * (x_max - x_min); - var poly = polygon.toGeoJSON(); + let coordinates = [ + (polygon.getLatLngs()[0] as LatLng[]).map((latlng) => { + return [latlng.lng, latlng.lat]; + }), + ]; + coordinates[0].push([ + polygon.getLatLngs()[0][0].lng, + polygon.getLatLngs()[0][0].lat, + ]); + const poly = turf.polygon(coordinates); var inside = turf.inside(turf.point([lng, lat]), poly); if (inside) { @@ -450,10 +491,6 @@ export function getUnitCategoryByBlueprint(blueprint: UnitBlueprint) { return "unknown"; } -export function base64ToBytes(base64: string) { - //return Buffer.from(base64, 'base64').buffer; -} - export function enumToState(state: number) { if (state < states.length) return states[state]; else return states[0]; @@ -552,3 +589,15 @@ export function getWikipediaEntry(search: string, callback: CallableFunction) { }; xhr.send(); } + +export function getFunctionArguments(func) { + var STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm; + var ARGUMENT_NAMES = /([^\s,]+)/g; + + var fnStr = func.toString().replace(STRIP_COMMENTS, ""); + var result = fnStr + .slice(fnStr.indexOf("(") + 1, fnStr.indexOf(")")) + .match(ARGUMENT_NAMES); + if (result === null) result = []; + return result; +} diff --git a/frontend/react/src/server/servermanager.ts b/frontend/react/src/server/servermanager.ts index a01ea1f5..fd492075 100644 --- a/frontend/react/src/server/servermanager.ts +++ b/frontend/react/src/server/servermanager.ts @@ -175,7 +175,7 @@ export class ServerManager { } setAddress(address: string) { - this.#REST_ADDRESS = `${address}olympus`; + this.#REST_ADDRESS = `${address.replace('vite/', '')}olympus`; console.log(`Setting REST address to ${this.#REST_ADDRESS}`); } diff --git a/frontend/react/src/types/types.ts b/frontend/react/src/types/types.ts index da3a7319..11f7ddad 100644 --- a/frontend/react/src/types/types.ts +++ b/frontend/react/src/types/types.ts @@ -50,6 +50,6 @@ export type MGRS = { zoneNumber: string; }; -export type Coalition = "blue" | "neutral" | "red"; +export type Coalition = "blue" | "neutral" | "red" | "all"; export type Context = string; diff --git a/frontend/react/src/ui/components/oldropdown.tsx b/frontend/react/src/ui/components/oldropdown.tsx index defd78ba..a55b7336 100644 --- a/frontend/react/src/ui/components/oldropdown.tsx +++ b/frontend/react/src/ui/components/oldropdown.tsx @@ -84,9 +84,8 @@ export function OlDropdown(props: { const target = event.target; if ( target && - /*!content.contains(target as HTMLElement) &&*/ !button.contains( - target as HTMLElement - ) + !content.contains(target as HTMLElement) && + !button.contains(target as HTMLElement) ) { setOpen(false); } diff --git a/frontend/react/src/ui/components/olstatebutton.tsx b/frontend/react/src/ui/components/olstatebutton.tsx index 6ef85455..7d343e8a 100644 --- a/frontend/react/src/ui/components/olstatebutton.tsx +++ b/frontend/react/src/ui/components/olstatebutton.tsx @@ -16,6 +16,7 @@ export function OlStateButton(props: { icon: IconProp; tooltip: string; onClick: () => void; + children?: JSX.Element | JSX.Element[]; }) { var [hover, setHover] = useState(false); var buttonRef = useRef(null); @@ -47,7 +48,10 @@ export function OlStateButton(props: { setHover(false); }} > - +
+ + {props.children} +
{hover && } diff --git a/frontend/react/src/ui/components/olunitsummary.tsx b/frontend/react/src/ui/components/olunitsummary.tsx index 1f037e3e..2e184361 100644 --- a/frontend/react/src/ui/components/olunitsummary.tsx +++ b/frontend/react/src/ui/components/olunitsummary.tsx @@ -23,7 +23,7 @@ export function OlUnitSummary(props: { className={` absolute right-5 top-0 h-full object-cover opacity-10 invert `} - src={"images/units/" + props.blueprint.filename} + src={"vite/images/units/" + props.blueprint.filename} alt="" />
@@ -332,7 +332,7 @@ export function LoginModal(props: { > { + if (getApp() && controls.length === 0) { + setControls(getApp().getMap().getCurrentControls()); + } + }) + + document.addEventListener("mapStateChanged", (ev) => { + setControls(getApp().getMap().getCurrentControls()); + }); + + return ( +
+ {controls.map((control) => { + return ( +
+
{control.text}
+ +
+ {control.actions.map((action, idx) => { + return ( + <> + {
+
} +
+ {action} +
+ + + ); + })} +
+ +
+ ); + })} +
+ ); +} diff --git a/frontend/react/src/ui/panels/drawingmenu.tsx b/frontend/react/src/ui/panels/drawingmenu.tsx new file mode 100644 index 00000000..23dbe7bd --- /dev/null +++ b/frontend/react/src/ui/panels/drawingmenu.tsx @@ -0,0 +1,430 @@ +import React, { useEffect, useState } from "react"; +import { Menu } from "./components/menu"; +import { FaQuestionCircle, FaRegCircle, FaTrash } from "react-icons/fa"; +import { getApp } from "../../olympusapp"; +import { + COALITIONAREA_DRAW_CIRCLE, + COALITIONAREA_DRAW_POLYGON, + COALITIONAREA_EDIT, + IDLE, +} from "../../constants/constants"; +import { OlStateButton } from "../components/olstatebutton"; +import { faDrawPolygon } from "@fortawesome/free-solid-svg-icons"; +import { faCircle } from "@fortawesome/free-regular-svg-icons"; +import { CoalitionPolygon } from "../../map/coalitionarea/coalitionpolygon"; +import { OlCoalitionToggle } from "../components/olcoalitiontoggle"; +import { OlDropdown, OlDropdownItem } from "../components/oldropdown"; +import { OlCheckbox } from "../components/olcheckbox"; +import { Coalition } from "../../types/types"; +import { OlRangeSlider } from "../components/olrangeslider"; +import { CoalitionCircle } from "../../map/coalitionarea/coalitioncircle"; + +export function DrawingMenu(props: { open: boolean; onClose: () => void }) { + const [drawingPolygon, setDrawingPolygon] = useState(false); + const [drawingCircle, setDrawingCircle] = useState(false); + const [activeCoalitionArea, setActiveCoalitionArea] = useState( + null as null | CoalitionPolygon | CoalitionCircle + ); + const [areaCoalition, setAreaCoalition] = useState("blue" as Coalition); + const [IADSDensity, setIADSDensity] = useState(50); + const [IADSDistribution, setIADSDistribution] = useState(50); + const [forceCoalitionAppropriateUnits, setForceCoalitionApproriateUnits] = + useState(false); + + const [typesSelection, setTypesSelection] = useState({}); + const [erasSelection, setErasSelection] = useState({}); + const [rangesSelection, setRangesSelection] = useState({}); + + useEffect(() => { + /* If we are not in polygon drawing mode, force the draw polygon button off */ + if ( + drawingPolygon && + getApp().getMap().getState() !== COALITIONAREA_DRAW_POLYGON + ) + setDrawingPolygon(false); + + /* If we are not in circle drawing mode, force the draw circle button off */ + if ( + drawingCircle && + getApp().getMap().getState() !== COALITIONAREA_DRAW_CIRCLE + ) + setDrawingCircle(false); + + /* If we are not in any drawing mode, force the map in edit mode */ + if (props.open && !drawingPolygon && !drawingCircle) + getApp().getMap().setState(COALITIONAREA_EDIT); + + /* Align the state of the coalition toggle to the coalition of the area */ + if ( + activeCoalitionArea && + activeCoalitionArea?.getCoalition() !== areaCoalition + ) + setAreaCoalition(activeCoalitionArea?.getCoalition()); + }); + + useEffect(() => { + if (!props.open) { + if ( + [ + COALITIONAREA_EDIT, + COALITIONAREA_DRAW_CIRCLE, + COALITIONAREA_DRAW_POLYGON, + ].includes(getApp()?.getMap()?.getState()) + ) + getApp().getMap().setState(IDLE); + } + }); + + document.addEventListener("mapStateChanged", (event: any) => { + if ( + drawingPolygon && + getApp().getMap().getState() !== COALITIONAREA_DRAW_POLYGON + ) + setDrawingPolygon(false); + + if (getApp().getMap().getState() == COALITIONAREA_EDIT) { + setActiveCoalitionArea( + getApp().getMap().getSelectedCoalitionArea() ?? null + ); + } + }); + + document.addEventListener("coalitionAreaSelected", (event: any) => { + setActiveCoalitionArea(event.detail); + }); + + return ( + { + setActiveCoalitionArea(null); + getApp().getMap().deselectAllCoalitionAreas(); + }} + > + <> + {activeCoalitionArea === null && !drawingPolygon && !drawingCircle && ( + <> +
+ The draw tool allows you to quickly draw areas on the map and use + these areas to spawn units and activate triggers. +
+
+
+ +
+
+
+ Use the polygon or circle tool to draw areas on the map. +
+
+ After drawing a shape, select it to see the options for + spawning units. Click on a shape to select it. +
+
+
+ + )} + + + <> + {activeCoalitionArea === null && drawingPolygon && ( +
+
+ +
+
+
+ Click on the map to add vertices to the polygon. +
+
+ When you are done, double click on the map to finalize the + polygon. Vertices can be dragged or added to adjust the shape. +
+
+
+ )} + + + <> + {activeCoalitionArea === null && drawingCircle && ( +
+
+ +
+
+
+ Click on the map to add a new circle. +
+
+ You can drag the circle to move it and you can use the handle to + set the radius. +
+
+
+ )} + + + <> + {activeCoalitionArea === null && ( +
+ { + if (drawingPolygon) + getApp().getMap().setState(COALITIONAREA_EDIT); + else getApp().getMap().setState(COALITIONAREA_DRAW_POLYGON); + setDrawingPolygon(!drawingPolygon); + }} + > +
Add polygon
+
+ { + if (drawingCircle) + getApp().getMap().setState(COALITIONAREA_EDIT); + else getApp().getMap().setState(COALITIONAREA_DRAW_CIRCLE); + setDrawingCircle(!drawingCircle); + }} + > +
Add circle
+
+
+ )} + +
+ {activeCoalitionArea !== null && ( +
+
+
+ Area label +
{ + getApp().getMap().deleteCoalitionArea(activeCoalitionArea); + setActiveCoalitionArea(null); + }}> + +
+
+ + activeCoalitionArea.setLabelText(ev.currentTarget.value) + } + > +
+
+
Coalition:
+ { + let newCoalition = ""; + if (areaCoalition === "blue") newCoalition = "neutral"; + else if (areaCoalition === "neutral") newCoalition = "red"; + else if (areaCoalition === "red") newCoalition = "blue"; + setAreaCoalition(newCoalition as Coalition); + activeCoalitionArea.setCoalition(newCoalition as Coalition); + }} + > +
+
+
+ Automatic IADS generation +
+ + {getApp() + .getGroundUnitDatabase() + .getTypes() + .map((type) => { + if (!(type in typesSelection)) { + typesSelection[type] = true; + setTypesSelection( + JSON.parse(JSON.stringify(typesSelection)) + ); + } + + return ( + + { + typesSelection[type] = ev.currentTarget.checked; + setTypesSelection( + JSON.parse(JSON.stringify(typesSelection)) + ); + }} + /> + {type} + + ); + })} + + + {getApp() + .getGroundUnitDatabase() + .getEras() + .map((era) => { + if (!(era in erasSelection)) { + erasSelection[era] = true; + setErasSelection( + JSON.parse(JSON.stringify(erasSelection)) + ); + } + + return ( + + { + erasSelection[era] = ev.currentTarget.checked; + setErasSelection( + JSON.parse(JSON.stringify(erasSelection)) + ); + }} + /> + {era} + + ); + })} + + + {["Short range", "Medium range", "Long range"].map((range) => { + if (!(range in rangesSelection)) { + rangesSelection[range] = true; + setRangesSelection( + JSON.parse(JSON.stringify(rangesSelection)) + ); + } + + return ( + + { + rangesSelection[range] = ev.currentTarget.checked; + setErasSelection( + JSON.parse(JSON.stringify(rangesSelection)) + ); + }} + /> + {range} + + ); + })} + +
+
+
IADS Density
+
+ {IADSDensity}% +
+
+ { + setIADSDensity(Number(ev.currentTarget.value)); + }} + > +
+
+
+
IADS Distribution
+
+ {IADSDistribution}% +
+
+ { + setIADSDistribution(Number(ev.target.value)); + }} + > +
+
+ { + setForceCoalitionApproriateUnits( + !forceCoalitionAppropriateUnits + ); + }} + /> + Force coalition appropriate units +
+ +
+
+ )} +
+
+ ); +} diff --git a/frontend/react/src/ui/panels/header.tsx b/frontend/react/src/ui/panels/header.tsx index 1a039026..0ffc0902 100644 --- a/frontend/react/src/ui/panels/header.tsx +++ b/frontend/react/src/ui/panels/header.tsx @@ -1,4 +1,4 @@ -import React, { useState } from "react"; +import React, { useEffect, useRef, useState } from "react"; import { OlRoundStateButton, OlStateButton, @@ -35,10 +35,18 @@ export function Header() { const [scrolledLeft, setScrolledLeft] = useState(true); const [scrolledRight, setScrolledRight] = useState(false); - function onScroll(ev) { - const sl = ev.target.scrollLeft; + /* Initialize the "scroll" position of the element */ + var scrollRef = useRef(null); + useEffect(() => { + if (scrollRef.current) { + onScroll(scrollRef.current); + } + }); + + function onScroll(el) { + const sl = el.scrollLeft; const sr = - ev.target.scrollWidth - ev.target.scrollLeft - ev.target.clientWidth; + el.scrollWidth - el.scrollLeft - el.clientWidth; sl < 1 && !scrolledLeft && setScrolledLeft(true); sl > 1 && scrolledLeft && setScrolledLeft(false); @@ -60,7 +68,7 @@ export function Header() { `} > {!scrolledLeft && ( @@ -77,7 +85,8 @@ export function Header() { my-2 flex w-full items-center gap-3 overflow-x-scroll no-scrollbar `} - onScroll={(ev) => onScroll(ev)} + onScroll={(ev) => onScroll(ev.target)} + ref={scrollRef} >
{ + if (!props.open) { + if (getApp()?.getMap()?.getState() === SPAWN_UNIT) + getApp().getMap().setState(IDLE); + if (blueprint !== null) setBlueprint(null); + } + }); return ( setFilterString(ev.target.value)} /> -
+
{Object.keys(filteredAircraft).map((key) => { const blueprint = getApp().getAircraftDatabase().blueprints[key]; @@ -116,9 +119,11 @@ export function SpawnMenu(props: {
-
+
{Object.keys(filteredHelicopters).map((key) => { const blueprint = getApp().getHelicopterDatabase().blueprints[key]; @@ -134,9 +139,11 @@ export function SpawnMenu(props: {
-
+
{Object.keys(filteredAirDefense).map((key) => { const blueprint = getApp().getGroundUnitDatabase().blueprints[key]; @@ -152,9 +159,11 @@ export function SpawnMenu(props: {
-
+
{Object.keys(filteredGroundUnits).map((key) => { const blueprint = getApp().getGroundUnitDatabase().blueprints[key]; @@ -170,9 +179,11 @@ export function SpawnMenu(props: {
-
+
{Object.keys(filteredNavyUnits).map((key) => { const blueprint = getApp().getNavyUnitDatabase().blueprints[key]; diff --git a/frontend/react/src/ui/panels/unitcontrolmenu.tsx b/frontend/react/src/ui/panels/unitcontrolmenu.tsx index 7e17a8a7..2594ed24 100644 --- a/frontend/react/src/ui/panels/unitcontrolmenu.tsx +++ b/frontend/react/src/ui/panels/unitcontrolmenu.tsx @@ -35,10 +35,7 @@ import { import { Coalition } from "../../types/types"; import { ftToM, knotsToMs, mToFt, msToKnots } from "../../other/utils"; -export function UnitControlMenu(props: { - open: boolean; - onClose: () => void; -}) { +export function UnitControlMenu(props: { open: boolean; onClose: () => void }) { var [selectedUnits, setSelectedUnits] = useState([] as Unit[]); var [selectedUnitsData, setSelectedUnitsData] = useState({ @@ -185,7 +182,12 @@ export function UnitControlMenu(props: { getApp()?.getUnitsManager()?.getSelectedUnitsCategories() ?? []; return ( - + {/* Units list */}
{ + if (scrollRef.current) { + onScroll(scrollRef.current); + } + }); + /* When a unit is selected, open the menu */ document.addEventListener("unitsSelection", (ev: CustomEventInit) => { setOpen(true); @@ -61,10 +69,10 @@ export function UnitMouseControlBar(props: {}) { setActiveContextAction(null); } - function onScroll(ev) { - const sl = ev.target.scrollLeft; + function onScroll(el) { + const sl = el.scrollLeft; const sr = - ev.target.scrollWidth - ev.target.scrollLeft - ev.target.clientWidth; + el.scrollWidth - el.scrollLeft - el.clientWidth; sl < 1 && !scrolledLeft && setScrolledLeft(true); sl > 1 && scrolledLeft && setScrolledLeft(false); @@ -96,7 +104,8 @@ export function UnitMouseControlBar(props: {}) { )}
onScroll(ev)} + onScroll={(ev) => onScroll(ev.target)} + ref={scrollRef} > {Object.values(contextActionsSet.getContextActions()).map( (contextAction) => { diff --git a/frontend/react/src/ui/ui.tsx b/frontend/react/src/ui/ui.tsx index b9193e92..c1a24e96 100644 --- a/frontend/react/src/ui/ui.tsx +++ b/frontend/react/src/ui/ui.tsx @@ -24,6 +24,8 @@ import { LoginModal } from "./modals/login"; import { sha256 } from "js-sha256"; import { MiniMapPanel } from "./panels/minimappanel"; import { UnitMouseControlBar } from "./panels/unitmousecontrolbar"; +import { DrawingMenu } from "./panels/drawingmenu"; +import { ControlsPanel } from "./panels/controls"; export type OlympusState = { mainMenuVisible: boolean; @@ -234,10 +236,15 @@ export function UI() { options={mapOptions} /> + setUnitControlMenuVisible(false)} /> + setDrawingMenuVisible(false)} + />
diff --git a/frontend/react/src/unit/databases/unitdatabase.ts b/frontend/react/src/unit/databases/unitdatabase.ts index 46ad2bd2..d8a49d9e 100644 --- a/frontend/react/src/unit/databases/unitdatabase.ts +++ b/frontend/react/src/unit/databases/unitdatabase.ts @@ -118,7 +118,7 @@ export abstract class UnitDatabase { return types; } - /* Returns a list of all possible periods in a database */ + /* Returns a list of all possible eras in a database */ getEras() { var filteredBlueprints = this.getBlueprints(); var eras: string[] = []; diff --git a/frontend/react/src/unit/unit.ts b/frontend/react/src/unit/unit.ts index 61b217e6..1b7bf65e 100644 --- a/frontend/react/src/unit/unit.ts +++ b/frontend/react/src/unit/unit.ts @@ -102,8 +102,8 @@ import { import { FaXmarksLines } from "react-icons/fa6"; var pathIcon = new Icon({ - iconUrl: "/images/markers/marker-icon.png", - shadowUrl: "/images/markers/marker-shadow.png", + iconUrl: "/vite/images/markers/marker-icon.png", + shadowUrl: "/vite/images/markers/marker-shadow.png", iconAnchor: [13, 41], }); @@ -892,7 +892,7 @@ export abstract class Unit extends CustomMarker { contextActionSet.addContextAction( this, "move", - "Move", + "Set destination", "Click on the map to move the units there", faLocationDot, (units: Unit[], _, targetPosition) => { @@ -905,7 +905,7 @@ export abstract class Unit extends CustomMarker { contextActionSet.addContextAction( this, "path", - "Path", + "Append destination", "Click on the map to add a destination to the path", faRoute, (units: Unit[], _, targetPosition) => { @@ -991,7 +991,7 @@ export abstract class Unit extends CustomMarker { ) marker = this.getDatabaseEntry()?.markerFile ?? this.getDefaultMarker(); else marker = "aircraft"; - img.src = `/images/units/${marker}.svg`; + img.src = `/vite/images/units/${marker}.svg`; img.onload = () => SVGInjector(img); unitIcon.appendChild(img); @@ -1486,9 +1486,6 @@ export abstract class Unit extends CustomMarker { faExclamation, () => this.applyFollowOptions("custom", units) ); - - //getApp().getMap().getUnitContextMenu().setContextActions(contextActionSet); - getApp().getMap().showUnitContextMenu(); } applyFollowOptions(formation: string, units: Unit[]) { @@ -2193,7 +2190,7 @@ export abstract class AirUnit extends Unit { contextActionSet.addContextAction( this, "refuel", - "Refuel", + "Refuel at tanker", "Refuel units at the nearest AAR Tanker. If no tanker is available the unit will RTB", olStatesRefuel, (units: Unit[]) => { @@ -2223,7 +2220,7 @@ export abstract class AirUnit extends Unit { ( units: Unit[], targetUnit: Unit | null, - targetPosition: LatLng | null + _ ) => { if (targetUnit) getApp().getUnitsManager().attackUnit(targetUnit.ID, units); @@ -2238,7 +2235,7 @@ export abstract class AirUnit extends Unit { ( units: Unit[], targetUnit: Unit | null, - targetPosition: LatLng | null + _ ) => { if (targetUnit) targetUnit.showFollowOptions(units); } @@ -2248,12 +2245,12 @@ export abstract class AirUnit extends Unit { contextActionSet.addContextAction( this, "bomb", - "Precision bombing", + "Precision bomb location", "Click on a point to execute a precision bombing attack", faLocationCrosshairs, ( units: Unit[], - targetUnit: Unit | null, + _, targetPosition: LatLng | null ) => { if (targetPosition) @@ -2263,12 +2260,12 @@ export abstract class AirUnit extends Unit { contextActionSet.addContextAction( this, "carpet-bomb", - "Carpet bombing", + "Carpet bomb location", "Click on a point to execute a carpet bombing attack", faXmarksLines, ( units: Unit[], - targetUnit: Unit | null, + _, targetPosition: LatLng | null ) => { if (targetPosition) @@ -2314,12 +2311,12 @@ export class Helicopter extends AirUnit { contextActionSet.addContextAction( this, "land-at-point", - "Land here", + "Land at location", "Click on a point to land there", olIconsLandAtPoint, ( units: Unit[], - targetUnit: Unit | null, + _, targetPosition: LatLng | null ) => { if (targetPosition) @@ -2375,8 +2372,8 @@ export class GroundUnit extends Unit { faPeopleGroup, ( units: Unit[], - targetUnit: Unit | null, - targetPosition: LatLng | null + _1, + _2 ) => { getApp().getUnitsManager().createGroup(units); }, @@ -2429,7 +2426,7 @@ export class GroundUnit extends Unit { ( units: Unit[], targetUnit: Unit | null, - targetPosition: LatLng | null + _ ) => { if (targetUnit) getApp().getUnitsManager().attackUnit(targetUnit.ID, units); @@ -2446,7 +2443,7 @@ export class GroundUnit extends Unit { faLocationCrosshairs, ( units: Unit[], - targetUnit: Unit | null, + _, targetPosition: LatLng | null ) => { if (targetPosition) @@ -2461,7 +2458,7 @@ export class GroundUnit extends Unit { olButtonsContextSimulateFireFight, ( units: Unit[], - targetUnit: Unit | null, + _, targetPosition: LatLng | null ) => { if (targetPosition) @@ -2580,8 +2577,8 @@ export class NavyUnit extends Unit { faQuestionCircle, ( units: Unit[], - targetUnit: Unit | null, - targetPosition: LatLng | null + _1, + _2 ) => { getApp().getUnitsManager().createGroup(units); }, @@ -2609,7 +2606,7 @@ export class NavyUnit extends Unit { ( units: Unit[], targetUnit: Unit | null, - targetPosition: LatLng | null + _ ) => { if (targetUnit) getApp().getUnitsManager().attackUnit(targetUnit.ID, units); @@ -2625,7 +2622,7 @@ export class NavyUnit extends Unit { faQuestionCircle, ( units: Unit[], - targetUnit: Unit | null, + _, targetPosition: LatLng | null ) => { if (targetPosition) diff --git a/frontend/react/src/unit/unitsmanager.ts b/frontend/react/src/unit/unitsmanager.ts index 729b2642..33ac3d71 100644 --- a/frontend/react/src/unit/unitsmanager.ts +++ b/frontend/react/src/unit/unitsmanager.ts @@ -2,6 +2,7 @@ import { LatLng, LatLngBounds } from "leaflet"; import { getApp } from "../olympusapp"; import { Unit } from "./unit"; import { + areaContains, bearingAndDistanceToLatLng, deg2rad, getGroundElevation, @@ -16,15 +17,16 @@ import { randomPointInPoly, randomUnitBlueprint, } from "../other/utils"; -import { CoalitionArea } from "../map/coalitionarea/coalitionarea"; +import { CoalitionPolygon } from "../map/coalitionarea/coalitionpolygon"; import { groundUnitDatabase } from "./databases/groundunitdatabase"; import { + CONTEXT_ACTION, DELETE_CYCLE_TIME, DELETE_SLOW_THRESHOLD, DataIndexes, GAME_MASTER, IADSDensities, - IDLE + IDLE, } from "../constants/constants"; import { DataExtractor } from "../server/dataextractor"; import { citiesDatabase } from "./databases/citiesdatabase"; @@ -44,6 +46,7 @@ import { import { Group } from "./group"; import { UnitDataFileExport } from "./importexport/unitdatafileexport"; import { UnitDataFileImport } from "./importexport/unitdatafileimport"; +import { CoalitionCircle } from "../map/coalitionarea/coalitioncircle"; /** The UnitsManager handles the creation, update, and control of units. Data is strictly updated by the server ONLY. This means that any interaction from the user will always and only * result in a command to the server, executed by means of a REST PUT request. Any subsequent change in data will be reflected only when the new data is sent back by the server. This strategy allows @@ -1642,7 +1645,7 @@ export class UnitsManager { * @param distribution Value between 0 and 100, controls how "scattered" the units will be */ createIADS( - coalitionArea: CoalitionArea, + coalitionArea: CoalitionPolygon | CoalitionCircle, types: { [key: string]: boolean }, eras: { [key: string]: boolean }, ranges: { [key: string]: boolean }, @@ -1665,7 +1668,7 @@ export class UnitsManager { var airbase = airbases[airbaseName]; /* Check if the city is inside the coalition area */ if ( - polyContains( + areaContains( new LatLng(airbase.getLatLng().lat, airbase.getLatLng().lng), coalitionArea ) @@ -1684,7 +1687,7 @@ export class UnitsManager { ); /* Make sure the unit is still inside the coalition area */ - if (polyContains(latlng, coalitionArea)) { + if (areaContains(latlng, coalitionArea)) { const type = activeTypes[Math.floor(Math.random() * activeTypes.length)]; if (Math.random() < IADSDensities[type]) { @@ -1729,7 +1732,7 @@ export class UnitsManager { citiesDatabase.forEach( (city: { lat: number; lng: number; pop: number }) => { /* Check if the city is inside the coalition area */ - if (polyContains(new LatLng(city.lat, city.lng), coalitionArea)) { + if (areaContains(new LatLng(city.lat, city.lng), coalitionArea)) { /* Arbitrary formula to obtain a number of units depending on the city population */ var pointsNumber = 2 + (Math.pow(city.pop, 0.15) * density) / 100; for (let i = 0; i < pointsNumber; i++) { @@ -1744,7 +1747,7 @@ export class UnitsManager { ); /* Make sure the unit is still inside the coalition area */ - if (polyContains(latlng, coalitionArea)) { + if (areaContains(latlng, coalitionArea)) { const type = activeTypes[Math.floor(Math.random() * activeTypes.length)]; if (Math.random() < IADSDensities[type]) { @@ -1951,6 +1954,7 @@ export class UnitsManager { #onUnitSelection(unit: Unit) { if (this.getSelectedUnits().length > 0) { + getApp().getMap().setState(CONTEXT_ACTION); /* Disable the firing of the selection event for a certain amount of time. This avoids firing many events if many units are selected */ if (!this.#selectionEventDisabled) { window.setTimeout(() => { diff --git a/frontend/react/src/weapon/weapon.ts b/frontend/react/src/weapon/weapon.ts index f059c204..4442502d 100644 --- a/frontend/react/src/weapon/weapon.ts +++ b/frontend/react/src/weapon/weapon.ts @@ -194,7 +194,7 @@ export class Weapon extends CustomMarker { var unitIcon = document.createElement("div"); unitIcon.classList.add("unit-icon"); var img = document.createElement("img"); - img.src = `/images/units/${this.getMarkerCategory()}.svg`; + img.src = `/vite/images/units/${this.getMarkerCategory()}.svg`; img.onload = () => SVGInjector(img); unitIcon.appendChild(img); unitIcon.toggleAttribute( diff --git a/frontend/server/public/images/buttons/camera/linked.svg b/frontend/server/public/images/buttons/camera/linked.svg deleted file mode 100644 index bc567896..00000000 --- a/frontend/server/public/images/buttons/camera/linked.svg +++ /dev/null @@ -1,38 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/context/miss-on-purpose.svg b/frontend/server/public/images/buttons/context/miss-on-purpose.svg deleted file mode 100644 index d3efde8c..00000000 --- a/frontend/server/public/images/buttons/context/miss-on-purpose.svg +++ /dev/null @@ -1,41 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/context/scenic-aaa.svg b/frontend/server/public/images/buttons/context/scenic-aaa.svg deleted file mode 100644 index 05d6337e..00000000 --- a/frontend/server/public/images/buttons/context/scenic-aaa.svg +++ /dev/null @@ -1,50 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/context/simulate-fire-fight.svg b/frontend/server/public/images/buttons/context/simulate-fire-fight.svg deleted file mode 100644 index 4799e4f5..00000000 --- a/frontend/server/public/images/buttons/context/simulate-fire-fight.svg +++ /dev/null @@ -1,42 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/emissions/attack.svg b/frontend/server/public/images/buttons/emissions/attack.svg deleted file mode 100644 index 563f0848..00000000 --- a/frontend/server/public/images/buttons/emissions/attack.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/emissions/defend.svg b/frontend/server/public/images/buttons/emissions/defend.svg deleted file mode 100644 index 545e2ee0..00000000 --- a/frontend/server/public/images/buttons/emissions/defend.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/emissions/free.svg b/frontend/server/public/images/buttons/emissions/free.svg deleted file mode 100644 index 91bd13bd..00000000 --- a/frontend/server/public/images/buttons/emissions/free.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/emissions/silent.svg b/frontend/server/public/images/buttons/emissions/silent.svg deleted file mode 100644 index 9630d390..00000000 --- a/frontend/server/public/images/buttons/emissions/silent.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/intensity/1.svg b/frontend/server/public/images/buttons/intensity/1.svg deleted file mode 100644 index 121ab252..00000000 --- a/frontend/server/public/images/buttons/intensity/1.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/intensity/2.svg b/frontend/server/public/images/buttons/intensity/2.svg deleted file mode 100644 index edfc90ef..00000000 --- a/frontend/server/public/images/buttons/intensity/2.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/intensity/3.svg b/frontend/server/public/images/buttons/intensity/3.svg deleted file mode 100644 index 3a45140e..00000000 --- a/frontend/server/public/images/buttons/intensity/3.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/other/arrow-down-solid.svg b/frontend/server/public/images/buttons/other/arrow-down-solid.svg deleted file mode 100644 index b4a6b513..00000000 --- a/frontend/server/public/images/buttons/other/arrow-down-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/other/back.svg b/frontend/server/public/images/buttons/other/back.svg deleted file mode 100644 index 1e89bfa1..00000000 --- a/frontend/server/public/images/buttons/other/back.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/other/clock-rotate-left-solid.svg b/frontend/server/public/images/buttons/other/clock-rotate-left-solid.svg deleted file mode 100644 index bc8877d9..00000000 --- a/frontend/server/public/images/buttons/other/clock-rotate-left-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/other/delete.svg b/frontend/server/public/images/buttons/other/delete.svg deleted file mode 100644 index 68f9ace4..00000000 --- a/frontend/server/public/images/buttons/other/delete.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/other/edit.svg b/frontend/server/public/images/buttons/other/edit.svg deleted file mode 100644 index d99fefbf..00000000 --- a/frontend/server/public/images/buttons/other/edit.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/other/lock-open-solid.svg b/frontend/server/public/images/buttons/other/lock-open-solid.svg deleted file mode 100644 index fbc2ec57..00000000 --- a/frontend/server/public/images/buttons/other/lock-open-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/other/lock-solid.svg b/frontend/server/public/images/buttons/other/lock-solid.svg deleted file mode 100644 index fb7d1af5..00000000 --- a/frontend/server/public/images/buttons/other/lock-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/roe/designated.svg b/frontend/server/public/images/buttons/roe/designated.svg deleted file mode 100644 index fd937ce7..00000000 --- a/frontend/server/public/images/buttons/roe/designated.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/roe/free.svg b/frontend/server/public/images/buttons/roe/free.svg deleted file mode 100644 index 91bd13bd..00000000 --- a/frontend/server/public/images/buttons/roe/free.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/roe/hold.svg b/frontend/server/public/images/buttons/roe/hold.svg deleted file mode 100644 index 9630d390..00000000 --- a/frontend/server/public/images/buttons/roe/hold.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/roe/return.svg b/frontend/server/public/images/buttons/roe/return.svg deleted file mode 100644 index 545e2ee0..00000000 --- a/frontend/server/public/images/buttons/roe/return.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/scatter/1.svg b/frontend/server/public/images/buttons/scatter/1.svg deleted file mode 100644 index 5b991069..00000000 --- a/frontend/server/public/images/buttons/scatter/1.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/scatter/2.svg b/frontend/server/public/images/buttons/scatter/2.svg deleted file mode 100644 index fd9dcb4e..00000000 --- a/frontend/server/public/images/buttons/scatter/2.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/scatter/3.svg b/frontend/server/public/images/buttons/scatter/3.svg deleted file mode 100644 index 72cc5c38..00000000 --- a/frontend/server/public/images/buttons/scatter/3.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/spawn/aircraft.svg b/frontend/server/public/images/buttons/spawn/aircraft.svg deleted file mode 100644 index fa679480..00000000 --- a/frontend/server/public/images/buttons/spawn/aircraft.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/spawn/explosion.svg b/frontend/server/public/images/buttons/spawn/explosion.svg deleted file mode 100644 index 4aa5003c..00000000 --- a/frontend/server/public/images/buttons/spawn/explosion.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/spawn/groundunit.svg b/frontend/server/public/images/buttons/spawn/groundunit.svg deleted file mode 100644 index 99c5a8a2..00000000 --- a/frontend/server/public/images/buttons/spawn/groundunit.svg +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/spawn/helicopter.svg b/frontend/server/public/images/buttons/spawn/helicopter.svg deleted file mode 100644 index 051fdd91..00000000 --- a/frontend/server/public/images/buttons/spawn/helicopter.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/spawn/more.svg b/frontend/server/public/images/buttons/spawn/more.svg deleted file mode 100644 index 813ddc68..00000000 --- a/frontend/server/public/images/buttons/spawn/more.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/spawn/navyunit.svg b/frontend/server/public/images/buttons/spawn/navyunit.svg deleted file mode 100644 index 7d42bb28..00000000 --- a/frontend/server/public/images/buttons/spawn/navyunit.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/spawn/sam.svg b/frontend/server/public/images/buttons/spawn/sam.svg deleted file mode 100644 index 34d64b48..00000000 --- a/frontend/server/public/images/buttons/spawn/sam.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/spawn/smoke.svg b/frontend/server/public/images/buttons/spawn/smoke.svg deleted file mode 100644 index 4e0c3034..00000000 --- a/frontend/server/public/images/buttons/spawn/smoke.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/threat/evade.svg b/frontend/server/public/images/buttons/threat/evade.svg deleted file mode 100644 index e617ef46..00000000 --- a/frontend/server/public/images/buttons/threat/evade.svg +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/threat/manoeuvre.svg b/frontend/server/public/images/buttons/threat/manoeuvre.svg deleted file mode 100644 index ae1ca646..00000000 --- a/frontend/server/public/images/buttons/threat/manoeuvre.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/threat/none.svg b/frontend/server/public/images/buttons/threat/none.svg deleted file mode 100644 index a8ac63d3..00000000 --- a/frontend/server/public/images/buttons/threat/none.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/threat/passive.svg b/frontend/server/public/images/buttons/threat/passive.svg deleted file mode 100644 index 5d64ab64..00000000 --- a/frontend/server/public/images/buttons/threat/passive.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/tools/draw-polygon-solid.svg b/frontend/server/public/images/buttons/tools/draw-polygon-solid.svg deleted file mode 100644 index 3511f016..00000000 --- a/frontend/server/public/images/buttons/tools/draw-polygon-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/tools/ground.svg b/frontend/server/public/images/buttons/tools/ground.svg deleted file mode 100644 index a98bb431..00000000 --- a/frontend/server/public/images/buttons/tools/ground.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/tools/pen-solid.svg b/frontend/server/public/images/buttons/tools/pen-solid.svg deleted file mode 100644 index d99fefbf..00000000 --- a/frontend/server/public/images/buttons/tools/pen-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/tools/tower.svg b/frontend/server/public/images/buttons/tools/tower.svg deleted file mode 100644 index c1daee36..00000000 --- a/frontend/server/public/images/buttons/tools/tower.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/airbase.svg b/frontend/server/public/images/buttons/visibility/airbase.svg deleted file mode 100644 index 831cbde0..00000000 --- a/frontend/server/public/images/buttons/visibility/airbase.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/aircraft.svg b/frontend/server/public/images/buttons/visibility/aircraft.svg deleted file mode 100644 index bf319bbd..00000000 --- a/frontend/server/public/images/buttons/visibility/aircraft.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/circle-dot.svg b/frontend/server/public/images/buttons/visibility/circle-dot.svg deleted file mode 100644 index 61fc3b00..00000000 --- a/frontend/server/public/images/buttons/visibility/circle-dot.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/dcs.svg b/frontend/server/public/images/buttons/visibility/dcs.svg deleted file mode 100644 index 223ae38f..00000000 --- a/frontend/server/public/images/buttons/visibility/dcs.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - image/svg+xml - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/flag.svg b/frontend/server/public/images/buttons/visibility/flag.svg deleted file mode 100644 index ca5dc3a7..00000000 --- a/frontend/server/public/images/buttons/visibility/flag.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/groundunit-sam.svg b/frontend/server/public/images/buttons/visibility/groundunit-sam.svg deleted file mode 100644 index c90869fe..00000000 --- a/frontend/server/public/images/buttons/visibility/groundunit-sam.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/groundunit.svg b/frontend/server/public/images/buttons/visibility/groundunit.svg deleted file mode 100644 index efc87415..00000000 --- a/frontend/server/public/images/buttons/visibility/groundunit.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/helicopter.svg b/frontend/server/public/images/buttons/visibility/helicopter.svg deleted file mode 100644 index 68ee36e7..00000000 --- a/frontend/server/public/images/buttons/visibility/helicopter.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/human.svg b/frontend/server/public/images/buttons/visibility/human.svg deleted file mode 100644 index fbb611aa..00000000 --- a/frontend/server/public/images/buttons/visibility/human.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/navyunit.svg b/frontend/server/public/images/buttons/visibility/navyunit.svg deleted file mode 100644 index af0538e5..00000000 --- a/frontend/server/public/images/buttons/visibility/navyunit.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/olympus.svg b/frontend/server/public/images/buttons/visibility/olympus.svg deleted file mode 100644 index 34bccdbc..00000000 --- a/frontend/server/public/images/buttons/visibility/olympus.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/buttons/visibility/shield.svg b/frontend/server/public/images/buttons/visibility/shield.svg deleted file mode 100644 index 3702a745..00000000 --- a/frontend/server/public/images/buttons/visibility/shield.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/convertToFontAwesomIcons.py b/frontend/server/public/images/convertToFontAwesomIcons.py deleted file mode 100644 index 29b3bea5..00000000 --- a/frontend/server/public/images/convertToFontAwesomIcons.py +++ /dev/null @@ -1,36 +0,0 @@ -from svgpathtools import svg2paths2 -import os -from glob import glob -import svgelements - -result = [y for x in os.walk(".") for y in glob(os.path.join(x[0], '*.svg'))] - -with open(os.path.join( "..", "..", "..", "..", "src", "ui", "components", "olicons.tsx"), "w") as fp: - fp.write('import { IconDefinition, IconName, IconPrefix } from "@fortawesome/fontawesome-svg-core";\n') - for filename in result: - try: - iconName = filename.replace(".", "").replace("\\", "_").removesuffix("svg") - iconName = iconName.replace("-", "_") - temp = iconName.split('_') - iconName = temp[0] + ''.join(ele.capitalize() for ele in temp[1:]) - - svg = svgelements.SVG.parse(filename) - paths, attributes, svg_attributes = svg2paths2(filename) - - fp.write(f"export const ol{iconName}: IconDefinition = {{") - fp.write(" icon: [") - fp.write(f" {svg.implicit_width}, {svg.implicit_height}, [], \"\",") - fp.write("\"") - - for path in paths: - fp.write(path.d() + " ") - - fp.write("\"") - fp.write("]") - - name = temp[0] + ''.join(ele.lower() + '-' for ele in temp[1:]).removesuffix('-') - fp.write(f', iconName: "olympus-{name}" as IconName') - fp.write(f', prefix: "fas" as IconPrefix') - fp.write("}\n") - except Exception as e: - print(f"Failed to generate path for {iconName}: {e}") \ No newline at end of file diff --git a/frontend/server/public/images/countries/ac.svg b/frontend/server/public/images/countries/ac.svg deleted file mode 100644 index a567f201..00000000 --- a/frontend/server/public/images/countries/ac.svg +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ad.svg b/frontend/server/public/images/countries/ad.svg deleted file mode 100644 index 29ff8e1b..00000000 --- a/frontend/server/public/images/countries/ad.svg +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ae.svg b/frontend/server/public/images/countries/ae.svg deleted file mode 100644 index 233128bd..00000000 --- a/frontend/server/public/images/countries/ae.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/af.svg b/frontend/server/public/images/countries/af.svg deleted file mode 100644 index 3ab02321..00000000 --- a/frontend/server/public/images/countries/af.svg +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ag.svg b/frontend/server/public/images/countries/ag.svg deleted file mode 100644 index e682964d..00000000 --- a/frontend/server/public/images/countries/ag.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ai.svg b/frontend/server/public/images/countries/ai.svg deleted file mode 100644 index 9782e3f1..00000000 --- a/frontend/server/public/images/countries/ai.svg +++ /dev/null @@ -1,766 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/al.svg b/frontend/server/public/images/countries/al.svg deleted file mode 100644 index a3289181..00000000 --- a/frontend/server/public/images/countries/al.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/am.svg b/frontend/server/public/images/countries/am.svg deleted file mode 100644 index 617bde9e..00000000 --- a/frontend/server/public/images/countries/am.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ao.svg b/frontend/server/public/images/countries/ao.svg deleted file mode 100644 index c88be71b..00000000 --- a/frontend/server/public/images/countries/ao.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/aq.svg b/frontend/server/public/images/countries/aq.svg deleted file mode 100644 index ca909933..00000000 --- a/frontend/server/public/images/countries/aq.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ar.svg b/frontend/server/public/images/countries/ar.svg deleted file mode 100644 index b0cd2370..00000000 --- a/frontend/server/public/images/countries/ar.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/arab.svg b/frontend/server/public/images/countries/arab.svg deleted file mode 100644 index 5b726ebc..00000000 --- a/frontend/server/public/images/countries/arab.svg +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/as.svg b/frontend/server/public/images/countries/as.svg deleted file mode 100644 index 8a9e37c3..00000000 --- a/frontend/server/public/images/countries/as.svg +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/at.svg b/frontend/server/public/images/countries/at.svg deleted file mode 100644 index 282e73ce..00000000 --- a/frontend/server/public/images/countries/at.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/au.svg b/frontend/server/public/images/countries/au.svg deleted file mode 100644 index b207fce3..00000000 --- a/frontend/server/public/images/countries/au.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/aw.svg b/frontend/server/public/images/countries/aw.svg deleted file mode 100644 index a2a27e9d..00000000 --- a/frontend/server/public/images/countries/aw.svg +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ax.svg b/frontend/server/public/images/countries/ax.svg deleted file mode 100644 index c6e19c9a..00000000 --- a/frontend/server/public/images/countries/ax.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/az.svg b/frontend/server/public/images/countries/az.svg deleted file mode 100644 index d7792417..00000000 --- a/frontend/server/public/images/countries/az.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ba.svg b/frontend/server/public/images/countries/ba.svg deleted file mode 100644 index 00b5c039..00000000 --- a/frontend/server/public/images/countries/ba.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bb.svg b/frontend/server/public/images/countries/bb.svg deleted file mode 100644 index 47b4374b..00000000 --- a/frontend/server/public/images/countries/bb.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bd.svg b/frontend/server/public/images/countries/bd.svg deleted file mode 100644 index f0e04707..00000000 --- a/frontend/server/public/images/countries/bd.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/be.svg b/frontend/server/public/images/countries/be.svg deleted file mode 100644 index c27a363d..00000000 --- a/frontend/server/public/images/countries/be.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bf.svg b/frontend/server/public/images/countries/bf.svg deleted file mode 100644 index 1b77fd76..00000000 --- a/frontend/server/public/images/countries/bf.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bg.svg b/frontend/server/public/images/countries/bg.svg deleted file mode 100644 index 2a2d1743..00000000 --- a/frontend/server/public/images/countries/bg.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bh.svg b/frontend/server/public/images/countries/bh.svg deleted file mode 100644 index 0a8aa682..00000000 --- a/frontend/server/public/images/countries/bh.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bi.svg b/frontend/server/public/images/countries/bi.svg deleted file mode 100644 index 41acc0d3..00000000 --- a/frontend/server/public/images/countries/bi.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bj.svg b/frontend/server/public/images/countries/bj.svg deleted file mode 100644 index be81b66a..00000000 --- a/frontend/server/public/images/countries/bj.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bl.svg b/frontend/server/public/images/countries/bl.svg deleted file mode 100644 index 2fc04fe6..00000000 --- a/frontend/server/public/images/countries/bl.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/blue.svg b/frontend/server/public/images/countries/blue.svg deleted file mode 100644 index 6b5fec0e..00000000 --- a/frontend/server/public/images/countries/blue.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bm.svg b/frontend/server/public/images/countries/bm.svg deleted file mode 100644 index 6009c2cb..00000000 --- a/frontend/server/public/images/countries/bm.svg +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bn.svg b/frontend/server/public/images/countries/bn.svg deleted file mode 100644 index b5105d71..00000000 --- a/frontend/server/public/images/countries/bn.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bo.svg b/frontend/server/public/images/countries/bo.svg deleted file mode 100644 index 237d6c74..00000000 --- a/frontend/server/public/images/countries/bo.svg +++ /dev/null @@ -1,1149 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bq.svg b/frontend/server/public/images/countries/bq.svg deleted file mode 100644 index 7f602a14..00000000 --- a/frontend/server/public/images/countries/bq.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/br.svg b/frontend/server/public/images/countries/br.svg deleted file mode 100644 index 090e7631..00000000 --- a/frontend/server/public/images/countries/br.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bs.svg b/frontend/server/public/images/countries/bs.svg deleted file mode 100644 index 03f9b4bf..00000000 --- a/frontend/server/public/images/countries/bs.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bt.svg b/frontend/server/public/images/countries/bt.svg deleted file mode 100644 index 3fdf6a99..00000000 --- a/frontend/server/public/images/countries/bt.svg +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bv.svg b/frontend/server/public/images/countries/bv.svg deleted file mode 100644 index fd4a1541..00000000 --- a/frontend/server/public/images/countries/bv.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bw.svg b/frontend/server/public/images/countries/bw.svg deleted file mode 100644 index b30807cd..00000000 --- a/frontend/server/public/images/countries/bw.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/by.svg b/frontend/server/public/images/countries/by.svg deleted file mode 100644 index fec86eea..00000000 --- a/frontend/server/public/images/countries/by.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/bz.svg b/frontend/server/public/images/countries/bz.svg deleted file mode 100644 index 49b7fa1f..00000000 --- a/frontend/server/public/images/countries/bz.svg +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ca.svg b/frontend/server/public/images/countries/ca.svg deleted file mode 100644 index d08d00ab..00000000 --- a/frontend/server/public/images/countries/ca.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cc.svg b/frontend/server/public/images/countries/cc.svg deleted file mode 100644 index 0c18628e..00000000 --- a/frontend/server/public/images/countries/cc.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cd.svg b/frontend/server/public/images/countries/cd.svg deleted file mode 100644 index d908fc98..00000000 --- a/frontend/server/public/images/countries/cd.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cefta.svg b/frontend/server/public/images/countries/cefta.svg deleted file mode 100644 index 80ce913c..00000000 --- a/frontend/server/public/images/countries/cefta.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cf.svg b/frontend/server/public/images/countries/cf.svg deleted file mode 100644 index 6379d4fc..00000000 --- a/frontend/server/public/images/countries/cf.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cg.svg b/frontend/server/public/images/countries/cg.svg deleted file mode 100644 index 3013b8ea..00000000 --- a/frontend/server/public/images/countries/cg.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ch.svg b/frontend/server/public/images/countries/ch.svg deleted file mode 100644 index 1e986d88..00000000 --- a/frontend/server/public/images/countries/ch.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ci.svg b/frontend/server/public/images/countries/ci.svg deleted file mode 100644 index 069cc19d..00000000 --- a/frontend/server/public/images/countries/ci.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ck.svg b/frontend/server/public/images/countries/ck.svg deleted file mode 100644 index 5b266b55..00000000 --- a/frontend/server/public/images/countries/ck.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cl.svg b/frontend/server/public/images/countries/cl.svg deleted file mode 100644 index f8f49442..00000000 --- a/frontend/server/public/images/countries/cl.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cm.svg b/frontend/server/public/images/countries/cm.svg deleted file mode 100644 index d04b80a9..00000000 --- a/frontend/server/public/images/countries/cm.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cn.svg b/frontend/server/public/images/countries/cn.svg deleted file mode 100644 index bc36eb8a..00000000 --- a/frontend/server/public/images/countries/cn.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/co.svg b/frontend/server/public/images/countries/co.svg deleted file mode 100644 index 433b3706..00000000 --- a/frontend/server/public/images/countries/co.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/codes.json b/frontend/server/public/images/countries/codes.json deleted file mode 100644 index 250ad473..00000000 --- a/frontend/server/public/images/countries/codes.json +++ /dev/null @@ -1,378 +0,0 @@ -{ - "AGGRESSORS": { - "flagCode": "RED", - "liveryCodes": ["RSO"] - }, - "INSURGENTS": { - "flagCode": "UNK", - "liveryCodes": ["INS"] - }, - "ALGERIA": { - "flagCode": "DZ", - "liveryCodes": ["DZA"] - }, - "ARGENTINA": { - "flagCode": "AR", - "liveryCodes": ["ARG"] - }, - "AUSTRALIA": { - "flagCode": "AU", - "liveryCodes": ["AUS", "AUSAF"] - }, - "AUSTRIA": { - "flagCode": "AT", - "liveryCodes": ["AUT"] - }, - "BAHRAIN": { - "flagCode": "BH", - "liveryCodes": ["BHR"] - }, - "BELARUS": { - "flagCode": "BY", - "liveryCodes": ["BLR"] - }, - "BELGIUM": { - "flagCode": "BE", - "liveryCodes": ["BEL"] - }, - "BOLIVIA": { - "flagCode": "BO", - "liveryCodes": ["BOL"] - }, - "BRAZIL": { - "flagCode": "BR", - "liveryCodes": ["BRA"] - }, - "BULGARIA": { - "flagCode": "BG", - "liveryCodes": ["BGR"] - }, - "CANADA": { - "flagCode": "CA", - "liveryCodes": ["CAN"] - }, - "CHILE": { - "flagCode": "CL", - "liveryCodes": ["CHL"] - }, - "CHINA": { - "flagCode": "CN", - "liveryCodes": ["CHN"] - }, - "CROATIA": { - "flagCode": "HR", - "liveryCodes": ["HRV"] - }, - "CUBA": { - "flagCode": "CU", - "liveryCodes": ["CUB"] - }, - "CYPRUS": { - "flagCode": "CY", - "liveryCodes": ["CYP"] - }, - "CHEZH_REPUBLIC": { - "displayName": "Czech Republic", - "flagCode": "CZ", - "liveryCodes": ["CZE"] - }, - "DENMARK": { - "flagCode": "DK", - "liveryCodes": ["DEN"] - }, - "EGYPT": { - "flagCode": "EG", - "liveryCodes": ["EGY", "EGP"] - }, - "ETHIOPIA": { - "flagCode": "ET", - "liveryCodes": ["ETH"] - }, - "FINLAND": { - "flagCode": "FI", - "liveryCodes": ["FIN"] - }, - "FRANCE": { - "flagCode": "FR", - "liveryCodes": ["FRA"] - }, - "GEORGIA": { - "flagCode": "GE", - "liveryCodes": ["GRG"] - }, - "GERMANY": { - "flagCode": "DE", - "liveryCodes": ["GER"] - }, - "GHANA": { - "flagCode": "GH", - "liveryCodes": ["GHA"] - }, - "GREECE": { - "flagCode": "GR", - "liveryCodes": ["GRC"] - }, - "HONDURAS": { - "flagCode": "HN", - "liveryCodes": ["HND"] - }, - "HUNGARY": { - "flagCode": "HU", - "liveryCodes": ["HUN"] - }, - "INDIA": { - "flagCode": "IN", - "liveryCodes": ["IND"] - }, - "INDONESIA": { - "flagCode": "ID", - "liveryCodes": ["IDN"] - }, - "IRAN": { - "flagCode": "IR", - "liveryCodes": ["IRN"] - }, - "IRAQ": { - "flagCode": "IQ", - "liveryCodes": ["IRQ"] - }, - "ISRAEL": { - "flagCode": "IL", - "liveryCodes": ["ISR"] - }, - "ITALY": { - "flagCode": "IT", - "liveryCodes": ["ITA"] - }, - "JAPAN": { - "flagCode": "JP", - "liveryCodes": ["JPN"] - }, - "JORDAN": { - "flagCode": "JO", - "liveryCodes": ["JOR"] - }, - "KAZAKHSTAN": { - "flagCode": "KZ", - "liveryCodes": ["KAZ"] - }, - "SOUTH_KOREA": { - "displayName": "South Korea", - "flagCode": "KR", - "liveryCodes": ["KOR"] - }, - "KUWAIT": { - "flagCode": "KW", - "liveryCodes": ["KWT"] - }, - "LEBANON": { - "flagCode": "LB", - "liveryCodes": ["LBN"] - }, - "MALAYSIA": { - "flagCode": "MY", - "liveryCodes": ["MYS"] - }, - "MEXICO": { - "flagCode": "MX", - "liveryCodes": ["MEX"] - }, - "MOROCCO": { - "flagCode": "MA", - "liveryCodes": ["MAR"] - }, - "THE_NETHERLANDS": { - "displayName": "The Netherlands", - "flagCode": "NL", - "liveryCodes": ["NETH"] - }, - "NIGERIA": { - "flagCode": "NG", - "liveryCodes": ["NGA"] - }, - "NORWAY": { - "flagCode": "NO", - "liveryCodes": ["NOR"] - }, - "OMAN": { - "flagCode": "OM", - "liveryCodes": ["OMN"] - }, - "PAKISTAN": { - "flagCode": "PK", - "liveryCodes": ["PAK"] - }, - "PERU": { - "flagCode": "PE", - "liveryCodes": ["PER"] - }, - "PHILIPPINES": { - "flagCode": "PH", - "liveryCodes": ["PHL"] - }, - "POLAND": { - "flagCode": "PL", - "liveryCodes": ["POL"] - }, - "PORTUGAL": { - "flagCode": "PT", - "liveryCodes": ["PRT"] - }, - "QATAR": { - "flagCode": "QA", - "liveryCodes": ["QAT"] - }, - "ROMANIA": { - "flagCode": "RO", - "liveryCodes": ["ROU"] - }, - "RUSSIA": { - "flagCode": "RU", - "liveryCodes": ["RUS"] - }, - "SAUDI_ARABIA": { - "displayName": "Saudi Arabia", - "flagCode": "SA", - "liveryCodes": ["SAU"] - }, - "SERBIA": { - "flagCode": "RS", - "liveryCodes": ["SRB"] - }, - "SLOVAKIA": { - "flagCode": "SK", - "liveryCodes": ["SVK"] - }, - "SLOVENIA": { - "flagCode": "SI", - "liveryCodes": ["SVN"] - }, - "SOUTH_AFRICA": { - "displayName": "South Africa", - "flagCode": "ZA", - "liveryCodes": [] - }, - "SPAIN": { - "flagCode": "ES", - "liveryCodes": ["SPN", "SPA"] - }, - "SUDAN": { - "flagCode": "SD", - "liveryCodes": ["SDN", "SUN"] - }, - "SWEDEN": { - "flagCode": "SE", - "liveryCodes": ["SWE"] - }, - "SWITZERLAND": { - "flagCode": "CH", - "liveryCodes": ["SUI"] - }, - "SYRIA": { - "flagCode": "SY", - "liveryCodes": ["SYR"] - }, - "THAILAND": { - "flagCode": "TH", - "liveryCodes": ["THA"] - }, - "TUNISIA": { - "flagCode": "TN", - "liveryCodes": ["TUN"] - }, - "TURKEY": { - "flagCode": "TR", - "liveryCodes": ["TUR"] - }, - "UKRAINE": { - "flagCode": "UA", - "liveryCodes": ["UKR"] - }, - "UNITED_ARAB_EMIRATES": { - "displayName": "United Arab Emirates", - "flagCode": "AE", - "liveryCodes": ["ARE"] - }, - "UK": { - "displayName": "United Kingdom", - "flagCode": "GB", - "liveryCodes": ["UK"] - }, - "USA": { - "displayName": "United States of America", - "flagCode": "US", - "liveryCodes": ["USA", "USAF"] - }, - "VENEZUELA": { - "flagCode": "VE", - "liveryCodes": ["VEN"] - }, - "VIETNAM": { - "flagCode": "VN", - "liveryCodes": ["VNM"] - }, - "YEMEN": { - "flagCode": "YE", - "liveryCodes": ["YEM"] - }, - "CJTF_BLUE": { - "displayName": "Combined Joint Task Force Blue", - "flagCode": "BLUE", - "liveryCodes": ["BLUE"] - }, - "SOUTH_OSETIA": { - "displayName": "South Ossetia", - "flagCode": "UNK", - "liveryCodes": [] - }, - "NORTH_KOREA": { - "displayName": "Democratic People's Republic of Korea", - "flagCode": "KP", - "liveryCodes": ["PRK"] - }, - "CJTF_RED": { - "displayName": "Combined Joint Task Force Red", - "flagCode": "RED", - "liveryCodes": ["RED"] - }, - "ABKHAZIA": { - "flagCode": "UNK", - "liveryCodes": ["ABH"] - }, - "ITALIAN_SOCIAL_REPUBLIC": { - "displayName": "Italian Social Republic", - "flagCode": "SOCIAL", - "liveryCodes": ["RSI"] - }, - "USSR": { - "displayName": "USSR", - "flagCode": "USSR", - "liveryCodes": [] - }, - "ECUADOR": { - "flagCode": "EC", - "liveryCodes": ["ECU"] - }, - "LIBYA": { - "flagCode": "LY", - "liveryCodes": ["LBY", "LIB"] - }, - "UN_PEACEKEEPERS": { - "displayName": "United Nations", - "flagCode": "UNK", - "liveryCodes": ["UN"] - }, - "GDR": { - "flagCode": "UNK", - "liveryCodes": ["GDR"] - }, - "YUGOSLAVIA": { - "flagCode": "YUG", - "liveryCodes": ["YUG"] - }, - "THIRDREICH": { - "displayName": "Third Reich", - "flagCode": "THIRD", - "liveryCodes": [] - } -} diff --git a/frontend/server/public/images/countries/cp.svg b/frontend/server/public/images/countries/cp.svg deleted file mode 100644 index bb5411c6..00000000 --- a/frontend/server/public/images/countries/cp.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cr.svg b/frontend/server/public/images/countries/cr.svg deleted file mode 100644 index d201d1a6..00000000 --- a/frontend/server/public/images/countries/cr.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cu.svg b/frontend/server/public/images/countries/cu.svg deleted file mode 100644 index bf7ec060..00000000 --- a/frontend/server/public/images/countries/cu.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cv.svg b/frontend/server/public/images/countries/cv.svg deleted file mode 100644 index eb066c00..00000000 --- a/frontend/server/public/images/countries/cv.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cw.svg b/frontend/server/public/images/countries/cw.svg deleted file mode 100644 index 116f9b9c..00000000 --- a/frontend/server/public/images/countries/cw.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cx.svg b/frontend/server/public/images/countries/cx.svg deleted file mode 100644 index ef933a50..00000000 --- a/frontend/server/public/images/countries/cx.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cy.svg b/frontend/server/public/images/countries/cy.svg deleted file mode 100644 index f45acf07..00000000 --- a/frontend/server/public/images/countries/cy.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/cz.svg b/frontend/server/public/images/countries/cz.svg deleted file mode 100644 index e61450dc..00000000 --- a/frontend/server/public/images/countries/cz.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/de.svg b/frontend/server/public/images/countries/de.svg deleted file mode 100644 index baf32437..00000000 --- a/frontend/server/public/images/countries/de.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/dg.svg b/frontend/server/public/images/countries/dg.svg deleted file mode 100644 index bf4ab23b..00000000 --- a/frontend/server/public/images/countries/dg.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/dj.svg b/frontend/server/public/images/countries/dj.svg deleted file mode 100644 index 4a5ff3f2..00000000 --- a/frontend/server/public/images/countries/dj.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/dk.svg b/frontend/server/public/images/countries/dk.svg deleted file mode 100644 index 3d94f0e1..00000000 --- a/frontend/server/public/images/countries/dk.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/dm.svg b/frontend/server/public/images/countries/dm.svg deleted file mode 100644 index cf3d350d..00000000 --- a/frontend/server/public/images/countries/dm.svg +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/do.svg b/frontend/server/public/images/countries/do.svg deleted file mode 100644 index 9777f6cb..00000000 --- a/frontend/server/public/images/countries/do.svg +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/dz.svg b/frontend/server/public/images/countries/dz.svg deleted file mode 100644 index 59e7a7ec..00000000 --- a/frontend/server/public/images/countries/dz.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/eac.svg b/frontend/server/public/images/countries/eac.svg deleted file mode 100644 index fc6516fe..00000000 --- a/frontend/server/public/images/countries/eac.svg +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ec.svg b/frontend/server/public/images/countries/ec.svg deleted file mode 100644 index da38630c..00000000 --- a/frontend/server/public/images/countries/ec.svg +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ee.svg b/frontend/server/public/images/countries/ee.svg deleted file mode 100644 index a1c3dc4e..00000000 --- a/frontend/server/public/images/countries/ee.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/eg.svg b/frontend/server/public/images/countries/eg.svg deleted file mode 100644 index e860cebe..00000000 --- a/frontend/server/public/images/countries/eg.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/eh.svg b/frontend/server/public/images/countries/eh.svg deleted file mode 100644 index 0831fc1f..00000000 --- a/frontend/server/public/images/countries/eh.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/er.svg b/frontend/server/public/images/countries/er.svg deleted file mode 100644 index 61929685..00000000 --- a/frontend/server/public/images/countries/er.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/es-ct.svg b/frontend/server/public/images/countries/es-ct.svg deleted file mode 100644 index 94e41da9..00000000 --- a/frontend/server/public/images/countries/es-ct.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/es-ga.svg b/frontend/server/public/images/countries/es-ga.svg deleted file mode 100644 index 37c6259f..00000000 --- a/frontend/server/public/images/countries/es-ga.svg +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/es-pv.svg b/frontend/server/public/images/countries/es-pv.svg deleted file mode 100644 index c1eb25c7..00000000 --- a/frontend/server/public/images/countries/es-pv.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/es.svg b/frontend/server/public/images/countries/es.svg deleted file mode 100644 index eae95066..00000000 --- a/frontend/server/public/images/countries/es.svg +++ /dev/null @@ -1,879 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/et.svg b/frontend/server/public/images/countries/et.svg deleted file mode 100644 index bec1ed46..00000000 --- a/frontend/server/public/images/countries/et.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/eu.svg b/frontend/server/public/images/countries/eu.svg deleted file mode 100644 index 6753f886..00000000 --- a/frontend/server/public/images/countries/eu.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/fi.svg b/frontend/server/public/images/countries/fi.svg deleted file mode 100644 index e62c8353..00000000 --- a/frontend/server/public/images/countries/fi.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/fj.svg b/frontend/server/public/images/countries/fj.svg deleted file mode 100644 index 9ff51434..00000000 --- a/frontend/server/public/images/countries/fj.svg +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/fk.svg b/frontend/server/public/images/countries/fk.svg deleted file mode 100644 index cfa6b60f..00000000 --- a/frontend/server/public/images/countries/fk.svg +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/fm.svg b/frontend/server/public/images/countries/fm.svg deleted file mode 100644 index d521b68d..00000000 --- a/frontend/server/public/images/countries/fm.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/fo.svg b/frontend/server/public/images/countries/fo.svg deleted file mode 100644 index b64e89c0..00000000 --- a/frontend/server/public/images/countries/fo.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/fr.svg b/frontend/server/public/images/countries/fr.svg deleted file mode 100644 index 6042436e..00000000 --- a/frontend/server/public/images/countries/fr.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ga.svg b/frontend/server/public/images/countries/ga.svg deleted file mode 100644 index 35979cbf..00000000 --- a/frontend/server/public/images/countries/ga.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gb-eng.svg b/frontend/server/public/images/countries/gb-eng.svg deleted file mode 100644 index 8d57eadf..00000000 --- a/frontend/server/public/images/countries/gb-eng.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gb-nir.svg b/frontend/server/public/images/countries/gb-nir.svg deleted file mode 100644 index f74420ab..00000000 --- a/frontend/server/public/images/countries/gb-nir.svg +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gb-sct.svg b/frontend/server/public/images/countries/gb-sct.svg deleted file mode 100644 index 900318a7..00000000 --- a/frontend/server/public/images/countries/gb-sct.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gb-wls.svg b/frontend/server/public/images/countries/gb-wls.svg deleted file mode 100644 index b4769755..00000000 --- a/frontend/server/public/images/countries/gb-wls.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gb.svg b/frontend/server/public/images/countries/gb.svg deleted file mode 100644 index 47f344f4..00000000 --- a/frontend/server/public/images/countries/gb.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gd.svg b/frontend/server/public/images/countries/gd.svg deleted file mode 100644 index 33cb3b34..00000000 --- a/frontend/server/public/images/countries/gd.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ge.svg b/frontend/server/public/images/countries/ge.svg deleted file mode 100644 index a2984c10..00000000 --- a/frontend/server/public/images/countries/ge.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gf.svg b/frontend/server/public/images/countries/gf.svg deleted file mode 100644 index 01b9d896..00000000 --- a/frontend/server/public/images/countries/gf.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gg.svg b/frontend/server/public/images/countries/gg.svg deleted file mode 100644 index 6281b69b..00000000 --- a/frontend/server/public/images/countries/gg.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gh.svg b/frontend/server/public/images/countries/gh.svg deleted file mode 100644 index bf4b42a9..00000000 --- a/frontend/server/public/images/countries/gh.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gi.svg b/frontend/server/public/images/countries/gi.svg deleted file mode 100644 index 4bfe752b..00000000 --- a/frontend/server/public/images/countries/gi.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gl.svg b/frontend/server/public/images/countries/gl.svg deleted file mode 100644 index 59472d84..00000000 --- a/frontend/server/public/images/countries/gl.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gm.svg b/frontend/server/public/images/countries/gm.svg deleted file mode 100644 index 0456b8d8..00000000 --- a/frontend/server/public/images/countries/gm.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gn.svg b/frontend/server/public/images/countries/gn.svg deleted file mode 100644 index c44cf15d..00000000 --- a/frontend/server/public/images/countries/gn.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gp.svg b/frontend/server/public/images/countries/gp.svg deleted file mode 100644 index 32c1816b..00000000 --- a/frontend/server/public/images/countries/gp.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gq.svg b/frontend/server/public/images/countries/gq.svg deleted file mode 100644 index 5aa686a9..00000000 --- a/frontend/server/public/images/countries/gq.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gr.svg b/frontend/server/public/images/countries/gr.svg deleted file mode 100644 index 14ab0974..00000000 --- a/frontend/server/public/images/countries/gr.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gs.svg b/frontend/server/public/images/countries/gs.svg deleted file mode 100644 index 0d8aff80..00000000 --- a/frontend/server/public/images/countries/gs.svg +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gt.svg b/frontend/server/public/images/countries/gt.svg deleted file mode 100644 index fa102cb9..00000000 --- a/frontend/server/public/images/countries/gt.svg +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gu.svg b/frontend/server/public/images/countries/gu.svg deleted file mode 100644 index ed27aa6c..00000000 --- a/frontend/server/public/images/countries/gu.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - G - - - U - - - A - - - M - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gw.svg b/frontend/server/public/images/countries/gw.svg deleted file mode 100644 index bdc161a1..00000000 --- a/frontend/server/public/images/countries/gw.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/gy.svg b/frontend/server/public/images/countries/gy.svg deleted file mode 100644 index c4175df0..00000000 --- a/frontend/server/public/images/countries/gy.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/hk.svg b/frontend/server/public/images/countries/hk.svg deleted file mode 100644 index 25f1c846..00000000 --- a/frontend/server/public/images/countries/hk.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/hm.svg b/frontend/server/public/images/countries/hm.svg deleted file mode 100644 index 46b0c2d5..00000000 --- a/frontend/server/public/images/countries/hm.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/hn.svg b/frontend/server/public/images/countries/hn.svg deleted file mode 100644 index bb07bebe..00000000 --- a/frontend/server/public/images/countries/hn.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/hr.svg b/frontend/server/public/images/countries/hr.svg deleted file mode 100644 index c7fc580e..00000000 --- a/frontend/server/public/images/countries/hr.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ht.svg b/frontend/server/public/images/countries/ht.svg deleted file mode 100644 index c624afff..00000000 --- a/frontend/server/public/images/countries/ht.svg +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/hu.svg b/frontend/server/public/images/countries/hu.svg deleted file mode 100644 index 9e154667..00000000 --- a/frontend/server/public/images/countries/hu.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ic.svg b/frontend/server/public/images/countries/ic.svg deleted file mode 100644 index 85b65f88..00000000 --- a/frontend/server/public/images/countries/ic.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/id.svg b/frontend/server/public/images/countries/id.svg deleted file mode 100644 index 4f2bde2b..00000000 --- a/frontend/server/public/images/countries/id.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ie.svg b/frontend/server/public/images/countries/ie.svg deleted file mode 100644 index 89fa0b55..00000000 --- a/frontend/server/public/images/countries/ie.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/il.svg b/frontend/server/public/images/countries/il.svg deleted file mode 100644 index 96bf69e0..00000000 --- a/frontend/server/public/images/countries/il.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/im.svg b/frontend/server/public/images/countries/im.svg deleted file mode 100644 index 4a72da98..00000000 --- a/frontend/server/public/images/countries/im.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/in.svg b/frontend/server/public/images/countries/in.svg deleted file mode 100644 index 5ae3cae0..00000000 --- a/frontend/server/public/images/countries/in.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/io.svg b/frontend/server/public/images/countries/io.svg deleted file mode 100644 index 83d72303..00000000 --- a/frontend/server/public/images/countries/io.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/iq.svg b/frontend/server/public/images/countries/iq.svg deleted file mode 100644 index 350b1e4c..00000000 --- a/frontend/server/public/images/countries/iq.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ir.svg b/frontend/server/public/images/countries/ir.svg deleted file mode 100644 index c2d71c72..00000000 --- a/frontend/server/public/images/countries/ir.svg +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/is.svg b/frontend/server/public/images/countries/is.svg deleted file mode 100644 index 2dab697b..00000000 --- a/frontend/server/public/images/countries/is.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/it.svg b/frontend/server/public/images/countries/it.svg deleted file mode 100644 index 295787cb..00000000 --- a/frontend/server/public/images/countries/it.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/je.svg b/frontend/server/public/images/countries/je.svg deleted file mode 100644 index 9d1206c7..00000000 --- a/frontend/server/public/images/countries/je.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/jm.svg b/frontend/server/public/images/countries/jm.svg deleted file mode 100644 index 6d8dc00c..00000000 --- a/frontend/server/public/images/countries/jm.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/jo.svg b/frontend/server/public/images/countries/jo.svg deleted file mode 100644 index 38d52dde..00000000 --- a/frontend/server/public/images/countries/jo.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/jp.svg b/frontend/server/public/images/countries/jp.svg deleted file mode 100644 index ab04bb52..00000000 --- a/frontend/server/public/images/countries/jp.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ke.svg b/frontend/server/public/images/countries/ke.svg deleted file mode 100644 index dae1fc36..00000000 --- a/frontend/server/public/images/countries/ke.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/kg.svg b/frontend/server/public/images/countries/kg.svg deleted file mode 100644 index f57b3922..00000000 --- a/frontend/server/public/images/countries/kg.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/kh.svg b/frontend/server/public/images/countries/kh.svg deleted file mode 100644 index e029e624..00000000 --- a/frontend/server/public/images/countries/kh.svg +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ki.svg b/frontend/server/public/images/countries/ki.svg deleted file mode 100644 index 96967d80..00000000 --- a/frontend/server/public/images/countries/ki.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/km.svg b/frontend/server/public/images/countries/km.svg deleted file mode 100644 index 1a56913b..00000000 --- a/frontend/server/public/images/countries/km.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/kn.svg b/frontend/server/public/images/countries/kn.svg deleted file mode 100644 index 273c26a8..00000000 --- a/frontend/server/public/images/countries/kn.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/kp.svg b/frontend/server/public/images/countries/kp.svg deleted file mode 100644 index 3ad70d3d..00000000 --- a/frontend/server/public/images/countries/kp.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/kr.svg b/frontend/server/public/images/countries/kr.svg deleted file mode 100644 index ec6fa468..00000000 --- a/frontend/server/public/images/countries/kr.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/kw.svg b/frontend/server/public/images/countries/kw.svg deleted file mode 100644 index 5852d36a..00000000 --- a/frontend/server/public/images/countries/kw.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ky.svg b/frontend/server/public/images/countries/ky.svg deleted file mode 100644 index bf5665e6..00000000 --- a/frontend/server/public/images/countries/ky.svg +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/kz.svg b/frontend/server/public/images/countries/kz.svg deleted file mode 100644 index e6b5c2b8..00000000 --- a/frontend/server/public/images/countries/kz.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/la.svg b/frontend/server/public/images/countries/la.svg deleted file mode 100644 index 5983bef5..00000000 --- a/frontend/server/public/images/countries/la.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/lb.svg b/frontend/server/public/images/countries/lb.svg deleted file mode 100644 index 567005eb..00000000 --- a/frontend/server/public/images/countries/lb.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/lc.svg b/frontend/server/public/images/countries/lc.svg deleted file mode 100644 index efdf2dc4..00000000 --- a/frontend/server/public/images/countries/lc.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/li.svg b/frontend/server/public/images/countries/li.svg deleted file mode 100644 index adf317f2..00000000 --- a/frontend/server/public/images/countries/li.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/lk.svg b/frontend/server/public/images/countries/lk.svg deleted file mode 100644 index d2dba3b4..00000000 --- a/frontend/server/public/images/countries/lk.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/lr.svg b/frontend/server/public/images/countries/lr.svg deleted file mode 100644 index 3d6e3679..00000000 --- a/frontend/server/public/images/countries/lr.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ls.svg b/frontend/server/public/images/countries/ls.svg deleted file mode 100644 index f88130f1..00000000 --- a/frontend/server/public/images/countries/ls.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/lt.svg b/frontend/server/public/images/countries/lt.svg deleted file mode 100644 index 0348401c..00000000 --- a/frontend/server/public/images/countries/lt.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/lu.svg b/frontend/server/public/images/countries/lu.svg deleted file mode 100644 index ed9b8d0e..00000000 --- a/frontend/server/public/images/countries/lu.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/lv.svg b/frontend/server/public/images/countries/lv.svg deleted file mode 100644 index 38f5060b..00000000 --- a/frontend/server/public/images/countries/lv.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ly.svg b/frontend/server/public/images/countries/ly.svg deleted file mode 100644 index 2a97cfa1..00000000 --- a/frontend/server/public/images/countries/ly.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ma.svg b/frontend/server/public/images/countries/ma.svg deleted file mode 100644 index dd1de52d..00000000 --- a/frontend/server/public/images/countries/ma.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mc.svg b/frontend/server/public/images/countries/mc.svg deleted file mode 100644 index 29148ef0..00000000 --- a/frontend/server/public/images/countries/mc.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/md.svg b/frontend/server/public/images/countries/md.svg deleted file mode 100644 index 4396e0cd..00000000 --- a/frontend/server/public/images/countries/md.svg +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/me.svg b/frontend/server/public/images/countries/me.svg deleted file mode 100644 index bf951bef..00000000 --- a/frontend/server/public/images/countries/me.svg +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mf.svg b/frontend/server/public/images/countries/mf.svg deleted file mode 100644 index 066af7bd..00000000 --- a/frontend/server/public/images/countries/mf.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mg.svg b/frontend/server/public/images/countries/mg.svg deleted file mode 100644 index 10b8a56a..00000000 --- a/frontend/server/public/images/countries/mg.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mh.svg b/frontend/server/public/images/countries/mh.svg deleted file mode 100644 index 50d710f2..00000000 --- a/frontend/server/public/images/countries/mh.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mk.svg b/frontend/server/public/images/countries/mk.svg deleted file mode 100644 index a9f6a4a8..00000000 --- a/frontend/server/public/images/countries/mk.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ml.svg b/frontend/server/public/images/countries/ml.svg deleted file mode 100644 index 0ba73c78..00000000 --- a/frontend/server/public/images/countries/ml.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mm.svg b/frontend/server/public/images/countries/mm.svg deleted file mode 100644 index 171868bf..00000000 --- a/frontend/server/public/images/countries/mm.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mn.svg b/frontend/server/public/images/countries/mn.svg deleted file mode 100644 index 0715c25e..00000000 --- a/frontend/server/public/images/countries/mn.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mo.svg b/frontend/server/public/images/countries/mo.svg deleted file mode 100644 index d0caf275..00000000 --- a/frontend/server/public/images/countries/mo.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mp.svg b/frontend/server/public/images/countries/mp.svg deleted file mode 100644 index 2275ee24..00000000 --- a/frontend/server/public/images/countries/mp.svg +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mq.svg b/frontend/server/public/images/countries/mq.svg deleted file mode 100644 index d41f85cc..00000000 --- a/frontend/server/public/images/countries/mq.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mr.svg b/frontend/server/public/images/countries/mr.svg deleted file mode 100644 index e4b4f993..00000000 --- a/frontend/server/public/images/countries/mr.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ms.svg b/frontend/server/public/images/countries/ms.svg deleted file mode 100644 index 3a2a6666..00000000 --- a/frontend/server/public/images/countries/ms.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mt.svg b/frontend/server/public/images/countries/mt.svg deleted file mode 100644 index 5a73758f..00000000 --- a/frontend/server/public/images/countries/mt.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mu.svg b/frontend/server/public/images/countries/mu.svg deleted file mode 100644 index fd52f939..00000000 --- a/frontend/server/public/images/countries/mu.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mv.svg b/frontend/server/public/images/countries/mv.svg deleted file mode 100644 index 9cc64295..00000000 --- a/frontend/server/public/images/countries/mv.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mw.svg b/frontend/server/public/images/countries/mw.svg deleted file mode 100644 index 36efb56a..00000000 --- a/frontend/server/public/images/countries/mw.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mx.svg b/frontend/server/public/images/countries/mx.svg deleted file mode 100644 index dcb855a7..00000000 --- a/frontend/server/public/images/countries/mx.svg +++ /dev/null @@ -1,687 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/my.svg b/frontend/server/public/images/countries/my.svg deleted file mode 100644 index a87e41ed..00000000 --- a/frontend/server/public/images/countries/my.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/mz.svg b/frontend/server/public/images/countries/mz.svg deleted file mode 100644 index 26883233..00000000 --- a/frontend/server/public/images/countries/mz.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/na.svg b/frontend/server/public/images/countries/na.svg deleted file mode 100644 index 24c2f074..00000000 --- a/frontend/server/public/images/countries/na.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/nc.svg b/frontend/server/public/images/countries/nc.svg deleted file mode 100644 index 29940567..00000000 --- a/frontend/server/public/images/countries/nc.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ne.svg b/frontend/server/public/images/countries/ne.svg deleted file mode 100644 index b85c2ce5..00000000 --- a/frontend/server/public/images/countries/ne.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/nf.svg b/frontend/server/public/images/countries/nf.svg deleted file mode 100644 index ebd09ca8..00000000 --- a/frontend/server/public/images/countries/nf.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ng.svg b/frontend/server/public/images/countries/ng.svg deleted file mode 100644 index 9be3939f..00000000 --- a/frontend/server/public/images/countries/ng.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ni.svg b/frontend/server/public/images/countries/ni.svg deleted file mode 100644 index ee0f3494..00000000 --- a/frontend/server/public/images/countries/ni.svg +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/nl.svg b/frontend/server/public/images/countries/nl.svg deleted file mode 100644 index b3f1992d..00000000 --- a/frontend/server/public/images/countries/nl.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/no.svg b/frontend/server/public/images/countries/no.svg deleted file mode 100644 index 7ab5f6fd..00000000 --- a/frontend/server/public/images/countries/no.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/np.svg b/frontend/server/public/images/countries/np.svg deleted file mode 100644 index 2797935f..00000000 --- a/frontend/server/public/images/countries/np.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/nr.svg b/frontend/server/public/images/countries/nr.svg deleted file mode 100644 index f8b4faa0..00000000 --- a/frontend/server/public/images/countries/nr.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/nu.svg b/frontend/server/public/images/countries/nu.svg deleted file mode 100644 index 9a569194..00000000 --- a/frontend/server/public/images/countries/nu.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/nz.svg b/frontend/server/public/images/countries/nz.svg deleted file mode 100644 index 253aea2a..00000000 --- a/frontend/server/public/images/countries/nz.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/om.svg b/frontend/server/public/images/countries/om.svg deleted file mode 100644 index 6530d11c..00000000 --- a/frontend/server/public/images/countries/om.svg +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pa.svg b/frontend/server/public/images/countries/pa.svg deleted file mode 100644 index 71a1dfa3..00000000 --- a/frontend/server/public/images/countries/pa.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pe.svg b/frontend/server/public/images/countries/pe.svg deleted file mode 100644 index ef2301a1..00000000 --- a/frontend/server/public/images/countries/pe.svg +++ /dev/null @@ -1,476 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pf.svg b/frontend/server/public/images/countries/pf.svg deleted file mode 100644 index 8b26bb61..00000000 --- a/frontend/server/public/images/countries/pf.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pg.svg b/frontend/server/public/images/countries/pg.svg deleted file mode 100644 index 4b81deaf..00000000 --- a/frontend/server/public/images/countries/pg.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ph.svg b/frontend/server/public/images/countries/ph.svg deleted file mode 100644 index 3d4865fa..00000000 --- a/frontend/server/public/images/countries/ph.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pk.svg b/frontend/server/public/images/countries/pk.svg deleted file mode 100644 index 76489a00..00000000 --- a/frontend/server/public/images/countries/pk.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pl.svg b/frontend/server/public/images/countries/pl.svg deleted file mode 100644 index 3d886abc..00000000 --- a/frontend/server/public/images/countries/pl.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pm.svg b/frontend/server/public/images/countries/pm.svg deleted file mode 100644 index 723acdbf..00000000 --- a/frontend/server/public/images/countries/pm.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pn.svg b/frontend/server/public/images/countries/pn.svg deleted file mode 100644 index 1ceaffd8..00000000 --- a/frontend/server/public/images/countries/pn.svg +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pr.svg b/frontend/server/public/images/countries/pr.svg deleted file mode 100644 index 774b1e4c..00000000 --- a/frontend/server/public/images/countries/pr.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ps.svg b/frontend/server/public/images/countries/ps.svg deleted file mode 100644 index d539df99..00000000 --- a/frontend/server/public/images/countries/ps.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pt.svg b/frontend/server/public/images/countries/pt.svg deleted file mode 100644 index 6e942ee5..00000000 --- a/frontend/server/public/images/countries/pt.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/pw.svg b/frontend/server/public/images/countries/pw.svg deleted file mode 100644 index 503854b3..00000000 --- a/frontend/server/public/images/countries/pw.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/py.svg b/frontend/server/public/images/countries/py.svg deleted file mode 100644 index 78a9bc6b..00000000 --- a/frontend/server/public/images/countries/py.svg +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/qa.svg b/frontend/server/public/images/countries/qa.svg deleted file mode 100644 index b10ee481..00000000 --- a/frontend/server/public/images/countries/qa.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/re.svg b/frontend/server/public/images/countries/re.svg deleted file mode 100644 index 9a1f36ad..00000000 --- a/frontend/server/public/images/countries/re.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/red.svg b/frontend/server/public/images/countries/red.svg deleted file mode 100644 index 0422092d..00000000 --- a/frontend/server/public/images/countries/red.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ro.svg b/frontend/server/public/images/countries/ro.svg deleted file mode 100644 index d4154f90..00000000 --- a/frontend/server/public/images/countries/ro.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/rs.svg b/frontend/server/public/images/countries/rs.svg deleted file mode 100644 index 45f1fe45..00000000 --- a/frontend/server/public/images/countries/rs.svg +++ /dev/null @@ -1,537 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ru.svg b/frontend/server/public/images/countries/ru.svg deleted file mode 100644 index 33e3cf95..00000000 --- a/frontend/server/public/images/countries/ru.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/rw.svg b/frontend/server/public/images/countries/rw.svg deleted file mode 100644 index 618ecc7e..00000000 --- a/frontend/server/public/images/countries/rw.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sa.svg b/frontend/server/public/images/countries/sa.svg deleted file mode 100644 index 7f09beff..00000000 --- a/frontend/server/public/images/countries/sa.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sb.svg b/frontend/server/public/images/countries/sb.svg deleted file mode 100644 index c5472aa2..00000000 --- a/frontend/server/public/images/countries/sb.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sc.svg b/frontend/server/public/images/countries/sc.svg deleted file mode 100644 index 648c1cb3..00000000 --- a/frontend/server/public/images/countries/sc.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sd.svg b/frontend/server/public/images/countries/sd.svg deleted file mode 100644 index 7d01aa77..00000000 --- a/frontend/server/public/images/countries/sd.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/se.svg b/frontend/server/public/images/countries/se.svg deleted file mode 100644 index 5e79b0c4..00000000 --- a/frontend/server/public/images/countries/se.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sg.svg b/frontend/server/public/images/countries/sg.svg deleted file mode 100644 index 2be9ad20..00000000 --- a/frontend/server/public/images/countries/sg.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sh.svg b/frontend/server/public/images/countries/sh.svg deleted file mode 100644 index 43f1f1df..00000000 --- a/frontend/server/public/images/countries/sh.svg +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/si.svg b/frontend/server/public/images/countries/si.svg deleted file mode 100644 index 2aae6980..00000000 --- a/frontend/server/public/images/countries/si.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sj.svg b/frontend/server/public/images/countries/sj.svg deleted file mode 100644 index 0230663c..00000000 --- a/frontend/server/public/images/countries/sj.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sk.svg b/frontend/server/public/images/countries/sk.svg deleted file mode 100644 index 8dc0c524..00000000 --- a/frontend/server/public/images/countries/sk.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sl.svg b/frontend/server/public/images/countries/sl.svg deleted file mode 100644 index 37205b54..00000000 --- a/frontend/server/public/images/countries/sl.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sm.svg b/frontend/server/public/images/countries/sm.svg deleted file mode 100644 index 3f5c3b3c..00000000 --- a/frontend/server/public/images/countries/sm.svg +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sn.svg b/frontend/server/public/images/countries/sn.svg deleted file mode 100644 index 0998237f..00000000 --- a/frontend/server/public/images/countries/sn.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/so.svg b/frontend/server/public/images/countries/so.svg deleted file mode 100644 index e6aaf767..00000000 --- a/frontend/server/public/images/countries/so.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/social.svg b/frontend/server/public/images/countries/social.svg deleted file mode 100644 index d346bb45..00000000 --- a/frontend/server/public/images/countries/social.svg +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sr.svg b/frontend/server/public/images/countries/sr.svg deleted file mode 100644 index a9023115..00000000 --- a/frontend/server/public/images/countries/sr.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ss.svg b/frontend/server/public/images/countries/ss.svg deleted file mode 100644 index 48b41344..00000000 --- a/frontend/server/public/images/countries/ss.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/st.svg b/frontend/server/public/images/countries/st.svg deleted file mode 100644 index 6a526ba4..00000000 --- a/frontend/server/public/images/countries/st.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sv.svg b/frontend/server/public/images/countries/sv.svg deleted file mode 100644 index 58a33f90..00000000 --- a/frontend/server/public/images/countries/sv.svg +++ /dev/null @@ -1,902 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sx.svg b/frontend/server/public/images/countries/sx.svg deleted file mode 100644 index e10328a3..00000000 --- a/frontend/server/public/images/countries/sx.svg +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sy.svg b/frontend/server/public/images/countries/sy.svg deleted file mode 100644 index d57d2c17..00000000 --- a/frontend/server/public/images/countries/sy.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/sz.svg b/frontend/server/public/images/countries/sz.svg deleted file mode 100644 index 999f611f..00000000 --- a/frontend/server/public/images/countries/sz.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ta.svg b/frontend/server/public/images/countries/ta.svg deleted file mode 100644 index fd0e43cf..00000000 --- a/frontend/server/public/images/countries/ta.svg +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tc.svg b/frontend/server/public/images/countries/tc.svg deleted file mode 100644 index 8d73c32c..00000000 --- a/frontend/server/public/images/countries/tc.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/td.svg b/frontend/server/public/images/countries/td.svg deleted file mode 100644 index 21ae3002..00000000 --- a/frontend/server/public/images/countries/td.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tf.svg b/frontend/server/public/images/countries/tf.svg deleted file mode 100644 index c0c2fb2c..00000000 --- a/frontend/server/public/images/countries/tf.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tg.svg b/frontend/server/public/images/countries/tg.svg deleted file mode 100644 index 92d9eb24..00000000 --- a/frontend/server/public/images/countries/tg.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/th.svg b/frontend/server/public/images/countries/th.svg deleted file mode 100644 index 00843d8f..00000000 --- a/frontend/server/public/images/countries/th.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/third.svg b/frontend/server/public/images/countries/third.svg deleted file mode 100644 index d38e5a36..00000000 --- a/frontend/server/public/images/countries/third.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tj.svg b/frontend/server/public/images/countries/tj.svg deleted file mode 100644 index cd26cc68..00000000 --- a/frontend/server/public/images/countries/tj.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tk.svg b/frontend/server/public/images/countries/tk.svg deleted file mode 100644 index 6003afcd..00000000 --- a/frontend/server/public/images/countries/tk.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tl.svg b/frontend/server/public/images/countries/tl.svg deleted file mode 100644 index d72a3e75..00000000 --- a/frontend/server/public/images/countries/tl.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tm.svg b/frontend/server/public/images/countries/tm.svg deleted file mode 100644 index 492d1bf9..00000000 --- a/frontend/server/public/images/countries/tm.svg +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tn.svg b/frontend/server/public/images/countries/tn.svg deleted file mode 100644 index a7dfc8be..00000000 --- a/frontend/server/public/images/countries/tn.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/to.svg b/frontend/server/public/images/countries/to.svg deleted file mode 100644 index 2a69e403..00000000 --- a/frontend/server/public/images/countries/to.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tr.svg b/frontend/server/public/images/countries/tr.svg deleted file mode 100644 index 8bbc3e6f..00000000 --- a/frontend/server/public/images/countries/tr.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tt.svg b/frontend/server/public/images/countries/tt.svg deleted file mode 100644 index 83cfd141..00000000 --- a/frontend/server/public/images/countries/tt.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tv.svg b/frontend/server/public/images/countries/tv.svg deleted file mode 100644 index 03cce039..00000000 --- a/frontend/server/public/images/countries/tv.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tw.svg b/frontend/server/public/images/countries/tw.svg deleted file mode 100644 index 3a1a52ad..00000000 --- a/frontend/server/public/images/countries/tw.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/tz.svg b/frontend/server/public/images/countries/tz.svg deleted file mode 100644 index d3c30b5c..00000000 --- a/frontend/server/public/images/countries/tz.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ua.svg b/frontend/server/public/images/countries/ua.svg deleted file mode 100644 index 27a6b99c..00000000 --- a/frontend/server/public/images/countries/ua.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ug.svg b/frontend/server/public/images/countries/ug.svg deleted file mode 100644 index f3748de6..00000000 --- a/frontend/server/public/images/countries/ug.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/um.svg b/frontend/server/public/images/countries/um.svg deleted file mode 100644 index 002bb9f9..00000000 --- a/frontend/server/public/images/countries/um.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/un.svg b/frontend/server/public/images/countries/un.svg deleted file mode 100644 index 00c31402..00000000 --- a/frontend/server/public/images/countries/un.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/unk.svg b/frontend/server/public/images/countries/unk.svg deleted file mode 100644 index c960591a..00000000 --- a/frontend/server/public/images/countries/unk.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - ? - \ No newline at end of file diff --git a/frontend/server/public/images/countries/us.svg b/frontend/server/public/images/countries/us.svg deleted file mode 100644 index 137f1ba7..00000000 --- a/frontend/server/public/images/countries/us.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ussr.svg b/frontend/server/public/images/countries/ussr.svg deleted file mode 100644 index 6bdaec5e..00000000 --- a/frontend/server/public/images/countries/ussr.svg +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/uy.svg b/frontend/server/public/images/countries/uy.svg deleted file mode 100644 index ba7d1cc9..00000000 --- a/frontend/server/public/images/countries/uy.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/uz.svg b/frontend/server/public/images/countries/uz.svg deleted file mode 100644 index bc4a402e..00000000 --- a/frontend/server/public/images/countries/uz.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/va.svg b/frontend/server/public/images/countries/va.svg deleted file mode 100644 index e2934697..00000000 --- a/frontend/server/public/images/countries/va.svg +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/vc.svg b/frontend/server/public/images/countries/vc.svg deleted file mode 100644 index c532ad7a..00000000 --- a/frontend/server/public/images/countries/vc.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ve.svg b/frontend/server/public/images/countries/ve.svg deleted file mode 100644 index 68c956ac..00000000 --- a/frontend/server/public/images/countries/ve.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/vg.svg b/frontend/server/public/images/countries/vg.svg deleted file mode 100644 index a31eae08..00000000 --- a/frontend/server/public/images/countries/vg.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/vi.svg b/frontend/server/public/images/countries/vi.svg deleted file mode 100644 index d27fe04f..00000000 --- a/frontend/server/public/images/countries/vi.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/vn.svg b/frontend/server/public/images/countries/vn.svg deleted file mode 100644 index 5291f28f..00000000 --- a/frontend/server/public/images/countries/vn.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/vu.svg b/frontend/server/public/images/countries/vu.svg deleted file mode 100644 index 4a74d7ed..00000000 --- a/frontend/server/public/images/countries/vu.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/wf.svg b/frontend/server/public/images/countries/wf.svg deleted file mode 100644 index 19f1d93a..00000000 --- a/frontend/server/public/images/countries/wf.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ws.svg b/frontend/server/public/images/countries/ws.svg deleted file mode 100644 index 3bf655f7..00000000 --- a/frontend/server/public/images/countries/ws.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/xk.svg b/frontend/server/public/images/countries/xk.svg deleted file mode 100644 index 7c7bdb86..00000000 --- a/frontend/server/public/images/countries/xk.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/xx.svg b/frontend/server/public/images/countries/xx.svg deleted file mode 100644 index 0bd5e9a6..00000000 --- a/frontend/server/public/images/countries/xx.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/ye.svg b/frontend/server/public/images/countries/ye.svg deleted file mode 100644 index b57affd9..00000000 --- a/frontend/server/public/images/countries/ye.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/yt.svg b/frontend/server/public/images/countries/yt.svg deleted file mode 100644 index f4308aa4..00000000 --- a/frontend/server/public/images/countries/yt.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/yug.svg b/frontend/server/public/images/countries/yug.svg deleted file mode 100644 index 5af7a0d3..00000000 --- a/frontend/server/public/images/countries/yug.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/za.svg b/frontend/server/public/images/countries/za.svg deleted file mode 100644 index 35012f44..00000000 --- a/frontend/server/public/images/countries/za.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/zm.svg b/frontend/server/public/images/countries/zm.svg deleted file mode 100644 index 1ed8e993..00000000 --- a/frontend/server/public/images/countries/zm.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/countries/zw.svg b/frontend/server/public/images/countries/zw.svg deleted file mode 100644 index a785d961..00000000 --- a/frontend/server/public/images/countries/zw.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/favicons/android-chrome-192x192.png b/frontend/server/public/images/favicons/android-chrome-192x192.png deleted file mode 100644 index 94156476..00000000 Binary files a/frontend/server/public/images/favicons/android-chrome-192x192.png and /dev/null differ diff --git a/frontend/server/public/images/favicons/android-chrome-512x512.png b/frontend/server/public/images/favicons/android-chrome-512x512.png deleted file mode 100644 index 1b1a4c17..00000000 Binary files a/frontend/server/public/images/favicons/android-chrome-512x512.png and /dev/null differ diff --git a/frontend/server/public/images/favicons/apple-touch-icon.png b/frontend/server/public/images/favicons/apple-touch-icon.png deleted file mode 100644 index 8aa1651e..00000000 Binary files a/frontend/server/public/images/favicons/apple-touch-icon.png and /dev/null differ diff --git a/frontend/server/public/images/favicons/favicon-16x16.png b/frontend/server/public/images/favicons/favicon-16x16.png deleted file mode 100644 index 01d279f2..00000000 Binary files a/frontend/server/public/images/favicons/favicon-16x16.png and /dev/null differ diff --git a/frontend/server/public/images/favicons/favicon-32x32.png b/frontend/server/public/images/favicons/favicon-32x32.png deleted file mode 100644 index 63c55bd2..00000000 Binary files a/frontend/server/public/images/favicons/favicon-32x32.png and /dev/null differ diff --git a/frontend/server/public/images/favicons/favicon.ico b/frontend/server/public/images/favicons/favicon.ico deleted file mode 100644 index 5bb88640..00000000 Binary files a/frontend/server/public/images/favicons/favicon.ico and /dev/null differ diff --git a/frontend/server/public/images/favicons/site.webmanifest b/frontend/server/public/images/favicons/site.webmanifest deleted file mode 100644 index 85fe3e4b..00000000 --- a/frontend/server/public/images/favicons/site.webmanifest +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "DCS Olympus", - "short_name": "DCS Olympus", - "icons": [ - { - "src": "/images/favicons/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/images/favicons/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ], - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" -} diff --git a/frontend/server/public/images/icon-round.png b/frontend/server/public/images/icon-round.png deleted file mode 100644 index 0244ffa7..00000000 Binary files a/frontend/server/public/images/icon-round.png and /dev/null differ diff --git a/frontend/server/public/images/icon.png b/frontend/server/public/images/icon.png deleted file mode 100644 index 9e11ba9c..00000000 Binary files a/frontend/server/public/images/icon.png and /dev/null differ diff --git a/frontend/server/public/images/icons/altitude.svg b/frontend/server/public/images/icons/altitude.svg deleted file mode 100644 index e63b1609..00000000 --- a/frontend/server/public/images/icons/altitude.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/arrow-pointer-solid.svg b/frontend/server/public/images/icons/arrow-pointer-solid.svg deleted file mode 100644 index 5f9a32d6..00000000 --- a/frontend/server/public/images/icons/arrow-pointer-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/arrows-to-eye-solid.svg b/frontend/server/public/images/icons/arrows-to-eye-solid.svg deleted file mode 100644 index d54355c9..00000000 --- a/frontend/server/public/images/icons/arrows-to-eye-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/bomb-solid.svg b/frontend/server/public/images/icons/bomb-solid.svg deleted file mode 100644 index a456f0ec..00000000 --- a/frontend/server/public/images/icons/bomb-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/burst-solid.svg b/frontend/server/public/images/icons/burst-solid.svg deleted file mode 100644 index 99c49c2a..00000000 --- a/frontend/server/public/images/icons/burst-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/camera.svg b/frontend/server/public/images/icons/camera.svg deleted file mode 100644 index 71e162d3..00000000 --- a/frontend/server/public/images/icons/camera.svg +++ /dev/null @@ -1,36 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/check_square.svg b/frontend/server/public/images/icons/check_square.svg deleted file mode 100644 index 7c4452e1..00000000 --- a/frontend/server/public/images/icons/check_square.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/chevron-down-warning.svg b/frontend/server/public/images/icons/chevron-down-warning.svg deleted file mode 100644 index 388d5c1d..00000000 --- a/frontend/server/public/images/icons/chevron-down-warning.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/chevron-down.svg b/frontend/server/public/images/icons/chevron-down.svg deleted file mode 100644 index fe9fdcf7..00000000 --- a/frontend/server/public/images/icons/chevron-down.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/circle-info-solid.svg b/frontend/server/public/images/icons/circle-info-solid.svg deleted file mode 100644 index 514d6e04..00000000 --- a/frontend/server/public/images/icons/circle-info-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/circle-question-regular.svg b/frontend/server/public/images/icons/circle-question-regular.svg deleted file mode 100644 index 985d4582..00000000 --- a/frontend/server/public/images/icons/circle-question-regular.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/climb.svg b/frontend/server/public/images/icons/climb.svg deleted file mode 100644 index 4e13c498..00000000 --- a/frontend/server/public/images/icons/climb.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/crosshairs-solid.svg b/frontend/server/public/images/icons/crosshairs-solid.svg deleted file mode 100644 index 1f86a76f..00000000 --- a/frontend/server/public/images/icons/crosshairs-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/descent.svg b/frontend/server/public/images/icons/descent.svg deleted file mode 100644 index d01767ac..00000000 --- a/frontend/server/public/images/icons/descent.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/diamond.svg b/frontend/server/public/images/icons/diamond.svg deleted file mode 100644 index 280cf5a9..00000000 --- a/frontend/server/public/images/icons/diamond.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/echelon-lh.svg b/frontend/server/public/images/icons/echelon-lh.svg deleted file mode 100644 index 1e858b89..00000000 --- a/frontend/server/public/images/icons/echelon-lh.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/echelon-rh.svg b/frontend/server/public/images/icons/echelon-rh.svg deleted file mode 100644 index ed2d7c99..00000000 --- a/frontend/server/public/images/icons/echelon-rh.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/echelon.svg b/frontend/server/public/images/icons/echelon.svg deleted file mode 100644 index 0aebcc15..00000000 --- a/frontend/server/public/images/icons/echelon.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/explosion-solid.svg b/frontend/server/public/images/icons/explosion-solid.svg deleted file mode 100644 index 90fd17e9..00000000 --- a/frontend/server/public/images/icons/explosion-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/eye-solid.svg b/frontend/server/public/images/icons/eye-solid.svg deleted file mode 100644 index 56ded06d..00000000 --- a/frontend/server/public/images/icons/eye-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/fire-solid.svg b/frontend/server/public/images/icons/fire-solid.svg deleted file mode 100644 index 909b2621..00000000 --- a/frontend/server/public/images/icons/fire-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/follow.svg b/frontend/server/public/images/icons/follow.svg deleted file mode 100644 index ae78c6c6..00000000 --- a/frontend/server/public/images/icons/follow.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/formation-end.svg b/frontend/server/public/images/icons/formation-end.svg deleted file mode 100644 index d56674d7..00000000 --- a/frontend/server/public/images/icons/formation-end.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/formation-middle.svg b/frontend/server/public/images/icons/formation-middle.svg deleted file mode 100644 index dc8691fa..00000000 --- a/frontend/server/public/images/icons/formation-middle.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/front.svg b/frontend/server/public/images/icons/front.svg deleted file mode 100644 index c96b0dbf..00000000 --- a/frontend/server/public/images/icons/front.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/fuel.svg b/frontend/server/public/images/icons/fuel.svg deleted file mode 100644 index b7f13cc4..00000000 --- a/frontend/server/public/images/icons/fuel.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/gamepad-solid.svg b/frontend/server/public/images/icons/gamepad-solid.svg deleted file mode 100644 index c250ecc4..00000000 --- a/frontend/server/public/images/icons/gamepad-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/gears-solid.svg b/frontend/server/public/images/icons/gears-solid.svg deleted file mode 100644 index 717e3c8c..00000000 --- a/frontend/server/public/images/icons/gears-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/grip-lines-solid.svg b/frontend/server/public/images/icons/grip-lines-solid.svg deleted file mode 100644 index 33e7a98f..00000000 --- a/frontend/server/public/images/icons/grip-lines-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/group-ground.svg b/frontend/server/public/images/icons/group-ground.svg deleted file mode 100644 index 261ae6cb..00000000 --- a/frontend/server/public/images/icons/group-ground.svg +++ /dev/null @@ -1,78 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/group-navy.svg b/frontend/server/public/images/icons/group-navy.svg deleted file mode 100644 index 06f47811..00000000 --- a/frontend/server/public/images/icons/group-navy.svg +++ /dev/null @@ -1,66 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/hand-solid.svg b/frontend/server/public/images/icons/hand-solid.svg deleted file mode 100644 index 835f7f77..00000000 --- a/frontend/server/public/images/icons/hand-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/heading.svg b/frontend/server/public/images/icons/heading.svg deleted file mode 100644 index 8cd46189..00000000 --- a/frontend/server/public/images/icons/heading.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/health.svg b/frontend/server/public/images/icons/health.svg deleted file mode 100644 index 35246c8f..00000000 --- a/frontend/server/public/images/icons/health.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/jet-fighter-up-solid.svg b/frontend/server/public/images/icons/jet-fighter-up-solid.svg deleted file mode 100644 index df7b6a38..00000000 --- a/frontend/server/public/images/icons/jet-fighter-up-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/keyboard-solid.svg b/frontend/server/public/images/icons/keyboard-solid.svg deleted file mode 100644 index 25ca0376..00000000 --- a/frontend/server/public/images/icons/keyboard-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/land-at-point.svg b/frontend/server/public/images/icons/land-at-point.svg deleted file mode 100644 index 1c3ccf49..00000000 --- a/frontend/server/public/images/icons/land-at-point.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/line-abreast.svg b/frontend/server/public/images/icons/line-abreast.svg deleted file mode 100644 index cf26c2fd..00000000 --- a/frontend/server/public/images/icons/line-abreast.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/map-source.svg b/frontend/server/public/images/icons/map-source.svg deleted file mode 100644 index 0fa76064..00000000 --- a/frontend/server/public/images/icons/map-source.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/miss-blue.svg b/frontend/server/public/images/icons/miss-blue.svg deleted file mode 100644 index 29a23701..00000000 --- a/frontend/server/public/images/icons/miss-blue.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/miss-red.svg b/frontend/server/public/images/icons/miss-red.svg deleted file mode 100644 index 5dfea3b2..00000000 --- a/frontend/server/public/images/icons/miss-red.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/miss.svg b/frontend/server/public/images/icons/miss.svg deleted file mode 100644 index 9dc33158..00000000 --- a/frontend/server/public/images/icons/miss.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/napalm.svg b/frontend/server/public/images/icons/napalm.svg deleted file mode 100644 index 09ecf9b9..00000000 --- a/frontend/server/public/images/icons/napalm.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/person-military-pointing-solid.svg b/frontend/server/public/images/icons/person-military-pointing-solid.svg deleted file mode 100644 index 08a03dc4..00000000 --- a/frontend/server/public/images/icons/person-military-pointing-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/pin.svg b/frontend/server/public/images/icons/pin.svg deleted file mode 100644 index 0815ae07..00000000 --- a/frontend/server/public/images/icons/pin.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/plane.svg b/frontend/server/public/images/icons/plane.svg deleted file mode 100644 index ed567d52..00000000 --- a/frontend/server/public/images/icons/plane.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/ruler.svg b/frontend/server/public/images/icons/ruler.svg deleted file mode 100644 index 72ba6280..00000000 --- a/frontend/server/public/images/icons/ruler.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/scenic-blue.svg b/frontend/server/public/images/icons/scenic-blue.svg deleted file mode 100644 index d148ede8..00000000 --- a/frontend/server/public/images/icons/scenic-blue.svg +++ /dev/null @@ -1,51 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/scenic-red.svg b/frontend/server/public/images/icons/scenic-red.svg deleted file mode 100644 index 3c441582..00000000 --- a/frontend/server/public/images/icons/scenic-red.svg +++ /dev/null @@ -1,51 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/scenic.svg b/frontend/server/public/images/icons/scenic.svg deleted file mode 100644 index 72e9fe9e..00000000 --- a/frontend/server/public/images/icons/scenic.svg +++ /dev/null @@ -1,51 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/secondaries.svg b/frontend/server/public/images/icons/secondaries.svg deleted file mode 100644 index 9fd3b61b..00000000 --- a/frontend/server/public/images/icons/secondaries.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/smog-solid.svg b/frontend/server/public/images/icons/smog-solid.svg deleted file mode 100644 index 1d80749b..00000000 --- a/frontend/server/public/images/icons/smog-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/speed-decrease.svg b/frontend/server/public/images/icons/speed-decrease.svg deleted file mode 100644 index 9c8592a2..00000000 --- a/frontend/server/public/images/icons/speed-decrease.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/speed-increase.svg b/frontend/server/public/images/icons/speed-increase.svg deleted file mode 100644 index d0dab688..00000000 --- a/frontend/server/public/images/icons/speed-increase.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/speed.svg b/frontend/server/public/images/icons/speed.svg deleted file mode 100644 index e90d1b16..00000000 --- a/frontend/server/public/images/icons/speed.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/square-check-solid.svg b/frontend/server/public/images/icons/square-check-solid.svg deleted file mode 100644 index fd49d800..00000000 --- a/frontend/server/public/images/icons/square-check-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/square-regular.svg b/frontend/server/public/images/icons/square-regular.svg deleted file mode 100644 index e79a57f4..00000000 --- a/frontend/server/public/images/icons/square-regular.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/sword.svg b/frontend/server/public/images/icons/sword.svg deleted file mode 100644 index 24b970c4..00000000 --- a/frontend/server/public/images/icons/sword.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/trail.svg b/frontend/server/public/images/icons/trail.svg deleted file mode 100644 index 2d312dd6..00000000 --- a/frontend/server/public/images/icons/trail.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/trash-can-regular.svg b/frontend/server/public/images/icons/trash-can-regular.svg deleted file mode 100644 index 9c583fc0..00000000 --- a/frontend/server/public/images/icons/trash-can-regular.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/triangle-exclamation-solid.svg b/frontend/server/public/images/icons/triangle-exclamation-solid.svg deleted file mode 100644 index 8fee83a8..00000000 --- a/frontend/server/public/images/icons/triangle-exclamation-solid.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/icons/white-phosphorous.svg b/frontend/server/public/images/icons/white-phosphorous.svg deleted file mode 100644 index acacc33b..00000000 --- a/frontend/server/public/images/icons/white-phosphorous.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/markers/airbase.svg b/frontend/server/public/images/markers/airbase.svg deleted file mode 100644 index aef7666e..00000000 --- a/frontend/server/public/images/markers/airbase.svg +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/markers/bullseye.svg b/frontend/server/public/images/markers/bullseye.svg deleted file mode 100644 index 7e86f68e..00000000 --- a/frontend/server/public/images/markers/bullseye.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/markers/draw.svg b/frontend/server/public/images/markers/draw.svg deleted file mode 100644 index d00ac7dd..00000000 --- a/frontend/server/public/images/markers/draw.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/markers/marker-icon.png b/frontend/server/public/images/markers/marker-icon.png deleted file mode 100644 index 950edf24..00000000 Binary files a/frontend/server/public/images/markers/marker-icon.png and /dev/null differ diff --git a/frontend/server/public/images/markers/marker-shadow.png b/frontend/server/public/images/markers/marker-shadow.png deleted file mode 100644 index 9fd29795..00000000 Binary files a/frontend/server/public/images/markers/marker-shadow.png and /dev/null differ diff --git a/frontend/server/public/images/markers/move.svg b/frontend/server/public/images/markers/move.svg deleted file mode 100644 index 254f5e0f..00000000 --- a/frontend/server/public/images/markers/move.svg +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/markers/smoke.svg b/frontend/server/public/images/markers/smoke.svg deleted file mode 100644 index f49f1c44..00000000 --- a/frontend/server/public/images/markers/smoke.svg +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/markers/target.svg b/frontend/server/public/images/markers/target.svg deleted file mode 100644 index 1f740173..00000000 --- a/frontend/server/public/images/markers/target.svg +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/olympus-4112x4112.png b/frontend/server/public/images/olympus-4112x4112.png deleted file mode 100644 index fedbfca1..00000000 Binary files a/frontend/server/public/images/olympus-4112x4112.png and /dev/null differ diff --git a/frontend/server/public/images/olympus-500x500.png b/frontend/server/public/images/olympus-500x500.png deleted file mode 100644 index 42c1b326..00000000 Binary files a/frontend/server/public/images/olympus-500x500.png and /dev/null differ diff --git a/frontend/server/public/images/parrot/parrot.png b/frontend/server/public/images/parrot/parrot.png deleted file mode 100644 index a61beac3..00000000 Binary files a/frontend/server/public/images/parrot/parrot.png and /dev/null differ diff --git a/frontend/server/public/images/splash/1.jpg b/frontend/server/public/images/splash/1.jpg deleted file mode 100644 index 93121bcb..00000000 Binary files a/frontend/server/public/images/splash/1.jpg and /dev/null differ diff --git a/frontend/server/public/images/splash/2.jpg b/frontend/server/public/images/splash/2.jpg deleted file mode 100644 index e211ee22..00000000 Binary files a/frontend/server/public/images/splash/2.jpg and /dev/null differ diff --git a/frontend/server/public/images/splash/3.jpg b/frontend/server/public/images/splash/3.jpg deleted file mode 100644 index 890f186b..00000000 Binary files a/frontend/server/public/images/splash/3.jpg and /dev/null differ diff --git a/frontend/server/public/images/splash/4.jpg b/frontend/server/public/images/splash/4.jpg deleted file mode 100644 index d8775404..00000000 Binary files a/frontend/server/public/images/splash/4.jpg and /dev/null differ diff --git a/frontend/server/public/images/splash/5.jpg b/frontend/server/public/images/splash/5.jpg deleted file mode 100644 index a4e0c084..00000000 Binary files a/frontend/server/public/images/splash/5.jpg and /dev/null differ diff --git a/frontend/server/public/images/splash/6.jpg b/frontend/server/public/images/splash/6.jpg deleted file mode 100644 index 5b5e3498..00000000 Binary files a/frontend/server/public/images/splash/6.jpg and /dev/null differ diff --git a/frontend/server/public/images/splash/7.jpg b/frontend/server/public/images/splash/7.jpg deleted file mode 100644 index bee73fda..00000000 Binary files a/frontend/server/public/images/splash/7.jpg and /dev/null differ diff --git a/frontend/server/public/images/splash/8.jpg b/frontend/server/public/images/splash/8.jpg deleted file mode 100644 index eafdf2a1..00000000 Binary files a/frontend/server/public/images/splash/8.jpg and /dev/null differ diff --git a/frontend/server/public/images/states/attack.svg b/frontend/server/public/images/states/attack.svg deleted file mode 100644 index daabf0c2..00000000 --- a/frontend/server/public/images/states/attack.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/awacs.svg b/frontend/server/public/images/states/awacs.svg deleted file mode 100644 index 669d364f..00000000 --- a/frontend/server/public/images/states/awacs.svg +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/dcs.svg b/frontend/server/public/images/states/dcs.svg deleted file mode 100644 index 649c3d82..00000000 --- a/frontend/server/public/images/states/dcs.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/follow.svg b/frontend/server/public/images/states/follow.svg deleted file mode 100644 index 61c47e3c..00000000 --- a/frontend/server/public/images/states/follow.svg +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/human.svg b/frontend/server/public/images/states/human.svg deleted file mode 100644 index 54fe73bb..00000000 --- a/frontend/server/public/images/states/human.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/idle.svg b/frontend/server/public/images/states/idle.svg deleted file mode 100644 index 302f60e3..00000000 --- a/frontend/server/public/images/states/idle.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/land-at-point.svg b/frontend/server/public/images/states/land-at-point.svg deleted file mode 100644 index 8d8c0c3c..00000000 --- a/frontend/server/public/images/states/land-at-point.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/miss-on-purpose.svg b/frontend/server/public/images/states/miss-on-purpose.svg deleted file mode 100644 index c1d9a11a..00000000 --- a/frontend/server/public/images/states/miss-on-purpose.svg +++ /dev/null @@ -1,53 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/states/no-task.svg b/frontend/server/public/images/states/no-task.svg deleted file mode 100644 index 70e75414..00000000 --- a/frontend/server/public/images/states/no-task.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/off.svg b/frontend/server/public/images/states/off.svg deleted file mode 100644 index 333b0d85..00000000 --- a/frontend/server/public/images/states/off.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/refuel.svg b/frontend/server/public/images/states/refuel.svg deleted file mode 100644 index cb805fd2..00000000 --- a/frontend/server/public/images/states/refuel.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/rtb.svg b/frontend/server/public/images/states/rtb.svg deleted file mode 100644 index c394967e..00000000 --- a/frontend/server/public/images/states/rtb.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/states/scenic-aaa.svg b/frontend/server/public/images/states/scenic-aaa.svg deleted file mode 100644 index 8344fa72..00000000 --- a/frontend/server/public/images/states/scenic-aaa.svg +++ /dev/null @@ -1,77 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/states/simulate-fire-fight.svg b/frontend/server/public/images/states/simulate-fire-fight.svg deleted file mode 100644 index 30590b9b..00000000 --- a/frontend/server/public/images/states/simulate-fire-fight.svg +++ /dev/null @@ -1,45 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/states/tanker.svg b/frontend/server/public/images/states/tanker.svg deleted file mode 100644 index 3bce8241..00000000 --- a/frontend/server/public/images/states/tanker.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/a-10.png b/frontend/server/public/images/units/a-10.png deleted file mode 100644 index bf231f50..00000000 Binary files a/frontend/server/public/images/units/a-10.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-20.png b/frontend/server/public/images/units/a-20.png deleted file mode 100644 index b9d64924..00000000 Binary files a/frontend/server/public/images/units/a-20.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-29.png b/frontend/server/public/images/units/a-29.png deleted file mode 100644 index 71b9b390..00000000 Binary files a/frontend/server/public/images/units/a-29.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-4.png b/frontend/server/public/images/units/a-4.png deleted file mode 100644 index d846c5b2..00000000 Binary files a/frontend/server/public/images/units/a-4.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-400.png b/frontend/server/public/images/units/a-400.png deleted file mode 100644 index 424c0e58..00000000 Binary files a/frontend/server/public/images/units/a-400.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-50.png b/frontend/server/public/images/units/a-50.png deleted file mode 100644 index 96292111..00000000 Binary files a/frontend/server/public/images/units/a-50.png and /dev/null differ diff --git a/frontend/server/public/images/units/a-6.png b/frontend/server/public/images/units/a-6.png deleted file mode 100644 index ad4fe2cb..00000000 Binary files a/frontend/server/public/images/units/a-6.png and /dev/null differ diff --git a/frontend/server/public/images/units/ah-1.png b/frontend/server/public/images/units/ah-1.png deleted file mode 100644 index 39c3c73e..00000000 Binary files a/frontend/server/public/images/units/ah-1.png and /dev/null differ diff --git a/frontend/server/public/images/units/ah-64.png b/frontend/server/public/images/units/ah-64.png deleted file mode 100644 index b56b62bb..00000000 Binary files a/frontend/server/public/images/units/ah-64.png and /dev/null differ diff --git a/frontend/server/public/images/units/airUnit.png b/frontend/server/public/images/units/airUnit.png deleted file mode 100644 index 29d28433..00000000 Binary files a/frontend/server/public/images/units/airUnit.png and /dev/null differ diff --git a/frontend/server/public/images/units/aircraft.svg b/frontend/server/public/images/units/aircraft.svg deleted file mode 100644 index eefd55d1..00000000 --- a/frontend/server/public/images/units/aircraft.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/airliner2engine.png b/frontend/server/public/images/units/airliner2engine.png deleted file mode 100644 index c296d125..00000000 Binary files a/frontend/server/public/images/units/airliner2engine.png and /dev/null differ diff --git a/frontend/server/public/images/units/an-26.png b/frontend/server/public/images/units/an-26.png deleted file mode 100644 index 0d7be716..00000000 Binary files a/frontend/server/public/images/units/an-26.png and /dev/null differ diff --git a/frontend/server/public/images/units/av8bna.png b/frontend/server/public/images/units/av8bna.png deleted file mode 100644 index 194c13ec..00000000 Binary files a/frontend/server/public/images/units/av8bna.png and /dev/null differ diff --git a/frontend/server/public/images/units/b-1.png b/frontend/server/public/images/units/b-1.png deleted file mode 100644 index 964bfb59..00000000 Binary files a/frontend/server/public/images/units/b-1.png and /dev/null differ diff --git a/frontend/server/public/images/units/b-17.png b/frontend/server/public/images/units/b-17.png deleted file mode 100644 index 1c0a4dbf..00000000 Binary files a/frontend/server/public/images/units/b-17.png and /dev/null differ diff --git a/frontend/server/public/images/units/b-2.png b/frontend/server/public/images/units/b-2.png deleted file mode 100644 index afcc4241..00000000 Binary files a/frontend/server/public/images/units/b-2.png and /dev/null differ diff --git a/frontend/server/public/images/units/b-52.png b/frontend/server/public/images/units/b-52.png deleted file mode 100644 index 63bfd5d3..00000000 Binary files a/frontend/server/public/images/units/b-52.png and /dev/null differ diff --git a/frontend/server/public/images/units/b707.png b/frontend/server/public/images/units/b707.png deleted file mode 100644 index 267423fe..00000000 Binary files a/frontend/server/public/images/units/b707.png and /dev/null differ diff --git a/frontend/server/public/images/units/bf109.png b/frontend/server/public/images/units/bf109.png deleted file mode 100644 index a4ea8316..00000000 Binary files a/frontend/server/public/images/units/bf109.png and /dev/null differ diff --git a/frontend/server/public/images/units/bomb.svg b/frontend/server/public/images/units/bomb.svg deleted file mode 100644 index d13bad6a..00000000 --- a/frontend/server/public/images/units/bomb.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/c-101.png b/frontend/server/public/images/units/c-101.png deleted file mode 100644 index 546f8d56..00000000 Binary files a/frontend/server/public/images/units/c-101.png and /dev/null differ diff --git a/frontend/server/public/images/units/c-130.png b/frontend/server/public/images/units/c-130.png deleted file mode 100644 index fd15e590..00000000 Binary files a/frontend/server/public/images/units/c-130.png and /dev/null differ diff --git a/frontend/server/public/images/units/c-17.png b/frontend/server/public/images/units/c-17.png deleted file mode 100644 index ec37926c..00000000 Binary files a/frontend/server/public/images/units/c-17.png and /dev/null differ diff --git a/frontend/server/public/images/units/c-5.png b/frontend/server/public/images/units/c-5.png deleted file mode 100644 index c864a11f..00000000 Binary files a/frontend/server/public/images/units/c-5.png and /dev/null differ diff --git a/frontend/server/public/images/units/ch-47.png b/frontend/server/public/images/units/ch-47.png deleted file mode 100644 index 96c4ffb5..00000000 Binary files a/frontend/server/public/images/units/ch-47.png and /dev/null differ diff --git a/frontend/server/public/images/units/ch-53.png b/frontend/server/public/images/units/ch-53.png deleted file mode 100644 index 8327da78..00000000 Binary files a/frontend/server/public/images/units/ch-53.png and /dev/null differ diff --git a/frontend/server/public/images/units/death.svg b/frontend/server/public/images/units/death.svg deleted file mode 100644 index fb680f06..00000000 --- a/frontend/server/public/images/units/death.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/e-2.png b/frontend/server/public/images/units/e-2.png deleted file mode 100644 index b2c4a30b..00000000 Binary files a/frontend/server/public/images/units/e-2.png and /dev/null differ diff --git a/frontend/server/public/images/units/e-3.png b/frontend/server/public/images/units/e-3.png deleted file mode 100644 index c7385b45..00000000 Binary files a/frontend/server/public/images/units/e-3.png and /dev/null differ diff --git a/frontend/server/public/images/units/eurofighter.png b/frontend/server/public/images/units/eurofighter.png deleted file mode 100644 index fc0ee314..00000000 Binary files a/frontend/server/public/images/units/eurofighter.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-1.png b/frontend/server/public/images/units/f-1.png deleted file mode 100644 index 03ef0988..00000000 Binary files a/frontend/server/public/images/units/f-1.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-111.png b/frontend/server/public/images/units/f-111.png deleted file mode 100644 index b80dde96..00000000 Binary files a/frontend/server/public/images/units/f-111.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-117.png b/frontend/server/public/images/units/f-117.png deleted file mode 100644 index 37cbc2c7..00000000 Binary files a/frontend/server/public/images/units/f-117.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-14.png b/frontend/server/public/images/units/f-14.png deleted file mode 100644 index 78a14e12..00000000 Binary files a/frontend/server/public/images/units/f-14.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-15.png b/frontend/server/public/images/units/f-15.png deleted file mode 100644 index 4293dc9f..00000000 Binary files a/frontend/server/public/images/units/f-15.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-16c.png b/frontend/server/public/images/units/f-16c.png deleted file mode 100644 index 1a60dc6b..00000000 Binary files a/frontend/server/public/images/units/f-16c.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-22.png b/frontend/server/public/images/units/f-22.png deleted file mode 100644 index 8f269b17..00000000 Binary files a/frontend/server/public/images/units/f-22.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-35.png b/frontend/server/public/images/units/f-35.png deleted file mode 100644 index 0dc21a13..00000000 Binary files a/frontend/server/public/images/units/f-35.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-4.png b/frontend/server/public/images/units/f-4.png deleted file mode 100644 index 12739dbd..00000000 Binary files a/frontend/server/public/images/units/f-4.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-5.png b/frontend/server/public/images/units/f-5.png deleted file mode 100644 index 96a0fd9a..00000000 Binary files a/frontend/server/public/images/units/f-5.png and /dev/null differ diff --git a/frontend/server/public/images/units/f-86.png b/frontend/server/public/images/units/f-86.png deleted file mode 100644 index 6ec3c491..00000000 Binary files a/frontend/server/public/images/units/f-86.png and /dev/null differ diff --git a/frontend/server/public/images/units/fa-18c.png b/frontend/server/public/images/units/fa-18c.png deleted file mode 100644 index 2f11a356..00000000 Binary files a/frontend/server/public/images/units/fa-18c.png and /dev/null differ diff --git a/frontend/server/public/images/units/fw190.png b/frontend/server/public/images/units/fw190.png deleted file mode 100644 index 505a15c2..00000000 Binary files a/frontend/server/public/images/units/fw190.png and /dev/null differ diff --git a/frontend/server/public/images/units/general1.png b/frontend/server/public/images/units/general1.png deleted file mode 100644 index 2e5e95af..00000000 Binary files a/frontend/server/public/images/units/general1.png and /dev/null differ diff --git a/frontend/server/public/images/units/gripen.png b/frontend/server/public/images/units/gripen.png deleted file mode 100644 index 34eb854e..00000000 Binary files a/frontend/server/public/images/units/gripen.png and /dev/null differ diff --git a/frontend/server/public/images/units/groundunit-aaa.svg b/frontend/server/public/images/units/groundunit-aaa.svg deleted file mode 100644 index beeb5fa6..00000000 --- a/frontend/server/public/images/units/groundunit-aaa.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - A - - A - A - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit-apc.svg b/frontend/server/public/images/units/groundunit-apc.svg deleted file mode 100644 index 9f227819..00000000 --- a/frontend/server/public/images/units/groundunit-apc.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit-artillery.svg b/frontend/server/public/images/units/groundunit-artillery.svg deleted file mode 100644 index 78a5be80..00000000 --- a/frontend/server/public/images/units/groundunit-artillery.svg +++ /dev/null @@ -1,3 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit-ewr.svg b/frontend/server/public/images/units/groundunit-ewr.svg deleted file mode 100644 index fa2775fc..00000000 --- a/frontend/server/public/images/units/groundunit-ewr.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit-infantry.svg b/frontend/server/public/images/units/groundunit-infantry.svg deleted file mode 100644 index 92268c40..00000000 --- a/frontend/server/public/images/units/groundunit-infantry.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit-sam-launcher.svg b/frontend/server/public/images/units/groundunit-sam-launcher.svg deleted file mode 100644 index ebe2ff8f..00000000 --- a/frontend/server/public/images/units/groundunit-sam-launcher.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit-sam-radar.svg b/frontend/server/public/images/units/groundunit-sam-radar.svg deleted file mode 100644 index 18c3f6a5..00000000 --- a/frontend/server/public/images/units/groundunit-sam-radar.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit-sam.svg b/frontend/server/public/images/units/groundunit-sam.svg deleted file mode 100644 index 1f0e68f1..00000000 --- a/frontend/server/public/images/units/groundunit-sam.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit-tactical.svg b/frontend/server/public/images/units/groundunit-tactical.svg deleted file mode 100644 index 40bdae5f..00000000 --- a/frontend/server/public/images/units/groundunit-tactical.svg +++ /dev/null @@ -1,3 +0,0 @@ - - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit-tank.svg b/frontend/server/public/images/units/groundunit-tank.svg deleted file mode 100644 index 272113e3..00000000 --- a/frontend/server/public/images/units/groundunit-tank.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit-truck.svg b/frontend/server/public/images/units/groundunit-truck.svg deleted file mode 100644 index aa581462..00000000 --- a/frontend/server/public/images/units/groundunit-truck.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/groundunit.svg b/frontend/server/public/images/units/groundunit.svg deleted file mode 100644 index 8d74c672..00000000 --- a/frontend/server/public/images/units/groundunit.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/h-6.png b/frontend/server/public/images/units/h-6.png deleted file mode 100644 index 573ffda2..00000000 Binary files a/frontend/server/public/images/units/h-6.png and /dev/null differ diff --git a/frontend/server/public/images/units/hawk.png b/frontend/server/public/images/units/hawk.png deleted file mode 100644 index 27f2ffe2..00000000 Binary files a/frontend/server/public/images/units/hawk.png and /dev/null differ diff --git a/frontend/server/public/images/units/helicopter.svg b/frontend/server/public/images/units/helicopter.svg deleted file mode 100644 index cb79e8cc..00000000 --- a/frontend/server/public/images/units/helicopter.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/helicopter1.png b/frontend/server/public/images/units/helicopter1.png deleted file mode 100644 index 6e085372..00000000 Binary files a/frontend/server/public/images/units/helicopter1.png and /dev/null differ diff --git a/frontend/server/public/images/units/i-16.png b/frontend/server/public/images/units/i-16.png deleted file mode 100644 index 8e8a92f9..00000000 Binary files a/frontend/server/public/images/units/i-16.png and /dev/null differ diff --git a/frontend/server/public/images/units/il-76.png b/frontend/server/public/images/units/il-76.png deleted file mode 100644 index fa697729..00000000 Binary files a/frontend/server/public/images/units/il-76.png and /dev/null differ diff --git a/frontend/server/public/images/units/j-10.png b/frontend/server/public/images/units/j-10.png deleted file mode 100644 index 5cf11e78..00000000 Binary files a/frontend/server/public/images/units/j-10.png and /dev/null differ diff --git a/frontend/server/public/images/units/j-20.png b/frontend/server/public/images/units/j-20.png deleted file mode 100644 index 4ee50e96..00000000 Binary files a/frontend/server/public/images/units/j-20.png and /dev/null differ diff --git a/frontend/server/public/images/units/j-7.png b/frontend/server/public/images/units/j-7.png deleted file mode 100644 index b67a5b2f..00000000 Binary files a/frontend/server/public/images/units/j-7.png and /dev/null differ diff --git a/frontend/server/public/images/units/jf-17.png b/frontend/server/public/images/units/jf-17.png deleted file mode 100644 index da0fe721..00000000 Binary files a/frontend/server/public/images/units/jf-17.png and /dev/null differ diff --git a/frontend/server/public/images/units/ju-88.png b/frontend/server/public/images/units/ju-88.png deleted file mode 100644 index 73a540f6..00000000 Binary files a/frontend/server/public/images/units/ju-88.png and /dev/null differ diff --git a/frontend/server/public/images/units/ka-27.png b/frontend/server/public/images/units/ka-27.png deleted file mode 100644 index 7c2ffcff..00000000 Binary files a/frontend/server/public/images/units/ka-27.png and /dev/null differ diff --git a/frontend/server/public/images/units/ka-50.png b/frontend/server/public/images/units/ka-50.png deleted file mode 100644 index 2acf87d8..00000000 Binary files a/frontend/server/public/images/units/ka-50.png and /dev/null differ diff --git a/frontend/server/public/images/units/kc-10.png b/frontend/server/public/images/units/kc-10.png deleted file mode 100644 index 205d7e3c..00000000 Binary files a/frontend/server/public/images/units/kc-10.png and /dev/null differ diff --git a/frontend/server/public/images/units/kc-135.png b/frontend/server/public/images/units/kc-135.png deleted file mode 100644 index a1f23b30..00000000 Binary files a/frontend/server/public/images/units/kc-135.png and /dev/null differ diff --git a/frontend/server/public/images/units/l-159.png b/frontend/server/public/images/units/l-159.png deleted file mode 100644 index d81d3631..00000000 Binary files a/frontend/server/public/images/units/l-159.png and /dev/null differ diff --git a/frontend/server/public/images/units/l-39.png b/frontend/server/public/images/units/l-39.png deleted file mode 100644 index 868bf651..00000000 Binary files a/frontend/server/public/images/units/l-39.png and /dev/null differ diff --git a/frontend/server/public/images/units/m2000.png b/frontend/server/public/images/units/m2000.png deleted file mode 100644 index 7e3be642..00000000 Binary files a/frontend/server/public/images/units/m2000.png and /dev/null differ diff --git a/frontend/server/public/images/units/mb-339.png b/frontend/server/public/images/units/mb-339.png deleted file mode 100644 index 98d3b350..00000000 Binary files a/frontend/server/public/images/units/mb-339.png and /dev/null differ diff --git a/frontend/server/public/images/units/mi-24.png b/frontend/server/public/images/units/mi-24.png deleted file mode 100644 index 64c99f81..00000000 Binary files a/frontend/server/public/images/units/mi-24.png and /dev/null differ diff --git a/frontend/server/public/images/units/mi-26.png b/frontend/server/public/images/units/mi-26.png deleted file mode 100644 index 14c51d70..00000000 Binary files a/frontend/server/public/images/units/mi-26.png and /dev/null differ diff --git a/frontend/server/public/images/units/mi-28.png b/frontend/server/public/images/units/mi-28.png deleted file mode 100644 index 6e1acedc..00000000 Binary files a/frontend/server/public/images/units/mi-28.png and /dev/null differ diff --git a/frontend/server/public/images/units/mi-8.png b/frontend/server/public/images/units/mi-8.png deleted file mode 100644 index f5c004d6..00000000 Binary files a/frontend/server/public/images/units/mi-8.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-15.png b/frontend/server/public/images/units/mig-15.png deleted file mode 100644 index 8ff2fc25..00000000 Binary files a/frontend/server/public/images/units/mig-15.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-19.png b/frontend/server/public/images/units/mig-19.png deleted file mode 100644 index 00722e72..00000000 Binary files a/frontend/server/public/images/units/mig-19.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-21.png b/frontend/server/public/images/units/mig-21.png deleted file mode 100644 index c5ea25db..00000000 Binary files a/frontend/server/public/images/units/mig-21.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-23.png b/frontend/server/public/images/units/mig-23.png deleted file mode 100644 index db4816a5..00000000 Binary files a/frontend/server/public/images/units/mig-23.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-25.png b/frontend/server/public/images/units/mig-25.png deleted file mode 100644 index 89e4b4b5..00000000 Binary files a/frontend/server/public/images/units/mig-25.png and /dev/null differ diff --git a/frontend/server/public/images/units/mig-29.png b/frontend/server/public/images/units/mig-29.png deleted file mode 100644 index 8d51acda..00000000 Binary files a/frontend/server/public/images/units/mig-29.png and /dev/null differ diff --git a/frontend/server/public/images/units/missile.svg b/frontend/server/public/images/units/missile.svg deleted file mode 100644 index 0593f71d..00000000 --- a/frontend/server/public/images/units/missile.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/mosquito.png b/frontend/server/public/images/units/mosquito.png deleted file mode 100644 index a7bf07e7..00000000 Binary files a/frontend/server/public/images/units/mosquito.png and /dev/null differ diff --git a/frontend/server/public/images/units/navyunit.svg b/frontend/server/public/images/units/navyunit.svg deleted file mode 100644 index 2584f42b..00000000 --- a/frontend/server/public/images/units/navyunit.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/oh-58.png b/frontend/server/public/images/units/oh-58.png deleted file mode 100644 index 3429cf59..00000000 Binary files a/frontend/server/public/images/units/oh-58.png and /dev/null differ diff --git a/frontend/server/public/images/units/p-47.png b/frontend/server/public/images/units/p-47.png deleted file mode 100644 index 23d70951..00000000 Binary files a/frontend/server/public/images/units/p-47.png and /dev/null differ diff --git a/frontend/server/public/images/units/p-51.png b/frontend/server/public/images/units/p-51.png deleted file mode 100644 index a38eea64..00000000 Binary files a/frontend/server/public/images/units/p-51.png and /dev/null differ diff --git a/frontend/server/public/images/units/rafale.png b/frontend/server/public/images/units/rafale.png deleted file mode 100644 index e577e93d..00000000 Binary files a/frontend/server/public/images/units/rafale.png and /dev/null differ diff --git a/frontend/server/public/images/units/rq-1.png b/frontend/server/public/images/units/rq-1.png deleted file mode 100644 index 7490b5ff..00000000 Binary files a/frontend/server/public/images/units/rq-1.png and /dev/null differ diff --git a/frontend/server/public/images/units/rq-4.png b/frontend/server/public/images/units/rq-4.png deleted file mode 100644 index 95cbc0ee..00000000 Binary files a/frontend/server/public/images/units/rq-4.png and /dev/null differ diff --git a/frontend/server/public/images/units/s-3.png b/frontend/server/public/images/units/s-3.png deleted file mode 100644 index 396fe2d9..00000000 Binary files a/frontend/server/public/images/units/s-3.png and /dev/null differ diff --git a/frontend/server/public/images/units/sa-342.png b/frontend/server/public/images/units/sa-342.png deleted file mode 100644 index 678776ac..00000000 Binary files a/frontend/server/public/images/units/sa-342.png and /dev/null differ diff --git a/frontend/server/public/images/units/sam.png b/frontend/server/public/images/units/sam.png deleted file mode 100644 index 7f201afc..00000000 Binary files a/frontend/server/public/images/units/sam.png and /dev/null differ diff --git a/frontend/server/public/images/units/spitfire.png b/frontend/server/public/images/units/spitfire.png deleted file mode 100644 index 65d3d1ca..00000000 Binary files a/frontend/server/public/images/units/spitfire.png and /dev/null differ diff --git a/frontend/server/public/images/units/static.svg b/frontend/server/public/images/units/static.svg deleted file mode 100644 index a5511a12..00000000 --- a/frontend/server/public/images/units/static.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/server/public/images/units/su-17.png b/frontend/server/public/images/units/su-17.png deleted file mode 100644 index 47dd52e9..00000000 Binary files a/frontend/server/public/images/units/su-17.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-24.png b/frontend/server/public/images/units/su-24.png deleted file mode 100644 index 0928ca61..00000000 Binary files a/frontend/server/public/images/units/su-24.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-25.png b/frontend/server/public/images/units/su-25.png deleted file mode 100644 index 9a9fca64..00000000 Binary files a/frontend/server/public/images/units/su-25.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-27.png b/frontend/server/public/images/units/su-27.png deleted file mode 100644 index b2c18cbe..00000000 Binary files a/frontend/server/public/images/units/su-27.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-34.png b/frontend/server/public/images/units/su-34.png deleted file mode 100644 index de88958e..00000000 Binary files a/frontend/server/public/images/units/su-34.png and /dev/null differ diff --git a/frontend/server/public/images/units/su-57.png b/frontend/server/public/images/units/su-57.png deleted file mode 100644 index 56d835b5..00000000 Binary files a/frontend/server/public/images/units/su-57.png and /dev/null differ diff --git a/frontend/server/public/images/units/tornado.png b/frontend/server/public/images/units/tornado.png deleted file mode 100644 index d3eacb52..00000000 Binary files a/frontend/server/public/images/units/tornado.png and /dev/null differ diff --git a/frontend/server/public/images/units/tu-160.png b/frontend/server/public/images/units/tu-160.png deleted file mode 100644 index 7f2b28f5..00000000 Binary files a/frontend/server/public/images/units/tu-160.png and /dev/null differ diff --git a/frontend/server/public/images/units/tu-22.png b/frontend/server/public/images/units/tu-22.png deleted file mode 100644 index c807bd73..00000000 Binary files a/frontend/server/public/images/units/tu-22.png and /dev/null differ diff --git a/frontend/server/public/images/units/tu-95.png b/frontend/server/public/images/units/tu-95.png deleted file mode 100644 index 73e5cdfa..00000000 Binary files a/frontend/server/public/images/units/tu-95.png and /dev/null differ diff --git a/frontend/server/public/images/units/u-28.png b/frontend/server/public/images/units/u-28.png deleted file mode 100644 index 6577d344..00000000 Binary files a/frontend/server/public/images/units/u-28.png and /dev/null differ diff --git a/frontend/server/public/images/units/uh-1.png b/frontend/server/public/images/units/uh-1.png deleted file mode 100644 index 1bd45cb4..00000000 Binary files a/frontend/server/public/images/units/uh-1.png and /dev/null differ diff --git a/frontend/server/public/images/units/uh-60.png b/frontend/server/public/images/units/uh-60.png deleted file mode 100644 index 66513c80..00000000 Binary files a/frontend/server/public/images/units/uh-60.png and /dev/null differ diff --git a/frontend/server/public/images/units/viggen.png b/frontend/server/public/images/units/viggen.png deleted file mode 100644 index 2e775f55..00000000 Binary files a/frontend/server/public/images/units/viggen.png and /dev/null differ diff --git a/frontend/server/public/images/units/yak-40.png b/frontend/server/public/images/units/yak-40.png deleted file mode 100644 index 46fdf8f8..00000000 Binary files a/frontend/server/public/images/units/yak-40.png and /dev/null differ diff --git a/frontend/server/public/images/units/yak-52.png b/frontend/server/public/images/units/yak-52.png deleted file mode 100644 index 4b2c4845..00000000 Binary files a/frontend/server/public/images/units/yak-52.png and /dev/null differ diff --git a/frontend/server/src/app.ts b/frontend/server/src/app.ts index be0fa550..e2534d67 100644 --- a/frontend/server/src/app.ts +++ b/frontend/server/src/app.ts @@ -61,7 +61,7 @@ module.exports = function (configLocation, viteProxy) { "/vite", httpProxyMiddleware.createProxyMiddleware({ target: `http://localhost:8080/`, - ws: true, + ws: true }) ); }