# all files / dist/ angular-google-maps.js

64.97% Statements 4992/7683
50.25% Branches 1825/3632
64.08% Functions 1081/1687
63.19% Lines 4470/7074
1601 statements, 295 functions, 889 branches Ignored

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
    829
    830
    831
    832
    833
    834
    835
    836
    837
    838
    839
    840
    841
    842
    843
    844
    845
    846
    847
    848
    849
    850
    851
    852
    853
    854
    855
    856
    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    912
    913
    914
    915
    916
    917
    918
    919
    920
    921
    922
    923
    924
    925
    926
    927
    928
    929
    930
    931
    932
    933
    934
    935
    936
    937
    938
    939
    940
    941
    942
    943
    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    1014
    1015
    1016
    1017
    1018
    1019
    1020
    1021
    1022
    1023
    1024
    1025
    1026
    1027
    1028
    1029
    1030
    1031
    1032
    1033
    1034
    1035
    1036
    1037
    1038
    1039
    1040
    1041
    1042
    1043
    1044
    1045
    1046
    1047
    1048
    1049
    1050
    1051
    1052
    1053
    1054
    1055
    1056
    1057
    1058
    1059
    1060
    1061
    1062
    1063
    1064
    1065
    1066
    1067
    1068
    1069
    1070
    1071
    1072
    1073
    1074
    1075
    1076
    1077
    1078
    1079
    1080
    1081
    1082
    1083
    1084
    1085
    1086
    1087
    1088
    1089
    1090
    1091
    1092
    1093
    1094
    1095
    1096
    1097
    1098
    1099
    1100
    1101
    1102
    1103
    1104
    1105
    1106
    1107
    1108
    1109
    1110
    1111
    1112
    1113
    1114
    1115
    1116
    1117
    1118
    1119
    1120
    1121
    1122
    1123
    1124
    1125
    1126
    1127
    1128
    1129
    1130
    1131
    1132
    1133
    1134
    1135
    1136
    1137
    1138
    1139
    1140
    1141
    1142
    1143
    1144
    1145
    1146
    1147
    1148
    1149
    1150
    1151
    1152
    1153
    1154
    1155
    1156
    1157
    1158
    1159
    1160
    1161
    1162
    1163
    1164
    1165
    1166
    1167
    1168
    1169
    1170
    1171
    1172
    1173
    1174
    1175
    1176
    1177
    1178
    1179
    1180
    1181
    1182
    1183
    1184
    1185
    1186
    1187
    1188
    1189
    1190
    1191
    1192
    1193
    1194
    1195
    1196
    1197
    1198
    1199
    1200
    1201
    1202
    1203
    1204
    1205
    1206
    1207
    1208
    1209
    1210
    1211
    1212
    1213
    1214
    1215
    1216
    1217
    1218
    1219
    1220
    1221
    1222
    1223
    1224
    1225
    1226
    1227
    1228
    1229
    1230
    1231
    1232
    1233
    1234
    1235
    1236
    1237
    1238
    1239
    1240
    1241
    1242
    1243
    1244
    1245
    1246
    1247
    1248
    1249
    1250
    1251
    1252
    1253
    1254
    1255
    1256
    1257
    1258
    1259
    1260
    1261
    1262
    1263
    1264
    1265
    1266
    1267
    1268
    1269
    1270
    1271
    1272
    1273
    1274
    1275
    1276
    1277
    1278
    1279
    1280
    1281
    1282
    1283
    1284
    1285
    1286
    1287
    1288
    1289
    1290
    1291
    1292
    1293
    1294
    1295
    1296
    1297
    1298
    1299
    1300
    1301
    1302
    1303
    1304
    1305
    1306
    1307
    1308
    1309
    1310
    1311
    1312
    1313
    1314
    1315
    1316
    1317
    1318
    1319
    1320
    1321
    1322
    1323
    1324
    1325
    1326
    1327
    1328
    1329
    1330
    1331
    1332
    1333
    1334
    1335
    1336
    1337
    1338
    1339
    1340
    1341
    1342
    1343
    1344
    1345
    1346
    1347
    1348
    1349
    1350
    1351
    1352
    1353
    1354
    1355
    1356
    1357
    1358
    1359
    1360
    1361
    1362
    1363
    1364
    1365
    1366
    1367
    1368
    1369
    1370
    1371
    1372
    1373
    1374
    1375
    1376
    1377
    1378
    1379
    1380
    1381
    1382
    1383
    1384
    1385
    1386
    1387
    1388
    1389
    1390
    1391
    1392
    1393
    1394
    1395
    1396
    1397
    1398
    1399
    1400
    1401
    1402
    1403
    1404
    1405
    1406
    1407
    1408
    1409
    1410
    1411
    1412
    1413
    1414
    1415
    1416
    1417
    1418
    1419
    1420
    1421
    1422
    1423
    1424
    1425
    1426
    1427
    1428
    1429
    1430
    1431
    1432
    1433
    1434
    1435
    1436
    1437
    1438
    1439
    1440
    1441
    1442
    1443
    1444
    1445
    1446
    1447
    1448
    1449
    1450
    1451
    1452
    1453
    1454
    1455
    1456
    1457
    1458
    1459
    1460
    1461
    1462
    1463
    1464
    1465
    1466
    1467
    1468
    1469
    1470
    1471
    1472
    1473
    1474
    1475
    1476
    1477
    1478
    1479
    1480
    1481
    1482
    1483
    1484
    1485
    1486
    1487
    1488
    1489
    1490
    1491
    1492
    1493
    1494
    1495
    1496
    1497
    1498
    1499
    1500
    1501
    1502
    1503
    1504
    1505
    1506
    1507
    1508
    1509
    1510
    1511
    1512
    1513
    1514
    1515
    1516
    1517
    1518
    1519
    1520
    1521
    1522
    1523
    1524
    1525
    1526
    1527
    1528
    1529
    1530
    1531
    1532
    1533
    1534
    1535
    1536
    1537
    1538
    1539
    1540
    1541
    1542
    1543
    1544
    1545
    1546
    1547
    1548
    1549
    1550
    1551
    1552
    1553
    1554
    1555
    1556
    1557
    1558
    1559
    1560
    1561
    1562
    1563
    1564
    1565
    1566
    1567
    1568
    1569
    1570
    1571
    1572
    1573
    1574
    1575
    1576
    1577
    1578
    1579
    1580
    1581
    1582
    1583
    1584
    1585
    1586
    1587
    1588
    1589
    1590
    1591
    1592
    1593
    1594
    1595
    1596
    1597
    1598
    1599
    1600
    1601
    1602
    1603
    1604
    1605
    1606
    1607
    1608
    1609
    1610
    1611
    1612
    1613
    1614
    1615
    1616
    1617
    1618
    1619
    1620
    1621
    1622
    1623
    1624
    1625
    1626
    1627
    1628
    1629
    1630
    1631
    1632
    1633
    1634
    1635
    1636
    1637
    1638
    1639
    1640
    1641
    1642
    1643
    1644
    1645
    1646
    1647
    1648
    1649
    1650
    1651
    1652
    1653
    1654
    1655
    1656
    1657
    1658
    1659
    1660
    1661
    1662
    1663
    1664
    1665
    1666
    1667
    1668
    1669
    1670
    1671
    1672
    1673
    1674
    1675
    1676
    1677
    1678
    1679
    1680
    1681
    1682
    1683
    1684
    1685
    1686
    1687
    1688
    1689
    1690
    1691
    1692
    1693
    1694
    1695
    1696
    1697
    1698
    1699
    1700
    1701
    1702
    1703
    1704
    1705
    1706
    1707
    1708
    1709
    1710
    1711
    1712
    1713
    1714
    1715
    1716
    1717
    1718
    1719
    1720
    1721
    1722
    1723
    1724
    1725
    1726
    1727
    1728
    1729
    1730
    1731
    1732
    1733
    1734
    1735
    1736
    1737
    1738
    1739
    1740
    1741
    1742
    1743
    1744
    1745
    1746
    1747
    1748
    1749
    1750
    1751
    1752
    1753
    1754
    1755
    1756
    1757
    1758
    1759
    1760
    1761
    1762
    1763
    1764
    1765
    1766
    1767
    1768
    1769
    1770
    1771
    1772
    1773
    1774
    1775
    1776
    1777
    1778
    1779
    1780
    1781
    1782
    1783
    1784
    1785
    1786
    1787
    1788
    1789
    1790
    1791
    1792
    1793
    1794
    1795
    1796
    1797
    1798
    1799
    1800
    1801
    1802
    1803
    1804
    1805
    1806
    1807
    1808
    1809
    1810
    1811
    1812
    1813
    1814
    1815
    1816
    1817
    1818
    1819
    1820
    1821
    1822
    1823
    1824
    1825
    1826
    1827
    1828
    1829
    1830
    1831
    1832
    1833
    1834
    1835
    1836
    1837
    1838
    1839
    1840
    1841
    1842
    1843
    1844
    1845
    1846
    1847
    1848
    1849
    1850
    1851
    1852
    1853
    1854
    1855
    1856
    1857
    1858
    1859
    1860
    1861
    1862
    1863
    1864
    1865
    1866
    1867
    1868
    1869
    1870
    1871
    1872
    1873
    1874
    1875
    1876
    1877
    1878
    1879
    1880
    1881
    1882
    1883
    1884
    1885
    1886
    1887
    1888
    1889
    1890
    1891
    1892
    1893
    1894
    1895
    1896
    1897
    1898
    1899
    1900
    1901
    1902
    1903
    1904
    1905
    1906
    1907
    1908
    1909
    1910
    1911
    1912
    1913
    1914
    1915
    1916
    1917
    1918
    1919
    1920
    1921
    1922
    1923
    1924
    1925
    1926
    1927
    1928
    1929
    1930
    1931
    1932
    1933
    1934
    1935
    1936
    1937
    1938
    1939
    1940
    1941
    1942
    1943
    1944
    1945
    1946
    1947
    1948
    1949
    1950
    1951
    1952
    1953
    1954
    1955
    1956
    1957
    1958
    1959
    1960
    1961
    1962
    1963
    1964
    1965
    1966
    1967
    1968
    1969
    1970
    1971
    1972
    1973
    1974
    1975
    1976
    1977
    1978
    1979
    1980
    1981
    1982
    1983
    1984
    1985
    1986
    1987
    1988
    1989
    1990
    1991
    1992
    1993
    1994
    1995
    1996
    1997
    1998
    1999
    2000
    2001
    2002
    2003
    2004
    2005
    2006
    2007
    2008
    2009
    2010
    2011
    2012
    2013
    2014
    2015
    2016
    2017
    2018
    2019
    2020
    2021
    2022
    2023
    2024
    2025
    2026
    2027
    2028
    2029
    2030
    2031
    2032
    2033
    2034
    2035
    2036
    2037
    2038
    2039
    2040
    2041
    2042
    2043
    2044
    2045
    2046
    2047
    2048
    2049
    2050
    2051
    2052
    2053
    2054
    2055
    2056
    2057
    2058
    2059
    2060
    2061
    2062
    2063
    2064
    2065
    2066
    2067
    2068
    2069
    2070
    2071
    2072
    2073
    2074
    2075
    2076
    2077
    2078
    2079
    2080
    2081
    2082
    2083
    2084
    2085
    2086
    2087
    2088
    2089
    2090
    2091
    2092
    2093
    2094
    2095
    2096
    2097
    2098
    2099
    2100
    2101
    2102
    2103
    2104
    2105
    2106
    2107
    2108
    2109
    2110
    2111
    2112
    2113
    2114
    2115
    2116
    2117
    2118
    2119
    2120
    2121
    2122
    2123
    2124
    2125
    2126
    2127
    2128
    2129
    2130
    2131
    2132
    2133
    2134
    2135
    2136
    2137
    2138
    2139
    2140
    2141
    2142
    2143
    2144
    2145
    2146
    2147
    2148
    2149
    2150
    2151
    2152
    2153
    2154
    2155
    2156
    2157
    2158
    2159
    2160
    2161
    2162
    2163
    2164
    2165
    2166
    2167
    2168
    2169
    2170
    2171
    2172
    2173
    2174
    2175
    2176
    2177
    2178
    2179
    2180
    2181
    2182
    2183
    2184
    2185
    2186
    2187
    2188
    2189
    2190
    2191
    2192
    2193
    2194
    2195
    2196
    2197
    2198
    2199
    2200
    2201
    2202
    2203
    2204
    2205
    2206
    2207
    2208
    2209
    2210
    2211
    2212
    2213
    2214
    2215
    2216
    2217
    2218
    2219
    2220
    2221
    2222
    2223
    2224
    2225
    2226
    2227
    2228
    2229
    2230
    2231
    2232
    2233
    2234
    2235
    2236
    2237
    2238
    2239
    2240
    2241
    2242
    2243
    2244
    2245
    2246
    2247
    2248
    2249
    2250
    2251
    2252
    2253
    2254
    2255
    2256
    2257
    2258
    2259
    2260
    2261
    2262
    2263
    2264
    2265
    2266
    2267
    2268
    2269
    2270
    2271
    2272
    2273
    2274
    2275
    2276
    2277
    2278
    2279
    2280
    2281
    2282
    2283
    2284
    2285
    2286
    2287
    2288
    2289
    2290
    2291
    2292
    2293
    2294
    2295
    2296
    2297
    2298
    2299
    2300
    2301
    2302
    2303
    2304
    2305
    2306
    2307
    2308
    2309
    2310
    2311
    2312
    2313
    2314
    2315
    2316
    2317
    2318
    2319
    2320
    2321
    2322
    2323
    2324
    2325
    2326
    2327
    2328
    2329
    2330
    2331
    2332
    2333
    2334
    2335
    2336
    2337
    2338
    2339
    2340
    2341
    2342
    2343
    2344
    2345
    2346
    2347
    2348
    2349
    2350
    2351
    2352
    2353
    2354
    2355
    2356
    2357
    2358
    2359
    2360
    2361
    2362
    2363
    2364
    2365
    2366
    2367
    2368
    2369
    2370
    2371
    2372
    2373
    2374
    2375
    2376
    2377
    2378
    2379
    2380
    2381
    2382
    2383
    2384
    2385
    2386
    2387
    2388
    2389
    2390
    2391
    2392
    2393
    2394
    2395
    2396
    2397
    2398
    2399
    2400
    2401
    2402
    2403
    2404
    2405
    2406
    2407
    2408
    2409
    2410
    2411
    2412
    2413
    2414
    2415
    2416
    2417
    2418
    2419
    2420
    2421
    2422
    2423
    2424
    2425
    2426
    2427
    2428
    2429
    2430
    2431
    2432
    2433
    2434
    2435
    2436
    2437
    2438
    2439
    2440
    2441
    2442
    2443
    2444
    2445
    2446
    2447
    2448
    2449
    2450
    2451
    2452
    2453
    2454
    2455
    2456
    2457
    2458
    2459
    2460
    2461
    2462
    2463
    2464
    2465
    2466
    2467
    2468
    2469
    2470
    2471
    2472
    2473
    2474
    2475
    2476
    2477
    2478
    2479
    2480
    2481
    2482
    2483
    2484
    2485
    2486
    2487
    2488
    2489
    2490
    2491
    2492
    2493
    2494
    2495
    2496
    2497
    2498
    2499
    2500
    2501
    2502
    2503
    2504
    2505
    2506
    2507
    2508
    2509
    2510
    2511
    2512
    2513
    2514
    2515
    2516
    2517
    2518
    2519
    2520
    2521
    2522
    2523
    2524
    2525
    2526
    2527
    2528
    2529
    2530
    2531
    2532
    2533
    2534
    2535
    2536
    2537
    2538
    2539
    2540
    2541
    2542
    2543
    2544
    2545
    2546
    2547
    2548
    2549
    2550
    2551
    2552
    2553
    2554
    2555
    2556
    2557
    2558
    2559
    2560
    2561
    2562
    2563
    2564
    2565
    2566
    2567
    2568
    2569
    2570
    2571
    2572
    2573
    2574
    2575
    2576
    2577
    2578
    2579
    2580
    2581
    2582
    2583
    2584
    2585
    2586
    2587
    2588
    2589
    2590
    2591
    2592
    2593
    2594
    2595
    2596
    2597
    2598
    2599
    2600
    2601
    2602
    2603
    2604
    2605
    2606
    2607
    2608
    2609
    2610
    2611
    2612
    2613
    2614
    2615
    2616
    2617
    2618
    2619
    2620
    2621
    2622
    2623
    2624
    2625
    2626
    2627
    2628
    2629
    2630
    2631
    2632
    2633
    2634
    2635
    2636
    2637
    2638
    2639
    2640
    2641
    2642
    2643
    2644
    2645
    2646
    2647
    2648
    2649
    2650
    2651
    2652
    2653
    2654
    2655
    2656
    2657
    2658
    2659
    2660
    2661
    2662
    2663
    2664
    2665
    2666
    2667
    2668
    2669
    2670
    2671
    2672
    2673
    2674
    2675
    2676
    2677
    2678
    2679
    2680
    2681
    2682
    2683
    2684
    2685
    2686
    2687
    2688
    2689
    2690
    2691
    2692
    2693
    2694
    2695
    2696
    2697
    2698
    2699
    2700
    2701
    2702
    2703
    2704
    2705
    2706
    2707
    2708
    2709
    2710
    2711
    2712
    2713
    2714
    2715
    2716
    2717
    2718
    2719
    2720
    2721
    2722
    2723
    2724
    2725
    2726
    2727
    2728
    2729
    2730
    2731
    2732
    2733
    2734
    2735
    2736
    2737
    2738
    2739
    2740
    2741
    2742
    2743
    2744
    2745
    2746
    2747
    2748
    2749
    2750
    2751
    2752
    2753
    2754
    2755
    2756
    2757
    2758
    2759
    2760
    2761
    2762
    2763
    2764
    2765
    2766
    2767
    2768
    2769
    2770
    2771
    2772
    2773
    2774
    2775
    2776
    2777
    2778
    2779
    2780
    2781
    2782
    2783
    2784
    2785
    2786
    2787
    2788
    2789
    2790
    2791
    2792
    2793
    2794
    2795
    2796
    2797
    2798
    2799
    2800
    2801
    2802
    2803
    2804
    2805
    2806
    2807
    2808
    2809
    2810
    2811
    2812
    2813
    2814
    2815
    2816
    2817
    2818
    2819
    2820
    2821
    2822
    2823
    2824
    2825
    2826
    2827
    2828
    2829
    2830
    2831
    2832
    2833
    2834
    2835
    2836
    2837
    2838
    2839
    2840
    2841
    2842
    2843
    2844
    2845
    2846
    2847
    2848
    2849
    2850
    2851
    2852
    2853
    2854
    2855
    2856
    2857
    2858
    2859
    2860
    2861
    2862
    2863
    2864
    2865
    2866
    2867
    2868
    2869
    2870
    2871
    2872
    2873
    2874
    2875
    2876
    2877
    2878
    2879
    2880
    2881
    2882
    2883
    2884
    2885
    2886
    2887
    2888
    2889
    2890
    2891
    2892
    2893
    2894
    2895
    2896
    2897
    2898
    2899
    2900
    2901
    2902
    2903
    2904
    2905
    2906
    2907
    2908
    2909
    2910
    2911
    2912
    2913
    2914
    2915
    2916
    2917
    2918
    2919
    2920
    2921
    2922
    2923
    2924
    2925
    2926
    2927
    2928
    2929
    2930
    2931
    2932
    2933
    2934
    2935
    2936
    2937
    2938
    2939
    2940
    2941
    2942
    2943
    2944
    2945
    2946
    2947
    2948
    2949
    2950
    2951
    2952
    2953
    2954
    2955
    2956
    2957
    2958
    2959
    2960
    2961
    2962
    2963
    2964
    2965
    2966
    2967
    2968
    2969
    2970
    2971
    2972
    2973
    2974
    2975
    2976
    2977
    2978
    2979
    2980
    2981
    2982
    2983
    2984
    2985
    2986
    2987
    2988
    2989
    2990
    2991
    2992
    2993
    2994
    2995
    2996
    2997
    2998
    2999
    3000
    3001
    3002
    3003
    3004
    3005
    3006
    3007
    3008
    3009
    3010
    3011
    3012
    3013
    3014
    3015
    3016
    3017
    3018
    3019
    3020
    3021
    3022
    3023
    3024
    3025
    3026
    3027
    3028
    3029
    3030
    3031
    3032
    3033
    3034
    3035
    3036
    3037
    3038
    3039
    3040
    3041
    3042
    3043
    3044
    3045
    3046
    3047
    3048
    3049
    3050
    3051
    3052
    3053
    3054
    3055
    3056
    3057
    3058
    3059
    3060
    3061
    3062
    3063
    3064
    3065
    3066
    3067
    3068
    3069
    3070
    3071
    3072
    3073
    3074
    3075
    3076
    3077
    3078
    3079
    3080
    3081
    3082
    3083
    3084
    3085
    3086
    3087
    3088
    3089
    3090
    3091
    3092
    3093
    3094
    3095
    3096
    3097
    3098
    3099
    3100
    3101
    3102
    3103
    3104
    3105
    3106
    3107
    3108
    3109
    3110
    3111
    3112
    3113
    3114
    3115
    3116
    3117
    3118
    3119
    3120
    3121
    3122
    3123
    3124
    3125
    3126
    3127
    3128
    3129
    3130
    3131
    3132
    3133
    3134
    3135
    3136
    3137
    3138
    3139
    3140
    3141
    3142
    3143
    3144
    3145
    3146
    3147
    3148
    3149
    3150
    3151
    3152
    3153
    3154
    3155
    3156
    3157
    3158
    3159
    3160
    3161
    3162
    3163
    3164
    3165
    3166
    3167
    3168
    3169
    3170
    3171
    3172
    3173
    3174
    3175
    3176
    3177
    3178
    3179
    3180
    3181
    3182
    3183
    3184
    3185
    3186
    3187
    3188
    3189
    3190
    3191
    3192
    3193
    3194
    3195
    3196
    3197
    3198
    3199
    3200
    3201
    3202
    3203
    3204
    3205
    3206
    3207
    3208
    3209
    3210
    3211
    3212
    3213
    3214
    3215
    3216
    3217
    3218
    3219
    3220
    3221
    3222
    3223
    3224
    3225
    3226
    3227
    3228
    3229
    3230
    3231
    3232
    3233
    3234
    3235
    3236
    3237
    3238
    3239
    3240
    3241
    3242
    3243
    3244
    3245
    3246
    3247
    3248
    3249
    3250
    3251
    3252
    3253
    3254
    3255
    3256
    3257
    3258
    3259
    3260
    3261
    3262
    3263
    3264
    3265
    3266
    3267
    3268
    3269
    3270
    3271
    3272
    3273
    3274
    3275
    3276
    3277
    3278
    3279
    3280
    3281
    3282
    3283
    3284
    3285
    3286
    3287
    3288
    3289
    3290
    3291
    3292
    3293
    3294
    3295
    3296
    3297
    3298
    3299
    3300
    3301
    3302
    3303
    3304
    3305
    3306
    3307
    3308
    3309
    3310
    3311
    3312
    3313
    3314
    3315
    3316
    3317
    3318
    3319
    3320
    3321
    3322
    3323
    3324
    3325
    3326
    3327
    3328
    3329
    3330
    3331
    3332
    3333
    3334
    3335
    3336
    3337
    3338
    3339
    3340
    3341
    3342
    3343
    3344
    3345
    3346
    3347
    3348
    3349
    3350
    3351
    3352
    3353
    3354
    3355
    3356
    3357
    3358
    3359
    3360
    3361
    3362
    3363
    3364
    3365
    3366
    3367
    3368
    3369
    3370
    3371
    3372
    3373
    3374
    3375
    3376
    3377
    3378
    3379
    3380
    3381
    3382
    3383
    3384
    3385
    3386
    3387
    3388
    3389
    3390
    3391
    3392
    3393
    3394
    3395
    3396
    3397
    3398
    3399
    3400
    3401
    3402
    3403
    3404
    3405
    3406
    3407
    3408
    3409
    3410
    3411
    3412
    3413
    3414
    3415
    3416
    3417
    3418
    3419
    3420
    3421
    3422
    3423
    3424
    3425
    3426
    3427
    3428
    3429
    3430
    3431
    3432
    3433
    3434
    3435
    3436
    3437
    3438
    3439
    3440
    3441
    3442
    3443
    3444
    3445
    3446
    3447
    3448
    3449
    3450
    3451
    3452
    3453
    3454
    3455
    3456
    3457
    3458
    3459
    3460
    3461
    3462
    3463
    3464
    3465
    3466
    3467
    3468
    3469
    3470
    3471
    3472
    3473
    3474
    3475
    3476
    3477
    3478
    3479
    3480
    3481
    3482
    3483
    3484
    3485
    3486
    3487
    3488
    3489
    3490
    3491
    3492
    3493
    3494
    3495
    3496
    3497
    3498
    3499
    3500
    3501
    3502
    3503
    3504
    3505
    3506
    3507
    3508
    3509
    3510
    3511
    3512
    3513
    3514
    3515
    3516
    3517
    3518
    3519
    3520
    3521
    3522
    3523
    3524
    3525
    3526
    3527
    3528
    3529
    3530
    3531
    3532
    3533
    3534
    3535
    3536
    3537
    3538
    3539
    3540
    3541
    3542
    3543
    3544
    3545
    3546
    3547
    3548
    3549
    3550
    3551
    3552
    3553
    3554
    3555
    3556
    3557
    3558
    3559
    3560
    3561
    3562
    3563
    3564
    3565
    3566
    3567
    3568
    3569
    3570
    3571
    3572
    3573
    3574
    3575
    3576
    3577
    3578
    3579
    3580
    3581
    3582
    3583
    3584
    3585
    3586
    3587
    3588
    3589
    3590
    3591
    3592
    3593
    3594
    3595
    3596
    3597
    3598
    3599
    3600
    3601
    3602
    3603
    3604
    3605
    3606
    3607
    3608
    3609
    3610
    3611
    3612
    3613
    3614
    3615
    3616
    3617
    3618
    3619
    3620
    3621
    3622
    3623
    3624
    3625
    3626
    3627
    3628
    3629
    3630
    3631
    3632
    3633
    3634
    3635
    3636
    3637
    3638
    3639
    3640
    3641
    3642
    3643
    3644
    3645
    3646
    3647
    3648
    3649
    3650
    3651
    3652
    3653
    3654
    3655
    3656
    3657
    3658
    3659
    3660
    3661
    3662
    3663
    3664
    3665
    3666
    3667
    3668
    3669
    3670
    3671
    3672
    3673
    3674
    3675
    3676
    3677
    3678
    3679
    3680
    3681
    3682
    3683
    3684
    3685
    3686
    3687
    3688
    3689
    3690
    3691
    3692
    3693
    3694
    3695
    3696
    3697
    3698
    3699
    3700
    3701
    3702
    3703
    3704
    3705
    3706
    3707
    3708
    3709
    3710
    3711
    3712
    3713
    3714
    3715
    3716
    3717
    3718
    3719
    3720
    3721
    3722
    3723
    3724
    3725
    3726
    3727
    3728
    3729
    3730
    3731
    3732
    3733
    3734
    3735
    3736
    3737
    3738
    3739
    3740
    3741
    3742
    3743
    3744
    3745
    3746
    3747
    3748
    3749
    3750
    3751
    3752
    3753
    3754
    3755
    3756
    3757
    3758
    3759
    3760
    3761
    3762
    3763
    3764
    3765
    3766
    3767
    3768
    3769
    3770
    3771
    3772
    3773
    3774
    3775
    3776
    3777
    3778
    3779
    3780
    3781
    3782
    3783
    3784
    3785
    3786
    3787
    3788
    3789
    3790
    3791
    3792
    3793
    3794
    3795
    3796
    3797
    3798
    3799
    3800
    3801
    3802
    3803
    3804
    3805
    3806
    3807
    3808
    3809
    3810
    3811
    3812
    3813
    3814
    3815
    3816
    3817
    3818
    3819
    3820
    3821
    3822
    3823
    3824
    3825
    3826
    3827
    3828
    3829
    3830
    3831
    3832
    3833
    3834
    3835
    3836
    3837
    3838
    3839
    3840
    3841
    3842
    3843
    3844
    3845
    3846
    3847
    3848
    3849
    3850
    3851
    3852
    3853
    3854
    3855
    3856
    3857
    3858
    3859
    3860
    3861
    3862
    3863
    3864
    3865
    3866
    3867
    3868
    3869
    3870
    3871
    3872
    3873
    3874
    3875
    3876
    3877
    3878
    3879
    3880
    3881
    3882
    3883
    3884
    3885
    3886
    3887
    3888
    3889
    3890
    3891
    3892
    3893
    3894
    3895
    3896
    3897
    3898
    3899
    3900
    3901
    3902
    3903
    3904
    3905
    3906
    3907
    3908
    3909
    3910
    3911
    3912
    3913
    3914
    3915
    3916
    3917
    3918
    3919
    3920
    3921
    3922
    3923
    3924
    3925
    3926
    3927
    3928
    3929
    3930
    3931
    3932
    3933
    3934
    3935
    3936
    3937
    3938
    3939
    3940
    3941
    3942
    3943
    3944
    3945
    3946
    3947
    3948
    3949
    3950
    3951
    3952
    3953
    3954
    3955
    3956
    3957
    3958
    3959
    3960
    3961
    3962
    3963
    3964
    3965
    3966
    3967
    3968
    3969
    3970
    3971
    3972
    3973
    3974
    3975
    3976
    3977
    3978
    3979
    3980
    3981
    3982
    3983
    3984
    3985
    3986
    3987
    3988
    3989
    3990
    3991
    3992
    3993
    3994
    3995
    3996
    3997
    3998
    3999
    4000
    4001
    4002
    4003
    4004
    4005
    4006
    4007
    4008
    4009
    4010
    4011
    4012
    4013
    4014
    4015
    4016
    4017
    4018
    4019
    4020
    4021
    4022
    4023
    4024
    4025
    4026
    4027
    4028
    4029
    4030
    4031
    4032
    4033
    4034
    4035
    4036
    4037
    4038
    4039
    4040
    4041
    4042
    4043
    4044
    4045
    4046
    4047
    4048
    4049
    4050
    4051
    4052
    4053
    4054
    4055
    4056
    4057
    4058
    4059
    4060
    4061
    4062
    4063
    4064
    4065
    4066
    4067
    4068
    4069
    4070
    4071
    4072
    4073
    4074
    4075
    4076
    4077
    4078
    4079
    4080
    4081
    4082
    4083
    4084
    4085
    4086
    4087
    4088
    4089
    4090
    4091
    4092
    4093
    4094
    4095
    4096
    4097
    4098
    4099
    4100
    4101
    4102
    4103
    4104
    4105
    4106
    4107
    4108
    4109
    4110
    4111
    4112
    4113
    4114
    4115
    4116
    4117
    4118
    4119
    4120
    4121
    4122
    4123
    4124
    4125
    4126
    4127
    4128
    4129
    4130
    4131
    4132
    4133
    4134
    4135
    4136
    4137
    4138
    4139
    4140
    4141
    4142
    4143
    4144
    4145
    4146
    4147
    4148
    4149
    4150
    4151
    4152
    4153
    4154
    4155
    4156
    4157
    4158
    4159
    4160
    4161
    4162
    4163
    4164
    4165
    4166
    4167
    4168
    4169
    4170
    4171
    4172
    4173
    4174
    4175
    4176
    4177
    4178
    4179
    4180
    4181
    4182
    4183
    4184
    4185
    4186
    4187
    4188
    4189
    4190
    4191
    4192
    4193
    4194
    4195
    4196
    4197
    4198
    4199
    4200
    4201
    4202
    4203
    4204
    4205
    4206
    4207
    4208
    4209
    4210
    4211
    4212
    4213
    4214
    4215
    4216
    4217
    4218
    4219
    4220
    4221
    4222
    4223
    4224
    4225
    4226
    4227
    4228
    4229
    4230
    4231
    4232
    4233
    4234
    4235
    4236
    4237
    4238
    4239
    4240
    4241
    4242
    4243
    4244
    4245
    4246
    4247
    4248
    4249
    4250
    4251
    4252
    4253
    4254
    4255
    4256
    4257
    4258
    4259
    4260
    4261
    4262
    4263
    4264
    4265
    4266
    4267
    4268
    4269
    4270
    4271
    4272
    4273
    4274
    4275
    4276
    4277
    4278
    4279
    4280
    4281
    4282
    4283
    4284
    4285
    4286
    4287
    4288
    4289
    4290
    4291
    4292
    4293
    4294
    4295
    4296
    4297
    4298
    4299
    4300
    4301
    4302
    4303
    4304
    4305
    4306
    4307
    4308
    4309
    4310
    4311
    4312
    4313
    4314
    4315
    4316
    4317
    4318
    4319
    4320
    4321
    4322
    4323
    4324
    4325
    4326
    4327
    4328
    4329
    4330
    4331
    4332
    4333
    4334
    4335
    4336
    4337
    4338
    4339
    4340
    4341
    4342
    4343
    4344
    4345
    4346
    4347
    4348
    4349
    4350
    4351
    4352
    4353
    4354
    4355
    4356
    4357
    4358
    4359
    4360
    4361
    4362
    4363
    4364
    4365
    4366
    4367
    4368
    4369
    4370
    4371
    4372
    4373
    4374
    4375
    4376
    4377
    4378
    4379
    4380
    4381
    4382
    4383
    4384
    4385
    4386
    4387
    4388
    4389
    4390
    4391
    4392
    4393
    4394
    4395
    4396
    4397
    4398
    4399
    4400
    4401
    4402
    4403
    4404
    4405
    4406
    4407
    4408
    4409
    4410
    4411
    4412
    4413
    4414
    4415
    4416
    4417
    4418
    4419
    4420
    4421
    4422
    4423
    4424
    4425
    4426
    4427
    4428
    4429
    4430
    4431
    4432
    4433
    4434
    4435
    4436
    4437
    4438
    4439
    4440
    4441
    4442
    4443
    4444
    4445
    4446
    4447
    4448
    4449
    4450
    4451
    4452
    4453
    4454
    4455
    4456
    4457
    4458
    4459
    4460
    4461
    4462
    4463
    4464
    4465
    4466
    4467
    4468
    4469
    4470
    4471
    4472
    4473
    4474
    4475
    4476
    4477
    4478
    4479
    4480
    4481
    4482
    4483
    4484
    4485
    4486
    4487
    4488
    4489
    4490
    4491
    4492
    4493
    4494
    4495
    4496
    4497
    4498
    4499
    4500
    4501
    4502
    4503
    4504
    4505
    4506
    4507
    4508
    4509
    4510
    4511
    4512
    4513
    4514
    4515
    4516
    4517
    4518
    4519
    4520
    4521
    4522
    4523
    4524
    4525
    4526
    4527
    4528
    4529
    4530
    4531
    4532
    4533
    4534
    4535
    4536
    4537
    4538
    4539
    4540
    4541
    4542
    4543
    4544
    4545
    4546
    4547
    4548
    4549
    4550
    4551
    4552
    4553
    4554
    4555
    4556
    4557
    4558
    4559
    4560
    4561
    4562
    4563
    4564
    4565
    4566
    4567
    4568
    4569
    4570
    4571
    4572
    4573
    4574
    4575
    4576
    4577
    4578
    4579
    4580
    4581
    4582
    4583
    4584
    4585
    4586
    4587
    4588
    4589
    4590
    4591
    4592
    4593
    4594
    4595
    4596
    4597
    4598
    4599
    4600
    4601
    4602
    4603
    4604
    4605
    4606
    4607
    4608
    4609
    4610
    4611
    4612
    4613
    4614
    4615
    4616
    4617
    4618
    4619
    4620
    4621
    4622
    4623
    4624
    4625
    4626
    4627
    4628
    4629
    4630
    4631
    4632
    4633
    4634
    4635
    4636
    4637
    4638
    4639
    4640
    4641
    4642
    4643
    4644
    4645
    4646
    4647
    4648
    4649
    4650
    4651
    4652
    4653
    4654
    4655
    4656
    4657
    4658
    4659
    4660
    4661
    4662
    4663
    4664
    4665
    4666
    4667
    4668
    4669
    4670
    4671
    4672
    4673
    4674
    4675
    4676
    4677
    4678
    4679
    4680
    4681
    4682
    4683
    4684
    4685
    4686
    4687
    4688
    4689
    4690
    4691
    4692
    4693
    4694
    4695
    4696
    4697
    4698
    4699
    4700
    4701
    4702
    4703
    4704
    4705
    4706
    4707
    4708
    4709
    4710
    4711
    4712
    4713
    4714
    4715
    4716
    4717
    4718
    4719
    4720
    4721
    4722
    4723
    4724
    4725
    4726
    4727
    4728
    4729
    4730
    4731
    4732
    4733
    4734
    4735
    4736
    4737
    4738
    4739
    4740
    4741
    4742
    4743
    4744
    4745
    4746
    4747
    4748
    4749
    4750
    4751
    4752
    4753
    4754
    4755
    4756
    4757
    4758
    4759
    4760
    4761
    4762
    4763
    4764
    4765
    4766
    4767
    4768
    4769
    4770
    4771
    4772
    4773
    4774
    4775
    4776
    4777
    4778
    4779
    4780
    4781
    4782
    4783
    4784
    4785
    4786
    4787
    4788
    4789
    4790
    4791
    4792
    4793
    4794
    4795
    4796
    4797
    4798
    4799
    4800
    4801
    4802
    4803
    4804
    4805
    4806
    4807
    4808
    4809
    4810
    4811
    4812
    4813
    4814
    4815
    4816
    4817
    4818
    4819
    4820
    4821
    4822
    4823
    4824
    4825
    4826
    4827
    4828
    4829
    4830
    4831
    4832
    4833
    4834
    4835
    4836
    4837
    4838
    4839
    4840
    4841
    4842
    4843
    4844
    4845
    4846
    4847
    4848
    4849
    4850
    4851
    4852
    4853
    4854
    4855
    4856
    4857
    4858
    4859
    4860
    4861
    4862
    4863
    4864
    4865
    4866
    4867
    4868
    4869
    4870
    4871
    4872
    4873
    4874
    4875
    4876
    4877
    4878
    4879
    4880
    4881
    4882
    4883
    4884
    4885
    4886
    4887
    4888
    4889
    4890
    4891
    4892
    4893
    4894
    4895
    4896
    4897
    4898
    4899
    4900
    4901
    4902
    4903
    4904
    4905
    4906
    4907
    4908
    4909
    4910
    4911
    4912
    4913
    4914
    4915
    4916
    4917
    4918
    4919
    4920
    4921
    4922
    4923
    4924
    4925
    4926
    4927
    4928
    4929
    4930
    4931
    4932
    4933
    4934
    4935
    4936
    4937
    4938
    4939
    4940
    4941
    4942
    4943
    4944
    4945
    4946
    4947
    4948
    4949
    4950
    4951
    4952
    4953
    4954
    4955
    4956
    4957
    4958
    4959
    4960
    4961
    4962
    4963
    4964
    4965
    4966
    4967
    4968
    4969
    4970
    4971
    4972
    4973
    4974
    4975
    4976
    4977
    4978
    4979
    4980
    4981
    4982
    4983
    4984
    4985
    4986
    4987
    4988
    4989
    4990
    4991
    4992
    4993
    4994
    4995
    4996
    4997
    4998
    4999
    5000
    5001
    5002
    5003
    5004
    5005
    5006
    5007
    5008
    5009
    5010
    5011
    5012
    5013
    5014
    5015
    5016
    5017
    5018
    5019
    5020
    5021
    5022
    5023
    5024
    5025
    5026
    5027
    5028
    5029
    5030
    5031
    5032
    5033
    5034
    5035
    5036
    5037
    5038
    5039
    5040
    5041
    5042
    5043
    5044
    5045
    5046
    5047
    5048
    5049
    5050
    5051
    5052
    5053
    5054
    5055
    5056
    5057
    5058
    5059
    5060
    5061
    5062
    5063
    5064
    5065
    5066
    5067
    5068
    5069
    5070
    5071
    5072
    5073
    5074
    5075
    5076
    5077
    5078
    5079
    5080
    5081
    5082
    5083
    5084
    5085
    5086
    5087
    5088
    5089
    5090
    5091
    5092
    5093
    5094
    5095
    5096
    5097
    5098
    5099
    5100
    5101
    5102
    5103
    5104
    5105
    5106
    5107
    5108
    5109
    5110
    5111
    5112
    5113
    5114
    5115
    5116
    5117
    5118
    5119
    5120
    5121
    5122
    5123
    5124
    5125
    5126
    5127
    5128
    5129
    5130
    5131
    5132
    5133
    5134
    5135
    5136
    5137
    5138
    5139
    5140
    5141
    5142
    5143
    5144
    5145
    5146
    5147
    5148
    5149
    5150
    5151
    5152
    5153
    5154
    5155
    5156
    5157
    5158
    5159
    5160
    5161
    5162
    5163
    5164
    5165
    5166
    5167
    5168
    5169
    5170
    5171
    5172
    5173
    5174
    5175
    5176
    5177
    5178
    5179
    5180
    5181
    5182
    5183
    5184
    5185
    5186
    5187
    5188
    5189
    5190
    5191
    5192
    5193
    5194
    5195
    5196
    5197
    5198
    5199
    5200
    5201
    5202
    5203
    5204
    5205
    5206
    5207
    5208
    5209
    5210
    5211
    5212
    5213
    5214
    5215
    5216
    5217
    5218
    5219
    5220
    5221
    5222
    5223
    5224
    5225
    5226
    5227
    5228
    5229
    5230
    5231
    5232
    5233
    5234
    5235
    5236
    5237
    5238
    5239
    5240
    5241
    5242
    5243
    5244
    5245
    5246
    5247
    5248
    5249
    5250
    5251
    5252
    5253
    5254
    5255
    5256
    5257
    5258
    5259
    5260
    5261
    5262
    5263
    5264
    5265
    5266
    5267
    5268
    5269
    5270
    5271
    5272
    5273
    5274
    5275
    5276
    5277
    5278
    5279
    5280
    5281
    5282
    5283
    5284
    5285
    5286
    5287
    5288
    5289
    5290
    5291
    5292
    5293
    5294
    5295
    5296
    5297
    5298
    5299
    5300
    5301
    5302
    5303
    5304
    5305
    5306
    5307
    5308
    5309
    5310
    5311
    5312
    5313
    5314
    5315
    5316
    5317
    5318
    5319
    5320
    5321
    5322
    5323
    5324
    5325
    5326
    5327
    5328
    5329
    5330
    5331
    5332
    5333
    5334
    5335
    5336
    5337
    5338
    5339
    5340
    5341
    5342
    5343
    5344
    5345
    5346
    5347
    5348
    5349
    5350
    5351
    5352
    5353
    5354
    5355
    5356
    5357
    5358
    5359
    5360
    5361
    5362
    5363
    5364
    5365
    5366
    5367
    5368
    5369
    5370
    5371
    5372
    5373
    5374
    5375
    5376
    5377
    5378
    5379
    5380
    5381
    5382
    5383
    5384
    5385
    5386
    5387
    5388
    5389
    5390
    5391
    5392
    5393
    5394
    5395
    5396
    5397
    5398
    5399
    5400
    5401
    5402
    5403
    5404
    5405
    5406
    5407
    5408
    5409
    5410
    5411
    5412
    5413
    5414
    5415
    5416
    5417
    5418
    5419
    5420
    5421
    5422
    5423
    5424
    5425
    5426
    5427
    5428
    5429
    5430
    5431
    5432
    5433
    5434
    5435
    5436
    5437
    5438
    5439
    5440
    5441
    5442
    5443
    5444
    5445
    5446
    5447
    5448
    5449
    5450
    5451
    5452
    5453
    5454
    5455
    5456
    5457
    5458
    5459
    5460
    5461
    5462
    5463
    5464
    5465
    5466
    5467
    5468
    5469
    5470
    5471
    5472
    5473
    5474
    5475
    5476
    5477
    5478
    5479
    5480
    5481
    5482
    5483
    5484
    5485
    5486
    5487
    5488
    5489
    5490
    5491
    5492
    5493
    5494
    5495
    5496
    5497
    5498
    5499
    5500
    5501
    5502
    5503
    5504
    5505
    5506
    5507
    5508
    5509
    5510
    5511
    5512
    5513
    5514
    5515
    5516
    5517
    5518
    5519
    5520
    5521
    5522
    5523
    5524
    5525
    5526
    5527
    5528
    5529
    5530
    5531
    5532
    5533
    5534
    5535
    5536
    5537
    5538
    5539
    5540
    5541
    5542
    5543
    5544
    5545
    5546
    5547
    5548
    5549
    5550
    5551
    5552
    5553
    5554
    5555
    5556
    5557
    5558
    5559
    5560
    5561
    5562
    5563
    5564
    5565
    5566
    5567
    5568
    5569
    5570
    5571
    5572
    5573
    5574
    5575
    5576
    5577
    5578
    5579
    5580
    5581
    5582
    5583
    5584
    5585
    5586
    5587
    5588
    5589
    5590
    5591
    5592
    5593
    5594
    5595
    5596
    5597
    5598
    5599
    5600
    5601
    5602
    5603
    5604
    5605
    5606
    5607
    5608
    5609
    5610
    5611
    5612
    5613
    5614
    5615
    5616
    5617
    5618
    5619
    5620
    5621
    5622
    5623
    5624
    5625
    5626
    5627
    5628
    5629
    5630
    5631
    5632
    5633
    5634
    5635
    5636
    5637
    5638
    5639
    5640
    5641
    5642
    5643
    5644
    5645
    5646
    5647
    5648
    5649
    5650
    5651
    5652
    5653
    5654
    5655
    5656
    5657
    5658
    5659
    5660
    5661
    5662
    5663
    5664
    5665
    5666
    5667
    5668
    5669
    5670
    5671
    5672
    5673
    5674
    5675
    5676
    5677
    5678
    5679
    5680
    5681
    5682
    5683
    5684
    5685
    5686
    5687
    5688
    5689
    5690
    5691
    5692
    5693
    5694
    5695
    5696
    5697
    5698
    5699
    5700
    5701
    5702
    5703
    5704
    5705
    5706
    5707
    5708
    5709
    5710
    5711
    5712
    5713
    5714
    5715
    5716
    5717
    5718
    5719
    5720
    5721
    5722
    5723
    5724
    5725
    5726
    5727
    5728
    5729
    5730
    5731
    5732
    5733
    5734
    5735
    5736
    5737
    5738
    5739
    5740
    5741
    5742
    5743
    5744
    5745
    5746
    5747
    5748
    5749
    5750
    5751
    5752
    5753
    5754
    5755
    5756
    5757
    5758
    5759
    5760
    5761
    5762
    5763
    5764
    5765
    5766
    5767
    5768
    5769
    5770
    5771
    5772
    5773
    5774
    5775
    5776
    5777
    5778
    5779
    5780
    5781
    5782
    5783
    5784
    5785
    5786
    5787
    5788
    5789
    5790
    5791
    5792
    5793
    5794
    5795
    5796
    5797
    5798
    5799
    5800
    5801
    5802
    5803
    5804
    5805
    5806
    5807
    5808
    5809
    5810
    5811
    5812
    5813
    5814
    5815
    5816
    5817
    5818
    5819
    5820
    5821
    5822
    5823
    5824
    5825
    5826
    5827
    5828
    5829
    5830
    5831
    5832
    5833
    5834
    5835
    5836
    5837
    5838
    5839
    5840
    5841
    5842
    5843
    5844
    5845
    5846
    5847
    5848
    5849
    5850
    5851
    5852
    5853
    5854
    5855
    5856
    5857
    5858
    5859
    5860
    5861
    5862
    5863
    5864
    5865
    5866
    5867
    5868
    5869
    5870
    5871
    5872
    5873
    5874
    5875
    5876
    5877
    5878
    5879
    5880
    5881
    5882
    5883
    5884
    5885
    5886
    5887
    5888
    5889
    5890
    5891
    5892
    5893
    5894
    5895
    5896
    5897
    5898
    5899
    5900
    5901
    5902
    5903
    5904
    5905
    5906
    5907
    5908
    5909
    5910
    5911
    5912
    5913
    5914
    5915
    5916
    5917
    5918
    5919
    5920
    5921
    5922
    5923
    5924
    5925
    5926
    5927
    5928
    5929
    5930
    5931
    5932
    5933
    5934
    5935
    5936
    5937
    5938
    5939
    5940
    5941
    5942
    5943
    5944
    5945
    5946
    5947
    5948
    5949
    5950
    5951
    5952
    5953
    5954
    5955
    5956
    5957
    5958
    5959
    5960
    5961
    5962
    5963
    5964
    5965
    5966
    5967
    5968
    5969
    5970
    5971
    5972
    5973
    5974
    5975
    5976
    5977
    5978
    5979
    5980
    5981
    5982
    5983
    5984
    5985
    5986
    5987
    5988
    5989
    5990
    5991
    5992
    5993
    5994
    5995
    5996
    5997
    5998
    5999
    6000
    6001
    6002
    6003
    6004
    6005
    6006
    6007
    6008
    6009
    6010
    6011
    6012
    6013
    6014
    6015
    6016
    6017
    6018
    6019
    6020
    6021
    6022
    6023
    6024
    6025
    6026
    6027
    6028
    6029
    6030
    6031
    6032
    6033
    6034
    6035
    6036
    6037
    6038
    6039
    6040
    6041
    6042
    6043
    6044
    6045
    6046
    6047
    6048
    6049
    6050
    6051
    6052
    6053
    6054
    6055
    6056
    6057
    6058
    6059
    6060
    6061
    6062
    6063
    6064
    6065
    6066
    6067
    6068
    6069
    6070
    6071
    6072
    6073
    6074
    6075
    6076
    6077
    6078
    6079
    6080
    6081
    6082
    6083
    6084
    6085
    6086
    6087
    6088
    6089
    6090
    6091
    6092
    6093
    6094
    6095
    6096
    6097
    6098
    6099
    6100
    6101
    6102
    6103
    6104
    6105
    6106
    6107
    6108
    6109
    6110
    6111
    6112
    6113
    6114
    6115
    6116
    6117
    6118
    6119
    6120
    6121
    6122
    6123
    6124
    6125
    6126
    6127
    6128
    6129
    6130
    6131
    6132
    6133
    6134
    6135
    6136
    6137
    6138
    6139
    6140
    6141
    6142
    6143
    6144
    6145
    6146
    6147
    6148
    6149
    6150
    6151
    6152
    6153
    6154
    6155
    6156
    6157
    6158
    6159
    6160
    6161
    6162
    6163
    6164
    6165
    6166
    6167
    6168
    6169
    6170
    6171
    6172
    6173
    6174
    6175
    6176
    6177
    6178
    6179
    6180
    6181
    6182
    6183
    6184
    6185
    6186
    6187
    6188
    6189
    6190
    6191
    6192
    6193
    6194
    6195
    6196
    6197
    6198
    6199
    6200
    6201
    6202
    6203
    6204
    6205
    6206
    6207
    6208
    6209
    6210
    6211
    6212
    6213
    6214
    6215
    6216
    6217
    6218
    6219
    6220
    6221
    6222
    6223
    6224
    6225
    6226
    6227
    6228
    6229
    6230
    6231
    6232
    6233
    6234
    6235
    6236
    6237
    6238
    6239
    6240
    6241
    6242
    6243
    6244
    6245
    6246
    6247
    6248
    6249
    6250
    6251
    6252
    6253
    6254
    6255
    6256
    6257
    6258
    6259
    6260
    6261
    6262
    6263
    6264
    6265
    6266
    6267
    6268
    6269
    6270
    6271
    6272
    6273
    6274
    6275
    6276
    6277
    6278
    6279
    6280
    6281
    6282
    6283
    6284
    6285
    6286
    6287
    6288
    6289
    6290
    6291
    6292
    6293
    6294
    6295
    6296
    6297
    6298
    6299
    6300
    6301
    6302
    6303
    6304
    6305
    6306
    6307
    6308
    6309
    6310
    6311
    6312
    6313
    6314
    6315
    6316
    6317
    6318
    6319
    6320
    6321
    6322
    6323
    6324
    6325
    6326
    6327
    6328
    6329
    6330
    6331
    6332
    6333
    6334
    6335
    6336
    6337
    6338
    6339
    6340
    6341
    6342
    6343
    6344
    6345
    6346
    6347
    6348
    6349
    6350
    6351
    6352
    6353
    6354
    6355
    6356
    6357
    6358
    6359
    6360
    6361
    6362
    6363
    6364
    6365
    6366
    6367
    6368
    6369
    6370
    6371
    6372
    6373
    6374
    6375
    6376
    6377
    6378
    6379
    6380
    6381
    6382
    6383
    6384
    6385
    6386
    6387
    6388
    6389
    6390
    6391
    6392
    6393
    6394
    6395
    6396
    6397
    6398
    6399
    6400
    6401
    6402
    6403
    6404
    6405
    6406
    6407
    6408
    6409
    6410
    6411
    6412
    6413
    6414
    6415
    6416
    6417
    6418
    6419
    6420
    6421
    6422
    6423
    6424
    6425
    6426
    6427
    6428
    6429
    6430
    6431
    6432
    6433
    6434
    6435
    6436
    6437
    6438
    6439
    6440
    6441
    6442
    6443
    6444
    6445
    6446
    6447
    6448
    6449
    6450
    6451
    6452
    6453
    6454
    6455
    6456
    6457
    6458
    6459
    6460
    6461
    6462
    6463
    6464
    6465
    6466
    6467
    6468
    6469
    6470
    6471
    6472
    6473
    6474
    6475
    6476
    6477
    6478
    6479
    6480
    6481
    6482
    6483
    6484
    6485
    6486
    6487
    6488
    6489
    6490
    6491
    6492
    6493
    6494
    6495
    6496
    6497
    6498
    6499
    6500
    6501
    6502
    6503
    6504
    6505
    6506
    6507
    6508
    6509
    6510
    6511
    6512
    6513
    6514
    6515
    6516
    6517
    6518
    6519
    6520
    6521
    6522
    6523
    6524
    6525
    6526
    6527
    6528
    6529
    6530
    6531
    6532
    6533
    6534
    6535
    6536
    6537
    6538
    6539
    6540
    6541
    6542
    6543
    6544
    6545
    6546
    6547
    6548
    6549
    6550
    6551
    6552
    6553
    6554
    6555
    6556
    6557
    6558
    6559
    6560
    6561
    6562
    6563
    6564
    6565
    6566
    6567
    6568
    6569
    6570
    6571
    6572
    6573
    6574
    6575
    6576
    6577
    6578
    6579
    6580
    6581
    6582
    6583
    6584
    6585
    6586
    6587
    6588
    6589
    6590
    6591
    6592
    6593
    6594
    6595
    6596
    6597
    6598
    6599
    6600
    6601
    6602
    6603
    6604
    6605
    6606
    6607
    6608
    6609
    6610
    6611
    6612
    6613
    6614
    6615
    6616
    6617
    6618
    6619
    6620
    6621
    6622
    6623
    6624
    6625
    6626
    6627
    6628
    6629
    6630
    6631
    6632
    6633
    6634
    6635
    6636
    6637
    6638
    6639
    6640
    6641
    6642
    6643
    6644
    6645
    6646
    6647
    6648
    6649
    6650
    6651
    6652
    6653
    6654
    6655
    6656
    6657
    6658
    6659
    6660
    6661
    6662
    6663
    6664
    6665
    6666
    6667
    6668
    6669
    6670
    6671
    6672
    6673
    6674
    6675
    6676
    6677
    6678
    6679
    6680
    6681
    6682
    6683
    6684
    6685
    6686
    6687
    6688
    6689
    6690
    6691
    6692
    6693
    6694
    6695
    6696
    6697
    6698
    6699
    6700
    6701
    6702
    6703
    6704
    6705
    6706
    6707
    6708
    6709
    6710
    6711
    6712
    6713
    6714
    6715
    6716
    6717
    6718
    6719
    6720
    6721
    6722
    6723
    6724
    6725
    6726
    6727
    6728
    6729
    6730
    6731
    6732
    6733
    6734
    6735
    6736
    6737
    6738
    6739
    6740
    6741
    6742
    6743
    6744
    6745
    6746
    6747
    6748
    6749
    6750
    6751
    6752
    6753
    6754
    6755
    6756
    6757
    6758
    6759
    6760
    6761
    6762
    6763
    6764
    6765
    6766
    6767
    6768
    6769
    6770
    6771
    6772
    6773
    6774
    6775
    6776
    6777
    6778
    6779
    6780
    6781
    6782
    6783
    6784
    6785
    6786
    6787
    6788
    6789
    6790
    6791
    6792
    6793
    6794
    6795
    6796
    6797
    6798
    6799
    6800
    6801
    6802
    6803
    6804
    6805
    6806
    6807
    6808
    6809
    6810
    6811
    6812
    6813
    6814
    6815
    6816
    6817
    6818
    6819
    6820
    6821
    6822
    6823
    6824
    6825
    6826
    6827
    6828
    6829
    6830
    6831
    6832
    6833
    6834
    6835
    6836
    6837
    6838
    6839
    6840
    6841
    6842
    6843
    6844
    6845
    6846
    6847
    6848
    6849
    6850
    6851
    6852
    6853
    6854
    6855
    6856
    6857
    6858
    6859
    6860
    6861
    6862
    6863
    6864
    6865
    6866
    6867
    6868
    6869
    6870
    6871
    6872
    6873
    6874
    6875
    6876
    6877
    6878
    6879
    6880
    6881
    6882
    6883
    6884
    6885
    6886
    6887
    6888
    6889
    6890
    6891
    6892
    6893
    6894
    6895
    6896
    6897
    6898
    6899
    6900
    6901
    6902
    6903
    6904
    6905
    6906
    6907
    6908
    6909
    6910
    6911
    6912
    6913
    6914
    6915
    6916
    6917
    6918
    6919
    6920
    6921
    6922
    6923
    6924
    6925
    6926
    6927
    6928
    6929
    6930
    6931
    6932
    6933
    6934
    6935
    6936
    6937
    6938
    6939
    6940
    6941
    6942
    6943
    6944
    6945
    6946
    6947
    6948
    6949
    6950
    6951
    6952
    6953
    6954
    6955
    6956
    6957
    6958
    6959
    6960
    6961
    6962
    6963
    6964
    6965
    6966
    6967
    6968
    6969
    6970
    6971
    6972
    6973
    6974
    6975
    6976
    6977
    6978
    6979
    6980
    6981
    6982
    6983
    6984
    6985
    6986
    6987
    6988
    6989
    6990
    6991
    6992
    6993
    6994
    6995
    6996
    6997
    6998
    6999
    7000
    7001
    7002
    7003
    7004
    7005
    7006
    7007
    7008
    7009
    7010
    7011
    7012
    7013
    7014
    7015
    7016
    7017
    7018
    7019
    7020
    7021
    7022
    7023
    7024
    7025
    7026
    7027
    7028
    7029
    7030
    7031
    7032
    7033
    7034
    7035
    7036
    7037
    7038
    7039
    7040
    7041
    7042
    7043
    7044
    7045
    7046
    7047
    7048
    7049
    7050
    7051
    7052
    7053
    7054
    7055
    7056
    7057
    7058
    7059
    7060
    7061
    7062
    7063
    7064
    7065
    7066
    7067
    7068
    7069
    7070
    7071
    7072
    7073
    7074
    7075
    7076
    7077
    7078
    7079
    7080
    7081
    7082
    7083
    7084
    7085
    7086
    7087
    7088
    7089
    7090
    7091
    7092
    7093
    7094
    7095
    7096
    7097
    7098
    7099
    7100
    7101
    7102
    7103
    7104
    7105
    7106
    7107
    7108
    7109
    7110
    7111
    7112
    7113
    7114
    7115
    7116
    7117
    7118
    7119
    7120
    7121
    7122
    7123
    7124
    7125
    7126
    7127
    7128
    7129
    7130
    7131
    7132
    7133
    7134
    7135
    7136
    7137
    7138
    7139
    7140
    7141
    7142
    7143
    7144
    7145
    7146
    7147
    7148
    7149
    7150
    7151
    7152
    7153
    7154
    7155
    7156
    7157
    7158
    7159
    7160
    7161
    7162
    7163
    7164
    7165
    7166
    7167
    7168
    7169
    7170
    7171
    7172
    7173
    7174
    7175
    7176
    7177
    7178
    7179
    7180
    7181
    7182
    7183
    7184
    7185
    7186
    7187
    7188
    7189
    7190
    7191
    7192
    7193
    7194
    7195
    7196
    7197
    7198
    7199
    7200
    7201
    7202
    7203
    7204
    7205
    7206
    7207
    7208
    7209
    7210
    7211
    7212
    7213
    7214
    7215
    7216
    7217
    7218
    7219
    7220
    7221
    7222
    7223
    7224
    7225
    7226
    7227
    7228
    7229
    7230
    7231
    7232
    7233
    7234
    7235
    7236
    7237
    7238
    7239
    7240
    7241
    7242
    7243
    7244
    7245
    7246
    7247
    7248
    7249
    7250
    7251
    7252
    7253
    7254
    7255
    7256
    7257
    7258
    7259
    7260
    7261
    7262
    7263
    7264
    7265
    7266
    7267
    7268
    7269
    7270
    7271
    7272
    7273
    7274
    7275
    7276
    7277
    7278
    7279
    7280
    7281
    7282
    7283
    7284
    7285
    7286
    7287
    7288
    7289
    7290
    7291
    7292
    7293
    7294
    7295
    7296
    7297
    7298
    7299
    7300
    7301
    7302
    7303
    7304
    7305
    7306
    7307
    7308
    7309
    7310
    7311
    7312
    7313
    7314
    7315
    7316
    7317
    7318
    7319
    7320
    7321
    7322
    7323
    7324
    7325
    7326
    7327
    7328
    7329
    7330
    7331
    7332
    7333
    7334
    7335
    7336
    7337
    7338
    7339
    7340
    7341
    7342
    7343
    7344
    7345
    7346
    7347
    7348
    7349
    7350
    7351
    7352
    7353
    7354
    7355
    7356
    7357
    7358
    7359
    7360
    7361
    7362
    7363
    7364
    7365
    7366
    7367
    7368
    7369
    7370
    7371
    7372
    7373
    7374
    7375
    7376
    7377
    7378
    7379
    7380
    7381
    7382
    7383
    7384
    7385
    7386
    7387
    7388
    7389
    7390
    7391
    7392
    7393
    7394
    7395
    7396
    7397
    7398
    7399
    7400
    7401
    7402
    7403
    7404
    7405
    7406
    7407
    7408
    7409
    7410
    7411
    7412
    7413
    7414
    7415
    7416
    7417
    7418
    7419
    7420
    7421
    7422
    7423
    7424
    7425
    7426
    7427
    7428
    7429
    7430
    7431
    7432
    7433
    7434
    7435
    7436
    7437
    7438
    7439
    7440
    7441
    7442
    7443
    7444
    7445
    7446
    7447
    7448
    7449
    7450
    7451
    7452
    7453
    7454
    7455
    7456
    7457
    7458
    7459
    7460
    7461
    7462
    7463
    7464
    7465
    7466
    7467
    7468
    7469
    7470
    7471
    7472
    7473
    7474
    7475
    7476
    7477
    7478
    7479
    7480
    7481
    7482
    7483
    7484
    7485
    7486
    7487
    7488
    7489
    7490
    7491
    7492
    7493
    7494
    7495
    7496
    7497
    7498
    7499
    7500
    7501
    7502
    7503
    7504
    7505
    7506
    7507
    7508
    7509
    7510
    7511
    7512
    7513
    7514
    7515
    7516
    7517
    7518
    7519
    7520
    7521
    7522
    7523
    7524
    7525
    7526
    7527
    7528
    7529
    7530
    7531
    7532
    7533
    7534
    7535
    7536
    7537
    7538
    7539
    7540
    7541
    7542
    7543
    7544
    7545
    7546
    7547
    7548
    7549
    7550
    7551
    7552
    7553
    7554
    7555
    7556
    7557
    7558
    7559
    7560
    7561
    7562
    7563
    7564
    7565
    7566
    7567
    7568
    7569
    7570
    7571
    7572
    7573
    7574
    7575
    7576
    7577
    7578
    7579
    7580
    7581
    7582
    7583
    7584
    7585
    7586
    7587
    7588
    7589
    7590
    7591
    7592
    7593
    7594
    7595
    7596
    7597
    7598
    7599
    7600
    7601
    7602
    7603
    7604
    7605
    7606
    7607
    7608
    7609
    7610
    7611
    7612
    7613
    7614
    7615
    7616
    7617
    7618
    7619
    7620
    7621
    7622
    7623
    7624
    7625
    7626
    7627
    7628
    7629
    7630
    7631
    7632
    7633
    7634
    7635
    7636
    7637
    7638
    7639
    7640
    7641
    7642
    7643
    7644
    7645
    7646
    7647
    7648
    7649
    7650
    7651
    7652
    7653
    7654
    7655
    7656
    7657
    7658
    7659
    7660
    7661
    7662
    7663
    7664
    7665
    7666
    7667
    7668
    7669
    7670
    7671
    7672
    7673
    7674
    7675
    7676
    7677
    7678
    7679
    7680
    7681
    7682
    7683
    7684
    7685
    7686
    7687
    7688
    7689
    7690
    7691
    7692
    7693
    7694
    7695
    7696
    7697
    7698
    7699
    7700
    7701
    7702
    7703
    7704
    7705
    7706
    7707
    7708
    7709
    7710
    7711
    7712
    7713
    7714
    7715
    7716
    7717
    7718
    7719
    7720
    7721
    7722
    7723
    7724
    7725
    7726
    7727
    7728
    7729
    7730
    7731
    7732
    7733
    7734
    7735
    7736
    7737
    7738
    7739
    7740
    7741
    7742
    7743
    7744
    7745
    7746
    7747
    7748
    7749
    7750
    7751
    7752
    7753
    7754
    7755
    7756
    7757
    7758
    7759
    7760
    7761
    7762
    7763
    7764
    7765
    7766
    7767
    7768
    7769
    7770
    7771
    7772
    7773
    7774
    7775
    7776
    7777
    7778
    7779
    7780
    7781
    7782
    7783
    7784
    7785
    7786
    7787
    7788
    7789
    7790
    7791
    7792
    7793
    7794
    7795
    7796
    7797
    7798
    7799
    7800
    7801
    7802
    7803
    7804
    7805
    7806
    7807
    7808
    7809
    7810
    7811
    7812
    7813
    7814
    7815
    7816
    7817
    7818
    7819
    7820
    7821
    7822
    7823
    7824
    7825
    7826
    7827
    7828
    7829
    7830
    7831
    7832
    7833
    7834
    7835
    7836
    7837
    7838
    7839
    7840
    7841
    7842
    7843
    7844
    7845
    7846
    7847
    7848
    7849
    7850
    7851
    7852
    7853
    7854
    7855
    7856
    7857
    7858
    7859
    7860
    7861
    7862
    7863
    7864
    7865
    7866
    7867
    7868
    7869
    7870
    7871
    7872
    7873
    7874
    7875
    7876
    7877
    7878
    7879
    7880
    7881
    7882
    7883
    7884
    7885
    7886
    7887
    7888
    7889
    7890
    7891
    7892
    7893
    7894
    7895
    7896
    7897
    7898
    7899
    7900
    7901
    7902
    7903
    7904
    7905
    7906
    7907
    7908
    7909
    7910
    7911
    7912
    7913
    7914
    7915
    7916
    7917
    7918
    7919
    7920
    7921
    7922
    7923
    7924
    7925
    7926
    7927
    7928
    7929
    7930
    7931
    7932
    7933
    7934
    7935
    7936
    7937
    7938
    7939
    7940
    7941
    7942
    7943
    7944
    7945
    7946
    7947
    7948
    7949
    7950
    7951
    7952
    7953
    7954
    7955
    7956
    7957
    7958
    7959
    7960
    7961
    7962
    7963
    7964
    7965
    7966
    7967
    7968
    7969
    7970
    7971
    7972
    7973
    7974
    7975
    7976
    7977
    7978
    7979
    7980
    7981
    7982
    7983
    7984
    7985
    7986
    7987
    7988
    7989
    7990
    7991
    7992
    7993
    7994
    7995
    7996
    7997
    7998
    7999
    8000
    8001
    8002
    8003
    8004
    8005
    8006
    8007
    8008
    8009
    8010
    8011
    8012
    8013
    8014
    8015
    8016
    8017
    8018
    8019
    8020
    8021
    8022
    8023
    8024
    8025
    8026
    8027
    8028
    8029
    8030
    8031
    8032
    8033
    8034
    8035
    8036
    8037
    8038
    8039
    8040
    8041
    8042
    8043
    8044
    8045
    8046
    8047
    8048
    8049
    8050
    8051
    8052
    8053
    8054
    8055
    8056
    8057
    8058
    8059
    8060
    8061
    8062
    8063
    8064
    8065
    8066
    8067
    8068
    8069
    8070
    8071
    8072
    8073
    8074
    8075
    8076
    8077
    8078
    8079
    8080
    8081
    8082
    8083
    8084
    8085
    8086
    8087
    8088
    8089
    8090
    8091
    8092
    8093
    8094
    8095
    8096
    8097
    8098
    8099
    8100
    8101
    8102
    8103
    8104
    8105
    8106
    8107
    8108
    8109
    8110
    8111
    8112
    8113
    8114
    8115
    8116
    8117
    8118
    8119
    8120
    8121
    8122
    8123
    8124
    8125
    8126
    8127
    8128
    8129
    8130
    8131
    8132
    8133
    8134
    8135
    8136
    8137
    8138
    8139
    8140
    8141
    8142
    8143
    8144
    8145
    8146
    8147
    8148
    8149
    8150
    8151
    8152
    8153
    8154
    8155
    8156
    8157
    8158
    8159
    8160
    8161
    8162
    8163
    8164
    8165
    8166
    8167
    8168
    8169
    8170
    8171
    8172
    8173
    8174
    8175
    8176
    8177
    8178
    8179
    8180
    8181
    8182
    8183
    8184
    8185
    8186
    8187
    8188
    8189
    8190
    8191
    8192
    8193
    8194
    8195
    8196
    8197
    8198
    8199
    8200
    8201
    8202
    8203
    8204
    8205
    8206
    8207
    8208
    8209
    8210
    8211
    8212
    8213
    8214
    8215
    8216
    8217
    8218
    8219
    8220
    8221
    8222
    8223
    8224
    8225
    8226
    8227
    8228
    8229
    8230
    8231
    8232
    8233
    8234
    8235
    8236
    8237
    8238
    8239
    8240
    8241
    8242
    8243
    8244
    8245
    8246
    8247
    8248
    8249
    8250
    8251
    8252
    8253
    8254
    8255
    8256
    8257
    8258
    8259
    8260
    8261
    8262
    8263
    8264
    8265
    8266
    8267
    8268
    8269
    8270
    8271
    8272
    8273
    8274
    8275
    8276
    8277
    8278
    8279
    8280
    8281
    8282
    8283
    8284
    8285
    8286
    8287
    8288
    8289
    8290
    8291
    8292
    8293
    8294
    8295
    8296
    8297
    8298
    8299
    8300
    8301
    8302
    8303
    8304
    8305
    8306
    8307
    8308
    8309
    8310
    8311
    8312
    8313
    8314
    8315
    8316
    8317
    8318
    8319
    8320
    8321
    8322
    8323
    8324
    8325
    8326
    8327
    8328
    8329
    8330
    8331
    8332
    8333
    8334
    8335
    8336
    8337
    8338
    8339
    8340
    8341
    8342
    8343
    8344
    8345
    8346
    8347
    8348
    8349
    8350
    8351
    8352
    8353
    8354
    8355
    8356
    8357
    8358
    8359
    8360
    8361
    8362
    8363
    8364
    8365
    8366
    8367
    8368
    8369
    8370
    8371
    8372
    8373
    8374
    8375
    8376
    8377
    8378
    8379
    8380
    8381
    8382
    8383
    8384
    8385
    8386
    8387
    8388
    8389
    8390
    8391
    8392
    8393
    8394
    8395
    8396
    8397
    8398
    8399
    8400
    8401
    8402
    8403
    8404
    8405
    8406
    8407
    8408
    8409
    8410
    8411
    8412
    8413
    8414
    8415
    8416
    8417
    8418
    8419
    8420
    8421
    8422
    8423
    8424
    8425
    8426
    8427
    8428
    8429
    8430
    8431
    8432
    8433
    8434
    8435
    8436
    8437
    8438
    8439
    8440
    8441
    8442
    8443
    8444
    8445
    8446
    8447
    8448
    8449
    8450
    8451
    8452
    8453
    8454
    8455
    8456
    8457
    8458
    8459
    8460
    8461
    8462
    8463
    8464
    8465
    8466
    8467
    8468
    8469
    8470
    8471
    8472
    8473
    8474
    8475
    8476
    8477
    8478
    8479
    8480
    8481
    8482
    8483
    8484
    8485
    8486
    8487
    8488
    8489
    8490
    8491
    8492
    8493
    8494
    8495
    8496
    8497
    8498
    8499
    8500
    8501
    8502
    8503
    8504
    8505
    8506
    8507
    8508
    8509
    8510
    8511
    8512
    8513
    8514
    8515
    8516
    8517
    8518
    8519
    8520
    8521
    8522
    8523
    8524
    8525
    8526
    8527
    8528
    8529
    8530
    8531
    8532
    8533
    8534
    8535
    8536
    8537
    8538
    8539
    8540
    8541
    8542
    8543
    8544
    8545
    8546
    8547
    8548
    8549
    8550
    8551
    8552
    8553
    8554
    8555
    8556
    8557
    8558
    8559
    8560
    8561
    8562
    8563
    8564
    8565
    8566
    8567
    8568
    8569
    8570
    8571
    8572
    8573
    8574
    8575
    8576
    8577
    8578
    8579
    8580
    8581
    8582
    8583
    8584
    8585
    8586
    8587
    8588
    8589
    8590
    8591
    8592
    8593
    8594
    8595
    8596
    8597
    8598
    8599
    8600
    8601
    8602
    8603
    8604
    8605
    8606
    8607
    8608
    8609
    8610
    8611
    8612
    8613
    8614
    8615
    8616
    8617
    8618
    8619
    8620
    8621
    8622
    8623
    8624
    8625
    8626
    8627
    8628
    8629
    8630
    8631
    8632
    8633
    8634
    8635
    8636
    8637
    8638
    8639
    8640
    8641
    8642
    8643
    8644
    8645
    8646
    8647
    8648
    8649
    8650
    8651
    8652
    8653
    8654
    8655
    8656
    8657
    8658
    8659
    8660
    8661
    8662
    8663
    8664
    8665
    8666
    8667
    8668
    8669
    8670
    8671
    8672
    8673
    8674
    8675
    8676
    8677
    8678
    8679
    8680
    8681
    8682
    8683
    8684
    8685
    8686
    8687
    8688
    8689
    8690
    8691
    8692
    8693
    8694
    8695
    8696
    8697
    8698
    8699
    8700
    8701
    8702
    8703
    8704
    8705
    8706
    8707
    8708
    8709
    8710
    8711
    8712
    8713
    8714
    8715
    8716
    8717
    8718
    8719
    8720
    8721
    8722
    8723
    8724
    8725
    8726
    8727
    8728
    8729
    8730
    8731
    8732
    8733
    8734
    8735
    8736
    8737
    8738
    8739
    8740
    8741
    8742
    8743
    8744
    8745
    8746
    8747
    8748
    8749
    8750
    8751
    8752
    8753
    8754
    8755
    8756
    8757
    8758
    8759
    8760
    8761
    8762
    8763
    8764
    8765
    8766
    8767
    8768
    8769
    8770
    8771
    8772
    8773
    8774
    8775
    8776
    8777
    8778
    8779
    8780
    8781
    8782
    8783
    8784
    8785
    8786
    8787
    8788
    8789
    8790
    8791
    8792
    8793
    8794
    8795
    8796
    8797
    8798
    8799
    8800
    8801
    8802
    8803
    8804
    8805
    8806
    8807
    8808
    8809
    8810
    8811
    8812
    8813
    8814
    8815
    8816
    8817
    8818
    8819
    8820
    8821
    8822
    8823
    8824
    8825
    8826
    8827
    8828
    8829
    8830
    8831
    8832
    8833
    8834
    8835
    8836
    8837
    8838
    8839
    8840
    8841
    8842
    8843
    8844
    8845
    8846
    8847
    8848
    8849
    8850
    8851
    8852
    8853
    8854
    8855
    8856
    8857
    8858
    8859
    8860
    8861
    8862
    8863
    8864
    8865
    8866
    8867
    8868
    8869
    8870
    8871
    8872
    8873
    8874
    8875
    8876
    8877
    8878
    8879
    8880
    8881
    8882
    8883
    8884
    8885
    8886
    8887
    8888
    8889
    8890
    8891
    8892
    8893
    8894
    8895
    8896
    8897
    8898
    8899
    8900
    8901
    8902
    8903
    8904
    8905
    8906
    8907
    8908
    8909
    8910
    8911
    8912
    8913
    8914
    8915
    8916
    8917
    8918
    8919
    8920
    8921
    8922
    8923
    8924
    8925
    8926
    8927
    8928
    8929
    8930
    8931
    8932
    8933
    8934
    8935
    8936
    8937
    8938
    8939
    8940
    8941
    8942
    8943
    8944
    8945
    8946
    8947
    8948
    8949
    8950
    8951
    8952
    8953
    8954
    8955
    8956
    8957
    8958
    8959
    8960
    8961
    8962
    8963
    8964
    8965
    8966
    8967
    8968
    8969
    8970
    8971
    8972
    8973
    8974
    8975
    8976
    8977
    8978
    8979
    8980
    8981
    8982
    8983
    8984
    8985
    8986
    8987
    8988
    8989
    8990
    8991
    8992
    8993
    8994
    8995
    8996
    8997
    8998
    8999
    9000
    9001
    9002
    9003
    9004
    9005
    9006
    9007
    9008
    9009
    9010
    9011
    9012
    9013
    9014
    9015
    9016
    9017
    9018
    9019
    9020
    9021
    9022
    9023
    9024
    9025
    9026
    9027
    9028
    9029
    9030
    9031
    9032
    9033
    9034
    9035
    9036
    9037
    9038
    9039
    9040
    9041
    9042
    9043
    9044
    9045
    9046
    9047
    9048
    9049
    9050
    9051
    9052
    9053
    9054
    9055
    9056
    9057
    9058
    9059
    9060
    9061
    9062
    9063
    9064
    9065
    9066
    9067
    9068
    9069
    9070
    9071
    9072
    9073
    9074
    9075
    9076
    9077
    9078
    9079
    9080
    9081
    9082
    9083
    9084
    9085
    9086
    9087
    9088
    9089
    9090
    9091
    9092
    9093
    9094
    9095
    9096
    9097
    9098
    9099
    9100
    9101
    9102
    9103
    9104
    9105
    9106
    9107
    9108
    9109
    9110
    9111
    9112
    9113
    9114
    9115
    9116
    9117
    9118
    9119
    9120
    9121
    9122
    9123
    9124
    9125
    9126
    9127
    9128
    9129
    9130
    9131
    9132
    9133
    9134
    9135
    9136
    9137
    9138
    9139
    9140
    9141
    9142
    9143
    9144
    9145
    9146
    9147
    9148
    9149
    9150
    9151
    9152
    9153
    9154
    9155
    9156
    9157
    9158
    9159
    9160
    9161
    9162
    9163
    9164
    9165
    9166
    9167
    9168
    9169
    9170
    9171
    9172
    9173
    9174
    9175
    9176
    9177
    9178
    9179
    9180
    9181
    9182
    9183
    9184
    9185
    9186
    9187
    9188
    9189
    9190
    9191
    9192
    9193
    9194
    9195
    9196
    9197
    9198
    9199
    9200
    9201
    9202
    9203
    9204
    9205
    9206
    9207
    9208
    9209
    9210
    9211
    9212
    9213
    9214
    9215
    9216
    9217
    9218
    9219
    9220
    9221
    9222
    9223
    9224
    9225
    9226
    9227
    9228
    9229
    9230
    9231
    9232
    9233
    9234
    9235
    9236
    9237
    9238
    9239
    9240
    9241
    9242
    9243
    9244
    9245
    9246
    9247
    9248
    9249
    9250
    9251
    9252
    9253
    9254
    9255
    9256
    9257
    9258
    9259
    9260
    9261
    9262
    9263
    9264
    9265
    9266
    9267
    9268
    9269
    9270
    9271
    9272
    9273
    9274
    9275
    9276
    9277
    9278
    9279
    9280
    9281
    9282
    9283
    9284
    9285
    9286
    9287
    9288
    9289
    9290
    9291
    9292
    9293
    9294
    9295
    9296
    9297
    9298
    9299
    9300
    9301
    9302
    9303
    9304
    9305
    9306
    9307
    9308
    9309
    9310
    9311
    9312
    9313
    9314
    9315
    9316
    9317
    9318
    9319
    9320
    9321
    9322
    9323
    9324
    9325
    9326
    9327
    9328
    9329
    9330
    9331
    9332
    9333
    9334
    9335
    9336
    9337
    9338
    9339
    9340
    9341
    9342
    9343
    9344
    9345
    9346
    9347
    9348
    9349
    9350
    9351
    9352
    9353
    9354
    9355
    9356
    9357
    9358
    9359
    9360
    9361
    9362
    9363
    9364
    9365
    9366
    9367
    9368
    9369
    9370
    9371
    9372
    9373
    9374
    9375
    9376
    9377
    9378
    9379
    9380
    9381
    9382
    9383
    9384
    9385
    9386
    9387
    9388
    9389
    9390
    9391
    9392
    9393
    9394
    9395
    9396
    9397
    9398
    9399
    9400
    9401
    9402
    9403
    9404
    9405
    9406
    9407
    9408
    9409
    9410
    9411
    9412
    9413
    9414
    9415
    9416
    9417
    9418
    9419
    9420
    9421
    9422
    9423
    9424
    9425
    9426
    9427
    9428
    9429
    9430
    9431
    9432
    9433
    9434
    9435
    9436
    9437
    9438
    9439
    9440
    9441
    9442
    9443
    9444
    9445
    9446
    9447
    9448
    9449
    9450
    9451
    9452
    9453
    9454
    9455
    9456
    9457
    9458
    9459
    9460
    9461
    9462
    9463
    9464
    9465
    9466
    9467
    9468
    9469
    9470
    9471
    9472
    9473
    9474
    9475
    9476
    9477
    9478
    9479
    9480
    9481
    9482
    9483
    9484
    9485
    9486
    9487
    9488
    9489
    9490
    9491
    9492
    9493
    9494
    9495
    9496
    9497
    9498
    9499
    9500
    9501
    9502
    9503
    9504
    9505
    9506
    9507
    9508
    9509
    9510
    9511
    9512
    9513
    9514
    9515
    9516
    9517
    9518
    9519
    9520
    9521
    9522
    9523
    9524
    9525
    9526
    9527
    9528
    9529
    9530
    9531
    9532
    9533
    9534
    9535
    9536
    9537
    9538
    9539
    9540
    9541
    9542
    9543
    9544
    9545
    9546
    9547
    9548
    9549
    9550
    9551
    9552
    9553
    9554
    9555
    9556
    9557
    9558
    9559
    9560
    9561
    9562
    9563
    9564
    9565
    9566
    9567
    9568
    9569
    9570
    9571
    9572
    9573
    9574
    9575
    9576
    9577
    9578
    9579
    9580
    9581
    9582
    9583
    9584
    9585
    9586
    9587
    9588
    9589
    9590
    9591
    9592
    9593
    9594
    9595
    9596
    9597
    9598
    9599
    9600
    9601
    9602
    9603
    9604
    9605
    9606
    9607
    9608
    9609
    9610
    9611
    9612
    9613
    9614
    9615
    9616
    9617
    9618
    9619
    9620
    9621
    9622
    9623
    9624
    9625
    9626
    9627
    9628
    9629
    9630
    9631
    9632
    9633
    9634
    9635
    9636
    9637
    9638
    9639
    9640
    9641
    9642
    9643
    9644
    9645
    9646
    9647
    9648
    9649
    9650
    9651
    9652
    9653
    9654
    9655
    9656
    9657
    9658
    9659
    9660
    9661
    9662
    9663
    9664
    9665
    9666
    9667
    9668
    9669
    9670
    9671
    9672
    9673
    9674
    9675
    9676
    9677
    9678
    9679
    9680
    9681
    9682
    9683
    9684
    9685
    9686
    9687
    9688
    9689
    9690
    9691
    9692
    9693
    9694
    9695
    9696
    9697
    9698
    9699
    9700
    9701
    9702
    9703
    9704
    9705
    9706
    9707
    9708
    9709
    9710
    9711
    9712
    9713
    9714
    9715
    9716
    9717
    9718
    9719
    9720
    9721
    9722
    9723
    9724
    9725
    9726
    9727
    9728
    9729
    9730
    9731
    9732
    9733
    9734
    9735
    9736
    9737
    9738
    9739
    9740
    9741
    9742
    9743
    9744
    9745
    9746
    9747
    9748
    9749
    9750
    9751
    9752
    9753
    9754
    9755
    9756
    9757
    9758
    9759
    9760
    9761
    9762
    9763
    9764
    9765
    9766
    9767
    9768
    9769
    9770
    9771
    9772
    9773
    9774
    9775
    9776
    9777
    9778
    9779
    9780
    9781
    9782
    9783
    9784
    9785
    9786
    9787
    9788
    9789
    9790
    9791
    9792
    9793
    9794
    9795
    9796
    9797
    9798
    9799
    9800
    9801
    9802
    9803
    9804
    9805
    9806
    9807
    9808
    9809
    9810
    9811
    9812
    9813
    9814
    9815
    9816
    9817
    9818
    9819
    9820
    9821
    9822
    9823
    9824
    9825
    9826
    9827
    9828
    9829
    9830
    9831
    9832
    9833
    9834
    9835
    9836
    9837
    9838
    9839
    9840
    9841
    9842
    9843
    9844
    9845
    9846
    9847
    9848
    9849
    9850
    9851
    9852
    9853
    9854
    9855
    9856
    9857
    9858
    9859
    9860
    9861
    9862
    9863
    9864
    9865
    9866
    9867
    9868
    9869
    9870
    9871
    9872
    9873
    9874
    9875
    9876
    9877
    9878
    9879
    9880
    9881
    9882
    9883
    9884
    9885
    9886
    9887
    9888
    9889
    9890
    9891
    9892
    9893
    9894
    9895
    9896
    9897
    9898
    9899
    9900
    9901
    9902
    9903
    9904
    9905
    9906
    9907
    9908
    9909
    9910
    9911
    9912
    9913
    9914
    9915
    9916
    9917
    9918
    9919
    9920
    9921
    9922
    9923
    9924
    9925
    9926
    9927
    9928
    9929
    9930
    9931
    9932
    9933
    9934
    9935
    9936
    9937
    9938
    9939
    9940
    9941
    9942
    9943
    9944
    9945
    9946
    9947
    9948
    9949
    9950
    9951
    9952
    9953
    9954
    9955
    9956
    9957
    9958
    9959
    9960
    9961
    9962
    9963
    9964
    9965
    9966
    9967
    9968
    9969
    9970
    9971
    9972
    9973
    9974
    9975
    9976
    9977
    9978
    9979
    9980
    9981
    9982
    9983
    9984
    9985
    9986
    9987
    9988
    9989
    9990
    9991
    9992
    9993
    9994
    9995
    9996
    9997
    9998
    9999
    10000
    10001
    10002
    10003
    10004
    10005
    10006
    10007
    10008
    10009
    10010
    10011
    10012
    10013
    10014
    10015
    10016
    10017
    10018
    10019
    10020
    10021
    10022
    10023
    10024
    10025
    10026
    10027
    10028
    10029
    10030
    10031
    10032
    10033
    10034
    10035
    10036
    10037
    10038
    10039
    10040
    10041
    10042
    10043
    10044
    10045
    10046
    10047
    10048
    10049
    10050
    10051
    10052
    10053
    10054
    10055
    10056
    10057
    10058
    10059
    10060
    10061
    10062
    10063
    10064
    10065
    10066
    10067
    10068
    10069
    10070
    10071
    10072
    10073
    10074
    10075
    10076
    10077
    10078
    10079
    10080
    10081
    10082
    10083
    10084
    10085
    10086
    10087
    10088
    10089
    10090
    10091
    10092
    10093
    10094
    10095
    10096
    10097
    10098
    10099
    10100
    10101
    10102
    10103
    10104
    10105
    10106
    10107
    10108
    10109
    10110
    10111
    10112
    10113
    10114
    10115
    10116
    10117
    10118
    10119
    10120
    10121
    10122
    10123
    10124
    10125
    10126
    10127
    10128
    10129
    10130
    10131
    10132
    10133
    10134
    10135
    10136
    10137
    10138
    10139
    10140
    10141
    10142
    10143
    10144
    10145
    10146
    10147
    10148
    10149
    10150
    10151
    10152
    10153
    10154
    10155
    10156
    10157
    10158
    10159
    10160
    10161
    10162
    10163
    10164
    10165
    10166
    10167
    10168
    10169
    10170
    10171
    10172
    10173
    10174
    10175
    10176
    10177
    10178
    10179
    10180
    10181
    10182
    10183
    10184
    10185
    10186
    10187
    10188
    10189
    10190
    10191
    10192
    10193
    10194
    10195
    10196
    10197
    10198
    10199
    10200
    10201
    10202
    10203
    10204
    10205
    10206
    10207
    10208
    10209
    10210
    10211
    10212
    10213
    10214
    10215
    10216
    10217
    10218
    10219
    10220
    10221
    10222
    10223
    10224
    10225
    10226
    10227
    10228
    10229
    10230
    10231
    10232
    10233
    10234
    10235
    10236
    10237
    10238
    10239
    10240
    10241
    10242
    10243
    10244
    10245
    10246
    10247
    10248
    10249
    10250
    10251
    10252
    10253
    10254
    10255
    10256
    10257
    10258
    10259
    10260
    10261
    10262
    10263
    10264
    10265
    10266
    10267
    10268
    10269
    10270
    10271
    10272
    10273
    10274
    10275
    10276
    10277
    10278
    10279
    10280
    10281
    10282
    10283
    10284
    10285
    10286
    10287
    10288
    10289
    10290
    10291
    10292
    10293
    10294
    10295
    10296
    10297
    10298
    10299
    10300
    10301
    10302
    10303
    10304
    10305
    10306
    10307
    10308
    10309
    10310
    10311
    10312
    10313
    10314
    10315
    10316
    10317
    10318
    10319
    10320
    10321
    10322
    10323
    10324
    10325
    10326
    10327
    10328
    10329
    10330
    10331
    10332
    10333
    10334
    10335
    10336
    10337
    10338
    10339
    10340
    10341
    10342
    10343
    10344
    10345
    10346
    10347
    10348
    10349
    10350
    10351
    10352
    10353
    10354
    10355
    10356
    10357
    10358
    10359
    10360
    10361
    10362
    10363
    10364
    10365
    10366
    10367
    10368
    10369
    10370
    10371
    10372
    10373
    10374
    10375
    10376
    10377
    10378
    10379
    10380
    10381
    10382
    10383
    10384
    10385
    10386
    10387
    10388
    10389
    10390
    10391
    10392
    10393
    10394
    10395
    10396
    10397
    10398
    10399
    10400
    10401
    10402
    10403
    10404
    10405
    10406
    10407
    10408
    10409
    10410
    10411
    10412
    10413
    10414
    10415
    10416
    10417
    10418
    10419
    10420
    10421
    10422
    10423
    10424
    10425
    10426
    10427
    10428
    10429
    10430
    10431
    10432
    10433
    10434
    10435
    10436
    10437
    10438
    10439
    10440
    10441
    10442
    10443
    10444
    10445
    10446
    10447
    10448
    10449
    10450
    10451
    10452
    10453
    10454
    10455
    10456
    10457
    10458
    10459
    10460
    10461
    10462
    10463
    10464
    10465
    10466
    10467
    10468
    10469
    10470
    10471
    10472
    10473
    10474
    10475
    10476
    10477
    10478
    10479
    10480
    10481
    10482
    10483
    10484
    10485
    10486
    10487
    10488
    10489
    10490
    10491
    10492
    10493
    10494
    10495
    10496
    10497
    10498
    10499
    10500
    10501
    10502
    10503
    10504
    10505
    10506
    10507
    10508
    10509
    10510
    10511
    10512
    10513
    10514
    10515
    10516
    10517
    10518
    10519
    10520
    10521
    10522
    10523
    10524
    10525
    10526
    10527
    10528
    10529
    10530
    10531
    10532
    10533
    10534
    10535
    10536
    10537
    10538
    10539
    10540
    10541
    10542
    10543
    10544
    10545
    10546
    10547
    10548
    10549
    10550
    10551
    10552
    10553
    10554
    10555
    10556
    10557
    10558
    10559
    10560
    10561
    10562
    10563
    10564
    10565
    10566
    10567
    10568
    10569
    10570
    10571
    10572
    10573
    10574
    10575
    10576
    10577
    10578
    10579
    10580
    10581
    10582
    10583
    10584
    10585
    10586
    10587
    10588
    10589
    10590
    10591
    10592
    10593
    10594
    10595
    10596
    10597
    10598
    10599
    10600
    10601
    10602
    10603
    10604
    10605
    10606
    10607
    10608
    10609
    10610
    10611
    10612
    10613
    10614
    10615
    10616
    10617
    10618
    10619
    10620
    10621
    10622
    10623
    10624
    10625
    10626
    10627
    10628
    10629
    10630
    10631
    10632
    10633
    10634
    10635
    10636
    10637
    10638
    10639
    10640
    10641
    10642
    10643
    10644
    10645
    10646
    10647
    10648
    10649
    10650
    10651
    10652
    10653
    10654
    10655
    10656
    10657
    10658
    10659
    10660
    10661
    10662
    10663
    10664
    10665
    10666
    10667
    10668
    10669
    10670
    10671
    10672
    10673
    10674
    10675
    10676
    10677
    10678
    10679
    10680
    10681
    10682
    10683
    10684
    10685
    10686
    10687
    10688
    10689
    10690
    10691
    10692
    10693
    10694
    10695
    10696
    10697
    10698
    10699
    10700
    10701
    10702
    10703
    10704
    10705
    10706
    10707
    10708
    10709
    10710
    10711
    10712
    10713
    10714
    10715
    10716
    10717
    10718
    10719
    10720
    10721
    10722
    10723
    10724
    10725
    10726
    10727
    10728
    10729
    10730
    10731
    10732
    10733
    10734
    10735
    10736
    10737
    10738
    10739
    10740
    10741
    10742
    10743
    10744
    10745
    10746
    10747
    10748
    10749
    10750
    10751
    10752
    10753
    10754
    10755
    10756
    10757
    10758
    10759
    10760
    10761
    10762
    10763
    10764
    10765
    10766
    10767
    10768
    10769
    10770
    10771
    10772
    10773
    10774
    10775
    10776
    10777
    10778
    10779
    10780
    10781
    10782
    10783
    10784
    10785
    10786
    10787
    10788
    10789
    10790
    10791
    10792
    10793
    10794
    10795
    10796
    10797
    10798
    10799
    10800
    10801
    10802
    10803
    10804
    10805
    10806
    10807
    10808
    10809
    10810
    10811
    10812
    10813
    10814
    10815
    10816
    10817
    10818
    10819
    10820
    10821
    10822
    10823
    10824
    10825
    10826
    10827
    10828
    10829
    10830
    10831
    10832
    10833
    10834
    10835
    10836
    10837
    10838
    10839
    10840
    10841
    10842
    10843
    10844
    10845
    10846
    10847
    10848
    10849
    10850
    10851
    10852
    10853
    10854
    10855
    10856
    10857
    10858
    10859
    10860
    10861
    10862
    10863
    10864
    10865
    10866
    10867
    10868
    10869
    10870
    10871
    10872
    10873
    10874
    10875
    10876
    10877
    10878
    10879
    10880
    10881
    10882
    10883
    10884
    10885
    10886
    10887
    10888
    10889
    10890
    10891
    10892
    10893
    10894
    10895
    10896
    10897
    10898
    10899
    10900
    10901
    10902
    10903
    10904
    10905
    10906
    10907
    10908
    10909
    10910
    10911
    10912
    10913
    10914
    10915
    10916
    10917
    10918
    10919
    10920
    10921
    10922
    10923
    10924
    10925
    10926
    10927
    10928
    10929
    10930
    10931
    10932
    10933
    10934
    10935
    10936
    10937
    10938
    10939
    10940
    10941
    10942
    10943
    10944
    10945
    10946
    10947
    10948
    10949
    10950
    10951
    10952
    10953
    10954
    10955
    10956
    10957
    10958
    10959
    10960
    10961
    10962
    10963
    10964
    10965
    10966
    10967
    10968
    10969
    10970
    10971
    10972
    10973
    10974
    10975
    10976
    10977
    10978
    10979
    10980
    10981
    10982
    10983
    10984
    10985
    10986
    10987
    10988
    10989
    10990
    10991
    10992
    10993
    10994
    10995
    10996
    10997
    10998
    10999
    11000
    11001
    11002
    11003
    11004
    11005
    11006
    11007
    11008
    11009
    11010
    11011
    11012
    11013
    11014
    11015
    11016
    11017
    11018
    11019
    11020
    11021
    11022
    11023
    11024
    11025
    11026
    11027
    11028
    11029
    11030
    11031
    11032
    11033
    11034
    11035
    11036
    11037
    11038
    11039
    11040
    11041
    11042
    11043
    11044
    11045
    11046
    11047
    11048
    11049
    11050
    11051
    11052
    11053
    11054
    11055
    11056
    11057
    11058
    11059
    11060
    11061
    11062
    11063
    11064
    11065
    11066
    11067
    11068
    11069
    11070
    11071
    11072
    11073
    11074
    11075
    11076
    11077
    11078
    11079
    11080
    11081
    11082
    11083
    11084
    11085
    11086
    11087
    11088
    11089
    11090
    11091
    11092
    11093
    11094
    11095
    11096
    11097
    11098
    11099
    11100
    11101
    11102
    11103
    11104
    11105
    11106
    11107
    11108
    11109
    11110
    11111
    11112
    11113
    11114
    11115
    11116
    11117
    11118
    11119
    11120
    11121
    11122
    11123
    11124
    11125
    11126
    11127
    11128
    11129
    11130
    11131
    11132
    11133
    11134
    11135
    11136
    11137
    11138
    11139
    11140
    11141
    11142
    11143
    11144
    11145
    11146
    11147
    11148
    11149
    11150
    11151
    11152
    11153
    11154
    11155
    11156
    11157
    11158
    11159
    11160
    11161
    11162
    11163
    11164
    11165
    11166
    11167
    11168
    11169
    11170
    11171
    11172
    11173
    11174
    11175
    11176
    11177
    11178
    11179
    11180
    11181
    11182
    11183
    11184
    11185
    11186
    11187
    11188
    11189
    11190
    11191
    11192
    11193
    11194
    11195
    11196
    11197
    11198
    11199
    11200
    11201
    11202
    11203
    11204
    11205
    11206
    11207
    11208
    11209
    11210
    11211
    11212
    11213
    11214
    11215
    11216
    11217
    11218
    11219
    11220
    11221
    11222
    11223
    11224
    11225
    11226
    11227
    11228
    11229
    11230
    11231
    11232
    11233
    11234
    11235
    11236
    11237
    11238
    11239
    11240
    11241
    11242
    11243
    11244
    11245
    11246
    11247
    11248
    11249
    11250
    11251
    11252
    11253
    11254
    11255
    11256
    11257
    11258
    11259
    11260
    11261
    11262
    11263
    11264
    11265
    11266
    11267
    11268
    11269
    11270
    11271
    11272
    11273
    11274
    11275
    11276
    11277
    11278
    11279
    11280
    11281
    11282
    11283
    11284
    11285
    11286
    11287
    11288
    11289
    11290
    11291
    11292
    11293
    11294
    11295
    11296
    11297
    11298
    11299
    11300
    11301
    11302
    11303
    11304
    11305
    11306
    11307
    11308
    11309
    11310
    11311
    11312
    11313
    11314
    11315
    11316
    11317
    11318
    11319
    11320
    11321
    11322
    11323
    11324
    11325
    11326
    11327
    11328
    11329
    11330
    11331
    11332
    11333
    11334
    11335
    11336
    11337
    11338
    11339
    11340
    11341
    11342
    11343
    11344
    11345
    11346
    11347
    11348
    11349
    11350
    11351
    11352
    11353
    11354
    11355
    11356
    11357
    11358
    11359
    11360
    11361
    11362
    11363
    11364
    11365
    11366
    11367
    11368
    11369
    11370
    11371
    11372
    11373
    11374
    11375
    11376
    11377
    11378
    11379
    11380
    11381
    11382
    11383
    11384
    11385
    11386
    11387
    11388
    11389
    11390
    11391
    11392
    11393
    11394
    11395
    11396
    11397
    11398
    11399
    11400
    11401
    11402
    11403
    11404
    11405
    11406
    11407
    11408
    11409
    11410
    11411
    11412
    11413
    11414
    11415
    11416
    11417
    11418
    11419
    11420
    11421
    11422
    11423
    11424
    11425
    11426
    11427
    11428
    11429
    11430
    11431
    11432
    11433
    11434
    11435
    11436
    11437
    11438
    11439
    11440
    11441
    11442
    11443
    11444
    11445
    11446
    11447
    11448
    11449
    11450
    11451
    11452
    11453
    11454
    11455
    11456
    11457
    11458
    11459
    11460
    11461
    11462
    11463
    11464
    11465
    11466
    11467
    11468
    11469
    11470
    11471
    11472
    11473
    11474
    11475
    11476
    11477
    11478
    11479
    11480
    11481
    11482
    11483
    11484
    11485
    11486
    11487
    11488
    11489
    11490
    11491
    11492
    11493
    11494
    11495
    11496
    11497
    11498
    11499
    11500
    11501
    11502
    11503
    11504
    11505
    11506
    11507
    11508
    11509
    11510
    11511
    11512
    11513
    11514
    11515
    11516
    11517
    11518
    11519
    11520
    11521
    11522
    11523
    11524
    11525
    11526
    11527
    11528
    11529
    11530
    11531
    11532
    11533
    11534
    11535
    11536
    11537
    11538
    11539
    11540
    11541
    11542
    11543
    11544
    11545
    11546
    11547
    11548
    11549
    11550
    11551
    11552
    11553
    11554
    11555
    11556
    11557
    11558
    11559
    11560
    11561
    11562
    11563
    11564
    11565
    11566
    11567
    11568
    11569
    11570
    11571
    11572
    11573
    11574
    11575
    11576
    11577
    11578
    11579
    11580
    11581
    11582
    11583
    11584
    11585
    11586
    11587
    11588
    11589
    11590
    11591
    11592
    11593
    11594
    11595
    11596
    11597
    11598
    11599
    11600
    11601
    11602
    11603
    11604
    11605
    11606
    11607
    11608
    11609
    11610
    11611
    11612
    11613
    11614
    11615
    11616
    11617
    11618
    11619
    11620
    11621
    11622
    11623
    11624
    11625
    11626
    11627
    11628
    11629
    11630
    11631
    11632
    11633
    11634
    11635
    11636
    11637
    11638
    11639
    11640
    11641
    11642
    11643
    11644
    11645
    11646
    11647
    11648
    11649
    11650
    11651
    11652
    11653
    11654
    11655
    11656
    11657
    11658
    11659
    11660
    11661
    11662
    11663
    11664
    11665
    11666
    11667
    11668
    11669
    11670
    11671
    11672
    11673
    11674
    11675
    11676
    11677
    11678
    11679
    11680
    11681
    11682
    11683
    11684
    11685
    11686
    11687
    11688
    11689
    11690
    11691
    11692
    11693
    11694
    11695
    11696
    11697
    11698
    11699
    11700
    11701
    11702
    11703
    11704
    11705
    11706
    11707
    11708
    11709
    11710
    11711
    11712
    11713
    11714
    11715
    11716
    11717
    11718
    11719
    11720
    11721
    11722
    11723
    11724
    11725
    11726
    11727
    11728
    11729
    11730
    11731
    11732
    11733
    11734
    11735
    11736
    11737
    11738
    11739
    11740
    11741
    11742
    11743
    11744
    11745
    11746
    11747
    11748
    11749
    11750
    11751
    11752
    11753
    11754
    11755
    11756
    11757
    11758
    11759
    11760
    11761
    11762
    11763
    11764
    11765
    11766
    11767
    11768
    11769
    11770
    11771
    11772
    11773
    11774
    11775
    11776
    11777
    11778
    11779
    11780
    11781
    11782
    11783
    11784
    11785
    11786
    11787
    11788
    11789
    11790
    11791
    11792
    11793
    11794
    11795
    11796
    11797
    11798
    11799
    11800
    11801
    11802
    11803
    11804
    11805
    11806
    11807
    11808
    11809
    11810
    11811
    11812
    11813
    11814
    11815
    11816
    11817
    11818
    11819
    11820
    11821
    11822
    11823
    11824
    11825
    11826
    11827
    11828
    11829
    11830
    11831
    11832
    11833
    11834
    11835
    11836
    11837
    11838
    11839
    11840
    11841
    11842
    11843
    11844
    11845
    11846
    11847
    11848
    11849
    11850
    11851
    11852
    11853
    11854
    11855
    11856
    11857
    11858
    11859
    11860
    11861
    11862
    11863
    11864
    11865
    11866
    11867
    11868
    11869
    11870
    11871
    11872
    11873
    11874
    11875
    11876
    11877
    11878
    11879
    11880
    11881
    11882
    11883
    11884
    11885
    11886
    11887
    11888
    11889
    11890
    11891
    11892
    11893
    11894
    11895
    11896
    11897
    11898
    11899
    11900
    11901
    11902
    11903
    11904
    11905
    11906
    11907
    11908
    11909
    11910
    11911
    11912
    11913
    11914
    11915
    11916
    11917
    11918
    11919
    11920
    11921
    11922
    11923
    11924
    11925
    11926
    11927
    11928
    11929
    11930
    11931
    11932
    11933
    11934
    11935
    11936
    11937
    11938
    11939
    11940
    11941
    11942
    11943
    11944
    11945
    11946
    11947
    11948
    11949
    11950
    11951
    11952
    11953
    11954
    11955
    11956
    11957
    11958
    11959
    11960
    11961
    11962
    11963
    11964
    11965
    11966
    11967
    11968
    11969
    11970
    11971
    11972
    11973
    11974
    11975
    11976
    11977
    11978
    11979
    11980
    11981
    11982
    11983
    11984
    11985
    11986
    11987
    11988
    11989
    11990
    11991
    11992
    11993
    11994
    11995
    11996
    11997
    11998
    11999
    12000
    12001
    12002
    12003
    12004
    12005
    12006
    12007
    12008
    12009
    12010
    12011
    12012
    12013
    12014
    12015
    12016
    12017
    12018
    12019
    12020
    12021
    12022
    12023
    12024
    12025
    12026
    12027
    12028
    12029
    12030
    12031
    12032
    12033
    12034
    12035
    12036
    12037
    12038
    12039
    12040
    12041
    12042
    12043
    12044
    12045
    12046
    12047
    12048
    12049
    12050
    12051
    12052
    12053
    12054
    12055
    12056
    12057
    12058
    12059
    12060
    12061
    12062
    12063
    12064
    12065
    12066
    12067
    12068
    12069
    12070
    12071
    12072
    12073
    12074
    12075
    12076
    12077
    12078
    12079
    12080
    12081
    12082
    12083
    12084
    12085
    12086
    12087
    12088
    12089
    12090
    12091
    12092
    12093
    12094
    12095
    12096
    12097
    12098
    12099
    12100
    12101
    12102
    12103
    12104
    12105
    12106
    12107
    12108
    12109
    12110
    12111
    12112
    12113
    12114
    12115
    12116
    12117
    12118
    12119
    12120
    12121
    12122
    12123
    12124
    12125
    12126
    12127
    12128
    12129
    12130
    12131
    12132
    12133
    12134
    12135
    12136
    12137
    12138
    12139
    12140
    12141
    12142
    12143
    12144
    12145
    12146
    12147
    12148
    12149
    12150
    12151
    12152
    12153
    12154
    12155
    12156
    12157
    12158
    12159
    12160
    12161
    12162
    12163
    12164
    12165
    12166
    12167
    12168
    12169
    12170
    12171
    12172
    12173
    12174
    12175
    12176
    12177
    12178
    12179
    12180
    12181
    12182
    12183
    12184
    12185
    12186
    12187
    12188
    12189
    12190
    12191
    12192
    12193
    12194
    12195
    12196
    12197
    12198
    12199
    12200
    12201
    12202
    12203
    12204
    12205
    12206
    12207
    12208
    12209
    12210
    12211
    12212
    12213
    12214
    12215
    12216
    12217
    12218
    12219
    12220
    12221
    12222
    12223
    12224
    12225
    12226
    12227
    12228
    12229
    12230
    12231
    12232
    12233
    12234
    12235
    12236
    12237
    12238
    12239
    12240
    12241
    12242
    12243
    12244
    12245
    12246
    12247
    12248
    12249
    12250
    12251
    12252
    12253
    12254
    12255
    12256
    12257
    12258
    12259
    12260
    12261
    12262
    12263
    12264
    12265
    12266
    12267
    12268
    12269
    12270
    12271
    12272
    12273
    12274
    12275
    12276
    12277
    12278
    12279
    12280
    12281
    12282
    12283
    12284
    12285
    12286
    12287
    12288
    12289
    12290
    12291
    12292
    12293
    12294
    12295
    12296
    12297
    12298
    12299
    12300
    12301
    12302
    12303
    12304
    12305
    12306
    12307
    12308
    12309
    12310
    12311
    12312
    12313
    12314
    12315
    12316
    12317
    12318
    12319
    12320
    12321
    12322
    12323
    12324
    12325
    12326
    12327
    12328
    12329
    12330
    12331
    12332
    12333
    12334
    12335
    12336
    12337
    12338
    12339
    12340
    12341
    12342
    12343
    12344
    12345
    12346
    12347
    12348
    12349
    12350
    12351
    12352
    12353
    12354
    12355
    12356
    12357
    12358
    12359
    12360
    12361
    12362
    12363
    12364
    12365
    12366
    12367
    12368
    12369
    12370
    12371
    12372
    12373
    12374
    12375
    12376
    12377
    12378
    12379
    12380
    12381
    12382
    12383
    12384
    12385
    12386
    12387
    12388
    12389
    12390
    12391
    12392
    12393
    12394
    12395
    12396
    12397
    12398
    12399
    12400
    12401
    12402
    12403
    12404
    12405
    12406
    12407
    12408
    12409
    12410
    12411
    12412
    12413
    12414
    12415
    12416
    12417
    12418
    12419
    12420
    12421
    12422
    12423
    12424
    12425
    12426
    12427
    12428
    12429
    12430
    12431
    12432
    12433
    12434
    12435
    12436
    12437
    12438
    12439
    12440
    12441
    12442
    12443
    12444
    12445
    12446
    12447
    12448
    12449
    12450
    12451
    12452
    12453
    12454
    12455
    12456
    12457
    12458
    12459
    12460
    12461
    12462
    12463
    12464
    12465
    12466
    12467
    12468
    12469
    12470
    12471
    12472
    12473
    12474
    12475
    12476
    12477
    12478
    12479
    12480
    12481
    12482
    12483
    12484
    12485
    12486
    12487
    12488
    12489
    12490
    12491
    12492
    12493
    12494
    12495
    12496
    12497
    12498
    12499
    12500
    12501
    12502
    12503
    12504
    12505
    12506
    12507
    12508
    12509
    12510
    12511
    12512
    12513
    12514
    12515
    12516
    12517
    12518
    12519
    12520
    12521
    12522
    12523
    12524
    12525
    12526
    12527
    12528
    12529
    12530
    12531
    12532
    12533
    12534
    12535
    12536
    12537
    12538
    12539
    12540
    12541
    12542
    12543
    12544
    12545
    12546
    12547
    12548
    12549
    12550
    12551
    12552
    12553
    12554
    12555
    12556
    12557
    12558
    12559
    12560
    12561
    12562
    12563
    12564
    12565
    12566
    12567
    12568
    12569
    12570
    12571
    12572
    12573
    12574
    12575
    12576
    12577
    12578
    12579
    12580
    12581
    12582
    12583
    12584
    12585
    12586
    12587
    12588
    12589
    12590
    12591
    12592
    12593
    12594
    12595
    12596
    12597
    12598
    12599
    12600
    12601
    12602
    12603
    12604
    12605
    12606
    12607
    12608
    12609
    12610
    12611
    12612
    12613
    12614
    12615
    12616
    12617
    12618
    12619
    12620
    12621
    12622
    12623
    12624
    12625
    12626
    12627
    12628
    12629
    12630
    12631
    12632
    12633
    12634
    12635
    12636
    12637
    12638
    12639
    12640
    12641
    12642
    12643
    12644
    12645
    12646
    12647
    12648
    12649
    12650
    12651
    12652
    12653
    12654
    12655
    12656
    12657
    12658
    12659
    12660
    12661
    12662
    12663
    12664
    12665
    12666
    12667
    12668
    12669
    12670
    12671
    12672
    12673
    12674
    12675
    12676
    12677
    12678
    12679
    12680
    12681
    12682
    12683
    12684
    12685
    12686
    12687
    12688
    12689
    12690
    12691
    12692
    12693
    12694
    12695
    12696
    12697
    12698
    12699
    12700
    12701
    12702
    12703
    12704
    12705
    12706
    12707
    12708
    12709
    12710
    12711
    12712
    12713
    12714
    12715
    12716
    12717
    12718
    12719
    12720
    12721
    12722
    12723
    12724
    12725
    12726
    12727
    12728
    12729
    12730
    12731
    12732
    12733
    12734
    12735
    12736
    12737
    12738
    12739
    12740
    12741
    12742
    12743
    12744
    12745
    12746
    12747
    12748
    12749
    12750
    12751
    12752
    12753
    12754
    12755
    12756
    12757
    12758
    12759
    12760
    12761
    12762
    12763
    12764
    12765
    12766
    12767
    12768
    12769
    12770
    12771
    12772
    12773
    12774
    12775
    12776
    12777
    12778
    12779
    12780
    12781
    12782
    12783
    12784
    12785
    12786
    12787
    12788
    12789
    12790
    12791
    12792
    12793
    12794
    12795
    12796
    12797
    12798
    12799
    12800
    12801
    12802
    12803
    12804
    12805
    12806
    12807
    12808
    12809
    12810
    12811
    12812
    12813
    12814
    12815
    12816
    12817
    12818
    12819
    12820
    12821
    12822
    12823
    12824
    12825
    12826
    12827
    12828
    12829
    12830
    12831
    12832
    12833
    12834
    12835
    12836
    12837
    12838
    12839
    12840
    12841
    12842
    12843
    12844
    12845
    12846
    12847
    12848
    12849
    12850
    12851
    12852
    12853
    12854
    12855
    12856
    12857
    12858
    12859
    12860
    12861
    12862
    12863
    12864
    12865
    12866
    12867
    12868
    12869
    12870
    12871
    12872
    12873
    12874
    12875
    12876
    12877
    12878
    12879
    12880
    12881
    12882
    12883
    12884
    12885
    12886
    12887
    12888
    12889
    12890
    12891
    12892
    12893
    12894
    12895
    12896
    12897
    12898
    12899
    12900
    12901
    12902
    12903
    12904
    12905
    12906
    12907
    12908
    12909
    12910
    12911
    12912
    12913
    12914
    12915
    12916
    12917
    12918
    12919
    12920
    12921
    12922
    12923
    12924
    12925
    12926
    12927
    12928
    12929
    12930
    12931
    12932
    12933
    12934
    12935
    12936
    12937
    12938
    12939
    12940
    12941
    12942
    12943
    12944
    12945
    12946
    12947
    12948
    12949
    12950
    12951
    12952
    12953
    12954
    12955
    12956
    12957
    12958
    12959
    12960
    12961
    12962
    12963
    12964
    12965
    12966
    12967
    12968
    12969
    12970
    12971
    12972
    12973
    12974
    12975
    12976
    12977
    12978
    12979
    12980
    12981
    12982
    12983
    12984
    12985
    12986
    12987
    12988
    12989
    12990
    12991
    12992
    12993
    12994
    12995
    12996
    12997
    12998
    12999
    13000
    13001
    13002
    13003
    13004
    13005
    13006
    13007
    13008
    13009
    13010
    13011
    13012
    13013
    13014
    13015
    13016
    13017
    13018
    13019
    13020
    13021
    13022
    13023
    13024
    13025
    13026
    13027
    13028
    13029
    13030
    13031
    13032
    13033
    13034
    13035
    13036
    13037
    13038
    13039
    13040
    13041
    13042
    13043
    13044
    13045
    13046
    13047
    13048
    13049
    13050
    13051
    13052
    13053
    13054
    13055
    13056
    13057
    13058
    13059
    13060
    13061
    13062
    13063
    13064
    13065
    13066
    13067
    13068
    13069
    13070
    13071
    13072
    13073
    13074
    13075
    13076
    13077
    13078
    13079
    13080
    13081
    13082
    13083
    13084
    13085
    13086
    13087
    13088
    13089
    13090
    13091
    13092
    13093
    13094
    13095
    13096
    13097
    13098
    13099
    13100
    13101
    13102
    13103
    13104
    13105
    13106
    13107
    13108
    13109
    13110
    13111
    13112
    13113
    13114
    13115
    13116
    13117
    13118
    13119
    13120
    13121
    13122
    13123
    13124
    13125
    13126
    13127
    13128
    13129
    13130
    13131
    13132
    13133
    13134
    13135
    13136
    13137
    13138
    13139
    13140
    13141
    13142
    13143
    13144
    13145
    13146
    13147
    13148
    13149
    13150
    13151
    13152
    13153
    13154
    13155
    13156
    13157
    13158
    13159
    13160
    13161
    13162
    13163
    13164
    13165
    13166
    13167
    13168
    13169
    13170
    13171
    13172
    13173
    13174
    13175
    13176
    13177
    13178
    13179
    13180
    13181
    13182
    13183
    13184
    13185
    13186
    13187
    13188
    13189
    13190
    13191
    13192
    13193
    13194
    13195
    13196
    13197
    13198
    13199
    13200
    13201
    13202
    13203
    13204
    13205
    13206
    13207
    13208
    13209
    13210
    13211
    13212
    13213
    13214
    13215
    13216
    13217
    13218
    13219
    13220
    13221
    13222
    13223
    13224
    13225
    13226
    13227
    13228
    13229
    13230
    13231
    13232
    13233
    13234
    13235
    13236
    13237
    13238
    13239
    13240
    13241
    13242
    13243
    13244
    13245
    13246
    13247
    13248
    13249
    13250
    13251
    13252
    13253
    13254
    13255
    13256
    13257
    13258
    13259
    13260
    13261
    13262
    13263
    13264
    13265
    13266
    13267
    13268
    13269
    13270
    13271
    13272
    13273
    13274
    13275
    13276
    13277
    13278
    13279
    13280
    13281
    13282
    13283
    13284
    13285
    13286
    13287
    13288
    13289
    13290
    13291
    13292
    13293
    13294
    13295
    13296
    13297
    13298
    13299
    13300
    13301
    13302
    13303
    13304
    13305
    13306
    13307
    13308
    13309
    13310
    13311
    13312
    13313
    13314
    13315
    13316
    13317
    13318
    13319
    13320
    13321
    13322
    13323
    13324
    13325
    13326
    13327
    13328
    13329
    13330
    13331
    13332
    13333
    13334
    13335
    13336
    13337
    13338
    13339
    13340
    13341
    13342
    13343
    13344
    13345
    13346
    13347
    13348
    13349
    13350
    13351
    13352
    13353
    13354
    13355
    13356
    13357
    13358
    13359
    13360
    13361
    13362
    13363
    13364
    13365
    13366
    13367
    13368
    13369
    13370
    13371
    13372
    13373
    13374
    13375
    13376
    13377
    13378
    13379
    13380
    13381
    13382
    13383
    13384
    13385
    13386
    13387
    13388
    13389
    13390
    13391
    13392
    13393
    13394
    13395
    13396
    13397
    13398
    13399
    13400
    13401
    13402
    13403
    13404
    13405
    13406
    13407
    13408
    13409
    13410
    13411
    13412
    13413
    13414
    13415
    13416
    13417
    13418
    13419
    13420
    13421
    13422
    13423
    13424
    13425
    13426
    13427
    13428
    13429
    13430
    13431
    13432
    13433
    13434
    13435
    13436
    13437
    13438
    13439
    13440
    13441
    13442
    13443
    13444
    13445
    13446
    13447
    13448
    13449
    13450
    13451
    13452
    13453
    13454
    13455
    13456
    13457
    13458
    13459
    13460
    13461
    13462
    13463
    13464
    13465
    13466
    13467
    13468
    13469
    13470
    13471
    13472
    13473
    13474
    13475
    13476
    13477
    13478
    13479
    13480
    13481
    13482
    13483
    13484
    13485
    13486
    13487
    13488
    13489
    13490
    13491
    13492
    13493
    13494
    13495
    13496
    13497
    13498
    13499
    13500
    13501
    13502
    13503
    13504
    13505
    13506
    13507
    13508
    13509
    13510
    13511
    13512
    13513
    13514
    13515
    13516
    13517
    13518
    13519
    13520
    13521
    13522
    13523
    13524
    13525
    13526
    13527
    13528
    13529
    13530
    13531
    13532
    13533
    13534
    13535
    13536
    13537
    13538
    13539
    13540
    13541
    13542
    13543
    13544
    13545
    13546
    13547
    13548
    13549
    13550
    13551
    13552
    13553
    13554
    13555
    13556
    13557
    13558
    13559
    13560
    13561
    13562
    13563
    13564
    13565
    13566
    13567
    13568
    13569
    13570
    13571
    13572
    13573
    13574
    13575
    13576
    13577
    13578
    13579
    13580
    13581
    13582
    13583
    13584
    13585
    13586
    13587
    13588
    13589
    13590
    13591
    13592
    13593
    13594
    13595
    13596
    13597
    13598
    13599
    13600
    13601
    13602
    13603
    13604
    13605
    13606
    13607
    13608
    13609
    13610
    13611
    13612
    13613
    13614
    13615
    13616
    13617
    13618
    13619
    13620
    13621
    13622
    13623
    13624
    13625
    13626
    13627
    13628
    13629
    13630
    13631
    13632
    13633
    13634
    13635
    13636
    13637
    13638
    13639
    13640
    13641
    13642
    13643
    13644
    13645
    13646
    13647
    13648
    13649
    13650
    13651
    13652
    13653
    13654
    13655
    13656
    13657
    13658
    13659
    13660
    13661
    13662
    13663
    13664
    13665
    13666
    13667
    13668
    13669
    13670
    13671
    13672
    13673
    13674
    13675
    13676
    13677
    13678
    13679
    13680
    13681
    13682
    13683
    13684
    13685
    13686
    13687
    13688
    13689
    13690
    13691
    13692
    13693
    13694
    13695
    13696
    13697
    13698
    13699
    13700
    13701
    13702
    13703
    13704
    13705
    13706
    13707
    13708
    13709
    13710
    13711
    13712
    13713
    13714
    13715
    13716
    13717
    13718
    13719
    13720
    13721
    13722
    13723
    13724
    13725
    13726
    13727
    13728
    13729
    13730
    13731
    13732
    13733
    13734
    13735
    13736
    13737
    13738
    13739
    13740
    13741
    13742
    13743
    13744
    13745
    13746
    13747
    13748
    13749
    13750
    13751
    13752
    13753
    13754
    13755
    13756
    13757
    13758
    13759
    13760
    13761
    13762
    13763
    13764
    13765
    13766
    13767
    13768
    13769
    13770
    13771
    13772
    13773
    13774
    13775
    13776
    13777
    13778
    13779
    13780
    13781
    13782
    13783
    13784
    13785
    13786
    13787
    13788
    13789
    13790
    13791
    13792
    13793
    13794
    13795
    13796
    13797
    13798
    13799
    13800
    13801
    13802
    13803
    13804
    13805
    13806
    13807
    13808
    13809
    13810
    13811
    13812
    13813
    13814
    13815
    13816
    13817
    13818
    13819
    13820
    13821
    13822
    13823
    13824
    13825
    13826
    13827
    13828
    13829
    13830
    13831
    13832
    13833
    13834
    13835
    13836
    13837
    13838
    13839
    13840
    13841
    13842
    13843
    13844
    13845
    13846
    13847
    13848
    13849
    13850
    13851
    13852
    13853
    13854
    13855
    13856
    13857
    13858
    13859
    13860
    13861
    13862
    13863
    13864
    13865
    13866
    13867
    13868
    13869
    13870
    13871
    13872
    13873
    13874
    13875
    13876
    13877
    13878
    13879
    13880
    13881
    13882
    13883
    13884
    13885
    13886
    13887
    13888
    13889
    13890
    13891
    13892
    13893
    13894
    13895
    13896
    13897
    13898
    13899
    13900
    13901
    13902
    13903
    13904
    13905
    13906
    13907
    13908
    13909
    13910
    13911
    13912
    13913
    13914
    13915
    13916
    13917
    13918
    13919
    13920
    13921
    13922
    13923
    13924
    13925
    13926
    13927
    13928
    13929
    13930
    13931
    13932
    13933
    13934
    13935
    13936
    13937
    13938
    13939
    13940
    13941
    13942
    13943
    13944
    13945
    13946
    13947
    13948
    13949
    13950
    13951
    13952
    13953
    13954
    13955
    13956
    13957
    13958
    13959
    13960
    13961
    13962
    13963
    13964
    13965
    13966
    13967
    13968
    13969
    13970
    13971
    13972
    13973
    13974
    13975
    13976
    13977
    13978
    13979
    13980
    13981
    13982
    13983
    13984
    13985
    13986
    13987
    13988
    13989
    13990
    13991
    13992
    13993
    13994
    13995
    13996
    13997
    13998
    13999
    14000
    14001
    14002
    14003
    14004
    14005
    14006
    14007
    14008
    14009
    14010
    14011
    14012
    14013
    14014
    14015
    14016
    14017
    14018
    14019
    14020
    14021
    14022
    14023
    14024
    14025
    14026
    14027
    14028
    14029
    14030
    14031
    14032
    14033
    14034
    14035
    14036
    14037
    14038
    14039
    14040
    14041
    14042
    14043
    14044
    14045
    14046
    14047
    14048
    14049
    14050
    14051
    14052
    14053
    14054
    14055
    14056
    14057
    14058
    14059
    14060
    14061
    14062
    14063
    14064
    14065
    14066
    14067
    14068
    14069
    14070
    14071
    14072
    14073
    14074
    14075
    14076
    14077
    14078
    14079
    14080
    14081
    14082
    14083
    14084
    14085
    14086
    14087
    14088
    14089
    14090
    14091
    14092
    14093
    14094
    14095
    14096
    14097
    14098
    14099
    14100
    14101
    14102
    14103
    14104
    14105
    14106
    14107
    14108
    14109
    14110
    14111
    14112
    14113
    14114
    14115
    14116
    14117
    14118
    14119
    14120
    14121
    14122
    14123
    14124
    14125
    14126
    14127
    14128
    14129
    14130
    14131
    14132
    14133
    14134
    14135
    14136
    14137
    14138
    14139
    14140
    14141
    14142
    14143
    14144
    14145
    14146
    14147
    14148
    14149
    14150
    14151
    14152
    14153
    14154
    14155
    14156
    14157
    14158
    14159
    14160
    14161
    14162
    14163
    14164
    14165
    14166
    14167
    14168
    14169
    14170
    14171
    14172
    14173
    14174
    14175
    14176

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    53×
    53×
    53×
    53×
    4×
    1×

    3×

    3×

    53×
    4×
    4×
    4×

    4×
    22×

    4×

    4×
    4×
    4×
    4×
    4×
    4×

    53×
    55×

    53×

    53×
    53×
    53×
    49×
    49×

    4×
    4×
    1×
    1×

    4×
    1×
    1×
    1×

    3×
    2×

    4×
    4×
    4×

    1×
    1×
    1×
    1×

    247×

    247×
    4×

    247×

    247×
    49×

    247×

    4×

    1×

    1×
    1×
    39×

    1×
    40×

    39×
    39×

    39×
    39×
    39×
    39×

    39×

    39×
    13×
    13×

    13×
    13×

    39×
    39×
    39×
    39×
    39×

    39×

    39×

    39×
    39×

    1×

    39×

    39×

    39×

    39×

    39×

    39×
    39×

    1×
    1×
    74×
    74×
    74×

    74×
    740×
    740×
    740×
    4×
    4×
    1×

    74×

    740×

    74×

    74×
    5×
    5×
    5×

    5×
    15×
    30×

    30×

    5×
    15×

    74×
    17×
    17×

    17×

    17×
    34×

    34×

    74×
    6×
    6×

    6×
    6×
    17×

    74×
    74×
    5×
    5×

    5×
    5×
    5×

    5×
    14×

    14×
    4×

    10×

    1×

    74×

    74×

    1×
    1×

    1×
    1×

    9×

    45×
    45×
    45×
    45×
    45×
    45×
    45×
    21×
    21×
    21×
    21×
    21×

    21×
    21×

    45×
    22×

    22×

    45×
    22×
    22×
    18×

    45×
    40×
    40×
    18×
    18×

    22×
    22×

    22×
    22×
    3×

    22×
    22×
    22×
    22×
    3×

    45×
    40×
    40×
    30×

    40×

    40×

    45×
    45×

    45×
    4557×
    4557×
    4557×

    45×
    4557×
    4557×
    4557×

    4557×

    4557×

    45×
    4518×
    4518×
    4518×
    4518×
    2413×

    2105×

    45×
    45×
    90×
    90×
    55×

    35×
    1×

    34×
    34×
    23333×
    23333×
    23314×

    90×
    59×

    90×
    6×
    6×

    84×

    45×
    59×
    59×
    59×
    46×

    13×

    59×
    59×
    59×
    4518×
    4518×
    4518×

    59×
    59×
    39×
    39×
    39×
    39×

    39×
    39×

    20×

    45×
    26×
    26×
    15×

    26×
    26×

    26×
    26×

    26×
    26×
    26×
    26×

    26×
    6×
    6×

    20×
    20×

    45×
    2×
    2×
    2×

    2×
    2000×

    2×

    45×

    33×
    33×

    33×
    1×

    33×
    6×

    33×

    1×
    1×

    1×
    109×
    109×
    109×
    1×

    109×
    63×
    63×
    126×
    126×
    126×

    63×

    63×

    109×
    258×
    258×
    3232×
    3232×
    3232×

    258×

    258×

    109×

    109×

    1×
    1×
    6×

    1×
    1×

    77×
    77×

    99×
    49×

    99×
    99×

    36×

    21×
    21×
    21×
    21×

    21×

    1×
    1×

    84×
    84×
    109×

    84×
    78×
    47×

    31×

    84×

    78×
    78×
    78×
    47×
    94×
    94×
    18×

    94×
    85×
    5×

    5×

    114×
    114×
    28×

    86×
    235×
    235×
    235×

    1×
    1×

    40×

    1×
    1×

    176×
    176×
    108×

    176×
    60×

    176×
    22×

    22×
    1×

    21×

    176×
    16×

    16×
    1×

    15×

    176×
    90×

    90×

    90×

    90×

    90×

    176×
    78×
    1×

    77×
    2×
    1×

    75×
    4×
    1×

    75×
    72×

    3×

    176×

    7×
    7×
    3×

    4×
    4×
    4×
    4×
    4×

    7×
    7×
    7×

    7×

    7×

    7×
    7×
    4×

    3×
    3×
    3×
    3×
    3×

    7×

    33×

    15×

    11×

    13×
    13×
    13×
    6×
    2×

    4×
    7×
    1×

    6×

    3×

    7×
    1×

    6×
    2×
    1×

    1×
    4×

    4×
    3×
    1×

    2×

    1×

    3×
    7×
    1×

    6×

    2×

    8×
    8×
    8×
    8×
    6×
    11×
    11×
    11×

    11×
    11×

    2×
    2×
    1×
    1×

    1×
    1×

    2×
    8×
    8×

    8×

    12×
    12×

    12×
    12×
    17×
    16×

    12×

    1×
    1×

    35×
    35×
    35×
    35×

    35×

    35×

    38×
    38×
    38×
    38×
    38×

    41×
    36×

    41×
    36×

    1×
    2×

    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×

    1×

    1×
    1×

    199×

    1×
    528×
    142×

    1×

    71×
    71×

    1×
    66×
    66×

    66×
    66×
    66×
    66×
    66×
    66×
    66×
    66×
    66×
    66×
    66×

    71×
    14×
    3×

    11×
    2×

    9×

    9×

    71×
    12×
    12×
    12×
    11×

    12×
    1×

    11×
    11×
    11×
    11×
    11×
    3×

    8×
    8×
    8×
    20×
    20×
    20×
    20×
    2×

    18×

    8×

    71×
    20×

    71×

    71×

    71×
    130×

    71×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×

    71×
    344×
    344×
    344×

    344×
    344×

    344×

    344×

    344×
    344×
    2×

    342×
    32×

    310×
    192×

    118×
    118×

    118×

    118×

    118×

    71×

    71×

    71×

    71×
    2×

    2×

    71×
    21×
    21×
    21×

    21×
    21×
    21×

    21×
    21×

    21×

    71×

    1×
    1×

    23×

    19×
    11×
    11×

    11×

    8×

    2×
    2×
    2×
    2×
    2×
    2×
    4×
    4×
    4×
    4×

    4×
    4×
    2×

    2×
    2×
    4×
    4×

    4×

    4×
    4×

    2×

    1×
    1×

    69×
    69×

    69×

    69×
    69×
    69×
    69×
    69×
    69×
    69×

    69×
    18×
    18×

    69×

    69×
    21×

    69×
    26×
    26×
    26×
    26×
    26×
    1×
    1×

    26×
    4×

    1×

    26×
    1×

    1×

    26×
    1×

    1×
    1×

    26×

    26×

    69×
    40×

    69×
    54×

    69×
    12×
    12×
    12×
    12×

    69×
    2×
    2×

    2×
    2×
    2×
    2×
    2×

    2×

    69×

    1×
    891×

    1×

    130×
    130×
    1×
    99×
    99×
    99×
    99×
    99×
    99×
    99×
    99×
    99×
    99×
    99×
    99×
    99×
    99×
    99×

    130×
    119×

    130×
    64×
    64×

    130×
    60×
    60×

    60×
    60×

    130×
    4×
    4×
    4×

    4×

    4×
    4×
    4×
    4×
    4×

    130×
    9×
    9×
    1×

    9×

    9×
    9×
    9×
    16×
    16×

    9×
    9×
    9×
    9×
    9×

    130×
    8×

    130×
    1×

    130×
    6×
    6×

    6×

    130×

    130×

    130×
    34×
    40×

    130×
    4×
    8×

    130×

    1×
    1×

    38×
    38×
    3×
    24×

    3×
    3×

    38×

    1×
    110×

    1×

    19×
    19×
    19×

    1×
    10×
    10×

    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×
    10×
    10×
    10×
    10×
    10×
    40×
    40×
    40×
    40×

    10×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    1×
    1×

    35×
    35×
    35×
    35×

    1×
    286×

    1×

    37×
    37×
    37×

    1×
    26×
    26×
    26×
    26×
    26×
    26×
    26×
    26×
    26×
    26×
    26×
    26×
    26×
    26×
    26×
    26×

    37×
    34×
    34×
    34×

    34×

    34×
    34×
    28×
    28×

    37×

    37×

    37×
    2×
    2×

    2×
    2×
    2×

    37×

    37×
    33×
    33×
    33×
    33×
    40×

    33×
    33×

    37×

    37×
    1×

    1×
    1×

    37×
    30×
    30×
    28×

    2×

    30×

    37×

    37×
    2×

    37×

    37×

    1×
    1×

    1×

    19×
    19×
    19×

    1×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    1×
    1×

    9×
    9×
    6×

    9×
    2×
    2×

    2×
    2×
    6×

    2×

    9×

    1×
    1×

    9×
    4×
    4×
    4×
    4×
    2×

    2×
    2×

    2×

    2×

    2×

    4×
    2×
    2×
    2×
    2×
    2×
    2×
    2×
    2×
    2×
    2×
    2×
    4×
    4×
    4×

    4×

    4×

    2×

    2×

    2×
    2×

    4×

    4×
    4×
    2×
    2×

    4×

    1×
    1×

    7×

    1×
    1×

    1×
    1×
    54×

    1×

    18×
    18×
    18×

    1×

    18×

    18×
    28×

    28×

    18×
    15×
    15×

    15×
    11×

    15×

    15×

    15×
    15×
    15×

    15×

    15×
    124×
    124×
    124×
    68×

    56×

    15×
    2×

    15×

    18×
    10×
    10×

    10×
    10×
    90×
    80×
    30×

    50×

    18×

    1×
    99×

    1×

    3×
    3×
    3×

    1×

    3×
    2×

    3×

    15×
    15×
    15×

    1×

    15×
    13×
    13×
    13×
    13×

    13×

    15×

    6×
    6×
    6×

    1×

    6×
    2×

    6×

    1×

    9×
    9×
    9×

    1×

    9×
    11×

    9×

    1×
    1×

    39×

    32×
    32×
    16×

    32×

    32×
    15×

    32×

    32×

    88×
    28×

    60×

    1×
    4×
    27×

    1×

    9×
    9×
    9×
    9×

    9×

    1×
    4×
    4×
    4×
    4×

    4×
    4×

    4×

    4×

    4×
    4×
    4×
    4×

    4×
    4×

    4×

    4×
    4×

    4×
    4×

    4×
    2×

    4×

    4×
    4×
    4×
    4×

    4×

    4×
    2×
    2×
    2×
    2×

    4×
    2×
    2×
    2×
    2×

    2×

    4×
    2×
    2×
    2×
    2×

    4×
    2×
    2×
    2×
    2×

    4×
    2×
    2×
    2×
    2×

    4×

    4×

    4×
    4×
    4×
    4×

    4×
    2×
    2×
    2×

    4×
    2×
    2×
    2×

    4×

    9×
    4×
    4×
    4×
    4×
    4×

    4×

    9×

    1×
    1×

    1×
    336×
    111×

    1×

    37×
    37×
    37×

    37×

    37×

    37×

    37×

    37×
    25×
    25×
    25×
    25×
    25×
    2×

    25×
    25×

    1×
    28×
    28×
    28×
    28×
    28×
    28×
    28×
    28×
    28×
    28×
    28×
    28×
    28×
    28×
    28×
    11×

    28×
    28×
    28×
    322×
    322×
    322×
    77×

    28×
    28×
    28×

    28×
    28×
    28×

    28×
    28×
    25×
    25×
    25×
    12×
    1×

    3×
    3×

    3×
    24×

    28×
    28×
    25×

    28×
    28×

    37×
    2×
    2×

    2×
    2×

    37×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    37×
    2×
    2×

    2×

    37×
    34×
    34×

    34×
    34×

    34×
    34×

    34×
    34×

    34×
    34×

    34×

    37×
    10×
    10×

    10×
    2×

    10×
    2×

    10×

    10×

    10×

    10×

    2×
    2×
    8×

    2×

    2×

    2×
    2×

    37×
    30×
    28×

    30×
    28×

    30×
    28×

    30×

    30×

    37×
    35×
    35×
    35×
    35×

    35×
    15×

    37×
    34×
    34×
    4×

    34×
    34×
    34×

    37×
    2×

    2×

    2×
    2×
    2×
    2×
    2×
    2×
    2×
    2×

    2×
    2×

    37×
    2×

    2×

    2×
    2×
    2×
    2×
    2×
    2×
    2×

    37×
    30×
    30×

    30×

    30×
    30×
    30×
    30×
    30×
    30×
    30×
    30×

    30×
    2×

    30×
    28×

    28×

    28×

    28×

    30×

    30×
    2×

    30×
    30×

    30×
    30×

    30×
    16×

    14×

    14×
    14×
    14×

    30×

    37×
    2×

    2×

    37×
    30×

    30×

    30×
    2×
    2×
    2×
    2×

    37×

    37×

    1×
    18×

    1×

    6×
    6×
    2×

    6×
    6×
    6×

    1×
    2×

    6×

    1×
    9×

    1×

    3×
    3×
    2×

    3×
    3×
    3×

    1×
    2×

    3×

    1×
    52×
    14×

    1×

    7×
    7×
    7×

    7×

    7×

    1×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×

    4×
    20×
    20×

    4×
    4×
    4×
    4×

    4×
    4×
    4×
    4×
    4×
    4×
    1×

    4×

    7×
    8×
    8×

    7×
    4×
    1×

    4×
    4×

    7×
    4×
    4×

    7×
    4×
    4×
    4×

    4×
    4×
    4×
    4×
    4×

    4×

    4×
    4×

    4×
    4×
    4×
    4×
    4×

    4×

    4×

    4×
    4×

    4×
    4×
    4×

    7×
    4×
    4×
    4×
    4×

    7×
    4×
    4×

    7×
    4×
    4×

    4×
    4×
    4×

    4×

    4×

    7×
    8×
    8×

    8×
    8×
    8×
    8×
    8×
    8×
    8×

    8×

    8×
    8×

    8×

    8×

    8×

    8×

    7×
    1×

    7×

    7×
    1×
    1×
    1×
    1×
    1×

    7×
    1×
    1×
    1×

    1×
    1×

    7×

    7×

    7×

    1×
    33×
    9×

    1×

    3×
    3×
    3×
    3×

    3×

    1×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    42×

    3×
    3×
    3×
    3×

    3×

    3×

    3×

    3×

    3×

    3×
    3×
    3×

    3×
    3×
    3×

    3×

    3×

    3×

    3×

    3×

    3×

    1×
    27×

    1×

    9×
    9×
    5×
    5×
    5×
    4×

    9×
    9×

    9×

    9×

    1×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    10×
    20×
    20×
    10×
    10×

    10×
    10×
    10×
    83×
    2×

    81×
    1×

    10×

    10×
    10×
    10×
    2×

    10×
    10×
    10×

    2×
    2×
    2×

    2×
    2×
    2×
    2×
    2×
    1×

    2×
    2×

    2×

    2×

    10×
    4×
    3×
    3×

    3×
    3×

    10×
    10×
    10×

    10×

    9×

    1×
    1×

    1×

    1×

    1×
    242×
    72×

    1×

    24×
    24×
    24×

    24×

    1×
    24×
    24×
    24×
    24×
    24×
    24×
    24×
    24×
    24×
    24×
    1×

    23×
    23×
    10×

    23×
    23×
    23×
    23×
    23×
    23×

    24×
    25×
    25×

    25×
    25×
    1×
    1×

    24×

    24×
    210×
    210×

    210×
    210×
    88×

    24×

    24×

    24×

    1×
    3×

    1×

    1×
    1×
    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    1×

    1×
    3×
    6×

    1×

    3×
    3×
    3×

    1×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×

    3×
    3×
    3×

    3×
    3×

    3×
    3×

    3×
    3×

    3×
    3×
    3×

    3×
    3×
    3×

    3×

    3×

    3×

    3×

    3×

    1×
    20×
    12×

    1×

    6×
    6×
    6×

    1×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    4×

    4×
    4×
    4×
    4×
    4×
    4×

    4×
    4×

    4×
    4×
    4×

    4×
    4×

    4×
    4×
    4×

    4×

    4×
    4×

    6×
    4×
    4×
    4×

    4×
    4×

    4×
    4×
    4×

    4×
    4×

    6×

    6×
    4×
    4×

    4×

    6×

    6×
    4×

    6×

    6×

    1×
    4×

    1×

    2×
    2×
    2×

    1×
    2×
    2×
    2×
    2×
    2×
    2×
    2×
    2×
    2×

    2×

    2×

    1×
    180×
    57×

    1×

    19×
    19×
    18×
    18×
    18×

    19×
    19×

    19×

    19×

    1×
    18×
    18×
    18×
    18×
    18×
    18×
    18×
    18×
    18×
    18×
    18×
    18×
    18×
    18×

    18×
    18×
    18×
    18×
    18×
    8×

    18×
    11×

    18×
    18×
    11×
    4×
    1×

    3×
    3×

    18×
    18×
    18×
    18×
    18×
    18×
    18×
    18×
    18×
    18×

    19×
    3×

    3×

    3×

    19×
    18×
    18×
    18×

    18×

    19×

    19×
    10×
    10×
    10×

    10×
    10×
    10×
    10×
    10×
    30×

    10×
    10×
    30×
    3×

    10×

    19×
    19×
    19×
    1×

    1×
    1×

    19×
    19×
    19×
    10×
    10×

    10×
    9×

    9×

    19×
    11×

    8×
    8×

    8×
    8×
    11×
    11×

    8×
    8×

    8×
    8×

    19×
    1×
    1×

    1×

    1×

    19×
    3×
    3×

    3×
    3×
    3×
    2×

    2×
    2×
    2×

    2×
    2×

    2×

    2×
    2×
    2×

    2×
    2×
    2×

    2×

    2×

    1×
    1×

    19×
    11×
    11×

    11×

    11×
    11×
    11×
    11×
    11×
    88×

    11×

    11×
    11×

    19×
    19×
    19×
    19×

    19×
    3×
    3×

    3×
    3×
    3×
    3×
    3×

    19×
    3×
    3×

    3×
    3×

    3×

    3×
    3×
    3×
    6×

    3×

    19×

    19×

    19×

    1×
    1×
    2×

    3×

    1×
    1×

    1×

    1×

    1×
    1×
    4×

    1×

    2×
    2×
    2×

    2×

    1×

    2×

    2×

    2×

    2×

    2×

    2×

    2×

    2×

    2×

    1×
    16×
    3×

    1×

    1×
    1×
    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    9×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×
    1×
    9×
    9×
    9×

    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    9×

    13×
    10×

    1×
    9×
    25×

    1×

    5×
    5×
    5×

    1×
    9×
    9×

    5×

    5×
    4×
    4×
    4×
    4×
    4×
    4×
    4×
    1×
    1×

    3×
    3×
    3×
    3×
    3×
    3×

    3×

    3×

    3×

    3×
    3×
    3×
    3×
    3×

    3×

    3×

    5×

    1×
    1×

    1×

    1×
    1×

    1×
    1×
    1×

    1×

    1×

    1×
    1×

    9×

    1×
    10×

    1×

    5×
    5×
    5×

    5×

    1×
    9×
    9×
    9×
    9×

    9×

    5×

    5×

    1×
    1×

    1×
    74×

    1×

    37×
    37×
    37×

    37×

    37×

    37×

    37×

    1×
    12×
    12×
    12×
    12×
    12×
    12×

    37×

    1×
    12×

    1×

    6×
    6×
    6×

    6×

    6×

    6×

    6×

    1×

    6×

    6×

    6×

    6×

    6×

    6×

    6×

    1×
    6×

    1×

    3×
    3×
    3×

    3×

    3×

    3×

    3×

    1×

    3×

    3×

    3×

    3×

    3×

    3×

    3×

    1×
    1×

    1×
    12×

    1×

    6×
    6×
    6×

    6×

    6×

    6×

    6×

    1×
    5×
    5×
    5×
    5×
    5×
    5×
    5×

    6×

    1×
    45×
    70×

    1×
    35×
    35×
    35×
    35×
    35×

    35×

    1×
    45×
    45×
    45×
    42×
    42×
    42×
    41×

    42×
    42×
    42×
    36×
    108×

    42×

    42×
    42×

    45×

    35×

    35×

    35×

    35×

    35×

    35×
    42×
    42×
    42×
    41×
    41×

    42×
    42×
    42×
    38×
    38×

    38×
    38×
    38×

    38×

    38×

    38×

    38×
    38×
    38×

    38×
    10×

    38×

    38×

    38×

    38×

    38×

    38×
    38×
    38×
    38×
    38×

    38×
    38×
    7×

    38×
    111×
    105×

    105×

    38×
    37×

    37×

    37×

    37×
    37×

    38×
    10×

    10×
    10×
    7×

    10×

    38×

    38×
    38×
    10×

    10×

    10×

    10×

    10×

    38×
    36×
    36×
    36×

    38×
    38×
    36×
    36×

    36×
    36×

    38×
    36×
    36×
    36×

    38×
    76×
    72×
    72×

    35×

    1×
    32×

    1×

    4×
    4×
    4×

    1×
    4×
    4×
    4×

    4×

    4×
    3×
    3×
    3×
    3×
    3×
    3×
    3×

    3×
    3×

    3×
    3×

    3×

    4×

    1×
    72×

    1×

    9×
    9×
    9×

    1×
    8×
    8×
    8×

    8×

    9×

    8×
    8×

    9×
    8×
    8×
    8×
    8×

    8×
    8×
    8×
    8×
    8×

    8×
    8×
    8×

    8×
    8×

    9×

    1×
    1×

    9×
    9×
    8×
    8×

    9×

    8×

    8×

    1×
    5×
    21×

    1×

    3×
    3×
    3×

    1×
    5×
    5×

    3×
    2×
    2×
    2×
    2×
    2×
    2×
    2×

    2×
    2×
    2×

    3×

    1×
    1×
    1×

    1×

    1×

    1×
    2×
    21×

    1×

    3×
    3×
    3×

    1×
    2×
    2×

    3×
    2×
    2×
    2×

    2×

    3×

    1×
    1×
    1×

    1×

    1×

    1×
    1×

    1×
    5×
    35×

    1×

    5×
    5×
    5×

    5×

    1×
    5×
    5×
    5×
    5×
    5×
    5×

    5×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×
    3×

    3×
    3×
    3×

    5×
    3×
    3×
    3×
    3×

    3×
    3×
    3×

    3×
    3×
    3×

    3×
    3×
    3×
    1×
    1×

    3×
    3×
    2×

    3×
    3×
    3×

    3×
    3×

    3×
    3×

    5×

    1×
    1×
    1×

    1×

    1×

    1×
    1×
    35×

    1×
    1×

    1×
    1×

    8×

    1×
    1×

    2×

    1×
    1×

    8×

    1×
    1×

    2×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×

    1×

    1×
    1×

    4×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×

    1×

    1×
    1×

    1×

    1×

    1×
    1×

    1×
    1×

    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×

    1×

    1×
    1×

    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    1×

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×
    1×

    1×

    210×

    53×

    1×

    48×

    47×
    50×

    1×

    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×

    1×

    1×
    1×
    1×

    1×

    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×

    47×

    47×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×
    1×

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×

    1×

    47×

    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    47×

    1×

    1×

    1×
    1×

    1×

    47×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    47×

    1×
    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×

    1×
    1×

    47×

    1×

    1×

    1×

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×
    1×
    1×

    1×

    47×

    1×
    1×
    1×

    1×

    1×

    1×

    1×
    1×
    1×
    1×

    1×

    1×

    1×
    1×
    1×
    1×

    1×

    47×

    1×

    1×
    1×

    47×

    1×

    1×

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    47×
    1×

    1×
    1×

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    47×
    1×

    1×

    1×

    1×
    1×

    1×

    1×

    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×

    1×

    1×

    47×

    1×

    1×

    1×

    1×

    47×

    1×

    1×

    1×

    1×

    47×

    1×
    1×
    1×

    47×

    1×

    47×

    1×

    47×

    1×

    47×

    1×

    1×
    1×

    1×

    1×

    47×

    1×
    1×
    1×

    47×

    1×
    1×
    1×

    47×

    1×

    1×

    1×
    1×
    1×

    1×

    1×

    1×

    47×

    1×

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×

    1×
    1×

    1×

    47×

    47×
    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×

    1×

    47×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    47×

    47×
    47×
    47×

    47×

    47×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    47×
    1×
    1×
    1×

    1×

    1×
    1×
    1×

    1×

    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×

    47×
    1×
    1×
    1×
    1×

    1×

    47×
    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×

    1×

    1×
    1×

    47×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×

    1×
    1×

    1×

    1×
    1×

    1×

    1×
    1×
    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    1×

    1×

    1×

    1×
    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×

    47×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×

    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×

    1×

    1×

    47×
    1×
    1×
    1×
    1×

    1×

    1×
    1×

    1×

    1×
    1×

    1×

    1×
    1×

    1×

    1×

    47×
    1×
    1×
    1×
    1×
    1×

    1×

    47×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×

    47×
    1×
    1×
    1×
    1×
    1×

    1×

    47×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    47×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    47×
    1×

    47×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    47×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×

    1×

    1×
    1×

    47×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×

    1×

    47×
    1×

    47×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×

    1×

    1×
    1×

    47×
    1×

    47×
    1×

    1×

    1×
    94×
    94×
    94×

    94×

    1×
    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×

    47×

    47×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×

    47×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×
    1×

    1×

    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×

    1×

    1×
    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    47×
    1×
    1×
    1×

    1×
    1×

    47×
    1×
    1×
    1×

    47×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    47×
    1×

    47×
    1×

    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×

    47×
    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    47×
    1×
    1×
    1×
    1×
    1×

    47×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×

    47×
    1×
    1×
    1×
    1×

    1×
    1×

    47×
    1×
    1×

    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×
    1×

    1×

    1×

    47×

    47×

    1×

    1×

    1×
    1×

    1×

    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×

    47×
    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×
    1×
    1×

    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×
    1×

    47×

    47×
    1×

    47×

    47×
    1×
    1×

    1×

    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×
    1×

    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×
    1×
    1×

    1×

    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×

    47×
    1×
    1×

    1×
    1×
    1×

    47×
    1×

    47×

    47×
    1×

    47×

    47×
    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×

    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×

    1×
    1×

    1×

    1×
    1×

    47×

    47×
    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    47×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×

    1×
    1×
    1×

    1×
    1×
    1×

    1×

    1×

    47×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×

    1×
    1×

    1×

    47×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×

    1×
    1×
    1×

    1×
    1×

    47×
    1×
    1×
    1×

    1×

    47×
    1×
    1×

    1×
    1×

    1×

    1×

    47×
    1×
    1×
    1×
    1×

    1×

    1×
    1×

    1×

    1×

    1×

    47×
    1×
    1×
    1×

    1×

    47×
    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×

    1×

    1×

    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×

    1×

    47×
    1×
    1×
    1×

    1×
    1×

    1×

    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×

    47×

    47×
    1×
    1×

    1×

    1×

    1×

    1×
    1×

    1×
    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×

    47×

    47×
    1×
    1×

    1×

    47×

    47×

    47×

    47×
    47×
    47×
    47×
    47×
    47×
    47×

    1×

    1×

    1×

    99×
    90×

    9×

    9×

    9×

    9×

    1×

    1×

    1×

    1×

    1×

    45×

    1×
    1×

    1×
    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×
    1×
    18×
    18×

    18×
    18×
    18×

    1×

    40×
    40×
    40×

    1×

    3×
    3×

    3×
    3×
    3×
    3×

    3×

    1×

    1×

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×
    1×

    1×

    1×

    1×
    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    1×

    19×

    19×

    19×

    19×
    19×

    19×

    19×
    19×
    38×
    38×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×

    19×
    8×
    8×
    8×
    8×
    8×
    8×
    8×
    8×
    1×

    8×
    8×

    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    19×
    1×
    1×

    19×
    1×
    1×
    1×

    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×

    19×
    1×
    1×

    19×
    1×

    19×
    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×
    1×
    1×

    19×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    1×
    1×

    19×
    1×
    1×
    1×

    19×
    1×
    1×
    1×
    1×

    1×

    19×
    1×
    1×

    19×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    19×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    19×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    19×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×

    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×

    1×
    1×

    1×

    19×
    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×

    19×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×

    1×

    19×
    1×

    1×
    1×

    1×
    1×

    19×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×

    1×
    1×
    1×

    1×
    1×
    1×

    1×

    1×
    1×
    1×

    19×
    1×
    1×
    1×

    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×

    1×
    1×

    1×

    1×
    1×
    1×
    1×

    19×
    1×
    1×
    1×
    1×

    19×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×

    19×
    1×

    19×
    1×

    19×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    19×
    1×
    1×
    1×

    1×
    1×
    1×
    1×

    1×

    19×

    19×
    8×

    19×

    1×

    45×

    44×
    44×

    88×
    264×

    1×
    88×

    88×
    88×
    88×
    88×

    44×
    44×

    1×

    44×

    44×

    44×

    44×

    44×

    44×
    44×

    1×
    10×
    10×

    44×

    44×

    44×

    44×

    44×

    44×

    44×
    10×
    10×
    10×
    10×
    10×

    10×

    44×

    44×

     /*! angular-google-maps 2.4.1 2017-01-05
     *  AngularJS directives for Google Maps
     *  git: https://github.com/angular-ui/angular-google-maps.git
     */
    ;
    (function( window, angular, _, undefined ){
      'use strict';
    /*
    !
    The MIT License

    Copyright (c) 2010-2013 Google, Inc. http://angularjs.org

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the 'Software'), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    THE SOFTWARE.

    angular-google-maps
    https://github.com/angular-ui/angular-google-maps

    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
     */

    (function() {
      angular.module('uiGmapgoogle-maps.providers', ['nemLogging']);

      angular.module('uiGmapgoogle-maps.wrapped', []);

      angular.module('uiGmapgoogle-maps.extensions', ['uiGmapgoogle-maps.wrapped', 'uiGmapgoogle-maps.providers']);

      angular.module('uiGmapgoogle-maps.directives.api.utils', ['uiGmapgoogle-maps.extensions']);

      angular.module('uiGmapgoogle-maps.directives.api.managers', []);

      angular.module('uiGmapgoogle-maps.directives.api.options', ['uiGmapgoogle-maps.directives.api.utils']);

      angular.module('uiGmapgoogle-maps.directives.api.options.builders', []);

      angular.module('uiGmapgoogle-maps.directives.api.models.child', ['uiGmapgoogle-maps.directives.api.utils', 'uiGmapgoogle-maps.directives.api.options', 'uiGmapgoogle-maps.directives.api.options.builders']);

      angular.module('uiGmapgoogle-maps.directives.api.models.parent', ['uiGmapgoogle-maps.directives.api.managers', 'uiGmapgoogle-maps.directives.api.models.child', 'uiGmapgoogle-maps.providers']);

      angular.module('uiGmapgoogle-maps.directives.api', ['uiGmapgoogle-maps.directives.api.models.parent']);

      angular.module('uiGmapgoogle-maps', ['uiGmapgoogle-maps.directives.api', 'uiGmapgoogle-maps.providers']);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.providers').factory('uiGmapMapScriptLoader', [
        '$q', 'uiGmapuuid', function($q, uuid) {
          var getScriptUrl, includeScript, isGoogleMapsLoaded, scriptId, usedConfiguration;
          scriptId = void 0;
          usedConfiguration = void 0;
          getScriptUrl = function(options) {
            if (options.china) {
              return 'http://maps.google.cn/maps/api/js?';
            } else {
              Iif (options.transport === 'auto') {
                return '//maps.googleapis.com/maps/api/js?';
              } else {
                return options.transport + '://maps.googleapis.com/maps/api/js?';
              }
            }
          };
          includeScript = function(options) {
            var omitOptions, query, script, scriptElem;
            omitOptions = ['transport', 'isGoogleMapsForWork', 'china', 'preventLoad'];
            Iif (options.isGoogleMapsForWork) {
              omitOptions.push('key');
            }
            query = _.map(_.omit(options, omitOptions), function(v, k) {
              return k + '=' + v;
            });
            Iif (scriptId) {
              scriptElem = document.getElementById(scriptId);
              scriptElem.parentNode.removeChild(scriptElem);
            }
            query = query.join('&');
            script = document.createElement('script');
            script.id = scriptId = "ui_gmap_map_load_" + (uuid.generate());
            script.type = 'text/javascript';
            script.src = getScriptUrl(options) + query;
            return document.head.appendChild(script);
          };
          isGoogleMapsLoaded = function() {
            return angular.isDefined(window.google) && angular.isDefined(window.google.maps);
          };
          return {
            load: function(options) {
              var deferred, randomizedFunctionName;
              deferred = $q.defer();
              if (isGoogleMapsLoaded()) {
                deferred.resolve(window.google.maps);
                return deferred.promise;
              }
              randomizedFunctionName = options.callback = 'onGoogleMapsReady' + Math.round(Math.random() * 1000);
              window[randomizedFunctionName] = function() {
                window[randomizedFunctionName] = null;
                deferred.resolve(window.google.maps);
              };
              if (window.navigator.connection && window.Connection && window.navigator.connection.type === window.Connection.NONE && !options.preventLoad) {
                document.addEventListener('online', function() {
                  Eif (!isGoogleMapsLoaded()) {
                    return includeScript(options);
                  }
                });
              } else if (!options.preventLoad) {
                includeScript(options);
              }
              usedConfiguration = options;
              usedConfiguration.randomizedFunctionName = randomizedFunctionName;
              return deferred.promise;
            },
            manualLoad: function() {
              var config;
              config = usedConfiguration;
              Eif (!isGoogleMapsLoaded()) {
                return includeScript(config);
              } else {
                if (window[config.randomizedFunctionName]) {
                  return window[config.randomizedFunctionName]();
                }
              }
            }
          };
        }
      ]).provider('uiGmapGoogleMapApi', function() {
        this.options = {
          transport: 'https',
          isGoogleMapsForWork: false,
          china: false,
          v: '3',
          libraries: '',
          language: 'en',
          preventLoad: false
        };
        this.configure = function(options) {
          angular.extend(this.options, options);
        };
        this.$get = [
          'uiGmapMapScriptLoader', (function(_this) {
            return function(loader) {
              return loader.load(_this.options);
            };
          })(this)
        ];
        return this;
      }).service('uiGmapGoogleMapApiManualLoader', [
        'uiGmapMapScriptLoader', function(loader) {
          return {
            load: function() {
              loader.manualLoad();
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.extensions').service('uiGmapExtendGWin', function() {
        return {
          init: _.once(function() {
            var uiGmapInfoBox;
            Iif (!(google || (typeof google !== "undefined" && google !== null ? google.maps : void 0) || (google.maps.InfoWindow != null))) {
              return;
            }
            google.maps.InfoWindow.prototype._open = google.maps.InfoWindow.prototype.open;
            google.maps.InfoWindow.prototype._close = google.maps.InfoWindow.prototype.close;
            google.maps.InfoWindow.prototype._isOpen = false;
            google.maps.InfoWindow.prototype.open = function(map, anchor, recurse) {
              if (recurse != null) {
                return;
              }
              this._isOpen = true;
              this._open(map, anchor, true);
            };
            google.maps.InfoWindow.prototype.close = function(recurse) {
              if (recurse != null) {
                return;
              }
              this._isOpen = false;
              this._close(true);
            };
            google.maps.InfoWindow.prototype.isOpen = function(val) {
              Eif (val == null) {
                val = void 0;
              }
              Eif (val == null) {
                return this._isOpen;
              } else {
                return this._isOpen = val;
              }
            };

            /*
            Do the same for InfoBox
            TODO: Clean this up so the logic is defined once, wait until develop becomes master as this will be easier
             */
            Eif (window.InfoBox) {
              window.InfoBox.prototype._open = window.InfoBox.prototype.open;
              window.InfoBox.prototype._close = window.InfoBox.prototype.close;
              window.InfoBox.prototype._isOpen = false;
              window.InfoBox.prototype.open = function(map, anchor) {
                this._isOpen = true;
                this._open(map, anchor);
              };
              window.InfoBox.prototype.close = function() {
                this._isOpen = false;
                this._close();
              };
              window.InfoBox.prototype.isOpen = function(val) {
                if (val == null) {
                  val = void 0;
                }
                if (val == null) {
                  return this._isOpen;
                } else {
                  return this._isOpen = val;
                }
              };
              uiGmapInfoBox = (function(superClass) {
                extend(uiGmapInfoBox, superClass);

                function uiGmapInfoBox(opts) {
                  this.getOrigCloseBoxImg_ = bind(this.getOrigCloseBoxImg_, this);
                  this.getCloseBoxDiv_ = bind(this.getCloseBoxDiv_, this);
                  var box;
                  box = new window.InfoBox(opts);
                  _.extend(this, box);
                  if (opts.closeBoxDiv != null) {
                    this.closeBoxDiv_ = opts.closeBoxDiv;
                  }
                }

                uiGmapInfoBox.prototype.getCloseBoxDiv_ = function() {
                  return this.closeBoxDiv_;
                };

                uiGmapInfoBox.prototype.getCloseBoxImg_ = function() {
                  var div, img;
                  div = this.getCloseBoxDiv_();
                  img = this.getOrigCloseBoxImg_();
                  return div || img;
                };

                uiGmapInfoBox.prototype.getOrigCloseBoxImg_ = function() {
                  var img;
                  img = "";
                  if (this.closeBoxURL_ !== "") {
                    img = "<img";
                    img += " src='" + this.closeBoxURL_ + "'";
                    img += " align=right";
                    img += " style='";
                    img += " position: relative;";
                    img += " cursor: pointer;";
                    img += " margin: " + this.closeBoxMargin_ + ";";
                    img += "'>";
                  }
                  return img;
                };

                return uiGmapInfoBox;

              })(window.InfoBox);
              window.uiGmapInfoBox = uiGmapInfoBox;
            }
            Eif (window.MarkerLabel_) {
              return window.MarkerLabel_.prototype.setContent = function() {
                var content;
                content = this.marker_.get('labelContent');
                if (!content || _.isEqual(this.oldContent, content)) {
                  return;
                }
                if (typeof (content != null ? content.nodeType : void 0) === 'undefined') {
                  this.labelDiv_.innerHTML = content;
                  this.eventDiv_.innerHTML = this.labelDiv_.innerHTML;
                  this.oldContent = content;
                } else {
                  this.labelDiv_.innerHTML = '';
                  this.labelDiv_.appendChild(content);
                  content = content.cloneNode(true);
                  this.labelDiv_.innerHTML = '';
                  this.eventDiv_.appendChild(content);
                  this.oldContent = content;
                }
              };
            }
          })
        };
      });

    }).call(this);
    ;
    /*global _:true, angular:true */

    (function() {
      angular.module('uiGmapgoogle-maps.extensions').service('uiGmapLodash', function() {
        var baseGet, baseToString, fixLodash, get, reEscapeChar, rePropName, toObject, toPath;
        rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g;
        reEscapeChar = /\\(\\)?/g;

        /*
            For Lodash 4 compatibility (some aliases are removed)
         */
        fixLodash = function(arg) {
          var isProto, missingName, swapName;
          missingName = arg.missingName, swapName = arg.swapName, isProto = arg.isProto;
          if (_[missingName] == null) {
            _[missingName] = _[swapName];
            if (isProto) {
              return _.prototype[missingName] = _[swapName];
            }
          }
        };
        [
          {
            missingName: 'contains',
            swapName: 'includes',
            isProto: true
          }, {
            missingName: 'includes',
            swapName: 'contains',
            isProto: true
          }, {
            missingName: 'object',
            swapName: 'zipObject'
          }, {
            missingName: 'zipObject',
            swapName: 'object'
          }, {
            missingName: 'all',
            swapName: 'every'
          }, {
            missingName: 'every',
            swapName: 'all'
          }, {
            missingName: 'any',
            swapName: 'some'
          }, {
            missingName: 'some',
            swapName: 'any'
          }, {
            missingName: 'first',
            swapName: 'head'
          }, {
            missingName: 'head',
            swapName: 'first'
          }
        ].forEach(function(toMonkeyPatch) {
          return fixLodash(toMonkeyPatch);
        });
        Iif (_.get == null) {

          /**
           * Converts `value` to an object if it's not one.
           *
           * @private
           * @param {*} value The value to process.
           * @returns {Object} Returns the object.
           */
          toObject = function(value) {
            if (_.isObject(value)) {
              return value;
            } else {
              return Object(value);
            }
          };

          /**
           * Converts `value` to a string if it's not one. An empty string is returned
           * for `null` or `undefined` values.
           *
           * @private
           * @param {*} value The value to process.
           * @returns {string} Returns the string.
           */
          baseToString = function(value) {
            if (value === null) {
              return '';
            } else {
              return value + '';
            }
          };

          /**
           * Converts `value` to property path array if it's not one.
           *
           * @private
           * @param {*} value The value to process.
           * @returns {Array} Returns the property path array.
           */
          toPath = function(value) {
            var result;
            if (_.isArray(value)) {
              return value;
            }
            result = [];
            baseToString(value).replace(rePropName, function(match, number, quote, string) {
              result.push(quote ? string.replace(reEscapeChar, '$1') : number || match);
            });
            return result;
          };

          /**
           * The base implementation of `get` without support for string paths
           * and default values.
           *
           * @private
           * @param {Object} object The object to query.
           * @param {Array} path The path of the property to get.
           * @param {string} [pathKey] The key representation of path.
           * @returns {*} Returns the resolved value.
           */
          baseGet = function(object, path, pathKey) {
            var index, length;
            if (object === null) {
              return;
            }
            if (pathKey !== void 0 && pathKey in toObject(object)) {
              path = [pathKey];
            }
            index = 0;
            length = path.length;
            while (!_.isUndefined(object) && index < length) {
              object = object[path[index++]];
            }
            if (index && index === length) {
              return object;
            } else {
              return void 0;
            }
          };

          /**
           * Gets the property value at `path` of `object`. If the resolved value is
           * `undefined` the `defaultValue` is used in its place.
           *
           * @static
           * @memberOf _
           * @category Object
           * @param {Object} object The object to query.
           * @param {Array|string} path The path of the property to get.
           * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.
           * @returns {*} Returns the resolved value.
           * @example
           *
           * var object = { 'a': [{ 'b': { 'c': 3 } }] };
           *
           * _.get(object, 'a[0].b.c');
           * // => 3
           *
           * _.get(object, ['a', '0', 'b', 'c']);
           * // => 3
           *
           * _.get(object, 'a.b.c', 'default');
           * // => 'default'
           */
          get = function(object, path, defaultValue) {
            var result;
            result = object === null ? void 0 : baseGet(object, toPath(path), path + '');
            if (result === void 0) {
              return defaultValue;
            } else {
              return result;
            }
          };
          _.get = get;
        }

        /*
            Author Nick McCready
            Intersection of Objects if the arrays have something in common each intersecting object will be returned
            in an new array.
         */
        this.intersectionObjects = function(array1, array2, comparison) {
          var res;
          Eif (comparison == null) {
            comparison = void 0;
          }
          res = _.map(array1, function(obj1) {
            return _.find(array2, function(obj2) {
              Iif (comparison != null) {
                return comparison(obj1, obj2);
              } else {
                return _.isEqual(obj1, obj2);
              }
            });
          });
          return _.filter(res, function(o) {
            return o != null;
          });
        };
        this.containsObject = _.includeObject = function(obj, target, comparison) {
          Eif (comparison == null) {
            comparison = void 0;
          }
          Iif (obj === null) {
            return false;
          }
          return _.some(obj, function(value) {
            Iif (comparison != null) {
              return comparison(value, target);
            } else {
              return _.isEqual(value, target);
            }
          });
        };
        this.differenceObjects = function(array1, array2, comparison) {
          Eif (comparison == null) {
            comparison = void 0;
          }
          return _.filter(array1, (function(_this) {
            return function(value) {
              return !_this.containsObject(array2, value, comparison);
            };
          })(this));
        };
        this.withoutObjects = this.differenceObjects;
        this.indexOfObject = function(array, item, comparison, isSorted) {
          var i, length;
          Iif (array == null) {
            return -1;
          }
          i = 0;
          length = array.length;
          Iif (isSorted) {
            if (typeof isSorted === "number") {
              i = (isSorted < 0 ? Math.max(0, length + isSorted) : isSorted);
            } else {
              i = _.sortedIndex(array, item);
              return (array[i] === item ? i : -1);
            }
          }
          while (i < length) {
            Iif (comparison != null) {
              if (comparison(array[i], item)) {
                return i;
              }
            } else {
              if (_.isEqual(array[i], item)) {
                return i;
              }
            }
            i++;
          }
          return -1;
        };
        this.isNullOrUndefined = function(thing) {
          return _.isNull(thing || _.isUndefined(thing));
        };
        return this;
      });

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.extensions').factory('uiGmapString', function() {
        return function(str) {
          this.contains = function(value, fromIndex) {
            return str.indexOf(value, fromIndex) !== -1;
          };
          return this;
        };
      });

    }).call(this);
    ;
    /*global _:true,angular:true, */

    (function() {
      angular.module('uiGmapgoogle-maps.directives.api.utils').service('uiGmap_sync', [
        function() {
          return {
            fakePromise: function() {
              var _cb;
              _cb = void 0;
              return {
                then: function(cb) {
                  return _cb = cb;
                },
                resolve: function() {
                  return _cb.apply(void 0, arguments);
                }
              };
            }
          };
        }
      ]).service('uiGmap_async', [
        '$timeout', 'uiGmapPromise', 'uiGmapLogger', '$q', 'uiGmapDataStructures', 'uiGmapGmapUtil', function($timeout, uiGmapPromise, $log, $q, uiGmapDataStructures, uiGmapGmapUtil) {
          var ExposedPromise, PromiseQueueManager, SniffedPromise, _getIterateeValue, _ignoreFields, defaultChunkSize, doChunk, doSkippPromise, each, errorObject, getArrayAndKeys, isInProgress, kickPromise, logTryCatch, managePromiseQueue, map, maybeCancelPromises, promiseStatus, promiseTypes, tryCatch;
          promiseTypes = uiGmapPromise.promiseTypes;
          isInProgress = uiGmapPromise.isInProgress;
          promiseStatus = uiGmapPromise.promiseStatus;
          ExposedPromise = uiGmapPromise.ExposedPromise;
          SniffedPromise = uiGmapPromise.SniffedPromise;
          kickPromise = function(sniffedPromise, cancelCb) {
            var promise;
            promise = sniffedPromise.promise();
            promise.promiseType = sniffedPromise.promiseType;
            Eif (promise.$$state) {
              $log.debug("promiseType: " + promise.promiseType + ", state: " + (promiseStatus(promise.$$state.status)));
            }
            promise.cancelCb = cancelCb;
            return promise;
          };
          doSkippPromise = function(sniffedPromise, lastPromise) {
            Iif (sniffedPromise.promiseType === promiseTypes.create && lastPromise.promiseType !== promiseTypes["delete"] && lastPromise.promiseType !== promiseTypes.init) {
              $log.debug("lastPromise.promiseType " + lastPromise.promiseType + ", newPromiseType: " + sniffedPromise.promiseType + ", SKIPPED MUST COME AFTER DELETE ONLY");
              return true;
            }
            return false;
          };
          maybeCancelPromises = function(queue, sniffedPromise, lastPromise) {
            var first;
            if (sniffedPromise.promiseType === promiseTypes["delete"] && lastPromise.promiseType !== promiseTypes["delete"]) {
              Iif ((lastPromise.cancelCb != null) && _.isFunction(lastPromise.cancelCb) && isInProgress(lastPromise)) {
                $log.debug("promiseType: " + sniffedPromise.promiseType + ", CANCELING LAST PROMISE type: " + lastPromise.promiseType);
                lastPromise.cancelCb('cancel safe');
                first = queue.peek();
                if ((first != null) && isInProgress(first)) {
                  if (first.hasOwnProperty("cancelCb") && _.isFunction(first.cancelCb)) {
                    $log.debug("promiseType: " + first.promiseType + ", CANCELING FIRST PROMISE type: " + first.promiseType);
                    return first.cancelCb('cancel safe');
                  } else {
                    return $log.warn('first promise was not cancelable');
                  }
                }
              }
            }
          };

          /*
          From a High Level:
            This is a SniffedPromiseQueueManager (looking to rename) where the queue is existingPiecesObj.existingPieces.
            This is a function and should not be considered a class.
            So it is run to manage the state (cancel, skip, link) as needed.
          Purpose:
          The whole point is to check if there is existing async work going on. If so we wait on it.

          arguments:
          - existingPiecesObj =  Queue<Promises>
          - sniffedPromise = object wrapper holding a function to a pending (function) promise (promise: fnPromise)
          with its intended type.
          - cancelCb = callback which accepts a string, this string is intended to be returned at the end of _async.each iterator

            Where the cancelCb passed msg is 'cancel safe' _async.each will drop out and fall through. Thus canceling the promise
            gracefully without messing up state.

          Synopsis:

           - Promises have been broken down to 4 states create, update,delete (3 main) and init. (Helps boil down problems in ordering)
            where (init) is special to indicate that it is one of the first or to allow a create promise to work beyond being after a delete

           - Every Promise that comes in is enqueued and linked to the last promise in the queue.

           - A promise can be skipped or canceled to save cycles.

          Saved Cycles:
            - Skipped - This will only happen if async work comes in out of order. Where a pending create promise (un-executed) comes in
              after a delete promise.
            - Canceled - Where an incoming promise (un-executed promise) is of type delete and the any lastPromise is not a delete type.

          NOTE:
          - You should not muck with existingPieces as its state is dependent on this functional loop.
          - PromiseQueueManager should not be thought of as a class that has a life expectancy (it has none). It's sole
          purpose is to link, skip, and kill promises. It also manages the promise queue existingPieces.
           */
          PromiseQueueManager = function(existingPiecesObj, sniffedPromise, cancelCb) {
            var lastPromise, newPromise;
            if (!existingPiecesObj.existingPieces) {
              existingPiecesObj.existingPieces = new uiGmapDataStructures.Queue();
              return existingPiecesObj.existingPieces.enqueue(kickPromise(sniffedPromise, cancelCb));
            } else {
              lastPromise = _.last(existingPiecesObj.existingPieces._content);
              Iif (doSkippPromise(sniffedPromise, lastPromise)) {
                return;
              }
              maybeCancelPromises(existingPiecesObj.existingPieces, sniffedPromise, lastPromise);
              newPromise = ExposedPromise(lastPromise["finally"](function() {
                return kickPromise(sniffedPromise, cancelCb);
              }));
              newPromise.cancelCb = cancelCb;
              newPromise.promiseType = sniffedPromise.promiseType;
              existingPiecesObj.existingPieces.enqueue(newPromise);
              return lastPromise["finally"](function() {
                return existingPiecesObj.existingPieces.dequeue();
              });
            }
          };
          managePromiseQueue = function(objectToLock, promiseType, msg, cancelCb, fnPromise) {
            var cancelLogger;
            if (msg == null) {
              msg = '';
            }
            cancelLogger = function(msg) {
              $log.debug(msg + ": " + msg);
              if ((cancelCb != null) && _.isFunction(cancelCb)) {
                return cancelCb(msg);
              }
            };
            return PromiseQueueManager(objectToLock, SniffedPromise(fnPromise, promiseType), cancelLogger);
          };
          defaultChunkSize = 80;
          errorObject = {
            value: null
          };
          tryCatch = function(fn, ctx, args) {
            var e, error1;
            try {
              return fn.apply(ctx, args);
            } catch (error1) {
              e = error1;
              errorObject.value = e;
              return errorObject;
            }
          };
          logTryCatch = function(fn, ctx, deferred, args) {
            var msg, result;
            result = tryCatch(fn, ctx, args);
            Iif (result === errorObject) {
              msg = "error within chunking iterator: " + errorObject.value;
              $log.error(msg);
              deferred.reject(msg);
            }
            Iif (result === 'cancel safe') {
              return false;
            }
            return true;
          };
          _getIterateeValue = function(collection, array, index) {
            var _isArray, valOrKey;
            _isArray = collection === array;
            valOrKey = array[index];
            if (_isArray) {
              return valOrKey;
            }
            return collection[valOrKey];
          };
          _ignoreFields = ['length', 'forEach', 'map'];
          getArrayAndKeys = function(collection, keys, bailOutCb, cb) {
            var array, propName, val;
            if (angular.isArray(collection)) {
              array = collection;
            } else {
              if (keys) {
                array = keys;
              } else {
                array = [];
                for (propName in collection) {
                  val = collection[propName];
                  if (collection.hasOwnProperty(propName) && !_.includes(_ignoreFields, propName)) {
                    array.push(propName);
                  }
                }
              }
            }
            if (cb == null) {
              cb = bailOutCb;
            }
            if (angular.isArray(array) && !(array != null ? array.length : void 0)) {
              Eif (cb !== bailOutCb) {
                return bailOutCb();
              }
            }
            return cb(array, keys);
          };

          /*
            Author: Nicholas McCready & jfriend00
            _async handles things asynchronous-like :), to allow the UI to be free'd to do other things
            Code taken from http://stackoverflow.com/questions/10344498/best-way-to-iterate-over-an-array-without-blocking-the-ui

            The design of any functionality of _async is to be like lodash/underscore and replicate it but call things
            asynchronously underneath. Each should be sufficient for most things to be derived from.

            Optional Asynchronous Chunking via promises.
           */
          doChunk = function(collection, chunkSizeOrDontChunk, pauseMilli, chunkCb, pauseCb, overallD, index, _keys) {
            return getArrayAndKeys(collection, _keys, function(array, keys) {
              var cnt, i, keepGoing, val;
              if (chunkSizeOrDontChunk && chunkSizeOrDontChunk < array.length) {
                cnt = chunkSizeOrDontChunk;
              } else {
                cnt = array.length;
              }
              i = index;
              keepGoing = true;
              while (keepGoing && cnt-- && i < (array ? array.length : i + 1)) {
                val = _getIterateeValue(collection, array, i);
                keepGoing = angular.isFunction(val) ? true : logTryCatch(chunkCb, void 0, overallD, [val, i]);
                ++i;
              }
              Eif (array) {
                if (keepGoing && i < array.length) {
                  index = i;
                  Eif (chunkSizeOrDontChunk) {
                    Eif ((pauseCb != null) && _.isFunction(pauseCb)) {
                      logTryCatch(pauseCb, void 0, overallD, []);
                    }
                    return $timeout(function() {
                      return doChunk(collection, chunkSizeOrDontChunk, pauseMilli, chunkCb, pauseCb, overallD, index, keys);
                    }, pauseMilli, false);
                  }
                } else {
                  return overallD.resolve();
                }
              }
            });
          };
          each = function(collection, chunk, chunkSizeOrDontChunk, pauseCb, index, pauseMilli, _keys) {
            var error, overallD, ret;
            if (chunkSizeOrDontChunk == null) {
              chunkSizeOrDontChunk = defaultChunkSize;
            }
            Eif (index == null) {
              index = 0;
            }
            Eif (pauseMilli == null) {
              pauseMilli = 1;
            }
            ret = void 0;
            overallD = uiGmapPromise.defer();
            ret = overallD.promise;
            Iif (!pauseMilli) {
              error = 'pause (delay) must be set from _async!';
              $log.error(error);
              overallD.reject(error);
              return ret;
            }
            return getArrayAndKeys(collection, _keys, function() {
              overallD.resolve();
              return ret;
            }, function(array, keys) {
              doChunk(collection, chunkSizeOrDontChunk, pauseMilli, chunk, pauseCb, overallD, index, keys);
              return ret;
            });
          };
          map = function(collection, iterator, chunkSizeOrDontChunk, pauseCb, index, pauseMilli, _keys) {
            var results;
            results = [];
            return getArrayAndKeys(collection, _keys, function() {
              return uiGmapPromise.resolve(results);
            }, function(array, keys) {
              return each(collection, function(o) {
                return results.push(iterator(o));
              }, chunkSizeOrDontChunk, pauseCb, index, pauseMilli, keys).then(function() {
                return results;
              });
            });
          };
          return {
            each: each,
            map: map,
            managePromiseQueue: managePromiseQueue,
            promiseLock: managePromiseQueue,
            defaultChunkSize: defaultChunkSize,
            getArrayAndKeys: getArrayAndKeys,
            chunkSizeFrom: function(fromSize, ret) {
              Eif (ret == null) {
                ret = void 0;
              }
              if (_.isNumber(fromSize)) {
                ret = fromSize;
              }
              if (uiGmapGmapUtil.isFalse(fromSize) || fromSize === false) {
                ret = false;
              }
              return ret;
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      var indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };

      angular.module('uiGmapgoogle-maps.directives.api.utils').factory('uiGmapBaseObject', function() {
        var BaseObject, baseObjectKeywords;
        baseObjectKeywords = ['extended', 'included'];
        BaseObject = (function() {
          function BaseObject() {}

          BaseObject.extend = function(obj) {
            var key, ref, value;
            for (key in obj) {
              value = obj[key];
              Eif (indexOf.call(baseObjectKeywords, key) < 0) {
                this[key] = value;
              }
            }
            Iif ((ref = obj.extended) != null) {
              ref.apply(this);
            }
            return this;
          };

          BaseObject.include = function(obj) {
            var key, ref, value;
            for (key in obj) {
              value = obj[key];
              Eif (indexOf.call(baseObjectKeywords, key) < 0) {
                this.prototype[key] = value;
              }
            }
            Iif ((ref = obj.included) != null) {
              ref.apply(this);
            }
            return this;
          };

          return BaseObject;

        })();
        return BaseObject;
      });

    }).call(this);
    ;
    /*
        Useful function callbacks that should be defined at later time.
        Mainly to be used for specs to verify creation / linking.

        This is to lead a common design in notifying child stuff.
     */

    (function() {
      angular.module('uiGmapgoogle-maps.directives.api.utils').factory('uiGmapChildEvents', function() {
        return {
          onChildCreation: function(child) {}
        };
      });

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api.utils').service('uiGmapCtrlHandle', [
        '$q', function($q) {
          var CtrlHandle;
          return CtrlHandle = {
            handle: function($scope, $element) {
              $scope.$on('$destroy', function() {
                return CtrlHandle.handle($scope);
              });
              $scope.deferred = $q.defer();
              return {
                getScope: function() {
                  return $scope;
                }
              };
            },
            mapPromise: function(scope, ctrl) {
              var mapScope;
              mapScope = ctrl.getScope();
              mapScope.deferred.promise.then(function(map) {
                return scope.map = map;
              });
              return mapScope.deferred.promise;
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module("uiGmapgoogle-maps.directives.api.utils").service("uiGmapEventsHelper", [
        "uiGmapLogger", function($log) {
          var _getEventsObj, _hasEvents;
          _hasEvents = function(obj) {
            return angular.isDefined(obj.events) && (obj.events != null) && angular.isObject(obj.events);
          };
          _getEventsObj = function(scope, model) {
            if (_hasEvents(scope)) {
              return scope;
            }
            Iif (_hasEvents(model)) {
              return model;
            }
          };
          return {
            setEvents: function(gObject, scope, model, ignores) {
              var eventObj;
              eventObj = _getEventsObj(scope, model);
              if (eventObj != null) {
                return _.compact(_.map(eventObj.events, function(eventHandler, eventName) {
                  var doIgnore;
                  if (ignores) {
                    doIgnore = _(ignores).includes(eventName);
                  }
                  if (eventObj.events.hasOwnProperty(eventName) && angular.isFunction(eventObj.events[eventName]) && !doIgnore) {
                    return google.maps.event.addListener(gObject, eventName, function() {
                      Iif (!scope.$evalAsync) {
                        scope.$evalAsync = function() {};
                      }
                      return scope.$evalAsync(eventHandler.apply(scope, [gObject, eventName, model, arguments]));
                    });
                  }
                }));
              }
            },
            removeEvents: function(listeners) {
              var key, l;
              if (!listeners) {
                return;
              }
              for (key in listeners) {
                l = listeners[key];
                Eif (l && listeners.hasOwnProperty(key)) {
                  google.maps.event.removeListener(l);
                }
              }
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api.utils').service('uiGmapFitHelper', [
        'uiGmapLogger', '$timeout', function($log, $timeout) {
          return {
            fit: function(markersOrPoints, gMap) {
              var bounds, everSet, key, markerOrPoint, point;
              if (gMap && (markersOrPoints != null ? markersOrPoints.length : void 0)) {
                bounds = new google.maps.LatLngBounds();
                everSet = false;
                for (key in markersOrPoints) {
                  markerOrPoint = markersOrPoints[key];
                  if (markerOrPoint) {
                    if (!everSet) {
                      everSet = true;
                    }
                    point = _.isFunction(markerOrPoint.getPosition) ? markerOrPoint.getPosition() : markerOrPoint;
                  }
                  bounds.extend(point);
                }
                if (everSet) {
                  return $timeout(function() {
                    return gMap.fitBounds(bounds);
                  });
                }
              }
            }
          };
        }
      ]);

    }).call(this);
    ;
    /*global _:true, angular:true, google:true */

    (function() {
      angular.module('uiGmapgoogle-maps.directives.api.utils').service('uiGmapGmapUtil', [
        'uiGmapLogger', '$compile', function(Logger, $compile) {
          var _isFalse, _isTruthy, getCoords, getLatitude, getLongitude, validateCoords;
          _isTruthy = function(value, bool, optionsArray) {
            return value === bool || optionsArray.indexOf(value) !== -1;
          };
          _isFalse = function(value) {
            return _isTruthy(value, false, ['false', 'FALSE', 0, 'n', 'N', 'no', 'NO']);
          };
          getLatitude = function(value) {
            Iif (Array.isArray(value) && value.length === 2) {
              return value[1];
            } else if (angular.isDefined(value.type) && value.type === 'Point') {
              return value.coordinates[1];
            } else {
              return value.latitude;
            }
          };
          getLongitude = function(value) {
            Iif (Array.isArray(value) && value.length === 2) {
              return value[0];
            } else if (angular.isDefined(value.type) && value.type === 'Point') {
              return value.coordinates[0];
            } else {
              return value.longitude;
            }
          };
          getCoords = function(value) {
            Iif (!value) {
              return;
            }
            Iif (value instanceof google.maps.LatLng) {
              return value;
            } else Iif (Array.isArray(value) && value.length === 2) {
              return new google.maps.LatLng(value[1], value[0]);
            } else Iif (angular.isDefined(value.type) && value.type === 'Point') {
              return new google.maps.LatLng(value.coordinates[1], value.coordinates[0]);
            } else {
              return new google.maps.LatLng(value.latitude, value.longitude);
            }
          };
          validateCoords = function(coords) {
            if (angular.isUndefined(coords)) {
              return false;
            }
            if (_.isArray(coords)) {
              if (coords.length === 2) {
                return true;
              }
            } else if ((coords != null) && (coords != null ? coords.type : void 0)) {
              if (coords.type === 'Point' && _.isArray(coords.coordinates) && coords.coordinates.length === 2) {
                return true;
              }
            }
            if (coords && angular.isDefined((coords != null ? coords.latitude : void 0) && angular.isDefined(coords != null ? coords.longitude : void 0))) {
              return true;
            }
            return false;
          };
          return {
            setCoordsFromEvent: function(prevValue, newLatLon) {
              if (!prevValue) {
                return;
              }
              if (Array.isArray(prevValue) && prevValue.length === 2) {
                prevValue[1] = newLatLon.lat();
                prevValue[0] = newLatLon.lng();
              } else if (angular.isDefined(prevValue.type) && prevValue.type === 'Point') {
                prevValue.coordinates[1] = newLatLon.lat();
                prevValue.coordinates[0] = newLatLon.lng();
              } else {
                prevValue.latitude = newLatLon.lat();
                prevValue.longitude = newLatLon.lng();
              }
              return prevValue;
            },
            getLabelPositionPoint: function(anchor) {
              var xPos, yPos;
              if (anchor === void 0) {
                return void 0;
              }
              anchor = /^([-\d\.]+)\s([-\d\.]+)$/.exec(anchor);
              xPos = parseFloat(anchor[1]);
              yPos = parseFloat(anchor[2]);
              Eif ((xPos != null) && (yPos != null)) {
                return new google.maps.Point(xPos, yPos);
              }
            },
            createWindowOptions: function(gMarker, scope, content, defaults) {
              var options;
              Eif ((content != null) && (defaults != null) && ($compile != null)) {
                options = angular.extend({}, defaults, {
                  content: this.buildContent(scope, defaults, content),
                  position: defaults.position != null ? defaults.position : angular.isObject(gMarker) ? gMarker.getPosition() : getCoords(scope.coords)
                });
                Iif ((gMarker != null) && ((options != null ? options.pixelOffset : void 0) == null)) {
                  if (options.boxClass == null) {

                  } else {
                    options.pixelOffset = {
                      height: 0,
                      width: -2
                    };
                  }
                }
                return options;
              } else {
                if (!defaults) {
                  Logger.error('infoWindow defaults not defined');
                  if (!content) {
                    return Logger.error('infoWindow content not defined');
                  }
                } else {
                  return defaults;
                }
              }
            },
            buildContent: function(scope, defaults, content) {
              var parsed, ret;
              if (defaults.content != null) {
                ret = defaults.content;
              } else {
                Eif ($compile != null) {
                  content = content.replace(/^\s+|\s+$/g, '');
                  parsed = content === '' ? '' : $compile(content)(scope);
                  Eif (parsed.length > 0) {
                    ret = parsed[0];
                  }
                } else {
                  ret = content;
                }
              }
              return ret;
            },
            defaultDelay: 50,
            isTrue: function(value) {
              return _isTruthy(value, true, ['true', 'TRUE', 1, 'y', 'Y', 'yes', 'YES']);
            },
            isFalse: _isFalse,
            isFalsy: function(value) {
              return _isTruthy(value, false, [void 0, null]) || _isFalse(value);
            },
            getCoords: getCoords,
            validateCoords: validateCoords,
            equalCoords: function(coord1, coord2) {
              return getLatitude(coord1) === getLatitude(coord2) && getLongitude(coord1) === getLongitude(coord2);
            },
            validatePath: function(path) {
              var array, i, polygon, trackMaxVertices;
              i = 0;
              if (angular.isUndefined(path.type)) {
                if (!Array.isArray(path) || path.length < 2) {
                  return false;
                }
                while (i < path.length) {
                  if (!((angular.isDefined(path[i].latitude) && angular.isDefined(path[i].longitude)) || (typeof path[i].lat === 'function' && typeof path[i].lng === 'function'))) {
                    return false;
                  }
                  i++;
                }
                return true;
              } else {
                if (angular.isUndefined(path.coordinates)) {
                  return false;
                }
                if (path.type === 'Polygon') {
                  if (path.coordinates[0].length < 4) {
                    return false;
                  }
                  array = path.coordinates[0];
                } else Iif (path.type === 'MultiPolygon') {
                  trackMaxVertices = {
                    max: 0,
                    index: 0
                  };
                  _.forEach(path.coordinates, function(polygon, index) {
                    if (polygon[0].length > this.max) {
                      this.max = polygon[0].length;
                      return this.index = index;
                    }
                  }, trackMaxVertices);
                  polygon = path.coordinates[trackMaxVertices.index];
                  array = polygon[0];
                  if (array.length < 4) {
                    return false;
                  }
                } else if (path.type === 'LineString') {
                  if (path.coordinates.length < 2) {
                    return false;
                  }
                  array = path.coordinates;
                } else {
                  return false;
                }
                while (i < array.length) {
                  if (array[i].length !== 2) {
                    return false;
                  }
                  i++;
                }
                return true;
              }
            },
            convertPathPoints: function(path) {
              var array, i, latlng, result, trackMaxVertices;
              i = 0;
              result = new google.maps.MVCArray();
              if (angular.isUndefined(path.type)) {
                while (i < path.length) {
                  latlng;
                  Eif (angular.isDefined(path[i].latitude) && angular.isDefined(path[i].longitude)) {
                    latlng = new google.maps.LatLng(path[i].latitude, path[i].longitude);
                  } else if (typeof path[i].lat === 'function' && typeof path[i].lng === 'function') {
                    latlng = path[i];
                  }
                  result.push(latlng);
                  i++;
                }
              } else {
                array;
                if (path.type === 'Polygon') {
                  array = path.coordinates[0];
                } else Iif (path.type === 'MultiPolygon') {
                  trackMaxVertices = {
                    max: 0,
                    index: 0
                  };
                  _.forEach(path.coordinates, function(polygon, index) {
                    if (polygon[0].length > this.max) {
                      this.max = polygon[0].length;
                      return this.index = index;
                    }
                  }, trackMaxVertices);
                  array = path.coordinates[trackMaxVertices.index][0];
                } else Eif (path.type === 'LineString') {
                  array = path.coordinates;
                }
                while (i < array.length) {
                  result.push(new google.maps.LatLng(array[i][1], array[i][0]));
                  i++;
                }
              }
              return result;
            },
            getPath: function(object, key) {
              var obj;
              Iif ((key == null) || !_.isString(key)) {
                return key;
              }
              obj = object;
              _.each(key.split('.'), function(value) {
                if (obj) {
                  return obj = obj[value];
                }
              });
              return obj;
            },
            validateBoundPoints: function(bounds) {
              if (angular.isUndefined(bounds.sw.latitude) || angular.isUndefined(bounds.sw.longitude) || angular.isUndefined(bounds.ne.latitude) || angular.isUndefined(bounds.ne.longitude)) {
                return false;
              }
              return true;
            },
            convertBoundPoints: function(bounds) {
              var result;
              result = new google.maps.LatLngBounds(new google.maps.LatLng(bounds.sw.latitude, bounds.sw.longitude), new google.maps.LatLng(bounds.ne.latitude, bounds.ne.longitude));
              return result;
            },
            fitMapBounds: function(map, bounds) {
              return map.fitBounds(bounds);
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api.utils').service('uiGmapIsReady', [
        '$q', '$timeout', function($q, $timeout) {
          var _checkIfReady, _ctr, _promises, _proms;
          _ctr = 0;
          _proms = [];
          _promises = function() {
            return $q.all(_proms);
          };
          _checkIfReady = function(deferred, expectedInstances, retriesLeft) {
            return $timeout(function() {
              if (retriesLeft <= 0) {
                deferred.reject('Your maps are not found we have checked the maximum amount of times. :)');
                return;
              }
              if (_ctr !== expectedInstances) {
                _checkIfReady(deferred, expectedInstances, retriesLeft - 1);
              } else {
                deferred.resolve(_promises());
              }
            }, 100);
          };
          return {
            spawn: function() {
              var d;
              d = $q.defer();
              _proms.push(d.promise);
              _ctr += 1;
              return {
                instance: _ctr,
                deferred: d
              };
            },
            promises: _promises,
            instances: function() {
              return _ctr;
            },
            promise: function(expectedInstances, numRetries) {
              var d;
              if (expectedInstances == null) {
                expectedInstances = 1;
              }
              if (numRetries == null) {
                numRetries = 50;
              }
              d = $q.defer();
              _checkIfReady(d, expectedInstances, numRetries);
              return d.promise;
            },
            reset: function() {
              _ctr = 0;
              _proms.length = 0;
            },
            decrement: function() {
              if (_ctr > 0) {
                _ctr -= 1;
              }
              if (_proms.length) {
                _proms.length -= 1;
              }
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module("uiGmapgoogle-maps.directives.api.utils").factory("uiGmapLinked", [
        "uiGmapBaseObject", function(BaseObject) {
          var Linked;
          Linked = (function(superClass) {
            extend(Linked, superClass);

            function Linked(scope, element, attrs, ctrls) {
              this.scope = scope;
              this.element = element;
              this.attrs = attrs;
              this.ctrls = ctrls;
            }

            return Linked;

          })(BaseObject);
          return Linked;
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api.utils').service('uiGmapLogger', [
        'nemSimpleLogger', function(nemSimpleLogger) {
          return nemSimpleLogger.spawn();
        }
      ]);

    }).call(this);
    ;
    /*global _:true, angular:true */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.utils').factory('uiGmapModelKey', [
        'uiGmapBaseObject', 'uiGmapGmapUtil', function(BaseObject, GmapUtil) {
          return (function(superClass) {
            extend(_Class, superClass);

            function _Class(scope1, _interface) {
              this.scope = scope1;
              this["interface"] = _interface != null ? _interface : {
                scopeKeys: []
              };
              this.modelsLength = bind(this.modelsLength, this);
              this.updateChild = bind(this.updateChild, this);
              this.destroy = bind(this.destroy, this);
              this.setChildScope = bind(this.setChildScope, this);
              this.getChanges = bind(this.getChanges, this);
              this.getProp = bind(this.getProp, this);
              this.setIdKey = bind(this.setIdKey, this);
              this.modelKeyComparison = bind(this.modelKeyComparison, this);
              _Class.__super__.constructor.call(this);
              this.defaultIdKey = 'id';
              this.idKey = void 0;
            }

            _Class.prototype.evalModelHandle = function(model, modelKey) {
              if ((model == null) || (modelKey == null)) {
                return;
              }
              if (modelKey === 'self') {
                return model;
              } else {
                Iif (_.isFunction(modelKey)) {
                  modelKey = modelKey();
                }
                return GmapUtil.getPath(model, modelKey);
              }
            };

            _Class.prototype.modelKeyComparison = function(model1, model2) {
              var coord1, coord2, hasCoords, isEqual, scope, without;
              hasCoords = this["interface"].scopeKeys.indexOf('coords') >= 0;
              if (hasCoords && (this.scope.coords != null) || !hasCoords) {
                scope = this.scope;
              }
              if (scope == null) {
                throw 'No scope set!';
              }
              Eif (hasCoords) {
                coord1 = this.scopeOrModelVal('coords', scope, model1);
                coord2 = this.scopeOrModelVal('coords', scope, model2);
                isEqual = GmapUtil.equalCoords(coord1, coord2);
                if (!isEqual) {
                  return isEqual;
                }
              }
              without = _.without(this["interface"].scopeKeys, 'coords');
              isEqual = _.every(without, (function(_this) {
                return function(k) {
                  var m1, m2;
                  m1 = _this.scopeOrModelVal(scope[k], scope, model1);
                  m2 = _this.scopeOrModelVal(scope[k], scope, model2);
                  if (scope.deepComparison) {
                    return _.isEqual(m1, m2);
                  } else {
                    return m1 === m2;
                  }
                };
              })(this));
              return isEqual;
            };

            _Class.prototype.setIdKey = function(scope) {
              return this.idKey = scope.idKey != null ? scope.idKey : this.defaultIdKey;
            };

            _Class.prototype.setVal = function(model, key, newValue) {
              this.modelOrKey(model, key = newValue);
              return model;
            };

            _Class.prototype.modelOrKey = function(model, key) {
              if (key == null) {
                return;
              }
              if (key !== 'self') {
                return GmapUtil.getPath(model, key);
              }
              return model;
            };

            _Class.prototype.getProp = function(propName, scope, model) {
              return this.scopeOrModelVal(propName, scope, model);
            };

            /*
            For the cases were watching a large object we only want to know the list of props
            that actually changed.
            Also we want to limit the amount of props we analyze to whitelisted props that are
            actually tracked by scope. (should make things faster with whitelisted)
             */

            _Class.prototype.getChanges = function(now, prev, whitelistedProps) {
              var c, changes, prop;
              Eif (whitelistedProps) {
                prev = _.pick(prev, whitelistedProps);
                now = _.pick(now, whitelistedProps);
              }
              changes = {};
              prop = {};
              c = {};
              for (prop in now) {
                if (!prev || prev[prop] !== now[prop]) {
                  if (_.isArray(now[prop])) {
                    changes[prop] = now[prop];
                  } else if (_.isObject(now[prop])) {
                    c = this.getChanges(now[prop], (prev ? prev[prop] : null));
                    if (!_.isEmpty(c)) {
                      changes[prop] = c;
                    }
                  } else {
                    changes[prop] = now[prop];
                  }
                }
              }
              return changes;
            };

            _Class.prototype.scopeOrModelVal = function(key, scope, model, doWrap) {
              var maybeWrap, modelKey, modelProp, scopeProp;
              Eif (doWrap == null) {
                doWrap = false;
              }
              maybeWrap = function(isScope, ret, doWrap) {
                Iif (doWrap == null) {
                  doWrap = false;
                }
                Iif (doWrap) {
                  return {
                    isScope: isScope,
                    value: ret
                  };
                }
                return ret;
              };
              scopeProp = _.get(scope, key);
              if (_.isFunction(scopeProp)) {
                return maybeWrap(true, scopeProp(model), doWrap);
              }
              if (_.isObject(scopeProp)) {
                return maybeWrap(true, scopeProp, doWrap);
              }
              if (!_.isString(scopeProp)) {
                return maybeWrap(true, scopeProp, doWrap);
              }
              modelKey = scopeProp;
              Iif (!modelKey) {
                modelProp = _.get(model, key);
              } else {
                modelProp = modelKey === 'self' ? model : _.get(model, modelKey);
              }
              Iif (_.isFunction(modelProp)) {
                return maybeWrap(false, modelProp(), doWrap);
              }
              return maybeWrap(false, modelProp, doWrap);
            };

            _Class.prototype.setChildScope = function(keys, childScope, model) {
              var isScopeObj, key, name, newValue;
              for (key in keys) {
                name = keys[key];
                isScopeObj = this.scopeOrModelVal(name, childScope, model, true);
                if ((isScopeObj != null ? isScopeObj.value : void 0) != null) {
                  newValue = isScopeObj.value;
                  if (newValue !== childScope[name]) {
                    childScope[name] = newValue;
                  }
                }
              }
              return childScope.model = model;
            };

            _Class.prototype.onDestroy = function(scope) {};

            _Class.prototype.destroy = function(manualOverride) {
              var ref;
              if (manualOverride == null) {
                manualOverride = false;
              }
              if ((this.scope != null) && !((ref = this.scope) != null ? ref.$$destroyed : void 0) && (this.needToManualDestroy || manualOverride)) {
                return this.scope.$destroy();
              } else {
                return this.clean();
              }
            };

            _Class.prototype.updateChild = function(child, model) {
              Iif (model[this.idKey] == null) {
                this.$log.error("Model has no id to assign a child to. This is required for performance. Please assign id, or redirect id to a different key.");
                return;
              }
              return child.updateModel(model);
            };

            _Class.prototype.modelsLength = function(arrayOrObjModels) {
              var len, toCheck;
              Eif (arrayOrObjModels == null) {
                arrayOrObjModels = void 0;
              }
              len = 0;
              toCheck = arrayOrObjModels ? arrayOrObjModels : this.scope.models;
              Iif (toCheck == null) {
                return len;
              }
              Eif (angular.isArray(toCheck) || (toCheck.length != null)) {
                len = toCheck.length;
              } else {
                len = Object.keys(toCheck).length;
              }
              return len;
            };

            return _Class;

          })(BaseObject);
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api.utils').factory('uiGmapModelsWatcher', [
        'uiGmapLogger', 'uiGmap_async', '$q', 'uiGmapPromise', function(Logger, _async, $q, uiGmapPromise) {
          return {
            didQueueInitPromise: function(existingPiecesObj, scope) {
              if (scope.models.length === 0) {
                _async.promiseLock(existingPiecesObj, uiGmapPromise.promiseTypes.init, null, null, (function() {
                  return uiGmapPromise.resolve();
                }));
                return true;
              }
              return false;
            },
            figureOutState: function(idKey, scope, childObjects, comparison, callBack) {
              var adds, children, mappedScopeModelIds, removals, updates;
              adds = [];
              mappedScopeModelIds = {};
              removals = [];
              updates = [];
              scope.models.forEach(function(m) {
                var child;
                Eif (m[idKey] != null) {
                  mappedScopeModelIds[m[idKey]] = {};
                  Iif (childObjects.get(m[idKey]) == null) {
                    return adds.push(m);
                  } else {
                    child = childObjects.get(m[idKey]);
                    if (!comparison(m, child.clonedModel, scope)) {
                      return updates.push({
                        model: m,
                        child: child
                      });
                    }
                  }
                } else {
                  return Logger.error(' id missing for model #{m.toString()},\ncan not use do comparison/insertion');
                }
              });
              children = childObjects.values();
              children.forEach(function(c) {
                var id;
                Iif (c == null) {
                  Logger.error('child undefined in ModelsWatcher.');
                  return;
                }
                Iif (c.model == null) {
                  Logger.error('child.model undefined in ModelsWatcher.');
                  return;
                }
                id = c.model[idKey];
                Iif (mappedScopeModelIds[id] == null) {
                  return removals.push(c);
                }
              });
              return {
                adds: adds,
                removals: removals,
                updates: updates
              };
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api.utils').service('uiGmapPromise', [
        '$q', '$timeout', 'uiGmapLogger', function($q, $timeout, $log) {
          var ExposedPromise, SniffedPromise, defer, isInProgress, isResolved, promise, promiseStatus, promiseStatuses, promiseTypes, resolve, strPromiseStatuses;
          promiseTypes = {
            create: 'create',
            update: 'update',
            "delete": 'delete',
            init: 'init'
          };
          promiseStatuses = {
            IN_PROGRESS: 0,
            RESOLVED: 1,
            REJECTED: 2
          };
          strPromiseStatuses = (function() {
            var obj;
            obj = {};
            obj["" + promiseStatuses.IN_PROGRESS] = 'in-progress';
            obj["" + promiseStatuses.RESOLVED] = 'resolved';
            obj["" + promiseStatuses.REJECTED] = 'rejected';
            return obj;
          })();
          isInProgress = function(promise) {
            Eif (promise.$$state) {
              return promise.$$state.status === promiseStatuses.IN_PROGRESS;
            }
            if (!promise.hasOwnProperty("$$v")) {
              return true;
            }
          };
          isResolved = function(promise) {
            if (promise.$$state) {
              return promise.$$state.status === promiseStatuses.RESOLVED;
            }
            if (promise.hasOwnProperty("$$v")) {
              return true;
            }
          };
          promiseStatus = function(status) {
            return strPromiseStatuses[status] || 'done w error';
          };
          ExposedPromise = function(promise) {
            var cancelDeferred, combined, wrapped;
            cancelDeferred = $q.defer();
            combined = $q.all([promise, cancelDeferred.promise]);
            wrapped = $q.defer();
            promise.then(cancelDeferred.resolve, (function() {}), function(notify) {
              cancelDeferred.notify(notify);
              return wrapped.notify(notify);
            });
            combined.then(function(successes) {
              return wrapped.resolve(successes[0] || successes[1]);
            }, function(error) {
              return wrapped.reject(error);
            });
            wrapped.promise.cancel = function(reason) {
              Iif (reason == null) {
                reason = 'canceled';
              }
              return cancelDeferred.reject(reason);
            };
            wrapped.promise.notify = function(msg) {
              Iif (msg == null) {
                msg = 'cancel safe';
              }
              wrapped.notify(msg);
              Iif (promise.hasOwnProperty('notify')) {
                return promise.notify(msg);
              }
            };
            Iif (promise.promiseType != null) {
              wrapped.promise.promiseType = promise.promiseType;
            }
            return wrapped.promise;
          };
          SniffedPromise = function(fnPromise, promiseType) {
            return {
              promise: fnPromise,
              promiseType: promiseType
            };
          };
          defer = function() {
            return $q.defer();
          };
          resolve = function() {
            var d;
            d = $q.defer();
            d.resolve.apply(void 0, arguments);
            return d.promise;
          };
          promise = function(fnToWrap) {
            var d;
            Iif (!_.isFunction(fnToWrap)) {
              $log.error("uiGmapPromise.promise() only accepts functions");
              return;
            }
            d = $q.defer();
            $timeout(function() {
              var result;
              result = fnToWrap();
              return d.resolve(result);
            });
            return d.promise;
          };
          return {
            defer: defer,
            promise: promise,
            resolve: resolve,
            promiseTypes: promiseTypes,
            isInProgress: isInProgress,
            isResolved: isResolved,
            promiseStatus: promiseStatus,
            ExposedPromise: ExposedPromise,
            SniffedPromise: SniffedPromise
          };
        }
      ]);

    }).call(this);
    ;(function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

      angular.module("uiGmapgoogle-maps.directives.api.utils").factory("uiGmapPropMap", function() {

        /*
          Simple Object Map with a length property to make it easy to track length/size
         */
        var PropMap;
        return PropMap = (function() {
          function PropMap() {
            this.removeAll = bind(this.removeAll, this);
            this.slice = bind(this.slice, this);
            this.push = bind(this.push, this);
            this.keys = bind(this.keys, this);
            this.values = bind(this.values, this);
            this.remove = bind(this.remove, this);
            this.put = bind(this.put, this);
            this.stateChanged = bind(this.stateChanged, this);
            this.get = bind(this.get, this);
            this.length = 0;
            this.dict = {};
            this.didValsStateChange = false;
            this.didKeysStateChange = false;
            this.allVals = [];
            this.allKeys = [];
          }

          PropMap.prototype.get = function(key) {
            return this.dict[key];
          };

          PropMap.prototype.stateChanged = function() {
            this.didValsStateChange = true;
            return this.didKeysStateChange = true;
          };

          PropMap.prototype.put = function(key, value) {
            Eif (this.get(key) == null) {
              this.length++;
            }
            this.stateChanged();
            return this.dict[key] = value;
          };

          PropMap.prototype.remove = function(key, isSafe) {
            var value;
            Eif (isSafe == null) {
              isSafe = false;
            }
            Iif (isSafe && !this.get(key)) {
              return void 0;
            }
            value = this.dict[key];
            delete this.dict[key];
            this.length--;
            this.stateChanged();
            return value;
          };

          PropMap.prototype.valuesOrKeys = function(str) {
            var keys, vals;
            if (str == null) {
              str = 'Keys';
            }
            Iif (!this["did" + str + "StateChange"]) {
              return this['all' + str];
            }
            vals = [];
            keys = [];
            _.each(this.dict, function(v, k) {
              vals.push(v);
              return keys.push(k);
            });
            this.didKeysStateChange = false;
            this.didValsStateChange = false;
            this.allVals = vals;
            this.allKeys = keys;
            return this['all' + str];
          };

          PropMap.prototype.values = function() {
            return this.valuesOrKeys('Vals');
          };

          PropMap.prototype.keys = function() {
            return this.valuesOrKeys();
          };

          PropMap.prototype.push = function(obj, key) {
            Eif (key == null) {
              key = "key";
            }
            return this.put(obj[key], obj);
          };

          PropMap.prototype.slice = function() {
            return this.keys().map((function(_this) {
              return function(k) {
                return _this.remove(k);
              };
            })(this));
          };

          PropMap.prototype.removeAll = function() {
            return this.slice();
          };

          PropMap.prototype.each = function(cb) {
            return _.each(this.dict, function(v, k) {
              return cb(v);
            });
          };

          PropMap.prototype.map = function(cb) {
            return _.map(this.dict, function(v, k) {
              return cb(v);
            });
          };

          return PropMap;

        })();
      });

    }).call(this);
    ;
    /*globals angular,_ */

    (function() {
      angular.module("uiGmapgoogle-maps.directives.api.utils").factory("uiGmapPropertyAction", [
        "uiGmapLogger", function(Logger) {
          var PropertyAction;
          PropertyAction = function(setterFn) {
            this.setIfChange = function(callingKey) {
              return function(newVal, oldVal) {
                if (!_.isEqual(oldVal, newVal)) {
                  return setterFn(callingKey, newVal);
                }
              };
            };
            this.sic = this.setIfChange;
            return this;
          };
          return PropertyAction;
        }
      ]);

    }).call(this);
    ;(function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

      angular.module('uiGmapgoogle-maps.directives.api.managers').factory('uiGmapClustererMarkerManager', [
        'uiGmapLogger', 'uiGmapFitHelper', 'uiGmapPropMap', 'uiGmapEventsHelper', function($log, FitHelper, PropMap, EventsHelper) {
          var ClustererMarkerManager;
          ClustererMarkerManager = (function() {
            ClustererMarkerManager.type = 'ClustererMarkerManager';

            function ClustererMarkerManager(gMap, opt_markers, opt_options, opt_events) {
              Eif (opt_markers == null) {
                opt_markers = {};
              }
              this.opt_options = opt_options != null ? opt_options : {};
              this.opt_events = opt_events;
              this.getGMarkers = bind(this.getGMarkers, this);
              this.fit = bind(this.fit, this);
              this.destroy = bind(this.destroy, this);
              this.attachEvents = bind(this.attachEvents, this);
              this.clear = bind(this.clear, this);
              this.draw = bind(this.draw, this);
              this.removeMany = bind(this.removeMany, this);
              this.remove = bind(this.remove, this);
              this.addMany = bind(this.addMany, this);
              this.update = bind(this.update, this);
              this.add = bind(this.add, this);
              this.type = ClustererMarkerManager.type;
              this.clusterer = new NgMapMarkerClusterer(gMap, opt_markers, this.opt_options);
              this.propMapGMarkers = new PropMap();
              this.attachEvents(this.opt_events, 'opt_events');
              this.clusterer.setIgnoreHidden(true);
              this.noDrawOnSingleAddRemoves = true;
              $log.info(this);
            }

            ClustererMarkerManager.prototype.checkKey = function(gMarker) {
              var msg;
              if (gMarker.key == null) {
                msg = 'gMarker.key undefined and it is REQUIRED!!';
                return $log.error(msg);
              }
            };

            ClustererMarkerManager.prototype.add = function(gMarker) {
              this.checkKey(gMarker);
              this.clusterer.addMarker(gMarker, this.noDrawOnSingleAddRemoves);
              this.propMapGMarkers.put(gMarker.key, gMarker);
              return this.checkSync();
            };

            ClustererMarkerManager.prototype.update = function(gMarker) {
              this.remove(gMarker);
              return this.add(gMarker);
            };

            ClustererMarkerManager.prototype.addMany = function(gMarkers) {
              return gMarkers.forEach((function(_this) {
                return function(gMarker) {
                  return _this.add(gMarker);
                };
              })(this));
            };

            ClustererMarkerManager.prototype.remove = function(gMarker) {
              var exists;
              this.checkKey(gMarker);
              exists = this.propMapGMarkers.get(gMarker.key);
              if (exists) {
                this.clusterer.removeMarker(gMarker, this.noDrawOnSingleAddRemoves);
                this.propMapGMarkers.remove(gMarker.key);
              }
              return this.checkSync();
            };

            ClustererMarkerManager.prototype.removeMany = function(gMarkers) {
              return gMarkers.forEach((function(_this) {
                return function(gMarker) {
                  return _this.remove(gMarker);
                };
              })(this));
            };

            ClustererMarkerManager.prototype.draw = function() {
              return this.clusterer.repaint();
            };

            ClustererMarkerManager.prototype.clear = function() {
              this.removeMany(this.getGMarkers());
              return this.clusterer.repaint();
            };

            ClustererMarkerManager.prototype.attachEvents = function(options, optionsName) {
              var eventHandler, eventName, results;
              this.listeners = [];
              Eif (angular.isDefined(options) && (options != null) && angular.isObject(options)) {
                results = [];
                for (eventName in options) {
                  eventHandler = options[eventName];
                  Eif (options.hasOwnProperty(eventName) && angular.isFunction(options[eventName])) {
                    $log.info(optionsName + ": Attaching event: " + eventName + " to clusterer");
                    results.push(this.listeners.push(google.maps.event.addListener(this.clusterer, eventName, options[eventName])));
                  } else {
                    results.push(void 0);
                  }
                }
                return results;
              }
            };

            ClustererMarkerManager.prototype.clearEvents = function() {
              EventsHelper.removeEvents(this.listeners);
              return this.listeners = [];
            };

            ClustererMarkerManager.prototype.destroy = function() {
              this.clearEvents();
              return this.clear();
            };

            ClustererMarkerManager.prototype.fit = function() {
              return FitHelper.fit(this.getGMarkers(), this.clusterer.getMap());
            };

            ClustererMarkerManager.prototype.getGMarkers = function() {
              return this.clusterer.getMarkers().values();
            };

            ClustererMarkerManager.prototype.checkSync = function() {};

            return ClustererMarkerManager;

          })();
          return ClustererMarkerManager;
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api.managers').service('uiGmapGoogleMapObjectManager', [
        function() {
          var _availableInstances, _usedInstances;
          _availableInstances = [];
          _usedInstances = [];
          return {
            createMapInstance: function(parentElement, options) {
              var instance;
              instance = null;
              if (_availableInstances.length === 0) {
                instance = new google.maps.Map(parentElement, options);
                _usedInstances.push(instance);
              } else {
                instance = _availableInstances.pop();
                angular.element(parentElement).append(instance.getDiv());
                instance.setOptions(options);
                _usedInstances.push(instance);
              }
              return instance;
            },
            recycleMapInstance: function(instance) {
              var index;
              index = _usedInstances.indexOf(instance);
              if (index < 0) {
                throw new Error('Expected map instance to be a previously used instance');
              }
              _usedInstances.splice(index, 1);
              return _availableInstances.push(instance);
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

      angular.module("uiGmapgoogle-maps.directives.api.managers").factory("uiGmapMarkerManager", [
        "uiGmapLogger", "uiGmapFitHelper", "uiGmapPropMap", function(Logger, FitHelper, PropMap) {
          var MarkerManager;
          MarkerManager = (function() {
            MarkerManager.type = 'MarkerManager';

            function MarkerManager(gMap, opt_markers, opt_options) {
              this.getGMarkers = bind(this.getGMarkers, this);
              this.fit = bind(this.fit, this);
              this.handleOptDraw = bind(this.handleOptDraw, this);
              this.clear = bind(this.clear, this);
              this.destroy = bind(this.destroy, this);
              this.draw = bind(this.draw, this);
              this.removeMany = bind(this.removeMany, this);
              this.remove = bind(this.remove, this);
              this.addMany = bind(this.addMany, this);
              this.update = bind(this.update, this);
              this.add = bind(this.add, this);
              this.type = MarkerManager.type;
              this.gMap = gMap;
              this.gMarkers = new PropMap();
              this.$log = Logger;
              this.$log.info(this);
            }

            MarkerManager.prototype.add = function(gMarker, optDraw) {
              var exists, msg;
              Eif (optDraw == null) {
                optDraw = true;
              }
              Iif (gMarker.key == null) {
                msg = "gMarker.key undefined and it is REQUIRED!!";
                Logger.error(msg);
                throw msg;
              }
              exists = this.gMarkers.get(gMarker.key);
              if (!exists) {
                this.handleOptDraw(gMarker, optDraw, true);
                return this.gMarkers.put(gMarker.key, gMarker);
              }
            };

            MarkerManager.prototype.update = function(gMarker, optDraw) {
              if (optDraw == null) {
                optDraw = true;
              }
              this.remove(gMarker, optDraw);
              return this.add(gMarker, optDraw);
            };

            MarkerManager.prototype.addMany = function(gMarkers) {
              return gMarkers.forEach((function(_this) {
                return function(gMarker) {
                  return _this.add(gMarker);
                };
              })(this));
            };

            MarkerManager.prototype.remove = function(gMarker, optDraw) {
              Eif (optDraw == null) {
                optDraw = true;
              }
              this.handleOptDraw(gMarker, optDraw, false);
              Eif (this.gMarkers.get(gMarker.key)) {
                return this.gMarkers.remove(gMarker.key);
              }
            };

            MarkerManager.prototype.removeMany = function(gMarkers) {
              return gMarkers.forEach((function(_this) {
                return function(marker) {
                  return _this.remove(marker);
                };
              })(this));
            };

            MarkerManager.prototype.draw = function() {
              var deletes;
              deletes = [];
              this.gMarkers.each((function(_this) {
                return function(gMarker) {
                  Iif (!gMarker.isDrawn) {
                    if (gMarker.doAdd) {
                      gMarker.setMap(_this.gMap);
                      return gMarker.isDrawn = true;
                    } else {
                      return deletes.push(gMarker);
                    }
                  }
                };
              })(this));
              return deletes.forEach((function(_this) {
                return function(gMarker) {
                  gMarker.isDrawn = false;
                  return _this.remove(gMarker, true);
                };
              })(this));
            };

            MarkerManager.prototype.destroy = function() {
              return this.clear();
            };

            MarkerManager.prototype.clear = function() {
              this.gMarkers.each(function(gMarker) {
                return gMarker.setMap(null);
              });
              delete this.gMarkers;
              return this.gMarkers = new PropMap();
            };

            MarkerManager.prototype.handleOptDraw = function(gMarker, optDraw, doAdd) {
              Eif (optDraw === true) {
                if (doAdd) {
                  gMarker.setMap(this.gMap);
                } else {
                  gMarker.setMap(null);
                }
                return gMarker.isDrawn = true;
              } else {
                gMarker.isDrawn = false;
                return gMarker.doAdd = doAdd;
              }
            };

            MarkerManager.prototype.fit = function() {
              return FitHelper.fit(this.getGMarkers(), this.gMap);
            };

            MarkerManager.prototype.getGMarkers = function() {
              return this.gMarkers.values();
            };

            return MarkerManager;

          })();
          return MarkerManager;
        }
      ]);

    }).call(this);
    ;(function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

      angular.module('uiGmapgoogle-maps.directives.api.managers').factory('uiGmapSpiderfierMarkerManager', [
        'uiGmapLogger', 'uiGmapFitHelper', 'uiGmapPropMap', 'uiGmapMarkerSpiderfier', function($log, FitHelper, PropMap, MarkerSpiderfier) {
          var SpiderfierMarkerManager;
          return SpiderfierMarkerManager = (function() {
            SpiderfierMarkerManager.type = 'SpiderfierMarkerManager';

            function SpiderfierMarkerManager(gMap, opt_markers, opt_options, opt_events, scope) {
              if (opt_markers == null) {
                opt_markers = {};
              }
              this.opt_options = opt_options != null ? opt_options : {};
              this.opt_events = opt_events;
              this.scope = scope;
              this.isSpiderfied = bind(this.isSpiderfied, this);
              this.getGMarkers = bind(this.getGMarkers, this);
              this.fit = bind(this.fit, this);
              this.destroy = bind(this.destroy, this);
              this.attachEvents = bind(this.attachEvents, this);
              this.clear = bind(this.clear, this);
              this.removeMany = bind(this.removeMany, this);
              this.remove = bind(this.remove, this);
              this.addMany = bind(this.addMany, this);
              this.update = bind(this.update, this);
              this.add = bind(this.add, this);
              this.type = SpiderfierMarkerManager.type;
              this.markerSpiderfier = new MarkerSpiderfier(gMap, this.opt_options);
              this.propMapGMarkers = new PropMap();
              this.attachEvents(this.opt_events, 'opt_events');
              this.noDrawOnSingleAddRemoves = true;
              $log.info(this);
            }

            SpiderfierMarkerManager.prototype.checkKey = function(gMarker) {
              var msg;
              if (gMarker.key == null) {
                msg = 'gMarker.key undefined and it is REQUIRED!!';
                return $log.error(msg);
              }
            };

            SpiderfierMarkerManager.prototype.add = function(gMarker) {
              gMarker.setMap(this.markerSpiderfier.map);
              this.checkKey(gMarker);
              this.markerSpiderfier.addMarker(gMarker, this.noDrawOnSingleAddRemoves);
              this.propMapGMarkers.put(gMarker.key, gMarker);
              return this.checkSync();
            };

            SpiderfierMarkerManager.prototype.update = function(gMarker) {
              this.remove(gMarker);
              return this.add(gMarker);
            };

            SpiderfierMarkerManager.prototype.addMany = function(gMarkers) {
              return gMarkers.forEach((function(_this) {
                return function(gMarker) {
                  return _this.add(gMarker);
                };
              })(this));
            };

            SpiderfierMarkerManager.prototype.remove = function(gMarker) {
              var exists;
              this.checkKey(gMarker);
              exists = this.propMapGMarkers.get(gMarker.key);
              if (exists) {
                gMarker.setMap(null);
                this.markerSpiderfier.removeMarker(gMarker, this.noDrawOnSingleAddRemoves);
                this.propMapGMarkers.remove(gMarker.key);
              }
              return this.checkSync();
            };

            SpiderfierMarkerManager.prototype.removeMany = function(gMarkers) {
              return gMarkers.forEach((function(_this) {
                return function(gMarker) {
                  return _this.remove(gMarker);
                };
              })(this));
            };

            SpiderfierMarkerManager.prototype.draw = function() {};

            SpiderfierMarkerManager.prototype.clear = function() {
              return this.removeMany(this.getGMarkers());
            };

            SpiderfierMarkerManager.prototype.attachEvents = function(options, optionsName) {
              if (angular.isDefined(options) && (options != null) && angular.isObject(options)) {
                return _.each(options, (function(_this) {
                  return function(eventHandler, eventName) {
                    if (options.hasOwnProperty(eventName) && angular.isFunction(options[eventName])) {
                      $log.info(optionsName + ": Attaching event: " + eventName + " to markerSpiderfier");
                      return _this.markerSpiderfier.addListener(eventName, function() {
                        if (eventName === 'spiderfy' || eventName === 'unspiderfy') {
                          return _this.scope.$evalAsync(options[eventName].apply(options, arguments));
                        } else {
                          return _this.scope.$evalAsync(options[eventName].apply(options, [arguments[0], eventName, arguments[0].model, arguments]));
                        }
                      });
                    }
                  };
                })(this));
              }
            };

            SpiderfierMarkerManager.prototype.clearEvents = function(options, optionsName) {
              var eventHandler, eventName;
              if (angular.isDefined(options) && (options != null) && angular.isObject(options)) {
                for (eventName in options) {
                  eventHandler = options[eventName];
                  if (options.hasOwnProperty(eventName) && angular.isFunction(options[eventName])) {
                    $log.info(optionsName + ": Clearing event: " + eventName + " to markerSpiderfier");
                    this.markerSpiderfier.clearListeners(eventName);
                  }
                }
              }
            };

            SpiderfierMarkerManager.prototype.destroy = function() {
              this.clearEvents(this.opt_events, 'opt_events');
              return this.clear();
            };

            SpiderfierMarkerManager.prototype.fit = function() {
              return FitHelper.fit(this.getGMarkers(), this.markerSpiderfier.map);
            };

            SpiderfierMarkerManager.prototype.getGMarkers = function() {
              return this.markerSpiderfier.getMarkers();
            };

            SpiderfierMarkerManager.prototype.isSpiderfied = function() {
              return _.find(this.getGMarkers(), function(gMarker) {
                return (gMarker != null ? gMarker._omsData : void 0) != null;
              });
            };

            SpiderfierMarkerManager.prototype.checkSync = function() {};

            return SpiderfierMarkerManager;

          })();
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps').factory('uiGmapadd-events', [
        '$timeout', function($timeout) {
          var addEvent, addEvents;
          addEvent = function(target, eventName, handler) {
            return google.maps.event.addListener(target, eventName, function() {
              handler.apply(this, arguments);
              return $timeout((function() {}), true);
            });
          };
          addEvents = function(target, eventName, handler) {
            var remove;
            Iif (handler) {
              return addEvent(target, eventName, handler);
            }
            remove = [];
            angular.forEach(eventName, function(_handler, key) {
              return remove.push(addEvent(target, key, _handler));
            });
            return function() {
              angular.forEach(remove, function(listener) {
                return google.maps.event.removeListener(listener);
              });
              return remove = null;
            };
          };
          return addEvents;
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps').factory('uiGmaparray-sync', [
        'uiGmapadd-events', function(mapEvents) {
          return function(mapArray, scope, pathEval, pathChangedFn) {
            var geojsonArray, geojsonHandlers, geojsonWatcher, isSetFromScope, legacyHandlers, legacyWatcher, mapArrayListener, scopePath, watchListener;
            isSetFromScope = false;
            scopePath = scope.$eval(pathEval);
            if (!scope["static"]) {
              legacyHandlers = {
                set_at: function(index) {
                  var value;
                  if (isSetFromScope) {
                    return;
                  }
                  value = mapArray.getAt(index);
                  if (!value) {
                    return;
                  }
                  if (!value.lng || !value.lat) {
                    return scopePath[index] = value;
                  } else {
                    scopePath[index].latitude = value.lat();
                    return scopePath[index].longitude = value.lng();
                  }
                },
                insert_at: function(index) {
                  var value;
                  if (isSetFromScope) {
                    return;
                  }
                  value = mapArray.getAt(index);
                  if (!value) {
                    return;
                  }
                  if (!value.lng || !value.lat) {
                    return scopePath.splice(index, 0, value);
                  } else {
                    return scopePath.splice(index, 0, {
                      latitude: value.lat(),
                      longitude: value.lng()
                    });
                  }
                },
                remove_at: function(index) {
                  if (isSetFromScope) {
                    return;
                  }
                  return scopePath.splice(index, 1);
                }
              };
              geojsonArray;
              Iif (scopePath.type === 'Polygon') {
                geojsonArray = scopePath.coordinates[0];
              } else Iif (scopePath.type === 'LineString') {
                geojsonArray = scopePath.coordinates;
              }
              geojsonHandlers = {
                set_at: function(index) {
                  var value;
                  if (isSetFromScope) {
                    return;
                  }
                  value = mapArray.getAt(index);
                  if (!(value && value.lng && value.lat)) {
                    return;
                  }
                  geojsonArray[index][1] = value.lat();
                  return geojsonArray[index][0] = value.lng();
                },
                insert_at: function(index) {
                  var value;
                  if (isSetFromScope) {
                    return;
                  }
                  value = mapArray.getAt(index);
                  if (!value) {
                    return;
                  }
                  if (!value.lng || !value.lat) {
                    return;
                  }
                  return geojsonArray.splice(index, 0, [value.lng(), value.lat()]);
                },
                remove_at: function(index) {
                  if (isSetFromScope) {
                    return;
                  }
                  return geojsonArray.splice(index, 1);
                }
              };
              mapArrayListener = mapEvents(mapArray, angular.isUndefined(scopePath.type) ? legacyHandlers : geojsonHandlers);
            }
            legacyWatcher = function(newPath) {
              var changed, i, l, newLength, newValue, oldArray, oldLength, oldValue;
              isSetFromScope = true;
              oldArray = mapArray;
              changed = false;
              Eif (newPath) {
                i = 0;
                oldLength = oldArray.getLength();
                newLength = newPath.length;
                l = Math.min(oldLength, newLength);
                newValue = void 0;
                while (i < l) {
                  oldValue = oldArray.getAt(i);
                  newValue = newPath[i];
                  Iif (typeof newValue.equals === 'function') {
                    if (!newValue.equals(oldValue)) {
                      oldArray.setAt(i, newValue);
                      changed = true;
                    }
                  } else {
                    Iif ((oldValue.lat() !== newValue.latitude) || (oldValue.lng() !== newValue.longitude)) {
                      oldArray.setAt(i, new google.maps.LatLng(newValue.latitude, newValue.longitude));
                      changed = true;
                    }
                  }
                  i++;
                }
                while (i < newLength) {
                  newValue = newPath[i];
                  if (typeof newValue.lat === 'function' && typeof newValue.lng === 'function') {
                    oldArray.push(newValue);
                  } else {
                    oldArray.push(new google.maps.LatLng(newValue.latitude, newValue.longitude));
                  }
                  changed = true;
                  i++;
                }
                while (i < oldLength) {
                  oldArray.pop();
                  changed = true;
                  i++;
                }
              }
              isSetFromScope = false;
              Iif (changed) {
                return pathChangedFn(oldArray);
              }
            };
            geojsonWatcher = function(newPath) {
              var array, changed, i, l, newLength, newValue, oldArray, oldLength, oldValue;
              isSetFromScope = true;
              oldArray = mapArray;
              changed = false;
              if (newPath) {
                array;
                if (scopePath.type === 'Polygon') {
                  array = newPath.coordinates[0];
                } else if (scopePath.type === 'LineString') {
                  array = newPath.coordinates;
                }
                i = 0;
                oldLength = oldArray.getLength();
                newLength = array.length;
                l = Math.min(oldLength, newLength);
                newValue = void 0;
                while (i < l) {
                  oldValue = oldArray.getAt(i);
                  newValue = array[i];
                  if ((oldValue.lat() !== newValue[1]) || (oldValue.lng() !== newValue[0])) {
                    oldArray.setAt(i, new google.maps.LatLng(newValue[1], newValue[0]));
                    changed = true;
                  }
                  i++;
                }
                while (i < newLength) {
                  newValue = array[i];
                  oldArray.push(new google.maps.LatLng(newValue[1], newValue[0]));
                  changed = true;
                  i++;
                }
                while (i < oldLength) {
                  oldArray.pop();
                  changed = true;
                  i++;
                }
              }
              isSetFromScope = false;
              if (changed) {
                return pathChangedFn(oldArray);
              }
            };
            watchListener;
            if (!scope["static"]) {
              Eif (angular.isUndefined(scopePath.type)) {
                watchListener = scope.$watchCollection(pathEval, legacyWatcher);
              } else {
                watchListener = scope.$watch(pathEval, geojsonWatcher, true);
              }
            }
            return function() {
              if (mapArrayListener) {
                mapArrayListener();
                mapArrayListener = null;
              }
              if (watchListener) {
                watchListener();
                return watchListener = null;
              }
            };
          };
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module("uiGmapgoogle-maps.directives.api.utils").factory("uiGmapChromeFixes", [
        '$timeout', function($timeout) {
          return {
            maybeRepaint: function(el) {
              if (el) {
                el.style.opacity = 0.9;
                return $timeout(function() {
                  return el.style.opacity = 1;
                });
              }
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps').service('uiGmapObjectIterators', function() {
        var _ignores, _iterators, _slapForEach, _slapMap;
        _ignores = ['length', 'forEach', 'map'];
        _iterators = [];
        _slapForEach = function(object) {
          object.forEach = function(cb) {
            return _.each(_.omit(object, _ignores), function(val) {
              if (!_.isFunction(val)) {
                return cb(val);
              }
            });
          };
          return object;
        };
        _iterators.push(_slapForEach);
        _slapMap = function(object) {
          object.map = function(cb) {
            return _.map(_.omit(object, _ignores), function(val) {
              if (!_.isFunction(val)) {
                return cb(val);
              }
            });
          };
          return object;
        };
        _iterators.push(_slapMap);
        return {
          slapMap: _slapMap,
          slapForEach: _slapForEach,
          slapAll: function(object) {
            _iterators.forEach(function(it) {
              return it(object);
            });
            return object;
          }
        };
      });

    }).call(this);
    ;(function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.options.builders').service('uiGmapCommonOptionsBuilder', [
        'uiGmapBaseObject', 'uiGmapLogger', 'uiGmapModelKey', function(BaseObject, $log, ModelKey) {
          var CommonOptionsBuilder;
          return CommonOptionsBuilder = (function(superClass) {
            extend(CommonOptionsBuilder, superClass);

            function CommonOptionsBuilder() {
              this.watchProps = bind(this.watchProps, this);
              this.buildOpts = bind(this.buildOpts, this);
              return CommonOptionsBuilder.__super__.constructor.apply(this, arguments);
            }

            CommonOptionsBuilder.prototype.props = [
              'clickable', 'draggable', 'editable', 'visible', {
                prop: 'stroke',
                isColl: true
              }
            ];

            CommonOptionsBuilder.prototype.getCorrectModel = function(scope) {
              Iif (angular.isDefined(scope != null ? scope.model : void 0)) {
                return scope.model;
              } else {
                return scope;
              }
            };

            CommonOptionsBuilder.prototype.buildOpts = function(customOpts, cachedEval, forEachOpts) {
              var model, opts, stroke;
              Iif (customOpts == null) {
                customOpts = {};
              }
              if (forEachOpts == null) {
                forEachOpts = {};
              }
              Iif (!this.scope) {
                $log.error('this.scope not defined in CommonOptionsBuilder can not buildOpts');
                return;
              }
              Iif (!this.gMap) {
                $log.error('this.map not defined in CommonOptionsBuilder can not buildOpts');
                return;
              }
              model = this.getCorrectModel(this.scope);
              stroke = this.scopeOrModelVal('stroke', this.scope, model);
              opts = angular.extend(customOpts, this.DEFAULTS, {
                map: this.gMap,
                strokeColor: stroke != null ? stroke.color : void 0,
                strokeOpacity: stroke != null ? stroke.opacity : void 0,
                strokeWeight: stroke != null ? stroke.weight : void 0
              });
              angular.forEach(angular.extend(forEachOpts, {
                clickable: true,
                draggable: false,
                editable: false,
                "static": false,
                fit: false,
                visible: true,
                zIndex: 0,
                icons: []
              }), (function(_this) {
                return function(defaultValue, key) {
                  var val;
                  val = cachedEval ? cachedEval[key] : _this.scopeOrModelVal(key, _this.scope, model);
                  if (angular.isUndefined(val)) {
                    return opts[key] = defaultValue;
                  } else {
                    return opts[key] = model[key];
                  }
                };
              })(this));
              if (opts["static"]) {
                opts.editable = false;
              }
              return opts;
            };

            CommonOptionsBuilder.prototype.watchProps = function(props) {
              Eif (props == null) {
                props = this.props;
              }
              return props.forEach((function(_this) {
                return function(prop) {
                  if ((_this.attrs[prop] != null) || (_this.attrs[prop != null ? prop.prop : void 0] != null)) {
                    if (prop != null ? prop.isColl : void 0) {
                      return _this.scope.$watchCollection(prop.prop, _this.setMyOptions);
                    } else {
                      return _this.scope.$watch(prop, _this.setMyOptions);
                    }
                  }
                };
              })(this));
            };

            return CommonOptionsBuilder;

          })(ModelKey);
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.options.builders').factory('uiGmapPolylineOptionsBuilder', [
        'uiGmapCommonOptionsBuilder', function(CommonOptionsBuilder) {
          var PolylineOptionsBuilder;
          return PolylineOptionsBuilder = (function(superClass) {
            extend(PolylineOptionsBuilder, superClass);

            function PolylineOptionsBuilder() {
              return PolylineOptionsBuilder.__super__.constructor.apply(this, arguments);
            }

            PolylineOptionsBuilder.prototype.buildOpts = function(pathPoints, cachedEval) {
              return PolylineOptionsBuilder.__super__.buildOpts.call(this, {
                path: pathPoints
              }, cachedEval, {
                geodesic: false
              });
            };

            return PolylineOptionsBuilder;

          })(CommonOptionsBuilder);
        }
      ]).factory('uiGmapShapeOptionsBuilder', [
        'uiGmapCommonOptionsBuilder', function(CommonOptionsBuilder) {
          var ShapeOptionsBuilder;
          return ShapeOptionsBuilder = (function(superClass) {
            extend(ShapeOptionsBuilder, superClass);

            function ShapeOptionsBuilder() {
              return ShapeOptionsBuilder.__super__.constructor.apply(this, arguments);
            }

            ShapeOptionsBuilder.prototype.buildOpts = function(customOpts, cachedEval, forEachOpts) {
              var fill, model;
              model = this.getCorrectModel(this.scope);
              fill = cachedEval ? cachedEval['fill'] : this.scopeOrModelVal('fill', this.scope, model);
              customOpts = angular.extend(customOpts, {
                fillColor: fill != null ? fill.color : void 0,
                fillOpacity: fill != null ? fill.opacity : void 0
              });
              return ShapeOptionsBuilder.__super__.buildOpts.call(this, customOpts, cachedEval, forEachOpts);
            };

            return ShapeOptionsBuilder;

          })(CommonOptionsBuilder);
        }
      ]).factory('uiGmapPolygonOptionsBuilder', [
        'uiGmapShapeOptionsBuilder', function(ShapeOptionsBuilder) {
          var PolygonOptionsBuilder;
          return PolygonOptionsBuilder = (function(superClass) {
            extend(PolygonOptionsBuilder, superClass);

            function PolygonOptionsBuilder() {
              return PolygonOptionsBuilder.__super__.constructor.apply(this, arguments);
            }

            PolygonOptionsBuilder.prototype.buildOpts = function(pathPoints, cachedEval) {
              return PolygonOptionsBuilder.__super__.buildOpts.call(this, {
                path: pathPoints
              }, cachedEval, {
                geodesic: false
              });
            };

            return PolygonOptionsBuilder;

          })(ShapeOptionsBuilder);
        }
      ]).factory('uiGmapRectangleOptionsBuilder', [
        'uiGmapShapeOptionsBuilder', function(ShapeOptionsBuilder) {
          var RectangleOptionsBuilder;
          return RectangleOptionsBuilder = (function(superClass) {
            extend(RectangleOptionsBuilder, superClass);

            function RectangleOptionsBuilder() {
              return RectangleOptionsBuilder.__super__.constructor.apply(this, arguments);
            }

            RectangleOptionsBuilder.prototype.buildOpts = function(bounds, cachedEval) {
              return RectangleOptionsBuilder.__super__.buildOpts.call(this, {
                bounds: bounds
              }, cachedEval);
            };

            return RectangleOptionsBuilder;

          })(ShapeOptionsBuilder);
        }
      ]).factory('uiGmapCircleOptionsBuilder', [
        'uiGmapShapeOptionsBuilder', function(ShapeOptionsBuilder) {
          var CircleOptionsBuilder;
          return CircleOptionsBuilder = (function(superClass) {
            extend(CircleOptionsBuilder, superClass);

            function CircleOptionsBuilder() {
              return CircleOptionsBuilder.__super__.constructor.apply(this, arguments);
            }

            CircleOptionsBuilder.prototype.buildOpts = function(center, radius, cachedEval) {
              return CircleOptionsBuilder.__super__.buildOpts.call(this, {
                center: center,
                radius: radius
              }, cachedEval);
            };

            return CircleOptionsBuilder;

          })(ShapeOptionsBuilder);
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api.options').service('uiGmapMarkerOptions', [
        'uiGmapLogger', 'uiGmapGmapUtil', function($log, GmapUtil) {
          return _.extend(GmapUtil, {
            createOptions: function(coords, icon, defaults, map) {
              var opts;
              if (defaults == null) {
                defaults = {};
              }
              opts = angular.extend({}, defaults, {
                position: defaults.position != null ? defaults.position : GmapUtil.getCoords(coords),
                visible: defaults.visible != null ? defaults.visible : GmapUtil.validateCoords(coords)
              });
              if ((defaults.icon != null) || (icon != null)) {
                opts = angular.extend(opts, {
                  icon: defaults.icon != null ? defaults.icon : icon
                });
              }
              Iif (map != null) {
                opts.map = map;
              }
              return opts;
            },
            isLabel: function(options) {
              if (options == null) {
                return false;
              }
              return (options.labelContent != null) || (options.labelAnchor != null) || (options.labelClass != null) || (options.labelStyle != null) || (options.labelVisible != null);
            }
          });
        }
      ]);

    }).call(this);
    ;
    /*global _,angular */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapBasePolyChildModel', [
        'uiGmapLogger', '$timeout', 'uiGmaparray-sync', 'uiGmapGmapUtil', 'uiGmapEventsHelper', function($log, $timeout, arraySync, GmapUtil, EventsHelper) {
          return function(Builder, gFactory) {
            var BasePolyChildModel;
            return BasePolyChildModel = (function(superClass) {
              extend(BasePolyChildModel, superClass);

              BasePolyChildModel.include(GmapUtil);

              function BasePolyChildModel(arg) {
                var create, gObjectChangeCb, ref;
                this.scope = arg.scope, this.attrs = arg.attrs, this.gMap = arg.gMap, this.defaults = arg.defaults, this.model = arg.model, gObjectChangeCb = arg.gObjectChangeCb, this.isScopeModel = (ref = arg.isScopeModel) != null ? ref : false;
                this.clean = bind(this.clean, this);
                Iif (this.isScopeModel) {
                  this.clonedModel = _.clone(this.model, true);
                }
                this.isDragging = false;
                this.internalEvents = {
                  dragend: (function(_this) {
                    return function() {
                      return _.defer(function() {
                        return _this.isDragging = false;
                      });
                    };
                  })(this),
                  dragstart: (function(_this) {
                    return function() {
                      return _this.isDragging = true;
                    };
                  })(this)
                };
                create = (function(_this) {
                  return function() {
                    var maybeCachedEval;
                    Iif (_this.isDragging) {
                      return;
                    }
                    _this.pathPoints = _this.convertPathPoints(_this.scope.path);
                    Iif (_this.gObject != null) {
                      _this.clean();
                    }
                    Iif (_this.scope.model != null) {
                      maybeCachedEval = _this.scope;
                    }
                    Eif (_this.pathPoints.length > 0) {
                      _this.gObject = gFactory(_this.buildOpts(_this.pathPoints, maybeCachedEval));
                    }
                    Eif (_this.gObject) {
                      arraySync(_this.gObject.getPath(), _this.scope, 'path', function(pathPoints) {
                        _this.pathPoints = pathPoints;
                        if (gObjectChangeCb != null) {
                          return gObjectChangeCb();
                        }
                      });
                      if (angular.isDefined(_this.scope.events) && angular.isObject(_this.scope.events)) {
                        _this.listeners = _this.model ? EventsHelper.setEvents(_this.gObject, _this.scope, _this.model) : EventsHelper.setEvents(_this.gObject, _this.scope, _this.scope);
                      }
                      return _this.internalListeners = _this.model ? EventsHelper.setEvents(_this.gObject, {
                        events: _this.internalEvents
                      }, _this.model) : EventsHelper.setEvents(_this.gObject, {
                        events: _this.internalEvents
                      }, _this.scope);
                    }
                  };
                })(this);
                create();
                this.scope.$watch('path', (function(_this) {
                  return function(newValue, oldValue) {
                    Iif (!_.isEqual(newValue, oldValue) || !_this.gObject) {
                      return create();
                    }
                  };
                })(this), true);
                Iif (!this.scope["static"] && angular.isDefined(this.scope.editable)) {
                  this.scope.$watch('editable', (function(_this) {
                    return function(newValue, oldValue) {
                      var ref1;
                      if (newValue !== oldValue) {
                        newValue = !_this.isFalse(newValue);
                        return (ref1 = _this.gObject) != null ? ref1.setEditable(newValue) : void 0;
                      }
                    };
                  })(this), true);
                }
                if (angular.isDefined(this.scope.draggable)) {
                  this.scope.$watch('draggable', (function(_this) {
                    return function(newValue, oldValue) {
                      var ref1;
                      Iif (newValue !== oldValue) {
                        newValue = !_this.isFalse(newValue);
                        return (ref1 = _this.gObject) != null ? ref1.setDraggable(newValue) : void 0;
                      }
                    };
                  })(this), true);
                }
                if (angular.isDefined(this.scope.visible)) {
                  this.scope.$watch('visible', (function(_this) {
                    return function(newValue, oldValue) {
                      var ref1;
                      Iif (newValue !== oldValue) {
                        newValue = !_this.isFalse(newValue);
                      }
                      return (ref1 = _this.gObject) != null ? ref1.setVisible(newValue) : void 0;
                    };
                  })(this), true);
                }
                if (angular.isDefined(this.scope.geodesic)) {
                  this.scope.$watch('geodesic', (function(_this) {
                    return function(newValue, oldValue) {
                      var ref1;
                      Iif (newValue !== oldValue) {
                        newValue = !_this.isFalse(newValue);
                        return (ref1 = _this.gObject) != null ? ref1.setOptions(_this.buildOpts(_this.gObject.getPath())) : void 0;
                      }
                    };
                  })(this), true);
                }
                if (angular.isDefined(this.scope.stroke) && angular.isDefined(this.scope.stroke.weight)) {
                  this.scope.$watch('stroke.weight', (function(_this) {
                    return function(newValue, oldValue) {
                      var ref1;
                      Iif (newValue !== oldValue) {
                        return (ref1 = _this.gObject) != null ? ref1.setOptions(_this.buildOpts(_this.gObject.getPath())) : void 0;
                      }
                    };
                  })(this), true);
                }
                if (angular.isDefined(this.scope.stroke) && angular.isDefined(this.scope.stroke.color)) {
                  this.scope.$watch('stroke.color', (function(_this) {
                    return function(newValue, oldValue) {
                      var ref1;
                      Iif (newValue !== oldValue) {
                        return (ref1 = _this.gObject) != null ? ref1.setOptions(_this.buildOpts(_this.gObject.getPath())) : void 0;
                      }
                    };
                  })(this), true);
                }
                Iif (angular.isDefined(this.scope.stroke) && angular.isDefined(this.scope.stroke.opacity)) {
                  this.scope.$watch('stroke.opacity', (function(_this) {
                    return function(newValue, oldValue) {
                      var ref1;
                      if (newValue !== oldValue) {
                        return (ref1 = _this.gObject) != null ? ref1.setOptions(_this.buildOpts(_this.gObject.getPath())) : void 0;
                      }
                    };
                  })(this), true);
                }
                Iif (angular.isDefined(this.scope.icons)) {
                  this.scope.$watch('icons', (function(_this) {
                    return function(newValue, oldValue) {
                      var ref1;
                      if (newValue !== oldValue) {
                        return (ref1 = _this.gObject) != null ? ref1.setOptions(_this.buildOpts(_this.gObject.getPath())) : void 0;
                      }
                    };
                  })(this), true);
                }
                this.scope.$on('$destroy', (function(_this) {
                  return function() {
                    _this.clean();
                    return _this.scope = null;
                  };
                })(this));
                if (angular.isDefined(this.scope.fill) && angular.isDefined(this.scope.fill.color)) {
                  this.scope.$watch('fill.color', (function(_this) {
                    return function(newValue, oldValue) {
                      Iif (newValue !== oldValue) {
                        return _this.gObject.setOptions(_this.buildOpts(_this.gObject.getPath()));
                      }
                    };
                  })(this));
                }
                if (angular.isDefined(this.scope.fill) && angular.isDefined(this.scope.fill.opacity)) {
                  this.scope.$watch('fill.opacity', (function(_this) {
                    return function(newValue, oldValue) {
                      Iif (newValue !== oldValue) {
                        return _this.gObject.setOptions(_this.buildOpts(_this.gObject.getPath()));
                      }
                    };
                  })(this));
                }
                Iif (angular.isDefined(this.scope.zIndex)) {
                  this.scope.$watch('zIndex', (function(_this) {
                    return function(newValue, oldValue) {
                      if (newValue !== oldValue) {
                        return _this.gObject.setOptions(_this.buildOpts(_this.gObject.getPath()));
                      }
                    };
                  })(this));
                }
              }

              BasePolyChildModel.prototype.clean = function() {
                var ref;
                EventsHelper.removeEvents(this.listeners);
                EventsHelper.removeEvents(this.internalListeners);
                Eif ((ref = this.gObject) != null) {
                  ref.setMap(null);
                }
                return this.gObject = null;
              };

              return BasePolyChildModel;

            })(Builder);
          };
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicholas McCready - https://twitter.com/nmccready
    Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawing-freehand  , &
      http://jsfiddle.net/YsQdh/88/
     */

    (function() {
      angular.module('uiGmapgoogle-maps.directives.api.models.child').factory('uiGmapDrawFreeHandChildModel', [
        'uiGmapLogger', '$q', function($log, $q) {
          var drawFreeHand, freeHandMgr;
          drawFreeHand = function(map, polys, done) {
            var move, poly;
            poly = new google.maps.Polyline({
              map: map,
              clickable: false
            });
            move = google.maps.event.addListener(map, 'mousemove', function(e) {
              return poly.getPath().push(e.latLng);
            });
            google.maps.event.addListenerOnce(map, 'mouseup', function(e) {
              var path;
              google.maps.event.removeListener(move);
              path = poly.getPath();
              poly.setMap(null);
              polys.push(new google.maps.Polygon({
                map: map,
                path: path
              }));
              poly = null;
              google.maps.event.clearListeners(map.getDiv(), 'mousedown');
              return done();
            });
            return void 0;
          };
          freeHandMgr = function(map1, scope) {
            var disableMap, enableMap;
            this.map = map1;
            disableMap = (function(_this) {
              return function() {
                var mapOptions;
                mapOptions = {
                  draggable: false,
                  disableDefaultUI: true,
                  scrollwheel: false,
                  disableDoubleClickZoom: false
                };
                $log.info('disabling map move');
                return _this.map.setOptions(mapOptions);
              };
            })(this);
            enableMap = (function(_this) {
              return function() {
                var mapOptions, ref;
                mapOptions = {
                  draggable: true,
                  disableDefaultUI: false,
                  scrollwheel: true,
                  disableDoubleClickZoom: true
                };
                if ((ref = _this.deferred) != null) {
                  ref.resolve();
                }
                return _.defer(function() {
                  return _this.map.setOptions(_.extend(mapOptions, scope.options));
                });
              };
            })(this);
            this.engage = (function(_this) {
              return function(polys1) {
                _this.polys = polys1;
                _this.deferred = $q.defer();
                disableMap();
                $log.info('DrawFreeHandChildModel is engaged (drawing).');
                google.maps.event.addDomListener(_this.map.getDiv(), 'mousedown', function(e) {
                  return drawFreeHand(_this.map, _this.polys, enableMap);
                });
                return _this.deferred.promise;
              };
            })(this);
            return this;
          };
          return freeHandMgr;
        }
      ]);

    }).call(this);
    ;
    /*global _:true,angular:true,google:true, RichMarker:true */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.child').factory('uiGmapMarkerChildModel', [
        'uiGmapModelKey', 'uiGmapGmapUtil', 'uiGmapLogger', 'uiGmapEventsHelper', 'uiGmapPropertyAction', 'uiGmapMarkerOptions', 'uiGmapIMarker', 'uiGmapMarkerManager', 'uiGmapPromise', function(ModelKey, GmapUtil, $log, EventsHelper, PropertyAction, MarkerOptions, IMarker, MarkerManager, uiGmapPromise) {
          var MarkerChildModel;
          MarkerChildModel = (function(superClass) {
            var destroy;

            extend(MarkerChildModel, superClass);

            MarkerChildModel.include(GmapUtil);

            MarkerChildModel.include(EventsHelper);

            MarkerChildModel.include(MarkerOptions);

            destroy = function(child) {
              Eif ((child != null ? child.gObject : void 0) != null) {
                child.removeEvents(child.externalListeners);
                child.removeEvents(child.internalListeners);
                Eif (child != null ? child.gObject : void 0) {
                  if (child.removeFromManager) {
                    child.gManager.remove(child.gObject);
                  }
                  child.gObject.setMap(null);
                  return child.gObject = null;
                }
              }
            };

            function MarkerChildModel(opts) {
              this.internalEvents = bind(this.internalEvents, this);
              this.setLabelOptions = bind(this.setLabelOptions, this);
              this.setOptions = bind(this.setOptions, this);
              this.setIcon = bind(this.setIcon, this);
              this.setCoords = bind(this.setCoords, this);
              this.isNotValid = bind(this.isNotValid, this);
              this.maybeSetScopeValue = bind(this.maybeSetScopeValue, this);
              this.createMarker = bind(this.createMarker, this);
              this.setMyScope = bind(this.setMyScope, this);
              this.updateModel = bind(this.updateModel, this);
              this.handleModelChanges = bind(this.handleModelChanges, this);
              this.destroy = bind(this.destroy, this);
              var action, ref, ref1, ref2, ref3, ref4, scope;
              scope = opts.scope, this.model = opts.model, this.keys = opts.keys, this.gMap = opts.gMap, this.defaults = (ref = opts.defaults) != null ? ref : {}, this.doClick = opts.doClick, this.gManager = opts.gManager, this.doDrawSelf = (ref1 = opts.doDrawSelf) != null ? ref1 : true, this.trackModel = (ref2 = opts.trackModel) != null ? ref2 : true, this.needRedraw = (ref3 = opts.needRedraw) != null ? ref3 : false, this.isScopeModel = (ref4 = opts.isScopeModel) != null ? ref4 : false;
              if (this.isScopeModel) {
                this.clonedModel = _.clone(this.model, true);
              }
              this.deferred = uiGmapPromise.defer();
              _.each(this.keys, (function(_this) {
                return function(v, k) {
                  var keyValue;
                  keyValue = _this.keys[k];
                  if ((keyValue != null) && !_.isFunction(keyValue) && _.isString(keyValue)) {
                    return _this[k + 'Key'] = keyValue;
                  }
                };
              })(this));
              this.idKey = this.idKeyKey || 'id';
              Eif (this.model[this.idKey] != null) {
                this.id = this.model[this.idKey];
              }
              MarkerChildModel.__super__.constructor.call(this, scope);
              this.scope.getGMarker = (function(_this) {
                return function() {
                  return _this.gObject;
                };
              })(this);
              this.firstTime = true;
              if (this.trackModel) {
                this.scope.model = this.model;
                this.scope.$watch('model', (function(_this) {
                  return function(newValue, oldValue) {
                    if (newValue !== oldValue) {
                      return _this.handleModelChanges(newValue, oldValue);
                    }
                  };
                })(this), true);
              } else {
                action = new PropertyAction((function(_this) {
                  return function(calledKey) {
                    if (_.isFunction(calledKey)) {
                      calledKey = 'all';
                    }
                    if (!_this.firstTime) {
                      return _this.setMyScope(calledKey, scope);
                    }
                  };
                })(this), false);
                _.each(this.keys, function(v, k) {
                  return scope.$watch(k, action.sic(k), true);
                });
              }
              this.scope.$on('$destroy', (function(_this) {
                return function() {
                  return destroy(_this);
                };
              })(this));
              this.createMarker(this.model);
              $log.info(this);
            }

            MarkerChildModel.prototype.destroy = function(removeFromManager) {
              Eif (removeFromManager == null) {
                removeFromManager = true;
              }
              this.removeFromManager = removeFromManager;
              return this.scope.$destroy();
            };

            MarkerChildModel.prototype.handleModelChanges = function(newValue, oldValue) {
              var changes, ctr, len;
              changes = this.getChanges(newValue, oldValue, IMarker.keys);
              Eif (!this.firstTime) {
                ctr = 0;
                len = _.keys(changes).length;
                return _.each(changes, (function(_this) {
                  return function(v, k) {
                    var doDraw;
                    ctr += 1;
                    doDraw = len === ctr;
                    _this.setMyScope(k, newValue, oldValue, false, true, doDraw);
                    return _this.needRedraw = true;
                  };
                })(this));
              }
            };

            MarkerChildModel.prototype.updateModel = function(model) {
              Eif (this.isScopeModel) {
                this.clonedModel = _.clone(model, true);
              }
              return this.setMyScope('all', model, this.model);
            };

            MarkerChildModel.prototype.renderGMarker = function(doDraw, validCb) {
              var coords, isSpiderfied, ref;
              Iif (doDraw == null) {
                doDraw = true;
              }
              coords = this.getProp('coords', this.scope, this.model);
              Iif (((ref = this.gManager) != null ? ref.isSpiderfied : void 0) != null) {
                isSpiderfied = this.gManager.isSpiderfied();
              }
              Eif (coords != null) {
                Iif (!this.validateCoords(coords)) {
                  $log.debug('MarkerChild does not have coords yet. They may be defined later.');
                  return;
                }
                Eif (validCb != null) {
                  validCb();
                }
                Eif (doDraw && this.gObject) {
                  this.gManager.add(this.gObject);
                }
                Iif (isSpiderfied) {
                  return this.gManager.markerSpiderfier.spiderListener(this.gObject, window.event);
                }
              } else {
                if (doDraw && this.gObject) {
                  return this.gManager.remove(this.gObject);
                }
              }
            };

            MarkerChildModel.prototype.setMyScope = function(thingThatChanged, model, oldModel, isInit, doDraw) {
              var justCreated;
              Iif (oldModel == null) {
                oldModel = void 0;
              }
              if (isInit == null) {
                isInit = false;
              }
              if (doDraw == null) {
                doDraw = true;
              }
              Iif (model == null) {
                model = this.model;
              } else {
                this.model = model;
              }
              Iif (!this.gObject) {
                this.setOptions(this.scope, doDraw);
                justCreated = true;
              }
              switch (thingThatChanged) {
                case 'all':
                  return _.each(this.keys, (function(_this) {
                    return function(v, k) {
                      return _this.setMyScope(k, model, oldModel, isInit, doDraw);
                    };
                  })(this));
                case 'icon':
                  return this.maybeSetScopeValue({
                    gSetter: this.setIcon,
                    doDraw: doDraw
                  });
                case 'coords':
                  return this.maybeSetScopeValue({
                    gSetter: this.setCoords,
                    doDraw: doDraw
                  });
                case 'options':
                  Eif (!justCreated) {
                    return this.createMarker(model, oldModel, isInit, doDraw);
                  }
              }
            };

            MarkerChildModel.prototype.createMarker = function(model, oldModel, isInit, doDraw) {
              if (oldModel == null) {
                oldModel = void 0;
              }
              if (isInit == null) {
                isInit = false;
              }
              if (doDraw == null) {
                doDraw = true;
              }
              this.maybeSetScopeValue({
                gSetter: this.setOptions,
                doDraw: doDraw
              });
              return this.firstTime = false;
            };

            MarkerChildModel.prototype.maybeSetScopeValue = function(arg) {
              var doDraw, gSetter, ref;
              gSetter = arg.gSetter, doDraw = (ref = arg.doDraw) != null ? ref : true;
              Eif (gSetter != null) {
                gSetter(this.scope, doDraw);
              }
              if (this.doDrawSelf && doDraw) {
                return this.gManager.draw();
              }
            };

            MarkerChildModel.prototype.isNotValid = function(scope, doCheckGmarker) {
              var hasIdenticalScopes, hasNoGmarker;
              if (doCheckGmarker == null) {
                doCheckGmarker = true;
              }
              hasNoGmarker = !doCheckGmarker ? false : this.gObject === void 0;
              hasIdenticalScopes = !this.trackModel ? scope.$id !== this.scope.$id : false;
              return hasIdenticalScopes || hasNoGmarker;
            };

            MarkerChildModel.prototype.setCoords = function(scope, doDraw) {
              Iif (doDraw == null) {
                doDraw = true;
              }
              Iif (this.isNotValid(scope) || (this.gObject == null)) {
                return;
              }
              return this.renderGMarker(doDraw, (function(_this) {
                return function() {
                  var newGValue, newModelVal, oldGValue;
                  newModelVal = _this.getProp('coords', scope, _this.model);
                  newGValue = _this.getCoords(newModelVal);
                  oldGValue = _this.gObject.getPosition();
                  Eif ((oldGValue != null) && (newGValue != null)) {
                    Iif (newGValue.lng() === oldGValue.lng() && newGValue.lat() === oldGValue.lat()) {
                      return;
                    }
                  }
                  _this.gObject.setPosition(newGValue);
                  return _this.gObject.setVisible(_this.validateCoords(newModelVal));
                };
              })(this));
            };

            MarkerChildModel.prototype.setIcon = function(scope, doDraw) {
              Iif (doDraw == null) {
                doDraw = true;
              }
              Iif (this.isNotValid(scope) || (this.gObject == null)) {
                return;
              }
              return this.renderGMarker(doDraw, (function(_this) {
                return function() {
                  var coords, newValue, oldValue;
                  oldValue = _this.gObject.getIcon();
                  newValue = _this.getProp('icon', scope, _this.model);
                  Eif (oldValue === newValue) {
                    return;
                  }
                  _this.gObject.setIcon(newValue);
                  coords = _this.getProp('coords', scope, _this.model);
                  _this.gObject.setPosition(_this.getCoords(coords));
                  return _this.gObject.setVisible(_this.validateCoords(coords));
                };
              })(this));
            };

            MarkerChildModel.prototype.setOptions = function(scope, doDraw) {
              var ref;
              Iif (doDraw == null) {
                doDraw = true;
              }
              Iif (this.isNotValid(scope, false)) {
                return;
              }
              this.renderGMarker(doDraw, (function(_this) {
                return function() {
                  var _options, coords, icon;
                  coords = _this.getProp('coords', scope, _this.model);
                  icon = _this.getProp('icon', scope, _this.model);
                  _options = _this.getProp('options', scope, _this.model);
                  _this.opts = _this.createOptions(coords, icon, _options);
                  Iif (_this.isLabel(_this.gObject) !== _this.isLabel(_this.opts) && (_this.gObject != null)) {
                    _this.gManager.remove(_this.gObject);
                    _this.gObject = void 0;
                  }
                  if (_this.gObject != null) {
                    _this.gObject.setOptions(_this.setLabelOptions(_this.opts));
                  }
                  if (!_this.gObject) {
                    Iif (_this.isLabel(_this.opts)) {
                      _this.gObject = new MarkerWithLabel(_this.setLabelOptions(_this.opts));
                    } else Iif (_this.opts.content) {
                      _this.gObject = new RichMarker(_this.opts);
                      _this.gObject.getIcon = _this.gObject.getContent;
                      _this.gObject.setIcon = _this.gObject.setContent;
                    } else {
                      _this.gObject = new google.maps.Marker(_this.opts);
                    }
                    _.extend(_this.gObject, {
                      model: _this.model
                    });
                  }
                  Iif (_this.externalListeners) {
                    _this.removeEvents(_this.externalListeners);
                  }
                  if (_this.internalListeners) {
                    _this.removeEvents(_this.internalListeners);
                  }
                  _this.externalListeners = _this.setEvents(_this.gObject, _this.scope, _this.model, ['dragend']);
                  _this.internalListeners = _this.setEvents(_this.gObject, {
                    events: _this.internalEvents(),
                    $evalAsync: function() {}
                  }, _this.model);
                  Eif (_this.id != null) {
                    return _this.gObject.key = _this.id;
                  }
                };
              })(this));
              if (this.gObject && (this.gObject.getMap() || this.gManager.type !== MarkerManager.type)) {
                this.deferred.resolve(this.gObject);
              } else {
                Iif (!this.gObject) {
                  return this.deferred.reject('gObject is null');
                }
                Eif (!(((ref = this.gObject) != null ? ref.getMap() : void 0) && this.gManager.type === MarkerManager.type)) {
                  $log.debug('gObject has no map yet');
                  this.deferred.resolve(this.gObject);
                }
              }
              Iif (this.model[this.fitKey]) {
                return this.gManager.fit();
              }
            };

            MarkerChildModel.prototype.setLabelOptions = function(opts) {
              Iif (opts.labelAnchor) {
                opts.labelAnchor = this.getLabelPositionPoint(opts.labelAnchor);
              }
              return opts;
            };

            MarkerChildModel.prototype.internalEvents = function() {
              return {
                dragend: (function(_this) {
                  return function(marker, eventName, model, mousearg) {
                    var events, modelToSet, newCoords;
                    modelToSet = _this.trackModel ? _this.scope.model : _this.model;
                    newCoords = _this.setCoordsFromEvent(_this.modelOrKey(modelToSet, _this.coordsKey), _this.gObject.getPosition());
                    modelToSet = _this.setVal(model, _this.coordsKey, newCoords);
                    events = _this.scope.events;
                    if ((events != null ? events.dragend : void 0) != null) {
                      events.dragend(marker, eventName, modelToSet, mousearg);
                    }
                    return _this.scope.$apply();
                  };
                })(this),
                click: (function(_this) {
                  return function(marker, eventName, model, mousearg) {
                    var click;
                    click = _this.getProp('click', _this.scope, _this.model);
                    Eif (_this.doClick && angular.isFunction(click)) {
                      return _this.scope.$evalAsync(click(marker, eventName, _this.model, mousearg));
                    }
                  };
                })(this)
              };
            };

            return MarkerChildModel;

          })(ModelKey);
          return MarkerChildModel;
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapPolygonChildModel', [
        'uiGmapBasePolyChildModel', 'uiGmapPolygonOptionsBuilder', function(BaseGen, Builder) {
          var PolygonChildModel, base, gFactory;
          gFactory = function(opts) {
            return new google.maps.Polygon(opts);
          };
          base = new BaseGen(Builder, gFactory);
          return PolygonChildModel = (function(superClass) {
            extend(PolygonChildModel, superClass);

            function PolygonChildModel() {
              return PolygonChildModel.__super__.constructor.apply(this, arguments);
            }

            return PolygonChildModel;

          })(base);
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapPolylineChildModel', [
        'uiGmapBasePolyChildModel', 'uiGmapPolylineOptionsBuilder', function(BaseGen, Builder) {
          var PolylineChildModel, base, gFactory;
          gFactory = function(opts) {
            return new google.maps.Polyline(opts);
          };
          base = BaseGen(Builder, gFactory);
          return PolylineChildModel = (function(superClass) {
            extend(PolylineChildModel, superClass);

            function PolylineChildModel() {
              return PolylineChildModel.__super__.constructor.apply(this, arguments);
            }

            return PolylineChildModel;

          })(base);
        }
      ]);

    }).call(this);
    ;
    /*global _:true,angular:true,google:true */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.child').factory('uiGmapWindowChildModel', [
        'uiGmapBaseObject', 'uiGmapGmapUtil', 'uiGmapLogger', '$compile', '$http', '$templateCache', 'uiGmapChromeFixes', 'uiGmapEventsHelper', function(BaseObject, GmapUtil, $log, $compile, $http, $templateCache, ChromeFixes, EventsHelper) {
          var WindowChildModel;
          WindowChildModel = (function(superClass) {
            extend(WindowChildModel, superClass);

            WindowChildModel.include(GmapUtil);

            WindowChildModel.include(EventsHelper);

            function WindowChildModel(opts) {
              this.updateModel = bind(this.updateModel, this);
              this.destroy = bind(this.destroy, this);
              this.remove = bind(this.remove, this);
              this.getLatestPosition = bind(this.getLatestPosition, this);
              this.hideWindow = bind(this.hideWindow, this);
              this.showWindow = bind(this.showWindow, this);
              this.handleClick = bind(this.handleClick, this);
              this.watchOptions = bind(this.watchOptions, this);
              this.watchCoords = bind(this.watchCoords, this);
              this.createGWin = bind(this.createGWin, this);
              this.watchElement = bind(this.watchElement, this);
              this.watchAndDoShow = bind(this.watchAndDoShow, this);
              this.doShow = bind(this.doShow, this);
              var maybeMarker, ref, ref1, ref2, ref3;
              this.model = (ref = opts.model) != null ? ref : {}, this.scope = opts.scope, this.opts = opts.opts, this.isIconVisibleOnClick = opts.isIconVisibleOnClick, this.gMap = opts.gMap, this.markerScope = opts.markerScope, this.element = opts.element, this.needToManualDestroy = (ref1 = opts.needToManualDestroy) != null ? ref1 : false, this.markerIsVisibleAfterWindowClose = (ref2 = opts.markerIsVisibleAfterWindowClose) != null ? ref2 : true, this.isScopeModel = (ref3 = opts.isScopeModel) != null ? ref3 : false;
              Iif (this.isScopeModel) {
                this.clonedModel = _.clone(this.model, true);
              }
              this.getGmarker = function() {
                var ref4, ref5;
                Iif (((ref4 = this.markerScope) != null ? ref4['getGMarker'] : void 0) != null) {
                  return (ref5 = this.markerScope) != null ? ref5.getGMarker() : void 0;
                }
              };
              this.listeners = [];
              this.createGWin();
              maybeMarker = this.getGmarker();
              Iif (maybeMarker != null) {
                maybeMarker.setClickable(true);
              }
              this.watchElement();
              this.watchOptions();
              this.watchCoords();
              this.watchAndDoShow();
              this.scope.$on('$destroy', (function(_this) {
                return function() {
                  return _this.destroy();
                };
              })(this));
              $log.info(this);
            }

            WindowChildModel.prototype.doShow = function(wasOpen) {
              Eif (this.scope.show === true || wasOpen) {
                return this.showWindow();
              } else {
                return this.hideWindow();
              }
            };

            WindowChildModel.prototype.watchAndDoShow = function() {
              if (this.model.show != null) {
                this.scope.show = this.model.show;
              }
              this.scope.$watch('show', this.doShow, true);
              return this.doShow();
            };

            WindowChildModel.prototype.watchElement = function() {
              return this.scope.$watch((function(_this) {
                return function() {
                  var ref, wasOpen;
                  if (!(_this.element || _this.html)) {
                    return;
                  }
                  if (_this.html !== _this.element.html() && _this.gObject) {
                    if ((ref = _this.opts) != null) {
                      ref.content = void 0;
                    }
                    wasOpen = _this.gObject.isOpen();
                    _this.remove();
                    return _this.createGWin(wasOpen);
                  }
                };
              })(this));
            };

            WindowChildModel.prototype.createGWin = function(isOpen) {
              var _opts, defaults, maybeMarker, ref, ref1;
              Eif (isOpen == null) {
                isOpen = false;
              }
              maybeMarker = this.getGmarker();
              defaults = {};
              Eif (this.opts != null) {
                Eif (this.scope.coords) {
                  this.opts.position = this.getCoords(this.scope.coords);
                }
                defaults = this.opts;
              }
              Eif (this.element) {
                this.html = _.isObject(this.element) ? this.element.html() : this.element;
              }
              _opts = this.scope.options ? this.scope.options : defaults;
              this.opts = this.createWindowOptions(maybeMarker, this.markerScope || this.scope, this.html, _opts);
              Eif (this.opts != null) {
                Eif (!this.gObject) {
                  Iif (this.opts.boxClass && (window.InfoBox && typeof window.InfoBox === 'function')) {
                    this.gObject = new window.InfoBox(this.opts);
                  } else {
                    this.gObject = new google.maps.InfoWindow(this.opts);
                  }
                  this.listeners.push(google.maps.event.addListener(this.gObject, 'domready', function() {
                    return ChromeFixes.maybeRepaint(this.content);
                  }));
                  this.listeners.push(google.maps.event.addListener(this.gObject, 'closeclick', (function(_this) {
                    return function() {
                      if (maybeMarker) {
                        maybeMarker.setAnimation(_this.oldMarkerAnimation);
                        if (_this.markerIsVisibleAfterWindowClose) {
                          _.delay(function() {
                            maybeMarker.setVisible(false);
                            return maybeMarker.setVisible(_this.markerIsVisibleAfterWindowClose);
                          }, 250);
                        }
                      }
                      _this.gObject.close();
                      _this.model.show = false;
                      if (_this.scope.closeClick != null) {
                        return _this.scope.$evalAsync(_this.scope.closeClick());
                      } else {
                        return _this.scope.$evalAsync();
                      }
                    };
                  })(this)));
                }
                this.gObject.setContent(this.opts.content);
                this.handleClick(((ref = this.scope) != null ? (ref1 = ref.options) != null ? ref1.forceClick : void 0 : void 0) || isOpen);
                return this.doShow(this.gObject.isOpen());
              }
            };

            WindowChildModel.prototype.watchCoords = function() {
              var scope;
              scope = this.markerScope != null ? this.markerScope : this.scope;
              return scope.$watch('coords', (function(_this) {
                return function(newValue, oldValue) {
                  var pos;
                  if (newValue !== oldValue) {
                    if (newValue == null) {
                      _this.hideWindow();
                    } else if (!_this.validateCoords(newValue)) {
                      $log.error("WindowChildMarker cannot render marker as scope.coords as no position on marker: " + (JSON.stringify(_this.model)));
                      return;
                    }
                    pos = _this.getCoords(newValue);
                    _this.doShow();
                    _this.gObject.setPosition(pos);
                    if (_this.opts) {
                      return _this.opts.position = pos;
                    }
                  }
                };
              })(this), true);
            };

            WindowChildModel.prototype.watchOptions = function() {
              return this.scope.$watch('options', (function(_this) {
                return function(newValue, oldValue) {
                  if (newValue !== oldValue) {
                    _this.opts = newValue;
                    if (_this.gObject != null) {
                      _this.gObject.setOptions(_this.opts);
                      if ((_this.opts.visible != null) && _this.opts.visible) {
                        return _this.showWindow();
                      } else if (_this.opts.visible != null) {
                        return _this.hideWindow();
                      }
                    }
                  }
                };
              })(this), true);
            };

            WindowChildModel.prototype.handleClick = function(forceClick) {
              var click, maybeMarker;
              Iif (this.gObject == null) {
                return;
              }
              maybeMarker = this.getGmarker();
              click = (function(_this) {
                return function() {
                  if (_this.gObject == null) {
                    _this.createGWin();
                  }
                  _this.showWindow();
                  if (maybeMarker != null) {
                    _this.initialMarkerVisibility = maybeMarker.getVisible();
                    _this.oldMarkerAnimation = maybeMarker.getAnimation();
                    return maybeMarker.setVisible(_this.isIconVisibleOnClick);
                  }
                };
              })(this);
              Iif (forceClick) {
                click();
              }
              Iif (maybeMarker) {
                return this.listeners = this.listeners.concat(this.setEvents(maybeMarker, {
                  events: {
                    click: click
                  }
                }, this.model));
              }
            };

            WindowChildModel.prototype.showWindow = function() {
              var compiled, show, templateScope;
              Iif (this.gObject == null) {
                return;
              }
              templateScope = null;
              show = (function(_this) {
                return function() {
                  var isOpen, maybeMarker, pos;
                  Eif (!_this.gObject.isOpen()) {
                    maybeMarker = _this.getGmarker();
                    Iif ((_this.gObject != null) && (_this.gObject.getPosition != null)) {
                      pos = _this.gObject.getPosition();
                    }
                    Iif (maybeMarker) {
                      pos = maybeMarker.getPosition();
                    }
                    Eif (!pos) {
                      return;
                    }
                    _this.gObject.open(_this.gMap, maybeMarker);
                    isOpen = _this.gObject.isOpen();
                    if (_this.model.show !== isOpen) {
                      return _this.model.show = isOpen;
                    }
                  }
                };
              })(this);
              Iif (this.scope.templateUrl) {
                $http.get(this.scope.templateUrl, {
                  cache: $templateCache
                }).then((function(_this) {
                  return function(content) {
                    var compiled;
                    templateScope = _this.scope.$new();
                    if (angular.isDefined(_this.scope.templateParameter)) {
                      templateScope.parameter = _this.scope.templateParameter;
                    }
                    compiled = $compile(content.data)(templateScope);
                    _this.gObject.setContent(compiled[0]);
                    return show();
                  };
                })(this));
              } else Iif (this.scope.template) {
                templateScope = this.scope.$new();
                if (angular.isDefined(this.scope.templateParameter)) {
                  templateScope.parameter = this.scope.templateParameter;
                }
                compiled = $compile(this.scope.template)(templateScope);
                this.gObject.setContent(compiled[0]);
                show();
              } else {
                show();
              }
              return this.scope.$on('destroy', function() {
                return templateScope.$destroy();
              });
            };

            WindowChildModel.prototype.hideWindow = function() {
              Iif ((this.gObject != null) && this.gObject.isOpen()) {
                return this.gObject.close();
              }
            };

            WindowChildModel.prototype.getLatestPosition = function(overridePos) {
              var maybeMarker;
              maybeMarker = this.getGmarker();
              if ((this.gObject != null) && (maybeMarker != null) && !overridePos) {
                return this.gObject.setPosition(maybeMarker.getPosition());
              } else {
                if (overridePos) {
                  return this.gObject.setPosition(overridePos);
                }
              }
            };

            WindowChildModel.prototype.remove = function() {
              this.hideWindow();
              this.removeEvents(this.listeners);
              this.listeners.length = 0;
              delete this.gObject;
              return delete this.opts;
            };

            WindowChildModel.prototype.destroy = function(manualOverride) {
              var ref;
              Eif (manualOverride == null) {
                manualOverride = false;
              }
              this.remove();
              Iif (((this.scope != null) && !((ref = this.scope) != null ? ref.$$destroyed : void 0)) && (this.needToManualDestroy || manualOverride)) {
                return this.scope.$destroy();
              }
            };

            WindowChildModel.prototype.updateModel = function(model) {
              if (this.isScopeModel) {
                this.clonedModel = _.clone(model, true);
              }
              return _.extend(this.model, this.clonedModel || model);
            };

            return WindowChildModel;

          })(BaseObject);
          return WindowChildModel;
        }
      ]);

    }).call(this);
    ;
    /*global _, angular */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.parent').factory('uiGmapBasePolysParentModel', [
        '$timeout', 'uiGmapLogger', 'uiGmapModelKey', 'uiGmapModelsWatcher', 'uiGmapPropMap', 'uiGmap_async', 'uiGmapPromise', 'uiGmapFitHelper', function($timeout, $log, ModelKey, ModelsWatcher, PropMap, _async, uiGmapPromise, FitHelper) {
          return function(IPoly, PolyChildModel, gObjectName) {
            var BasePolysParentModel;
            return BasePolysParentModel = (function(superClass) {
              extend(BasePolysParentModel, superClass);

              BasePolysParentModel.include(ModelsWatcher);

              function BasePolysParentModel(scope, element, attrs, gMap1, defaults) {
                this.element = element;
                this.attrs = attrs;
                this.gMap = gMap1;
                this.defaults = defaults;
                this.maybeFit = bind(this.maybeFit, this);
                this.createChild = bind(this.createChild, this);
                this.pieceMeal = bind(this.pieceMeal, this);
                this.createAllNew = bind(this.createAllNew, this);
                this.watchIdKey = bind(this.watchIdKey, this);
                this.createChildScopes = bind(this.createChildScopes, this);
                this.watchDestroy = bind(this.watchDestroy, this);
                this.onDestroy = bind(this.onDestroy, this);
                this.rebuildAll = bind(this.rebuildAll, this);
                this.doINeedToWipe = bind(this.doINeedToWipe, this);
                this.watchModels = bind(this.watchModels, this);
                BasePolysParentModel.__super__.constructor.call(this, scope);
                this["interface"] = IPoly;
                this.$log = $log;
                this.plurals = new PropMap();
                _.each(IPoly.scopeKeys, (function(_this) {
                  return function(name) {
                    return _this[name + 'Key'] = void 0;
                  };
                })(this));
                this.models = void 0;
                this.firstTime = true;
                this.$log.info(this);
                this.createChildScopes();
              }

              BasePolysParentModel.prototype.watchModels = function(scope) {

                /*
                  This was watchCollection but not all model changes were being caught.
                  TODO: Make the directive flexible in overriding whether we watch models (and depth) via watch or watchColleciton.
                 */
                return scope.$watch('models', (function(_this) {
                  return function(newValue, oldValue) {
                    if (newValue !== oldValue) {
                      if (_this.doINeedToWipe(newValue) || scope.doRebuildAll) {
                        return _this.rebuildAll(scope, true, true);
                      } else {
                        return _this.createChildScopes(false);
                      }
                    }
                  };
                })(this), true);
              };

              BasePolysParentModel.prototype.doINeedToWipe = function(newValue) {
                var newValueIsEmpty;
                newValueIsEmpty = newValue != null ? newValue.length === 0 : true;
                return this.plurals.length > 0 && newValueIsEmpty;
              };

              BasePolysParentModel.prototype.rebuildAll = function(scope, doCreate, doDelete) {
                return this.onDestroy(doDelete).then((function(_this) {
                  return function() {
                    if (doCreate) {
                      return _this.createChildScopes();
                    }
                  };
                })(this));
              };

              BasePolysParentModel.prototype.onDestroy = function() {
                BasePolysParentModel.__super__.onDestroy.call(this, this.scope);
                return _async.promiseLock(this, uiGmapPromise.promiseTypes["delete"], void 0, void 0, (function(_this) {
                  return function() {
                    return _async.each(_this.plurals.values(), function(child) {
                      return child.destroy(true);
                    }, _async.chunkSizeFrom(_this.scope.cleanchunk, false)).then(function() {
                      var ref;
                      return (ref = _this.plurals) != null ? ref.removeAll() : void 0;
                    });
                  };
                })(this));
              };

              BasePolysParentModel.prototype.watchDestroy = function(scope) {
                return scope.$on('$destroy', (function(_this) {
                  return function() {
                    return _this.rebuildAll(scope, false, true);
                  };
                })(this));
              };

              BasePolysParentModel.prototype.createChildScopes = function(isCreatingFromScratch) {
                Eif (isCreatingFromScratch == null) {
                  isCreatingFromScratch = true;
                }
                Eif (angular.isUndefined(this.scope.models)) {
                  this.$log.error("No models to create " + gObjectName + "s from! I Need direct models!");
                  return;
                }
                if ((this.gMap == null) || (this.scope.models == null)) {
                  return;
                }
                this.watchIdKey(this.scope);
                if (isCreatingFromScratch) {
                  return this.createAllNew(this.scope, false);
                } else {
                  return this.pieceMeal(this.scope, false);
                }
              };

              BasePolysParentModel.prototype.watchIdKey = function(scope) {
                this.setIdKey(scope);
                return scope.$watch('idKey', (function(_this) {
                  return function(newValue, oldValue) {
                    if (newValue !== oldValue && (newValue == null)) {
                      _this.idKey = newValue;
                      return _this.rebuildAll(scope, true, true);
                    }
                  };
                })(this));
              };

              BasePolysParentModel.prototype.createAllNew = function(scope, isArray) {
                var maybeCanceled;
                if (isArray == null) {
                  isArray = false;
                }
                this.models = scope.models;
                if (this.firstTime) {
                  this.watchModels(scope);
                  this.watchDestroy(scope);
                }
                if (this.didQueueInitPromise(this, scope)) {
                  return;
                }
                maybeCanceled = null;
                return _async.promiseLock(this, uiGmapPromise.promiseTypes.create, 'createAllNew', (function(canceledMsg) {
                  return maybeCanceled = canceledMsg;
                }), (function(_this) {
                  return function() {
                    return _async.map(scope.models, function(model) {
                      var child;
                      child = _this.createChild(model, _this.gMap);
                      if (maybeCanceled) {
                        $log.debug('createNew should fall through safely');
                        child.isEnabled = false;
                      }
                      maybeCanceled;
                      return child.pathPoints.getArray();
                    }, _async.chunkSizeFrom(scope.chunk)).then(function(pathPoints) {
                      _this.maybeFit(pathPoints);
                      return _this.firstTime = false;
                    });
                  };
                })(this));
              };

              BasePolysParentModel.prototype.pieceMeal = function(scope, isArray) {
                var maybeCanceled, payload;
                if (isArray == null) {
                  isArray = true;
                }
                if (scope.$$destroyed) {
                  return;
                }
                maybeCanceled = null;
                payload = null;
                this.models = scope.models;
                if ((scope != null) && this.modelsLength() && this.plurals.length) {
                  return _async.promiseLock(this, uiGmapPromise.promiseTypes.update, 'pieceMeal', (function(canceledMsg) {
                    return maybeCanceled = canceledMsg;
                  }), (function(_this) {
                    return function() {
                      return uiGmapPromise.promise(function() {
                        return _this.figureOutState(_this.idKey, scope, _this.plurals, _this.modelKeyComparison);
                      }).then(function(state) {
                        payload = state;
                        if (payload.updates.length) {
                          _async.each(payload.updates, function(obj) {
                            _.extend(obj.child.scope, obj.model);
                            return obj.child.model = obj.model;
                          });
                        }
                        return _async.each(payload.removals, function(child) {
                          if (child != null) {
                            child.destroy();
                            _this.plurals.remove(child.model[_this.idKey]);
                            return maybeCanceled;
                          }
                        }, _async.chunkSizeFrom(scope.chunk));
                      }).then(function() {
                        return _async.each(payload.adds, function(modelToAdd) {
                          if (maybeCanceled) {
                            $log.debug('pieceMeal should fall through safely');
                          }
                          _this.createChild(modelToAdd, _this.gMap);
                          return maybeCanceled;
                        }, _async.chunkSizeFrom(scope.chunk)).then(function() {
                          return _this.maybeFit();
                        });
                      });
                    };
                  })(this));
                } else {
                  this.inProgress = false;
                  return this.rebuildAll(this.scope, true, true);
                }
              };

              BasePolysParentModel.prototype.createChild = function(model, gMap) {
                var child, childScope;
                childScope = this.scope.$new(false);
                this.setChildScope(IPoly.scopeKeys, childScope, model);
                childScope.$watch('model', (function(_this) {
                  return function(newValue, oldValue) {
                    if (newValue !== oldValue) {
                      return _this.setChildScope(IPoly.scopeKeys, childScope, newValue);
                    }
                  };
                })(this), true);
                childScope["static"] = this.scope["static"];
                child = new PolyChildModel({
                  isScopeModel: true,
                  scope: childScope,
                  attrs: this.attrs,
                  gMap: gMap,
                  defaults: this.defaults,
                  model: model,
                  gObjectChangeCb: (function(_this) {
                    return function() {
                      return _this.maybeFit();
                    };
                  })(this)
                });
                if (model[this.idKey] == null) {
                  this.$log.error(gObjectName + " model has no id to assign a child to.\nThis is required for performance. Please assign id,\nor redirect id to a different key.");
                  return;
                }
                this.plurals.put(model[this.idKey], child);
                return child;
              };

              BasePolysParentModel.prototype.maybeFit = function(pathPoints) {
                if (pathPoints == null) {
                  pathPoints = this.plurals.map(function(p) {
                    return p.pathPoints;
                  });
                }
                if (this.scope.fit) {
                  pathPoints = _.flatten(pathPoints);
                  return FitHelper.fit(pathPoints, this.gMap);
                }
              };

              return BasePolysParentModel;

            })(ModelKey);
          };
        }
      ]);

    }).call(this);
    ;
    /*globals angular, _, google */

    (function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.parent').factory('uiGmapCircleParentModel', [
        'uiGmapLogger', '$timeout', 'uiGmapGmapUtil', 'uiGmapEventsHelper', 'uiGmapCircleOptionsBuilder', function($log, $timeout, GmapUtil, EventsHelper, Builder) {
          var CircleParentModel, _settingFromDirective;
          _settingFromDirective = function(scope, fn) {
            scope.settingFromDirective = true;
            fn();
            return $timeout(function() {
              return scope.settingFromDirective = false;
            });
          };
          return CircleParentModel = (function(superClass) {
            extend(CircleParentModel, superClass);

            CircleParentModel.include(GmapUtil);

            CircleParentModel.include(EventsHelper);

            function CircleParentModel(scope, element, attrs, gMap, DEFAULTS) {
              var clean, gObject, lastRadius;
              this.attrs = attrs;
              this.gMap = gMap;
              this.DEFAULTS = DEFAULTS;
              this.scope = scope;
              lastRadius = null;
              clean = (function(_this) {
                return function() {
                  lastRadius = null;
                  if (_this.listeners != null) {
                    _this.removeEvents(_this.listeners);
                    return _this.listeners = void 0;
                  }
                };
              })(this);
              gObject = new google.maps.Circle(this.buildOpts(GmapUtil.getCoords(scope.center), scope.radius));
              this.setMyOptions = (function(_this) {
                return function(newVals, oldVals) {
                  if (scope.settingFromDirective) {
                    return;
                  }
                  if (!(_.isEqual(newVals, oldVals) && newVals === oldVals && ((newVals != null) && (oldVals != null) ? newVals.coordinates === oldVals.coordinates : true))) {
                    return gObject.setOptions(_this.buildOpts(GmapUtil.getCoords(scope.center), scope.radius));
                  }
                };
              })(this);
              this.props = this.props.concat([
                {
                  prop: 'center',
                  isColl: true
                }, {
                  prop: 'fill',
                  isColl: true
                }, 'radius', 'zIndex'
              ]);
              this.watchProps();
              Eif (this.scope.control != null) {
                this.scope.control.getCircle = function() {
                  return gObject;
                };
              }
              clean();
              this.listeners = this.setEvents(gObject, scope, scope, ['radius_changed']) || [];
              this.listeners.push(google.maps.event.addListener(gObject, 'radius_changed', function() {

                /*
                  possible google bug, and or because a circle has two radii
                  radius_changed appears to fire twice (original and new) which is not too helpful
                  therefore we will check for radius changes manually and bail out if nothing has changed
                 */
                var newRadius, work;
                newRadius = gObject.getRadius();
                Iif (newRadius === lastRadius) {
                  return;
                }
                lastRadius = newRadius;
                work = function() {
                  return _settingFromDirective(scope, function() {
                    var ref, ref1;
                    if (newRadius !== scope.radius) {
                      scope.radius = newRadius;
                    }
                    Eif (((ref = scope.events) != null ? ref.radius_changed : void 0) && _.isFunction((ref1 = scope.events) != null ? ref1.radius_changed : void 0)) {
                      return scope.events.radius_changed(gObject, 'radius_changed', scope, arguments);
                    }
                  });
                };
                Iif (!angular.mock) {
                  return scope.$evalAsync(function() {
                    return work();
                  });
                } else {
                  return work();
                }
              }));
              this.listeners.push(google.maps.event.addListener(gObject, 'center_changed', function() {
                return scope.$evalAsync(function() {
                  return _settingFromDirective(scope, function() {
                    Iif (angular.isDefined(scope.center.type)) {
                      scope.center.coordinates[1] = gObject.getCenter().lat();
                      return scope.center.coordinates[0] = gObject.getCenter().lng();
                    } else {
                      scope.center.latitude = gObject.getCenter().lat();
                      return scope.center.longitude = gObject.getCenter().lng();
                    }
                  });
                });
              }));
              scope.$on('$destroy', function() {
                clean();
                return gObject.setMap(null);
              });
              $log.info(this);
            }

            return CircleParentModel;

          })(Builder);
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.parent').factory('uiGmapDrawingManagerParentModel', [
        'uiGmapLogger', '$timeout', 'uiGmapBaseObject', 'uiGmapEventsHelper', function($log, $timeout, BaseObject, EventsHelper) {
          var DrawingManagerParentModel;
          return DrawingManagerParentModel = (function(superClass) {
            extend(DrawingManagerParentModel, superClass);

            DrawingManagerParentModel.include(EventsHelper);

            function DrawingManagerParentModel(scope, element, attrs, map) {
              var gObject, listeners;
              this.scope = scope;
              this.attrs = attrs;
              this.map = map;
              gObject = new google.maps.drawing.DrawingManager(this.scope.options);
              gObject.setMap(this.map);
              listeners = void 0;
              if (this.scope.control != null) {
                this.scope.control.getDrawingManager = function() {
                  return gObject;
                };
              }
              if (!this.scope["static"] && this.scope.options) {
                this.scope.$watch('options', function(newValue) {
                  return gObject != null ? gObject.setOptions(newValue) : void 0;
                }, true);
              }
              if (this.scope.events != null) {
                listeners = this.setEvents(gObject, this.scope, this.scope);
                this.scope.$watch('events', (function(_this) {
                  return function(newValue, oldValue) {
                    if (!_.isEqual(newValue, oldValue)) {
                      if (listeners != null) {
                        _this.removeEvents(listeners);
                      }
                      return listeners = _this.setEvents(gObject, _this.scope, _this.scope);
                    }
                  };
                })(this));
              }
              this.scope.$on('$destroy', (function(_this) {
                return function() {
                  if (listeners != null) {
                    _this.removeEvents(listeners);
                  }
                  gObject.setMap(null);
                  return gObject = null;
                };
              })(this));
            }

            return DrawingManagerParentModel;

          })(BaseObject);
        }
      ]);

    }).call(this);
    ;
    /*
    	- interface for all markers to derrive from
     	- to enforce a minimum set of requirements
     		- attributes
     			- coords
     			- icon
    		- implementation needed on watches
     */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module("uiGmapgoogle-maps.directives.api.models.parent").factory("uiGmapIMarkerParentModel", [
        "uiGmapModelKey", "uiGmapLogger", function(ModelKey, Logger) {
          var IMarkerParentModel;
          IMarkerParentModel = (function(superClass) {
            extend(IMarkerParentModel, superClass);

            IMarkerParentModel.prototype.DEFAULTS = {};

            function IMarkerParentModel(scope1, element, attrs, map) {
              this.scope = scope1;
              this.element = element;
              this.attrs = attrs;
              this.map = map;
              this.onWatch = bind(this.onWatch, this);
              this.watch = bind(this.watch, this);
              this.validateScope = bind(this.validateScope, this);
              IMarkerParentModel.__super__.constructor.call(this, this.scope);
              this.$log = Logger;
              if (!this.validateScope(this.scope)) {
                throw new String("Unable to construct IMarkerParentModel due to invalid scope");
              }
              this.doClick = angular.isDefined(this.attrs.click);
              if (this.scope.options != null) {
                this.DEFAULTS = this.scope.options;
              }
              this.watch('coords', this.scope);
              this.watch('icon', this.scope);
              this.watch('options', this.scope);
              this.scope.$on("$destroy", (function(_this) {
                return function() {
                  return _this.onDestroy(_this.scope);
                };
              })(this));
            }

            IMarkerParentModel.prototype.validateScope = function(scope) {
              var ret;
              Iif (scope == null) {
                this.$log.error(this.constructor.name + ": invalid scope used");
                return false;
              }
              ret = scope.coords != null;
              if (!ret) {
                this.$log.error(this.constructor.name + ": no valid coords attribute found");
                return false;
              }
              return ret;
            };

            IMarkerParentModel.prototype.watch = function(propNameToWatch, scope, equalityCheck) {
              Eif (equalityCheck == null) {
                equalityCheck = true;
              }
              return scope.$watch(propNameToWatch, (function(_this) {
                return function(newValue, oldValue) {
                  Iif (!_.isEqual(newValue, oldValue)) {
                    return _this.onWatch(propNameToWatch, scope, newValue, oldValue);
                  }
                };
              })(this), equalityCheck);
            };

            IMarkerParentModel.prototype.onWatch = function(propNameToWatch, scope, newValue, oldValue) {};

            return IMarkerParentModel;

          })(ModelKey);
          return IMarkerParentModel;
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module("uiGmapgoogle-maps.directives.api.models.parent").factory("uiGmapIWindowParentModel", [
        "uiGmapModelKey", "uiGmapGmapUtil", "uiGmapLogger", function(ModelKey, GmapUtil, Logger) {
          var IWindowParentModel;
          return IWindowParentModel = (function(superClass) {
            extend(IWindowParentModel, superClass);

            IWindowParentModel.include(GmapUtil);

            function IWindowParentModel(scope, element, attrs, ctrls, $timeout, $compile, $http, $templateCache) {
              IWindowParentModel.__super__.constructor.call(this, scope);
              this.$log = Logger;
              this.$timeout = $timeout;
              this.$compile = $compile;
              this.$http = $http;
              this.$templateCache = $templateCache;
              this.DEFAULTS = {};
              Iif (scope.options != null) {
                this.DEFAULTS = scope.options;
              }
            }

            IWindowParentModel.prototype.getItem = function(scope, modelsPropToIterate, index) {
              if (modelsPropToIterate === 'models') {
                return scope[modelsPropToIterate][index];
              }
              return scope[modelsPropToIterate].get(index);
            };

            return IWindowParentModel;

          })(ModelKey);
        }
      ]);

    }).call(this);
    ;(function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.parent').factory('uiGmapLayerParentModel', [
        'uiGmapBaseObject', 'uiGmapLogger', '$timeout', function(BaseObject, Logger, $timeout) {
          var LayerParentModel;
          LayerParentModel = (function(superClass) {
            extend(LayerParentModel, superClass);

            function LayerParentModel(scope, element, attrs, gMap, onLayerCreated, $log) {
              this.scope = scope;
              this.element = element;
              this.attrs = attrs;
              this.gMap = gMap;
              this.onLayerCreated = onLayerCreated != null ? onLayerCreated : void 0;
              this.$log = $log != null ? $log : Logger;
              this.createGoogleLayer = bind(this.createGoogleLayer, this);
              Iif (this.attrs.type == null) {
                this.$log.info('type attribute for the layer directive is mandatory. Layer creation aborted!!');
                return;
              }
              this.createGoogleLayer();
              this.doShow = true;
              Iif (angular.isDefined(this.attrs.show)) {
                this.doShow = this.scope.show;
              }
              Eif (this.doShow && (this.gMap != null)) {
                this.gObject.setMap(this.gMap);
              }
              this.scope.$watch('show', (function(_this) {
                return function(newValue, oldValue) {
                  if (newValue !== oldValue) {
                    _this.doShow = newValue;
                    if (newValue) {
                      return _this.gObject.setMap(_this.gMap);
                    } else {
                      return _this.gObject.setMap(null);
                    }
                  }
                };
              })(this), true);
              this.scope.$watch('options', (function(_this) {
                return function(newValue, oldValue) {
                  if (newValue !== oldValue && _this.doShow) {
                    return _this.gObject.setOptions(newValue);
                  }
                };
              })(this), true);
              this.scope.$on('$destroy', (function(_this) {
                return function() {
                  return _this.gObject.setMap(null);
                };
              })(this));
            }

            LayerParentModel.prototype.createGoogleLayer = function() {
              var base;
              Iif (this.attrs.options == null) {
                this.gObject = this.attrs.namespace === void 0 ? new google.maps[this.attrs.type]() : new google.maps[this.attrs.namespace][this.attrs.type]();
              } else {
                this.gObject = this.attrs.namespace === void 0 ? new google.maps[this.attrs.type](this.scope.options) : new google.maps[this.attrs.namespace][this.attrs.type](this.scope.options);
              }
              Iif ((this.gObject != null) && this.doShow) {
                this.gObject.setMap(this.gMap);
              }
              Iif ((this.gObject != null) && (this.onLayerCreated != null)) {
                return typeof (base = this.onLayerCreated(this.scope, this.gObject)) === "function" ? base(this.gObject) : void 0;
              }
            };

            return LayerParentModel;

          })(BaseObject);
          return LayerParentModel;
        }
      ]);

    }).call(this);
    ;(function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.parent').factory('uiGmapMapTypeParentModel', [
        'uiGmapBaseObject', 'uiGmapLogger', function(BaseObject, Logger) {
          var MapTypeParentModel;
          MapTypeParentModel = (function(superClass) {
            extend(MapTypeParentModel, superClass);

            function MapTypeParentModel(scope, element, attrs, gMap, $log, childModel, propMap) {
              var watchChildModelOptions, watchChildModelShow, watchOptions, watchShow;
              this.scope = scope;
              this.element = element;
              this.attrs = attrs;
              this.gMap = gMap;
              this.$log = $log != null ? $log : Logger;
              this.childModel = childModel;
              this.propMap = propMap;
              this.refreshShown = bind(this.refreshShown, this);
              this.hideOverlay = bind(this.hideOverlay, this);
              this.showOverlay = bind(this.showOverlay, this);
              this.refreshMapType = bind(this.refreshMapType, this);
              this.createMapType = bind(this.createMapType, this);
              Iif (this.scope.options == null) {
                this.$log.info('options attribute for the map-type directive is mandatory. Map type creation aborted!!');
                return;
              }
              this.id = this.gMap.overlayMapTypesCount = this.gMap.overlayMapTypesCount + 1 || 0;
              this.doShow = true;
              this.createMapType();
              this.refreshShown();
              Eif (this.doShow && (this.gMap != null)) {
                this.showOverlay();
              }
              watchChildModelShow = (function(_this) {
                return function() {
                  return _this.childModel[_this.attrs.show];
                };
              })(this);
              watchShow = this.childModel ? watchChildModelShow : 'show';
              this.scope.$watch(watchShow, (function(_this) {
                return function(newValue, oldValue) {
                  if (newValue !== oldValue) {
                    _this.doShow = newValue;
                    if (newValue) {
                      return _this.showOverlay();
                    } else {
                      return _this.hideOverlay();
                    }
                  }
                };
              })(this));
              watchChildModelOptions = (function(_this) {
                return function() {
                  return _this.childModel[_this.attrs.options];
                };
              })(this);
              watchOptions = this.childModel ? watchChildModelOptions : 'options';
              this.scope.$watchCollection(watchOptions, (function(_this) {
                return function(newValue, oldValue) {
                  var different, mapTypeProps;
                  if (!_.isEqual(newValue, oldValue)) {
                    mapTypeProps = ['tileSize', 'maxZoom', 'minZoom', 'name', 'alt'];
                    different = _.some(mapTypeProps, function(prop) {
                      return !oldValue || !newValue || !_.isEqual(newValue[prop], oldValue[prop]);
                    });
                    if (different) {
                      return _this.refreshMapType();
                    }
                  }
                };
              })(this));
              Iif (angular.isDefined(this.attrs.refresh)) {
                this.scope.$watch('refresh', (function(_this) {
                  return function(newValue, oldValue) {
                    if (!_.isEqual(newValue, oldValue)) {
                      return _this.refreshMapType();
                    }
                  };
                })(this), true);
              }
              this.scope.$on('$destroy', (function(_this) {
                return function() {
                  _this.hideOverlay();
                  return _this.mapType = null;
                };
              })(this));
            }

            MapTypeParentModel.prototype.createMapType = function() {
              var id, idAttr, mapType;
              mapType = this.childModel ? (this.attrs.options ? this.childModel[this.attrs.options] : this.childModel) : this.scope.options;
              Iif (mapType.getTile != null) {
                this.mapType = mapType;
              } else Eif (mapType.getTileUrl != null) {
                this.mapType = new google.maps.ImageMapType(mapType);
              } else {
                this.$log.info('options should provide either getTile or getTileUrl methods. Map type creation aborted!!');
                return;
              }
              idAttr = this.attrs.id ? (this.childModel ? this.attrs.id : 'id') : void 0;
              id = idAttr ? (this.childModel ? this.childModel[idAttr] : this.scope[idAttr]) : void 0;
              Iif (id) {
                this.gMap.mapTypes.set(id, this.mapType);
                if (!angular.isDefined(this.attrs.show)) {
                  this.doShow = false;
                }
              }
              this.mapType.layerId = this.id;
              Iif (this.childModel && angular.isDefined(this.scope.index)) {
                return this.propMap.put(this.mapType.layerId, this.scope.index);
              }
            };

            MapTypeParentModel.prototype.refreshMapType = function() {
              this.hideOverlay();
              this.mapType = null;
              this.createMapType();
              if (this.doShow && (this.gMap != null)) {
                return this.showOverlay();
              }
            };

            MapTypeParentModel.prototype.showOverlay = function() {
              var found;
              Iif (angular.isDefined(this.scope.index)) {
                found = false;
                if (this.gMap.overlayMapTypes.getLength()) {
                  this.gMap.overlayMapTypes.forEach((function(_this) {
                    return function(mapType, index) {
                      var layerIndex;
                      if (!found) {
                        layerIndex = _this.propMap.get(mapType.layerId.toString());
                        if (layerIndex > _this.scope.index || !angular.isDefined(layerIndex)) {
                          found = true;
                          _this.gMap.overlayMapTypes.insertAt(index, _this.mapType);
                        }
                      }
                    };
                  })(this));
                  if (!found) {
                    return this.gMap.overlayMapTypes.push(this.mapType);
                  }
                } else {
                  return this.gMap.overlayMapTypes.push(this.mapType);
                }
              } else {
                return this.gMap.overlayMapTypes.push(this.mapType);
              }
            };

            MapTypeParentModel.prototype.hideOverlay = function() {
              var found;
              found = false;
              return this.gMap.overlayMapTypes.forEach((function(_this) {
                return function(mapType, index) {
                  if (!found && mapType.layerId === _this.id) {
                    found = true;
                    _this.gMap.overlayMapTypes.removeAt(index);
                  }
                };
              })(this));
            };

            MapTypeParentModel.prototype.refreshShown = function() {
              return this.doShow = angular.isDefined(this.attrs.show) ? (this.childModel ? this.childModel[this.attrs.show] : this.scope.show) : true;
            };

            return MapTypeParentModel;

          })(BaseObject);
          return MapTypeParentModel;
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.parent').factory('uiGmapMapTypesParentModel', [
        'uiGmapBaseObject', 'uiGmapLogger', 'uiGmapMapTypeParentModel', 'uiGmapPropMap', function(BaseObject, Logger, MapTypeParentModel, PropMap) {
          var MapTypesParentModel;
          MapTypesParentModel = (function(superClass) {
            extend(MapTypesParentModel, superClass);

            function MapTypesParentModel(scope, element, attrs, gMap, $log) {
              var pMap;
              this.scope = scope;
              this.element = element;
              this.attrs = attrs;
              this.gMap = gMap;
              this.$log = $log != null ? $log : Logger;
              Eif (this.attrs.mapTypes == null) {
                this.$log.info('layers attribute for the map-types directive is mandatory. Map types creation aborted!!');
                return;
              }
              pMap = new PropMap;
              this.scope.mapTypes.forEach((function(_this) {
                return function(l, i) {
                  var childScope, mockAttr;
                  mockAttr = {
                    options: _this.scope.options,
                    show: _this.scope.show,
                    refresh: _this.scope.refresh
                  };
                  childScope = _this.scope.$new();
                  childScope.index = i;
                  new MapTypeParentModel(childScope, null, mockAttr, _this.gMap, _this.$log, l, pMap);
                };
              })(this));
            }

            return MapTypesParentModel;

          })(BaseObject);
          return MapTypesParentModel;
        }
      ]);

    }).call(this);
    ;
    /*global _:true,angular:true, */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module("uiGmapgoogle-maps.directives.api.models.parent").factory("uiGmapMarkersParentModel", [
        "uiGmapIMarkerParentModel", "uiGmapModelsWatcher", "uiGmapPropMap", "uiGmapMarkerChildModel", "uiGmap_async", "uiGmapClustererMarkerManager", "uiGmapMarkerManager", "$timeout", "uiGmapIMarker", "uiGmapPromise", "uiGmapGmapUtil", "uiGmapLogger", "uiGmapSpiderfierMarkerManager", function(IMarkerParentModel, ModelsWatcher, PropMap, MarkerChildModel, _async, ClustererMarkerManager, MarkerManager, $timeout, IMarker, uiGmapPromise, GmapUtil, $log, SpiderfierMarkerManager) {
          var MarkersParentModel, _setPlurals;
          _setPlurals = function(val, objToSet) {
            objToSet.plurals = new PropMap();
            objToSet.scope.plurals = objToSet.plurals;
            return objToSet;
          };
          MarkersParentModel = (function(superClass) {
            extend(MarkersParentModel, superClass);

            MarkersParentModel.include(GmapUtil);

            MarkersParentModel.include(ModelsWatcher);

            function MarkersParentModel(scope, element, attrs, map) {
              this.maybeExecMappedEvent = bind(this.maybeExecMappedEvent, this);
              this.onDestroy = bind(this.onDestroy, this);
              this.newChildMarker = bind(this.newChildMarker, this);
              this.pieceMeal = bind(this.pieceMeal, this);
              this.rebuildAll = bind(this.rebuildAll, this);
              this.createAllNew = bind(this.createAllNew, this);
              this.bindToTypeEvents = bind(this.bindToTypeEvents, this);
              this.createChildScopes = bind(this.createChildScopes, this);
              this.validateScope = bind(this.validateScope, this);
              this.onWatch = bind(this.onWatch, this);
              MarkersParentModel.__super__.constructor.call(this, scope, element, attrs, map);
              this["interface"] = IMarker;
              _setPlurals(new PropMap(), this);
              this.scope.pluralsUpdate = {
                updateCtr: 0
              };
              this.$log.info(this);
              this.doRebuildAll = this.scope.doRebuildAll != null ? this.scope.doRebuildAll : false;
              this.setIdKey(this.scope);
              this.scope.$watch('doRebuildAll', (function(_this) {
                return function(newValue, oldValue) {
                  Iif (newValue !== oldValue) {
                    return _this.doRebuildAll = newValue;
                  }
                };
              })(this));
              if (!this.modelsLength()) {
                this.modelsRendered = false;
              }
              this.scope.$watch('models', (function(_this) {
                return function(newValue, oldValue) {
                  if (!_.isEqual(newValue, oldValue) || !_this.modelsRendered) {
                    if (newValue.length === 0 && oldValue.length === 0) {
                      return;
                    }
                    _this.modelsRendered = true;
                    return _this.onWatch('models', _this.scope, newValue, oldValue);
                  }
                };
              })(this), !this.isTrue(attrs.modelsbyref));
              this.watch('doCluster', this.scope);
              this.watch('type', this.scope);
              this.watch('clusterOptions', this.scope);
              this.watch('clusterEvents', this.scope);
              this.watch('typeOptions', this.scope);
              this.watch('typeEvents', this.scope);
              this.watch('fit', this.scope);
              this.watch('idKey', this.scope);
              this.gManager = void 0;
              this.createAllNew(this.scope);
            }

            MarkersParentModel.prototype.onWatch = function(propNameToWatch, scope, newValue, oldValue) {
              Iif (propNameToWatch === "idKey" && newValue !== oldValue) {
                this.idKey = newValue;
              }
              Iif (this.doRebuildAll || (propNameToWatch === 'doCluster' || propNameToWatch === 'type')) {
                return this.rebuildAll(scope);
              } else {
                return this.pieceMeal(scope);
              }
            };

            MarkersParentModel.prototype.validateScope = function(scope) {
              var modelsNotDefined;
              modelsNotDefined = angular.isUndefined(scope.models) || scope.models === void 0;
              Iif (modelsNotDefined) {
                this.$log.error(this.constructor.name + ": no valid models attribute found");
              }
              return MarkersParentModel.__super__.validateScope.call(this, scope) || modelsNotDefined;
            };

            /*
            Not used internally by this parent
            created for consistency for external control in the API
             */

            MarkersParentModel.prototype.createChildScopes = function(isCreatingFromScratch) {
              if ((this.gMap == null) || (this.scope.models == null)) {
                return;
              }
              if (isCreatingFromScratch) {
                return this.createAllNew(this.scope, false);
              } else {
                return this.pieceMeal(this.scope, false);
              }
            };

            MarkersParentModel.prototype.bindToTypeEvents = function(typeEvents, events) {
              var internalHandles, self;
              Eif (events == null) {
                events = ['click', 'mouseout', 'mouseover'];
              }

              /*
                You should only be binding to events that produce groups/clusters of somthing.
                Otherwise use the orginal event handle.
                For Example: Click on a cluster pushes a cluster/group obj through which has getMarkers
                However Spiderfy's click is for a single marker so this is not ideal for that.
               */
              self = this;
              Eif (!this.origTypeEvents) {
                this.origTypeEvents = {};
                _.each(events, (function(_this) {
                  return function(eventName) {
                    return _this.origTypeEvents[eventName] = typeEvents != null ? typeEvents[eventName] : void 0;
                  };
                })(this));
              } else {
                angular.extend(typeEvents, this.origTypeEvents);
              }
              internalHandles = {};
              _.each(events, function(eventName) {
                return internalHandles[eventName] = function(group) {
                  return self.maybeExecMappedEvent(group, eventName);
                };
              });
              return angular.extend(typeEvents, internalHandles);
            };

            MarkersParentModel.prototype.createAllNew = function(scope) {
              var isSpiderfied, maybeCanceled, typeEvents, typeOptions;
              if (this.gManager != null) {
                Iif (this.gManager instanceof SpiderfierMarkerManager) {
                  isSpiderfied = this.gManager.isSpiderfied();
                }
                this.gManager.clear();
                delete this.gManager;
              }
              typeEvents = scope.typeEvents || scope.clusterEvents;
              typeOptions = scope.typeOptions || scope.clusterOptions;
              if (scope.doCluster || scope.type === 'cluster') {
                Eif (typeEvents != null) {
                  this.bindToTypeEvents(typeEvents);
                }
                this.gManager = new ClustererMarkerManager(this.map, void 0, typeOptions, typeEvents);
              } else Iif (scope.type === 'spider') {
                if (typeEvents != null) {
                  this.bindToTypeEvents(typeEvents, ['spiderfy', 'unspiderfy']);
                }
                this.gManager = new SpiderfierMarkerManager(this.map, void 0, typeOptions, typeEvents, this.scope);
                if (isSpiderfied) {
                  this.gManager.spiderfy();
                }
              } else {
                this.gManager = new MarkerManager(this.map);
              }
              if (this.didQueueInitPromise(this, scope)) {
                return;
              }
              maybeCanceled = null;
              return _async.promiseLock(this, uiGmapPromise.promiseTypes.create, 'createAllNew', (function(canceledMsg) {
                return maybeCanceled = canceledMsg;
              }), (function(_this) {
                return function() {
                  return _async.each(scope.models, function(model) {
                    _this.newChildMarker(model, scope);
                    return maybeCanceled;
                  }, _async.chunkSizeFrom(scope.chunk)).then(function() {
                    _this.modelsRendered = true;
                    Iif (scope.fit) {
                      _this.gManager.fit();
                    }
                    _this.gManager.draw();
                    return _this.scope.pluralsUpdate.updateCtr += 1;
                  }, _async.chunkSizeFrom(scope.chunk));
                };
              })(this));
            };

            MarkersParentModel.prototype.rebuildAll = function(scope) {
              var ref;
              Iif (!scope.doRebuild && scope.doRebuild !== void 0) {
                return;
              }
              Iif ((ref = this.scope.plurals) != null ? ref.length : void 0) {
                return this.onDestroy(scope).then((function(_this) {
                  return function() {
                    return _this.createAllNew(scope);
                  };
                })(this));
              } else {
                return this.createAllNew(scope);
              }
            };

            MarkersParentModel.prototype.pieceMeal = function(scope) {
              var maybeCanceled, payload;
              Iif (scope.$$destroyed) {
                return;
              }
              maybeCanceled = null;
              payload = null;
              if (this.modelsLength() && this.scope.plurals.length) {
                return _async.promiseLock(this, uiGmapPromise.promiseTypes.update, 'pieceMeal', (function(canceledMsg) {
                  return maybeCanceled = canceledMsg;
                }), (function(_this) {
                  return function() {
                    return uiGmapPromise.promise((function() {
                      return _this.figureOutState(_this.idKey, scope, _this.scope.plurals, _this.modelKeyComparison);
                    })).then(function(state) {
                      payload = state;
                      return _async.each(payload.removals, function(child) {
                        if (child != null) {
                          if (child.destroy != null) {
                            child.destroy();
                          }
                          _this.scope.plurals.remove(child.id);
                          return maybeCanceled;
                        }
                      }, _async.chunkSizeFrom(scope.chunk));
                    }).then(function() {
                      return _async.each(payload.adds, function(modelToAdd) {
                        _this.newChildMarker(modelToAdd, scope);
                        return maybeCanceled;
                      }, _async.chunkSizeFrom(scope.chunk));
                    }).then(function() {
                      return _async.each(payload.updates, function(update) {
                        _this.updateChild(update.child, update.model);
                        return maybeCanceled;
                      }, _async.chunkSizeFrom(scope.chunk));
                    }).then(function() {
                      Eif (payload.adds.length > 0 || payload.removals.length > 0 || payload.updates.length > 0) {
                        scope.plurals = _this.scope.plurals;
                        Iif (scope.fit) {
                          _this.gManager.fit();
                        }
                        _this.gManager.draw();
                      }
                      return _this.scope.pluralsUpdate.updateCtr += 1;
                    });
                  };
                })(this));
              } else {
                this.inProgress = false;
                return this.rebuildAll(scope);
              }
            };

            MarkersParentModel.prototype.newChildMarker = function(model, scope) {
              var child, childScope, keys;
              Iif (!model) {
                throw 'model undefined';
              }
              Iif (model[this.idKey] == null) {
                this.$log.error("Marker model has no id to assign a child to. This is required for performance. Please assign id, or redirect id to a different key.");
                return;
              }
              this.$log.info('child', child, 'markers', this.scope.markerModels);
              childScope = scope.$new(false);
              childScope.events = scope.events;
              keys = {};
              IMarker.scopeKeys.forEach(function(k) {
                return keys[k] = scope[k];
              });
              child = new MarkerChildModel({
                scope: childScope,
                model: model,
                keys: keys,
                gMap: this.map,
                defaults: this.DEFAULTS,
                doClick: this.doClick,
                gManager: this.gManager,
                doDrawSelf: false,
                isScopeModel: true
              });
              this.scope.plurals.put(model[this.idKey], child);
              return child;
            };

            MarkersParentModel.prototype.onDestroy = function(scope) {
              MarkersParentModel.__super__.onDestroy.call(this, scope);
              return _async.promiseLock(this, uiGmapPromise.promiseTypes["delete"], void 0, void 0, (function(_this) {
                return function() {
                  return _async.each(_this.scope.plurals.values(), function(model) {
                    if (model != null) {
                      return model.destroy(false);
                    }
                  }, _async.chunkSizeFrom(_this.scope.cleanchunk, false)).then(function() {
                    if (_this.gManager != null) {
                      _this.gManager.destroy();
                    }
                    _this.plurals.removeAll();
                    if (_this.plurals !== _this.scope.plurals) {
                      console.error('plurals out of sync for MarkersParentModel');
                    }
                    return _this.scope.pluralsUpdate.updateCtr += 1;
                  });
                };
              })(this));
            };

            MarkersParentModel.prototype.maybeExecMappedEvent = function(group, fnName) {
              var pair, typeEvents;
              Iif (this.scope.$$destroyed) {
                return;
              }
              typeEvents = this.scope.typeEvents || this.scope.clusterEvents;
              Eif (_.isFunction(typeEvents != null ? typeEvents[fnName] : void 0)) {
                pair = this.mapTypeToPlurals(group);
                Eif (this.origTypeEvents[fnName]) {
                  return this.origTypeEvents[fnName](pair.group, pair.mapped);
                }
              }
            };

            MarkersParentModel.prototype.mapTypeToPlurals = function(group) {
              var arrayToMap, mapped, ref;
              Iif (_.isArray(group)) {
                arrayToMap = group;
              } else Eif (_.isFunction(group.getMarkers)) {
                arrayToMap = group.getMarkers();
              }
              Iif (arrayToMap == null) {
                $log.error("Unable to map event as we cannot find the array group to map");
                return;
              }
              Eif ((ref = this.scope.plurals.values()) != null ? ref.length : void 0) {
                mapped = arrayToMap.map((function(_this) {
                  return function(g) {
                    return _this.scope.plurals.get(g.key).model;
                  };
                })(this));
              } else {
                mapped = [];
              }
              return {
                cluster: group,
                mapped: mapped,
                group: group
              };
            };

            MarkersParentModel.prototype.getItem = function(scope, modelsPropToIterate, index) {
              if (modelsPropToIterate === 'models') {
                return scope[modelsPropToIterate][index];
              }
              return scope[modelsPropToIterate].get(index);
            };

            return MarkersParentModel;

          })(IMarkerParentModel);
          return MarkersParentModel;
        }
      ]);

    }).call(this);
    ;(function() {
      ['Polygon', 'Polyline'].forEach(function(name) {
        return angular.module('uiGmapgoogle-maps.directives.api.models.parent').factory("uiGmap" + name + "sParentModel", [
          'uiGmapBasePolysParentModel', "uiGmap" + name + "ChildModel", "uiGmapI" + name, function(BasePolysParentModel, ChildModel, IPoly) {
            return BasePolysParentModel(IPoly, ChildModel, name);
          }
        ]);
      });

    }).call(this);
    ;
    /*globals angular, _, google */

    (function() {
      var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.parent').factory('uiGmapRectangleParentModel', [
        'uiGmapLogger', 'uiGmapGmapUtil', 'uiGmapEventsHelper', 'uiGmapRectangleOptionsBuilder', function($log, GmapUtil, EventsHelper, Builder) {
          var RectangleParentModel;
          return RectangleParentModel = (function(superClass) {
            extend(RectangleParentModel, superClass);

            RectangleParentModel.include(GmapUtil);

            RectangleParentModel.include(EventsHelper);

            function RectangleParentModel(scope, element, attrs, gMap, DEFAULTS) {
              var bounds, clear, createBounds, dragging, fit, gObject, init, listeners, myListeners, settingBoundsFromScope, updateBounds;
              this.scope = scope;
              this.attrs = attrs;
              this.gMap = gMap;
              this.DEFAULTS = DEFAULTS;
              bounds = void 0;
              dragging = false;
              myListeners = [];
              listeners = void 0;
              fit = (function(_this) {
                return function() {
                  if (_this.isTrue(_this.attrs.fit)) {
                    return _this.fitMapBounds(_this.gMap, bounds);
                  }
                };
              })(this);
              createBounds = (function(_this) {
                return function() {
                  var ref, ref1, ref2;
                  if ((_this.scope.bounds != null) && (((ref = _this.scope.bounds) != null ? ref.sw : void 0) != null) && (((ref1 = _this.scope.bounds) != null ? ref1.ne : void 0) != null) && _this.validateBoundPoints(_this.scope.bounds)) {
                    bounds = _this.convertBoundPoints(_this.scope.bounds);
                    return $log.info("new new bounds created: " + (JSON.stringify(bounds)));
                  } else if ((_this.scope.bounds.getNorthEast != null) && (_this.scope.bounds.getSouthWest != null)) {
                    return bounds = _this.scope.bounds;
                  } else {
                    if (_this.scope.bounds != null) {
                      return $log.error("Invalid bounds for newValue: " + (JSON.stringify((ref2 = _this.scope) != null ? ref2.bounds : void 0)));
                    }
                  }
                };
              })(this);
              createBounds();
              gObject = new google.maps.Rectangle(this.buildOpts(bounds));
              $log.info("gObject (rectangle) created: " + gObject);
              settingBoundsFromScope = false;
              updateBounds = (function(_this) {
                return function() {
                  var b, ne, sw;
                  b = gObject.getBounds();
                  ne = b.getNorthEast();
                  sw = b.getSouthWest();
                  if (settingBoundsFromScope) {
                    return;
                  }
                  return _this.scope.$evalAsync(function(s) {
                    if ((s.bounds != null) && (s.bounds.sw != null) && (s.bounds.ne != null)) {
                      s.bounds.ne = {
                        latitude: ne.lat(),
                        longitude: ne.lng()
                      };
                      s.bounds.sw = {
                        latitude: sw.lat(),
                        longitude: sw.lng()
                      };
                    }
                    if ((s.bounds.getNorthEast != null) && (s.bounds.getSouthWest != null)) {
                      return s.bounds = b;
                    }
                  });
                };
              })(this);
              init = (function(_this) {
                return function() {
                  fit();
                  _this.removeEvents(myListeners);
                  myListeners.push(google.maps.event.addListener(gObject, 'dragstart', function() {
                    return dragging = true;
                  }));
                  myListeners.push(google.maps.event.addListener(gObject, 'dragend', function() {
                    dragging = false;
                    return updateBounds();
                  }));
                  return myListeners.push(google.maps.event.addListener(gObject, 'bounds_changed', function() {
                    if (dragging) {
                      return;
                    }
                    return updateBounds();
                  }));
                };
              })(this);
              clear = (function(_this) {
                return function() {
                  _this.removeEvents(myListeners);
                  if (listeners != null) {
                    _this.removeEvents(listeners);
                  }
                  return gObject.setMap(null);
                };
              })(this);
              if (bounds != null) {
                init();
              }
              this.scope.$watch('bounds', (function(newValue, oldValue) {
                var isNew;
                if (_.isEqual(newValue, oldValue) && (bounds != null) || dragging) {
                  return;
                }
                settingBoundsFromScope = true;
                if (newValue == null) {
                  clear();
                  return;
                }
                if (bounds == null) {
                  isNew = true;
                } else {
                  fit();
                }
                createBounds();
                gObject.setBounds(bounds);
                settingBoundsFromScope = false;
                if (isNew && (bounds != null)) {
                  return init();
                }
              }), true);
              this.setMyOptions = (function(_this) {
                return function(newVals, oldVals) {
                  if (!_.isEqual(newVals, oldVals)) {
                    if ((bounds != null) && (newVals != null)) {
                      return gObject.setOptions(_this.buildOpts(bounds));
                    }
                  }
                };
              })(this);
              this.props.push('bounds');
              this.watchProps(this.props);
              if (this.attrs.events != null) {
                listeners = this.setEvents(gObject, this.scope, this.scope);
                this.scope.$watch('events', (function(_this) {
                  return function(newValue, oldValue) {
                    if (!_.isEqual(newValue, oldValue)) {
                      if (listeners != null) {
                        _this.removeEvents(listeners);
                      }
                      return listeners = _this.setEvents(gObject, _this.scope, _this.scope);
                    }
                  };
                })(this));
              }
              this.scope.$on('$destroy', function() {
                return clear();
              });
              $log.info(this);
            }

            return RectangleParentModel;

          })(Builder);
        }
      ]);

    }).call(this);
    ;
    /*global angular:true, google:true */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.parent').factory('uiGmapSearchBoxParentModel', [
        'uiGmapBaseObject', 'uiGmapLogger', 'uiGmapEventsHelper', function(BaseObject, Logger, EventsHelper) {
          var SearchBoxParentModel;
          SearchBoxParentModel = (function(superClass) {
            extend(SearchBoxParentModel, superClass);

            SearchBoxParentModel.include(EventsHelper);

            function SearchBoxParentModel(scope, element, attrs, gMap, ctrlPosition, template, $log) {
              var controlDiv;
              this.scope = scope;
              this.element = element;
              this.attrs = attrs;
              this.gMap = gMap;
              this.ctrlPosition = ctrlPosition;
              this.template = template;
              this.$log = $log != null ? $log : Logger;
              this.setVisibility = bind(this.setVisibility, this);
              this.getBounds = bind(this.getBounds, this);
              this.setBounds = bind(this.setBounds, this);
              this.createSearchBox = bind(this.createSearchBox, this);
              this.addToParentDiv = bind(this.addToParentDiv, this);
              this.addAsMapControl = bind(this.addAsMapControl, this);
              this.init = bind(this.init, this);
              if (this.attrs.template == null) {
                this.$log.error('template attribute for the search-box directive is mandatory. Places Search Box creation aborted!!');
                return;
              }
              if (angular.isUndefined(this.scope.options)) {
                this.scope.options = {};
                this.scope.options.visible = true;
              }
              if (angular.isUndefined(this.scope.options.visible)) {
                this.scope.options.visible = true;
              }
              if (angular.isUndefined(this.scope.options.autocomplete)) {
                this.scope.options.autocomplete = false;
              }
              this.visible = this.scope.options.visible;
              this.autocomplete = this.scope.options.autocomplete;
              controlDiv = angular.element('<div></div>');
              controlDiv.append(this.template);
              this.input = controlDiv.find('input')[0];
              this.init();
            }

            SearchBoxParentModel.prototype.init = function() {
              this.createSearchBox();
              this.scope.$watch('options', (function(_this) {
                return function(newValue, oldValue) {
                  if (angular.isObject(newValue)) {
                    if (newValue.bounds != null) {
                      _this.setBounds(newValue.bounds);
                    }
                    if (newValue.visible != null) {
                      if (_this.visible !== newValue.visible) {
                        return _this.setVisibility(newValue.visible);
                      }
                    }
                  }
                };
              })(this), true);
              if (this.attrs.parentdiv != null) {
                this.addToParentDiv();
              } else {
                this.addAsMapControl();
              }
              if (!this.visible) {
                this.setVisibility(this.visible);
              }
              if (this.autocomplete) {
                this.listener = google.maps.event.addListener(this.gObject, 'place_changed', (function(_this) {
                  return function() {
                    return _this.places = _this.gObject.getPlace();
                  };
                })(this));
              } else {
                this.listener = google.maps.event.addListener(this.gObject, 'places_changed', (function(_this) {
                  return function() {
                    return _this.places = _this.gObject.getPlaces();
                  };
                })(this));
              }
              this.listeners = this.setEvents(this.gObject, this.scope, this.scope);
              this.$log.info(this);
              this.scope.$on('$stateChangeSuccess', (function(_this) {
                return function() {
                  if (_this.attrs.parentdiv != null) {
                    return _this.addToParentDiv();
                  }
                };
              })(this));
              return this.scope.$on('$destroy', (function(_this) {
                return function() {
                  return _this.gObject = null;
                };
              })(this));
            };

            SearchBoxParentModel.prototype.addAsMapControl = function() {
              return this.gMap.controls[google.maps.ControlPosition[this.ctrlPosition]].push(this.input);
            };

            SearchBoxParentModel.prototype.addToParentDiv = function() {
              var ref;
              this.parentDiv = angular.element(document.getElementById(this.scope.parentdiv));
              if ((ref = this.parentDiv) != null ? ref.length : void 0) {
                return this.parentDiv.append(this.input);
              }
            };

            SearchBoxParentModel.prototype.createSearchBox = function() {
              if (this.autocomplete) {
                return this.gObject = new google.maps.places.Autocomplete(this.input, this.scope.options);
              } else {
                return this.gObject = new google.maps.places.SearchBox(this.input, this.scope.options);
              }
            };

            SearchBoxParentModel.prototype.setBounds = function(bounds) {
              if (angular.isUndefined(bounds.isEmpty)) {
                this.$log.error('Error: SearchBoxParentModel setBounds. Bounds not an instance of LatLngBounds.');
              } else {
                if (bounds.isEmpty() === false) {
                  if (this.gObject != null) {
                    return this.gObject.setBounds(bounds);
                  }
                }
              }
            };

            SearchBoxParentModel.prototype.getBounds = function() {
              return this.gObject.getBounds();
            };

            SearchBoxParentModel.prototype.setVisibility = function(val) {
              if (this.attrs.parentdiv != null) {
                if (val === false) {
                  this.parentDiv.addClass("ng-hide");
                } else {
                  this.parentDiv.removeClass("ng-hide");
                }
              } else {
                if (val === false) {
                  this.gMap.controls[google.maps.ControlPosition[this.ctrlPosition]].clear();
                } else {
                  this.gMap.controls[google.maps.ControlPosition[this.ctrlPosition]].push(this.input);
                }
              }
              return this.visible = val;
            };

            return SearchBoxParentModel;

          })(BaseObject);
          return SearchBoxParentModel;
        }
      ]);

    }).call(this);
    ;
    /*global _,angular */

    /*
    	WindowsChildModel generator where there are many ChildModels to a parent.
     */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api.models.parent').factory('uiGmapWindowsParentModel', [
        'uiGmapIWindowParentModel', 'uiGmapModelsWatcher', 'uiGmapPropMap', 'uiGmapWindowChildModel', 'uiGmapLinked', 'uiGmap_async', 'uiGmapLogger', '$timeout', '$compile', '$http', '$templateCache', '$interpolate', 'uiGmapPromise', 'uiGmapIWindow', 'uiGmapGmapUtil', function(IWindowParentModel, ModelsWatcher, PropMap, WindowChildModel, Linked, _async, $log, $timeout, $compile, $http, $templateCache, $interpolate, uiGmapPromise, IWindow, GmapUtil) {
          var WindowsParentModel;
          WindowsParentModel = (function(superClass) {
            extend(WindowsParentModel, superClass);

            WindowsParentModel.include(ModelsWatcher);

            function WindowsParentModel(scope, element, attrs, ctrls, gMap1, markersScope) {
              this.gMap = gMap1;
              this.markersScope = markersScope;
              this.modelKeyComparison = bind(this.modelKeyComparison, this);
              this.interpolateContent = bind(this.interpolateContent, this);
              this.setChildScope = bind(this.setChildScope, this);
              this.createWindow = bind(this.createWindow, this);
              this.setContentKeys = bind(this.setContentKeys, this);
              this.pieceMeal = bind(this.pieceMeal, this);
              this.createAllNew = bind(this.createAllNew, this);
              this.watchIdKey = bind(this.watchIdKey, this);
              this.createChildScopes = bind(this.createChildScopes, this);
              this.watchOurScope = bind(this.watchOurScope, this);
              this.watchDestroy = bind(this.watchDestroy, this);
              this.onDestroy = bind(this.onDestroy, this);
              this.rebuildAll = bind(this.rebuildAll, this);
              this.doINeedToWipe = bind(this.doINeedToWipe, this);
              this.watchModels = bind(this.watchModels, this);
              this.go = bind(this.go, this);
              WindowsParentModel.__super__.constructor.call(this, scope, element, attrs, ctrls, $timeout, $compile, $http, $templateCache);
              this["interface"] = IWindow;
              this.plurals = new PropMap();
              _.each(IWindow.scopeKeys, (function(_this) {
                return function(name) {
                  return _this[name + 'Key'] = void 0;
                };
              })(this));
              this.linked = new Linked(scope, element, attrs, ctrls);
              this.contentKeys = void 0;
              this.isIconVisibleOnClick = void 0;
              this.firstTime = true;
              this.firstWatchModels = true;
              this.$log.info(self);
              this.parentScope = void 0;
              this.go(scope);
            }

            WindowsParentModel.prototype.go = function(scope) {
              this.watchOurScope(scope);
              this.doRebuildAll = this.scope.doRebuildAll != null ? this.scope.doRebuildAll : false;
              scope.$watch('doRebuildAll', (function(_this) {
                return function(newValue, oldValue) {
                  if (newValue !== oldValue) {
                    return _this.doRebuildAll = newValue;
                  }
                };
              })(this));
              return this.createChildScopes();
            };

            WindowsParentModel.prototype.watchModels = function(scope) {
              var itemToWatch;
              itemToWatch = this.markersScope != null ? 'pluralsUpdate' : 'models';
              return scope.$watch(itemToWatch, (function(_this) {
                return function(newValue, oldValue) {
                  var doScratch;
                  if (!_.isEqual(newValue, oldValue) || _this.firstWatchModels) {
                    _this.firstWatchModels = false;
                    if (_this.doRebuildAll || _this.doINeedToWipe(scope.models)) {
                      return _this.rebuildAll(scope, true, true);
                    } else {
                      doScratch = _this.plurals.length === 0;
                      if (_this.existingPieces != null) {
                        return _.last(_this.existingPieces._content).then(function() {
                          return _this.createChildScopes(doScratch);
                        });
                      } else {
                        return _this.createChildScopes(doScratch);
                      }
                    }
                  }
                };
              })(this), true);
            };

            WindowsParentModel.prototype.doINeedToWipe = function(newValue) {
              var newValueIsEmpty;
              newValueIsEmpty = newValue != null ? newValue.length === 0 : true;
              return this.plurals.length > 0 && newValueIsEmpty;
            };

            WindowsParentModel.prototype.rebuildAll = function(scope, doCreate, doDelete) {
              return this.onDestroy(doDelete).then((function(_this) {
                return function() {
                  if (doCreate) {
                    return _this.createChildScopes();
                  }
                };
              })(this));
            };

            WindowsParentModel.prototype.onDestroy = function(scope) {
              WindowsParentModel.__super__.onDestroy.call(this, this.scope);
              return _async.promiseLock(this, uiGmapPromise.promiseTypes["delete"], void 0, void 0, (function(_this) {
                return function() {
                  return _async.each(_this.plurals.values(), function(child) {
                    return child.destroy(true);
                  }, _async.chunkSizeFrom(_this.scope.cleanchunk, false)).then(function() {
                    var ref;
                    return (ref = _this.plurals) != null ? ref.removeAll() : void 0;
                  });
                };
              })(this));
            };

            WindowsParentModel.prototype.watchDestroy = function(scope) {
              return scope.$on('$destroy', (function(_this) {
                return function() {
                  _this.firstWatchModels = true;
                  _this.firstTime = true;
                  return _this.rebuildAll(scope, false, true);
                };
              })(this));
            };

            WindowsParentModel.prototype.watchOurScope = function(scope) {
              return _.each(IWindow.scopeKeys, (function(_this) {
                return function(name) {
                  var nameKey;
                  nameKey = name + 'Key';
                  return _this[nameKey] = typeof scope[name] === 'function' ? scope[name]() : scope[name];
                };
              })(this));
            };

            WindowsParentModel.prototype.createChildScopes = function(isCreatingFromScratch) {
              var modelsNotDefined, ref, ref1;
              Eif (isCreatingFromScratch == null) {
                isCreatingFromScratch = true;
              }

              /*
              being that we cannot tell the difference in Key String vs. a normal value string (TemplateUrl)
              we will assume that all scope values are string expressions either pointing to a key (propName) or using
              'self' to point the model as container/object of interest.

              This may force redundant information into the model, but this appears to be the most flexible approach.
               */
              this.isIconVisibleOnClick = true;
              Iif (angular.isDefined(this.linked.attrs.isiconvisibleonclick)) {
                this.isIconVisibleOnClick = this.linked.scope.isIconVisibleOnClick;
              }
              modelsNotDefined = angular.isUndefined(this.linked.scope.models);
              Eif (modelsNotDefined && (this.markersScope === void 0 || (((ref = this.markersScope) != null ? ref.plurals : void 0) === void 0 || ((ref1 = this.markersScope) != null ? ref1.models : void 0) === void 0))) {
                this.$log.error('No models to create windows from! Need direct models or models derived from markers!');
                return;
              }
              if (this.gMap != null) {
                if (this.linked.scope.models != null) {
                  this.watchIdKey(this.linked.scope);
                  if (isCreatingFromScratch) {
                    return this.createAllNew(this.linked.scope, false);
                  } else {
                    return this.pieceMeal(this.linked.scope, false);
                  }
                } else {
                  this.parentScope = this.markersScope;
                  this.watchIdKey(this.parentScope);
                  if (isCreatingFromScratch) {
                    return this.createAllNew(this.markersScope, true, 'plurals', false);
                  } else {
                    return this.pieceMeal(this.markersScope, true, 'plurals', false);
                  }
                }
              }
            };

            WindowsParentModel.prototype.watchIdKey = function(scope) {
              this.setIdKey(scope);
              return scope.$watch('idKey', (function(_this) {
                return function(newValue, oldValue) {
                  if (newValue !== oldValue && (newValue == null)) {
                    _this.idKey = newValue;
                    return _this.rebuildAll(scope, true, true);
                  }
                };
              })(this));
            };

            WindowsParentModel.prototype.createAllNew = function(scope, hasGMarker, modelsPropToIterate, isArray) {
              var maybeCanceled;
              if (modelsPropToIterate == null) {
                modelsPropToIterate = 'models';
              }
              if (isArray == null) {
                isArray = false;
              }
              if (this.firstTime) {
                this.watchModels(scope);
                this.watchDestroy(scope);
              }
              this.setContentKeys(scope.models);
              if (this.didQueueInitPromise(this, scope)) {
                return;
              }
              maybeCanceled = null;
              return _async.promiseLock(this, uiGmapPromise.promiseTypes.create, 'createAllNew', (function(canceledMsg) {
                return maybeCanceled = canceledMsg;
              }), (function(_this) {
                return function() {
                  return _async.each(scope.models, function(model) {
                    var gMarker, ref;
                    gMarker = hasGMarker ? (ref = _this.getItem(scope, modelsPropToIterate, model[_this.idKey])) != null ? ref.gObject : void 0 : void 0;
                    if (!maybeCanceled) {
                      if (!gMarker && _this.markersScope) {
                        $log.error('Unable to get gMarker from markersScope!');
                      }
                      _this.createWindow(model, gMarker, _this.gMap);
                    }
                    return maybeCanceled;
                  }, _async.chunkSizeFrom(scope.chunk)).then(function() {
                    return _this.firstTime = false;
                  });
                };
              })(this));
            };

            WindowsParentModel.prototype.pieceMeal = function(scope, hasGMarker, modelsPropToIterate, isArray) {
              var maybeCanceled, payload;
              if (modelsPropToIterate == null) {
                modelsPropToIterate = 'models';
              }
              if (isArray == null) {
                isArray = true;
              }
              if (scope.$$destroyed) {
                return;
              }
              maybeCanceled = null;
              payload = null;
              if ((scope != null) && this.modelsLength() && this.plurals.length) {
                return _async.promiseLock(this, uiGmapPromise.promiseTypes.update, 'pieceMeal', (function(canceledMsg) {
                  return maybeCanceled = canceledMsg;
                }), (function(_this) {
                  return function() {
                    return uiGmapPromise.promise((function() {
                      return _this.figureOutState(_this.idKey, scope, _this.plurals, _this.modelKeyComparison);
                    })).then(function(state) {
                      payload = state;
                      return _async.each(payload.removals, function(child) {
                        if (child != null) {
                          _this.plurals.remove(child.id);
                          if (child.destroy != null) {
                            child.destroy(true);
                          }
                          return maybeCanceled;
                        }
                      }, _async.chunkSizeFrom(scope.chunk));
                    }).then(function() {
                      return _async.each(payload.adds, function(modelToAdd) {
                        var gMarker, ref;
                        gMarker = (ref = _this.getItem(scope, modelsPropToIterate, modelToAdd[_this.idKey])) != null ? ref.gObject : void 0;
                        if (!gMarker) {
                          throw 'Gmarker undefined';
                        }
                        _this.createWindow(modelToAdd, gMarker, _this.gMap);
                        return maybeCanceled;
                      });
                    }).then(function() {
                      return _async.each(payload.updates, function(update) {
                        _this.updateChild(update.child, update.model);
                        return maybeCanceled;
                      }, _async.chunkSizeFrom(scope.chunk));
                    });
                  };
                })(this));
              } else {
                $log.debug('pieceMeal: rebuildAll');
                return this.rebuildAll(this.scope, true, true);
              }
            };

            WindowsParentModel.prototype.setContentKeys = function(models) {
              if (this.modelsLength(models)) {
                return this.contentKeys = Object.keys(models[0]);
              }
            };

            WindowsParentModel.prototype.createWindow = function(model, gMarker, gMap) {
              var child, childScope, fakeElement, opts, ref, ref1;
              childScope = this.linked.scope.$new(false);
              this.setChildScope(childScope, model);
              childScope.$watch('model', (function(_this) {
                return function(newValue, oldValue) {
                  if (newValue !== oldValue) {
                    return _this.setChildScope(childScope, newValue);
                  }
                };
              })(this), true);
              fakeElement = {
                html: (function(_this) {
                  return function() {
                    return _this.interpolateContent(_this.linked.element.html(), model);
                  };
                })(this)
              };
              this.DEFAULTS = this.scopeOrModelVal(this.optionsKey, this.scope, model) || {};
              opts = this.createWindowOptions(gMarker, childScope, fakeElement.html(), this.DEFAULTS);
              child = new WindowChildModel({
                model: model,
                scope: childScope,
                opts: opts,
                isIconVisibleOnClick: this.isIconVisibleOnClick,
                gMap: gMap,
                markerScope: (ref = this.markersScope) != null ? (ref1 = ref.plurals.get(model[this.idKey])) != null ? ref1.scope : void 0 : void 0,
                element: fakeElement,
                needToManualDestroy: false,
                markerIsVisibleAfterWindowClose: true,
                isScopeModel: true
              });
              if (model[this.idKey] == null) {
                this.$log.error('Window model has no id to assign a child to. This is required for performance. Please assign id, or redirect id to a different key.');
                return;
              }
              this.plurals.put(model[this.idKey], child);
              return child;
            };

            WindowsParentModel.prototype.setChildScope = function(childScope, model) {
              _.each(IWindow.scopeKeys, (function(_this) {
                return function(name) {
                  var nameKey, newValue;
                  nameKey = name + 'Key';
                  newValue = _this[nameKey] === 'self' ? model : model[_this[nameKey]];
                  if (newValue !== childScope[name]) {
                    return childScope[name] = newValue;
                  }
                };
              })(this));
              return childScope.model = model;
            };

            WindowsParentModel.prototype.interpolateContent = function(content, model) {
              var exp, i, interpModel, key, len, ref;
              if (this.contentKeys === void 0 || this.contentKeys.length === 0) {
                return;
              }
              exp = $interpolate(content);
              interpModel = {};
              ref = this.contentKeys;
              for (i = 0, len = ref.length; i < len; i++) {
                key = ref[i];
                interpModel[key] = model[key];
              }
              return exp(interpModel);
            };

            WindowsParentModel.prototype.modelKeyComparison = function(model1, model2) {
              var isEqual, scope;
              scope = this.scope.coords != null ? this.scope : this.parentScope;
              if (scope == null) {
                throw 'No scope or parentScope set!';
              }
              isEqual = GmapUtil.equalCoords(this.evalModelHandle(model1, scope.coords), this.evalModelHandle(model2, scope.coords));
              if (!isEqual) {
                return isEqual;
              }
              isEqual = _.every(_.without(this["interface"].scopeKeys, 'coords'), (function(_this) {
                return function(k) {
                  return _this.evalModelHandle(model1, scope[k]) === _this.evalModelHandle(model2, scope[k]);
                };
              })(this));
              return isEqual;
            };

            return WindowsParentModel;

          })(IWindowParentModel);
          return WindowsParentModel;
        }
      ]);

    }).call(this);
    ;
    /*global angular, _ */

    (function() {
      angular.module("uiGmapgoogle-maps.directives.api").factory("uiGmapCircle", [
        "uiGmapICircle", "uiGmapCircleParentModel", function(ICircle, CircleParentModel) {
          return _.extend(ICircle, {
            link: function(scope, element, attrs, mapCtrl) {
              return mapCtrl.getScope().deferred.promise.then(function(gMap) {
                return new CircleParentModel(scope, element, attrs, gMap);
              });
            }
          });
        }
      ]);

    }).call(this);
    ;(function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module("uiGmapgoogle-maps.directives.api").factory("uiGmapControl", [
        "uiGmapIControl", "$http", "$templateCache", "$compile", "$controller", 'uiGmapGoogleMapApi', function(IControl, $http, $templateCache, $compile, $controller, GoogleMapApi) {
          var Control;
          return Control = (function(superClass) {
            extend(Control, superClass);

            function Control() {
              this.link = bind(this.link, this);
              Control.__super__.constructor.call(this);
            }

            Control.prototype.transclude = true;

            Control.prototype.link = function(scope, element, attrs, ctrl, transclude) {
              return GoogleMapApi.then((function(_this) {
                return function(maps) {
                  var hasTranscludedContent, index, position;
                  hasTranscludedContent = angular.isUndefined(scope.template);
                  index = angular.isDefined(scope.index && !isNaN(parseInt(scope.index))) ? parseInt(scope.index) : void 0;
                  position = angular.isDefined(scope.position) ? scope.position.toUpperCase().replace(/-/g, '_') : 'TOP_CENTER';
                  if (!maps.ControlPosition[position]) {
                    _this.$log.error('mapControl: invalid position property');
                    return;
                  }
                  return IControl.mapPromise(scope, ctrl).then(function(map) {
                    var control, controlDiv, pushControl;
                    control = void 0;
                    controlDiv = angular.element('<div></div>');
                    pushControl = function(map, control, index) {
                      Iif (index) {
                        control[0].index = index;
                      }
                      return map.controls[google.maps.ControlPosition[position]].push(control[0]);
                    };
                    Iif (hasTranscludedContent) {
                      return transclude(function(transcludeEl) {
                        controlDiv.append(transcludeEl);
                        return pushControl(map, controlDiv.children(), index);
                      });
                    } else {
                      return $http.get(scope.template, {
                        cache: $templateCache
                      }).then(function(arg) {
                        var data, templateCtrl, templateScope;
                        data = arg.data;
                        templateScope = scope.$new();
                        controlDiv.append(data);
                        Iif (angular.isDefined(scope.controller)) {
                          templateCtrl = $controller(scope.controller, {
                            $scope: templateScope
                          });
                          controlDiv.children().data('$ngControllerController', templateCtrl);
                        }
                        return control = $compile(controlDiv.children())(templateScope);
                      })["catch"](function(error) {
                        return _this.$log.error('mapControl: template could not be found');
                      }).then(function() {
                        return pushControl(map, control, index);
                      });
                    }
                  });
                };
              })(this));
            };

            return Control;

          })(IControl);
        }
      ]);

    }).call(this);
    ;
    /*globals angular, _ */

    (function() {
      angular.module('uiGmapgoogle-maps.directives.api').service('uiGmapDragZoom', [
        'uiGmapCtrlHandle', 'uiGmapPropertyAction', function(CtrlHandle, PropertyAction) {
          return {
            restrict: 'EMA',
            transclude: true,
            template: '<div class="angular-google-map-dragzoom" ng-transclude style="display: none"></div>',
            require: '^' + 'uiGmapGoogleMap',
            scope: {
              keyboardkey: '=',
              options: '=',
              spec: '='
            },
            controller: [
              '$scope', '$element', function($scope, $element) {
                $scope.ctrlType = 'uiGmapDragZoom';
                return _.extend(this, CtrlHandle.handle($scope, $element));
              }
            ],
            link: function(scope, element, attrs, ctrl) {
              return CtrlHandle.mapPromise(scope, ctrl).then(function(map) {
                var enableKeyDragZoom, setKeyAction, setOptionsAction;
                enableKeyDragZoom = function(opts) {
                  return map.enableKeyDragZoom(opts);
                };
                setKeyAction = new PropertyAction(function(key, newVal) {
                  if (newVal) {
                    return enableKeyDragZoom({
                      key: newVal
                    });
                  } else {
                    return enableKeyDragZoom();
                  }
                });
                setOptionsAction = new PropertyAction(function(key, newVal) {
                  if (newVal) {
                    return enableKeyDragZoom(newVal);
                  }
                });
                scope.$watch('keyboardkey', setKeyAction.sic('keyboardkey'));
                setKeyAction.sic(scope.keyboardkey);
                scope.$watch('options', setOptionsAction.sic('options'));
                return setOptionsAction.sic(scope.options);
              });
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module("uiGmapgoogle-maps.directives.api").factory("uiGmapDrawingManager", [
        "uiGmapIDrawingManager", "uiGmapDrawingManagerParentModel", function(IDrawingManager, DrawingManagerParentModel) {
          return _.extend(IDrawingManager, {
            link: function(scope, element, attrs, mapCtrl) {
              return mapCtrl.getScope().deferred.promise.then(function(map) {
                return new DrawingManagerParentModel(scope, element, attrs, map);
              });
            }
          });
        }
      ]);

    }).call(this);
    ;
    /*
      - Link up Polygons to be sent back to a controller
      - inject the draw function into a controllers scope so that controller can call the directive to draw on demand
      - draw function creates the DrawFreeHandChildModel which manages itself
     */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapApiFreeDrawPolygons', [
        'uiGmapLogger', 'uiGmapBaseObject', 'uiGmapCtrlHandle', 'uiGmapDrawFreeHandChildModel', 'uiGmapLodash', function($log, BaseObject, CtrlHandle, DrawFreeHandChildModel, uiGmapLodash) {
          var FreeDrawPolygons;
          return FreeDrawPolygons = (function(superClass) {
            extend(FreeDrawPolygons, superClass);

            function FreeDrawPolygons() {
              this.link = bind(this.link, this);
              return FreeDrawPolygons.__super__.constructor.apply(this, arguments);
            }

            FreeDrawPolygons.include(CtrlHandle);

            FreeDrawPolygons.prototype.restrict = 'EMA';

            FreeDrawPolygons.prototype.replace = true;

            FreeDrawPolygons.prototype.require = '^' + 'uiGmapGoogleMap';

            FreeDrawPolygons.prototype.scope = {
              polygons: '=',
              draw: '='
            };

            FreeDrawPolygons.prototype.link = function(scope, element, attrs, ctrl) {
              return this.mapPromise(scope, ctrl).then((function(_this) {
                return function(map) {
                  var freeHand, listener;
                  if (!scope.polygons) {
                    return $log.error('No polygons to bind to!');
                  }
                  if (!_.isArray(scope.polygons)) {
                    return $log.error('Free Draw Polygons must be of type Array!');
                  }
                  freeHand = new DrawFreeHandChildModel(map, ctrl.getScope());
                  listener = void 0;
                  return scope.draw = function() {
                    if (typeof listener === "function") {
                      listener();
                    }
                    return freeHand.engage(scope.polygons).then(function() {
                      var firstTime;
                      firstTime = true;
                      return listener = scope.$watchCollection('polygons', function(newValue, oldValue) {
                        var removals;
                        if (firstTime || newValue === oldValue) {
                          firstTime = false;
                          return;
                        }
                        removals = uiGmapLodash.differenceObjects(oldValue, newValue);
                        return removals.forEach(function(p) {
                          return p.setMap(null);
                        });
                      });
                    });
                  };
                };
              })(this));
            };

            return FreeDrawPolygons;

          })(BaseObject);
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module("uiGmapgoogle-maps.directives.api").service("uiGmapICircle", [
        function() {
          return {
            restrict: "EA",
            replace: true,
            require: '^' + 'uiGmapGoogleMap',
            scope: {
              center: "=center",
              radius: "=radius",
              stroke: "=stroke",
              fill: "=fill",
              clickable: "=",
              draggable: "=",
              editable: "=",
              geodesic: "=",
              icons: "=icons",
              visible: "=",
              events: "=",
              control: "=",
              zIndex: "=zindex"
            }
          };
        }
      ]);

    }).call(this);
    ;
    /*
     - interface for all controls to derive from
     - to enforce a minimum set of requirements
    	- attributes
    		- template
    		- position
    		- controller
    		- index
     */

    (function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module("uiGmapgoogle-maps.directives.api").factory("uiGmapIControl", [
        "uiGmapBaseObject", "uiGmapLogger", "uiGmapCtrlHandle", function(BaseObject, Logger, CtrlHandle) {
          var IControl;
          return IControl = (function(superClass) {
            extend(IControl, superClass);

            IControl.extend(CtrlHandle);

            function IControl() {
              this.restrict = 'EA';
              this.replace = true;
              this.require = '^' + 'uiGmapGoogleMap';
              this.scope = {
                template: '@template',
                position: '@position',
                controller: '@controller',
                index: '@index'
              };
              this.$log = Logger;
            }

            IControl.prototype.link = function(scope, element, attrs, ctrl) {
              throw new Error("Not implemented!!");
            };

            return IControl;

          })(BaseObject);
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api').service('uiGmapIDrawingManager', [
        function() {
          return {
            restrict: 'EA',
            replace: true,
            require: '^' + 'uiGmapGoogleMap',
            scope: {
              "static": '@',
              control: '=',
              options: '=',
              events: '='
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapIMarker', [
        'uiGmapBaseObject', 'uiGmapCtrlHandle', function(BaseObject, CtrlHandle) {
          var IMarker;
          return IMarker = (function(superClass) {
            extend(IMarker, superClass);

            IMarker.scope = {
              coords: '=coords',
              icon: '=icon',
              click: '&click',
              options: '=options',
              events: '=events',
              fit: '=fit',
              idKey: '=idkey',
              control: '=control'
            };

            IMarker.scopeKeys = _.keys(IMarker.scope);

            IMarker.keys = IMarker.scopeKeys;

            IMarker.extend(CtrlHandle);

            function IMarker() {
              this.restrict = 'EMA';
              this.require = '^' + 'uiGmapGoogleMap';
              this.priority = -1;
              this.transclude = true;
              this.replace = true;
              this.scope = _.extend(this.scope || {}, IMarker.scope);
            }

            return IMarker;

          })(BaseObject);
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapIPolygon', [
        'uiGmapGmapUtil', 'uiGmapBaseObject', 'uiGmapLogger', 'uiGmapCtrlHandle', function(GmapUtil, BaseObject, Logger, CtrlHandle) {
          var IPolygon;
          return IPolygon = (function(superClass) {
            extend(IPolygon, superClass);

            IPolygon.scope = {
              path: '=path',
              stroke: '=stroke',
              clickable: '=',
              draggable: '=',
              editable: '=',
              geodesic: '=',
              fill: '=',
              icons: '=icons',
              visible: '=',
              "static": '=',
              events: '=',
              zIndex: '=zindex',
              fit: '=',
              control: '=control'
            };

            IPolygon.scopeKeys = _.keys(IPolygon.scope);

            IPolygon.include(GmapUtil);

            IPolygon.extend(CtrlHandle);

            function IPolygon() {}

            IPolygon.prototype.restrict = 'EMA';

            IPolygon.prototype.replace = true;

            IPolygon.prototype.require = '^' + 'uiGmapGoogleMap';

            IPolygon.prototype.scope = IPolygon.scope;

            IPolygon.prototype.DEFAULTS = {};

            IPolygon.prototype.$log = Logger;

            return IPolygon;

          })(BaseObject);
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapIPolyline', [
        'uiGmapGmapUtil', 'uiGmapBaseObject', 'uiGmapLogger', 'uiGmapCtrlHandle', function(GmapUtil, BaseObject, Logger, CtrlHandle) {
          var IPolyline;
          return IPolyline = (function(superClass) {
            extend(IPolyline, superClass);

            IPolyline.scope = {
              path: '=',
              stroke: '=',
              clickable: '=',
              draggable: '=',
              editable: '=',
              geodesic: '=',
              icons: '=',
              visible: '=',
              "static": '=',
              fit: '=',
              events: '=',
              zIndex: '=zindex'
            };

            IPolyline.scopeKeys = _.keys(IPolyline.scope);

            IPolyline.include(GmapUtil);

            IPolyline.extend(CtrlHandle);

            function IPolyline() {}

            IPolyline.prototype.restrict = 'EMA';

            IPolyline.prototype.replace = true;

            IPolyline.prototype.require = '^' + 'uiGmapGoogleMap';

            IPolyline.prototype.scope = IPolyline.scope;

            IPolyline.prototype.DEFAULTS = {};

            IPolyline.prototype.$log = Logger;

            return IPolyline;

          })(BaseObject);
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api').service('uiGmapIRectangle', [
        function() {
          'use strict';
          return {
            restrict: 'EMA',
            require: '^' + 'uiGmapGoogleMap',
            replace: true,
            scope: {
              bounds: '=',
              stroke: '=',
              clickable: '=',
              draggable: '=',
              editable: '=',
              fill: '=',
              visible: '=',
              events: '='
            }
          };
        }
      ]);

    }).call(this);
    ;(function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapIWindow', [
        'uiGmapBaseObject', 'uiGmapChildEvents', 'uiGmapCtrlHandle', function(BaseObject, ChildEvents, CtrlHandle) {
          var IWindow;
          return IWindow = (function(superClass) {
            extend(IWindow, superClass);

            IWindow.scope = {
              coords: '=coords',
              template: '=template',
              templateUrl: '=templateurl',
              templateParameter: '=templateparameter',
              isIconVisibleOnClick: '=isiconvisibleonclick',
              closeClick: '&closeclick',
              options: '=options',
              control: '=control',
              show: '=show'
            };

            IWindow.scopeKeys = _.keys(IWindow.scope);

            IWindow.include(ChildEvents);

            IWindow.extend(CtrlHandle);

            function IWindow() {
              this.restrict = 'EMA';
              this.template = void 0;
              this.transclude = true;
              this.priority = -100;
              this.require = '^' + 'uiGmapGoogleMap';
              this.replace = true;
              this.scope = _.extend(this.scope || {}, IWindow.scope);
            }

            return IWindow;

          })(BaseObject);
        }
      ]);

    }).call(this);
    ;
    /*globals angular,_,google */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapMap', ['$timeout', '$q', '$log', 'uiGmapGmapUtil', 'uiGmapBaseObject', 'uiGmapCtrlHandle', 'uiGmapIsReady', 'uiGmapuuid', 'uiGmapExtendGWin', 'uiGmapExtendMarkerClusterer', 'uiGmapGoogleMapsUtilV3', 'uiGmapGoogleMapApi', 'uiGmapEventsHelper', 'uiGmapGoogleMapObjectManager', function($timeout, $q, $log, uiGmapGmapUtil, uiGmapBaseObject, uiGmapCtrlHandle, uiGmapIsReady, uiGmapuuid, uiGmapExtendGWin, uiGmapExtendMarkerClusterer, uiGmapGoogleMapsUtilV3, uiGmapGoogleMapApi, uiGmapEventsHelper, uiGmapGoogleMapObjectManager) {
        var DEFAULTS, Map, initializeItems;
        DEFAULTS = void 0;
        initializeItems = [uiGmapGoogleMapsUtilV3, uiGmapExtendGWin, uiGmapExtendMarkerClusterer];
        return Map = (function(superClass) {
          extend(Map, superClass);

          Map.include(uiGmapGmapUtil);

          function Map() {
            this.link = bind(this.link, this);
            var ctrlFn;
            ctrlFn = function($scope) {
              var ctrlObj, retCtrl;
              retCtrl = void 0;
              $scope.$on('$destroy', function() {
                return uiGmapIsReady.decrement();
              });
              ctrlObj = uiGmapCtrlHandle.handle($scope);
              $scope.ctrlType = 'Map';
              $scope.deferred.promise.then(function() {
                return initializeItems.forEach(function(i) {
                  return i.init();
                });
              });
              ctrlObj.getMap = function() {
                return $scope.map;
              };
              retCtrl = _.extend(this, ctrlObj);
              return retCtrl;
            };
            this.controller = ['$scope', ctrlFn];
          }

          Map.prototype.restrict = 'EMA';

          Map.prototype.transclude = true;

          Map.prototype.replace = false;

          Map.prototype.template = "<div class=\"angular-google-map\"><div class=\"angular-google-map-container\">\n</div><div ng-transclude style=\"display: none\"></div></div>";

          Map.prototype.scope = {
            center: '=',
            zoom: '=',
            dragging: '=',
            control: '=',
            options: '=',
            events: '=',
            eventOpts: '=',
            styles: '=',
            bounds: '=',
            update: '='
          };

          Map.prototype.link = function(scope, element, attrs) {
            var listeners;
            listeners = [];
            scope.$on('$destroy', function() {
              uiGmapEventsHelper.removeEvents(listeners);
              Iif (attrs.recycleMapInstance === 'true' && scope.map) {
                uiGmapGoogleMapObjectManager.recycleMapInstance(scope.map);
                return scope.map = null;
              }
            });
            scope.idleAndZoomChanged = false;
            return uiGmapGoogleMapApi.then((function(_this) {
              return function(maps) {
                var _gMap, customListeners, disabledEvents, dragging, el, eventName, getEventHandler, mapOptions, maybeHookToEvent, opts, ref, resolveSpawned, settingFromDirective, spawned, type, updateCenter, zoomPromise;
                DEFAULTS = {
                  mapTypeId: maps.MapTypeId.ROADMAP
                };
                spawned = uiGmapIsReady.spawn();
                resolveSpawned = function() {
                  return spawned.deferred.resolve({
                    instance: spawned.instance,
                    map: _gMap
                  });
                };
                Iif (!angular.isDefined(scope.center) && !angular.isDefined(scope.bounds)) {
                  $log.error('angular-google-maps: a center or bounds property is required');
                  return;
                }
                Iif (!angular.isDefined(scope.center)) {
                  scope.center = new google.maps.LatLngBounds(_this.getCoords(scope.bounds.southwest), _this.getCoords(scope.bounds.northeast)).getCenter();
                }
                Iif (!angular.isDefined(scope.zoom)) {
                  scope.zoom = 10;
                }
                el = angular.element(element);
                el.addClass('angular-google-map');
                opts = {
                  options: {}
                };
                if (attrs.options) {
                  opts.options = scope.options;
                }
                Iif (attrs.styles) {
                  opts.styles = scope.styles;
                }
                Iif (attrs.type) {
                  type = attrs.type.toUpperCase();
                  if (google.maps.MapTypeId.hasOwnProperty(type)) {
                    opts.mapTypeId = google.maps.MapTypeId[attrs.type.toUpperCase()];
                  } else {
                    $log.error("angular-google-maps: invalid map type '" + attrs.type + "'");
                  }
                }
                mapOptions = angular.extend({}, DEFAULTS, opts, {
                  center: _this.getCoords(scope.center),
                  zoom: scope.zoom,
                  bounds: scope.bounds
                });
                Iif (attrs.recycleMapInstance === 'true') {
                  _gMap = uiGmapGoogleMapObjectManager.createMapInstance(el.find('div')[1], mapOptions);
                } else {
                  _gMap = new google.maps.Map(el.find('div')[1], mapOptions);
                }
                _gMap['uiGmap_id'] = uiGmapuuid.generate();
                dragging = false;
                listeners.push(google.maps.event.addListenerOnce(_gMap, 'idle', function() {
                  scope.deferred.resolve(_gMap);
                  return resolveSpawned();
                }));
                disabledEvents = attrs.events && (((ref = scope.events) != null ? ref.blacklist : void 0) != null) ? scope.events.blacklist : [];
                if (_.isString(disabledEvents)) {
                  disabledEvents = [disabledEvents];
                }
                maybeHookToEvent = function(eventName, fn, prefn) {
                  if (!_.includes(disabledEvents, eventName)) {
                    Iif (prefn) {
                      prefn();
                    }
                    return listeners.push(google.maps.event.addListener(_gMap, eventName, function() {
                      var ref1;
                      if (!((ref1 = scope.update) != null ? ref1.lazy : void 0)) {
                        return fn();
                      }
                    }));
                  }
                };
                if (!_.includes(disabledEvents, 'all')) {
                  maybeHookToEvent('dragstart', function() {
                    dragging = true;
                    return scope.$evalAsync(function(s) {
                      if (s.dragging != null) {
                        return s.dragging = dragging;
                      }
                    });
                  });
                  maybeHookToEvent('dragend', function() {
                    dragging = false;
                    return scope.$evalAsync(function(s) {
                      if (s.dragging != null) {
                        return s.dragging = dragging;
                      }
                    });
                  });
                  updateCenter = function(c, s) {
                    var cLat, cLng;
                    if (c == null) {
                      c = _gMap.center;
                    }
                    if (s == null) {
                      s = scope;
                    }
                    if (!_.includes(disabledEvents, 'center')) {
                      cLat = c.lat();
                      cLng = c.lng();
                      if (angular.isDefined(s.center.type)) {
                        if (s.center.coordinates[1] !== cLat) {
                          s.center.coordinates[1] = cLat;
                        }
                        if (s.center.coordinates[0] !== cLng) {
                          return s.center.coordinates[0] = cLng;
                        }
                      } else {
                        if (s.center.latitude !== cLat) {
                          s.center.latitude = cLat;
                        }
                        if (s.center.longitude !== cLng) {
                          return s.center.longitude = cLng;
                        }
                      }
                    }
                  };
                  settingFromDirective = false;
                  maybeHookToEvent('idle', function() {
                    var b, ne, sw;
                    b = _gMap.getBounds();
                    ne = b.getNorthEast();
                    sw = b.getSouthWest();
                    settingFromDirective = true;
                    return scope.$evalAsync(function(s) {
                      updateCenter();
                      if (!_.isUndefined(s.bounds) && !_.includes(disabledEvents, 'bounds')) {
                        s.bounds.northeast = {
                          latitude: ne.lat(),
                          longitude: ne.lng()
                        };
                        s.bounds.southwest = {
                          latitude: sw.lat(),
                          longitude: sw.lng()
                        };
                      }
                      if (!_.includes(disabledEvents, 'zoom')) {
                        s.zoom = _gMap.zoom;
                        scope.idleAndZoomChanged = !scope.idleAndZoomChanged;
                      }
                      return settingFromDirective = false;
                    });
                  });
                }
                if (angular.isDefined(scope.events) && scope.events !== null && angular.isObject(scope.events)) {
                  getEventHandler = function(eventName) {
                    return function() {
                      return scope.events[eventName].apply(scope, [_gMap, eventName, arguments]);
                    };
                  };
                  customListeners = [];
                  for (eventName in scope.events) {
                    Iif (scope.events.hasOwnProperty(eventName) && angular.isFunction(scope.events[eventName])) {
                      customListeners.push(google.maps.event.addListener(_gMap, eventName, getEventHandler(eventName)));
                    }
                  }
                  listeners.concat(customListeners);
                }
                _gMap.getOptions = function() {
                  return mapOptions;
                };
                scope.map = _gMap;
                if ((attrs.control != null) && (scope.control != null)) {
                  scope.control.refresh = function(maybeCoords) {
                    var coords, ref1, ref2;
                    if (_gMap == null) {
                      return;
                    }
                    if (((typeof google !== "undefined" && google !== null ? (ref1 = google.maps) != null ? (ref2 = ref1.event) != null ? ref2.trigger : void 0 : void 0 : void 0) != null) && (_gMap != null)) {
                      google.maps.event.trigger(_gMap, 'resize');
                    }
                    if (((maybeCoords != null ? maybeCoords.latitude : void 0) != null) && ((maybeCoords != null ? maybeCoords.longitude : void 0) != null)) {
                      coords = _this.getCoords(maybeCoords);
                      if (_this.isTrue(attrs.pan)) {
                        return _gMap.panTo(coords);
                      } else {
                        return _gMap.setCenter(coords);
                      }
                    }
                  };
                  scope.control.getGMap = function() {
                    return _gMap;
                  };
                  scope.control.getMapOptions = function() {
                    return mapOptions;
                  };
                  scope.control.getCustomEventListeners = function() {
                    return customListeners;
                  };
                  scope.control.removeEvents = function(yourListeners) {
                    return uiGmapEventsHelper.removeEvents(yourListeners);
                  };
                }
                scope.$watch('center', function(newValue, oldValue) {
                  var coords;
                  Eif (newValue === oldValue || settingFromDirective) {
                    return;
                  }
                  coords = _this.getCoords(scope.center);
                  if (coords.lat() === _gMap.center.lat() && coords.lng() === _gMap.center.lng()) {
                    return;
                  }
                  if (!dragging) {
                    if (!_this.validateCoords(newValue)) {
                      $log.error("Invalid center for newValue: " + (JSON.stringify(newValue)));
                    }
                    if (_this.isTrue(attrs.pan) && scope.zoom === _gMap.zoom) {
                      return _gMap.panTo(coords);
                    } else {
                      return _gMap.setCenter(coords);
                    }
                  }
                }, true);
                zoomPromise = null;
                scope.$watch('zoom', function(newValue, oldValue) {
                  var ref1, ref2;
                  Iif (newValue == null) {
                    return;
                  }
                  Eif (_.isEqual(newValue, oldValue) || (_gMap != null ? _gMap.getZoom() : void 0) === (scope != null ? scope.zoom : void 0) || settingFromDirective) {
                    return;
                  }
                  if (zoomPromise != null) {
                    $timeout.cancel(zoomPromise);
                  }
                  return zoomPromise = $timeout(function() {
                    return _gMap.setZoom(newValue);
                  }, ((ref1 = scope.eventOpts) != null ? (ref2 = ref1.debounce) != null ? ref2.zoomMs : void 0 : void 0) + 20, false);
                });
                scope.$watch('bounds', function(newValue, oldValue) {
                  var bounds, ne, ref1, ref2, ref3, ref4, sw;
                  Eif (newValue === oldValue) {
                    return;
                  }
                  if (((newValue != null ? (ref1 = newValue.northeast) != null ? ref1.latitude : void 0 : void 0) == null) || ((newValue != null ? (ref2 = newValue.northeast) != null ? ref2.longitude : void 0 : void 0) == null) || ((newValue != null ? (ref3 = newValue.southwest) != null ? ref3.latitude : void 0 : void 0) == null) || ((newValue != null ? (ref4 = newValue.southwest) != null ? ref4.longitude : void 0 : void 0) == null)) {
                    $log.error("Invalid map bounds for new value: " + (JSON.stringify(newValue)));
                    return;
                  }
                  ne = new google.maps.LatLng(newValue.northeast.latitude, newValue.northeast.longitude);
                  sw = new google.maps.LatLng(newValue.southwest.latitude, newValue.southwest.longitude);
                  bounds = new google.maps.LatLngBounds(sw, ne);
                  return _gMap.fitBounds(bounds);
                });
                return ['options', 'styles'].forEach(function(toWatch) {
                  return scope.$watch(toWatch, function(newValue, oldValue) {
                    Eif (_.isEqual(newValue, oldValue)) {
                      return;
                    }
                    if (toWatch === 'options') {
                      opts.options = newValue;
                    } else {
                      opts.options[toWatch] = newValue;
                    }
                    if (_gMap != null) {
                      return _gMap.setOptions(opts);
                    }
                  }, true);
                });
              };
            })(this));
          };

          return Map;

        })(uiGmapBaseObject);
      }]);

    }).call(this);
    ;
    /*global _:true,angular:true */

    (function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module("uiGmapgoogle-maps.directives.api").factory("uiGmapMarker", [
        "uiGmapIMarker", "uiGmapMarkerChildModel", "uiGmapMarkerManager", "uiGmapLogger", function(IMarker, MarkerChildModel, MarkerManager, $log) {
          var Marker;
          return Marker = (function(superClass) {
            extend(Marker, superClass);

            function Marker() {
              Marker.__super__.constructor.call(this);
              this.template = '<span class="angular-google-map-marker" ng-transclude></span>';
              $log.info(this);
            }

            Marker.prototype.controller = [
              '$scope', '$element', function($scope, $element) {
                $scope.ctrlType = 'Marker';
                return _.extend(this, IMarker.handle($scope, $element));
              }
            ];

            Marker.prototype.link = function(scope, element, attrs, ctrl) {
              var mapPromise;
              mapPromise = IMarker.mapPromise(scope, ctrl);
              mapPromise.then(function(gMap) {
                var gManager, keys, m;
                gManager = new MarkerManager(gMap);
                keys = _.object(IMarker.keys, IMarker.keys);
                m = new MarkerChildModel({
                  scope: scope,
                  model: scope,
                  keys: keys,
                  gMap: gMap,
                  doClick: true,
                  gManager: gManager,
                  doDrawSelf: false,
                  trackModel: false
                });
                m.deferred.promise.then(function(gMarker) {
                  return scope.deferred.resolve(gMarker);
                });
                Eif (scope.control != null) {
                  return scope.control.getGMarkers = gManager.getGMarkers;
                }
              });
              return scope.$on('$destroy', function() {
                var gManager;
                if (typeof gManager !== "undefined" && gManager !== null) {
                  gManager.clear();
                }
                return gManager = null;
              });
            };

            return Marker;

          })(IMarker);
        }
      ]);

    }).call(this);
    ;
    /*global _:true,angular:true */

    (function() {
      var extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module("uiGmapgoogle-maps.directives.api").factory("uiGmapMarkers", [
        "uiGmapIMarker", "uiGmapPlural", "uiGmapMarkersParentModel", "uiGmap_sync", "uiGmapLogger", function(IMarker, Plural, MarkersParentModel, _sync, $log) {
          var Markers;
          return Markers = (function(superClass) {
            extend(Markers, superClass);

            function Markers() {
              Markers.__super__.constructor.call(this);
              this.template = '<span class="angular-google-map-markers" ng-transclude></span>';
              Plural.extend(this, {
                doCluster: '=?docluster',
                clusterOptions: '=clusteroptions',
                clusterEvents: '=clusterevents',
                modelsByRef: '=modelsbyref',
                type: '=?type',
                typeOptions: '=?typeoptions',
                typeEvents: '=?typeevents',
                deepComparison: '=?deepcomparison'
              });
              $log.info(this);
            }

            Markers.prototype.controller = [
              '$scope', '$element', function($scope, $element) {
                $scope.ctrlType = 'Markers';
                return _.extend(this, IMarker.handle($scope, $element));
              }
            ];

            Markers.prototype.link = function(scope, element, attrs, ctrl) {
              var parentModel, ready;
              parentModel = void 0;
              ready = function() {
                return scope.deferred.resolve();
              };
              return IMarker.mapPromise(scope, ctrl).then(function(map) {
                var mapScope;
                mapScope = ctrl.getScope();
                mapScope.$watch('idleAndZoomChanged', function() {
                  return _.defer(parentModel.gManager.draw);
                });
                parentModel = new MarkersParentModel(scope, element, attrs, map);
                Plural.link(scope, parentModel);
                Iif (scope.control != null) {
                  scope.control.getGMarkers = function() {
                    var ref;
                    return (ref = parentModel.gManager) != null ? ref.getGMarkers() : void 0;
                  };
                  scope.control.getChildMarkers = function() {
                    return parentModel.plurals;
                  };
                }
                return _.last(parentModel.existingPieces._content).then(function() {
                  return ready();
                });
              });
            };

            return Markers;

          })(IMarker);
        }
      ]);

    }).call(this);
    ;
    /*global angular */

    (function() {
      angular.module('uiGmapgoogle-maps.directives.api').service('uiGmapPlural', [
        function() {
          var _initControl;
          _initControl = function(scope, parent) {
            Eif (scope.control == null) {
              return;
            }
            scope.control.updateModels = function(models) {
              scope.models = models;
              return parent.createChildScopes(false);
            };
            scope.control.newModels = function(models) {
              scope.models = models;
              return parent.rebuildAll(scope, true, true);
            };
            scope.control.clean = function() {
              return parent.rebuildAll(scope, false, true);
            };
            scope.control.getPlurals = function() {
              return parent.plurals;
            };
            scope.control.getManager = function() {
              return parent.gManager;
            };
            scope.control.hasManager = function() {
              return (parent.gManager != null) === true;
            };
            return scope.control.managerDraw = function() {
              var ref;
              if (scope.control.hasManager()) {
                return (ref = scope.control.getManager()) != null ? ref.draw() : void 0;
              }
            };
          };
          return {
            extend: function(obj, obj2) {
              return _.extend(obj.scope || {}, obj2 || {}, {
                idKey: '=idkey',
                doRebuildAll: '=dorebuildall',
                models: '=models',
                chunk: '=chunk',
                cleanchunk: '=cleanchunk',
                control: '=control',
                deepComparison: '=deepcomparison'
              });
            },
            link: function(scope, parent) {
              return _initControl(scope, parent);
            }
          };
        }
      ]);

    }).call(this);
    ;
    /*global angular */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapPolygon', [
        'uiGmapIPolygon', '$timeout', 'uiGmapPolygonChildModel', function(IPolygon, $timeout, PolygonChild) {
          var Polygon;
          return Polygon = (function(superClass) {
            extend(Polygon, superClass);

            function Polygon() {
              this.link = bind(this.link, this);
              return Polygon.__super__.constructor.apply(this, arguments);
            }

            Polygon.prototype.link = function(scope, element, attrs, mapCtrl) {
              var children, promise;
              children = [];
              promise = IPolygon.mapPromise(scope, mapCtrl);
              Eif (scope.control != null) {
                scope.control.getInstance = this;
                scope.control.polygons = children;
                scope.control.promise = promise;
              }
              return promise.then((function(_this) {
                return function(gMap) {
                  return children.push(new PolygonChild({
                    scope: scope,
                    attrs: attrs,
                    gMap: gMap,
                    defaults: _this.DEFAULTS
                  }));
                };
              })(this));
            };

            return Polygon;

          })(IPolygon);
        }
      ]);

    }).call(this);
    ;
    /*global angular:true */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapPolygons', [
        'uiGmapIPolygon', '$timeout', 'uiGmapPolygonsParentModel', 'uiGmapPlural', function(Interface, $timeout, ParentModel, Plural) {
          var Polygons;
          return Polygons = (function(superClass) {
            extend(Polygons, superClass);

            function Polygons() {
              this.link = bind(this.link, this);
              Polygons.__super__.constructor.call(this);
              Plural.extend(this);
              this.$log.info(this);
            }

            Polygons.prototype.link = function(scope, element, attrs, mapCtrl) {
              return mapCtrl.getScope().deferred.promise.then((function(_this) {
                return function(map) {
                  if (angular.isUndefined(scope.path) || scope.path === null) {
                    _this.$log.warn('polygons: no valid path attribute found');
                  }
                  if (!scope.models) {
                    _this.$log.warn('polygons: no models found to create from');
                  }
                  return Plural.link(scope, new ParentModel(scope, element, attrs, map, _this.DEFAULTS));
                };
              })(this));
            };

            return Polygons;

          })(Interface);
        }
      ]);

    }).call(this);
    ;
    /*global angular */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapPolyline', [
        'uiGmapIPolyline', '$timeout', 'uiGmapPolylineChildModel', function(IPolyline, $timeout, PolylineChildModel) {
          var Polyline;
          return Polyline = (function(superClass) {
            extend(Polyline, superClass);

            function Polyline() {
              this.link = bind(this.link, this);
              return Polyline.__super__.constructor.apply(this, arguments);
            }

            Polyline.prototype.link = function(scope, element, attrs, mapCtrl) {
              return IPolyline.mapPromise(scope, mapCtrl).then((function(_this) {
                return function(gMap) {
                  Iif (angular.isUndefined(scope.path) || scope.path === null || !_this.validatePath(scope.path)) {
                    _this.$log.warn('polyline: no valid path attribute found');
                  }
                  return new PolylineChildModel({
                    scope: scope,
                    attrs: attrs,
                    gMap: gMap,
                    defaults: _this.DEFAULTS
                  });
                };
              })(this));
            };

            return Polyline;

          })(IPolyline);
        }
      ]);

    }).call(this);
    ;
    /*global angular */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapPolylines', [
        'uiGmapIPolyline', '$timeout', 'uiGmapPolylinesParentModel', 'uiGmapPlural', function(IPolyline, $timeout, PolylinesParentModel, Plural) {
          var Polylines;
          return Polylines = (function(superClass) {
            extend(Polylines, superClass);

            function Polylines() {
              this.link = bind(this.link, this);
              Polylines.__super__.constructor.call(this);
              Plural.extend(this);
              this.$log.info(this);
            }

            Polylines.prototype.link = function(scope, element, attrs, mapCtrl) {
              return mapCtrl.getScope().deferred.promise.then((function(_this) {
                return function(gMap) {
                  if (angular.isUndefined(scope.path) || scope.path === null) {
                    _this.$log.warn('polylines: no valid path attribute found');
                  }
                  if (!scope.models) {
                    _this.$log.warn('polylines: no models found to create from');
                  }
                  return Plural.link(scope, new PolylinesParentModel(scope, element, attrs, gMap, _this.DEFAULTS));
                };
              })(this));
            };

            return Polylines;

          })(IPolyline);
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapRectangle', [
        'uiGmapLogger', 'uiGmapGmapUtil', 'uiGmapIRectangle', 'uiGmapRectangleParentModel', function($log, GmapUtil, IRectangle, RectangleParentModel) {
          return _.extend(IRectangle, {
            link: function(scope, element, attrs, mapCtrl) {
              return mapCtrl.getScope().deferred.promise.then(function(gMap) {
                return new RectangleParentModel(scope, element, attrs, gMap);
              });
            }
          });
        }
      ]);

    }).call(this);
    ;
    /*global angular:true */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { Eif (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapWindow', [
        'uiGmapIWindow', 'uiGmapGmapUtil', 'uiGmapWindowChildModel', 'uiGmapLodash', 'uiGmapLogger', function(IWindow, GmapUtil, WindowChildModel, uiGmapLodash, $log) {
          var Window;
          return Window = (function(superClass) {
            extend(Window, superClass);

            Window.include(GmapUtil);

            function Window() {
              this.link = bind(this.link, this);
              Window.__super__.constructor.call(this);
              this.require = ['^' + 'uiGmapGoogleMap', '^?' + 'uiGmapMarker'];
              this.template = '<span class="angular-google-maps-window" ng-transclude></span>';
              $log.debug(this);
              this.childWindows = [];
            }

            Window.prototype.link = function(scope, element, attrs, ctrls) {
              var markerCtrl, markerScope;
              markerCtrl = ctrls.length > 1 && (ctrls[1] != null) ? ctrls[1] : void 0;
              markerScope = markerCtrl != null ? markerCtrl.getScope() : void 0;
              this.mapPromise = IWindow.mapPromise(scope, ctrls[0]);
              return this.mapPromise.then((function(_this) {
                return function(gMap) {
                  var isIconVisibleOnClick;
                  isIconVisibleOnClick = true;
                  Eif (angular.isDefined(attrs.isiconvisibleonclick)) {
                    isIconVisibleOnClick = scope.isIconVisibleOnClick;
                  }
                  Eif (!markerCtrl) {
                    _this.init(scope, element, isIconVisibleOnClick, gMap);
                    return;
                  }
                  return markerScope.deferred.promise.then(function(gMarker) {
                    return _this.init(scope, element, isIconVisibleOnClick, gMap, markerScope);
                  });
                };
              })(this));
            };

            Window.prototype.init = function(scope, element, isIconVisibleOnClick, gMap, markerScope) {
              var childWindow, defaults, gMarker, hasScopeCoords, opts;
              defaults = scope.options != null ? scope.options : {};
              hasScopeCoords = (scope != null) && this.validateCoords(scope.coords);
              Iif ((markerScope != null ? markerScope['getGMarker'] : void 0) != null) {
                gMarker = markerScope.getGMarker();
              }
              opts = hasScopeCoords ? this.createWindowOptions(gMarker, scope, element.html(), defaults) : defaults;
              Eif (gMap != null) {
                childWindow = new WindowChildModel({
                  scope: scope,
                  opts: opts,
                  isIconVisibleOnClick: isIconVisibleOnClick,
                  gMap: gMap,
                  markerScope: markerScope,
                  element: element
                });
                this.childWindows.push(childWindow);
                scope.$on('$destroy', (function(_this) {
                  return function() {
                    _this.childWindows = uiGmapLodash.withoutObjects(_this.childWindows, [childWindow], function(child1, child2) {
                      return child1.scope.$id === child2.scope.$id;
                    });
                    return _this.childWindows.length = 0;
                  };
                })(this));
              }
              Eif (scope.control != null) {
                scope.control.getGWindows = (function(_this) {
                  return function() {
                    return _this.childWindows.map(function(child) {
                      return child.gObject;
                    });
                  };
                })(this);
                scope.control.getChildWindows = (function(_this) {
                  return function() {
                    return _this.childWindows;
                  };
                })(this);
                scope.control.getPlurals = scope.control.getChildWindows;
                scope.control.showWindow = (function(_this) {
                  return function() {
                    return _this.childWindows.map(function(child) {
                      return child.showWindow();
                    });
                  };
                })(this);
                scope.control.hideWindow = (function(_this) {
                  return function() {
                    return _this.childWindows.map(function(child) {
                      return child.hideWindow();
                    });
                  };
                })(this);
              }
              Eif ((this.onChildCreation != null) && (childWindow != null)) {
                return this.onChildCreation(childWindow);
              }
            };

            return Window;

          })(IWindow);
        }
      ]);

    }).call(this);
    ;
    /*global angular */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
        extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        hasProp = {}.hasOwnProperty;

      angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapWindows', [
        'uiGmapIWindow', 'uiGmapPlural', 'uiGmapWindowsParentModel', 'uiGmapPromise', 'uiGmapLogger', function(IWindow, Plural, WindowsParentModel, uiGmapPromise, $log) {

          /*
          Windows directive where many windows map to the models property
           */
          var Windows;
          return Windows = (function(superClass) {
            extend(Windows, superClass);

            function Windows() {
              this.link = bind(this.link, this);
              Windows.__super__.constructor.call(this);
              this.require = ['^' + 'uiGmapGoogleMap', '^?' + 'uiGmapMarkers'];
              this.template = '<span class="angular-google-maps-windows" ng-transclude></span>';
              Plural.extend(this);
              $log.debug(this);
            }

            Windows.prototype.link = function(scope, element, attrs, ctrls) {
              var mapScope, markerCtrl, markerScope;
              mapScope = ctrls[0].getScope();
              markerCtrl = ctrls.length > 1 && (ctrls[1] != null) ? ctrls[1] : void 0;
              markerScope = markerCtrl != null ? markerCtrl.getScope() : void 0;
              return mapScope.deferred.promise.then((function(_this) {
                return function(map) {
                  var promise, ref;
                  promise = (markerScope != null ? (ref = markerScope.deferred) != null ? ref.promise : void 0 : void 0) || uiGmapPromise.resolve();
                  return promise.then(function() {
                    var pieces, ref1;
                    pieces = (ref1 = _this.parentModel) != null ? ref1.existingPieces : void 0;
                    if (pieces) {
                      return pieces.then(function() {
                        return _this.init(scope, element, attrs, ctrls, map, markerScope);
                      });
                    } else {
                      return _this.init(scope, element, attrs, ctrls, map, markerScope);
                    }
                  });
                };
              })(this));
            };

            Windows.prototype.init = function(scope, element, attrs, ctrls, map, additionalScope) {
              var parentModel;
              parentModel = new WindowsParentModel(scope, element, attrs, ctrls, map, additionalScope);
              Plural.link(scope, parentModel);
              if (scope.control != null) {
                scope.control.getGWindows = function() {
                  return parentModel.plurals.map(function(child) {
                    return child.gObject;
                  });
                };
                return scope.control.getChildWindows = function() {
                  return parentModel.plurals;
                };
              }
            };

            return Windows;

          })(IWindow);
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
    Nick Baugh - https://github.com/niftylettuce
     */

    /*globals angular */

    (function() {
      angular.module("uiGmapgoogle-maps").directive("uiGmapGoogleMap", ['uiGmapMap', function(uiGmapMap) {
        return new uiGmapMap();
      }]);

    }).call(this);
    ;
    /*
    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
     */

    /*
    Map marker directive

    This directive is used to create a marker on an existing map.
    This directive creates a new scope.

    {attribute coords required}  object containing latitude and longitude properties
    {attribute icon optional}    string url to image used for marker icon
    {attribute animate optional} if set to false, the marker won't be animated (on by default)
     */

    (function() {
      angular.module('uiGmapgoogle-maps').directive('uiGmapMarker', [
        '$timeout', 'uiGmapMarker', function($timeout, Marker) {
          return new Marker($timeout);
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
     */

    /*
    Map marker directive

    This directive is used to create a marker on an existing map.
    This directive creates a new scope.

    {attribute coords required}  object containing latitude and longitude properties
    {attribute icon optional}    string url to image used for marker icon
    {attribute animate optional} if set to false, the marker won't be animated (on by default)
     */

    (function() {
      angular.module('uiGmapgoogle-maps').directive('uiGmapMarkers', [
        '$timeout', 'uiGmapMarkers', function($timeout, Markers) {
          return new Markers($timeout);
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
    Rick Huizinga - https://plus.google.com/+RickHuizinga
     */

    (function() {
      angular.module('uiGmapgoogle-maps').directive('uiGmapPolygon', [
        'uiGmapPolygon', function(Polygon) {
          return new Polygon();
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Julian Popescu - https://github.com/jpopesculian
    Rick Huizinga - https://plus.google.com/+RickHuizinga
     */

    (function() {
      angular.module('uiGmapgoogle-maps').directive("uiGmapCircle", [
        "uiGmapCircle", function(Circle) {
          return Circle;
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
     */

    (function() {
      angular.module("uiGmapgoogle-maps").directive("uiGmapPolyline", [
        "uiGmapPolyline", function(Polyline) {
          return new Polyline();
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
     */

    (function() {
      angular.module('uiGmapgoogle-maps').directive('uiGmapPolylines', [
        'uiGmapPolylines', function(Polylines) {
          return new Polylines();
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
    Chentsu Lin - https://github.com/ChenTsuLin
     */

    (function() {
      angular.module("uiGmapgoogle-maps").directive("uiGmapRectangle", [
        "uiGmapLogger", "uiGmapRectangle", function($log, Rectangle) {
          return Rectangle;
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
     */

    /*
    Map info window directive

    This directive is used to create an info window on an existing map.
    This directive creates a new scope.

    {attribute coords required}  object containing latitude and longitude properties
    {attribute show optional}    map will show when this expression returns true
     */

    (function() {
      angular.module("uiGmapgoogle-maps").directive("uiGmapWindow", [
        "$timeout", "$compile", "$http", "$templateCache", "uiGmapWindow", function($timeout, $compile, $http, $templateCache, Window) {
          return new Window($timeout, $compile, $http, $templateCache);
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
     */

    /*
    Map info window directive

    This directive is used to create an info window on an existing map.
    This directive creates a new scope.

    {attribute coords required}  object containing latitude and longitude properties
    {attribute show optional}    map will show when this expression returns true
     */

    (function() {
      angular.module("uiGmapgoogle-maps").directive("uiGmapWindows", [
        "$timeout", "$compile", "$http", "$templateCache", "$interpolate", "uiGmapWindows", function($timeout, $compile, $http, $templateCache, $interpolate, Windows) {
          return new Windows($timeout, $compile, $http, $templateCache, $interpolate);
        }
      ]);

    }).call(this);
    ;
    /*
    @authors:
    - Nicolas Laplante https://plus.google.com/108189012221374960701
    - Nicholas McCready - https://twitter.com/nmccready
     */

    /*
    Map Layer directive

    This directive is used to create any type of Layer from the google maps sdk.
    This directive creates a new scope.

    {attribute show optional}  true (default) shows the trafficlayer otherwise it is hidden
     */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

      angular.module('uiGmapgoogle-maps').directive('uiGmapLayer', [
        '$timeout', 'uiGmapLogger', 'uiGmapLayerParentModel', function($timeout, Logger, LayerParentModel) {
          var Layer;
          Layer = (function() {
            function Layer() {
              this.link = bind(this.link, this);
              this.$log = Logger;
              this.restrict = 'EMA';
              this.require = '^' + 'uiGmapGoogleMap';
              this.priority = -1;
              this.transclude = true;
              this.template = '<span class=\'angular-google-map-layer\' ng-transclude></span>';
              this.replace = true;
              this.scope = {
                show: '=show',
                type: '=type',
                namespace: '=namespace',
                options: '=options',
                onCreated: '&oncreated'
              };
            }

            Layer.prototype.link = function(scope, element, attrs, mapCtrl) {
              return mapCtrl.getScope().deferred.promise.then((function(_this) {
                return function(map) {
                  if (scope.onCreated != null) {
                    return new LayerParentModel(scope, element, attrs, map, scope.onCreated);
                  } else {
                    return new LayerParentModel(scope, element, attrs, map);
                  }
                };
              })(this));
            };

            return Layer;

          })();
          return new Layer();
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Adam Kreitals, kreitals@hotmail.com
     */

    /*
    mapControl directive

    This directive is used to create a custom control element on an existing map.
    This directive creates a new scope.

    {attribute template required}  	string url of the template to be used for the control
    {attribute position optional}  	string position of the control of the form top-left or TOP_LEFT defaults to TOP_CENTER
    {attribute controller optional}	string controller to be applied to the template
    {attribute index optional}		number index for controlling the order of similarly positioned mapControl elements
     */

    (function() {
      angular.module("uiGmapgoogle-maps").directive("uiGmapMapControl", [
        "uiGmapControl", function(Control) {
          return new Control();
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicholas McCready - https://twitter.com/nmccready
     */

    (function() {
      angular.module('uiGmapgoogle-maps').directive('uiGmapDragZoom', [
        'uiGmapDragZoom', function(DragZoom) {
          return DragZoom;
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps').directive("uiGmapDrawingManager", [
        "uiGmapDrawingManager", function(DrawingManager) {
          return DrawingManager;
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicholas McCready - https://twitter.com/nmccready
     * Brunt of the work is in DrawFreeHandChildModel
     */

    (function() {
      angular.module('uiGmapgoogle-maps').directive('uiGmapFreeDrawPolygons', [
        'uiGmapApiFreeDrawPolygons', function(FreeDrawPolygons) {
          return new FreeDrawPolygons();
        }
      ]);

    }).call(this);
    ;
    /*
    Map Layer directive

    This directive is used to create any type of Layer from the google maps sdk.
    This directive creates a new scope.

    {attribute show optional}  true (default) shows the trafficlayer otherwise it is hidden
     */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

      angular.module("uiGmapgoogle-maps").directive("uiGmapMapType", [
        "$timeout", "uiGmapLogger", "uiGmapMapTypeParentModel", function($timeout, Logger, MapTypeParentModel) {
          var MapType;
          MapType = (function() {
            function MapType() {
              this.link = bind(this.link, this);
              this.$log = Logger;
              this.restrict = "EMA";
              this.require = '^' + 'uiGmapGoogleMap';
              this.priority = -1;
              this.transclude = true;
              this.template = '<span class=\"angular-google-map-layer\" ng-transclude></span>';
              this.replace = true;
              this.scope = {
                show: "=show",
                options: '=options',
                refresh: '=refresh',
                id: '@'
              };
            }

            MapType.prototype.link = function(scope, element, attrs, mapCtrl) {
              return mapCtrl.getScope().deferred.promise.then((function(_this) {
                return function(map) {
                  return new MapTypeParentModel(scope, element, attrs, map);
                };
              })(this));
            };

            return MapType;

          })();
          return new MapType();
        }
      ]);

    }).call(this);
    ;
    /*
    Map Layers directive

    This directive is used to create any type of Layer from the google maps sdk.
    This directive creates a new scope.
     */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

      angular.module('uiGmapgoogle-maps').directive("uiGmapMapTypes", [
        "$timeout", "uiGmapLogger", "uiGmapMapTypesParentModel", function($timeout, Logger, MapTypesParentModel) {
          var MapTypes;
          MapTypes = (function() {
            function MapTypes() {
              this.link = bind(this.link, this);
              this.$log = Logger;
              this.restrict = "EMA";
              this.require = '^' + 'uiGmapGoogleMap';
              this.priority = -1;
              this.transclude = true;
              this.template = '<span class=\"angular-google-map-layers\" ng-transclude></span>';
              this.scope = {
                mapTypes: "=mapTypes",
                show: "=show",
                options: "=options",
                refresh: "=refresh",
                id: "=idKey"
              };
            }

            MapTypes.prototype.link = function(scope, element, attrs, mapCtrl) {
              return mapCtrl.getScope().deferred.promise.then((function(_this) {
                return function(map) {
                  return new MapTypesParentModel(scope, element, attrs, map);
                };
              })(this));
            };

            return MapTypes;

          })();
          return new MapTypes();
        }
      ]);

    }).call(this);
    ;
    /*
    @authors
    Nicolas Laplante - https://plus.google.com/108189012221374960701
    Nicholas McCready - https://twitter.com/nmccready
    Rick Huizinga - https://plus.google.com/+RickHuizinga
     */

    (function() {
      angular.module('uiGmapgoogle-maps').directive('uiGmapPolygons', [
        'uiGmapPolygons', function(Polygons) {
          return new Polygons();
        }
      ]);

    }).call(this);
    ;
    /*
    @authors:
    - Nicolas Laplante https://plus.google.com/108189012221374960701
    - Nicholas McCready - https://twitter.com/nmccready
    - Carrie Kengle - http://about.me/carrie
     */

    /*
    Places Search Box directive

    This directive is used to create a Places Search Box.
    This directive creates a new scope.

    {attribute input required}  HTMLInputElement
    {attribute options optional} The options that can be set on a SearchBox object (google.maps.places.SearchBoxOptions object specification)
     */

    (function() {
      var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

      angular.module('uiGmapgoogle-maps').directive('uiGmapSearchBox', [
        'uiGmapGoogleMapApi', 'uiGmapLogger', 'uiGmapSearchBoxParentModel', '$http', '$templateCache', '$compile', function(GoogleMapApi, Logger, SearchBoxParentModel, $http, $templateCache, $compile) {
          var SearchBox;
          SearchBox = (function() {
            SearchBox.prototype.require = 'ngModel';

            function SearchBox() {
              this.link = bind(this.link, this);
              this.$log = Logger;
              this.restrict = 'EMA';
              this.require = '^' + 'uiGmapGoogleMap';
              this.priority = -1;
              this.transclude = true;
              this.template = '<span class=\'angular-google-map-search\' ng-transclude></span>';
              this.replace = true;
              this.scope = {
                template: '=template',
                events: '=events',
                position: '=?position',
                options: '=?options',
                parentdiv: '=?parentdiv',
                ngModel: "=?"
              };
            }

            SearchBox.prototype.link = function(scope, element, attrs, mapCtrl) {
              return GoogleMapApi.then((function(_this) {
                return function(maps) {
                  if (scope.template == null) {
                    $templateCache.put('uigmap-searchbox-default.tpl.html', '<input type="text">');
                    scope.template = 'uigmap-searchbox-default.tpl.html';
                  }
                  return $http.get(scope.template, {
                    cache: $templateCache
                  }).then(function(arg) {
                    var data;
                    data = arg.data;
                    if (angular.isUndefined(scope.events)) {
                      _this.$log.error('searchBox: the events property is required');
                      return;
                    }
                    return mapCtrl.getScope().deferred.promise.then(function(map) {
                      var ctrlPosition;
                      ctrlPosition = angular.isDefined(scope.position) ? scope.position.toUpperCase().replace(/-/g, '_') : 'TOP_LEFT';
                      if (!maps.ControlPosition[ctrlPosition]) {
                        _this.$log.error('searchBox: invalid position property');
                        return;
                      }
                      return new SearchBoxParentModel(scope, element, attrs, map, ctrlPosition, $compile(data)(scope));
                    });
                  });
                };
              })(this));
            };

            return SearchBox;

          })();
          return new SearchBox();
        }
      ]);

    }).call(this);
    ;(function() {
      angular.module('uiGmapgoogle-maps').directive('uiGmapShow', [
        '$animate', 'uiGmapLogger', function($animate, $log) {
          return {
            scope: {
              'uiGmapShow': '=',
              'uiGmapAfterShow': '&',
              'uiGmapAfterHide': '&'
            },
            link: function(scope, element) {
              var angular_post_1_3_handle, angular_pre_1_3_handle, handle;
              angular_post_1_3_handle = function(animateAction, cb) {
                return $animate[animateAction](element, 'ng-hide').then(function() {
                  return cb();
                });
              };
              angular_pre_1_3_handle = function(animateAction, cb) {
                return $animate[animateAction](element, 'ng-hide', cb);
              };
              handle = function(animateAction, cb) {
                if (angular.version.major > 1) {
                  return $log.error("uiGmapShow is not supported for Angular Major greater than 1.\nYour Major is " + angular.version.major + "\"");
                }
                if (angular.version.major === 1 && angular.version.minor < 3) {
                  return angular_pre_1_3_handle(animateAction, cb);
                }
                return angular_post_1_3_handle(animateAction, cb);
              };
              return scope.$watch('uiGmapShow', function(show) {
                if (show) {
                  handle('removeClass', scope.uiGmapAfterShow);
                }
                if (!show) {
                  return handle('addClass', scope.uiGmapAfterHide);
                }
              });
            }
          };
        }
      ]);

    }).call(this);
    ;
    /*
    @authors:
    - Nicholas McCready - https://twitter.com/nmccready
     */

    /*
    StreetViewPanorama Directive to care of basic initialization of StreetViewPanorama
     */

    (function() {
      angular.module('uiGmapgoogle-maps').directive('uiGmapStreetViewPanorama', [
        'uiGmapGoogleMapApi', 'uiGmapLogger', 'uiGmapGmapUtil', 'uiGmapEventsHelper', function(GoogleMapApi, $log, GmapUtil, EventsHelper) {
          var name;
          name = 'uiGmapStreetViewPanorama';
          return {
            restrict: 'EMA',
            template: '<div class="angular-google-map-street-view-panorama"></div>',
            replace: true,
            scope: {
              focalcoord: '=',
              radius: '=?',
              events: '=?',
              options: '=?',
              control: '=?',
              povoptions: '=?',
              imagestatus: '='
            },
            link: function(scope, element, attrs) {
              return GoogleMapApi.then((function(_this) {
                return function(maps) {
                  var clean, create, didCreateOptionsFromDirective, firstTime, handleSettings, listeners, opts, pano, povOpts, sv;
                  pano = void 0;
                  sv = void 0;
                  didCreateOptionsFromDirective = false;
                  listeners = void 0;
                  opts = null;
                  povOpts = null;
                  clean = function() {
                    EventsHelper.removeEvents(listeners);
                    Iif (pano != null) {
                      pano.unbind('position');
                      pano.setVisible(false);
                    }
                    Iif (sv != null) {
                      if ((sv != null ? sv.setVisible : void 0) != null) {
                        sv.setVisible(false);
                      }
                      return sv = void 0;
                    }
                  };
                  handleSettings = function(perspectivePoint, focalPoint) {
                    var heading;
                    heading = google.maps.geometry.spherical.computeHeading(perspectivePoint, focalPoint);
                    didCreateOptionsFromDirective = true;
                    scope.radius = scope.radius || 50;
                    povOpts = angular.extend({
                      heading: heading,
                      zoom: 1,
                      pitch: 0
                    }, scope.povoptions || {});
                    opts = opts = angular.extend({
                      navigationControl: false,
                      addressControl: false,
                      linksControl: false,
                      position: perspectivePoint,
                      pov: povOpts,
                      visible: true
                    }, scope.options || {});
                    return didCreateOptionsFromDirective = false;
                  };
                  create = function() {
                    var focalPoint;
                    if (!scope.focalcoord) {
                      $log.error(name + ": focalCoord needs to be defined");
                      return;
                    }
                    if (!scope.radius) {
                      $log.error(name + ": needs a radius to set the camera view from its focal target.");
                      return;
                    }
                    clean();
                    if (sv == null) {
                      sv = new google.maps.StreetViewService();
                    }
                    if (scope.events) {
                      listeners = EventsHelper.setEvents(sv, scope, scope);
                    }
                    focalPoint = GmapUtil.getCoords(scope.focalcoord);
                    return sv.getPanoramaByLocation(focalPoint, scope.radius, function(streetViewPanoramaData, status) {
                      var ele, perspectivePoint, ref;
                      if (scope.imagestatus != null) {
                        scope.imagestatus = status;
                      }
                      if (((ref = scope.events) != null ? ref.image_status_changed : void 0) != null) {
                        scope.events.image_status_changed(sv, 'image_status_changed', scope, status);
                      }
                      if (status === "OK") {
                        perspectivePoint = streetViewPanoramaData.location.latLng;
                        handleSettings(perspectivePoint, focalPoint);
                        ele = element[0];
                        return pano = new google.maps.StreetViewPanorama(ele, opts);
                      }
                    });
                  };
                  Eif (scope.control != null) {
                    scope.control.getOptions = function() {
                      return opts;
                    };
                    scope.control.getPovOptions = function() {
                      return povOpts;
                    };
                    scope.control.getGObject = function() {
                      return sv;
                    };
                    scope.control.getGPano = function() {
                      return pano;
                    };
                  }
                  scope.$watch('options', function(newValue, oldValue) {
                    if (newValue === oldValue || newValue === opts || didCreateOptionsFromDirective) {
                      return;
                    }
                    return create();
                  });
                  firstTime = true;
                  scope.$watch('focalcoord', function(newValue, oldValue) {
                    if (newValue === oldValue && !firstTime) {
                      return;
                    }
                    if (newValue == null) {
                      return;
                    }
                    firstTime = false;
                    return create();
                  });
                  return scope.$on('$destroy', function() {
                    return clean();
                  });
                };
              })(this));
            }
          };
        }
      ]);

    }).call(this);
    ;angular.module('uiGmapgoogle-maps.wrapped')
    .service('uiGmapuuid', function() {
      //BEGIN REPLACE
      /* istanbul ignore next */
      /*
     Version: core-1.0
     The MIT License: Copyright (c) 2012 LiosK.
    */
    function UUID(){}UUID.generate=function(){var a=UUID._gri,b=UUID._ha;return b(a(32),8)+"-"+b(a(16),4)+"-"+b(16384|a(12),4)+"-"+b(32768|a(14),4)+"-"+b(a(48),12)};UUID._gri=function(a){return 0>a?NaN:30>=a?0|Math.random()*(1<<a):53>=a?(0|1073741824*Math.random())+1073741824*(0|Math.random()*(1<<a-30)):NaN};UUID._ha=function(a,b){for(var c=a.toString(16),d=b-c.length,e="0";0<d;d>>>=1,e+=e)d&1&&(c=e+c);return c};

      //END REPLACE
    return UUID;
    });
    ;// wrap the utility libraries needed in ./lib
    // http://google-maps-utility-library-v3.googlecode.com/svn/
    angular.module('uiGmapgoogle-maps.wrapped')
    .service('uiGmapGoogleMapsUtilV3', function () {
      return {
        init: _.once(function () {
          //BEGIN REPLACE
          /* istanbul ignore next */
          +function(){
          function ClusterIcon(cluster,styles){cluster.getMarkerClusterer().extend(ClusterIcon,google.maps.OverlayView),this.cluster_=cluster,this.className_=cluster.getMarkerClusterer().getClusterClass(),this.styles_=styles,this.center_=null,this.div_=null,this.sums_=null,this.visible_=!1,this.setMap(cluster.getMap())}function Cluster(mc){this.markerClusterer_=mc,this.map_=mc.getMap(),this.gridSize_=mc.getGridSize(),this.minClusterSize_=mc.getMinimumClusterSize(),this.averageCenter_=mc.getAverageCenter(),this.hideLabel_=mc.getHideLabel(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new ClusterIcon(this,mc.getStyles())}function MarkerClusterer(map,opt_markers,opt_options){this.extend(MarkerClusterer,google.maps.OverlayView),opt_markers=opt_markers||[],opt_options=opt_options||{},this.markers_=[],this.clusters_=[],this.listeners_=[],this.activeMap_=null,this.ready_=!1,this.gridSize_=opt_options.gridSize||60,this.minClusterSize_=opt_options.minimumClusterSize||2,this.maxZoom_=opt_options.maxZoom||null,this.styles_=opt_options.styles||[],this.title_=opt_options.title||"",this.zoomOnClick_=!0,void 0!==opt_options.zoomOnClick&&(this.zoomOnClick_=opt_options.zoomOnClick),this.averageCenter_=!1,void 0!==opt_options.averageCenter&&(this.averageCenter_=opt_options.averageCenter),this.ignoreHidden_=!1,void 0!==opt_options.ignoreHidden&&(this.ignoreHidden_=opt_options.ignoreHidden),this.enableRetinaIcons_=!1,void 0!==opt_options.enableRetinaIcons&&(this.enableRetinaIcons_=opt_options.enableRetinaIcons),this.hideLabel_=!1,void 0!==opt_options.hideLabel&&(this.hideLabel_=opt_options.hideLabel),this.imagePath_=opt_options.imagePath||MarkerClusterer.IMAGE_PATH,this.imageExtension_=opt_options.imageExtension||MarkerClusterer.IMAGE_EXTENSION,this.imageSizes_=opt_options.imageSizes||MarkerClusterer.IMAGE_SIZES,this.calculator_=opt_options.calculator||MarkerClusterer.CALCULATOR,this.batchSize_=opt_options.batchSize||MarkerClusterer.BATCH_SIZE,this.batchSizeIE_=opt_options.batchSizeIE||MarkerClusterer.BATCH_SIZE_IE,this.clusterClass_=opt_options.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize_=this.batchSizeIE_),this.setupStyles_(),this.addMarkers(opt_markers,!0),this.setMap(map)}ClusterIcon.prototype.onAdd=function(){var cMouseDownInCluster,cDraggingMapByCluster,cClusterIcon=this;this.div_=document.createElement("div"),this.div_.className=this.className_,this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",function(){cDraggingMapByCluster=cMouseDownInCluster}),google.maps.event.addDomListener(this.div_,"mousedown",function(){cMouseDownInCluster=!0,cDraggingMapByCluster=!1}),google.maps.event.addDomListener(this.div_,"click",function(e){if(cMouseDownInCluster=!1,!cDraggingMapByCluster){var theBounds,mz,mc=cClusterIcon.cluster_.getMarkerClusterer();google.maps.event.trigger(mc,"click",cClusterIcon.cluster_),google.maps.event.trigger(mc,"clusterclick",cClusterIcon.cluster_),mc.getZoomOnClick()&&(mz=mc.getMaxZoom(),theBounds=cClusterIcon.cluster_.getBounds(),mc.getMap().fitBounds(theBounds),setTimeout(function(){mc.getMap().fitBounds(theBounds),null!==mz&&mc.getMap().getZoom()>mz&&mc.getMap().setZoom(mz+1)},100)),e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}}),google.maps.event.addDomListener(this.div_,"mouseover",function(){var mc=cClusterIcon.cluster_.getMarkerClusterer();google.maps.event.trigger(mc,"mouseover",cClusterIcon.cluster_)}),google.maps.event.addDomListener(this.div_,"mouseout",function(){var mc=cClusterIcon.cluster_.getMarkerClusterer();google.maps.event.trigger(mc,"mouseout",cClusterIcon.cluster_)})},ClusterIcon.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)},ClusterIcon.prototype.draw=function(){if(this.visible_){var pos=this.getPosFromLatLng_(this.center_);this.div_.style.top=pos.y+"px",this.div_.style.left=pos.x+"px"}},ClusterIcon.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},ClusterIcon.prototype.show=function(){if(this.div_){var img="",bp=this.backgroundPosition_.split(" "),spriteH=parseInt(bp[0].trim(),10),spriteV=parseInt(bp[1].trim(),10),pos=this.getPosFromLatLng_(this.center_);this.div_.style.cssText=this.createCss(pos),img="<img src='"+this.url_+"' style='position: absolute; top: "+spriteV+"px; left: "+spriteH+"px; ",img+=this.cluster_.getMarkerClusterer().enableRetinaIcons_?"width: "+this.width_+"px;height: "+this.height_+"px;":"clip: rect("+-1*spriteV+"px, "+(-1*spriteH+this.width_)+"px, "+(-1*spriteV+this.height_)+"px, "+-1*spriteH+"px);",img+="'>",this.div_.innerHTML=img+"<div style='position: absolute;top: "+this.anchorText_[0]+"px;left: "+this.anchorText_[1]+"px;color: "+this.textColor_+";font-size: "+this.textSize_+"px;font-family: "+this.fontFamily_+";font-weight: "+this.fontWeight_+";font-style: "+this.fontStyle_+";text-decoration: "+this.textDecoration_+";text-align: center;width: "+this.width_+"px;line-height:"+this.height_+"px;'>"+(this.cluster_.hideLabel_?" ":this.sums_.text)+"</div>",this.div_.title="undefined"==typeof this.sums_.title||""===this.sums_.title?this.cluster_.getMarkerClusterer().getTitle():this.sums_.title,this.div_.style.display=""}this.visible_=!0},ClusterIcon.prototype.useStyle=function(sums){this.sums_=sums;var index=Math.max(0,sums.index-1);index=Math.min(this.styles_.length-1,index);var style=this.styles_[index];this.url_=style.url,this.height_=style.height,this.width_=style.width,this.anchorText_=style.anchorText||[0,0],this.anchorIcon_=style.anchorIcon||[parseInt(this.height_/2,10),parseInt(this.width_/2,10)],this.textColor_=style.textColor||"black",this.textSize_=style.textSize||11,this.textDecoration_=style.textDecoration||"none",this.fontWeight_=style.fontWeight||"bold",this.fontStyle_=style.fontStyle||"normal",this.fontFamily_=style.fontFamily||"Arial,sans-serif",this.backgroundPosition_=style.backgroundPosition||"0 0"},ClusterIcon.prototype.setCenter=function(center){this.center_=center},ClusterIcon.prototype.createCss=function(pos){var style=[];return style.push("cursor: pointer;"),style.push("position: absolute; top: "+pos.y+"px; left: "+pos.x+"px;"),style.push("width: "+this.width_+"px; height: "+this.height_+"px;"),style.join("")},ClusterIcon.prototype.getPosFromLatLng_=function(latlng){var pos=this.getProjection().fromLatLngToDivPixel(latlng);return pos.x-=this.anchorIcon_[1],pos.y-=this.anchorIcon_[0],pos.x=parseInt(pos.x,10),pos.y=parseInt(pos.y,10),pos},Cluster.prototype.getSize=function(){return this.markers_.length},Cluster.prototype.getMarkers=function(){return this.markers_},Cluster.prototype.getCenter=function(){return this.center_},Cluster.prototype.getMap=function(){return this.map_},Cluster.prototype.getMarkerClusterer=function(){return this.markerClusterer_},Cluster.prototype.getBounds=function(){var i,bounds=new google.maps.LatLngBounds(this.center_,this.center_),markers=this.getMarkers();for(i=0;i<markers.length;i++)bounds.extend(markers[i].getPosition());return bounds},Cluster.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},Cluster.prototype.addMarker=function(marker){var i,mCount,mz;if(this.isMarkerAlreadyAdded_(marker))return!1;if(this.center_){if(this.averageCenter_){var l=this.markers_.length+1,lat=(this.center_.lat()*(l-1)+marker.getPosition().lat())/l,lng=(this.center_.lng()*(l-1)+marker.getPosition().lng())/l;this.center_=new google.maps.LatLng(lat,lng),this.calculateBounds_()}}else this.center_=marker.getPosition(),this.calculateBounds_();if(marker.isAdded=!0,this.markers_.push(marker),mCount=this.markers_.length,mz=this.markerClusterer_.getMaxZoom(),null!==mz&&this.map_.getZoom()>mz)marker.getMap()!==this.map_&&marker.setMap(this.map_);else if(mCount<this.minClusterSize_)marker.getMap()!==this.map_&&marker.setMap(this.map_);else if(mCount===this.minClusterSize_)for(i=0;mCount>i;i++)this.markers_[i].setMap(null);else marker.setMap(null);return!0},Cluster.prototype.isMarkerInClusterBounds=function(marker){return this.bounds_.contains(marker.getPosition())},Cluster.prototype.calculateBounds_=function(){var bounds=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(bounds)},Cluster.prototype.updateIcon_=function(){var mCount=this.markers_.length,mz=this.markerClusterer_.getMaxZoom();if(null!==mz&&this.map_.getZoom()>mz)return void this.clusterIcon_.hide();if(mCount<this.minClusterSize_)return void this.clusterIcon_.hide();var numStyles=this.markerClusterer_.getStyles().length,sums=this.markerClusterer_.getCalculator()(this.markers_,numStyles);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(sums),this.clusterIcon_.show()},Cluster.prototype.isMarkerAlreadyAdded_=function(marker){for(var i=0,n=this.markers_.length;n>i;i++)if(marker===this.markers_[i])return!0;return!1},MarkerClusterer.prototype.onAdd=function(){var cMarkerClusterer=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",function(){cMarkerClusterer.resetViewport_(!1),(this.getZoom()===(this.get("minZoom")||0)||this.getZoom()===this.get("maxZoom"))&&google.maps.event.trigger(this,"idle")}),google.maps.event.addListener(this.getMap(),"idle",function(){cMarkerClusterer.redraw_()})]},MarkerClusterer.prototype.onRemove=function(){var i;for(i=0;i<this.markers_.length;i++)this.markers_[i].getMap()!==this.activeMap_&&this.markers_[i].setMap(this.activeMap_);for(i=0;i<this.clusters_.length;i++)this.clusters_[i].remove();for(this.clusters_=[],i=0;i<this.listeners_.length;i++)google.maps.event.removeListener(this.listeners_[i]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},MarkerClusterer.prototype.draw=function(){},MarkerClusterer.prototype.setupStyles_=function(){var i,size;Eif(!(this.styles_.length>0))for(i=0;i<this.imageSizes_.length;i++)size=this.imageSizes_[i],this.styles_.push({url:this.imagePath_+(i+1)+"."+this.imageExtension_,height:size,width:size})},MarkerClusterer.prototype.fitMapToMarkers=function(){var i,markers=this.getMarkers(),bounds=new google.maps.LatLngBounds;for(i=0;i<markers.length;i++)bounds.extend(markers[i].getPosition());this.getMap().fitBounds(bounds)},MarkerClusterer.prototype.getGridSize=function(){return this.gridSize_},MarkerClusterer.prototype.setGridSize=function(gridSize){this.gridSize_=gridSize},MarkerClusterer.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},MarkerClusterer.prototype.setMinimumClusterSize=function(minimumClusterSize){this.minClusterSize_=minimumClusterSize},MarkerClusterer.prototype.getMaxZoom=function(){return this.maxZoom_},MarkerClusterer.prototype.setMaxZoom=function(maxZoom){this.maxZoom_=maxZoom},MarkerClusterer.prototype.getStyles=function(){return this.styles_},MarkerClusterer.prototype.setStyles=function(styles){this.styles_=styles},MarkerClusterer.prototype.getTitle=function(){return this.title_},MarkerClusterer.prototype.setTitle=function(title){this.title_=title},MarkerClusterer.prototype.getZoomOnClick=function(){return this.zoomOnClick_},MarkerClusterer.prototype.setZoomOnClick=function(zoomOnClick){this.zoomOnClick_=zoomOnClick},MarkerClusterer.prototype.getAverageCenter=function(){return this.averageCenter_},MarkerClusterer.prototype.setAverageCenter=function(averageCenter){this.averageCenter_=averageCenter},MarkerClusterer.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},MarkerClusterer.prototype.setIgnoreHidden=function(ignoreHidden){this.ignoreHidden_=ignoreHidden},MarkerClusterer.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},MarkerClusterer.prototype.setEnableRetinaIcons=function(enableRetinaIcons){this.enableRetinaIcons_=enableRetinaIcons},MarkerClusterer.prototype.getImageExtension=function(){return this.imageExtension_},MarkerClusterer.prototype.setImageExtension=function(imageExtension){this.imageExtension_=imageExtension},MarkerClusterer.prototype.getImagePath=function(){return this.imagePath_},MarkerClusterer.prototype.setImagePath=function(imagePath){this.imagePath_=imagePath},MarkerClusterer.prototype.getImageSizes=function(){return this.imageSizes_},MarkerClusterer.prototype.setImageSizes=function(imageSizes){this.imageSizes_=imageSizes},MarkerClusterer.prototype.getCalculator=function(){return this.calculator_},MarkerClusterer.prototype.setCalculator=function(calculator){this.calculator_=calculator},MarkerClusterer.prototype.setHideLabel=function(hideLabel){this.hideLabel_=hideLabel},MarkerClusterer.prototype.getHideLabel=function(){return this.hideLabel_},MarkerClusterer.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},MarkerClusterer.prototype.setBatchSizeIE=function(batchSizeIE){this.batchSizeIE_=batchSizeIE},MarkerClusterer.prototype.getClusterClass=function(){return this.clusterClass_},MarkerClusterer.prototype.setClusterClass=function(clusterClass){this.clusterClass_=clusterClass},MarkerClusterer.prototype.getMarkers=function(){return this.markers_},MarkerClusterer.prototype.getTotalMarkers=function(){return this.markers_.length},MarkerClusterer.prototype.getClusters=function(){return this.clusters_},MarkerClusterer.prototype.getTotalClusters=function(){return this.clusters_.length},MarkerClusterer.prototype.addMarker=function(marker,opt_nodraw){this.pushMarkerTo_(marker),opt_nodraw||this.redraw_()},MarkerClusterer.prototype.addMarkers=function(markers,opt_nodraw){var key;for(key in markers)markers.hasOwnProperty(key)&&this.pushMarkerTo_(markers[key]);opt_nodraw||this.redraw_()},MarkerClusterer.prototype.pushMarkerTo_=function(marker){if(marker.getDraggable()){var cMarkerClusterer=this;google.maps.event.addListener(marker,"dragend",function(){cMarkerClusterer.ready_&&(this.isAdded=!1,cMarkerClusterer.repaint())})}marker.isAdded=!1,this.markers_.push(marker)},MarkerClusterer.prototype.removeMarker=function(marker,opt_nodraw,opt_noMapRemove){var removeFromMap=!0&&!opt_noMapRemove,removed=this.removeMarker_(marker,removeFromMap);return!opt_nodraw&&removed&&this.repaint(),removed},MarkerClusterer.prototype.removeMarkers=function(markers,opt_nodraw,opt_noMapRemove){var i,r,removed=!1,removeFromMap=!0&&!opt_noMapRemove;for(i=0;i<markers.length;i++)r=this.removeMarker_(markers[i],removeFromMap),removed=removed||r;return!opt_nodraw&&removed&&this.repaint(),removed},MarkerClusterer.prototype.removeMarker_=function(marker,removeFromMap){var i,index=-1;if(this.markers_.indexOf)index=this.markers_.indexOf(marker);else for(i=0;i<this.markers_.length;i++)if(marker===this.markers_[i]){index=i;break}return-1===index?!1:(removeFromMap&&marker.setMap(null),this.markers_.splice(index,1),!0)},MarkerClusterer.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]},MarkerClusterer.prototype.repaint=function(){var oldClusters=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout(function(){var i;for(i=0;i<oldClusters.length;i++)oldClusters[i].remove()},0)},MarkerClusterer.prototype.getExtendedBounds=function(bounds){var projection=this.getProjection(),tr=new google.maps.LatLng(bounds.getNorthEast().lat(),bounds.getNorthEast().lng()),bl=new google.maps.LatLng(bounds.getSouthWest().lat(),bounds.getSouthWest().lng()),trPix=projection.fromLatLngToDivPixel(tr);trPix.x+=this.gridSize_,trPix.y-=this.gridSize_;var blPix=projection.fromLatLngToDivPixel(bl);blPix.x-=this.gridSize_,blPix.y+=this.gridSize_;var ne=projection.fromDivPixelToLatLng(trPix),sw=projection.fromDivPixelToLatLng(blPix);return bounds.extend(ne),bounds.extend(sw),bounds},MarkerClusterer.prototype.redraw_=function(){this.createClusters_(0)},MarkerClusterer.prototype.resetViewport_=function(opt_hide){var i,marker;for(i=0;i<this.clusters_.length;i++)this.clusters_[i].remove();for(this.clusters_=[],i=0;i<this.markers_.length;i++)marker=this.markers_[i],marker.isAdded=!1,opt_hide&&marker.setMap(null)},MarkerClusterer.prototype.distanceBetweenPoints_=function(p1,p2){var R=6371,dLat=(p2.lat()-p1.lat())*Math.PI/180,dLon=(p2.lng()-p1.lng())*Math.PI/180,a=Math.sin(dLat/2)*Math.sin(dLat/2)+Math.cos(p1.lat()*Math.PI/180)*Math.cos(p2.lat()*Math.PI/180)*Math.sin(dLon/2)*Math.sin(dLon/2),c=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a)),d=R*c;return d},MarkerClusterer.prototype.isMarkerInBounds_=function(marker,bounds){return bounds.contains(marker.getPosition())},MarkerClusterer.prototype.addToClosestCluster_=function(marker){var i,d,cluster,center,distance=4e4,clusterToAddTo=null;for(i=0;i<this.clusters_.length;i++)cluster=this.clusters_[i],center=cluster.getCenter(),center&&(d=this.distanceBetweenPoints_(center,marker.getPosition()),distance>d&&(distance=d,clusterToAddTo=cluster));clusterToAddTo&&clusterToAddTo.isMarkerInClusterBounds(marker)?clusterToAddTo.addMarker(marker):(cluster=new Cluster(this),cluster.addMarker(marker),this.clusters_.push(cluster))},MarkerClusterer.prototype.createClusters_=function(iFirst){var i,marker,mapBounds,cMarkerClusterer=this;if(this.ready_){0===iFirst&&(google.maps.event.trigger(this,"clusteringbegin",this),"undefined"!=typeof this.timerRefStatic&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic)),mapBounds=this.getMap().getZoom()>3?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625));var bounds=this.getExtendedBounds(mapBounds),iLast=Math.min(iFirst+this.batchSize_,this.markers_.length);for(i=iFirst;iLast>i;i++)marker=this.markers_[i],!marker.isAdded&&this.isMarkerInBounds_(marker,bounds)&&(!this.ignoreHidden_||this.ignoreHidden_&&marker.getVisible())&&this.addToClosestCluster_(marker);if(iLast<this.markers_.length)this.timerRefStatic=setTimeout(function(){cMarkerClusterer.createClusters_(iLast)},0);else for(delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this),i=0;i<this.clusters_.length;i++)this.clusters_[i].updateIcon_()}},MarkerClusterer.prototype.extend=function(obj1,obj2){return function(object){var property;for(property in object.prototype)this.prototype[property]=object.prototype[property];return this}.apply(obj1,[obj2])},MarkerClusterer.CALCULATOR=function(markers,numStyles){for(var index=0,title="",count=markers.length.toString(),dv=count;0!==dv;)dv=parseInt(dv/10,10),index++;return index=Math.min(index,numStyles),{text:count,index:index,title:title}},MarkerClusterer.BATCH_SIZE=2e3,MarkerClusterer.BATCH_SIZE_IE=500,MarkerClusterer.IMAGE_PATH="//cdn.rawgit.com/mahnunchik/markerclustererplus/master/images/m",MarkerClusterer.IMAGE_EXTENSION="png",MarkerClusterer.IMAGE_SIZES=[53,56,66,78,90],"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});
    /**
     *  google-maps-utility-library-v3-infobox
     *
     * @version: 1.1.14
     * @author: Gary Little (inspired by proof-of-concept code from Pamela Fox of Google)
     * @contributors: Nicholas McCready
     * @date: Fri May 13 2016 16:35:27 GMT-0400 (EDT)
     * @license: Apache License 2.0
     */
    /**
     * @fileoverview InfoBox extends the Google Maps JavaScript API V3 <tt>OverlayView</tt> class.
     *  <p>
     *  An InfoBox behaves like a <tt>google.maps.InfoWindow</tt>, but it supports several
     *  additional properties for advanced styling. An InfoBox can also be used as a map label.
     *  <p>
     *  An InfoBox also fires the same events as a <tt>google.maps.InfoWindow</tt>.
     */

    /*jslint browser:true */
    /*global google */

    /**
     * @name InfoBoxOptions
     * @class This class represents the optional parameter passed to the {@link InfoBox} constructor.
     * @property {string|Node} content The content of the InfoBox (plain text or an HTML DOM node).
     * @property {boolean} [disableAutoPan=false] Disable auto-pan on <tt>open</tt>.
     * @property {number} maxWidth The maximum width (in pixels) of the InfoBox. Set to 0 if no maximum.
     * @property {Size} pixelOffset The offset (in pixels) from the top left corner of the InfoBox
     *  (or the bottom left corner if the <code>alignBottom</code> property is <code>true</code>)
     *  to the map pixel corresponding to <tt>position</tt>.
     * @property {LatLng} position The geographic location at which to display the InfoBox.
     * @property {number} zIndex The CSS z-index style value for the InfoBox.
     *  Note: This value overrides a zIndex setting specified in the <tt>boxStyle</tt> property.
     * @property {string} [boxClass="infoBox"] The name of the CSS class defining the styles for the InfoBox container.
     * @property {Object} [boxStyle] An object literal whose properties define specific CSS
     *  style values to be applied to the InfoBox. Style values defined here override those that may
     *  be defined in the <code>boxClass</code> style sheet. If this property is changed after the
     *  InfoBox has been created, all previously set styles (except those defined in the style sheet)
     *  are removed from the InfoBox before the new style values are applied.
     * @property {string} closeBoxMargin The CSS margin style value for the close box.
     *  The default is "2px" (a 2-pixel margin on all sides).
     * @property {string} closeBoxURL The URL of the image representing the close box.
     *  Note: The default is the URL for Google's standard close box.
     *  Set this property to "" if no close box is required.
     * @property {Size} infoBoxClearance Minimum offset (in pixels) from the InfoBox to the
     *  map edge after an auto-pan.
     * @property {boolean} [isHidden=false] Hide the InfoBox on <tt>open</tt>.
     *  [Deprecated in favor of the <tt>visible</tt> property.]
     * @property {boolean} [visible=true] Show the InfoBox on <tt>open</tt>.
     * @property {boolean} alignBottom Align the bottom left corner of the InfoBox to the <code>position</code>
     *  location (default is <tt>false</tt> which means that the top left corner of the InfoBox is aligned).
     * @property {string} pane The pane where the InfoBox is to appear (default is "floatPane").
     *  Set the pane to "mapPane" if the InfoBox is being used as a map label.
     *  Valid pane names are the property names for the <tt>google.maps.MapPanes</tt> object.
     * @property {boolean} enableEventPropagation Propagate mousedown, mousemove, mouseover, mouseout,
     *  mouseup, click, dblclick, touchstart, touchend, touchmove, and contextmenu events in the InfoBox
     *  (default is <tt>false</tt> to mimic the behavior of a <tt>google.maps.InfoWindow</tt>). Set
     *  this property to <tt>true</tt> if the InfoBox is being used as a map label.
     */

    /**
     * Creates an InfoBox with the options specified in {@link InfoBoxOptions}.
     *  Call <tt>InfoBox.open</tt> to add the box to the map.
     * @constructor
     * @param {InfoBoxOptions} [opt_opts]
     */
    function InfoBox(opt_opts) {

      opt_opts = opt_opts || {};

      google.maps.OverlayView.apply(this, arguments);

      // Standard options (in common with google.maps.InfoWindow):
      //
      this.content_ = opt_opts.content || "";
      this.disableAutoPan_ = opt_opts.disableAutoPan || false;
      this.maxWidth_ = opt_opts.maxWidth || 0;
      this.pixelOffset_ = opt_opts.pixelOffset || new google.maps.Size(0, 0);
      this.position_ = opt_opts.position || new google.maps.LatLng(0, 0);
      this.zIndex_ = opt_opts.zIndex || null;

      // Additional options (unique to InfoBox):
      //
      this.boxClass_ = opt_opts.boxClass || "infoBox";
      this.boxStyle_ = opt_opts.boxStyle || {};
      this.closeBoxMargin_ = opt_opts.closeBoxMargin || "2px";
      this.closeBoxURL_ = opt_opts.closeBoxURL || "http://www.google.com/intl/en_us/mapfiles/close.gif";
      if (opt_opts.closeBoxURL === "") {
        this.closeBoxURL_ = "";
      }
      this.infoBoxClearance_ = opt_opts.infoBoxClearance || new google.maps.Size(1, 1);

      if (typeof opt_opts.visible === "undefined") {
        if (typeof opt_opts.isHidden === "undefined") {
          opt_opts.visible = true;
        } else {
          opt_opts.visible = !opt_opts.isHidden;
        }
      }
      this.isHidden_ = !opt_opts.visible;

      this.alignBottom_ = opt_opts.alignBottom || false;
      this.pane_ = opt_opts.pane || "floatPane";
      this.enableEventPropagation_ = opt_opts.enableEventPropagation || false;

      this.div_ = null;
      this.closeListener_ = null;
      this.moveListener_ = null;
      this.contextListener_ = null;
      this.eventListeners_ = null;
      this.fixedWidthSet_ = null;
    }

    /* InfoBox extends OverlayView in the Google Maps API v3.
     */
    InfoBox.prototype = new google.maps.OverlayView();

    /**
     * Creates the DIV representing the InfoBox.
     * @private
     */
    InfoBox.prototype.createInfoBoxDiv_ = function () {

      var i;
      var events;
      var bw;
      var me = this;

      // This handler prevents an event in the InfoBox from being passed on to the map.
      //
      var cancelHandler = function (e) {
        e.cancelBubble = true;
        if (e.stopPropagation) {
          e.stopPropagation();
        }
      };

      // This handler ignores the current event in the InfoBox and conditionally prevents
      // the event from being passed on to the map. It is used for the contextmenu event.
      //
      var ignoreHandler = function (e) {

        e.returnValue = false;

        if (e.preventDefault) {

          e.preventDefault();
        }

        if (!me.enableEventPropagation_) {

          cancelHandler(e);
        }
      };

      if (!this.div_) {

        this.div_ = document.createElement("div");

        this.setBoxStyle_();

        if (typeof this.content_.nodeType === "undefined") {
          this.div_.innerHTML = this.getCloseBoxImg_() + this.content_;
        } else {
          this.div_.innerHTML = this.getCloseBoxImg_();
          this.div_.appendChild(this.content_);
        }

        // Add the InfoBox DIV to the DOM
        this.getPanes()[this.pane_].appendChild(this.div_);

        this.addClickHandler_();

        if (this.div_.style.width) {

          this.fixedWidthSet_ = true;

        } else {

          if (this.maxWidth_ !== 0 && this.div_.offsetWidth > this.maxWidth_) {

            this.div_.style.width = this.maxWidth_;
            this.div_.style.overflow = "auto";
            this.fixedWidthSet_ = true;

          } else { // The following code is needed to overcome problems with MSIE

            bw = this.getBoxWidths_();

            this.div_.style.width = (this.div_.offsetWidth - bw.left - bw.right) + "px";
            this.fixedWidthSet_ = false;
          }
        }

        this.panBox_(this.disableAutoPan_);

        if (!this.enableEventPropagation_) {

          this.eventListeners_ = [];

          // Cancel event propagation.
          //
          // Note: mousemove not included (to resolve Issue 152)
          events = ["mousedown", "mouseover", "mouseout", "mouseup",
          "click", "dblclick", "touchstart", "touchend", "touchmove"];

          for (i = 0; i < events.length; i++) {

            this.eventListeners_.push(google.maps.event.addDomListener(this.div_, events[i], cancelHandler));
          }

          // Workaround for Google bug that causes the cursor to change to a pointer
          // when the mouse moves over a marker underneath InfoBox.
          this.eventListeners_.push(google.maps.event.addDomListener(this.div_, "mouseover", function (e) {
            this.style.cursor = "default";
          }));
        }

        this.contextListener_ = google.maps.event.addDomListener(this.div_, "contextmenu", ignoreHandler);

        /**
         * This event is fired when the DIV containing the InfoBox's content is attached to the DOM.
         * @name InfoBox#domready
         * @event
         */
        google.maps.event.trigger(this, "domready");
      }
    };

    /**
     * Returns the HTML <IMG> tag for the close box.
     * @private
     */
    InfoBox.prototype.getCloseBoxImg_ = function () {

      var img = "";

      if (this.closeBoxURL_ !== "") {

        img  = "<img";
        img += " src='" + this.closeBoxURL_ + "'";
        img += " align=right"; // Do this because Opera chokes on style='float: right;'
        img += " style='";
        img += " position: relative;"; // Required by MSIE
        img += " cursor: pointer;";
        img += " margin: " + this.closeBoxMargin_ + ";";
        img += "'>";
      }

      return img;
    };

    /**
     * Adds the click handler to the InfoBox close box.
     * @private
     */
    InfoBox.prototype.addClickHandler_ = function () {

      var closeBox;

      if (this.closeBoxURL_ !== "") {

        closeBox = this.div_.firstChild;
        this.closeListener_ = google.maps.event.addDomListener(closeBox, "click", this.getCloseClickHandler_());

      } else {

        this.closeListener_ = null;
      }
    };

    /**
     * Returns the function to call when the user clicks the close box of an InfoBox.
     * @private
     */
    InfoBox.prototype.getCloseClickHandler_ = function () {

      var me = this;

      return function (e) {

        // 1.0.3 fix: Always prevent propagation of a close box click to the map:
        e.cancelBubble = true;

        if (e.stopPropagation) {

          e.stopPropagation();
        }

        /**
         * This event is fired when the InfoBox's close box is clicked.
         * @name InfoBox#closeclick
         * @event
         */
        google.maps.event.trigger(me, "closeclick");

        me.close();
      };
    };

    /**
     * Pans the map so that the InfoBox appears entirely within the map's visible area.
     * @private
     */
    InfoBox.prototype.panBox_ = function (disablePan) {

      var map;
      var bounds;
      var xOffset = 0, yOffset = 0;

      if (!disablePan) {

        map = this.getMap();

        if (map instanceof google.maps.Map) { // Only pan if attached to map, not panorama

          if (!map.getBounds().contains(this.position_)) {
          // Marker not in visible area of map, so set center
          // of map to the marker position first.
            map.setCenter(this.position_);
          }

          bounds = map.getBounds();

          var mapDiv = map.getDiv();
          var mapWidth = mapDiv.offsetWidth;
          var mapHeight = mapDiv.offsetHeight;
          var iwOffsetX = this.pixelOffset_.width;
          var iwOffsetY = this.pixelOffset_.height;
          var iwWidth = this.div_.offsetWidth;
          var iwHeight = this.div_.offsetHeight;
          var padX = this.infoBoxClearance_.width;
          var padY = this.infoBoxClearance_.height;
          var pixPosition = this.getProjection().fromLatLngToContainerPixel(this.position_);

          if (pixPosition.x < (-iwOffsetX + padX)) {
            xOffset = pixPosition.x + iwOffsetX - padX;
          } else if ((pixPosition.x + iwWidth + iwOffsetX + padX) > mapWidth) {
            xOffset = pixPosition.x + iwWidth + iwOffsetX + padX - mapWidth;
          }
          if (this.alignBottom_) {
            if (pixPosition.y < (-iwOffsetY + padY + iwHeight)) {
              yOffset = pixPosition.y + iwOffsetY - padY - iwHeight;
            } else if ((pixPosition.y + iwOffsetY + padY) > mapHeight) {
              yOffset = pixPosition.y + iwOffsetY + padY - mapHeight;
            }
          } else {
            if (pixPosition.y < (-iwOffsetY + padY)) {
              yOffset = pixPosition.y + iwOffsetY - padY;
            } else if ((pixPosition.y + iwHeight + iwOffsetY + padY) > mapHeight) {
              yOffset = pixPosition.y + iwHeight + iwOffsetY + padY - mapHeight;
            }
          }

          if (!(xOffset === 0 && yOffset === 0)) {

            // Move the map to the shifted center.
            //
            var c = map.getCenter();
            map.panBy(xOffset, yOffset);
          }
        }
      }
    };

    /**
     * Sets the style of the InfoBox by setting the style sheet and applying
     * other specific styles requested.
     * @private
     */
    InfoBox.prototype.setBoxStyle_ = function () {

      var i, boxStyle;

      if (this.div_) {

        // Apply style values from the style sheet defined in the boxClass parameter:
        this.div_.className = this.boxClass_;

        // Clear existing inline style values:
        this.div_.style.cssText = "";

        // Apply style values defined in the boxStyle parameter:
        boxStyle = this.boxStyle_;
        for (i in boxStyle) {

          if (boxStyle.hasOwnProperty(i)) {

            this.div_.style[i] = boxStyle[i];
          }
        }

        // Fix for iOS disappearing InfoBox problem.
        // See http://stackoverflow.com/questions/9229535/google-maps-markers-disappear-at-certain-zoom-level-only-on-iphone-ipad
        this.div_.style.WebkitTransform = "translateZ(0)";

        // Fix up opacity style for benefit of MSIE:
        //
        if (typeof this.div_.style.opacity !== "undefined" && this.div_.style.opacity !== "") {
          // See http://www.quirksmode.org/css/opacity.html
          this.div_.style.MsFilter = "\"progid:DXImageTransform.Microsoft.Alpha(Opacity=" + (this.div_.style.opacity * 100) + ")\"";
          this.div_.style.filter = "alpha(opacity=" + (this.div_.style.opacity * 100) + ")";
        }

        // Apply required styles:
        //
        this.div_.style.position = "absolute";
        this.div_.style.visibility = 'hidden';
        if (this.zIndex_ !== null) {

          this.div_.style.zIndex = this.zIndex_;
        }
      }
    };

    /**
     * Get the widths of the borders of the InfoBox.
     * @private
     * @return {Object} widths object (top, bottom left, right)
     */
    InfoBox.prototype.getBoxWidths_ = function () {

      var computedStyle;
      var bw = {top: 0, bottom: 0, left: 0, right: 0};
      var box = this.div_;

      if (document.defaultView && document.defaultView.getComputedStyle) {

        computedStyle = box.ownerDocument.defaultView.getComputedStyle(box, "");

        if (computedStyle) {

          // The computed styles are always in pixel units (good!)
          bw.top = parseInt(computedStyle.borderTopWidth, 10) || 0;
          bw.bottom = parseInt(computedStyle.borderBottomWidth, 10) || 0;
          bw.left = parseInt(computedStyle.borderLeftWidth, 10) || 0;
          bw.right = parseInt(computedStyle.borderRightWidth, 10) || 0;
        }

      } else if (document.documentElement.currentStyle) { // MSIE

        if (box.currentStyle) {

          // The current styles may not be in pixel units, but assume they are (bad!)
          bw.top = parseInt(box.currentStyle.borderTopWidth, 10) || 0;
          bw.bottom = parseInt(box.currentStyle.borderBottomWidth, 10) || 0;
          bw.left = parseInt(box.currentStyle.borderLeftWidth, 10) || 0;
          bw.right = parseInt(box.currentStyle.borderRightWidth, 10) || 0;
        }
      }

      return bw;
    };

    /**
     * Invoked when <tt>close</tt> is called. Do not call it directly.
     */
    InfoBox.prototype.onRemove = function () {

      if (this.div_) {

        this.div_.parentNode.removeChild(this.div_);
        this.div_ = null;
      }
    };

    /**
     * Draws the InfoBox based on the current map projection and zoom level.
     */
    InfoBox.prototype.draw = function () {

      this.createInfoBoxDiv_();

      var pixPosition = this.getProjection().fromLatLngToDivPixel(this.position_);

      this.div_.style.left = (pixPosition.x + this.pixelOffset_.width) + "px";

      if (this.alignBottom_) {
        this.div_.style.bottom = -(pixPosition.y + this.pixelOffset_.height) + "px";
      } else {
        this.div_.style.top = (pixPosition.y + this.pixelOffset_.height) + "px";
      }

      if (this.isHidden_) {

        this.div_.style.visibility = "hidden";

      } else {

        this.div_.style.visibility = "visible";
      }
    };

    /**
     * Sets the options for the InfoBox. Note that changes to the <tt>maxWidth</tt>,
     *  <tt>closeBoxMargin</tt>, <tt>closeBoxURL</tt>, and <tt>enableEventPropagation</tt>
     *  properties have no affect until the current InfoBox is <tt>close</tt>d and a new one
     *  is <tt>open</tt>ed.
     * @param {InfoBoxOptions} opt_opts
     */
    InfoBox.prototype.setOptions = function (opt_opts) {
      if (typeof opt_opts.boxClass !== "undefined") { // Must be first

        this.boxClass_ = opt_opts.boxClass;
        this.setBoxStyle_();
      }
      if (typeof opt_opts.boxStyle !== "undefined") { // Must be second

        this.boxStyle_ = opt_opts.boxStyle;
        this.setBoxStyle_();
      }
      if (typeof opt_opts.content !== "undefined") {

        this.setContent(opt_opts.content);
      }
      if (typeof opt_opts.disableAutoPan !== "undefined") {

        this.disableAutoPan_ = opt_opts.disableAutoPan;
      }
      if (typeof opt_opts.maxWidth !== "undefined") {

        this.maxWidth_ = opt_opts.maxWidth;
      }
      if (typeof opt_opts.pixelOffset !== "undefined") {

        this.pixelOffset_ = opt_opts.pixelOffset;
      }
      if (typeof opt_opts.alignBottom !== "undefined") {

        this.alignBottom_ = opt_opts.alignBottom;
      }
      if (typeof opt_opts.position !== "undefined") {

        this.setPosition(opt_opts.position);
      }
      if (typeof opt_opts.zIndex !== "undefined") {

        this.setZIndex(opt_opts.zIndex);
      }
      if (typeof opt_opts.closeBoxMargin !== "undefined") {

        this.closeBoxMargin_ = opt_opts.closeBoxMargin;
      }
      if (typeof opt_opts.closeBoxURL !== "undefined") {

        this.closeBoxURL_ = opt_opts.closeBoxURL;
      }
      if (typeof opt_opts.infoBoxClearance !== "undefined") {

        this.infoBoxClearance_ = opt_opts.infoBoxClearance;
      }
      if (typeof opt_opts.isHidden !== "undefined") {

        this.isHidden_ = opt_opts.isHidden;
      }
      if (typeof opt_opts.visible !== "undefined") {

        this.isHidden_ = !opt_opts.visible;
      }
      if (typeof opt_opts.enableEventPropagation !== "undefined") {

        this.enableEventPropagation_ = opt_opts.enableEventPropagation;
      }

      if (this.div_) {

        this.draw();
      }
    };

    /**
     * Sets the content of the InfoBox.
     *  The content can be plain text or an HTML DOM node.
     * @param {string|Node} content
     */
    InfoBox.prototype.setContent = function (content) {
      this.content_ = content;

      if (this.div_) {

        if (this.closeListener_) {

          google.maps.event.removeListener(this.closeListener_);
          this.closeListener_ = null;
        }

        // Odd code required to make things work with MSIE.
        //
        if (!this.fixedWidthSet_) {

          this.div_.style.width = "";
        }

        if (typeof content.nodeType === "undefined") {
          this.div_.innerHTML = this.getCloseBoxImg_() + content;
        } else {
          this.div_.innerHTML = this.getCloseBoxImg_();
          this.div_.appendChild(content);
        }

        // Perverse code required to make things work with MSIE.
        // (Ensures the close box does, in fact, float to the right.)
        //
        if (!this.fixedWidthSet_) {
          this.div_.style.width = this.div_.offsetWidth + "px";
          if (typeof content.nodeType === "undefined") {
            this.div_.innerHTML = this.getCloseBoxImg_() + content;
          } else {
            this.div_.innerHTML = this.getCloseBoxImg_();
            this.div_.appendChild(content);
          }
        }

        this.addClickHandler_();
      }

      /**
       * This event is fired when the content of the InfoBox changes.
       * @name InfoBox#content_changed
       * @event
       */
      google.maps.event.trigger(this, "content_changed");
    };

    /**
     * Sets the geographic location of the InfoBox.
     * @param {LatLng} latlng
     */
    InfoBox.prototype.setPosition = function (latlng) {

      this.position_ = latlng;

      if (this.div_) {

        this.draw();
      }

      /**
       * This event is fired when the position of the InfoBox changes.
       * @name InfoBox#position_changed
       * @event
       */
      google.maps.event.trigger(this, "position_changed");
    };

    /**
     * Sets the zIndex style for the InfoBox.
     * @param {number} index
     */
    InfoBox.prototype.setZIndex = function (index) {

      this.zIndex_ = index;

      if (this.div_) {

        this.div_.style.zIndex = index;
      }

      /**
       * This event is fired when the zIndex of the InfoBox changes.
       * @name InfoBox#zindex_changed
       * @event
       */
      google.maps.event.trigger(this, "zindex_changed");
    };

    /**
     * Sets the visibility of the InfoBox.
     * @param {boolean} isVisible
     */
    InfoBox.prototype.setVisible = function (isVisible) {

      this.isHidden_ = !isVisible;
      if (this.div_) {
        this.div_.style.visibility = (this.isHidden_ ? "hidden" : "visible");
      }
    };

    /**
     * Returns the content of the InfoBox.
     * @returns {string}
     */
    InfoBox.prototype.getContent = function () {

      return this.content_;
    };

    /**
     * Returns the geographic location of the InfoBox.
     * @returns {LatLng}
     */
    InfoBox.prototype.getPosition = function () {

      return this.position_;
    };

    /**
     * Returns the zIndex for the InfoBox.
     * @returns {number}
     */
    InfoBox.prototype.getZIndex = function () {

      return this.zIndex_;
    };

    /**
     * Returns a flag indicating whether the InfoBox is visible.
     * @returns {boolean}
     */
    InfoBox.prototype.getVisible = function () {

      var isVisible;

      if ((typeof this.getMap() === "undefined") || (this.getMap() === null)) {
        isVisible = false;
      } else {
        isVisible = !this.isHidden_;
      }
      return isVisible;
    };

    /**
     * Shows the InfoBox. [Deprecated; use <tt>setVisible</tt> instead.]
     */
    InfoBox.prototype.show = function () {

      this.isHidden_ = false;
      if (this.div_) {
        this.div_.style.visibility = "visible";
      }
    };

    /**
     * Hides the InfoBox. [Deprecated; use <tt>setVisible</tt> instead.]
     */
    InfoBox.prototype.hide = function () {

      this.isHidden_ = true;
      if (this.div_) {
        this.div_.style.visibility = "hidden";
      }
    };

    /**
     * Adds the InfoBox to the specified map or Street View panorama. If <tt>anchor</tt>
     *  (usually a <tt>google.maps.Marker</tt>) is specified, the position
     *  of the InfoBox is set to the position of the <tt>anchor</tt>. If the
     *  anchor is dragged to a new location, the InfoBox moves as well.
     * @param {Map|StreetViewPanorama} map
     * @param {MVCObject} [anchor]
     */
    InfoBox.prototype.open = function (map, anchor) {

      var me = this;

      if (anchor) {

        this.position_ = anchor.getPosition();
        this.moveListener_ = google.maps.event.addListener(anchor, "position_changed", function () {
          me.setPosition(this.getPosition());
        });
      }

      this.setMap(map);

      if (this.div_) {

        this.panBox_();
      }
    };

    /**
     * Removes the InfoBox from the map.
     */
    InfoBox.prototype.close = function () {

      var i;

      if (this.closeListener_) {

        google.maps.event.removeListener(this.closeListener_);
        this.closeListener_ = null;
      }

      if (this.eventListeners_) {

        for (i = 0; i < this.eventListeners_.length; i++) {

          google.maps.event.removeListener(this.eventListeners_[i]);
        }
        this.eventListeners_ = null;
      }

      if (this.moveListener_) {

        google.maps.event.removeListener(this.moveListener_);
        this.moveListener_ = null;
      }

      if (this.contextListener_) {

        google.maps.event.removeListener(this.contextListener_);
        this.contextListener_ = null;
      }

      this.setMap(null);
    };

    /**
     *  google-maps-utility-library-v3-keydragzoom
     *
     * @version: 2.0.9
     * @author: Nianwei Liu [nianwei at gmail dot com] & Gary Little [gary at luxcentral dot com]
     * @contributors: undefined
     * @date: Fri May 13 2016 13:45:18 GMT-0400 (EDT)
     * @license: Apache License 2.0
     */
    /**
     * @fileoverview This library adds a drag zoom capability to a V3 Google map.
     *  When drag zoom is enabled, holding down a designated hot key <code>(shift | ctrl | alt)</code>
     *  while dragging a box around an area of interest will zoom the map in to that area when
     *  the mouse button is released. Optionally, a visual control can also be supplied for turning
     *  a drag zoom operation on and off.
     *  Only one line of code is needed: <code>google.maps.Map.enableKeyDragZoom();</code>
     *  <p>
     *  NOTE: Do not use Ctrl as the hot key with Google Maps JavaScript API V3 since, unlike with V2,
     *  it causes a context menu to appear when running on the Macintosh.
     *  <p>
     *  Note that if the map's container has a border around it, the border widths must be specified
     *  in pixel units (or as thin, medium, or thick). This is required because of an MSIE limitation.
     *   <p>NL: 2009-05-28: initial port to core API V3.
     *  <br>NL: 2009-11-02: added a temp fix for -moz-transform for FF3.5.x using code from Paul Kulchenko (http://notebook.kulchenko.com/maps/gridmove).
     *  <br>NL: 2010-02-02: added a fix for IE flickering on divs onmousemove, caused by scroll value when get mouse position.
     *  <br>GL: 2010-06-15: added a visual control option.
     */
    (function () {
      /*jslint browser:true */
      /*global window,google */
      /* Utility functions use "var funName=function()" syntax to allow use of the */
      /* Dean Edwards Packer compression tool (with Shrink variables, without Base62 encode). */

      /**
       * Converts "thin", "medium", and "thick" to pixel widths
       * in an MSIE environment. Not called for other browsers
       * because getComputedStyle() returns pixel widths automatically.
       * @param {string} widthValue The value of the border width parameter.
       */
      var toPixels = function (widthValue) {
        var px;
        switch (widthValue) {
        case "thin":
          px = "2px";
          break;
        case "medium":
          px = "4px";
          break;
        case "thick":
          px = "6px";
          break;
        default:
          px = widthValue;
        }
        return px;
      };
     /**
      * Get the widths of the borders of an HTML element.
      *
      * @param {Node} h  The HTML element.
      * @return {Object} The width object {top, bottom left, right}.
      */
      var getBorderWidths = function (h) {
        var computedStyle;
        var bw = {};
        if (document.defaultView && document.defaultView.getComputedStyle) {
          computedStyle = h.ownerDocument.defaultView.getComputedStyle(h, "");
          if (computedStyle) {
            // The computed styles are always in pixel units (good!)
            bw.top = parseInt(computedStyle.borderTopWidth, 10) || 0;
            bw.bottom = parseInt(computedStyle.borderBottomWidth, 10) || 0;
            bw.left = parseInt(computedStyle.borderLeftWidth, 10) || 0;
            bw.right = parseInt(computedStyle.borderRightWidth, 10) || 0;
            return bw;
          }
        } else if (document.documentElement.currentStyle) { // MSIE
          if (h.currentStyle) {
            // The current styles may not be in pixel units so try to convert (bad!)
            bw.top = parseInt(toPixels(h.currentStyle.borderTopWidth), 10) || 0;
            bw.bottom = parseInt(toPixels(h.currentStyle.borderBottomWidth), 10) || 0;
            bw.left = parseInt(toPixels(h.currentStyle.borderLeftWidth), 10) || 0;
            bw.right = parseInt(toPixels(h.currentStyle.borderRightWidth), 10) || 0;
            return bw;
          }
        }
        // Shouldn't get this far for any modern browser
        bw.top = parseInt(h.style["border-top-width"], 10) || 0;
        bw.bottom = parseInt(h.style["border-bottom-width"], 10) || 0;
        bw.left = parseInt(h.style["border-left-width"], 10) || 0;
        bw.right = parseInt(h.style["border-right-width"], 10) || 0;
        return bw;
      };

      // Page scroll values for use by getMousePosition. To prevent flickering on MSIE
      // they are calculated only when the document actually scrolls, not every time the
      // mouse moves (as they would be if they were calculated inside getMousePosition).
      var scroll = {
        x: 0,
        y: 0
      };
      var getScrollValue = function (e) {
        scroll.x = (typeof document.documentElement.scrollLeft !== "undefined" ? document.documentElement.scrollLeft : document.body.scrollLeft);
        scroll.y = (typeof document.documentElement.scrollTop !== "undefined" ? document.documentElement.scrollTop : document.body.scrollTop);
      };
      getScrollValue();

      /**
       * Get the position of the mouse relative to the document.
       * @param {Event} e  The mouse event.
       * @return {Object} The position object {left, top}.
       */
      var getMousePosition = function (e) {
        var posX = 0, posY = 0;
        e = e || window.event;
        if (typeof e.pageX !== "undefined") {
          posX = e.pageX;
          posY = e.pageY;
        } else if (typeof e.clientX !== "undefined") { // MSIE
          posX = e.clientX + scroll.x;
          posY = e.clientY + scroll.y;
        }
        return {
          left: posX,
          top: posY
        };
      };
      /**
       * Get the position of an HTML element relative to the document.
       * @param {Node} h  The HTML element.
       * @return {Object} The position object {left, top}.
       */
      var getElementPosition = function (h) {
        var posX = h.offsetLeft;
        var posY = h.offsetTop;
        var parent = h.offsetParent;
        // Add offsets for all ancestors in the hierarchy
        while (parent !== null) {
          // Adjust for scrolling elements which may affect the map position.
          //
          // See http://www.howtocreate.co.uk/tutorials/javascript/browserspecific
          //
          // "...make sure that every element [on a Web page] with an overflow
          // of anything other than visible also has a position style set to
          // something other than the default static..."
          if (parent !== document.body && parent !== document.documentElement) {
            posX -= parent.scrollLeft;
            posY -= parent.scrollTop;
          }
          // See http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/4cb86c0c1037a5e5
          // Example: http://notebook.kulchenko.com/maps/gridmove
          var m = parent;
          // This is the "normal" way to get offset information:
          var moffx = m.offsetLeft;
          var moffy = m.offsetTop;
          // This covers those cases where a transform is used:
          if (!moffx && !moffy && window.getComputedStyle) {
            var matrix = document.defaultView.getComputedStyle(m, null).MozTransform ||
            document.defaultView.getComputedStyle(m, null).WebkitTransform;
            if (matrix) {
              if (typeof matrix === "string") {
                var parms = matrix.split(",");
                moffx += parseInt(parms[4], 10) || 0;
                moffy += parseInt(parms[5], 10) || 0;
              }
            }
          }
          posX += moffx;
          posY += moffy;
          parent = parent.offsetParent;
        }
        return {
          left: posX,
          top: posY
        };
      };
      /**
       * Set the properties of an object to those from another object.
       * @param {Object} obj The target object.
       * @param {Object} vals The source object.
       */
      var setVals = function (obj, vals) {
        if (obj && vals) {
          for (var x in vals) {
            if (vals.hasOwnProperty(x)) {
              obj[x] = vals[x];
            }
          }
        }
        return obj;
      };
      /**
       * Set the opacity. If op is not passed in, this function just performs an MSIE fix.
       * @param {Node} h The HTML element.
       * @param {number} op The opacity value (0-1).
       */
      var setOpacity = function (h, op) {
        if (typeof op !== "undefined") {
          h.style.opacity = op;
        }
        if (typeof h.style.opacity !== "undefined" && h.style.opacity !== "") {
          h.style.filter = "alpha(opacity=" + (h.style.opacity * 100) + ")";
        }
      };
      /**
       * @name KeyDragZoomOptions
       * @class This class represents the optional parameter passed into <code>google.maps.Map.enableKeyDragZoom</code>.
       * @property {string} [key="shift"] The hot key to hold down to activate a drag zoom, <code>shift | ctrl | alt</code>.
       *  NOTE: Do not use Ctrl as the hot key with Google Maps JavaScript API V3 since, unlike with V2,
       *  it causes a context menu to appear when running on the Macintosh. Also note that the
       *  <code>alt</code> hot key refers to the Option key on a Macintosh.
       * @property {Object} [boxStyle={border: "4px solid #736AFF"}]
       *  An object literal defining the CSS styles of the zoom box.
       *  Border widths must be specified in pixel units (or as thin, medium, or thick).
       * @property {Object} [veilStyle={backgroundColor: "gray", opacity: 0.25, cursor: "crosshair"}]
       *  An object literal defining the CSS styles of the veil pane which covers the map when a drag
       *  zoom is activated. The previous name for this property was <code>paneStyle</code> but the use
       *  of this name is now deprecated.
       * @property {boolean} [noZoom=false] A flag indicating whether to disable zooming after an area is
       *  selected. Set this to <code>true</code> to allow KeyDragZoom to be used as a simple area
       *  selection tool.
       * @property {boolean} [visualEnabled=false] A flag indicating whether a visual control is to be used.
       * @property {string} [visualClass=""] The name of the CSS class defining the styles for the visual
       *  control. To prevent the visual control from being printed, set this property to the name of
       *  a class, defined inside a <code>@media print</code> rule, which sets the CSS
       *  <code>display</code> style to <code>none</code>.
       * @property {ControlPosition} [visualPosition=google.maps.ControlPosition.LEFT_TOP]
       *  The position of the visual control.
       * @property {Size} [visualPositionOffset=google.maps.Size(35, 0)] The width and height values
       *  provided by this property are the offsets (in pixels) from the location at which the control
       *  would normally be drawn to the desired drawing location.
       * @property {number} [visualPositionIndex=null] The index of the visual control.
       *  The index is for controlling the placement of the control relative to other controls at the
       *  position given by <code>visualPosition</code>; controls with a lower index are placed first.
       *  Use a negative value to place the control <i>before</i> any default controls. No index is
       *  generally required.
       * @property {String} [visualSprite="http://maps.gstatic.com/mapfiles/ftr/controls/dragzoom_btn.png"]
       *  The URL of the sprite image used for showing the visual control in the on, off, and hot
       *  (i.e., when the mouse is over the control) states. The three images within the sprite must
       *  be the same size and arranged in on-hot-off order in a single row with no spaces between images.
       * @property {Size} [visualSize=google.maps.Size(20, 20)] The width and height values provided by
       *  this property are the size (in pixels) of each of the images within <code>visualSprite</code>.
       * @property {Object} [visualTips={off: "Turn on drag zoom mode", on: "Turn off drag zoom mode"}]
       *  An object literal defining the help tips that appear when
       *  the mouse moves over the visual control. The <code>off</code> property is the tip to be shown
       *  when the control is off and the <code>on</code> property is the tip to be shown when the
       *  control is on.
       */
      /**
       * @name DragZoom
       * @class This class represents a drag zoom object for a map. The object is activated by holding down the hot key
       * or by turning on the visual control.
       * This object is created when <code>google.maps.Map.enableKeyDragZoom</code> is called; it cannot be created directly.
       * Use <code>google.maps.Map.getDragZoomObject</code> to gain access to this object in order to attach event listeners.
       * @param {Map} map The map to which the DragZoom object is to be attached.
       * @param {KeyDragZoomOptions} [opt_zoomOpts] The optional parameters.
       */
      function DragZoom(map, opt_zoomOpts) {
        var me = this;
        var ov = new google.maps.OverlayView();
        ov.onAdd = function () {
          me.init_(map, opt_zoomOpts);
        };
        ov.draw = function () {
        };
        ov.onRemove = function () {
        };
        ov.setMap(map);
        this.prjov_ = ov;
      }
      /**
       * Initialize the tool.
       * @param {Map} map The map to which the DragZoom object is to be attached.
       * @param {KeyDragZoomOptions} [opt_zoomOpts] The optional parameters.
       */
      DragZoom.prototype.init_ = function (map, opt_zoomOpts) {
        var i;
        var me = this;
        this.map_ = map;
        opt_zoomOpts = opt_zoomOpts || {};
        this.key_ = opt_zoomOpts.key || "shift";
        this.key_ = this.key_.toLowerCase();
        this.borderWidths_ = getBorderWidths(this.map_.getDiv());
        this.veilDiv_ = [];
        for (i = 0; i < 4; i++) {
          this.veilDiv_[i] = document.createElement("div");
          // Prevents selection of other elements on the webpage
          // when a drag zoom operation is in progress:
          this.veilDiv_[i].onselectstart = function () {
            return false;
          };
          // Apply default style values for the veil:
          setVals(this.veilDiv_[i].style, {
            backgroundColor: "gray",
            opacity: 0.25,
            cursor: "crosshair"
          });
          // Apply style values specified in veilStyle parameter:
          setVals(this.veilDiv_[i].style, opt_zoomOpts.paneStyle); // Old option name was "paneStyle"
          setVals(this.veilDiv_[i].style, opt_zoomOpts.veilStyle); // New name is "veilStyle"
          // Apply mandatory style values:
          setVals(this.veilDiv_[i].style, {
            position: "absolute",
            overflow: "hidden",
            display: "none"
          });
          // Workaround for Firefox Shift-Click problem:
          if (this.key_ === "shift") {
            this.veilDiv_[i].style.MozUserSelect = "none";
          }
          setOpacity(this.veilDiv_[i]);
          // An IE fix: If the background is transparent it cannot capture mousedown
          // events, so if it is, change the background to white with 0 opacity.
          if (this.veilDiv_[i].style.backgroundColor === "transparent") {
            this.veilDiv_[i].style.backgroundColor = "white";
            setOpacity(this.veilDiv_[i], 0);
          }
          this.map_.getDiv().appendChild(this.veilDiv_[i]);
        }

        this.noZoom_ = opt_zoomOpts.noZoom || false;
        this.visualEnabled_ = opt_zoomOpts.visualEnabled || false;
        this.visualClass_ = opt_zoomOpts.visualClass || "";
        this.visualPosition_ = opt_zoomOpts.visualPosition || google.maps.ControlPosition.LEFT_TOP;
        this.visualPositionOffset_ = opt_zoomOpts.visualPositionOffset || new google.maps.Size(35, 0);
        this.visualPositionIndex_ = opt_zoomOpts.visualPositionIndex || null;
        this.visualSprite_ = opt_zoomOpts.visualSprite || "http" + (document.location.protocol === "https:" ? "s" : "") + "://maps.gstatic.com/mapfiles/ftr/controls/dragzoom_btn.png";
        this.visualSize_ = opt_zoomOpts.visualSize || new google.maps.Size(20, 20);
        this.visualTips_ = opt_zoomOpts.visualTips || {};
        this.visualTips_.off =  this.visualTips_.off || "Turn on drag zoom mode";
        this.visualTips_.on =  this.visualTips_.on || "Turn off drag zoom mode";

        this.boxDiv_ = document.createElement("div");
        // Apply default style values for the zoom box:
        setVals(this.boxDiv_.style, {
          border: "4px solid #736AFF"
        });
        // Apply style values specified in boxStyle parameter:
        setVals(this.boxDiv_.style, opt_zoomOpts.boxStyle);
        // Apply mandatory style values:
        setVals(this.boxDiv_.style, {
          position: "absolute",
          display: "none"
        });
        setOpacity(this.boxDiv_);
        this.map_.getDiv().appendChild(this.boxDiv_);
        this.boxBorderWidths_ = getBorderWidths(this.boxDiv_);

        this.listeners_ = [
          google.maps.event.addDomListener(document, "keydown", function (e) {
            me.onKeyDown_(e);
          }),
          google.maps.event.addDomListener(document, "keyup", function (e) {
            me.onKeyUp_(e);
          }),
          google.maps.event.addDomListener(this.veilDiv_[0], "mousedown", function (e) {
            me.onMouseDown_(e);
          }),
          google.maps.event.addDomListener(this.veilDiv_[1], "mousedown", function (e) {
            me.onMouseDown_(e);
          }),
          google.maps.event.addDomListener(this.veilDiv_[2], "mousedown", function (e) {
            me.onMouseDown_(e);
          }),
          google.maps.event.addDomListener(this.veilDiv_[3], "mousedown", function (e) {
            me.onMouseDown_(e);
          }),
          google.maps.event.addDomListener(document, "mousedown", function (e) {
            me.onMouseDownDocument_(e);
          }),
          google.maps.event.addDomListener(document, "mousemove", function (e) {
            me.onMouseMove_(e);
          }),
          google.maps.event.addDomListener(document, "mouseup", function (e) {
            me.onMouseUp_(e);
          }),
          google.maps.event.addDomListener(window, "scroll", getScrollValue)
        ];

        this.hotKeyDown_ = false;
        this.mouseDown_ = false;
        this.dragging_ = false;
        this.startPt_ = null;
        this.endPt_ = null;
        this.mapWidth_ = null;
        this.mapHeight_ = null;
        this.mousePosn_ = null;
        this.mapPosn_ = null;

        if (this.visualEnabled_) {
          this.buttonDiv_ = this.initControl_(this.visualPositionOffset_);
          if (this.visualPositionIndex_ !== null) {
            this.buttonDiv_.index = this.visualPositionIndex_;
          }
          this.map_.controls[this.visualPosition_].push(this.buttonDiv_);
          this.controlIndex_ = this.map_.controls[this.visualPosition_].length - 1;
        }
      };
      /**
       * Initializes the visual control and returns its DOM element.
       * @param {Size} offset The offset of the control from its normal position.
       * @return {Node} The DOM element containing the visual control.
       */
      DragZoom.prototype.initControl_ = function (offset) {
        var control;
        var image;
        var me = this;

        control = document.createElement("div");
        control.className = this.visualClass_;
        control.style.position = "relative";
        control.style.overflow = "hidden";
        control.style.height = this.visualSize_.height + "px";
        control.style.width = this.visualSize_.width + "px";
        control.title = this.visualTips_.off;
        image = document.createElement("img");
        image.src = this.visualSprite_;
        image.style.position = "absolute";
        image.style.left = -(this.visualSize_.width * 2) + "px";
        image.style.top = 0 + "px";
        control.appendChild(image);
        control.onclick = function (e) {
          me.hotKeyDown_ = !me.hotKeyDown_;
          if (me.hotKeyDown_) {
            me.buttonDiv_.firstChild.style.left = -(me.visualSize_.width * 0) + "px";
            me.buttonDiv_.title = me.visualTips_.on;
            me.activatedByControl_ = true;
            google.maps.event.trigger(me, "activate");
          } else {
            me.buttonDiv_.firstChild.style.left = -(me.visualSize_.width * 2) + "px";
            me.buttonDiv_.title = me.visualTips_.off;
            google.maps.event.trigger(me, "deactivate");
          }
          me.onMouseMove_(e); // Updates the veil
        };
        control.onmouseover = function () {
          me.buttonDiv_.firstChild.style.left = -(me.visualSize_.width * 1) + "px";
        };
        control.onmouseout = function () {
          if (me.hotKeyDown_) {
            me.buttonDiv_.firstChild.style.left = -(me.visualSize_.width * 0) + "px";
            me.buttonDiv_.title = me.visualTips_.on;
          } else {
            me.buttonDiv_.firstChild.style.left = -(me.visualSize_.width * 2) + "px";
            me.buttonDiv_.title = me.visualTips_.off;
          }
        };
        control.ondragstart = function () {
          return false;
        };
        setVals(control.style, {
          cursor: "pointer",
          marginTop: offset.height + "px",
          marginLeft: offset.width + "px"
        });
        return control;
      };
      /**
       * Returns <code>true</code> if the hot key is being pressed when an event occurs.
       * @param {Event} e The keyboard event.
       * @return {boolean} Flag indicating whether the hot key is down.
       */
      DragZoom.prototype.isHotKeyDown_ = function (e) {
        var isHot;
        e = e || window.event;
        isHot = (e.shiftKey && this.key_ === "shift") || (e.altKey && this.key_ === "alt") || (e.ctrlKey && this.key_ === "ctrl");
        if (!isHot) {
          // Need to look at keyCode for Opera because it
          // doesn't set the shiftKey, altKey, ctrlKey properties
          // unless a non-modifier event is being reported.
          //
          // See http://cross-browser.com/x/examples/shift_mode.php
          // Also see http://unixpapa.com/js/key.html
          switch (e.keyCode) {
          case 16:
            if (this.key_ === "shift") {
              isHot = true;
            }
            break;
          case 17:
            if (this.key_ === "ctrl") {
              isHot = true;
            }
            break;
          case 18:
            if (this.key_ === "alt") {
              isHot = true;
            }
            break;
          }
        }
        return isHot;
      };
      /**
       * Returns <code>true</code> if the mouse is on top of the map div.
       * The position is captured in onMouseMove_.
       * @return {boolean}
       */
      DragZoom.prototype.isMouseOnMap_ = function () {
        var mousePosn = this.mousePosn_;
        if (mousePosn) {
          var mapPosn = this.mapPosn_;
          var mapDiv = this.map_.getDiv();
          return mousePosn.left > mapPosn.left && mousePosn.left < (mapPosn.left + mapDiv.offsetWidth) &&
          mousePosn.top > mapPosn.top && mousePosn.top < (mapPosn.top + mapDiv.offsetHeight);
        } else {
          // if user never moved mouse
          return false;
        }
      };
      /**
       * Show the veil if the hot key is down and the mouse is over the map,
       * otherwise hide the veil.
       */
      DragZoom.prototype.setVeilVisibility_ = function () {
        var i;
        if (this.map_ && this.hotKeyDown_ && this.isMouseOnMap_()) {
          var mapDiv = this.map_.getDiv();
          this.mapWidth_ = mapDiv.offsetWidth - (this.borderWidths_.left + this.borderWidths_.right);
          this.mapHeight_ = mapDiv.offsetHeight - (this.borderWidths_.top + this.borderWidths_.bottom);
          if (this.activatedByControl_) { // Veil covers entire map (except control)
            var left = parseInt(this.buttonDiv_.style.left, 10) + this.visualPositionOffset_.width;
            var top = parseInt(this.buttonDiv_.style.top, 10) + this.visualPositionOffset_.height;
            var width = this.visualSize_.width;
            var height = this.visualSize_.height;
            // Left veil rectangle:
            this.veilDiv_[0].style.top = "0px";
            this.veilDiv_[0].style.left = "0px";
            this.veilDiv_[0].style.width = left + "px";
            this.veilDiv_[0].style.height = this.mapHeight_ + "px";
            // Right veil rectangle:
            this.veilDiv_[1].style.top = "0px";
            this.veilDiv_[1].style.left = (left + width) + "px";
            this.veilDiv_[1].style.width = (this.mapWidth_ - (left + width)) + "px";
            this.veilDiv_[1].style.height = this.mapHeight_ + "px";
            // Top veil rectangle:
            this.veilDiv_[2].style.top = "0px";
            this.veilDiv_[2].style.left = left + "px";
            this.veilDiv_[2].style.width = width + "px";
            this.veilDiv_[2].style.height = top + "px";
            // Bottom veil rectangle:
            this.veilDiv_[3].style.top = (top + height) + "px";
            this.veilDiv_[3].style.left = left + "px";
            this.veilDiv_[3].style.width = width + "px";
            this.veilDiv_[3].style.height = (this.mapHeight_ - (top + height)) + "px";
            for (i = 0; i < this.veilDiv_.length; i++) {
              this.veilDiv_[i].style.display = "block";
            }
          } else {
            this.veilDiv_[0].style.left = "0px";
            this.veilDiv_[0].style.top = "0px";
            this.veilDiv_[0].style.width = this.mapWidth_ + "px";
            this.veilDiv_[0].style.height = this.mapHeight_ + "px";
            for (i = 1; i < this.veilDiv_.length; i++) {
              this.veilDiv_[i].style.width = "0px";
              this.veilDiv_[i].style.height = "0px";
            }
            for (i = 0; i < this.veilDiv_.length; i++) {
              this.veilDiv_[i].style.display = "block";
            }
          }
        } else {
          for (i = 0; i < this.veilDiv_.length; i++) {
            this.veilDiv_[i].style.display = "none";
          }
        }
      };
      /**
       * Handle key down. Show the veil if the hot key has been pressed.
       * @param {Event} e The keyboard event.
       */
      DragZoom.prototype.onKeyDown_ = function (e) {
        if (this.map_ && !this.hotKeyDown_ && this.isHotKeyDown_(e)) {
          this.mapPosn_ = getElementPosition(this.map_.getDiv());
          this.hotKeyDown_ = true;
          this.activatedByControl_ = false;
          this.setVeilVisibility_();
         /**
           * This event is fired when the hot key is pressed.
           * @name DragZoom#activate
           * @event
           */
          google.maps.event.trigger(this, "activate");
        }
      };
      /**
       * Get the <code>google.maps.Point</code> of the mouse position.
       * @param {Event} e The mouse event.
       * @return {Point} The mouse position.
       */
      DragZoom.prototype.getMousePoint_ = function (e) {
        var mousePosn = getMousePosition(e);
        var p = new google.maps.Point();
        p.x = mousePosn.left - this.mapPosn_.left - this.borderWidths_.left;
        p.y = mousePosn.top - this.mapPosn_.top - this.borderWidths_.top;
        p.x = Math.min(p.x, this.mapWidth_);
        p.y = Math.min(p.y, this.mapHeight_);
        p.x = Math.max(p.x, 0);
        p.y = Math.max(p.y, 0);
        return p;
      };
      /**
       * Handle mouse down.
       * @param {Event} e The mouse event.
       */
      DragZoom.prototype.onMouseDown_ = function (e) {
        if (this.map_ && this.hotKeyDown_) {
          this.mapPosn_ = getElementPosition(this.map_.getDiv());
          this.dragging_ = true;
          this.startPt_ = this.endPt_ = this.getMousePoint_(e);
          this.boxDiv_.style.width = this.boxDiv_.style.height = "0px";
          var prj = this.prjov_.getProjection();
          var latlng = prj.fromContainerPixelToLatLng(this.startPt_);
          /**
           * This event is fired when the drag operation begins.
           * The parameter passed is the geographic position of the starting point.
           * @name DragZoom#dragstart
           * @param {LatLng} latlng The geographic position of the starting point.
           * @event
           */
          google.maps.event.trigger(this, "dragstart", latlng);
        }
      };
      /**
       * Handle mouse down at the document level.
       * @param {Event} e The mouse event.
       */
      DragZoom.prototype.onMouseDownDocument_ = function (e) {
        this.mouseDown_ = true;
      };
      /**
       * Handle mouse move.
       * @param {Event} e The mouse event.
       */
      DragZoom.prototype.onMouseMove_ = function (e) {
        this.mousePosn_ = getMousePosition(e);
        if (this.dragging_) {
          this.endPt_ = this.getMousePoint_(e);
          var left = Math.min(this.startPt_.x, this.endPt_.x);
          var top = Math.min(this.startPt_.y, this.endPt_.y);
          var width = Math.abs(this.startPt_.x - this.endPt_.x);
          var height = Math.abs(this.startPt_.y - this.endPt_.y);
          // For benefit of MSIE 7/8 ensure following values are not negative:
          var boxWidth = Math.max(0, width - (this.boxBorderWidths_.left + this.boxBorderWidths_.right));
          var boxHeight = Math.max(0, height - (this.boxBorderWidths_.top + this.boxBorderWidths_.bottom));
          // Left veil rectangle:
          this.veilDiv_[0].style.top = "0px";
          this.veilDiv_[0].style.left = "0px";
          this.veilDiv_[0].style.width = left + "px";
          this.veilDiv_[0].style.height = this.mapHeight_ + "px";
          // Right veil rectangle:
          this.veilDiv_[1].style.top = "0px";
          this.veilDiv_[1].style.left = (left + width) + "px";
          this.veilDiv_[1].style.width = (this.mapWidth_ - (left + width)) + "px";
          this.veilDiv_[1].style.height = this.mapHeight_ + "px";
          // Top veil rectangle:
          this.veilDiv_[2].style.top = "0px";
          this.veilDiv_[2].style.left = left + "px";
          this.veilDiv_[2].style.width = width + "px";
          this.veilDiv_[2].style.height = top + "px";
          // Bottom veil rectangle:
          this.veilDiv_[3].style.top = (top + height) + "px";
          this.veilDiv_[3].style.left = left + "px";
          this.veilDiv_[3].style.width = width + "px";
          this.veilDiv_[3].style.height = (this.mapHeight_ - (top + height)) + "px";
          // Selection rectangle:
          this.boxDiv_.style.top = top + "px";
          this.boxDiv_.style.left = left + "px";
          this.boxDiv_.style.width = boxWidth + "px";
          this.boxDiv_.style.height = boxHeight + "px";
          this.boxDiv_.style.display = "block";
          /**
           * This event is fired repeatedly while the user drags a box across the area of interest.
           * The southwest and northeast point are passed as parameters of type <code>google.maps.Point</code>
           * (for performance reasons), relative to the map container. Also passed is the projection object
           * so that the event listener, if necessary, can convert the pixel positions to geographic
           * coordinates using <code>google.maps.MapCanvasProjection.fromContainerPixelToLatLng</code>.
           * @name DragZoom#drag
           * @param {Point} southwestPixel The southwest point of the selection area.
           * @param {Point} northeastPixel The northeast point of the selection area.
           * @param {MapCanvasProjection} prj The projection object.
           * @event
           */
          google.maps.event.trigger(this, "drag", new google.maps.Point(left, top + height), new google.maps.Point(left + width, top), this.prjov_.getProjection());
        } else if (!this.mouseDown_) {
          this.mapPosn_ = getElementPosition(this.map_.getDiv());
          this.setVeilVisibility_();
        }
      };
      /**
       * Handle mouse up.
       * @param {Event} e The mouse event.
       */
      DragZoom.prototype.onMouseUp_ = function (e) {
        var z;
        var me = this;
        this.mouseDown_ = false;
        if (this.dragging_) {
          if ((this.getMousePoint_(e).x === this.startPt_.x) && (this.getMousePoint_(e).y === this.startPt_.y)) {
            this.onKeyUp_(e); // Cancel event
            return;
          }
          var left = Math.min(this.startPt_.x, this.endPt_.x);
          var top = Math.min(this.startPt_.y, this.endPt_.y);
          var width = Math.abs(this.startPt_.x - this.endPt_.x);
          var height = Math.abs(this.startPt_.y - this.endPt_.y);
          // Google Maps API bug: setCenter() doesn't work as expected if the map has a
          // border on the left or top. The code here includes a workaround for this problem.
          var kGoogleCenteringBug = true;
          if (kGoogleCenteringBug) {
            left += this.borderWidths_.left;
            top += this.borderWidths_.top;
          }

          var prj = this.prjov_.getProjection();
          var sw = prj.fromContainerPixelToLatLng(new google.maps.Point(left, top + height));
          var ne = prj.fromContainerPixelToLatLng(new google.maps.Point(left + width, top));
          var bnds = new google.maps.LatLngBounds(sw, ne);

          if (this.noZoom_) {
            this.boxDiv_.style.display = "none";
          } else {
            // Sometimes fitBounds causes a zoom OUT, so restore original zoom level if this happens.
            z = this.map_.getZoom();
            this.map_.fitBounds(bnds);
            if (this.map_.getZoom() < z) {
              this.map_.setZoom(z);
            }

            // Redraw box after zoom:
            var swPt = prj.fromLatLngToContainerPixel(sw);
            var nePt = prj.fromLatLngToContainerPixel(ne);
            if (kGoogleCenteringBug) {
              swPt.x -= this.borderWidths_.left;
              swPt.y -= this.borderWidths_.top;
              nePt.x -= this.borderWidths_.left;
              nePt.y -= this.borderWidths_.top;
            }
            this.boxDiv_.style.left = swPt.x + "px";
            this.boxDiv_.style.top = nePt.y + "px";
            this.boxDiv_.style.width = (Math.abs(nePt.x - swPt.x) - (this.boxBorderWidths_.left + this.boxBorderWidths_.right)) + "px";
            this.boxDiv_.style.height = (Math.abs(nePt.y - swPt.y) - (this.boxBorderWidths_.top + this.boxBorderWidths_.bottom)) + "px";
            // Hide box asynchronously after 1 second:
            setTimeout(function () {
              me.boxDiv_.style.display = "none";
            }, 1000);
          }
          this.dragging_ = false;
          this.onMouseMove_(e); // Updates the veil
          /**
           * This event is fired when the drag operation ends.
           * The parameter passed is the geographic bounds of the selected area.
           * Note that this event is <i>not</i> fired if the hot key is released before the drag operation ends.
           * @name DragZoom#dragend
           * @param {LatLngBounds} bnds The geographic bounds of the selected area.
           * @event
           */
          google.maps.event.trigger(this, "dragend", bnds);
          // if the hot key isn't down, the drag zoom must have been activated by turning
          // on the visual control. In this case, finish up by simulating a key up event.
          if (!this.isHotKeyDown_(e)) {
            this.onKeyUp_(e);
          }
        }
      };
      /**
       * Handle key up.
       * @param {Event} e The keyboard event.
       */
      DragZoom.prototype.onKeyUp_ = function (e) {
        var i;
        var left, top, width, height, prj, sw, ne;
        var bnds = null;
        if (this.map_ && this.hotKeyDown_) {
          this.hotKeyDown_ = false;
          if (this.dragging_) {
            this.boxDiv_.style.display = "none";
            this.dragging_ = false;
            // Calculate the bounds when drag zoom was cancelled
            left = Math.min(this.startPt_.x, this.endPt_.x);
            top = Math.min(this.startPt_.y, this.endPt_.y);
            width = Math.abs(this.startPt_.x - this.endPt_.x);
            height = Math.abs(this.startPt_.y - this.endPt_.y);
            prj = this.prjov_.getProjection();
            sw = prj.fromContainerPixelToLatLng(new google.maps.Point(left, top + height));
            ne = prj.fromContainerPixelToLatLng(new google.maps.Point(left + width, top));
            bnds = new google.maps.LatLngBounds(sw, ne);
          }
          for (i = 0; i < this.veilDiv_.length; i++) {
            this.veilDiv_[i].style.display = "none";
          }
          if (this.visualEnabled_) {
            this.buttonDiv_.firstChild.style.left = -(this.visualSize_.width * 2) + "px";
            this.buttonDiv_.title = this.visualTips_.off;
            this.buttonDiv_.style.display = "";
          }
          /**
           * This event is fired when the hot key is released.
           * The parameter passed is the geographic bounds of the selected area immediately
           * before the hot key was released.
           * @name DragZoom#deactivate
           * @param {LatLngBounds} bnds The geographic bounds of the selected area immediately
           *  before the hot key was released.
           * @event
           */
          google.maps.event.trigger(this, "deactivate", bnds);
        }
      };
      /**
       * @name google.maps.Map
       * @class These are new methods added to the Google Maps JavaScript API V3's
       * <a href="http://code.google.com/apis/maps/documentation/javascript/reference.html#Map">Map</a>
       * class.
       */
      /**
       * Enables drag zoom. The user can zoom to an area of interest by holding down the hot key
       * <code>(shift | ctrl | alt )</code> while dragging a box around the area or by turning
       * on the visual control then dragging a box around the area.
       * @param {KeyDragZoomOptions} opt_zoomOpts The optional parameters.
       */
      google.maps.Map.prototype.enableKeyDragZoom = function (opt_zoomOpts) {
        this.dragZoom_ = new DragZoom(this, opt_zoomOpts);
      };
      /**
       * Disables drag zoom.
       */
      google.maps.Map.prototype.disableKeyDragZoom = function () {
        var i;
        var d = this.dragZoom_;
        if (d) {
          for (i = 0; i < d.listeners_.length; ++i) {
            google.maps.event.removeListener(d.listeners_[i]);
          }
          this.getDiv().removeChild(d.boxDiv_);
          for (i = 0; i < d.veilDiv_.length; i++) {
            this.getDiv().removeChild(d.veilDiv_[i]);
          }
          if (d.visualEnabled_) {
            // Remove the custom control:
            this.controls[d.visualPosition_].removeAt(d.controlIndex_);
          }
          d.prjov_.setMap(null);
          this.dragZoom_ = null;
        }
      };
      /**
       * Returns <code>true</code> if the drag zoom feature has been enabled.
       * @return {boolean}
       */
      google.maps.Map.prototype.keyDragZoomEnabled = function () {
        return this.dragZoom_ !== null;
      };
      /**
       * Returns the DragZoom object which is created when <code>google.maps.Map.enableKeyDragZoom</code> is called.
       * With this object you can use <code>google.maps.event.addListener</code> to attach event listeners
       * for the "activate", "deactivate", "dragstart", "drag", and "dragend" events.
       * @return {DragZoom}
       */
      google.maps.Map.prototype.getDragZoomObject = function () {
        return this.dragZoom_;
      };
    })();

    /**
     *  google-maps-utility-library-v3-markerwithlabel
     *
     * @version: 1.1.10
     * @author: Gary Little (inspired by code from Marc Ridey of Google).
     * @contributors: Nicholas McCready
     * @date: Fri May 13 2016 16:29:58 GMT-0400 (EDT)
     * @license: Apache License 2.0
     */
    /**
     *  MarkerWithLabel allows you to define markers with associated labels. As you would expect,
     *  if the marker is draggable, so too will be the label. In addition, a marker with a label
     *  responds to all mouse events in the same manner as a regular marker. It also fires mouse
     *  events and "property changed" events just as a regular marker would. Version 1.1 adds
     *  support for the raiseOnDrag feature introduced in API V3.3.
     *  <p>
     *  If you drag a marker by its label, you can cancel the drag and return the marker to its
     *  original position by pressing the <code>Esc</code> key. This doesn't work if you drag the marker
     *  itself because this feature is not (yet) supported in the <code>google.maps.Marker</code> class.
     */

    /*jslint browser:true */
    /*global document,google */

    /**
     * @param {Function} childCtor Child class.
     * @param {Function} parentCtor Parent class.
     * @private
     */
    function inherits(childCtor, parentCtor) {
      /* @constructor */
      function tempCtor() {}
      tempCtor.prototype = parentCtor.prototype;
      childCtor.superClass_ = parentCtor.prototype;
      childCtor.prototype = new tempCtor();
      /* @override */
      childCtor.prototype.constructor = childCtor;
    }

    /**
     * This constructor creates a label and associates it with a marker.
     * It is for the private use of the MarkerWithLabel class.
     * @constructor
     * @param {Marker} marker The marker with which the label is to be associated.
     * @param {string} crossURL The URL of the cross image =.
     * @param {string} handCursor The URL of the hand cursor.
     * @private
     */
    function MarkerLabel_(marker, crossURL, handCursorURL) {
      this.marker_ = marker;
      this.handCursorURL_ = marker.handCursorURL;

      this.labelDiv_ = document.createElement("div");
      this.labelDiv_.style.cssText = "position: absolute; overflow: hidden;";

      // Set up the DIV for handling mouse events in the label. This DIV forms a transparent veil
      // in the "overlayMouseTarget" pane, a veil that covers just the label. This is done so that
      // events can be captured even if the label is in the shadow of a google.maps.InfoWindow.
      // Code is included here to ensure the veil is always exactly the same size as the label.
      this.eventDiv_ = document.createElement("div");
      this.eventDiv_.style.cssText = this.labelDiv_.style.cssText;

      // This is needed for proper behavior on MSIE:
      this.eventDiv_.setAttribute("onselectstart", "return false;");
      this.eventDiv_.setAttribute("ondragstart", "return false;");

      // Get the DIV for the "X" to be displayed when the marker is raised.
      this.crossDiv_ = MarkerLabel_.getSharedCross(crossURL);
    }

    inherits(MarkerLabel_, google.maps.OverlayView);

    /**
     * Returns the DIV for the cross used when dragging a marker when the
     * raiseOnDrag parameter set to true. One cross is shared with all markers.
     * @param {string} crossURL The URL of the cross image =.
     * @private
     */
    MarkerLabel_.getSharedCross = function (crossURL) {
      var div;
      if (typeof MarkerLabel_.getSharedCross.crossDiv === "undefined") {
        div = document.createElement("img");
        div.style.cssText = "position: absolute; z-index: 1000002; display: none;";
        // Hopefully Google never changes the standard "X" attributes:
        div.style.marginLeft = "-8px";
        div.style.marginTop = "-9px";
        div.src = crossURL;
        MarkerLabel_.getSharedCross.crossDiv = div;
      }
      return MarkerLabel_.getSharedCross.crossDiv;
    };

    /**
     * Adds the DIV representing the label to the DOM. This method is called
     * automatically when the marker's <code>setMap</code> method is called.
     * @private
     */
    MarkerLabel_.prototype.onAdd = function () {
      var me = this;
      var cMouseIsDown = false;
      var cDraggingLabel = false;
      var cSavedZIndex;
      var cLatOffset, cLngOffset;
      var cIgnoreClick;
      var cRaiseEnabled;
      var cStartPosition;
      var cStartCenter;
      // Constants:
      var cRaiseOffset = 20;
      var cDraggingCursor = "url(" + this.handCursorURL_ + ")";

      // Stops all processing of an event.
      //
      var cAbortEvent = function (e) {
        if (e.preventDefault) {
          e.preventDefault();
        }
        e.cancelBubble = true;
        if (e.stopPropagation) {
          e.stopPropagation();
        }
      };

      var cStopBounce = function () {
        me.marker_.setAnimation(null);
      };

      this.getPanes().overlayImage.appendChild(this.labelDiv_);
      this.getPanes().overlayMouseTarget.appendChild(this.eventDiv_);
      // One cross is shared with all markers, so only add it once:
      if (typeof MarkerLabel_.getSharedCross.processed === "undefined") {
        this.getPanes().overlayImage.appendChild(this.crossDiv_);
        MarkerLabel_.getSharedCross.processed = true;
      }

      this.listeners_ = [
        google.maps.event.addDomListener(this.eventDiv_, "mouseover", function (e) {
          if (me.marker_.getDraggable() || me.marker_.getClickable()) {
            this.style.cursor = "pointer";
            google.maps.event.trigger(me.marker_, "mouseover", e);
          }
        }),
        google.maps.event.addDomListener(this.eventDiv_, "mouseout", function (e) {
          if ((me.marker_.getDraggable() || me.marker_.getClickable()) && !cDraggingLabel) {
            this.style.cursor = me.marker_.getCursor();
            google.maps.event.trigger(me.marker_, "mouseout", e);
          }
        }),
        google.maps.event.addDomListener(this.eventDiv_, "mousedown", function (e) {
          cDraggingLabel = false;
          if (me.marker_.getDraggable()) {
            cMouseIsDown = true;
            this.style.cursor = cDraggingCursor;
          }
          if (me.marker_.getDraggable() || me.marker_.getClickable()) {
            google.maps.event.trigger(me.marker_, "mousedown", e);
            cAbortEvent(e); // Prevent map pan when starting a drag on a label
          }
        }),
        google.maps.event.addDomListener(document, "mouseup", function (mEvent) {
          var position;
          if (cMouseIsDown) {
            cMouseIsDown = false;
            me.eventDiv_.style.cursor = "pointer";
            google.maps.event.trigger(me.marker_, "mouseup", mEvent);
          }
          if (cDraggingLabel) {
            if (cRaiseEnabled) { // Lower the marker & label
              position = me.getProjection().fromLatLngToDivPixel(me.marker_.getPosition());
              position.y += cRaiseOffset;
              me.marker_.setPosition(me.getProjection().fromDivPixelToLatLng(position));
              // This is not the same bouncing style as when the marker portion is dragged,
              // but it will have to do:
              try { // Will fail if running Google Maps API earlier than V3.3
                me.marker_.setAnimation(google.maps.Animation.BOUNCE);
                setTimeout(cStopBounce, 1406);
              } catch (e) {}
            }
            me.crossDiv_.style.display = "none";
            me.marker_.setZIndex(cSavedZIndex);
            cIgnoreClick = true; // Set flag to ignore the click event reported after a label drag
            cDraggingLabel = false;
            mEvent.latLng = me.marker_.getPosition();
            google.maps.event.trigger(me.marker_, "dragend", mEvent);
          }
        }),
        google.maps.event.addListener(me.marker_.getMap(), "mousemove", function (mEvent) {
          var position;
          if (cMouseIsDown) {
            if (cDraggingLabel) {
              // Change the reported location from the mouse position to the marker position:
              mEvent.latLng = new google.maps.LatLng(mEvent.latLng.lat() - cLatOffset, mEvent.latLng.lng() - cLngOffset);
              position = me.getProjection().fromLatLngToDivPixel(mEvent.latLng);
              if (cRaiseEnabled) {
                me.crossDiv_.style.left = position.x + "px";
                me.crossDiv_.style.top = position.y + "px";
                me.crossDiv_.style.display = "";
                position.y -= cRaiseOffset;
              }
              me.marker_.setPosition(me.getProjection().fromDivPixelToLatLng(position));
              if (cRaiseEnabled) { // Don't raise the veil; this hack needed to make MSIE act properly
                me.eventDiv_.style.top = (position.y + cRaiseOffset) + "px";
              }
              google.maps.event.trigger(me.marker_, "drag", mEvent);
            } else {
              // Calculate offsets from the click point to the marker position:
              cLatOffset = mEvent.latLng.lat() - me.marker_.getPosition().lat();
              cLngOffset = mEvent.latLng.lng() - me.marker_.getPosition().lng();
              cSavedZIndex = me.marker_.getZIndex();
              cStartPosition = me.marker_.getPosition();
              cStartCenter = me.marker_.getMap().getCenter();
              cRaiseEnabled = me.marker_.get("raiseOnDrag");
              cDraggingLabel = true;
              me.marker_.setZIndex(1000000); // Moves the marker & label to the foreground during a drag
              mEvent.latLng = me.marker_.getPosition();
              google.maps.event.trigger(me.marker_, "dragstart", mEvent);
            }
          }
        }),
        google.maps.event.addDomListener(document, "keydown", function (e) {
          if (cDraggingLabel) {
            if (e.keyCode === 27) { // Esc key
              cRaiseEnabled = false;
              me.marker_.setPosition(cStartPosition);
              me.marker_.getMap().setCenter(cStartCenter);
              google.maps.event.trigger(document, "mouseup", e);
            }
          }
        }),
        google.maps.event.addDomListener(this.eventDiv_, "click", function (e) {
          if (me.marker_.getDraggable() || me.marker_.getClickable()) {
            if (cIgnoreClick) { // Ignore the click reported when a label drag ends
              cIgnoreClick = false;
            } else {
              google.maps.event.trigger(me.marker_, "click", e);
              cAbortEvent(e); // Prevent click from being passed on to map
            }
          }
        }),
        google.maps.event.addDomListener(this.eventDiv_, "dblclick", function (e) {
          if (me.marker_.getDraggable() || me.marker_.getClickable()) {
            google.maps.event.trigger(me.marker_, "dblclick", e);
            cAbortEvent(e); // Prevent map zoom when double-clicking on a label
          }
        }),
        google.maps.event.addListener(this.marker_, "dragstart", function (mEvent) {
          if (!cDraggingLabel) {
            cRaiseEnabled = this.get("raiseOnDrag");
          }
        }),
        google.maps.event.addListener(this.marker_, "drag", function (mEvent) {
          if (!cDraggingLabel) {
            if (cRaiseEnabled) {
              me.setPosition(cRaiseOffset);
              // During a drag, the marker's z-index is temporarily set to 1000000 to
              // ensure it appears above all other markers. Also set the label's z-index
              // to 1000000 (plus or minus 1 depending on whether the label is supposed
              // to be above or below the marker).
              me.labelDiv_.style.zIndex = 1000000 + (this.get("labelInBackground") ? -1 : +1);
            }
          }
        }),
        google.maps.event.addListener(this.marker_, "dragend", function (mEvent) {
          if (!cDraggingLabel) {
            if (cRaiseEnabled) {
              me.setPosition(0); // Also restores z-index of label
            }
          }
        }),
        google.maps.event.addListener(this.marker_, "position_changed", function () {
          me.setPosition();
        }),
        google.maps.event.addListener(this.marker_, "zindex_changed", function () {
          me.setZIndex();
        }),
        google.maps.event.addListener(this.marker_, "visible_changed", function () {
          me.setVisible();
        }),
        google.maps.event.addListener(this.marker_, "labelvisible_changed", function () {
          me.setVisible();
        }),
        google.maps.event.addListener(this.marker_, "title_changed", function () {
          me.setTitle();
        }),
        google.maps.event.addListener(this.marker_, "labelcontent_changed", function () {
          me.setContent();
        }),
        google.maps.event.addListener(this.marker_, "labelanchor_changed", function () {
          me.setAnchor();
        }),
        google.maps.event.addListener(this.marker_, "labelclass_changed", function () {
          me.setStyles();
        }),
        google.maps.event.addListener(this.marker_, "labelstyle_changed", function () {
          me.setStyles();
        })
      ];
    };

    /**
     * Removes the DIV for the label from the DOM. It also removes all event handlers.
     * This method is called automatically when the marker's <code>setMap(null)</code>
     * method is called.
     * @private
     */
    MarkerLabel_.prototype.onRemove = function () {
      var i;
      this.labelDiv_.parentNode.removeChild(this.labelDiv_);
      this.eventDiv_.parentNode.removeChild(this.eventDiv_);

      // Remove event listeners:
      for (i = 0; i < this.listeners_.length; i++) {
        google.maps.event.removeListener(this.listeners_[i]);
      }
    };

    /**
     * Draws the label on the map.
     * @private
     */
    MarkerLabel_.prototype.draw = function () {
      this.setContent();
      this.setTitle();
      this.setStyles();
    };

    /**
     * Sets the content of the label.
     * The content can be plain text or an HTML DOM node.
     * @private
     */
    MarkerLabel_.prototype.setContent = function () {
      var content = this.marker_.get("labelContent");
      if (typeof content.nodeType === "undefined") {
        this.labelDiv_.innerHTML = content;
        this.eventDiv_.innerHTML = this.labelDiv_.innerHTML;
      } else {
        this.labelDiv_.innerHTML = ""; // Remove current content
        this.labelDiv_.appendChild(content);
        content = content.cloneNode(true);
        this.eventDiv_.innerHTML = ""; // Remove current content
        this.eventDiv_.appendChild(content);
      }
    };

    /**
     * Sets the content of the tool tip for the label. It is
     * always set to be the same as for the marker itself.
     * @private
     */
    MarkerLabel_.prototype.setTitle = function () {
      this.eventDiv_.title = this.marker_.getTitle() || "";
    };

    /**
     * Sets the style of the label by setting the style sheet and applying
     * other specific styles requested.
     * @private
     */
    MarkerLabel_.prototype.setStyles = function () {
      var i, labelStyle;

      // Apply style values from the style sheet defined in the labelClass parameter:
      this.labelDiv_.className = this.marker_.get("labelClass");
      this.eventDiv_.className = this.labelDiv_.className;

      // Clear existing inline style values:
      this.labelDiv_.style.cssText = "";
      this.eventDiv_.style.cssText = "";
      // Apply style values defined in the labelStyle parameter:
      labelStyle = this.marker_.get("labelStyle");
      for (i in labelStyle) {
        if (labelStyle.hasOwnProperty(i)) {
          this.labelDiv_.style[i] = labelStyle[i];
          this.eventDiv_.style[i] = labelStyle[i];
        }
      }
      this.setMandatoryStyles();
    };

    /**
     * Sets the mandatory styles to the DIV representing the label as well as to the
     * associated event DIV. This includes setting the DIV position, z-index, and visibility.
     * @private
     */
    MarkerLabel_.prototype.setMandatoryStyles = function () {
      this.labelDiv_.style.position = "absolute";
      this.labelDiv_.style.overflow = "hidden";
      // Make sure the opacity setting causes the desired effect on MSIE:
      if (typeof this.labelDiv_.style.opacity !== "undefined" && this.labelDiv_.style.opacity !== "") {
        this.labelDiv_.style.MsFilter = "\"progid:DXImageTransform.Microsoft.Alpha(opacity=" + (this.labelDiv_.style.opacity * 100) + ")\"";
        this.labelDiv_.style.filter = "alpha(opacity=" + (this.labelDiv_.style.opacity * 100) + ")";
      }

      this.eventDiv_.style.position = this.labelDiv_.style.position;
      this.eventDiv_.style.overflow = this.labelDiv_.style.overflow;
      this.eventDiv_.style.opacity = 0.01; // Don't use 0; DIV won't be clickable on MSIE
      this.eventDiv_.style.MsFilter = "\"progid:DXImageTransform.Microsoft.Alpha(opacity=1)\"";
      this.eventDiv_.style.filter = "alpha(opacity=1)"; // For MSIE

      this.setAnchor();
      this.setPosition(); // This also updates z-index, if necessary.
      this.setVisible();
    };

    /**
     * Sets the anchor point of the label.
     * @private
     */
    MarkerLabel_.prototype.setAnchor = function () {
      var anchor = this.marker_.get("labelAnchor");
      this.labelDiv_.style.marginLeft = -anchor.x + "px";
      this.labelDiv_.style.marginTop = -anchor.y + "px";
      this.eventDiv_.style.marginLeft = -anchor.x + "px";
      this.eventDiv_.style.marginTop = -anchor.y + "px";
    };

    /**
     * Sets the position of the label. The z-index is also updated, if necessary.
     * @private
     */
    MarkerLabel_.prototype.setPosition = function (yOffset) {
      var position = this.getProjection().fromLatLngToDivPixel(this.marker_.getPosition());
      if (typeof yOffset === "undefined") {
        yOffset = 0;
      }
      this.labelDiv_.style.left = Math.round(position.x) + "px";
      this.labelDiv_.style.top = Math.round(position.y - yOffset) + "px";
      this.eventDiv_.style.left = this.labelDiv_.style.left;
      this.eventDiv_.style.top = this.labelDiv_.style.top;

      this.setZIndex();
    };

    /**
     * Sets the z-index of the label. If the marker's z-index property has not been defined, the z-index
     * of the label is set to the vertical coordinate of the label. This is in keeping with the default
     * stacking order for Google Maps: markers to the south are in front of markers to the north.
     * @private
     */
    MarkerLabel_.prototype.setZIndex = function () {
      var zAdjust = (this.marker_.get("labelInBackground") ? -1 : +1);
      if (typeof this.marker_.getZIndex() === "undefined") {
        this.labelDiv_.style.zIndex = parseInt(this.labelDiv_.style.top, 10) + zAdjust;
        this.eventDiv_.style.zIndex = this.labelDiv_.style.zIndex;
      } else {
        this.labelDiv_.style.zIndex = this.marker_.getZIndex() + zAdjust;
        this.eventDiv_.style.zIndex = this.labelDiv_.style.zIndex;
      }
    };

    /**
     * Sets the visibility of the label. The label is visible only if the marker itself is
     * visible (i.e., its visible property is true) and the labelVisible property is true.
     * @private
     */
    MarkerLabel_.prototype.setVisible = function () {
      if (this.marker_.get("labelVisible")) {
        this.labelDiv_.style.display = this.marker_.getVisible() ? "block" : "none";
      } else {
        this.labelDiv_.style.display = "none";
      }
      this.eventDiv_.style.display = this.labelDiv_.style.display;
    };

    /**
     * @name MarkerWithLabelOptions
     * @class This class represents the optional parameter passed to the {@link MarkerWithLabel} constructor.
     *  The properties available are the same as for <code>google.maps.Marker</code> with the addition
     *  of the properties listed below. To change any of these additional properties after the labeled
     *  marker has been created, call <code>google.maps.Marker.set(propertyName, propertyValue)</code>.
     *  <p>
     *  When any of these properties changes, a property changed event is fired. The names of these
     *  events are derived from the name of the property and are of the form <code>propertyname_changed</code>.
     *  For example, if the content of the label changes, a <code>labelcontent_changed</code> event
     *  is fired.
     *  <p>
     * @property {string|Node} [labelContent] The content of the label (plain text or an HTML DOM node).
     * @property {Point} [labelAnchor] By default, a label is drawn with its anchor point at (0,0) so
     *  that its top left corner is positioned at the anchor point of the associated marker. Use this
     *  property to change the anchor point of the label. For example, to center a 50px-wide label
     *  beneath a marker, specify a <code>labelAnchor</code> of <code>google.maps.Point(25, 0)</code>.
     *  (Note: x-values increase to the right and y-values increase to the top.)
     * @property {string} [labelClass] The name of the CSS class defining the styles for the label.
     *  Note that style values for <code>position</code>, <code>overflow</code>, <code>top</code>,
     *  <code>left</code>, <code>zIndex</code>, <code>display</code>, <code>marginLeft</code>, and
     *  <code>marginTop</code> are ignored; these styles are for internal use only.
     * @property {Object} [labelStyle] An object literal whose properties define specific CSS
     *  style values to be applied to the label. Style values defined here override those that may
     *  be defined in the <code>labelClass</code> style sheet. If this property is changed after the
     *  label has been created, all previously set styles (except those defined in the style sheet)
     *  are removed from the label before the new style values are applied.
     *  Note that style values for <code>position</code>, <code>overflow</code>, <code>top</code>,
     *  <code>left</code>, <code>zIndex</code>, <code>display</code>, <code>marginLeft</code>, and
     *  <code>marginTop</code> are ignored; these styles are for internal use only.
     * @property {boolean} [labelInBackground] A flag indicating whether a label that overlaps its
     *  associated marker should appear in the background (i.e., in a plane below the marker).
     *  The default is <code>false</code>, which causes the label to appear in the foreground.
     * @property {boolean} [labelVisible] A flag indicating whether the label is to be visible.
     *  The default is <code>true</code>. Note that even if <code>labelVisible</code> is
     *  <code>true</code>, the label will <i>not</i> be visible unless the associated marker is also
     *  visible (i.e., unless the marker's <code>visible</code> property is <code>true</code>).
     * @property {boolean} [raiseOnDrag] A flag indicating whether the label and marker are to be
     *  raised when the marker is dragged. The default is <code>true</code>. If a draggable marker is
     *  being created and a version of Google Maps API earlier than V3.3 is being used, this property
     *  must be set to <code>false</code>.
     * @property {boolean} [optimized] A flag indicating whether rendering is to be optimized for the
     *  marker. <b>Important: The optimized rendering technique is not supported by MarkerWithLabel,
     *  so the value of this parameter is always forced to <code>false</code>.
     * @property {string} [crossImage="http://maps.gstatic.com/intl/en_us/mapfiles/drag_cross_67_16.png"]
     *  The URL of the cross image to be displayed while dragging a marker.
     * @property {string} [handCursor="http://maps.gstatic.com/intl/en_us/mapfiles/closedhand_8_8.cur"]
     *  The URL of the cursor to be displayed while dragging a marker.
     */
    /**
     * Creates a MarkerWithLabel with the options specified in {@link MarkerWithLabelOptions}.
     * @constructor
     * @param {MarkerWithLabelOptions} [opt_options] The optional parameters.
     */
    function MarkerWithLabel(opt_options) {
      opt_options = opt_options || {};
      opt_options.labelContent = opt_options.labelContent || "";
      opt_options.labelAnchor = opt_options.labelAnchor || new google.maps.Point(0, 0);
      opt_options.labelClass = opt_options.labelClass || "markerLabels";
      opt_options.labelStyle = opt_options.labelStyle || {};
      opt_options.labelInBackground = opt_options.labelInBackground || false;
      if (typeof opt_options.labelVisible === "undefined") {
        opt_options.labelVisible = true;
      }
      if (typeof opt_options.raiseOnDrag === "undefined") {
        opt_options.raiseOnDrag = true;
      }
      if (typeof opt_options.clickable === "undefined") {
        opt_options.clickable = true;
      }
      if (typeof opt_options.draggable === "undefined") {
        opt_options.draggable = false;
      }
      if (typeof opt_options.optimized === "undefined") {
        opt_options.optimized = false;
      }
      opt_options.crossImage = opt_options.crossImage || "http" + (document.location.protocol === "https:" ? "s" : "") + "://maps.gstatic.com/intl/en_us/mapfiles/drag_cross_67_16.png";
      opt_options.handCursor = opt_options.handCursor || "http" + (document.location.protocol === "https:" ? "s" : "") + "://maps.gstatic.com/intl/en_us/mapfiles/closedhand_8_8.cur";
      opt_options.optimized = false; // Optimized rendering is not supported

      this.label = new MarkerLabel_(this, opt_options.crossImage, opt_options.handCursor); // Bind the label to the marker

      // Call the parent constructor. It calls Marker.setValues to initialize, so all
      // the new parameters are conveniently saved and can be accessed with get/set.
      // Marker.set triggers a property changed event (called "propertyname_changed")
      // that the marker label listens for in order to react to state changes.
      google.maps.Marker.apply(this, arguments);
    }

    inherits(MarkerWithLabel, google.maps.Marker);

    /**
     * Overrides the standard Marker setMap function.
     * @param {Map} theMap The map to which the marker is to be added.
     * @private
     */
    MarkerWithLabel.prototype.setMap = function (theMap) {

      // Call the inherited function...
      google.maps.Marker.prototype.setMap.apply(this, arguments);

      // ... then deal with the label:
      this.label.setMap(theMap);
    };

    // ==ClosureCompiler==
    // @compilation_level ADVANCED_OPTIMIZATIONS
    // @externs_url http://closure-compiler.googlecode.com/svn/trunk/contrib/externs/maps/google_maps_api_v3.js
    // @output_wrapper (function() {%output%})();
    // ==/ClosureCompiler==

    /**
     * @license
     * Copyright 2013 Google Inc. All Rights Reserved.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */

    /**
     * A RichMarker that allows any HTML/DOM to be added to a map and be draggable.
     *
     * @param {Object.<string, *>=} opt_options Optional properties to set.
     * @extends {google.maps.OverlayView}
     * @constructor
     */
    function RichMarker(opt_options) {
      var options = opt_options || {};

      /**
       * @type {boolean}
       * @private
       */
      this.ready_ = false;

      /**
       * @type {boolean}
       * @private
       */
      this.dragging_ = false;

      if (opt_options['visible'] == undefined) {
        opt_options['visible'] = true;
      }

      if (opt_options['shadow'] == undefined) {
        opt_options['shadow'] = '7px -3px 5px rgba(88,88,88,0.7)';
      }

      if (opt_options['anchor'] == undefined) {
        opt_options['anchor'] = RichMarkerPosition['BOTTOM'];
      }

      this.setValues(options);
    }
    RichMarker.prototype = new google.maps.OverlayView();
    window['RichMarker'] = RichMarker;

    /**
     * Returns the current visibility state of the marker.
     *
     * @return {boolean} The visiblity of the marker.
     */
    RichMarker.prototype.getVisible = function() {
      return /** @type {boolean} */ (this.get('visible'));
    };
    RichMarker.prototype['getVisible'] = RichMarker.prototype.getVisible;

    /**
     * Sets the visiblility state of the marker.
     *
     * @param {boolean} visible The visiblilty of the marker.
     */
    RichMarker.prototype.setVisible = function(visible) {
      this.set('visible', visible);
    };
    RichMarker.prototype['setVisible'] = RichMarker.prototype.setVisible;

    /**
     *  The visible changed event.
     */
    RichMarker.prototype.visible_changed = function() {
      if (this.ready_) {
        this.markerWrapper_.style['display'] = this.getVisible() ? '' : 'none';
        this.draw();
      }
    };
    RichMarker.prototype['visible_changed'] = RichMarker.prototype.visible_changed;

    /**
     * Sets the marker to be flat.
     *
     * @param {boolean} flat If the marker is to be flat or not.
     */
    RichMarker.prototype.setFlat = function(flat) {
      this.set('flat', !!flat);
    };
    RichMarker.prototype['setFlat'] = RichMarker.prototype.setFlat;

    /**
     * If the makrer is flat or not.
     *
     * @return {boolean} True the marker is flat.
     */
    RichMarker.prototype.getFlat = function() {
      return /** @type {boolean} */ (this.get('flat'));
    };
    RichMarker.prototype['getFlat'] = RichMarker.prototype.getFlat;

    /**
     * Get the width of the marker.
     *
     * @return {Number} The width of the marker.
     */
    RichMarker.prototype.getWidth = function() {
      return /** @type {Number} */ (this.get('width'));
    };
    RichMarker.prototype['getWidth'] = RichMarker.prototype.getWidth;

    /**
     * Get the height of the marker.
     *
     * @return {Number} The height of the marker.
     */
    RichMarker.prototype.getHeight = function() {
      return /** @type {Number} */ (this.get('height'));
    };
    RichMarker.prototype['getHeight'] = RichMarker.prototype.getHeight;

    /**
     * Sets the marker's box shadow.
     *
     * @param {string} shadow The box shadow to set.
     */
    RichMarker.prototype.setShadow = function(shadow) {
      this.set('shadow', shadow);
      this.flat_changed();
    };
    RichMarker.prototype['setShadow'] = RichMarker.prototype.setShadow;

    /**
     * Gets the marker's box shadow.
     *
     * @return {string} The box shadow.
     */
    RichMarker.prototype.getShadow = function() {
      return /** @type {string} */ (this.get('shadow'));
    };
    RichMarker.prototype['getShadow'] = RichMarker.prototype.getShadow;

    /**
     * Flat changed event.
     */
    RichMarker.prototype.flat_changed = function() {
      if (!this.ready_) {
        return;
      }

      this.markerWrapper_.style['boxShadow'] =
          this.markerWrapper_.style['webkitBoxShadow'] =
          this.markerWrapper_.style['MozBoxShadow'] =
          this.getFlat() ? '' : this.getShadow();
    };
    RichMarker.prototype['flat_changed'] = RichMarker.prototype.flat_changed;

    /**
     * Sets the zIndex of the marker.
     *
     * @param {Number} index The index to set.
     */
    RichMarker.prototype.setZIndex = function(index) {
      this.set('zIndex', index);
    };
    RichMarker.prototype['setZIndex'] = RichMarker.prototype.setZIndex;

    /**
     * Gets the zIndex of the marker.
     *
     * @return {Number} The zIndex of the marker.
     */
    RichMarker.prototype.getZIndex = function() {
      return /** @type {Number} */ (this.get('zIndex'));
    };
    RichMarker.prototype['getZIndex'] = RichMarker.prototype.getZIndex;

    /**
     * zIndex changed event.
     */
    RichMarker.prototype.zIndex_changed = function() {
      if (this.getZIndex() && this.ready_) {
        this.markerWrapper_.style.zIndex = this.getZIndex();
      }
    };
    RichMarker.prototype['zIndex_changed'] = RichMarker.prototype.zIndex_changed;

    /**
     * Whether the marker is draggable or not.
     *
     * @return {boolean} True if the marker is draggable.
     */
    RichMarker.prototype.getDraggable = function() {
      return /** @type {boolean} */ (this.get('draggable'));
    };
    RichMarker.prototype['getDraggable'] = RichMarker.prototype.getDraggable;

    /**
     * Sets the marker to be draggable or not.
     *
     * @param {boolean} draggable If the marker is draggable or not.
     */
    RichMarker.prototype.setDraggable = function(draggable) {
      this.set('draggable', !!draggable);
    };
    RichMarker.prototype['setDraggable'] = RichMarker.prototype.setDraggable;

    /**
     * Draggable property changed callback.
     */
    RichMarker.prototype.draggable_changed = function() {
      if (this.ready_) {
        if (this.getDraggable()) {
          this.addDragging_(this.markerWrapper_);
        } else {
          this.removeDragListeners_();
        }
      }
    };
    RichMarker.prototype['draggable_changed'] =
        RichMarker.prototype.draggable_changed;

    /**
     * Gets the postiton of the marker.
     *
     * @return {google.maps.LatLng} The position of the marker.
     */
    RichMarker.prototype.getPosition = function() {
      return /** @type {google.maps.LatLng} */ (this.get('position'));
    };
    RichMarker.prototype['getPosition'] = RichMarker.prototype.getPosition;

    /**
     * Sets the position of the marker.
     *
     * @param {google.maps.LatLng} position The position to set.
     */
    RichMarker.prototype.setPosition = function(position) {
      this.set('position', position);
    };
    RichMarker.prototype['setPosition'] = RichMarker.prototype.setPosition;

    /**
     * Position changed event.
     */
    RichMarker.prototype.position_changed = function() {
      this.draw();
    };
    RichMarker.prototype['position_changed'] =
        RichMarker.prototype.position_changed;

    /**
     * Gets the anchor.
     *
     * @return {google.maps.Size} The position of the anchor.
     */
    RichMarker.prototype.getAnchor = function() {
      return /** @type {google.maps.Size} */ (this.get('anchor'));
    };
    RichMarker.prototype['getAnchor'] = RichMarker.prototype.getAnchor;

    /**
     * Sets the anchor.
     *
     * @param {RichMarkerPosition|google.maps.Size} anchor The anchor to set.
     */
    RichMarker.prototype.setAnchor = function(anchor) {
      this.set('anchor', anchor);
    };
    RichMarker.prototype['setAnchor'] = RichMarker.prototype.setAnchor;

    /**
     * Anchor changed event.
     */
    RichMarker.prototype.anchor_changed = function() {
      this.draw();
    };
    RichMarker.prototype['anchor_changed'] = RichMarker.prototype.anchor_changed;

    /**
     * Converts a HTML string to a document fragment.
     *
     * @param {string} htmlString The HTML string to convert.
     * @return {Node} A HTML document fragment.
     * @private
     */
    RichMarker.prototype.htmlToDocumentFragment_ = function(htmlString) {
      var tempDiv = document.createElement('DIV');
      tempDiv.innerHTML = htmlString;
      if (tempDiv.childNodes.length == 1) {
        return /** @type {!Node} */ (tempDiv.removeChild(tempDiv.firstChild));
      } else {
        var fragment = document.createDocumentFragment();
        while (tempDiv.firstChild) {
          fragment.appendChild(tempDiv.firstChild);
        }
        return fragment;
      }
    };

    /**
     * Removes all children from the node.
     *
     * @param {Node} node The node to remove all children from.
     * @private
     */
    RichMarker.prototype.removeChildren_ = function(node) {
      if (!node) {
        return;
      }

      var child;
      while (child = node.firstChild) {
        node.removeChild(child);
      }
    };

    /**
     * Sets the content of the marker.
     *
     * @param {string|Node} content The content to set.
     */
    RichMarker.prototype.setContent = function(content) {
      this.set('content', content);
    };
    RichMarker.prototype['setContent'] = RichMarker.prototype.setContent;

    /**
     * Get the content of the marker.
     *
     * @return {string|Node} The marker content.
     */
    RichMarker.prototype.getContent = function() {
      return /** @type {Node|string} */ (this.get('content'));
    };
    RichMarker.prototype['getContent'] = RichMarker.prototype.getContent;

    /**
     * Sets the marker content and adds loading events to images
     */
    RichMarker.prototype.content_changed = function() {
      if (!this.markerContent_) {
        // Marker content area doesnt exist.
        return;
      }

      this.removeChildren_(this.markerContent_);
      var content = this.getContent();
      if (content) {
        if (typeof content == 'string') {
          content = content.replace(/^\s*([\S\s]*)\b\s*$/, '$1');
          content = this.htmlToDocumentFragment_(content);
        }
        this.markerContent_.appendChild(content);

        var that = this;
        var images = this.markerContent_.getElementsByTagName('IMG');
        for (var i = 0, image; image = images[i]; i++) {
          // By default, a browser lets a image be dragged outside of the browser,
          // so by calling preventDefault we stop this behaviour and allow the image
          // to be dragged around the map and now out of the browser and onto the
          // desktop.
          google.maps.event.addDomListener(image, 'mousedown', function(e) {
            if (that.getDraggable()) {
              if (e.preventDefault) {
                e.preventDefault();
              }
              e.returnValue = false;
            }
          });

          // Because we don't know the size of an image till it loads, add a
          // listener to the image load so the marker can resize and reposition
          // itself to be the correct height.
          google.maps.event.addDomListener(image, 'load', function() {
            that.draw();
          });
        }

        google.maps.event.trigger(this, 'domready');
      }

      if (this.ready_) {
        this.draw();
      }
    };
    RichMarker.prototype['content_changed'] = RichMarker.prototype.content_changed;

    /**
     * Sets the cursor.
     *
     * @param {string} whichCursor What cursor to show.
     * @private
     */
    RichMarker.prototype.setCursor_ = function(whichCursor) {
      if (!this.ready_) {
        return;
      }

      var cursor = '';
      if (navigator.userAgent.indexOf('Gecko/') !== -1) {
        // Moz has some nice cursors :)
        if (whichCursor == 'dragging') {
          cursor = '-moz-grabbing';
        }

        if (whichCursor == 'dragready') {
          cursor = '-moz-grab';
        }

        if (whichCursor == 'draggable') {
          cursor = 'pointer';
        }
      } else {
        if (whichCursor == 'dragging' || whichCursor == 'dragready') {
          cursor = 'move';
        }

        if (whichCursor == 'draggable') {
          cursor = 'pointer';
        }
      }

      if (this.markerWrapper_.style.cursor != cursor) {
        this.markerWrapper_.style.cursor = cursor;
      }
    };

    /**
     * Start dragging.
     *
     * @param {Event} e The event.
     */
    RichMarker.prototype.startDrag = function(e) {
      if (!this.getDraggable()) {
        return;
      }

      if (!this.dragging_) {
        this.dragging_ = true;
        var map = this.getMap();
        this.mapDraggable_ = map.get('draggable');
        map.set('draggable', false);

        // Store the current mouse position
        this.mouseX_ = e.clientX;
        this.mouseY_ = e.clientY;

        this.setCursor_('dragready');

        // Stop the text from being selectable while being dragged
        this.markerWrapper_.style['MozUserSelect'] = 'none';
        this.markerWrapper_.style['KhtmlUserSelect'] = 'none';
        this.markerWrapper_.style['WebkitUserSelect'] = 'none';

        this.markerWrapper_['unselectable'] = 'on';
        this.markerWrapper_['onselectstart'] = function() {
          return false;
        };

        this.addDraggingListeners_();

        google.maps.event.trigger(this, 'dragstart');
      }
    };

    /**
     * Stop dragging.
     */
    RichMarker.prototype.stopDrag = function() {
      if (!this.getDraggable()) {
        return;
      }

      if (this.dragging_) {
        this.dragging_ = false;
        this.getMap().set('draggable', this.mapDraggable_);
        this.mouseX_ = this.mouseY_ = this.mapDraggable_ = null;

        // Allow the text to be selectable again
        this.markerWrapper_.style['MozUserSelect'] = '';
        this.markerWrapper_.style['KhtmlUserSelect'] = '';
        this.markerWrapper_.style['WebkitUserSelect'] = '';
        this.markerWrapper_['unselectable'] = 'off';
        this.markerWrapper_['onselectstart'] = function() {};

        this.removeDraggingListeners_();

        this.setCursor_('draggable');
        google.maps.event.trigger(this, 'dragend');

        this.draw();
      }
    };

    /**
     * Handles the drag event.
     *
     * @param {Event} e The event.
     */
    RichMarker.prototype.drag = function(e) {
      if (!this.getDraggable() || !this.dragging_) {
        // This object isn't draggable or we have stopped dragging
        this.stopDrag();
        return;
      }

      var dx = this.mouseX_ - e.clientX;
      var dy = this.mouseY_ - e.clientY;

      this.mouseX_ = e.clientX;
      this.mouseY_ = e.clientY;

      var left = parseInt(this.markerWrapper_.style['left'], 10) - dx;
      var top = parseInt(this.markerWrapper_.style['top'], 10) - dy;

      this.markerWrapper_.style['left'] = left + 'px';
      this.markerWrapper_.style['top'] = top + 'px';

      var offset = this.getOffset_();

      // Set the position property and adjust for the anchor offset
      var point = new google.maps.Point(left - offset.width, top - offset.height);
      var projection = this.getProjection();
      this.setPosition(projection.fromDivPixelToLatLng(point));

      this.setCursor_('dragging');
      google.maps.event.trigger(this, 'drag');
    };

    /**
     * Removes the drag listeners associated with the marker.
     *
     * @private
     */
    RichMarker.prototype.removeDragListeners_ = function() {
      if (this.draggableListener_) {
        google.maps.event.removeListener(this.draggableListener_);
        delete this.draggableListener_;
      }
      this.setCursor_('');
    };

    /**
     * Add dragability events to the marker.
     *
     * @param {Node} node The node to apply dragging to.
     * @private
     */
    RichMarker.prototype.addDragging_ = function(node) {
      if (!node) {
        return;
      }

      var that = this;
      this.draggableListener_ =
        google.maps.event.addDomListener(node, 'mousedown', function(e) {
          that.startDrag(e);
        });

      this.setCursor_('draggable');
    };

    /**
     * Add dragging listeners.
     *
     * @private
     */
    RichMarker.prototype.addDraggingListeners_ = function() {
      var that = this;
      if (this.markerWrapper_.setCapture) {
        this.markerWrapper_.setCapture(true);
        this.draggingListeners_ = [
          google.maps.event.addDomListener(this.markerWrapper_, 'mousemove', function(e) {
            that.drag(e);
          }, true),
          google.maps.event.addDomListener(this.markerWrapper_, 'mouseup', function() {
            that.stopDrag();
            that.markerWrapper_.releaseCapture();
          }, true)
        ];
      } else {
        this.draggingListeners_ = [
          google.maps.event.addDomListener(window, 'mousemove', function(e) {
            that.drag(e);
          }, true),
          google.maps.event.addDomListener(window, 'mouseup', function() {
            that.stopDrag();
          }, true)
        ];
      }
    };

    /**
     * Remove dragging listeners.
     *
     * @private
     */
    RichMarker.prototype.removeDraggingListeners_ = function() {
      if (this.draggingListeners_) {
        for (var i = 0, listener; listener = this.draggingListeners_[i]; i++) {
          google.maps.event.removeListener(listener);
        }
        this.draggingListeners_.length = 0;
      }
    };

    /**
     * Get the anchor offset.
     *
     * @return {google.maps.Size} The size offset.
     * @private
     */
    RichMarker.prototype.getOffset_ = function() {
      var anchor = this.getAnchor();
      if (typeof anchor == 'object') {
        return /** @type {google.maps.Size} */ (anchor);
      }

      var offset = new google.maps.Size(0, 0);
      if (!this.markerContent_) {
        return offset;
      }

      var width = this.markerContent_.offsetWidth;
      var height = this.markerContent_.offsetHeight;

      switch (anchor) {
       case RichMarkerPosition['TOP_LEFT']:
         break;
       case RichMarkerPosition['TOP']:
         offset.width = -width / 2;
         break;
       case RichMarkerPosition['TOP_RIGHT']:
         offset.width = -width;
         break;
       case RichMarkerPosition['LEFT']:
         offset.height = -height / 2;
         break;
       case RichMarkerPosition['MIDDLE']:
         offset.width = -width / 2;
         offset.height = -height / 2;
         break;
       case RichMarkerPosition['RIGHT']:
         offset.width = -width;
         offset.height = -height / 2;
         break;
       case RichMarkerPosition['BOTTOM_LEFT']:
         offset.height = -height;
         break;
       case RichMarkerPosition['BOTTOM']:
         offset.width = -width / 2;
         offset.height = -height;
         break;
       case RichMarkerPosition['BOTTOM_RIGHT']:
         offset.width = -width;
         offset.height = -height;
         break;
      }

      return offset;
    };

    /**
     * Adding the marker to a map.
     * Implementing the interface.
     */
    RichMarker.prototype.onAdd = function() {
      if (!this.markerWrapper_) {
        this.markerWrapper_ = document.createElement('DIV');
        this.markerWrapper_.style['position'] = 'absolute';
      }

      if (this.getZIndex()) {
        this.markerWrapper_.style['zIndex'] = this.getZIndex();
      }

      this.markerWrapper_.style['display'] = this.getVisible() ? '' : 'none';

      if (!this.markerContent_) {
        this.markerContent_ = document.createElement('DIV');
        this.markerWrapper_.appendChild(this.markerContent_);

        var that = this;
        google.maps.event.addDomListener(this.markerContent_, 'click', function(e) {
          google.maps.event.trigger(that, 'click');
        });
        google.maps.event.addDomListener(this.markerContent_, 'mouseover', function(e) {
          google.maps.event.trigger(that, 'mouseover');
        });
        google.maps.event.addDomListener(this.markerContent_, 'mouseout', function(e) {
          google.maps.event.trigger(that, 'mouseout');
        });
      }

      this.ready_ = true;
      this.content_changed();
      this.flat_changed();
      this.draggable_changed();

      var panes = this.getPanes();
      if (panes) {
        panes.overlayMouseTarget.appendChild(this.markerWrapper_);
      }

      google.maps.event.trigger(this, 'ready');
    };
    RichMarker.prototype['onAdd'] = RichMarker.prototype.onAdd;

    /**
     * Impelementing the interface.
     */
    RichMarker.prototype.draw = function() {
      if (!this.ready_ || this.dragging_) {
        return;
      }

      var projection = this.getProjection();

      if (!projection) {
        // The map projection is not ready yet so do nothing
        return;
      }

      var latLng = /** @type {google.maps.LatLng} */ (this.get('position'));
      var pos = projection.fromLatLngToDivPixel(latLng);

      var offset = this.getOffset_();
      this.markerWrapper_.style['top'] = (pos.y + offset.height) + 'px';
      this.markerWrapper_.style['left'] = (pos.x + offset.width) + 'px';

      var height = this.markerContent_.offsetHeight;
      var width = this.markerContent_.offsetWidth;

      if (width != this.get('width')) {
        this.set('width', width);
      }

      if (height != this.get('height')) {
        this.set('height', height);
      }
    };
    RichMarker.prototype['draw'] = RichMarker.prototype.draw;

    /**
     * Removing a marker from the map.
     * Implementing the interface.
     */
    RichMarker.prototype.onRemove = function() {
      if (this.markerWrapper_ && this.markerWrapper_.parentNode) {
        this.markerWrapper_.parentNode.removeChild(this.markerWrapper_);
      }
      this.removeDragListeners_();
    };
    RichMarker.prototype['onRemove'] = RichMarker.prototype.onRemove;

    /**
     * RichMarker Anchor positions
     * @enum {number}
     */
    var RichMarkerPosition = {
      'TOP_LEFT': 1,
      'TOP': 2,
      'TOP_RIGHT': 3,
      'LEFT': 4,
      'MIDDLE': 5,
      'RIGHT': 6,
      'BOTTOM_LEFT': 7,
      'BOTTOM': 8,
      'BOTTOM_RIGHT': 9
    };
    window['RichMarkerPosition'] = RichMarkerPosition;

            //TODO: export / passthese on in the service instead of window
            window.InfoBox = InfoBox;
            window.Cluster = Cluster;
            window.ClusterIcon = ClusterIcon;
            window.MarkerClusterer = MarkerClusterer;
            window.MarkerLabel_ = MarkerLabel_;
            window.MarkerWithLabel = MarkerWithLabel;
            window.RichMarker = RichMarker;
          }();
          //END REPLACE
        })
      };
    });
    ;/******/ (function(modules) { // webpackBootstrap
    /******/ 	// The module cache
    /******/ 	var installedModules = {};

    /******/ 	// The require function
    /******/ 	function __webpack_require__(moduleId) {

    /******/ 		// Check if module is in cache
    /******/ 		if(installedModules[moduleId])
    /******/ 			return installedModules[moduleId].exports;

    /******/ 		// Create a new module (and put it into the cache)
    /******/ 		var module = installedModules[moduleId] = {
    /******/ 			exports: {},
    /******/ 			id: moduleId,
    /******/ 			loaded: false
    /******/ 		};

    /******/ 		// Execute the module function
    /******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

    /******/ 		// Flag the module as loaded
    /******/ 		module.loaded = true;

    /******/ 		// Return the exports of the module
    /******/ 		return module.exports;
    /******/ 	}

    /******/ 	// expose the modules object (__webpack_modules__)
    /******/ 	__webpack_require__.m = modules;

    /******/ 	// expose the module cache
    /******/ 	__webpack_require__.c = installedModules;

    /******/ 	// __webpack_public_path__
    /******/ 	__webpack_require__.p = "";

    /******/ 	// Load entry module and return exports
    /******/ 	return __webpack_require__(0);
    /******/ })
    /************************************************************************/
    /******/ ([
    /* 0 */
    /***/ function(module, exports, __webpack_require__) {

    	/* istanbul ignore next */
    	angular.module('uiGmapgoogle-maps.wrapped')
    	.service('uiGmapDataStructures', function() {
    	return {
    	  Graph: __webpack_require__(1).Graph,
    	  Queue: __webpack_require__(1).Queue
    	};
    	});

    /***/ },
    /* 1 */
    /***/ function(module, exports, __webpack_require__) {

    	(function() {
    	  module.exports = {
    	    Graph: __webpack_require__(2),
    	    Heap: __webpack_require__(3),
    	    LinkedList: __webpack_require__(4),
    	    Map: __webpack_require__(5),
    	    Queue: __webpack_require__(6),
    	    RedBlackTree: __webpack_require__(7),
    	    Trie: __webpack_require__(8)
    	  };

    	}).call(this);

    /***/ },
    /* 2 */
    /***/ function(module, exports) {

    	/*
    	Graph implemented as a modified incidence list. O(1) for every typical
    	operation except `removeNode()` at O(E) where E is the number of edges.

    	## Overview example:

    	```js
    	var graph = new Graph;
    	graph.addNode('A'); // => a node object. For more info, log the output or check
    	                    // the documentation for addNode
    	graph.addNode('B');
    	graph.addNode('C');
    	graph.addEdge('A', 'C'); // => an edge object
    	graph.addEdge('A', 'B');
    	graph.getEdge('B', 'A'); // => undefined. Directed edge!
    	graph.getEdge('A', 'B'); // => the edge object previously added
    	graph.getEdge('A', 'B').weight = 2 // weight is the only built-in handy property
    	                                   // of an edge object. Feel free to attach
    	                                   // other properties
    	graph.getInEdgesOf('B'); // => array of edge objects, in this case only one;
    	                         // connecting A to B
    	graph.getOutEdgesOf('A'); // => array of edge objects, one to B and one to C
    	graph.getAllEdgesOf('A'); // => all the in and out edges. Edge directed toward
    	                          // the node itself are only counted once
    	forEachNode(function(nodeObject) {
    	  console.log(node);
    	});
    	forEachEdge(function(edgeObject) {
    	  console.log(edgeObject);
    	});
    	graph.removeNode('C'); // => 'C'. The edge between A and C also removed
    	graph.removeEdge('A', 'B'); // => the edge object removed
    	```

    	## Properties:

    	- nodeSize: total number of nodes.
    	- edgeSize: total number of edges.
    	*/

    	(function() {
    	  var Graph,
    	    __hasProp = {}.hasOwnProperty;

    	  Graph = (function() {
    	    function Graph() {
    	      this._nodes = {};
    	      this.nodeSize = 0;
    	      this.edgeSize = 0;
    	    }

    	    Graph.prototype.addNode = function(id) {
    	      /*
    	      The `id` is a unique identifier for the node, and should **not** change
    	      after it's added. It will be used for adding, retrieving and deleting
    	      related edges too.

    	      **Note** that, internally, the ids are kept in an object. JavaScript's
    	      object hashes the id `'2'` and `2` to the same key, so please stick to a
    	      simple id data type such as number or string.

    	      _Returns:_ the node object. Feel free to attach additional custom properties
    	      on it for graph algorithms' needs. **Undefined if node id already exists**,
    	      as to avoid accidental overrides.
    	      */

    	      if (!this._nodes[id]) {
    	        this.nodeSize++;
    	        return this._nodes[id] = {
    	          _outEdges: {},
    	          _inEdges: {}
    	        };
    	      }
    	    };

    	    Graph.prototype.getNode = function(id) {
    	      /*
    	      _Returns:_ the node object. Feel free to attach additional custom properties
    	      on it for graph algorithms' needs.
    	      */

    	      return this._nodes[id];
    	    };

    	    Graph.prototype.removeNode = function(id) {
    	      /*
    	      _Returns:_ the node object removed, or undefined if it didn't exist in the
    	      first place.
    	      */

    	      var inEdgeId, nodeToRemove, outEdgeId, _ref, _ref1;
    	      nodeToRemove = this._nodes[id];
    	      if (!nodeToRemove) {
    	        return;
    	      } else {
    	        _ref = nodeToRemove._outEdges;
    	        for (outEdgeId in _ref) {
    	          if (!__hasProp.call(_ref, outEdgeId)) continue;
    	          this.removeEdge(id, outEdgeId);
    	        }
    	        _ref1 = nodeToRemove._inEdges;
    	        for (inEdgeId in _ref1) {
    	          if (!__hasProp.call(_ref1, inEdgeId)) continue;
    	          this.removeEdge(inEdgeId, id);
    	        }
    	        this.nodeSize--;
    	        delete this._nodes[id];
    	      }
    	      return nodeToRemove;
    	    };

    	    Graph.prototype.addEdge = function(fromId, toId, weight) {
    	      var edgeToAdd, fromNode, toNode;
    	      if (weight == null) {
    	        weight = 1;
    	      }
    	      /*
    	      `fromId` and `toId` are the node id specified when it was created using
    	      `addNode()`. `weight` is optional and defaults to 1. Ignoring it effectively
    	      makes this an unweighted graph. Under the hood, `weight` is just a normal
    	      property of the edge object.

    	      _Returns:_ the edge object created. Feel free to attach additional custom
    	      properties on it for graph algorithms' needs. **Or undefined** if the nodes
    	      of id `fromId` or `toId` aren't found, or if an edge already exists between
    	      the two nodes.
    	      */

    	      if (this.getEdge(fromId, toId)) {
    	        return;
    	      }
    	      fromNode = this._nodes[fromId];
    	      toNode = this._nodes[toId];
    	      if (!fromNode || !toNode) {
    	        return;
    	      }
    	      edgeToAdd = {
    	        weight: weight
    	      };
    	      fromNode._outEdges[toId] = edgeToAdd;
    	      toNode._inEdges[fromId] = edgeToAdd;
    	      this.edgeSize++;
    	      return edgeToAdd;
    	    };

    	    Graph.prototype.getEdge = function(fromId, toId) {
    	      /*
    	      _Returns:_ the edge object, or undefined if the nodes of id `fromId` or
    	      `toId` aren't found.
    	      */

    	      var fromNode, toNode;
    	      fromNode = this._nodes[fromId];
    	      toNode = this._nodes[toId];
    	      if (!fromNode || !toNode) {

    	      } else {
    	        return fromNode._outEdges[toId];
    	      }
    	    };

    	    Graph.prototype.removeEdge = function(fromId, toId) {
    	      /*
    	      _Returns:_ the edge object removed, or undefined of edge wasn't found.
    	      */

    	      var edgeToDelete, fromNode, toNode;
    	      fromNode = this._nodes[fromId];
    	      toNode = this._nodes[toId];
    	      edgeToDelete = this.getEdge(fromId, toId);
    	      if (!edgeToDelete) {
    	        return;
    	      }
    	      delete fromNode._outEdges[toId];
    	      delete toNode._inEdges[fromId];
    	      this.edgeSize--;
    	      return edgeToDelete;
    	    };

    	    Graph.prototype.getInEdgesOf = function(nodeId) {
    	      /*
    	      _Returns:_ an array of edge objects that are directed toward the node, or
    	      empty array if no such edge or node exists.
    	      */

    	      var fromId, inEdges, toNode, _ref;
    	      toNode = this._nodes[nodeId];
    	      inEdges = [];
    	      _ref = toNode != null ? toNode._inEdges : void 0;
    	      for (fromId in _ref) {
    	        if (!__hasProp.call(_ref, fromId)) continue;
    	        inEdges.push(this.getEdge(fromId, nodeId));
    	      }
    	      return inEdges;
    	    };

    	    Graph.prototype.getOutEdgesOf = function(nodeId) {
    	      /*
    	      _Returns:_ an array of edge objects that go out of the node, or empty array
    	      if no such edge or node exists.
    	      */

    	      var fromNode, outEdges, toId, _ref;
    	      fromNode = this._nodes[nodeId];
    	      outEdges = [];
    	      _ref = fromNode != null ? fromNode._outEdges : void 0;
    	      for (toId in _ref) {
    	        if (!__hasProp.call(_ref, toId)) continue;
    	        outEdges.push(this.getEdge(nodeId, toId));
    	      }
    	      return outEdges;
    	    };

    	    Graph.prototype.getAllEdgesOf = function(nodeId) {
    	      /*
    	      **Note:** not the same as concatenating `getInEdgesOf()` and
    	      `getOutEdgesOf()`. Some nodes might have an edge pointing toward itself.
    	      This method solves that duplication.

    	      _Returns:_ an array of edge objects linked to the node, no matter if they're
    	      outgoing or coming. Duplicate edge created by self-pointing nodes are
    	      removed. Only one copy stays. Empty array if node has no edge.
    	      */

    	      var i, inEdges, outEdges, selfEdge, _i, _ref, _ref1;
    	      inEdges = this.getInEdgesOf(nodeId);
    	      outEdges = this.getOutEdgesOf(nodeId);
    	      if (inEdges.length === 0) {
    	        return outEdges;
    	      }
    	      selfEdge = this.getEdge(nodeId, nodeId);
    	      for (i = _i = 0, _ref = inEdges.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) {
    	        if (inEdges[i] === selfEdge) {
    	          _ref1 = [inEdges[inEdges.length - 1], inEdges[i]], inEdges[i] = _ref1[0], inEdges[inEdges.length - 1] = _ref1[1];
    	          inEdges.pop();
    	          break;
    	        }
    	      }
    	      return inEdges.concat(outEdges);
    	    };

    	    Graph.prototype.forEachNode = function(operation) {
    	      /*
    	      Traverse through the graph in an arbitrary manner, visiting each node once.
    	      Pass a function of the form `fn(nodeObject, nodeId)`.

    	      _Returns:_ undefined.
    	      */

    	      var nodeId, nodeObject, _ref;
    	      _ref = this._nodes;
    	      for (nodeId in _ref) {
    	        if (!__hasProp.call(_ref, nodeId)) continue;
    	        nodeObject = _ref[nodeId];
    	        operation(nodeObject, nodeId);
    	      }
    	    };

    	    Graph.prototype.forEachEdge = function(operation) {
    	      /*
    	      Traverse through the graph in an arbitrary manner, visiting each edge once.
    	      Pass a function of the form `fn(edgeObject)`.

    	      _Returns:_ undefined.
    	      */

    	      var edgeObject, nodeId, nodeObject, toId, _ref, _ref1;
    	      _ref = this._nodes;
    	      for (nodeId in _ref) {
    	        if (!__hasProp.call(_ref, nodeId)) continue;
    	        nodeObject = _ref[nodeId];
    	        _ref1 = nodeObject._outEdges;
    	        for (toId in _ref1) {
    	          if (!__hasProp.call(_ref1, toId)) continue;
    	          edgeObject = _ref1[toId];
    	          operation(edgeObject);
    	        }
    	      }
    	    };

    	    return Graph;

    	  })();

    	  module.exports = Graph;

    	}).call(this);

    /***/ },
    /* 3 */
    /***/ function(module, exports) {

    	/*
    	Minimum heap, i.e. smallest node at root.

    	**Note:** does not accept null or undefined. This is by design. Those values
    	cause comparison problems and might report false negative during extraction.

    	## Overview example:

    	```js
    	var heap = new Heap([5, 6, 3, 4]);
    	heap.add(10); // => 10
    	heap.removeMin(); // => 3
    	heap.peekMin(); // => 4
    	```

    	## Properties:

    	- size: total number of items.
    	*/

    	(function() {
    	  var Heap, _leftChild, _parent, _rightChild;

    	  Heap = (function() {
    	    function Heap(dataToHeapify) {
    	      var i, item, _i, _j, _len, _ref;
    	      if (dataToHeapify == null) {
    	        dataToHeapify = [];
    	      }
    	      /*
    	      Pass an optional array to be heapified. Takes only O(n) time.
    	      */

    	      this._data = [void 0];
    	      for (_i = 0, _len = dataToHeapify.length; _i < _len; _i++) {
    	        item = dataToHeapify[_i];
    	        if (item != null) {
    	          this._data.push(item);
    	        }
    	      }
    	      if (this._data.length > 1) {
    	        for (i = _j = 2, _ref = this._data.length; 2 <= _ref ? _j < _ref : _j > _ref; i = 2 <= _ref ? ++_j : --_j) {
    	          this._upHeap(i);
    	        }
    	      }
    	      this.size = this._data.length - 1;
    	    }

    	    Heap.prototype.add = function(value) {
    	      /*
    	      **Remember:** rejects null and undefined for mentioned reasons.

    	      _Returns:_ the value added.
    	      */

    	      if (value == null) {
    	        return;
    	      }
    	      this._data.push(value);
    	      this._upHeap(this._data.length - 1);
    	      this.size++;
    	      return value;
    	    };

    	    Heap.prototype.removeMin = function() {
    	      /*
    	      _Returns:_ the smallest item (the root).
    	      */

    	      var min;
    	      if (this._data.length === 1) {
    	        return;
    	      }
    	      this.size--;
    	      if (this._data.length === 2) {
    	        return this._data.pop();
    	      }
    	      min = this._data[1];
    	      this._data[1] = this._data.pop();
    	      this._downHeap();
    	      return min;
    	    };

    	    Heap.prototype.peekMin = function() {
    	      /*
    	      Check the smallest item without removing it.

    	      _Returns:_ the smallest item (the root).
    	      */

    	      return this._data[1];
    	    };

    	    Heap.prototype._upHeap = function(index) {
    	      var valueHolder, _ref;
    	      valueHolder = this._data[index];
    	      while (this._data[index] < this._data[_parent(index)] && index > 1) {
    	        _ref = [this._data[_parent(index)], this._data[index]], this._data[index] = _ref[0], this._data[_parent(index)] = _ref[1];
    	        index = _parent(index);
    	      }
    	    };

    	    Heap.prototype._downHeap = function() {
    	      var currentIndex, smallerChildIndex, _ref;
    	      currentIndex = 1;
    	      while (_leftChild(currentIndex < this._data.length)) {
    	        smallerChildIndex = _leftChild(currentIndex);
    	        if (smallerChildIndex < this._data.length - 1) {
    	          if (this._data[_rightChild(currentIndex)] < this._data[smallerChildIndex]) {
    	            smallerChildIndex = _rightChild(currentIndex);
    	          }
    	        }
    	        if (this._data[smallerChildIndex] < this._data[currentIndex]) {
    	          _ref = [this._data[currentIndex], this._data[smallerChildIndex]], this._data[smallerChildIndex] = _ref[0], this._data[currentIndex] = _ref[1];
    	          currentIndex = smallerChildIndex;
    	        } else {
    	          break;
    	        }
    	      }
    	    };

    	    return Heap;

    	  })();

    	  _parent = function(index) {
    	    return index >> 1;
    	  };

    	  _leftChild = function(index) {
    	    return index << 1;
    	  };

    	  _rightChild = function(index) {
    	    return (index << 1) + 1;
    	  };

    	  module.exports = Heap;

    	}).call(this);

    /***/ },
    /* 4 */
    /***/ function(module, exports) {

    	/*
    	Doubly Linked.

    	## Overview example:

    	```js
    	var list = new LinkedList([5, 4, 9]);
    	list.add(12); // => 12
    	list.head.next.value; // => 4
    	list.tail.value; // => 12
    	list.at(-1); // => 12
    	list.removeAt(2); // => 9
    	list.remove(4); // => 4
    	list.indexOf(5); // => 0
    	list.add(5, 1); // => 5. Second 5 at position 1.
    	list.indexOf(5, 1); // => 1
    	```

    	## Properties:

    	- head: first item.
    	- tail: last item.
    	- size: total number of items.
    	- item.value: value passed to the item when calling `add()`.
    	- item.prev: previous item.
    	- item.next: next item.
    	*/

    	(function() {
    	  var LinkedList;

    	  LinkedList = (function() {
    	    function LinkedList(valuesToAdd) {
    	      var value, _i, _len;
    	      if (valuesToAdd == null) {
    	        valuesToAdd = [];
    	      }
    	      /*
    	      Can pass an array of elements to link together during `new LinkedList()`
    	      initiation.
    	      */

    	      this.head = {
    	        prev: void 0,
    	        value: void 0,
    	        next: void 0
    	      };
    	      this.tail = {
    	        prev: void 0,
    	        value: void 0,
    	        next: void 0
    	      };
    	      this.size = 0;
    	      for (_i = 0, _len = valuesToAdd.length; _i < _len; _i++) {
    	        value = valuesToAdd[_i];
    	        this.add(value);
    	      }
    	    }

    	    LinkedList.prototype.at = function(position) {
    	      /*
    	      Get the item at `position` (optional). Accepts negative index:

    	      ```js
    	      myList.at(-1); // Returns the last element.
    	      ```
    	      However, passing a negative index that surpasses the boundary will return
    	      undefined:

    	      ```js
    	      myList = new LinkedList([2, 6, 8, 3])
    	      myList.at(-5); // Undefined.
    	      myList.at(-4); // 2.
    	      ```
    	      _Returns:_ item gotten, or undefined if not found.
    	      */

    	      var currentNode, i, _i, _j, _ref;
    	      if (!((-this.size <= position && position < this.size))) {
    	        return;
    	      }
    	      position = this._adjust(position);
    	      if (position * 2 < this.size) {
    	        currentNode = this.head;
    	        for (i = _i = 1; _i <= position; i = _i += 1) {
    	          currentNode = currentNode.next;
    	        }
    	      } else {
    	        currentNode = this.tail;
    	        for (i = _j = 1, _ref = this.size - position - 1; _j <= _ref; i = _j += 1) {
    	          currentNode = currentNode.prev;
    	        }
    	      }
    	      return currentNode;
    	    };

    	    LinkedList.prototype.add = function(value, position) {
    	      var currentNode, nodeToAdd, _ref, _ref1, _ref2;
    	      if (position == null) {
    	        position = this.size;
    	      }
    	      /*
    	      Add a new item at `position` (optional). Defaults to adding at the end.
    	      `position`, just like in `at()`, can be negative (within the negative
    	      boundary). Position specifies the place the value's going to be, and the old
    	      node will be pushed higher. `add(-2)` on list of size 7 is the same as
    	      `add(5)`.

    	      _Returns:_ item added.
    	      */

    	      if (!((-this.size <= position && position <= this.size))) {
    	        return;
    	      }
    	      nodeToAdd = {
    	        value: value
    	      };
    	      position = this._adjust(position);
    	      if (this.size === 0) {
    	        this.head = nodeToAdd;
    	      } else {
    	        if (position === 0) {
    	          _ref = [nodeToAdd, this.head, nodeToAdd], this.head.prev = _ref[0], nodeToAdd.next = _ref[1], this.head = _ref[2];
    	        } else {
    	          currentNode = this.at(position - 1);
    	          _ref1 = [currentNode.next, nodeToAdd, nodeToAdd, currentNode], nodeToAdd.next = _ref1[0], (_ref2 = currentNode.next) != null ? _ref2.prev = _ref1[1] : void 0, currentNode.next = _ref1[2], nodeToAdd.prev = _ref1[3];
    	        }
    	      }
    	      if (position === this.size) {
    	        this.tail = nodeToAdd;
    	      }
    	      this.size++;
    	      return value;
    	    };

    	    LinkedList.prototype.removeAt = function(position) {
    	      var currentNode, valueToReturn, _ref;
    	      if (position == null) {
    	        position = this.size - 1;
    	      }
    	      /*
    	      Remove an item at index `position` (optional). Defaults to the last item.
    	      Index can be negative (within the boundary).

    	      _Returns:_ item removed.
    	      */

    	      if (!((-this.size <= position && position < this.size))) {
    	        return;
    	      }
    	      if (this.size === 0) {
    	        return;
    	      }
    	      position = this._adjust(position);
    	      if (this.size === 1) {
    	        valueToReturn = this.head.value;
    	        this.head.value = this.tail.value = void 0;
    	      } else {
    	        if (position === 0) {
    	          valueToReturn = this.head.value;
    	          this.head = this.head.next;
    	          this.head.prev = void 0;
    	        } else {
    	          currentNode = this.at(position);
    	          valueToReturn = currentNode.value;
    	          currentNode.prev.next = currentNode.next;
    	          if ((_ref = currentNode.next) != null) {
    	            _ref.prev = currentNode.prev;
    	          }
    	          if (position === this.size - 1) {
    	            this.tail = currentNode.prev;
    	          }
    	        }
    	      }
    	      this.size--;
    	      return valueToReturn;
    	    };

    	    LinkedList.prototype.remove = function(value) {
    	      /*
    	      Remove the item using its value instead of position. **Will remove the fist
    	      occurrence of `value`.**

    	      _Returns:_ the value, or undefined if value's not found.
    	      */

    	      var currentNode;
    	      if (value == null) {
    	        return;
    	      }
    	      currentNode = this.head;
    	      while (currentNode && currentNode.value !== value) {
    	        currentNode = currentNode.next;
    	      }
    	      if (!currentNode) {
    	        return;
    	      }
    	      if (this.size === 1) {
    	        this.head.value = this.tail.value = void 0;
    	      } else if (currentNode === this.head) {
    	        this.head = this.head.next;
    	        this.head.prev = void 0;
    	      } else if (currentNode === this.tail) {
    	        this.tail = this.tail.prev;
    	        this.tail.next = void 0;
    	      } else {
    	        currentNode.prev.next = currentNode.next;
    	        currentNode.next.prev = currentNode.prev;
    	      }
    	      this.size--;
    	      return value;
    	    };

    	    LinkedList.prototype.indexOf = function(value, startingPosition) {
    	      var currentNode, position;
    	      if (startingPosition == null) {
    	        startingPosition = 0;
    	      }
    	      /*
    	      Find the index of an item, similarly to `array.indexOf()`. Defaults to start
    	      searching from the beginning, by can start at another position by passing
    	      `startingPosition`. This parameter can also be negative; but unlike the
    	      other methods of this class, `startingPosition` (optional) can be as small
    	      as desired; a value of -999 for a list of size 5 will start searching
    	      normally, at the beginning.

    	      **Note:** searches forwardly, **not** backwardly, i.e:

    	      ```js
    	      var myList = new LinkedList([2, 3, 1, 4, 3, 5])
    	      myList.indexOf(3, -3); // Returns 4, not 1
    	      ```
    	      _Returns:_ index of item found, or -1 if not found.
    	      */

    	      if (((this.head.value == null) && !this.head.next) || startingPosition >= this.size) {
    	        return -1;
    	      }
    	      startingPosition = Math.max(0, this._adjust(startingPosition));
    	      currentNode = this.at(startingPosition);
    	      position = startingPosition;
    	      while (currentNode) {
    	        if (currentNode.value === value) {
    	          break;
    	        }
    	        currentNode = currentNode.next;
    	        position++;
    	      }
    	      if (position === this.size) {
    	        return -1;
    	      } else {
    	        return position;
    	      }
    	    };

    	    LinkedList.prototype._adjust = function(position) {
    	      if (position < 0) {
    	        return this.size + position;
    	      } else {
    	        return position;
    	      }
    	    };

    	    return LinkedList;

    	  })();

    	  module.exports = LinkedList;

    	}).call(this);

    /***/ },
    /* 5 */
    /***/ function(module, exports) {

    	/*
    	Kind of a stopgap measure for the upcoming [JavaScript
    	Map](http://wiki.ecmascript.org/doku.php?id=harmony:simple_maps_and_sets)

    	**Note:** due to JavaScript's limitations, hashing something other than Boolean,
    	Number, String, Undefined, Null, RegExp, Function requires a hack that inserts a
    	hidden unique property into the object. This means `set`, `get`, `has` and
    	`delete` must employ the same object, and not a mere identical copy as in the
    	case of, say, a string.

    	## Overview example:

    	```js
    	var map = new Map({'alice': 'wonderland', 20: 'ok'});
    	map.set('20', 5); // => 5
    	map.get('20'); // => 5
    	map.has('alice'); // => true
    	map.delete(20) // => true
    	var arr = [1, 2];
    	map.add(arr, 'goody'); // => 'goody'
    	map.has(arr); // => true
    	map.has([1, 2]); // => false. Needs to compare by reference
    	map.forEach(function(key, value) {
    	  console.log(key, value);
    	});
    	```

    	## Properties:

    	- size: The total number of `(key, value)` pairs.
    	*/

    	(function() {
    	  var Map, SPECIAL_TYPE_KEY_PREFIX, _extractDataType, _isSpecialType,
    	    __hasProp = {}.hasOwnProperty;

    	  SPECIAL_TYPE_KEY_PREFIX = '_mapId_';

    	  Map = (function() {
    	    Map._mapIdTracker = 0;

    	    Map._newMapId = function() {
    	      return this._mapIdTracker++;
    	    };

    	    function Map(objectToMap) {
    	      /*
    	      Pass an optional object whose (key, value) pair will be hashed. **Careful**
    	      not to pass something like {5: 'hi', '5': 'hello'}, since JavaScript's
    	      native object behavior will crush the first 5 property before it gets to
    	      constructor.
    	      */

    	      var key, value;
    	      this._content = {};
    	      this._itemId = 0;
    	      this._id = Map._newMapId();
    	      this.size = 0;
    	      for (key in objectToMap) {
    	        if (!__hasProp.call(objectToMap, key)) continue;
    	        value = objectToMap[key];
    	        this.set(key, value);
    	      }
    	    }

    	    Map.prototype.hash = function(key, makeHash) {
    	      var propertyForMap, type;
    	      if (makeHash == null) {
    	        makeHash = false;
    	      }
    	      /*
    	      The hash function for hashing keys is public. Feel free to replace it with
    	      your own. The `makeHash` parameter is optional and accepts a boolean
    	      (defaults to `false`) indicating whether or not to produce a new hash (for
    	      the first use, naturally).

    	      _Returns:_ the hash.
    	      */

    	      type = _extractDataType(key);
    	      if (_isSpecialType(key)) {
    	        propertyForMap = SPECIAL_TYPE_KEY_PREFIX + this._id;
    	        if (makeHash && !key[propertyForMap]) {
    	          key[propertyForMap] = this._itemId++;
    	        }
    	        return propertyForMap + '_' + key[propertyForMap];
    	      } else {
    	        return type + '_' + key;
    	      }
    	    };

    	    Map.prototype.set = function(key, value) {
    	      /*
    	      _Returns:_ value.
    	      */

    	      if (!this.has(key)) {
    	        this.size++;
    	      }
    	      this._content[this.hash(key, true)] = [value, key];
    	      return value;
    	    };

    	    Map.prototype.get = function(key) {
    	      /*
    	      _Returns:_ value corresponding to the key, or undefined if not found.
    	      */

    	      var _ref;
    	      return (_ref = this._content[this.hash(key)]) != null ? _ref[0] : void 0;
    	    };

    	    Map.prototype.has = function(key) {
    	      /*
    	      Check whether a value exists for the key.

    	      _Returns:_ true or false.
    	      */

    	      return this.hash(key) in this._content;
    	    };

    	    Map.prototype["delete"] = function(key) {
    	      /*
    	      Remove the (key, value) pair.

    	      _Returns:_ **true or false**. Unlike most of this library, this method
    	      doesn't return the deleted value. This is so that it conforms to the future
    	      JavaScript `map.delete()`'s behavior.
    	      */

    	      var hashedKey;
    	      hashedKey = this.hash(key);
    	      if (hashedKey in this._content) {
    	        delete this._content[hashedKey];
    	        if (_isSpecialType(key)) {
    	          delete key[SPECIAL_TYPE_KEY_PREFIX + this._id];
    	        }
    	        this.size--;
    	        return true;
    	      }
    	      return false;
    	    };

    	    Map.prototype.forEach = function(operation) {
    	      /*
    	      Traverse through the map. Pass a function of the form `fn(key, value)`.

    	      _Returns:_ undefined.
    	      */

    	      var key, value, _ref;
    	      _ref = this._content;
    	      for (key in _ref) {
    	        if (!__hasProp.call(_ref, key)) continue;
    	        value = _ref[key];
    	        operation(value[1], value[0]);
    	      }
    	    };

    	    return Map;

    	  })();

    	  _isSpecialType = function(key) {
    	    var simpleHashableTypes, simpleType, type, _i, _len;
    	    simpleHashableTypes = ['Boolean', 'Number', 'String', 'Undefined', 'Null', 'RegExp', 'Function'];
    	    type = _extractDataType(key);
    	    for (_i = 0, _len = simpleHashableTypes.length; _i < _len; _i++) {
    	      simpleType = simpleHashableTypes[_i];
    	      if (type === simpleType) {
    	        return false;
    	      }
    	    }
    	    return true;
    	  };

    	  _extractDataType = function(type) {
    	    return Object.prototype.toString.apply(type).match(/\[object (.+)\]/)[1];
    	  };

    	  module.exports = Map;

    	}).call(this);

    /***/ },
    /* 6 */
    /***/ function(module, exports) {

    	/*
    	Amortized O(1) dequeue!

    	## Overview example:

    	```js
    	var queue = new Queue([1, 6, 4]);
    	queue.enqueue(10); // => 10
    	queue.dequeue(); // => 1
    	queue.dequeue(); // => 6
    	queue.dequeue(); // => 4
    	queue.peek(); // => 10
    	queue.dequeue(); // => 10
    	queue.peek(); // => undefined
    	```

    	## Properties:

    	- size: The total number of items.
    	*/

    	(function() {
    	  var Queue;

    	  Queue = (function() {
    	    function Queue(initialArray) {
    	      Eif (initialArray == null) {
    	        initialArray = [];
    	      }
    	      /*
    	      Pass an optional array to be transformed into a queue. The item at index 0
    	      is the first to be dequeued.
    	      */

    	      this._content = initialArray;
    	      this._dequeueIndex = 0;
    	      this.size = this._content.length;
    	    }

    	    Queue.prototype.enqueue = function(item) {
    	      /*
    	      _Returns:_ the item.
    	      */

    	      this.size++;
    	      this._content.push(item);
    	      return item;
    	    };

    	    Queue.prototype.dequeue = function() {
    	      /*
    	      _Returns:_ the dequeued item.
    	      */

    	      var itemToDequeue;
    	      Iif (this.size === 0) {
    	        return;
    	      }
    	      this.size--;
    	      itemToDequeue = this._content[this._dequeueIndex];
    	      this._dequeueIndex++;
    	      Iif (this._dequeueIndex * 2 > this._content.length) {
    	        this._content = this._content.slice(this._dequeueIndex);
    	        this._dequeueIndex = 0;
    	      }
    	      return itemToDequeue;
    	    };

    	    Queue.prototype.peek = function() {
    	      /*
    	      Check the next item to be dequeued, without removing it.

    	      _Returns:_ the item.
    	      */

    	      return this._content[this._dequeueIndex];
    	    };

    	    return Queue;

    	  })();

    	  module.exports = Queue;

    	}).call(this);

    /***/ },
    /* 7 */
    /***/ function(module, exports) {

    	/*
    	Credit to Wikipedia's article on [Red-black
    	tree](http://en.wikipedia.org/wiki/Red–black_tree)

    	**Note:** doesn't handle duplicate entries, undefined and null. This is by
    	design.

    	## Overview example:

    	```js
    	var rbt = new RedBlackTree([7, 5, 1, 8]);
    	rbt.add(2); // => 2
    	rbt.add(10); // => 10
    	rbt.has(5); // => true
    	rbt.peekMin(); // => 1
    	rbt.peekMax(); // => 10
    	rbt.removeMin(); // => 1
    	rbt.removeMax(); // => 10
    	rbt.remove(8); // => 8
    	```

    	## Properties:

    	- size: The total number of items.
    	*/

    	(function() {
    	  var BLACK, NODE_FOUND, NODE_TOO_BIG, NODE_TOO_SMALL, RED, RedBlackTree, STOP_SEARCHING, _findNode, _grandParentOf, _isLeft, _leftOrRight, _peekMaxNode, _peekMinNode, _siblingOf, _uncleOf;

    	  NODE_FOUND = 0;

    	  NODE_TOO_BIG = 1;

    	  NODE_TOO_SMALL = 2;

    	  STOP_SEARCHING = 3;

    	  RED = 1;

    	  BLACK = 2;

    	  RedBlackTree = (function() {
    	    function RedBlackTree(valuesToAdd) {
    	      var value, _i, _len;
    	      if (valuesToAdd == null) {
    	        valuesToAdd = [];
    	      }
    	      /*
    	      Pass an optional array to be turned into binary tree. **Note:** does not
    	      accept duplicate, undefined and null.
    	      */

    	      this._root;
    	      this.size = 0;
    	      for (_i = 0, _len = valuesToAdd.length; _i < _len; _i++) {
    	        value = valuesToAdd[_i];
    	        if (value != null) {
    	          this.add(value);
    	        }
    	      }
    	    }

    	    RedBlackTree.prototype.add = function(value) {
    	      /*
    	      Again, make sure to not pass a value already in the tree, or undefined, or
    	      null.

    	      _Returns:_ value added.
    	      */

    	      var currentNode, foundNode, nodeToInsert, _ref;
    	      if (value == null) {
    	        return;
    	      }
    	      this.size++;
    	      nodeToInsert = {
    	        value: value,
    	        _color: RED
    	      };
    	      if (!this._root) {
    	        this._root = nodeToInsert;
    	      } else {
    	        foundNode = _findNode(this._root, function(node) {
    	          if (value === node.value) {
    	            return NODE_FOUND;
    	          } else {
    	            if (value < node.value) {
    	              if (node._left) {
    	                return NODE_TOO_BIG;
    	              } else {
    	                nodeToInsert._parent = node;
    	                node._left = nodeToInsert;
    	                return STOP_SEARCHING;
    	              }
    	            } else {
    	              if (node._right) {
    	                return NODE_TOO_SMALL;
    	              } else {
    	                nodeToInsert._parent = node;
    	                node._right = nodeToInsert;
    	                return STOP_SEARCHING;
    	              }
    	            }
    	          }
    	        });
    	        if (foundNode != null) {
    	          return;
    	        }
    	      }
    	      currentNode = nodeToInsert;
    	      while (true) {
    	        if (currentNode === this._root) {
    	          currentNode._color = BLACK;
    	          break;
    	        }
    	        if (currentNode._parent._color === BLACK) {
    	          break;
    	        }
    	        if (((_ref = _uncleOf(currentNode)) != null ? _ref._color : void 0) === RED) {
    	          currentNode._parent._color = BLACK;
    	          _uncleOf(currentNode)._color = BLACK;
    	          _grandParentOf(currentNode)._color = RED;
    	          currentNode = _grandParentOf(currentNode);
    	          continue;
    	        }
    	        if (!_isLeft(currentNode) && _isLeft(currentNode._parent)) {
    	          this._rotateLeft(currentNode._parent);
    	          currentNode = currentNode._left;
    	        } else if (_isLeft(currentNode) && !_isLeft(currentNode._parent)) {
    	          this._rotateRight(currentNode._parent);
    	          currentNode = currentNode._right;
    	        }
    	        currentNode._parent._color = BLACK;
    	        _grandParentOf(currentNode)._color = RED;
    	        if (_isLeft(currentNode)) {
    	          this._rotateRight(_grandParentOf(currentNode));
    	        } else {
    	          this._rotateLeft(_grandParentOf(currentNode));
    	        }
    	        break;
    	      }
    	      return value;
    	    };

    	    RedBlackTree.prototype.has = function(value) {
    	      /*
    	      _Returns:_ true or false.
    	      */

    	      var foundNode;
    	      foundNode = _findNode(this._root, function(node) {
    	        if (value === node.value) {
    	          return NODE_FOUND;
    	        } else if (value < node.value) {
    	          return NODE_TOO_BIG;
    	        } else {
    	          return NODE_TOO_SMALL;
    	        }
    	      });
    	      if (foundNode) {
    	        return true;
    	      } else {
    	        return false;
    	      }
    	    };

    	    RedBlackTree.prototype.peekMin = function() {
    	      /*
    	      Check the minimum value without removing it.

    	      _Returns:_ the minimum value.
    	      */

    	      var _ref;
    	      return (_ref = _peekMinNode(this._root)) != null ? _ref.value : void 0;
    	    };

    	    RedBlackTree.prototype.peekMax = function() {
    	      /*
    	      Check the maximum value without removing it.

    	      _Returns:_ the maximum value.
    	      */

    	      var _ref;
    	      return (_ref = _peekMaxNode(this._root)) != null ? _ref.value : void 0;
    	    };

    	    RedBlackTree.prototype.remove = function(value) {
    	      /*
    	      _Returns:_ the value removed, or undefined if the value's not found.
    	      */

    	      var foundNode;
    	      foundNode = _findNode(this._root, function(node) {
    	        if (value === node.value) {
    	          return NODE_FOUND;
    	        } else if (value < node.value) {
    	          return NODE_TOO_BIG;
    	        } else {
    	          return NODE_TOO_SMALL;
    	        }
    	      });
    	      if (!foundNode) {
    	        return;
    	      }
    	      this._removeNode(this._root, foundNode);
    	      this.size--;
    	      return value;
    	    };

    	    RedBlackTree.prototype.removeMin = function() {
    	      /*
    	      _Returns:_ smallest item removed, or undefined if tree's empty.
    	      */

    	      var nodeToRemove, valueToReturn;
    	      nodeToRemove = _peekMinNode(this._root);
    	      if (!nodeToRemove) {
    	        return;
    	      }
    	      valueToReturn = nodeToRemove.value;
    	      this._removeNode(this._root, nodeToRemove);
    	      return valueToReturn;
    	    };

    	    RedBlackTree.prototype.removeMax = function() {
    	      /*
    	      _Returns:_ biggest item removed, or undefined if tree's empty.
    	      */

    	      var nodeToRemove, valueToReturn;
    	      nodeToRemove = _peekMaxNode(this._root);
    	      if (!nodeToRemove) {
    	        return;
    	      }
    	      valueToReturn = nodeToRemove.value;
    	      this._removeNode(this._root, nodeToRemove);
    	      return valueToReturn;
    	    };

    	    RedBlackTree.prototype._removeNode = function(root, node) {
    	      var sibling, successor, _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
    	      if (node._left && node._right) {
    	        successor = _peekMinNode(node._right);
    	        node.value = successor.value;
    	        node = successor;
    	      }
    	      successor = node._left || node._right;
    	      if (!successor) {
    	        successor = {
    	          color: BLACK,
    	          _right: void 0,
    	          _left: void 0,
    	          isLeaf: true
    	        };
    	      }
    	      successor._parent = node._parent;
    	      if ((_ref = node._parent) != null) {
    	        _ref[_leftOrRight(node)] = successor;
    	      }
    	      if (node._color === BLACK) {
    	        if (successor._color === RED) {
    	          successor._color = BLACK;
    	          if (!successor._parent) {
    	            this._root = successor;
    	          }
    	        } else {
    	          while (true) {
    	            if (!successor._parent) {
    	              if (!successor.isLeaf) {
    	                this._root = successor;
    	              } else {
    	                this._root = void 0;
    	              }
    	              break;
    	            }
    	            sibling = _siblingOf(successor);
    	            if ((sibling != null ? sibling._color : void 0) === RED) {
    	              successor._parent._color = RED;
    	              sibling._color = BLACK;
    	              if (_isLeft(successor)) {
    	                this._rotateLeft(successor._parent);
    	              } else {
    	                this._rotateRight(successor._parent);
    	              }
    	            }
    	            sibling = _siblingOf(successor);
    	            if (successor._parent._color === BLACK && (!sibling || (sibling._color === BLACK && (!sibling._left || sibling._left._color === BLACK) && (!sibling._right || sibling._right._color === BLACK)))) {
    	              if (sibling != null) {
    	                sibling._color = RED;
    	              }
    	              if (successor.isLeaf) {
    	                successor._parent[_leftOrRight(successor)] = void 0;
    	              }
    	              successor = successor._parent;
    	              continue;
    	            }
    	            if (successor._parent._color === RED && (!sibling || (sibling._color === BLACK && (!sibling._left || ((_ref1 = sibling._left) != null ? _ref1._color : void 0) === BLACK) && (!sibling._right || ((_ref2 = sibling._right) != null ? _ref2._color : void 0) === BLACK)))) {
    	              if (sibling != null) {
    	                sibling._color = RED;
    	              }
    	              successor._parent._color = BLACK;
    	              break;
    	            }
    	            if ((sibling != null ? sibling._color : void 0) === BLACK) {
    	              if (_isLeft(successor) && (!sibling._right || sibling._right._color === BLACK) && ((_ref3 = sibling._left) != null ? _ref3._color : void 0) === RED) {
    	                sibling._color = RED;
    	                if ((_ref4 = sibling._left) != null) {
    	                  _ref4._color = BLACK;
    	                }
    	                this._rotateRight(sibling);
    	              } else if (!_isLeft(successor) && (!sibling._left || sibling._left._color === BLACK) && ((_ref5 = sibling._right) != null ? _ref5._color : void 0) === RED) {
    	                sibling._color = RED;
    	                if ((_ref6 = sibling._right) != null) {
    	                  _ref6._color = BLACK;
    	                }
    	                this._rotateLeft(sibling);
    	              }
    	              break;
    	            }
    	            sibling = _siblingOf(successor);
    	            sibling._color = successor._parent._color;
    	            if (_isLeft(successor)) {
    	              sibling._right._color = BLACK;
    	              this._rotateRight(successor._parent);
    	            } else {
    	              sibling._left._color = BLACK;
    	              this._rotateLeft(successor._parent);
    	            }
    	          }
    	        }
    	      }
    	      if (successor.isLeaf) {
    	        return (_ref7 = successor._parent) != null ? _ref7[_leftOrRight(successor)] = void 0 : void 0;
    	      }
    	    };

    	    RedBlackTree.prototype._rotateLeft = function(node) {
    	      var _ref, _ref1;
    	      if ((_ref = node._parent) != null) {
    	        _ref[_leftOrRight(node)] = node._right;
    	      }
    	      node._right._parent = node._parent;
    	      node._parent = node._right;
    	      node._right = node._right._left;
    	      node._parent._left = node;
    	      if ((_ref1 = node._right) != null) {
    	        _ref1._parent = node;
    	      }
    	      if (node._parent._parent == null) {
    	        return this._root = node._parent;
    	      }
    	    };

    	    RedBlackTree.prototype._rotateRight = function(node) {
    	      var _ref, _ref1;
    	      if ((_ref = node._parent) != null) {
    	        _ref[_leftOrRight(node)] = node._left;
    	      }
    	      node._left._parent = node._parent;
    	      node._parent = node._left;
    	      node._left = node._left._right;
    	      node._parent._right = node;
    	      if ((_ref1 = node._left) != null) {
    	        _ref1._parent = node;
    	      }
    	      if (node._parent._parent == null) {
    	        return this._root = node._parent;
    	      }
    	    };

    	    return RedBlackTree;

    	  })();

    	  _isLeft = function(node) {
    	    return node === node._parent._left;
    	  };

    	  _leftOrRight = function(node) {
    	    if (_isLeft(node)) {
    	      return '_left';
    	    } else {
    	      return '_right';
    	    }
    	  };

    	  _findNode = function(startingNode, comparator) {
    	    var comparisonResult, currentNode, foundNode;
    	    currentNode = startingNode;
    	    foundNode = void 0;
    	    while (currentNode) {
    	      comparisonResult = comparator(currentNode);
    	      if (comparisonResult === NODE_FOUND) {
    	        foundNode = currentNode;
    	        break;
    	      }
    	      if (comparisonResult === NODE_TOO_BIG) {
    	        currentNode = currentNode._left;
    	      } else if (comparisonResult === NODE_TOO_SMALL) {
    	        currentNode = currentNode._right;
    	      } else if (comparisonResult === STOP_SEARCHING) {
    	        break;
    	      }
    	    }
    	    return foundNode;
    	  };

    	  _peekMinNode = function(startingNode) {
    	    return _findNode(startingNode, function(node) {
    	      if (node._left) {
    	        return NODE_TOO_BIG;
    	      } else {
    	        return NODE_FOUND;
    	      }
    	    });
    	  };

    	  _peekMaxNode = function(startingNode) {
    	    return _findNode(startingNode, function(node) {
    	      if (node._right) {
    	        return NODE_TOO_SMALL;
    	      } else {
    	        return NODE_FOUND;
    	      }
    	    });
    	  };

    	  _grandParentOf = function(node) {
    	    var _ref;
    	    return (_ref = node._parent) != null ? _ref._parent : void 0;
    	  };

    	  _uncleOf = function(node) {
    	    if (!_grandParentOf(node)) {
    	      return;
    	    }
    	    if (_isLeft(node._parent)) {
    	      return _grandParentOf(node)._right;
    	    } else {
    	      return _grandParentOf(node)._left;
    	    }
    	  };

    	  _siblingOf = function(node) {
    	    if (_isLeft(node)) {
    	      return node._parent._right;
    	    } else {
    	      return node._parent._left;
    	    }
    	  };

    	  module.exports = RedBlackTree;

    	}).call(this);

    /***/ },
    /* 8 */
    /***/ function(module, exports, __webpack_require__) {

    	/*
    	Good for fast insertion/removal/lookup of strings.

    	## Overview example:

    	```js
    	var trie = new Trie(['bear', 'beer']);
    	trie.add('hello'); // => 'hello'
    	trie.add('helloha!'); // => 'helloha!'
    	trie.has('bears'); // => false
    	trie.longestPrefixOf('beatrice'); // => 'bea'
    	trie.wordsWithPrefix('hel'); // => ['hello', 'helloha!']
    	trie.remove('beers'); // => undefined. 'beer' still exists
    	trie.remove('Beer') // => undefined. Case-sensitive
    	trie.remove('beer') // => 'beer'. Removed
    	```

    	## Properties:

    	- size: The total number of words.
    	*/

    	(function() {
    	  var Queue, Trie, WORD_END, _hasAtLeastNChildren,
    	    __hasProp = {}.hasOwnProperty;

    	  Queue = __webpack_require__(6);

    	  WORD_END = 'end';

    	  Trie = (function() {
    	    function Trie(words) {
    	      var word, _i, _len;
    	      if (words == null) {
    	        words = [];
    	      }
    	      /*
    	      Pass an optional array of strings to be inserted initially.
    	      */

    	      this._root = {};
    	      this.size = 0;
    	      for (_i = 0, _len = words.length; _i < _len; _i++) {
    	        word = words[_i];
    	        this.add(word);
    	      }
    	    }

    	    Trie.prototype.add = function(word) {
    	      /*
    	      Add a whole string to the trie.

    	      _Returns:_ the word added. Will return undefined (without adding the value)
    	      if the word passed is null or undefined.
    	      */

    	      var currentNode, letter, _i, _len;
    	      if (word == null) {
    	        return;
    	      }
    	      this.size++;
    	      currentNode = this._root;
    	      for (_i = 0, _len = word.length; _i < _len; _i++) {
    	        letter = word[_i];
    	        if (currentNode[letter] == null) {
    	          currentNode[letter] = {};
    	        }
    	        currentNode = currentNode[letter];
    	      }
    	      currentNode[WORD_END] = true;
    	      return word;
    	    };

    	    Trie.prototype.has = function(word) {
    	      /*
    	      __Returns:_ true or false.
    	      */

    	      var currentNode, letter, _i, _len;
    	      if (word == null) {
    	        return false;
    	      }
    	      currentNode = this._root;
    	      for (_i = 0, _len = word.length; _i < _len; _i++) {
    	        letter = word[_i];
    	        if (currentNode[letter] == null) {
    	          return false;
    	        }
    	        currentNode = currentNode[letter];
    	      }
    	      if (currentNode[WORD_END]) {
    	        return true;
    	      } else {
    	        return false;
    	      }
    	    };

    	    Trie.prototype.longestPrefixOf = function(word) {
    	      /*
    	      Find all words containing the prefix. The word itself counts as a prefix.

    	      ```js
    	      var trie = new Trie;
    	      trie.add('hello');
    	      trie.longestPrefixOf('he'); // 'he'
    	      trie.longestPrefixOf('hello'); // 'hello'
    	      trie.longestPrefixOf('helloha!'); // 'hello'
    	      ```

    	      _Returns:_ the prefix string, or empty string if no prefix found.
    	      */

    	      var currentNode, letter, prefix, _i, _len;
    	      if (word == null) {
    	        return '';
    	      }
    	      currentNode = this._root;
    	      prefix = '';
    	      for (_i = 0, _len = word.length; _i < _len; _i++) {
    	        letter = word[_i];
    	        if (currentNode[letter] == null) {
    	          break;
    	        }
    	        prefix += letter;
    	        currentNode = currentNode[letter];
    	      }
    	      return prefix;
    	    };

    	    Trie.prototype.wordsWithPrefix = function(prefix) {
    	      /*
    	      Find all words containing the prefix. The word itself counts as a prefix.
    	      **Watch out for edge cases.**

    	      ```js
    	      var trie = new Trie;
    	      trie.wordsWithPrefix(''); // []. Check later case below.
    	      trie.add('');
    	      trie.wordsWithPrefix(''); // ['']
    	      trie.add('he');
    	      trie.add('hello');
    	      trie.add('hell');
    	      trie.add('bear');
    	      trie.add('z');
    	      trie.add('zebra');
    	      trie.wordsWithPrefix('hel'); // ['hell', 'hello']
    	      ```

    	      _Returns:_ an array of strings, or empty array if no word found.
    	      */

    	      var accumulatedLetters, currentNode, letter, node, queue, subNode, words, _i, _len, _ref;
    	      if (prefix == null) {
    	        return [];
    	      }
    	      (prefix != null) || (prefix = '');
    	      words = [];
    	      currentNode = this._root;
    	      for (_i = 0, _len = prefix.length; _i < _len; _i++) {
    	        letter = prefix[_i];
    	        currentNode = currentNode[letter];
    	        if (currentNode == null) {
    	          return [];
    	        }
    	      }
    	      queue = new Queue();
    	      queue.enqueue([currentNode, '']);
    	      while (queue.size !== 0) {
    	        _ref = queue.dequeue(), node = _ref[0], accumulatedLetters = _ref[1];
    	        if (node[WORD_END]) {
    	          words.push(prefix + accumulatedLetters);
    	        }
    	        for (letter in node) {
    	          if (!__hasProp.call(node, letter)) continue;
    	          subNode = node[letter];
    	          queue.enqueue([subNode, accumulatedLetters + letter]);
    	        }
    	      }
    	      return words;
    	    };

    	    Trie.prototype.remove = function(word) {
    	      /*
    	      _Returns:_ the string removed, or undefined if the word in its whole doesn't
    	      exist. **Note:** this means removing `beers` when only `beer` exists will
    	      return undefined and conserve `beer`.
    	      */

    	      var currentNode, i, letter, prefix, _i, _j, _len, _ref;
    	      if (word == null) {
    	        return;
    	      }
    	      currentNode = this._root;
    	      prefix = [];
    	      for (_i = 0, _len = word.length; _i < _len; _i++) {
    	        letter = word[_i];
    	        if (currentNode[letter] == null) {
    	          return;
    	        }
    	        currentNode = currentNode[letter];
    	        prefix.push([letter, currentNode]);
    	      }
    	      if (!currentNode[WORD_END]) {
    	        return;
    	      }
    	      this.size--;
    	      delete currentNode[WORD_END];
    	      if (_hasAtLeastNChildren(currentNode, 1)) {
    	        return word;
    	      }
    	      for (i = _j = _ref = prefix.length - 1; _ref <= 1 ? _j <= 1 : _j >= 1; i = _ref <= 1 ? ++_j : --_j) {
    	        if (!_hasAtLeastNChildren(prefix[i][1], 1)) {
    	          delete prefix[i - 1][1][prefix[i][0]];
    	        } else {
    	          break;
    	        }
    	      }
    	      if (!_hasAtLeastNChildren(this._root[prefix[0][0]], 1)) {
    	        delete this._root[prefix[0][0]];
    	      }
    	      return word;
    	    };

    	    return Trie;

    	  })();

    	  _hasAtLeastNChildren = function(node, n) {
    	    var child, childCount;
    	    if (n === 0) {
    	      return true;
    	    }
    	    childCount = 0;
    	    for (child in node) {
    	      if (!__hasProp.call(node, child)) continue;
    	      childCount++;
    	      if (childCount >= n) {
    	        return true;
    	      }
    	    }
    	    return false;
    	  };

    	  module.exports = Trie;

    	}).call(this);

    /***/ }
    /******/ ]);;angular.module('uiGmapgoogle-maps.wrapped')
    .service('uiGmapMarkerSpiderfier', [ 'uiGmapGoogleMapApi', function(GoogleMapApi) {
      var self = this;
      /* istanbul ignore next */
      +function(){

    /** @preserve OverlappingMarkerSpiderfier
    https://github.com/jawj/OverlappingMarkerSpiderfier
    Copyright (c) 2011 - 2013 George MacKerron
    Released under the MIT licence: http://opensource.org/licenses/mit-license
    Note: The Google Maps API v3 must be included *before* this code
     */
    var hasProp = {}.hasOwnProperty,
      slice = [].slice;

    this['OverlappingMarkerSpiderfier'] = (function() {
      var ge, gm, j, lcH, lcU, len, mt, p, ref, twoPi, x;

      p = _Class.prototype;

      ref = [_Class, p];
      for (j = 0, len = ref.length; j < len; j++) {
        x = ref[j];
        x['VERSION'] = '0.3.3';
      }

      gm = void 0;

      ge = void 0;

      mt = void 0;

      twoPi = Math.PI * 2;

      p['keepSpiderfied'] = false;

      p['markersWontHide'] = false;

      p['markersWontMove'] = false;

      p['nearbyDistance'] = 20;

      p['circleSpiralSwitchover'] = 9;

      p['circleFootSeparation'] = 23;

      p['circleStartAngle'] = twoPi / 12;

      p['spiralFootSeparation'] = 26;

      p['spiralLengthStart'] = 11;

      p['spiralLengthFactor'] = 4;

      p['spiderfiedZIndex'] = 1000;

      p['usualLegZIndex'] = 10;

      p['highlightedLegZIndex'] = 20;

      p['event'] = 'click';

      p['minZoomLevel'] = false;

      p['legWeight'] = 1.5;

      p['legColors'] = {
        'usual': {},
        'highlighted': {}
      };

      lcU = p['legColors']['usual'];

      lcH = p['legColors']['highlighted'];

      _Class['initializeGoogleMaps'] = function(google) {
        gm = google.maps;
        ge = gm.event;
        mt = gm.MapTypeId;
        lcU[mt.HYBRID] = lcU[mt.SATELLITE] = '#fff';
        lcH[mt.HYBRID] = lcH[mt.SATELLITE] = '#f00';
        lcU[mt.TERRAIN] = lcU[mt.ROADMAP] = '#444';
        lcH[mt.TERRAIN] = lcH[mt.ROADMAP] = '#f00';
        this.ProjHelper = function(map) {
          return this.setMap(map);
        };
        this.ProjHelper.prototype = new gm.OverlayView();
        return this.ProjHelper.prototype['draw'] = function() {};
      };

      function _Class(map1, opts) {
        var e, k, l, len1, ref1, v;
        this.map = map1;
        if (opts == null) {
          opts = {};
        }
        for (k in opts) {
          if (!hasProp.call(opts, k)) continue;
          v = opts[k];
          this[k] = v;
        }
        this.projHelper = new this.constructor.ProjHelper(this.map);
        this.initMarkerArrays();
        this.listeners = {};
        ref1 = ['click', 'zoom_changed', 'maptypeid_changed'];
        for (l = 0, len1 = ref1.length; l < len1; l++) {
          e = ref1[l];
          ge.addListener(this.map, e, (function(_this) {
            return function() {
              return _this['unspiderfy']();
            };
          })(this));
        }
      }

      p.initMarkerArrays = function() {
        this.markers = [];
        return this.markerListenerRefs = [];
      };

      p['addMarker'] = function(marker) {
        var listenerRefs;
        if (marker['_oms'] != null) {
          return this;
        }
        marker['_oms'] = true;
        listenerRefs = [
          ge.addListener(marker, this['event'], (function(_this) {
            return function(event) {
              return _this.spiderListener(marker, event);
            };
          })(this))
        ];
        if (!this['markersWontHide']) {
          listenerRefs.push(ge.addListener(marker, 'visible_changed', (function(_this) {
            return function() {
              return _this.markerChangeListener(marker, false);
            };
          })(this)));
        }
        if (!this['markersWontMove']) {
          listenerRefs.push(ge.addListener(marker, 'position_changed', (function(_this) {
            return function() {
              return _this.markerChangeListener(marker, true);
            };
          })(this)));
        }
        this.markerListenerRefs.push(listenerRefs);
        this.markers.push(marker);
        return this;
      };

      p.markerChangeListener = function(marker, positionChanged) {
        if ((marker['_omsData'] != null) && (positionChanged || !marker.getVisible()) && !((this.spiderfying != null) || (this.unspiderfying != null))) {
          return this['unspiderfy'](positionChanged ? marker : null);
        }
      };

      p['getMarkers'] = function() {
        return this.markers.slice(0);
      };

      p['removeMarker'] = function(marker) {
        var i, l, len1, listenerRef, listenerRefs;
        if (marker['_omsData'] != null) {
          this['unspiderfy']();
        }
        i = this.arrIndexOf(this.markers, marker);
        if (i < 0) {
          return this;
        }
        listenerRefs = this.markerListenerRefs.splice(i, 1)[0];
        for (l = 0, len1 = listenerRefs.length; l < len1; l++) {
          listenerRef = listenerRefs[l];
          ge.removeListener(listenerRef);
        }
        delete marker['_oms'];
        this.markers.splice(i, 1);
        return this;
      };

      p['clearMarkers'] = function() {
        var i, l, len1, len2, listenerRef, listenerRefs, marker, n, ref1;
        this['unspiderfy']();
        ref1 = this.markers;
        for (i = l = 0, len1 = ref1.length; l < len1; i = ++l) {
          marker = ref1[i];
          listenerRefs = this.markerListenerRefs[i];
          for (n = 0, len2 = listenerRefs.length; n < len2; n++) {
            listenerRef = listenerRefs[n];
            ge.removeListener(listenerRef);
          }
          delete marker['_oms'];
        }
        this.initMarkerArrays();
        return this;
      };

      p['addListener'] = function(event, func) {
        var base;
        ((base = this.listeners)[event] != null ? base[event] : base[event] = []).push(func);
        return this;
      };

      p['removeListener'] = function(event, func) {
        var i;
        i = this.arrIndexOf(this.listeners[event], func);
        if (!(i < 0)) {
          this.listeners[event].splice(i, 1);
        }
        return this;
      };

      p['clearListeners'] = function(event) {
        this.listeners[event] = [];
        return this;
      };

      p.trigger = function() {
        var args, event, func, l, len1, ref1, ref2, results;
        event = arguments[0], args = 2 <= arguments.length ? slice.call(arguments, 1) : [];
        ref2 = (ref1 = this.listeners[event]) != null ? ref1 : [];
        results = [];
        for (l = 0, len1 = ref2.length; l < len1; l++) {
          func = ref2[l];
          results.push(func.apply(null, args));
        }
        return results;
      };

      p.generatePtsCircle = function(count, centerPt) {
        var angle, angleStep, circumference, i, l, legLength, ref1, results;
        circumference = this['circleFootSeparation'] * (2 + count);
        legLength = circumference / twoPi;
        angleStep = twoPi / count;
        results = [];
        for (i = l = 0, ref1 = count; 0 <= ref1 ? l < ref1 : l > ref1; i = 0 <= ref1 ? ++l : --l) {
          angle = this['circleStartAngle'] + i * angleStep;
          results.push(new gm.Point(centerPt.x + legLength * Math.cos(angle), centerPt.y + legLength * Math.sin(angle)));
        }
        return results;
      };

      p.generatePtsSpiral = function(count, centerPt) {
        var angle, i, l, legLength, pt, ref1, results;
        legLength = this['spiralLengthStart'];
        angle = 0;
        results = [];
        for (i = l = 0, ref1 = count; 0 <= ref1 ? l < ref1 : l > ref1; i = 0 <= ref1 ? ++l : --l) {
          angle += this['spiralFootSeparation'] / legLength + i * 0.0005;
          pt = new gm.Point(centerPt.x + legLength * Math.cos(angle), centerPt.y + legLength * Math.sin(angle));
          legLength += twoPi * this['spiralLengthFactor'] / angle;
          results.push(pt);
        }
        return results;
      };

      p.spiderListener = function(marker, event) {
        var $this, clear, l, len1, m, mPt, markerPt, markerSpiderfied, nDist, nearbyMarkerData, nonNearbyMarkers, pxSq, ref1;
        markerSpiderfied = marker['_omsData'] != null;
        if (!(markerSpiderfied && this['keepSpiderfied'])) {
          if (this['event'] === 'mouseover') {
            $this = this;
            clear = function() {
              return $this['unspiderfy']();
            };
            window.clearTimeout(p.timeout);
            p.timeout = setTimeout(clear, 3000);
          } else {
            this['unspiderfy']();
          }
        }
        if (markerSpiderfied || this.map.getStreetView().getVisible() || this.map.getMapTypeId() === 'GoogleEarthAPI') {
          return this.trigger('click', marker, event);
        } else {
          nearbyMarkerData = [];
          nonNearbyMarkers = [];
          nDist = this['nearbyDistance'];
          pxSq = nDist * nDist;
          markerPt = this.llToPt(marker.position);
          ref1 = this.markers;
          for (l = 0, len1 = ref1.length; l < len1; l++) {
            m = ref1[l];
            if (!((m.map != null) && m.getVisible())) {
              continue;
            }
            mPt = this.llToPt(m.position);
            if (this.ptDistanceSq(mPt, markerPt) < pxSq) {
              nearbyMarkerData.push({
                marker: m,
                markerPt: mPt
              });
            } else {
              nonNearbyMarkers.push(m);
            }
          }
          if (nearbyMarkerData.length === 1) {
            return this.trigger('click', marker, event);
          } else {
            return this.spiderfy(nearbyMarkerData, nonNearbyMarkers);
          }
        }
      };

      p['markersNearMarker'] = function(marker, firstOnly) {
        var l, len1, m, mPt, markerPt, markers, nDist, pxSq, ref1, ref2, ref3;
        if (firstOnly == null) {
          firstOnly = false;
        }
        if (this.projHelper.getProjection() == null) {
          throw "Must wait for 'idle' event on map before calling markersNearMarker";
        }
        nDist = this['nearbyDistance'];
        pxSq = nDist * nDist;
        markerPt = this.llToPt(marker.position);
        markers = [];
        ref1 = this.markers;
        for (l = 0, len1 = ref1.length; l < len1; l++) {
          m = ref1[l];
          if (m === marker || (m.map == null) || !m.getVisible()) {
            continue;
          }
          mPt = this.llToPt((ref2 = (ref3 = m['_omsData']) != null ? ref3.usualPosition : void 0) != null ? ref2 : m.position);
          if (this.ptDistanceSq(mPt, markerPt) < pxSq) {
            markers.push(m);
            if (firstOnly) {
              break;
            }
          }
        }
        return markers;
      };

      p['markersNearAnyOtherMarker'] = function() {
        var i, i1, i2, l, len1, len2, len3, m, m1, m1Data, m2, m2Data, mData, n, nDist, pxSq, q, ref1, ref2, ref3, results;
        if (this.projHelper.getProjection() == null) {
          throw "Must wait for 'idle' event on map before calling markersNearAnyOtherMarker";
        }
        nDist = this['nearbyDistance'];
        pxSq = nDist * nDist;
        mData = (function() {
          var l, len1, ref1, ref2, ref3, results;
          ref1 = this.markers;
          results = [];
          for (l = 0, len1 = ref1.length; l < len1; l++) {
            m = ref1[l];
            results.push({
              pt: this.llToPt((ref2 = (ref3 = m['_omsData']) != null ? ref3.usualPosition : void 0) != null ? ref2 : m.position),
              willSpiderfy: false
            });
          }
          return results;
        }).call(this);
        ref1 = this.markers;
        for (i1 = l = 0, len1 = ref1.length; l < len1; i1 = ++l) {
          m1 = ref1[i1];
          if (!((m1.map != null) && m1.getVisible())) {
            continue;
          }
          m1Data = mData[i1];
          if (m1Data.willSpiderfy) {
            continue;
          }
          ref2 = this.markers;
          for (i2 = n = 0, len2 = ref2.length; n < len2; i2 = ++n) {
            m2 = ref2[i2];
            if (i2 === i1) {
              continue;
            }
            if (!((m2.map != null) && m2.getVisible())) {
              continue;
            }
            m2Data = mData[i2];
            if (i2 < i1 && !m2Data.willSpiderfy) {
              continue;
            }
            if (this.ptDistanceSq(m1Data.pt, m2Data.pt) < pxSq) {
              m1Data.willSpiderfy = m2Data.willSpiderfy = true;
              break;
            }
          }
        }
        ref3 = this.markers;
        results = [];
        for (i = q = 0, len3 = ref3.length; q < len3; i = ++q) {
          m = ref3[i];
          if (mData[i].willSpiderfy) {
            results.push(m);
          }
        }
        return results;
      };

      p.makeHighlightListenerFuncs = function(marker) {
        return {
          highlight: (function(_this) {
            return function() {
              return marker['_omsData'].leg.setOptions({
                strokeColor: _this['legColors']['highlighted'][_this.map.mapTypeId],
                zIndex: _this['highlightedLegZIndex']
              });
            };
          })(this),
          unhighlight: (function(_this) {
            return function() {
              return marker['_omsData'].leg.setOptions({
                strokeColor: _this['legColors']['usual'][_this.map.mapTypeId],
                zIndex: _this['usualLegZIndex']
              });
            };
          })(this)
        };
      };

      p.spiderfy = function(markerData, nonNearbyMarkers) {
        var bodyPt, footLl, footPt, footPts, highlightListenerFuncs, leg, marker, md, nearestMarkerDatum, numFeet, spiderfiedMarkers;
        if (this['minZoomLevel'] && this.map.getZoom() < this['minZoomLevel']) {
          return false;
        }
        this.spiderfying = true;
        numFeet = markerData.length;
        bodyPt = this.ptAverage((function() {
          var l, len1, results;
          results = [];
          for (l = 0, len1 = markerData.length; l < len1; l++) {
            md = markerData[l];
            results.push(md.markerPt);
          }
          return results;
        })());
        footPts = numFeet >= this['circleSpiralSwitchover'] ? this.generatePtsSpiral(numFeet, bodyPt).reverse() : this.generatePtsCircle(numFeet, bodyPt);
        spiderfiedMarkers = (function() {
          var l, len1, results;
          results = [];
          for (l = 0, len1 = footPts.length; l < len1; l++) {
            footPt = footPts[l];
            footLl = this.ptToLl(footPt);
            nearestMarkerDatum = this.minExtract(markerData, (function(_this) {
              return function(md) {
                return _this.ptDistanceSq(md.markerPt, footPt);
              };
            })(this));
            marker = nearestMarkerDatum.marker;
            leg = new gm.Polyline({
              map: this.map,
              path: [marker.position, footLl],
              strokeColor: this['legColors']['usual'][this.map.mapTypeId],
              strokeWeight: this['legWeight'],
              zIndex: this['usualLegZIndex']
            });
            marker['_omsData'] = {
              usualPosition: marker.position,
              leg: leg
            };
            if (this['legColors']['highlighted'][this.map.mapTypeId] !== this['legColors']['usual'][this.map.mapTypeId]) {
              highlightListenerFuncs = this.makeHighlightListenerFuncs(marker);
              marker['_omsData'].hightlightListeners = {
                highlight: ge.addListener(marker, 'mouseover', highlightListenerFuncs.highlight),
                unhighlight: ge.addListener(marker, 'mouseout', highlightListenerFuncs.unhighlight)
              };
            }
            marker.setPosition(footLl);
            marker.setZIndex(Math.round(this['spiderfiedZIndex'] + footPt.y));
            results.push(marker);
          }
          return results;
        }).call(this);
        delete this.spiderfying;
        this.spiderfied = true;
        return this.trigger('spiderfy', spiderfiedMarkers, nonNearbyMarkers);
      };

      p['unspiderfy'] = function(markerNotToMove) {
        var l, len1, listeners, marker, nonNearbyMarkers, ref1, unspiderfiedMarkers;
        if (markerNotToMove == null) {
          markerNotToMove = null;
        }
        if (this.spiderfied == null) {
          return this;
        }
        this.unspiderfying = true;
        unspiderfiedMarkers = [];
        nonNearbyMarkers = [];
        ref1 = this.markers;
        for (l = 0, len1 = ref1.length; l < len1; l++) {
          marker = ref1[l];
          if (marker['_omsData'] != null) {
            marker['_omsData'].leg.setMap(null);
            if (marker !== markerNotToMove) {
              marker.setPosition(marker['_omsData'].usualPosition);
            }
            marker.setZIndex(null);
            listeners = marker['_omsData'].hightlightListeners;
            if (listeners != null) {
              ge.removeListener(listeners.highlight);
              ge.removeListener(listeners.unhighlight);
            }
            delete marker['_omsData'];
            unspiderfiedMarkers.push(marker);
          } else {
            nonNearbyMarkers.push(marker);
          }
        }
        delete this.unspiderfying;
        delete this.spiderfied;
        this.trigger('unspiderfy', unspiderfiedMarkers, nonNearbyMarkers);
        return this;
      };

      p.ptDistanceSq = function(pt1, pt2) {
        var dx, dy;
        dx = pt1.x - pt2.x;
        dy = pt1.y - pt2.y;
        return dx * dx + dy * dy;
      };

      p.ptAverage = function(pts) {
        var l, len1, numPts, pt, sumX, sumY;
        sumX = sumY = 0;
        for (l = 0, len1 = pts.length; l < len1; l++) {
          pt = pts[l];
          sumX += pt.x;
          sumY += pt.y;
        }
        numPts = pts.length;
        return new gm.Point(sumX / numPts, sumY / numPts);
      };

      p.llToPt = function(ll) {
        return this.projHelper.getProjection().fromLatLngToDivPixel(ll);
      };

      p.ptToLl = function(pt) {
        return this.projHelper.getProjection().fromDivPixelToLatLng(pt);
      };

      p.minExtract = function(set, func) {
        var bestIndex, bestVal, index, item, l, len1, val;
        for (index = l = 0, len1 = set.length; l < len1; index = ++l) {
          item = set[index];
          val = func(item);
          if ((typeof bestIndex === "undefined" || bestIndex === null) || val < bestVal) {
            bestVal = val;
            bestIndex = index;
          }
        }
        return set.splice(bestIndex, 1)[0];
      };

      p.arrIndexOf = function(arr, obj) {
        var i, l, len1, o;
        if (arr.indexOf != null) {
          return arr.indexOf(obj);
        }
        for (i = l = 0, len1 = arr.length; l < len1; i = ++l) {
          o = arr[i];
          if (o === obj) {
            return i;
          }
        }
        return -1;
      };

      return _Class;

    })();

      }.apply(self);

      GoogleMapApi.then(function(){
        self.OverlappingMarkerSpiderfier.initializeGoogleMaps(window.google);
      });
      return this.OverlappingMarkerSpiderfier;
    }]);
    ;/**
     * Performance overrides on MarkerClusterer custom to Angular Google Maps
     *
     * Created by Petr Bruna ccg1415 and Nick McCready on 7/13/14.
     */
    angular.module('uiGmapgoogle-maps.extensions')
    .service('uiGmapExtendMarkerClusterer',['uiGmapLodash', 'uiGmapPropMap', function (uiGmapLodash, PropMap) {
      return {
        init: _.once(function () {
          (function () {
            var __hasProp = {}.hasOwnProperty,
              __extends = function (child, parent) {
                for (var key in parent) {
                  Eif (__hasProp.call(parent, key)) child[key] = parent[key];
                }
                function ctor() {
                  this.constructor = child;
                }

                ctor.prototype = parent.prototype;
                child.prototype = new ctor();
                child.__super__ = parent.prototype;
                return child;
              };

            window.NgMapCluster = (function (_super) {
              __extends(NgMapCluster, _super);

              function NgMapCluster(opts) {
                NgMapCluster.__super__.constructor.call(this, opts);
                this.markers_ = new PropMap();
              }

              /**
               * Adds a marker to the cluster.
               *
               * @param {google.maps.Marker} marker The marker to be added.
               * @return {boolean} True if the marker was added.
               * @ignore
               */
              NgMapCluster.prototype.addMarker = function (marker) {
                var i;
                var mCount;
                var mz;

                if (this.isMarkerAlreadyAdded_(marker)) {
                  var oldMarker = this.markers_.get(marker.key);
                  if (oldMarker.getPosition().lat() == marker.getPosition().lat() && oldMarker.getPosition().lon() == marker.getPosition().lon()) //if nothing has changed
                    return false;
                }

                if (!this.center_) {
                  this.center_ = marker.getPosition();
                  this.calculateBounds_();
                } else {
                  if (this.averageCenter_) {
                    var l = this.markers_.length + 1;
                    var lat = (this.center_.lat() * (l - 1) + marker.getPosition().lat()) / l;
                    var lng = (this.center_.lng() * (l - 1) + marker.getPosition().lng()) / l;
                    this.center_ = new google.maps.LatLng(lat, lng);
                    this.calculateBounds_();
                  }
                }
                marker.isAdded = true;
                this.markers_.push(marker);

                mCount = this.markers_.length;
                mz = this.markerClusterer_.getMaxZoom();
                if (mz !== null && this.map_.getZoom() > mz) {
                  // Zoomed in past max zoom, so show the marker.
                  if (marker.getMap() !== this.map_) {
                    marker.setMap(this.map_);
                  }
                } else if (mCount < this.minClusterSize_) {
                  // Min cluster size not reached so show the marker.
                  if (marker.getMap() !== this.map_) {
                    marker.setMap(this.map_);
                  }
                } else if (mCount === this.minClusterSize_) {
                  // Hide the markers that were showing.
                  this.markers_.each(function (m) {
                    m.setMap(null);
                  });
                } else {
                  marker.setMap(null);
                }

                //this.updateIcon_();
                return true;
              };

              /**
               * Determines if a marker has already been added to the cluster.
               *
               * @param {google.maps.Marker} marker The marker to check.
               * @return {boolean} True if the marker has already been added.
               */
              NgMapCluster.prototype.isMarkerAlreadyAdded_ = function (marker) {
                return uiGmapLodash.isNullOrUndefined(this.markers_.get(marker.key));
              };

              /**
               * Returns the bounds of the cluster.
               *
               * @return {google.maps.LatLngBounds} the cluster bounds.
               * @ignore
               */
              NgMapCluster.prototype.getBounds = function () {
                var i;
                var bounds = new google.maps.LatLngBounds(this.center_, this.center_);
                this.getMarkers().each(function(m){
                  bounds.extend(m.getPosition());
                });
                return bounds;
              };

              /**
               * Removes the cluster from the map.
               *
               * @ignore
               */
              NgMapCluster.prototype.remove = function () {
                this.clusterIcon_.setMap(null);
                this.markers_ = new PropMap();
                delete this.markers_;
              };

              return NgMapCluster;

            })(Cluster);

            window.NgMapMarkerClusterer = (function (_super) {
              __extends(NgMapMarkerClusterer, _super);

              function NgMapMarkerClusterer(map, opt_markers, opt_options) {
                NgMapMarkerClusterer.__super__.constructor.call(this, map, opt_markers, opt_options);
                this.markers_ = new PropMap();
              }

              /**
               * Removes all clusters and markers from the map and also removes all markers
               *  managed by the clusterer.
               */
              NgMapMarkerClusterer.prototype.clearMarkers = function () {
                this.resetViewport_(true);
                this.markers_ = new PropMap();
              };
              /**
               * Removes a marker and returns true if removed, false if not.
               *
               * @param {google.maps.Marker} marker The marker to remove
               * @return {boolean} Whether the marker was removed or not
               */
              NgMapMarkerClusterer.prototype.removeMarker_ = function (marker) {
                if (!this.markers_.get(marker.key)) {
                  return false;
                }
                marker.setMap(null);
                this.markers_.remove(marker.key); // Remove the marker from the list of managed markers
                return true;
              };

              /**
               * Creates the clusters. This is done in batches to avoid timeout errors
               *  in some browsers when there is a huge number of markers.
               *
               * @param {number} iFirst The index of the first marker in the batch of
               *  markers to be added to clusters.
               */
              NgMapMarkerClusterer.prototype.createClusters_ = function (iFirst) {
                var i, marker;
                var mapBounds;
                var cMarkerClusterer = this;
                if (!this.ready_) {
                  return;
                }

                // Cancel previous batch processing if we're working on the first batch:
                if (iFirst === 0) {
                  /**
                   * This event is fired when the <code>MarkerClusterer</code> begins
                   *  clustering markers.
                   * @name MarkerClusterer#clusteringbegin
                   * @param {MarkerClusterer} mc The MarkerClusterer whose markers are being clustered.
                   * @event
                   */
                  google.maps.event.trigger(this, 'clusteringbegin', this);

                  if (typeof this.timerRefStatic !== 'undefined') {
                    clearTimeout(this.timerRefStatic);
                    delete this.timerRefStatic;
                  }
                }

                // Get our current map view bounds.
                // Create a new bounds object so we don't affect the map.
                //
                // See Comments 9 & 11 on Issue 3651 relating to this workaround for a Google Maps bug:
                if (this.getMap().getZoom() > 3) {
                  mapBounds = new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),
                    this.getMap().getBounds().getNorthEast());
                } else {
                  mapBounds = new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472, -178.48388434375), new google.maps.LatLng(-85.08136444384544, 178.00048865625));
                }
                var bounds = this.getExtendedBounds(mapBounds);

                var iLast = Math.min(iFirst + this.batchSize_, this.markers_.length);

                var _ms = this.markers_.values();
                for (i = iFirst; i < iLast; i++) {
                  marker = _ms[i];
                  if (!marker.isAdded && this.isMarkerInBounds_(marker, bounds)) {
                    if (!this.ignoreHidden_ || (this.ignoreHidden_ && marker.getVisible())) {
                      this.addToClosestCluster_(marker);
                    }
                  }
                }

                if (iLast < this.markers_.length) {
                  this.timerRefStatic = setTimeout(function () {
                    cMarkerClusterer.createClusters_(iLast);
                  }, 0);
                } else {
                  // custom addition by ui-gmap
                  // update icon for all clusters
                  for (i = 0; i < this.clusters_.length; i++) {
                    this.clusters_[i].updateIcon_();
                  }

                  delete this.timerRefStatic;

                  /**
                   * This event is fired when the <code>MarkerClusterer</code> stops
                   *  clustering markers.
                   * @name MarkerClusterer#clusteringend
                   * @param {MarkerClusterer} mc The MarkerClusterer whose markers are being clustered.
                   * @event
                   */
                  google.maps.event.trigger(this, 'clusteringend', this);
                }
              };

              /**
               * Adds a marker to a cluster, or creates a new cluster.
               *
               * @param {google.maps.Marker} marker The marker to add.
               */
              NgMapMarkerClusterer.prototype.addToClosestCluster_ = function (marker) {
                var i, d, cluster, center;
                var distance = 40000; // Some large number
                var clusterToAddTo = null;
                for (i = 0; i < this.clusters_.length; i++) {
                  cluster = this.clusters_[i];
                  center = cluster.getCenter();
                  if (center) {
                    d = this.distanceBetweenPoints_(center, marker.getPosition());
                    if (d < distance) {
                      distance = d;
                      clusterToAddTo = cluster;
                    }
                  }
                }

                if (clusterToAddTo && clusterToAddTo.isMarkerInClusterBounds(marker)) {
                  clusterToAddTo.addMarker(marker);
                } else {
                  cluster = new NgMapCluster(this);
                  cluster.addMarker(marker);
                  this.clusters_.push(cluster);
                }
              };

              /**
               * Redraws all the clusters.
               */
              NgMapMarkerClusterer.prototype.redraw_ = function () {
                this.createClusters_(0);
              };

              /**
               * Removes all clusters from the map. The markers are also removed from the map
               *  if <code>opt_hide</code> is set to <code>true</code>.
               *
               * @param {boolean} [opt_hide] Set to <code>true</code> to also remove the markers
               *  from the map.
               */
              NgMapMarkerClusterer.prototype.resetViewport_ = function (opt_hide) {
                var i, marker;
                // Remove all the clusters
                for (i = 0; i < this.clusters_.length; i++) {
                  this.clusters_[i].remove();
                }
                this.clusters_ = [];

                // Reset the markers to not be added and to be removed from the map.
                this.markers_.each(function (marker) {
                  marker.isAdded = false;
                  if (opt_hide) {
                    marker.setMap(null);
                  }
                });
              };

              /**
               * Extends an object's prototype by another's.
               *
               * @param {Object} obj1 The object to be extended.
               * @param {Object} obj2 The object to extend with.
               * @return {Object} The new extended object.
               * @ignore
               */
              NgMapMarkerClusterer.prototype.extend = function (obj1, obj2) {
                return (function (object) {
                  var property;
                  for (property in object.prototype) {
                    Eif (property !== 'constructor')
                      this.prototype[property] = object.prototype[property];
                  }
                  return this;
                }).apply(obj1, [obj2]);
              };
              ////////////////////////////////////////////////////////////////////////////////
              /*
              Other overrides relevant to MarkerClusterPlus
              */
              ////////////////////////////////////////////////////////////////////////////////
              /**
              * Positions and shows the icon.
              */
              ClusterIcon.prototype.show = function () {
                if (this.div_) {
                  var img = "";
                  // NOTE: values must be specified in px units
                  var bp = this.backgroundPosition_.split(" ");
                  var spriteH = parseInt(bp[0].trim(), 10);
                  var spriteV = parseInt(bp[1].trim(), 10);
                  var pos = this.getPosFromLatLng_(this.center_);
                  this.div_.style.cssText = this.createCss(pos);
                  img = "<img src='" + this.url_ + "' style='position: absolute; top: " + spriteV + "px; left: " + spriteH + "px; ";
                  if (!this.cluster_.getMarkerClusterer().enableRetinaIcons_) {
                    img += "clip: rect(" + (-1 * spriteV) + "px, " + ((-1 * spriteH) + this.width_) + "px, " +
                    ((-1 * spriteV) + this.height_) + "px, " + (-1 * spriteH) + "px);";
                  }
                  // ADDED FOR RETINA SUPPORT
                  else {
                    img += "width: " + this.width_ + "px;" + "height: " + this.height_ + "px;";
                  }
                  // END ADD
                  img += "'>";
                  this.div_.innerHTML = img + "<div style='" +
                  "position: absolute;" +
                  "top: " + this.anchorText_[0] + "px;" +
                  "left: " + this.anchorText_[1] + "px;" +
                  "color: " + this.textColor_ + ";" +
                  "font-size: " + this.textSize_ + "px;" +
                  "font-family: " + this.fontFamily_ + ";" +
                  "font-weight: " + this.fontWeight_ + ";" +
                  "font-style: " + this.fontStyle_ + ";" +
                  "text-decoration: " + this.textDecoration_ + ";" +
                  "text-align: center;" +
                  "width: " + this.width_ + "px;" +
                  "line-height:" + this.height_ + "px;" +
                  "'>" + this.sums_.text + "</div>";
                  if (typeof this.sums_.title === "undefined" || this.sums_.title === "") {
                    this.div_.title = this.cluster_.getMarkerClusterer().getTitle();
                  } else {
                    this.div_.title = this.sums_.title;
                  }
                  this.div_.style.display = "";
                }
                this.visible_ = true;
              };
              //END OTHER OVERRIDES
              ////////////////////////////////////////////////////////////////////////////////

              return NgMapMarkerClusterer;

            })(MarkerClusterer);
          }).call(this);
        })
      };
    }]);
    }( window, angular, _));