@google/earthengine 1.6.15 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/browser.js +255 -238
- package/build/ee_api_js.js +20 -20
- package/build/ee_api_js_debug.js +233 -215
- package/build/ee_api_js_npm.js +255 -238
- package/build/main.js +255 -238
- package/package.json +1 -1
- package/src/apiclient.js +8 -3
package/build/ee_api_js_debug.js
CHANGED
|
@@ -1344,8 +1344,9 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1344
1344
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1345
1345
|
};
|
|
1346
1346
|
}, "es8", "es3");
|
|
1347
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__disable:!1,
|
|
1348
|
-
GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__optimize_get_ei_from_ved__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1,
|
|
1347
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__disable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1348
|
+
GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable:!1, GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__jspb_write_back_bigint__enable:!1, GoogFlags__optimize_get_ei_from_ved__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1,
|
|
1349
|
+
GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1349
1350
|
/*
|
|
1350
1351
|
|
|
1351
1352
|
Copyright The Closure Library Authors.
|
|
@@ -6548,7 +6549,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles = !1;
|
|
|
6548
6549
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles = !1;
|
|
6549
6550
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6550
6551
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6551
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6552
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable = !1;
|
|
6552
6553
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable = !1;
|
|
6553
6554
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_lazy_tsx__disable = !1;
|
|
6554
6555
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable = !1;
|
|
@@ -6557,6 +6558,8 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_mes
|
|
|
6557
6558
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable = !1;
|
|
6558
6559
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable = !1;
|
|
6559
6560
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable = !1;
|
|
6561
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__enable = !1;
|
|
6562
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__enable = !1;
|
|
6560
6563
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6561
6564
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6562
6565
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
@@ -6566,7 +6569,8 @@ goog.flags = {};
|
|
|
6566
6569
|
var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
|
|
6567
6570
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6568
6571
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6569
|
-
goog.flags.CLIENT_ONLY_WIZ_QUEUE_EFFECT_AND_ON_INIT_INITIAL_RUNS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.
|
|
6572
|
+
goog.flags.CLIENT_ONLY_WIZ_QUEUE_EFFECT_AND_ON_INIT_INITIAL_RUNS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable) : goog.readFlagInternalDoNotUseOrElse(772657768,
|
|
6573
|
+
module$contents$goog$flags_STAGING);
|
|
6570
6574
|
goog.flags.CLIENT_ONLY_WIZ_CONTEXT_PER_COMPONENT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable : goog.readFlagInternalDoNotUseOrElse(513659523, goog.DEBUG);
|
|
6571
6575
|
goog.flags.CLIENT_ONLY_WIZ_LAZY_TSX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_lazy_tsx__disable : goog.readFlagInternalDoNotUseOrElse(568333945, !0);
|
|
6572
6576
|
goog.flags.FIXED_NOOPENER_BEHAVIOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable : goog.readFlagInternalDoNotUseOrElse(1331761403, !1);
|
|
@@ -6576,6 +6580,8 @@ goog.flags.JSPB_USE_CONSTANT_DEFAULT_PIVOT = module$exports$closure$flags$flags$
|
|
|
6576
6580
|
goog.flags.JSPB_SERIALIZE_WITH_DYNAMIC_PIVOT_SELECTOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable : goog.readFlagInternalDoNotUseOrElse(748402146, goog.DEBUG);
|
|
6577
6581
|
goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable : goog.readFlagInternalDoNotUseOrElse(748402147,
|
|
6578
6582
|
!0);
|
|
6583
|
+
goog.flags.JSPB_DESERIALIZE_BINARY_INT64S_AS_GBIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__enable : goog.readFlagInternalDoNotUseOrElse(824648567, goog.DEBUG);
|
|
6584
|
+
goog.flags.JSPB_WRITE_BACK_BIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__enable : goog.readFlagInternalDoNotUseOrElse(824656860, goog.DEBUG);
|
|
6579
6585
|
goog.flags.OPTIMIZE_GET_EI_FROM_VED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable : goog.readFlagInternalDoNotUseOrElse(333098724, !1);
|
|
6580
6586
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
6581
6587
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
@@ -8800,7 +8806,7 @@ module$contents$goog$iter$es6_ShimEs6Iterator.prototype.next = function() {
|
|
|
8800
8806
|
goog.iter.es6.ShimIterable = module$contents$goog$iter$es6_ShimIterable;
|
|
8801
8807
|
goog.iter.es6.ShimEs6Iterator = module$contents$goog$iter$es6_ShimEs6Iterator;
|
|
8802
8808
|
goog.iter.es6.ShimGoogIterator = module$contents$goog$iter$es6_ShimGoogIterator;
|
|
8803
|
-
goog
|
|
8809
|
+
function module$contents$goog$structs$Map_Map(opt_map, var_args) {
|
|
8804
8810
|
this.map_ = {};
|
|
8805
8811
|
this.keys_ = [];
|
|
8806
8812
|
this.version_ = this.size = 0;
|
|
@@ -8815,44 +8821,44 @@ goog.structs.Map = function(opt_map, var_args) {
|
|
|
8815
8821
|
} else {
|
|
8816
8822
|
opt_map && this.addAll(opt_map);
|
|
8817
8823
|
}
|
|
8818
|
-
}
|
|
8819
|
-
goog
|
|
8824
|
+
}
|
|
8825
|
+
module$contents$goog$structs$Map_Map.prototype.getCount = function() {
|
|
8820
8826
|
return this.size;
|
|
8821
8827
|
};
|
|
8822
|
-
goog
|
|
8828
|
+
module$contents$goog$structs$Map_Map.prototype.getValues = function() {
|
|
8823
8829
|
this.cleanupKeysArray_();
|
|
8824
8830
|
for (var rv = [], i = 0; i < this.keys_.length; i++) {
|
|
8825
8831
|
rv.push(this.map_[this.keys_[i]]);
|
|
8826
8832
|
}
|
|
8827
8833
|
return rv;
|
|
8828
8834
|
};
|
|
8829
|
-
goog
|
|
8835
|
+
module$contents$goog$structs$Map_Map.prototype.getKeys = function() {
|
|
8830
8836
|
this.cleanupKeysArray_();
|
|
8831
8837
|
return this.keys_.concat();
|
|
8832
8838
|
};
|
|
8833
|
-
goog
|
|
8839
|
+
module$contents$goog$structs$Map_Map.prototype.containsKey = function(key) {
|
|
8834
8840
|
return this.has(key);
|
|
8835
8841
|
};
|
|
8836
|
-
goog
|
|
8837
|
-
return goog
|
|
8842
|
+
module$contents$goog$structs$Map_Map.prototype.has = function(key) {
|
|
8843
|
+
return module$contents$goog$structs$Map_Map.hasKey_(this.map_, key);
|
|
8838
8844
|
};
|
|
8839
|
-
goog
|
|
8845
|
+
module$contents$goog$structs$Map_Map.prototype.containsValue = function(val) {
|
|
8840
8846
|
for (var i = 0; i < this.keys_.length; i++) {
|
|
8841
8847
|
var key = this.keys_[i];
|
|
8842
|
-
if (goog
|
|
8848
|
+
if (module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) && this.map_[key] == val) {
|
|
8843
8849
|
return !0;
|
|
8844
8850
|
}
|
|
8845
8851
|
}
|
|
8846
8852
|
return !1;
|
|
8847
8853
|
};
|
|
8848
|
-
goog
|
|
8854
|
+
module$contents$goog$structs$Map_Map.prototype.equals = function(otherMap, opt_equalityFn) {
|
|
8849
8855
|
if (this === otherMap) {
|
|
8850
8856
|
return !0;
|
|
8851
8857
|
}
|
|
8852
8858
|
if (this.size != otherMap.getCount()) {
|
|
8853
8859
|
return !1;
|
|
8854
8860
|
}
|
|
8855
|
-
var equalityFn = opt_equalityFn || goog
|
|
8861
|
+
var equalityFn = opt_equalityFn || module$contents$goog$structs$Map_Map.defaultEquals;
|
|
8856
8862
|
this.cleanupKeysArray_();
|
|
8857
8863
|
for (var key, i = 0; key = this.keys_[i]; i++) {
|
|
8858
8864
|
if (!equalityFn(this.get(key), otherMap.get(key))) {
|
|
@@ -8861,29 +8867,29 @@ goog.structs.Map.prototype.equals = function(otherMap, opt_equalityFn) {
|
|
|
8861
8867
|
}
|
|
8862
8868
|
return !0;
|
|
8863
8869
|
};
|
|
8864
|
-
goog
|
|
8870
|
+
module$contents$goog$structs$Map_Map.defaultEquals = function(a, b) {
|
|
8865
8871
|
return a === b;
|
|
8866
8872
|
};
|
|
8867
|
-
goog
|
|
8873
|
+
module$contents$goog$structs$Map_Map.prototype.isEmpty = function() {
|
|
8868
8874
|
return this.size == 0;
|
|
8869
8875
|
};
|
|
8870
|
-
goog
|
|
8876
|
+
module$contents$goog$structs$Map_Map.prototype.clear = function() {
|
|
8871
8877
|
this.map_ = {};
|
|
8872
8878
|
this.keys_.length = 0;
|
|
8873
8879
|
this.setSizeInternal_(0);
|
|
8874
8880
|
this.version_ = 0;
|
|
8875
8881
|
};
|
|
8876
|
-
goog
|
|
8882
|
+
module$contents$goog$structs$Map_Map.prototype.remove = function(key) {
|
|
8877
8883
|
return this.delete(key);
|
|
8878
8884
|
};
|
|
8879
|
-
goog
|
|
8880
|
-
return goog
|
|
8885
|
+
module$contents$goog$structs$Map_Map.prototype.delete = function(key) {
|
|
8886
|
+
return module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) ? (delete this.map_[key], this.setSizeInternal_(this.size - 1), this.version_++, this.keys_.length > 2 * this.size && this.cleanupKeysArray_(), !0) : !1;
|
|
8881
8887
|
};
|
|
8882
|
-
goog
|
|
8888
|
+
module$contents$goog$structs$Map_Map.prototype.cleanupKeysArray_ = function() {
|
|
8883
8889
|
if (this.size != this.keys_.length) {
|
|
8884
8890
|
for (var srcIndex = 0, destIndex = 0; srcIndex < this.keys_.length;) {
|
|
8885
8891
|
var key = this.keys_[srcIndex];
|
|
8886
|
-
goog
|
|
8892
|
+
module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) && (this.keys_[destIndex++] = key);
|
|
8887
8893
|
srcIndex++;
|
|
8888
8894
|
}
|
|
8889
8895
|
this.keys_.length = destIndex;
|
|
@@ -8891,21 +8897,21 @@ goog.structs.Map.prototype.cleanupKeysArray_ = function() {
|
|
|
8891
8897
|
if (this.size != this.keys_.length) {
|
|
8892
8898
|
for (var seen = {}, srcIndex$jscomp$0 = 0, destIndex$jscomp$0 = 0; srcIndex$jscomp$0 < this.keys_.length;) {
|
|
8893
8899
|
var key$jscomp$0 = this.keys_[srcIndex$jscomp$0];
|
|
8894
|
-
goog
|
|
8900
|
+
module$contents$goog$structs$Map_Map.hasKey_(seen, key$jscomp$0) || (this.keys_[destIndex$jscomp$0++] = key$jscomp$0, seen[key$jscomp$0] = 1);
|
|
8895
8901
|
srcIndex$jscomp$0++;
|
|
8896
8902
|
}
|
|
8897
8903
|
this.keys_.length = destIndex$jscomp$0;
|
|
8898
8904
|
}
|
|
8899
8905
|
};
|
|
8900
|
-
goog
|
|
8901
|
-
return goog
|
|
8906
|
+
module$contents$goog$structs$Map_Map.prototype.get = function(key, opt_val) {
|
|
8907
|
+
return module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) ? this.map_[key] : opt_val;
|
|
8902
8908
|
};
|
|
8903
|
-
goog
|
|
8904
|
-
goog
|
|
8909
|
+
module$contents$goog$structs$Map_Map.prototype.set = function(key, value) {
|
|
8910
|
+
module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) || (this.setSizeInternal_(this.size + 1), this.keys_.push(key), this.version_++);
|
|
8905
8911
|
this.map_[key] = value;
|
|
8906
8912
|
};
|
|
8907
|
-
goog
|
|
8908
|
-
if (map instanceof goog
|
|
8913
|
+
module$contents$goog$structs$Map_Map.prototype.addAll = function(map) {
|
|
8914
|
+
if (map instanceof module$contents$goog$structs$Map_Map) {
|
|
8909
8915
|
for (var keys = map.getKeys(), i = 0; i < keys.length; i++) {
|
|
8910
8916
|
this.set(keys[i], map.get(keys[i]));
|
|
8911
8917
|
}
|
|
@@ -8915,23 +8921,23 @@ goog.structs.Map.prototype.addAll = function(map) {
|
|
|
8915
8921
|
}
|
|
8916
8922
|
}
|
|
8917
8923
|
};
|
|
8918
|
-
goog
|
|
8924
|
+
module$contents$goog$structs$Map_Map.prototype.forEach = function(f, opt_obj) {
|
|
8919
8925
|
for (var keys = this.getKeys(), i = 0; i < keys.length; i++) {
|
|
8920
8926
|
var key = keys[i], value = this.get(key);
|
|
8921
8927
|
f.call(opt_obj, value, key, this);
|
|
8922
8928
|
}
|
|
8923
8929
|
};
|
|
8924
|
-
goog
|
|
8925
|
-
return new goog
|
|
8930
|
+
module$contents$goog$structs$Map_Map.prototype.clone = function() {
|
|
8931
|
+
return new module$contents$goog$structs$Map_Map(this);
|
|
8926
8932
|
};
|
|
8927
|
-
goog
|
|
8928
|
-
for (var transposed = new goog
|
|
8933
|
+
module$contents$goog$structs$Map_Map.prototype.transpose = function() {
|
|
8934
|
+
for (var transposed = new module$contents$goog$structs$Map_Map(), i = 0; i < this.keys_.length; i++) {
|
|
8929
8935
|
var key = this.keys_[i];
|
|
8930
8936
|
transposed.set(this.map_[key], key);
|
|
8931
8937
|
}
|
|
8932
8938
|
return transposed;
|
|
8933
8939
|
};
|
|
8934
|
-
goog
|
|
8940
|
+
module$contents$goog$structs$Map_Map.prototype.toObject = function() {
|
|
8935
8941
|
this.cleanupKeysArray_();
|
|
8936
8942
|
for (var obj = {}, i = 0; i < this.keys_.length; i++) {
|
|
8937
8943
|
var key = this.keys_[i];
|
|
@@ -8939,25 +8945,25 @@ goog.structs.Map.prototype.toObject = function() {
|
|
|
8939
8945
|
}
|
|
8940
8946
|
return obj;
|
|
8941
8947
|
};
|
|
8942
|
-
goog
|
|
8948
|
+
module$contents$goog$structs$Map_Map.prototype.getKeyIterator = function() {
|
|
8943
8949
|
return this.__iterator__(!0);
|
|
8944
8950
|
};
|
|
8945
|
-
goog
|
|
8951
|
+
module$contents$goog$structs$Map_Map.prototype.keys = function() {
|
|
8946
8952
|
return module$contents$goog$iter$es6_ShimIterable.of(this.getKeyIterator()).toEs6();
|
|
8947
8953
|
};
|
|
8948
|
-
goog
|
|
8954
|
+
module$contents$goog$structs$Map_Map.prototype.getValueIterator = function() {
|
|
8949
8955
|
return this.__iterator__(!1);
|
|
8950
8956
|
};
|
|
8951
|
-
goog
|
|
8957
|
+
module$contents$goog$structs$Map_Map.prototype.values = function() {
|
|
8952
8958
|
return module$contents$goog$iter$es6_ShimIterable.of(this.getValueIterator()).toEs6();
|
|
8953
8959
|
};
|
|
8954
|
-
goog
|
|
8960
|
+
module$contents$goog$structs$Map_Map.prototype.entries = function() {
|
|
8955
8961
|
var self = this;
|
|
8956
8962
|
return goog.collections.iters.map(this.keys(), function(key) {
|
|
8957
8963
|
return [key, self.get(key)];
|
|
8958
8964
|
});
|
|
8959
8965
|
};
|
|
8960
|
-
goog
|
|
8966
|
+
module$contents$goog$structs$Map_Map.prototype.__iterator__ = function(opt_keys) {
|
|
8961
8967
|
this.cleanupKeysArray_();
|
|
8962
8968
|
var i = 0, version = this.version_, selfObj = this, newIter = new goog.iter.Iterator();
|
|
8963
8969
|
newIter.next = function() {
|
|
@@ -8972,108 +8978,110 @@ goog.structs.Map.prototype.__iterator__ = function(opt_keys) {
|
|
|
8972
8978
|
};
|
|
8973
8979
|
return newIter;
|
|
8974
8980
|
};
|
|
8975
|
-
goog
|
|
8981
|
+
module$contents$goog$structs$Map_Map.prototype.setSizeInternal_ = function(newSize) {
|
|
8976
8982
|
this.size = newSize;
|
|
8977
8983
|
};
|
|
8978
|
-
goog
|
|
8984
|
+
module$contents$goog$structs$Map_Map.hasKey_ = function(obj, key) {
|
|
8979
8985
|
return Object.prototype.hasOwnProperty.call(obj, key);
|
|
8980
8986
|
};
|
|
8981
|
-
goog.structs.
|
|
8982
|
-
|
|
8987
|
+
goog.structs.Map = module$contents$goog$structs$Map_Map;
|
|
8988
|
+
function module$contents$goog$structs$Set_Set(opt_values) {
|
|
8989
|
+
this.map_ = new module$contents$goog$structs$Map_Map();
|
|
8983
8990
|
this.size = 0;
|
|
8984
8991
|
opt_values && this.addAll(opt_values);
|
|
8985
|
-
}
|
|
8986
|
-
goog
|
|
8987
|
-
goog
|
|
8992
|
+
}
|
|
8993
|
+
module$contents$goog$structs$Set_Set.getUid_ = goog.getUid;
|
|
8994
|
+
module$contents$goog$structs$Set_Set.getKey_ = function(val) {
|
|
8988
8995
|
var type = typeof val;
|
|
8989
8996
|
return type == "object" && val || type == "function" ? "o" + goog.getUid(val) : type.slice(0, 1) + val;
|
|
8990
8997
|
};
|
|
8991
|
-
goog
|
|
8998
|
+
module$contents$goog$structs$Set_Set.prototype.getCount = function() {
|
|
8992
8999
|
return this.map_.size;
|
|
8993
9000
|
};
|
|
8994
|
-
goog
|
|
8995
|
-
this.map_.set(goog
|
|
9001
|
+
module$contents$goog$structs$Set_Set.prototype.add = function(element) {
|
|
9002
|
+
this.map_.set(module$contents$goog$structs$Set_Set.getKey_(element), element);
|
|
8996
9003
|
this.setSizeInternal_(this.map_.size);
|
|
8997
9004
|
};
|
|
8998
|
-
goog
|
|
9005
|
+
module$contents$goog$structs$Set_Set.prototype.addAll = function(col) {
|
|
8999
9006
|
for (var values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
|
|
9000
9007
|
this.add(values[i]);
|
|
9001
9008
|
}
|
|
9002
9009
|
this.setSizeInternal_(this.map_.size);
|
|
9003
9010
|
};
|
|
9004
|
-
goog
|
|
9011
|
+
module$contents$goog$structs$Set_Set.prototype.removeAll = function(col) {
|
|
9005
9012
|
for (var values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
|
|
9006
9013
|
this.remove(values[i]);
|
|
9007
9014
|
}
|
|
9008
9015
|
this.setSizeInternal_(this.map_.size);
|
|
9009
9016
|
};
|
|
9010
|
-
goog
|
|
9011
|
-
var rv = this.map_.remove(goog
|
|
9017
|
+
module$contents$goog$structs$Set_Set.prototype.delete = function(element) {
|
|
9018
|
+
var rv = this.map_.remove(module$contents$goog$structs$Set_Set.getKey_(element));
|
|
9012
9019
|
this.setSizeInternal_(this.map_.size);
|
|
9013
9020
|
return rv;
|
|
9014
9021
|
};
|
|
9015
|
-
goog
|
|
9022
|
+
module$contents$goog$structs$Set_Set.prototype.remove = function(element) {
|
|
9016
9023
|
return this.delete(element);
|
|
9017
9024
|
};
|
|
9018
|
-
goog
|
|
9025
|
+
module$contents$goog$structs$Set_Set.prototype.clear = function() {
|
|
9019
9026
|
this.map_.clear();
|
|
9020
9027
|
this.setSizeInternal_(0);
|
|
9021
9028
|
};
|
|
9022
|
-
goog
|
|
9029
|
+
module$contents$goog$structs$Set_Set.prototype.isEmpty = function() {
|
|
9023
9030
|
return this.map_.size === 0;
|
|
9024
9031
|
};
|
|
9025
|
-
goog
|
|
9026
|
-
return this.map_.containsKey(goog
|
|
9032
|
+
module$contents$goog$structs$Set_Set.prototype.has = function(element) {
|
|
9033
|
+
return this.map_.containsKey(module$contents$goog$structs$Set_Set.getKey_(element));
|
|
9027
9034
|
};
|
|
9028
|
-
goog
|
|
9029
|
-
return this.map_.containsKey(goog
|
|
9035
|
+
module$contents$goog$structs$Set_Set.prototype.contains = function(element) {
|
|
9036
|
+
return this.map_.containsKey(module$contents$goog$structs$Set_Set.getKey_(element));
|
|
9030
9037
|
};
|
|
9031
|
-
goog
|
|
9038
|
+
module$contents$goog$structs$Set_Set.prototype.containsAll = function(col) {
|
|
9032
9039
|
return goog.structs.every(col, this.contains, this);
|
|
9033
9040
|
};
|
|
9034
|
-
goog
|
|
9035
|
-
for (var result = new goog
|
|
9041
|
+
module$contents$goog$structs$Set_Set.prototype.intersection = function(col) {
|
|
9042
|
+
for (var result = new module$contents$goog$structs$Set_Set(), values = goog.structs.getValues(col), i = 0; i < values.length; i++) {
|
|
9036
9043
|
var value = values[i];
|
|
9037
9044
|
this.contains(value) && result.add(value);
|
|
9038
9045
|
}
|
|
9039
9046
|
return result;
|
|
9040
9047
|
};
|
|
9041
|
-
goog
|
|
9048
|
+
module$contents$goog$structs$Set_Set.prototype.difference = function(col) {
|
|
9042
9049
|
var result = this.clone();
|
|
9043
9050
|
result.removeAll(col);
|
|
9044
9051
|
return result;
|
|
9045
9052
|
};
|
|
9046
|
-
goog
|
|
9053
|
+
module$contents$goog$structs$Set_Set.prototype.getValues = function() {
|
|
9047
9054
|
return this.map_.getValues();
|
|
9048
9055
|
};
|
|
9049
|
-
goog
|
|
9056
|
+
module$contents$goog$structs$Set_Set.prototype.values = function() {
|
|
9050
9057
|
return this.map_.values();
|
|
9051
9058
|
};
|
|
9052
|
-
goog
|
|
9053
|
-
return new goog
|
|
9059
|
+
module$contents$goog$structs$Set_Set.prototype.clone = function() {
|
|
9060
|
+
return new module$contents$goog$structs$Set_Set(this);
|
|
9054
9061
|
};
|
|
9055
|
-
goog
|
|
9062
|
+
module$contents$goog$structs$Set_Set.prototype.equals = function(col) {
|
|
9056
9063
|
return this.getCount() == goog.structs.getCount(col) && this.isSubsetOf(col);
|
|
9057
9064
|
};
|
|
9058
|
-
goog
|
|
9065
|
+
module$contents$goog$structs$Set_Set.prototype.isSubsetOf = function(col) {
|
|
9059
9066
|
var colCount = goog.structs.getCount(col);
|
|
9060
9067
|
if (this.getCount() > colCount) {
|
|
9061
9068
|
return !1;
|
|
9062
9069
|
}
|
|
9063
|
-
!(col instanceof goog
|
|
9070
|
+
!(col instanceof module$contents$goog$structs$Set_Set) && colCount > 5 && (col = new module$contents$goog$structs$Set_Set(col));
|
|
9064
9071
|
return goog.structs.every(this, function(value) {
|
|
9065
9072
|
return goog.structs.contains(col, value);
|
|
9066
9073
|
});
|
|
9067
9074
|
};
|
|
9068
|
-
goog
|
|
9075
|
+
module$contents$goog$structs$Set_Set.prototype.__iterator__ = function(opt_keys) {
|
|
9069
9076
|
return this.map_.__iterator__(!1);
|
|
9070
9077
|
};
|
|
9071
|
-
goog
|
|
9078
|
+
module$contents$goog$structs$Set_Set.prototype[Symbol.iterator] = function() {
|
|
9072
9079
|
return this.values();
|
|
9073
9080
|
};
|
|
9074
|
-
goog
|
|
9081
|
+
module$contents$goog$structs$Set_Set.prototype.setSizeInternal_ = function(newSize) {
|
|
9075
9082
|
this.size = newSize;
|
|
9076
9083
|
};
|
|
9084
|
+
goog.structs.Set = module$contents$goog$structs$Set_Set;
|
|
9077
9085
|
var ee_root = {third_party:{}};
|
|
9078
9086
|
ee_root.third_party.earthengine_api = {};
|
|
9079
9087
|
ee_root.third_party.earthengine_api.javascript = {};
|
|
@@ -9083,7 +9091,7 @@ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay =
|
|
|
9083
9091
|
this.mapId = mapId;
|
|
9084
9092
|
this.token = token;
|
|
9085
9093
|
this.tilesLoading = [];
|
|
9086
|
-
this.tilesFailed = new goog
|
|
9094
|
+
this.tilesFailed = new module$contents$goog$structs$Set_Set();
|
|
9087
9095
|
this.tileCounter = 0;
|
|
9088
9096
|
this.url = url;
|
|
9089
9097
|
};
|
|
@@ -14864,18 +14872,19 @@ module$contents$goog$async$FreeList_FreeList.prototype.occupants = function() {
|
|
|
14864
14872
|
return this.occupants_;
|
|
14865
14873
|
};
|
|
14866
14874
|
goog.async.FreeList = module$contents$goog$async$FreeList_FreeList;
|
|
14867
|
-
goog
|
|
14875
|
+
function module$contents$goog$async$nextTick_nextTick(callback, opt_context) {
|
|
14868
14876
|
var cb = callback;
|
|
14869
14877
|
opt_context && (cb = goog.bind(callback, opt_context));
|
|
14870
|
-
cb = goog
|
|
14871
|
-
goog
|
|
14872
|
-
|
|
14873
|
-
|
|
14874
|
-
goog
|
|
14875
|
-
goog
|
|
14878
|
+
cb = module$contents$goog$async$nextTick_nextTick.wrapCallback_(cb);
|
|
14879
|
+
module$contents$goog$async$nextTick_nextTick.USE_SET_TIMEOUT ? setTimeout(cb, 0) : (cb = module$contents$goog$async$nextTick_nextTick.propagateAsyncContext_(cb), goog.DEBUG && typeof goog.global.setImmediate === "function" && module$contents$goog$async$nextTick_nextTick.useSetImmediate_() ? goog.global.setImmediate(cb) : (module$contents$goog$async$nextTick_nextTick.nextTickImpl || (module$contents$goog$async$nextTick_nextTick.nextTickImpl = module$contents$goog$async$nextTick_nextTick.getNextTickImpl_()),
|
|
14880
|
+
module$contents$goog$async$nextTick_nextTick.nextTickImpl(cb)));
|
|
14881
|
+
}
|
|
14882
|
+
module$contents$goog$async$nextTick_nextTick.propagateAsyncContext_ = module$exports$common$async$context$propagate.propagateAsyncContext;
|
|
14883
|
+
module$contents$goog$async$nextTick_nextTick.USE_SET_TIMEOUT = !1;
|
|
14884
|
+
module$contents$goog$async$nextTick_nextTick.useSetImmediate_ = function() {
|
|
14876
14885
|
return goog.global.Window && goog.global.Window.prototype && goog.global.Window.prototype.setImmediate == goog.global.setImmediate ? !1 : !0;
|
|
14877
14886
|
};
|
|
14878
|
-
goog
|
|
14887
|
+
module$contents$goog$async$nextTick_nextTick.getNextTickImpl_ = function() {
|
|
14879
14888
|
if (typeof MessageChannel !== "undefined") {
|
|
14880
14889
|
var channel = new MessageChannel(), head = {}, tail = head;
|
|
14881
14890
|
channel.port1.onmessage = function() {
|
|
@@ -14896,12 +14905,13 @@ goog.async.nextTick.getNextTickImpl_ = function() {
|
|
|
14896
14905
|
goog.global.setTimeout(cb, 0);
|
|
14897
14906
|
};
|
|
14898
14907
|
};
|
|
14899
|
-
goog
|
|
14908
|
+
module$contents$goog$async$nextTick_nextTick.wrapCallback_ = function(callback) {
|
|
14900
14909
|
return callback;
|
|
14901
14910
|
};
|
|
14902
14911
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
14903
|
-
goog
|
|
14912
|
+
module$contents$goog$async$nextTick_nextTick.wrapCallback_ = transformer;
|
|
14904
14913
|
});
|
|
14914
|
+
goog.async.nextTick = module$contents$goog$async$nextTick_nextTick;
|
|
14905
14915
|
function module$contents$goog$async$throwException_throwException(exception) {
|
|
14906
14916
|
goog.global.setTimeout(function() {
|
|
14907
14917
|
throw exception;
|
|
@@ -15004,7 +15014,7 @@ module$contents$goog$async$run_run.forceNextTick = function(realSetTimeout) {
|
|
|
15004
15014
|
throw Error("goog.async.run.forceNextTick is only available with goog.DEBUG");
|
|
15005
15015
|
}
|
|
15006
15016
|
module$contents$goog$async$run_schedule = function() {
|
|
15007
|
-
|
|
15017
|
+
module$contents$goog$async$nextTick_nextTick(module$contents$goog$async$run_processWorkQueueInternal);
|
|
15008
15018
|
realSetTimeout && realSetTimeout(module$contents$goog$async$run_processWorkQueueInternal);
|
|
15009
15019
|
};
|
|
15010
15020
|
};
|
|
@@ -15800,75 +15810,76 @@ goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
|
15800
15810
|
goog.asserts.dom.assertIsHtmlScriptElement = function(value) {
|
|
15801
15811
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
15802
15812
|
};
|
|
15803
|
-
goog
|
|
15813
|
+
function module$contents$goog$math$Coordinate_Coordinate(opt_x, opt_y) {
|
|
15804
15814
|
this.x = opt_x !== void 0 ? opt_x : 0;
|
|
15805
15815
|
this.y = opt_y !== void 0 ? opt_y : 0;
|
|
15816
|
+
}
|
|
15817
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.clone = function() {
|
|
15818
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.x, this.y);
|
|
15806
15819
|
};
|
|
15807
|
-
goog.math.
|
|
15808
|
-
return new goog.math.Coordinate(this.x, this.y);
|
|
15809
|
-
};
|
|
15810
|
-
goog.DEBUG && (goog.math.Coordinate.prototype.toString = function() {
|
|
15820
|
+
goog.DEBUG && (module$contents$goog$math$Coordinate_Coordinate.prototype.toString = function() {
|
|
15811
15821
|
return "(" + this.x + ", " + this.y + ")";
|
|
15812
15822
|
});
|
|
15813
|
-
goog
|
|
15814
|
-
return other instanceof goog
|
|
15823
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.equals = function(other) {
|
|
15824
|
+
return other instanceof module$contents$goog$math$Coordinate_Coordinate && module$contents$goog$math$Coordinate_Coordinate.equals(this, other);
|
|
15815
15825
|
};
|
|
15816
|
-
goog
|
|
15826
|
+
module$contents$goog$math$Coordinate_Coordinate.equals = function(a, b) {
|
|
15817
15827
|
return a == b ? !0 : a && b ? a.x == b.x && a.y == b.y : !1;
|
|
15818
15828
|
};
|
|
15819
|
-
goog
|
|
15829
|
+
module$contents$goog$math$Coordinate_Coordinate.distance = function(a, b) {
|
|
15820
15830
|
var dx = a.x - b.x, dy = a.y - b.y;
|
|
15821
15831
|
return Math.sqrt(dx * dx + dy * dy);
|
|
15822
15832
|
};
|
|
15823
|
-
goog
|
|
15833
|
+
module$contents$goog$math$Coordinate_Coordinate.magnitude = function(a) {
|
|
15824
15834
|
return Math.sqrt(a.x * a.x + a.y * a.y);
|
|
15825
15835
|
};
|
|
15826
|
-
goog
|
|
15836
|
+
module$contents$goog$math$Coordinate_Coordinate.azimuth = function(a) {
|
|
15827
15837
|
return goog.math.angle(0, 0, a.x, a.y);
|
|
15828
15838
|
};
|
|
15829
|
-
goog
|
|
15839
|
+
module$contents$goog$math$Coordinate_Coordinate.squaredDistance = function(a, b) {
|
|
15830
15840
|
var dx = a.x - b.x, dy = a.y - b.y;
|
|
15831
15841
|
return dx * dx + dy * dy;
|
|
15832
15842
|
};
|
|
15833
|
-
goog
|
|
15834
|
-
return new goog
|
|
15843
|
+
module$contents$goog$math$Coordinate_Coordinate.difference = function(a, b) {
|
|
15844
|
+
return new module$contents$goog$math$Coordinate_Coordinate(a.x - b.x, a.y - b.y);
|
|
15835
15845
|
};
|
|
15836
|
-
goog
|
|
15837
|
-
return new goog
|
|
15846
|
+
module$contents$goog$math$Coordinate_Coordinate.sum = function(a, b) {
|
|
15847
|
+
return new module$contents$goog$math$Coordinate_Coordinate(a.x + b.x, a.y + b.y);
|
|
15838
15848
|
};
|
|
15839
|
-
goog
|
|
15849
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.ceil = function() {
|
|
15840
15850
|
this.x = Math.ceil(this.x);
|
|
15841
15851
|
this.y = Math.ceil(this.y);
|
|
15842
15852
|
return this;
|
|
15843
15853
|
};
|
|
15844
|
-
goog
|
|
15854
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.floor = function() {
|
|
15845
15855
|
this.x = Math.floor(this.x);
|
|
15846
15856
|
this.y = Math.floor(this.y);
|
|
15847
15857
|
return this;
|
|
15848
15858
|
};
|
|
15849
|
-
goog
|
|
15859
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.round = function() {
|
|
15850
15860
|
this.x = Math.round(this.x);
|
|
15851
15861
|
this.y = Math.round(this.y);
|
|
15852
15862
|
return this;
|
|
15853
15863
|
};
|
|
15854
|
-
goog
|
|
15855
|
-
tx instanceof goog
|
|
15864
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.translate = function(tx, opt_ty) {
|
|
15865
|
+
tx instanceof module$contents$goog$math$Coordinate_Coordinate ? (this.x += tx.x, this.y += tx.y) : (this.x += Number(tx), typeof opt_ty === "number" && (this.y += opt_ty));
|
|
15856
15866
|
return this;
|
|
15857
15867
|
};
|
|
15858
|
-
goog
|
|
15868
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.scale = function(sx, opt_sy) {
|
|
15859
15869
|
var sy;
|
|
15860
15870
|
this.x *= sx;
|
|
15861
15871
|
this.y *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
15862
15872
|
return this;
|
|
15863
15873
|
};
|
|
15864
|
-
goog
|
|
15865
|
-
var center = opt_center || new goog
|
|
15874
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.rotateRadians = function(radians, opt_center) {
|
|
15875
|
+
var center = opt_center || new module$contents$goog$math$Coordinate_Coordinate(0, 0), x = this.x, y = this.y, cos = Math.cos(radians), sin = Math.sin(radians);
|
|
15866
15876
|
this.x = (x - center.x) * cos - (y - center.y) * sin + center.x;
|
|
15867
15877
|
this.y = (x - center.x) * sin + (y - center.y) * cos + center.y;
|
|
15868
15878
|
};
|
|
15869
|
-
goog
|
|
15879
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.rotateDegrees = function(degrees, opt_center) {
|
|
15870
15880
|
this.rotateRadians(goog.math.toRadians(degrees), opt_center);
|
|
15871
15881
|
};
|
|
15882
|
+
goog.math.Coordinate = module$contents$goog$math$Coordinate_Coordinate;
|
|
15872
15883
|
goog.math.Size = function(width, height) {
|
|
15873
15884
|
this.width = width;
|
|
15874
15885
|
this.height = height;
|
|
@@ -17904,7 +17915,7 @@ goog.dom.getDocumentScroll = function() {
|
|
|
17904
17915
|
};
|
|
17905
17916
|
goog.dom.getDocumentScroll_ = function(doc) {
|
|
17906
17917
|
var el = goog.dom.getDocumentScrollElement_(doc), win = goog.dom.getWindow_(doc);
|
|
17907
|
-
return new goog
|
|
17918
|
+
return new module$contents$goog$math$Coordinate_Coordinate((win == null ? void 0 : win.pageXOffset) || el.scrollLeft, (win == null ? void 0 : win.pageYOffset) || el.scrollTop);
|
|
17908
17919
|
};
|
|
17909
17920
|
goog.dom.getDocumentScrollElement = function() {
|
|
17910
17921
|
return goog.dom.getDocumentScrollElement_(document);
|
|
@@ -19030,7 +19041,7 @@ goog.json.Serializer.prototype.serializeObject_ = function(obj, sb) {
|
|
|
19030
19041
|
sb.push("}");
|
|
19031
19042
|
};
|
|
19032
19043
|
goog.json.hybrid = {};
|
|
19033
|
-
goog
|
|
19044
|
+
var module$contents$goog$json$hybrid_stringify = goog.json.USE_NATIVE_JSON ? goog.global.JSON.stringify : function(obj) {
|
|
19034
19045
|
if (goog.global.JSON) {
|
|
19035
19046
|
try {
|
|
19036
19047
|
return goog.global.JSON.stringify(obj);
|
|
@@ -19039,7 +19050,7 @@ goog.json.hybrid.stringify = goog.json.USE_NATIVE_JSON ? goog.global.JSON.string
|
|
|
19039
19050
|
}
|
|
19040
19051
|
return goog.json.serialize(obj);
|
|
19041
19052
|
};
|
|
19042
|
-
goog
|
|
19053
|
+
function module$contents$goog$json$hybrid_parseInternal(jsonString, fallbackParser) {
|
|
19043
19054
|
if (goog.global.JSON) {
|
|
19044
19055
|
try {
|
|
19045
19056
|
var obj = goog.global.JSON.parse(jsonString);
|
|
@@ -19049,10 +19060,12 @@ goog.json.hybrid.parse_ = function(jsonString, fallbackParser) {
|
|
|
19049
19060
|
}
|
|
19050
19061
|
}
|
|
19051
19062
|
return fallbackParser(jsonString);
|
|
19063
|
+
}
|
|
19064
|
+
var module$contents$goog$json$hybrid_parse = goog.json.USE_NATIVE_JSON ? goog.global.JSON.parse : function(jsonString) {
|
|
19065
|
+
return module$contents$goog$json$hybrid_parseInternal(jsonString, goog.json.parse);
|
|
19052
19066
|
};
|
|
19053
|
-
goog.json.hybrid.parse = goog
|
|
19054
|
-
|
|
19055
|
-
};
|
|
19067
|
+
goog.json.hybrid.parse = module$contents$goog$json$hybrid_parse;
|
|
19068
|
+
goog.json.hybrid.stringify = module$contents$goog$json$hybrid_stringify;
|
|
19056
19069
|
goog.net.ErrorCode = {NO_ERROR:0, ACCESS_DENIED:1, FILE_NOT_FOUND:2, FF_SILENT_ERROR:3, CUSTOM_ERROR:4, EXCEPTION:5, HTTP_ERROR:6, ABORT:7, TIMEOUT:8, OFFLINE:9};
|
|
19057
19070
|
goog.net.ErrorCode.getDebugMessage = function(errorCode) {
|
|
19058
19071
|
switch(errorCode) {
|
|
@@ -19422,7 +19435,7 @@ goog.net.XhrIo.prototype.getResponseJson = function(opt_xssiPrefix) {
|
|
|
19422
19435
|
if (this.xhr_) {
|
|
19423
19436
|
var responseText = this.xhr_.responseText;
|
|
19424
19437
|
opt_xssiPrefix && responseText.indexOf(opt_xssiPrefix) == 0 && (responseText = responseText.substring(opt_xssiPrefix.length));
|
|
19425
|
-
return goog
|
|
19438
|
+
return module$contents$goog$json$hybrid_parse(responseText);
|
|
19426
19439
|
}
|
|
19427
19440
|
};
|
|
19428
19441
|
goog.net.XhrIo.prototype.getResponse = function() {
|
|
@@ -19495,7 +19508,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19495
19508
|
ee.apiclient = {};
|
|
19496
19509
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19497
19510
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19498
|
-
ee.apiclient.API_CLIENT_VERSION = "1.
|
|
19511
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.1";
|
|
19499
19512
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19500
19513
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19501
19514
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19759,7 +19772,7 @@ module$contents$ee$apiclient_apiclient.setAppIdToken = function(token) {
|
|
|
19759
19772
|
module$contents$ee$apiclient_apiclient.appIdToken_ = token;
|
|
19760
19773
|
};
|
|
19761
19774
|
module$contents$ee$apiclient_apiclient.setUserAgent = function(userAgent) {
|
|
19762
|
-
module$contents$ee$apiclient_apiclient.userAgent_ = userAgent;
|
|
19775
|
+
module$contents$ee$apiclient_apiclient.userAgent_ = userAgent == null ? null : String(userAgent).replace(/[\r\n]/g, "");
|
|
19763
19776
|
};
|
|
19764
19777
|
module$contents$ee$apiclient_apiclient.getUserAgent = function() {
|
|
19765
19778
|
return module$contents$ee$apiclient_apiclient.userAgent_;
|
|
@@ -19800,8 +19813,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19800
19813
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19801
19814
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19802
19815
|
method = method || "POST";
|
|
19803
|
-
var headers = {"Content-Type":contentType}, version = "1.
|
|
19804
|
-
version === "1.
|
|
19816
|
+
var headers = {"Content-Type":contentType}, version = "1.7.1";
|
|
19817
|
+
version === "1.7.1" && (version = "latest");
|
|
19805
19818
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19806
19819
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19807
19820
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -22650,7 +22663,7 @@ ee.arguments.extractImpl_ = function(fn, originalArgs, parameterMatcher) {
|
|
|
22650
22663
|
args[paramNames[i]] = originalArgs[i];
|
|
22651
22664
|
}
|
|
22652
22665
|
} else {
|
|
22653
|
-
var seen = new goog
|
|
22666
|
+
var seen = new module$contents$goog$structs$Set_Set(module$contents$goog$object_getKeys(firstArg)), expected = new module$contents$goog$structs$Set_Set(paramNames);
|
|
22654
22667
|
if (expected.intersection(seen).isEmpty()) {
|
|
22655
22668
|
args[paramNames[0]] = originalArgs[0];
|
|
22656
22669
|
} else {
|
|
@@ -22661,7 +22674,7 @@ ee.arguments.extractImpl_ = function(fn, originalArgs, parameterMatcher) {
|
|
|
22661
22674
|
args = module$contents$goog$object_clone(firstArg);
|
|
22662
22675
|
}
|
|
22663
22676
|
}
|
|
22664
|
-
var provided = new goog
|
|
22677
|
+
var provided = new module$contents$goog$structs$Set_Set(module$contents$goog$object_getKeys(args)), missing = (new module$contents$goog$structs$Set_Set(module$contents$goog$array_filter(paramNamesWithOptPrefix, function(param) {
|
|
22665
22678
|
return !goog.string.startsWith(param, "opt_");
|
|
22666
22679
|
}))).difference(provided);
|
|
22667
22680
|
if (missing.size !== 0) {
|
|
@@ -24973,8 +24986,8 @@ ee.Function.registerPromoter(ee.promote_);
|
|
|
24973
24986
|
ee.FloatTileOverlay = function(url, mapId, token) {
|
|
24974
24987
|
ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.call(this, url, mapId, token);
|
|
24975
24988
|
this.tileSize = new google.maps.Size(ee.FloatTileOverlay.TILE_EDGE_LENGTH, ee.FloatTileOverlay.TILE_EDGE_LENGTH);
|
|
24976
|
-
this.floatTiles_ = new goog
|
|
24977
|
-
this.floatTileDivs_ = new goog
|
|
24989
|
+
this.floatTiles_ = new module$contents$goog$structs$Map_Map();
|
|
24990
|
+
this.floatTileDivs_ = new module$contents$goog$structs$Map_Map();
|
|
24978
24991
|
};
|
|
24979
24992
|
$jscomp.inherits(ee.FloatTileOverlay, ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay);
|
|
24980
24993
|
ee.FloatTileOverlay.prototype.getTile = function(coord, zoom, ownerDocument) {
|
|
@@ -25183,20 +25196,21 @@ var $jscomp$compprop18 = {};
|
|
|
25183
25196
|
goog.fs.Error.NameToCodeMap_ = ($jscomp$compprop18[goog.fs.Error.ErrorName.ABORT] = goog.fs.Error.ErrorCode.ABORT, $jscomp$compprop18[goog.fs.Error.ErrorName.ENCODING] = goog.fs.Error.ErrorCode.ENCODING, $jscomp$compprop18[goog.fs.Error.ErrorName.INVALID_MODIFICATION] = goog.fs.Error.ErrorCode.INVALID_MODIFICATION, $jscomp$compprop18[goog.fs.Error.ErrorName.INVALID_STATE] = goog.fs.Error.ErrorCode.INVALID_STATE, $jscomp$compprop18[goog.fs.Error.ErrorName.NOT_FOUND] = goog.fs.Error.ErrorCode.NOT_FOUND,
|
|
25184
25197
|
$jscomp$compprop18[goog.fs.Error.ErrorName.NOT_READABLE] = goog.fs.Error.ErrorCode.NOT_READABLE, $jscomp$compprop18[goog.fs.Error.ErrorName.NO_MODIFICATION_ALLOWED] = goog.fs.Error.ErrorCode.NO_MODIFICATION_ALLOWED, $jscomp$compprop18[goog.fs.Error.ErrorName.PATH_EXISTS] = goog.fs.Error.ErrorCode.PATH_EXISTS, $jscomp$compprop18[goog.fs.Error.ErrorName.QUOTA_EXCEEDED] = goog.fs.Error.ErrorCode.QUOTA_EXCEEDED, $jscomp$compprop18[goog.fs.Error.ErrorName.SECURITY] = goog.fs.Error.ErrorCode.SECURITY,
|
|
25185
25198
|
$jscomp$compprop18[goog.fs.Error.ErrorName.SYNTAX] = goog.fs.Error.ErrorCode.SYNTAX, $jscomp$compprop18[goog.fs.Error.ErrorName.TYPE_MISMATCH] = goog.fs.Error.ErrorCode.TYPE_MISMATCH, $jscomp$compprop18);
|
|
25186
|
-
goog
|
|
25199
|
+
function module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, target) {
|
|
25187
25200
|
goog.events.Event.call(this, event.type, target);
|
|
25188
25201
|
this.event_ = event;
|
|
25189
|
-
}
|
|
25190
|
-
goog.inherits(goog
|
|
25191
|
-
goog
|
|
25202
|
+
}
|
|
25203
|
+
goog.inherits(module$contents$goog$fs$ProgressEvent_GoogProgressEvent, goog.events.Event);
|
|
25204
|
+
module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.isLengthComputable = function() {
|
|
25192
25205
|
return this.event_.lengthComputable;
|
|
25193
25206
|
};
|
|
25194
|
-
goog
|
|
25207
|
+
module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.getLoaded = function() {
|
|
25195
25208
|
return this.event_.loaded;
|
|
25196
25209
|
};
|
|
25197
|
-
goog
|
|
25210
|
+
module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.getTotal = function() {
|
|
25198
25211
|
return this.event_.total;
|
|
25199
25212
|
};
|
|
25213
|
+
goog.fs.ProgressEvent = module$contents$goog$fs$ProgressEvent_GoogProgressEvent;
|
|
25200
25214
|
goog.fs.FileReader = function() {
|
|
25201
25215
|
goog.events.EventTarget.call(this);
|
|
25202
25216
|
this.reader_ = new FileReader();
|
|
@@ -25227,7 +25241,7 @@ goog.fs.FileReader.prototype.getError = function() {
|
|
|
25227
25241
|
return this.reader_.error && new goog.fs.Error(this.reader_.error, "reading file");
|
|
25228
25242
|
};
|
|
25229
25243
|
goog.fs.FileReader.prototype.dispatchProgressEvent_ = function(event) {
|
|
25230
|
-
this.dispatchEvent(new goog
|
|
25244
|
+
this.dispatchEvent(new module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, this));
|
|
25231
25245
|
};
|
|
25232
25246
|
goog.fs.FileReader.prototype.disposeInternal = function() {
|
|
25233
25247
|
goog.fs.FileReader.superClass_.disposeInternal.call(this);
|
|
@@ -25385,7 +25399,7 @@ module$contents$goog$math$Box_Box.prototype.round = function() {
|
|
|
25385
25399
|
return this;
|
|
25386
25400
|
};
|
|
25387
25401
|
module$contents$goog$math$Box_Box.prototype.translate = function(tx, opt_ty) {
|
|
25388
|
-
tx instanceof goog
|
|
25402
|
+
tx instanceof module$contents$goog$math$Coordinate_Coordinate ? (this.left += tx.x, this.right += tx.x, this.top += tx.y, this.bottom += tx.y) : (goog.asserts.assertNumber(tx), this.left += tx, this.right += tx, typeof opt_ty === "number" && (this.top += opt_ty, this.bottom += opt_ty));
|
|
25389
25403
|
return this;
|
|
25390
25404
|
};
|
|
25391
25405
|
module$contents$goog$math$Box_Box.prototype.scale = function(sx, opt_sy) {
|
|
@@ -25399,31 +25413,31 @@ module$contents$goog$math$Box_Box.prototype.scale = function(sx, opt_sy) {
|
|
|
25399
25413
|
goog.math.Box = module$contents$goog$math$Box_Box;
|
|
25400
25414
|
goog.math.IRect = function() {
|
|
25401
25415
|
};
|
|
25402
|
-
goog
|
|
25416
|
+
function module$contents$goog$math$Rect_Rect(x, y, w, h) {
|
|
25403
25417
|
this.left = x;
|
|
25404
25418
|
this.top = y;
|
|
25405
25419
|
this.width = w;
|
|
25406
25420
|
this.height = h;
|
|
25421
|
+
}
|
|
25422
|
+
module$contents$goog$math$Rect_Rect.prototype.clone = function() {
|
|
25423
|
+
return new module$contents$goog$math$Rect_Rect(this.left, this.top, this.width, this.height);
|
|
25407
25424
|
};
|
|
25408
|
-
goog
|
|
25409
|
-
return new goog.math.Rect(this.left, this.top, this.width, this.height);
|
|
25410
|
-
};
|
|
25411
|
-
goog.math.Rect.prototype.toBox = function() {
|
|
25425
|
+
module$contents$goog$math$Rect_Rect.prototype.toBox = function() {
|
|
25412
25426
|
return new module$contents$goog$math$Box_Box(this.top, this.left + this.width, this.top + this.height, this.left);
|
|
25413
25427
|
};
|
|
25414
|
-
goog
|
|
25415
|
-
return new goog
|
|
25428
|
+
module$contents$goog$math$Rect_Rect.createFromPositionAndSize = function(position, size) {
|
|
25429
|
+
return new module$contents$goog$math$Rect_Rect(position.x, position.y, size.width, size.height);
|
|
25416
25430
|
};
|
|
25417
|
-
goog
|
|
25418
|
-
return new goog
|
|
25431
|
+
module$contents$goog$math$Rect_Rect.createFromBox = function(box) {
|
|
25432
|
+
return new module$contents$goog$math$Rect_Rect(box.left, box.top, box.right - box.left, box.bottom - box.top);
|
|
25419
25433
|
};
|
|
25420
|
-
goog.DEBUG && (goog
|
|
25434
|
+
goog.DEBUG && (module$contents$goog$math$Rect_Rect.prototype.toString = function() {
|
|
25421
25435
|
return "(" + this.left + ", " + this.top + " - " + this.width + "w x " + this.height + "h)";
|
|
25422
25436
|
});
|
|
25423
|
-
goog
|
|
25437
|
+
module$contents$goog$math$Rect_Rect.equals = function(a, b) {
|
|
25424
25438
|
return a == b ? !0 : a && b ? a.left == b.left && a.width == b.width && a.top == b.top && a.height == b.height : !1;
|
|
25425
25439
|
};
|
|
25426
|
-
goog
|
|
25440
|
+
module$contents$goog$math$Rect_Rect.prototype.intersection = function(rect) {
|
|
25427
25441
|
var x0 = Math.max(this.left, rect.left), x1 = Math.min(this.left + this.width, rect.left + rect.width);
|
|
25428
25442
|
if (x0 <= x1) {
|
|
25429
25443
|
var y0 = Math.max(this.top, rect.top), y1 = Math.min(this.top + this.height, rect.top + rect.height);
|
|
@@ -25433,100 +25447,100 @@ goog.math.Rect.prototype.intersection = function(rect) {
|
|
|
25433
25447
|
}
|
|
25434
25448
|
return !1;
|
|
25435
25449
|
};
|
|
25436
|
-
goog
|
|
25450
|
+
module$contents$goog$math$Rect_Rect.intersection = function(a, b) {
|
|
25437
25451
|
var x0 = Math.max(a.left, b.left), x1 = Math.min(a.left + a.width, b.left + b.width);
|
|
25438
25452
|
if (x0 <= x1) {
|
|
25439
25453
|
var y0 = Math.max(a.top, b.top), y1 = Math.min(a.top + a.height, b.top + b.height);
|
|
25440
25454
|
if (y0 <= y1) {
|
|
25441
|
-
return new goog
|
|
25455
|
+
return new module$contents$goog$math$Rect_Rect(x0, y0, x1 - x0, y1 - y0);
|
|
25442
25456
|
}
|
|
25443
25457
|
}
|
|
25444
25458
|
return null;
|
|
25445
25459
|
};
|
|
25446
|
-
goog
|
|
25460
|
+
module$contents$goog$math$Rect_Rect.intersects = function(a, b) {
|
|
25447
25461
|
return a.left <= b.left + b.width && b.left <= a.left + a.width && a.top <= b.top + b.height && b.top <= a.top + a.height;
|
|
25448
25462
|
};
|
|
25449
|
-
goog
|
|
25450
|
-
return goog
|
|
25463
|
+
module$contents$goog$math$Rect_Rect.prototype.intersects = function(rect) {
|
|
25464
|
+
return module$contents$goog$math$Rect_Rect.intersects(this, rect);
|
|
25451
25465
|
};
|
|
25452
|
-
goog
|
|
25453
|
-
var intersection = goog
|
|
25466
|
+
module$contents$goog$math$Rect_Rect.difference = function(a, b) {
|
|
25467
|
+
var intersection = module$contents$goog$math$Rect_Rect.intersection(a, b);
|
|
25454
25468
|
if (!intersection || !intersection.height || !intersection.width) {
|
|
25455
25469
|
return [a.clone()];
|
|
25456
25470
|
}
|
|
25457
25471
|
var result = [], top = a.top, height = a.height, ar = a.left + a.width, ab = a.top + a.height, br = b.left + b.width, bb = b.top + b.height;
|
|
25458
|
-
b.top > a.top && (result.push(new goog
|
|
25459
|
-
bb < ab && (result.push(new goog
|
|
25460
|
-
b.left > a.left && result.push(new goog
|
|
25461
|
-
br < ar && result.push(new goog
|
|
25472
|
+
b.top > a.top && (result.push(new module$contents$goog$math$Rect_Rect(a.left, a.top, a.width, b.top - a.top)), top = b.top, height -= b.top - a.top);
|
|
25473
|
+
bb < ab && (result.push(new module$contents$goog$math$Rect_Rect(a.left, bb, a.width, ab - bb)), height = bb - top);
|
|
25474
|
+
b.left > a.left && result.push(new module$contents$goog$math$Rect_Rect(a.left, top, b.left - a.left, height));
|
|
25475
|
+
br < ar && result.push(new module$contents$goog$math$Rect_Rect(br, top, ar - br, height));
|
|
25462
25476
|
return result;
|
|
25463
25477
|
};
|
|
25464
|
-
goog
|
|
25465
|
-
return goog
|
|
25478
|
+
module$contents$goog$math$Rect_Rect.prototype.difference = function(rect) {
|
|
25479
|
+
return module$contents$goog$math$Rect_Rect.difference(this, rect);
|
|
25466
25480
|
};
|
|
25467
|
-
goog
|
|
25481
|
+
module$contents$goog$math$Rect_Rect.prototype.boundingRect = function(rect) {
|
|
25468
25482
|
var right = Math.max(this.left + this.width, rect.left + rect.width), bottom = Math.max(this.top + this.height, rect.top + rect.height);
|
|
25469
25483
|
this.left = Math.min(this.left, rect.left);
|
|
25470
25484
|
this.top = Math.min(this.top, rect.top);
|
|
25471
25485
|
this.width = right - this.left;
|
|
25472
25486
|
this.height = bottom - this.top;
|
|
25473
25487
|
};
|
|
25474
|
-
goog
|
|
25488
|
+
module$contents$goog$math$Rect_Rect.boundingRect = function(a, b) {
|
|
25475
25489
|
if (!a || !b) {
|
|
25476
25490
|
return null;
|
|
25477
25491
|
}
|
|
25478
|
-
var newRect = new goog
|
|
25492
|
+
var newRect = new module$contents$goog$math$Rect_Rect(a.left, a.top, a.width, a.height);
|
|
25479
25493
|
newRect.boundingRect(b);
|
|
25480
25494
|
return newRect;
|
|
25481
25495
|
};
|
|
25482
|
-
goog
|
|
25483
|
-
return another instanceof goog
|
|
25496
|
+
module$contents$goog$math$Rect_Rect.prototype.contains = function(another) {
|
|
25497
|
+
return another instanceof module$contents$goog$math$Coordinate_Coordinate ? another.x >= this.left && another.x <= this.left + this.width && another.y >= this.top && another.y <= this.top + this.height : this.left <= another.left && this.left + this.width >= another.left + another.width && this.top <= another.top && this.top + this.height >= another.top + another.height;
|
|
25484
25498
|
};
|
|
25485
|
-
goog
|
|
25499
|
+
module$contents$goog$math$Rect_Rect.prototype.squaredDistance = function(point) {
|
|
25486
25500
|
var dx = point.x < this.left ? this.left - point.x : Math.max(point.x - (this.left + this.width), 0), dy = point.y < this.top ? this.top - point.y : Math.max(point.y - (this.top + this.height), 0);
|
|
25487
25501
|
return dx * dx + dy * dy;
|
|
25488
25502
|
};
|
|
25489
|
-
goog
|
|
25503
|
+
module$contents$goog$math$Rect_Rect.prototype.distance = function(point) {
|
|
25490
25504
|
return Math.sqrt(this.squaredDistance(point));
|
|
25491
25505
|
};
|
|
25492
|
-
goog
|
|
25506
|
+
module$contents$goog$math$Rect_Rect.prototype.getSize = function() {
|
|
25493
25507
|
return new goog.math.Size(this.width, this.height);
|
|
25494
25508
|
};
|
|
25495
|
-
goog
|
|
25496
|
-
return new goog
|
|
25509
|
+
module$contents$goog$math$Rect_Rect.prototype.getTopLeft = function() {
|
|
25510
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.left, this.top);
|
|
25497
25511
|
};
|
|
25498
|
-
goog
|
|
25499
|
-
return new goog
|
|
25512
|
+
module$contents$goog$math$Rect_Rect.prototype.getCenter = function() {
|
|
25513
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.left + this.width / 2, this.top + this.height / 2);
|
|
25500
25514
|
};
|
|
25501
|
-
goog
|
|
25502
|
-
return new goog
|
|
25515
|
+
module$contents$goog$math$Rect_Rect.prototype.getBottomRight = function() {
|
|
25516
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.left + this.width, this.top + this.height);
|
|
25503
25517
|
};
|
|
25504
|
-
goog
|
|
25518
|
+
module$contents$goog$math$Rect_Rect.prototype.ceil = function() {
|
|
25505
25519
|
this.left = Math.ceil(this.left);
|
|
25506
25520
|
this.top = Math.ceil(this.top);
|
|
25507
25521
|
this.width = Math.ceil(this.width);
|
|
25508
25522
|
this.height = Math.ceil(this.height);
|
|
25509
25523
|
return this;
|
|
25510
25524
|
};
|
|
25511
|
-
goog
|
|
25525
|
+
module$contents$goog$math$Rect_Rect.prototype.floor = function() {
|
|
25512
25526
|
this.left = Math.floor(this.left);
|
|
25513
25527
|
this.top = Math.floor(this.top);
|
|
25514
25528
|
this.width = Math.floor(this.width);
|
|
25515
25529
|
this.height = Math.floor(this.height);
|
|
25516
25530
|
return this;
|
|
25517
25531
|
};
|
|
25518
|
-
goog
|
|
25532
|
+
module$contents$goog$math$Rect_Rect.prototype.round = function() {
|
|
25519
25533
|
this.left = Math.round(this.left);
|
|
25520
25534
|
this.top = Math.round(this.top);
|
|
25521
25535
|
this.width = Math.round(this.width);
|
|
25522
25536
|
this.height = Math.round(this.height);
|
|
25523
25537
|
return this;
|
|
25524
25538
|
};
|
|
25525
|
-
goog
|
|
25526
|
-
tx instanceof goog
|
|
25539
|
+
module$contents$goog$math$Rect_Rect.prototype.translate = function(tx, opt_ty) {
|
|
25540
|
+
tx instanceof module$contents$goog$math$Coordinate_Coordinate ? (this.left += tx.x, this.top += tx.y) : (this.left += goog.asserts.assertNumber(tx), typeof opt_ty === "number" && (this.top += opt_ty));
|
|
25527
25541
|
return this;
|
|
25528
25542
|
};
|
|
25529
|
-
goog
|
|
25543
|
+
module$contents$goog$math$Rect_Rect.prototype.scale = function(sx, opt_sy) {
|
|
25530
25544
|
var sy = typeof opt_sy === "number" ? opt_sy : sx;
|
|
25531
25545
|
this.left *= sx;
|
|
25532
25546
|
this.width *= sx;
|
|
@@ -25534,6 +25548,7 @@ goog.math.Rect.prototype.scale = function(sx, opt_sy) {
|
|
|
25534
25548
|
this.height *= sy;
|
|
25535
25549
|
return this;
|
|
25536
25550
|
};
|
|
25551
|
+
goog.math.Rect = module$contents$goog$math$Rect_Rect;
|
|
25537
25552
|
goog.style = {};
|
|
25538
25553
|
goog.style.setStyle = function(element, style, opt_value) {
|
|
25539
25554
|
if (typeof style === "string") {
|
|
@@ -25621,7 +25636,7 @@ goog.style.getComputedTransform = function(element) {
|
|
|
25621
25636
|
return goog.style.getStyle_(element, property) || goog.style.getStyle_(element, "transform");
|
|
25622
25637
|
};
|
|
25623
25638
|
goog.style.setPosition = function(el, arg1, opt_arg2) {
|
|
25624
|
-
if (arg1 instanceof goog
|
|
25639
|
+
if (arg1 instanceof module$contents$goog$math$Coordinate_Coordinate) {
|
|
25625
25640
|
var x = arg1.x;
|
|
25626
25641
|
var y = arg1.y;
|
|
25627
25642
|
} else {
|
|
@@ -25631,14 +25646,14 @@ goog.style.setPosition = function(el, arg1, opt_arg2) {
|
|
|
25631
25646
|
el.style.top = goog.style.getPixelStyleValue_(y, !1);
|
|
25632
25647
|
};
|
|
25633
25648
|
goog.style.getPosition = function(element) {
|
|
25634
|
-
return new goog
|
|
25649
|
+
return new module$contents$goog$math$Coordinate_Coordinate(element.offsetLeft, element.offsetTop);
|
|
25635
25650
|
};
|
|
25636
25651
|
goog.style.getClientViewportElement = function(opt_node) {
|
|
25637
25652
|
return (opt_node ? goog.dom.getOwnerDocument(opt_node) : goog.dom.getDocument()).documentElement;
|
|
25638
25653
|
};
|
|
25639
25654
|
goog.style.getViewportPageOffset = function(doc) {
|
|
25640
25655
|
var body = doc.body, documentElement = doc.documentElement;
|
|
25641
|
-
return new goog
|
|
25656
|
+
return new module$contents$goog$math$Coordinate_Coordinate(body.scrollLeft || documentElement.scrollLeft, body.scrollTop || documentElement.scrollTop);
|
|
25642
25657
|
};
|
|
25643
25658
|
goog.style.getBoundingClientRect_ = function(el) {
|
|
25644
25659
|
try {
|
|
@@ -25685,7 +25700,7 @@ goog.style.getContainerOffsetToScrollInto = function(element, opt_container, opt
|
|
|
25685
25700
|
}
|
|
25686
25701
|
var elementSize = goog.style.getSizeWithDisplay_(element), spaceX = container.clientWidth - elementSize.width, spaceY = container.clientHeight - elementSize.height, scrollLeft = container.scrollLeft, scrollTop = container.scrollTop;
|
|
25687
25702
|
opt_center ? (scrollLeft += relX - spaceX / 2, scrollTop += relY - spaceY / 2) : (scrollLeft += Math.min(relX, Math.max(relX - spaceX, 0)), scrollTop += Math.min(relY, Math.max(relY - spaceY, 0)));
|
|
25688
|
-
return new goog
|
|
25703
|
+
return new module$contents$goog$math$Coordinate_Coordinate(scrollLeft, scrollTop);
|
|
25689
25704
|
};
|
|
25690
25705
|
goog.style.scrollIntoContainerView = function(element, opt_container, opt_center) {
|
|
25691
25706
|
var container = opt_container || goog.dom.getDocumentScrollElement(), offset = goog.style.getContainerOffsetToScrollInto(element, container, opt_center);
|
|
@@ -25693,12 +25708,12 @@ goog.style.scrollIntoContainerView = function(element, opt_container, opt_center
|
|
|
25693
25708
|
container.scrollTop = offset.y;
|
|
25694
25709
|
};
|
|
25695
25710
|
goog.style.getClientLeftTop = function(el) {
|
|
25696
|
-
return new goog
|
|
25711
|
+
return new module$contents$goog$math$Coordinate_Coordinate(el.clientLeft, el.clientTop);
|
|
25697
25712
|
};
|
|
25698
25713
|
goog.style.getPageOffset = function(el) {
|
|
25699
25714
|
var doc = goog.dom.getOwnerDocument(el);
|
|
25700
25715
|
goog.asserts.assertObject(el, "Parameter is required");
|
|
25701
|
-
var pos = new goog
|
|
25716
|
+
var pos = new module$contents$goog$math$Coordinate_Coordinate(0, 0), viewportElement = goog.style.getClientViewportElement(doc);
|
|
25702
25717
|
if (el == viewportElement) {
|
|
25703
25718
|
return pos;
|
|
25704
25719
|
}
|
|
@@ -25714,7 +25729,7 @@ goog.style.getPageOffsetTop = function(el) {
|
|
|
25714
25729
|
return goog.style.getPageOffset(el).y;
|
|
25715
25730
|
};
|
|
25716
25731
|
goog.style.getFramedPageOffset = function(el, relativeWin) {
|
|
25717
|
-
var position = new goog
|
|
25732
|
+
var position = new module$contents$goog$math$Coordinate_Coordinate(0, 0), currentWin = goog.dom.getWindow(goog.dom.getOwnerDocument(el));
|
|
25718
25733
|
if (!goog.reflect.canAccessProperty(currentWin, "parent")) {
|
|
25719
25734
|
return position;
|
|
25720
25735
|
}
|
|
@@ -25729,18 +25744,18 @@ goog.style.getFramedPageOffset = function(el, relativeWin) {
|
|
|
25729
25744
|
goog.style.translateRectForAnotherFrame = function(rect, origBase, newBase) {
|
|
25730
25745
|
if (origBase.getDocument() != newBase.getDocument()) {
|
|
25731
25746
|
var body = origBase.getDocument().body, pos = goog.style.getFramedPageOffset(body, newBase.getWindow());
|
|
25732
|
-
pos = goog
|
|
25747
|
+
pos = module$contents$goog$math$Coordinate_Coordinate.difference(pos, goog.style.getPageOffset(body));
|
|
25733
25748
|
rect.left += pos.x;
|
|
25734
25749
|
rect.top += pos.y;
|
|
25735
25750
|
}
|
|
25736
25751
|
};
|
|
25737
25752
|
goog.style.getRelativePosition = function(a, b) {
|
|
25738
25753
|
var ap = goog.style.getClientPosition(a), bp = goog.style.getClientPosition(b);
|
|
25739
|
-
return new goog
|
|
25754
|
+
return new module$contents$goog$math$Coordinate_Coordinate(ap.x - bp.x, ap.y - bp.y);
|
|
25740
25755
|
};
|
|
25741
25756
|
goog.style.getClientPositionForElement_ = function(el) {
|
|
25742
25757
|
var box = goog.style.getBoundingClientRect_(el);
|
|
25743
|
-
return new goog
|
|
25758
|
+
return new module$contents$goog$math$Coordinate_Coordinate(box.left, box.top);
|
|
25744
25759
|
};
|
|
25745
25760
|
goog.style.getClientPosition = function(el) {
|
|
25746
25761
|
goog.asserts.assert(el);
|
|
@@ -25748,11 +25763,11 @@ goog.style.getClientPosition = function(el) {
|
|
|
25748
25763
|
return goog.style.getClientPositionForElement_(el);
|
|
25749
25764
|
}
|
|
25750
25765
|
var targetEvent = el.changedTouches ? el.changedTouches[0] : el;
|
|
25751
|
-
return new goog
|
|
25766
|
+
return new module$contents$goog$math$Coordinate_Coordinate(targetEvent.clientX, targetEvent.clientY);
|
|
25752
25767
|
};
|
|
25753
25768
|
goog.style.setPageOffset = function(el, x, opt_y) {
|
|
25754
25769
|
var cur = goog.style.getPageOffset(el);
|
|
25755
|
-
x instanceof goog
|
|
25770
|
+
x instanceof module$contents$goog$math$Coordinate_Coordinate && (opt_y = x.y, x = x.x);
|
|
25756
25771
|
var dx = goog.asserts.assertNumber(x) - cur.x;
|
|
25757
25772
|
goog.style.setPosition(el, el.offsetLeft + dx, el.offsetTop + (Number(opt_y) - cur.y));
|
|
25758
25773
|
};
|
|
@@ -25813,7 +25828,7 @@ goog.style.getTransformedSize = function(element) {
|
|
|
25813
25828
|
};
|
|
25814
25829
|
goog.style.getBounds = function(element) {
|
|
25815
25830
|
var o = goog.style.getPageOffset(element), s = goog.style.getSize(element);
|
|
25816
|
-
return new goog
|
|
25831
|
+
return new module$contents$goog$math$Rect_Rect(o.x, o.y, s.width, s.height);
|
|
25817
25832
|
};
|
|
25818
25833
|
goog.style.toCamelCase = function(selector) {
|
|
25819
25834
|
return goog.string.toCamelCase(String(selector));
|
|
@@ -26036,10 +26051,10 @@ goog.style.MATRIX_TRANSLATION_REGEX_ = RegExp("matrix\\([0-9\\.\\-]+, [0-9\\.\\-
|
|
|
26036
26051
|
goog.style.getCssTranslation = function(element) {
|
|
26037
26052
|
var transform = goog.style.getComputedTransform(element);
|
|
26038
26053
|
if (!transform) {
|
|
26039
|
-
return new goog
|
|
26054
|
+
return new module$contents$goog$math$Coordinate_Coordinate(0, 0);
|
|
26040
26055
|
}
|
|
26041
26056
|
var matches = transform.match(goog.style.MATRIX_TRANSLATION_REGEX_);
|
|
26042
|
-
return matches ? new goog
|
|
26057
|
+
return matches ? new module$contents$goog$math$Coordinate_Coordinate(parseFloat(matches[1]), parseFloat(matches[2])) : new module$contents$goog$math$Coordinate_Coordinate(0, 0);
|
|
26043
26058
|
};
|
|
26044
26059
|
ee.layers.AbstractOverlay = function(tileSource, opt_options) {
|
|
26045
26060
|
goog.events.EventTarget.call(this);
|
|
@@ -26054,7 +26069,7 @@ ee.layers.AbstractOverlay = function(tileSource, opt_options) {
|
|
|
26054
26069
|
this.name = options.name;
|
|
26055
26070
|
this.opacity = "opacity" in options ? options.opacity : 1;
|
|
26056
26071
|
this.stats = new module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats(tileSource.getUniqueId());
|
|
26057
|
-
this.tilesById = new goog
|
|
26072
|
+
this.tilesById = new module$contents$goog$structs$Map_Map();
|
|
26058
26073
|
this.tileCounter = 0;
|
|
26059
26074
|
this.tileSource = tileSource;
|
|
26060
26075
|
this.handler = new goog.events.EventHandler(this);
|
|
@@ -26282,8 +26297,8 @@ ee_root.third_party.earthengine_api.javascript.layers = {};
|
|
|
26282
26297
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay = {};
|
|
26283
26298
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay = function(tileSource, opt_options) {
|
|
26284
26299
|
ee.layers.AbstractOverlay.call(this, tileSource, opt_options);
|
|
26285
|
-
this.buffersByCoord_ = new goog
|
|
26286
|
-
this.divsByCoord_ = new goog
|
|
26300
|
+
this.buffersByCoord_ = new module$contents$goog$structs$Map_Map();
|
|
26301
|
+
this.divsByCoord_ = new module$contents$goog$structs$Map_Map();
|
|
26287
26302
|
};
|
|
26288
26303
|
$jscomp.inherits(ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay, ee.layers.AbstractOverlay);
|
|
26289
26304
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay.prototype.createTile = function(coord, zoom, ownerDocument, uniqueId) {
|
|
@@ -26422,27 +26437,30 @@ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.def
|
|
|
26422
26437
|
};
|
|
26423
26438
|
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_ = [goog.events.EventType.LOAD, goog.net.EventType.ABORT, goog.net.EventType.ERROR];
|
|
26424
26439
|
goog.string.path = {};
|
|
26425
|
-
goog
|
|
26440
|
+
function module$contents$goog$string$path_baseName(path) {
|
|
26426
26441
|
var i = path.lastIndexOf("/") + 1;
|
|
26427
26442
|
return path.slice(i);
|
|
26428
|
-
}
|
|
26429
|
-
goog
|
|
26430
|
-
goog.string.path.dirname = function(path) {
|
|
26443
|
+
}
|
|
26444
|
+
function module$contents$goog$string$path_dirname(path) {
|
|
26431
26445
|
var i = path.lastIndexOf("/") + 1, head = path.slice(0, i);
|
|
26432
26446
|
/^\/+$/.test(head) || (head = head.replace(/\/+$/, ""));
|
|
26433
26447
|
return head;
|
|
26434
|
-
}
|
|
26435
|
-
goog
|
|
26436
|
-
var baseName = goog.string.path.baseName(path).replace(/\.+/g, "."), separatorIndex = baseName.lastIndexOf(".");
|
|
26437
|
-
return separatorIndex <= 0 ? "" : baseName.slice(separatorIndex + 1);
|
|
26438
|
-
};
|
|
26439
|
-
goog.string.path.join = function(var_args) {
|
|
26448
|
+
}
|
|
26449
|
+
function module$contents$goog$string$path_join(var_args) {
|
|
26440
26450
|
for (var path = arguments[0], i = 1; i < arguments.length; i++) {
|
|
26441
26451
|
var arg = arguments[i];
|
|
26442
26452
|
path = goog.string.startsWith(arg, "/") ? arg : path == "" || goog.string.endsWith(path, "/") ? path + arg : path + ("/" + arg);
|
|
26443
26453
|
}
|
|
26444
26454
|
return path;
|
|
26455
|
+
}
|
|
26456
|
+
goog.string.path.baseName = module$contents$goog$string$path_baseName;
|
|
26457
|
+
goog.string.path.basename = module$contents$goog$string$path_baseName;
|
|
26458
|
+
goog.string.path.dirname = module$contents$goog$string$path_dirname;
|
|
26459
|
+
goog.string.path.extension = function(path) {
|
|
26460
|
+
var name = module$contents$goog$string$path_baseName(path).replace(/\.+/g, "."), separatorIndex = name.lastIndexOf(".");
|
|
26461
|
+
return separatorIndex <= 0 ? "" : name.slice(separatorIndex + 1);
|
|
26445
26462
|
};
|
|
26463
|
+
goog.string.path.join = module$contents$goog$string$path_join;
|
|
26446
26464
|
goog.string.path.normalizePath = function(path) {
|
|
26447
26465
|
if (path == "") {
|
|
26448
26466
|
return ".";
|
|
@@ -26456,7 +26474,7 @@ goog.string.path.normalizePath = function(path) {
|
|
|
26456
26474
|
return initialSlashes + newParts.join("/") || ".";
|
|
26457
26475
|
};
|
|
26458
26476
|
goog.string.path.split = function(path) {
|
|
26459
|
-
var head = goog
|
|
26477
|
+
var head = module$contents$goog$string$path_dirname(path), tail = module$contents$goog$string$path_baseName(path);
|
|
26460
26478
|
return [head, tail];
|
|
26461
26479
|
};
|
|
26462
26480
|
var module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource = function(bucket, path, maxZoom, opt_suffix) {
|
|
@@ -26485,7 +26503,7 @@ module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.prototyp
|
|
|
26485
26503
|
return [this.bucket_, this.path_, this.maxZoom_, this.suffix_].join("-");
|
|
26486
26504
|
};
|
|
26487
26505
|
module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.prototype.getTileUrl_ = function(coord, zoom) {
|
|
26488
|
-
var url = goog
|
|
26506
|
+
var url = module$contents$goog$string$path_join(module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.BASE_URL, this.bucket_, this.path_, String(zoom), String(coord.x), String(coord.y));
|
|
26489
26507
|
this.suffix_ && (url += this.suffix_);
|
|
26490
26508
|
return url;
|
|
26491
26509
|
};
|
|
@@ -26901,7 +26919,7 @@ goog.exportSymbol("ee.layers.FeatureViewTileSource", module$exports$ee$layers$Fe
|
|
|
26901
26919
|
ee.MapTileManager = function() {
|
|
26902
26920
|
goog.events.EventTarget.call(this);
|
|
26903
26921
|
this.tokenPool_ = new ee.MapTileManager.TokenPool_(0, 60);
|
|
26904
|
-
this.requests_ = new goog
|
|
26922
|
+
this.requests_ = new module$contents$goog$structs$Map_Map();
|
|
26905
26923
|
};
|
|
26906
26924
|
$jscomp.inherits(ee.MapTileManager, goog.events.EventTarget);
|
|
26907
26925
|
ee.MapTileManager.prototype.getOutstandingCount = function() {
|
|
@@ -27114,7 +27132,7 @@ ee.MapLayerOverlay = function(url, mapId, token, init, opt_profiler) {
|
|
|
27114
27132
|
this.tileSize = init.tileSize || new google.maps.Size(256, 256);
|
|
27115
27133
|
this.isPng = init.isPng !== void 0 ? init.isPng : !0;
|
|
27116
27134
|
this.name = init.name;
|
|
27117
|
-
this.tiles_ = new goog
|
|
27135
|
+
this.tiles_ = new module$contents$goog$structs$Set_Set();
|
|
27118
27136
|
this.opacity_ = 1;
|
|
27119
27137
|
this.visible_ = !0;
|
|
27120
27138
|
this.profiler_ = opt_profiler || null;
|