-
Notifications
You must be signed in to change notification settings - Fork 0
/
10-es2015.75e6b9db38ff1fcb8e84.js
1 lines (1 loc) · 74.8 KB
/
10-es2015.75e6b9db38ff1fcb8e84.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{GrHH:function(t){t.exports=JSON.parse('[{"label":"Non-signed message","type":"bad_sign","value":"bad_sign"},{"label":"Non-valid certificate message","type":"bad_cert","value":"bad_cert"},{"label":"Non-authorized message","type":"bad_auth","value":"bad_auth"},{"label":"Replayed message","type":"replayed","value":"replayed"},{"label":"OBU tampering attack","type":"obu","value":"obu"}]')},j7vV:function(t,e,n){"use strict";n.r(e),n.d(e,"MapModule",(function(){return Ut}));var o=n("tyNb"),i=n("XNiG"),r=n("7o/Q"),s=n("HDdC"),a=n("quSY");class c extends a.a{constructor(t,e){super()}schedule(t,e=0){return this}}class l extends c{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,o=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(o,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,o=void 0;try{this.work(t)}catch(i){n=!0,o=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),o}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,o=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&n.splice(o,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}class h extends l{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}let m=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class d extends m{constructor(t,e=m.now){super(t,()=>d.delegate&&d.delegate!==this?d.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return d.delegate&&d.delegate!==this?d.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}class p extends d{}const g=new p(h);var u=n("EY2u"),b=n("LRne");function f(t,e){return new s.a(e?n=>e.schedule(_,0,{error:t,subscriber:n}):e=>e.error(t))}function _({error:t,subscriber:e}){e.error(t)}let C=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(b.a)(this.value);case"E":return f(this.error);case"C":return Object(u.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class w extends r.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(w.dispatch,this.delay,new M(t,this.destination)))}_next(t){this.scheduleMessage(C.createNext(t))}_error(t){this.scheduleMessage(C.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(C.createComplete()),this.unsubscribe()}}class M{constructor(t,e){this.notification=t,this.destination=e}}var v=n("9ppp"),O=n("Ylt2");class y extends i.b{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new P(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,i=n.length;let r;if(this.closed)throw new v.a;if(this.isStopped||this.hasError?r=a.a.EMPTY:(this.observers.push(t),r=new O.a(this,t)),o&&t.add(t=new w(t,o)),e)for(let s=0;s<i&&!t.closed;s++)t.next(n[s]);else for(let s=0;s<i&&!t.closed;s++)t.next(n[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),r}_getNow(){return(this.scheduler||g).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,o=this._events,i=o.length;let r=0;for(;r<i&&!(t-o[r].time<n);)r++;return i>e&&(r=Math.max(r,i-e)),r>0&&o.splice(0,r),o}}class P{constructor(t,e){this.time=t,this.value=e}}const x={url:"",deserializer:t=>JSON.parse(t.data),serializer:t=>JSON.stringify(t)};class I extends i.a{constructor(t,e){if(super(),t instanceof s.a)this.destination=e,this.source=t;else{const e=this._config=Object.assign({},x);if(this._output=new i.b,"string"==typeof t)e.url=t;else for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);if(!e.WebSocketCtor&&WebSocket)e.WebSocketCtor=WebSocket;else if(!e.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new y}}lift(t){const e=new I(this._config,this.destination);return e.operator=t,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new y),this._output=new i.b}multiplex(t,e,n){const o=this;return new s.a(i=>{try{o.next(t())}catch(s){i.error(s)}const r=o.subscribe(t=>{try{n(t)&&i.next(t)}catch(s){i.error(s)}},t=>i.error(t),()=>i.complete());return()=>{try{o.next(e())}catch(s){i.error(s)}r.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:t,protocol:e,url:n,binaryType:o}=this._config,i=this._output;let s=null;try{s=e?new t(n,e):new t(n),this._socket=s,o&&(this._socket.binaryType=o)}catch(l){return void i.error(l)}const c=new a.a(()=>{this._socket=null,s&&1===s.readyState&&s.close()});s.onopen=t=>{const{_socket:e}=this;if(!e)return s.close(),void this._resetState();const{openObserver:n}=this._config;n&&n.next(t);const o=this.destination;this.destination=r.a.create(e=>{if(1===s.readyState)try{const{serializer:t}=this._config;s.send(t(e))}catch(t){this.destination.error(t)}},t=>{const{closingObserver:e}=this._config;e&&e.next(void 0),t&&t.code?s.close(t.code,t.reason):i.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:t}=this._config;t&&t.next(void 0),s.close(),this._resetState()}),o&&o instanceof y&&c.add(o.subscribe(this.destination))},s.onerror=t=>{this._resetState(),i.error(t)},s.onclose=t=>{this._resetState();const{closeObserver:e}=this._config;e&&e.next(t),t.wasClean?i.complete():i.error(t)},s.onmessage=t=>{try{const{deserializer:e}=this._config;i.next(e(t))}catch(e){i.error(e)}}}_subscribe(t){const{source:e}=this;return e?e.subscribe(t):(this._socket||this._connectSocket(),this._output.subscribe(t),t.add(()=>{const{_socket:t}=this;0===this._output.observers.length&&(t&&1===t.readyState&&t.close(),this._resetState())}),t)}unsubscribe(){const{_socket:t}=this;t&&1===t.readyState&&t.close(),this._resetState(),super.unsubscribe()}}var S=n("GrHH"),k=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.PEDESTRIAN=1]="PEDESTRIAN",t[t.CYCLIST=2]="CYCLIST",t[t.MOPED=3]="MOPED",t[t.MOTORCYCLE=4]="MOTORCYCLE",t[t.PASSENGERCAR=5]="PASSENGERCAR",t[t.BUS=6]="BUS",t[t.LIGHTTRUCK=7]="LIGHTTRUCK",t[t.HEAVYTRUCK=8]="HEAVYTRUCK",t[t.TRAILER=9]="TRAILER",t[t.SPECIALVEHICLES=10]="SPECIALVEHICLES",t[t.TRAM=11]="TRAM",t[t.ROADSIDEUNIT=15]="ROADSIDEUNIT",t}({}),E=n("fXoL"),T=n("sXtk"),z=n("TEn/"),L=n("3sZV"),A=n("ofXK");let N;try{N="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Dt){N=!1}let R=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(A.n)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!N)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(E.Qb(E.B))},t.\u0275prov=Object(E.Fb)({factory:function(){return new t(Object(E.Qb)(E.B))},token:t,providedIn:"root"}),t})();var j=n("vkgz"),F=n("pLZG"),B=n("lJxs"),H=n("IzEk");"undefined"!=typeof Element&∈let U=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,o=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),o){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(E.Qb(R),E.Qb(A.c))},t.\u0275prov=Object(E.Fb)({factory:function(){return new t(Object(E.Qb)(R),Object(E.Qb)(A.c))},token:t,providedIn:"root"}),t})(),D=(()=>{class t{}return t.\u0275mod=E.Hb({type:t}),t.\u0275inj=E.Gb({factory:function(e){return new(e||t)}}),t})();const W=new E.O("10.2.7");n("JX91"),n("R1ws");const V=new E.O("10.2.7"),G=new E.q("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let K,q=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return Object(E.V)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);const o=getComputedStyle(n);o&&"none"!==o.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(n)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&V.full!==W.full&&console.warn("The Angular Material version ("+V.full+") does not match the Angular CDK version ("+W.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=E.Hb({type:t}),t.\u0275inj=E.Gb({factory:function(e){return new(e||t)(E.Qb(U),E.Qb(G,8),E.Qb(A.c,8))},imports:[[D],D]}),t})();function Y(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-"+e),this._color=e)}}}try{K="undefined"!=typeof Intl}catch(Dt){K=!1}var $=n("cp0P"),Q=n("JIr8"),J=n("nYR2"),Z=n("w1tV"),X=n("bOdf");class tt{}class et{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),o=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(i):this.headers.set(o,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const o=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(o,n),this.maybeSetNormalizedName(e,o))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof et?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new et;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof et?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const o=("a"===t.op?this.headers.get(e):void 0)||[];o.push(...n),this.headers.set(e,o);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class nt{encodeKey(t){return ot(t)}encodeValue(t){return ot(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function ot(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class it{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new nt,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const o=t.indexOf("="),[i,r]=-1==o?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,o)),e.decodeValue(t.slice(o+1))],s=n.get(i)||[];s.push(r),n.set(i,s)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new it({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function rt(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function st(t){return"undefined"!=typeof Blob&&t instanceof Blob}function at(t){return"undefined"!=typeof FormData&&t instanceof FormData}class ct{constructor(t,e,n,o){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==n?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new et),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new it,this.urlWithParams=e}serializeBody(){return null===this.body?null:rt(this.body)||st(this.body)||at(this.body)||"string"==typeof this.body?this.body:this.body instanceof it?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||at(this.body)?null:st(this.body)?this.body.type||null:rt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof it?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,r=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new ct(e,n,i,{params:c,headers:a,reportProgress:s,responseType:o,withCredentials:r})}}var lt=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class ht extends class{constructor(t,e=200,n="OK"){this.headers=t.headers||new et,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}{constructor(t={}){super(t),this.type=lt.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ht({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}function mt(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let dt=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let o;if(t instanceof ct)o=t;else{let i=void 0;i=n.headers instanceof et?n.headers:new et(n.headers);let r=void 0;n.params&&(r=n.params instanceof it?n.params:new it({fromObject:n.params})),o=new ct(t,e,void 0!==n.body?n.body:null,{headers:i,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Object(b.a)(o).pipe(Object(X.a)(t=>this.handler.handle(t)));if(t instanceof ct||"events"===n.observe)return i;const r=i.pipe(Object(F.a)(t=>t instanceof ht));switch(n.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return r.pipe(Object(B.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe(Object(B.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe(Object(B.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe(Object(B.a)(t=>t.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new it).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,mt(n,e))}post(t,e,n={}){return this.request("POST",t,mt(n,e))}put(t,e,n={}){return this.request("PUT",t,mt(n,e))}}return t.\u0275fac=function(e){return new(e||t)(E.Qb(tt))},t.\u0275prov=E.Fb({token:t,factory:t.\u0275fac}),t})();var pt=n("jhN1");const gt=["*"];function ut(t){return Error(`Unable to find icon with the name "${t}"`)}function bt(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function ft(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class _t{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let Ct=(()=>{class t{constructor(t,e,n,o){this._httpClient=t,this._sanitizer=e,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,o){return this._addSvgIconConfig(t,e,new _t(n,null,o))}addSvgIconLiteralInNamespace(t,e,n,o){const i=this._sanitizer.sanitize(E.I.HTML,n);if(!i)throw ft(n);return this._addSvgIconConfig(t,e,new _t("",i,o))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new _t(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const o=this._sanitizer.sanitize(E.I.HTML,e);if(!o)throw ft(e);return this._addSvgIconSetConfig(t,new _t("",o,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(E.I.RESOURCE_URL,t);if(!e)throw bt(t);const n=this._cachedIconsByUrl.get(e);return n?Object(b.a)(wt(n)):this._loadSvgIconFromConfig(new _t(t,null)).pipe(Object(j.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(B.a)(t=>wt(t)))}getNamedSvgIcon(t,e=""){const n=Mt(e,t),o=this._svgIconConfigs.get(n);if(o)return this._getSvgFromConfig(o);const i=this._iconSetConfigs.get(e);return i?this._getSvgFromIconSetConfigs(t,i):f(ut(n))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Object(b.a)(wt(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Object(B.a)(t=>wt(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return Object(b.a)(n);const o=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(Q.a)(e=>{const n=this._sanitizer.sanitize(E.I.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${e.message}`)),Object(b.a)(null)})));return Object($.a)(o).pipe(Object(B.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw ut(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const o=e[n];if(o.svgText&&o.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(o),n=this._extractSvgIconFromSet(e,t,o.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Object(j.a)(e=>t.svgText=e),Object(B.a)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Object(b.a)(null):this._fetchIcon(t).pipe(Object(j.a)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const o=t.querySelector(`[id="${e}"]`);if(!o)return null;const i=o.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,n);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),n);const r=this._svgElementFromString("<svg></svg>");return r.appendChild(i),this._setSvgAttributes(r,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString("<svg></svg>"),n=t.attributes;for(let o=0;o<n.length;o++){const{name:t,value:i}=n[o];"id"!==t&&e.setAttribute(t,i)}for(let o=0;o<t.childNodes.length;o++)t.childNodes[o].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[o].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){var e;const{url:n,options:o}=t,i=null!==(e=null==o?void 0:o.withCredentials)&&void 0!==e&&e;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const r=this._sanitizer.sanitize(E.I.RESOURCE_URL,n);if(!r)throw bt(n);const s=this._inProgressUrlFetches.get(r);if(s)return s;const a=this._httpClient.get(r,{responseType:"text",withCredentials:i}).pipe(Object(J.a)(()=>this._inProgressUrlFetches.delete(r)),Object(Z.a)());return this._inProgressUrlFetches.set(r,a),a}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(Mt(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}}return t.\u0275fac=function(e){return new(e||t)(E.Qb(dt,8),E.Qb(pt.b),E.Qb(A.c,8),E.Qb(E.m))},t.\u0275prov=Object(E.Fb)({factory:function(){return new t(Object(E.Qb)(dt,8),Object(E.Qb)(pt.b),Object(E.Qb)(A.c,8),Object(E.Qb)(E.m))},token:t,providedIn:"root"}),t})();function wt(t){return t.cloneNode(!0)}function Mt(t,e){return t+":"+e}class vt{constructor(t){this._elementRef=t}}const Ot=Y(vt),yt=new E.q("mat-icon-location",{providedIn:"root",factory:function(){const t=Object(E.U)(A.c),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),Pt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],xt=Pt.map(t=>`[${t}]`).join(", "),It=/^url\(['"]?#(.*?)['"]?\)$/;let St=(()=>{class t extends Ot{constructor(t,e,n,o,i){super(t),this._iconRegistry=e,this._location=o,this._errorHandler=i,this._inline=!1,this._currentIconFetch=a.a.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){var e;this._inline=null!=(e=t)&&""+e!="false"}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let o=0;o<e.length;o++)e[o].textContent+=" ";const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(xt),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<e.length;o++)Pt.forEach(t=>{const i=e[o],r=i.getAttribute(t),s=r?r.match(It):null;if(s){let e=n.get(i);e||(e=[],n.set(i,e)),e.push({name:t,value:s[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(Object(H.a)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(E.Jb(E.l),E.Jb(Ct),E.Rb("aria-hidden"),E.Jb(yt),E.Jb(E.m))},t.\u0275cmp=E.Db({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(E.Ab("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),E.Bb("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[E.wb],ngContentSelectors:gt,decls:1,vars:0,template:function(t,e){1&t&&(E.Yb(),E.Xb(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),kt=(()=>{class t{}return t.\u0275mod=E.Hb({type:t}),t.\u0275inj=E.Gb({factory:function(e){return new(e||t)},imports:[[q],q]}),t})();const Et=["googleMap"];function Tt(t,e){if(1&t){const t=E.Nb();E.Mb(0,"map-marker",16,17),E.Ub("mapClick",(function(){E.dc(t);const n=e.$implicit;return E.Wb().markerSelectedEvent(n)})),E.Lb()}if(2&t){const t=e.$implicit,n=E.Wb();E.Zb("options",n.getMarkerOptions(t))}}function zt(t,e){if(1&t){const t=E.Nb();E.Mb(0,"ion-fab",18),E.Ub("click",(function(){return E.dc(t),E.Wb().toggleGeneralView()})),E.Mb(1,"ion-fab-button"),E.Kb(2,"ion-icon",19),E.Lb(),E.Lb()}}const Lt=function(t){return{color:t}};function At(t,e){if(1&t){const t=E.Nb();E.Mb(0,"ion-item",10),E.Mb(1,"ion-avatar",20),E.Kb(2,"img",21),E.Lb(),E.Mb(3,"ion-label"),E.Mb(4,"h2",22),E.hc(5),E.Mb(6,"mat-icon",23),E.Ub("click",(function(){E.dc(t);const n=e.$implicit;return E.Wb().markerSelectedEvent(n)})),E.hc(7,"circle"),E.Lb(),E.Lb(),E.Mb(8,"h3"),E.hc(9),E.Lb(),E.Mb(10,"h3"),E.hc(11),E.Lb(),E.Kb(12,"ion-text"),E.Lb(),E.Lb()}if(2&t){const t=e.$implicit,n=E.Wb();E.zb(2),E.Zb("src",n.getIconImage(t),E.ec),E.zb(3),E.jc(" ID estaci\xf3: ",t.station_id," - "),E.zb(1),E.Zb("ngStyle",E.ac(5,Lt,t.state?t.state:"grey")),E.zb(3),E.jc("Tipus estaci\xf3: ",t.station_type,""),E.zb(2),E.ic(t.position.latitude+", "+t.position.longitude)}}function Nt(t,e){if(1&t&&(E.Mb(0,"ion-item",26),E.Mb(1,"ion-avatar",27),E.Kb(2,"img",21),E.Lb(),E.Mb(3,"ion-label"),E.Mb(4,"h2"),E.hc(5),E.Lb(),E.Mb(6,"h3"),E.hc(7),E.Lb(),E.Lb(),E.Lb()),2&t){const t=E.Wb().$implicit,e=E.Wb(2);E.zb(2),E.Zb("src",e.getIconImage(t),E.ec),E.zb(3),E.ic(t.alarm),E.zb(2),E.jc("Tipus estaci\xf3: ",t.station_type,"")}}function Rt(t,e){if(1&t&&(E.Mb(0,"div"),E.gc(1,Nt,8,3,"ion-item",25),E.Lb()),2&t){const t=e.$implicit;E.zb(1),E.Zb("ngIf",t.alarm)}}function jt(t,e){if(1&t&&(E.Mb(0,"ion-col",6),E.Mb(1,"ion-card"),E.Mb(2,"ion-card-header",7),E.Mb(3,"h3",2),E.hc(4,"Notificacions"),E.Lb(),E.Lb(),E.Mb(5,"ion-card-content"),E.Mb(6,"ion-row"),E.Mb(7,"ion-col",9),E.gc(8,Rt,2,1,"div",24),E.Kb(9,"ion-card-content"),E.Lb(),E.Lb(),E.Lb(),E.Lb(),E.Lb()),2&t){const t=E.Wb();E.zb(8),E.Zb("ngForOf",t.markers)}}const Ft=[{path:"",component:(()=>{class t{constructor(t){this.env=t,this.subject=new I(this.env.apiUrl),this.title="FemIoT",this.MAP_SIZE_RATIO=.45,this.MAP_SIZE_RATIO_MD=.77,this.typeOptions=S,this.markers=[],this.subscriptions=[],this.markerIsClicked=!1,this.attackIsSelected="",this.calculateHeight(),this.setMapOptions()}set content(t){t&&(this.mapRef=t,this.mapBounds=new google.maps.LatLngBounds)}onResize(t){this.calculateHeight()}ngOnInit(){this.subject.next({request:"general"}),this.centerMap(),this.subscriptions.push(this.subject.subscribe(t=>{this.markers=t.content,this.markers.forEach(t=>{this.mapBounds.extend(new google.maps.LatLng(t.position.latitude,t.position.longitude))})},t=>{console.log(t)}))}centerMap(){setTimeout(()=>{this.mapRef.panToBounds(this.mapBounds),this.mapRef.fitBounds(this.mapBounds)},1e3)}calculateHeight(){this.mapHeight=window.innerWidth<=991?"480px":window.innerHeight*(window.innerWidth<768?this.MAP_SIZE_RATIO:this.MAP_SIZE_RATIO_MD)+"px"}setMapOptions(){this.mapOption={streetViewControl:!1,fullscreenControl:!1,scrollwheel:!0,styles:[{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}]}}getMarkerOptions(t){const e=t.station_id.toString();return{clickable:!0,icon:{url:function(t,e){let n="grey";e&&(n=e);let o="";switch(t){case k.BUS:o='<svg width="{{width}}" height="{{height}}" fill="{{color}}" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 45.437 45.437" style="enable-background:new 0 0 45.437 45.437;" xml:space="preserve"> <path d="M41.403,11.11c-0.371-3.627-0.962-6.451-1.897-7.561c-3.855-4.564-30.859-4.898-33.925,0 c-0.75,1.2-1.276,4.014-1.629,7.567c-1.139,0.134-2.026,1.093-2.026,2.267v4.443c0,0.988,0.626,1.821,1.5,2.146 c-0.207,6.998-0.039,14.299,0.271,17.93c0,2.803,1.883,2.338,1.883,2.338h1.765v3.026c0,1.2,1.237,2.171,2.761,2.171 c1.526,0,2.763-0.971,2.763-2.171V40.24h20.534v3.026c0,1.2,1.236,2.171,2.762,2.171c1.524,0,2.761-0.971,2.761-2.171V40.24h0.58 c0,0,2.216,0.304,2.358-1.016c0-3.621,0.228-11.646,0.04-19.221c0.929-0.291,1.607-1.147,1.607-2.177v-4.443 C43.512,12.181,42.582,11.206,41.403,11.11z M12.176,4.2h20.735v3.137H12.176V4.2z M12.472,36.667c-1.628,0-2.947-1.32-2.947-2.948 c0-1.627,1.319-2.946,2.947-2.946s2.948,1.319,2.948,2.946C15.42,35.347,14.101,36.667,12.472,36.667z M32.8,36.667 c-1.627,0-2.949-1.32-2.949-2.948c0-1.627,1.321-2.946,2.949-2.946s2.947,1.319,2.947,2.946 C35.748,35.347,34.428,36.667,32.8,36.667z M36.547,23.767H8.54V9.077h28.007V23.767z"/></svg>';break;case k.CYCLIST:o='<svg width="{{width}}" height="{{height}}" fill="{{color}}" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"> <g><g><g><path d="M330.667,122.667c23.467,0,42.667-19.2,42.667-42.667s-19.2-42.667-42.667-42.667S288, 56.533,288,80 S307.2,122.667,330.667,122.667z"/><path d="M106.667,261.333C48,261.333,0,309.333,0, 368s48,106.667,106.667,106.667c58.667,0,106.667-48,106.667-106.667 S165.333,261.333,106.667,261.333z M106.667,442.667C65.067,442.667,32,409.6,32,368s33.067-74.667,74.667-74.667 c41.6,0,74.667,33.067,74.667,74.667S148.267,442.667,106.667,442.667z"/> <path d="M404.267,238.933v-42.667c-32,0-58.667-11.733-77.867-30.933L284.8,124.8c-6.4-7.467-17.067-12.8-28.8-12.8 s-22.4,4.267-29.867,12.8l-58.667,58.667c-7.467,7.467-12.8,18.133-12.8,29.867s5.333,22.4,12.8,30.933l67.2,59.733v106.667 h42.667V277.333L230.4,230.4l50.133-51.2l16,16C323.2,222.933,360.533,238.933,404.267,238.933z"/> <path d="M405.333,261.333c-58.667,0-106.667,48-106.667,106.667s48,106.667,106.667,106.667C464,474.667,512,426.667,512,368 S464,261.333,405.333,261.333z M405.333,442.667c-41.6,0-74.667-33.067-74.667-74.667 s33.067-74.667,74.667-74.667 C446.933,293.333,480,326.4,480,368S446.933,442.667,405.333,442.667z"/> </g></g></g></svg>';break;case k.MOTORCYCLE:o='<svg width="{{width}}" height="{{height}}" fill="{{color}}" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 467.168 467.168" style="enable-background:new 0 0 467.168 467.168;" xml:space="preserve"><path d="M76.849,210.531C34.406,210.531,0,244.937,0,287.388c0,42.438,34.406, 76.847,76.849,76.847 c30.989,0,57.635-18.387,69.789-44.819l18.258,14.078c0,0,134.168,0.958,141.538-3.206c0, 0-16.65-45.469,4.484-64.688 c2.225-2.024,5.021-4.332,8.096-6.777c-3.543,8.829-5.534,18.45-5.534, 28.558c0,42.446,34.403,76.846,76.846,76.846 c42.443,0,76.843-34.415,76.843-76.846c0-42.451-34.408 -76.849-76.843-76.849c-0.697,0-1.362,0.088-2.056,0.102 c5.551-3.603,9.093-5.865,9.093-5.865l-5.763 -5.127c0,0,16.651-3.837,12.816-12.167c-3.848-8.33-44.19-58.28-44.19-58.28 s7.146-15.373-7.634-26.261l -7.098,15.371c0,0-18.093-12.489-25.295-10.084c-7.205,2.398-18.005,3.603-21.379,8.884l-3.358,3.124 c0,0-0.95,5.528,4.561,13.693c0,0,55.482,17.05,58.119,29.537c0,0,3.848,7.933-12.728,9.844l-3.354,4.328l-8.896,0.479 l-16.082-36.748c0,0-15.381,4.082-23.299,10.323l1.201,6.24c0,0-64.599-43.943-125.362,21.137c0,0-44.909,12.966-76.37-26.897 c0,0-0.479-12.968-76.367-10.565l5.286,5.524c0,0-5.286,0.479-7.444,3.841c-2.158,3.358,1.2,6.961,18.494,6.961 c0,0,39.153,44.668,69.17,42.032l42.743,20.656l18.975,32.42c0,0,0.034,2.785,0.23,7.045c-4.404,0.938-9.341,1.979-14.579,3.09 C139.605,232.602,110.832,210.531,76.849,210.531z M390.325,234.081c29.395,0,53.299,23.912,53.299,53.299 c0,29.39-23.912,53.294-53.299,53.294c-29.394,0-53.294-23.912-53.294-53.294C337.031,257.993,360.932,234.081,390.325,234.081z M76.849,340.683c-29.387,0-53.299-23.913-53.299-53.295c0-29.395,23.912-53.299,53.299-53.299 c22.592,0,41.896,14.154,49.636,34.039c-28.26,6.011-56.31,11.99-56.31,11.99l3.619,19.933l55.339-2.444 C124.365,322.116,102.745,340.683,76.849,340.683z M169.152,295.835c1.571,5.334,3.619,9.574,6.312, 11.394l-24.696,0.966 c1.058-3.783,1.857-7.666,2.338-11.662L169.152,295.835z"/></svg>';break;case k.MOPED:o='<svg width="{{width}}" height="{{height}}" fill="{{color}}" id="Layer_1" enable-background="new 0 0 489.194 489.194" viewBox="0 0 489.194 489.194" xmlns="http://www.w3.org/2000/svg"><path d="m79 262.651c-43.56 0-79 35.44-79 79s35.44 79 79 79 79-35.44 79-79-35.44-79-79-79zm.5 98c-10.2 0-18.5-8.3-18.5-18.5s8.3-18.5 18.5-18.5 18.5 8.3 18.5 18.5-8.3 18.5-18.5 18.5zm409.19-27.78c-.63-5.53-6.61-8.71-11.57-6.19-114.31 58.06-92.63 47.05-118.76 60.32-5 2.54-5.87 9.29-1.73 13.08 14.33 13.13 33.23 20.69 53.4 20.69 47.66 0 83.9-41.76 78.66-87.9zm-8.77-54.91c-48.63-53.55-138.4-35.05-160.93 34.99-5.09 15.81-5.95 32.3-2.71 48.14 1.07 5.19 6.75 7.98 11.48 5.58 28.44-14.44 46.92-23.84 149.89-76.15 4.74-2.4 5.83-8.64 2.27-12.56zm-112.39-129.9 14.03-4.55c8.61-2.78 13.17-12.18 10.12-20.64l- 15.8-43.87c-2.63-7.29-10.1-11.65-17.74-10.35-98.11 16.66-68.36 11.61-118.75 20.18-8.71 1.48-14.57 9.74-13.09 18.45s9.74 14.57 18.45 13.09l22.41-3.8 17.93 42.78c2.17 5.19 6.8 8.67 12.01 9.58l2.2 25.92c2.74 32.19-8.25 63.49-30.27 86.8h-50.25l-6.27-42.89c13.97-7.88 23.43-22.83 23.49-39.95.09-25.39-21.43-46.16-46.82-46.16h-111.18c-34.9 0-57.11 37.6-40.34 68.08-16.676 8.789-29.122 24.698-33.13 37.54 77.942-69.718 203.685-3.386 185.94 102.38h92. 44c-18.466-82.472 51.31-158.555 135.27-146.85-3.23-5.49-13.79-18.32-50.65-65.74z"/></svg>';break;case k.PEDESTRIAN:o='<svg width="{{width}}" height="{{height}}" fill="{{color}}" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 94.684 94.684" style="enable-background:new 0 0 94.684 94.684;" xml:space="preserve"> <path d="M70.62,48.185l-11.01-7.007c-0.707-0.45-1.539-1.601-1.745-2.414l-3.049-12.058c-0.002-0.007-0.005-0.014-0.007-0.021 c-0.251-1.402-1.473-2.471-2.947-2.471h-14.83c-0.678,0-1.297,0.234-1.799,0.615c-0.104,0.058-0.211,0.114-0.305,0.18 l-10.552,7.518c-1.205,0.858-1.935,2.67-1.663,4.125l3.268,17.458c0.28,1.499,1.7,2.673,3.233,2.673l1.678-0.09 c0.808-0.046,1.55-0.422,2.038-1.034c0.487-0.611,0.69-1.419,0.555-2.216l-2.28-13.465c-0.12-0.707,0.306-1.726,0.892-2.138 l1.936-1.362v19.745c-0.024,0.067-0.059,0.128-0.081,0.196l-9.783,30.638c-0.407,1.276-0.283,2.619,0.35,3.781 s1.694,1.994,2.987,2.343l0.654,0.177c0.428,0.116,0.872,0.175,1.318,0.175c2.251,0,4.296-1.481,4.974-3.603l9.288-29.087h0.771 l1.694,8.421c0.269,1.334,0.521,3.612,0.552,4.973l0.382,17.203c0.041,1.85,1.452,3.245,3.282,3.245 c0.16,0,0.323-0.011,0.488-0.034l3.223-0.447c1.921-0.267,3.402-2.06,3.301-3.997L56.53,72.935 c-0.075-1.452-0.299-3.81-0.498-5.257l-1.258-9.147c0.053-0.222,0.087-0.451,0.087-0.689v-9.963L66.7,54.695 c0.456,0.262,0.976,0.401,1.505,0.401c1.068,0,2.07-0.563,2.615-1.469l0.778-1.295C72.442,50.925,72.003,49.065,70.62,48.185z"/> <path d="M43.448,21.672c5.975,0,10.836-4.861,10.836-10.836S49.423,0,43.448,0c-5.975,0-10.835,4.861-10.835,10.836 S37.473,21.672,43.448,21.672z"/></svg>';break;case k.PASSENGERCAR:o='<svg width="{{width}}" height="{{height}}" fill="{{color}}" xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><title>Car</title><path d="M447.68 220.78a16 16 0 00-1-3.08l-37.78-88.16C400.19 109.17 379 96 354.89 96H157.11c-24.09 0-45.3 13.17-54 33.54L65.29 217.7A15.72 15.72 0 0064 224v176a16 16 0 0016 16h32a16 16 0 0016-16v-16h256v16a16 16 0 0016 16h32a16 16 0 0016-16V224a16.15 16.15 0 00-.32-3.22zM144 320a32 32 0 1132-32 32 32 0 01-32 32zm224 0a32 32 0 1132-32 32 32 0 01-32 32zM104.26 208l28.23-65.85C136.11 133.69 146 128 157.11 128h197.78c11.1 0 21 5.69 24.62 14.15L407.74 208z"/></svg>';break;case k.HEAVYTRUCK:o='<svg width="{{width}}" height="{{height}}" fill="{{color}}" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 612 612" style="enable-background:new 0 0 612 612;" xml:space="preserve"> <path d="M541.322,500.219v-94.372c0-20.277-16.438-36.716-36.715-36.716h-9.598V24.598c0-3.082-1.547-5.958-4.117-7.657 L467.587,1.537c-6.103-4.033-14.239,0.342-14.239,7.657v110.652l-6.945-18.734c-9.34-25.196-33.373-41.918-60.245-41.918H225.702 c-27.03,0-51.169,16.916-60.394,42.323l-6.655,18.329V9.194c0-7.314-8.137-11.69-14.24-7.657L121.107,16.94 c-2.571,1.699-4.118,4.575-4.118,7.657v344.534h-9.597c-20.277,0-36.715,16.438-36.715,36.716v94.372H55.035 c-5.069,0-9.178,4.109-9.178,9.179v50.743c0,5.069,4.109,9.179,9.178,9.179h39.598v24.322c0,10.139,8.219,18.357,18.358,18.357 h48.645c10.139,0,18.358-8.219,18.358-18.357V569.32h252.014v24.322c0,10.139,8.22,18.357,18.357,18.357h48.646 c10.139,0,18.357-8.219,18.357-18.357V569.32h39.598c5.07,0,9.179-4.11,9.179-9.179v-50.742c0-5.07-4.109-9.179-9.179-9.179 L541.322,500.219L541.322,500.219z M170.814,170.975h270.372v90.44H170.814V170.975z M164.527,474.533H133.17 c-9.581,0-17.348-7.768-17.348-17.349v-0.438c0-9.581,7.767-17.348,17.348-17.348h31.356c9.581,0,17.348,7.767,17.348,17.348v0.438 C181.875,466.765,174.108,474.533,164.527,474.533z M368.398,479.648H243.602c-10.139,0-18.358-8.22-18.358-18.357V344.976 c0-10.138,8.219-18.357,18.358-18.357h124.796c10.138,0,18.357,8.22,18.357,18.357v116.314 C386.756,471.428,378.536,479.648,368.398,479.648z M478.829,474.533h-31.356c-9.58,0-17.348-7.768-17.348-17.349v-0.438 c0-9.581,7.768-17.348,17.348-17.348h31.356c9.581,0,17.349,7.767,17.349,17.348v0.438 C496.178,466.765,488.41,474.533,478.829,474.533z M365.607,393.801H246.099c-5.019,0-9.087-4.068-9.087-9.088v-0.184 c0-5.019,4.068-9.086,9.087-9.086h119.508c5.019,0,9.087,4.067,9.087,9.086v0.184C374.694,389.733,370.626,393.801,365.607,393.801 z M365.607,357.085H246.099c-5.019,0-9.087-4.068-9.087-9.087v-0.184c0-5.018,4.068-9.086,9.087-9.086h119.508 c5.019,0,9.087,4.068,9.087,9.086v0.184C374.694,353.017,370.626,357.085,365.607,357.085z M365.607,467.232H246.099 c-5.019,0-9.087-4.068-9.087-9.087v-0.184c0-5.019,4.068-9.087,9.087-9.087h119.508c5.019,0,9.087,4.068,9.087,9.087v0.184 C374.694,463.164,370.626,467.232,365.607,467.232z M365.607,430.516H246.099c-5.019,0-9.087-4.068-9.087-9.086v-0.184 c0-5.019,4.068-9.087,9.087-9.087h119.508c5.019,0,9.087,4.068,9.087,9.087v0.184C374.694,426.448,370.626,430.516,365.607,430.516 z"/></svg>';break;case k.LIGHTTRUCK:o='<svg width="{{width}}" height="{{height}}" fill="{{color}}" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 612 612" style="enable-background:new 0 0 612 612;" xml:space="preserve"> <path d="M504.9,395.756c-28.684,0-52.02,23.342-52.02,52.02c0,28.684,23.336,52.02,52.02,52.02c28.678,0,52.02-23.336,52.02-52.02 C556.92,419.098,533.578,395.756,504.9,395.756z M504.9,463.076c-8.439,0-15.3-6.861-15.3-15.3c0-8.439,6.861-15.3,15.3-15.3 s15.3,6.861,15.3,15.3C520.2,456.215,513.339,463.076,504.9,463.076z"/> <path d="M499.918,179.518H410.04c-6.763,0-12.24,5.484-12.24,12.24v238.68c0,6.756,5.477,12.24,12.24,12.24h12.981 c6.059,0,11.426-4.364,12.209-10.373c4.804-36.806,34.162-59.633,69.676-59.633s64.872,22.828,69.676,59.633 c0.783,6.01,6.144,10.373,12.209,10.373h12.968c6.756,0,12.24-5.484,12.24-12.24v-119.34c0-2.876-1.01-5.655-2.852-7.852 l-99.842-119.34C506.981,181.128,503.541,179.518,499.918,179.518z M422.28,277.438v-61.2c0-6.756,5.477-12.24,12.24-12.24h53.917 c3.629,0,7.075,1.616,9.4,4.406l50.998,61.2c6.64,7.974,0.973,20.074-9.406,20.074H434.52 C427.757,289.678,422.28,284.201,422.28,277.438z"/> <path d="M12.24,442.684h31.341c6.059,0,11.426-4.364,12.209-10.373c4.804-36.806,34.162-59.633,69.676-59.633 s64.872,22.828,69.676,59.633c0.783,6.01,6.144,10.373,12.209,10.373H361.08c6.757,0,12.24-5.484,12.24-12.24v-306 c0-6.756-5.484-12.24-12.24-12.24H12.24c-6.763,0-12.24,5.484-12.24,12.24v306C0,437.201,5.477,442.684,12.24,442.684z"/> <path d="M125.46,395.756c-28.684,0-52.02,23.342-52.02,52.02c0,28.684,23.336,52.02,52.02,52.02 c28.678,0,52.02-23.336,52.02-52.02C177.48,419.098,154.138,395.756,125.46,395.756z M125.46,463.076 c-8.439,0-15.3-6.861-15.3-15.3c0-8.439,6.861-15.3,15.3-15.3s15.3,6.861,15.3,15.3 C140.76,456.215,133.899,463.076,125.46,463.076z"/></svg>'}return"data:image/svg+xml;u;charset=UTF-8;base64,"+btoa(o.replace("{{color}}",n).replace("{{width}}","36").replace("{{height}}","44"))}(t.station_type,null==t?void 0:t.state)},label:{fontWeight:"600",fontSize:"20px",color:"yellow",text:e},position:{lat:t.position.latitude,lng:t.position.longitude}}}getIconImage(t){return function(t,e){let n="";switch(t){case k.BUS:n="assets/icons/bus.svg";break;case k.CYCLIST:n="assets/icons/cyclist.svg";break;case k.MOTORCYCLE:n="assets/icons/moto.svg";break;case k.MOPED:n="assets/icons/ciclomotor.svg";break;case k.PEDESTRIAN:n="assets/icons/pedestrian.svg";break;case k.PASSENGERCAR:n="assets/icons/car.svg";break;case k.HEAVYTRUCK:n="assets/icons/heavy-truck.svg";break;case k.LIGHTTRUCK:n="assets/icons/light-truck.svg"}return n}(t.station_type)}markerSelectedEvent(t){console.log(t),this.markerIsClicked=!0,this.markerId=t.station_id,this.alarm=t.alarm,setTimeout(()=>{this.updateSubscription("sightof")},100)}attackSelectedEvent(t){console.log(t),this.markerIsClicked=!0,this.markerId=t.station_id,this.attackIsSelected=t.type,setTimeout(()=>{this.updateSubscription("attack")},100)}toggleGeneralView(){this.markerIsClicked=!this.markerIsClicked,this.centerMap(),setTimeout(()=>{this.updateSubscription("general")},100)}updateSubscription(t){switch(t){case"general":this.subject.next({request:"general"});break;case"sightof":this.subject.next({request:"sightof",content:{station_id:this.markerId,alarm:this.alarm}});break;case"attack":this.subject.next({request:"attack",content:{station_id:this.markerId,type:this.attackIsSelected}})}this.subscriptions.push(this.subject.subscribe(t=>{this.markers=t.content,this.markers.forEach(t=>{this.mapBounds.extend(new google.maps.LatLng(t.position.latitude,t.position.longitude))})},t=>{console.log(t)}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}}return t.\u0275fac=function(e){return new(e||t)(E.Jb(T.a))},t.\u0275cmp=E.Db({type:t,selectors:[["app-map-page"]],viewQuery:function(t,e){var n;1&t&&E.kc(Et,!0),2&t&&E.bc(n=E.Vb())&&(e.content=n.first)},hostBindings:function(t,e){1&t&&E.Ub("resize",(function(t){return e.onResize(t)}),!1,E.cc)},decls:28,vars:7,consts:[[1,"scrolling-content"],["size-lg","6","size-sm","12","size-md","12",1,"no-padding"],[1,"title"],["width","100%",3,"height","options"],["googleMap",""],[3,"options","mapClick",4,"ngFor","ngForOf"],["size-lg","3","size-sm","12","size-md","12"],[1,"title-header"],["vertical","top","horizontal","end",3,"click",4,"ngIf"],["size-lg","12","size-sm","6","size-md","6",1,"no-padding"],[1,"ion-no-padding"],["color","primary"],[1,"sub-title"],["no-padding","",1,"station-list"],["class","ion-no-padding",4,"ngFor","ngForOf"],["size-lg","3","size-sm","12","size-md","12",4,"ngIf"],[3,"options","mapClick"],["mapMarkers",""],["vertical","top","horizontal","end",3,"click"],["name","close"],["slot","start"],[3,"src"],[1,"d-flex","align-items-center"],[1,"ml-1",3,"ngStyle","click"],[4,"ngFor","ngForOf"],["class","notification","lines","none",4,"ngIf"],["lines","none",1,"notification"],["slot","start",1,"notification"]],template:function(t,e){1&t&&(E.Mb(0,"ion-content",0),E.Mb(1,"ion-grid"),E.Mb(2,"ion-row"),E.Mb(3,"ion-col",1),E.Mb(4,"ion-card"),E.Mb(5,"ion-card-header"),E.Mb(6,"h3",2),E.hc(7,"Secci\xf3 del mapa"),E.Lb(),E.Lb(),E.Mb(8,"ion-card-content"),E.Mb(9,"google-map",3,4),E.gc(11,Tt,2,1,"map-marker",5),E.Lb(),E.Lb(),E.Lb(),E.Lb(),E.Mb(12,"ion-col",6),E.Mb(13,"ion-card"),E.Mb(14,"ion-card-header",7),E.Mb(15,"h3",2),E.hc(16,"Mapa local din\xe0mic"),E.Lb(),E.gc(17,zt,3,0,"ion-fab",8),E.Lb(),E.Mb(18,"ion-card-content"),E.Mb(19,"ion-row"),E.Mb(20,"ion-col",9),E.Mb(21,"ion-list-header",10),E.Mb(22,"ion-text",11),E.Mb(23,"h3",12),E.hc(24),E.Lb(),E.Lb(),E.Lb(),E.Mb(25,"ion-list",13),E.gc(26,At,13,7,"ion-item",14),E.Lb(),E.Lb(),E.Lb(),E.Lb(),E.Lb(),E.Lb(),E.gc(27,jt,10,1,"ion-col",15),E.Lb(),E.Lb(),E.Lb()),2&t&&(E.zb(9),E.Zb("height",e.mapHeight)("options",e.mapOption),E.zb(2),E.Zb("ngForOf",e.markers),E.zb(6),E.Zb("ngIf",e.markerIsClicked),E.zb(7),E.ic(e.markerIsClicked?"Estaci\xf3: "+e.markerId:"Centre de control del tr\xe0nsit"),E.zb(2),E.Zb("ngForOf",e.markers),E.zb(1),E.Zb("ngIf",e.markerIsClicked))},directives:[z.f,z.i,z.o,z.e,z.b,z.d,z.c,L.a,A.h,A.i,z.n,z.p,z.m,L.c,z.g,z.h,z.j,z.k,z.a,z.l,St,A.j],styles:[".w-25[_ngcontent-%COMP%]{width:25%}.w-50[_ngcontent-%COMP%]{width:50%}.w-75[_ngcontent-%COMP%]{width:75%}.w-100[_ngcontent-%COMP%]{width:100%}.box-border[_ngcontent-%COMP%]{box-sizing:border-box!important}.text-truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.align-baseline[_ngcontent-%COMP%]{vertical-align:baseline!important}.align-top[_ngcontent-%COMP%]{vertical-align:top!important}.align-middle[_ngcontent-%COMP%]{vertical-align:middle!important}.align-bottom[_ngcontent-%COMP%]{vertical-align:bottom!important}.align-text-bottom[_ngcontent-%COMP%]{vertical-align:text-bottom!important}.align-text-top[_ngcontent-%COMP%]{vertical-align:text-top!important}.float-left[_ngcontent-%COMP%]{float:left!important}.float-right[_ngcontent-%COMP%]{float:right!important}.float-none[_ngcontent-%COMP%]{float:none!important}.overflow-auto[_ngcontent-%COMP%]{overflow:auto!important}.overflow-hidden[_ngcontent-%COMP%]{overflow:hidden!important}.d-none[_ngcontent-%COMP%]{display:none!important}.d-inline[_ngcontent-%COMP%]{display:inline!important}.d-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.d-block[_ngcontent-%COMP%]{display:block!important}.d-table[_ngcontent-%COMP%]{display:table!important}.d-table-row[_ngcontent-%COMP%]{display:table-row!important}.d-table-cell[_ngcontent-%COMP%]{display:table-cell!important}.d-flex[_ngcontent-%COMP%]{display:flex!important}.d-inline-flex[_ngcontent-%COMP%]{display:inline-flex!important}.shadow-sm[_ngcontent-%COMP%]{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow[_ngcontent-%COMP%]{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg[_ngcontent-%COMP%]{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none[_ngcontent-%COMP%]{box-shadow:none!important}.position-static[_ngcontent-%COMP%]{position:static!important}.position-relative[_ngcontent-%COMP%]{position:relative!important}.position-absolute[_ngcontent-%COMP%]{position:absolute!important}.position-fixed[_ngcontent-%COMP%]{position:fixed!important}.position-sticky[_ngcontent-%COMP%]{position:sticky!important}.border[_ngcontent-%COMP%]{border:1px solid #dee2e6!important}.border-0[_ngcontent-%COMP%]{border:0!important}.border-top[_ngcontent-%COMP%]{border-top:1px solid #dee2e6!important}.border-top-0[_ngcontent-%COMP%]{border-top:0!important}.border-right[_ngcontent-%COMP%]{border-right:1px solid #dee2e6!important}.border-right-0[_ngcontent-%COMP%]{border-right:0!important}.border-bottom[_ngcontent-%COMP%]{border-bottom:1px solid #dee2e6!important}.border-bottom-0[_ngcontent-%COMP%]{border-bottom:0!important}.border-left[_ngcontent-%COMP%]{border-left:1px solid #dee2e6!important}.border-left-0[_ngcontent-%COMP%]{border-left:0!important}.border-primary[_ngcontent-%COMP%]{border-color:#007bff!important}.border-secondary[_ngcontent-%COMP%]{border-color:#6c757d!important}.border-success[_ngcontent-%COMP%]{border-color:#28a745!important}.border-info[_ngcontent-%COMP%]{border-color:#17a2b8!important}.border-warning[_ngcontent-%COMP%]{border-color:#ffc107!important}.border-danger[_ngcontent-%COMP%]{border-color:#dc3545!important}.border-light[_ngcontent-%COMP%]{border-color:#f8f9fa!important}.border-dark[_ngcontent-%COMP%]{border-color:#343a40!important}.border-white[_ngcontent-%COMP%]{border-color:#fff!important}.w-25[_ngcontent-%COMP%]{width:25%!important}.w-33[_ngcontent-%COMP%]{width:33.33%!important}.w-50[_ngcontent-%COMP%]{width:50%!important}.w-66[_ngcontent-%COMP%]{width:66.66%!important}.w-75[_ngcontent-%COMP%]{width:75%!important}.w-100[_ngcontent-%COMP%]{width:100%!important}.w-auto[_ngcontent-%COMP%]{width:auto!important}.mw-100[_ngcontent-%COMP%]{max-width:100%!important}.vw-100[_ngcontent-%COMP%]{width:100vw!important}.min-vw-100[_ngcontent-%COMP%]{min-width:100vw!important}.h-25[_ngcontent-%COMP%]{height:25%!important}.h-50[_ngcontent-%COMP%]{height:50%!important}.h-75[_ngcontent-%COMP%]{height:75%!important}.h-100[_ngcontent-%COMP%]{height:100%!important}.h-auto[_ngcontent-%COMP%]{height:auto!important}.mh-100[_ngcontent-%COMP%]{max-height:100%!important}.vh-100[_ngcontent-%COMP%]{height:100vh!important}.min-vh-100[_ngcontent-%COMP%]{min-height:100vh!important}.min-vh-75[_ngcontent-%COMP%]{min-height:75vh!important}.flex-fill[_ngcontent-%COMP%]{flex:1 1 auto!important}.flex-row[_ngcontent-%COMP%]{flex-direction:row!important}.flex-column[_ngcontent-%COMP%]{flex-direction:column!important}.flex-row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse!important}.flex-column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse!important}.flex-grow-0[_ngcontent-%COMP%]{flex-grow:0!important}.flex-grow-1[_ngcontent-%COMP%]{flex-grow:1!important}.flex-shrink-0[_ngcontent-%COMP%]{flex-shrink:0!important}.flex-shrink-1[_ngcontent-%COMP%]{flex-shrink:1!important}.flex-wrap[_ngcontent-%COMP%]{flex-wrap:wrap!important}.flex-nowrap[_ngcontent-%COMP%]{flex-wrap:nowrap!important}.flex-wrap-reverse[_ngcontent-%COMP%]{flex-wrap:wrap-reverse!important}.justify-content-start[_ngcontent-%COMP%]{justify-content:flex-start!important}.justify-content-end[_ngcontent-%COMP%]{justify-content:flex-end!important}.justify-content-center[_ngcontent-%COMP%]{justify-content:center!important}.justify-content-between[_ngcontent-%COMP%]{justify-content:space-between!important}.justify-content-around[_ngcontent-%COMP%]{justify-content:space-around!important}.align-items-start[_ngcontent-%COMP%]{align-items:flex-start!important}.align-items-end[_ngcontent-%COMP%]{align-items:flex-end!important}.align-items-center[_ngcontent-%COMP%]{align-items:center!important}.align-items-baseline[_ngcontent-%COMP%]{align-items:baseline!important}.align-items-stretch[_ngcontent-%COMP%]{align-items:stretch!important}.align-content-start[_ngcontent-%COMP%]{align-content:flex-start!important}.align-content-end[_ngcontent-%COMP%]{align-content:flex-end!important}.align-content-center[_ngcontent-%COMP%]{align-content:center!important}.align-content-between[_ngcontent-%COMP%]{align-content:space-between!important}.align-content-around[_ngcontent-%COMP%]{align-content:space-around!important}.align-content-stretch[_ngcontent-%COMP%]{align-content:stretch!important}.align-self-auto[_ngcontent-%COMP%]{align-self:auto!important}.align-self-start[_ngcontent-%COMP%]{align-self:flex-start!important}.align-self-end[_ngcontent-%COMP%]{align-self:flex-end!important}.align-self-center[_ngcontent-%COMP%]{align-self:center!important}.align-self-baseline[_ngcontent-%COMP%]{align-self:baseline!important}.align-self-stretch[_ngcontent-%COMP%]{align-self:stretch!important}.order-first[_ngcontent-%COMP%]{order:-1!important}.order-0[_ngcontent-%COMP%]{order:0!important}.order-1[_ngcontent-%COMP%]{order:1!important}.order-2[_ngcontent-%COMP%]{order:2!important}.order-3[_ngcontent-%COMP%]{order:3!important}.order-4[_ngcontent-%COMP%]{order:4!important}.order-5[_ngcontent-%COMP%]{order:5!important}.order-last[_ngcontent-%COMP%]{order:6!important}.m-0[_ngcontent-%COMP%]{margin:0!important}.m-1[_ngcontent-%COMP%]{margin:.25rem!important}.m-2[_ngcontent-%COMP%]{margin:.5rem!important}.m-3[_ngcontent-%COMP%]{margin:1rem!important}.m-4[_ngcontent-%COMP%]{margin:1.5rem!important}.m-5[_ngcontent-%COMP%]{margin:3rem!important}.m-auto[_ngcontent-%COMP%]{margin:auto!important}.mx-0[_ngcontent-%COMP%]{margin-right:0!important;margin-left:0!important}.mx-1[_ngcontent-%COMP%]{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2[_ngcontent-%COMP%]{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3[_ngcontent-%COMP%]{margin-right:1rem!important;margin-left:1rem!important}.mx-4[_ngcontent-%COMP%]{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5[_ngcontent-%COMP%]{margin-right:3rem!important;margin-left:3rem!important}.mx-auto[_ngcontent-%COMP%]{margin-right:auto!important;margin-left:auto!important}.my-0[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}.my-1[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}.my-4[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5[_ngcontent-%COMP%]{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto[_ngcontent-%COMP%]{margin-top:auto!important;margin-bottom:auto!important}.mt-0[_ngcontent-%COMP%]{margin-top:0!important}.mt-1[_ngcontent-%COMP%]{margin-top:.25rem!important}.mt-2[_ngcontent-%COMP%]{margin-top:.5rem!important}.mt-3[_ngcontent-%COMP%]{margin-top:1rem!important}.mt-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}.mt-5[_ngcontent-%COMP%]{margin-top:3rem!important}.mt-auto[_ngcontent-%COMP%]{margin-top:auto!important}.mr-0[_ngcontent-%COMP%]{margin-right:0!important}.mr-1[_ngcontent-%COMP%]{margin-right:.25rem!important}.mr-2[_ngcontent-%COMP%]{margin-right:.5rem!important}.mr-3[_ngcontent-%COMP%]{margin-right:1rem!important}.mr-4[_ngcontent-%COMP%]{margin-right:1.5rem!important}.mr-5[_ngcontent-%COMP%]{margin-right:3rem!important}.mr-auto[_ngcontent-%COMP%]{margin-right:auto!important}.mb-0[_ngcontent-%COMP%]{margin-bottom:0!important}.mb-1[_ngcontent-%COMP%]{margin-bottom:.25rem!important}.mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem!important}.mb-3[_ngcontent-%COMP%]{margin-bottom:1rem!important}.mb-4[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}.mb-5[_ngcontent-%COMP%]{margin-bottom:3rem!important}.mb-auto[_ngcontent-%COMP%]{margin-bottom:auto!important}.ml-0[_ngcontent-%COMP%]{margin-left:0!important}.ml-1[_ngcontent-%COMP%]{margin-left:.25rem!important}.ml-2[_ngcontent-%COMP%]{margin-left:.5rem!important}.ml-3[_ngcontent-%COMP%]{margin-left:1rem!important}.ml-4[_ngcontent-%COMP%]{margin-left:1.5rem!important}.ml-5[_ngcontent-%COMP%]{margin-left:3rem!important}.ml-auto[_ngcontent-%COMP%]{margin-left:auto!important}.m-n1[_ngcontent-%COMP%]{margin:-.25rem!important}.m-n2[_ngcontent-%COMP%]{margin:-.5rem!important}.m-n3[_ngcontent-%COMP%]{margin:-1rem!important}.m-n4[_ngcontent-%COMP%]{margin:-1.5rem!important}.m-n5[_ngcontent-%COMP%]{margin:-3rem!important}.mx-n1[_ngcontent-%COMP%]{margin-right:-.25rem!important;margin-left:-.25rem!important}.mx-n2[_ngcontent-%COMP%]{margin-right:-.5rem!important;margin-left:-.5rem!important}.mx-n3[_ngcontent-%COMP%]{margin-right:-1rem!important;margin-left:-1rem!important}.mx-n4[_ngcontent-%COMP%]{margin-right:-1.5rem!important;margin-left:-1.5rem!important}.mx-n5[_ngcontent-%COMP%]{margin-right:-3rem!important;margin-left:-3rem!important}.my-n1[_ngcontent-%COMP%]{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-n2[_ngcontent-%COMP%]{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-n3[_ngcontent-%COMP%]{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-n4[_ngcontent-%COMP%]{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-n5[_ngcontent-%COMP%]{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-n1[_ngcontent-%COMP%]{margin-top:-.25rem!important}.mt-n2[_ngcontent-%COMP%]{margin-top:-.5rem!important}.mt-n3[_ngcontent-%COMP%]{margin-top:-1rem!important}.mt-n4[_ngcontent-%COMP%]{margin-top:-1.5rem!important}.mt-n5[_ngcontent-%COMP%]{margin-top:-3rem!important}.mr-n1[_ngcontent-%COMP%]{margin-right:-.25rem!important}.mr-n2[_ngcontent-%COMP%]{margin-right:-.5rem!important}.mr-n3[_ngcontent-%COMP%]{margin-right:-1rem!important}.mr-n4[_ngcontent-%COMP%]{margin-right:-1.5rem!important}.mr-n5[_ngcontent-%COMP%]{margin-right:-3rem!important}.mb-n1[_ngcontent-%COMP%]{margin-bottom:-.25rem!important}.mb-n2[_ngcontent-%COMP%]{margin-bottom:-.5rem!important}.mb-n3[_ngcontent-%COMP%]{margin-bottom:-1rem!important}.mb-n4[_ngcontent-%COMP%]{margin-bottom:-1.5rem!important}.mb-n5[_ngcontent-%COMP%]{margin-bottom:-3rem!important}.ml-n1[_ngcontent-%COMP%]{margin-left:-.25rem!important}.ml-n2[_ngcontent-%COMP%]{margin-left:-.5rem!important}.ml-n3[_ngcontent-%COMP%]{margin-left:-1rem!important}.ml-n4[_ngcontent-%COMP%]{margin-left:-1.5rem!important}.ml-n5[_ngcontent-%COMP%]{margin-left:-3rem!important}.p-0[_ngcontent-%COMP%]{padding:0!important}.p-1[_ngcontent-%COMP%]{padding:.25rem!important}.p-2[_ngcontent-%COMP%]{padding:.5rem!important}.p-3[_ngcontent-%COMP%]{padding:1rem!important}.p-4[_ngcontent-%COMP%]{padding:1.5rem!important}.p-5[_ngcontent-%COMP%]{padding:3rem!important}.px-0[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}.px-1[_ngcontent-%COMP%]{padding-right:.25rem!important;padding-left:.25rem!important}.px-2[_ngcontent-%COMP%]{padding-right:.5rem!important;padding-left:.5rem!important}.px-3[_ngcontent-%COMP%]{padding-right:1rem!important;padding-left:1rem!important}.px-4[_ngcontent-%COMP%]{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5[_ngcontent-%COMP%]{padding-right:3rem!important;padding-left:3rem!important}.py-0[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.py-1[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}.py-4[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5[_ngcontent-%COMP%]{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0[_ngcontent-%COMP%]{padding-top:0!important}.pt-1[_ngcontent-%COMP%]{padding-top:.25rem!important}.pt-2[_ngcontent-%COMP%]{padding-top:.5rem!important}.pt-3[_ngcontent-%COMP%]{padding-top:1rem!important}.pt-4[_ngcontent-%COMP%]{padding-top:1.5rem!important}.pt-5[_ngcontent-%COMP%]{padding-top:3rem!important}.pr-0[_ngcontent-%COMP%]{padding-right:0!important}.pr-1[_ngcontent-%COMP%]{padding-right:.25rem!important}.pr-2[_ngcontent-%COMP%]{padding-right:.5rem!important}.pr-3[_ngcontent-%COMP%]{padding-right:1rem!important}.pr-4[_ngcontent-%COMP%]{padding-right:1.5rem!important}.pr-5[_ngcontent-%COMP%]{padding-right:3rem!important}.pb-0[_ngcontent-%COMP%]{padding-bottom:0!important}.pb-1[_ngcontent-%COMP%]{padding-bottom:.25rem!important}.pb-2[_ngcontent-%COMP%]{padding-bottom:.5rem!important}.pb-3[_ngcontent-%COMP%]{padding-bottom:1rem!important}.pb-4[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}.pb-5[_ngcontent-%COMP%]{padding-bottom:3rem!important}.pl-0[_ngcontent-%COMP%]{padding-left:0!important}.pl-1[_ngcontent-%COMP%]{padding-left:.25rem!important}.pl-2[_ngcontent-%COMP%]{padding-left:.5rem!important}.pl-3[_ngcontent-%COMP%]{padding-left:1rem!important}.pl-4[_ngcontent-%COMP%]{padding-left:1.5rem!important}.pl-5[_ngcontent-%COMP%]{padding-left:3rem!important}.font-weight-light[_ngcontent-%COMP%]{font-weight:300!important}.font-weight-lighter[_ngcontent-%COMP%]{font-weight:lighter!important}.font-weight-normal[_ngcontent-%COMP%]{font-weight:400!important}.font-weight-bold[_ngcontent-%COMP%]{font-weight:700!important}.font-weight-bolder[_ngcontent-%COMP%]{font-weight:bolder!important}.text-lowercase[_ngcontent-%COMP%]{text-transform:lowercase!important}.text-uppercase[_ngcontent-%COMP%]{text-transform:uppercase!important}.text-capitalize[_ngcontent-%COMP%]{text-transform:capitalize!important}.text-left[_ngcontent-%COMP%]{text-align:left!important}.text-right[_ngcontent-%COMP%]{text-align:right!important}.text-center[_ngcontent-%COMP%]{text-align:center!important}.text-justify[_ngcontent-%COMP%]{text-align:justify!important}.text-wrap[_ngcontent-%COMP%]{white-space:normal!important}.text-nowrap[_ngcontent-%COMP%]{white-space:nowrap!important}.text-decoration-none[_ngcontent-%COMP%]{text-decoration:none!important}.font-italic[_ngcontent-%COMP%]{font-style:italic!important}.text-break[_ngcontent-%COMP%]{overflow-wrap:break-word!important;word-break:break-word!important}.font-monospace[_ngcontent-%COMP%]{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.oval[_ngcontent-%COMP%]{border-radius:100%!important}.rounded[_ngcontent-%COMP%]{border-radius:.25rem!important}.rounded-sm[_ngcontent-%COMP%]{border-radius:.2rem!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.3rem!important}.rounded-circle[_ngcontent-%COMP%]{border-radius:50%!important}.rounded-pill[_ngcontent-%COMP%]{border-radius:50rem!important}.rounded-0[_ngcontent-%COMP%]{border-radius:0!important}.rounded-top[_ngcontent-%COMP%]{border-top-left-radius:.25rem!important}.rounded-right[_ngcontent-%COMP%], .rounded-top[_ngcontent-%COMP%]{border-top-right-radius:.25rem!important}.rounded-bottom[_ngcontent-%COMP%], .rounded-right[_ngcontent-%COMP%]{border-bottom-right-radius:.25rem!important}.rounded-bottom[_ngcontent-%COMP%], .rounded-left[_ngcontent-%COMP%]{border-bottom-left-radius:.25rem!important}.rounded-left[_ngcontent-%COMP%]{border-top-left-radius:.25rem!important}.visible[_ngcontent-%COMP%]{visibility:visible!important}.invisible[_ngcontent-%COMP%]{visibility:hidden!important}.pointer[_ngcontent-%COMP%]{cursor:pointer!important}h3.sub-title[_ngcontent-%COMP%]{font-size:18px;font-weight:700}h3.sub-title[_ngcontent-%COMP%], ion-color-primary[_ngcontent-%COMP%]{color:#3c8dbc}ion-card-header.title-header[_ngcontent-%COMP%]{padding-bottom:0}ion-card-header[_ngcontent-%COMP%] h3.title[_ngcontent-%COMP%]{font-size:20px;text-transform:uppercase;margin-bottom:0}ion-card[_ngcontent-%COMP%]{border-top:3px solid #3c8dbc;border-radius:0;min-height:300px}.card-center[_ngcontent-%COMP%]{text-align:center}.europe-card[_ngcontent-%COMP%]{padding-bottom:16px;padding-left:10px;padding-right:10px}@-webkit-keyframes warning{0%{opacity:0;top:2rem}5%{opacity:0}to{opacity:1;top:.9rem}}@keyframes warning{0%{opacity:0;top:2rem}5%{opacity:0}to{opacity:1;top:.9rem}}ion-item.notification[_ngcontent-%COMP%]{--background:#fc732f;color:#fff;border-radius:.2rem;margin-bottom:.8rem;-webkit-animation:warning .4s ease-in-out forwards;animation:warning .4s ease-in-out forwards;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}ion-item.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], ion-item.notification[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700}ion-item[_ngcontent-%COMP%]:hover{cursor:pointer}ion-list.station-list[_ngcontent-%COMP%]{height:-webkit-max-content;height:-moz-max-content;height:max-content;overflow:auto}ion-avatar.notification[_ngcontent-%COMP%]{width:40%!important;height:40%!important;max-width:40px;max-height:40px}@media only screen and (min-device-width:1366px) and (orientation:landscape) and (-webkit-min-device-pixel-ratio:2){ion-content.scrolling-content[_ngcontent-%COMP%]{--overflow:hidden}}@media only screen and (min-device-width:1024px) and (max-device-width:1024px) and (orientation:portrait) and (-webkit-min-device-pixel-ratio:2){ion-content.scrolling-content[_ngcontent-%COMP%]{--overflow:hidden}}@media only screen and (max-device-width:768px){ion-list.station-list[_ngcontent-%COMP%]{height:inherit;overflow:auto}}"]}),t})()}];let Bt=(()=>{class t{}return t.\u0275mod=E.Hb({type:t}),t.\u0275inj=E.Gb({factory:function(e){return new(e||t)},imports:[[o.g.forChild(Ft)],o.g]}),t})(),Ht=(()=>{class t{}return t.\u0275mod=E.Hb({type:t}),t.\u0275inj=E.Gb({factory:function(e){return new(e||t)},imports:[[A.b,z.q.forRoot(),L.b,kt],A.b,z.q,L.b,kt]}),t})(),Ut=(()=>{class t{}return t.\u0275mod=E.Hb({type:t}),t.\u0275inj=E.Gb({factory:function(e){return new(e||t)},imports:[[Ht,Bt]]}),t})()}}]);