Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hdastageeri
hft_awado_app
Commits
2a1d1e50
Commit
2a1d1e50
authored
Dec 08, 2019
by
Ratnadeep Rajendra Kharade
Browse files
Added mapUi.js file to libs
parent
bc05af86
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/assets/js/mapsjs-ui.js
0 → 100644
View file @
2a1d1e50
/**
* The code below uses open source software. Please visit the URL below for an overview of the licenses:
* http://js.api.here.com/v3/3.1.8.1/HERE_NOTICE
*/
H
.
util
.
eval
(
"
var Ys={};function Zs(a){var b=a.ownerDocument,c=b.documentElement;b=b.defaultView;var d=a.getBoundingClientRect();a=d.left;d=d.top;isNaN(b.pageXOffset)?(a+=c.scrollLeft,d+=c.scrollTop):(a+=b.pageXOffset,d+=b.pageYOffset);return new H(a,d)}function $s(a,b,c){b=Tb(b)?b+
\"
px
\"
:b;c=Tb(c)?c+
\"
px
\"
:c;a.style[jf(
\"
transform
\"
)]=
\"
translate(
\"
+b+
\"
,
\"
+c+
\"
)
\"
}
\n
var at={TOP_LEFT:
\"
top-left
\"
,TOP_CENTER:
\"
top-center
\"
,TOP_RIGHT:
\"
top-right
\"
,LEFT_TOP:
\"
left-top
\"
,LEFT_MIDDLE:
\"
left-middle
\"
,LEFT_BOTTOM:
\"
left-bottom
\"
,RIGHT_TOP:
\"
right-top
\"
,RIGHT_MIDDLE:
\"
right-middle
\"
,RIGHT_BOTTOM:
\"
right-bottom
\"
,BOTTOM_LEFT:
\"
bottom-left
\"
,BOTTOM_CENTER:
\"
bottom-center
\"
,BOTTOM_RIGHT:
\"
bottom-right
\"
};u(
\"
H.ui.LayoutAlignment
\"
,at);function bt(a,b){var c={},d={};c[
\"
top-left
\"
]=ct(b,
\"
div
\"
,[dt,et].join(
\"
\"
));c[
\"
top-center
\"
]=ct(b,
\"
div
\"
,[dt,ft,gt,et].join(
\"
\"
));c[
\"
top-right
\"
]=ct(b,
\"
div
\"
,[dt,et].join(
\"
\"
));c[
\"
left-top
\"
]=ct(b,
\"
div
\"
,[dt,ht].join(
\"
\"
));c[
\"
left-middle
\"
]=ct(b,
\"
div
\"
,[dt,it,jt,ht].join(
\"
\"
));c[
\"
left-bottom
\"
]=ct(b,
\"
div
\"
,[dt,ht].join(
\"
\"
));c[
\"
right-top
\"
]=ct(b,
\"
div
\"
,[dt,ht].join(
\"
\"
));c[
\"
right-middle
\"
]=ct(b,
\"
div
\"
,[dt,kt,jt,ht].join(
\"
\"
));c[
\"
right-bottom
\"
]=ct(b,
\"
div
\"
,[dt,ht].join(
\"
\"
));c[
\"
bottom-left
\"
]=ct(b,
\"
div
\"
,[dt,et].join(
\"
\"
));
\n
c[
\"
bottom-center
\"
]=ct(b,
\"
div
\"
,[dt,lt,gt,et].join(
\"
\"
));c[
\"
bottom-right
\"
]=ct(b,
\"
div
\"
,[dt,et].join(
\"
\"
));d[
\"
top-left
\"
]=ct(b,
\"
div
\"
,[ft,it].join(
\"
\"
));d[
\"
top-right
\"
]=ct(b,
\"
div
\"
,[ft,kt].join(
\"
\"
));d[
\"
bottom-left
\"
]=ct(b,
\"
div
\"
,[lt,it].join(
\"
\"
));d[
\"
bottom-right
\"
]=ct(b,
\"
div
\"
,[lt,kt].join(
\"
\"
));mt(d[
\"
top-left
\"
],c[
\"
top-left
\"
],c[
\"
left-top
\"
]);mt(d[
\"
top-right
\"
],c[
\"
top-right
\"
],c[
\"
right-top
\"
]);mt(d[
\"
bottom-left
\"
],c[
\"
left-bottom
\"
],c[
\"
bottom-left
\"
]);mt(d[
\"
bottom-right
\"
],c[
\"
right-bottom
\"
],c[
\"
bottom-right
\"
]);mt(a,d[
\"
top-left
\"
],
\n
d[
\"
top-right
\"
],d[
\"
bottom-left
\"
],d[
\"
bottom-right
\"
],c[
\"
top-center
\"
],c[
\"
left-middle
\"
],c[
\"
right-middle
\"
],c[
\"
bottom-center
\"
]);this.a=c}var ft=
\"
H_l_top
\"
,lt=
\"
H_l_bottom
\"
,it=
\"
H_l_left
\"
,kt=
\"
H_l_right
\"
,gt=
\"
H_l_center
\"
,jt=
\"
H_l_middle
\"
,et=
\"
H_l_horizontal
\"
,ht=
\"
H_l_vertical
\"
,dt=
\"
H_l_anchor
\"
;bt.prototype.update=function(){var a=this.a;nt(a[
\"
top-center
\"
],!0);nt(a[
\"
bottom-center
\"
],!0);nt(a[
\"
left-middle
\"
],!1);nt(a[
\"
right-middle
\"
],!1)};
\n
function nt(a,b){b?(b=a.offsetWidth,a.style.marginLeft=-Math.round(.5*b)+
\"
px
\"
):(b=a.offsetHeight,a.style.marginTop=-Math.round(.5*b)+
\"
px
\"
)}bt.prototype.put=function(a,b){a=a?a.J():null;var c=b?this.a[b]:null;a&&c&&(a.parentElement&&a.parentElement.removeChild(a),c.insertBefore(a,/(bottom|right)$/.test(b)||/(center|middle)/.test(b)&&c.childNodes.length%2?c.firstChild:null));this.update()};var ot={IMPERIAL:
\"
imperial
\"
,METRIC:
\"
metric
\"
};u(
\"
H.ui.UnitSystem
\"
,ot);function pt(){this.a=this.kj()}pt.prototype.kj=function(){var a=Function(
\"
return this;
\"
)(),b=a.navigator,c=[];b&&(b.msPointerEnabled?c.push(qt):b.pointerEnabled&&c.push(rt));1>c.length&&(
\"
TouchEvent
\"
in a&&c.push(st),c.push(tt));return c};pt.prototype.detectEventSets=pt.prototype.kj;pt.prototype.addEventListener=function(a,b,c,d){for(var e=this.a,f,g=e.length,h=!1;g--;)if(f=e[g][b])h=!0,a.addEventListener(f,c,d||!1);h||a.addEventListener(b,c,d||!1)};
\n
pt.prototype.removeEventListener=function(a,b,c,d){for(var e=this.a,f,g=e.length,h=!1;g--;)if(f=e[g][b])h=!0,a.removeEventListener(f,c,d||!1);h||a.removeEventListener(b,c,d||!1)};
\n
var rt={start:
\"
pointerdown
\"
,end:
\"
pointerup
\"
,move:
\"
pointermove
\"
,cancel:
\"
pointercancel
\"
,over:
\"
pointerover
\"
,out:
\"
pointerout
\"
,hover:
\"
pointerhover
\"
},qt={start:
\"
MSPointerDown
\"
,end:
\"
MSPointerUp
\"
,move:
\"
MSPointerMove
\"
,cancel:
\"
MSPointerCancel
\"
,over:
\"
MSPointerOver
\"
,out:
\"
MSPointerOut
\"
,hover:
\"
MSPointerHover
\"
},st={start:
\"
touchstart
\"
,end:
\"
touchend
\"
,move:
\"
touchmove
\"
,cancel:
\"
touchcancel
\"
},tt={start:
\"
mousedown
\"
,end:
\"
mouseup
\"
,move:
\"
mousemove
\"
,over:
\"
mouseover
\"
,out:
\"
mouseout
\"
,hover:
\"
mousehover
\"
};function ct(a,b,c,d){a=a.createElement(b);c&&(a.className=c);d&&(a.innerHTML=d);return a}function mt(a,b){for(var c=1,d=arguments.length;c<d;c++)a.appendChild(arguments[c])}var ut=new pt;function vt(a,b,c){ut.addEventListener(a,b,c,void 0)}function wt(a,b,c){ut.removeEventListener(a,b,c,void 0)};var xt=[];u(
\"
H.ui.i18n.defaultLocales
\"
,xt);var yt={},zt=[];function At(a,b){yt[a]=b;-1===xt.indexOf(a)&&xt.push(a);zt.length?Bt(a,b):zt=Object.keys(b)}function Bt(a,b){for(var c=zt,d=c.length,e;d--;)if(e=c[d],!b[e])throw Error(
\"
'
\"
+e+
\"
' key missing in translation map for
\"
+a);};At(
\"
nl-NL
\"
,{
\"
layers.normal
\"
:
\"
Kaartweergave
\"
,
\"
layers.satellite
\"
:
\"
Satelliet
\"
,
\"
layers.terrain
\"
:
\"
Terrein
\"
,
\"
layer.transit
\"
:
\"
Openbaar vervoer
\"
,
\"
layer.traffic
\"
:
\"
Verkeerssituatie
\"
,
\"
layer.incidents
\"
:
\"
Toon verkeersincidenten
\"
,
\"
layers.choose
\"
:
\"
Weergave kiezen
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Overgaan naar mijlen
\"
,
\"
scale.switchToMetric
\"
:
\"
Wijzigen naar km
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
mi
\"
,
\"
scale.ft
\"
:
\"
ft
\"
,
\"
zoom.out
\"
:
\"
Uitzoomen
\"
,
\"
zoom.in
\"
:
\"
Inzoomen
\"
,
\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"
Openbaar vervoer
\"
,
\n\"
traffic.MISCELLANEOUS
\"
:
\"
Diversen
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Ongeval
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
Meer informatie
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"
Geplande afzetting
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Gevaar op de weg
\"
,
\"
traffic.WEATHER
\"
:
\"
Weer
\"
,
\"
traffic.CONGESTION
\"
:
\"
Verkeersopstopping
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Wegwerkzaamheden
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
Voertuig met pech
\"
,
\"
traffic.from
\"
:
\"
Begintijd:
\"
,
\"
traffic.until
\"
:
\"
Geschatte eindtijd:
\"
,
\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
pt-PT
\"
,{
\"
layers.normal
\"
:
\"
Vista do mapa
\"
,
\"
layers.satellite
\"
:
\"
Sat
\\
u00e9lite
\"
,
\"
layers.terrain
\"
:
\"
Terreno
\"
,
\"
layer.transit
\"
:
\"
Transportes p
\\
u00fablicos
\"
,
\"
layer.traffic
\"
:
\"
Condi
\\
u00e7
\\
u00f5es de tr
\\
u00e2nsito
\"
,
\"
layer.incidents
\"
:
\"
Mostrar incidentes de tr
\\
u00e2nsito
\"
,
\"
layers.choose
\"
:
\"
Escolher vista
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Mudar para milhas
\"
,
\"
scale.switchToMetric
\"
:
\"
Mudar para km
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
mi
\"
,
\"
scale.ft
\"
:
\"
ft
\"
,
\"
zoom.out
\"
:
\"
Diminuir
\"
,
\"
zoom.in
\"
:
\"
Aumentar
\"
,
\n\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"
Transportes p
\\
u00fablicos
\"
,
\"
traffic.MISCELLANEOUS
\"
:
\"
Diversos
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Acidente
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
Outras not
\\
u00edcias
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"
Evento planeado
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Perigo na estrada
\"
,
\"
traffic.WEATHER
\"
:
\"
Meteorologia
\"
,
\"
traffic.CONGESTION
\"
:
\"
Congestionamento
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Constru
\\
u00e7
\\
u00e3o
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
Ve
\\
u00edculo avariado
\"
,
\"
traffic.from
\"
:
\"
Hora de in
\\
u00edcio:
\"
,
\"
traffic.until
\"
:
\"
Hora de fim prevista:
\"
,
\n\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
ru-RU
\"
,{
\"
layers.normal
\"
:
\"\\
u0420
\\
u0435
\\
u0436
\\
u0438
\\
u043c
\\
u043a
\\
u0430
\\
u0440
\\
u0442
\\
u044b
\"
,
\"
layers.satellite
\"
:
\"\\
u0421
\\
u043f
\\
u0443
\\
u0442
\\
u043d
\\
u0438
\\
u043a
\\
u043e
\\
u0432
\\
u0430
\\
u044f
\"
,
\"
layers.terrain
\"
:
\"\\
u041c
\\
u0435
\\
u0441
\\
u0442
\\
u043d
\\
u043e
\\
u0441
\\
u0442
\\
u044c
\"
,
\"
layer.transit
\"
:
\"\\
u041e
\\
u0431
\\
u0449
\\
u0435
\\
u0441
\\
u0442
\\
u0432
\\
u0435
\\
u043d
\\
u043d
\\
u044b
\\
u0439
\\
u0442
\\
u0440
\\
u0430
\\
u043d
\\
u0441
\\
u043f
\\
u043e
\\
u0440
\\
u0442
\"
,
\"
layer.traffic
\"
:
\"\\
u0414
\\
u043e
\\
u0440
\\
u043e
\\
u0436
\\
u043d
\\
u044b
\\
u0435
\\
u0443
\\
u0441
\\
u043b
\\
u043e
\\
u0432
\\
u0438
\\
u044f
\"
,
\n\"
layer.incidents
\"
:
\"\\
u041f
\\
u043e
\\
u043a
\\
u0430
\\
u0437
\\
u0430
\\
u0442
\\
u044c
\\
u0434
\\
u043e
\\
u0440
\\
u043e
\\
u0436
\\
u043d
\\
u044b
\\
u0435
\\
u0441
\\
u043e
\\
u0431
\\
u044b
\\
u0442
\\
u0438
\\
u044f
\"
,
\"
layers.choose
\"
:
\"\\
u0412
\\
u044b
\\
u0431
\\
u0435
\\
u0440
\\
u0438
\\
u0442
\\
u0435
\\
u0432
\\
u0438
\\
u0434
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"\\
u0418
\\
u0441
\\
u043f
\\
u043e
\\
u043b
\\
u044c
\\
u0437
\\
u043e
\\
u0432
\\
u0430
\\
u0442
\\
u044c
\\
u043c
\\
u0438
\\
u043b
\\
u0438
\"
,
\"
scale.switchToMetric
\"
:
\"\\
u0418
\\
u0441
\\
u043f
\\
u043e
\\
u043b
\\
u044c
\\
u0437
\\
u043e
\\
u0432
\\
u0430
\\
u0442
\\
u044c
\\
u043a
\\
u0438
\\
u043b
\\
u043e
\\
u043c
\\
u0435
\\
u0442
\\
u0440
\\
u044b
\"
,
\n\"
scale.km
\"
:
\"\\
u043a
\\
u043c
\"
,
\"
scale.m
\"
:
\"\\
u043c
\"
,
\"
scale.mi
\"
:
\"\\
u043c
\\
u0438
\\
u043b
\\
u044c
\"
,
\"
scale.ft
\"
:
\"\\
u0444
\\
u0443
\\
u0442
\"
,
\"
zoom.out
\"
:
\"\\
u041e
\\
u0442
\\
u0434
\\
u0430
\\
u043b
\\
u0438
\\
u0442
\\
u044c
\"
,
\"
zoom.in
\"
:
\"\\
u041f
\\
u0440
\\
u0438
\\
u0431
\\
u043b
\\
u0438
\\
u0437
\\
u0438
\\
u0442
\\
u044c
\"
,
\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"\\
u041e
\\
u0431
\\
u0449
\\
u0435
\\
u0441
\\
u0442
\\
u0432
\\
u0435
\\
u043d
\\
u043d
\\
u044b
\\
u0439
\\
u0442
\\
u0440
\\
u0430
\\
u043d
\\
u0441
\\
u043f
\\
u043e
\\
u0440
\\
u0442
\"
,
\"
traffic.MISCELLANEOUS
\"
:
\"\\
u041f
\\
u0440
\\
u043e
\\
u0447
\\
u0435
\\
u0435
\\
u0414
\\
u0422
\\
u041f
\"
,
\n\"
traffic.ACCIDENT
\"
:
\"\\
u0414
\\
u0422
\\
u041f
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"\\
u0414
\\
u0440
\\
u0443
\\
u0433
\\
u0438
\\
u0435
\\
u043d
\\
u043e
\\
u0432
\\
u043e
\\
u0441
\\
u0442
\\
u0438
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"\\
u041f
\\
u043b
\\
u0430
\\
u043d
\\
u043e
\\
u0432
\\
u043e
\\
u0435
\\
u043c
\\
u0435
\\
u0440
\\
u043e
\\
u043f
\\
u0440
\\
u0438
\\
u044f
\\
u0442
\\
u0438
\\
u0435
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"\\
u0414
\\
u043e
\\
u0440
\\
u043e
\\
u0436
\\
u043d
\\
u0430
\\
u044f
\\
u043e
\\
u043f
\\
u0430
\\
u0441
\\
u043d
\\
u043e
\\
u0441
\\
u0442
\\
u044c
\"
,
\"
traffic.WEATHER
\"
:
\"\\
u041f
\\
u043e
\\
u0433
\\
u043e
\\
u0434
\\
u0430
\"
,
\"
traffic.CONGESTION
\"
:
\"\\
u041f
\\
u0440
\\
u043e
\\
u0431
\\
u043a
\\
u0430
\"
,
\n\"
traffic.CONSTRUCTION
\"
:
\"\\
u0420
\\
u0435
\\
u043c
\\
u043e
\\
u043d
\\
u0442
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"\\
u041d
\\
u0435
\\
u0438
\\
u0441
\\
u043f
\\
u0440
\\
u0430
\\
u0432
\\
u043d
\\
u044b
\\
u0439
\\
u0430
\\
u0432
\\
u0442
\\
u043e
\\
u043c
\\
u043e
\\
u0431
\\
u0438
\\
u043b
\\
u044c
\"
,
\"
traffic.from
\"
:
\"\\
u0412
\\
u0440
\\
u0435
\\
u043c
\\
u044f
\\
u043d
\\
u0430
\\
u0447
\\
u0430
\\
u043b
\\
u0430:
\"
,
\"
traffic.until
\"
:
\"\\
u041e
\\
u0436
\\
u0438
\\
u0434
\\
u0430
\\
u0435
\\
u043c
\\
u043e
\\
u0435
\\
u0432
\\
u0440
\\
u0435
\\
u043c
\\
u044f
\\
u043e
\\
u043a
\\
u043e
\\
u043d
\\
u0447
\\
u0430
\\
u043d
\\
u0438
\\
u044f:
\"
,
\"
distance.measurement
\"
:
\"\\
u0418
\\
u0437
\\
u043c
\\
u0435
\\
u0440
\\
u0438
\\
u0442
\\
u044c
\\
u0440
\\
u0430
\\
u0441
\\
u0441
\\
u0442
\\
u043e
\\
u044f
\\
u043d
\\
u0438
\\
u0435
\"
});At(
\"
fi-FI
\"
,{
\"
layers.normal
\"
:
\"
Karttan
\\
u00e4kym
\\
u00e4
\"
,
\"
layers.satellite
\"
:
\"
Satelliitti
\"
,
\"
layers.terrain
\"
:
\"
Maasto
\"
,
\"
layer.transit
\"
:
\"
Julkinen liikenne
\"
,
\"
layer.traffic
\"
:
\"
Liikenneolosuhteet
\"
,
\"
layer.incidents
\"
:
\"
N
\\
u00e4yt
\\
u00e4 liikennetapahtumat
\"
,
\"
layers.choose
\"
:
\"
Valitse n
\\
u00e4kym
\\
u00e4
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Vaihda maileihin
\"
,
\"
scale.switchToMetric
\"
:
\"
Vaihda kilometreihin
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
mi
\"
,
\"
scale.ft
\"
:
\"
ft
\"
,
\"
zoom.out
\"
:
\"
Loitonna
\"
,
\"
zoom.in
\"
:
\"
L
\\
u00e4henn
\\
u00e4
\"
,
\n\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"
Julkinen liikenne
\"
,
\"
traffic.MISCELLANEOUS
\"
:
\"
Erittelem
\\
u00e4t
\\
u00f6n syy
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Onnettomuus
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
Muu tapahtuma
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"
Suunniteltu tapahtuma
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Vaara tiell
\\
u00e4
\"
,
\"
traffic.WEATHER
\"
:
\"
S
\\
u00e4
\\
u00e4
\"
,
\"
traffic.CONGESTION
\"
:
\"
Ruuhka
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Rakennusty
\\
u00f6
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
Pys
\\
u00e4htynyt ajoneuvo
\"
,
\"
traffic.from
\"
:
\"
Alkamisaika:
\"
,
\"
traffic.until
\"
:
\"
Arvioitu p
\\
u00e4
\\
u00e4ttymisaika:
\"
,
\n\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
pt-BR
\"
,{
\"
layers.normal
\"
:
\"
Exibi
\\
u00e7
\\
u00e3o do mapa
\"
,
\"
layers.satellite
\"
:
\"
Sat
\\
u00e9lite
\"
,
\"
layers.terrain
\"
:
\"
Terreno
\"
,
\"
layer.transit
\"
:
\"
Transporte p
\\
u00fablico
\"
,
\"
layer.traffic
\"
:
\"
Condi
\\
u00e7
\\
u00f5es do tr
\\
u00e2nsito
\"
,
\"
layer.incidents
\"
:
\"
Mostrar incidentes no tr
\\
u00e2nsito
\"
,
\"
layers.choose
\"
:
\"
Escolher exibi
\\
u00e7
\\
u00e3o
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Mudar para milhas
\"
,
\"
scale.switchToMetric
\"
:
\"
Mudar para km
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
milhas
\"
,
\"
scale.ft
\"
:
\"
p
\\
u00e9s
\"
,
\"
zoom.out
\"
:
\"
Menos zoom
\"
,
\n\"
zoom.in
\"
:
\"
Mais zoom
\"
,
\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"
Transporte p
\\
u00fablico
\"
,
\"
traffic.MISCELLANEOUS
\"
:
\"
Miscel
\\
u00e2nea
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Acidente
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
Outras not
\\
u00edcias
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"
Evento planejado
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Risco na estrada
\"
,
\"
traffic.WEATHER
\"
:
\"
Clima
\"
,
\"
traffic.CONGESTION
\"
:
\"
Congestionamento
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Constru
\\
u00e7
\\
u00e3o
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
Ve
\\
u00edculo incapacitado
\"
,
\"
traffic.from
\"
:
\"
Hora de in
\\
u00edcio:
\"
,
\n\"
traffic.until
\"
:
\"
Tempo final estimado:
\"
,
\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
zh-CN
\"
,{
\"
layers.normal
\"
:
\"\\
u5730
\\
u56fe
\\
u89c6
\\
u56fe
\"
,
\"
layers.satellite
\"
:
\"\\
u536b
\\
u661f
\"
,
\"
layers.terrain
\"
:
\"\\
u5730
\\
u5f62
\"
,
\"
layer.transit
\"
:
\"\\
u516c
\\
u5171
\\
u4ea4
\\
u901a
\"
,
\"
layer.traffic
\"
:
\"\\
u4ea4
\\
u901a
\\
u60c5
\\
u51b5
\"
,
\"
layer.incidents
\"
:
\"\\
u663e
\\
u793a
\\
u4ea4
\\
u901a
\\
u4e8b
\\
u4ef6
\"
,
\"
layers.choose
\"
:
\"\\
u9009
\\
u62e9
\\
u89c6
\\
u56fe
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"\\
u5207
\\
u6362
\\
u4e3a
\\
u300c
\\
u82f1
\\
u91cc
\\
u300d
\"
,
\"
scale.switchToMetric
\"
:
\"\\
u5207
\\
u6362
\\
u4e3a
\\
u300c
\\
u516c
\\
u91cc
\\
u300d
\"
,
\"
scale.km
\"
:
\"\\
u516c
\\
u91cc
\"
,
\"
scale.m
\"
:
\"\\
u7c73
\"
,
\n\"
scale.mi
\"
:
\"\\
u82f1
\\
u91cc
\"
,
\"
scale.ft
\"
:
\"\\
u82f1
\\
u5c3a
\"
,
\"
zoom.out
\"
:
\"\\
u7f29
\\
u5c0f
\"
,
\"
zoom.in
\"
:
\"\\
u653e
\\
u5927
\"
,
\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"\\
u516c
\\
u5171
\\
u4ea4
\\
u901a
\"
,
\"
traffic.MISCELLANEOUS
\"
:
\"\\
u7efc
\\
u5408
\\
u4e8b
\\
u4ef6
\"
,
\"
traffic.ACCIDENT
\"
:
\"\\
u4ea4
\\
u901a
\\
u610f
\\
u5916
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"\\
u5176
\\
u4ed6
\\
u65b0
\\
u95fb
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"\\
u9884
\\
u5b9a
\\
u4e8b
\\
u4ef6
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"\\
u9053
\\
u8def
\\
u5371
\\
u9669
\"
,
\"
traffic.WEATHER
\"
:
\"\\
u5929
\\
u6c14
\"
,
\"
traffic.CONGESTION
\"
:
\"\\
u5835
\\
u585e
\"
,
\n\"
traffic.CONSTRUCTION
\"
:
\"\\
u65bd
\\
u5de5
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"\\
u8f66
\\
u8f86
\\
u629b
\\
u951a
\"
,
\"
traffic.from
\"
:
\"\\
u5f00
\\
u59cb
\\
u65f6
\\
u95f4
\\
uff1a
\"
,
\"
traffic.until
\"
:
\"\\
u9884
\\
u8ba1
\\
u7ed3
\\
u675f
\\
u65f6
\\
u95f4
\\
uff1a
\"
,
\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
es-ES
\"
,{
\"
layers.normal
\"
:
\"
Mapa
\"
,
\"
layers.satellite
\"
:
\"
Sat
\\
u00e9lite
\"
,
\"
layers.terrain
\"
:
\"
Terreno
\"
,
\"
layer.transit
\"
:
\"
Transporte p
\\
u00fablico
\"
,
\"
layer.traffic
\"
:
\"
Estado del tr
\\
u00e1fico
\"
,
\"
layer.incidents
\"
:
\"
Mostrar incidentes de tr
\\
u00e1fico
\"
,
\"
layers.choose
\"
:
\"
Elija una vista
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Cambiar a millas
\"
,
\"
scale.switchToMetric
\"
:
\"
Cambiar a km
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
mi
\"
,
\"
scale.ft
\"
:
\"
ft
\"
,
\"
zoom.out
\"
:
\"
Alejar
\"
,
\"
zoom.in
\"
:
\"
Acercar
\"
,
\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\n\"
traffic.MASS_TRANSIT
\"
:
\"
Transporte p
\\
u00fablico
\"
,
\"
traffic.MISCELLANEOUS
\"
:
\"
Varios
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Accidente
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
M
\\
u00e1s noticias
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"
Acto programado
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Riesgo en carretera
\"
,
\"
traffic.WEATHER
\"
:
\"
Tiempo
\"
,
\"
traffic.CONGESTION
\"
:
\"
Atasco
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Construcci
\\
u00f3n
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
Veh
\\
u00edculo averiado
\"
,
\"
traffic.from
\"
:
\"
Inicio:
\"
,
\"
traffic.until
\"
:
\"
Finalizaci
\\
u00f3n estimada:
\"
,
\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
fr-FR
\"
,{
\"
layers.normal
\"
:
\"
Carte
\"
,
\"
layers.satellite
\"
:
\"
Satellite
\"
,
\"
layers.terrain
\"
:
\"
Terrain
\"
,
\"
layer.transit
\"
:
\"
Transports publics
\"
,
\"
layer.traffic
\"
:
\"
Conditions de circulation
\"
,
\"
layer.incidents
\"
:
\"
Afficher les incidents de circulation
\"
,
\"
layers.choose
\"
:
\"
Choisir la vue
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Passer en miles
\"
,
\"
scale.switchToMetric
\"
:
\"
Passer en km
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
mi
\"
,
\"
scale.ft
\"
:
\"
ft
\"
,
\"
zoom.out
\"
:
\"
Zoom arri
\\
u00e8re
\"
,
\"
zoom.in
\"
:
\"
Zoom avant
\"
,
\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\n\"
traffic.MASS_TRANSIT
\"
:
\"
Transports publics
\"
,
\"
traffic.MISCELLANEOUS
\"
:
\"
Divers
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Accident
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
Autre
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"\\
u00c9v
\\
u00e9nement pr
\\
u00e9vu
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Danger routier
\"
,
\"
traffic.WEATHER
\"
:
\"
M
\\
u00e9t
\\
u00e9o
\"
,
\"
traffic.CONGESTION
\"
:
\"
Embouteillage
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Travaux
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
V
\\
u00e9hicule en panne
\"
,
\"
traffic.from
\"
:
\"
Date ou heure de d
\\
u00e9but:
\"
,
\"
traffic.until
\"
:
\"
Date et heure de fin estim
\\
u00e9es:
\"
,
\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
pl-PL
\"
,{
\"
layers.normal
\"
:
\"
Widok mapy
\"
,
\"
layers.satellite
\"
:
\"
Satelita
\"
,
\"
layers.terrain
\"
:
\"
Teren
\"
,
\"
layer.transit
\"
:
\"
Transport publiczny
\"
,
\"
layer.traffic
\"
:
\"
Warunki drogowe
\"
,
\"
layer.incidents
\"
:
\"
Poka
\\
u017c zdarzenia drogowe
\"
,
\"
layers.choose
\"
:
\"
Wybierz widok
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Zmie
\\
u0144 na mile
\"
,
\"
scale.switchToMetric
\"
:
\"
Zmie
\\
u0144 na km
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
mi
\"
,
\"
scale.ft
\"
:
\"
ft
\"
,
\"
zoom.out
\"
:
\"
Oddal
\"
,
\"
zoom.in
\"
:
\"
Przybli
\\
u017c
\"
,
\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"
Transport publiczny
\"
,
\n\"
traffic.MISCELLANEOUS
\"
:
\"
Inne zdarzenie
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Wypadek
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
Inne wiadomo
\\
u015bci
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"
Zdarzenie planowane
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Niebezpiecze
\\
u0144stwo na drodze
\"
,
\"
traffic.WEATHER
\"
:
\"
Pogoda
\"
,
\"
traffic.CONGESTION
\"
:
\"
Korek
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Budowa
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
Uszkodzony pojazd
\"
,
\"
traffic.from
\"
:
\"
Data rozpocz
\\
u0119cia:
\"
,
\"
traffic.until
\"
:
\"
Przybli
\\
u017cona data zako
\\
u0144czenia:
\"
,
\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
de-DE
\"
,{
\"
layers.normal
\"
:
\"
Kartenansicht
\"
,
\"
layers.satellite
\"
:
\"
Satellit
\"
,
\"
layers.terrain
\"
:
\"
Gel
\\
u00e4nde
\"
,
\"
layer.transit
\"
:
\"\\
u00d6ffentliche Verkehrsmittel
\"
,
\"
layer.traffic
\"
:
\"
Verkehrslage
\"
,
\"
layer.incidents
\"
:
\"
Verkehrsst
\\
u00f6rungen anzeigen
\"
,
\"
layers.choose
\"
:
\"
Ansicht ausw
\\
u00e4hlen
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Umrechnung in Meilen
\"
,
\"
scale.switchToMetric
\"
:
\"
Umrechnung in Kilometer
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
mi
\"
,
\"
scale.ft
\"
:
\"
ft
\"
,
\"
zoom.out
\"
:
\"
Verkleinern
\"
,
\"
zoom.in
\"
:
\"
Vergr
\\
u00f6
\\
u00dfern
\"
,
\n\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"\\
u00d6ffentliche Verkehrsmittel
\"
,
\"
traffic.MISCELLANEOUS
\"
:
\"
Diverse
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Unfall
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
Anderes Ereignis
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"
Geplantes Ereignis
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Verkehrshindernis
\"
,
\"
traffic.WEATHER
\"
:
\"
Wetter
\"
,
\"
traffic.CONGESTION
\"
:
\"
Verkehrsstau
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Baustelle
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
Liegengebliebenes Fahrzeug
\"
,
\"
traffic.from
\"
:
\"
Beginn:
\"
,
\"
traffic.until
\"
:
\"
Voraussichtliches Ende:
\"
,
\n\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
tr-TR
\"
,{
\"
layers.normal
\"
:
\"
Harita g
\\
u00f6r
\\
u00fcn
\\
u00fcm
\\
u00fc
\"
,
\"
layers.satellite
\"
:
\"
Uydu
\"
,
\"
layers.terrain
\"
:
\"
Arazi
\"
,
\"
layer.transit
\"
:
\"
Toplu ula
\\
u015f
\\
u0131m
\"
,
\"
layer.traffic
\"
:
\"
Trafik durumlar
\\
u0131
\"
,
\"
layer.incidents
\"
:
\"
Trafik olaylar
\\
u0131n
\\
u0131 g
\\
u00f6ster
\"
,
\"
layers.choose
\"
:
\"
G
\\
u00f6r
\\
u00fcn
\\
u00fcm se
\\
u00e7
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Mile d
\\
u00f6n
\\
u00fc
\\
u015ft
\\
u00fcr
\"
,
\"
scale.switchToMetric
\"
:
\"
Kilometreye d
\\
u00f6n
\\
u00fc
\\
u015ft
\\
u00fcr
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
mil
\"
,
\"
scale.ft
\"
:
\"
ft
\"
,
\n\"
zoom.out
\"
:
\"
Uzakla
\\
u015ft
\\
u0131r
\"
,
\"
zoom.in
\"
:
\"
Yak
\\
u0131nla
\\
u015ft
\\
u0131r
\"
,
\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"
Toplu ula
\\
u015f
\\
u0131m
\"
,
\"
traffic.MISCELLANEOUS
\"
:
\"\\
u00c7e
\\
u015fitli
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Kaza
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
Di
\\
u011fer haberler
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"
Planl
\\
u0131 etkinlik
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Yol tehlikesi
\"
,
\"
traffic.WEATHER
\"
:
\"
Hava durumu
\"
,
\"
traffic.CONGESTION
\"
:
\"
Yo
\\
u011funluk
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Yol
\\
u00e7al
\\
u0131
\\
u015fmas
\\
u0131
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
Ara
\\
u00e7 ar
\\
u0131zas
\\
u0131
\"
,
\n\"
traffic.from
\"
:
\"
Ba
\\
u015flang
\\
u0131
\\
u00e7 zaman
\\
u0131:
\"
,
\"
traffic.until
\"
:
\"
Tahmini biti
\\
u015f zaman
\\
u0131:
\"
,
\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
it-IT
\"
,{
\"
layers.normal
\"
:
\"
Vista mappa
\"
,
\"
layers.satellite
\"
:
\"
Satellite
\"
,
\"
layers.terrain
\"
:
\"
Terreno
\"
,
\"
layer.transit
\"
:
\"
Mezzi pubblici
\"
,
\"
layer.traffic
\"
:
\"
Condizioni del traffico
\"
,
\"
layer.incidents
\"
:
\"
Mostra incidenti stradali
\"
,
\"
layers.choose
\"
:
\"
Scegli vista
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Passa a miglia
\"
,
\"
scale.switchToMetric
\"
:
\"
Passa a km
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
mi
\"
,
\"
scale.ft
\"
:
\"
ft
\"
,
\"
zoom.out
\"
:
\"
Zoom indietro
\"
,
\"
zoom.in
\"
:
\"
Zoom avanti
\"
,
\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"
Mezzi pubblici
\"
,
\n\"
traffic.MISCELLANEOUS
\"
:
\"
Varie
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Incidente
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
Altre notizie
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"
Evento pianificato
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Strada dissestata
\"
,
\"
traffic.WEATHER
\"
:
\"
Maltempo
\"
,
\"
traffic.CONGESTION
\"
:
\"
Ingorgo
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Lavori in corso
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
Veicolo in panne
\"
,
\"
traffic.from
\"
:
\"
Ora di inizio:
\"
,
\"
traffic.until
\"
:
\"
Ora di fine stimata:
\"
,
\"
distance.measurement
\"
:
\"
Measure distance
\"
});At(
\"
en-US
\"
,{
\"
layers.normal
\"
:
\"
Map view
\"
,
\"
layers.satellite
\"
:
\"
Satellite
\"
,
\"
layers.terrain
\"
:
\"
Terrain
\"
,
\"
layer.transit
\"
:
\"
Public transport
\"
,
\"
layer.traffic
\"
:
\"
Traffic conditions
\"
,
\"
layer.incidents
\"
:
\"
Show traffic incidents
\"
,
\"
layers.choose
\"
:
\"
Choose view
\"
,minimap:
\"
Minimap
\"
,
\"
scale.switchToImperial
\"
:
\"
Change to miles
\"
,
\"
scale.switchToMetric
\"
:
\"
Change to km
\"
,
\"
scale.km
\"
:
\"
km
\"
,
\"
scale.m
\"
:
\"
m
\"
,
\"
scale.mi
\"
:
\"
mi
\"
,
\"
scale.ft
\"
:
\"
ft
\"
,
\"
zoom.out
\"
:
\"
Zoom out
\"
,
\"
zoom.in
\"
:
\"
Zoom in
\"
,
\"
zoom.rectangle
\"
:
\"
Zoom rectangle
\"
,
\"
traffic.MASS_TRANSIT
\"
:
\"
Public transport
\"
,
\n\"
traffic.MISCELLANEOUS
\"
:
\"
Miscellaneous
\"
,
\"
traffic.ACCIDENT
\"
:
\"
Accident
\"
,
\"
traffic.OTHER_NEWS
\"
:
\"
Other news
\"
,
\"
traffic.PLANNED_EVENT
\"
:
\"
Planned event
\"
,
\"
traffic.ROAD_HAZARD
\"
:
\"
Road hazard
\"
,
\"
traffic.WEATHER
\"
:
\"
Weather
\"
,
\"
traffic.CONGESTION
\"
:
\"
Congestion
\"
,
\"
traffic.CONSTRUCTION
\"
:
\"
Construction
\"
,
\"
traffic.DISABLED_VEHICLE
\"
:
\"
Disabled vehicle
\"
,
\"
traffic.from
\"
:
\"
Start time:
\"
,
\"
traffic.until
\"
:
\"
Estimated end time:
\"
,
\"
distance.measurement
\"
:
\"
Measure distance
\"
});function Ct(a,b){if(!ra(a))throw new TypeError(
\"
string locale code required
\"
);if(wa(b))Bt(a,b);else{if(-1===xt.indexOf(a))throw Error(
\"
Default locale '
\"
+a+
\"
' does nto exist.
\"
);b=yt[a]}this.a=b||{};this.b=a}u(
\"
H.ui.i18n.Localization
\"
,Ct);Ct.prototype.ym=function(){return this.b};Ct.prototype.getLocale=Ct.prototype.ym;Ct.prototype.sm=function(){return Object.keys(this.a)};Ct.prototype.getKeys=Ct.prototype.sm;Ct.prototype.qh=function(a){return!(!this.a||!this.a[a])};Ct.prototype.hasKey=Ct.prototype.qh;
\n
Ct.prototype.translate=function(a){var b=this.a[a];if(!ra(b))throw Error(
\"
Translation missing for key '
\"
+a+
\"
'.
\"
);return b};Ct.prototype.translate=Ct.prototype.translate;function X(a,b){G.call(this);this.Qa=a||
\"
div
\"
;this.i=b?b.split(
\"
\"
):[];this.i.push(
\"
H_el
\"
);this.Ca(!1)}w(X,G);u(
\"
H.ui.base.Element
\"
,X);X.prototype.V=function(a){if(!a)throw Error(
\"
Wrong document object
\"
);this.O=ct(a,this.Qa,this.i.join(
\"
\"
));this.renderInternal(this.O,a);this.Ca(this.Dc(),!0);Dt(this,this.X);this.wb(this.g);return this.O};X.prototype.$=function(){};X.prototype.G=function(){};X.prototype.S=function(){};X.prototype.renderInternal=X.prototype.S;X.prototype.Dc=function(){return this.u};
\n
X.prototype.isDisabled=X.prototype.Dc;X.prototype.Ca=function(a,b){if(a!==this.u||b)(this.u=a)?this.Oa(
\"
H_disabled
\"
):this.mb(
\"
H_disabled
\"
);return this};X.prototype.setDisabled=X.prototype.Ca;X.prototype.D=null;X.prototype.getData=function(){return this.D};X.prototype.getData=X.prototype.getData;X.prototype.setData=function(a){this.D=a};X.prototype.setData=X.prototype.setData;function Dt(a,b){var c=a.J();a.X=b;c&&(b?c.setAttribute(
\"
title
\"
,b):c.removeAttribute(
\"
title
\"
))}X.prototype.O=null;
\n
X.prototype.J=function(){return this.O};X.prototype.getElement=X.prototype.J;X.prototype.g=!0;X.prototype.wb=function(a){var b=this.J();this.g=a;b&&(b.style.display=a?
\"\"
:
\"
none
\"
)};X.prototype.setVisibility=X.prototype.wb;X.prototype.Ac=function(){return this.g};X.prototype.getVisibility=X.prototype.Ac;X.prototype.Oa=function(a){var b=this.J();0>this.i.indexOf(a)&&this.i.push(a);b&&(b.className=this.i.join(
\"
\"
));return this};X.prototype.addClass=X.prototype.Oa;
\n
X.prototype.mb=function(a){a=this.i.indexOf(a);var b=this.J();-1<a&&this.i.splice(a,1);b&&(b.className=this.i.join(
\"
\"
));return this};X.prototype.removeClass=X.prototype.mb;function Et(a){(a=a.J())&&a.parentNode&&a.parentNode.removeChild(a)}X.prototype.s=function(){X.l.s.call(this);Et(this);this.X=this.D=this.O=null};function Ft(a,b,c){X.call(this,a,b);this.b=c?[].concat(c):[]}w(Ft,X);u(
\"
H.ui.base.Container
\"
,Ft);Ft.prototype.Ca=function(a,b){var c=this.b?this.b.length:0;for(X.prototype.Ca.call(this,a,b);c--;)this.b[c].Ca(a,b);return this};Ft.prototype.setDisabled=Ft.prototype.Ca;Ft.prototype.Na=function(a){var b=this.J();this.b.push(a);b&&(a.V(b.ownerDocument),b.appendChild(a.J()));return this};Ft.prototype.addChild=Ft.prototype.Na;Ft.prototype.$g=function(){return[].concat(this.b)};
\n
Ft.prototype.getChildren=Ft.prototype.$g;Ft.prototype.removeChild=function(a){var b=this.b.indexOf(a),c=this.J();0<=b&&(this.b.splice(b,1),c&&c.removeChild(a.J()))};Ft.prototype.removeChild=Ft.prototype.removeChild;Ft.prototype.ha=function(){var a=this.J();a&&this.b.forEach(function(b){a.removeChild(b.J())});this.b=[]};Ft.prototype.S=function(a,b){for(var c=0,d=this.b.length;c<d;c++)a.appendChild(this.b[c].V(b))};Ft.prototype.renderInternal=Ft.prototype.S;
\n
Ft.prototype.s=function(){this.ha();this.b.forEach(this.ja,this);X.prototype.s.call(this)};Ft.prototype.ja=function(a){a.F()};function Gt(a){C(a,Ce,Gt,1);X.call(this,
\"
div
\"
,
\"
H_context_menu_item
\"
);this.b=a;this.c=A(this.c,this);this.a=A(this.a,this);this.b.addEventListener(
\"
update
\"
,this.a)}w(Gt,X);u(
\"
H.ui.context.Item
\"
,Gt);Gt.prototype.c=function(a){var b=this.b,c=b.callback;c&&!b.isDisabled()&&(this.dispatchEvent(
\"
click
\"
),c(a))};Gt.prototype.S=function(){var a=this,b=this.J();oe(b,
\"
click
\"
,this.c);b.addEventListener(
\"
keyup
\"
,function(b){13==b.keyCode&&a.c(b)});this.a()};Gt.prototype.renderInternal=Gt.prototype.S;
\n
Gt.prototype.a=function(){var a=this.J(),b=this.b;b.callback?(this.Oa(
\"
clickable
\"
),a.setAttribute(
\"
tabindex
\"
,
\"
0
\"
)):(this.mb(
\"
clickable
\"
),a.removeAttribute(
\"
tabindex
\"
));b.isDisabled()?this.Oa(
\"
disabled
\"
):this.mb(
\"
disabled
\"
);b=b.getLabel();Ht.textContent=b;a.innerHTML=Ht.innerHTML.split(
\"\\
n
\"
).join(
\"
<br/>
\"
)};Gt.prototype.s=function(){X.prototype.s.call(this);this.b.removeEventListener(
\"
update
\"
,this.a)};var It=new X(
\"
div
\"
,
\"
H_context_menu_item_separator
\"
);function Jt(a){C(a,Array,Jt,1);Ft.call(this,
\"
div
\"
,
\"
H_context_menu
\"
);this.c=a;this.a=null}w(Jt,Ft);u(
\"
H.ui.context.Menu
\"
,Jt);Jt.prototype.S=function(){Ft.prototype.S.apply(this,arguments);this.c.forEach(function(a){a===De?a=It:(a=new Gt(a),a.addEventListener(
\"
click
\"
,this.f.bind(this)));this.Na(a)},this);oe(this.J(),[
\"
mousedown
\"
,
\"
touchstart
\"
,
\"
pointerdown
\"
,
\"
wheel
\"
],function(a){a.stopPropagation()})};Jt.prototype.renderInternal=Jt.prototype.S;
\n
Jt.prototype.setPosition=function(a,b){if(this.a){var c=this.J();var d=c.offsetWidth;var e=c.offsetHeight;var f=this.a;var g=f.Ba.width;f=f.Ba.height;a+d>g&&a>g/2&&(a-=d);b+e>f&&b>f/2&&(b-=e);$s(c,a,b)}};Jt.prototype.setPosition=Jt.prototype.setPosition;Jt.prototype.f=function(){this.a&&this.a.dispatchEvent(new Ec(
\"
contextmenuclose
\"
,this.a))};Jt.prototype.Ma=function(a){this.a=a};Jt.prototype.setMap=Jt.prototype.Ma;function Kt(a,b){b=b||{};var c=this;X.call(this,
\"
div
\"
,
\"
H_ib H_ib_top
\"
);this.B=A(function(a){c.Dc()||(c.close(),a.preventDefault())},this);this.update=A(this.update,this);this.f=A(this.f,this);this.setPosition(a);this.df(b.content);b.onStateChange&&this.addEventListener(
\"
statechange
\"
,b.onStateChange);this.R(Lt.OPEN)}w(Kt,X);u(
\"
H.ui.InfoBubble
\"
,Kt);Kt.prototype.a=null;Kt.prototype.ya=function(){return this.b};Kt.prototype.setPosition=function(a){this.b=Jf(a);this.update()};
\n
Kt.prototype.setPosition=Kt.prototype.setPosition;Kt.prototype.Ma=function(a){this.a=a};
\n
Kt.prototype.S=function(a,b){this.o=ct(b,
\"
div
\"
,
\"
H_ib_body
\"
);this.tailEl_=ct(b,
\"
div
\"
,
\"
H_ib_tail
\"
);this.j=ct(b,
\"
div
\"
,
\"
H_ib_close H_btn
\"
,Mt);this.c=ct(b,
\"
div
\"
,
\"
H_ib_content
\"
,
\"
\"
);this.o.appendChild(this.j);this.o.appendChild(this.c);vt(this.j,
\"
start
\"
,this.B);this.a.b.addEventListener(
\"
sync
\"
,this.update);this.a.Ba.addEventListener(
\"
sync
\"
,this.update);this.a.addEventListener(
\"
enginechange
\"
,this.f);a.appendChild(this.o);a.appendChild(this.tailEl_);this.df(this.m)};
\n
Kt.prototype.renderInternal=Kt.prototype.S;Kt.prototype.f=function(){this.v||(this.v=setTimeout(this.update,0))};Kt.prototype.update=function(){var a=this.J(),b=this.a,c,d=
\"
none
\"
;this.v=0;if(b&&a&&this.getState()===Lt.OPEN){if(c=b.Ga(this.b)){var e=c.x;c=c.y;b=b.Ba.width;if(e>=-b||e<=2*b||c>=-b||c<=2*b)d=
\"\"
,Nt?(a.style.left=e-b+
\"
px
\"
,a.style.top=c+
\"
px
\"
):$s(a,e,c)}a.style.display=d;
\"\"
===d&&(a.style.visibility=
\"
visible
\"
)}};var Lt={OPEN:
\"
open
\"
,CLOSED:
\"
closed
\"
};Kt.State=Lt;Kt.prototype.C=Lt.OPEN;
\n
Kt.prototype.getState=function(){return this.C};Kt.prototype.getState=Kt.prototype.getState;Kt.prototype.R=function(a){a!==this.C&&(this.C=a,this.dispatchEvent(
\"
statechange
\"
));if(a=this.J())this.C===Lt.OPEN?(a.style.display=
\"
block
\"
,a.style.visibility=
\"
hidden
\"
,this.f()):a.style.display=
\"
none
\"
};Kt.prototype.setState=Kt.prototype.R;Kt.prototype.close=function(){this.R(Lt.CLOSED)};Kt.prototype.close=Kt.prototype.close;Kt.prototype.open=function(){this.R(Lt.OPEN)};Kt.prototype.open=Kt.prototype.open;
\n
Kt.prototype.am=function(){return this.c||null};Kt.prototype.getContentElement=Kt.prototype.am;
\n
Kt.prototype.df=function(a){if(a)if(
\"
string
\"
===typeof a||
\"
number
\"
===typeof a.nodeType&&
\"
string
\"
===typeof a.nodeName)this.m=a;else throw Error(
\"
InfoBubble content must be a string or HTML node.
\"
);else this.m=void 0;this.J()&&(this.m?(this.c.innerHTML=
\"\"
,
\"
string
\"
===typeof this.m?this.c.innerHTML=a:
\"
number
\"
===typeof a.nodeType&&
\"
string
\"
===typeof a.nodeName&&this.c.appendChild(a)):this.c.innerHTML=
\"
\"
,this.f())};Kt.prototype.setContent=Kt.prototype.df;
\n
Kt.prototype.s=function(){this.close();this.df(null);this.j&&wt(this.j,
\"
end
\"
,this.B);this.a&&(this.a.b.removeEventListener(
\"
sync
\"
,this.update),this.a.Ba.removeEventListener(
\"
sync
\"
,this.update));X.prototype.s.call(this)};var Mt='<svg version=
\"
1.1
\"
class=
\"
H_icon
\"
viewBox=
\"
0 0 12 12
\"
><path d=
\"
m8.12 6 3.66-3.66c.29-.29.29-.76 0-1.05l-1.06-1.06c-.29-.29-.76-.29-1.05 0l-3.66 3.66-3.66-3.66c-.29-.29-.76-.29-1.05 0l-1.06 1.06c-.29.29-.3.76 0 1.05l3.66 3.66-3.66 3.66c-.29.29-.29.76 0 1.05l1.06 1.06c.29.29.76.29 1.05 0l3.66-3.66 3.66 3.66c.29.29.76.29 1.05 0l1.06-1.06c.29-.29.3-.76 0-1.05z
\"
></path></svg>';function Ot(a){this.c=a;this.a=this.b=null;this.i=0;this.g=22;this.f=A(this.f,this);a=this.c.wc();a.addEventListener(
\"
mapviewchange
\"
,this.u,!1,this);a=a.a;a.addEventListener(
\"
add
\"
,this.j,!1,this);a.addEventListener(
\"
remove
\"
,this.m,!1,this)}function Pt(a,b){a.b&&b&&a.b===b.za()||(a.b&&a.b.removeEventListener(
\"
tap
\"
,a.f),b?(a.b=b.za(),a.b.addEventListener(
\"
tap
\"
,a.f),a.i=a.b.min,a.g=a.b.max):(a.b=null,a.i=0,a.g=22))}
\n
Ot.prototype.u=function(a){var b=a.newValue.zoom;this.a&&a.modifiers&a.ZOOM&&(b<this.i||b>this.g)&&this.a.close()};Ot.prototype.j=function(a){a=a.added;Qt(a)&&Pt(this,a)};Ot.prototype.m=function(a){Qt(a.removed)&&(this.a&&this.a.close(),Pt(this,null))};function Qt(a){return window.H.service&&a.za()instanceof window.H.service.traffic.incidents.Provider}
\n
Ot.prototype.f=function(a){var b;if(a.target&&(b=a.target.getData())&&0===a.currentPointer.button){this.a||(this.a=new Kt(a.target.pa()),this.a.Oa(
\"
H_tib
\"
),this.c.Wi(this.a));this.a.setPosition(a.target.pa());var c=b.TRAFFIC_ITEM_TYPE_DESC.replace(
\"
\"
,
\"
_
\"
);this.c.xa().qh(
\"
traffic.
\"
+c)&&(c=this.c.xa().translate(
\"
traffic.
\"
+c));this.a.df('<div class=
\"
H_tib_content
\"
><div class=
\"
H_rdo_title
\"
>{{title}}</div><div class=
\"
H_tib_desc
\"
><span>{{desc}}</span><div class=
\"
H_tib_time
\"
><span class=
\"
H_tib_left
\"
>{{traffic.from}}</span><span class=
\"
H_tib_right
\"
>{{from}}</span><br/><span class=
\"
H_tib_left
\"
>{{traffic.until}}</span><span class=
\"
H_tib_right
\"
>{{until}}</span></div></div>'.replace(
\"
{{title}}
\"
,
\n
c).replace(
\"
{{desc}}
\"
,b.TRAFFIC_ITEM_DESCRIPTION[0].value).replace(
\"
{{traffic.from}}
\"
,this.c.xa().translate(
\"
traffic.from
\"
)).replace(
\"
{{traffic.until}}
\"
,this.c.xa().translate(
\"
traffic.until
\"
)).replace(
\"
{{from}}
\"
,b.START_TIME).replace(
\"
{{until}}
\"
,b.END_TIME));this.a.open()}a.stopPropagation()};function Rt(a,b){var c=a.J(),d=this;G.call(this);this.a=a;this.i=c.ownerDocument;this.f={};this.c=[];new Ot(this);this.O=ct(this.i,
\"
div
\"
,
\"
H_ui
\"
);this.B=A(function(a){this.u.put(a.target,a.target.Sc)},this);this.addEventListener(
\"
alignmentchange
\"
,this.B);this.G=A(function(){this.cl()},this);this.addEventListener(
\"
toggleunitsystem
\"
,this.G);this.O.addEventListener(
\"
contextmenu
\"
,this.v,!1);this.O.addEventListener(
\"
MSHoldVisual
\"
,this.v,!1);this.a.addEventListener(
\"
contextmenu
\"
,this.D,!1,this);this.a.addEventListener(
\"
contextmenuclose
\"
,
\n
this.o,!1,this);this.a.xb(this.F.bind(this));this.b=null;this.m=-1;this.u=new bt(this.O,this.i);this.g=ot.METRIC;St(this,
\"
en-US
\"
);b&&Tt(this,b);c.appendChild(this.O);y.setTimeout(function(){d.u.update()},1)}w(Rt,G);u(
\"
H.ui.UI
\"
,Rt);Rt.prototype.v=function(a){for(var b=a.target;b&&!/
\\
bH_ib_content
\\
b/.test(b.className);)b=b.parentNode;b||a.preventDefault()};Rt.prototype.J=function(){return this.O};Rt.prototype.getElement=Rt.prototype.J;Rt.prototype.wc=function(){return this.a};
\n
Rt.prototype.getMap=Rt.prototype.wc;Rt.prototype.Zm=function(){return this.g};Rt.prototype.getUnitSystem=Rt.prototype.Zm;Rt.prototype.mg=function(a){var b=this.f,c;if(a!==this.g)for(c in this.g=a,b)if(b[c]instanceof Z)b[c].onUnitSystemChange(this.g)};Rt.prototype.setUnitSystem=Rt.prototype.mg;
\n
function St(a,b){if(ra(b))var c=b;else if(b instanceof Ct){c=b.b;var d=b}else throw Error(
\"
The locale parameter must be a string or a H.ui.i18n.Localization object.
\"
);if(c)if(d)a.j=d;else if(0<=xt.indexOf(c))a.j=new Ct(c);else throw Error(
\"
Locale [
\"
+c+
\"
] is not supported.
\"
);else throw Error(
\"
No locale was defined.
\"
);}Rt.prototype.xa=function(){return this.j};Rt.prototype.cl=function(){this.g===ot.METRIC?this.mg(ot.IMPERIAL):this.mg(ot.METRIC)};Rt.prototype.toggleUnitSystem=Rt.prototype.cl;
\n
Rt.prototype.Wi=function(a){var b=this.c.length,c=this.O;if(0>this.c.indexOf(a)){a.ba(this);a.Ma(this.a);var d=a.V(this.i);b=0<b?this.c[b-1].J().nextSibling:this.O.firstChild;c.insertBefore(d,b);this.c.push(a)}};Rt.prototype.addBubble=Rt.prototype.Wi;
\n
Rt.prototype.D=function(a){var b=a.items;this.b&&this.o();clearTimeout(this.m);this.m=y.setTimeout(function(){b.length&&(this.b=new Jt(b),this.O.insertBefore(this.b.V(this.i),this.O.firstChild),this.b.ba(this),this.b.Ma(this.a),this.b.setPosition(a.viewportX,a.viewportY))}.bind(this),0)};Rt.prototype.o=function(){this.b&&(this.b.F(),this.b=null)};Rt.prototype.Qn=function(a){var b=this.c.indexOf(a);-1<b&&(a.ba(null),a.Ma(null),this.c.splice(b,1),this.O.removeChild(a.J()))};
\n
Rt.prototype.removeBubble=Rt.prototype.Qn;Rt.prototype.Yl=function(){return this.c};Rt.prototype.getBubbles=Rt.prototype.Yl;Rt.prototype.Cd=function(a,b){if(this.De(a))throw Error(
\"
A control with name [
\"
+a+
\"
] is already registered.
\"
);b.ba(this);b.Ma(this.a);b.$a=this.j;b.V(this.i);b.onUnitSystemChange(this.g);this.f[a]=b};Rt.prototype.addControl=Rt.prototype.Cd;
\n
Rt.prototype.Sn=function(a){var b=this.De(a);if(b)b.G(),b.ba(null),b.Ma(null),Et(b),delete this.f[a];else throw Error(
\"
Control [
\"
+a+
\"
] not found in this UI's controls.
\"
);return b};Rt.prototype.removeControl=Rt.prototype.Sn;Rt.prototype.De=function(a){return this.f[a]};Rt.prototype.getControl=Rt.prototype.De;
\n
Rt.prototype.s=function(){for(var a in this.f)Ys.hasOwnProperty.call(this.f,a)&&this.f[a].F();this.c.forEach(function(a){a.F()});(a=this.O.parentNode)&&a.removeChild(this.O);G.prototype.s.call(this);this.O=null};
\n
function Tt(a,b){var c,d;b.unitSystem&&a.mg(b.unitSystem);(d=b.locale)&&St(a,d);(c=b.zoom)&&a.Cd(
\"
zoom
\"
,new Ut(wa(c)?c:null));(c=b.zoomrectangle)&&a.Cd(
\"
zoomrectangle
\"
,new Vt(wa(c)?c:null));(c=b.mapsettings)&&a.Cd(
\"
mapsettings
\"
,new Wt(wa(c)?c:null));(c=b.scalebar)&&a.Cd(
\"
scalebar
\"
,new Xt(wa(c)?c:null));(c=b.distancemeasurement)&&a.Cd(
\"
distancemeasurement
\"
,new Yt(wa(c)?c:null))}
\n
Rt.prototype.capture=function(a,b,c,d){var e=this.De(
\"
scalebar
\"
),f=a.getContext(
\"
2d
\"
),g=a.width,h=a.height,k=this.a.m,l=5+(k?k.J().childNodes[1].offsetHeight:0);e&&e.Ac()?e.capture(b,function(d){f.drawImage(d,g-d.width-5*b,h-d.height-l*b);c(a)},d):c(a)};Rt.prototype.capture=Rt.prototype.capture;
\n
Rt.createDefault=function(a,b,c){var d=a.vc().type;c=new Rt(a,{unitSystem:ot.METRIC,zoom:{alignment:
\"
right-bottom
\"
},mapsettings:Zt(d,b,a.g),scalebar:{alignment:
\"
bottom-right
\"
},locale:c||
\"
en-US
\"
});if(d===$k.P2D){var e=c.De(
\"
mapsettings
\"
);var f=function(){if(e.wc()){var c=Zt(d,b,a.g);$t(e,c.baseLayers,c.layers)}};a.addEventListener(a.u.mf,f);c.xb(function(){a.removeEventListener(a.u.mf,f)});e.xb(function(){a.removeEventListener(a.u.mf,f)})}return c};
\n
function Zt(a,b,c){var d=b.raster;b=b.vector.normal;var e;if(a===$k.P2D){a=[{label:
\"
layers.normal
\"
,layer:d.normal.map},{label:
\"
layers.satellite
\"
,layer:d.satellite.map},{label:
\"
layers.terrain
\"
,layer:d.terrain.map}];if(c)for(e in d)if(d[e].map===c){var f=e;break}c=[{label:
\"
layer.incidents
\"
,layer:d.normal.trafficincidents},{label:
\"
layer.transit
\"
,layer:f&&d[f].transit}]}else a=[{label:
\"
layers.normal
\"
,layer:b.map},{label:
\"
layers.satellite
\"
,layer:d.satellite.map}],c=[{label:
\"
layer.traffic
\"
,layer:b.traffic},
\n
{label:
\"
layer.incidents
\"
,layer:b.trafficincidents}];return{alignment:
\"
bottom-right
\"
,baseLayers:a,layers:c}};function au(a){a=a||{};X.call(this,
\"
div
\"
,
\"
H_btn
\"
);this.Mc(a.label||
\"
\"
);Dt(this,a.tooltip||
\"\"
);this.setData(a.data);this.Ca(!!a.disabled);this.R(bu.UP,!0);a.onStateChange&&this.addEventListener(
\"
statechange
\"
,a.onStateChange);this.c=A(this.c,this);this.b=A(this.b,this)}w(au,X);u(
\"
H.ui.base.Button
\"
,au);au.prototype.Ca=function(a,b){a&&this.mb(
\"
H_active
\"
);return au.l.Ca.call(this,a,b)};
\n
au.prototype.S=function(a){vt(a,
\"
start
\"
,this.c);vt(a,
\"
end
\"
,this.b);vt(a,
\"
out
\"
,this.b);this.Mc(this.He(),!0)};au.prototype.renderInternal=au.prototype.S;au.prototype.getState=function(){return this.C};au.prototype.getState=au.prototype.getState;au.prototype.R=function(a,b){a!==this.C&&(this.C=a,a===bu.DOWN?this.Oa(
\"
H_active
\"
):this.mb(
\"
H_active
\"
),b||this.dispatchEvent(
\"
statechange
\"
));return this};au.prototype.setState=au.prototype.R;au.prototype.He=function(){return this.a};
\n
au.prototype.getLabel=au.prototype.He;au.prototype.Mc=function(a,b){if(b||a!==this.a)if(this.a=a,b=this.J())b.innerHTML=a;return this};au.prototype.setLabel=au.prototype.Mc;au.prototype.c=function(a){this.Dc()||this.R(bu.DOWN);a.preventDefault()};au.prototype.b=function(a){this.Dc()||this.R(bu.UP);a.preventDefault()};au.prototype.s=function(){var a=this.J();a&&(wt(a,
\"
start
\"
,this.c),wt(a,
\"
end
\"
,this.b),wt(a,
\"
out
\"
,this.b));X.prototype.s.call(this)};var bu={UP:
\"
up
\"
,DOWN:
\"
down
\"
};au.State=bu;function cu(a){a=a||{};var b;this.c=!!a.vertical;this.ja=a.length||
\"
16em
\"
;this.a=Tb(b=a.min)?b:0;this.m=Jc(this.a,Tb(b=a.max)?b:100);this.ca=F(b=a.step)?1:b;this.o=du(this,Tb(b=a.value)?b:(this.a+this.m)/2);this.Vf=A(this.Vf,this);this.Qf=A(this.Qf,this);this.Xf=A(this.Xf,this);this.Wf=A(this.Wf,this);this.b=a.pointerArea;X.call(this,
\"
div
\"
,
\"
H_slider
\"
+(this.c?
\"\"
:
\"
H_l_horizontal
\"
))}w(cu,X);u(
\"
H.ui.base.Slider
\"
,cu);
\n
cu.prototype.ng=function(a,b){var c=this.c,d=c?
\"
top
\"
:
\"
left
\"
;if(!this.f||b)a=ld(a,this.a,this.m),this.j&&(b=100*(a-this.a)/(this.m-this.a),c=(c?-1:1)*b,this.j.style[d]=c+
\"
%
\"
,this.$a.style[d]=100+c+
\"
%
\"
),this.o=du(this,a);return this.o};cu.prototype.setValue=cu.prototype.ng;cu.prototype.$m=function(){return this.o};cu.prototype.getValue=cu.prototype.$m;function eu(a){a.v||(vt(a.J(),
\"
start
\"
,a.Vf),vt(a.b,
\"
move
\"
,a.Qf),vt(a.b,
\"
end
\"
,a.Xf),vt(a.b,
\"
out
\"
,a.Wf),a.v=!0)}
\n
function fu(a){a.v&&(wt(a.J(),
\"
start
\"
,a.Vf),wt(a.b,
\"
move
\"
,a.Qf),wt(a.b,
\"
end
\"
,a.Xf),wt(a.b,
\"
out
\"
,a.Wf),a.v=!1)}function du(a,b){var c=a.ca;b=ld(b,a.a,a.m);return c?a.a+Kc((b-a.a)/c)*c:b}function gu(a,b){var c=a.P,d=a.c;a.B||(a.B=c[
\"
offset
\"
+(d?
\"
Height
\"
:
\"
Width
\"
)]);b-=Zs(c)[d?
\"
y
\"
:
\"
x
\"
];0>b&&(b=0);b=(a.m-a.a)*b/a.B;b=du(a,d?a.m-b:a.a+b);a.o!==b&&(a.ng(b,!0),a.dispatchEvent(new wg(a.fk.Ad,b,a.o)))}function hu(a,b){return(b.touches?b.targetTouches[0]:b)[
\"
page
\"
+(a.c?
\"
Y
\"
:
\"
X
\"
)]}
\n
function iu(a){var b=!1,c=a.type;-1!==c.indexOf(
\"
pointer
\"
)||-1!==c.indexOf(
\"
touch
\"
)?b=!0:C(a,MouseEvent)&&(b=1===a.which||1===a.buttons);return b}function ju(a){var b=a.touches;return b&&1===b.length||C(a,MouseEvent)}n=cu.prototype;
\n
n.Vf=function(a){var b=this.c;if(iu(a)&&ju(a)){var c=hu(this,a);var d=a.target;d===this.j||d.parentElement===this.j?(this.L=c-Zs(this.j)[b?
\"
y
\"
:
\"
x
\"
]-this.j.offsetWidth/2,this.J().className=
\"
H_slider H_slider_active
\"
+(this.c?
\"\"
:
\"
H_l_horizontal
\"
),this.f=!0):gu(this,c);a.preventDefault()}};n.Xf=function(){this.f&&(this.J().className=
\"
H_slider
\"
+(this.c?
\"\"
:
\"
H_l_horizontal
\"
),this.f=!1)};n.Wf=function(a){this.f&&a.target===this.b&&(this.f=!1)};
\n
n.Qf=function(a){this.f&&ju(a)&&(iu(a)?(gu(this,hu(this,a)-this.L),a.preventDefault()):this.f=!1)};n.fk={Ad:
\"
change
\"
};
\n
n.S=function(a,b){var c=ct(b,
\"
div
\"
,
\"
H_slider_cont
\"
),d=ct(b,
\"
div
\"
,
\"
H_slider_knob_cont
\"
),e=ct(b,
\"
div
\"
,
\"
H_slider_knob
\"
),f=ct(b,
\"
div
\"
,
\"
H_slider_knob_halo
\"
),g=ct(b,
\"
div
\"
,
\"
H_slider_track
\"
);b=ct(b,
\"
div
\"
,
\"
H_slider_track H_slider_track_active
\"
);a.appendChild(c);c.appendChild(g);g.appendChild(b);c.appendChild(d);d.appendChild(e);d.appendChild(f);this.P=g;this.$a=b;this.j=d;this.b||(this.b=a.ownerDocument.body);c.style[this.c?
\"
height
\"
:
\"
width
\"
]=this.ja;this.ng(this.o);eu(this)};
\n
cu.prototype.renderInternal=cu.prototype.S;cu.prototype.s=function(){fu(this)};cu.prototype.Ca=function(a){a?fu(this):this.P&&eu(this);return X.prototype.Ca.call(this,a)};cu.prototype.setDisabled=cu.prototype.Ca;var ku={
\"
in
\"
:'<svg version=
\"
1.1
\"
class=
\"
H_icon
\"
xmlns=
\"
http://www.w3.org/2000/svg
\"
x=
\"
0px
\"
y=
\"
0px
\"
viewBox=
\"
0 0 24 24
\"
enable-background=
\"
new 0 0 24 24
\"
xml:space=
\"
preserve
\"
><g><path d=
\"
m5 10.6h5.6v-5.6h2.8v5.6h5.6v2.8h-5.6v5.6h-2.8v-5.6h-5.6v-2.8z
\"
></path></g></svg>',out:'<svg version=
\"
1.1
\"
class=
\"
H_icon
\"
xmlns=
\"
http://www.w3.org/2000/svg
\"
x=
\"
0px
\"
y=
\"
0px
\"
viewBox=
\"
0 0 24 24
\"
enable-background=
\"
new 0 0 24 24
\"
xml:space=
\"
preserve
\"
><path d=
\"
m5 10.6h14v2.8h-14z
\"
/></svg>'};function Z(){Ft.call(this,
\"
div
\"
,
\"
H_ctl
\"
);this.map=null;this.Sc=
\"
top-left
\"
}w(Z,Ft);u(
\"
H.ui.Control
\"
,Z);Z.prototype.Ma=function(a){this.map=a};Z.prototype.V=function(a){return Ft.prototype.V.call(this,a)};Z.prototype.S=function(a,b){Ft.prototype.renderInternal.call(this,a,b);this.Xb(this.Sc)};Z.prototype.renderInternal=Z.prototype.S;Z.prototype.Re=function(){};Z.prototype.onUnitSystemChange=Z.prototype.Re;Z.prototype.wc=function(){return this.map};Z.prototype.getMap=Z.prototype.wc;
\n
Z.prototype.xa=function(){return this.$a};Z.prototype.getLocalization=Z.prototype.xa;Z.prototype.Tl=function(){return this.Sc};Z.prototype.getAlignment=Z.prototype.Tl;Z.prototype.Xb=function(a){
\"
string
\"
===typeof a&&at[a.replace(
\"
-
\"
,
\"
_
\"
).toUpperCase()]===a&&(this.Sc=a,this.dispatchEvent(
\"
alignmentchange
\"
));return this};Z.prototype.setAlignment=Z.prototype.Xb;function Ut(a){a=a||{};var b=a.slider;Z.call(this);this.o=A(this.o,this);this.v=A(this.v,this);this.a=A(this.a,this);b&&(this.B=A(this.B,this),this.P=b,this.jb=a.sliderSnaps,this.Oa(
\"
H_zoom_slider
\"
));this.f=new au({label:ku[
\"
in
\"
],onStateChange:this.o});this.j=new au({label:ku.out,onStateChange:this.o});this.Oa(
\"
H_zoom
\"
);this.Oa(
\"
H_grp
\"
);this.ca=!1!==a.fractionalZoom;this.setZoomSpeed(a.zoomSpeed||4);this.Xb(a.alignment||
\"
right-middle
\"
)}w(Ut,Z);u(
\"
H.ui.ZoomControl
\"
,Ut);
\n
Ut.prototype.dn=function(){return this.L};Ut.prototype.getZoomSpeed=Ut.prototype.dn;Ut.prototype.fo=function(a){this.L=a};Ut.prototype.setZoomSpeed=Ut.prototype.fo;Ut.prototype.Ma=function(a){this.map!==a&&(this.map&&this.map.removeEventListener(
\"
mapviewchange
\"
,this.v),lu(this));Z.prototype.Ma.apply(this,arguments);this.map&&(this.a(),a.addEventListener(
\"
mapviewchange
\"
,this.v),a.addEventListener(
\"
baselayerchange
\"
,this.a))};Ut.prototype.setMap=Ut.prototype.Ma;
\n
Ut.prototype.s=function(){Z.prototype.s.apply(this,arguments);this.map.removeEventListener(
\"
baselayerchange
\"
,this.a);lu(this)};Ut.prototype.S=function(a,b){Z.prototype.renderInternal.call(this,a,b);Dt(this.f,this.xa().translate(
\"
zoom.in
\"
));Dt(this.j,this.xa().translate(
\"
zoom.out
\"
))};Ut.prototype.renderInternal=Ut.prototype.S;Ut.prototype.Xb=function(a){var b=this.Sc;Z.prototype.Xb.call(this,a);b!==a&&this.a();return this};Ut.prototype.setAlignment=Ut.prototype.Xb;
\n
Ut.prototype.v=function(a){a=a.target.qb();var b=this.map,c=b.fb()-1;b=b.g||b.vc().getCapabilities().lookAt.zoom;this.P&&this.c.ng(a);this.f.Ca(!1);this.j.Ca(!1);a+c>=b.max&&this.f.Ca(!0);a<=b.min&&this.j.Ca(!0)};function lu(a){a.removeChild(a.c);a.c=null;a.m&&(a.m.removeEventListener(
\"
minchange
\"
,a.a),a.m.removeEventListener(
\"
maxchange
\"
,a.a),a.m=null)}
\n
Ut.prototype.o=function(a){a=a.target;var b=a===this.f?1:-1,c=0<b?Math.ceil:Math.floor,d=this.map,e,f=this;d&&(
\"
down
\"
===a.getState()?(d.b.startControl(),d.b.control(0,0,b*this.L,0,0,0)):d.b.endControl(!0,function(a){e=f.ca?a.zoom:c(a.zoom);a.zoom=e}))};Ut.prototype.B=function(a){this.map&&this.map.gf(a.newValue)};
\n
Ut.prototype.a=function(){var a=this.Sc,b=this.wc();if(/^top/g.test(a)||/^bottom/g.test(a)){var c=this.j;a=this.f;var d=!1}else c=this.f,a=this.j,d=!0;this.removeChild(c);this.removeChild(a);this.Na(c);if(this.P&&b){lu(this);b=d;var e=(d=(c=this.map)&&c.g)||c.vc().getCapabilities().lookAt.zoom;if(this.m=d)d.addEventListener(
\"
minchange
\"
,this.a),d.addEventListener(
\"
maxchange
\"
,this.a);this.c=new cu({step:this.jb?1:0,vertical:b,min:e.min,max:e.max,value:c.qb(),pointerArea:c.J()});this.c.addEventListener(this.c.fk.Ad,
\n
this.B);this.Na(this.c)}this.Na(a)};var mu={btn:'<svg class=
\"
H_icon
\"
height=
\"
24
\"
viewBox=
\"
0 0 24 24
\"
width=
\"
24
\"
xmlns=
\"
http://www.w3.org/2000/svg
\"
><g fill-rule=
\"
evenodd
\"
><g transform=
\"
translate(3 2)
\"
><path d=
\"
m18 13v7h-18v-7h2v5h2v-2h2v2h2v-3h2v3h2v-2h2v2h2v-5z
\"
></path><path d=
\"
m2.3.3c.7 0 1.3.1 1.8.4s.9.6 1.1 1 .4.9.4 1.4c0 .5-.1 1-.3 1.4s-.57 1-1 1.6-1.3 1.3-2.3 2.2h3.9l-.2 1.7h-6.16v-1.6c1.1-1.1 2-2 2.5-2.6s.9-1 1-1.4.3-.8.3-1.2c0-.4-.1-.7-.3-.9s-.5-.3-.9-.3c-.3 0-.6 0-.9.2s-.5.4-.8.7l-1.3-1c.4-.5.9-.9 1.4-1.2s1.2-.4 1.8-.4zm14.4 9.7h-2.3l-.2-3.8c 0-.9-.1-1.7-.1-2.4 0-.5 0-1 0-1.5l-1.5 6.7h-2.2l-1.6-6.7c.1.8.1 1.6.1 2.3 0 .5 0 1.1 0 1.7l-.2 3.8h-2.2l.7-9.7h2.9l1.5 6.6 1.4-6.6h2.9z
\"
></path></g></g></svg>',
\n
point:'<svg height=
\"
22
\"
viewBox=
\"
0 0 12 12
\"
width=
\"
22
\"
xmlns=
\"
http://www.w3.org/2000/svg
\"
><g fill=
\"
none
\"
fill-rule=
\"
evenodd
\"
><path d=
\"
m6 12c3.3 0 6-2.7 6-6s-2.7-6-6-6-6 2.7-6 6 2.7 6 6 6z
\"
fill=
\"
#fff
\"
></path><path d=
\"
m6 10c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4z
\"
fill=
\"
#2ed5c9
\"
stroke=
\"
#272c36
\"
stroke-width=
\"
2
\"
></path></g></svg>'};function nu(a){au.call(this,a);this.j=function(a){a.preventDefault()};this.f=A(function(a){this.Dc()||this.toggleState();a.preventDefault()},this)}w(nu,au);u(
\"
H.ui.base.PushButton
\"
,nu);nu.prototype.S=function(a){vt(a,
\"
start
\"
,this.f);vt(a,
\"
end
\"
,this.j);this.Mc(this.He(),!0)};nu.prototype.renderInternal=nu.prototype.S;nu.prototype.no=function(){var a=bu.DOWN;this.R(this.getState()===a?bu.UP:a);return this};nu.prototype.toggleState=nu.prototype.no;
\n
nu.prototype.s=function(){var a=this.J();a&&wt(a,
\"
start
\"
,this.f);au.prototype.s.call(this)};var Nt,ou=navigator.userAgent,pu=-1<ou.indexOf(
\"
Android
\"
)&&-1<ou.indexOf(
\"
Mozilla/5.0
\"
)&&-1<ou.indexOf(
\"
AppleWebKit
\"
),qu=/AppleWebKit
\\
/([
\\
d.]+)/,ru=null===qu.exec(ou)?null:parseFloat(qu.exec(ou)[1]);Nt=pu&&null!==ru&&537>ru;var su=Function(
\"
return this
\"
)(),Ht=document.createElement(
\"
T
\"
);function tu(a,b,c){Ah.call(this,a,{icon:uu,visibility:c});vu(this,b)}w(tu,Ah);function vu(a,b){a.sn=b;a.O&&(a.O.textContent=b)}var uu=new rh(ct(su.document,
\"
span
\"
,
\"
H_dm_label
\"
),{onAttach:function(a,b,c){c.O=a;vu(c,c.sn)},onDetach:function(a,b,c){delete c.O}});function wu(a,b){G.call(this);this.b=a;this.a=new tu(this.B,
\"\"
);b.push(this.a);this.hc=new P({objects:b,data:this});this.f=this.f.bind(this)}w(wu,G);wu.prototype.ad=!1;wu.prototype.B={lat:0,lng:0};wu.prototype.Mc=function(a,b){vu(this.a,a);this.a.fa(b)};wu.prototype.f=function(){this.a.wb(this.g)};function xu(a,b){b&&(a.nextSibling=b,b.previousSibling=a)};function yu(a,b,c,d){var e=new K,f=[];xu(a,this);xu(this,b);e.sd(a.ya());e.sd(b.ya());this.c=new Wg(e,{style:c.Zd});this.m=new Wg(e,{style:{strokeColor:
\"
transparent
\"
,lineWidth:Math.min(100,this.c.Ia().lineWidth+2*(d||5))}});c.c&&(this.j=new Wg(e,{style:c.c}),f.push(this.j));f.push(this.c,this.m);wu.call(this,c,f);this.o=this.u=-1;a=this.hc;a.addEventListener(
\"
pointermove
\"
,this.D,!0,this);a.addEventListener(
\"
pointerleave
\"
,this.v,!0,this)}w(yu,wu);yu.prototype.Fe=function(){var a=this.c.pa();return a.we(0).bb(a.we(1))};
\n
function zu(a,b,c){var d=a.c.pa();d.jf(3*c,3,[b.lat,b.lng,0]);a.j&&a.j.fa(d);a.m.fa(d);a.c.fa(d)}yu.prototype.D=function(a){var b=a.currentPointer;a=this.previousSibling.ya();var c=this.nextSibling.ya(),d=this.b.f,e=b.viewportX;b=b.viewportY;if(this.u!==e||this.o!==b)this.u=e,this.o=b,d.fa(this.b.g(a,c,{x:e,y:b})),d.wb(!0)};yu.prototype.v=function(){this.b.f.wb()};yu.prototype.ii=function(){this.Mc(this.b.a(this.Fe()),this.c.I().lb())};function Au(a,b,c){c=b.b(c||0);this.c=new Om(a,{icon:c,zIndex:0});this.c.draggable=!0;wu.call(this,b,[this.c]);a=this.hc;a.addEventListener(
\"
dragstart
\"
,this.Bn,!0,this);a.addEventListener(
\"
drag
\"
,this.Cn,!0,this);a.addEventListener(
\"
dragend
\"
,this.An,!0,this)}w(Au,wu);n=Au.prototype;n.oj=0;n.Oh={Ad:
\"
change
\"
};n.Fe=function(){return this.oj};n.ya=function(){return this.c.pa()};
\n
function Bu(a){var b=0;a.nextSibling&&a.previousSibling&&(a.nextSibling.ad||a.previousSibling.ad?a.nextSibling.ad&&!a.previousSibling.ad&&(b=2):b=1);b=a.b.b(b);a.c.ed(b)}n.Cn=function(a){var b=a.currentPointer;a=b.viewportX;b=b.viewportY;if(this.m!==a||this.u!==b)this.m=a,this.u=b,this.c.fa(this.b.map.Wa(a-this.j.x,b-this.j.y)),this.dispatchEvent(new Ec(this.Oh.Ad,this))};
\n
n.Bn=function(a){var b=a.currentPointer,c=b.viewportX;b=b.viewportY;var d=this.b.map.Ga(this.ya());this.c.ff(1);this.j={x:c-d.x,y:b-d.y};a.stopPropagation()};n.An=function(){this.c.ff(0)};n.ii=function(a){this.oj=a;this.Mc(this.b.a(a),this.ya())};function Cu(a,b){this.c=b;this.b=a;this.a={previousSibling:null,nextSibling:null,ad:!0};Du(this,this.a);this.Uf=A(this.Uf,this)}u(
\"
H.ui.distanceMeasurement.Model
\"
,Cu);n=Cu.prototype;n.Nf=function(){return this.a.nextSibling===this.a};function Eu(a,b){a=a.a;for(var c=a.nextSibling;c!==a;){var d=c,e=c.previousSibling===a?!1:b;(d.g=e)?d.f():(d.i&&y.clearTimeout(d.i),d.i=y.setTimeout(d.f,100));c=c.nextSibling}}
\n
function Fu(a,b){var c=b||a.a.nextSibling,d=0,e=0;if(b&&!Gu(a,b))throw new D(a.We,0,b);c instanceof Au?d=c.Fe():c instanceof yu&&(d=c.previousSibling.Fe());for(b=c;b&&b!==a.a;b=b.nextSibling,e++)b.ii(d),1===e%2&&(d+=b.Fe())}n.oe=function(a){var b=this.a.previousSibling,c=this.Nf();a=new Au(a,this.c,c?0:2);this.b.T(a.hc);xu(a,this.a);a.addEventListener(a.Oh.Ad,this.Uf);c?Du(this,a):(Hu(this,b,a),Bu(b),Fu(this,b));return a};
\n
n.insertBefore=function(a,b){var c;var d=1;if(b){if(!Gu(this,b))throw new D(this.insertBefore,1,b);if(c=b.previousSibling.ad)d=0;a=new Au(a,this.c,d);a.addEventListener(a.Oh.Ad,this.Uf);this.b.T(a.hc);c?(c=this.a.nextSibling,Hu(this,a,c),Du(this,a),b=a,Bu(c)):(c=b.previousSibling,b=c.previousSibling,d=c.nextSibling,this.b.La(c.hc),Hu(this,b,a),Hu(this,a,d));Fu(this,b)}else a=this.oe(a);return a};n.ha=function(){Du(this,this.a);this.b.ha()};
\n
n.We=function(a){var b=this.a,c=a.previousSibling,d=a.nextSibling;if(!Gu(this,a))throw new D(this.We,0,a);this.b.La(a.hc);if(c===b){var e=d;e!==b?(a=e.nextSibling,Du(this,a),a.ii(0),Bu(a),Fu(this,a)):Du(this,this.a)}else d===b?(e=c,a=e.previousSibling,xu(a,b),Bu(a)):c&&d&&(Hu(this,c.previousSibling,d.nextSibling),this.b.td([d.hc,c.hc]),Fu(this,c.previousSibling));e&&e!==b&&this.b.La(e.hc)};function Gu(a,b){for(var c=a.a.nextSibling,d=!1;c!==a.a;){if(c===b){d=!0;break}c=c.nextSibling}return d}
\n
function Hu(a,b,c){b=new yu(b,c,a.c);a.b.T(b.hc)}function Du(a,b){a.a.nextSibling=b;b.previousSibling=a.a}n.Uf=function(a){a=a.target;var b=a.previousSibling,c=a.nextSibling,d=a.ya();if(!c.ad){zu(c,d,!1);var e=a}b.ad||(zu(b,d,!0),e=b.previousSibling);Fu(this,e)};function Yt(a){a=a||{};var b,c=a.lineStyle;Z.call(this);this.v=new nu({label:mu.btn,onStateChange:A(this.yn,this)});this.Na(this.v);if(b=a.distanceFormatter)this.nj=b;c&&(this.Sj=c,this.qk=B);this.Xb(a.alignment||
\"
right-bottom
\"
);this.m={};this.m[0]=a.startIcon;this.m[2]=a.endIcon;this.m[1]=a.stopoverIcon;this.m[3]=a.splitIcon}w(Yt,Z);u(
\"
H.ui.DistanceMeasurement
\"
,Yt);n=Yt.prototype;n.Sj={strokeColor:
\"
rgb(39,44,54)
\"
,lineWidth:5};n.qk={strokeColor:
\"
white
\"
,lineWidth:7};
\n
function Iu(a){var b=a.map,c,d={};a.f||(a.j=new M,a.c=new Lk(a.j,{pixelRatio:a.map.fb()}),a.B=c=a.j.gc(),a.B.Uk(!0),c.addEventListener(
\"
dragstart
\"
,a.wn,!0,a),c.addEventListener(
\"
dragend
\"
,a.hf,!0,a),c.addEventListener(
\"
pointerenter
\"
,a.hf,!0,a),c.addEventListener(
\"
pointerleave
\"
,a.xn,!0,a),c.addEventListener(
\"
tap
\"
,a.Kn,!0,a),a.o=Ju(a),d.a=A(a.nj,a),d.b=A(a.bk,a),d.g=A(a.yj,a),d.map=a.map,d.f=a.o,d.Zd=a.Sj,d.c=a.qk,a.a=new Cu(a.B,d),a.f=!0);a.o&&a.B.T(a.o);b.addEventListener(
\"
tap
\"
,a.mk,!0,a);b.a.add(a.c)}
\n
function Ku(a){var b=a.map;a.f&&(b.removeEventListener(
\"
tap
\"
,a.mk,!0,a),b.cg(a.c),a.a.ha())}function Ju(a){function b(){var a=c.Db();a={anchor:c.ld().clone().scale(f).floor(),size:new uh(Lc(a.w*f),Lc(a.h*f)),hitArea:d};return new Si(c.Xc(),a)}var c=a.bk(3),d=new vh(wh.NONE,[]),e,f=c===a.P?.5:1;if(1===c.getState())var g=b();else g=new Si(
\"
<svg/>
\"
,{hitArea:d}),c.addEventListener(
\"
statechange
\"
,function(){1===c.getState()&&e.ed(b())});return e=new Om(a.map.lb(),{visibility:!1,icon:g})}
\n
n.nj=function(a){var b=
\"
m
\"
,c=0;
\"
metric
\"
===this.L?1E3<=a&&(a/=1E3,b=
\"
km
\"
,c=1):(a/=.3048,b=
\"
ft
\"
,5280<=a&&(a/=5280,b=
\"
mi
\"
,c=1));return a.toFixed(c)+
\"
\"
+this.xa().translate(
\"
scale.
\"
+b)};n.yj=function(a,b,c){a=this.map.Ga(a);b=this.map.Ga(b);c=(new H(c.x,c.y)).xj(a,b);return this.map.Wa(c.x,c.y)};
\n
n.S=function(a,b){var c=22*(this.map.vc().type===Km.WEBGL?1:this.map.fb()),d=c/2;Z.prototype.renderInternal.call(this,a,b);this.L=ot.METRIC;this.P=new Si(mu.point,{anchor:{x:d,y:d},size:{w:c,h:c},hitArea:new vh(wh.CIRCLE,[d,d,d])});Dt(this.v,this.xa().translate(
\"
distance.measurement
\"
))};Yt.prototype.renderInternal=Yt.prototype.S;n=Yt.prototype;n.bk=function(a){return this.m[a]||this.P};n.hf=function(){Eu(this.a,!0)};n.wn=function(){Eu(this.a)};n.xn=function(a){
\"
touch
\"
!==a.currentPointer.type&&Eu(this.a)};
\n
n.Kn=function(a){var b=a.currentPointer;var c=a.target.Va;var d;c&&(c=c.getData())instanceof wu&&(d=c);c=d;a=a.originalEvent;a=a.metaKey||a.altKey;c&&(a&&c instanceof Au?this.a.We(c):c instanceof yu&&(a=c.previousSibling.ya(),d=c.nextSibling.ya(),b={x:b.viewportX,y:b.viewportY},this.a.insertBefore(this.yj(a,d,b),c.nextSibling),this.o.wb()),this.hf())};
\n
n.mk=function(a){var b=a.currentPointer;a=a.target;a!==this.map&&a.getProvider&&a.getProvider()===this.j||(this.a.oe(this.map.Wa(b.viewportX,b.viewportY)),this.o.wb(),this.hf())};n.yn=function(a){
\"
down
\"
===a.target.getState()?Iu(this):Ku(this)};n.Re=function(a){this.L=a;this.f&&(Fu(this.a),this.hf())};Yt.prototype.onUnitSystemChange=Yt.prototype.Re;Yt.prototype.s=function(){Ku(this);this.f&&(this.j.F(),this.c.F());Yt.l.s.call(this)};
\n
Yt.prototype.Ma=function(a){a?this.v.getState()===bu.DOWN&&(this.map=a,Iu(this)):(Ku(this),this.f=!1);Z.prototype.Ma.apply(this,arguments)};Yt.prototype.setMap=Yt.prototype.Ma;function Lu(){this.C=Mu.CLOSED;Ft.call(this,
\"
div
\"
,
\"
H_overlay
\"
)}w(Lu,Ft);u(
\"
H.ui.base.OverlayPanel
\"
,Lu);Lu.prototype.R=function(a,b){if(a!==this.C||b)this.C=a,a===Mu.OPEN?this.Oa(
\"
H_open
\"
):this.mb(
\"
H_open
\"
);return this};Lu.prototype.setState=Lu.prototype.R;Lu.prototype.getState=function(){return this.C};Lu.prototype.getState=Lu.prototype.getState;
\n
Lu.prototype.uk=function(a){var b=a.Sc;a=a.J();var c=this.J(),d=c.style;this.mb(
\"
H_top
\"
);this.mb(
\"
H_middle
\"
);this.mb(
\"
H_bottom
\"
);this.mb(
\"
H_left
\"
);this.mb(
\"
H_center
\"
);this.mb(
\"
H_right
\"
);d.bottom=d.top=d.left=d.right=d.margin=
\"\"
;if(/top/g.test(b)){this.Oa(
\"
H_top
\"
);d.top=
\"
0
\"
;d.margin=
\"
0 12px
\"
;var e=-1}else/bottom/g.test(b)?(this.Oa(
\"
H_bottom
\"
),d.bottom=
\"
0
\"
,d.margin=
\"
0 12px
\"
,e=1):(this.Oa(
\"
H_middle
\"
),d.top=
\"
50%
\"
,d.margin=
\"
0 12px
\"
,d.marginTop=-Math.round(.5*
\n
c.offsetHeight)+
\"
px
\"
,e=0);/left/g.test(b)?(this.Oa(
\"
H_left
\"
),d.left=a.offsetWidth+
\"
px
\"
,d.marginLeft=
\"
12px
\"
):/right/g.test(b)?(this.Oa(
\"
H_right
\"
),d.right=a.offsetWidth+
\"
px
\"
,d.marginRight=
\"
12px
\"
):(this.Oa(
\"
H_center
\"
),d.left=
\"
50%
\"
,0>e?(d.top=a.offsetHeight+
\"
px
\"
,d.marginTop=
\"
12px
\"
):0<e&&(d.bottom=a.offsetHeight+
\"
px
\"
,d.marginBottom=
\"
12px
\"
),d.marginLeft=-Math.round(.5*c.offsetWidth)+
\"
px
\"
,a.appendChild(c))};Lu.prototype.pointToControl=Lu.prototype.uk;var Mu={OPEN:
\"
open
\"
,CLOSED:
\"
closed
\"
};
\n
Lu.State=Mu;function Nu(a){a=a||{};Ft.call(this,
\"
div
\"
,
\"
H_rdo
\"
);this.f=new X(
\"
div
\"
,
\"
H_rdo_title
\"
);this.a=new Ft(
\"
div
\"
,
\"
H_rdo_buttons
\"
);this.Na(this.f);this.Na(this.a);this.j=A(function(a){a.target.getState()===bu.DOWN?(this.Gk(a.target,!0),this.dispatchEvent(Ou)):a.target.R(bu.DOWN,!0)},this);this.addEventListener(
\"
statechange
\"
,this.j);this.wi(a.title||
\"\"
);a.onActiveButtonChange&&this.addEventListener(Ou,a.onActiveButtonChange);a.buttonsOptions&&a.buttonsOptions.forEach(function(a){this.Bg(new nu(a))},
\n
this)}w(Nu,Ft);u(
\"
H.ui.base.RadioGroup
\"
,Nu);var Ou=
\"
activebuttonchange
\"
;Nu.prototype.S=function(a,b){Ft.prototype.renderInternal.call(this,a,b);this.wi(this.c,!0)};Nu.prototype.renderInternal=Nu.prototype.S;Nu.prototype.ha=function(){this.a.ha()};Nu.prototype.wi=function(a,b){if(a!==this.c||b)this.c=a,this.f.J()&&(this.f.J().innerHTML=this.c);return this};Nu.prototype.setTitle=Nu.prototype.wi;Nu.prototype.Wm=function(){return this.c};Nu.prototype.getTitle=Nu.prototype.Wm;
\n
Nu.prototype.Bg=function(a){if(!(a instanceof nu))throw Error(
\"
PushButton expected
\"
);a.ba(this);this.a.Na(a);return this};Nu.prototype.addButton=Nu.prototype.Bg;Nu.prototype.Rn=function(a){this.a.removeChild(a);a.ba(null);return this};Nu.prototype.removeButton=Nu.prototype.Rn;Nu.prototype.Cf=function(){return this.a.$g()};Nu.prototype.getButtons=Nu.prototype.Cf;Nu.prototype.Gk=function(a,b){for(var c=this.Cf(),d=c.length;d--;)c[d].R(c[d]===a?bu.DOWN:bu.UP,b)};Nu.prototype.setActiveButton=Nu.prototype.Gk;
\n
Nu.prototype.s=function(){this.removeEventListener(
\"
statechange
\"
,this.j);this.ha();Ft.prototype.s.call(this)};function Wt(a){a=a||{};Z.call(this);this.c=new Lu;new Nu;this.a=this.a.bind(this);this.o=this.o.bind(this);this.Xb(a.alignment||
\"
bottom-right
\"
);$t(this,a.baseLayers,a.layers)}w(Wt,Z);u(
\"
H.ui.MapSettingsControl
\"
,Wt);function $t(a,b,c){var d=a.wc();a.f&&a.f.forEach(function(a){var b=a.layer;a=b&&c.find(function(a){return a.layer===b});b&&!a&&d.cg(b)});a.m=Qb(b)?b:[];a.f=Qb(c)?c:[];a.j&&(a.j.ha(),a.v.ha(),Pu(a))}
\n
Wt.prototype.$=function(){var a=this.wc();a&&(a.addEventListener(
\"
tap
\"
,this.o),a=a.a,a.addEventListener(
\"
add
\"
,this.a),a.addEventListener(
\"
remove
\"
,this.a),a.addEventListener(
\"
set
\"
,this.a))};Wt.prototype.G=function(){var a=this.wc();a&&(a.removeEventListener(
\"
tap
\"
,this.o),a=a.a,a.removeEventListener(
\"
add
\"
,this.a),a.removeEventListener(
\"
remove
\"
,this.a),a.removeEventListener(
\"
set
\"
,this.a))};
\n
Wt.prototype.S=function(a,b){var c=this.xa().translate(
\"
layers.choose
\"
);Z.prototype.renderInternal.call(this,a,b);this.$();this.B=new nu({tooltip:c,label:'<svg xmlns=
\"
http://www.w3.org/2000/svg
\"
class=
\"
H_icon
\"
viewBox=
\"
0 0 24 24
\"
><path fill-rule=
\"
evenodd
\"
d=
\"
M6.7,14.6 L4.5,16 L12,20.6 L19.5,16 L17.3,14.6 L19.1,13.5 L23,16 L12,23 L1,16 L4.9,13.5 L6.7,14.6 Z M12,2 L23,9 L12,16 L1,9 L12,2 Z
\"
></path></svg>',onStateChange:A(function(a){a.target.getState()===bu.DOWN?(this.c.R(Mu.OPEN),this.c.uk(this)):
\n
this.c.R(Mu.CLOSED)},this)});this.j=new Nu({title:c,onActiveButtonChange:function(){a:{var a=this.j.Cf();for(var b=a.length;b--;)if(a[b].getState()===bu.DOWN){a=a[b];break a}a=null}a=a.getData();this.map.xd(this.m[a].layer)}.bind(this)});this.v=new Ft(
\"
div
\"
,
\"
H_grp
\"
);this.P=new X(
\"
div
\"
,
\"
H_separator
\"
);this.Na(this.B);this.Na(this.c);this.c.Na(this.j);this.c.Na(this.P);this.c.Na(this.v);Pu(this)};Wt.prototype.renderInternal=Wt.prototype.S;
\n
function Pu(a){var b=a.xa();a.m.forEach(function(a,d){this.j.Bg(new nu({label:Qu(b,a.label),data:d,disabled:!a.layer}))},a);a.f.forEach(function(a,d){this.v.Na(new nu({label:Qu(b,a.label),onStateChange:this.L.bind(this,a.layer),data:d,disabled:!a.layer}))},a);a.P.wb(!(!a.f.length||!a.m.length));y.setTimeout(function(){this.map&&(this.a(),this.B.Ca(!(this.m&&this.m.length||this.f&&this.f.length)))}.bind(a))}
\n
Wt.prototype.a=function(){var a=this.map.g,b=this.map.a;this.m.forEach(function(b,d){this.j.Cf()[d].R(bu[b.layer===a?
\"
DOWN
\"
:
\"
UP
\"
],!0)},this);this.f.forEach(function(a,d){d=this.v.$g()[d];a.layer?d.R(bu[-1!==b.indexOf(a.layer)?
\"
DOWN
\"
:
\"
UP
\"
],!0):d.Ca(!0)},this)};Wt.prototype.L=function(a,b){b.target.getState()===bu.DOWN?this.map.Yi(a):this.map.cg(a)};function Qu(a,b){return/^layers?/.test(b)&&a.qh(b)?a.translate(b):b}Wt.prototype.o=function(){this.B.R(bu.UP)};
\n
Wt.prototype.s=function(){Wt.l.s.call(this);this.G()};function Vt(a){a=a||{};Z.call(this);this.c=new nu({label:'<svg xmlns=
\"
http://www.w3.org/2000/svg
\"
class=
\"
H_icon
\"
viewBox=
\"
0 0 24 24
\"
><g transform=
\"
translate(1 3)
\"
><path fill-rule=
\"
nonzero
\"
d=
\"
M5,0 L5,2 L2,2 L2,16 L5,16 L5,18 L2,18 C0.9,18 0,17 0,15.75 L0,2.25 C0,1 0.9,0 2,0 L5,0 Z M17,0 L20,0 C21.1,0 22,1 22,2.25 L22,15.75 C22,17 21.1,18 20,18 L17,18 L17,16 L20,16 L20,2 L17,2 L17,0 Z
\"
></path><rect width=
\"
10
\"
height=
\"
2
\"
x=
\"
6
\"
y=
\"
8
\"
></rect><rect width=
\"
2
\"
height=
\"
10
\"
x=
\"
10
\"
y=
\"
4
\"
></rect></g></svg>',
\n
onStateChange:A(this.zn,this)});this.Na(this.c);this.Xb(a.alignment||
\"
right-bottom
\"
)}w(Vt,Z);u(
\"
H.ui.ZoomRectangle
\"
,Vt);n=Vt.prototype;
\n
n.zn=function(a){var b=this.map,c=b.Ba.element;a.target.getState()===bu.DOWN?(b.addEventListener(
\"
dragstart
\"
,this.dk,!0,this),b.addEventListener(
\"
drag
\"
,this.ek,!0,this),b.addEventListener(
\"
dragend
\"
,this.ck,!0,this),a=c.ownerDocument.createElement(
\"
div
\"
),a.className=
\"
H_zoom_lasso
\"
,c.appendChild(a),this.a=a):(b.removeEventListener(
\"
dragstart
\"
,this.dk,!0,this),b.removeEventListener(
\"
drag
\"
,this.ek,!0,this),b.removeEventListener(
\"
dragend
\"
,this.ck,!0,this),c.removeChild(this.a))};
\n
n.dk=function(a){var b=this.a.style,c=a.currentPointer,d=c.viewportX;c=c.viewportY;a.target===this.map&&(a.stopPropagation(),b.width=
\"
0px
\"
,b.height=
\"
0px
\"
,b.top=c+
\"
px
\"
,b.left=d+
\"
px
\"
,b.display=
\"
block
\"
,this.j=c,this.f=d)};n.ek=function(a){var b=a.currentPointer,c=b.viewportX,d=b.viewportY;b=this.f;var e=this.j,f=this.a.style;a.target===this.map&&(a.stopPropagation(),a=c-b,c=d-e,f.left=b+(0>a?a:0)+
\"
px
\"
,f.top=e+(0>c?c:0)+
\"
px
\"
,f.width=Math.abs(a)+
\"
px
\"
,f.height=Math.abs(c)+
\"
px
\"
)};
\n
n.ck=function(a){var b=this.map,c=a.currentPointer;a.target===this.map&&(a.stopPropagation(),this.a.style.display=
\"
none
\"
,b.b.Yb({bounds:Qf([b.Wa(this.f,this.j),b.Wa(c.viewportX,c.viewportY)])},!0))};n.S=function(a,b){Z.prototype.renderInternal.call(this,a,b);Dt(this.c,this.xa().translate(
\"
zoom.rectangle
\"
))};Vt.prototype.renderInternal=Vt.prototype.S;function Ru(a,b){b=b||{};if(!(a&&a instanceof Dk))throw Error(
\"
Base layer is mandatory for overview UI element
\"
);Z.call(this);this.c=new nu({label:'<svg xmlns=
\"
http://www.w3.org/2000/svg
\"
viewBox=
\"
0 0 24 24
\"
class=
\"
H_icon
\"
><g fill-rule=
\"
evenodd
\"
transform=
\"
translate(2 2)
\"
><rect width=
\"
9
\"
height=
\"
9
\"
x=
\"
10
\"
y=
\"
10
\"
/><rect class=
\"
H_icon_stroke
\"
width=
\"
18
\"
height=
\"
18
\"
x=
\"
1
\"
y=
\"
1
\"
fill=
\"
none
\"
stroke=
\"
#000
\"
stroke-width=
\"
2
\"
rx=
\"
2
\"
/></g></svg>',onStateChange:A(this.f,this)});this.Na(this.c);this.a=
\n
new Su(a,b.zoomDelta,b.scaleX,b.scaleY);this.Xb(b.alignment||
\"
right-bottom
\"
);this.Na(this.a)}w(Ru,Z);u(
\"
H.ui.Overview
\"
,Ru);Ru.prototype.xd=function(a){this.a.xd(a);return this};Ru.prototype.setBaseLayer=Ru.prototype.xd;Ru.prototype.f=function(a){a.target.getState()===bu.DOWN?(a=this.a,Tu(a,!0),a.Ai(),a.Oa(
\"
H_overview_active
\"
),a.a.addEventListener(
\"
mapviewchange
\"
,a.Ai,!1,a)):Uu(this.a)};
\n
Ru.prototype.S=function(a,b){Z.prototype.renderInternal.call(this,a,b);this.c.J().style[
\"
float
\"
]=this.Sc.match(
\"
right
\"
)?
\"
right
\"
:
\"
left
\"
;this.a.Ma(this.map);Dt(this.c,this.xa().translate(
\"
minimap
\"
))};Ru.prototype.renderInternal=Ru.prototype.S;Ru.prototype.s=function(){this.a.F();X.prototype.s.call(this)};function Su(a,b,c,d){this.m=a;
\"
number
\"
===typeof b&&(this.el=b);
\"
number
\"
===typeof c&&(this.rk=c);
\"
number
\"
===typeof d&&(this.sk=d);Ft.call(this,
\"
div
\"
,
\"
H_overview
\"
)}w(Su,Z);Su.prototype.xd=function(a){this.c.xd(a)};
\n
Su.prototype.S=function(a,b){b=ct(b,
\"
div
\"
,
\"
H_overview_map
\"
);mt(a,b);this.f=b};Su.prototype.renderInternal=Su.prototype.S;n=Su.prototype;n.el=3;n.rk=5;n.sk=5;n.Ma=function(a){this.a=a;this.c=new S(this.f,this.m,{pixelRatio:this.a.fb(),engineType:this.a.vc().type});this.c.m.J().style.display=
\"
none
\"
;this.o=this.c.b;this.j=this.a.b};function Uu(a){!a.Bd&&Tu(a);a.mb(
\"
H_overview_active
\"
);a.a.removeEventListener(
\"
mapviewchange
\"
,a.Ai,!1,a)}
\n
n.Ai=function(a){a&&a.modifiers&a.SIZE&&Tu(this,!0);a=this.j.pb();a.zoom=a.zoom-this.el;this.o.Yb(a)};function Tu(a,b){var c=a.a.Ba.element,d=a.J().style,e=c.offsetWidth/a.rk/10;c=c.offsetHeight/a.sk/10;var f=a.f.style;b?(d.width=e+
\"
em
\"
,d.height=c+
\"
em
\"
,f.width=e+
\"
em
\"
,f.height=c+
\"
em
\"
):d.width=d.height=
\"
0em
\"
;a.c.Ba.resize()}n.s=function(){Su.l.s.call(this);Uu(this);this.c.F();this.c=this.o=this.j=this.a=this.m=this.f=null};function Xt(a){a=a||{};Z.call(this);this.Oa(
\"
H_scalebar
\"
);this.Xb(a.alignment||
\"
right-bottom
\"
);this.B=150;this.update=A(this.update,this);this.m=this.c=this.a=this.j=null}w(Xt,Z);u(
\"
H.ui.ScaleBar
\"
,Xt);
\n
Xt.prototype.S=function(a,b){Z.prototype.renderInternal.call(this,a,b);a.innerHTML='<svg height=
\"
12
\"
version=
\"
1.1
\"
xmlns=
\"
http://www.w3.org/2000/svg
\"
><polyline style=
\"
fill:none; stroke:white; stroke-width:4
\"
points=
\"
2,2 2,10 98,10 98,2
\"
/><polyline style=
\"
fill:none; stroke:black; stroke-width:2
\"
points=
\"
2,2 2,10 98,10 98,2
\"
/></svg><div style=
\"
padding: 0 0 0 10px
\"
></div>';a.style.direction=
\"
ltr
\"
;this.j=a.firstChild;b=this.j.childNodes;this.a=b[0];this.c=b[1];this.m=a.lastChild;this.o=ot.METRIC;this.v=
\n
A(function(a){this.Dc()||(this.dispatchEvent(
\"
toggleunitsystem
\"
),a.preventDefault())},this);this.f=A(function(a){a.preventDefault()},this);vt(a,
\"
start
\"
,this.f);vt(a,
\"
end
\"
,this.v);Dt(this,this.xa().translate(
\"
scale.switchToImperial
\"
));this.update()};Xt.prototype.renderInternal=Xt.prototype.S;Xt.prototype.Ma=function(a){this.map&&this.map.removeEventListener(
\"
mapviewchange
\"
,this.update);a&&a.addEventListener(
\"
mapviewchange
\"
,this.update);Z.prototype.Ma.apply(this,arguments)};Xt.prototype.setMap=Xt.prototype.Ma;
\n
Xt.prototype.capture=function(a,b,c){var d=this.J();var e=d.ownerDocument,f=e.createElement(
\"
canvas
\"
),g=f.getContext(
\"
2d
\"
),h=e.createElementNS(
\"
http://www.w3.org/2000/svg
\"
,
\"
svg
\"
),k=e.createElementNS(
\"
http://www.w3.org/2000/svg
\"
,
\"
foreignObject
\"
),l=We(d,e,!1);e=parseFloat(d.offsetWidth)+1;var m=parseFloat(d.offsetHeight),p=e*a;a*=m;f.width=p;f.height=a;h.setAttribute(
\"
xmlns
\"
,
\"
http://www.w3.org/2000/svg
\"
);h.setAttribute(
\"
width
\"
,p);h.setAttribute(
\"
height
\"
,a);h.setAttribute(
\"
viewBox
\"
,
\"
0 0
\"
+e+
\"
\"
+m);k.setAttribute(
\"
width
\"
,
\n\"
100%
\"
);k.setAttribute(
\"
height
\"
,
\"
100%
\"
);h.appendChild(k);l.setAttribute(
\"
width
\"
,
\"
100%
\"
);l.setAttribute(
\"
height
\"
,
\"
100%
\"
);l.setAttribute(
\"
xmlns
\"
,
\"
http://www.w3.org/1999/xhtml
\"
);var q=window.getComputedStyle(d);
\"
box-shadow display align-items font font-family font-size height text-shadow direction
\"
.split(
\"
\"
).forEach(function(a){l.style.setProperty(a,q.getPropertyValue(a))});k.appendChild(l);d=Ne(h.outerHTML);(new cf(
\"
image
\"
,d)).then(function(a){g.drawImage(a,0,0);b(f)},c)};Xt.prototype.capture=Xt.prototype.capture;
\n
Xt.prototype.Re=function(a){this.o=a;Dt(this,
\"
imperial
\"
===a?this.xa().translate(
\"
scale.switchToMetric
\"
):this.xa().translate(
\"
scale.switchToImperial
\"
));this.update()};Xt.prototype.onUnitSystemChange=Xt.prototype.Re;
\n
Xt.prototype.update=function(){if(this.J()){var a=this.B;var b=0;var c=this.map;var d;if(c){var e=Math.round(.5*c.Ba.width);var f=Math.round(.5*c.Ba.height);if(d=c.Wa(e,f))b=Jf(d),c=Jf(c.Wa(e+1,f)),b=100*b.bb(c)}if(c=b)this.o===ot.IMPERIAL?c<Vu?(f=c/Wu,e=this.xa().translate(
\"
scale.ft
\"
)):(f=c/Vu,e=this.xa().translate(
\"
scale.mi
\"
)):1E3>c?(f=c,e=this.xa().translate(
\"
scale.m
\"
)):(f=c/1E3,e=this.xa().translate(
\"
scale.km
\"
)),c=Math.pow(10,Math.floor(Math.log(f)/Math.LN10)),f=c/f*100,f<a/5?(c*=5,f*=5):f<a/
\n
2?(c*=2,f*=2):f>a&&(c/=2,f/=2),f=Math.round(f),this.j.setAttribute(
\"
width
\"
,f),this.m.textContent=c+
\"
\"
+e,this.a.points.getItem(2).x=this.c.points.getItem(2).x=this.a.points.getItem(3).x=this.c.points.getItem(3).x=f-2}};var Vu=1609.344,Wu=.3048006;u(
\"
H.ui.buildInfo
\"
,function(){return qf(
\"
mapsjs-ui
\"
,
\"
1.8.1
\"
,
\"
e2f2d80
\"
)});
\n
"
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment