mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
57 lines
48 KiB
JavaScript
57 lines
48 KiB
JavaScript
(function(){'use strict';var k=window,aa=Object,ba=Infinity,ca=document,m=Math,da=Array,ea=screen,fa=isFinite,ga=encodeURIComponent,ha=navigator,ja=Error;function ka(a,b){return a.onload=b}function la(a,b){return a.origin=b}function ma(a,b){return a.center_changed=b}function pa(a,b){return a.version=b}function qa(a,b){return a.width=b}function ra(a,b){return a.data=b}function sa(a,b){return a.extend=b}function ta(a,b){return a.map_changed=b}function va(a,b){return a.minZoom=b}
|
|
function wa(a,b){return a.setPath=b}function xa(a,b){return a.remove=b}function ya(a,b){return a.forEach=b}function za(a,b){return a.setZoom=b}function Aa(a,b){return a.tileSize=b}function Ba(a,b){return a.getBounds=b}function Ca(a,b){return a.clear=b}function Da(a,b){return a.getTile=b}function Ea(a,b){return a.toString=b}function Fa(a,b){return a.size=b}function Ga(a,b){return a.projection=b}function Ha(a,b){return a.getLength=b}function Ia(a,b){return a.search=b}
|
|
function Ja(a,b){return a.returnValue=b}function Ka(a,b){return a.getArray=b}function La(a,b){return a.maxZoom=b}function Na(a,b){return a.getUrl=b}function Oa(a,b){return a.contains=b}function Pa(a,b){return a.__gm=b}function Qa(a,b){return a.reset=b}function Ra(a,b){return a.getType=b}function Sa(a,b){return a.height=b}function Ta(a,b){return a.isEmpty=b}function Ua(a,b){return a.setUrl=b}function Va(a,b){return a.onerror=b}function Wa(a,b){return a.visible_changed=b}
|
|
function Xa(a,b){return a.zIndex_changed=b}function Ya(a,b){return a.changed=b}function Za(a,b){return a.type=b}function $a(a,b){return a.radius_changed=b}function ab(a,b){return a.name=b}function bb(a,b){return a.overflow=b}function cb(a,b){return a.length=b}function db(a,b){return a.prototype=b}function eb(a,b){return a.getZoom=b}function fb(a,b){return a.getAt=b}function gb(a,b){return a.getPath=b}function hb(a,b){return a.getId=b}function ib(a,b){return a.target=b}
|
|
function jb(a,b){return a.releaseTile=b}function kb(a,b){return a.openInfoWindow=b}function lb(a,b){return a.zoom=b}
|
|
var mb="appendChild",n="trigger",p="bindTo",nb="shift",ob="weight",pb="exec",qb="clearTimeout",rb="fromLatLngToPoint",r="width",sb="replace",tb="ceil",ub="floor",vb="offsetWidth",wb="concat",xb="removeListener",yb="extend",zb="charAt",Ab="preventDefault",Bb="getNorthEast",Cb="minZoom",Db="trim",Eb="remove",Fb="createElement",Gb="firstChild",Hb="forEach",Ib="setZoom",Jb="setValues",Kb="tileSize",Lb="cloneNode",Mb="addListenerOnce",Nb="fromPointToLatLng",Ob="removeAt",Pb="getTileUrl",Qb="attachEvent",
|
|
Rb="clearInstanceListeners",u="bind",Sb="nextSibling",Tb="getTime",Ub="getElementsByTagName",Vb="setPov",Wb="substr",Xb="getTile",Yb="defaultPrevented",Zb="notify",$b="toString",ac="setVisible",bc="setTimeout",cc="removeEventListener",dc="split",v="forward",ec="stopPropagation",fc="userAgent",gc="getLength",ic="getSouthWest",jc="location",kc="hasOwnProperty",w="style",A="addListener",mc="atan",nc="random",oc="detachEvent",pc="getArray",qc="href",rc="maxZoom",sc="console",tc="contains",uc="apply",
|
|
C="__gm",vc="setAt",wc="tagName",xc="reset",yc="asin",zc="label",D="height",Ac="offsetHeight",Bc="error",F="push",Cc="isEmpty",Dc="test",Ec="round",Fc="slice",Gc="nodeType",Hc="getVisible",Ic="srcElement",Jc="unbind",Kc="computeHeading",Lc="indexOf",Mc="getProjection",Nc="fromCharCode",Oc="radius",Pc="atan2",Qc="sqrt",Rc="addEventListener",Sc="toUrlValue",Tc="changed",G="type",Uc="name",H="length",Vc="google",Xc="onRemove",K="prototype",Yc="gm_bindings_",Zc="intersects",$c="document",ad="opacity",
|
|
bd="getAt",cd="removeChild",dd="getId",ed="features",fd="insertAt",gd="target",hd="releaseTile",L="call",id="charCodeAt",jd="addDomListener",kd="openInfoWindow",ld="parentNode",md="splice",nd="join",od="toLowerCase",pd="event",qd="zoom",rd="ERROR",sd="INVALID_LAYER",td="INVALID_REQUEST",ud="MAX_DIMENSIONS_EXCEEDED",vd="MAX_ELEMENTS_EXCEEDED",wd="MAX_WAYPOINTS_EXCEEDED",yd="NOT_FOUND",zd="OK",Ad="OVER_QUERY_LIMIT",Bd="REQUEST_DENIED",Cd="UNKNOWN_ERROR",Dd="ZERO_RESULTS";
|
|
function Ed(){return function(){}}function M(a){return function(){return this[a]}}function Fd(a){return function(){return a}}var N,Gd=[];function Hd(a){return function(){return Gd[a][uc](this,arguments)}}var Id={ROADMAP:"roadmap",SATELLITE:"satellite",HYBRID:"hybrid",TERRAIN:"terrain"};var Jd={TOP_LEFT:1,TOP_CENTER:2,TOP:2,TOP_RIGHT:3,LEFT_CENTER:4,LEFT_TOP:5,LEFT:5,LEFT_BOTTOM:6,RIGHT_TOP:7,RIGHT:7,RIGHT_CENTER:8,RIGHT_BOTTOM:9,BOTTOM_LEFT:10,BOTTOM_CENTER:11,BOTTOM:11,BOTTOM_RIGHT:12,CENTER:13};var Kd=this;function Ld(){}function Md(a){a.Ac=function(){return a.ob?a.ob:a.ob=new a}}function Nd(a){return"string"==typeof a}function Od(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function Pd(a){return a[Qd]||(a[Qd]=++Rd)}var Qd="closure_uid_"+(1E9*m[nc]()>>>0),Rd=0;function Sd(a,b,c){return a[L][uc](a[u],arguments)}
|
|
function Td(a,b,c){if(!a)throw ja();if(2<arguments[H]){var d=da[K][Fc][L](arguments,2);return function(){var c=da[K][Fc][L](arguments);da[K].unshift[uc](c,d);return a[uc](b,c)}}return function(){return a[uc](b,arguments)}}function Ud(a,b,c){Ud=Function[K][u]&&-1!=Function[K][u][$b]()[Lc]("native code")?Sd:Td;return Ud[uc](null,arguments)}var Vd=Date.now||function(){return+new Date};var Wd=m.abs,Xd=m[tb],Yd=m[ub],Zd=m.max,ae=m.min,be=m[Ec];function ce(a){return a?a[H]:0}function de(a){return a}function ee(a,b){for(var c=0,d=ce(a);c<d;++c)if(a[c]===b)return!0;return!1}function fe(a,b){ge(b,function(c){a[c]=b[c]})}function he(a){for(var b in a)return!1;return!0}function Q(a,b){function c(){}db(c,b[K]);db(a,new c);a[K].constructor=a}function ie(a,b,c){null!=b&&(a=m.max(a,b));null!=c&&(a=m.min(a,c));return a}function je(a,b,c){c=c-b;return((a-b)%c+c)%c+b}
|
|
function ke(a,b,c){return m.abs(a-b)<=(c||1E-9)}function le(a){return m.PI/180*a}function me(a){return a/(m.PI/180)}function ne(a,b){for(var c=[],d=ce(a),e=0;e<d;++e)c[F](b(a[e],e));return c}function oe(a,b){for(var c=pe(void 0,ce(b)),d=pe(void 0,0);d<c;++d)a[F](b[d])}function qe(a){return null==a}function re(a){return"undefined"!=typeof a}function se(a){return"number"==typeof a}function te(a){return"object"==typeof a}function ue(){}function pe(a,b){return null==a?b:a}
|
|
function ve(a){return"string"==typeof a}function we(a){return a===!!a}function R(a,b){for(var c=0,d=ce(a);c<d;++c)b(a[c],c)}function ge(a,b){for(var c in a)b(c,a[c])}function S(a,b,c){if(2<arguments[H]){var d=xe(arguments,2);return function(){return b[uc](a||this,0<arguments[H]?d[wb](ye(arguments)):d)}}return function(){return b[uc](a||this,arguments)}}function ze(a,b,c){var d=xe(arguments,2);return function(){return b[uc](a,d)}}function xe(a,b,c){return Function[K][L][uc](da[K][Fc],arguments)}
|
|
function ye(a){return da[K][Fc][L](a,0)}function Ae(){return(new Date)[Tb]()}function Be(a){return null!=a&&"object"==typeof a&&"number"==typeof a[H]}function Ce(a){return function(){var b=this,c=arguments;De(function(){a[uc](b,c)})}}function De(a){return k[bc](a,0)}function Ee(){return k.devicePixelRatio||ea.deviceXDPI&&ea.deviceXDPI/96||1}function Fe(a,b){if(aa[K][kc][L](a,b))return a[b]};function Ge(a){a=a||k[pd];He(a);Ie(a)}function He(a){a.cancelBubble=!0;a[ec]&&a[ec]()}function Ie(a){a[Ab]&&re(a[Yb])?a[Ab]():Ja(a,!1)}function Je(a){a.handled=!0;re(a.bubbles)||Ja(a,"handled")};var Ke=String[K][Db]?function(a){return a[Db]()}:function(a){return a[sb](/^[\s\xa0]+|[\s\xa0]+$/g,"")};var Le=da[K],Me=Le[Lc]?function(a,b,c){return Le[Lc][L](a,b,c)}:function(a,b,c){c=null==c?0:0>c?m.max(0,a[H]+c):c;if(Nd(a))return Nd(b)&&1==b[H]?a[Lc](b,c):-1;for(;c<a[H];c++)if(c in a&&a[c]===b)return c;return-1},Ne=Le[Hb]?function(a,b,c){Le[Hb][L](a,b,c)}:function(a,b,c){for(var d=a[H],e=Nd(a)?a[dc](""):a,f=0;f<d;f++)f in e&&b[L](c,e[f],f,a)},Oe=Le.map?function(a,b,c){return Le.map[L](a,b,c)}:function(a,b,c){for(var d=a[H],e=da(d),f=Nd(a)?a[dc](""):a,g=0;g<d;g++)g in f&&(e[g]=b[L](c,f[g],g,a));
|
|
return e};var T={},Pe="undefined"!=typeof ha&&-1!=ha[fc][od]()[Lc]("msie"),Qe={};T.addListener=function(a,b,c){return new Re(a,b,c,0)};T.xg=function(a,b){var c=a.__e3_,c=c&&c[b];return!!c&&!he(c)};T.removeListener=function(a){a&&a[Eb]()};T.clearListeners=function(a,b){ge(Se(a,b),function(a,b){b&&b[Eb]()})};T.clearInstanceListeners=function(a){ge(Se(a),function(a,c){c&&c[Eb]()})};function Te(a,b){a.__e3_||(a.__e3_={});var c=a.__e3_;c[b]||(c[b]={});return c[b]}
|
|
function Se(a,b){var c,d=a.__e3_||{};if(b)c=d[b]||{};else{c={};for(var e in d)fe(c,d[e])}return c}T.trigger=function(a,b,c){if(T.xg(a,b)){var d=xe(arguments,2),e=Se(a,b),f;for(f in e){var g=e[f];g&&g.j[uc](g.ob,d)}}};T.addDomListener=function(a,b,c,d){if(a[Rc]){var e=d?4:1;a[Rc](b,c,d);c=new Re(a,b,c,e)}else a[Qb]?(c=new Re(a,b,c,2),a[Qb]("on"+b,Ue(c))):(a["on"+b]=c,c=new Re(a,b,c,3));return c};
|
|
T.addDomListenerOnce=function(a,b,c,d){var e=T[jd](a,b,function(){e[Eb]();return c[uc](this,arguments)},d);return e};T.ca=function(a,b,c,d){return T[jd](a,b,Ve(c,d))};function Ve(a,b){return function(c){return b[L](a,c,this)}}T.bind=function(a,b,c,d){return T[A](a,b,S(c,d))};T.addListenerOnce=function(a,b,c){var d=T[A](a,b,function(){d[Eb]();return c[uc](this,arguments)});return d};T.forward=function(a,b,c){return T[A](a,b,Ze(b,c))};T.Va=function(a,b,c,d){return T[jd](a,b,Ze(b,c,!d))};
|
|
T.Kj=function(){var a=Qe,b;for(b in a)a[b][Eb]();Qe={};(a=Kd.CollectGarbage)&&a()};T.kl=function(){Pe&&T[jd](k,"unload",T.Kj)};function Ze(a,b,c){return function(d){var e=[b,a];oe(e,arguments);T[n][uc](this,e);c&&Je[uc](null,arguments)}}function Re(a,b,c,d){this.ob=a;this.k=b;this.j=c;this.D=null;this.G=d;this.id=++$e;Te(a,b)[this.id]=this;Pe&&"tagName"in a&&(Qe[this.id]=this)}var $e=0;
|
|
function Ue(a){return a.D=function(b){b||(b=k[pd]);if(b&&!b[gd])try{ib(b,b[Ic])}catch(c){}var d;d=a.j[uc](a.ob,[b]);return b&&"click"==b[G]&&(b=b[Ic])&&"A"==b[wc]&&"javascript:void(0)"==b[qc]?!1:d}}xa(Re[K],function(){if(this.ob){switch(this.G){case 1:this.ob[cc](this.k,this.j,!1);break;case 4:this.ob[cc](this.k,this.j,!0);break;case 2:this.ob[oc]("on"+this.k,this.D);break;case 3:this.ob["on"+this.k]=null}delete Te(this.ob,this.k)[this.id];this.D=this.j=this.ob=null;delete Qe[this.id]}});function af(a){return""+(Od(a)?Pd(a):a)};function U(){}N=U[K];N.get=function(a){var b=bf(this);a=a+"";b=Fe(b,a);if(re(b)){if(b){a=b.Db;var b=b.pd,c="get"+cf(a);return b[c]?b[c]():b.get(a)}return this[a]}};N.set=function(a,b){var c=bf(this);a=a+"";var d=Fe(c,a);if(d){var c=d.Db,d=d.pd,e="set"+cf(c);if(d[e])d[e](b);else d.set(c,b)}else this[a]=b,c[a]=null,df(this,a)};N.notify=function(a){var b=bf(this);a=a+"";(b=Fe(b,a))?b.pd[Zb](b.Db):df(this,a)};
|
|
N.setValues=function(a){for(var b in a){var c=a[b],d="set"+cf(b);if(this[d])this[d](c);else this.set(b,c)}};N.setOptions=U[K][Jb];Ya(N,Ed());function df(a,b){var c=b+"_changed";if(a[c])a[c]();else a[Tc](b);var c=ef(a,b),d;for(d in c){var e=c[d];df(e.pd,e.Db)}T[n](a,b[od]()+"_changed")}var ff={};function cf(a){return ff[a]||(ff[a]=a[Wb](0,1).toUpperCase()+a[Wb](1))}function bf(a){a.gm_accessors_||(a.gm_accessors_={});return a.gm_accessors_}
|
|
function ef(a,b){a[Yc]||(a.gm_bindings_={});a[Yc][kc](b)||(a[Yc][b]={});return a[Yc][b]}U[K].bindTo=function(a,b,c,d){a=a+"";c=(c||a)+"";this[Jc](a);var e={pd:this,Db:a},f={pd:b,Db:c,Aj:e};bf(this)[a]=f;ef(b,c)[af(e)]=e;d||df(this,a)};U[K].unbind=function(a){var b=bf(this),c=b[a];c&&(c.Aj&&delete ef(c.pd,c.Db)[af(c.Aj)],this[a]=this.get(a),b[a]=null)};U[K].unbindAll=function(){gf(this,S(this,this[Jc]))};U[K].addListener=function(a,b){return T[A](this,a,b)};
|
|
function gf(a,b){var c=bf(a),d;for(d in c)b(d)};function hf(){};function jf(a,b,c){a-=0;b-=0;c||(a=ie(a,-90,90),180!=b&&(b=je(b,-180,180)));this.k=a;this.D=b}Ea(jf[K],function(){return"("+this.lat()+", "+this.lng()+")"});jf[K].j=function(a){return a?ke(this.lat(),a.lat())&&ke(this.lng(),a.lng()):!1};jf[K].equals=jf[K].j;jf[K].lat=M("k");jf[K].lng=M("D");function kf(a){return le(a.k)}function lf(a){return le(a.D)}function mf(a,b){var c=m.pow(10,b);return m[Ec](a*c)/c}jf[K].toUrlValue=function(a){a=re(a)?a:6;return mf(this.lat(),a)+","+mf(this.lng(),a)};function nf(a){this.message=a;ab(this,"InvalidValueError");this.stack=ja().stack}Q(nf,ja);function of(a,b){var c="";if(null!=b){if(!(b instanceof nf))return b;c=": "+b.message}return new nf(a+c)};function pf(a,b){return function(c){if(!c||!te(c))throw of("not an Object");var d={},e;for(e in c)if(d[e]=c[e],!b&&!a[e])throw of("unknown property "+e);for(e in a)try{var f=a[e](d[e]);if(re(f)||aa[K][kc][L](c,e))d[e]=a[e](d[e])}catch(g){throw of("in property "+e,g);}return d}}function qf(a){try{return!!a[Lb]}catch(b){return!1}}
|
|
function rf(a,b,c){return c?function(c){if(c instanceof a)return c;try{return new a(c)}catch(e){throw of("when calling new "+b,e);}}:function(c){if(c instanceof a)return c;throw of("not an instance of "+b);}}function sf(a){return function(b){for(var c in a)if(a[c]==b)return b;throw of(b);}}function tf(a){return function(b){if(!Be(b))throw of("not an Array");return ne(b,function(b,d){try{return a(b)}catch(e){throw of("at index "+d,e);}})}}
|
|
function uf(a,b){return function(c){if(a(c))return c;throw of(b||""+c);}}function vf(a){var b=arguments;return function(a){for(var d=[],e=0,f=b[H];e<f;++e){var g=b[e];try{(g.eh||g)(a)}catch(h){if(!(h instanceof nf))throw h;d[F](h.message);continue}return(g.then||g)(a)}throw of(d[nd]("; and "));}}function wf(a,b){return function(c){return b(a(c))}}function xf(a){return function(b){return null==b?b:a(b)}}function yf(a){return function(b){if(b&&null!=b[a])return b;throw of("no "+a+" property");}}
|
|
var zf=uf(se,"not a number"),Af=uf(ve,"not a string"),Bf=xf(zf),Cf=xf(Af),Df=xf(uf(we,"not a boolean"));var Ef=pf({lat:zf,lng:zf},!0);function Ff(a){try{if(a instanceof jf)return a;a=Ef(a);return new jf(a.lat,a.lng)}catch(b){throw of("not a LatLng or LatLngLiteral",b);}}var Gf=tf(Ff);function Hf(a){this.aa=Ff(a)}Q(Hf,hf);Ra(Hf[K],Fd("Point"));Hf[K].get=M("aa");function If(a){if(a instanceof hf)return a;try{return new Hf(Ff(a))}catch(b){}throw of("not a Geometry or LatLng or LatLngLiteral object");}var Jf=tf(If);function Kf(a,b){if(a)return function(){--a||b()};b();return Ld}function Lf(a,b,c){var d=a[Ub]("head")[0];a=a[Fb]("script");Za(a,"text/javascript");a.charset="UTF-8";a.src=b;c&&Va(a,c);d[mb](a);return a}function Mf(a){for(var b="",c=0,d=arguments[H];c<d;++c){var e=arguments[c];e[H]&&"/"==e[0]?b=e:(b&&"/"!=b[b[H]-1]&&(b+="/"),b+=e)}return b};function Nf(a){this.j=ca;this.k={};this.D=a};function Of(){this.G={};this.k={};this.C={};this.j={};this.D=new Pf}Md(Of);function Qf(a,b,c){a=a.D;b=a.k=new Rf(new Nf(b),c);c=0;for(var d=a.j[H];c<d;++c)a.j[c](b);cb(a.j,0)}Of[K].F=function(a,b){var c=this,d=c.C;Sf(c.D,function(e){for(var f=e.j[a]||[],g=e.G[a]||[],h=d[a]=Kf(f[H],function(){delete d[a];e.k(f[0],b);for(var c=0,h=g[H];c<h;++c){var l=g[c];d[l]&&d[l]()}}),l=0,q=f[H];l<q;++l)c.j[f[l]]&&h()})};
|
|
function Tf(a,b){a.G[b]||(a.G[b]=!0,Sf(a.D,function(c){for(var d=c.j[b],e=d?d[H]:0,f=0;f<e;++f){var g=d[f];a.j[g]||Tf(a,g)}c=c.D;c.k[b]||Lf(c.j,Mf(c.D,b)+".js")}))}function Rf(a,b){var c=Uf;this.D=a;this.j=c;var d={},e;for(e in c)for(var f=c[e],g=0,h=f[H];g<h;++g){var l=f[g];d[l]||(d[l]=[]);d[l][F](e)}this.G=d;this.k=b}function Pf(){this.j=[]}function Sf(a,b){a.k?b(a.k):a.j[F](b)};function Vf(a,b,c){var d=Of.Ac();a=""+a;d.j[a]?b(d.j[a]):((d.k[a]=d.k[a]||[])[F](b),c||Tf(d,a))}function Zf(a,b){var c=Of.Ac(),d=""+a;c.j[d]=b;for(var e=c.k[d],f=e?e[H]:0,g=0;g<f;++g)e[g](b);delete c.k[d]}function $f(a,b,c){var d=[],e=Kf(a[H],function(){b[uc](null,d)});Ne(a,function(a,b){Vf(a,function(a){d[b]=a;e()},c)})};function ag(a){a=a||{};this.D=a.id;this.j=a.geometry?If(a.geometry):null;this.k=a.properties||{}}N=ag[K];hb(N,M("D"));N.getGeometry=M("j");N.setGeometry=function(a){var b=this.j;this.j=a?If(a):null;T[n](this,"setgeometry",{feature:this,newGeometry:this.j,oldGeometry:b})};N.getProperty=function(a){return Fe(this.k,a)};N.setProperty=function(a,b){if(void 0===b)this.removeProperty(a);else{var c=this.getProperty(a);this.k[a]=b;T[n](this,"setproperty",{feature:this,name:a,newValue:b,oldValue:c})}};
|
|
N.removeProperty=function(a){var b=this.getProperty(a);delete this.k[a];T[n](this,"removeproperty",{feature:this,name:a,oldValue:b})};N.forEachProperty=function(a){for(var b in this.k)a(this.getProperty(b),b)};N.toGeoJson=function(a){var b=this;Vf("data",function(c){c.D(b,a)})};function V(a,b){this.x=a;this.y=b}var bg=new V(0,0);Ea(V[K],function(){return"("+this.x+", "+this.y+")"});V[K].j=function(a){return a?a.x==this.x&&a.y==this.y:!1};V[K].equals=V[K].j;V[K].round=function(){this.x=be(this.x);this.y=be(this.y)};V[K].Le=Hd(0);function cg(a){if(a instanceof V)return a;try{pf({x:zf,y:zf},!0)(a)}catch(b){throw of("not a Point",b);}return new V(a.x,a.y)};function W(a,b,c,d){qa(this,a);Sa(this,b);this.F=c||"px";this.C=d||"px"}var dg=new W(0,0);Ea(W[K],function(){return"("+this[r]+", "+this[D]+")"});W[K].j=function(a){return a?a[r]==this[r]&&a[D]==this[D]:!1};W[K].equals=W[K].j;function eg(a){if(a instanceof W)return a;try{pf({height:zf,width:zf},!0)(a)}catch(b){throw of("not a Size",b);}return new W(a[r],a[D])};var fg={CIRCLE:0,FORWARD_CLOSED_ARROW:1,FORWARD_OPEN_ARROW:2,BACKWARD_CLOSED_ARROW:3,BACKWARD_OPEN_ARROW:4};function gg(a){return function(){return this.get(a)}}function hg(a,b){return b?function(c){try{this.set(a,b(c))}catch(d){throw of("set"+cf(a),d);}}:function(b){this.set(a,b)}}function ig(a,b){ge(b,function(b,d){var e=gg(b);a["get"+cf(b)]=e;d&&(e=hg(b,d),a["set"+cf(b)]=e)})};function jg(a){this.j=a||[];kg(this)}Q(jg,U);N=jg[K];fb(N,function(a){return this.j[a]});N.indexOf=function(a){for(var b=0,c=this.j[H];b<c;++b)if(a===this.j[b])return b;return-1};ya(N,function(a){for(var b=0,c=this.j[H];b<c;++b)a(this.j[b],b)});N.setAt=function(a,b){var c=this.j[a],d=this.j[H];if(a<d)this.j[a]=b,T[n](this,"set_at",a,c),this.F&&this.F(a,c);else{for(c=d;c<a;++c)this[fd](c,void 0);this[fd](a,b)}};N.insertAt=function(a,b){this.j[md](a,0,b);kg(this);T[n](this,"insert_at",a);this.k&&this.k(a)};
|
|
N.removeAt=function(a){var b=this.j[a];this.j[md](a,1);kg(this);T[n](this,"remove_at",a,b);this.C&&this.C(a,b);return b};N.push=function(a){this[fd](this.j[H],a);return this.j[H]};N.pop=function(){return this[Ob](this.j[H]-1)};Ka(N,M("j"));function kg(a){a.set("length",a.j[H])}Ca(N,function(){for(;this.get("length");)this.pop()});ig(jg[K],{length:null});function lg(a){this.k=a||af;this.aa={}}lg[K].oa=function(a){var b=this.aa,c=this.k(a);b[c]||(b[c]=a,T[n](this,"insert",a),this.j&&this.j(a))};xa(lg[K],function(a){var b=this.aa,c=this.k(a);b[c]&&(delete b[c],T[n](this,"remove",a),this[Xc]&&this[Xc](a))});Oa(lg[K],function(a){return!!this.aa[this.k(a)]});ya(lg[K],function(a){var b=this.aa,c;for(c in b)a[L](this,b[c])});function mg(a,b,c){this.heading=a;this.pitch=ie(b,-90,90);lb(this,m.max(0,c))}var ng=pf({zoom:Bf,heading:zf,pitch:zf});function og(){Pa(this,new U);this.k=null}Q(og,U);function pg(){}Q(pg,U);function qg(a){var b=a;if(a instanceof da)b=da(a[H]),rg(b,a);else if(a instanceof aa){var c=b={},d;for(d in a)a[kc](d)&&(c[d]=qg(a[d]))}return b}function rg(a,b){for(var c=0;c<b[H];++c)b[kc](c)&&(a[c]=qg(b[c]))}function sg(a,b){a[b]||(a[b]=[]);return a[b]}function tg(a,b){return a[b]?a[b][H]:0};function ug(){}var vg=new ug,wg=/'/g;ug[K].j=function(a,b){var c=[];xg(a,b,c);return c[nd]("&")[sb](wg,"%27")};function xg(a,b,c){for(var d=1;d<b.N[H];++d){var e=b.N[d],f=a[d+b.M];if(null!=f&&e)if(3==e[zc])for(var g=0;g<f[H];++g)yg(f[g],d,e,c);else yg(f,d,e,c)}}function yg(a,b,c,d){if("m"==c[G]){var e=d[H];xg(a,c.L,d);d[md](e,0,[b,"m",d[H]-e][nd](""))}else"b"==c[G]&&(a=a?"1":"0"),d[F]([b,c[G],ga(a)][nd](""))};function zg(a,b){this.j=a||0;this.k=b||0}zg[K].heading=M("j");zg[K].ab=Hd(1);Ea(zg[K],function(){return this.j+","+this.k});var Ag=new zg;function Bg(){}Q(Bg,U);Bg[K].set=function(a,b){if(null!=b&&!(b&&se(b[rc])&&b[Kb]&&b[Kb][r]&&b[Kb][D]&&b[Xb]&&b[Xb][uc]))throw ja("Forventet verdi ved implementering av google.maps.MapType");return U[K].set[uc](this,arguments)};function Cg(a,b){-180==a&&180!=b&&(a=180);-180==b&&180!=a&&(b=180);this.j=a;this.k=b}function Dg(a){return a.j>a.k}N=Cg[K];Ta(N,function(){return 360==this.j-this.k});N.intersects=function(a){var b=this.j,c=this.k;return this[Cc]()||a[Cc]()?!1:Dg(this)?Dg(a)||a.j<=this.k||a.k>=b:Dg(a)?a.j<=c||a.k>=b:a.j<=c&&a.k>=b};Oa(N,function(a){-180==a&&(a=180);var b=this.j,c=this.k;return Dg(this)?(a>=b||a<=c)&&!this[Cc]():a>=b&&a<=c});
|
|
sa(N,function(a){this[tc](a)||(this[Cc]()?this.j=this.k=a:Eg(a,this.j)<Eg(this.k,a)?this.j=a:this.k=a)});function Fg(a,b){return 1E-9>=m.abs(b.j-a.j)%360+m.abs(Gg(b)-Gg(a))}function Eg(a,b){var c=b-a;return 0<=c?c:b+180-(a-180)}function Gg(a){return a[Cc]()?0:Dg(a)?360-(a.j-a.k):a.k-a.j}N.oc=function(){var a=(this.j+this.k)/2;Dg(this)&&(a=je(a+180,-180,180));return a};function Hg(a,b){this.k=a;this.j=b}N=Hg[K];Ta(N,function(){return this.k>this.j});
|
|
N.intersects=function(a){var b=this.k,c=this.j;return b<=a.k?a.k<=c&&a.k<=a.j:b<=a.j&&b<=c};Oa(N,function(a){return a>=this.k&&a<=this.j});sa(N,function(a){this[Cc]()?this.j=this.k=a:a<this.k?this.k=a:a>this.j&&(this.j=a)});function Ig(a){return a[Cc]()?0:a.j-a.k}N.oc=function(){return(this.j+this.k)/2};function Jg(a,b){if(a){b=b||a;var c=ie(a.lat(),-90,90),d=ie(b.lat(),-90,90);this.Ca=new Hg(c,d);c=a.lng();d=b.lng();360<=d-c?this.va=new Cg(-180,180):(c=je(c,-180,180),d=je(d,-180,180),this.va=new Cg(c,d))}else this.Ca=new Hg(1,-1),this.va=new Cg(180,-180)}Jg[K].getCenter=function(){return new jf(this.Ca.oc(),this.va.oc())};Ea(Jg[K],function(){return"("+this[ic]()+", "+this[Bb]()+")"});Jg[K].toUrlValue=function(a){var b=this[ic](),c=this[Bb]();return[b[Sc](a),c[Sc](a)][nd]()};
|
|
Jg[K].j=function(a){if(a){var b=this.Ca,c=a.Ca;a=(b[Cc]()?c[Cc]():1E-9>=m.abs(c.k-b.k)+m.abs(b.j-c.j))&&Fg(this.va,a.va)}else a=!1;return a};Jg[K].equals=Jg[K].j;N=Jg[K];Oa(N,function(a){return this.Ca[tc](a.lat())&&this.va[tc](a.lng())});N.intersects=function(a){return this.Ca[Zc](a.Ca)&&this.va[Zc](a.va)};sa(N,function(a){this.Ca[yb](a.lat());this.va[yb](a.lng());return this});N.union=function(a){if(a[Cc]())return this;this[yb](a[ic]());this[yb](a[Bb]());return this};
|
|
N.getSouthWest=function(){return new jf(this.Ca.k,this.va.j,!0)};N.getNorthEast=function(){return new jf(this.Ca.j,this.va.k,!0)};N.toSpan=function(){return new jf(Ig(this.Ca),Gg(this.va),!0)};Ta(N,function(){return this.Ca[Cc]()||this.va[Cc]()});function Kg(a){Pa(this,a)}Q(Kg,U);var Lg=[];function Mg(){this.j={};this.D={};this.k={}}N=Mg[K];Oa(N,function(a){return this.j[kc](af(a))});N.getFeatureById=function(a){return Fe(this.k,a)};N.add=function(a){a=a||{};a=a instanceof ag?a:new ag(a);if(!this[tc](a)){var b=a[dd]();if(b){var c=this.getFeatureById(b);c&&this[Eb](c)}c=af(a);this.j[c]=a;b&&(this.k[b]=a);var d=T[v](a,"setgeometry",this),e=T[v](a,"setproperty",this),f=T[v](a,"removeproperty",this);this.D[c]=function(){T[xb](d);T[xb](e);T[xb](f)};T[n](this,"addfeature",{feature:a})}return a};
|
|
xa(N,function(a){var b=af(a),c=a[dd]();if(this.j[b]){delete this.j[b];c&&delete this.k[c];if(c=this.D[b])delete this.D[b],c();T[n](this,"removefeature",{feature:a})}});ya(N,function(a){for(var b in this.j)a(this.j[b])});function Ng(){this.j={}}Ng[K].get=function(a){return this.j[a]};Ng[K].set=function(a,b){var c=this.j;c[a]||(c[a]={});fe(c[a],b);T[n](this,"changed",a)};Qa(Ng[K],function(a){delete this.j[a];T[n](this,"changed",a)});ya(Ng[K],function(a){ge(this.j,a)});function Og(a){this.j=new Ng;var b=this;T[Mb](a,"addfeature",function(){Vf("data",function(c){c.j(b,a,b.j)})})}Q(Og,U);Og[K].overrideStyle=function(a,b){this.j.set(af(a),b)};Og[K].revertStyle=function(a){a?this.j[xc](af(a)):this.j[Hb](S(this.j,this.j[xc]))};function Pg(a){this.aa=Jf(a)}Q(Pg,hf);Ra(Pg[K],Fd("GeometryCollection"));Ha(Pg[K],function(){return this.aa[H]});fb(Pg[K],function(a){return this.aa[a]});Ka(Pg[K],function(){return this.aa[Fc]()});function Qg(a){this.aa=Gf(a)}Q(Qg,hf);Ra(Qg[K],Fd("LineString"));Ha(Qg[K],function(){return this.aa[H]});fb(Qg[K],function(a){return this.aa[a]});Ka(Qg[K],function(){return this.aa[Fc]()});var Rg=tf(rf(Qg,"google.maps.Data.LineString",!0));function Sg(a){this.aa=Rg(a)}Q(Sg,hf);Ra(Sg[K],Fd("MultiLineString"));Ha(Sg[K],function(){return this.aa[H]});fb(Sg[K],function(a){return this.aa[a]});Ka(Sg[K],function(){return this.aa[Fc]()});function Tg(a){this.aa=Gf(a)}Q(Tg,hf);Ra(Tg[K],Fd("MultiPoint"));Ha(Tg[K],function(){return this.aa[H]});fb(Tg[K],function(a){return this.aa[a]});Ka(Tg[K],function(){return this.aa[Fc]()});function Ug(a){this.aa=Gf(a)}Q(Ug,hf);Ra(Ug[K],Fd("LinearRing"));Ha(Ug[K],function(){return this.aa[H]});fb(Ug[K],function(a){return this.aa[a]});Ka(Ug[K],function(){return this.aa[Fc]()});var Vg=tf(rf(Ug,"google.maps.Data.LinearRing",!0));function Wg(a){this.aa=Vg(a)}Q(Wg,hf);Ra(Wg[K],Fd("Polygon"));Ha(Wg[K],function(){return this.aa[H]});fb(Wg[K],function(a){return this.aa[a]});Ka(Wg[K],function(){return this.aa[Fc]()});var Xg=tf(rf(Wg,"google.maps.Data.Polygon",!0));function Yg(a){this.aa=Xg(a)}Q(Yg,hf);Ra(Yg[K],Fd("MultiPolygon"));Ha(Yg[K],function(){return this.aa[H]});fb(Yg[K],function(a){return this.aa[a]});Ka(Yg[K],function(){return this.aa[Fc]()});var Zg=pf({source:Af,webUrl:Cf,iosDeepLinkId:Cf});var $g=wf(pf({placeId:Cf,query:Cf,location:Ff}),function(a){if(a.placeId&&a.query)throw of("cannot set both placeId or query");if(!a.placeId&&!a.query)throw of("must set one of placeId or query");return a});function ah(a){a=a||{};a.clickable=pe(a.clickable,!0);a.visible=pe(a.visible,!0);this[Jb](a);Vf("marker",ue)}Q(ah,U);
|
|
ig(ah[K],{position:xf(Ff),title:Cf,icon:xf(vf(Af,{eh:yf("url"),then:pf({url:Af,scaledSize:xf(eg),size:xf(eg),origin:xf(cg),anchor:xf(cg),path:uf(qe)},!0)},{eh:yf("path"),then:pf({path:vf(Af,sf(fg)),anchor:xf(cg),fillColor:Cf,fillOpacity:Bf,rotation:Bf,scale:Bf,strokeColor:Cf,strokeOpacity:Bf,strokeWeight:Bf,url:uf(qe)},!0)})),text:xf(vf(Af,{eh:yf("text"),then:pf({text:Af,fontSize:Cf,fontWeight:Cf,fontFamily:Cf},!0)})),shadow:de,shape:de,cursor:Cf,clickable:Df,animation:de,draggable:Df,visible:Df,
|
|
flat:de,zIndex:Bf,opacity:Bf,place:xf($g),attribution:xf(Zg)});var Uf={main:[],common:["main"],util:["common"],adsense:["main"],adsense_impl:["util"],controls:["util"],data:["util"],directions:["util","geometry"],distance_matrix:["util"],drawing:["main"],drawing_impl:["controls"],elevation:["util","geometry"],geocoder:["util"],geojson:["main"],imagery_viewer:["main"],geometry:["main"],infowindow:["util"],kml:["onion","util","map"],layers:["map"],loom:["onion"],map:["common"],marker:["util"],maxzoom:["util"],onion:["util","map"],overlay:["common"],panoramio:["main"],
|
|
places:["main"],places_impl:["controls"],poly:["util","map","geometry"],search:["main"],search_impl:["onion"],stats:["util"],streetview:["util","geometry"],usage:["util"],visualization:["main"],visualization_impl:["onion"],weather:["main"],weather_impl:["onion"],zombie:["main"]};var bh={};function ch(a){Qf(Of.Ac(),a,function(a,c){bh[a](c)})}var dh=Kd[Vc].maps,eh=Of.Ac(),fh=Ud(eh.F,eh);dh.__gjsload__=fh;ge(dh.modules,fh);delete dh.modules;var gh=xf(rf(Kg,"Map"));var jh=xf(rf(og,"StreetViewPanorama"));function kh(a){Pa(this,{set:null});ah[L](this,a)}Q(kh,ah);ta(kh[K],function(){this[C].set&&this[C].set[Eb](this);var a=this.get("map");this[C].set=a&&a[C].Zc;this[C].set&&this[C].set.oa(this)});kh.MAX_ZINDEX=1E6;ig(kh[K],{map:vf(gh,jh)});function lh(a){a=a||{};a.visible=pe(a.visible,!0);return a}function mh(a){return a&&a[Oc]||6378137}function nh(a){return a instanceof jg?oh(a):new jg(Gf(a))}function ph(a){var b;Be(a)?0==ce(a)?b=!0:(b=a instanceof jg?a[bd](0):a[0],b=Be(b)):b=!1;return b?a instanceof jg?qh(oh)(a):new jg(tf(nh)(a)):new jg([nh(a)])}function qh(a){return function(b){if(!(b instanceof jg))throw of("not an MVCArray");b[Hb](function(b,d){try{a(b)}catch(e){throw of("at index "+d,e);}});return b}}var oh=qh(rf(jf,"LatLng"));function rh(a){this.set("latLngs",new jg([new jg]));this[Jb](lh(a));Vf("poly",ue)}Q(rh,U);ta(rh[K],Wa(rh[K],function(){var a=this;Vf("poly",function(b){b.k(a)})}));gb(rh[K],function(){return this.get("latLngs")[bd](0)});wa(rh[K],function(a){this.get("latLngs")[vc](0,nh(a))});ig(rh[K],{draggable:Df,editable:Df,map:gh,visible:Df});function sh(a){rh[L](this,a)}Q(sh,rh);sh[K].Ua=!0;sh[K].getPaths=function(){return this.get("latLngs")};sh[K].setPaths=function(a){this.set("latLngs",ph(a))};function th(a){rh[L](this,a)}Q(th,rh);th[K].Ua=!1;var uh="click dblclick mousedown mousemove mouseout mouseover mouseup rightclick".split(" ");function vh(a,b,c){function d(a){if(!a)throw of("not a Feature");if("Feature"!=a[G])throw of('type != "Feature"');var b=a.geometry;try{b=null==b?null:e(b)}catch(d){throw of('in property "geometry"',d);}var f=a.properties||{};if(!te(f))throw of("properties is not an Object");var g=c.idPropertyName;a=g?f[g]:a.id;if(null!=a&&!se(a)&&!ve(a))throw of((g||"id")+" is not a string or number");return{id:a,geometry:b,properties:f}}function e(a){if(null==a)throw of("is null");var b=(a[G]+"")[od](),c=a.coordinates;
|
|
try{switch(b){case "point":return new Hf(h(c));case "multipoint":return new Tg(q(c));case "linestring":return g(c);case "multilinestring":return new Sg(t(c));case "polygon":return f(c);case "multipolygon":return new Yg(y(c))}}catch(d){throw of('in property "coordinates"',d);}if("geometrycollection"==b)try{return new Pg(z(a.geometries))}catch(e){throw of('in property "geometries"',e);}throw of("invalid type");}function f(a){return new Wg(x(a))}function g(a){return new Qg(q(a))}function h(a){a=l(a);
|
|
return Ff({lat:a[1],lng:a[0]})}if(!b)return[];c=c||{};var l=tf(zf),q=tf(h),t=tf(g),x=tf(function(a){a=q(a);if(!a[H])throw of("contains no elements");if(!a[0].j(a[a[H]-1]))throw of("first and last positions are not equal");return new Ug(a[Fc](0,-1))}),y=tf(f),z=tf(e),B=tf(d);if("FeatureCollection"==b[G]){b=b[ed];try{return ne(B(b),function(b){return a.add(b)})}catch(E){throw of('in property "features"',E);}}if("Feature"==b[G])return[a.add(d(b))];throw of("not a Feature or FeatureCollection");};function wh(a){var b=this;this[Jb](a||{});this.j=new Mg;T[v](this.j,"addfeature",this);T[v](this.j,"removefeature",this);T[v](this.j,"setgeometry",this);T[v](this.j,"setproperty",this);T[v](this.j,"removeproperty",this);this.k=new Og(this.j);this.k[p]("map",this);this.k[p]("style",this);R(uh,function(a){T[v](b.k,a,b)})}Q(wh,U);N=wh[K];Oa(N,function(a){return this.j[tc](a)});N.getFeatureById=function(a){return this.j.getFeatureById(a)};N.add=function(a){return this.j.add(a)};xa(N,function(a){this.j[Eb](a)});
|
|
ya(N,function(a){this.j[Hb](a)});N.addGeoJson=function(a,b){return vh(this.j,a,b)};N.loadGeoJson=function(a,b,c){var d=this.j;Vf("data",function(e){e.G(d,a,b,c)})};N.toGeoJson=function(a){var b=this.j;Vf("data",function(c){c.k(b,a)})};N.overrideStyle=function(a,b){this.k.overrideStyle(a,b)};N.revertStyle=function(a){this.k.revertStyle(a)};ig(wh[K],{map:gh,style:de});function xh(a){this.A=a||[]}function yh(a){this.A=a||[]}xh[K].J=Hd(25);yh[K].J=Hd(24);var zh=new xh,Ah=new xh;function Bh(a){this.A=a||[]}function Ch(a){this.A=a||[]}function Dh(a){this.A=a||[]}Bh[K].J=Hd(23);var Eh=new Ch;Ch[K].J=Hd(22);var Fh=new xh,Gh=new Bh;Dh[K].J=Hd(21);var Hh=new yh,Ih=new Dh;var Jh={METRIC:0,IMPERIAL:1},Kh={DRIVING:"DRIVING",WALKING:"WALKING",BICYCLING:"BICYCLING",TRANSIT:"TRANSIT"};var Lh={BUS:"BUS",RAIL:"RAIL",SUBWAY:"SUBWAY",TRAIN:"TRAIN",TRAM:"TRAM"};var Mh={LESS_WALKING:"LESS_WALKING",FEWER_TRANSFERS:"FEWER_TRANSFERS"};var Nh=rf(Jg,"LatLngBounds");var Oh=pf({routes:tf(uf(te))},!0);function Ph(){}Ph[K].route=function(a,b){Vf("directions",function(c){c.Ij(a,b,!0)})};function Qh(a){this[Jb](a);k[bc](function(){Vf("infowindow",ue)},100)}Q(Qh,U);ig(Qh[K],{content:vf(Cf,uf(qf)),position:xf(Ff),size:xf(eg),map:vf(gh,jh),anchor:xf(rf(U,"MVCObject")),zIndex:Bf});Qh[K].open=function(a,b){this.set("anchor",b);this.set("map",a)};Qh[K].close=function(){this.set("map",null)};Qh[K].anchor_changed=function(){var a=this;Vf("infowindow",function(b){b.k(a)})};ta(Qh[K],function(){var a=this;Vf("infowindow",function(b){b.j(a)})});function Sh(a){this[Jb](a)}Q(Sh,U);Ya(Sh[K],function(a){if("map"==a||"panel"==a){var b=this;Vf("directions",function(c){c.zp(b,a)})}});ig(Sh[K],{directions:Oh,map:gh,panel:xf(uf(qf)),routeIndex:Bf});function Th(){}Th[K].getDistanceMatrix=function(a,b){Vf("distance_matrix",function(c){c.j(a,b)})};function Uh(){}Uh[K].getElevationAlongPath=function(a,b){Vf("elevation",function(c){c.j(a,b)})};Uh[K].getElevationForLocations=function(a,b){Vf("elevation",function(c){c.k(a,b)})};var Vh,Wh;function Xh(){Vf("geocoder",ue)}Xh[K].geocode=function(a,b){Vf("geocoder",function(c){c.geocode(a,b)})};function Yh(a,b,c){this.P=null;this.set("url",a);this.set("bounds",b);this[Jb](c)}Q(Yh,U);ta(Yh[K],function(){var a=this;Vf("kml",function(b){b.j(a)})});ig(Yh[K],{map:gh,url:null,bounds:null,opacity:Bf});var Zh={UNKNOWN:"UNKNOWN",OK:zd,INVALID_REQUEST:td,DOCUMENT_NOT_FOUND:"DOCUMENT_NOT_FOUND",FETCH_ERROR:"FETCH_ERROR",INVALID_DOCUMENT:"INVALID_DOCUMENT",DOCUMENT_TOO_LARGE:"DOCUMENT_TOO_LARGE",LIMITS_EXCEEDED:"LIMITS_EXECEEDED",TIMED_OUT:"TIMED_OUT"};function $h(a,b){if(ve(a))this.set("url",a),this[Jb](b);else this[Jb](a)}Q($h,U);$h[K].url_changed=$h[K].driveFileId_changed=ta($h[K],Xa($h[K],function(){var a=this;Vf("kml",function(b){b.k(a)})}));ig($h[K],{map:gh,defaultViewport:null,metadata:null,status:null,url:Cf,screenOverlays:Df,zIndex:Bf});function ai(){this.P=null;Vf("layers",ue)}Q(ai,U);ta(ai[K],function(){var a=this;Vf("layers",function(b){b.j(a)})});ig(ai[K],{map:gh});function bi(){this.P=null;Vf("layers",ue)}Q(bi,U);ta(bi[K],function(){var a=this;Vf("layers",function(b){b.k(a)})});ig(bi[K],{map:gh});function ci(){this.P=null;Vf("layers",ue)}Q(ci,U);ta(ci[K],function(){var a=this;Vf("layers",function(b){b.D(a)})});ig(ci[K],{map:gh});function di(a,b){og[L](this);Pa(this,new U);var c=this.controls=[];ge(Jd,function(a,b){c[b]=new jg});this.j=!0;this.S=a;this[Vb](new mg(0,0,1));b&&b.j&&!se(b.j[qd])&&lb(b.j,se(b[qd])?b[qd]:1);this[Jb](b);void 0==this[Hc]()&&this[ac](!0);this[C].Zc=b&&b.Zc||new lg;var d=this;T[Mb](this,"pano_changed",Ce(function(){Vf("marker",function(a){a.j(d[C].Zc,d)})}))}Q(di,og);Wa(di[K],function(){var a=this;!a.C&&a[Hc]()&&(a.C=!0,Vf("streetview",function(b){b.Wn(a)}))});
|
|
ig(di[K],{visible:Df,pano:Cf,position:xf(Ff),pov:xf(ng),photographerPov:null,location:null,links:tf(uf(te)),status:null,zoom:Bf,enableCloseButton:Df});di[K].getContainer=M("S");di[K].registerPanoProvider=hg("panoProvider");function ei(){this.G=[];this.k=this.j=this.D=null}N=ei[K];N.qe=Hd(26);N.Ib=Hd(27);N.Ed=Hd(28);N.af=Hd(29);N.Ze=Hd(30);function fi(a,b){this.ia=b;this.Pf=new lg;this.k=new jg;this.Q=new lg;this.X=new lg;this.I=new lg;this.Zc=new lg;this.C=[];var c=this.Zc;c.j=function(){delete c.j;Vf("marker",Ce(function(b){b.j(c,a)}))};this.H=new di(b,{visible:!1,enableCloseButton:!0,Zc:c});this.H[p]("reportErrorControl",a);this.H.j=!1;this.j=new ei}Q(fi,pg);function gi(a){this.A=a||[]}gi[K].J=Hd(20);var hi=new gi,ii=new gi;function ji(a){this.A=a||[]}function ki(a){this.A=a||[]}function li(a){this.A=a||[]}function mi(a){this.A=a||[]}function ni(a){this.A=a||[]}function oi(a){this.A=a||[]}function pi(a){this.A=a||[]}function qi(a){this.A=a||[]}ji[K].J=Hd(18);Na(ji[K],function(a){return sg(this.A,0)[a]});Ua(ji[K],function(a,b){sg(this.A,0)[a]=b});ki[K].J=Hd(17);li[K].J=Hd(16);var ri=new ji,si=new ji,ti=new ji,ui=new ji,vi=new ji,wi=new ji,xi=new ji,yi=new ji,zi=new ji,Ai=new ji,Bi=new ji,Ci=new ji,Di=new ji;mi[K].J=Hd(15);
|
|
function Ei(a){a=a.A[0];return null!=a?a:""}function Fi(a){a=a.A[1];return null!=a?a:""}function Gi(){var a=Hi(Ii).A[9];return null!=a?a:""}ni[K].J=Hd(14);function Ji(a){a=a.A[0];return null!=a?a:""}function Ki(a){a=a.A[1];return null!=a?a:""}oi[K].J=Hd(13);function Li(){var a=Ii.A[4],a=(a?new oi(a):Mi).A[0];return null!=a?a:0}pi[K].J=Hd(12);function Ni(){var a=Ii.A[5];return null!=a?a:1}function Oi(){var a=Ii.A[0];return null!=a?a:1}function Pi(a){a=a.A[6];return null!=a?a:""}
|
|
function Qi(){var a=Ii.A[11];return null!=a?a:""}function Ri(){var a=Ii.A[16];return null!=a?a:""}var Si=new li,Ti=new ki,Ui=new mi;function Hi(a){return(a=a.A[2])?new mi(a):Ui}var Vi=new ni;function Wi(){var a=Ii.A[3];return a?new ni(a):Vi}var Mi=new oi,Xi=new qi;function Yi(a){return sg(Ii.A,8)[a]}qi[K].J=Hd(11);var Ii,Zi={};function $i(){this.j=new V(128,128);this.D=256/360;this.G=256/(2*m.PI);this.k=!0}$i[K].fromLatLngToPoint=function(a,b){var c=b||new V(0,0),d=this.j;c.x=d.x+a.lng()*this.D;var e=ie(m.sin(le(a.lat())),-(1-1E-15),1-1E-15);c.y=d.y+.5*m.log((1+e)/(1-e))*-this.G;return c};$i[K].fromPointToLatLng=function(a,b){var c=this.j;return new jf(me(2*m[mc](m.exp((a.y-c.y)/-this.G))-m.PI/2),(a.x-c.x)/this.D,b)};function aj(a){this.T=this.R=ba;this.U=this.W=-ba;R(a,S(this,this[yb]))}function bj(a,b,c,d){var e=new aj;e.T=a;e.R=b;e.U=c;e.W=d;return e}Ta(aj[K],function(){return!(this.T<this.U&&this.R<this.W)});sa(aj[K],function(a){a&&(this.T=ae(this.T,a.x),this.U=Zd(this.U,a.x),this.R=ae(this.R,a.y),this.W=Zd(this.W,a.y))});aj[K].getCenter=function(){return new V((this.T+this.U)/2,(this.R+this.W)/2)};var cj=bj(-ba,-ba,ba,ba),dj=bj(0,0,0,0);function ij(a,b,c){if(a=a[rb](b))c=m.pow(2,c),a.x*=c,a.y*=c;return a};function jj(a,b){var c=a.lat()+me(b);90<c&&(c=90);var d=a.lat()-me(b);-90>d&&(d=-90);var e=m.sin(b),f=m.cos(le(a.lat()));if(90==c||-90==d||1E-6>f)return new Jg(new jf(d,-180),new jf(c,180));e=me(m[yc](e/f));return new Jg(new jf(d,a.lng()-e),new jf(c,a.lng()+e))};function kj(a){this.Pn=a||0;T[u](this,"forceredraw",this,this.C)}Q(kj,U);kj[K].Y=function(){var a=this;a.H||(a.H=k[bc](function(){a.H=void 0;a.ma()},a.Pn))};kj[K].C=function(){this.H&&k[qb](this.H);this.H=void 0;this.ma()};function lj(a,b){var c=a[w];qa(c,b[r]+b.F);Sa(c,b[D]+b.C)}function mj(a){return new W(a[vb],a[Ac])};function nj(a){this.A=a||[]}var oj;function pj(a){this.A=a||[]}var qj;nj[K].J=Hd(10);pj[K].J=Hd(9);var rj=new nj;function sj(a){this.A=a||[]}var tj;function uj(a){this.A=a||[]}var vj;sj[K].J=Hd(8);uj[K].J=Hd(7);function wj(a){this.A=a||[]}var xj;function yj(a){this.A=a||[]}var zj;function Aj(a){this.A=a||[]}var Bj;function Cj(a){this.A=a||[]}var Dj;wj[K].J=Hd(6);var Ej=new yj,Fj=new Aj,Gj=new Cj;yj[K].J=Hd(5);Aj[K].J=Hd(4);Cj[K].J=Hd(3);function Hj(a){this.A=a||[]}var Ij;Hj[K].J=Hd(2);eb(Hj[K],function(){var a=this.A[2];return null!=a?a:0});za(Hj[K],function(a){this.A[2]=a});var Jj=new sj,Kj=new uj,Lj=new pj,Mj=new wj;function Nj(a,b,c){kj[L](this);this.I=b;this.F=new $i;this.K=c+"/maps/api/js/StaticMapService.GetMapImage";this.k=this.j=null;this.set("div",a);this.set("loading",!0)}Q(Nj,kj);var Oj={roadmap:0,satellite:2,hybrid:3,terrain:4},Pj={0:1,2:2,3:2,4:2};N=Nj[K];N.gh=gg("center");N.fh=gg("zoom");function Qj(a){var b=a.get("tilt")||a.get("mapMaker")||ce(a.get("styles"));a=a.get("mapTypeId");return b?null:Oj[a]}
|
|
Ya(N,function(){var a=this.gh(),b=this.fh(),c=Qj(this);if(a&&!a.j(this.Q)||this.O!=b||this.X!=c)Rj(this.k),this.Y(),this.O=b,this.X=c;this.Q=a});function Rj(a){a[ld]&&a[ld][cd](a)}
|
|
N.ma=function(){var a="",b=this.gh(),c=this.fh(),d=Qj(this),e=this.get("size");if(b&&fa(b.lat())&&fa(b.lng())&&1<c&&null!=d&&e&&e[r]&&e[D]&&this.j){lj(this.j,e);var f;(b=ij(this.F,b,c))?(f=new aj,f.T=m[Ec](b.x-e[r]/2),f.U=f.T+e[r],f.R=m[Ec](b.y-e[D]/2),f.W=f.R+e[D]):f=null;b=Pj[d];if(f){var a=new Hj,g=1<(22>c&&Ee())?2:1,h;a.A[0]=a.A[0]||[];h=new sj(a.A[0]);h.A[0]=f.T*g;h.A[1]=f.R*g;a.A[1]=b;a[Ib](c);a.A[3]=a.A[3]||[];c=new uj(a.A[3]);c.A[0]=(f.U-f.T)*g;c.A[1]=(f.W-f.R)*g;1<g&&(c.A[2]=2);a.A[4]=a.A[4]||
|
|
[];c=new pj(a.A[4]);c.A[0]=d;c.A[4]=Ei(Hi(Ii));c.A[5]=Fi(Hi(Ii))[od]();c.A[9]=!0;c.A[11]=!0;d=this.K+unescape("%3F");Ij||(c=[],Ij={M:-1,N:c},tj||(b=[],tj={M:-1,N:b},b[1]={type:"i",label:1,B:0},b[2]={type:"i",label:1,B:0}),c[1]={type:"m",label:1,B:Jj,L:tj},c[2]={type:"e",label:1,B:0},c[3]={type:"u",label:1,B:0},vj||(b=[],vj={M:-1,N:b},b[1]={type:"u",label:1,B:0},b[2]={type:"u",label:1,B:0},b[3]={type:"e",label:1,B:1}),c[4]={type:"m",label:1,B:Kj,L:vj},qj||(b=[],qj={M:-1,N:b},b[1]={type:"e",label:1,
|
|
B:0},b[2]={type:"b",label:1,B:!1},b[3]={type:"b",label:1,B:!1},b[5]={type:"s",label:1,B:""},b[6]={type:"s",label:1,B:""},oj||(f=[],oj={M:-1,N:f},f[1]={type:"e",label:3},f[2]={type:"b",label:1,B:!1}),b[9]={type:"m",label:1,B:rj,L:oj},b[10]={type:"b",label:1,B:!1},b[11]={type:"b",label:1,B:!1},b[12]={type:"b",label:1,B:!1},b[100]={type:"b",label:1,B:!1}),c[5]={type:"m",label:1,B:Lj,L:qj},xj||(b=[],xj={M:-1,N:b},zj||(f=[],zj={M:-1,N:f},f[1]={type:"b",label:1,B:!1}),b[1]={type:"m",label:1,B:Ej,L:zj},
|
|
Bj||(f=[],Bj={M:-1,N:f},f[1]={type:"b",label:1,B:!1}),b[2]={type:"m",label:1,B:Fj,L:Bj},Dj||(f=[],Dj={M:-1,N:f},f[1]={type:"b",label:1,B:!1}),b[1E3]={type:"m",label:1,B:Gj,L:Dj}),c[6]={type:"m",label:1,B:Mj,L:xj});a=vg.j(a.A,Ij);a=this.I(d+a)}}this.k&&e&&(lj(this.k,e),e=a,a=this.k,e!=a.src?(Rj(a),ka(a,ze(this,this.hh,!0)),Va(a,ze(this,this.hh,!1)),a.src=e):!a[ld]&&e&&this.j[mb](a))};
|
|
N.hh=function(a){var b=this.k;ka(b,null);Va(b,null);a&&(b[ld]||this.j[mb](b),lj(b,this.get("size")),T[n](this,"staticmaploaded"));this.set("loading",!1)};N.div_changed=function(){var a=this.get("div"),b=this.j;if(a)if(b)a[mb](b);else{b=this.j=ca[Fb]("div");bb(b[w],"hidden");var c=this.k=ca[Fb]("img");T[jd](b,"contextmenu",Ie);c.ontouchstart=c.ontouchmove=c.ontouchend=c.ontouchcancel=Ge;lj(c,dg);a[mb](b);this.ma()}else b&&(Rj(b),this.j=null)};function Sj(a){this.j=[];this.k=a||Ae()}var Tj;function Uj(a,b,c){c=c||Ae()-a.k;Tj&&a.j[F]([b,c]);return c}Sj[K].getTick=function(a){for(var b=this.j,c=0,d=b[H];c<d;++c){var e=b[c];if(e[0]==a)return e[1]}};var Vj;function Wj(a,b){var c=new Xj(b);for(c.j=[a];ce(c.j);){var d=c,e=c.j[nb]();d.k(e);for(e=e[Gb];e;e=e[Sb])1==e[Gc]&&d.j[F](e)}}function Xj(a){this.k=a;this.j=null};var Yj=Kd[$c]&&Kd[$c][Fb]("div");function Zj(a){for(var b;b=a[Gb];)ak(b),a[cd](b)}function ak(a){Wj(a,function(a){T[Rb](a)})};function bk(a,b){Vj&&Uj(Vj,"mc");Kg[L](this,new fi(this,a));var c=b||{};re(c.mapTypeId)||(c.mapTypeId="roadmap");this[Jb](c);this.mapTypes=new Bg;this.features=new U;Lg[F](a);this[Zb]("streetView");var d=mj(a);c.noClear||Zj(a);var e=this[C],f=Kd.gm_force_experiments;f&&(e.C=f);var g=null;ck(c.useStaticMap,d)&&Ii&&(.01>m[nc]()&&!f&&e.C[F](["sm-control","sm-block","sm-none"][m[ub](3*m[nc]())]),0<=Me(e.C,"sm-none")||(g=new Nj(a,Vh,Gi()),T[v](g,"staticmaploaded",this),T[Mb](g,"staticmaploaded",function(){Uj(Vj,
|
|
"smv")}),g.set("size",d),g[p]("center",this),g[p]("zoom",this),g[p]("mapTypeId",this),g[p]("styles",this),g[p]("mapMaker",this)));this.overlayMapTypes=new jg;var h=this.controls=[];ge(Jd,function(a,b){h[b]=new jg});var l=this,q=!0;Vf("map",function(a){a.k(l,c,g,q)});q=!1;ra(this,new wh({map:this}))}Q(bk,Kg);N=bk[K];N.streetView_changed=function(){this.get("streetView")||this.set("streetView",this[C].H)};N.getDiv=function(){return this[C].ia};
|
|
N.panBy=function(a,b){var c=this[C];Vf("map",function(){T[n](c,"panby",a,b)})};N.panTo=function(a){var b=this[C];a=Ff(a);Vf("map",function(){T[n](b,"panto",a)})};N.panToBounds=function(a){var b=this[C];Vf("map",function(){T[n](b,"pantolatlngbounds",a)})};N.fitBounds=function(a){var b=this;Vf("map",function(c){c.fitBounds(b,a)})};function ck(a,b){if(re(a))return!!a;var c=b[r],d=b[D];return 384E3>=c*d&&800>=c&&800>=d}
|
|
ig(bk[K],{bounds:null,streetView:jh,center:xf(Ff),zoom:Bf,mapTypeId:Cf,projection:null,heading:Bf,tilt:Bf});function dk(){Vf("maxzoom",ue)}dk[K].getMaxZoomAtLatLng=function(a,b){Vf("maxzoom",function(c){c.getMaxZoomAtLatLng(a,b)})};function ek(a,b){if(!a||ve(a)||se(a))this.set("tableId",a),this[Jb](b);else this[Jb](a)}Q(ek,U);Ya(ek[K],function(a){if("suppressInfoWindows"!=a&&"clickable"!=a){var b=this;Vf("onion",function(a){a.j(b)})}});ig(ek[K],{map:gh,tableId:Bf,query:xf(vf(Af,uf(te,"not an Object")))});function fk(){}Q(fk,U);ta(fk[K],function(){var a=this;Vf("overlay",function(b){b.j(a)})});ig(fk[K],{panes:null,projection:null,map:vf(gh,jh)});function gk(a){this[Jb](lh(a));Vf("poly",ue)}Q(gk,U);ta(gk[K],Wa(gk[K],function(){var a=this;Vf("poly",function(b){b.j(a)})}));ma(gk[K],function(){T[n](this,"bounds_changed")});$a(gk[K],gk[K].center_changed);Ba(gk[K],function(){var a=this.get("radius"),b=this.get("center");if(b&&se(a)){var c=this.get("map"),c=c&&c[C].get("mapType");return jj(b,a/mh(c))}return null});ig(gk[K],{center:xf(Ff),draggable:Df,editable:Df,map:gh,radius:Bf,visible:Df});function hk(a){this[Jb](lh(a));Vf("poly",ue)}Q(hk,U);ta(hk[K],Wa(hk[K],function(){var a=this;Vf("poly",function(b){b.D(a)})}));ig(hk[K],{draggable:Df,editable:Df,bounds:xf(Nh),map:gh,visible:Df});function ik(){this.j=null}Q(ik,U);ta(ik[K],function(){var a=this;Vf("streetview",function(b){b.pp(a)})});ig(ik[K],{map:gh});function jk(){}jk[K].getPanoramaByLocation=function(a,b,c){var d=this.kb;Vf("streetview",function(e){e.qj(a,b,c,d)})};jk[K].getPanoramaById=function(a,b){var c=this.kb;Vf("streetview",function(d){d.Eo(a,b,c)})};function kk(a){this.j=a}Da(kk[K],function(a,b,c){c=c[Fb]("div");a={ia:c,za:a,zoom:b};c.ua=a;this.j.oa(a);return c});jb(kk[K],function(a){this.j[Eb](a.ua);a.ua=null});kk[K].k=function(a){T[n](a.ua,"stop",a.ua)};function lk(a){Aa(this,a[Kb]);ab(this,a[Uc]);this.alt=a.alt;va(this,a[Cb]);La(this,a[rc]);var b=new lg,c=new kk(b);Da(this,S(c,c[Xb]));jb(this,S(c,c[hd]));this.j=S(c,c.k);var d=S(a,a[Pb]);this.set("opacity",a[ad]);var e=this;Vf("map",function(c){(new c.j(b,d,null,a))[p]("opacity",e)})}Q(lk,U);lk[K].yc=!0;ig(lk[K],{opacity:Bf});function mk(a,b){this.set("styles",a);var c=b||{};this.k=c.baseMapTypeId||"roadmap";va(this,c[Cb]);La(this,c[rc]||20);ab(this,c[Uc]);this.alt=c.alt;Ga(this,null);Aa(this,new W(256,256))}Q(mk,U);Da(mk[K],ue);function nk(a,b){uf(qf,"container is not a Node")(a);this[Jb](b);Vf("controls",Ud(function(b){b.wp(this,a)},this))}Q(nk,U);ig(nk[K],{attribution:xf(Zg),place:xf($g)});var ok={Animation:{BOUNCE:1,DROP:2,k:3,j:4},Circle:gk,ControlPosition:Jd,Data:wh,GroundOverlay:Yh,ImageMapType:lk,InfoWindow:Qh,LatLng:jf,LatLngBounds:Jg,MVCArray:jg,MVCObject:U,Map:bk,MapTypeControlStyle:{DEFAULT:0,HORIZONTAL_BAR:1,DROPDOWN_MENU:2,INSET:3},MapTypeId:Id,MapTypeRegistry:Bg,Marker:kh,MarkerImage:function(a,b,c,d,e){this.url=a;Fa(this,b||e);la(this,c);this.anchor=d;this.scaledSize=e},NavigationControlStyle:{DEFAULT:0,SMALL:1,ANDROID:2,ZOOM_PAN:3,Vp:4,np:5},OverlayView:fk,Point:V,Polygon:sh,
|
|
Polyline:th,Rectangle:hk,ScaleControlStyle:{DEFAULT:0},Size:W,StrokePosition:{CENTER:0,INSIDE:1,OUTSIDE:2},SymbolPath:fg,ZoomControlStyle:{DEFAULT:0,SMALL:1,LARGE:2,np:3},event:T};
|
|
fe(ok,{BicyclingLayer:ai,DirectionsRenderer:Sh,DirectionsService:Ph,DirectionsStatus:{OK:zd,UNKNOWN_ERROR:Cd,OVER_QUERY_LIMIT:Ad,REQUEST_DENIED:Bd,INVALID_REQUEST:td,ZERO_RESULTS:Dd,MAX_WAYPOINTS_EXCEEDED:wd,NOT_FOUND:yd},DirectionsTravelMode:Kh,DirectionsUnitSystem:Jh,DistanceMatrixService:Th,DistanceMatrixStatus:{OK:zd,INVALID_REQUEST:td,OVER_QUERY_LIMIT:Ad,REQUEST_DENIED:Bd,UNKNOWN_ERROR:Cd,MAX_ELEMENTS_EXCEEDED:vd,MAX_DIMENSIONS_EXCEEDED:ud},DistanceMatrixElementStatus:{OK:zd,NOT_FOUND:yd,ZERO_RESULTS:Dd},
|
|
ElevationService:Uh,ElevationStatus:{OK:zd,UNKNOWN_ERROR:Cd,OVER_QUERY_LIMIT:Ad,REQUEST_DENIED:Bd,INVALID_REQUEST:td,Tp:"DATA_NOT_AVAILABLE"},FusionTablesLayer:ek,Geocoder:Xh,GeocoderLocationType:{ROOFTOP:"ROOFTOP",RANGE_INTERPOLATED:"RANGE_INTERPOLATED",GEOMETRIC_CENTER:"GEOMETRIC_CENTER",APPROXIMATE:"APPROXIMATE"},GeocoderStatus:{OK:zd,UNKNOWN_ERROR:Cd,OVER_QUERY_LIMIT:Ad,REQUEST_DENIED:Bd,INVALID_REQUEST:td,ZERO_RESULTS:Dd,ERROR:rd},KmlLayer:$h,KmlLayerStatus:Zh,MaxZoomService:dk,MaxZoomStatus:{OK:zd,
|
|
ERROR:rd},SaveWidget:nk,StreetViewCoverageLayer:ik,StreetViewPanorama:di,StreetViewService:jk,StreetViewStatus:{OK:zd,UNKNOWN_ERROR:Cd,ZERO_RESULTS:Dd},StyledMapType:mk,TrafficLayer:bi,TransitLayer:ci,TransitMode:Lh,TransitRoutePreference:Mh,TravelMode:Kh,UnitSystem:Jh});fe(wh,{Feature:ag,Geometry:hf,GeometryCollection:Pg,LineString:Qg,LinearRing:Ug,MultiLineString:Sg,MultiPoint:Tg,MultiPolygon:Yg,Point:Hf,Polygon:Wg});var pk,qk;var rk,sk;function tk(a){this.j=a}function uk(a,b,c){for(var d=da(b[H]),e=0,f=b[H];e<f;++e)d[e]=b[id](e);d.unshift(c);a=a.j;c=b=0;for(e=d[H];c<e;++c)b*=1729,b+=d[c],b%=a;return b};function vk(){var a=Li(),b=new tk(131071),c=unescape("%26%74%6F%6B%65%6E%3D");return function(d){d=d[sb](wk,"%27");var e=d+c;xk||(xk=/(?:https?:\/\/[^/]+)?(.*)/);d=xk[pb](d);return e+uk(b,d&&d[1],a)}}var wk=/'/g,xk;function Ak(){var a=new tk(2147483647);return function(b){return uk(a,b,0)}};bh.main=function(a){eval(a)};Zf("main",{});function Bk(a){return S(k,eval,"window."+a+"()")}function Ck(){for(var a in aa[K])k[sc]&&k[sc][Bc]("This site adds property <"+a+"> to Object.prototype. Extending Object.prototype breaks JavaScript for..in loops, which are used heavily in Google Maps API v3.")}function Dk(a){(a="version"in a)&&k[sc]&&k[sc][Bc]("You have included the Google Maps API multiple times on this page. This may cause unexpected errors.");return a}
|
|
k[Vc].maps.Load(function(a,b){var c=k[Vc].maps;Ck();var d=Dk(c);Ii=new pi(a);m[nc]()<Ni()&&(Tj=!0);Vj=new Sj(b);Uj(Vj,"jl");pk=m[nc]()<Oi();qk=m[Ec](1E15*m[nc]())[$b](36);Vh=vk();Wh=Ak();rk=new jg;sk=b;for(var e=0;e<tg(Ii.A,8);++e)Zi[Yi(e)]=!0;e=Wi();ch(Ji(e));ge(ok,function(a,b){c[a]=b});pa(c,Ki(e));k[bc](function(){$f(["util","stats"],function(a,b){a.k.j();d&&b.j.j({ev:"api_alreadyloaded",client:Pi(Ii),key:Ri()})})},5E3);T.kl();(e=Qi())&&$f(sg(Ii.A,12),Bk(e),!0)});
|
|
}).call(this) |