@googlemaps/markerclustererplus
Advanced tools
Comparing version 1.2.6 to 1.2.7
@@ -1,2 +0,2 @@ | ||
var MarkerClusterer=function(){"use strict";var t=function(t){try{return!!t()}catch(t){return!0}},e=!t((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var i,o,s=function(t){return t&&t.Math==Math&&t},a=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof r&&r)||function(){return this}()||Function("return this")(),u=Function.prototype,c=u.bind,l=u.call,h=c&&c.bind(l),p=c?function(t){return t&&h(l,t)}:function(t){return t&&function(){return l.apply(t,arguments)}},f=function(t){return"function"==typeof t},g=/#|\.prototype\./,d=function(e,r){var n=m[_(e)];return n==y||n!=v&&(f(r)?t(r):!!r)},_=d.normalize=function(t){return String(t).replace(g,".").toLowerCase()},m=d.data={},v=d.NATIVE="N",y=d.POLYFILL="P",b=d,x=a.TypeError,M=function(t){if(null==t)throw x("Can't call method on "+t);return t},S=a.Object,I=function(t){return S(M(t))},k=p({}.hasOwnProperty),w=Object.hasOwn||function(t,e){return k(I(t),e)},C=function(t){return"object"==typeof t?null!==t:f(t)},E=a.document,O=C(E)&&C(E.createElement),P=function(t){return O?E.createElement(t):{}},T=!e&&!t((function(){return 7!=Object.defineProperty(P("div"),"a",{get:function(){return 7}}).a})),A=a.String,L=a.TypeError,j=function(t){if(C(t))return t;throw L(A(t)+" is not an object")},z=Function.prototype.call,R=z.bind?z.bind(z):function(){return z.apply(z,arguments)},N=function(t){return f(t)?t:void 0},B=function(t,e){return arguments.length<2?N(a[t]):a[t]&&a[t][e]},Z=p({}.isPrototypeOf),F=B("navigator","userAgent")||"",D=a.process,H=a.Deno,$=D&&D.versions||H&&H.version,G=$&&$.v8;G&&(o=(i=G.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&F&&(!(i=F.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=F.match(/Chrome\/(\d+)/))&&(o=+i[1]);var U=o,V=!!Object.getOwnPropertySymbols&&!t((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&U&&U<41})),W=V&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,X=a.Object,Y=W?function(t){return"symbol"==typeof t}:function(t){var e=B("Symbol");return f(e)&&Z(e.prototype,X(t))},q=a.String,K=function(t){try{return q(t)}catch(t){return"Object"}},J=a.TypeError,Q=function(t,e){var r=t[e];return null==r?void 0:function(t){if(f(t))return t;throw J(K(t)+" is not a function")}(r)},tt=a.TypeError,et=Object.defineProperty,rt=function(t,e){try{et(a,t,{value:e,configurable:!0,writable:!0})}catch(r){a[t]=e}return e},nt="__core-js_shared__",it=a[nt]||rt(nt,{}),ot=n((function(t){(t.exports=function(t,e){return it[t]||(it[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),st=0,at=Math.random(),ut=p(1..toString),ct=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ut(++st+at,36)},lt=ot("wks"),ht=a.Symbol,pt=ht&&ht.for,ft=W?ht:ht&&ht.withoutSetter||ct,gt=function(t){if(!w(lt,t)||!V&&"string"!=typeof lt[t]){var e="Symbol."+t;V&&w(ht,t)?lt[t]=ht[t]:lt[t]=W&&pt?pt(e):ft(e)}return lt[t]},dt=a.TypeError,_t=gt("toPrimitive"),mt=function(t,e){if(!C(t)||Y(t))return t;var r,n=Q(t,_t);if(n){if(void 0===e&&(e="default"),r=R(n,t,e),!C(r)||Y(r))return r;throw dt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&f(r=t.toString)&&!C(n=R(r,t)))return n;if(f(r=t.valueOf)&&!C(n=R(r,t)))return n;if("string"!==e&&f(r=t.toString)&&!C(n=R(r,t)))return n;throw tt("Can't convert object to primitive value")}(t,e)},vt=function(t){var e=mt(t,"string");return Y(e)?e:e+""},yt=a.TypeError,bt=Object.defineProperty,xt={f:e?bt:function(t,e,r){if(j(t),e=vt(e),j(r),T)try{return bt(t,e,r)}catch(t){}if("get"in r||"set"in r)throw yt("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Mt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},St=e?function(t,e,r){return xt.f(t,e,Mt(1,r))}:function(t,e,r){return t[e]=r,t},It=p(Function.toString);f(it.inspectSource)||(it.inspectSource=function(t){return It(t)});var kt,wt,Ct,Et=it.inspectSource,Ot=a.WeakMap,Pt=f(Ot)&&/native code/.test(Et(Ot)),Tt=ot("keys"),At=function(t){return Tt[t]||(Tt[t]=ct(t))},Lt={},jt="Object already initialized",zt=a.TypeError,Rt=a.WeakMap;if(Pt||it.state){var Nt=it.state||(it.state=new Rt),Bt=p(Nt.get),Zt=p(Nt.has),Ft=p(Nt.set);kt=function(t,e){if(Zt(Nt,t))throw new zt(jt);return e.facade=t,Ft(Nt,t,e),e},wt=function(t){return Bt(Nt,t)||{}},Ct=function(t){return Zt(Nt,t)}}else{var Dt=At("state");Lt[Dt]=!0,kt=function(t,e){if(w(t,Dt))throw new zt(jt);return e.facade=t,St(t,Dt,e),e},wt=function(t){return w(t,Dt)?t[Dt]:{}},Ct=function(t){return w(t,Dt)}}var Ht={set:kt,get:wt,has:Ct,enforce:function(t){return Ct(t)?wt(t):kt(t,{})},getterFor:function(t){return function(e){var r;if(!C(e)||(r=wt(e)).type!==t)throw zt("Incompatible receiver, "+t+" required");return r}}},$t=Function.prototype,Gt=e&&Object.getOwnPropertyDescriptor,Ut=w($t,"name"),Vt={EXISTS:Ut,PROPER:Ut&&"something"===function(){}.name,CONFIGURABLE:Ut&&(!e||e&&Gt($t,"name").configurable)},Wt=n((function(t){var e=Vt.CONFIGURABLE,r=Ht.get,n=Ht.enforce,i=String(String).split("String");(t.exports=function(t,r,o,s){var u,c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet,p=s&&void 0!==s.name?s.name:r;f(o)&&("Symbol("===String(p).slice(0,7)&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!w(o,"name")||e&&o.name!==p)&&St(o,"name",p),(u=n(o)).source||(u.source=i.join("string"==typeof p?p:""))),t!==a?(c?!h&&t[r]&&(l=!0):delete t[r],l?t[r]=o:St(t,r,o)):l?t[r]=o:rt(r,o)})(Function.prototype,"toString",(function(){return f(this)&&r(this).source||Et(this)}))})),Xt=a.String,Yt=a.TypeError,qt=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=p(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),function(t){if("object"==typeof t||f(t))return t;throw Yt("Can't set "+Xt(t)+" as a prototype")}(n),e?t(r,n):r.__proto__=n,r}}():void 0),Kt=function(t,e,r){var n,i;return qt&&f(n=e.constructor)&&n!==r&&C(i=n.prototype)&&i!==r.prototype&&qt(t,i),t},Jt=p({}.toString),Qt=p("".slice),te=function(t){return Qt(Jt(t),8,-1)},ee=a.Object,re=p("".split),ne=t((function(){return!ee("z").propertyIsEnumerable(0)}))?function(t){return"String"==te(t)?re(t,""):ee(t)}:ee,ie=function(t){return ne(M(t))},oe=Math.ceil,se=Math.floor,ae=function(t){var e=+t;return e!=e||0===e?0:(e>0?se:oe)(e)},ue=Math.max,ce=Math.min,le=function(t,e){var r=ae(t);return r<0?ue(r+e,0):ce(r,e)},he=Math.min,pe=function(t){return t>0?he(ae(t),9007199254740991):0},fe=function(t){return pe(t.length)},ge=function(t){return function(e,r,n){var i,o=ie(e),s=fe(o),a=le(n,s);if(t&&r!=r){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},de={includes:ge(!0),indexOf:ge(!1)}.indexOf,_e=p([].push),me=function(t,e){var r,n=ie(t),i=0,o=[];for(r in n)!w(Lt,r)&&w(n,r)&&_e(o,r);for(;e.length>i;)w(n,r=e[i++])&&(~de(o,r)||_e(o,r));return o},ve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=ve.concat("length","prototype"),be={f:Object.getOwnPropertyNames||function(t){return me(t,ye)}},xe={}.propertyIsEnumerable,Me=Object.getOwnPropertyDescriptor,Se={f:Me&&!xe.call({1:2},1)?function(t){var e=Me(this,t);return!!e&&e.enumerable}:xe},Ie=Object.getOwnPropertyDescriptor,ke={f:e?Ie:function(t,e){if(t=ie(t),e=vt(e),T)try{return Ie(t,e)}catch(t){}if(w(t,e))return Mt(!R(Se.f,t,e),t[e])}},we=p(1..valueOf),Ce={};Ce[gt("toStringTag")]="z";var Ee="[object z]"===String(Ce),Oe=gt("toStringTag"),Pe=a.Object,Te="Arguments"==te(function(){return arguments}()),Ae=Ee?te:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Pe(t),Oe))?r:Te?te(e):"Object"==(n=te(e))&&f(e.callee)?"Arguments":n},Le=a.String,je=function(t){if("Symbol"===Ae(t))throw TypeError("Cannot convert a Symbol value to a string");return Le(t)},ze=p("".replace),Re="[\t\n\v\f\r \u2028\u2029\ufeff]",Ne=RegExp("^"+Re+Re+"*"),Be=RegExp(Re+Re+"*$"),Ze=function(t){return function(e){var r=je(M(e));return 1&t&&(r=ze(r,Ne,"")),2&t&&(r=ze(r,Be,"")),r}},Fe={start:Ze(1),end:Ze(2),trim:Ze(3)},De=be.f,He=ke.f,$e=xt.f,Ge=Fe.trim,Ue="Number",Ve=a.Number,We=Ve.prototype,Xe=a.TypeError,Ye=p("".slice),qe=p("".charCodeAt),Ke=function(t){var e=mt(t,"number");return"bigint"==typeof e?e:Je(e)},Je=function(t){var e,r,n,i,o,s,a,u,c=mt(t,"number");if(Y(c))throw Xe("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Ge(c),43===(e=qe(c,0))||45===e){if(88===(r=qe(c,2))||120===r)return NaN}else if(48===e){switch(qe(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(s=(o=Ye(c,2)).length,a=0;a<s;a++)if((u=qe(o,a))<48||u>i)return NaN;return parseInt(o,n)}return+c};if(b(Ue,!Ve(" 0o1")||!Ve("0b1")||Ve("+0x1"))){for(var Qe,tr=function(e){var r=arguments.length<1?0:Ve(Ke(e)),n=this;return Z(We,n)&&t((function(){we(n)}))?Kt(Object(r),n,tr):r},er=e?De(Ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),rr=0;er.length>rr;rr++)w(Ve,Qe=er[rr])&&!w(tr,Qe)&&$e(tr,Qe,He(Ve,Qe));tr.prototype=We,We.constructor=tr,Wt(a,Ue,tr)}var nr={f:Object.getOwnPropertySymbols},ir=p([].concat),or=B("Reflect","ownKeys")||function(t){var e=be.f(j(t)),r=nr.f;return r?ir(e,r(t)):e},sr=function(t,e){for(var r=or(e),n=xt.f,i=ke.f,o=0;o<r.length;o++){var s=r[o];w(t,s)||n(t,s,i(e,s))}},ar=ke.f,ur=function(t,e){var r,n,i,o,s,u=t.target,c=t.global,l=t.stat;if(r=c?a:l?a[u]||rt(u,{}):(a[u]||{}).prototype)for(n in e){if(o=e[n],i=t.noTargetGet?(s=ar(r,n))&&s.value:r[n],!b(c?n:u+(l?".":"#")+n,t.forced)&&void 0!==i){if(typeof o==typeof i)continue;sr(o,i)}(t.sham||i&&i.sham)&&St(o,"sham",!0),Wt(r,n,o,t)}},cr=Array.isArray||function(t){return"Array"==te(t)},lr=function(){},hr=[],pr=B("Reflect","construct"),fr=/^\s*(?:class|function)\b/,gr=p(fr.exec),dr=!fr.exec(lr),_r=function(t){if(!f(t))return!1;try{return pr(lr,hr,t),!0}catch(t){return!1}},mr=!pr||t((function(){var t;return _r(_r.call)||!_r(Object)||!_r((function(){t=!0}))||t}))?function(t){if(!f(t))return!1;switch(Ae(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return dr||!!gr(fr,Et(t))}:_r,vr=gt("species"),yr=a.Array,br=function(t,e){return new(function(t){var e;return cr(t)&&(e=t.constructor,(mr(e)&&(e===yr||cr(e.prototype))||C(e)&&null===(e=e[vr]))&&(e=void 0)),void 0===e?yr:e}(t))(0===e?0:e)},xr=function(t,e,r){var n=vt(e);n in t?xt.f(t,n,Mt(0,r)):t[n]=r},Mr=gt("species"),Sr=function(e){return U>=51||!t((function(){var t=[];return(t.constructor={})[Mr]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ir=Sr("splice"),kr=a.TypeError,wr=Math.max,Cr=Math.min,Er=9007199254740991,Or="Maximum allowed length exceeded";ur({target:"Array",proto:!0,forced:!Ir},{splice:function(t,e){var r,n,i,o,s,a,u=I(this),c=fe(u),l=le(t,c),h=arguments.length;if(0===h?r=n=0:1===h?(r=0,n=c-l):(r=h-2,n=Cr(wr(ae(e),0),c-l)),c+r-n>Er)throw kr(Or);for(i=br(u,n),o=0;o<n;o++)(s=l+o)in u&&xr(i,o,u[s]);if(i.length=n,r<n){for(o=l;o<c-n;o++)a=o+r,(s=o+n)in u?u[a]=u[s]:delete u[a];for(o=c;o>c-n+r;o--)delete u[o-1]}else if(r>n)for(o=c-n;o>l;o--)a=o+r-1,(s=o+n-1)in u?u[a]=u[s]:delete u[a];for(o=0;o<r;o++)u[o+l]=arguments[o+2];return u.length=c-n+r,i}});var Pr=p([].slice),Tr=Sr("slice"),Ar=gt("species"),Lr=a.Array,jr=Math.max;ur({target:"Array",proto:!0,forced:!Tr},{slice:function(t,e){var r,n,i,o=ie(this),s=fe(o),a=le(t,s),u=le(void 0===e?s:e,s);if(cr(o)&&(r=o.constructor,(mr(r)&&(r===Lr||cr(r.prototype))||C(r)&&null===(r=r[Ar]))&&(r=void 0),r===Lr||void 0===r))return Pr(o,a,u);for(n=new(void 0===r?Lr:r)(jr(u-a,0)),i=0;a<u;a++,i++)a in o&&xr(n,i,o[a]);return n.length=i,n}});var zr=Ee?{}.toString:function(){return"[object "+Ae(this)+"]"};Ee||Wt(Object.prototype,"toString",zr,{unsafe:!0});var Rr=function(){var t=j(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Nr=Vt.PROPER,Br="toString",Zr=RegExp.prototype,Fr=Zr.toString,Dr=p(Rr),Hr=t((function(){return"/a/b"!=Fr.call({source:"a",flags:"b"})})),$r=Nr&&Fr.name!=Br;(Hr||$r)&&Wt(RegExp.prototype,Br,(function(){var t=j(this),e=je(t.source),r=t.flags;return"/"+e+"/"+je(void 0===r&&Z(Zr,t)&&!("flags"in Zr)?Dr(t):r)}),{unsafe:!0});var Gr=function(t,e){return(Gr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function Ur(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Gr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var Vr,Wr,Xr=function(){return(Xr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},Yr=p([].join),qr=ne!=Object,Kr=(Vr=",",!!(Wr=[]["join"])&&t((function(){Wr.call(null,Vr||function(){throw 1},1)})));ur({target:"Array",proto:!0,forced:qr||!Kr},{join:function(t){return Yr(ie(this),void 0===t?",":t)}});var Jr=Object.keys||function(t){return me(t,ve)};ur({target:"Object",stat:!0,forced:t((function(){Jr(1)}))},{keys:function(t){return Jr(I(t))}});var Qr,tn=a.RegExp,en={UNSUPPORTED_Y:t((function(){var t=tn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:t((function(){var t=tn("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},rn=e?Object.defineProperties:function(t,e){j(t);for(var r,n=ie(e),i=Jr(e),o=i.length,s=0;o>s;)xt.f(t,r=i[s++],n[r]);return t},nn=B("document","documentElement"),on=At("IE_PROTO"),sn=function(){},an=function(t){return"<script>"+t+"</"+"script>"},un=function(t){t.write(an("")),t.close();var e=t.parentWindow.Object;return t=null,e},cn=function(){try{Qr=new ActiveXObject("htmlfile")}catch(t){}var t,e;cn="undefined"!=typeof document?document.domain&&Qr?un(Qr):((e=P("iframe")).style.display="none",nn.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(an("document.F=Object")),t.close(),t.F):un(Qr);for(var r=ve.length;r--;)delete cn.prototype[ve[r]];return cn()};Lt[on]=!0;var ln,hn,pn=Object.create||function(t,e){var r;return null!==t?(sn.prototype=j(t),r=new sn,sn.prototype=null,r[on]=t):r=cn(),void 0===e?r:rn(r,e)},fn=a.RegExp,gn=t((function(){var t=fn(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),dn=a.RegExp,_n=t((function(){var t=dn("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),mn=Ht.get,vn=ot("native-string-replace",String.prototype.replace),yn=RegExp.prototype.exec,bn=yn,xn=p("".charAt),Mn=p("".indexOf),Sn=p("".replace),In=p("".slice),kn=(hn=/b*/g,R(yn,ln=/a/,"a"),R(yn,hn,"a"),0!==ln.lastIndex||0!==hn.lastIndex),wn=en.UNSUPPORTED_Y||en.BROKEN_CARET,Cn=void 0!==/()??/.exec("")[1];(kn||Cn||wn||gn||_n)&&(bn=function(t){var e,r,n,i,o,s,a,u=this,c=mn(u),l=je(t),h=c.raw;if(h)return h.lastIndex=u.lastIndex,e=R(bn,h,l),u.lastIndex=h.lastIndex,e;var p=c.groups,f=wn&&u.sticky,g=R(Rr,u),d=u.source,_=0,m=l;if(f&&(g=Sn(g,"y",""),-1===Mn(g,"g")&&(g+="g"),m=In(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==xn(l,u.lastIndex-1))&&(d="(?: "+d+")",m=" "+m,_++),r=new RegExp("^(?:"+d+")",g)),Cn&&(r=new RegExp("^"+d+"$(?!\\s)",g)),kn&&(n=u.lastIndex),i=R(yn,f?r:u,m),f?i?(i.input=In(i.input,_),i[0]=In(i[0],_),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:kn&&i&&(u.lastIndex=u.global?i.index+i[0].length:n),Cn&&i&&i.length>1&&R(vn,i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&p)for(i.groups=s=pn(null),o=0;o<p.length;o++)s[(a=p[o])[0]]=i[a[1]];return i});var En=bn;ur({target:"RegExp",proto:!0,forced:/./.exec!==En},{exec:En});var On=Function.prototype,Pn=On.apply,Tn=On.bind,An=On.call,Ln="object"==typeof Reflect&&Reflect.apply||(Tn?An.bind(Pn):function(){return An.apply(Pn,arguments)}),jn=gt("species"),zn=RegExp.prototype,Rn=function(e,r,n,i){var o=gt(e),s=!t((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=s&&!t((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[jn]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!s||!a||n){var u=p(/./[o]),c=r(o,""[e],(function(t,e,r,n,i){var o=p(t),a=e.exec;return a===En||a===zn.exec?s&&!i?{done:!0,value:u(e,r,n)}:{done:!0,value:o(r,e,n)}:{done:!1}}));Wt(String.prototype,e,c[0]),Wt(zn,o,c[1])}i&&St(zn[o],"sham",!0)},Nn=gt("match"),Bn=a.TypeError,Zn=gt("species"),Fn=function(t,e){var r,n=j(t).constructor;return void 0===n||null==(r=j(n)[Zn])?e:function(t){if(mr(t))return t;throw Bn(K(t)+" is not a constructor")}(r)},Dn=p("".charAt),Hn=p("".charCodeAt),$n=p("".slice),Gn=function(t){return function(e,r){var n,i,o=je(M(e)),s=ae(r),a=o.length;return s<0||s>=a?t?"":void 0:(n=Hn(o,s))<55296||n>56319||s+1===a||(i=Hn(o,s+1))<56320||i>57343?t?Dn(o,s):n:t?$n(o,s,s+2):i-56320+(n-55296<<10)+65536}},Un={codeAt:Gn(!1),charAt:Gn(!0)}.charAt,Vn=function(t,e,r){return e+(r?Un(t,e).length:1)},Wn=a.TypeError,Xn=function(t,e){var r=t.exec;if(f(r)){var n=R(r,t,e);return null!==n&&j(n),n}if("RegExp"===te(t))return R(En,t,e);throw Wn("RegExp#exec called on incompatible receiver")},Yn=en.UNSUPPORTED_Y,qn=4294967295,Kn=Math.min,Jn=[].push,Qn=p(/./.exec),ti=p(Jn),ei=p("".slice);Rn("split",(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n,i,o=je(M(this)),s=void 0===r?qn:r>>>0;if(0===s)return[];if(void 0===t)return[o];if(!C(n=t)||!(void 0!==(i=n[Nn])?i:"RegExp"==te(n)))return R(e,o,t,s);for(var a,u,c,l=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,f=new RegExp(t.source,h+"g");(a=R(En,f,o))&&!((u=f.lastIndex)>p&&(ti(l,ei(o,p,a.index)),a.length>1&&a.index<o.length&&Ln(Jn,l,Pr(a,1)),c=a[0].length,p=u,l.length>=s));)f.lastIndex===a.index&&f.lastIndex++;return p===o.length?!c&&Qn(f,"")||ti(l,""):ti(l,ei(o,p)),l.length>s?Pr(l,0,s):l}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:R(e,this,t,r)}:e,[function(e,r){var i=M(this),o=null==e?void 0:Q(e,t);return o?R(o,e,i,r):R(n,je(i),e,r)},function(t,i){var o=j(this),s=je(t),a=r(n,o,s,i,n!==e);if(a.done)return a.value;var u=Fn(o,RegExp),c=o.unicode,l=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Yn?"g":"y"),h=new u(Yn?"^(?:"+o.source+")":o,l),p=void 0===i?qn:i>>>0;if(0===p)return[];if(0===s.length)return null===Xn(h,s)?[s]:[];for(var f=0,g=0,d=[];g<s.length;){h.lastIndex=Yn?0:g;var _,m=Xn(h,Yn?ei(s,g):s);if(null===m||(_=Kn(pe(h.lastIndex+(Yn?g:0)),s.length))===f)g=Vn(s,g,c);else{if(ti(d,ei(s,f,g)),d.length===p)return d;for(var v=1;v<=m.length-1;v++)if(ti(d,m[v]),d.length===p)return d;g=f=_}}return ti(d,ei(s,f)),d}]}),!!t((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),Yn);var ri=Math.floor,ni=p("".charAt),ii=p("".replace),oi=p("".slice),si=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ai=/\$([$&'`]|\d{1,2})/g,ui=function(t,e,r,n,i,o){var s=r+t.length,a=n.length,u=ai;return void 0!==i&&(i=I(i),u=si),ii(o,u,(function(o,u){var c;switch(ni(u,0)){case"$":return"$";case"&":return t;case"`":return oi(e,0,r);case"'":return oi(e,s);case"<":c=i[oi(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>a){var h=ri(l/10);return 0===h?o:h<=a?void 0===n[h-1]?ni(u,1):n[h-1]+ni(u,1):o}c=n[l-1]}return void 0===c?"":c}))},ci=gt("replace"),li=Math.max,hi=Math.min,pi=p([].concat),fi=p([].push),gi=p("".indexOf),di=p("".slice),_i="$0"==="a".replace(/./,"$0"),mi=!!/./[ci]&&""===/./[ci]("a","$0");Rn("replace",(function(t,e,r){var n=mi?"$":"$0";return[function(t,r){var n=M(this),i=null==t?void 0:Q(t,ci);return i?R(i,t,n,r):R(e,je(n),t,r)},function(t,i){var o=j(this),s=je(t);if("string"==typeof i&&-1===gi(i,n)&&-1===gi(i,"$<")){var a=r(e,o,s,i);if(a.done)return a.value}var u=f(i);u||(i=je(i));var c=o.global;if(c){var l=o.unicode;o.lastIndex=0}for(var h=[];;){var p=Xn(o,s);if(null===p)break;if(fi(h,p),!c)break;""===je(p[0])&&(o.lastIndex=Vn(s,pe(o.lastIndex),l))}for(var g,d="",_=0,m=0;m<h.length;m++){for(var v=je((p=h[m])[0]),y=li(hi(ae(p.index),s.length),0),b=[],x=1;x<p.length;x++)fi(b,void 0===(g=p[x])?g:String(g));var M=p.groups;if(u){var S=pi([v],b,y,s);void 0!==M&&fi(S,M);var I=je(Ln(i,void 0,S))}else I=ui(v,s,y,b,M,i);y>=_&&(d+=di(s,_,y)+I,_=y+v.length)}return d+di(s,_)}]}),!!t((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!_i||mi);var vi=function t(){!function(t,e){for(var r in e.prototype)t.prototype[r]=e.prototype[r]}(t,google.maps.OverlayView)};function yi(t){return Object.keys(t).reduce((function(e,r){return t[r]&&e.push(r+":"+t[r]),e}),[]).join(";")}function bi(t){return t?t+"px":void 0}var xi=function(t){function e(e,r){var n=t.call(this)||this;return n.cluster_=e,n.styles_=r,n.center_=null,n.div_=null,n.sums_=null,n.visible_=!1,n.style=null,n.setMap(e.getMap()),n}return Ur(e,t),e.prototype.onAdd=function(){var t,e,r=this,n=this.cluster_.getMarkerClusterer(),i=google.maps.version.split("."),o=i[0],s=i[1],a=100*parseInt(o,10)+parseInt(s,10);this.div_=document.createElement("div"),this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",(function(){e=t})),google.maps.event.addDomListener(this.div_,"mousedown",(function(){t=!0,e=!1})),google.maps.event.addDomListener(this.div_,"contextmenu",(function(){google.maps.event.trigger(n,"contextmenu",r.cluster_)})),a>=332&&google.maps.event.addDomListener(this.div_,"touchstart",(function(t){t.stopPropagation()})),google.maps.event.addDomListener(this.div_,"click",(function(i){if(t=!1,!e){if(google.maps.event.trigger(n,"click",r.cluster_),google.maps.event.trigger(n,"clusterclick",r.cluster_),n.getZoomOnClick()){var o=n.getMaxZoom(),s=r.cluster_.getBounds();n.getMap().fitBounds(s),setTimeout((function(){n.getMap().fitBounds(s),null!==o&&n.getMap().getZoom()>o&&n.getMap().setZoom(o+1)}),100)}i.cancelBubble=!0,i.stopPropagation&&i.stopPropagation()}})),google.maps.event.addDomListener(this.div_,"mouseover",(function(){google.maps.event.trigger(n,"mouseover",r.cluster_)})),google.maps.event.addDomListener(this.div_,"mouseout",(function(){google.maps.event.trigger(n,"mouseout",r.cluster_)}))},e.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},e.prototype.draw=function(){if(this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px"}},e.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},e.prototype.show=function(){this.div_&&(this.div_.className=this.className_,this.div_.style.cssText=this.createCss_(this.getPosFromLatLng_(this.center_)),this.div_.innerHTML=(this.style.url?this.getImageElementHtml():"")+this.getLabelDivHtml(),void 0===this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""),this.visible_=!0},e.prototype.getLabelDivHtml=function(){return'\n<div aria-label="'+this.cluster_.getMarkerClusterer().ariaLabelFn(this.sums_.text)+'" style="'+yi({position:"absolute",top:bi(this.anchorText_[0]),left:bi(this.anchorText_[1]),color:this.style.textColor,"font-size":bi(this.style.textSize),"font-family":this.style.fontFamily,"font-weight":this.style.fontWeight,"font-style":this.style.fontStyle,"text-decoration":this.style.textDecoration,"text-align":"center",width:bi(this.style.width),"line-height":bi(this.style.textLineHeight)})+'" tabindex="0">\n <span aria-hidden="true">'+this.sums_.text+"</span>\n</div>\n"},e.prototype.getImageElementHtml=function(){var t=(this.style.backgroundPosition||"0 0").split(" "),e=parseInt(t[0].replace(/^\s+|\s+$/g,""),10),r=parseInt(t[1].replace(/^\s+|\s+$/g,""),10),n={};if(this.cluster_.getMarkerClusterer().getEnableRetinaIcons())n={width:bi(this.style.width),height:bi(this.style.height)};else{var i=[-1*r,-1*e+this.style.width,-1*r+this.style.height,-1*e];n={clip:"rect("+i[0]+"px, "+i[1]+"px, "+i[2]+"px, "+i[3]+"px)"}}var o=this.sums_.url?{width:"100%",height:"100%"}:{},s=yi(Xr(Xr({position:"absolute",top:bi(r),left:bi(e)},n),o));return'<img alt="'+this.sums_.text+'" aria-hidden="true" src="'+this.style.url+'" style="'+s+'"/>'},e.prototype.useStyle=function(t){this.sums_=t;var e=Math.max(0,t.index-1);e=Math.min(this.styles_.length-1,e),this.style=this.sums_.url?Xr(Xr({},this.styles_[e]),{url:this.sums_.url}):this.styles_[e],this.anchorText_=this.style.anchorText||[0,0],this.anchorIcon_=this.style.anchorIcon||[Math.floor(this.style.height/2),Math.floor(this.style.width/2)],this.className_=this.cluster_.getMarkerClusterer().getClusterClass()+" "+(this.style.className||"cluster-"+e)},e.prototype.setCenter=function(t){this.center_=t},e.prototype.createCss_=function(t){return yi({"z-index":""+this.cluster_.getMarkerClusterer().getZIndex(),top:bi(t.y),left:bi(t.x),width:bi(this.style.width),height:bi(this.style.height),cursor:"pointer",position:"absolute","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-o-user-select":"none","user-select":"none"})},e.prototype.getPosFromLatLng_=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x=Math.floor(e.x-this.anchorIcon_[1]),e.y=Math.floor(e.y-this.anchorIcon_[0]),e},e}(vi),Mi=function(){function t(t){this.markerClusterer_=t,this.map_=this.markerClusterer_.getMap(),this.minClusterSize_=this.markerClusterer_.getMinimumClusterSize(),this.averageCenter_=this.markerClusterer_.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new xi(this,this.markerClusterer_.getStyles())}return t.prototype.getSize=function(){return this.markers_.length},t.prototype.getMarkers=function(){return this.markers_},t.prototype.getCenter=function(){return this.center_},t.prototype.getMap=function(){return this.map_},t.prototype.getMarkerClusterer=function(){return this.markerClusterer_},t.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center_,this.center_),e=this.getMarkers(),r=0;r<e.length;r++)t.extend(e[r].getPosition());return t},t.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},t.prototype.addMarker=function(t){if(this.isMarkerAlreadyAdded_(t))return!1;if(this.center_){if(this.averageCenter_){var e=this.markers_.length+1,r=(this.center_.lat()*(e-1)+t.getPosition().lat())/e,n=(this.center_.lng()*(e-1)+t.getPosition().lng())/e;this.center_=new google.maps.LatLng(r,n),this.calculateBounds_()}}else this.center_=t.getPosition(),this.calculateBounds_();t.isAdded=!0,this.markers_.push(t);var i=this.markers_.length,o=this.markerClusterer_.getMaxZoom();if(null!==o&&this.map_.getZoom()>o)t.getMap()!==this.map_&&t.setMap(this.map_);else if(i<this.minClusterSize_)t.getMap()!==this.map_&&t.setMap(this.map_);else if(i===this.minClusterSize_)for(var s=0;s<i;s++)this.markers_[s].setMap(null);else t.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},t.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},t.prototype.updateIcon=function(){var t=this.markers_.length,e=this.markerClusterer_.getMaxZoom();if(null!==e&&this.map_.getZoom()>e)this.clusterIcon_.hide();else if(t<this.minClusterSize_)this.clusterIcon_.hide();else{var r=this.markerClusterer_.getStyles().length,n=this.markerClusterer_.getCalculator()(this.markers_,r);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(n),this.clusterIcon_.show()}},t.prototype.isMarkerAlreadyAdded_=function(t){if(this.markers_.indexOf)return-1!==this.markers_.indexOf(t);for(var e=0;e<this.markers_.length;e++)if(t===this.markers_[e])return!0;return!1},t}(),Si=function(t,e,r){return void 0!==t[e]?t[e]:r};return function(t){function e(r,n,i){void 0===n&&(n=[]),void 0===i&&(i={});var o=t.call(this)||this;return o.options=i,o.markers_=[],o.clusters_=[],o.listeners_=[],o.activeMap_=null,o.ready_=!1,o.ariaLabelFn=o.options.ariaLabelFn||function(){return""},o.zIndex_=o.options.zIndex||Number(google.maps.Marker.MAX_ZINDEX)+1,o.gridSize_=o.options.gridSize||60,o.minClusterSize_=o.options.minimumClusterSize||2,o.maxZoom_=o.options.maxZoom||null,o.styles_=o.options.styles||[],o.title_=o.options.title||"",o.zoomOnClick_=Si(o.options,"zoomOnClick",!0),o.averageCenter_=Si(o.options,"averageCenter",!1),o.ignoreHidden_=Si(o.options,"ignoreHidden",!1),o.enableRetinaIcons_=Si(o.options,"enableRetinaIcons",!1),o.imagePath_=o.options.imagePath||e.IMAGE_PATH,o.imageExtension_=o.options.imageExtension||e.IMAGE_EXTENSION,o.imageSizes_=o.options.imageSizes||e.IMAGE_SIZES,o.calculator_=o.options.calculator||e.CALCULATOR,o.batchSize_=o.options.batchSize||e.BATCH_SIZE,o.batchSizeIE_=o.options.batchSizeIE||e.BATCH_SIZE_IE,o.clusterClass_=o.options.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(o.batchSize_=o.batchSizeIE_),o.setupStyles_(),o.addMarkers(n,!0),o.setMap(r),o}return Ur(e,t),e.prototype.onAdd=function(){var t=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.prevZoom_=this.getMap().getZoom(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){var e=t.getMap(),r=e.minZoom||0,n=Math.min(e.maxZoom||100,e.mapTypes[e.getMapTypeId()].maxZoom),i=Math.min(Math.max(t.getMap().getZoom(),r),n);t.prevZoom_!=i&&(t.prevZoom_=i,t.resetViewport_(!1))})),google.maps.event.addListener(this.getMap(),"idle",(function(){t.redraw_()}))]},e.prototype.onRemove=function(){for(var t=0;t<this.markers_.length;t++)this.markers_[t].getMap()!==this.activeMap_&&this.markers_[t].setMap(this.activeMap_);for(t=0;t<this.clusters_.length;t++)this.clusters_[t].remove();this.clusters_=[];for(t=0;t<this.listeners_.length;t++)google.maps.event.removeListener(this.listeners_[t]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},e.prototype.draw=function(){},e.prototype.setupStyles_=function(){if(!(this.styles_.length>0))for(var t=0;t<this.imageSizes_.length;t++){var r=this.imageSizes_[t];this.styles_.push(e.withDefaultStyle({url:this.imagePath_+(t+1)+"."+this.imageExtension_,height:r,width:r}))}},e.prototype.fitMapToMarkers=function(t){for(var e=this.getMarkers(),r=new google.maps.LatLngBounds,n=0;n<e.length;n++)!e[n].getVisible()&&this.getIgnoreHidden()||r.extend(e[n].getPosition());this.getMap().fitBounds(r,t)},e.prototype.getGridSize=function(){return this.gridSize_},e.prototype.setGridSize=function(t){this.gridSize_=t},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},e.prototype.setMinimumClusterSize=function(t){this.minClusterSize_=t},e.prototype.getMaxZoom=function(){return this.maxZoom_},e.prototype.setMaxZoom=function(t){this.maxZoom_=t},e.prototype.getZIndex=function(){return this.zIndex_},e.prototype.setZIndex=function(t){this.zIndex_=t},e.prototype.getStyles=function(){return this.styles_},e.prototype.setStyles=function(t){this.styles_=t},e.prototype.getTitle=function(){return this.title_},e.prototype.setTitle=function(t){this.title_=t},e.prototype.getZoomOnClick=function(){return this.zoomOnClick_},e.prototype.setZoomOnClick=function(t){this.zoomOnClick_=t},e.prototype.getAverageCenter=function(){return this.averageCenter_},e.prototype.setAverageCenter=function(t){this.averageCenter_=t},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},e.prototype.setIgnoreHidden=function(t){this.ignoreHidden_=t},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},e.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons_=t},e.prototype.getImageExtension=function(){return this.imageExtension_},e.prototype.setImageExtension=function(t){this.imageExtension_=t},e.prototype.getImagePath=function(){return this.imagePath_},e.prototype.setImagePath=function(t){this.imagePath_=t},e.prototype.getImageSizes=function(){return this.imageSizes_},e.prototype.setImageSizes=function(t){this.imageSizes_=t},e.prototype.getCalculator=function(){return this.calculator_},e.prototype.setCalculator=function(t){this.calculator_=t},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},e.prototype.setBatchSizeIE=function(t){this.batchSizeIE_=t},e.prototype.getClusterClass=function(){return this.clusterClass_},e.prototype.setClusterClass=function(t){this.clusterClass_=t},e.prototype.getMarkers=function(){return this.markers_},e.prototype.getTotalMarkers=function(){return this.markers_.length},e.prototype.getClusters=function(){return this.clusters_},e.prototype.getTotalClusters=function(){return this.clusters_.length},e.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw_()},e.prototype.addMarkers=function(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.pushMarkerTo_(t[r]);e||this.redraw_()},e.prototype.pushMarkerTo_=function(t){var e=this;t.getDraggable()&&google.maps.event.addListener(t,"dragend",(function(){e.ready_&&(t.isAdded=!1,e.repaint())})),t.isAdded=!1,this.markers_.push(t)},e.prototype.removeMarker=function(t,e){var r=this.removeMarker_(t);return!e&&r&&this.repaint(),r},e.prototype.removeMarkers=function(t,e){for(var r=!1,n=0;n<t.length;n++){var i=this.removeMarker_(t[n]);r=r||i}return!e&&r&&this.repaint(),r},e.prototype.removeMarker_=function(t){var e=-1;if(this.markers_.indexOf)e=this.markers_.indexOf(t);else for(var r=0;r<this.markers_.length;r++)if(t===this.markers_[r]){e=r;break}return-1!==e&&(t.setMap(null),this.markers_.splice(e,1),!0)},e.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]},e.prototype.repaint=function(){var t=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout((function(){for(var e=0;e<t.length;e++)t[e].remove()}),0)},e.prototype.getExtendedBounds=function(t){var e=this.getProjection(),r=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),n=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),i=e.fromLatLngToDivPixel(r);i.x+=this.gridSize_,i.y-=this.gridSize_;var o=e.fromLatLngToDivPixel(n);o.x-=this.gridSize_,o.y+=this.gridSize_;var s=e.fromDivPixelToLatLng(i),a=e.fromDivPixelToLatLng(o);return t.extend(s),t.extend(a),t},e.prototype.redraw_=function(){this.createClusters_(0)},e.prototype.resetViewport_=function(t){for(var e=0;e<this.clusters_.length;e++)this.clusters_[e].remove();this.clusters_=[];for(e=0;e<this.markers_.length;e++){var r=this.markers_[e];r.isAdded=!1,t&&r.setMap(null)}},e.prototype.distanceBetweenPoints_=function(t,e){var r=(e.lat()-t.lat())*Math.PI/180,n=(e.lng()-t.lng())*Math.PI/180,i=Math.sin(r/2)*Math.sin(r/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(n/2)*Math.sin(n/2);return 6371*(2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i)))},e.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},e.prototype.addToClosestCluster_=function(t){for(var e=4e4,r=null,n=0;n<this.clusters_.length;n++){var i,o=(i=this.clusters_[n]).getCenter();if(o){var s=this.distanceBetweenPoints_(o,t.getPosition());s<e&&(e=s,r=i)}}r&&r.isMarkerInClusterBounds(t)?r.addMarker(t):((i=new Mi(this)).addMarker(t),this.clusters_.push(i))},e.prototype.createClusters_=function(t){var e=this;if(this.ready_){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var r=new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()),n=this.getExtendedBounds(r),i=Math.min(t+this.batchSize_,this.markers_.length),o=t;o<i;o++){var s=this.markers_[o];!s.isAdded&&this.isMarkerInBounds_(s,n)&&(!this.ignoreHidden_||this.ignoreHidden_&&s.getVisible())&&this.addToClosestCluster_(s)}if(i<this.markers_.length)this.timerRefStatic=window.setTimeout((function(){e.createClusters_(i)}),0);else{delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this);for(o=0;o<this.clusters_.length;o++)this.clusters_[o].updateIcon()}}},e.CALCULATOR=function(t,e){for(var r=0,n=t.length,i=n;0!==i;)i=Math.floor(i/10),r++;return r=Math.min(r,e),{text:n.toString(),index:r,title:""}},e.withDefaultStyle=function(t){return Xr({textColor:"black",textSize:11,textDecoration:"none",textLineHeight:t.height,fontWeight:"bold",fontStyle:"normal",fontFamily:"Arial,sans-serif",backgroundPosition:"0 0"},t)},e.BATCH_SIZE=2e3,e.BATCH_SIZE_IE=500,e.IMAGE_PATH="../images/m",e.IMAGE_EXTENSION="png",e.IMAGE_SIZES=[53,56,66,78,90],e}(vi)}(); | ||
var MarkerClusterer=function(){"use strict";var t=function(t){try{return!!t()}catch(t){return!0}},e=!t((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var i,o,s=function(t){return t&&t.Math==Math&&t},a=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof r&&r)||function(){return this}()||Function("return this")(),u=Function.prototype,c=u.bind,l=u.call,h=c&&c.bind(l),p=c?function(t){return t&&h(l,t)}:function(t){return t&&function(){return l.apply(t,arguments)}},f=function(t){return"function"==typeof t},g=/#|\.prototype\./,d=function(e,r){var n=m[_(e)];return n==y||n!=v&&(f(r)?t(r):!!r)},_=d.normalize=function(t){return String(t).replace(g,".").toLowerCase()},m=d.data={},v=d.NATIVE="N",y=d.POLYFILL="P",b=d,x=a.TypeError,M=function(t){if(null==t)throw x("Can't call method on "+t);return t},S=a.Object,I=function(t){return S(M(t))},k=p({}.hasOwnProperty),w=Object.hasOwn||function(t,e){return k(I(t),e)},C=function(t){return"object"==typeof t?null!==t:f(t)},E=a.document,O=C(E)&&C(E.createElement),P=function(t){return O?E.createElement(t):{}},T=!e&&!t((function(){return 7!=Object.defineProperty(P("div"),"a",{get:function(){return 7}}).a})),A=a.String,L=a.TypeError,j=function(t){if(C(t))return t;throw L(A(t)+" is not an object")},z=Function.prototype.call,R=z.bind?z.bind(z):function(){return z.apply(z,arguments)},N=function(t){return f(t)?t:void 0},B=function(t,e){return arguments.length<2?N(a[t]):a[t]&&a[t][e]},Z=p({}.isPrototypeOf),F=B("navigator","userAgent")||"",D=a.process,H=a.Deno,$=D&&D.versions||H&&H.version,G=$&&$.v8;G&&(o=(i=G.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&F&&(!(i=F.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=F.match(/Chrome\/(\d+)/))&&(o=+i[1]);var U=o,V=!!Object.getOwnPropertySymbols&&!t((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&U&&U<41})),W=V&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,X=a.Object,Y=W?function(t){return"symbol"==typeof t}:function(t){var e=B("Symbol");return f(e)&&Z(e.prototype,X(t))},q=a.String,K=function(t){try{return q(t)}catch(t){return"Object"}},J=a.TypeError,Q=function(t,e){var r=t[e];return null==r?void 0:function(t){if(f(t))return t;throw J(K(t)+" is not a function")}(r)},tt=a.TypeError,et=Object.defineProperty,rt=function(t,e){try{et(a,t,{value:e,configurable:!0,writable:!0})}catch(r){a[t]=e}return e},nt="__core-js_shared__",it=a[nt]||rt(nt,{}),ot=n((function(t){(t.exports=function(t,e){return it[t]||(it[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),st=0,at=Math.random(),ut=p(1..toString),ct=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ut(++st+at,36)},lt=ot("wks"),ht=a.Symbol,pt=ht&&ht.for,ft=W?ht:ht&&ht.withoutSetter||ct,gt=function(t){if(!w(lt,t)||!V&&"string"!=typeof lt[t]){var e="Symbol."+t;V&&w(ht,t)?lt[t]=ht[t]:lt[t]=W&&pt?pt(e):ft(e)}return lt[t]},dt=a.TypeError,_t=gt("toPrimitive"),mt=function(t,e){if(!C(t)||Y(t))return t;var r,n=Q(t,_t);if(n){if(void 0===e&&(e="default"),r=R(n,t,e),!C(r)||Y(r))return r;throw dt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&f(r=t.toString)&&!C(n=R(r,t)))return n;if(f(r=t.valueOf)&&!C(n=R(r,t)))return n;if("string"!==e&&f(r=t.toString)&&!C(n=R(r,t)))return n;throw tt("Can't convert object to primitive value")}(t,e)},vt=function(t){var e=mt(t,"string");return Y(e)?e:e+""},yt=a.TypeError,bt=Object.defineProperty,xt={f:e?bt:function(t,e,r){if(j(t),e=vt(e),j(r),T)try{return bt(t,e,r)}catch(t){}if("get"in r||"set"in r)throw yt("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Mt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},St=e?function(t,e,r){return xt.f(t,e,Mt(1,r))}:function(t,e,r){return t[e]=r,t},It=p(Function.toString);f(it.inspectSource)||(it.inspectSource=function(t){return It(t)});var kt,wt,Ct,Et=it.inspectSource,Ot=a.WeakMap,Pt=f(Ot)&&/native code/.test(Et(Ot)),Tt=ot("keys"),At=function(t){return Tt[t]||(Tt[t]=ct(t))},Lt={},jt="Object already initialized",zt=a.TypeError,Rt=a.WeakMap;if(Pt||it.state){var Nt=it.state||(it.state=new Rt),Bt=p(Nt.get),Zt=p(Nt.has),Ft=p(Nt.set);kt=function(t,e){if(Zt(Nt,t))throw new zt(jt);return e.facade=t,Ft(Nt,t,e),e},wt=function(t){return Bt(Nt,t)||{}},Ct=function(t){return Zt(Nt,t)}}else{var Dt=At("state");Lt[Dt]=!0,kt=function(t,e){if(w(t,Dt))throw new zt(jt);return e.facade=t,St(t,Dt,e),e},wt=function(t){return w(t,Dt)?t[Dt]:{}},Ct=function(t){return w(t,Dt)}}var Ht={set:kt,get:wt,has:Ct,enforce:function(t){return Ct(t)?wt(t):kt(t,{})},getterFor:function(t){return function(e){var r;if(!C(e)||(r=wt(e)).type!==t)throw zt("Incompatible receiver, "+t+" required");return r}}},$t=Function.prototype,Gt=e&&Object.getOwnPropertyDescriptor,Ut=w($t,"name"),Vt={EXISTS:Ut,PROPER:Ut&&"something"===function(){}.name,CONFIGURABLE:Ut&&(!e||e&&Gt($t,"name").configurable)},Wt=n((function(t){var e=Vt.CONFIGURABLE,r=Ht.get,n=Ht.enforce,i=String(String).split("String");(t.exports=function(t,r,o,s){var u,c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet,p=s&&void 0!==s.name?s.name:r;f(o)&&("Symbol("===String(p).slice(0,7)&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!w(o,"name")||e&&o.name!==p)&&St(o,"name",p),(u=n(o)).source||(u.source=i.join("string"==typeof p?p:""))),t!==a?(c?!h&&t[r]&&(l=!0):delete t[r],l?t[r]=o:St(t,r,o)):l?t[r]=o:rt(r,o)})(Function.prototype,"toString",(function(){return f(this)&&r(this).source||Et(this)}))})),Xt=a.String,Yt=a.TypeError,qt=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=p(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),function(t){if("object"==typeof t||f(t))return t;throw Yt("Can't set "+Xt(t)+" as a prototype")}(n),e?t(r,n):r.__proto__=n,r}}():void 0),Kt=function(t,e,r){var n,i;return qt&&f(n=e.constructor)&&n!==r&&C(i=n.prototype)&&i!==r.prototype&&qt(t,i),t},Jt=p({}.toString),Qt=p("".slice),te=function(t){return Qt(Jt(t),8,-1)},ee=a.Object,re=p("".split),ne=t((function(){return!ee("z").propertyIsEnumerable(0)}))?function(t){return"String"==te(t)?re(t,""):ee(t)}:ee,ie=function(t){return ne(M(t))},oe=Math.ceil,se=Math.floor,ae=function(t){var e=+t;return e!=e||0===e?0:(e>0?se:oe)(e)},ue=Math.max,ce=Math.min,le=function(t,e){var r=ae(t);return r<0?ue(r+e,0):ce(r,e)},he=Math.min,pe=function(t){return t>0?he(ae(t),9007199254740991):0},fe=function(t){return pe(t.length)},ge=function(t){return function(e,r,n){var i,o=ie(e),s=fe(o),a=le(n,s);if(t&&r!=r){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},de={includes:ge(!0),indexOf:ge(!1)}.indexOf,_e=p([].push),me=function(t,e){var r,n=ie(t),i=0,o=[];for(r in n)!w(Lt,r)&&w(n,r)&&_e(o,r);for(;e.length>i;)w(n,r=e[i++])&&(~de(o,r)||_e(o,r));return o},ve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=ve.concat("length","prototype"),be={f:Object.getOwnPropertyNames||function(t){return me(t,ye)}},xe={}.propertyIsEnumerable,Me=Object.getOwnPropertyDescriptor,Se={f:Me&&!xe.call({1:2},1)?function(t){var e=Me(this,t);return!!e&&e.enumerable}:xe},Ie=Object.getOwnPropertyDescriptor,ke={f:e?Ie:function(t,e){if(t=ie(t),e=vt(e),T)try{return Ie(t,e)}catch(t){}if(w(t,e))return Mt(!R(Se.f,t,e),t[e])}},we=p(1..valueOf),Ce={};Ce[gt("toStringTag")]="z";var Ee="[object z]"===String(Ce),Oe=gt("toStringTag"),Pe=a.Object,Te="Arguments"==te(function(){return arguments}()),Ae=Ee?te:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Pe(t),Oe))?r:Te?te(e):"Object"==(n=te(e))&&f(e.callee)?"Arguments":n},Le=a.String,je=function(t){if("Symbol"===Ae(t))throw TypeError("Cannot convert a Symbol value to a string");return Le(t)},ze=p("".replace),Re="[\t\n\v\f\r \u2028\u2029\ufeff]",Ne=RegExp("^"+Re+Re+"*"),Be=RegExp(Re+Re+"*$"),Ze=function(t){return function(e){var r=je(M(e));return 1&t&&(r=ze(r,Ne,"")),2&t&&(r=ze(r,Be,"")),r}},Fe={start:Ze(1),end:Ze(2),trim:Ze(3)},De=be.f,He=ke.f,$e=xt.f,Ge=Fe.trim,Ue="Number",Ve=a.Number,We=Ve.prototype,Xe=a.TypeError,Ye=p("".slice),qe=p("".charCodeAt),Ke=function(t){var e=mt(t,"number");return"bigint"==typeof e?e:Je(e)},Je=function(t){var e,r,n,i,o,s,a,u,c=mt(t,"number");if(Y(c))throw Xe("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Ge(c),43===(e=qe(c,0))||45===e){if(88===(r=qe(c,2))||120===r)return NaN}else if(48===e){switch(qe(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(s=(o=Ye(c,2)).length,a=0;a<s;a++)if((u=qe(o,a))<48||u>i)return NaN;return parseInt(o,n)}return+c};if(b(Ue,!Ve(" 0o1")||!Ve("0b1")||Ve("+0x1"))){for(var Qe,tr=function(e){var r=arguments.length<1?0:Ve(Ke(e)),n=this;return Z(We,n)&&t((function(){we(n)}))?Kt(Object(r),n,tr):r},er=e?De(Ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),rr=0;er.length>rr;rr++)w(Ve,Qe=er[rr])&&!w(tr,Qe)&&$e(tr,Qe,He(Ve,Qe));tr.prototype=We,We.constructor=tr,Wt(a,Ue,tr)}var nr={f:Object.getOwnPropertySymbols},ir=p([].concat),or=B("Reflect","ownKeys")||function(t){var e=be.f(j(t)),r=nr.f;return r?ir(e,r(t)):e},sr=function(t,e){for(var r=or(e),n=xt.f,i=ke.f,o=0;o<r.length;o++){var s=r[o];w(t,s)||n(t,s,i(e,s))}},ar=ke.f,ur=function(t,e){var r,n,i,o,s,u=t.target,c=t.global,l=t.stat;if(r=c?a:l?a[u]||rt(u,{}):(a[u]||{}).prototype)for(n in e){if(o=e[n],i=t.noTargetGet?(s=ar(r,n))&&s.value:r[n],!b(c?n:u+(l?".":"#")+n,t.forced)&&void 0!==i){if(typeof o==typeof i)continue;sr(o,i)}(t.sham||i&&i.sham)&&St(o,"sham",!0),Wt(r,n,o,t)}},cr=Array.isArray||function(t){return"Array"==te(t)},lr=function(){},hr=[],pr=B("Reflect","construct"),fr=/^\s*(?:class|function)\b/,gr=p(fr.exec),dr=!fr.exec(lr),_r=function(t){if(!f(t))return!1;try{return pr(lr,hr,t),!0}catch(t){return!1}},mr=!pr||t((function(){var t;return _r(_r.call)||!_r(Object)||!_r((function(){t=!0}))||t}))?function(t){if(!f(t))return!1;switch(Ae(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return dr||!!gr(fr,Et(t))}:_r,vr=gt("species"),yr=a.Array,br=function(t,e){return new(function(t){var e;return cr(t)&&(e=t.constructor,(mr(e)&&(e===yr||cr(e.prototype))||C(e)&&null===(e=e[vr]))&&(e=void 0)),void 0===e?yr:e}(t))(0===e?0:e)},xr=function(t,e,r){var n=vt(e);n in t?xt.f(t,n,Mt(0,r)):t[n]=r},Mr=gt("species"),Sr=function(e){return U>=51||!t((function(){var t=[];return(t.constructor={})[Mr]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ir=Sr("splice"),kr=a.TypeError,wr=Math.max,Cr=Math.min,Er=9007199254740991,Or="Maximum allowed length exceeded";ur({target:"Array",proto:!0,forced:!Ir},{splice:function(t,e){var r,n,i,o,s,a,u=I(this),c=fe(u),l=le(t,c),h=arguments.length;if(0===h?r=n=0:1===h?(r=0,n=c-l):(r=h-2,n=Cr(wr(ae(e),0),c-l)),c+r-n>Er)throw kr(Or);for(i=br(u,n),o=0;o<n;o++)(s=l+o)in u&&xr(i,o,u[s]);if(i.length=n,r<n){for(o=l;o<c-n;o++)a=o+r,(s=o+n)in u?u[a]=u[s]:delete u[a];for(o=c;o>c-n+r;o--)delete u[o-1]}else if(r>n)for(o=c-n;o>l;o--)a=o+r-1,(s=o+n-1)in u?u[a]=u[s]:delete u[a];for(o=0;o<r;o++)u[o+l]=arguments[o+2];return u.length=c-n+r,i}});var Pr=p([].slice),Tr=Sr("slice"),Ar=gt("species"),Lr=a.Array,jr=Math.max;ur({target:"Array",proto:!0,forced:!Tr},{slice:function(t,e){var r,n,i,o=ie(this),s=fe(o),a=le(t,s),u=le(void 0===e?s:e,s);if(cr(o)&&(r=o.constructor,(mr(r)&&(r===Lr||cr(r.prototype))||C(r)&&null===(r=r[Ar]))&&(r=void 0),r===Lr||void 0===r))return Pr(o,a,u);for(n=new(void 0===r?Lr:r)(jr(u-a,0)),i=0;a<u;a++,i++)a in o&&xr(n,i,o[a]);return n.length=i,n}});var zr=Ee?{}.toString:function(){return"[object "+Ae(this)+"]"};Ee||Wt(Object.prototype,"toString",zr,{unsafe:!0});var Rr=function(){var t=j(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Nr=Vt.PROPER,Br="toString",Zr=RegExp.prototype,Fr=Zr.toString,Dr=p(Rr),Hr=t((function(){return"/a/b"!=Fr.call({source:"a",flags:"b"})})),$r=Nr&&Fr.name!=Br;(Hr||$r)&&Wt(RegExp.prototype,Br,(function(){var t=j(this),e=je(t.source),r=t.flags;return"/"+e+"/"+je(void 0===r&&Z(Zr,t)&&!("flags"in Zr)?Dr(t):r)}),{unsafe:!0});var Gr=function(t,e){return(Gr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function Ur(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Gr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var Vr,Wr,Xr=function(){return(Xr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},Yr=p([].join),qr=ne!=Object,Kr=(Vr=",",!!(Wr=[]["join"])&&t((function(){Wr.call(null,Vr||function(){throw 1},1)})));ur({target:"Array",proto:!0,forced:qr||!Kr},{join:function(t){return Yr(ie(this),void 0===t?",":t)}});var Jr=Object.keys||function(t){return me(t,ve)};ur({target:"Object",stat:!0,forced:t((function(){Jr(1)}))},{keys:function(t){return Jr(I(t))}});var Qr,tn=a.RegExp,en={UNSUPPORTED_Y:t((function(){var t=tn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:t((function(){var t=tn("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},rn=e?Object.defineProperties:function(t,e){j(t);for(var r,n=ie(e),i=Jr(e),o=i.length,s=0;o>s;)xt.f(t,r=i[s++],n[r]);return t},nn=B("document","documentElement"),on=At("IE_PROTO"),sn=function(){},an=function(t){return"<script>"+t+"</"+"script>"},un=function(t){t.write(an("")),t.close();var e=t.parentWindow.Object;return t=null,e},cn=function(){try{Qr=new ActiveXObject("htmlfile")}catch(t){}var t,e;cn="undefined"!=typeof document?document.domain&&Qr?un(Qr):((e=P("iframe")).style.display="none",nn.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(an("document.F=Object")),t.close(),t.F):un(Qr);for(var r=ve.length;r--;)delete cn.prototype[ve[r]];return cn()};Lt[on]=!0;var ln,hn,pn=Object.create||function(t,e){var r;return null!==t?(sn.prototype=j(t),r=new sn,sn.prototype=null,r[on]=t):r=cn(),void 0===e?r:rn(r,e)},fn=a.RegExp,gn=t((function(){var t=fn(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),dn=a.RegExp,_n=t((function(){var t=dn("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),mn=Ht.get,vn=ot("native-string-replace",String.prototype.replace),yn=RegExp.prototype.exec,bn=yn,xn=p("".charAt),Mn=p("".indexOf),Sn=p("".replace),In=p("".slice),kn=(hn=/b*/g,R(yn,ln=/a/,"a"),R(yn,hn,"a"),0!==ln.lastIndex||0!==hn.lastIndex),wn=en.UNSUPPORTED_Y||en.BROKEN_CARET,Cn=void 0!==/()??/.exec("")[1];(kn||Cn||wn||gn||_n)&&(bn=function(t){var e,r,n,i,o,s,a,u=this,c=mn(u),l=je(t),h=c.raw;if(h)return h.lastIndex=u.lastIndex,e=R(bn,h,l),u.lastIndex=h.lastIndex,e;var p=c.groups,f=wn&&u.sticky,g=R(Rr,u),d=u.source,_=0,m=l;if(f&&(g=Sn(g,"y",""),-1===Mn(g,"g")&&(g+="g"),m=In(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==xn(l,u.lastIndex-1))&&(d="(?: "+d+")",m=" "+m,_++),r=new RegExp("^(?:"+d+")",g)),Cn&&(r=new RegExp("^"+d+"$(?!\\s)",g)),kn&&(n=u.lastIndex),i=R(yn,f?r:u,m),f?i?(i.input=In(i.input,_),i[0]=In(i[0],_),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:kn&&i&&(u.lastIndex=u.global?i.index+i[0].length:n),Cn&&i&&i.length>1&&R(vn,i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&p)for(i.groups=s=pn(null),o=0;o<p.length;o++)s[(a=p[o])[0]]=i[a[1]];return i});var En=bn;ur({target:"RegExp",proto:!0,forced:/./.exec!==En},{exec:En});var On=Function.prototype,Pn=On.apply,Tn=On.bind,An=On.call,Ln="object"==typeof Reflect&&Reflect.apply||(Tn?An.bind(Pn):function(){return An.apply(Pn,arguments)}),jn=gt("species"),zn=RegExp.prototype,Rn=function(e,r,n,i){var o=gt(e),s=!t((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=s&&!t((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[jn]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!s||!a||n){var u=p(/./[o]),c=r(o,""[e],(function(t,e,r,n,i){var o=p(t),a=e.exec;return a===En||a===zn.exec?s&&!i?{done:!0,value:u(e,r,n)}:{done:!0,value:o(r,e,n)}:{done:!1}}));Wt(String.prototype,e,c[0]),Wt(zn,o,c[1])}i&&St(zn[o],"sham",!0)},Nn=gt("match"),Bn=a.TypeError,Zn=gt("species"),Fn=function(t,e){var r,n=j(t).constructor;return void 0===n||null==(r=j(n)[Zn])?e:function(t){if(mr(t))return t;throw Bn(K(t)+" is not a constructor")}(r)},Dn=p("".charAt),Hn=p("".charCodeAt),$n=p("".slice),Gn=function(t){return function(e,r){var n,i,o=je(M(e)),s=ae(r),a=o.length;return s<0||s>=a?t?"":void 0:(n=Hn(o,s))<55296||n>56319||s+1===a||(i=Hn(o,s+1))<56320||i>57343?t?Dn(o,s):n:t?$n(o,s,s+2):i-56320+(n-55296<<10)+65536}},Un={codeAt:Gn(!1),charAt:Gn(!0)}.charAt,Vn=function(t,e,r){return e+(r?Un(t,e).length:1)},Wn=a.TypeError,Xn=function(t,e){var r=t.exec;if(f(r)){var n=R(r,t,e);return null!==n&&j(n),n}if("RegExp"===te(t))return R(En,t,e);throw Wn("RegExp#exec called on incompatible receiver")},Yn=en.UNSUPPORTED_Y,qn=4294967295,Kn=Math.min,Jn=[].push,Qn=p(/./.exec),ti=p(Jn),ei=p("".slice);Rn("split",(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n,i,o=je(M(this)),s=void 0===r?qn:r>>>0;if(0===s)return[];if(void 0===t)return[o];if(!C(n=t)||!(void 0!==(i=n[Nn])?i:"RegExp"==te(n)))return R(e,o,t,s);for(var a,u,c,l=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,f=new RegExp(t.source,h+"g");(a=R(En,f,o))&&!((u=f.lastIndex)>p&&(ti(l,ei(o,p,a.index)),a.length>1&&a.index<o.length&&Ln(Jn,l,Pr(a,1)),c=a[0].length,p=u,l.length>=s));)f.lastIndex===a.index&&f.lastIndex++;return p===o.length?!c&&Qn(f,"")||ti(l,""):ti(l,ei(o,p)),l.length>s?Pr(l,0,s):l}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:R(e,this,t,r)}:e,[function(e,r){var i=M(this),o=null==e?void 0:Q(e,t);return o?R(o,e,i,r):R(n,je(i),e,r)},function(t,i){var o=j(this),s=je(t),a=r(n,o,s,i,n!==e);if(a.done)return a.value;var u=Fn(o,RegExp),c=o.unicode,l=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Yn?"g":"y"),h=new u(Yn?"^(?:"+o.source+")":o,l),p=void 0===i?qn:i>>>0;if(0===p)return[];if(0===s.length)return null===Xn(h,s)?[s]:[];for(var f=0,g=0,d=[];g<s.length;){h.lastIndex=Yn?0:g;var _,m=Xn(h,Yn?ei(s,g):s);if(null===m||(_=Kn(pe(h.lastIndex+(Yn?g:0)),s.length))===f)g=Vn(s,g,c);else{if(ti(d,ei(s,f,g)),d.length===p)return d;for(var v=1;v<=m.length-1;v++)if(ti(d,m[v]),d.length===p)return d;g=f=_}}return ti(d,ei(s,f)),d}]}),!!t((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),Yn);var ri=Math.floor,ni=p("".charAt),ii=p("".replace),oi=p("".slice),si=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ai=/\$([$&'`]|\d{1,2})/g,ui=function(t,e,r,n,i,o){var s=r+t.length,a=n.length,u=ai;return void 0!==i&&(i=I(i),u=si),ii(o,u,(function(o,u){var c;switch(ni(u,0)){case"$":return"$";case"&":return t;case"`":return oi(e,0,r);case"'":return oi(e,s);case"<":c=i[oi(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>a){var h=ri(l/10);return 0===h?o:h<=a?void 0===n[h-1]?ni(u,1):n[h-1]+ni(u,1):o}c=n[l-1]}return void 0===c?"":c}))},ci=gt("replace"),li=Math.max,hi=Math.min,pi=p([].concat),fi=p([].push),gi=p("".indexOf),di=p("".slice),_i="$0"==="a".replace(/./,"$0"),mi=!!/./[ci]&&""===/./[ci]("a","$0");Rn("replace",(function(t,e,r){var n=mi?"$":"$0";return[function(t,r){var n=M(this),i=null==t?void 0:Q(t,ci);return i?R(i,t,n,r):R(e,je(n),t,r)},function(t,i){var o=j(this),s=je(t);if("string"==typeof i&&-1===gi(i,n)&&-1===gi(i,"$<")){var a=r(e,o,s,i);if(a.done)return a.value}var u=f(i);u||(i=je(i));var c=o.global;if(c){var l=o.unicode;o.lastIndex=0}for(var h=[];;){var p=Xn(o,s);if(null===p)break;if(fi(h,p),!c)break;""===je(p[0])&&(o.lastIndex=Vn(s,pe(o.lastIndex),l))}for(var g,d="",_=0,m=0;m<h.length;m++){for(var v=je((p=h[m])[0]),y=li(hi(ae(p.index),s.length),0),b=[],x=1;x<p.length;x++)fi(b,void 0===(g=p[x])?g:String(g));var M=p.groups;if(u){var S=pi([v],b,y,s);void 0!==M&&fi(S,M);var I=je(Ln(i,void 0,S))}else I=ui(v,s,y,b,M,i);y>=_&&(d+=di(s,_,y)+I,_=y+v.length)}return d+di(s,_)}]}),!!t((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!_i||mi);var vi=function t(){!function(t,e){for(var r in e.prototype)t.prototype[r]=e.prototype[r]}(t,google.maps.OverlayView)};function yi(t){return Object.keys(t).reduce((function(e,r){return t[r]&&e.push(r+":"+t[r]),e}),[]).join(";")}function bi(t){return t?t+"px":void 0}var xi=function(t){function e(e,r){var n=t.call(this)||this;return n.cluster_=e,n.styles_=r,n.center_=null,n.div_=null,n.sums_=null,n.visible_=!1,n.style=null,n.setMap(e.getMap()),n}return Ur(e,t),e.prototype.onAdd=function(){var t,e,r=this,n=this.cluster_.getMarkerClusterer(),i=google.maps.version.split("."),o=i[0],s=i[1],a=100*parseInt(o,10)+parseInt(s,10);this.div_=document.createElement("div"),this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",(function(){e=t})),google.maps.event.addDomListener(this.div_,"mousedown",(function(){t=!0,e=!1})),google.maps.event.addDomListener(this.div_,"contextmenu",(function(){google.maps.event.trigger(n,"contextmenu",r.cluster_)})),a>=332&&google.maps.event.addDomListener(this.div_,"touchstart",(function(t){t.stopPropagation()})),google.maps.event.addDomListener(this.div_,"click",(function(i){if(t=!1,!e){if(google.maps.event.trigger(n,"click",r.cluster_),google.maps.event.trigger(n,"clusterclick",r.cluster_),n.getZoomOnClick()){var o=n.getMaxZoom(),s=r.cluster_.getBounds();n.getMap().fitBounds(s),setTimeout((function(){n.getMap().fitBounds(s),null!==o&&n.getMap().getZoom()>o&&n.getMap().setZoom(o+1)}),100)}i.cancelBubble=!0,i.stopPropagation&&i.stopPropagation()}})),google.maps.event.addDomListener(this.div_,"mouseover",(function(){google.maps.event.trigger(n,"mouseover",r.cluster_)})),google.maps.event.addDomListener(this.div_,"mouseout",(function(){google.maps.event.trigger(n,"mouseout",r.cluster_)}))},e.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},e.prototype.draw=function(){if(this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px"}},e.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},e.prototype.show=function(){this.div_&&(this.div_.className=this.className_,this.div_.style.cssText=this.createCss_(this.getPosFromLatLng_(this.center_)),this.div_.innerHTML=(this.style.url?this.getImageElementHtml():"")+this.getLabelDivHtml(),void 0===this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""),this.visible_=!0},e.prototype.getLabelDivHtml=function(){return'\n<div aria-label="'+this.cluster_.getMarkerClusterer().ariaLabelFn(this.sums_.text)+'" style="'+yi({position:"absolute",top:bi(this.anchorText_[0]),left:bi(this.anchorText_[1]),color:this.style.textColor,"font-size":bi(this.style.textSize),"font-family":this.style.fontFamily,"font-weight":this.style.fontWeight,"font-style":this.style.fontStyle,"text-decoration":this.style.textDecoration,"text-align":"center",width:bi(this.style.width),"line-height":bi(this.style.textLineHeight)})+'" tabindex="0">\n <span aria-hidden="true">'+this.sums_.text+"</span>\n</div>\n"},e.prototype.getImageElementHtml=function(){var t=(this.style.backgroundPosition||"0 0").split(" "),e=parseInt(t[0].replace(/^\s+|\s+$/g,""),10),r=parseInt(t[1].replace(/^\s+|\s+$/g,""),10),n={};if(this.cluster_.getMarkerClusterer().getEnableRetinaIcons())n={width:bi(this.style.width),height:bi(this.style.height)};else{var i=[-1*r,-1*e+this.style.width,-1*r+this.style.height,-1*e];n={clip:"rect("+i[0]+"px, "+i[1]+"px, "+i[2]+"px, "+i[3]+"px)"}}var o=this.sums_.url?{width:"100%",height:"100%"}:{},s=yi(Xr(Xr({position:"absolute",top:bi(r),left:bi(e)},n),o));return'<img alt="'+this.sums_.text+'" aria-hidden="true" src="'+this.style.url+'" style="'+s+'"/>'},e.prototype.useStyle=function(t){this.sums_=t;var e=Math.max(0,t.index-1);e=Math.min(this.styles_.length-1,e),this.style=this.sums_.url?Xr(Xr({},this.styles_[e]),{url:this.sums_.url}):this.styles_[e],this.anchorText_=this.style.anchorText||[0,0],this.anchorIcon_=this.style.anchorIcon||[Math.floor(this.style.height/2),Math.floor(this.style.width/2)],this.className_=this.cluster_.getMarkerClusterer().getClusterClass()+" "+(this.style.className||"cluster-"+e)},e.prototype.setCenter=function(t){this.center_=t},e.prototype.createCss_=function(t){return yi({"z-index":""+this.cluster_.getMarkerClusterer().getZIndex(),top:bi(t.y),left:bi(t.x),width:bi(this.style.width),height:bi(this.style.height),cursor:"pointer",position:"absolute","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-o-user-select":"none","user-select":"none"})},e.prototype.getPosFromLatLng_=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x=Math.floor(e.x-this.anchorIcon_[1]),e.y=Math.floor(e.y-this.anchorIcon_[0]),e},e}(vi),Mi=function(){function t(t){this.markerClusterer_=t,this.map_=this.markerClusterer_.getMap(),this.minClusterSize_=this.markerClusterer_.getMinimumClusterSize(),this.averageCenter_=this.markerClusterer_.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new xi(this,this.markerClusterer_.getStyles())}return t.prototype.getSize=function(){return this.markers_.length},t.prototype.getMarkers=function(){return this.markers_},t.prototype.getCenter=function(){return this.center_},t.prototype.getMap=function(){return this.map_},t.prototype.getMarkerClusterer=function(){return this.markerClusterer_},t.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center_,this.center_),e=this.getMarkers(),r=0;r<e.length;r++)t.extend(e[r].getPosition());return t},t.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},t.prototype.addMarker=function(t){if(this.isMarkerAlreadyAdded_(t))return!1;if(this.center_){if(this.averageCenter_){var e=this.markers_.length+1,r=(this.center_.lat()*(e-1)+t.getPosition().lat())/e,n=(this.center_.lng()*(e-1)+t.getPosition().lng())/e;this.center_=new google.maps.LatLng(r,n),this.calculateBounds_()}}else this.center_=t.getPosition(),this.calculateBounds_();t.isAdded=!0,this.markers_.push(t);var i=this.markers_.length,o=this.markerClusterer_.getMaxZoom();if(null!==o&&this.map_.getZoom()>o)t.getMap()!==this.map_&&t.setMap(this.map_);else if(i<this.minClusterSize_)t.getMap()!==this.map_&&t.setMap(this.map_);else if(i===this.minClusterSize_)for(var s=0;s<i;s++)this.markers_[s].setMap(null);else t.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},t.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},t.prototype.updateIcon=function(){var t=this.markers_.length,e=this.markerClusterer_.getMaxZoom();if(null!==e&&this.map_.getZoom()>e)this.clusterIcon_.hide();else if(t<this.minClusterSize_)this.clusterIcon_.hide();else{var r=this.markerClusterer_.getStyles().length,n=this.markerClusterer_.getCalculator()(this.markers_,r);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(n),this.clusterIcon_.show()}},t.prototype.isMarkerAlreadyAdded_=function(t){if(this.markers_.indexOf)return-1!==this.markers_.indexOf(t);for(var e=0;e<this.markers_.length;e++)if(t===this.markers_[e])return!0;return!1},t}(),Si=function(t,e,r){return void 0!==t[e]?t[e]:r};return function(t){function e(r,n,i){void 0===n&&(n=[]),void 0===i&&(i={});var o=t.call(this)||this;return o.options=i,o.markers_=[],o.clusters_=[],o.listeners_=[],o.activeMap_=null,o.ready_=!1,o.ariaLabelFn=o.options.ariaLabelFn||function(){return""},o.zIndex_=o.options.zIndex||Number(google.maps.Marker.MAX_ZINDEX)+1,o.gridSize_=o.options.gridSize||60,o.minClusterSize_=o.options.minimumClusterSize||2,o.maxZoom_=o.options.maxZoom||null,o.styles_=o.options.styles||[],o.title_=o.options.title||"",o.zoomOnClick_=Si(o.options,"zoomOnClick",!0),o.averageCenter_=Si(o.options,"averageCenter",!1),o.ignoreHidden_=Si(o.options,"ignoreHidden",!1),o.enableRetinaIcons_=Si(o.options,"enableRetinaIcons",!1),o.imagePath_=o.options.imagePath||e.IMAGE_PATH,o.imageExtension_=o.options.imageExtension||e.IMAGE_EXTENSION,o.imageSizes_=o.options.imageSizes||e.IMAGE_SIZES,o.calculator_=o.options.calculator||e.CALCULATOR,o.batchSize_=o.options.batchSize||e.BATCH_SIZE,o.batchSizeIE_=o.options.batchSizeIE||e.BATCH_SIZE_IE,o.clusterClass_=o.options.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(o.batchSize_=o.batchSizeIE_),o.setupStyles_(),o.addMarkers(n,!0),o.setMap(r),o}return Ur(e,t),e.prototype.onAdd=function(){var t=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.prevZoom_=this.getMap().getZoom(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){var e=t.getMap(),r=e.minZoom||0,n=Math.min(e.maxZoom||100,e.mapTypes[e.getMapTypeId()].maxZoom),i=Math.min(Math.max(t.getMap().getZoom(),r),n);t.prevZoom_!=i&&(t.prevZoom_=i,t.resetViewport_(!1))})),google.maps.event.addListener(this.getMap(),"idle",(function(){t.redraw_()}))]},e.prototype.onRemove=function(){for(var t=0;t<this.markers_.length;t++)this.markers_[t].getMap()!==this.activeMap_&&this.markers_[t].setMap(this.activeMap_);for(t=0;t<this.clusters_.length;t++)this.clusters_[t].remove();this.clusters_=[];for(t=0;t<this.listeners_.length;t++)google.maps.event.removeListener(this.listeners_[t]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},e.prototype.draw=function(){},e.prototype.setupStyles_=function(){if(!(this.styles_.length>0))for(var t=0;t<this.imageSizes_.length;t++){var r=this.imageSizes_[t];this.styles_.push(e.withDefaultStyle({url:this.imagePath_+(t+1)+"."+this.imageExtension_,height:r,width:r}))}},e.prototype.fitMapToMarkers=function(t){for(var e=this.getMarkers(),r=new google.maps.LatLngBounds,n=0;n<e.length;n++)!e[n].getVisible()&&this.getIgnoreHidden()||r.extend(e[n].getPosition());this.getMap().fitBounds(r,t)},e.prototype.getGridSize=function(){return this.gridSize_},e.prototype.setGridSize=function(t){this.gridSize_=t},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},e.prototype.setMinimumClusterSize=function(t){this.minClusterSize_=t},e.prototype.getMaxZoom=function(){return this.maxZoom_},e.prototype.setMaxZoom=function(t){this.maxZoom_=t},e.prototype.getZIndex=function(){return this.zIndex_},e.prototype.setZIndex=function(t){this.zIndex_=t},e.prototype.getStyles=function(){return this.styles_},e.prototype.setStyles=function(t){this.styles_=t},e.prototype.getTitle=function(){return this.title_},e.prototype.setTitle=function(t){this.title_=t},e.prototype.getZoomOnClick=function(){return this.zoomOnClick_},e.prototype.setZoomOnClick=function(t){this.zoomOnClick_=t},e.prototype.getAverageCenter=function(){return this.averageCenter_},e.prototype.setAverageCenter=function(t){this.averageCenter_=t},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},e.prototype.setIgnoreHidden=function(t){this.ignoreHidden_=t},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},e.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons_=t},e.prototype.getImageExtension=function(){return this.imageExtension_},e.prototype.setImageExtension=function(t){this.imageExtension_=t},e.prototype.getImagePath=function(){return this.imagePath_},e.prototype.setImagePath=function(t){this.imagePath_=t},e.prototype.getImageSizes=function(){return this.imageSizes_},e.prototype.setImageSizes=function(t){this.imageSizes_=t},e.prototype.getCalculator=function(){return this.calculator_},e.prototype.setCalculator=function(t){this.calculator_=t},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},e.prototype.setBatchSizeIE=function(t){this.batchSizeIE_=t},e.prototype.getClusterClass=function(){return this.clusterClass_},e.prototype.setClusterClass=function(t){this.clusterClass_=t},e.prototype.getMarkers=function(){return this.markers_},e.prototype.getTotalMarkers=function(){return this.markers_.length},e.prototype.getClusters=function(){return this.clusters_},e.prototype.getTotalClusters=function(){return this.clusters_.length},e.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw_()},e.prototype.addMarkers=function(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.pushMarkerTo_(t[r]);e||this.redraw_()},e.prototype.pushMarkerTo_=function(t){var e=this;t.getDraggable()&&google.maps.event.addListener(t,"dragend",(function(){e.ready_&&(t.isAdded=!1,e.repaint())})),t.isAdded=!1,this.markers_.push(t)},e.prototype.removeMarker=function(t,e){var r=this.removeMarker_(t);return!e&&r&&this.repaint(),r},e.prototype.removeMarkers=function(t,e){for(var r=!1,n=0;n<t.length;n++){var i=this.removeMarker_(t[n]);r=r||i}return!e&&r&&this.repaint(),r},e.prototype.removeMarker_=function(t){var e=-1;if(this.markers_.indexOf)e=this.markers_.indexOf(t);else for(var r=0;r<this.markers_.length;r++)if(t===this.markers_[r]){e=r;break}return-1!==e&&(t.setMap(null),this.markers_.splice(e,1),!0)},e.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]},e.prototype.repaint=function(){var t=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout((function(){for(var e=0;e<t.length;e++)t[e].remove()}),0)},e.prototype.getExtendedBounds=function(t){var e=this.getProjection(),r=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),n=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),i=e.fromLatLngToDivPixel(r);i.x+=this.gridSize_,i.y-=this.gridSize_;var o=e.fromLatLngToDivPixel(n);o.x-=this.gridSize_,o.y+=this.gridSize_;var s=e.fromDivPixelToLatLng(i),a=e.fromDivPixelToLatLng(o);return t.extend(s),t.extend(a),t},e.prototype.redraw_=function(){this.createClusters_(0)},e.prototype.resetViewport_=function(t){for(var e=0;e<this.clusters_.length;e++)this.clusters_[e].remove();this.clusters_=[];for(e=0;e<this.markers_.length;e++){var r=this.markers_[e];r.isAdded=!1,t&&r.setMap(null)}},e.prototype.distanceBetweenPoints_=function(t,e){var r=(e.lat()-t.lat())*Math.PI/180,n=(e.lng()-t.lng())*Math.PI/180,i=Math.sin(r/2)*Math.sin(r/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(n/2)*Math.sin(n/2);return 6371*(2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i)))},e.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},e.prototype.addToClosestCluster_=function(t){for(var e=4e4,r=null,n=0;n<this.clusters_.length;n++){var i,o=(i=this.clusters_[n]).getCenter();if(o){var s=this.distanceBetweenPoints_(o,t.getPosition());s<e&&(e=s,r=i)}}r&&r.isMarkerInClusterBounds(t)?r.addMarker(t):((i=new Mi(this)).addMarker(t),this.clusters_.push(i))},e.prototype.createClusters_=function(t){var e=this;if(this.ready_){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var r=new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()),n=this.getExtendedBounds(r),i=Math.min(t+this.batchSize_,this.markers_.length),o=t;o<i;o++){var s=this.markers_[o];!s.isAdded&&this.isMarkerInBounds_(s,n)&&(!this.ignoreHidden_||this.ignoreHidden_&&s.getVisible())&&this.addToClosestCluster_(s)}if(i<this.markers_.length)this.timerRefStatic=window.setTimeout((function(){e.createClusters_(i)}),0);else{delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this);for(o=0;o<this.clusters_.length;o++)this.clusters_[o].updateIcon()}}},e.CALCULATOR=function(t,e){for(var r=0,n=t.length,i=n;0!==i;)i=Math.floor(i/10),r++;return r=Math.min(r,e),{text:n.toString(),index:r,title:""}},e.withDefaultStyle=function(t){return Xr({textColor:"black",textSize:11,textDecoration:"none",textLineHeight:t.height,fontWeight:"bold",fontStyle:"normal",fontFamily:"Arial,sans-serif",backgroundPosition:"0 0"},t)},e.BATCH_SIZE=2e3,e.BATCH_SIZE_IE=500,e.IMAGE_PATH="../images/m",e.IMAGE_EXTENSION="png",e.IMAGE_SIZES=[53,56,66,78,90],e}(vi)}(); | ||
//# sourceMappingURL=index.min.js.map |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).MarkerClusterer=e()}(this,(function(){"use strict";var t=function(t){try{return!!t()}catch(t){return!0}},e=!t((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var i,o,s=function(t){return t&&t.Math==Math&&t},a=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof r&&r)||function(){return this}()||Function("return this")(),u=Function.prototype,c=u.bind,l=u.call,h=c&&c.bind(l),p=c?function(t){return t&&h(l,t)}:function(t){return t&&function(){return l.apply(t,arguments)}},f=function(t){return"function"==typeof t},g=/#|\.prototype\./,d=function(e,r){var n=_[m(e)];return n==y||n!=v&&(f(r)?t(r):!!r)},m=d.normalize=function(t){return String(t).replace(g,".").toLowerCase()},_=d.data={},v=d.NATIVE="N",y=d.POLYFILL="P",b=d,x=a.TypeError,M=function(t){if(null==t)throw x("Can't call method on "+t);return t},S=a.Object,I=function(t){return S(M(t))},k=p({}.hasOwnProperty),w=Object.hasOwn||function(t,e){return k(I(t),e)},C=function(t){return"object"==typeof t?null!==t:f(t)},E=a.document,O=C(E)&&C(E.createElement),P=function(t){return O?E.createElement(t):{}},T=!e&&!t((function(){return 7!=Object.defineProperty(P("div"),"a",{get:function(){return 7}}).a})),A=a.String,L=a.TypeError,j=function(t){if(C(t))return t;throw L(A(t)+" is not an object")},z=Function.prototype.call,R=z.bind?z.bind(z):function(){return z.apply(z,arguments)},N=function(t){return f(t)?t:void 0},B=function(t,e){return arguments.length<2?N(a[t]):a[t]&&a[t][e]},Z=p({}.isPrototypeOf),F=B("navigator","userAgent")||"",D=a.process,H=a.Deno,$=D&&D.versions||H&&H.version,G=$&&$.v8;G&&(o=(i=G.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&F&&(!(i=F.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=F.match(/Chrome\/(\d+)/))&&(o=+i[1]);var U=o,V=!!Object.getOwnPropertySymbols&&!t((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&U&&U<41})),W=V&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,X=a.Object,Y=W?function(t){return"symbol"==typeof t}:function(t){var e=B("Symbol");return f(e)&&Z(e.prototype,X(t))},q=a.String,K=function(t){try{return q(t)}catch(t){return"Object"}},J=a.TypeError,Q=function(t,e){var r=t[e];return null==r?void 0:function(t){if(f(t))return t;throw J(K(t)+" is not a function")}(r)},tt=a.TypeError,et=Object.defineProperty,rt=function(t,e){try{et(a,t,{value:e,configurable:!0,writable:!0})}catch(r){a[t]=e}return e},nt="__core-js_shared__",it=a[nt]||rt(nt,{}),ot=n((function(t){(t.exports=function(t,e){return it[t]||(it[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),st=0,at=Math.random(),ut=p(1..toString),ct=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ut(++st+at,36)},lt=ot("wks"),ht=a.Symbol,pt=ht&&ht.for,ft=W?ht:ht&&ht.withoutSetter||ct,gt=function(t){if(!w(lt,t)||!V&&"string"!=typeof lt[t]){var e="Symbol."+t;V&&w(ht,t)?lt[t]=ht[t]:lt[t]=W&&pt?pt(e):ft(e)}return lt[t]},dt=a.TypeError,mt=gt("toPrimitive"),_t=function(t,e){if(!C(t)||Y(t))return t;var r,n=Q(t,mt);if(n){if(void 0===e&&(e="default"),r=R(n,t,e),!C(r)||Y(r))return r;throw dt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&f(r=t.toString)&&!C(n=R(r,t)))return n;if(f(r=t.valueOf)&&!C(n=R(r,t)))return n;if("string"!==e&&f(r=t.toString)&&!C(n=R(r,t)))return n;throw tt("Can't convert object to primitive value")}(t,e)},vt=function(t){var e=_t(t,"string");return Y(e)?e:e+""},yt=a.TypeError,bt=Object.defineProperty,xt={f:e?bt:function(t,e,r){if(j(t),e=vt(e),j(r),T)try{return bt(t,e,r)}catch(t){}if("get"in r||"set"in r)throw yt("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Mt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},St=e?function(t,e,r){return xt.f(t,e,Mt(1,r))}:function(t,e,r){return t[e]=r,t},It=p(Function.toString);f(it.inspectSource)||(it.inspectSource=function(t){return It(t)});var kt,wt,Ct,Et=it.inspectSource,Ot=a.WeakMap,Pt=f(Ot)&&/native code/.test(Et(Ot)),Tt=ot("keys"),At=function(t){return Tt[t]||(Tt[t]=ct(t))},Lt={},jt="Object already initialized",zt=a.TypeError,Rt=a.WeakMap;if(Pt||it.state){var Nt=it.state||(it.state=new Rt),Bt=p(Nt.get),Zt=p(Nt.has),Ft=p(Nt.set);kt=function(t,e){if(Zt(Nt,t))throw new zt(jt);return e.facade=t,Ft(Nt,t,e),e},wt=function(t){return Bt(Nt,t)||{}},Ct=function(t){return Zt(Nt,t)}}else{var Dt=At("state");Lt[Dt]=!0,kt=function(t,e){if(w(t,Dt))throw new zt(jt);return e.facade=t,St(t,Dt,e),e},wt=function(t){return w(t,Dt)?t[Dt]:{}},Ct=function(t){return w(t,Dt)}}var Ht={set:kt,get:wt,has:Ct,enforce:function(t){return Ct(t)?wt(t):kt(t,{})},getterFor:function(t){return function(e){var r;if(!C(e)||(r=wt(e)).type!==t)throw zt("Incompatible receiver, "+t+" required");return r}}},$t=Function.prototype,Gt=e&&Object.getOwnPropertyDescriptor,Ut=w($t,"name"),Vt={EXISTS:Ut,PROPER:Ut&&"something"===function(){}.name,CONFIGURABLE:Ut&&(!e||e&&Gt($t,"name").configurable)},Wt=n((function(t){var e=Vt.CONFIGURABLE,r=Ht.get,n=Ht.enforce,i=String(String).split("String");(t.exports=function(t,r,o,s){var u,c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet,p=s&&void 0!==s.name?s.name:r;f(o)&&("Symbol("===String(p).slice(0,7)&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!w(o,"name")||e&&o.name!==p)&&St(o,"name",p),(u=n(o)).source||(u.source=i.join("string"==typeof p?p:""))),t!==a?(c?!h&&t[r]&&(l=!0):delete t[r],l?t[r]=o:St(t,r,o)):l?t[r]=o:rt(r,o)})(Function.prototype,"toString",(function(){return f(this)&&r(this).source||Et(this)}))})),Xt=a.String,Yt=a.TypeError,qt=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=p(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),function(t){if("object"==typeof t||f(t))return t;throw Yt("Can't set "+Xt(t)+" as a prototype")}(n),e?t(r,n):r.__proto__=n,r}}():void 0),Kt=function(t,e,r){var n,i;return qt&&f(n=e.constructor)&&n!==r&&C(i=n.prototype)&&i!==r.prototype&&qt(t,i),t},Jt=p({}.toString),Qt=p("".slice),te=function(t){return Qt(Jt(t),8,-1)},ee=a.Object,re=p("".split),ne=t((function(){return!ee("z").propertyIsEnumerable(0)}))?function(t){return"String"==te(t)?re(t,""):ee(t)}:ee,ie=function(t){return ne(M(t))},oe=Math.ceil,se=Math.floor,ae=function(t){var e=+t;return e!=e||0===e?0:(e>0?se:oe)(e)},ue=Math.max,ce=Math.min,le=function(t,e){var r=ae(t);return r<0?ue(r+e,0):ce(r,e)},he=Math.min,pe=function(t){return t>0?he(ae(t),9007199254740991):0},fe=function(t){return pe(t.length)},ge=function(t){return function(e,r,n){var i,o=ie(e),s=fe(o),a=le(n,s);if(t&&r!=r){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},de={includes:ge(!0),indexOf:ge(!1)}.indexOf,me=p([].push),_e=function(t,e){var r,n=ie(t),i=0,o=[];for(r in n)!w(Lt,r)&&w(n,r)&&me(o,r);for(;e.length>i;)w(n,r=e[i++])&&(~de(o,r)||me(o,r));return o},ve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=ve.concat("length","prototype"),be={f:Object.getOwnPropertyNames||function(t){return _e(t,ye)}},xe={}.propertyIsEnumerable,Me=Object.getOwnPropertyDescriptor,Se={f:Me&&!xe.call({1:2},1)?function(t){var e=Me(this,t);return!!e&&e.enumerable}:xe},Ie=Object.getOwnPropertyDescriptor,ke={f:e?Ie:function(t,e){if(t=ie(t),e=vt(e),T)try{return Ie(t,e)}catch(t){}if(w(t,e))return Mt(!R(Se.f,t,e),t[e])}},we=p(1..valueOf),Ce={};Ce[gt("toStringTag")]="z";var Ee="[object z]"===String(Ce),Oe=gt("toStringTag"),Pe=a.Object,Te="Arguments"==te(function(){return arguments}()),Ae=Ee?te:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Pe(t),Oe))?r:Te?te(e):"Object"==(n=te(e))&&f(e.callee)?"Arguments":n},Le=a.String,je=function(t){if("Symbol"===Ae(t))throw TypeError("Cannot convert a Symbol value to a string");return Le(t)},ze=p("".replace),Re="[\t\n\v\f\r \u2028\u2029\ufeff]",Ne=RegExp("^"+Re+Re+"*"),Be=RegExp(Re+Re+"*$"),Ze=function(t){return function(e){var r=je(M(e));return 1&t&&(r=ze(r,Ne,"")),2&t&&(r=ze(r,Be,"")),r}},Fe={start:Ze(1),end:Ze(2),trim:Ze(3)},De=be.f,He=ke.f,$e=xt.f,Ge=Fe.trim,Ue="Number",Ve=a.Number,We=Ve.prototype,Xe=a.TypeError,Ye=p("".slice),qe=p("".charCodeAt),Ke=function(t){var e=_t(t,"number");return"bigint"==typeof e?e:Je(e)},Je=function(t){var e,r,n,i,o,s,a,u,c=_t(t,"number");if(Y(c))throw Xe("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Ge(c),43===(e=qe(c,0))||45===e){if(88===(r=qe(c,2))||120===r)return NaN}else if(48===e){switch(qe(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(s=(o=Ye(c,2)).length,a=0;a<s;a++)if((u=qe(o,a))<48||u>i)return NaN;return parseInt(o,n)}return+c};if(b(Ue,!Ve(" 0o1")||!Ve("0b1")||Ve("+0x1"))){for(var Qe,tr=function(e){var r=arguments.length<1?0:Ve(Ke(e)),n=this;return Z(We,n)&&t((function(){we(n)}))?Kt(Object(r),n,tr):r},er=e?De(Ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),rr=0;er.length>rr;rr++)w(Ve,Qe=er[rr])&&!w(tr,Qe)&&$e(tr,Qe,He(Ve,Qe));tr.prototype=We,We.constructor=tr,Wt(a,Ue,tr)}var nr={f:Object.getOwnPropertySymbols},ir=p([].concat),or=B("Reflect","ownKeys")||function(t){var e=be.f(j(t)),r=nr.f;return r?ir(e,r(t)):e},sr=function(t,e){for(var r=or(e),n=xt.f,i=ke.f,o=0;o<r.length;o++){var s=r[o];w(t,s)||n(t,s,i(e,s))}},ar=ke.f,ur=function(t,e){var r,n,i,o,s,u=t.target,c=t.global,l=t.stat;if(r=c?a:l?a[u]||rt(u,{}):(a[u]||{}).prototype)for(n in e){if(o=e[n],i=t.noTargetGet?(s=ar(r,n))&&s.value:r[n],!b(c?n:u+(l?".":"#")+n,t.forced)&&void 0!==i){if(typeof o==typeof i)continue;sr(o,i)}(t.sham||i&&i.sham)&&St(o,"sham",!0),Wt(r,n,o,t)}},cr=Array.isArray||function(t){return"Array"==te(t)},lr=function(){},hr=[],pr=B("Reflect","construct"),fr=/^\s*(?:class|function)\b/,gr=p(fr.exec),dr=!fr.exec(lr),mr=function(t){if(!f(t))return!1;try{return pr(lr,hr,t),!0}catch(t){return!1}},_r=!pr||t((function(){var t;return mr(mr.call)||!mr(Object)||!mr((function(){t=!0}))||t}))?function(t){if(!f(t))return!1;switch(Ae(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return dr||!!gr(fr,Et(t))}:mr,vr=gt("species"),yr=a.Array,br=function(t,e){return new(function(t){var e;return cr(t)&&(e=t.constructor,(_r(e)&&(e===yr||cr(e.prototype))||C(e)&&null===(e=e[vr]))&&(e=void 0)),void 0===e?yr:e}(t))(0===e?0:e)},xr=function(t,e,r){var n=vt(e);n in t?xt.f(t,n,Mt(0,r)):t[n]=r},Mr=gt("species"),Sr=function(e){return U>=51||!t((function(){var t=[];return(t.constructor={})[Mr]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ir=Sr("splice"),kr=a.TypeError,wr=Math.max,Cr=Math.min,Er=9007199254740991,Or="Maximum allowed length exceeded";ur({target:"Array",proto:!0,forced:!Ir},{splice:function(t,e){var r,n,i,o,s,a,u=I(this),c=fe(u),l=le(t,c),h=arguments.length;if(0===h?r=n=0:1===h?(r=0,n=c-l):(r=h-2,n=Cr(wr(ae(e),0),c-l)),c+r-n>Er)throw kr(Or);for(i=br(u,n),o=0;o<n;o++)(s=l+o)in u&&xr(i,o,u[s]);if(i.length=n,r<n){for(o=l;o<c-n;o++)a=o+r,(s=o+n)in u?u[a]=u[s]:delete u[a];for(o=c;o>c-n+r;o--)delete u[o-1]}else if(r>n)for(o=c-n;o>l;o--)a=o+r-1,(s=o+n-1)in u?u[a]=u[s]:delete u[a];for(o=0;o<r;o++)u[o+l]=arguments[o+2];return u.length=c-n+r,i}});var Pr=p([].slice),Tr=Sr("slice"),Ar=gt("species"),Lr=a.Array,jr=Math.max;ur({target:"Array",proto:!0,forced:!Tr},{slice:function(t,e){var r,n,i,o=ie(this),s=fe(o),a=le(t,s),u=le(void 0===e?s:e,s);if(cr(o)&&(r=o.constructor,(_r(r)&&(r===Lr||cr(r.prototype))||C(r)&&null===(r=r[Ar]))&&(r=void 0),r===Lr||void 0===r))return Pr(o,a,u);for(n=new(void 0===r?Lr:r)(jr(u-a,0)),i=0;a<u;a++,i++)a in o&&xr(n,i,o[a]);return n.length=i,n}});var zr=Ee?{}.toString:function(){return"[object "+Ae(this)+"]"};Ee||Wt(Object.prototype,"toString",zr,{unsafe:!0});var Rr=function(){var t=j(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Nr=Vt.PROPER,Br="toString",Zr=RegExp.prototype,Fr=Zr.toString,Dr=p(Rr),Hr=t((function(){return"/a/b"!=Fr.call({source:"a",flags:"b"})})),$r=Nr&&Fr.name!=Br;(Hr||$r)&&Wt(RegExp.prototype,Br,(function(){var t=j(this),e=je(t.source),r=t.flags;return"/"+e+"/"+je(void 0===r&&Z(Zr,t)&&!("flags"in Zr)?Dr(t):r)}),{unsafe:!0});var Gr=function(t,e){return(Gr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function Ur(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Gr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var Vr,Wr,Xr=function(){return(Xr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},Yr=p([].join),qr=ne!=Object,Kr=(Vr=",",!!(Wr=[]["join"])&&t((function(){Wr.call(null,Vr||function(){throw 1},1)})));ur({target:"Array",proto:!0,forced:qr||!Kr},{join:function(t){return Yr(ie(this),void 0===t?",":t)}});var Jr=Object.keys||function(t){return _e(t,ve)};ur({target:"Object",stat:!0,forced:t((function(){Jr(1)}))},{keys:function(t){return Jr(I(t))}});var Qr,tn=a.RegExp,en={UNSUPPORTED_Y:t((function(){var t=tn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:t((function(){var t=tn("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},rn=e?Object.defineProperties:function(t,e){j(t);for(var r,n=ie(e),i=Jr(e),o=i.length,s=0;o>s;)xt.f(t,r=i[s++],n[r]);return t},nn=B("document","documentElement"),on=At("IE_PROTO"),sn=function(){},an=function(t){return"<script>"+t+"</"+"script>"},un=function(t){t.write(an("")),t.close();var e=t.parentWindow.Object;return t=null,e},cn=function(){try{Qr=new ActiveXObject("htmlfile")}catch(t){}var t,e;cn="undefined"!=typeof document?document.domain&&Qr?un(Qr):((e=P("iframe")).style.display="none",nn.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(an("document.F=Object")),t.close(),t.F):un(Qr);for(var r=ve.length;r--;)delete cn.prototype[ve[r]];return cn()};Lt[on]=!0;var ln,hn,pn=Object.create||function(t,e){var r;return null!==t?(sn.prototype=j(t),r=new sn,sn.prototype=null,r[on]=t):r=cn(),void 0===e?r:rn(r,e)},fn=a.RegExp,gn=t((function(){var t=fn(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),dn=a.RegExp,mn=t((function(){var t=dn("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),_n=Ht.get,vn=ot("native-string-replace",String.prototype.replace),yn=RegExp.prototype.exec,bn=yn,xn=p("".charAt),Mn=p("".indexOf),Sn=p("".replace),In=p("".slice),kn=(hn=/b*/g,R(yn,ln=/a/,"a"),R(yn,hn,"a"),0!==ln.lastIndex||0!==hn.lastIndex),wn=en.UNSUPPORTED_Y||en.BROKEN_CARET,Cn=void 0!==/()??/.exec("")[1];(kn||Cn||wn||gn||mn)&&(bn=function(t){var e,r,n,i,o,s,a,u=this,c=_n(u),l=je(t),h=c.raw;if(h)return h.lastIndex=u.lastIndex,e=R(bn,h,l),u.lastIndex=h.lastIndex,e;var p=c.groups,f=wn&&u.sticky,g=R(Rr,u),d=u.source,m=0,_=l;if(f&&(g=Sn(g,"y",""),-1===Mn(g,"g")&&(g+="g"),_=In(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==xn(l,u.lastIndex-1))&&(d="(?: "+d+")",_=" "+_,m++),r=new RegExp("^(?:"+d+")",g)),Cn&&(r=new RegExp("^"+d+"$(?!\\s)",g)),kn&&(n=u.lastIndex),i=R(yn,f?r:u,_),f?i?(i.input=In(i.input,m),i[0]=In(i[0],m),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:kn&&i&&(u.lastIndex=u.global?i.index+i[0].length:n),Cn&&i&&i.length>1&&R(vn,i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&p)for(i.groups=s=pn(null),o=0;o<p.length;o++)s[(a=p[o])[0]]=i[a[1]];return i});var En=bn;ur({target:"RegExp",proto:!0,forced:/./.exec!==En},{exec:En});var On=Function.prototype,Pn=On.apply,Tn=On.bind,An=On.call,Ln="object"==typeof Reflect&&Reflect.apply||(Tn?An.bind(Pn):function(){return An.apply(Pn,arguments)}),jn=gt("species"),zn=RegExp.prototype,Rn=function(e,r,n,i){var o=gt(e),s=!t((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=s&&!t((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[jn]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!s||!a||n){var u=p(/./[o]),c=r(o,""[e],(function(t,e,r,n,i){var o=p(t),a=e.exec;return a===En||a===zn.exec?s&&!i?{done:!0,value:u(e,r,n)}:{done:!0,value:o(r,e,n)}:{done:!1}}));Wt(String.prototype,e,c[0]),Wt(zn,o,c[1])}i&&St(zn[o],"sham",!0)},Nn=gt("match"),Bn=a.TypeError,Zn=gt("species"),Fn=function(t,e){var r,n=j(t).constructor;return void 0===n||null==(r=j(n)[Zn])?e:function(t){if(_r(t))return t;throw Bn(K(t)+" is not a constructor")}(r)},Dn=p("".charAt),Hn=p("".charCodeAt),$n=p("".slice),Gn=function(t){return function(e,r){var n,i,o=je(M(e)),s=ae(r),a=o.length;return s<0||s>=a?t?"":void 0:(n=Hn(o,s))<55296||n>56319||s+1===a||(i=Hn(o,s+1))<56320||i>57343?t?Dn(o,s):n:t?$n(o,s,s+2):i-56320+(n-55296<<10)+65536}},Un={codeAt:Gn(!1),charAt:Gn(!0)}.charAt,Vn=function(t,e,r){return e+(r?Un(t,e).length:1)},Wn=a.TypeError,Xn=function(t,e){var r=t.exec;if(f(r)){var n=R(r,t,e);return null!==n&&j(n),n}if("RegExp"===te(t))return R(En,t,e);throw Wn("RegExp#exec called on incompatible receiver")},Yn=en.UNSUPPORTED_Y,qn=4294967295,Kn=Math.min,Jn=[].push,Qn=p(/./.exec),ti=p(Jn),ei=p("".slice);Rn("split",(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n,i,o=je(M(this)),s=void 0===r?qn:r>>>0;if(0===s)return[];if(void 0===t)return[o];if(!C(n=t)||!(void 0!==(i=n[Nn])?i:"RegExp"==te(n)))return R(e,o,t,s);for(var a,u,c,l=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,f=new RegExp(t.source,h+"g");(a=R(En,f,o))&&!((u=f.lastIndex)>p&&(ti(l,ei(o,p,a.index)),a.length>1&&a.index<o.length&&Ln(Jn,l,Pr(a,1)),c=a[0].length,p=u,l.length>=s));)f.lastIndex===a.index&&f.lastIndex++;return p===o.length?!c&&Qn(f,"")||ti(l,""):ti(l,ei(o,p)),l.length>s?Pr(l,0,s):l}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:R(e,this,t,r)}:e,[function(e,r){var i=M(this),o=null==e?void 0:Q(e,t);return o?R(o,e,i,r):R(n,je(i),e,r)},function(t,i){var o=j(this),s=je(t),a=r(n,o,s,i,n!==e);if(a.done)return a.value;var u=Fn(o,RegExp),c=o.unicode,l=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Yn?"g":"y"),h=new u(Yn?"^(?:"+o.source+")":o,l),p=void 0===i?qn:i>>>0;if(0===p)return[];if(0===s.length)return null===Xn(h,s)?[s]:[];for(var f=0,g=0,d=[];g<s.length;){h.lastIndex=Yn?0:g;var m,_=Xn(h,Yn?ei(s,g):s);if(null===_||(m=Kn(pe(h.lastIndex+(Yn?g:0)),s.length))===f)g=Vn(s,g,c);else{if(ti(d,ei(s,f,g)),d.length===p)return d;for(var v=1;v<=_.length-1;v++)if(ti(d,_[v]),d.length===p)return d;g=f=m}}return ti(d,ei(s,f)),d}]}),!!t((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),Yn);var ri=Math.floor,ni=p("".charAt),ii=p("".replace),oi=p("".slice),si=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ai=/\$([$&'`]|\d{1,2})/g,ui=function(t,e,r,n,i,o){var s=r+t.length,a=n.length,u=ai;return void 0!==i&&(i=I(i),u=si),ii(o,u,(function(o,u){var c;switch(ni(u,0)){case"$":return"$";case"&":return t;case"`":return oi(e,0,r);case"'":return oi(e,s);case"<":c=i[oi(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>a){var h=ri(l/10);return 0===h?o:h<=a?void 0===n[h-1]?ni(u,1):n[h-1]+ni(u,1):o}c=n[l-1]}return void 0===c?"":c}))},ci=gt("replace"),li=Math.max,hi=Math.min,pi=p([].concat),fi=p([].push),gi=p("".indexOf),di=p("".slice),mi="$0"==="a".replace(/./,"$0"),_i=!!/./[ci]&&""===/./[ci]("a","$0");Rn("replace",(function(t,e,r){var n=_i?"$":"$0";return[function(t,r){var n=M(this),i=null==t?void 0:Q(t,ci);return i?R(i,t,n,r):R(e,je(n),t,r)},function(t,i){var o=j(this),s=je(t);if("string"==typeof i&&-1===gi(i,n)&&-1===gi(i,"$<")){var a=r(e,o,s,i);if(a.done)return a.value}var u=f(i);u||(i=je(i));var c=o.global;if(c){var l=o.unicode;o.lastIndex=0}for(var h=[];;){var p=Xn(o,s);if(null===p)break;if(fi(h,p),!c)break;""===je(p[0])&&(o.lastIndex=Vn(s,pe(o.lastIndex),l))}for(var g,d="",m=0,_=0;_<h.length;_++){for(var v=je((p=h[_])[0]),y=li(hi(ae(p.index),s.length),0),b=[],x=1;x<p.length;x++)fi(b,void 0===(g=p[x])?g:String(g));var M=p.groups;if(u){var S=pi([v],b,y,s);void 0!==M&&fi(S,M);var I=je(Ln(i,void 0,S))}else I=ui(v,s,y,b,M,i);y>=m&&(d+=di(s,m,y)+I,m=y+v.length)}return d+di(s,m)}]}),!!t((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!mi||_i);var vi=function t(){!function(t,e){for(var r in e.prototype)t.prototype[r]=e.prototype[r]}(t,google.maps.OverlayView)};function yi(t){return Object.keys(t).reduce((function(e,r){return t[r]&&e.push(r+":"+t[r]),e}),[]).join(";")}function bi(t){return t?t+"px":void 0}var xi=function(t){function e(e,r){var n=t.call(this)||this;return n.cluster_=e,n.styles_=r,n.center_=null,n.div_=null,n.sums_=null,n.visible_=!1,n.style=null,n.setMap(e.getMap()),n}return Ur(e,t),e.prototype.onAdd=function(){var t,e,r=this,n=this.cluster_.getMarkerClusterer(),i=google.maps.version.split("."),o=i[0],s=i[1],a=100*parseInt(o,10)+parseInt(s,10);this.div_=document.createElement("div"),this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",(function(){e=t})),google.maps.event.addDomListener(this.div_,"mousedown",(function(){t=!0,e=!1})),google.maps.event.addDomListener(this.div_,"contextmenu",(function(){google.maps.event.trigger(n,"contextmenu",r.cluster_)})),a>=332&&google.maps.event.addDomListener(this.div_,"touchstart",(function(t){t.stopPropagation()})),google.maps.event.addDomListener(this.div_,"click",(function(i){if(t=!1,!e){if(google.maps.event.trigger(n,"click",r.cluster_),google.maps.event.trigger(n,"clusterclick",r.cluster_),n.getZoomOnClick()){var o=n.getMaxZoom(),s=r.cluster_.getBounds();n.getMap().fitBounds(s),setTimeout((function(){n.getMap().fitBounds(s),null!==o&&n.getMap().getZoom()>o&&n.getMap().setZoom(o+1)}),100)}i.cancelBubble=!0,i.stopPropagation&&i.stopPropagation()}})),google.maps.event.addDomListener(this.div_,"mouseover",(function(){google.maps.event.trigger(n,"mouseover",r.cluster_)})),google.maps.event.addDomListener(this.div_,"mouseout",(function(){google.maps.event.trigger(n,"mouseout",r.cluster_)}))},e.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},e.prototype.draw=function(){if(this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px"}},e.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},e.prototype.show=function(){this.div_&&(this.div_.className=this.className_,this.div_.style.cssText=this.createCss_(this.getPosFromLatLng_(this.center_)),this.div_.innerHTML=(this.style.url?this.getImageElementHtml():"")+this.getLabelDivHtml(),void 0===this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""),this.visible_=!0},e.prototype.getLabelDivHtml=function(){return'\n<div aria-label="'+this.cluster_.getMarkerClusterer().ariaLabelFn(this.sums_.text)+'" style="'+yi({position:"absolute",top:bi(this.anchorText_[0]),left:bi(this.anchorText_[1]),color:this.style.textColor,"font-size":bi(this.style.textSize),"font-family":this.style.fontFamily,"font-weight":this.style.fontWeight,"font-style":this.style.fontStyle,"text-decoration":this.style.textDecoration,"text-align":"center",width:bi(this.style.width),"line-height":bi(this.style.textLineHeight)})+'" tabindex="0">\n <span aria-hidden="true">'+this.sums_.text+"</span>\n</div>\n"},e.prototype.getImageElementHtml=function(){var t=(this.style.backgroundPosition||"0 0").split(" "),e=parseInt(t[0].replace(/^\s+|\s+$/g,""),10),r=parseInt(t[1].replace(/^\s+|\s+$/g,""),10),n={};if(this.cluster_.getMarkerClusterer().getEnableRetinaIcons())n={width:bi(this.style.width),height:bi(this.style.height)};else{var i=[-1*r,-1*e+this.style.width,-1*r+this.style.height,-1*e];n={clip:"rect("+i[0]+"px, "+i[1]+"px, "+i[2]+"px, "+i[3]+"px)"}}var o=this.sums_.url?{width:"100%",height:"100%"}:{},s=yi(Xr(Xr({position:"absolute",top:bi(r),left:bi(e)},n),o));return'<img alt="'+this.sums_.text+'" aria-hidden="true" src="'+this.style.url+'" style="'+s+'"/>'},e.prototype.useStyle=function(t){this.sums_=t;var e=Math.max(0,t.index-1);e=Math.min(this.styles_.length-1,e),this.style=this.sums_.url?Xr(Xr({},this.styles_[e]),{url:this.sums_.url}):this.styles_[e],this.anchorText_=this.style.anchorText||[0,0],this.anchorIcon_=this.style.anchorIcon||[Math.floor(this.style.height/2),Math.floor(this.style.width/2)],this.className_=this.cluster_.getMarkerClusterer().getClusterClass()+" "+(this.style.className||"cluster-"+e)},e.prototype.setCenter=function(t){this.center_=t},e.prototype.createCss_=function(t){return yi({"z-index":""+this.cluster_.getMarkerClusterer().getZIndex(),top:bi(t.y),left:bi(t.x),width:bi(this.style.width),height:bi(this.style.height),cursor:"pointer",position:"absolute","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-o-user-select":"none","user-select":"none"})},e.prototype.getPosFromLatLng_=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x=Math.floor(e.x-this.anchorIcon_[1]),e.y=Math.floor(e.y-this.anchorIcon_[0]),e},e}(vi),Mi=function(){function t(t){this.markerClusterer_=t,this.map_=this.markerClusterer_.getMap(),this.minClusterSize_=this.markerClusterer_.getMinimumClusterSize(),this.averageCenter_=this.markerClusterer_.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new xi(this,this.markerClusterer_.getStyles())}return t.prototype.getSize=function(){return this.markers_.length},t.prototype.getMarkers=function(){return this.markers_},t.prototype.getCenter=function(){return this.center_},t.prototype.getMap=function(){return this.map_},t.prototype.getMarkerClusterer=function(){return this.markerClusterer_},t.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center_,this.center_),e=this.getMarkers(),r=0;r<e.length;r++)t.extend(e[r].getPosition());return t},t.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},t.prototype.addMarker=function(t){if(this.isMarkerAlreadyAdded_(t))return!1;if(this.center_){if(this.averageCenter_){var e=this.markers_.length+1,r=(this.center_.lat()*(e-1)+t.getPosition().lat())/e,n=(this.center_.lng()*(e-1)+t.getPosition().lng())/e;this.center_=new google.maps.LatLng(r,n),this.calculateBounds_()}}else this.center_=t.getPosition(),this.calculateBounds_();t.isAdded=!0,this.markers_.push(t);var i=this.markers_.length,o=this.markerClusterer_.getMaxZoom();if(null!==o&&this.map_.getZoom()>o)t.getMap()!==this.map_&&t.setMap(this.map_);else if(i<this.minClusterSize_)t.getMap()!==this.map_&&t.setMap(this.map_);else if(i===this.minClusterSize_)for(var s=0;s<i;s++)this.markers_[s].setMap(null);else t.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},t.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},t.prototype.updateIcon=function(){var t=this.markers_.length,e=this.markerClusterer_.getMaxZoom();if(null!==e&&this.map_.getZoom()>e)this.clusterIcon_.hide();else if(t<this.minClusterSize_)this.clusterIcon_.hide();else{var r=this.markerClusterer_.getStyles().length,n=this.markerClusterer_.getCalculator()(this.markers_,r);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(n),this.clusterIcon_.show()}},t.prototype.isMarkerAlreadyAdded_=function(t){if(this.markers_.indexOf)return-1!==this.markers_.indexOf(t);for(var e=0;e<this.markers_.length;e++)if(t===this.markers_[e])return!0;return!1},t}(),Si=function(t,e,r){return void 0!==t[e]?t[e]:r};return function(t){function e(r,n,i){void 0===n&&(n=[]),void 0===i&&(i={});var o=t.call(this)||this;return o.options=i,o.markers_=[],o.clusters_=[],o.listeners_=[],o.activeMap_=null,o.ready_=!1,o.ariaLabelFn=o.options.ariaLabelFn||function(){return""},o.zIndex_=o.options.zIndex||Number(google.maps.Marker.MAX_ZINDEX)+1,o.gridSize_=o.options.gridSize||60,o.minClusterSize_=o.options.minimumClusterSize||2,o.maxZoom_=o.options.maxZoom||null,o.styles_=o.options.styles||[],o.title_=o.options.title||"",o.zoomOnClick_=Si(o.options,"zoomOnClick",!0),o.averageCenter_=Si(o.options,"averageCenter",!1),o.ignoreHidden_=Si(o.options,"ignoreHidden",!1),o.enableRetinaIcons_=Si(o.options,"enableRetinaIcons",!1),o.imagePath_=o.options.imagePath||e.IMAGE_PATH,o.imageExtension_=o.options.imageExtension||e.IMAGE_EXTENSION,o.imageSizes_=o.options.imageSizes||e.IMAGE_SIZES,o.calculator_=o.options.calculator||e.CALCULATOR,o.batchSize_=o.options.batchSize||e.BATCH_SIZE,o.batchSizeIE_=o.options.batchSizeIE||e.BATCH_SIZE_IE,o.clusterClass_=o.options.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(o.batchSize_=o.batchSizeIE_),o.setupStyles_(),o.addMarkers(n,!0),o.setMap(r),o}return Ur(e,t),e.prototype.onAdd=function(){var t=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.prevZoom_=this.getMap().getZoom(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){var e=t.getMap(),r=e.minZoom||0,n=Math.min(e.maxZoom||100,e.mapTypes[e.getMapTypeId()].maxZoom),i=Math.min(Math.max(t.getMap().getZoom(),r),n);t.prevZoom_!=i&&(t.prevZoom_=i,t.resetViewport_(!1))})),google.maps.event.addListener(this.getMap(),"idle",(function(){t.redraw_()}))]},e.prototype.onRemove=function(){for(var t=0;t<this.markers_.length;t++)this.markers_[t].getMap()!==this.activeMap_&&this.markers_[t].setMap(this.activeMap_);for(t=0;t<this.clusters_.length;t++)this.clusters_[t].remove();this.clusters_=[];for(t=0;t<this.listeners_.length;t++)google.maps.event.removeListener(this.listeners_[t]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},e.prototype.draw=function(){},e.prototype.setupStyles_=function(){if(!(this.styles_.length>0))for(var t=0;t<this.imageSizes_.length;t++){var r=this.imageSizes_[t];this.styles_.push(e.withDefaultStyle({url:this.imagePath_+(t+1)+"."+this.imageExtension_,height:r,width:r}))}},e.prototype.fitMapToMarkers=function(t){for(var e=this.getMarkers(),r=new google.maps.LatLngBounds,n=0;n<e.length;n++)!e[n].getVisible()&&this.getIgnoreHidden()||r.extend(e[n].getPosition());this.getMap().fitBounds(r,t)},e.prototype.getGridSize=function(){return this.gridSize_},e.prototype.setGridSize=function(t){this.gridSize_=t},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},e.prototype.setMinimumClusterSize=function(t){this.minClusterSize_=t},e.prototype.getMaxZoom=function(){return this.maxZoom_},e.prototype.setMaxZoom=function(t){this.maxZoom_=t},e.prototype.getZIndex=function(){return this.zIndex_},e.prototype.setZIndex=function(t){this.zIndex_=t},e.prototype.getStyles=function(){return this.styles_},e.prototype.setStyles=function(t){this.styles_=t},e.prototype.getTitle=function(){return this.title_},e.prototype.setTitle=function(t){this.title_=t},e.prototype.getZoomOnClick=function(){return this.zoomOnClick_},e.prototype.setZoomOnClick=function(t){this.zoomOnClick_=t},e.prototype.getAverageCenter=function(){return this.averageCenter_},e.prototype.setAverageCenter=function(t){this.averageCenter_=t},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},e.prototype.setIgnoreHidden=function(t){this.ignoreHidden_=t},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},e.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons_=t},e.prototype.getImageExtension=function(){return this.imageExtension_},e.prototype.setImageExtension=function(t){this.imageExtension_=t},e.prototype.getImagePath=function(){return this.imagePath_},e.prototype.setImagePath=function(t){this.imagePath_=t},e.prototype.getImageSizes=function(){return this.imageSizes_},e.prototype.setImageSizes=function(t){this.imageSizes_=t},e.prototype.getCalculator=function(){return this.calculator_},e.prototype.setCalculator=function(t){this.calculator_=t},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},e.prototype.setBatchSizeIE=function(t){this.batchSizeIE_=t},e.prototype.getClusterClass=function(){return this.clusterClass_},e.prototype.setClusterClass=function(t){this.clusterClass_=t},e.prototype.getMarkers=function(){return this.markers_},e.prototype.getTotalMarkers=function(){return this.markers_.length},e.prototype.getClusters=function(){return this.clusters_},e.prototype.getTotalClusters=function(){return this.clusters_.length},e.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw_()},e.prototype.addMarkers=function(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.pushMarkerTo_(t[r]);e||this.redraw_()},e.prototype.pushMarkerTo_=function(t){var e=this;t.getDraggable()&&google.maps.event.addListener(t,"dragend",(function(){e.ready_&&(t.isAdded=!1,e.repaint())})),t.isAdded=!1,this.markers_.push(t)},e.prototype.removeMarker=function(t,e){var r=this.removeMarker_(t);return!e&&r&&this.repaint(),r},e.prototype.removeMarkers=function(t,e){for(var r=!1,n=0;n<t.length;n++){var i=this.removeMarker_(t[n]);r=r||i}return!e&&r&&this.repaint(),r},e.prototype.removeMarker_=function(t){var e=-1;if(this.markers_.indexOf)e=this.markers_.indexOf(t);else for(var r=0;r<this.markers_.length;r++)if(t===this.markers_[r]){e=r;break}return-1!==e&&(t.setMap(null),this.markers_.splice(e,1),!0)},e.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]},e.prototype.repaint=function(){var t=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout((function(){for(var e=0;e<t.length;e++)t[e].remove()}),0)},e.prototype.getExtendedBounds=function(t){var e=this.getProjection(),r=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),n=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),i=e.fromLatLngToDivPixel(r);i.x+=this.gridSize_,i.y-=this.gridSize_;var o=e.fromLatLngToDivPixel(n);o.x-=this.gridSize_,o.y+=this.gridSize_;var s=e.fromDivPixelToLatLng(i),a=e.fromDivPixelToLatLng(o);return t.extend(s),t.extend(a),t},e.prototype.redraw_=function(){this.createClusters_(0)},e.prototype.resetViewport_=function(t){for(var e=0;e<this.clusters_.length;e++)this.clusters_[e].remove();this.clusters_=[];for(e=0;e<this.markers_.length;e++){var r=this.markers_[e];r.isAdded=!1,t&&r.setMap(null)}},e.prototype.distanceBetweenPoints_=function(t,e){var r=(e.lat()-t.lat())*Math.PI/180,n=(e.lng()-t.lng())*Math.PI/180,i=Math.sin(r/2)*Math.sin(r/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(n/2)*Math.sin(n/2);return 6371*(2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i)))},e.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},e.prototype.addToClosestCluster_=function(t){for(var e=4e4,r=null,n=0;n<this.clusters_.length;n++){var i,o=(i=this.clusters_[n]).getCenter();if(o){var s=this.distanceBetweenPoints_(o,t.getPosition());s<e&&(e=s,r=i)}}r&&r.isMarkerInClusterBounds(t)?r.addMarker(t):((i=new Mi(this)).addMarker(t),this.clusters_.push(i))},e.prototype.createClusters_=function(t){var e=this;if(this.ready_){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var r=new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()),n=this.getExtendedBounds(r),i=Math.min(t+this.batchSize_,this.markers_.length),o=t;o<i;o++){var s=this.markers_[o];!s.isAdded&&this.isMarkerInBounds_(s,n)&&(!this.ignoreHidden_||this.ignoreHidden_&&s.getVisible())&&this.addToClosestCluster_(s)}if(i<this.markers_.length)this.timerRefStatic=window.setTimeout((function(){e.createClusters_(i)}),0);else{delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this);for(o=0;o<this.clusters_.length;o++)this.clusters_[o].updateIcon()}}},e.CALCULATOR=function(t,e){for(var r=0,n=t.length,i=n;0!==i;)i=Math.floor(i/10),r++;return r=Math.min(r,e),{text:n.toString(),index:r,title:""}},e.withDefaultStyle=function(t){return Xr({textColor:"black",textSize:11,textDecoration:"none",textLineHeight:t.height,fontWeight:"bold",fontStyle:"normal",fontFamily:"Arial,sans-serif",backgroundPosition:"0 0"},t)},e.BATCH_SIZE=2e3,e.BATCH_SIZE_IE=500,e.IMAGE_PATH="../images/m",e.IMAGE_EXTENSION="png",e.IMAGE_SIZES=[53,56,66,78,90],e}(vi)})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).MarkerClusterer=e()}(this,(function(){"use strict";var t=function(t){try{return!!t()}catch(t){return!0}},e=!t((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var i,o,s=function(t){return t&&t.Math==Math&&t},a=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof r&&r)||function(){return this}()||Function("return this")(),u=Function.prototype,c=u.bind,l=u.call,h=c&&c.bind(l),p=c?function(t){return t&&h(l,t)}:function(t){return t&&function(){return l.apply(t,arguments)}},f=function(t){return"function"==typeof t},g=/#|\.prototype\./,d=function(e,r){var n=_[m(e)];return n==y||n!=v&&(f(r)?t(r):!!r)},m=d.normalize=function(t){return String(t).replace(g,".").toLowerCase()},_=d.data={},v=d.NATIVE="N",y=d.POLYFILL="P",b=d,x=a.TypeError,M=function(t){if(null==t)throw x("Can't call method on "+t);return t},S=a.Object,I=function(t){return S(M(t))},k=p({}.hasOwnProperty),w=Object.hasOwn||function(t,e){return k(I(t),e)},C=function(t){return"object"==typeof t?null!==t:f(t)},E=a.document,O=C(E)&&C(E.createElement),P=function(t){return O?E.createElement(t):{}},T=!e&&!t((function(){return 7!=Object.defineProperty(P("div"),"a",{get:function(){return 7}}).a})),A=a.String,L=a.TypeError,j=function(t){if(C(t))return t;throw L(A(t)+" is not an object")},z=Function.prototype.call,R=z.bind?z.bind(z):function(){return z.apply(z,arguments)},N=function(t){return f(t)?t:void 0},B=function(t,e){return arguments.length<2?N(a[t]):a[t]&&a[t][e]},Z=p({}.isPrototypeOf),F=B("navigator","userAgent")||"",D=a.process,H=a.Deno,$=D&&D.versions||H&&H.version,G=$&&$.v8;G&&(o=(i=G.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&F&&(!(i=F.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=F.match(/Chrome\/(\d+)/))&&(o=+i[1]);var U=o,V=!!Object.getOwnPropertySymbols&&!t((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&U&&U<41})),W=V&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,X=a.Object,Y=W?function(t){return"symbol"==typeof t}:function(t){var e=B("Symbol");return f(e)&&Z(e.prototype,X(t))},q=a.String,K=function(t){try{return q(t)}catch(t){return"Object"}},J=a.TypeError,Q=function(t,e){var r=t[e];return null==r?void 0:function(t){if(f(t))return t;throw J(K(t)+" is not a function")}(r)},tt=a.TypeError,et=Object.defineProperty,rt=function(t,e){try{et(a,t,{value:e,configurable:!0,writable:!0})}catch(r){a[t]=e}return e},nt="__core-js_shared__",it=a[nt]||rt(nt,{}),ot=n((function(t){(t.exports=function(t,e){return it[t]||(it[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),st=0,at=Math.random(),ut=p(1..toString),ct=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ut(++st+at,36)},lt=ot("wks"),ht=a.Symbol,pt=ht&&ht.for,ft=W?ht:ht&&ht.withoutSetter||ct,gt=function(t){if(!w(lt,t)||!V&&"string"!=typeof lt[t]){var e="Symbol."+t;V&&w(ht,t)?lt[t]=ht[t]:lt[t]=W&&pt?pt(e):ft(e)}return lt[t]},dt=a.TypeError,mt=gt("toPrimitive"),_t=function(t,e){if(!C(t)||Y(t))return t;var r,n=Q(t,mt);if(n){if(void 0===e&&(e="default"),r=R(n,t,e),!C(r)||Y(r))return r;throw dt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&f(r=t.toString)&&!C(n=R(r,t)))return n;if(f(r=t.valueOf)&&!C(n=R(r,t)))return n;if("string"!==e&&f(r=t.toString)&&!C(n=R(r,t)))return n;throw tt("Can't convert object to primitive value")}(t,e)},vt=function(t){var e=_t(t,"string");return Y(e)?e:e+""},yt=a.TypeError,bt=Object.defineProperty,xt={f:e?bt:function(t,e,r){if(j(t),e=vt(e),j(r),T)try{return bt(t,e,r)}catch(t){}if("get"in r||"set"in r)throw yt("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Mt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},St=e?function(t,e,r){return xt.f(t,e,Mt(1,r))}:function(t,e,r){return t[e]=r,t},It=p(Function.toString);f(it.inspectSource)||(it.inspectSource=function(t){return It(t)});var kt,wt,Ct,Et=it.inspectSource,Ot=a.WeakMap,Pt=f(Ot)&&/native code/.test(Et(Ot)),Tt=ot("keys"),At=function(t){return Tt[t]||(Tt[t]=ct(t))},Lt={},jt="Object already initialized",zt=a.TypeError,Rt=a.WeakMap;if(Pt||it.state){var Nt=it.state||(it.state=new Rt),Bt=p(Nt.get),Zt=p(Nt.has),Ft=p(Nt.set);kt=function(t,e){if(Zt(Nt,t))throw new zt(jt);return e.facade=t,Ft(Nt,t,e),e},wt=function(t){return Bt(Nt,t)||{}},Ct=function(t){return Zt(Nt,t)}}else{var Dt=At("state");Lt[Dt]=!0,kt=function(t,e){if(w(t,Dt))throw new zt(jt);return e.facade=t,St(t,Dt,e),e},wt=function(t){return w(t,Dt)?t[Dt]:{}},Ct=function(t){return w(t,Dt)}}var Ht={set:kt,get:wt,has:Ct,enforce:function(t){return Ct(t)?wt(t):kt(t,{})},getterFor:function(t){return function(e){var r;if(!C(e)||(r=wt(e)).type!==t)throw zt("Incompatible receiver, "+t+" required");return r}}},$t=Function.prototype,Gt=e&&Object.getOwnPropertyDescriptor,Ut=w($t,"name"),Vt={EXISTS:Ut,PROPER:Ut&&"something"===function(){}.name,CONFIGURABLE:Ut&&(!e||e&&Gt($t,"name").configurable)},Wt=n((function(t){var e=Vt.CONFIGURABLE,r=Ht.get,n=Ht.enforce,i=String(String).split("String");(t.exports=function(t,r,o,s){var u,c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet,p=s&&void 0!==s.name?s.name:r;f(o)&&("Symbol("===String(p).slice(0,7)&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!w(o,"name")||e&&o.name!==p)&&St(o,"name",p),(u=n(o)).source||(u.source=i.join("string"==typeof p?p:""))),t!==a?(c?!h&&t[r]&&(l=!0):delete t[r],l?t[r]=o:St(t,r,o)):l?t[r]=o:rt(r,o)})(Function.prototype,"toString",(function(){return f(this)&&r(this).source||Et(this)}))})),Xt=a.String,Yt=a.TypeError,qt=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=p(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),function(t){if("object"==typeof t||f(t))return t;throw Yt("Can't set "+Xt(t)+" as a prototype")}(n),e?t(r,n):r.__proto__=n,r}}():void 0),Kt=function(t,e,r){var n,i;return qt&&f(n=e.constructor)&&n!==r&&C(i=n.prototype)&&i!==r.prototype&&qt(t,i),t},Jt=p({}.toString),Qt=p("".slice),te=function(t){return Qt(Jt(t),8,-1)},ee=a.Object,re=p("".split),ne=t((function(){return!ee("z").propertyIsEnumerable(0)}))?function(t){return"String"==te(t)?re(t,""):ee(t)}:ee,ie=function(t){return ne(M(t))},oe=Math.ceil,se=Math.floor,ae=function(t){var e=+t;return e!=e||0===e?0:(e>0?se:oe)(e)},ue=Math.max,ce=Math.min,le=function(t,e){var r=ae(t);return r<0?ue(r+e,0):ce(r,e)},he=Math.min,pe=function(t){return t>0?he(ae(t),9007199254740991):0},fe=function(t){return pe(t.length)},ge=function(t){return function(e,r,n){var i,o=ie(e),s=fe(o),a=le(n,s);if(t&&r!=r){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},de={includes:ge(!0),indexOf:ge(!1)}.indexOf,me=p([].push),_e=function(t,e){var r,n=ie(t),i=0,o=[];for(r in n)!w(Lt,r)&&w(n,r)&&me(o,r);for(;e.length>i;)w(n,r=e[i++])&&(~de(o,r)||me(o,r));return o},ve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=ve.concat("length","prototype"),be={f:Object.getOwnPropertyNames||function(t){return _e(t,ye)}},xe={}.propertyIsEnumerable,Me=Object.getOwnPropertyDescriptor,Se={f:Me&&!xe.call({1:2},1)?function(t){var e=Me(this,t);return!!e&&e.enumerable}:xe},Ie=Object.getOwnPropertyDescriptor,ke={f:e?Ie:function(t,e){if(t=ie(t),e=vt(e),T)try{return Ie(t,e)}catch(t){}if(w(t,e))return Mt(!R(Se.f,t,e),t[e])}},we=p(1..valueOf),Ce={};Ce[gt("toStringTag")]="z";var Ee="[object z]"===String(Ce),Oe=gt("toStringTag"),Pe=a.Object,Te="Arguments"==te(function(){return arguments}()),Ae=Ee?te:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Pe(t),Oe))?r:Te?te(e):"Object"==(n=te(e))&&f(e.callee)?"Arguments":n},Le=a.String,je=function(t){if("Symbol"===Ae(t))throw TypeError("Cannot convert a Symbol value to a string");return Le(t)},ze=p("".replace),Re="[\t\n\v\f\r \u2028\u2029\ufeff]",Ne=RegExp("^"+Re+Re+"*"),Be=RegExp(Re+Re+"*$"),Ze=function(t){return function(e){var r=je(M(e));return 1&t&&(r=ze(r,Ne,"")),2&t&&(r=ze(r,Be,"")),r}},Fe={start:Ze(1),end:Ze(2),trim:Ze(3)},De=be.f,He=ke.f,$e=xt.f,Ge=Fe.trim,Ue="Number",Ve=a.Number,We=Ve.prototype,Xe=a.TypeError,Ye=p("".slice),qe=p("".charCodeAt),Ke=function(t){var e=_t(t,"number");return"bigint"==typeof e?e:Je(e)},Je=function(t){var e,r,n,i,o,s,a,u,c=_t(t,"number");if(Y(c))throw Xe("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Ge(c),43===(e=qe(c,0))||45===e){if(88===(r=qe(c,2))||120===r)return NaN}else if(48===e){switch(qe(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(s=(o=Ye(c,2)).length,a=0;a<s;a++)if((u=qe(o,a))<48||u>i)return NaN;return parseInt(o,n)}return+c};if(b(Ue,!Ve(" 0o1")||!Ve("0b1")||Ve("+0x1"))){for(var Qe,tr=function(e){var r=arguments.length<1?0:Ve(Ke(e)),n=this;return Z(We,n)&&t((function(){we(n)}))?Kt(Object(r),n,tr):r},er=e?De(Ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),rr=0;er.length>rr;rr++)w(Ve,Qe=er[rr])&&!w(tr,Qe)&&$e(tr,Qe,He(Ve,Qe));tr.prototype=We,We.constructor=tr,Wt(a,Ue,tr)}var nr={f:Object.getOwnPropertySymbols},ir=p([].concat),or=B("Reflect","ownKeys")||function(t){var e=be.f(j(t)),r=nr.f;return r?ir(e,r(t)):e},sr=function(t,e){for(var r=or(e),n=xt.f,i=ke.f,o=0;o<r.length;o++){var s=r[o];w(t,s)||n(t,s,i(e,s))}},ar=ke.f,ur=function(t,e){var r,n,i,o,s,u=t.target,c=t.global,l=t.stat;if(r=c?a:l?a[u]||rt(u,{}):(a[u]||{}).prototype)for(n in e){if(o=e[n],i=t.noTargetGet?(s=ar(r,n))&&s.value:r[n],!b(c?n:u+(l?".":"#")+n,t.forced)&&void 0!==i){if(typeof o==typeof i)continue;sr(o,i)}(t.sham||i&&i.sham)&&St(o,"sham",!0),Wt(r,n,o,t)}},cr=Array.isArray||function(t){return"Array"==te(t)},lr=function(){},hr=[],pr=B("Reflect","construct"),fr=/^\s*(?:class|function)\b/,gr=p(fr.exec),dr=!fr.exec(lr),mr=function(t){if(!f(t))return!1;try{return pr(lr,hr,t),!0}catch(t){return!1}},_r=!pr||t((function(){var t;return mr(mr.call)||!mr(Object)||!mr((function(){t=!0}))||t}))?function(t){if(!f(t))return!1;switch(Ae(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return dr||!!gr(fr,Et(t))}:mr,vr=gt("species"),yr=a.Array,br=function(t,e){return new(function(t){var e;return cr(t)&&(e=t.constructor,(_r(e)&&(e===yr||cr(e.prototype))||C(e)&&null===(e=e[vr]))&&(e=void 0)),void 0===e?yr:e}(t))(0===e?0:e)},xr=function(t,e,r){var n=vt(e);n in t?xt.f(t,n,Mt(0,r)):t[n]=r},Mr=gt("species"),Sr=function(e){return U>=51||!t((function(){var t=[];return(t.constructor={})[Mr]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ir=Sr("splice"),kr=a.TypeError,wr=Math.max,Cr=Math.min,Er=9007199254740991,Or="Maximum allowed length exceeded";ur({target:"Array",proto:!0,forced:!Ir},{splice:function(t,e){var r,n,i,o,s,a,u=I(this),c=fe(u),l=le(t,c),h=arguments.length;if(0===h?r=n=0:1===h?(r=0,n=c-l):(r=h-2,n=Cr(wr(ae(e),0),c-l)),c+r-n>Er)throw kr(Or);for(i=br(u,n),o=0;o<n;o++)(s=l+o)in u&&xr(i,o,u[s]);if(i.length=n,r<n){for(o=l;o<c-n;o++)a=o+r,(s=o+n)in u?u[a]=u[s]:delete u[a];for(o=c;o>c-n+r;o--)delete u[o-1]}else if(r>n)for(o=c-n;o>l;o--)a=o+r-1,(s=o+n-1)in u?u[a]=u[s]:delete u[a];for(o=0;o<r;o++)u[o+l]=arguments[o+2];return u.length=c-n+r,i}});var Pr=p([].slice),Tr=Sr("slice"),Ar=gt("species"),Lr=a.Array,jr=Math.max;ur({target:"Array",proto:!0,forced:!Tr},{slice:function(t,e){var r,n,i,o=ie(this),s=fe(o),a=le(t,s),u=le(void 0===e?s:e,s);if(cr(o)&&(r=o.constructor,(_r(r)&&(r===Lr||cr(r.prototype))||C(r)&&null===(r=r[Ar]))&&(r=void 0),r===Lr||void 0===r))return Pr(o,a,u);for(n=new(void 0===r?Lr:r)(jr(u-a,0)),i=0;a<u;a++,i++)a in o&&xr(n,i,o[a]);return n.length=i,n}});var zr=Ee?{}.toString:function(){return"[object "+Ae(this)+"]"};Ee||Wt(Object.prototype,"toString",zr,{unsafe:!0});var Rr=function(){var t=j(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Nr=Vt.PROPER,Br="toString",Zr=RegExp.prototype,Fr=Zr.toString,Dr=p(Rr),Hr=t((function(){return"/a/b"!=Fr.call({source:"a",flags:"b"})})),$r=Nr&&Fr.name!=Br;(Hr||$r)&&Wt(RegExp.prototype,Br,(function(){var t=j(this),e=je(t.source),r=t.flags;return"/"+e+"/"+je(void 0===r&&Z(Zr,t)&&!("flags"in Zr)?Dr(t):r)}),{unsafe:!0});var Gr=function(t,e){return(Gr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function Ur(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Gr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var Vr,Wr,Xr=function(){return(Xr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},Yr=p([].join),qr=ne!=Object,Kr=(Vr=",",!!(Wr=[]["join"])&&t((function(){Wr.call(null,Vr||function(){throw 1},1)})));ur({target:"Array",proto:!0,forced:qr||!Kr},{join:function(t){return Yr(ie(this),void 0===t?",":t)}});var Jr=Object.keys||function(t){return _e(t,ve)};ur({target:"Object",stat:!0,forced:t((function(){Jr(1)}))},{keys:function(t){return Jr(I(t))}});var Qr,tn=a.RegExp,en={UNSUPPORTED_Y:t((function(){var t=tn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:t((function(){var t=tn("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},rn=e?Object.defineProperties:function(t,e){j(t);for(var r,n=ie(e),i=Jr(e),o=i.length,s=0;o>s;)xt.f(t,r=i[s++],n[r]);return t},nn=B("document","documentElement"),on=At("IE_PROTO"),sn=function(){},an=function(t){return"<script>"+t+"</"+"script>"},un=function(t){t.write(an("")),t.close();var e=t.parentWindow.Object;return t=null,e},cn=function(){try{Qr=new ActiveXObject("htmlfile")}catch(t){}var t,e;cn="undefined"!=typeof document?document.domain&&Qr?un(Qr):((e=P("iframe")).style.display="none",nn.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(an("document.F=Object")),t.close(),t.F):un(Qr);for(var r=ve.length;r--;)delete cn.prototype[ve[r]];return cn()};Lt[on]=!0;var ln,hn,pn=Object.create||function(t,e){var r;return null!==t?(sn.prototype=j(t),r=new sn,sn.prototype=null,r[on]=t):r=cn(),void 0===e?r:rn(r,e)},fn=a.RegExp,gn=t((function(){var t=fn(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),dn=a.RegExp,mn=t((function(){var t=dn("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),_n=Ht.get,vn=ot("native-string-replace",String.prototype.replace),yn=RegExp.prototype.exec,bn=yn,xn=p("".charAt),Mn=p("".indexOf),Sn=p("".replace),In=p("".slice),kn=(hn=/b*/g,R(yn,ln=/a/,"a"),R(yn,hn,"a"),0!==ln.lastIndex||0!==hn.lastIndex),wn=en.UNSUPPORTED_Y||en.BROKEN_CARET,Cn=void 0!==/()??/.exec("")[1];(kn||Cn||wn||gn||mn)&&(bn=function(t){var e,r,n,i,o,s,a,u=this,c=_n(u),l=je(t),h=c.raw;if(h)return h.lastIndex=u.lastIndex,e=R(bn,h,l),u.lastIndex=h.lastIndex,e;var p=c.groups,f=wn&&u.sticky,g=R(Rr,u),d=u.source,m=0,_=l;if(f&&(g=Sn(g,"y",""),-1===Mn(g,"g")&&(g+="g"),_=In(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==xn(l,u.lastIndex-1))&&(d="(?: "+d+")",_=" "+_,m++),r=new RegExp("^(?:"+d+")",g)),Cn&&(r=new RegExp("^"+d+"$(?!\\s)",g)),kn&&(n=u.lastIndex),i=R(yn,f?r:u,_),f?i?(i.input=In(i.input,m),i[0]=In(i[0],m),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:kn&&i&&(u.lastIndex=u.global?i.index+i[0].length:n),Cn&&i&&i.length>1&&R(vn,i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&p)for(i.groups=s=pn(null),o=0;o<p.length;o++)s[(a=p[o])[0]]=i[a[1]];return i});var En=bn;ur({target:"RegExp",proto:!0,forced:/./.exec!==En},{exec:En});var On=Function.prototype,Pn=On.apply,Tn=On.bind,An=On.call,Ln="object"==typeof Reflect&&Reflect.apply||(Tn?An.bind(Pn):function(){return An.apply(Pn,arguments)}),jn=gt("species"),zn=RegExp.prototype,Rn=function(e,r,n,i){var o=gt(e),s=!t((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=s&&!t((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[jn]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!s||!a||n){var u=p(/./[o]),c=r(o,""[e],(function(t,e,r,n,i){var o=p(t),a=e.exec;return a===En||a===zn.exec?s&&!i?{done:!0,value:u(e,r,n)}:{done:!0,value:o(r,e,n)}:{done:!1}}));Wt(String.prototype,e,c[0]),Wt(zn,o,c[1])}i&&St(zn[o],"sham",!0)},Nn=gt("match"),Bn=a.TypeError,Zn=gt("species"),Fn=function(t,e){var r,n=j(t).constructor;return void 0===n||null==(r=j(n)[Zn])?e:function(t){if(_r(t))return t;throw Bn(K(t)+" is not a constructor")}(r)},Dn=p("".charAt),Hn=p("".charCodeAt),$n=p("".slice),Gn=function(t){return function(e,r){var n,i,o=je(M(e)),s=ae(r),a=o.length;return s<0||s>=a?t?"":void 0:(n=Hn(o,s))<55296||n>56319||s+1===a||(i=Hn(o,s+1))<56320||i>57343?t?Dn(o,s):n:t?$n(o,s,s+2):i-56320+(n-55296<<10)+65536}},Un={codeAt:Gn(!1),charAt:Gn(!0)}.charAt,Vn=function(t,e,r){return e+(r?Un(t,e).length:1)},Wn=a.TypeError,Xn=function(t,e){var r=t.exec;if(f(r)){var n=R(r,t,e);return null!==n&&j(n),n}if("RegExp"===te(t))return R(En,t,e);throw Wn("RegExp#exec called on incompatible receiver")},Yn=en.UNSUPPORTED_Y,qn=4294967295,Kn=Math.min,Jn=[].push,Qn=p(/./.exec),ti=p(Jn),ei=p("".slice);Rn("split",(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n,i,o=je(M(this)),s=void 0===r?qn:r>>>0;if(0===s)return[];if(void 0===t)return[o];if(!C(n=t)||!(void 0!==(i=n[Nn])?i:"RegExp"==te(n)))return R(e,o,t,s);for(var a,u,c,l=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,f=new RegExp(t.source,h+"g");(a=R(En,f,o))&&!((u=f.lastIndex)>p&&(ti(l,ei(o,p,a.index)),a.length>1&&a.index<o.length&&Ln(Jn,l,Pr(a,1)),c=a[0].length,p=u,l.length>=s));)f.lastIndex===a.index&&f.lastIndex++;return p===o.length?!c&&Qn(f,"")||ti(l,""):ti(l,ei(o,p)),l.length>s?Pr(l,0,s):l}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:R(e,this,t,r)}:e,[function(e,r){var i=M(this),o=null==e?void 0:Q(e,t);return o?R(o,e,i,r):R(n,je(i),e,r)},function(t,i){var o=j(this),s=je(t),a=r(n,o,s,i,n!==e);if(a.done)return a.value;var u=Fn(o,RegExp),c=o.unicode,l=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Yn?"g":"y"),h=new u(Yn?"^(?:"+o.source+")":o,l),p=void 0===i?qn:i>>>0;if(0===p)return[];if(0===s.length)return null===Xn(h,s)?[s]:[];for(var f=0,g=0,d=[];g<s.length;){h.lastIndex=Yn?0:g;var m,_=Xn(h,Yn?ei(s,g):s);if(null===_||(m=Kn(pe(h.lastIndex+(Yn?g:0)),s.length))===f)g=Vn(s,g,c);else{if(ti(d,ei(s,f,g)),d.length===p)return d;for(var v=1;v<=_.length-1;v++)if(ti(d,_[v]),d.length===p)return d;g=f=m}}return ti(d,ei(s,f)),d}]}),!!t((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),Yn);var ri=Math.floor,ni=p("".charAt),ii=p("".replace),oi=p("".slice),si=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ai=/\$([$&'`]|\d{1,2})/g,ui=function(t,e,r,n,i,o){var s=r+t.length,a=n.length,u=ai;return void 0!==i&&(i=I(i),u=si),ii(o,u,(function(o,u){var c;switch(ni(u,0)){case"$":return"$";case"&":return t;case"`":return oi(e,0,r);case"'":return oi(e,s);case"<":c=i[oi(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>a){var h=ri(l/10);return 0===h?o:h<=a?void 0===n[h-1]?ni(u,1):n[h-1]+ni(u,1):o}c=n[l-1]}return void 0===c?"":c}))},ci=gt("replace"),li=Math.max,hi=Math.min,pi=p([].concat),fi=p([].push),gi=p("".indexOf),di=p("".slice),mi="$0"==="a".replace(/./,"$0"),_i=!!/./[ci]&&""===/./[ci]("a","$0");Rn("replace",(function(t,e,r){var n=_i?"$":"$0";return[function(t,r){var n=M(this),i=null==t?void 0:Q(t,ci);return i?R(i,t,n,r):R(e,je(n),t,r)},function(t,i){var o=j(this),s=je(t);if("string"==typeof i&&-1===gi(i,n)&&-1===gi(i,"$<")){var a=r(e,o,s,i);if(a.done)return a.value}var u=f(i);u||(i=je(i));var c=o.global;if(c){var l=o.unicode;o.lastIndex=0}for(var h=[];;){var p=Xn(o,s);if(null===p)break;if(fi(h,p),!c)break;""===je(p[0])&&(o.lastIndex=Vn(s,pe(o.lastIndex),l))}for(var g,d="",m=0,_=0;_<h.length;_++){for(var v=je((p=h[_])[0]),y=li(hi(ae(p.index),s.length),0),b=[],x=1;x<p.length;x++)fi(b,void 0===(g=p[x])?g:String(g));var M=p.groups;if(u){var S=pi([v],b,y,s);void 0!==M&&fi(S,M);var I=je(Ln(i,void 0,S))}else I=ui(v,s,y,b,M,i);y>=m&&(d+=di(s,m,y)+I,m=y+v.length)}return d+di(s,m)}]}),!!t((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!mi||_i);var vi=function t(){!function(t,e){for(var r in e.prototype)t.prototype[r]=e.prototype[r]}(t,google.maps.OverlayView)};function yi(t){return Object.keys(t).reduce((function(e,r){return t[r]&&e.push(r+":"+t[r]),e}),[]).join(";")}function bi(t){return t?t+"px":void 0}var xi=function(t){function e(e,r){var n=t.call(this)||this;return n.cluster_=e,n.styles_=r,n.center_=null,n.div_=null,n.sums_=null,n.visible_=!1,n.style=null,n.setMap(e.getMap()),n}return Ur(e,t),e.prototype.onAdd=function(){var t,e,r=this,n=this.cluster_.getMarkerClusterer(),i=google.maps.version.split("."),o=i[0],s=i[1],a=100*parseInt(o,10)+parseInt(s,10);this.div_=document.createElement("div"),this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",(function(){e=t})),google.maps.event.addDomListener(this.div_,"mousedown",(function(){t=!0,e=!1})),google.maps.event.addDomListener(this.div_,"contextmenu",(function(){google.maps.event.trigger(n,"contextmenu",r.cluster_)})),a>=332&&google.maps.event.addDomListener(this.div_,"touchstart",(function(t){t.stopPropagation()})),google.maps.event.addDomListener(this.div_,"click",(function(i){if(t=!1,!e){if(google.maps.event.trigger(n,"click",r.cluster_),google.maps.event.trigger(n,"clusterclick",r.cluster_),n.getZoomOnClick()){var o=n.getMaxZoom(),s=r.cluster_.getBounds();n.getMap().fitBounds(s),setTimeout((function(){n.getMap().fitBounds(s),null!==o&&n.getMap().getZoom()>o&&n.getMap().setZoom(o+1)}),100)}i.cancelBubble=!0,i.stopPropagation&&i.stopPropagation()}})),google.maps.event.addDomListener(this.div_,"mouseover",(function(){google.maps.event.trigger(n,"mouseover",r.cluster_)})),google.maps.event.addDomListener(this.div_,"mouseout",(function(){google.maps.event.trigger(n,"mouseout",r.cluster_)}))},e.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},e.prototype.draw=function(){if(this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px"}},e.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},e.prototype.show=function(){this.div_&&(this.div_.className=this.className_,this.div_.style.cssText=this.createCss_(this.getPosFromLatLng_(this.center_)),this.div_.innerHTML=(this.style.url?this.getImageElementHtml():"")+this.getLabelDivHtml(),void 0===this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""),this.visible_=!0},e.prototype.getLabelDivHtml=function(){return'\n<div aria-label="'+this.cluster_.getMarkerClusterer().ariaLabelFn(this.sums_.text)+'" style="'+yi({position:"absolute",top:bi(this.anchorText_[0]),left:bi(this.anchorText_[1]),color:this.style.textColor,"font-size":bi(this.style.textSize),"font-family":this.style.fontFamily,"font-weight":this.style.fontWeight,"font-style":this.style.fontStyle,"text-decoration":this.style.textDecoration,"text-align":"center",width:bi(this.style.width),"line-height":bi(this.style.textLineHeight)})+'" tabindex="0">\n <span aria-hidden="true">'+this.sums_.text+"</span>\n</div>\n"},e.prototype.getImageElementHtml=function(){var t=(this.style.backgroundPosition||"0 0").split(" "),e=parseInt(t[0].replace(/^\s+|\s+$/g,""),10),r=parseInt(t[1].replace(/^\s+|\s+$/g,""),10),n={};if(this.cluster_.getMarkerClusterer().getEnableRetinaIcons())n={width:bi(this.style.width),height:bi(this.style.height)};else{var i=[-1*r,-1*e+this.style.width,-1*r+this.style.height,-1*e];n={clip:"rect("+i[0]+"px, "+i[1]+"px, "+i[2]+"px, "+i[3]+"px)"}}var o=this.sums_.url?{width:"100%",height:"100%"}:{},s=yi(Xr(Xr({position:"absolute",top:bi(r),left:bi(e)},n),o));return'<img alt="'+this.sums_.text+'" aria-hidden="true" src="'+this.style.url+'" style="'+s+'"/>'},e.prototype.useStyle=function(t){this.sums_=t;var e=Math.max(0,t.index-1);e=Math.min(this.styles_.length-1,e),this.style=this.sums_.url?Xr(Xr({},this.styles_[e]),{url:this.sums_.url}):this.styles_[e],this.anchorText_=this.style.anchorText||[0,0],this.anchorIcon_=this.style.anchorIcon||[Math.floor(this.style.height/2),Math.floor(this.style.width/2)],this.className_=this.cluster_.getMarkerClusterer().getClusterClass()+" "+(this.style.className||"cluster-"+e)},e.prototype.setCenter=function(t){this.center_=t},e.prototype.createCss_=function(t){return yi({"z-index":""+this.cluster_.getMarkerClusterer().getZIndex(),top:bi(t.y),left:bi(t.x),width:bi(this.style.width),height:bi(this.style.height),cursor:"pointer",position:"absolute","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-o-user-select":"none","user-select":"none"})},e.prototype.getPosFromLatLng_=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x=Math.floor(e.x-this.anchorIcon_[1]),e.y=Math.floor(e.y-this.anchorIcon_[0]),e},e}(vi),Mi=function(){function t(t){this.markerClusterer_=t,this.map_=this.markerClusterer_.getMap(),this.minClusterSize_=this.markerClusterer_.getMinimumClusterSize(),this.averageCenter_=this.markerClusterer_.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new xi(this,this.markerClusterer_.getStyles())}return t.prototype.getSize=function(){return this.markers_.length},t.prototype.getMarkers=function(){return this.markers_},t.prototype.getCenter=function(){return this.center_},t.prototype.getMap=function(){return this.map_},t.prototype.getMarkerClusterer=function(){return this.markerClusterer_},t.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center_,this.center_),e=this.getMarkers(),r=0;r<e.length;r++)t.extend(e[r].getPosition());return t},t.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},t.prototype.addMarker=function(t){if(this.isMarkerAlreadyAdded_(t))return!1;if(this.center_){if(this.averageCenter_){var e=this.markers_.length+1,r=(this.center_.lat()*(e-1)+t.getPosition().lat())/e,n=(this.center_.lng()*(e-1)+t.getPosition().lng())/e;this.center_=new google.maps.LatLng(r,n),this.calculateBounds_()}}else this.center_=t.getPosition(),this.calculateBounds_();t.isAdded=!0,this.markers_.push(t);var i=this.markers_.length,o=this.markerClusterer_.getMaxZoom();if(null!==o&&this.map_.getZoom()>o)t.getMap()!==this.map_&&t.setMap(this.map_);else if(i<this.minClusterSize_)t.getMap()!==this.map_&&t.setMap(this.map_);else if(i===this.minClusterSize_)for(var s=0;s<i;s++)this.markers_[s].setMap(null);else t.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},t.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},t.prototype.updateIcon=function(){var t=this.markers_.length,e=this.markerClusterer_.getMaxZoom();if(null!==e&&this.map_.getZoom()>e)this.clusterIcon_.hide();else if(t<this.minClusterSize_)this.clusterIcon_.hide();else{var r=this.markerClusterer_.getStyles().length,n=this.markerClusterer_.getCalculator()(this.markers_,r);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(n),this.clusterIcon_.show()}},t.prototype.isMarkerAlreadyAdded_=function(t){if(this.markers_.indexOf)return-1!==this.markers_.indexOf(t);for(var e=0;e<this.markers_.length;e++)if(t===this.markers_[e])return!0;return!1},t}(),Si=function(t,e,r){return void 0!==t[e]?t[e]:r};return function(t){function e(r,n,i){void 0===n&&(n=[]),void 0===i&&(i={});var o=t.call(this)||this;return o.options=i,o.markers_=[],o.clusters_=[],o.listeners_=[],o.activeMap_=null,o.ready_=!1,o.ariaLabelFn=o.options.ariaLabelFn||function(){return""},o.zIndex_=o.options.zIndex||Number(google.maps.Marker.MAX_ZINDEX)+1,o.gridSize_=o.options.gridSize||60,o.minClusterSize_=o.options.minimumClusterSize||2,o.maxZoom_=o.options.maxZoom||null,o.styles_=o.options.styles||[],o.title_=o.options.title||"",o.zoomOnClick_=Si(o.options,"zoomOnClick",!0),o.averageCenter_=Si(o.options,"averageCenter",!1),o.ignoreHidden_=Si(o.options,"ignoreHidden",!1),o.enableRetinaIcons_=Si(o.options,"enableRetinaIcons",!1),o.imagePath_=o.options.imagePath||e.IMAGE_PATH,o.imageExtension_=o.options.imageExtension||e.IMAGE_EXTENSION,o.imageSizes_=o.options.imageSizes||e.IMAGE_SIZES,o.calculator_=o.options.calculator||e.CALCULATOR,o.batchSize_=o.options.batchSize||e.BATCH_SIZE,o.batchSizeIE_=o.options.batchSizeIE||e.BATCH_SIZE_IE,o.clusterClass_=o.options.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(o.batchSize_=o.batchSizeIE_),o.setupStyles_(),o.addMarkers(n,!0),o.setMap(r),o}return Ur(e,t),e.prototype.onAdd=function(){var t=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.prevZoom_=this.getMap().getZoom(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){var e=t.getMap(),r=e.minZoom||0,n=Math.min(e.maxZoom||100,e.mapTypes[e.getMapTypeId()].maxZoom),i=Math.min(Math.max(t.getMap().getZoom(),r),n);t.prevZoom_!=i&&(t.prevZoom_=i,t.resetViewport_(!1))})),google.maps.event.addListener(this.getMap(),"idle",(function(){t.redraw_()}))]},e.prototype.onRemove=function(){for(var t=0;t<this.markers_.length;t++)this.markers_[t].getMap()!==this.activeMap_&&this.markers_[t].setMap(this.activeMap_);for(t=0;t<this.clusters_.length;t++)this.clusters_[t].remove();this.clusters_=[];for(t=0;t<this.listeners_.length;t++)google.maps.event.removeListener(this.listeners_[t]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},e.prototype.draw=function(){},e.prototype.setupStyles_=function(){if(!(this.styles_.length>0))for(var t=0;t<this.imageSizes_.length;t++){var r=this.imageSizes_[t];this.styles_.push(e.withDefaultStyle({url:this.imagePath_+(t+1)+"."+this.imageExtension_,height:r,width:r}))}},e.prototype.fitMapToMarkers=function(t){for(var e=this.getMarkers(),r=new google.maps.LatLngBounds,n=0;n<e.length;n++)!e[n].getVisible()&&this.getIgnoreHidden()||r.extend(e[n].getPosition());this.getMap().fitBounds(r,t)},e.prototype.getGridSize=function(){return this.gridSize_},e.prototype.setGridSize=function(t){this.gridSize_=t},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},e.prototype.setMinimumClusterSize=function(t){this.minClusterSize_=t},e.prototype.getMaxZoom=function(){return this.maxZoom_},e.prototype.setMaxZoom=function(t){this.maxZoom_=t},e.prototype.getZIndex=function(){return this.zIndex_},e.prototype.setZIndex=function(t){this.zIndex_=t},e.prototype.getStyles=function(){return this.styles_},e.prototype.setStyles=function(t){this.styles_=t},e.prototype.getTitle=function(){return this.title_},e.prototype.setTitle=function(t){this.title_=t},e.prototype.getZoomOnClick=function(){return this.zoomOnClick_},e.prototype.setZoomOnClick=function(t){this.zoomOnClick_=t},e.prototype.getAverageCenter=function(){return this.averageCenter_},e.prototype.setAverageCenter=function(t){this.averageCenter_=t},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},e.prototype.setIgnoreHidden=function(t){this.ignoreHidden_=t},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},e.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons_=t},e.prototype.getImageExtension=function(){return this.imageExtension_},e.prototype.setImageExtension=function(t){this.imageExtension_=t},e.prototype.getImagePath=function(){return this.imagePath_},e.prototype.setImagePath=function(t){this.imagePath_=t},e.prototype.getImageSizes=function(){return this.imageSizes_},e.prototype.setImageSizes=function(t){this.imageSizes_=t},e.prototype.getCalculator=function(){return this.calculator_},e.prototype.setCalculator=function(t){this.calculator_=t},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},e.prototype.setBatchSizeIE=function(t){this.batchSizeIE_=t},e.prototype.getClusterClass=function(){return this.clusterClass_},e.prototype.setClusterClass=function(t){this.clusterClass_=t},e.prototype.getMarkers=function(){return this.markers_},e.prototype.getTotalMarkers=function(){return this.markers_.length},e.prototype.getClusters=function(){return this.clusters_},e.prototype.getTotalClusters=function(){return this.clusters_.length},e.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw_()},e.prototype.addMarkers=function(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.pushMarkerTo_(t[r]);e||this.redraw_()},e.prototype.pushMarkerTo_=function(t){var e=this;t.getDraggable()&&google.maps.event.addListener(t,"dragend",(function(){e.ready_&&(t.isAdded=!1,e.repaint())})),t.isAdded=!1,this.markers_.push(t)},e.prototype.removeMarker=function(t,e){var r=this.removeMarker_(t);return!e&&r&&this.repaint(),r},e.prototype.removeMarkers=function(t,e){for(var r=!1,n=0;n<t.length;n++){var i=this.removeMarker_(t[n]);r=r||i}return!e&&r&&this.repaint(),r},e.prototype.removeMarker_=function(t){var e=-1;if(this.markers_.indexOf)e=this.markers_.indexOf(t);else for(var r=0;r<this.markers_.length;r++)if(t===this.markers_[r]){e=r;break}return-1!==e&&(t.setMap(null),this.markers_.splice(e,1),!0)},e.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]},e.prototype.repaint=function(){var t=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout((function(){for(var e=0;e<t.length;e++)t[e].remove()}),0)},e.prototype.getExtendedBounds=function(t){var e=this.getProjection(),r=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),n=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),i=e.fromLatLngToDivPixel(r);i.x+=this.gridSize_,i.y-=this.gridSize_;var o=e.fromLatLngToDivPixel(n);o.x-=this.gridSize_,o.y+=this.gridSize_;var s=e.fromDivPixelToLatLng(i),a=e.fromDivPixelToLatLng(o);return t.extend(s),t.extend(a),t},e.prototype.redraw_=function(){this.createClusters_(0)},e.prototype.resetViewport_=function(t){for(var e=0;e<this.clusters_.length;e++)this.clusters_[e].remove();this.clusters_=[];for(e=0;e<this.markers_.length;e++){var r=this.markers_[e];r.isAdded=!1,t&&r.setMap(null)}},e.prototype.distanceBetweenPoints_=function(t,e){var r=(e.lat()-t.lat())*Math.PI/180,n=(e.lng()-t.lng())*Math.PI/180,i=Math.sin(r/2)*Math.sin(r/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(n/2)*Math.sin(n/2);return 6371*(2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i)))},e.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},e.prototype.addToClosestCluster_=function(t){for(var e=4e4,r=null,n=0;n<this.clusters_.length;n++){var i,o=(i=this.clusters_[n]).getCenter();if(o){var s=this.distanceBetweenPoints_(o,t.getPosition());s<e&&(e=s,r=i)}}r&&r.isMarkerInClusterBounds(t)?r.addMarker(t):((i=new Mi(this)).addMarker(t),this.clusters_.push(i))},e.prototype.createClusters_=function(t){var e=this;if(this.ready_){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var r=new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()),n=this.getExtendedBounds(r),i=Math.min(t+this.batchSize_,this.markers_.length),o=t;o<i;o++){var s=this.markers_[o];!s.isAdded&&this.isMarkerInBounds_(s,n)&&(!this.ignoreHidden_||this.ignoreHidden_&&s.getVisible())&&this.addToClosestCluster_(s)}if(i<this.markers_.length)this.timerRefStatic=window.setTimeout((function(){e.createClusters_(i)}),0);else{delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this);for(o=0;o<this.clusters_.length;o++)this.clusters_[o].updateIcon()}}},e.CALCULATOR=function(t,e){for(var r=0,n=t.length,i=n;0!==i;)i=Math.floor(i/10),r++;return r=Math.min(r,e),{text:n.toString(),index:r,title:""}},e.withDefaultStyle=function(t){return Xr({textColor:"black",textSize:11,textDecoration:"none",textLineHeight:t.height,fontWeight:"bold",fontStyle:"normal",fontFamily:"Arial,sans-serif",backgroundPosition:"0 0"},t)},e.BATCH_SIZE=2e3,e.BATCH_SIZE_IE=500,e.IMAGE_PATH="../images/m",e.IMAGE_EXTENSION="png",e.IMAGE_SIZES=[53,56,66,78,90],e}(vi)})); | ||
//# sourceMappingURL=index.umd.js.map |
{ | ||
"name": "@googlemaps/markerclustererplus", | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"description": "Creates and manages per-zoom-level clusters for large amounts of markers.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package