PageSourceSearch

https://www.belfor.com/us/wp-content/plugins/ds-locations/js/vendo…/markerclusterer.min.js?ver=0.1.0

js belfor.com collected 2026-10-03 22:02:29 UTC 62,633 bytes, 2,210 lines download raw bytes

1const markerClusterer = function(t) {
2  "use strict";
3
4  function e(t, e) {
5    if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
6  }
7
8  function r(t, e) {
9    for (var r = 0; r < e.length; r++) {
10      var n = e[r];
11      n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, n.key, n)
12    }
13  }
14
15  function n(t, e, n) {
16    return e && r(t.prototype, e), n && r(t, n), t
17  }
18
19  function o(t, e) {
20    if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
21    t.prototype = Object.create(e && e.prototype, {
22      constructor: {
23        value: t,
24        writable: !0,
25        configurable: !0
26      }
27    }), e && a(t, e)
28  }
29
30  function i(t) {
31    return i = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
32      return t.__proto__ || Object.getPrototypeOf(t)
33    }, i(t)
34  }
35
36  function a(t, e) {
37    return a = Object.setPrototypeOf || function(t, e) {
38      return t.__proto__ = e, t
39    }, a(t, e)
40  }
41
42  function s(t, e) {
43    return !e || "object" != typeof e && "function" != typeof e ? function(t) {
44      if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
45      return t
46    }(t) : e
47  }
48
49  function u(t) {
50    var e = function() {
51      if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
52      if (Reflect.construct.sham) return !1;
53      if ("function" == typeof Proxy) return !0;
54      try {
55        return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0
56      } catch (t) {
57        return !1
58      }
59    }();
60    return function() {
61      var r, n = i(t);
62      if (e) {
63        var o = i(this).constructor;
64        r = Reflect.construct(n, arguments, o)
65      } else r = n.apply(this, arguments);
66      return s(this, r)
67    }
68  }
69
70  function c(t, e) {
71    return function(t) {
72      if (Array.isArray(t)) return t
73    }(t) || function(t, e) {
74      if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(t))) return;
75      var r = [],
76        n = !0,
77        o = !1,
78        i = void 0;
79      try {
80        for (var a, s = t[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !e || r.length !== e); n = !0);
81      } catch (t) {
82        o = !0, i = t
83      } finally {
84        try {
85          n || null == s.return || s.return()
86        } finally {
87          if (o) throw i
88        }
89      }
90      return r
91    }(t, e) || l(t, e) || function() {
92      throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
93    }()
94  }
95
96  function f(t) {
97    return function(t) {
98      if (Array.isArray(t)) return p(t)
99    }(t) || function(t) {
100      if ("undefined" != typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t)
101    }(t) || l(t) || function() {
102      throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
103    }()
104  }
105
106  function l(t, e) {
107    if (t) {
108      if ("string" == typeof t) return p(t, e);
109      var r = Object.prototype.toString.call(t).slice(8, -1);
110      return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? p(t, e) : void 0
111    }
112  }
113
114  function p(t, e) {
115    (null == e || e > t.length) && (e = t.length);
116    for (var r = 0, n = new Array(e); r < e; r++) n[r] = t[r];
117    return n
118  }
119  var h = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {},
120    m = function(t) {
121      return t && t.Math == Math && t
122    },
123    d = m("object" == typeof globalThis && globalThis) || m("object" == typeof window && window) || m("object" == typeof self && self) || m("object" == typeof h && h) || function() {
124      return this
125    }() || Function("return this")(),
126    g = {},
127    v = function(t) {
vendor: 10,662 bytes, lines 128-549
128      try {
129        return !!t()
130      } catch (t) {
131        return !0
132      }
133    },
134    y = !v((function() {
135      return 7 != Object.defineProperty({}, 1, {
136        get: function() {
137          return 7
138        }
139      })[1]
140    })),
141    b = !v((function() {
142      var t = function() {}.bind();
143      return "function" != typeof t || t.hasOwnProperty("prototype")
144    })),
145    w = b,
146    k = Function.prototype.call,
147    O = w ? k.bind(k) : function() {
148      return k.apply(k, arguments)
149    },
150    S = {},
151    x = {}.propertyIsEnumerable,
152    M = Object.getOwnPropertyDescriptor,
153    P = M && !x.call({
154      1: 2
155    }, 1);
156  S.f = P ? function(t) {
157    var e = M(this, t);
158    return !!e && e.enumerable
159  } : x;
160  var j, E, C = function(t, e) {
161      return {
162        enumerable: !(1 & t),
163        configurable: !(2 & t),
164        writable: !(4 & t),
165        value: e
166      }
167    },
168    _ = b,
169    L = Function.prototype,
170    T = L.bind,
171    I = L.call,
172    A = _ && T.bind(I, I),
173    N = _ ? function(t) {
174      return t && A(t)
175    } : function(t) {
176      return t && function() {
177        return I.apply(t, arguments)
178      }
179    },
180    z = N,
181    R = z({}.toString),
182    Z = z("".slice),
183    F = function(t) {
184      return Z(R(t), 8, -1)
185    },
186    D = v,
187    G = F,
188    V = Object,
189    B = N("".split),
190    U = D((function() {
191      return !V("z").propertyIsEnumerable(0)
192    })) ? function(t) {
193      return "String" == G(t) ? B(t, "") : V(t)
194    } : V,
195    W = function(t) {
196      return null == t
197    },
198    q = W,
199    X = TypeError,
200    H = function(t) {
201      if (q(t)) throw X("Can't call method on " + t);
202      return t
203    },
204    $ = U,
205    J = H,
206    K = function(t) {
207      return $(J(t))
208    },
209    Y = function(t) {
210      return "function" == typeof t
211    },
212    Q = Y,
213    tt = "object" == typeof document && document.all,
214    et = void 0 === tt && void 0 !== tt ? function(t) {
215      return "object" == typeof t ? null !== t : Q(t) || t === tt
216    } : function(t) {
217      return "object" == typeof t ? null !== t : Q(t)
218    },
219    rt = d,
220    nt = Y,
221    ot = function(t) {
222      return nt(t) ? t : void 0
223    },
224    it = function(t, e) {
225      return arguments.length < 2 ? ot(rt[t]) : rt[t] && rt[t][e]
226    },
227    at = N({}.isPrototypeOf),
228    st = d,
229    ut = it("navigator", "userAgent") || "",
230    ct = st.process,
231    ft = st.Deno,
232    lt = ct && ct.versions || ft && ft.version,
233    pt = lt && lt.v8;
234  pt && (E = (j = pt.split("."))[0] > 0 && j[0] < 4 ? 1 : +(j[0] + j[1])), !E && ut && (!(j = ut.match(/Edge\/(\d+)/)) || j[1] >= 74) && (j = ut.match(/Chrome\/(\d+)/)) && (E = +j[1]);
235  var ht = E,
236    mt = ht,
237    dt = v,
238    gt = !!Object.getOwnPropertySymbols && !dt((function() {
239      var t = Symbol();
240      return !String(t) || !(Object(t) instanceof Symbol) || !Symbol.sham && mt && mt < 41
241    })),
242    vt = gt && !Symbol.sham && "symbol" == typeof Symbol.iterator,
243    yt = it,
244    bt = Y,
245    wt = at,
246    kt = Object,
247    Ot = vt ? function(t) {
248      return "symbol" == typeof t
249    } : function(t) {
250      var e = yt("Symbol");
251      return bt(e) && wt(e.prototype, kt(t))
252    },
253    St = String,
254    xt = function(t) {
255      try {
256        return St(t)
257      } catch (t) {
258        return "Object"
259      }
260    },
261    Mt = Y,
262    Pt = xt,
263    jt = TypeError,
264    Et = function(t) {
265      if (Mt(t)) return t;
266      throw jt(Pt(t) + " is not a function")
267    },
268    Ct = Et,
269    _t = W,
270    Lt = O,
271    Tt = Y,
272    It = et,
273    At = TypeError,
274    Nt = {
275      exports: {}
276    },
277    zt = d,
278    Rt = Object.defineProperty,
279    Zt = function(t, e) {
280      try {
281        Rt(zt, t, {
282          value: e,
283          configurable: !0,
284          writable: !0
285        })
286      } catch (r) {
287        zt[t] = e
288      }
289      return e
290    },
291    Ft = Zt,
292    Dt = "__core-js_shared__",
293    Gt = d[Dt] || Ft(Dt, {}),
294    Vt = Gt;
295  (Nt.exports = function(t, e) {
296    return Vt[t] || (Vt[t] = void 0 !== e ? e : {})
297  })("versions", []).push({
298    version: "3.25.0",
299    mode: "global",
300    copyright: "© 2014-2022 Denis Pushkarev (zloirock.ru)",
301    license: "https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE",
302    source: "https://github.com/zloirock/core-js"
303  });
304  var Bt = H,
305    Ut = Object,
306    Wt = function(t) {
307      return Ut(Bt(t))
308    },
309    qt = Wt,
310    Xt = N({}.hasOwnProperty),
311    Ht = Object.hasOwn || function(t, e) {
312      return Xt(qt(t), e)
313    },
314    $t = N,
315    Jt = 0,
316    Kt = Math.random(),
317    Yt = $t(1..toString),
318    Qt = function(t) {
319      return "Symbol(" + (void 0 === t ? "" : t) + ")_" + Yt(++Jt + Kt, 36)
320    },
321    te = d,
322    ee = Nt.exports,
323    re = Ht,
324    ne = Qt,
325    oe = gt,
326    ie = vt,
327    ae = ee("wks"),
328    se = te.Symbol,
329    ue = se && se.for,
330    ce = ie ? se : se && se.withoutSetter || ne,
331    fe = function(t) {
332      if (!re(ae, t) || !oe && "string" != typeof ae[t]) {
333        var e = "Symbol." + t;
334        oe && re(se, t) ? ae[t] = se[t] : ae[t] = ie && ue ? ue(e) : ce(e)
335      }
336      return ae[t]
337    },
338    le = O,
339    pe = et,
340    he = Ot,
341    me = function(t, e) {
342      var r = t[e];
343      return _t(r) ? void 0 : Ct(r)
344    },
345    de = function(t, e) {
346      var r, n;
347      if ("string" === e && Tt(r = t.toString) && !It(n = Lt(r, t))) return n;
348      if (Tt(r = t.valueOf) && !It(n = Lt(r, t))) return n;
349      if ("string" !== e && Tt(r = t.toString) && !It(n = Lt(r, t))) return n;
350      throw At("Can't convert object to primitive value")
351    },
352    ge = TypeError,
353    ve = fe("toPrimitive"),
354    ye = function(t, e) {
355      if (!pe(t) || he(t)) return t;
356      var r, n = me(t, ve);
357      if (n) {
358        if (void 0 === e && (e = "default"), r = le(n, t, e), !pe(r) || he(r)) return r;
359        throw ge("Can't convert object to primitive value")
360      }
361      return void 0 === e && (e = "number"), de(t, e)
362    },
363    be = ye,
364    we = Ot,
365    ke = function(t) {
366      var e = be(t, "string");
367      return we(e) ? e : e + ""
368    },
369    Oe = et,
370    Se = d.document,
371    xe = Oe(Se) && Oe(Se.createElement),
372    Me = function(t) {
373      return xe ? Se.createElement(t) : {}
374    },
375    Pe = Me,
376    je = !y && !v((function() {
377      return 7 != Object.defineProperty(Pe("div"), "a", {
378        get: function() {
379          return 7
380        }
381      }).a
382    })),
383    Ee = y,
384    Ce = O,
385    _e = S,
386    Le = C,
387    Te = K,
388    Ie = ke,
389    Ae = Ht,
390    Ne = je,
391    ze = Object.getOwnPropertyDescriptor;
392  g.f = Ee ? ze : function(t, e) {
393    if (t = Te(t), e = Ie(e), Ne) try {
394      return ze(t, e)
395    } catch (t) {}
396    if (Ae(t, e)) return Le(!Ce(_e.f, t, e), t[e])
397  };
398  var Re = {},
399    Ze = y && v((function() {
400      return 42 != Object.defineProperty((function() {}), "prototype", {
401        value: 42,
402        writable: !1
403      }).prototype
404    })),
405    Fe = et,
406    De = String,
407    Ge = TypeError,
408    Ve = function(t) {
409      if (Fe(t)) return t;
410      throw Ge(De(t) + " is not an object")
411    },
412    Be = y,
413    Ue = je,
414    We = Ze,
415    qe = Ve,
416    Xe = ke,
417    He = TypeError,
418    $e = Object.defineProperty,
419    Je = Object.getOwnPropertyDescriptor,
420    Ke = "enumerable",
421    Ye = "configurable",
422    Qe = "writable";
423  Re.f = Be ? We ? function(t, e, r) {
424    if (qe(t), e = Xe(e), qe(r), "function" == typeof t && "prototype" === e && "value" in r && Qe in r && !r.writable) {
425      var n = Je(t, e);
426      n && n.writable && (t[e] = r.value, r = {
427        configurable: Ye in r ? r.configurable : n.configurable,
428        enumerable: Ke in r ? r.enumerable : n.enumerable,
429        writable: !1
430      })
431    }
432    return $e(t, e, r)
433  } : $e : function(t, e, r) {
434    if (qe(t), e = Xe(e), qe(r), Ue) try {
435      return $e(t, e, r)
436    } catch (t) {}
437    if ("get" in r || "set" in r) throw He("Accessors not supported");
438    return "value" in r && (t[e] = r.value), t
439  };
440  var tr = Re,
441    er = C,
442    rr = y ? function(t, e, r) {
443      return tr.f(t, e, er(1, r))
444    } : function(t, e, r) {
445      return t[e] = r, t
446    },
447    nr = {
448      exports: {}
449    },
450    or = y,
451    ir = Ht,
452    ar = Function.prototype,
453    sr = or && Object.getOwnPropertyDescriptor,
454    ur = ir(ar, "name"),
455    cr = {
456      EXISTS: ur,
457      PROPER: ur && "something" === function() {}.name,
458      CONFIGURABLE: ur && (!or || or && sr(ar, "name").configurable)
459    },
460    fr = Y,
461    lr = Gt,
462    pr = N(Function.toString);
463  fr(lr.inspectSource) || (lr.inspectSource = function(t) {
464    return pr(t)
465  });
466  var hr, mr, dr, gr = lr.inspectSource,
467    vr = Y,
468    yr = d.WeakMap,
469    br = vr(yr) && /native code/.test(String(yr)),
470    wr = Nt.exports,
471    kr = Qt,
472    Or = wr("keys"),
473    Sr = function(t) {
474      return Or[t] || (Or[t] = kr(t))
475    },
476    xr = {},
477    Mr = br,
478    Pr = d,
479    jr = N,
480    Er = et,
481    Cr = rr,
482    _r = Ht,
483    Lr = Gt,
484    Tr = Sr,
485    Ir = xr,
486    Ar = "Object already initialized",
487    Nr = Pr.TypeError,
488    zr = Pr.WeakMap;
489  if (Mr || Lr.state) {
490    var Rr = Lr.state || (Lr.state = new zr),
491      Zr = jr(Rr.get),
492      Fr = jr(Rr.has),
493      Dr = jr(Rr.set);
494    hr = function(t, e) {
495      if (Fr(Rr, t)) throw Nr(Ar);
496      return e.facade = t, Dr(Rr, t, e), e
497    }, mr = function(t) {
498      return Zr(Rr, t) || {}
499    }, dr = function(t) {
500      return Fr(Rr, t)
501    }
502  } else {
503    var Gr = Tr("state");
504    Ir[Gr] = !0, hr = function(t, e) {
505      if (_r(t, Gr)) throw Nr(Ar);
506      return e.facade = t, Cr(t, Gr, e), e
507    }, mr = function(t) {
508      return _r(t, Gr) ? t[Gr] : {}
509    }, dr = function(t) {
510      return _r(t, Gr)
511    }
512  }
513  var Vr = {
514      set: hr,
515      get: mr,
516      has: dr,
517      enforce: function(t) {
518        return dr(t) ? mr(t) : hr(t, {})
519      },
520      getterFor: function(t) {
521        return function(e) {
522          var r;
523          if (!Er(e) || (r = mr(e)).type !== t) throw Nr("Incompatible receiver, " + t + " required");
524          return r
525        }
526      }
527    },
528    Br = v,
529    Ur = Y,
530    Wr = Ht,
531    qr = y,
532    Xr = cr.CONFIGURABLE,
533    Hr = gr,
534    $r = Vr.enforce,
535    Jr = Vr.get,
536    Kr = Object.defineProperty,
537    Yr = qr && !Br((function() {
538      return 8 !== Kr((function() {}), "length", {
539        value: 8
540      }).length
541    })),
542    Qr = String(String).split("String"),
543    tn = nr.exports = function(t, e, r) {
544      "Symbol(" === String(e).slice(0, 7) && (e = "[" + String(e).replace(/^Symbol\(([^)]*)\)/, "$1") + "]"), r && r.getter && (e = "get " + e), r && r.setter && (e = "set " + e), (!Wr(t, "name") || Xr && t.name !== e) && (qr ? Kr(t, "name", {
545        value: e,
546        configurable: !0
547      }) : t.name = e), Yr && r && Wr(r, "arity") && t.length !== r.arity && Kr(t, "length", {
548        value: r.arity
549      });
vendor: 5,007 bytes, lines 550-741
550      try {
551        r && Wr(r, "constructor") && r.constructor ? qr && Kr(t, "prototype", {
552          writable: !1
553        }) : t.prototype && (t.prototype = void 0)
554      } catch (t) {}
555      var n = $r(t);
556      return Wr(n, "source") || (n.source = Qr.join("string" == typeof e ? e : "")), t
557    };
558  Function.prototype.toString = tn((function() {
559    return Ur(this) && Jr(this).source || Hr(this)
560  }), "toString");
561  var en = Y,
562    rn = Re,
563    nn = nr.exports,
564    on = Zt,
565    an = function(t, e, r, n) {
566      n || (n = {});
567      var o = n.enumerable,
568        i = void 0 !== n.name ? n.name : e;
569      if (en(r) && nn(r, i, n), n.global) o ? t[e] = r : on(e, r);
570      else {
571        try {
572          n.unsafe ? t[e] && (o = !0) : delete t[e]
573        } catch (t) {}
574        o ? t[e] = r : rn.f(t, e, {
575          value: r,
576          enumerable: !1,
577          configurable: !n.nonConfigurable,
578          writable: !n.nonWritable
579        })
580      }
581      return t
582    },
583    sn = {},
584    un = Math.ceil,
585    cn = Math.floor,
586    fn = Math.trunc || function(t) {
587      var e = +t;
588      return (e > 0 ? cn : un)(e)
589    },
590    ln = function(t) {
591      var e = +t;
592      return e != e || 0 === e ? 0 : fn(e)
593    },
594    pn = ln,
595    hn = Math.max,
596    mn = Math.min,
597    dn = function(t, e) {
598      var r = pn(t);
599      return r < 0 ? hn(r + e, 0) : mn(r, e)
600    },
601    gn = ln,
602    vn = Math.min,
603    yn = function(t) {
604      return t > 0 ? vn(gn(t), 9007199254740991) : 0
605    },
606    bn = function(t) {
607      return yn(t.length)
608    },
609    wn = K,
610    kn = dn,
611    On = bn,
612    Sn = function(t) {
613      return function(e, r, n) {
614        var o, i = wn(e),
615          a = On(i),
616          s = kn(n, a);
617        if (t && r != r) {
618          for (; a > s;)
619            if ((o = i[s++]) != o) return !0
620        } else
621          for (; a > s; s++)
622            if ((t || s in i) && i[s] === r) return t || s || 0;
623        return !t && -1
624      }
625    },
626    xn = {
627      includes: Sn(!0),
628      indexOf: Sn(!1)
629    },
630    Mn = Ht,
631    Pn = K,
632    jn = xn.indexOf,
633    En = xr,
634    Cn = N([].push),
635    _n = function(t, e) {
636      var r, n = Pn(t),
637        o = 0,
638        i = [];
639      for (r in n) !Mn(En, r) && Mn(n, r) && Cn(i, r);
640      for (; e.length > o;) Mn(n, r = e[o++]) && (~jn(i, r) || Cn(i, r));
641      return i
642    },
643    Ln = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"],
644    Tn = _n,
645    In = Ln.concat("length", "prototype");
646  sn.f = Object.getOwnPropertyNames || function(t) {
647    return Tn(t, In)
648  };
649  var An = {};
650  An.f = Object.getOwnPropertySymbols;
651  var Nn = it,
652    zn = sn,
653    Rn = An,
654    Zn = Ve,
655    Fn = N([].concat),
656    Dn = Nn("Reflect", "ownKeys") || function(t) {
657      var e = zn.f(Zn(t)),
658        r = Rn.f;
659      return r ? Fn(e, r(t)) : e
660    },
661    Gn = Ht,
662    Vn = Dn,
663    Bn = g,
664    Un = Re,
665    Wn = v,
666    qn = Y,
667    Xn = /#|\.prototype\./,
668    Hn = function(t, e) {
669      var r = Jn[$n(t)];
670      return r == Yn || r != Kn && (qn(e) ? Wn(e) : !!e)
671    },
672    $n = Hn.normalize = function(t) {
673      return String(t).replace(Xn, ".").toLowerCase()
674    },
675    Jn = Hn.data = {},
676    Kn = Hn.NATIVE = "N",
677    Yn = Hn.POLYFILL = "P",
678    Qn = Hn,
679    to = d,
680    eo = g.f,
681    ro = rr,
682    no = an,
683    oo = Zt,
684    io = function(t, e, r) {
685      for (var n = Vn(e), o = Un.f, i = Bn.f, a = 0; a < n.length; a++) {
686        var s = n[a];
687        Gn(t, s) || r && Gn(r, s) || o(t, s, i(e, s))
688      }
689    },
690    ao = Qn,
691    so = function(t, e) {
692      var r, n, o, i, a, s = t.target,
693        u = t.global,
694        c = t.stat;
695      if (r = u ? to : c ? to[s] || oo(s, {}) : (to[s] || {}).prototype)
696        for (n in e) {
697          if (i = e[n], o = t.dontCallGetSet ? (a = eo(r, n)) && a.value : r[n], !ao(u ? n : s + (c ? "." : "#") + n, t.forced) && void 0 !== o) {
698            if (typeof i == typeof o) continue;
699            io(i, o)
700          }(t.sham || o && o.sham) && ro(i, "sham", !0), no(r, n, i, t)
701        }
702    },
703    uo = Et,
704    co = b,
705    fo = N(N.bind),
706    lo = F,
707    po = Array.isArray || function(t) {
708      return "Array" == lo(t)
709    },
710    ho = {};
711  ho[fe("toStringTag")] = "z";
712  var mo = "[object z]" === String(ho),
713    go = mo,
714    vo = Y,
715    yo = F,
716    bo = fe("toStringTag"),
717    wo = Object,
718    ko = "Arguments" == yo(function() {
719      return arguments
720    }()),
721    Oo = go ? yo : function(t) {
722      var e, r, n;
723      return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof(r = function(t, e) {
724        try {
725          return t[e]
726        } catch (t) {}
727      }(e = wo(t), bo)) ? r : ko ? yo(e) : "Object" == (n = yo(e)) && vo(e.callee) ? "Arguments" : n
728    },
729    So = N,
730    xo = v,
731    Mo = Y,
732    Po = Oo,
733    jo = gr,
734    Eo = function() {},
735    Co = [],
736    _o = it("Reflect", "construct"),
737    Lo = /^\s*(?:class|function)\b/,
738    To = So(Lo.exec),
739    Io = !Lo.exec(Eo),
740    Ao = function(t) {
741      if (!Mo(t)) return !1;
vendor: 4,938 bytes, lines 742-939
742      try {
743        return _o(Eo, Co, t), !0
744      } catch (t) {
745        return !1
746      }
747    },
748    No = function(t) {
749      if (!Mo(t)) return !1;
750      switch (Po(t)) {
751        case "AsyncFunction":
752        case "GeneratorFunction":
753        case "AsyncGeneratorFunction":
754          return !1
755      }
756      try {
757        return Io || !!To(Lo, jo(t))
758      } catch (t) {
759        return !0
760      }
761    };
762  No.sham = !0;
763  var zo = !_o || xo((function() {
764      var t;
765      return Ao(Ao.call) || !Ao(Object) || !Ao((function() {
766        t = !0
767      })) || t
768    })) ? No : Ao,
769    Ro = po,
770    Zo = zo,
771    Fo = et,
772    Do = fe("species"),
773    Go = Array,
774    Vo = function(t) {
775      var e;
776      return Ro(t) && (e = t.constructor, (Zo(e) && (e === Go || Ro(e.prototype)) || Fo(e) && null === (e = e[Do])) && (e = void 0)), void 0 === e ? Go : e
777    },
778    Bo = function(t, e) {
779      return new(Vo(t))(0 === e ? 0 : e)
780    },
781    Uo = function(t, e) {
782      return uo(t), void 0 === e ? t : co ? fo(t, e) : function() {
783        return t.apply(e, arguments)
784      }
785    },
786    Wo = U,
787    qo = Wt,
788    Xo = bn,
789    Ho = Bo,
790    $o = N([].push),
791    Jo = function(t) {
792      var e = 1 == t,
793        r = 2 == t,
794        n = 3 == t,
795        o = 4 == t,
796        i = 6 == t,
797        a = 7 == t,
798        s = 5 == t || i;
799      return function(u, c, f, l) {
800        for (var p, h, m = qo(u), d = Wo(m), g = Uo(c, f), v = Xo(d), y = 0, b = l || Ho, w = e ? b(u, v) : r || a ? b(u, 0) : void 0; v > y; y++)
801          if ((s || y in d) && (h = g(p = d[y], y, m), t))
802            if (e) w[y] = h;
803            else if (h) switch (t) {
804              case 3:
805                return !0;
806              case 5:
807                return p;
808              case 6:
809                return y;
810              case 2:
811                $o(w, p)
812            } else switch (t) {
813              case 4:
814                return !1;
815              case 7:
816                $o(w, p)
817            }
818        return i ? -1 : n || o ? o : w
819      }
820    },
821    Ko = {
822      forEach: Jo(0),
823      map: Jo(1),
824      filter: Jo(2),
825      some: Jo(3),
826      every: Jo(4),
827      find: Jo(5),
828      findIndex: Jo(6),
829      filterReject: Jo(7)
830    },
831    Yo = v,
832    Qo = ht,
833    ti = fe("species"),
834    ei = function(t) {
835      return Qo >= 51 || !Yo((function() {
836        var e = [];
837        return (e.constructor = {})[ti] = function() {
838          return {
839            foo: 1
840          }
841        }, 1 !== e[t](Boolean).foo
842      }))
843    },
844    ri = Ko.map;
845
846  function ni(t, e) {
847    var r = {};
848    for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
849    if (null != t && "function" == typeof Object.getOwnPropertySymbols) {
850      var o = 0;
851      for (n = Object.getOwnPropertySymbols(t); o < n.length; o++) e.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[o]) && (r[n[o]] = t[n[o]])
852    }
853    return r
854  }
855  so({
856    target: "Array",
857    proto: !0,
858    forced: !ei("map")
859  }, {
860    map: function(t) {
861      return ri(this, t, arguments.length > 1 ? arguments[1] : void 0)
862    }
863  });
864  var oi = Et,
865    ii = Wt,
866    ai = U,
867    si = bn,
868    ui = TypeError,
869    ci = function(t) {
870      return function(e, r, n, o) {
871        oi(r);
872        var i = ii(e),
873          a = ai(i),
874          s = si(i),
875          u = t ? s - 1 : 0,
876          c = t ? -1 : 1;
877        if (n < 2)
878          for (;;) {
879            if (u in a) {
880              o = a[u], u += c;
881              break
882            }
883            if (u += c, t ? u < 0 : s <= u) throw ui("Reduce of empty array with no initial value")
884          }
885        for (; t ? u >= 0 : s > u; u += c) u in a && (o = r(o, a[u], u, i));
886        return o
887      }
888    },
889    fi = {
890      left: ci(!1),
891      right: ci(!0)
892    },
893    li = v,
894    pi = function(t, e) {
895      var r = [][t];
896      return !!r && li((function() {
897        r.call(null, e || function() {
898          return 1
899        }, 1)
900      }))
901    },
902    hi = "process" == F(d.process),
903    mi = fi.left,
904    di = ht,
905    gi = hi;
906  so({
907    target: "Array",
908    proto: !0,
909    forced: !pi("reduce") || !gi && di > 79 && di < 83
910  }, {
911    reduce: function(t) {
912      var e = arguments.length;
913      return mi(this, t, e, e > 1 ? arguments[1] : void 0)
914    }
915  });
916  var vi = Oo,
917    yi = mo ? {}.toString : function() {
918      return "[object " + vi(this) + "]"
919    };
920  mo || an(Object.prototype, "toString", yi, {
921    unsafe: !0
922  });
923  var bi = Ko.filter;
924  so({
925    target: "Array",
926    proto: !0,
927    forced: !ei("filter")
928  }, {
929    filter: function(t) {
930      return bi(this, t, arguments.length > 1 ? arguments[1] : void 0)
931    }
932  });
933  var wi = function() {
934      function t(r) {
935        var n = r.markers,
936          o = r.position;
937        e(this, t), this.markers = n, o && (o instanceof google.maps.LatLng ? this._position = o : this._position = new google.maps.LatLng(o))
938      }
939      return n(t, [{
940        key: "bounds",
941        get: function() {
942          if (0 !== this.markers.length || this._position) return this.markers.reduce((function(t, e) {
943            return t.extend(e.getPosition())
944          }), new google.maps.LatLngBounds(this._position, this._position))
945        }
946      }, {
947        key: "position",
948        get: function() {
949          return this._position || this.bounds.getCenter()
950        }
951      }, {
952        key: "count",
953        get: function() {
954          return this.markers.filter((function(t) {
955            return t.getVisible()
956          })).length
957        }
958      }, {
959        key: "push",
960        value: function(t) {
961          this.markers.push(t)
962        }
963      }, {
964        key: "delete",
965        value: function() {
966          this.marker && (this.marker.setMap(null), delete this.marker), this.markers.length = 0
967        }
968      }]), t
969    }(),
970    ki = function(t, e, r, n) {
971      var o = Oi(t.getBounds(), e, n);
972      return r.filter((function(t) {
973        return o.contains(t.getPosition())
974      }))
975    },
976    Oi = function(t, e, r) {
977      var n = xi(t, e),
978        o = n.northEast,
979        i = n.southWest,
980        a = Mi({
981          northEast: o,
982          southWest: i
983        }, r);
984      return Pi(a, e)
985    },
986    Si = function(t, e) {
987      var r = (e.lat - t.lat) * Math.PI / 180,
988        n = (e.lng - t.lng) * Math.PI / 180,
989        o = 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);
990      return 6371 * (2 * Math.atan2(Math.sqrt(o), Math.sqrt(1 - o)))
991    },
992    xi = function(t, e) {
993      return {
994        northEast: e.fromLatLngToDivPixel(t.getNorthEast()),
995        southWest: e.fromLatLngToDivPixel(t.getSouthWest())
996      }
997    },
998    Mi = function(t, e) {
999      var r = t.northEast,
1000        n = t.southWest;
1001      return r.x += e, r.y -= e, n.x -= e, n.y += e, {
1002        northEast: r,
1003        southWest: n
1004      }
1005    },
1006    Pi = function(t, e) {
1007      var r = t.northEast,
1008        n = t.southWest,
1009        o = new google.maps.LatLngBounds;
1010      return o.extend(e.fromDivPixelToLatLng(r)), o.extend(e.fromDivPixelToLatLng(n)), o
1011    },
1012    ji = function() {
1013      function t(r) {
1014        var n = r.maxZoom,
1015          o = void 0 === n ? 16 : n;
1016        e(this, t), this.maxZoom = o
1017      }
1018      return n(t, [{
1019        key: "noop",
1020        value: function(t) {
1021          var e = t.markers;
1022          return Ci(e)
1023        }
1024      }]), t
1025    }(),
1026    Ei = function(t) {
1027      o(i, t);
1028      var r = u(i);
1029
1030      function i(t) {
1031        var n;
1032        e(this, i);
1033        var o = t.viewportPadding,
1034          a = void 0 === o ? 60 : o,
1035          s = ni(t, ["viewportPadding"]);
1036        return (n = r.call(this, s)).viewportPadding = 60, n.viewportPadding = a, n
1037      }
1038      return n(i, [{
1039        key: "calculate",
1040        value: function(t) {
1041          var e = t.markers,
1042            r = t.map,
1043            n = t.mapCanvasProjection;
1044          return r.getZoom() >= this.maxZoom ? {
1045            clusters: this.noop({
1046              markers: e,
1047              map: r,
1048              mapCanvasProjection: n
1049            }),
1050            changed: !1
1051          } : {
1052            clusters: this.cluster({
1053              markers: ki(r, n, e, this.viewportPadding),
1054              map: r,
1055              mapCanvasProjection: n
1056            })
1057          }
1058        }
1059      }]), i
1060    }(ji),
1061    Ci = function(t) {
1062      return t.map((function(t) {
1063        return new wi({
1064          position: t.getPosition(),
1065          markers: [t]
1066        })
1067      }))
1068    },
1069    _i = Me("span").classList,
1070    Li = _i && _i.constructor && _i.constructor.prototype,
1071    Ti = Li === Object.prototype ? void 0 : Li,
1072    Ii = Ko.forEach,
1073    Ai = pi("forEach") ? [].forEach : function(t) {
1074      return Ii(this, t, arguments.length > 1 ? arguments[1] : void 0)
1075    },
1076    Ni = d,
1077    zi = {
1078      CSSRuleList: 0,
1079      CSSStyleDeclaration: 0,
1080      CSSValueList: 0,
1081      ClientRectList: 0,
1082      DOMRectList: 0,
1083      DOMStringList: 0,
1084      DOMTokenList: 1,
1085      DataTransferItemList: 0,
1086      FileList: 0,
1087      HTMLAllCollection: 0,
1088      HTMLCollection: 0,
1089      HTMLFormElement: 0,
1090      HTMLSelectElement: 0,
1091      MediaList: 0,
1092      MimeTypeArray: 0,
1093      NamedNodeMap: 0,
1094      NodeList: 1,
1095      PaintRequestList: 0,
1096      Plugin: 0,
1097      PluginArray: 0,
1098      SVGLengthList: 0,
1099      SVGNumberList: 0,
1100      SVGPathSegList: 0,
1101      SVGPointList: 0,
1102      SVGStringList: 0,
1103      SVGTransformList: 0,
1104      SourceBufferList: 0,
1105      StyleSheetList: 0,
1106      TextTrackCueList: 0,
1107      TextTrackList: 0,
1108      TouchList: 0
1109    },
1110    Ri = Ti,
1111    Zi = Ai,
1112    Fi = rr,
1113    Di = function(t) {
1114      if (t && t.forEach !== Zi) try {
1115        Fi(t, "forEach", Zi)
1116      } catch (e) {
1117        t.forEach = Zi
1118      }
1119    };
1120  for (var Gi in zi) zi[Gi] && Di(Ni[Gi] && Ni[Gi].prototype);
1121  Di(Ri);
1122  var Vi = O;
1123  so({
1124    target: "URL",
1125    proto: !0,
1126    enumerable: !0
1127  }, {
1128    toJSON: function() {
1129      return Vi(URL.prototype.toString, this)
1130    }
1131  });
1132  var Bi = function t(e, r) {
1133      if (e === r) return !0;
1134      if (e && r && "object" == typeof e && "object" == typeof r) {
1135        if (e.constructor !== r.constructor) return !1;
1136        var n, o, i;
1137        if (Array.isArray(e)) {
1138          if ((n = e.length) != r.length) return !1;
1139          for (o = n; 0 != o--;)
1140            if (!t(e[o], r[o])) return !1;
1141          return !0
1142        }
1143        if (e.constructor === RegExp) return e.source === r.source && e.flags === r.flags;
1144        if (e.valueOf !== Object.prototype.valueOf) return e.valueOf() === r.valueOf();
1145        if (e.toString !== Object.prototype.toString) return e.toString() === r.toString();
1146        if ((n = (i = Object.keys(e)).length) !== Object.keys(r).length) return !1;
1147        for (o = n; 0 != o--;)
1148          if (!Object.prototype.hasOwnProperty.call(r, i[o])) return !1;
1149        for (o = n; 0 != o--;) {
1150          var a = i[o];
1151          if (!t(e[a], r[a])) return !1
1152        }
1153        return !0
1154      }
1155      return e != e && r != r
1156    },
1157    Ui = function(t) {
1158      o(i, t);
1159      var r = u(i);
1160
1161      function i(t) {
1162        var n;
1163        e(this, i);
1164        var o = t.maxDistance,
1165          a = void 0 === o ? 4e4 : o,
1166          s = t.gridSize,
1167          u = void 0 === s ? 40 : s,
1168          c = ni(t, ["maxDistance", "gridSize"]);
1169        return (n = r.call(this, c)).clusters = [], n.maxDistance = a, n.gridSize = u, n.state = {
1170          zoom: null
1171        }, n
1172      }
1173      return n(i, [{
1174        key: "calculate",
1175        value: function(t) {
1176          var e = t.markers,
1177            r = t.map,
1178            n = t.mapCanvasProjection,
1179            o = {
1180              zoom: r.getZoom()
1181            },
1182            i = !1;
1183          return this.state.zoom > this.maxZoom && o.zoom > this.maxZoom || (i = !Bi(this.state, o)), this.state = o, r.getZoom() >= this.maxZoom ? {
1184            clusters: this.noop({
1185              markers: e,
1186              map: r,
1187              mapCanvasProjection: n
1188            }),
1189            changed: i
1190          } : {
1191            clusters: this.cluster({
1192              markers: ki(r, n, e, this.viewportPadding),
1193              map: r,
1194              mapCanvasProjection: n
1195            })
1196          }
1197        }
1198      }, {
1199        key: "cluster",
1200        value: function(t) {
1201          var e = this,
1202            r = t.markers,
1203            n = t.map,
1204            o = t.mapCanvasProjection;
1205          return this.clusters = [], r.forEach((function(t) {
1206            e.addToClosestCluster(t, n, o)
1207          })), this.clusters
1208        }
1209      }, {
1210        key: "addToClosestCluster",
1211        value: function(t, e, r) {
1212          for (var n = this.maxDistance, o = null, i = 0; i < this.clusters.length; i++) {
1213            var a = this.clusters[i],
1214              s = Si(a.bounds.getCenter().toJSON(), t.getPosition().toJSON());
1215            s < n && (n = s, o = a)
1216          }
1217          if (o && Oi(o.bounds, r, this.gridSize).contains(t.getPosition())) o.push(t);
1218          else {
1219            var u = new wi({
1220              markers: [t]
1221            });
1222            this.clusters.push(u)
1223          }
1224        }
1225      }]), i
1226    }(Ei),
1227    Wi = function(t) {
1228      o(i, t);
1229      var r = u(i);
1230
1231      function i(t) {
1232        e(this, i);
1233        var n = ni(t, []);
1234        return r.call(this, n)
1235      }
1236      return n(i, [{
1237        key: "calculate",
1238        value: function(t) {
1239          var e = t.markers,
1240            r = t.map,
1241            n = t.mapCanvasProjection;
1242          return {
1243            clusters: this.cluster({
1244              markers: e,
1245              map: r,
1246              mapCanvasProjection: n
1247            }),
1248            changed: !1
1249          }
1250        }
1251      }, {
1252        key: "cluster",
1253        value: function(t) {
1254          return this.noop(t)
1255        }
1256      }]), i
1257    }(ji),
1258    qi = _n,
1259    Xi = Ln,
1260    Hi = Object.keys || function(t) {
1261      return qi(t, Xi)
1262    },
1263    $i = y,
1264    Ji = N,
1265    Ki = O,
1266    Yi = v,
1267    Qi = Hi,
1268    ta = An,
1269    ea = S,
1270    ra = Wt,
1271    na = U,
1272    oa = Object.assign,
1273    ia = Object.defineProperty,
1274    aa = Ji([].concat),
1275    sa = !oa || Yi((function() {
1276      if ($i && 1 !== oa({
1277        b: 1
1278      }, oa(ia({}, "a", {
1279        enumerable: !0,
1280        get: function() {
1281          ia(this, "b", {
1282            value: 3,
1283            enumerable: !1
1284          })
1285        }
1286      }), {
1287        b: 2
1288      })).b) return !0;
1289      var t = {},
1290        e = {},
1291        r = Symbol(),
1292        n = "abcdefghijklmnopqrst";
1293      return t[r] = 7, n.split("").forEach((function(t) {
1294        e[t] = t
1295      })), 7 != oa({}, t)[r] || Qi(oa({}, e)).join("") != n
1296    })) ? function(t, e) {
1297      for (var r = ra(t), n = arguments.length, o = 1, i = ta.f, a = ea.f; n > o;)
1298        for (var s, u = na(arguments[o++]), c = i ? aa(Qi(u), i(u)) : Qi(u), f = c.length, l = 0; f > l;) s = c[l++], $i && !Ki(a, u, s) || (r[s] = u[s]);
1299      return r
1300    } : oa,
1301    ua = sa;
1302  so({
1303    target: "Object",
1304    stat: !0,
1305    arity: 2,
1306    forced: Object.assign !== ua
1307  }, {
1308    assign: ua
1309  });
1310  var ca = {
1311    exports: {}
1312  };
1313  ca.exports = function() {
1314    function t(r, n, o, i, a, s) {
1315      if (!(a - i <= o)) {
1316        var u = i + a >> 1;
1317        e(r, n, u, i, a, s % 2), t(r, n, o, i, u - 1, s + 1), t(r, n, o, u + 1, a, s + 1)
1318      }
1319    }
1320
1321    function e(t, n, o, i, a, s) {
1322      for (; a > i;) {
1323        if (a - i > 600) {
1324          var u = a - i + 1,
1325            c = o - i + 1,
1326            f = Math.log(u),
1327            l = .5 * Math.exp(2 * f / 3),
1328            p = .5 * Math.sqrt(f * l * (u - l) / u) * (c - u / 2 < 0 ? -1 : 1);
1329          e(t, n, o, Math.max(i, Math.floor(o - c * l / u + p)), Math.min(a, Math.floor(o + (u - c) * l / u + p)), s)
1330        }
1331        var h = n[2 * o + s],
1332          m = i,
1333          d = a;
1334        for (r(t, n, i, o), n[2 * a + s] > h && r(t, n, i, a); m < d;) {
1335          for (r(t, n, m, d), m++, d--; n[2 * m + s] < h;) m++;
1336          for (; n[2 * d + s] > h;) d--
1337        }
1338        n[2 * i + s] === h ? r(t, n, i, d) : r(t, n, ++d, a), d <= o && (i = d + 1), o <= d && (a = d - 1)
1339      }
1340    }
1341
1342    function r(t, e, r, o) {
1343      n(t, r, o), n(e, 2 * r, 2 * o), n(e, 2 * r + 1, 2 * o + 1)
1344    }
1345
1346    function n(t, e, r) {
1347      var n = t[e];
1348      t[e] = t[r], t[r] = n
1349    }
1350
1351    function o(t, e, r, n, o, i, a) {
1352      for (var s, u, c = [0, t.length - 1, 0], f = []; c.length;) {
1353        var l = c.pop(),
1354          p = c.pop(),
1355          h = c.pop();
1356        if (p - h <= a)
1357          for (var m = h; m <= p; m++) s = e[2 * m], u = e[2 * m + 1], s >= r && s <= o && u >= n && u <= i && f.push(t[m]);
1358        else {
1359          var d = Math.floor((h + p) / 2);
1360          s = e[2 * d], u = e[2 * d + 1], s >= r && s <= o && u >= n && u <= i && f.push(t[d]);
1361          var g = (l + 1) % 2;
1362          (0 === l ? r <= s : n <= u) && (c.push(h), c.push(d - 1), c.push(g)), (0 === l ? o >= s : i >= u) && (c.push(d + 1), c.push(p), c.push(g))
1363        }
1364      }
1365      return f
1366    }
1367
1368    function i(t, e, r, n, o, i) {
1369      for (var s = [0, t.length - 1, 0], u = [], c = o * o; s.length;) {
1370        var f = s.pop(),
1371          l = s.pop(),
1372          p = s.pop();
1373        if (l - p <= i)
1374          for (var h = p; h <= l; h++) a(e[2 * h], e[2 * h + 1], r, n) <= c && u.push(t[h]);
1375        else {
1376          var m = Math.floor((p + l) / 2),
1377            d = e[2 * m],
1378            g = e[2 * m + 1];
1379          a(d, g, r, n) <= c && u.push(t[m]);
1380          var v = (f + 1) % 2;
1381          (0 === f ? r - o <= d : n - o <= g) && (s.push(p), s.push(m - 1), s.push(v)), (0 === f ? r + o >= d : n + o >= g) && (s.push(m + 1), s.push(l), s.push(v))
1382        }
1383      }
1384      return u
1385    }
1386
1387    function a(t, e, r, n) {
1388      var o = t - r,
1389        i = e - n;
1390      return o * o + i * i
1391    }
1392    var s = function(t) {
1393        return t[0]
1394      },
1395      u = function(t) {
1396        return t[1]
1397      },
1398      c = function(e, r, n, o, i) {
1399        void 0 === r && (r = s), void 0 === n && (n = u), void 0 === o && (o = 64), void 0 === i && (i = Float64Array), this.nodeSize = o, this.points = e;
1400        for (var a = e.length < 65536 ? Uint16Array : Uint32Array, c = this.ids = new a(e.length), f = this.coords = new i(2 * e.length), l = 0; l < e.length; l++) c[l] = l, f[2 * l] = r(e[l]), f[2 * l + 1] = n(e[l]);
1401        t(c, f, o, 0, c.length - 1, 0)
1402      };
1403    return c.prototype.range = function(t, e, r, n) {
1404      return o(this.ids, this.coords, t, e, r, n, this.nodeSize)
1405    }, c.prototype.within = function(t, e, r) {
1406      return i(this.ids, this.coords, t, e, r, this.nodeSize)
1407    }, c
1408  }();
1409  var fa = ca.exports;
1410  const la = {
1411      minZoom: 0,
1412      maxZoom: 16,
1413      minPoints: 2,
1414      radius: 40,
1415      extent: 512,
1416      nodeSize: 64,
1417      log: !1,
1418      generateId: !1,
1419      reduce: null,
1420      map: t => t
1421    },
1422    pa = Math.fround || (ha = new Float32Array(1), t => (ha[0] = +t, ha[0]));
1423  var ha;
1424  class ma {
1425    constructor(t) {
1426      this.options = Oa(Object.create(la), t), this.trees = new Array(this.options.maxZoom + 1)
1427    }
1428    load(t) {
1429      const {
1430        log: e,
1431        minZoom: r,
1432        maxZoom: n,
1433        nodeSize: o
1434      } = this.options;
1435      e && console.time("total time");
1436      const i = `prepare ${t.length} points`;
1437      e && console.time(i), this.points = t;
1438      let a = [];
1439      for (let e = 0; e < t.length; e++) t[e].geometry && a.push(ga(t[e], e));
1440      this.trees[n + 1] = new fa(a, Sa, xa, o, Float32Array), e && console.timeEnd(i);
1441      for (let t = n; t >= r; t--) {
1442        const r = +Date.now();
1443        a = this._cluster(a, t), this.trees[t] = new fa(a, Sa, xa, o, Float32Array), e && console.log("z%d: %d clusters in %dms", t, a.length, +Date.now() - r)
1444      }
1445      return e && console.timeEnd("total time"), this
1446    }
1447    getClusters(t, e) {
1448      let r = ((t[0] + 180) % 360 + 360) % 360 - 180;
1449      const n = Math.max(-90, Math.min(90, t[1]));
1450      let o = 180 === t[2] ? 180 : ((t[2] + 180) % 360 + 360) % 360 - 180;
1451      const i = Math.max(-90, Math.min(90, t[3]));
1452      if (t[2] - t[0] >= 360) r = -180, o = 180;
1453      else if (r > o) {
1454        const t = this.getClusters([r, n, 180, i], e),
1455          a = this.getClusters([-180, n, o, i], e);
1456        return t.concat(a)
1457      }
1458      const a = this.trees[this._limitZoom(e)],
1459        s = a.range(ba(r), wa(i), ba(o), wa(n)),
1460        u = [];
1461      for (const t of s) {
1462        const e = a.points[t];
1463        u.push(e.numPoints ? va(e) : this.points[e.index])
1464      }
1465      return u
1466    }
1467    getChildren(t) {
1468      const e = this._getOriginId(t),
1469        r = this._getOriginZoom(t),
1470        n = "No cluster with the specified id.",
1471        o = this.trees[r];
1472      if (!o) throw new Error(n);
1473      const i = o.points[e];
1474      if (!i) throw new Error(n);
1475      const a = this.options.radius / (this.options.extent * Math.pow(2, r - 1)),
1476        s = o.within(i.x, i.y, a),
1477        u = [];
1478      for (const e of s) {
1479        const r = o.points[e];
1480        r.parentId === t && u.push(r.numPoints ? va(r) : this.points[r.index])
1481      }
1482      if (0 === u.length) throw new Error(n);
1483      return u
1484    }
1485    getLeaves(t, e, r) {
1486      e = e || 10, r = r || 0;
1487      const n = [];
1488      return this._appendLeaves(n, t, e, r, 0), n
1489    }
1490    getTile(t, e, r) {
1491      const n = this.trees[this._limitZoom(t)],
1492        o = Math.pow(2, t),
1493        {
1494          extent: i,
1495          radius: a
1496        } = this.options,
1497        s = a / i,
1498        u = (r - s) / o,
1499        c = (r + 1 + s) / o,
1500        f = {
1501          features: []
1502        };
1503      return this._addTileFeatures(n.range((e - s) / o, u, (e + 1 + s) / o, c), n.points, e, r, o, f), 0 === e && this._addTileFeatures(n.range(1 - s / o, u, 1, c), n.points, o, r, o, f), e === o - 1 && this._addTileFeatures(n.range(0, u, s / o, c), n.points, -1, r, o, f), f.features.length ? f : null
1504    }
1505    getClusterExpansionZoom(t) {
1506      let e = this._getOriginZoom(t) - 1;
1507      for (; e <= this.options.maxZoom;) {
1508        const r = this.getChildren(t);
1509        if (e++, 1 !== r.length) break;
1510        t = r[0].properties.cluster_id
1511      }
1512      return e
1513    }
1514    _appendLeaves(t, e, r, n, o) {
1515      const i = this.getChildren(e);
1516      for (const e of i) {
1517        const i = e.properties;
1518        if (i && i.cluster ? o + i.point_count <= n ? o += i.point_count : o = this._appendLeaves(t, i.cluster_id, r, n, o) : o < n ? o++ : t.push(e), t.length === r) break
1519      }
1520      return o
1521    }
1522    _addTileFeatures(t, e, r, n, o, i) {
1523      for (const a of t) {
1524        const t = e[a],
1525          s = t.numPoints;
1526        let u, c, f;
vendor: 5,088 bytes, lines 1527-1719
1527        if (s) u = ya(t), c = t.x, f = t.y;
1528        else {
1529          const e = this.points[t.index];
1530          u = e.properties, c = ba(e.geometry.coordinates[0]), f = wa(e.geometry.coordinates[1])
1531        }
1532        const l = {
1533          type: 1,
1534          geometry: [
1535            [Math.round(this.options.extent * (c * o - r)), Math.round(this.options.extent * (f * o - n))]
1536          ],
1537          tags: u
1538        };
1539        let p;
1540        s ? p = t.id : this.options.generateId ? p = t.index : this.points[t.index].id && (p = this.points[t.index].id), void 0 !== p && (l.id = p), i.features.push(l)
1541      }
1542    }
1543    _limitZoom(t) {
1544      return Math.max(this.options.minZoom, Math.min(Math.floor(+t), this.options.maxZoom + 1))
1545    }
1546    _cluster(t, e) {
1547      const r = [],
1548        {
1549          radius: n,
1550          extent: o,
1551          reduce: i,
1552          minPoints: a
1553        } = this.options,
1554        s = n / (o * Math.pow(2, e));
1555      for (let n = 0; n < t.length; n++) {
1556        const o = t[n];
1557        if (o.zoom <= e) continue;
1558        o.zoom = e;
1559        const u = this.trees[e + 1],
1560          c = u.within(o.x, o.y, s),
1561          f = o.numPoints || 1;
1562        let l = f;
1563        for (const t of c) {
1564          const r = u.points[t];
1565          r.zoom > e && (l += r.numPoints || 1)
1566        }
1567        if (l > f && l >= a) {
1568          let t = o.x * f,
1569            a = o.y * f,
1570            s = i && f > 1 ? this._map(o, !0) : null;
1571          const p = (n << 5) + (e + 1) + this.points.length;
1572          for (const r of c) {
1573            const n = u.points[r];
1574            if (n.zoom <= e) continue;
1575            n.zoom = e;
1576            const c = n.numPoints || 1;
1577            t += n.x * c, a += n.y * c, n.parentId = p, i && (s || (s = this._map(o, !0)), i(s, this._map(n)))
1578          }
1579          o.parentId = p, r.push(da(t / l, a / l, p, l, s))
1580        } else if (r.push(o), l > 1)
1581          for (const t of c) {
1582            const n = u.points[t];
1583            n.zoom <= e || (n.zoom = e, r.push(n))
1584          }
1585      }
1586      return r
1587    }
1588    _getOriginId(t) {
1589      return t - this.points.length >> 5
1590    }
1591    _getOriginZoom(t) {
1592      return (t - this.points.length) % 32
1593    }
1594    _map(t, e) {
1595      if (t.numPoints) return e ? Oa({}, t.properties) : t.properties;
1596      const r = this.points[t.index].properties,
1597        n = this.options.map(r);
1598      return e && n === r ? Oa({}, n) : n
1599    }
1600  }
1601
1602  function da(t, e, r, n, o) {
1603    return {
1604      x: pa(t),
1605      y: pa(e),
1606      zoom: 1 / 0,
1607      id: r,
1608      parentId: -1,
1609      numPoints: n,
1610      properties: o
1611    }
1612  }
1613
1614  function ga(t, e) {
1615    const [r, n] = t.geometry.coordinates;
1616    return {
1617      x: pa(ba(r)),
1618      y: pa(wa(n)),
1619      zoom: 1 / 0,
1620      index: e,
1621      parentId: -1
1622    }
1623  }
1624
1625  function va(t) {
1626    return {
1627      type: "Feature",
1628      id: t.id,
1629      properties: ya(t),
1630      geometry: {
1631        type: "Point",
1632        coordinates: [(e = t.x, 360 * (e - .5)), ka(t.y)]
1633      }
1634    };
1635    var e
1636  }
1637
1638  function ya(t) {
1639    const e = t.numPoints,
1640      r = e >= 1e4 ? `${Math.round(e/1e3)}k` : e >= 1e3 ? Math.round(e / 100) / 10 + "k" : e;
1641    return Oa(Oa({}, t.properties), {
1642      cluster: !0,
1643      cluster_id: t.id,
1644      point_count: e,
1645      point_count_abbreviated: r
1646    })
1647  }
1648
1649  function ba(t) {
1650    return t / 360 + .5
1651  }
1652
1653  function wa(t) {
1654    const e = Math.sin(t * Math.PI / 180),
1655      r = .5 - .25 * Math.log((1 + e) / (1 - e)) / Math.PI;
1656    return r < 0 ? 0 : r > 1 ? 1 : r
1657  }
1658
1659  function ka(t) {
1660    const e = (180 - 360 * t) * Math.PI / 180;
1661    return 360 * Math.atan(Math.exp(e)) / Math.PI - 90
1662  }
1663
1664  function Oa(t, e) {
1665    for (const r in e) t[r] = e[r];
1666    return t
1667  }
1668
1669  function Sa(t) {
1670    return t.x
1671  }
1672
1673  function xa(t) {
1674    return t.y
1675  }
1676  var Ma = function(t) {
1677      o(i, t);
1678      var r = u(i);
1679
1680      function i(t) {
1681        var n;
1682        e(this, i);
1683        var o = t.maxZoom,
1684          a = t.radius,
1685          s = void 0 === a ? 60 : a,
1686          u = ni(t, ["maxZoom", "radius"]);
1687        return (n = r.call(this, {
1688          maxZoom: o
1689        })).superCluster = new ma(Object.assign({
1690          maxZoom: n.maxZoom,
1691          radius: s
1692        }, u)), n.state = {
1693          zoom: null
1694        }, n
1695      }
1696      return n(i, [{
1697        key: "calculate",
1698        value: function(t) {
1699          var e = !1;
1700          if (!Bi(t.markers, this.markers)) {
1701            e = !0, this.markers = f(t.markers);
1702            var r = this.markers.map((function(t) {
1703              return {
1704                type: "Feature",
1705                geometry: {
1706                  type: "Point",
1707                  coordinates: [t.getPosition().lng(), t.getPosition().lat()]
1708                },
1709                properties: {
1710                  marker: t
1711                }
1712              }
1713            }));
1714            this.superCluster.load(r)
1715          }
1716          var n = {
1717            zoom: t.map.getZoom()
1718          };
1719          return e || this.state.zoom > this.maxZoom && n.zoom > this.maxZoom || (e = e || !Bi(this.state, n)), this.state = n, e && (this.cluster
1719s = this.cluster(t)), {
1720            clusters: this.clusters,
1721            changed: e
1722          }
1723        }
1724      }, {
1725        key: "cluster",
1726        value: function(t) {
1727          var e = t.map;
1728          return this.superCluster.getClusters([-180, -90, 180, 90], Math.round(e.getZoom())).map(this.transformCluster.bind(this))
1729        }
1730      }, {
1731        key: "transformCluster",
1732        value: function(t) {
1733          var e = c(t.geometry.coordinates, 2),
1734            r = e[0],
1735            n = e[1],
1736            o = t.properties;
1737          if (o.cluster) return new wi({
1738            markers: this.superCluster.getLeaves(o.cluster_id, 1 / 0).map((function(t) {
1739              return t.properties.marker
1740            })),
1741            position: new google.maps.LatLng({
1742              lat: n,
1743              lng: r
1744            })
1745          });
1746          var i = o.marker;
1747          return new wi({
1748            markers: [i],
1749            position: i.getPosition()
1750          })
1751        }
1752      }]), i
1753    }(ji),
1754    Pa = {},
1755    ja = y,
1756    Ea = Ze,
1757    Ca = Re,
1758    _a = Ve,
1759    La = K,
1760    Ta = Hi;
1761  Pa.f = ja && !Ea ? Object.defineProperties : function(t, e) {
1762    _a(t);
1763    for (var r, n = La(e), o = Ta(e), i = o.length, a = 0; i > a;) Ca.f(t, r = o[a++], n[r]);
1764    return t
1765  };
1766  var Ia, Aa = it("document", "documentElement"),
1767    Na = Ve,
1768    za = Pa,
1769    Ra = Ln,
1770    Za = xr,
1771    Fa = Aa,
1772    Da = Me,
1773    Ga = Sr("IE_PROTO"),
1774    Va = function() {},
1775    Ba = function(t) {
1776      return "<script>" + t + "</" + "script>"
1777    },
1778    Ua = function(t) {
1779      t.write(Ba("")), t.close();
1780      var e = t.parentWindow.Object;
1781      return t = null, e
1782    },
1783    Wa = function() {
1784      try {
1785        Ia = new ActiveXObject("htmlfile")
1786      } catch (t) {}
1787      var t, e;
1788      Wa = "undefined" != typeof document ? document.domain && Ia ? Ua(Ia) : ((e = Da("iframe")).style.display = "none", Fa.appendChild(e), e.src = String("javascript:"), (t = e.contentWindow.document).open(), t.write(Ba("document.F=Object")), t.close(), t.F) : Ua(Ia);
1789      for (var r = Ra.length; r--;) delete Wa.prototype[Ra[r]];
1790      return Wa()
1791    };
1792  Za[Ga] = !0;
1793  var qa = fe,
1794    Xa = Object.create || function(t, e) {
1795      var r;
1796      return null !== t ? (Va.prototype = Na(t), r = new Va, Va.prototype = null, r[Ga] = t) : r = Wa(), void 0 === e ? r : za.f(r, e)
1797    },
1798    Ha = Re.f,
1799    $a = qa("unscopables"),
1800    Ja = Array.prototype;
1801  null == Ja[$a] && Ha(Ja, $a, {
1802    configurable: !0,
1803    value: Xa(null)
1804  });
1805  var Ka = xn.includes,
1806    Ya = function(t) {
1807      Ja[$a][t] = !0
1808    };
1809  so({
1810    target: "Array",
1811    proto: !0,
1812    forced: v((function() {
1813      return !Array(1).includes()
1814    }))
1815  }, {
1816    includes: function(t) {
1817      return Ka(this, t, arguments.length > 1 ? arguments[1] : void 0)
1818    }
1819  }), Ya("includes");
1820  var Qa = et,
1821    ts = F,
1822    es = fe("match"),
1823    rs = function(t) {
1824      var e;
1825      return Qa(t) && (void 0 !== (e = t[es]) ? !!e : "RegExp" == ts(t))
1826    },
1827    ns = TypeError,
1828    os = Oo,
1829    is = String,
1830    as = function(t) {
1831      if ("Symbol" === os(t)) throw TypeError("Cannot convert a Symbol value to a string");
1832      return is(t)
1833    },
1834    ss = fe("match"),
1835    us = so,
1836    cs = function(t) {
1837      if (rs(t)) throw ns("The method doesn't accept regular expressions");
1838      return t
1839    },
1840    fs = H,
1841    ls = as,
1842    ps = function(t) {
1843      var e = /./;
vendor: 2,464 bytes, lines 1844-1939
1844      try {
1845        "/./" [t](e)
1846      } catch (r) {
1847        try {
1848          return e[ss] = !1, "/./" [t](e)
1849        } catch (t) {}
1850      }
1851      return !1
1852    },
1853    hs = N("".indexOf);
1854  us({
1855    target: "String",
1856    proto: !0,
1857    forced: !ps("includes")
1858  }, {
1859    includes: function(t) {
1860      return !!~hs(ls(fs(this)), ls(cs(t)), arguments.length > 1 ? arguments[1] : void 0)
1861    }
1862  });
1863  var ms = so,
1864    ds = xn.indexOf,
1865    gs = pi,
1866    vs = N([].indexOf),
1867    ys = !!vs && 1 / vs([1], 1, -0) < 0,
1868    bs = gs("indexOf");
1869  ms({
1870    target: "Array",
1871    proto: !0,
1872    forced: ys || !bs
1873  }, {
1874    indexOf: function(t) {
1875      var e = arguments.length > 1 ? arguments[1] : void 0;
1876      return ys ? vs(this, t, e) || 0 : ds(this, t, e)
1877    }
1878  });
1879  var ws = y,
1880    ks = po,
1881    Os = TypeError,
1882    Ss = Object.getOwnPropertyDescriptor,
1883    xs = ws && ! function() {
1884      if (void 0 !== this) return !0;
1885      try {
1886        Object.defineProperty([], "length", {
1887          writable: !1
1888        }).length = 1
1889      } catch (t) {
1890        return t instanceof TypeError
1891      }
1892    }(),
1893    Ms = TypeError,
1894    Ps = ke,
1895    js = Re,
1896    Es = C,
1897    Cs = xt,
1898    _s = TypeError,
1899    Ls = so,
1900    Ts = Wt,
1901    Is = dn,
1902    As = ln,
1903    Ns = bn,
1904    zs = xs ? function(t, e) {
1905      if (ks(t) && !Ss(t, "length").writable) throw Os("Cannot set read only .length");
1906      return t.length = e
1907    } : function(t, e) {
1908      return t.length = e
1909    },
1910    Rs = function(t) {
1911      if (t > 9007199254740991) throw Ms("Maximum allowed index exceeded");
1912      return t
1913    },
1914    Zs = Bo,
1915    Fs = function(t, e, r) {
1916      var n = Ps(e);
1917      n in t ? js.f(t, n, Es(0, r)) : t[n] = r
1918    },
1919    Ds = function(t, e) {
1920      if (!delete t[e]) throw _s("Cannot delete property " + Cs(e) + " of " + Cs(t))
1921    },
1922    Gs = ei("splice"),
1923    Vs = Math.max,
1924    Bs = Math.min;
1925  Ls({
1926    target: "Array",
1927    proto: !0,
1928    forced: !Gs
1929  }, {
1930    splice: function(t, e) {
1931      var r, n, o, i, a, s, u = Ts(this),
1932        c = Ns(u),
1933        f = Is(t, c),
1934        l = arguments.length;
1935      for (0 === l ? r = n = 0 : 1 === l ? (r = 0, n = c - f) : (r = l - 2, n = Bs(Vs(As(e), 0), c - f)), Rs(c + r - n), o = Zs(u, n), i = 0; i < n; i++)(a = f + i) in u && Fs(o, i, u[a]);
1936      if (o.length = n, r < n) {
1937        for (i = f; i < c - n; i++) s = i + r, (a = i + n) in u ? u[s] = u[a] : Ds(u, s);
1938        for (i = c; i > c - n + r; i--) Ds(u, i - 1)
1939      } else if (r >
vendor: 4,260 bytes, lines 1939-2081
1939 n)
1940        for (i = c - n; i > f; i--) s = i + r - 1, (a = i + n - 1) in u ? u[s] = u[a] : Ds(u, s);
1941      for (i = 0; i < r; i++) u[i + f] = arguments[i + 2];
1942      return zs(u, c - n + r), o
1943    }
1944  });
1945  var Us = Y,
1946    Ws = String,
1947    qs = TypeError,
1948    Xs = N,
1949    Hs = Ve,
1950    $s = function(t) {
1951      if ("object" == typeof t || Us(t)) return t;
1952      throw qs("Can't set " + Ws(t) + " as a prototype")
1953    },
1954    Js = Object.setPrototypeOf || ("__proto__" in {} ? function() {
1955      var t, e = !1,
1956        r = {};
1957      try {
1958        (t = Xs(Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set))(r, []), e = r instanceof Array
1959      } catch (t) {}
1960      return function(r, n) {
1961        return Hs(r), $s(n), e ? t(r, n) : r.__proto__ = n, r
1962      }
1963    }() : void 0),
1964    Ks = Y,
1965    Ys = et,
1966    Qs = Js,
1967    tu = N(1..valueOf),
1968    eu = H,
1969    ru = as,
1970    nu = N("".replace),
1971    ou = "[\t\n\v\f\r                 \u2028\u2029\ufeff]",
1972    iu = RegExp("^" + ou + ou + "*"),
1973    au = RegExp(ou + ou + "*$"),
1974    su = function(t) {
1975      return function(e) {
1976        var r = ru(eu(e));
1977        return 1 & t && (r = nu(r, iu, "")), 2 & t && (r = nu(r, au, "")), r
1978      }
1979    },
1980    uu = {
1981      start: su(1),
1982      end: su(2),
1983      trim: su(3)
1984    },
1985    cu = y,
1986    fu = d,
1987    lu = N,
1988    pu = Qn,
1989    hu = an,
1990    mu = Ht,
1991    du = function(t, e, r) {
1992      var n, o;
1993      return Qs && Ks(n = e.constructor) && n !== r && Ys(o = n.prototype) && o !== r.prototype && Qs(t, o), t
1994    },
1995    gu = at,
1996    vu = Ot,
1997    yu = ye,
1998    bu = v,
1999    wu = sn.f,
2000    ku = g.f,
2001    Ou = Re.f,
2002    Su = tu,
2003    xu = uu.trim,
2004    Mu = "Number",
2005    Pu = fu.Number,
2006    ju = Pu.prototype,
2007    Eu = fu.TypeError,
2008    Cu = lu("".slice),
2009    _u = lu("".charCodeAt),
2010    Lu = function(t) {
2011      var e = yu(t, "number");
2012      return "bigint" == typeof e ? e : Tu(e)
2013    },
2014    Tu = function(t) {
2015      var e, r, n, o, i, a, s, u, c = yu(t, "number");
2016      if (vu(c)) throw Eu("Cannot convert a Symbol value to a number");
2017      if ("string" == typeof c && c.length > 2)
2018        if (c = xu(c), 43 === (e = _u(c, 0)) || 45 === e) {
2019          if (88 === (r = _u(c, 2)) || 120 === r) return NaN
2020        } else if (48 === e) {
2021          switch (_u(c, 1)) {
2022            case 66:
2023            case 98:
2024              n = 2, o = 49;
2025              break;
2026            case 79:
2027            case 111:
2028              n = 8, o = 55;
2029              break;
2030            default:
2031              return +c
2032          }
2033          for (a = (i = Cu(c, 2)).length, s = 0; s < a; s++)
2034            if ((u = _u(i, s)) < 48 || u > o) return NaN;
2035          return parseInt(i, n)
2036        }
2037      return +c
2038    };
2039  if (pu(Mu, !Pu(" 0o1") || !Pu("0b1") || Pu("+0x1"))) {
2040    for (var Iu, Au = function(t) {
2041      var e = arguments.length < 1 ? 0 : Pu(Lu(t)),
2042        r = this;
2043      return gu(ju, r) && bu((function() {
2044        Su(r)
2045      })) ? du(Object(e), r, Au) : e
2046    }, Nu = cu ? wu(Pu) : "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(","), zu = 0; Nu.length > zu; zu++) mu(Pu, Iu = Nu[zu]) && !mu(Au, Iu) && Ou(Au, Iu, ku(Pu, Iu));
2047    Au.prototype = ju, ju.constructor = Au, hu(fu, Mu, Au, {
2048      constructor: !0
2049    })
2050  }
2051  var Ru = n((function t(r, n) {
2052      e(this, t), this.markers = {
2053        sum: r.length
2054      };
2055      var o = n.map((function(t) {
2056          return t.count
2057        })),
2058        i = o.reduce((function(t, e) {
2059          return t + e
2060        }), 0);
2061      this.clusters = {
2062        count: n.length,
2063        markers: {
2064          mean: i / n.length,
2065          sum: i,
2066          min: Math.min.apply(Math, f(o)),
2067          max: Math.max.apply(Math, f(o))
2068        }
2069      }
2070    })),
2071    Zu = function() {
2072      function t() {
2073        e(this, t)
2074      }
2075      return n(t, [{
2076        key: "render",
2077        value: function(t, e) {
2078          var r = t.count,
2079            n = t.position,
2080            o = r > Math.max(10, e.clusters.markers.mean) ? "#ff0000" : "#DE1B22",
2081            i = window.btoa('\n  <svg fill="'.concat(o, '" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240">
2081\n    <circle cx="120" cy="120" r="70" /> </svg>'));
2082          return new google.maps.Marker({
2083            position: n,
2084            icon: {
2085              url: "data:image/svg+xml;base64,".concat(i),
2086              scaledSize: new google.maps.Size(85, 85)
2087            },
2088            label: {
2089              text: String(r),
2090              color: "rgba(255,255,255,0.9)",
2091              fontSize: "15px"
2092            },
2093            title: "Cluster of ".concat(r, " markers"),
2094            zIndex: Number(google.maps.Marker.MAX_ZINDEX) + r
2095          })
2096        }
2097      }]), t
2098    }();
2099  var Fu, Du = n((function t() {
2100    e(this, t),
2101      function(t, e) {
2102        for (var r in e.prototype) t.prototype[r] = e.prototype[r]
2103      }(t, google.maps.OverlayView)
2104  }));
2105  t.MarkerClustererEvents = void 0, (Fu = t.MarkerClustererEvents || (t.MarkerClustererEvents = {})).CLUSTERING_BEGIN = "clusteringbegin", Fu.CLUSTERING_END = "clusteringend", Fu.CLUSTER_CLICK = "click";
2106  var Gu = function(t, e, r) {
2107      r.fitBounds(e.bounds)
2108    },
2109    Vu = function(r) {
2110      o(a, r);
2111      var i = u(a);
2112
2113      function a(t) {
2114        var r, n = t.map,
2115          o = t.markers,
2116          s = void 0 === o ? [] : o,
2117          u = t.algorithm,
2118          c = void 0 === u ? new Ma({}) : u,
2119          l = t.renderer,
2120          p = void 0 === l ? new Zu : l,
2121          h = t.onClusterClick,
2122          m = void 0 === h ? Gu : h;
2123        return e(this, a), (r = i.call(this)).markers = f(s), r.clusters = [], r.algorithm = c, r.renderer = p, r.onClusterClick = m, n && r.setMap(n), r
2124      }
2125      return n(a, [{
2126        key: "addMarker",
2127        value: function(t, e) {
2128          this.markers.includes(t) || (this.markers.push(t), e || this.render())
2129        }
2130      }, {
2131        key: "addMarkers",
2132        value: function(t, e) {
2133          var r = this;
2134          t.forEach((function(t) {
2135            r.addMarker(t, !0)
2136          })), e || this.render()
2137        }
2138      }, {
2139        key: "removeMarker",
2140        value: function(t, e) {
2141          var r = this.markers.indexOf(t);
2142          return -1 !== r && (t.setMap(null), this.markers.splice(r, 1), e || this.render(), !0)
2143        }
2144      }, {
2145        key: "removeMarkers",
2146        value: function(t, e) {
2147          var r = this,
2148            n = !1;
2149          return t.forEach((function(t) {
2150            n = r.removeMarker(t, !0) || n
2151          })), n && !e && this.render(), n
2152        }
2153      }, {
2154        key: "clearMarkers",
2155        value: function(t) {
2156          this.markers.length = 0, t || this.render()
2157        }
2158      }, {
2159        key: "render",
2160        value: function() {
2161          var e = this.getMap();
2162          if (e instanceof google.maps.Map && this.getProjection()) {
2163            google.maps.event.trigger(this, t.MarkerClustererEvents.CLUSTERING_BEGIN, this);
2164            var r = this.algorithm.calculate({
2165                markers: this.markers,
2166                map: e,
2167                mapCanvasProjection: this.getProjection()
2168              }),
2169              n = r.clusters,
2170              o = r.changed;
2171            (o || null == o) && (this.reset(), this.clusters = n, this.renderClusters()), google.maps.event.trigger(this, t.MarkerClustererEvents.CLUSTERING_END, this)
2172          }
2173        }
2174      }, {
2175        key: "onAdd",
2176        value: function() {
2177          this.idleListener = this.getMap().addListener("idle", this.render.bind(this)), this.render()
2178        }
2179      }, {
2180        key: "onRemove",
2181        value: function() {
2182          google.maps.event.removeListener(this.idleListener), this.reset()
2183        }
2184      }, {
2185        key: "reset",
2186        value: function() {
2187          this.markers.forEach((function(t) {
2188            return t.setMap(null)
2189          })), this.clusters.forEach((function(t) {
2190            return t.delete()
2191          })), this.clusters = []
2192        }
2193      }, {
2194        key: "renderClusters",
2195        value: function() {
2196          var e = this,
2197            r = new Ru(this.markers, this.clusters),
2198            n = this.getMap();
2199          this.clusters.forEach((function(o) {
2200            1 === o.markers.length ? o.marker = o.markers[0] : (o.marker = e.renderer.render(o, r), e.onClusterClick && o.marker.addListener("click", (function(r) {
2201              google.maps.event.trigger(e, t.MarkerClustererEvents.CLUSTER_CLICK, o), e.onClusterClick(r, o, n)
2202            }))), o.marker.setMap(n)
2203          }))
2204        }
2205      }]), a
2206    }(Du);
2207  return t.AbstractAlgorithm = ji, t.AbstractViewportAlgorithm = Ei, t.Cluster = wi, t.ClusterStats = Ru, t.DefaultRenderer = Zu, t.GridAlgorithm = Ui, t.MarkerClusterer = Vu, t.
2207NoopAlgorithm = Wi, t.SuperClusterAlgorithm = Ma, t.defaultOnClusterClickHandler = Gu, t.distanceBetweenPoints = Si, t.extendBoundsToPaddedViewport = Oi, t.extendPixelBounds = Mi, t.filterMarkersToPaddedViewport = ki, t.noop = Ci, t.pixelBoundsToLatLngBounds = Pi, Object.defineProperty(t, "__esModule", {
2208    value: !0
2209  }), t
2210}({});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.