@google/earthengine 1.7.1 → 1.7.4
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 +471 -432
- package/build/ee_api_js.js +246 -246
- package/build/ee_api_js_debug.js +448 -410
- package/build/ee_api_js_npm.js +471 -432
- package/build/main.js +471 -432
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/batch.js +6 -2
- package/src/data.js +3 -0
- package/src/encodable_batch.js +4 -2
package/build/main.js
CHANGED
|
@@ -1346,7 +1346,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1346
1346
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1347
1347
|
};
|
|
1348
1348
|
}, "es8", "es3");
|
|
1349
|
-
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,
|
|
1349
|
+
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__disable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1350
1350
|
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,
|
|
1351
1351
|
GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1352
1352
|
/*
|
|
@@ -1354,7 +1354,7 @@ GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
|
1354
1354
|
Copyright The Closure Library Authors.
|
|
1355
1355
|
SPDX-License-Identifier: Apache-2.0
|
|
1356
1356
|
*/
|
|
1357
|
-
var
|
|
1357
|
+
var goog = goog || {};
|
|
1358
1358
|
goog.global = this || self;
|
|
1359
1359
|
goog.exportPath_ = function(name, object, overwriteImplicit, objectToExportTo) {
|
|
1360
1360
|
for (var parts = name.split("."), cur = objectToExportTo || goog.global, part; parts.length && (part = parts.shift());) {
|
|
@@ -3665,7 +3665,8 @@ goog.inherits(module$contents$goog$debug$Error_DebugError, Error);
|
|
|
3665
3665
|
module$contents$goog$debug$Error_DebugError.prototype.name = "CustomError";
|
|
3666
3666
|
goog.debug.Error = module$contents$goog$debug$Error_DebugError;
|
|
3667
3667
|
goog.dom = {};
|
|
3668
|
-
goog
|
|
3668
|
+
var module$contents$goog$dom$NodeType_NodeType = {ELEMENT:1, ATTRIBUTE:2, TEXT:3, CDATA_SECTION:4, ENTITY_REFERENCE:5, ENTITY:6, PROCESSING_INSTRUCTION:7, COMMENT:8, DOCUMENT:9, DOCUMENT_TYPE:10, DOCUMENT_FRAGMENT:11, NOTATION:12};
|
|
3669
|
+
goog.dom.NodeType = module$contents$goog$dom$NodeType_NodeType;
|
|
3669
3670
|
goog.asserts = {};
|
|
3670
3671
|
goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
|
|
3671
3672
|
function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
|
|
@@ -3735,7 +3736,7 @@ goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
|
3735
3736
|
return value;
|
|
3736
3737
|
};
|
|
3737
3738
|
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
3738
|
-
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog
|
|
3739
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT || module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3739
3740
|
return value;
|
|
3740
3741
|
};
|
|
3741
3742
|
goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
|
|
@@ -4940,8 +4941,6 @@ function module$contents$safevalues$dom$globals$url_objectUrlFromSafeSource(sour
|
|
|
4940
4941
|
return module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource(source).toString();
|
|
4941
4942
|
}
|
|
4942
4943
|
;var module$exports$safevalues$dom$globals$worker = {}, module$contents$safevalues$dom$globals$worker_module = module$contents$safevalues$dom$globals$worker_module || {id:"third_party/javascript/safevalues/dom/globals/worker.closure.js"};
|
|
4943
|
-
module$exports$safevalues$dom$globals$worker.WorkerGlobalScopeWithImportScripts = function() {
|
|
4944
|
-
};
|
|
4945
4944
|
function module$contents$safevalues$dom$globals$worker_createWorker(url, options) {
|
|
4946
4945
|
return new Worker(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url), options);
|
|
4947
4946
|
}
|
|
@@ -5600,8 +5599,8 @@ goog.structs.every = function(col, f, opt_obj) {
|
|
|
5600
5599
|
};
|
|
5601
5600
|
goog.uri = {};
|
|
5602
5601
|
goog.uri.utils = {};
|
|
5603
|
-
goog
|
|
5604
|
-
goog
|
|
5602
|
+
var module$contents$goog$uri$utils_CharCode = {AMPERSAND:38, EQUAL:61, HASH:35, QUESTION:63};
|
|
5603
|
+
function module$contents$goog$uri$utils_buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {
|
|
5605
5604
|
var out = "";
|
|
5606
5605
|
opt_scheme && (out += opt_scheme + ":");
|
|
5607
5606
|
opt_domain && (out += "//", opt_userInfo && (out += opt_userInfo + "@"), out += opt_domain, opt_port && (out += ":" + opt_port));
|
|
@@ -5609,90 +5608,48 @@ goog.uri.utils.buildFromEncodedParts = function(opt_scheme, opt_userInfo, opt_do
|
|
|
5609
5608
|
opt_queryData && (out += "?" + opt_queryData);
|
|
5610
5609
|
opt_fragment && (out += "#" + opt_fragment);
|
|
5611
5610
|
return out;
|
|
5612
|
-
}
|
|
5613
|
-
goog
|
|
5614
|
-
goog
|
|
5615
|
-
|
|
5616
|
-
goog.uri.
|
|
5617
|
-
goog.uri.utils.urlPackageSupportLoggingHandler_ = handler;
|
|
5618
|
-
};
|
|
5619
|
-
goog.uri.utils.split = function(uri) {
|
|
5620
|
-
var result = uri.match(goog.uri.utils.splitRe_);
|
|
5621
|
-
goog.uri.utils.urlPackageSupportLoggingHandler_ && ["http", "https", "ws", "wss", "ftp"].indexOf(result[goog.uri.utils.ComponentIndex.SCHEME]) >= 0 && goog.uri.utils.urlPackageSupportLoggingHandler_(uri);
|
|
5611
|
+
}
|
|
5612
|
+
var module$contents$goog$uri$utils_splitRe = RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"), module$contents$goog$uri$utils_ComponentIndex = {SCHEME:1, USER_INFO:2, DOMAIN:3, PORT:4, PATH:5, QUERY_DATA:6, FRAGMENT:7}, module$contents$goog$uri$utils_urlPackageSupportLoggingHandler = null;
|
|
5613
|
+
function module$contents$goog$uri$utils_split(uri) {
|
|
5614
|
+
var result = uri.match(module$contents$goog$uri$utils_splitRe);
|
|
5615
|
+
module$contents$goog$uri$utils_urlPackageSupportLoggingHandler && ["http", "https", "ws", "wss", "ftp"].indexOf(result[module$contents$goog$uri$utils_ComponentIndex.SCHEME]) >= 0 && module$contents$goog$uri$utils_urlPackageSupportLoggingHandler(uri);
|
|
5622
5616
|
return result;
|
|
5623
|
-
}
|
|
5624
|
-
goog
|
|
5617
|
+
}
|
|
5618
|
+
function module$contents$goog$uri$utils_decodeIfPossible(uri, opt_preserveReserved) {
|
|
5625
5619
|
return uri ? opt_preserveReserved ? decodeURI(uri) : decodeURIComponent(uri) : uri;
|
|
5626
|
-
}
|
|
5627
|
-
goog
|
|
5628
|
-
return goog
|
|
5629
|
-
}
|
|
5630
|
-
goog
|
|
5631
|
-
return goog
|
|
5632
|
-
}
|
|
5633
|
-
goog
|
|
5634
|
-
var scheme = goog
|
|
5620
|
+
}
|
|
5621
|
+
function module$contents$goog$uri$utils_getComponentByIndex(componentIndex, uri) {
|
|
5622
|
+
return module$contents$goog$uri$utils_split(uri)[componentIndex] || null;
|
|
5623
|
+
}
|
|
5624
|
+
function module$contents$goog$uri$utils_getScheme(uri) {
|
|
5625
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.SCHEME, uri);
|
|
5626
|
+
}
|
|
5627
|
+
function module$contents$goog$uri$utils_getEffectiveScheme(uri) {
|
|
5628
|
+
var scheme = module$contents$goog$uri$utils_getScheme(uri);
|
|
5635
5629
|
!scheme && goog.global.self && goog.global.self.location && (scheme = goog.global.self.location.protocol.slice(0, -1));
|
|
5636
5630
|
return scheme ? scheme.toLowerCase() : "";
|
|
5637
|
-
}
|
|
5638
|
-
goog
|
|
5639
|
-
return goog
|
|
5640
|
-
}
|
|
5641
|
-
goog
|
|
5642
|
-
return goog
|
|
5643
|
-
}
|
|
5644
|
-
goog
|
|
5645
|
-
return goog
|
|
5646
|
-
}
|
|
5647
|
-
goog
|
|
5648
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getDomainEncoded(uri), !0);
|
|
5649
|
-
};
|
|
5650
|
-
goog.uri.utils.getPort = function(uri) {
|
|
5651
|
-
return Number(goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PORT, uri)) || null;
|
|
5652
|
-
};
|
|
5653
|
-
goog.uri.utils.getPathEncoded = function(uri) {
|
|
5654
|
-
return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PATH, uri);
|
|
5655
|
-
};
|
|
5656
|
-
goog.uri.utils.getPath = function(uri) {
|
|
5657
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getPathEncoded(uri), !0);
|
|
5658
|
-
};
|
|
5659
|
-
goog.uri.utils.getQueryData = function(uri) {
|
|
5660
|
-
return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.QUERY_DATA, uri);
|
|
5661
|
-
};
|
|
5662
|
-
goog.uri.utils.getFragmentEncoded = function(uri) {
|
|
5631
|
+
}
|
|
5632
|
+
function module$contents$goog$uri$utils_getUserInfoEncoded(uri) {
|
|
5633
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.USER_INFO, uri);
|
|
5634
|
+
}
|
|
5635
|
+
function module$contents$goog$uri$utils_getDomainEncoded(uri) {
|
|
5636
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.DOMAIN, uri);
|
|
5637
|
+
}
|
|
5638
|
+
function module$contents$goog$uri$utils_getPathEncoded(uri) {
|
|
5639
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.PATH, uri);
|
|
5640
|
+
}
|
|
5641
|
+
function module$contents$goog$uri$utils_getFragmentEncoded(uri) {
|
|
5663
5642
|
var hashIndex = uri.indexOf("#");
|
|
5664
5643
|
return hashIndex < 0 ? null : uri.slice(hashIndex + 1);
|
|
5665
|
-
}
|
|
5666
|
-
goog
|
|
5667
|
-
return goog.uri.utils.removeFragment(uri) + (fragment ? "#" + fragment : "");
|
|
5668
|
-
};
|
|
5669
|
-
goog.uri.utils.getFragment = function(uri) {
|
|
5670
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getFragmentEncoded(uri));
|
|
5671
|
-
};
|
|
5672
|
-
goog.uri.utils.getHost = function(uri) {
|
|
5673
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5674
|
-
return goog.uri.utils.buildFromEncodedParts(pieces[goog.uri.utils.ComponentIndex.SCHEME], pieces[goog.uri.utils.ComponentIndex.USER_INFO], pieces[goog.uri.utils.ComponentIndex.DOMAIN], pieces[goog.uri.utils.ComponentIndex.PORT]);
|
|
5675
|
-
};
|
|
5676
|
-
goog.uri.utils.getOrigin = function(uri) {
|
|
5677
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5678
|
-
return goog.uri.utils.buildFromEncodedParts(pieces[goog.uri.utils.ComponentIndex.SCHEME], null, pieces[goog.uri.utils.ComponentIndex.DOMAIN], pieces[goog.uri.utils.ComponentIndex.PORT]);
|
|
5679
|
-
};
|
|
5680
|
-
goog.uri.utils.getPathAndAfter = function(uri) {
|
|
5681
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5682
|
-
return goog.uri.utils.buildFromEncodedParts(null, null, null, null, pieces[goog.uri.utils.ComponentIndex.PATH], pieces[goog.uri.utils.ComponentIndex.QUERY_DATA], pieces[goog.uri.utils.ComponentIndex.FRAGMENT]);
|
|
5683
|
-
};
|
|
5684
|
-
goog.uri.utils.removeFragment = function(uri) {
|
|
5644
|
+
}
|
|
5645
|
+
function module$contents$goog$uri$utils_removeFragment(uri) {
|
|
5685
5646
|
var hashIndex = uri.indexOf("#");
|
|
5686
5647
|
return hashIndex < 0 ? uri : uri.slice(0, hashIndex);
|
|
5687
|
-
}
|
|
5688
|
-
goog
|
|
5689
|
-
var pieces1 = goog.uri.utils.split(uri1), pieces2 = goog.uri.utils.split(uri2);
|
|
5690
|
-
return pieces1[goog.uri.utils.ComponentIndex.DOMAIN] == pieces2[goog.uri.utils.ComponentIndex.DOMAIN] && pieces1[goog.uri.utils.ComponentIndex.SCHEME] == pieces2[goog.uri.utils.ComponentIndex.SCHEME] && pieces1[goog.uri.utils.ComponentIndex.PORT] == pieces2[goog.uri.utils.ComponentIndex.PORT];
|
|
5691
|
-
};
|
|
5692
|
-
goog.uri.utils.assertNoFragmentsOrQueries_ = function(uri) {
|
|
5648
|
+
}
|
|
5649
|
+
function module$contents$goog$uri$utils_assertNoFragmentsOrQueries(uri) {
|
|
5693
5650
|
goog.asserts.assert(uri.indexOf("#") < 0 && uri.indexOf("?") < 0, "goog.uri.utils: Fragment or query identifiers are not supported: [%s]", uri);
|
|
5694
|
-
}
|
|
5695
|
-
goog
|
|
5651
|
+
}
|
|
5652
|
+
function module$contents$goog$uri$utils_parseQueryData(encodedQuery, callback) {
|
|
5696
5653
|
if (encodedQuery) {
|
|
5697
5654
|
for (var pairs = encodedQuery.split("&"), i = 0; i < pairs.length; i++) {
|
|
5698
5655
|
var indexOfEquals = pairs[i].indexOf("="), name = null, value = null;
|
|
@@ -5700,8 +5657,8 @@ goog.uri.utils.parseQueryData = function(encodedQuery, callback) {
|
|
|
5700
5657
|
callback(name, value ? goog.string.urlDecode(value) : "");
|
|
5701
5658
|
}
|
|
5702
5659
|
}
|
|
5703
|
-
}
|
|
5704
|
-
goog
|
|
5660
|
+
}
|
|
5661
|
+
function module$contents$goog$uri$utils_splitQueryData(uri) {
|
|
5705
5662
|
var hashIndex = uri.indexOf("#");
|
|
5706
5663
|
hashIndex < 0 && (hashIndex = uri.length);
|
|
5707
5664
|
var questionIndex = uri.indexOf("?");
|
|
@@ -5712,77 +5669,116 @@ goog.uri.utils.splitQueryData_ = function(uri) {
|
|
|
5712
5669
|
queryData = uri.substring(questionIndex + 1, hashIndex);
|
|
5713
5670
|
}
|
|
5714
5671
|
return [uri.slice(0, questionIndex), queryData, uri.slice(hashIndex)];
|
|
5715
|
-
}
|
|
5716
|
-
goog
|
|
5672
|
+
}
|
|
5673
|
+
function module$contents$goog$uri$utils_joinQueryData(parts) {
|
|
5717
5674
|
return parts[0] + (parts[1] ? "?" + parts[1] : "") + parts[2];
|
|
5718
|
-
}
|
|
5719
|
-
goog
|
|
5675
|
+
}
|
|
5676
|
+
function module$contents$goog$uri$utils_appendQueryData(queryData, newData) {
|
|
5720
5677
|
return newData ? queryData ? queryData + "&" + newData : newData : queryData;
|
|
5721
|
-
}
|
|
5722
|
-
goog
|
|
5678
|
+
}
|
|
5679
|
+
function module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData) {
|
|
5723
5680
|
if (!queryData) {
|
|
5724
5681
|
return uri;
|
|
5725
5682
|
}
|
|
5726
|
-
var parts = goog
|
|
5727
|
-
parts[1] = goog
|
|
5728
|
-
return goog
|
|
5729
|
-
}
|
|
5730
|
-
goog
|
|
5683
|
+
var parts = module$contents$goog$uri$utils_splitQueryData(uri);
|
|
5684
|
+
parts[1] = module$contents$goog$uri$utils_appendQueryData(parts[1], queryData);
|
|
5685
|
+
return module$contents$goog$uri$utils_joinQueryData(parts);
|
|
5686
|
+
}
|
|
5687
|
+
function module$contents$goog$uri$utils_appendKeyValuePairs(key, value, pairs) {
|
|
5731
5688
|
goog.asserts.assertString(key);
|
|
5732
5689
|
if (Array.isArray(value)) {
|
|
5733
5690
|
goog.asserts.assertArray(value);
|
|
5734
5691
|
for (var j = 0; j < value.length; j++) {
|
|
5735
|
-
goog
|
|
5692
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(key, String(value[j]), pairs);
|
|
5736
5693
|
}
|
|
5737
5694
|
} else {
|
|
5738
5695
|
value != null && pairs.push(key + (value === "" ? "" : "=" + goog.string.urlEncode(value)));
|
|
5739
5696
|
}
|
|
5740
|
-
}
|
|
5741
|
-
goog
|
|
5697
|
+
}
|
|
5698
|
+
function module$contents$goog$uri$utils_buildQueryData(keysAndValues, opt_startIndex) {
|
|
5742
5699
|
goog.asserts.assert(Math.max(keysAndValues.length - (opt_startIndex || 0), 0) % 2 == 0, "goog.uri.utils: Key/value lists must be even in length.");
|
|
5743
5700
|
for (var params = [], i = opt_startIndex || 0; i < keysAndValues.length; i += 2) {
|
|
5744
|
-
goog
|
|
5701
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(keysAndValues[i], keysAndValues[i + 1], params);
|
|
5745
5702
|
}
|
|
5746
5703
|
return params.join("&");
|
|
5747
|
-
}
|
|
5748
|
-
goog
|
|
5704
|
+
}
|
|
5705
|
+
function module$contents$goog$uri$utils_buildQueryDataFromMap(map) {
|
|
5749
5706
|
var params = [], key;
|
|
5750
5707
|
for (key in map) {
|
|
5751
|
-
goog
|
|
5708
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(key, map[key], params);
|
|
5752
5709
|
}
|
|
5753
5710
|
return params.join("&");
|
|
5754
|
-
}
|
|
5755
|
-
goog
|
|
5756
|
-
var queryData = arguments.length == 2 ? goog.uri.utils.buildQueryData(arguments[1], 0) : goog.uri.utils.buildQueryData(arguments, 1);
|
|
5757
|
-
return goog.uri.utils.appendQueryDataToUri_(uri, queryData);
|
|
5758
|
-
};
|
|
5759
|
-
goog.uri.utils.appendParamsFromMap = function(uri, map) {
|
|
5760
|
-
var queryData = goog.uri.utils.buildQueryDataFromMap(map);
|
|
5761
|
-
return goog.uri.utils.appendQueryDataToUri_(uri, queryData);
|
|
5762
|
-
};
|
|
5763
|
-
goog.uri.utils.appendParam = function(uri, key, opt_value) {
|
|
5711
|
+
}
|
|
5712
|
+
function module$contents$goog$uri$utils_appendParam(uri, key, opt_value) {
|
|
5764
5713
|
var value = opt_value != null ? "=" + goog.string.urlEncode(opt_value) : "";
|
|
5765
|
-
return goog
|
|
5766
|
-
}
|
|
5767
|
-
goog
|
|
5714
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, key + value);
|
|
5715
|
+
}
|
|
5716
|
+
function module$contents$goog$uri$utils_findParam(uri, startIndex, keyEncoded, hashOrEndIndex) {
|
|
5768
5717
|
for (var index = startIndex, keyLength = keyEncoded.length; (index = uri.indexOf(keyEncoded, index)) >= 0 && index < hashOrEndIndex;) {
|
|
5769
5718
|
var precedingChar = uri.charCodeAt(index - 1);
|
|
5770
|
-
if (precedingChar == goog
|
|
5719
|
+
if (precedingChar == module$contents$goog$uri$utils_CharCode.AMPERSAND || precedingChar == module$contents$goog$uri$utils_CharCode.QUESTION) {
|
|
5771
5720
|
var followingChar = uri.charCodeAt(index + keyLength);
|
|
5772
|
-
if (!followingChar || followingChar == goog
|
|
5721
|
+
if (!followingChar || followingChar == module$contents$goog$uri$utils_CharCode.EQUAL || followingChar == module$contents$goog$uri$utils_CharCode.AMPERSAND || followingChar == module$contents$goog$uri$utils_CharCode.HASH) {
|
|
5773
5722
|
return index;
|
|
5774
5723
|
}
|
|
5775
5724
|
}
|
|
5776
5725
|
index += keyLength + 1;
|
|
5777
5726
|
}
|
|
5778
5727
|
return -1;
|
|
5728
|
+
}
|
|
5729
|
+
var module$contents$goog$uri$utils_hashOrEndRe = /#|$/, module$contents$goog$uri$utils_trailingQueryPunctuationRe = /[?&]($|#)/;
|
|
5730
|
+
function module$contents$goog$uri$utils_removeParam(uri, keyEncoded) {
|
|
5731
|
+
for (var hashOrEndIndex = uri.search(module$contents$goog$uri$utils_hashOrEndRe), position = 0, foundIndex, buffer = []; (foundIndex = module$contents$goog$uri$utils_findParam(uri, position, keyEncoded, hashOrEndIndex)) >= 0;) {
|
|
5732
|
+
buffer.push(uri.substring(position, foundIndex)), position = Math.min(uri.indexOf("&", foundIndex) + 1 || hashOrEndIndex, hashOrEndIndex);
|
|
5733
|
+
}
|
|
5734
|
+
buffer.push(uri.slice(position));
|
|
5735
|
+
return buffer.join("").replace(module$contents$goog$uri$utils_trailingQueryPunctuationRe, "$1");
|
|
5736
|
+
}
|
|
5737
|
+
function module$contents$goog$uri$utils_setParam(uri, keyEncoded, value) {
|
|
5738
|
+
return module$contents$goog$uri$utils_appendParam(module$contents$goog$uri$utils_removeParam(uri, keyEncoded), keyEncoded, value);
|
|
5739
|
+
}
|
|
5740
|
+
var module$contents$goog$uri$utils_StandardQueryParam = {RANDOM:"zx"};
|
|
5741
|
+
goog.uri.utils.ComponentIndex = module$contents$goog$uri$utils_ComponentIndex;
|
|
5742
|
+
goog.uri.utils.StandardQueryParam = module$contents$goog$uri$utils_StandardQueryParam;
|
|
5743
|
+
goog.uri.utils.QueryArray = void 0;
|
|
5744
|
+
goog.uri.utils.QueryValue = void 0;
|
|
5745
|
+
goog.uri.utils.appendParam = module$contents$goog$uri$utils_appendParam;
|
|
5746
|
+
goog.uri.utils.appendParams = function(uri, var_args) {
|
|
5747
|
+
var queryData = arguments.length == 2 ? module$contents$goog$uri$utils_buildQueryData(arguments[1], 0) : module$contents$goog$uri$utils_buildQueryData(arguments, 1);
|
|
5748
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData);
|
|
5779
5749
|
};
|
|
5780
|
-
goog.uri.utils.
|
|
5781
|
-
|
|
5782
|
-
return goog
|
|
5750
|
+
goog.uri.utils.appendParamsFromMap = function(uri, map) {
|
|
5751
|
+
var queryData = module$contents$goog$uri$utils_buildQueryDataFromMap(map);
|
|
5752
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData);
|
|
5753
|
+
};
|
|
5754
|
+
goog.uri.utils.appendPath = function(baseUri, path) {
|
|
5755
|
+
module$contents$goog$uri$utils_assertNoFragmentsOrQueries(baseUri);
|
|
5756
|
+
goog.string.endsWith(baseUri, "/") && (baseUri = baseUri.slice(0, -1));
|
|
5757
|
+
goog.string.startsWith(path, "/") && (path = path.slice(1));
|
|
5758
|
+
return "" + baseUri + "/" + path;
|
|
5759
|
+
};
|
|
5760
|
+
goog.uri.utils.buildFromEncodedParts = module$contents$goog$uri$utils_buildFromEncodedParts;
|
|
5761
|
+
goog.uri.utils.buildQueryData = module$contents$goog$uri$utils_buildQueryData;
|
|
5762
|
+
goog.uri.utils.buildQueryDataFromMap = module$contents$goog$uri$utils_buildQueryDataFromMap;
|
|
5763
|
+
goog.uri.utils.getDomain = function(uri) {
|
|
5764
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getDomainEncoded(uri), !0);
|
|
5765
|
+
};
|
|
5766
|
+
goog.uri.utils.getDomainEncoded = module$contents$goog$uri$utils_getDomainEncoded;
|
|
5767
|
+
goog.uri.utils.getEffectiveScheme = module$contents$goog$uri$utils_getEffectiveScheme;
|
|
5768
|
+
goog.uri.utils.getFragment = function(uri) {
|
|
5769
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getFragmentEncoded(uri));
|
|
5770
|
+
};
|
|
5771
|
+
goog.uri.utils.getFragmentEncoded = module$contents$goog$uri$utils_getFragmentEncoded;
|
|
5772
|
+
goog.uri.utils.getHost = function(uri) {
|
|
5773
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5774
|
+
return module$contents$goog$uri$utils_buildFromEncodedParts(pieces[module$contents$goog$uri$utils_ComponentIndex.SCHEME], pieces[module$contents$goog$uri$utils_ComponentIndex.USER_INFO], pieces[module$contents$goog$uri$utils_ComponentIndex.DOMAIN], pieces[module$contents$goog$uri$utils_ComponentIndex.PORT]);
|
|
5775
|
+
};
|
|
5776
|
+
goog.uri.utils.getOrigin = function(uri) {
|
|
5777
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5778
|
+
return module$contents$goog$uri$utils_buildFromEncodedParts(pieces[module$contents$goog$uri$utils_ComponentIndex.SCHEME], null, pieces[module$contents$goog$uri$utils_ComponentIndex.DOMAIN], pieces[module$contents$goog$uri$utils_ComponentIndex.PORT]);
|
|
5783
5779
|
};
|
|
5784
5780
|
goog.uri.utils.getParamValue = function(uri, keyEncoded) {
|
|
5785
|
-
var hashOrEndIndex = uri.search(goog
|
|
5781
|
+
var hashOrEndIndex = uri.search(module$contents$goog$uri$utils_hashOrEndRe), foundIndex = module$contents$goog$uri$utils_findParam(uri, 0, keyEncoded, hashOrEndIndex);
|
|
5786
5782
|
if (foundIndex < 0) {
|
|
5787
5783
|
return null;
|
|
5788
5784
|
}
|
|
@@ -5794,7 +5790,7 @@ goog.uri.utils.getParamValue = function(uri, keyEncoded) {
|
|
|
5794
5790
|
return goog.string.urlDecode(uri.slice(foundIndex, endPosition !== -1 ? endPosition : 0));
|
|
5795
5791
|
};
|
|
5796
5792
|
goog.uri.utils.getParamValues = function(uri, keyEncoded) {
|
|
5797
|
-
for (var hashOrEndIndex = uri.search(goog
|
|
5793
|
+
for (var hashOrEndIndex = uri.search(module$contents$goog$uri$utils_hashOrEndRe), position = 0, foundIndex, result = []; (foundIndex = module$contents$goog$uri$utils_findParam(uri, position, keyEncoded, hashOrEndIndex)) >= 0;) {
|
|
5798
5794
|
position = uri.indexOf("&", foundIndex);
|
|
5799
5795
|
if (position < 0 || position > hashOrEndIndex) {
|
|
5800
5796
|
position = hashOrEndIndex;
|
|
@@ -5804,51 +5800,71 @@ goog.uri.utils.getParamValues = function(uri, keyEncoded) {
|
|
|
5804
5800
|
}
|
|
5805
5801
|
return result;
|
|
5806
5802
|
};
|
|
5807
|
-
goog.uri.utils.
|
|
5808
|
-
goog
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5803
|
+
goog.uri.utils.getPath = function(uri) {
|
|
5804
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getPathEncoded(uri), !0);
|
|
5805
|
+
};
|
|
5806
|
+
goog.uri.utils.getPathAndAfter = function(uri) {
|
|
5807
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5808
|
+
return module$contents$goog$uri$utils_buildFromEncodedParts(null, null, null, null, pieces[module$contents$goog$uri$utils_ComponentIndex.PATH], pieces[module$contents$goog$uri$utils_ComponentIndex.QUERY_DATA], pieces[module$contents$goog$uri$utils_ComponentIndex.FRAGMENT]);
|
|
5809
|
+
};
|
|
5810
|
+
goog.uri.utils.getPathEncoded = module$contents$goog$uri$utils_getPathEncoded;
|
|
5811
|
+
goog.uri.utils.getPort = function(uri) {
|
|
5812
|
+
return Number(module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.PORT, uri)) || null;
|
|
5813
|
+
};
|
|
5814
|
+
goog.uri.utils.getQueryData = function(uri) {
|
|
5815
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.QUERY_DATA, uri);
|
|
5814
5816
|
};
|
|
5815
|
-
goog.uri.utils.
|
|
5816
|
-
|
|
5817
|
+
goog.uri.utils.getScheme = module$contents$goog$uri$utils_getScheme;
|
|
5818
|
+
goog.uri.utils.getUserInfo = function(uri) {
|
|
5819
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getUserInfoEncoded(uri));
|
|
5817
5820
|
};
|
|
5821
|
+
goog.uri.utils.getUserInfoEncoded = module$contents$goog$uri$utils_getUserInfoEncoded;
|
|
5822
|
+
goog.uri.utils.hasParam = function(uri, keyEncoded) {
|
|
5823
|
+
return module$contents$goog$uri$utils_findParam(uri, 0, keyEncoded, uri.search(module$contents$goog$uri$utils_hashOrEndRe)) >= 0;
|
|
5824
|
+
};
|
|
5825
|
+
goog.uri.utils.haveSameDomain = function(uri1, uri2) {
|
|
5826
|
+
var pieces1 = module$contents$goog$uri$utils_split(uri1), pieces2 = module$contents$goog$uri$utils_split(uri2);
|
|
5827
|
+
return pieces1[module$contents$goog$uri$utils_ComponentIndex.DOMAIN] == pieces2[module$contents$goog$uri$utils_ComponentIndex.DOMAIN] && pieces1[module$contents$goog$uri$utils_ComponentIndex.SCHEME] == pieces2[module$contents$goog$uri$utils_ComponentIndex.SCHEME] && pieces1[module$contents$goog$uri$utils_ComponentIndex.PORT] == pieces2[module$contents$goog$uri$utils_ComponentIndex.PORT];
|
|
5828
|
+
};
|
|
5829
|
+
goog.uri.utils.makeUnique = function(uri) {
|
|
5830
|
+
return module$contents$goog$uri$utils_setParam(uri, module$contents$goog$uri$utils_StandardQueryParam.RANDOM, goog.string.getRandomString());
|
|
5831
|
+
};
|
|
5832
|
+
goog.uri.utils.parseQueryData = module$contents$goog$uri$utils_parseQueryData;
|
|
5833
|
+
goog.uri.utils.removeFragment = module$contents$goog$uri$utils_removeFragment;
|
|
5834
|
+
goog.uri.utils.removeParam = module$contents$goog$uri$utils_removeParam;
|
|
5835
|
+
goog.uri.utils.setFragmentEncoded = function(uri, fragment) {
|
|
5836
|
+
return module$contents$goog$uri$utils_removeFragment(uri) + (fragment ? "#" + fragment : "");
|
|
5837
|
+
};
|
|
5838
|
+
goog.uri.utils.setParam = module$contents$goog$uri$utils_setParam;
|
|
5818
5839
|
goog.uri.utils.setParamsFromMap = function(uri, params) {
|
|
5819
|
-
var parts = goog
|
|
5840
|
+
var parts = module$contents$goog$uri$utils_splitQueryData(uri), queryData = parts[1], buffer = [];
|
|
5820
5841
|
queryData && queryData.split("&").forEach(function(pair) {
|
|
5821
5842
|
var indexOfEquals = pair.indexOf("="), name = indexOfEquals >= 0 ? pair.slice(0, indexOfEquals) : pair;
|
|
5822
5843
|
params.hasOwnProperty(name) || buffer.push(pair);
|
|
5823
5844
|
});
|
|
5824
|
-
parts[1] = goog
|
|
5825
|
-
return goog
|
|
5826
|
-
};
|
|
5827
|
-
goog.uri.utils.appendPath = function(baseUri, path) {
|
|
5828
|
-
goog.uri.utils.assertNoFragmentsOrQueries_(baseUri);
|
|
5829
|
-
goog.string.endsWith(baseUri, "/") && (baseUri = baseUri.slice(0, -1));
|
|
5830
|
-
goog.string.startsWith(path, "/") && (path = path.slice(1));
|
|
5831
|
-
return "" + baseUri + "/" + path;
|
|
5845
|
+
parts[1] = module$contents$goog$uri$utils_appendQueryData(buffer.join("&"), module$contents$goog$uri$utils_buildQueryDataFromMap(params));
|
|
5846
|
+
return module$contents$goog$uri$utils_joinQueryData(parts);
|
|
5832
5847
|
};
|
|
5833
5848
|
goog.uri.utils.setPath = function(uri, path) {
|
|
5834
5849
|
goog.string.startsWith(path, "/") || (path = "/" + path);
|
|
5835
|
-
var parts = goog
|
|
5836
|
-
return goog
|
|
5850
|
+
var parts = module$contents$goog$uri$utils_split(uri);
|
|
5851
|
+
return module$contents$goog$uri$utils_buildFromEncodedParts(parts[module$contents$goog$uri$utils_ComponentIndex.SCHEME], parts[module$contents$goog$uri$utils_ComponentIndex.USER_INFO], parts[module$contents$goog$uri$utils_ComponentIndex.DOMAIN], parts[module$contents$goog$uri$utils_ComponentIndex.PORT], path, parts[module$contents$goog$uri$utils_ComponentIndex.QUERY_DATA], parts[module$contents$goog$uri$utils_ComponentIndex.FRAGMENT]);
|
|
5837
5852
|
};
|
|
5838
|
-
goog.uri.utils.
|
|
5839
|
-
goog
|
|
5840
|
-
return goog.uri.utils.setParam(uri, goog.uri.utils.StandardQueryParam.RANDOM, goog.string.getRandomString());
|
|
5853
|
+
goog.uri.utils.setUrlPackageSupportLoggingHandler = function(handler) {
|
|
5854
|
+
module$contents$goog$uri$utils_urlPackageSupportLoggingHandler = handler;
|
|
5841
5855
|
};
|
|
5856
|
+
goog.uri.utils.split = module$contents$goog$uri$utils_split;
|
|
5842
5857
|
goog.Uri = function(opt_uri, opt_ignoreCase) {
|
|
5843
5858
|
this.domain_ = this.userInfo_ = this.scheme_ = "";
|
|
5844
5859
|
this.port_ = null;
|
|
5845
5860
|
this.fragment_ = this.path_ = "";
|
|
5846
5861
|
this.ignoreCase_ = this.isReadOnly_ = !1;
|
|
5847
5862
|
var m;
|
|
5848
|
-
opt_uri instanceof goog.Uri ? (this.ignoreCase_ = opt_ignoreCase !== void 0 ? opt_ignoreCase : opt_uri.getIgnoreCase(), this.setScheme(opt_uri.getScheme()), this.setUserInfo(opt_uri.getUserInfo()), this.setDomain(opt_uri.getDomain()), this.setPort(opt_uri.getPort()), this.setPath(opt_uri.getPath()), this.setQueryData(opt_uri.getQueryData().clone()), this.setFragment(opt_uri.getFragment())) : opt_uri && (m = goog
|
|
5849
|
-
"", !0), this.setUserInfo(m[goog
|
|
5863
|
+
opt_uri instanceof goog.Uri ? (this.ignoreCase_ = opt_ignoreCase !== void 0 ? opt_ignoreCase : opt_uri.getIgnoreCase(), this.setScheme(opt_uri.getScheme()), this.setUserInfo(opt_uri.getUserInfo()), this.setDomain(opt_uri.getDomain()), this.setPort(opt_uri.getPort()), this.setPath(opt_uri.getPath()), this.setQueryData(opt_uri.getQueryData().clone()), this.setFragment(opt_uri.getFragment())) : opt_uri && (m = module$contents$goog$uri$utils_split(String(opt_uri))) ? (this.ignoreCase_ = !!opt_ignoreCase,
|
|
5864
|
+
this.setScheme(m[module$contents$goog$uri$utils_ComponentIndex.SCHEME] || "", !0), this.setUserInfo(m[module$contents$goog$uri$utils_ComponentIndex.USER_INFO] || "", !0), this.setDomain(m[module$contents$goog$uri$utils_ComponentIndex.DOMAIN] || "", !0), this.setPort(m[module$contents$goog$uri$utils_ComponentIndex.PORT]), this.setPath(m[module$contents$goog$uri$utils_ComponentIndex.PATH] || "", !0), this.setQueryData(m[module$contents$goog$uri$utils_ComponentIndex.QUERY_DATA] || "", !0), this.setFragment(m[module$contents$goog$uri$utils_ComponentIndex.FRAGMENT] ||
|
|
5865
|
+
"", !0)) : (this.ignoreCase_ = !!opt_ignoreCase, this.queryData_ = new goog.Uri.QueryData(null, this.ignoreCase_));
|
|
5850
5866
|
};
|
|
5851
|
-
goog.Uri.RANDOM_PARAM = goog
|
|
5867
|
+
goog.Uri.RANDOM_PARAM = module$contents$goog$uri$utils_StandardQueryParam.RANDOM;
|
|
5852
5868
|
goog.Uri.prototype.toString = function() {
|
|
5853
5869
|
var out = [], scheme = this.getScheme();
|
|
5854
5870
|
scheme && out.push(goog.Uri.encodeSpecialChars_(scheme, goog.Uri.reDisallowedInSchemeOrUserInfo_, !0), ":");
|
|
@@ -6103,8 +6119,8 @@ goog.Uri.reDisallowedInAbsolutePath_ = /[#\?]/g;
|
|
|
6103
6119
|
goog.Uri.reDisallowedInQuery_ = /[#\?@]/g;
|
|
6104
6120
|
goog.Uri.reDisallowedInFragment_ = /#/g;
|
|
6105
6121
|
goog.Uri.haveSameDomain = function(uri1String, uri2String) {
|
|
6106
|
-
var pieces1 = goog
|
|
6107
|
-
return pieces1[goog
|
|
6122
|
+
var pieces1 = module$contents$goog$uri$utils_split(uri1String), pieces2 = module$contents$goog$uri$utils_split(uri2String);
|
|
6123
|
+
return pieces1[module$contents$goog$uri$utils_ComponentIndex.DOMAIN] == pieces2[module$contents$goog$uri$utils_ComponentIndex.DOMAIN] && pieces1[module$contents$goog$uri$utils_ComponentIndex.PORT] == pieces2[module$contents$goog$uri$utils_ComponentIndex.PORT];
|
|
6108
6124
|
};
|
|
6109
6125
|
goog.Uri.QueryData = function(opt_query, opt_ignoreCase) {
|
|
6110
6126
|
this.count_ = this.keyMap_ = null;
|
|
@@ -6114,7 +6130,7 @@ goog.Uri.QueryData = function(opt_query, opt_ignoreCase) {
|
|
|
6114
6130
|
goog.Uri.QueryData.prototype.ensureKeyMapInitialized_ = function() {
|
|
6115
6131
|
if (!this.keyMap_ && (this.keyMap_ = new Map(), this.count_ = 0, this.encodedQuery_)) {
|
|
6116
6132
|
var self = this;
|
|
6117
|
-
goog
|
|
6133
|
+
module$contents$goog$uri$utils_parseQueryData(this.encodedQuery_, function(name, value) {
|
|
6118
6134
|
self.add(goog.string.urlDecode(name), value);
|
|
6119
6135
|
});
|
|
6120
6136
|
}
|
|
@@ -6296,7 +6312,7 @@ var module$exports$goog$net$rpc$HttpCors = {HTTP_HEADERS_PARAM_NAME:"$httpHeader
|
|
|
6296
6312
|
}
|
|
6297
6313
|
var httpHeaders = module$exports$goog$net$rpc$HttpCors.generateHttpHeadersOverwriteParam(extraHeaders);
|
|
6298
6314
|
if (typeof url === "string") {
|
|
6299
|
-
return goog
|
|
6315
|
+
return module$contents$goog$uri$utils_appendParam(url, goog.string.urlEncode(urlParam), httpHeaders);
|
|
6300
6316
|
}
|
|
6301
6317
|
url.setParameterValue(urlParam, httpHeaders);
|
|
6302
6318
|
return url;
|
|
@@ -6560,7 +6576,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_mes
|
|
|
6560
6576
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable = !1;
|
|
6561
6577
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable = !1;
|
|
6562
6578
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable = !1;
|
|
6563
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6579
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable = !1;
|
|
6564
6580
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__enable = !1;
|
|
6565
6581
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6566
6582
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
@@ -6571,8 +6587,8 @@ goog.flags = {};
|
|
|
6571
6587
|
var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
|
|
6572
6588
|
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);
|
|
6573
6589
|
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);
|
|
6574
|
-
goog.flags.CLIENT_ONLY_WIZ_QUEUE_EFFECT_AND_ON_INIT_INITIAL_RUNS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ?
|
|
6575
|
-
|
|
6590
|
+
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.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,
|
|
6591
|
+
!0);
|
|
6576
6592
|
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);
|
|
6577
6593
|
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);
|
|
6578
6594
|
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);
|
|
@@ -6582,7 +6598,8 @@ goog.flags.JSPB_USE_CONSTANT_DEFAULT_PIVOT = module$exports$closure$flags$flags$
|
|
|
6582
6598
|
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);
|
|
6583
6599
|
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,
|
|
6584
6600
|
!0);
|
|
6585
|
-
goog.flags.JSPB_DESERIALIZE_BINARY_INT64S_AS_GBIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6601
|
+
goog.flags.JSPB_DESERIALIZE_BINARY_INT64S_AS_GBIGINT = 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__jspb_deserialize_binary_int64s_as_gbigint__disable) : goog.readFlagInternalDoNotUseOrElse(824648567,
|
|
6602
|
+
module$contents$goog$flags_STAGING);
|
|
6586
6603
|
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);
|
|
6587
6604
|
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);
|
|
6588
6605
|
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);
|
|
@@ -7433,28 +7450,30 @@ goog.events.Listenable.prototype.getListener = function(type, listener, capture,
|
|
|
7433
7450
|
};
|
|
7434
7451
|
goog.events.Listenable.prototype.hasListener = function(opt_type, opt_capture) {
|
|
7435
7452
|
};
|
|
7436
|
-
goog
|
|
7437
|
-
}
|
|
7438
|
-
goog
|
|
7439
|
-
goog
|
|
7440
|
-
return ++goog
|
|
7453
|
+
function module$contents$goog$events$ListenableKey_ListenableKey() {
|
|
7454
|
+
}
|
|
7455
|
+
module$contents$goog$events$ListenableKey_ListenableKey.counter_ = 0;
|
|
7456
|
+
module$contents$goog$events$ListenableKey_ListenableKey.reserveKey = function() {
|
|
7457
|
+
return ++module$contents$goog$events$ListenableKey_ListenableKey.counter_;
|
|
7441
7458
|
};
|
|
7442
|
-
goog.events.
|
|
7443
|
-
|
|
7459
|
+
goog.events.ListenableKey = module$contents$goog$events$ListenableKey_ListenableKey;
|
|
7460
|
+
function module$contents$goog$events$Listener_Listener(listener, proxy, src, type, capture, opt_handler) {
|
|
7461
|
+
module$contents$goog$events$Listener_Listener.ENABLE_MONITORING && (this.creationStack = Error().stack);
|
|
7444
7462
|
this.listener = listener;
|
|
7445
7463
|
this.proxy = proxy;
|
|
7446
7464
|
this.src = src;
|
|
7447
7465
|
this.type = type;
|
|
7448
7466
|
this.capture = !!capture;
|
|
7449
7467
|
this.handler = opt_handler;
|
|
7450
|
-
this.key = goog
|
|
7468
|
+
this.key = module$contents$goog$events$ListenableKey_ListenableKey.reserveKey();
|
|
7451
7469
|
this.removed = this.callOnce = !1;
|
|
7452
|
-
}
|
|
7453
|
-
goog
|
|
7454
|
-
goog
|
|
7470
|
+
}
|
|
7471
|
+
module$contents$goog$events$Listener_Listener.ENABLE_MONITORING = !1;
|
|
7472
|
+
module$contents$goog$events$Listener_Listener.prototype.markAsRemoved = function() {
|
|
7455
7473
|
this.removed = !0;
|
|
7456
7474
|
this.handler = this.src = this.proxy = this.listener = null;
|
|
7457
7475
|
};
|
|
7476
|
+
goog.events.Listener = module$contents$goog$events$Listener_Listener;
|
|
7458
7477
|
function module$contents$goog$events$ListenerMap_ListenerMap(src) {
|
|
7459
7478
|
this.src = src;
|
|
7460
7479
|
this.listeners = {};
|
|
@@ -7478,7 +7497,7 @@ module$contents$goog$events$ListenerMap_ListenerMap.prototype.add = function(typ
|
|
|
7478
7497
|
var listenerObj = listenerArray[index];
|
|
7479
7498
|
callOnce || (listenerObj.callOnce = !1);
|
|
7480
7499
|
} else {
|
|
7481
|
-
listenerObj = new goog
|
|
7500
|
+
listenerObj = new module$contents$goog$events$Listener_Listener(listener, null, this.src, typeStr, !!opt_useCapture, opt_listenerScope), listenerObj.callOnce = callOnce, listenerArray.push(listenerObj);
|
|
7482
7501
|
}
|
|
7483
7502
|
return listenerObj;
|
|
7484
7503
|
};
|
|
@@ -8149,53 +8168,75 @@ goog.functions.isFunction = function(val) {
|
|
|
8149
8168
|
return typeof val === "function";
|
|
8150
8169
|
};
|
|
8151
8170
|
goog.math = {};
|
|
8152
|
-
goog
|
|
8153
|
-
return Math.floor(Math.random() * a);
|
|
8154
|
-
};
|
|
8155
|
-
goog.math.uniformRandom = function(a, b) {
|
|
8156
|
-
return a + Math.random() * (b - a);
|
|
8157
|
-
};
|
|
8158
|
-
goog.math.clamp = function(value, min, max) {
|
|
8159
|
-
return Math.min(Math.max(value, min), max);
|
|
8160
|
-
};
|
|
8161
|
-
goog.math.modulo = function(a, b) {
|
|
8171
|
+
function module$contents$goog$math_modulo(a, b) {
|
|
8162
8172
|
var r = a % b;
|
|
8163
8173
|
return r * b < 0 ? r + b : r;
|
|
8164
|
-
}
|
|
8165
|
-
goog
|
|
8166
|
-
return
|
|
8167
|
-
}
|
|
8168
|
-
goog
|
|
8169
|
-
return Math.abs(a - b) <= (opt_tolerance || 1E-6);
|
|
8170
|
-
};
|
|
8171
|
-
goog.math.standardAngle = function(angle) {
|
|
8172
|
-
return goog.math.modulo(angle, 360);
|
|
8173
|
-
};
|
|
8174
|
-
goog.math.standardAngleInRadians = function(angle) {
|
|
8175
|
-
return goog.math.modulo(angle, 2 * Math.PI);
|
|
8176
|
-
};
|
|
8177
|
-
goog.math.toRadians = function(angleDegrees) {
|
|
8174
|
+
}
|
|
8175
|
+
function module$contents$goog$math_standardAngle(angle) {
|
|
8176
|
+
return module$contents$goog$math_modulo(angle, 360);
|
|
8177
|
+
}
|
|
8178
|
+
function module$contents$goog$math_toRadians(angleDegrees) {
|
|
8178
8179
|
return angleDegrees * Math.PI / 180;
|
|
8179
|
-
}
|
|
8180
|
-
goog
|
|
8180
|
+
}
|
|
8181
|
+
function module$contents$goog$math_toDegrees(angleRadians) {
|
|
8181
8182
|
return angleRadians * 180 / Math.PI;
|
|
8183
|
+
}
|
|
8184
|
+
function module$contents$goog$math_angle(x1, y1, x2, y2) {
|
|
8185
|
+
return module$contents$goog$math_standardAngle(module$contents$goog$math_toDegrees(Math.atan2(y2 - y1, x2 - x1)));
|
|
8186
|
+
}
|
|
8187
|
+
function module$contents$goog$math_sum(var_args) {
|
|
8188
|
+
return Array.prototype.reduce.call(arguments, function(sum, value) {
|
|
8189
|
+
return sum + value;
|
|
8190
|
+
}, 0);
|
|
8191
|
+
}
|
|
8192
|
+
function module$contents$goog$math_average(var_args) {
|
|
8193
|
+
return module$contents$goog$math_sum.apply(null, arguments) / arguments.length;
|
|
8194
|
+
}
|
|
8195
|
+
function module$contents$goog$math_sampleVariance(var_args) {
|
|
8196
|
+
var sampleSize = arguments.length;
|
|
8197
|
+
if (sampleSize < 2) {
|
|
8198
|
+
return 0;
|
|
8199
|
+
}
|
|
8200
|
+
var mean = module$contents$goog$math_average.apply(null, arguments);
|
|
8201
|
+
return module$contents$goog$math_sum.apply(null, Array.prototype.map.call(arguments, function(val) {
|
|
8202
|
+
return Math.pow(val - mean, 2);
|
|
8203
|
+
})) / (sampleSize - 1);
|
|
8204
|
+
}
|
|
8205
|
+
function module$contents$goog$math_isInt(num) {
|
|
8206
|
+
return isFinite(num) && num % 1 == 0;
|
|
8207
|
+
}
|
|
8208
|
+
goog.math.angle = module$contents$goog$math_angle;
|
|
8209
|
+
goog.math.angleDifference = function(startAngle, endAngle) {
|
|
8210
|
+
var d = module$contents$goog$math_standardAngle(endAngle) - module$contents$goog$math_standardAngle(startAngle);
|
|
8211
|
+
d > 180 ? d -= 360 : d <= -180 && (d = 360 + d);
|
|
8212
|
+
return d;
|
|
8182
8213
|
};
|
|
8183
8214
|
goog.math.angleDx = function(degrees, radius) {
|
|
8184
|
-
return radius * Math.cos(goog
|
|
8215
|
+
return radius * Math.cos(module$contents$goog$math_toRadians(degrees));
|
|
8185
8216
|
};
|
|
8186
8217
|
goog.math.angleDy = function(degrees, radius) {
|
|
8187
|
-
return radius * Math.sin(goog
|
|
8218
|
+
return radius * Math.sin(module$contents$goog$math_toRadians(degrees));
|
|
8219
|
+
};
|
|
8220
|
+
goog.math.average = module$contents$goog$math_average;
|
|
8221
|
+
goog.math.clamp = function(value, min, max) {
|
|
8222
|
+
return Math.min(Math.max(value, min), max);
|
|
8188
8223
|
};
|
|
8189
|
-
goog.math.
|
|
8190
|
-
return
|
|
8224
|
+
goog.math.isFiniteNumber = function(num) {
|
|
8225
|
+
return isFinite(num);
|
|
8191
8226
|
};
|
|
8192
|
-
goog.math.
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
return d;
|
|
8227
|
+
goog.math.isInt = module$contents$goog$math_isInt;
|
|
8228
|
+
goog.math.isNegativeZero = function(num) {
|
|
8229
|
+
return num == 0 && 1 / num < 0;
|
|
8196
8230
|
};
|
|
8197
|
-
goog.math.
|
|
8198
|
-
return
|
|
8231
|
+
goog.math.lerp = function(a, b, x) {
|
|
8232
|
+
return a + x * (b - a);
|
|
8233
|
+
};
|
|
8234
|
+
goog.math.log10Floor = function(num) {
|
|
8235
|
+
if (num > 0) {
|
|
8236
|
+
var x = Math.round(Math.log(num) * Math.LOG10E);
|
|
8237
|
+
return x - (parseFloat("1e" + x) > num ? 1 : 0);
|
|
8238
|
+
}
|
|
8239
|
+
return num == 0 ? -Infinity : NaN;
|
|
8199
8240
|
};
|
|
8200
8241
|
goog.math.longestCommonSubsequence = function(array1, array2, opt_compareFn, opt_collectorFn) {
|
|
8201
8242
|
var compare = opt_compareFn || function(a, b) {
|
|
@@ -8222,50 +8263,37 @@ goog.math.longestCommonSubsequence = function(array1, array2, opt_compareFn, opt
|
|
|
8222
8263
|
}
|
|
8223
8264
|
return result;
|
|
8224
8265
|
};
|
|
8225
|
-
goog.math.
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
}, 0);
|
|
8229
|
-
};
|
|
8230
|
-
goog.math.average = function(var_args) {
|
|
8231
|
-
return goog.math.sum.apply(null, arguments) / arguments.length;
|
|
8232
|
-
};
|
|
8233
|
-
goog.math.sampleVariance = function(var_args) {
|
|
8234
|
-
var sampleSize = arguments.length;
|
|
8235
|
-
if (sampleSize < 2) {
|
|
8236
|
-
return 0;
|
|
8237
|
-
}
|
|
8238
|
-
var mean = goog.math.average.apply(null, arguments);
|
|
8239
|
-
return goog.math.sum.apply(null, Array.prototype.map.call(arguments, function(val) {
|
|
8240
|
-
return Math.pow(val - mean, 2);
|
|
8241
|
-
})) / (sampleSize - 1);
|
|
8242
|
-
};
|
|
8243
|
-
goog.math.standardDeviation = function(var_args) {
|
|
8244
|
-
return Math.sqrt(goog.math.sampleVariance.apply(null, arguments));
|
|
8245
|
-
};
|
|
8246
|
-
goog.math.isInt = function(num) {
|
|
8247
|
-
return isFinite(num) && num % 1 == 0;
|
|
8248
|
-
};
|
|
8249
|
-
goog.math.isFiniteNumber = function(num) {
|
|
8250
|
-
return isFinite(num);
|
|
8266
|
+
goog.math.modulo = module$contents$goog$math_modulo;
|
|
8267
|
+
goog.math.nearlyEquals = function(a, b, opt_tolerance) {
|
|
8268
|
+
return Math.abs(a - b) <= (opt_tolerance || 1E-6);
|
|
8251
8269
|
};
|
|
8252
|
-
goog.math.
|
|
8253
|
-
return
|
|
8270
|
+
goog.math.randomInt = function(a) {
|
|
8271
|
+
return Math.floor(Math.random() * a);
|
|
8254
8272
|
};
|
|
8255
|
-
goog.math.
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
return x - (parseFloat("1e" + x) > num ? 1 : 0);
|
|
8259
|
-
}
|
|
8260
|
-
return num == 0 ? -Infinity : NaN;
|
|
8273
|
+
goog.math.safeCeil = function(num, opt_epsilon) {
|
|
8274
|
+
goog.asserts.assert(opt_epsilon === void 0 || opt_epsilon > 0);
|
|
8275
|
+
return Math.ceil(num - (opt_epsilon || 2E-15));
|
|
8261
8276
|
};
|
|
8262
8277
|
goog.math.safeFloor = function(num, opt_epsilon) {
|
|
8263
8278
|
goog.asserts.assert(opt_epsilon === void 0 || opt_epsilon > 0);
|
|
8264
8279
|
return Math.floor(num + (opt_epsilon || 2E-15));
|
|
8265
8280
|
};
|
|
8266
|
-
goog.math.
|
|
8267
|
-
|
|
8268
|
-
return
|
|
8281
|
+
goog.math.sampleVariance = module$contents$goog$math_sampleVariance;
|
|
8282
|
+
goog.math.sign = function(x) {
|
|
8283
|
+
return x > 0 ? 1 : x < 0 ? -1 : x;
|
|
8284
|
+
};
|
|
8285
|
+
goog.math.standardAngle = module$contents$goog$math_standardAngle;
|
|
8286
|
+
goog.math.standardAngleInRadians = function(angle) {
|
|
8287
|
+
return module$contents$goog$math_modulo(angle, 2 * Math.PI);
|
|
8288
|
+
};
|
|
8289
|
+
goog.math.standardDeviation = function(var_args) {
|
|
8290
|
+
return Math.sqrt(module$contents$goog$math_sampleVariance.apply(null, arguments));
|
|
8291
|
+
};
|
|
8292
|
+
goog.math.sum = module$contents$goog$math_sum;
|
|
8293
|
+
goog.math.toDegrees = module$contents$goog$math_toDegrees;
|
|
8294
|
+
goog.math.toRadians = module$contents$goog$math_toRadians;
|
|
8295
|
+
goog.math.uniformRandom = function(a, b) {
|
|
8296
|
+
return a + Math.random() * (b - a);
|
|
8269
8297
|
};
|
|
8270
8298
|
goog.iter = {};
|
|
8271
8299
|
goog.iter.Iterator = function() {
|
|
@@ -8676,7 +8704,7 @@ goog.iter.enumerate = function(iterable, opt_start) {
|
|
|
8676
8704
|
return goog.iter.zip(goog.iter.count(opt_start), iterable);
|
|
8677
8705
|
};
|
|
8678
8706
|
goog.iter.limit = function(iterable, limitSize) {
|
|
8679
|
-
goog.asserts.assert(goog
|
|
8707
|
+
goog.asserts.assert(module$contents$goog$math_isInt(limitSize) && limitSize >= 0);
|
|
8680
8708
|
var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator(), remaining = limitSize;
|
|
8681
8709
|
iter.next = function() {
|
|
8682
8710
|
return remaining-- > 0 ? iterator.next() : goog.iter.ES6_ITERATOR_DONE;
|
|
@@ -8684,16 +8712,16 @@ goog.iter.limit = function(iterable, limitSize) {
|
|
|
8684
8712
|
return iter;
|
|
8685
8713
|
};
|
|
8686
8714
|
goog.iter.consume = function(iterable, count) {
|
|
8687
|
-
goog.asserts.assert(goog
|
|
8715
|
+
goog.asserts.assert(module$contents$goog$math_isInt(count) && count >= 0);
|
|
8688
8716
|
for (var iterator = goog.iter.toIterator(iterable); count-- > 0;) {
|
|
8689
8717
|
goog.iter.nextOrValue(iterator, null);
|
|
8690
8718
|
}
|
|
8691
8719
|
return iterator;
|
|
8692
8720
|
};
|
|
8693
8721
|
goog.iter.slice = function(iterable, start, opt_end) {
|
|
8694
|
-
goog.asserts.assert(goog
|
|
8722
|
+
goog.asserts.assert(module$contents$goog$math_isInt(start) && start >= 0);
|
|
8695
8723
|
var iterator = goog.iter.consume(iterable, start);
|
|
8696
|
-
typeof opt_end === "number" && (goog.asserts.assert(goog
|
|
8724
|
+
typeof opt_end === "number" && (goog.asserts.assert(module$contents$goog$math_isInt(opt_end) && opt_end >= start), iterator = goog.iter.limit(iterator, opt_end - start));
|
|
8697
8725
|
return iterator;
|
|
8698
8726
|
};
|
|
8699
8727
|
goog.iter.hasDuplicates_ = function(arr) {
|
|
@@ -15689,7 +15717,7 @@ goog.dom.TagName.VIDEO = "VIDEO";
|
|
|
15689
15717
|
goog.dom.TagName.WBR = "WBR";
|
|
15690
15718
|
goog.dom.element = {};
|
|
15691
15719
|
var module$contents$goog$dom$element_isElement = function(value) {
|
|
15692
|
-
return goog.isObject(value) && value.nodeType === goog
|
|
15720
|
+
return goog.isObject(value) && value.nodeType === module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
15693
15721
|
}, module$contents$goog$dom$element_isHtmlElement = function(value) {
|
|
15694
15722
|
return goog.isObject(value) && module$contents$goog$dom$element_isElement(value) && (!value.namespaceURI || value.namespaceURI === "http://www.w3.org/1999/xhtml");
|
|
15695
15723
|
}, module$contents$goog$dom$element_isHtmlElementOfType = function(value, tagName) {
|
|
@@ -15836,7 +15864,7 @@ module$contents$goog$math$Coordinate_Coordinate.magnitude = function(a) {
|
|
|
15836
15864
|
return Math.sqrt(a.x * a.x + a.y * a.y);
|
|
15837
15865
|
};
|
|
15838
15866
|
module$contents$goog$math$Coordinate_Coordinate.azimuth = function(a) {
|
|
15839
|
-
return goog
|
|
15867
|
+
return module$contents$goog$math_angle(0, 0, a.x, a.y);
|
|
15840
15868
|
};
|
|
15841
15869
|
module$contents$goog$math$Coordinate_Coordinate.squaredDistance = function(a, b) {
|
|
15842
15870
|
var dx = a.x - b.x, dy = a.y - b.y;
|
|
@@ -15879,72 +15907,73 @@ module$contents$goog$math$Coordinate_Coordinate.prototype.rotateRadians = functi
|
|
|
15879
15907
|
this.y = (x - center.x) * sin + (y - center.y) * cos + center.y;
|
|
15880
15908
|
};
|
|
15881
15909
|
module$contents$goog$math$Coordinate_Coordinate.prototype.rotateDegrees = function(degrees, opt_center) {
|
|
15882
|
-
this.rotateRadians(goog
|
|
15910
|
+
this.rotateRadians(module$contents$goog$math_toRadians(degrees), opt_center);
|
|
15883
15911
|
};
|
|
15884
15912
|
goog.math.Coordinate = module$contents$goog$math$Coordinate_Coordinate;
|
|
15885
|
-
goog
|
|
15913
|
+
function module$contents$goog$math$Size_Size(width, height) {
|
|
15886
15914
|
this.width = width;
|
|
15887
15915
|
this.height = height;
|
|
15888
|
-
}
|
|
15889
|
-
goog
|
|
15916
|
+
}
|
|
15917
|
+
module$contents$goog$math$Size_Size.equals = function(a, b) {
|
|
15890
15918
|
return a == b ? !0 : a && b ? a.width == b.width && a.height == b.height : !1;
|
|
15891
15919
|
};
|
|
15892
|
-
goog
|
|
15893
|
-
return new goog
|
|
15920
|
+
module$contents$goog$math$Size_Size.prototype.clone = function() {
|
|
15921
|
+
return new module$contents$goog$math$Size_Size(this.width, this.height);
|
|
15894
15922
|
};
|
|
15895
|
-
goog.DEBUG && (goog
|
|
15923
|
+
goog.DEBUG && (module$contents$goog$math$Size_Size.prototype.toString = function() {
|
|
15896
15924
|
return "(" + this.width + " x " + this.height + ")";
|
|
15897
15925
|
});
|
|
15898
|
-
goog
|
|
15926
|
+
module$contents$goog$math$Size_Size.prototype.getLongest = function() {
|
|
15899
15927
|
return Math.max(this.width, this.height);
|
|
15900
15928
|
};
|
|
15901
|
-
goog
|
|
15929
|
+
module$contents$goog$math$Size_Size.prototype.getShortest = function() {
|
|
15902
15930
|
return Math.min(this.width, this.height);
|
|
15903
15931
|
};
|
|
15904
|
-
goog
|
|
15932
|
+
module$contents$goog$math$Size_Size.prototype.area = function() {
|
|
15905
15933
|
return this.width * this.height;
|
|
15906
15934
|
};
|
|
15907
|
-
goog
|
|
15935
|
+
module$contents$goog$math$Size_Size.prototype.perimeter = function() {
|
|
15908
15936
|
return (this.width + this.height) * 2;
|
|
15909
15937
|
};
|
|
15910
|
-
goog
|
|
15938
|
+
module$contents$goog$math$Size_Size.prototype.aspectRatio = function() {
|
|
15911
15939
|
return this.width / this.height;
|
|
15912
15940
|
};
|
|
15913
|
-
goog
|
|
15941
|
+
module$contents$goog$math$Size_Size.prototype.isEmpty = function() {
|
|
15914
15942
|
return !this.area();
|
|
15915
15943
|
};
|
|
15916
|
-
goog
|
|
15944
|
+
module$contents$goog$math$Size_Size.prototype.ceil = function() {
|
|
15917
15945
|
this.width = Math.ceil(this.width);
|
|
15918
15946
|
this.height = Math.ceil(this.height);
|
|
15919
15947
|
return this;
|
|
15920
15948
|
};
|
|
15921
|
-
goog
|
|
15949
|
+
module$contents$goog$math$Size_Size.prototype.fitsInside = function(target) {
|
|
15922
15950
|
return this.width <= target.width && this.height <= target.height;
|
|
15923
15951
|
};
|
|
15924
|
-
goog
|
|
15952
|
+
module$contents$goog$math$Size_Size.prototype.floor = function() {
|
|
15925
15953
|
this.width = Math.floor(this.width);
|
|
15926
15954
|
this.height = Math.floor(this.height);
|
|
15927
15955
|
return this;
|
|
15928
15956
|
};
|
|
15929
|
-
goog
|
|
15957
|
+
module$contents$goog$math$Size_Size.prototype.round = function() {
|
|
15930
15958
|
this.width = Math.round(this.width);
|
|
15931
15959
|
this.height = Math.round(this.height);
|
|
15932
15960
|
return this;
|
|
15933
15961
|
};
|
|
15934
|
-
goog
|
|
15962
|
+
module$contents$goog$math$Size_Size.prototype.scale = function(sx, opt_sy) {
|
|
15935
15963
|
var sy;
|
|
15936
15964
|
this.width *= sx;
|
|
15937
15965
|
this.height *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
15938
15966
|
return this;
|
|
15939
15967
|
};
|
|
15940
|
-
goog
|
|
15968
|
+
module$contents$goog$math$Size_Size.prototype.scaleToCover = function(target) {
|
|
15941
15969
|
var s = this.aspectRatio() <= target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
15942
15970
|
return this.scale(s);
|
|
15943
15971
|
};
|
|
15944
|
-
goog
|
|
15972
|
+
module$contents$goog$math$Size_Size.prototype.scaleToFit = function(target) {
|
|
15945
15973
|
var s = this.aspectRatio() > target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
15946
15974
|
return this.scale(s);
|
|
15947
15975
|
};
|
|
15976
|
+
goog.math.Size = module$contents$goog$math$Size_Size;
|
|
15948
15977
|
goog.string.Const = function(opt_token, opt_content) {
|
|
15949
15978
|
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
15950
15979
|
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
@@ -17883,7 +17912,7 @@ goog.dom.getViewportSize = function(opt_window) {
|
|
|
17883
17912
|
};
|
|
17884
17913
|
goog.dom.getViewportSize_ = function(win) {
|
|
17885
17914
|
var doc = win.document, el = goog.dom.isCss1CompatMode_(doc) ? doc.documentElement : doc.body;
|
|
17886
|
-
return new goog
|
|
17915
|
+
return new module$contents$goog$math$Size_Size(el.clientWidth, el.clientHeight);
|
|
17887
17916
|
};
|
|
17888
17917
|
goog.dom.getDocumentHeight = function() {
|
|
17889
17918
|
return goog.dom.getDocumentHeight_(window);
|
|
@@ -18003,7 +18032,7 @@ goog.dom.isCss1CompatMode_ = function(doc) {
|
|
|
18003
18032
|
return goog.dom.COMPAT_MODE_KNOWN_ ? goog.dom.ASSUME_STANDARDS_MODE : doc.compatMode == "CSS1Compat";
|
|
18004
18033
|
};
|
|
18005
18034
|
goog.dom.canHaveChildren = function(node) {
|
|
18006
|
-
if (node.nodeType != goog
|
|
18035
|
+
if (node.nodeType != module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
18007
18036
|
return !1;
|
|
18008
18037
|
}
|
|
18009
18038
|
switch(node.tagName) {
|
|
@@ -18077,7 +18106,7 @@ goog.dom.copyContents = function(target, source) {
|
|
|
18077
18106
|
};
|
|
18078
18107
|
goog.dom.flattenElement = function(element) {
|
|
18079
18108
|
var child, parent = element.parentNode;
|
|
18080
|
-
if (parent && parent.nodeType != goog
|
|
18109
|
+
if (parent && parent.nodeType != module$contents$goog$dom$NodeType_NodeType.DOCUMENT_FRAGMENT) {
|
|
18081
18110
|
if (element.removeNode) {
|
|
18082
18111
|
return element.removeNode(!1);
|
|
18083
18112
|
}
|
|
@@ -18089,7 +18118,7 @@ goog.dom.flattenElement = function(element) {
|
|
|
18089
18118
|
};
|
|
18090
18119
|
goog.dom.getChildren = function(element) {
|
|
18091
18120
|
return goog.FEATURESET_YEAR > 2018 || element.children != void 0 ? element.children : Array.prototype.filter.call(element.childNodes, function(node) {
|
|
18092
|
-
return node.nodeType == goog
|
|
18121
|
+
return node.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18093
18122
|
});
|
|
18094
18123
|
};
|
|
18095
18124
|
goog.dom.getFirstElementChild = function(node) {
|
|
@@ -18105,7 +18134,7 @@ goog.dom.getPreviousElementSibling = function(node) {
|
|
|
18105
18134
|
return node.previousElementSibling !== void 0 ? node.previousElementSibling : goog.dom.getNextElementNode_(node.previousSibling, !1);
|
|
18106
18135
|
};
|
|
18107
18136
|
goog.dom.getNextElementNode_ = function(node, forward) {
|
|
18108
|
-
for (; node && node.nodeType != goog
|
|
18137
|
+
for (; node && node.nodeType != module$contents$goog$dom$NodeType_NodeType.ELEMENT;) {
|
|
18109
18138
|
node = forward ? node.nextSibling : node.previousSibling;
|
|
18110
18139
|
}
|
|
18111
18140
|
return node;
|
|
@@ -18138,7 +18167,7 @@ goog.dom.isNodeLike = function(obj) {
|
|
|
18138
18167
|
return goog.isObject(obj) && obj.nodeType > 0;
|
|
18139
18168
|
};
|
|
18140
18169
|
goog.dom.isElement = function(obj) {
|
|
18141
|
-
return goog.isObject(obj) && obj.nodeType == goog
|
|
18170
|
+
return goog.isObject(obj) && obj.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18142
18171
|
};
|
|
18143
18172
|
goog.dom.isWindow = function(obj) {
|
|
18144
18173
|
return goog.isObject(obj) && obj.window == obj;
|
|
@@ -18150,7 +18179,7 @@ goog.dom.contains = function(parent, descendant) {
|
|
|
18150
18179
|
if (!parent || !descendant) {
|
|
18151
18180
|
return !1;
|
|
18152
18181
|
}
|
|
18153
|
-
if (goog.FEATURESET_YEAR > 2018 || parent.contains && descendant.nodeType == goog
|
|
18182
|
+
if (goog.FEATURESET_YEAR > 2018 || parent.contains && descendant.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
18154
18183
|
return parent == descendant || parent.contains(descendant);
|
|
18155
18184
|
}
|
|
18156
18185
|
if (typeof parent.compareDocumentPosition != "undefined") {
|
|
@@ -18169,7 +18198,7 @@ goog.dom.compareNodeOrder = function(node1, node2) {
|
|
|
18169
18198
|
return node1.compareDocumentPosition(node2) & 2 ? 1 : -1;
|
|
18170
18199
|
}
|
|
18171
18200
|
if ("sourceIndex" in node1 || node1.parentNode && "sourceIndex" in node1.parentNode) {
|
|
18172
|
-
var isElement1 = node1.nodeType == goog
|
|
18201
|
+
var isElement1 = node1.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT, isElement2 = node2.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18173
18202
|
if (isElement1 && isElement2) {
|
|
18174
18203
|
return node1.sourceIndex - node2.sourceIndex;
|
|
18175
18204
|
}
|
|
@@ -18235,7 +18264,7 @@ goog.dom.isInDocument = function(node) {
|
|
|
18235
18264
|
};
|
|
18236
18265
|
goog.dom.getOwnerDocument = function(node) {
|
|
18237
18266
|
goog.asserts.assert(node, "Node cannot be null or undefined.");
|
|
18238
|
-
return node.nodeType == goog
|
|
18267
|
+
return node.nodeType == module$contents$goog$dom$NodeType_NodeType.DOCUMENT ? node : node.ownerDocument || node.document;
|
|
18239
18268
|
};
|
|
18240
18269
|
goog.dom.getFrameContentDocument = function(frame) {
|
|
18241
18270
|
return frame.contentDocument || frame.contentWindow.document;
|
|
@@ -18251,9 +18280,9 @@ goog.dom.setTextContent = function(node, text) {
|
|
|
18251
18280
|
goog.asserts.assert(node != null, "goog.dom.setTextContent expects a non-null value for node");
|
|
18252
18281
|
if ("textContent" in node) {
|
|
18253
18282
|
node.textContent = text;
|
|
18254
|
-
} else if (node.nodeType == goog
|
|
18283
|
+
} else if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18255
18284
|
node.data = String(text);
|
|
18256
|
-
} else if (node.firstChild && node.firstChild.nodeType == goog
|
|
18285
|
+
} else if (node.firstChild && node.firstChild.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18257
18286
|
for (; node.lastChild != node.firstChild;) {
|
|
18258
18287
|
node.removeChild(goog.asserts.assert(node.lastChild));
|
|
18259
18288
|
}
|
|
@@ -18316,7 +18345,7 @@ goog.dom.findElements = function(root, pred) {
|
|
|
18316
18345
|
return result;
|
|
18317
18346
|
};
|
|
18318
18347
|
goog.dom.getChildrenReverse_ = function(node) {
|
|
18319
|
-
if (node.nodeType == goog
|
|
18348
|
+
if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.DOCUMENT) {
|
|
18320
18349
|
return [node.documentElement];
|
|
18321
18350
|
}
|
|
18322
18351
|
for (var children = [], c = node.lastElementChild; c; c = c.previousElementSibling) {
|
|
@@ -18366,7 +18395,7 @@ goog.dom.getRawTextContent = function(node) {
|
|
|
18366
18395
|
};
|
|
18367
18396
|
goog.dom.getTextContent_ = function(node, buf, normalizeWhitespace) {
|
|
18368
18397
|
if (!(node.nodeName in goog.dom.TAGS_TO_IGNORE_)) {
|
|
18369
|
-
if (node.nodeType == goog
|
|
18398
|
+
if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18370
18399
|
normalizeWhitespace ? buf.push(String(node.nodeValue).replace(/(\r\n|\r|\n)/g, "")) : buf.push(node.nodeValue);
|
|
18371
18400
|
} else if (node.nodeName in goog.dom.PREDEFINED_TAG_VALUES_) {
|
|
18372
18401
|
buf.push(goog.dom.PREDEFINED_TAG_VALUES_[node.nodeName]);
|
|
@@ -18392,7 +18421,7 @@ goog.dom.getNodeTextOffset = function(node, opt_offsetParent) {
|
|
|
18392
18421
|
goog.dom.getNodeAtOffset = function(parent, offset, opt_result) {
|
|
18393
18422
|
for (var stack = [parent], pos = 0, cur = null; stack.length > 0 && pos < offset;) {
|
|
18394
18423
|
if (cur = stack.pop(), !(cur.nodeName in goog.dom.TAGS_TO_IGNORE_)) {
|
|
18395
|
-
if (cur.nodeType == goog
|
|
18424
|
+
if (cur.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18396
18425
|
var text = cur.nodeValue.replace(/(\r\n|\r|\n)/g, "").replace(/ +/g, " ");
|
|
18397
18426
|
pos += text.length;
|
|
18398
18427
|
} else if (cur.nodeName in goog.dom.PREDEFINED_TAG_VALUES_) {
|
|
@@ -18937,44 +18966,38 @@ goog.net.jsloader.Error = function(code, opt_message) {
|
|
|
18937
18966
|
};
|
|
18938
18967
|
goog.inherits(goog.net.jsloader.Error, module$contents$goog$debug$Error_DebugError);
|
|
18939
18968
|
goog.json = {};
|
|
18940
|
-
goog
|
|
18941
|
-
goog.json.isValid = function(s) {
|
|
18969
|
+
function module$contents$goog$json_isValid(s) {
|
|
18942
18970
|
return /^\s*$/.test(s) ? !1 : /^[\],:{}\s\u2028\u2029]*$/.test(s.replace(/\\["\\\/bfnrtu]/g, "@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g, "]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g, ""));
|
|
18943
|
-
}
|
|
18944
|
-
goog
|
|
18945
|
-
}
|
|
18946
|
-
goog.json.setErrorLogger = function(errorLogger) {
|
|
18947
|
-
goog.json.errorLogger_ = errorLogger;
|
|
18948
|
-
};
|
|
18949
|
-
goog.json.parse = goog.json.USE_NATIVE_JSON ? goog.global.JSON.parse : function(s) {
|
|
18971
|
+
}
|
|
18972
|
+
var module$contents$goog$json_errorLoggerInternal = function() {
|
|
18973
|
+
}, module$contents$goog$json_parse = function(s) {
|
|
18950
18974
|
try {
|
|
18951
18975
|
return goog.global.JSON.parse(s);
|
|
18952
18976
|
} catch (ex) {
|
|
18953
18977
|
var error = ex;
|
|
18954
18978
|
}
|
|
18955
18979
|
var o = String(s);
|
|
18956
|
-
if (goog
|
|
18980
|
+
if (module$contents$goog$json_isValid(o)) {
|
|
18957
18981
|
try {
|
|
18958
18982
|
var result = eval("(" + o + ")");
|
|
18959
|
-
error && goog
|
|
18983
|
+
error && module$contents$goog$json_errorLoggerInternal("Invalid JSON: " + o, error);
|
|
18960
18984
|
return result;
|
|
18961
18985
|
} catch (ex) {
|
|
18962
18986
|
}
|
|
18963
18987
|
}
|
|
18964
18988
|
throw Error("Invalid JSON string: " + o);
|
|
18989
|
+
}, module$contents$goog$json_serialize = function(object, opt_replacer) {
|
|
18990
|
+
return (new module$contents$goog$json_Serializer(opt_replacer)).serialize(object);
|
|
18965
18991
|
};
|
|
18966
|
-
|
|
18967
|
-
return (new goog.json.Serializer(opt_replacer)).serialize(object);
|
|
18968
|
-
};
|
|
18969
|
-
goog.json.Serializer = function(opt_replacer) {
|
|
18992
|
+
function module$contents$goog$json_Serializer(opt_replacer) {
|
|
18970
18993
|
this.replacer_ = opt_replacer;
|
|
18971
|
-
}
|
|
18972
|
-
goog.
|
|
18994
|
+
}
|
|
18995
|
+
module$contents$goog$json_Serializer.prototype.serialize = function(object) {
|
|
18973
18996
|
var sb = [];
|
|
18974
18997
|
this.serializeInternal(object, sb);
|
|
18975
18998
|
return sb.join("");
|
|
18976
18999
|
};
|
|
18977
|
-
goog.
|
|
19000
|
+
module$contents$goog$json_Serializer.prototype.serializeInternal = function(object, sb) {
|
|
18978
19001
|
if (object == null) {
|
|
18979
19002
|
sb.push("null");
|
|
18980
19003
|
} else {
|
|
@@ -19008,19 +19031,19 @@ goog.json.Serializer.prototype.serializeInternal = function(object, sb) {
|
|
|
19008
19031
|
}
|
|
19009
19032
|
}
|
|
19010
19033
|
};
|
|
19011
|
-
goog.
|
|
19012
|
-
goog.
|
|
19013
|
-
goog.
|
|
19014
|
-
sb.push('"', s.replace(goog.
|
|
19015
|
-
var rv = goog.
|
|
19016
|
-
rv || (rv = "\\u" + (c.charCodeAt(0) | 65536).toString(16).slice(1), goog.
|
|
19034
|
+
module$contents$goog$json_Serializer.charToJsonCharCache_ = {'"':'\\"', "\\":"\\\\", "/":"\\/", "\b":"\\b", "\f":"\\f", "\n":"\\n", "\r":"\\r", "\t":"\\t", "\v":"\\u000b"};
|
|
19035
|
+
module$contents$goog$json_Serializer.charsToReplace_ = /\uffff/.test("\uffff") ? /[\\"\x00-\x1f\x7f-\uffff]/g : /[\\"\x00-\x1f\x7f-\xff]/g;
|
|
19036
|
+
module$contents$goog$json_Serializer.prototype.serializeString_ = function(s, sb) {
|
|
19037
|
+
sb.push('"', s.replace(module$contents$goog$json_Serializer.charsToReplace_, function(c) {
|
|
19038
|
+
var rv = module$contents$goog$json_Serializer.charToJsonCharCache_[c];
|
|
19039
|
+
rv || (rv = "\\u" + (c.charCodeAt(0) | 65536).toString(16).slice(1), module$contents$goog$json_Serializer.charToJsonCharCache_[c] = rv);
|
|
19017
19040
|
return rv;
|
|
19018
19041
|
}), '"');
|
|
19019
19042
|
};
|
|
19020
|
-
goog.
|
|
19043
|
+
module$contents$goog$json_Serializer.prototype.serializeNumber_ = function(n, sb) {
|
|
19021
19044
|
sb.push(isFinite(n) && !isNaN(n) ? String(n) : "null");
|
|
19022
19045
|
};
|
|
19023
|
-
goog.
|
|
19046
|
+
module$contents$goog$json_Serializer.prototype.serializeArray = function(arr, sb) {
|
|
19024
19047
|
var l = arr.length;
|
|
19025
19048
|
sb.push("[");
|
|
19026
19049
|
for (var sep = "", i = 0; i < l; i++) {
|
|
@@ -19031,7 +19054,7 @@ goog.json.Serializer.prototype.serializeArray = function(arr, sb) {
|
|
|
19031
19054
|
}
|
|
19032
19055
|
sb.push("]");
|
|
19033
19056
|
};
|
|
19034
|
-
goog.
|
|
19057
|
+
module$contents$goog$json_Serializer.prototype.serializeObject_ = function(obj, sb) {
|
|
19035
19058
|
sb.push("{");
|
|
19036
19059
|
var sep = "", key;
|
|
19037
19060
|
for (key in obj) {
|
|
@@ -19042,16 +19065,17 @@ goog.json.Serializer.prototype.serializeObject_ = function(obj, sb) {
|
|
|
19042
19065
|
}
|
|
19043
19066
|
sb.push("}");
|
|
19044
19067
|
};
|
|
19045
|
-
goog.json.
|
|
19046
|
-
|
|
19047
|
-
|
|
19048
|
-
|
|
19049
|
-
|
|
19050
|
-
|
|
19051
|
-
|
|
19052
|
-
|
|
19053
|
-
|
|
19068
|
+
goog.json.Replacer = void 0;
|
|
19069
|
+
goog.json.Reviver = void 0;
|
|
19070
|
+
goog.json.Serializer = module$contents$goog$json_Serializer;
|
|
19071
|
+
goog.json.USE_NATIVE_JSON = !1;
|
|
19072
|
+
goog.json.isValid = module$contents$goog$json_isValid;
|
|
19073
|
+
goog.json.parse = module$contents$goog$json_parse;
|
|
19074
|
+
goog.json.serialize = module$contents$goog$json_serialize;
|
|
19075
|
+
goog.json.setErrorLogger = function(errorLogger) {
|
|
19076
|
+
module$contents$goog$json_errorLoggerInternal = errorLogger;
|
|
19054
19077
|
};
|
|
19078
|
+
goog.json.hybrid = {};
|
|
19055
19079
|
function module$contents$goog$json$hybrid_parseInternal(jsonString, fallbackParser) {
|
|
19056
19080
|
if (goog.global.JSON) {
|
|
19057
19081
|
try {
|
|
@@ -19063,38 +19087,46 @@ function module$contents$goog$json$hybrid_parseInternal(jsonString, fallbackPars
|
|
|
19063
19087
|
}
|
|
19064
19088
|
return fallbackParser(jsonString);
|
|
19065
19089
|
}
|
|
19066
|
-
var module$contents$goog$json$hybrid_parse =
|
|
19067
|
-
return module$contents$goog$json$hybrid_parseInternal(jsonString, goog
|
|
19090
|
+
var module$contents$goog$json$hybrid_parse = function(jsonString) {
|
|
19091
|
+
return module$contents$goog$json$hybrid_parseInternal(jsonString, module$contents$goog$json_parse);
|
|
19068
19092
|
};
|
|
19069
19093
|
goog.json.hybrid.parse = module$contents$goog$json$hybrid_parse;
|
|
19070
|
-
goog.json.hybrid.stringify =
|
|
19071
|
-
goog.
|
|
19072
|
-
|
|
19094
|
+
goog.json.hybrid.stringify = function(obj) {
|
|
19095
|
+
if (goog.global.JSON) {
|
|
19096
|
+
try {
|
|
19097
|
+
return goog.global.JSON.stringify(obj);
|
|
19098
|
+
} catch (e) {
|
|
19099
|
+
}
|
|
19100
|
+
}
|
|
19101
|
+
return module$contents$goog$json_serialize(obj);
|
|
19102
|
+
};
|
|
19103
|
+
var module$contents$goog$net$ErrorCode_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, getDebugMessage:function(errorCode) {
|
|
19073
19104
|
switch(errorCode) {
|
|
19074
|
-
case goog
|
|
19105
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR:
|
|
19075
19106
|
return "No Error";
|
|
19076
|
-
case goog
|
|
19107
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.ACCESS_DENIED:
|
|
19077
19108
|
return "Access denied to content document";
|
|
19078
|
-
case goog
|
|
19109
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.FILE_NOT_FOUND:
|
|
19079
19110
|
return "File not found";
|
|
19080
|
-
case goog
|
|
19111
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.FF_SILENT_ERROR:
|
|
19081
19112
|
return "Firefox silently errored";
|
|
19082
|
-
case goog
|
|
19113
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.CUSTOM_ERROR:
|
|
19083
19114
|
return "Application custom error";
|
|
19084
|
-
case goog
|
|
19115
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION:
|
|
19085
19116
|
return "An exception occurred";
|
|
19086
|
-
case goog
|
|
19117
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.HTTP_ERROR:
|
|
19087
19118
|
return "Http response at 400 or 500 level";
|
|
19088
|
-
case goog
|
|
19119
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.ABORT:
|
|
19089
19120
|
return "Request was aborted";
|
|
19090
|
-
case goog
|
|
19121
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT:
|
|
19091
19122
|
return "Request timed out";
|
|
19092
|
-
case goog
|
|
19123
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.OFFLINE:
|
|
19093
19124
|
return "The resource is not available offline";
|
|
19094
19125
|
default:
|
|
19095
19126
|
return "Unrecognized error code";
|
|
19096
19127
|
}
|
|
19097
|
-
};
|
|
19128
|
+
}};
|
|
19129
|
+
goog.net.ErrorCode = module$contents$goog$net$ErrorCode_ErrorCode;
|
|
19098
19130
|
goog.net.EventType = {COMPLETE:"complete", SUCCESS:"success", ERROR:"error", ABORT:"abort", READY:"ready", READY_STATE_CHANGE:"readystatechange", TIMEOUT:"timeout", INCREMENTAL_DATA:"incrementaldata", PROGRESS:"progress", DOWNLOAD_PROGRESS:"downloadprogress", UPLOAD_PROGRESS:"uploadprogress"};
|
|
19099
19131
|
goog.net.HttpStatus = {CONTINUE:100, SWITCHING_PROTOCOLS:101, OK:200, CREATED:201, ACCEPTED:202, NON_AUTHORITATIVE_INFORMATION:203, NO_CONTENT:204, RESET_CONTENT:205, PARTIAL_CONTENT:206, MULTI_STATUS:207, MULTIPLE_CHOICES:300, MOVED_PERMANENTLY:301, FOUND:302, SEE_OTHER:303, NOT_MODIFIED:304, USE_PROXY:305, TEMPORARY_REDIRECT:307, PERMANENT_REDIRECT:308, BAD_REQUEST:400, UNAUTHORIZED:401, PAYMENT_REQUIRED:402, FORBIDDEN:403, NOT_FOUND:404, METHOD_NOT_ALLOWED:405, NOT_ACCEPTABLE:406, PROXY_AUTHENTICATION_REQUIRED:407,
|
|
19100
19132
|
REQUEST_TIMEOUT:408, CONFLICT:409, GONE:410, LENGTH_REQUIRED:411, PRECONDITION_FAILED:412, REQUEST_ENTITY_TOO_LARGE:413, REQUEST_URI_TOO_LONG:414, UNSUPPORTED_MEDIA_TYPE:415, REQUEST_RANGE_NOT_SATISFIABLE:416, EXPECTATION_FAILED:417, UNPROCESSABLE_ENTITY:422, LOCKED:423, FAILED_DEPENDENCY:424, PRECONDITION_REQUIRED:428, TOO_MANY_REQUESTS:429, REQUEST_HEADER_FIELDS_TOO_LARGE:431, CLIENT_CLOSED_REQUEST:499, INTERNAL_SERVER_ERROR:500, NOT_IMPLEMENTED:501, BAD_GATEWAY:502, SERVICE_UNAVAILABLE:503, GATEWAY_TIMEOUT:504,
|
|
@@ -19113,22 +19145,24 @@ goog.net.HttpStatus.isSuccess = function(status) {
|
|
|
19113
19145
|
return !1;
|
|
19114
19146
|
}
|
|
19115
19147
|
};
|
|
19116
|
-
goog
|
|
19117
|
-
}
|
|
19118
|
-
goog
|
|
19148
|
+
function module$contents$goog$net$XhrLike_XhrLike() {
|
|
19149
|
+
}
|
|
19150
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.open = function(method, url, opt_async, opt_user, opt_password) {
|
|
19119
19151
|
};
|
|
19120
|
-
goog
|
|
19152
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.send = function(opt_data) {
|
|
19121
19153
|
};
|
|
19122
|
-
goog
|
|
19154
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.abort = function() {
|
|
19123
19155
|
};
|
|
19124
|
-
goog
|
|
19156
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.setRequestHeader = function(header, value) {
|
|
19125
19157
|
};
|
|
19126
|
-
goog
|
|
19158
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.getResponseHeader = function(header) {
|
|
19127
19159
|
};
|
|
19128
|
-
goog
|
|
19160
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.getAllResponseHeaders = function() {
|
|
19129
19161
|
};
|
|
19130
|
-
goog
|
|
19162
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.setTrustToken = function(trustTokenAttribute) {
|
|
19131
19163
|
};
|
|
19164
|
+
goog.net.XhrLike = module$contents$goog$net$XhrLike_XhrLike;
|
|
19165
|
+
module$contents$goog$net$XhrLike_XhrLike.OrNative = void 0;
|
|
19132
19166
|
function module$contents$goog$net$XmlHttpFactory_XmlHttpFactory() {
|
|
19133
19167
|
}
|
|
19134
19168
|
goog.net.XmlHttpFactory = module$contents$goog$net$XmlHttpFactory_XmlHttpFactory;
|
|
@@ -19153,7 +19187,7 @@ goog.net.XhrIo = function(opt_xmlHttpFactory) {
|
|
|
19153
19187
|
this.active_ = !1;
|
|
19154
19188
|
this.xhr_ = null;
|
|
19155
19189
|
this.lastMethod_ = this.lastUri_ = "";
|
|
19156
|
-
this.lastErrorCode_ = goog
|
|
19190
|
+
this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR;
|
|
19157
19191
|
this.lastError_ = "";
|
|
19158
19192
|
this.inAbort_ = this.inOpen_ = this.inSend_ = this.errorDispatched_ = !1;
|
|
19159
19193
|
this.timeoutInterval_ = 0;
|
|
@@ -19237,7 +19271,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19237
19271
|
var method = opt_method ? opt_method.toUpperCase() : "GET";
|
|
19238
19272
|
this.lastUri_ = url;
|
|
19239
19273
|
this.lastError_ = "";
|
|
19240
|
-
this.lastErrorCode_ = goog
|
|
19274
|
+
this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR;
|
|
19241
19275
|
this.lastMethod_ = method;
|
|
19242
19276
|
this.errorDispatched_ = !1;
|
|
19243
19277
|
this.active_ = !0;
|
|
@@ -19250,7 +19284,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19250
19284
|
goog.log.fine(this.logger_, this.formatMsg_("Opening Xhr")), this.inOpen_ = !0, this.xhr_.open(method, String(url), !0), this.inOpen_ = !1;
|
|
19251
19285
|
} catch (err) {
|
|
19252
19286
|
goog.log.fine(this.logger_, this.formatMsg_("Error opening Xhr: " + err.message));
|
|
19253
|
-
this.error_(goog
|
|
19287
|
+
this.error_(module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION, err);
|
|
19254
19288
|
return;
|
|
19255
19289
|
}
|
|
19256
19290
|
var content = opt_content || "", headers = new Map(this.headers);
|
|
@@ -19295,14 +19329,14 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19295
19329
|
try {
|
|
19296
19330
|
this.cleanUpTimeoutTimer_(), this.timeoutInterval_ > 0 && (goog.log.fine(this.logger_, this.formatMsg_("Will abort after " + this.timeoutInterval_ + "ms if incomplete")), this.timeoutId_ = setTimeout(this.timeout_.bind(this), this.timeoutInterval_)), goog.log.fine(this.logger_, this.formatMsg_("Sending request")), this.inSend_ = !0, this.xhr_.send(content), this.inSend_ = !1;
|
|
19297
19331
|
} catch (err) {
|
|
19298
|
-
goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err.message)), this.error_(goog
|
|
19332
|
+
goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err.message)), this.error_(module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION, err);
|
|
19299
19333
|
}
|
|
19300
19334
|
};
|
|
19301
19335
|
goog.net.XhrIo.prototype.createXhr = function() {
|
|
19302
19336
|
return this.xmlHttpFactory_ ? this.xmlHttpFactory_.createInstance() : goog.net.XmlHttp();
|
|
19303
19337
|
};
|
|
19304
19338
|
goog.net.XhrIo.prototype.timeout_ = function() {
|
|
19305
|
-
typeof goog != "undefined" && this.xhr_ && (this.lastError_ = "Timed out after " + this.timeoutInterval_ + "ms, aborting", this.lastErrorCode_ = goog
|
|
19339
|
+
typeof goog != "undefined" && this.xhr_ && (this.lastError_ = "Timed out after " + this.timeoutInterval_ + "ms, aborting", this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT, goog.log.fine(this.logger_, this.formatMsg_(this.lastError_)), this.dispatchEvent(goog.net.EventType.TIMEOUT), this.abort(module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT));
|
|
19306
19340
|
};
|
|
19307
19341
|
goog.net.XhrIo.prototype.error_ = function(errorCode, err) {
|
|
19308
19342
|
this.active_ = !1;
|
|
@@ -19316,7 +19350,7 @@ goog.net.XhrIo.prototype.dispatchErrors_ = function() {
|
|
|
19316
19350
|
this.errorDispatched_ || (this.errorDispatched_ = !0, this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.ERROR));
|
|
19317
19351
|
};
|
|
19318
19352
|
goog.net.XhrIo.prototype.abort = function(opt_failureCode) {
|
|
19319
|
-
this.xhr_ && this.active_ && (goog.log.fine(this.logger_, this.formatMsg_("Aborting")), this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1, this.lastErrorCode_ = opt_failureCode || goog
|
|
19353
|
+
this.xhr_ && this.active_ && (goog.log.fine(this.logger_, this.formatMsg_("Aborting")), this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1, this.lastErrorCode_ = opt_failureCode || module$contents$goog$net$ErrorCode_ErrorCode.ABORT, this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.ABORT), this.cleanUpXhr_());
|
|
19320
19354
|
};
|
|
19321
19355
|
goog.net.XhrIo.prototype.disposeInternal = function() {
|
|
19322
19356
|
this.xhr_ && (this.active_ && (this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1), this.cleanUpXhr_(!0));
|
|
@@ -19343,7 +19377,7 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
|
|
|
19343
19377
|
goog.log.fine(this.logger_, this.formatMsg_("Request complete"));
|
|
19344
19378
|
this.active_ = !1;
|
|
19345
19379
|
try {
|
|
19346
|
-
this.isSuccess() ? (this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.SUCCESS)) : (this.lastErrorCode_ = goog
|
|
19380
|
+
this.isSuccess() ? (this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.SUCCESS)) : (this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.HTTP_ERROR, this.lastError_ = this.getStatusText() + " [" + this.getStatus() + "]", this.dispatchErrors_());
|
|
19347
19381
|
} finally {
|
|
19348
19382
|
this.cleanUpXhr_();
|
|
19349
19383
|
}
|
|
@@ -19386,7 +19420,7 @@ goog.net.XhrIo.prototype.isSuccess = function() {
|
|
|
19386
19420
|
return goog.net.HttpStatus.isSuccess(status) || status === 0 && !this.isLastUriEffectiveSchemeHttp_();
|
|
19387
19421
|
};
|
|
19388
19422
|
goog.net.XhrIo.prototype.isLastUriEffectiveSchemeHttp_ = function() {
|
|
19389
|
-
var scheme = goog
|
|
19423
|
+
var scheme = module$contents$goog$uri$utils_getEffectiveScheme(String(this.lastUri_));
|
|
19390
19424
|
return goog.net.XhrIo.HTTP_SCHEME_PATTERN.test(scheme);
|
|
19391
19425
|
};
|
|
19392
19426
|
goog.net.XhrIo.prototype.getReadyState = function() {
|
|
@@ -19510,7 +19544,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19510
19544
|
ee.apiclient = {};
|
|
19511
19545
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19512
19546
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19513
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19547
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.4";
|
|
19514
19548
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19515
19549
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19516
19550
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19815,8 +19849,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19815
19849
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19816
19850
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19817
19851
|
method = method || "POST";
|
|
19818
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19819
|
-
version === "1.7.
|
|
19852
|
+
var headers = {"Content-Type":contentType}, version = "1.7.4";
|
|
19853
|
+
version === "1.7.4" && (version = "latest");
|
|
19820
19854
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19821
19855
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19822
19856
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -20920,7 +20954,7 @@ ee.Serializer = function(opt_isCompound) {
|
|
|
20920
20954
|
this.unboundName = void 0;
|
|
20921
20955
|
};
|
|
20922
20956
|
goog.exportSymbol("ee.Serializer", ee.Serializer);
|
|
20923
|
-
ee.Serializer.jsonSerializer_ = new goog
|
|
20957
|
+
ee.Serializer.jsonSerializer_ = new module$contents$goog$json_Serializer();
|
|
20924
20958
|
ee.Serializer.hash_ = new module$contents$goog$crypt$Md5_Md5();
|
|
20925
20959
|
ee.Serializer.encode = function(obj, opt_isCompound) {
|
|
20926
20960
|
return (new ee.Serializer(opt_isCompound !== void 0 ? opt_isCompound : !0)).encode_(obj);
|
|
@@ -21397,7 +21431,7 @@ ee.rpc_convert_batch.buildDriveDestination_ = function(params) {
|
|
|
21397
21431
|
return new module$exports$eeapiclient$ee_api_client.DriveDestination({folder:stringOrNull_(params.driveFolder), filenamePrefix:stringOrNull_(params.driveFileNamePrefix)});
|
|
21398
21432
|
};
|
|
21399
21433
|
ee.rpc_convert_batch.buildEarthEngineDestination_ = function(params) {
|
|
21400
|
-
return new module$exports$eeapiclient$ee_api_client.EarthEngineDestination({name:ee.rpc_convert.assetIdToAssetName(params.assetId)});
|
|
21434
|
+
return new module$exports$eeapiclient$ee_api_client.EarthEngineDestination({name:ee.rpc_convert.assetIdToAssetName(params.assetId), overwrite:!!params.overwrite});
|
|
21401
21435
|
};
|
|
21402
21436
|
ee.rpc_convert_batch.buildFeatureViewDestination_ = function(params) {
|
|
21403
21437
|
return new module$exports$eeapiclient$ee_api_client.FeatureViewDestination({name:ee.rpc_convert.assetIdToAssetName(params.mapName)});
|
|
@@ -22788,7 +22822,7 @@ ee.Geometry = function(geoJson, opt_proj, opt_geodesic, opt_evenOdd) {
|
|
|
22788
22822
|
if (goog.isObject(geoJson.crs) && geoJson.crs.type == "name" && goog.isObject(geoJson.crs.properties) && typeof geoJson.crs.properties.name === "string") {
|
|
22789
22823
|
this.proj_ = geoJson.crs.properties.name;
|
|
22790
22824
|
} else {
|
|
22791
|
-
throw Error("Invalid CRS declaration in GeoJSON: " + (new goog
|
|
22825
|
+
throw Error("Invalid CRS declaration in GeoJSON: " + (new module$contents$goog$json_Serializer()).serialize(geoJson.crs));
|
|
22792
22826
|
}
|
|
22793
22827
|
}
|
|
22794
22828
|
this.geodesic_ = opt_geodesic;
|
|
@@ -22951,7 +22985,7 @@ ee.Geometry.prototype.toGeoJSONString = function() {
|
|
|
22951
22985
|
if (this.func) {
|
|
22952
22986
|
throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");
|
|
22953
22987
|
}
|
|
22954
|
-
return (new goog
|
|
22988
|
+
return (new module$contents$goog$json_Serializer()).serialize(this.toGeoJSON());
|
|
22955
22989
|
};
|
|
22956
22990
|
goog.exportProperty(ee.Geometry.prototype, "toGeoJSONString", ee.Geometry.prototype.toGeoJSONString);
|
|
22957
22991
|
ee.Geometry.prototype.serialize = function(legacy) {
|
|
@@ -23981,7 +24015,7 @@ module$contents$ee$batch_ExportTask.prototype.start = function(opt_success, opt_
|
|
|
23981
24015
|
}
|
|
23982
24016
|
};
|
|
23983
24017
|
goog.exportProperty(module$contents$ee$batch_ExportTask.prototype, "start", module$contents$ee$batch_ExportTask.prototype.start);
|
|
23984
|
-
module$contents$ee$batch_Export.image.toAsset = function(image, opt_description, opt_assetId, opt_pyramidingPolicy, opt_dimensions, opt_region, opt_scale, opt_crs, opt_crsTransform, opt_maxPixels, opt_shardSize, opt_priority) {
|
|
24018
|
+
module$contents$ee$batch_Export.image.toAsset = function(image, opt_description, opt_assetId, opt_pyramidingPolicy, opt_dimensions, opt_region, opt_scale, opt_crs, opt_crsTransform, opt_maxPixels, opt_shardSize, opt_priority, opt_overwrite) {
|
|
23985
24019
|
var clientConfig = ee.arguments.extractFromFunction(module$contents$ee$batch_Export.image.toAsset, arguments), serverConfig = module$contents$ee$batch_Export.convertToServerParams(clientConfig, ee.data.ExportDestination.ASSET, ee.data.ExportType.IMAGE);
|
|
23986
24020
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
23987
24021
|
};
|
|
@@ -24013,7 +24047,7 @@ module$contents$ee$batch_Export.table.toDrive = function(collection, opt_descrip
|
|
|
24013
24047
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
24014
24048
|
};
|
|
24015
24049
|
goog.exportSymbol("module$contents$ee$batch_Export.table.toDrive", module$contents$ee$batch_Export.table.toDrive);
|
|
24016
|
-
module$contents$ee$batch_Export.table.toAsset = function(collection, opt_description, opt_assetId, opt_maxVertices, opt_priority) {
|
|
24050
|
+
module$contents$ee$batch_Export.table.toAsset = function(collection, opt_description, opt_assetId, opt_maxVertices, opt_priority, opt_overwrite) {
|
|
24017
24051
|
var clientConfig = ee.arguments.extractFromFunction(module$contents$ee$batch_Export.table.toAsset, arguments), serverConfig = module$contents$ee$batch_Export.convertToServerParams(clientConfig, ee.data.ExportDestination.ASSET, ee.data.ExportType.TABLE);
|
|
24018
24052
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
24019
24053
|
};
|
|
@@ -24149,6 +24183,7 @@ module$contents$ee$batch_Export.prepareDestination_ = function(taskConfig, desti
|
|
|
24149
24183
|
break;
|
|
24150
24184
|
case ee.data.ExportDestination.ASSET:
|
|
24151
24185
|
taskConfig.assetId = taskConfig.assetId || "";
|
|
24186
|
+
taskConfig.overwrite = taskConfig.overwrite || !1;
|
|
24152
24187
|
break;
|
|
24153
24188
|
case ee.data.ExportDestination.FEATURE_VIEW:
|
|
24154
24189
|
taskConfig.mapName = taskConfig.mapName || "";
|
|
@@ -25077,21 +25112,21 @@ module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.LayerStatsFo
|
|
|
25077
25112
|
module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.Summary = function() {
|
|
25078
25113
|
};
|
|
25079
25114
|
ee.layers.AbstractOverlayStats = module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats;
|
|
25080
|
-
goog
|
|
25115
|
+
function module$contents$goog$events$EventHandler_EventHandler(opt_scope) {
|
|
25081
25116
|
goog.Disposable.call(this);
|
|
25082
25117
|
this.handler_ = opt_scope;
|
|
25083
25118
|
this.keys_ = {};
|
|
25084
|
-
}
|
|
25085
|
-
goog.inherits(goog
|
|
25086
|
-
goog
|
|
25087
|
-
goog
|
|
25119
|
+
}
|
|
25120
|
+
goog.inherits(module$contents$goog$events$EventHandler_EventHandler, goog.Disposable);
|
|
25121
|
+
module$contents$goog$events$EventHandler_EventHandler.typeArray_ = [];
|
|
25122
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listen = function(src, type, opt_fn, opt_options) {
|
|
25088
25123
|
return this.listen_(src, type, opt_fn, opt_options);
|
|
25089
25124
|
};
|
|
25090
|
-
goog
|
|
25125
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithScope = function(src, type, fn, options, scope) {
|
|
25091
25126
|
return this.listen_(src, type, fn, options, scope);
|
|
25092
25127
|
};
|
|
25093
|
-
goog
|
|
25094
|
-
Array.isArray(type) || (type && (goog
|
|
25128
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listen_ = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25129
|
+
Array.isArray(type) || (type && (module$contents$goog$events$EventHandler_EventHandler.typeArray_[0] = type.toString()), type = module$contents$goog$events$EventHandler_EventHandler.typeArray_);
|
|
25095
25130
|
for (var i = 0; i < type.length; i++) {
|
|
25096
25131
|
var listenerObj = goog.events.listen(src, type[i], opt_fn || this.handleEvent, opt_options || !1, opt_scope || this.handler_ || this);
|
|
25097
25132
|
if (!listenerObj) {
|
|
@@ -25101,13 +25136,13 @@ goog.events.EventHandler.prototype.listen_ = function(src, type, opt_fn, opt_opt
|
|
|
25101
25136
|
}
|
|
25102
25137
|
return this;
|
|
25103
25138
|
};
|
|
25104
|
-
goog
|
|
25139
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnce = function(src, type, opt_fn, opt_options) {
|
|
25105
25140
|
return this.listenOnce_(src, type, opt_fn, opt_options);
|
|
25106
25141
|
};
|
|
25107
|
-
goog
|
|
25142
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnceWithScope = function(src, type, fn, capture, scope) {
|
|
25108
25143
|
return this.listenOnce_(src, type, fn, capture, scope);
|
|
25109
25144
|
};
|
|
25110
|
-
goog
|
|
25145
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnce_ = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25111
25146
|
if (Array.isArray(type)) {
|
|
25112
25147
|
for (var i = 0; i < type.length; i++) {
|
|
25113
25148
|
this.listenOnce_(src, type[i], opt_fn, opt_options, opt_scope);
|
|
@@ -25121,24 +25156,24 @@ goog.events.EventHandler.prototype.listenOnce_ = function(src, type, opt_fn, opt
|
|
|
25121
25156
|
}
|
|
25122
25157
|
return this;
|
|
25123
25158
|
};
|
|
25124
|
-
goog
|
|
25159
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapper = function(src, wrapper, listener, opt_capt) {
|
|
25125
25160
|
return this.listenWithWrapper_(src, wrapper, listener, opt_capt);
|
|
25126
25161
|
};
|
|
25127
|
-
goog
|
|
25162
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapperAndScope = function(src, wrapper, listener, capture, scope) {
|
|
25128
25163
|
return this.listenWithWrapper_(src, wrapper, listener, capture, scope);
|
|
25129
25164
|
};
|
|
25130
|
-
goog
|
|
25165
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapper_ = function(src, wrapper, listener, opt_capt, opt_scope) {
|
|
25131
25166
|
wrapper.listen(src, listener, opt_capt, opt_scope || this.handler_ || this, this);
|
|
25132
25167
|
return this;
|
|
25133
25168
|
};
|
|
25134
|
-
goog
|
|
25169
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.getListenerCount = function() {
|
|
25135
25170
|
var count = 0, key;
|
|
25136
25171
|
for (key in this.keys_) {
|
|
25137
25172
|
Object.prototype.hasOwnProperty.call(this.keys_, key) && count++;
|
|
25138
25173
|
}
|
|
25139
25174
|
return count;
|
|
25140
25175
|
};
|
|
25141
|
-
goog
|
|
25176
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.unlisten = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25142
25177
|
if (Array.isArray(type)) {
|
|
25143
25178
|
for (var i = 0; i < type.length; i++) {
|
|
25144
25179
|
this.unlisten(src, type[i], opt_fn, opt_options, opt_scope);
|
|
@@ -25149,41 +25184,42 @@ goog.events.EventHandler.prototype.unlisten = function(src, type, opt_fn, opt_op
|
|
|
25149
25184
|
}
|
|
25150
25185
|
return this;
|
|
25151
25186
|
};
|
|
25152
|
-
goog
|
|
25187
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.unlistenWithWrapper = function(src, wrapper, listener, opt_capt, opt_scope) {
|
|
25153
25188
|
wrapper.unlisten(src, listener, opt_capt, opt_scope || this.handler_ || this, this);
|
|
25154
25189
|
return this;
|
|
25155
25190
|
};
|
|
25156
|
-
goog
|
|
25191
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.removeAll = function() {
|
|
25157
25192
|
module$contents$goog$object_forEach(this.keys_, function(listenerObj, key) {
|
|
25158
25193
|
this.keys_.hasOwnProperty(key) && goog.events.unlistenByKey(listenerObj);
|
|
25159
25194
|
}, this);
|
|
25160
25195
|
this.keys_ = {};
|
|
25161
25196
|
};
|
|
25162
|
-
goog
|
|
25163
|
-
goog
|
|
25197
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.disposeInternal = function() {
|
|
25198
|
+
module$contents$goog$events$EventHandler_EventHandler.superClass_.disposeInternal.call(this);
|
|
25164
25199
|
this.removeAll();
|
|
25165
25200
|
};
|
|
25166
|
-
goog
|
|
25201
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.handleEvent = function(e) {
|
|
25167
25202
|
throw Error("EventHandler.handleEvent not implemented");
|
|
25168
25203
|
};
|
|
25204
|
+
goog.events.EventHandler = module$contents$goog$events$EventHandler_EventHandler;
|
|
25169
25205
|
goog.fs = {};
|
|
25170
|
-
goog
|
|
25171
|
-
}
|
|
25172
|
-
goog
|
|
25206
|
+
function module$contents$goog$fs$Error_DOMErrorLike() {
|
|
25207
|
+
}
|
|
25208
|
+
function module$contents$goog$fs$Error_FsError(error, action) {
|
|
25173
25209
|
if (error.name !== void 0) {
|
|
25174
|
-
this.name = error.name, this.code = goog
|
|
25210
|
+
this.name = error.name, this.code = module$contents$goog$fs$Error_FsError.getCodeFromName_(error.name);
|
|
25175
25211
|
} else {
|
|
25176
25212
|
var code = goog.asserts.assertNumber(error.code);
|
|
25177
25213
|
this.code = code;
|
|
25178
|
-
this.name = goog
|
|
25214
|
+
this.name = module$contents$goog$fs$Error_FsError.getNameFromCode_(code);
|
|
25179
25215
|
}
|
|
25180
25216
|
module$contents$goog$debug$Error_DebugError.call(this, goog.string.subs("%s %s", this.name, action));
|
|
25181
|
-
}
|
|
25182
|
-
goog.inherits(goog
|
|
25183
|
-
goog
|
|
25184
|
-
goog
|
|
25185
|
-
goog
|
|
25186
|
-
var name = module$contents$goog$object_findKey(goog
|
|
25217
|
+
}
|
|
25218
|
+
goog.inherits(module$contents$goog$fs$Error_FsError, module$contents$goog$debug$Error_DebugError);
|
|
25219
|
+
module$contents$goog$fs$Error_FsError.ErrorName = {ABORT:"AbortError", ENCODING:"EncodingError", INVALID_MODIFICATION:"InvalidModificationError", INVALID_STATE:"InvalidStateError", NOT_FOUND:"NotFoundError", NOT_READABLE:"NotReadableError", NO_MODIFICATION_ALLOWED:"NoModificationAllowedError", PATH_EXISTS:"PathExistsError", QUOTA_EXCEEDED:"QuotaExceededError", SECURITY:"SecurityError", SYNTAX:"SyntaxError", TYPE_MISMATCH:"TypeMismatchError"};
|
|
25220
|
+
module$contents$goog$fs$Error_FsError.ErrorCode = {NOT_FOUND:1, SECURITY:2, ABORT:3, NOT_READABLE:4, ENCODING:5, NO_MODIFICATION_ALLOWED:6, INVALID_STATE:7, SYNTAX:8, INVALID_MODIFICATION:9, QUOTA_EXCEEDED:10, TYPE_MISMATCH:11, PATH_EXISTS:12};
|
|
25221
|
+
module$contents$goog$fs$Error_FsError.getNameFromCode_ = function(code) {
|
|
25222
|
+
var name = module$contents$goog$object_findKey(module$contents$goog$fs$Error_FsError.NameToCodeMap_, function(c) {
|
|
25187
25223
|
return code == c;
|
|
25188
25224
|
});
|
|
25189
25225
|
if (name === void 0) {
|
|
@@ -25191,13 +25227,15 @@ goog.fs.Error.getNameFromCode_ = function(code) {
|
|
|
25191
25227
|
}
|
|
25192
25228
|
return name;
|
|
25193
25229
|
};
|
|
25194
|
-
goog
|
|
25195
|
-
return goog
|
|
25230
|
+
module$contents$goog$fs$Error_FsError.getCodeFromName_ = function(name) {
|
|
25231
|
+
return module$contents$goog$fs$Error_FsError.NameToCodeMap_[name];
|
|
25196
25232
|
};
|
|
25197
25233
|
var $jscomp$compprop18 = {};
|
|
25198
|
-
goog
|
|
25199
|
-
$
|
|
25200
|
-
$jscomp$compprop18[goog.fs.
|
|
25234
|
+
module$contents$goog$fs$Error_FsError.NameToCodeMap_ = ($jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.ABORT] = module$contents$goog$fs$Error_FsError.ErrorCode.ABORT, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.ENCODING] = module$contents$goog$fs$Error_FsError.ErrorCode.ENCODING, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.INVALID_MODIFICATION] = module$contents$goog$fs$Error_FsError.ErrorCode.INVALID_MODIFICATION, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.INVALID_STATE] =
|
|
25235
|
+
module$contents$goog$fs$Error_FsError.ErrorCode.INVALID_STATE, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.NOT_FOUND] = module$contents$goog$fs$Error_FsError.ErrorCode.NOT_FOUND, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.NOT_READABLE] = module$contents$goog$fs$Error_FsError.ErrorCode.NOT_READABLE, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.NO_MODIFICATION_ALLOWED] = module$contents$goog$fs$Error_FsError.ErrorCode.NO_MODIFICATION_ALLOWED,
|
|
25236
|
+
$jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.PATH_EXISTS] = module$contents$goog$fs$Error_FsError.ErrorCode.PATH_EXISTS, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.QUOTA_EXCEEDED] = module$contents$goog$fs$Error_FsError.ErrorCode.QUOTA_EXCEEDED, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.SECURITY] = module$contents$goog$fs$Error_FsError.ErrorCode.SECURITY, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.SYNTAX] =
|
|
25237
|
+
module$contents$goog$fs$Error_FsError.ErrorCode.SYNTAX, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.TYPE_MISMATCH] = module$contents$goog$fs$Error_FsError.ErrorCode.TYPE_MISMATCH, $jscomp$compprop18);
|
|
25238
|
+
goog.fs.Error = module$contents$goog$fs$Error_FsError;
|
|
25201
25239
|
function module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, target) {
|
|
25202
25240
|
goog.events.Event.call(this, event.type, target);
|
|
25203
25241
|
this.event_ = event;
|
|
@@ -25230,7 +25268,7 @@ goog.fs.FileReader.prototype.abort = function() {
|
|
|
25230
25268
|
try {
|
|
25231
25269
|
this.reader_.abort();
|
|
25232
25270
|
} catch (e) {
|
|
25233
|
-
throw new goog
|
|
25271
|
+
throw new module$contents$goog$fs$Error_FsError(e, "aborting read");
|
|
25234
25272
|
}
|
|
25235
25273
|
};
|
|
25236
25274
|
goog.fs.FileReader.prototype.getReadyState = function() {
|
|
@@ -25240,7 +25278,7 @@ goog.fs.FileReader.prototype.getResult = function() {
|
|
|
25240
25278
|
return this.reader_.result;
|
|
25241
25279
|
};
|
|
25242
25280
|
goog.fs.FileReader.prototype.getError = function() {
|
|
25243
|
-
return this.reader_.error && new goog
|
|
25281
|
+
return this.reader_.error && new module$contents$goog$fs$Error_FsError(this.reader_.error, "reading file");
|
|
25244
25282
|
};
|
|
25245
25283
|
goog.fs.FileReader.prototype.dispatchProgressEvent_ = function(event) {
|
|
25246
25284
|
this.dispatchEvent(new module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, this));
|
|
@@ -25506,7 +25544,7 @@ module$contents$goog$math$Rect_Rect.prototype.distance = function(point) {
|
|
|
25506
25544
|
return Math.sqrt(this.squaredDistance(point));
|
|
25507
25545
|
};
|
|
25508
25546
|
module$contents$goog$math$Rect_Rect.prototype.getSize = function() {
|
|
25509
|
-
return new goog
|
|
25547
|
+
return new module$contents$goog$math$Size_Size(this.width, this.height);
|
|
25510
25548
|
};
|
|
25511
25549
|
module$contents$goog$math$Rect_Rect.prototype.getTopLeft = function() {
|
|
25512
25550
|
return new module$contents$goog$math$Coordinate_Coordinate(this.left, this.top);
|
|
@@ -25666,7 +25704,7 @@ goog.style.getBoundingClientRect_ = function(el) {
|
|
|
25666
25704
|
};
|
|
25667
25705
|
goog.style.getOffsetParent = function(element) {
|
|
25668
25706
|
for (var doc = goog.dom.getOwnerDocument(element), positionStyle = goog.style.getStyle_(element, "position"), skipStatic = positionStyle == "fixed" || positionStyle == "absolute", parent = element.parentNode; parent && parent != doc; parent = parent.parentNode) {
|
|
25669
|
-
if (parent.nodeType == goog
|
|
25707
|
+
if (parent.nodeType == module$contents$goog$dom$NodeType_NodeType.DOCUMENT_FRAGMENT && parent.host && (parent = parent.host), positionStyle = goog.style.getStyle_(parent, "position"), skipStatic = skipStatic && positionStyle == "static" && parent != doc.documentElement && parent != doc.body, !skipStatic && (parent.scrollWidth > parent.clientWidth || parent.scrollHeight > parent.clientHeight || positionStyle == "fixed" || positionStyle == "absolute" || positionStyle == "relative")) {
|
|
25670
25708
|
return parent;
|
|
25671
25709
|
}
|
|
25672
25710
|
}
|
|
@@ -25761,7 +25799,7 @@ goog.style.getClientPositionForElement_ = function(el) {
|
|
|
25761
25799
|
};
|
|
25762
25800
|
goog.style.getClientPosition = function(el) {
|
|
25763
25801
|
goog.asserts.assert(el);
|
|
25764
|
-
if (el.nodeType == goog
|
|
25802
|
+
if (el.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
25765
25803
|
return goog.style.getClientPositionForElement_(el);
|
|
25766
25804
|
}
|
|
25767
25805
|
var targetEvent = el.changedTouches ? el.changedTouches[0] : el;
|
|
@@ -25774,7 +25812,7 @@ goog.style.setPageOffset = function(el, x, opt_y) {
|
|
|
25774
25812
|
goog.style.setPosition(el, el.offsetLeft + dx, el.offsetTop + (Number(opt_y) - cur.y));
|
|
25775
25813
|
};
|
|
25776
25814
|
goog.style.setSize = function(element, w, opt_h) {
|
|
25777
|
-
if (w instanceof goog
|
|
25815
|
+
if (w instanceof module$contents$goog$math$Size_Size) {
|
|
25778
25816
|
var h = w.height;
|
|
25779
25817
|
w = w.width;
|
|
25780
25818
|
} else {
|
|
@@ -25817,16 +25855,16 @@ goog.style.getSizeWithDisplay_ = function(element) {
|
|
|
25817
25855
|
var offsetWidth = element.offsetWidth, offsetHeight = element.offsetHeight, webkitOffsetsZero = goog.userAgent.WEBKIT && !offsetWidth && !offsetHeight;
|
|
25818
25856
|
if ((offsetWidth === void 0 || webkitOffsetsZero) && element.getBoundingClientRect) {
|
|
25819
25857
|
var clientRect = goog.style.getBoundingClientRect_(element);
|
|
25820
|
-
return new goog
|
|
25858
|
+
return new module$contents$goog$math$Size_Size(clientRect.right - clientRect.left, clientRect.bottom - clientRect.top);
|
|
25821
25859
|
}
|
|
25822
|
-
return new goog
|
|
25860
|
+
return new module$contents$goog$math$Size_Size(offsetWidth, offsetHeight);
|
|
25823
25861
|
};
|
|
25824
25862
|
goog.style.getTransformedSize = function(element) {
|
|
25825
25863
|
if (!element.getBoundingClientRect) {
|
|
25826
25864
|
return null;
|
|
25827
25865
|
}
|
|
25828
25866
|
var clientRect = goog.style.evaluateWithTemporaryDisplay_(goog.style.getBoundingClientRect_, element);
|
|
25829
|
-
return new goog
|
|
25867
|
+
return new module$contents$goog$math$Size_Size(clientRect.right - clientRect.left, clientRect.bottom - clientRect.top);
|
|
25830
25868
|
};
|
|
25831
25869
|
goog.style.getBounds = function(element) {
|
|
25832
25870
|
var o = goog.style.getPageOffset(element), s = goog.style.getSize(element);
|
|
@@ -25923,14 +25961,14 @@ goog.style.setUnselectable = function(el, unselectable, opt_noRecurse) {
|
|
|
25923
25961
|
}
|
|
25924
25962
|
};
|
|
25925
25963
|
goog.style.getBorderBoxSize = function(element) {
|
|
25926
|
-
return new goog
|
|
25964
|
+
return new module$contents$goog$math$Size_Size(element.offsetWidth, element.offsetHeight);
|
|
25927
25965
|
};
|
|
25928
25966
|
goog.style.setBorderBoxSize = function(element, size) {
|
|
25929
25967
|
goog.style.setBoxSizingSize_(element, size, "border-box");
|
|
25930
25968
|
};
|
|
25931
25969
|
goog.style.getContentBoxSize = function(element) {
|
|
25932
25970
|
var borderBoxSize = goog.style.getBorderBoxSize(element), paddingBox = goog.style.getPaddingBox(element), borderBox = goog.style.getBorderBox(element);
|
|
25933
|
-
return new goog
|
|
25971
|
+
return new module$contents$goog$math$Size_Size(borderBoxSize.width - borderBox.left - paddingBox.left - paddingBox.right - borderBox.right, borderBoxSize.height - borderBox.top - paddingBox.top - paddingBox.bottom - borderBox.bottom);
|
|
25934
25972
|
};
|
|
25935
25973
|
goog.style.setContentBoxSize = function(element, size) {
|
|
25936
25974
|
goog.style.setBoxSizingSize_(element, size, "content-box");
|
|
@@ -26074,7 +26112,7 @@ ee.layers.AbstractOverlay = function(tileSource, opt_options) {
|
|
|
26074
26112
|
this.tilesById = new module$contents$goog$structs$Map_Map();
|
|
26075
26113
|
this.tileCounter = 0;
|
|
26076
26114
|
this.tileSource = tileSource;
|
|
26077
|
-
this.handler = new goog
|
|
26115
|
+
this.handler = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26078
26116
|
this.radius = 0;
|
|
26079
26117
|
};
|
|
26080
26118
|
$jscomp.inherits(ee.layers.AbstractOverlay, goog.events.EventTarget);
|
|
@@ -26337,7 +26375,7 @@ goog.net.ImageLoader = function(opt_parent) {
|
|
|
26337
26375
|
goog.events.EventTarget.call(this);
|
|
26338
26376
|
this.imageIdToRequestMap_ = {};
|
|
26339
26377
|
this.imageIdToImageMap_ = {};
|
|
26340
|
-
this.handler_ = new goog
|
|
26378
|
+
this.handler_ = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26341
26379
|
this.parent_ = opt_parent;
|
|
26342
26380
|
this.completionFired_ = !1;
|
|
26343
26381
|
};
|
|
@@ -27357,28 +27395,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27357
27395
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27358
27396
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27359
27397
|
(function() {
|
|
27360
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27361
|
-
orderedParamLists = [["name", "
|
|
27362
|
-
"
|
|
27363
|
-
"
|
|
27364
|
-
"opt_description
|
|
27365
|
-
"
|
|
27366
|
-
"
|
|
27367
|
-
|
|
27368
|
-
|
|
27369
|
-
[], [], [], ["func", "var_args"], ["func", "namedArgs"], [
|
|
27370
|
-
|
|
27371
|
-
"opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "
|
|
27372
|
-
"
|
|
27373
|
-
[
|
|
27374
|
-
module$contents$ee$batch_Export.
|
|
27375
|
-
ee.
|
|
27376
|
-
ee.
|
|
27377
|
-
ee.data.
|
|
27378
|
-
ee.
|
|
27379
|
-
ee.
|
|
27380
|
-
ee.
|
|
27381
|
-
ee.
|
|
27398
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.table.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.table.toAsset ee.batch.Export.image.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.video.toCloudStorage ee.Collection.prototype.limit ee.Collection.prototype.filter ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.Collection.prototype.sort ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.iterate ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.data.createFolder ee.data.deleteAsset ee.data.getTaskList ee.data.renameAsset ee.data.getFeatureViewTilesKey ee.data.getTaskListWithLimit ee.data.listOperations ee.data.startTableIngestion ee.data.listFeatures ee.data.copyAsset ee.data.computeValue ee.data.cancelOperation ee.data.getAssetAcl ee.data.getThumbId ee.data.getAsset ee.data.getVideoThumbId ee.data.getOperation ee.data.authenticateViaOauth ee.data.getInfo ee.data.getFilmstripThumbId ee.data.cancelTask ee.data.authenticate ee.data.makeThumbUrl ee.data.getList ee.data.listAssets ee.data.updateTask ee.data.listBuckets ee.data.getAssetRootQuota ee.data.authenticateViaPopup ee.data.updateAsset ee.data.getDownloadId ee.data.setAssetProperties ee.data.startProcessing ee.data.setAssetAcl ee.data.makeDownloadUrl ee.data.authenticateViaPrivateKey ee.data.listImages ee.data.getTableDownloadId ee.data.makeTableDownloadUrl ee.data.resetWorkloadTag ee.data.getWorkloadTag ee.data.newTaskId ee.data.getAssetRoots ee.data.createAssetHome ee.data.setWorkloadTag ee.data.getTileUrl ee.data.getMapId ee.data.setDefaultWorkloadTag ee.data.getTaskStatus ee.data.startIngestion ee.data.createAsset ee.Date ee.Deserializer.fromJSON ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.reset ee.Algorithms ee.InitState ee.call ee.initialize ee.TILE_SIZE ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.Filter.lte ee.Filter.lt ee.Filter.prototype.not ee.Filter.and ee.Filter ee.Filter.or ee.Filter.gte ee.Filter.eq ee.Filter.date ee.Filter.gt ee.Filter.metadata ee.Filter.neq ee.Filter.bounds ee.Filter.inList ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.LineString ee.Geometry.Polygon ee.Geometry.Rectangle ee.Geometry.LinearRing ee.Geometry ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Geometry.MultiPolygon ee.Geometry.BBox ee.Geometry.MultiPoint ee.Image.prototype.getDownloadURL ee.Image.prototype.clip ee.Image.prototype.getInfo ee.Image.prototype.rename ee.Image.prototype.select ee.Image.rgb ee.Image.prototype.getMapId ee.Image.prototype.getThumbURL ee.Image.prototype.expression ee.Image.prototype.getThumbId ee.Image ee.Image.prototype.getMap ee.Image.cat ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection ee.List ee.Number ee.Serializer.encodeCloudApi ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
27399
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27400
|
+
"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxVertices opt_priority opt_overwrite".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority opt_overwrite".split(" "),
|
|
27401
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
27402
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), ["max", "opt_property", "opt_ascending"],
|
|
27403
|
+
["filter"], ["geometry"], ["name", "operator", "value"], ["property", "opt_ascending"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["callback"], ["opt_callback"], ["legacy"], ["func", "var_args"], ["path", "opt_force", "opt_callback"], ["assetId", "opt_callback"], ["opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["params", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["asset",
|
|
27404
|
+
"params", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["obj", "opt_callback"], ["operationName", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["id", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["clientId", "success",
|
|
27405
|
+
"opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["taskId", "action", "opt_callback"], ["project", "opt_callback"], ["rootId", "opt_callback"], ["opt_success", "opt_error"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["taskId", "params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["id"], ["privateKey", "opt_success",
|
|
27406
|
+
"opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["parent", "opt_params", "opt_callback"], ["params", "opt_callback"], ["id"], ["opt_resetDefault"], [], ["opt_count", "opt_callback"], ["opt_callback"], ["requestedId", "opt_callback"], ["tag"], ["id", "x", "y", "z"], ["params", "opt_callback"], ["tag"], ["taskId", "opt_callback"], ["taskId", "request", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"],
|
|
27407
|
+
["json"], ["opt_dict"], [], [], [], ["func", "var_args"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], ["func", "namedArgs"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["args",
|
|
27408
|
+
"opt_column"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["name", "value"], ["name", "value"], [], ["var_args"], ["opt_filter"], ["var_args"], ["name", "value"], ["name", "value"], ["start", "opt_end"], ["name", "value"], ["name", "operator", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["namedArgs"], ["var_args"], [], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj",
|
|
27409
|
+
"opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["params", "opt_callback"], ["geometry"], ["opt_callback"], ["var_args"],
|
|
27410
|
+
["var_args"], ["r", "g", "b"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["expression", "opt_map"], ["params", "opt_callback"], ["opt_args"], ["opt_visParams", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["selectors", "opt_names"], [], ["args"], ["list"], ["number"],
|
|
27411
|
+
["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27412
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.classifier.toAsset,
|
|
27413
|
+
module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toCloudStorage, ee.Collection.prototype.limit, ee.Collection.prototype.filter, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.sort, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.ComputedObject.prototype.evaluate,
|
|
27414
|
+
ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.data.createFolder, ee.data.deleteAsset, ee.data.getTaskList, ee.data.renameAsset, ee.data.getFeatureViewTilesKey, ee.data.getTaskListWithLimit, ee.data.listOperations, ee.data.startTableIngestion, ee.data.listFeatures, ee.data.copyAsset, ee.data.computeValue, ee.data.cancelOperation, ee.data.getAssetAcl, ee.data.getThumbId, ee.data.getAsset, ee.data.getVideoThumbId, ee.data.getOperation,
|
|
27415
|
+
ee.data.authenticateViaOauth, ee.data.getInfo, ee.data.getFilmstripThumbId, ee.data.cancelTask, ee.data.authenticate, ee.data.makeThumbUrl, ee.data.getList, ee.data.listAssets, ee.data.updateTask, ee.data.listBuckets, ee.data.getAssetRootQuota, ee.data.authenticateViaPopup, ee.data.updateAsset, ee.data.getDownloadId, ee.data.setAssetProperties, ee.data.startProcessing, ee.data.setAssetAcl, ee.data.makeDownloadUrl, ee.data.authenticateViaPrivateKey, ee.data.listImages, ee.data.getTableDownloadId,
|
|
27416
|
+
ee.data.makeTableDownloadUrl, ee.data.resetWorkloadTag, ee.data.getWorkloadTag, ee.data.newTaskId, ee.data.getAssetRoots, ee.data.createAssetHome, ee.data.setWorkloadTag, ee.data.getTileUrl, ee.data.getMapId, ee.data.setDefaultWorkloadTag, ee.data.getTaskStatus, ee.data.startIngestion, ee.data.createAsset, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Dictionary, ee.reset, ee.Algorithms, ee.InitState, ee.call, ee.initialize,
|
|
27417
|
+
ee.TILE_SIZE, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.Filter.lte, ee.Filter.lt, ee.Filter.prototype.not, ee.Filter.and, ee.Filter, ee.Filter.or,
|
|
27418
|
+
ee.Filter.gte, ee.Filter.eq, ee.Filter.date, ee.Filter.gt, ee.Filter.metadata, ee.Filter.neq, ee.Filter.bounds, ee.Filter.inList, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.LineString, ee.Geometry.Polygon, ee.Geometry.Rectangle, ee.Geometry.LinearRing, ee.Geometry, ee.Geometry.Point, ee.Geometry.prototype.serialize, ee.Geometry.MultiLineString, ee.Geometry.MultiPolygon, ee.Geometry.BBox, ee.Geometry.MultiPoint,
|
|
27419
|
+
ee.Image.prototype.getDownloadURL, ee.Image.prototype.clip, ee.Image.prototype.getInfo, ee.Image.prototype.rename, ee.Image.prototype.select, ee.Image.rgb, ee.Image.prototype.getMapId, ee.Image.prototype.getThumbURL, ee.Image.prototype.expression, ee.Image.prototype.getThumbId, ee.Image, ee.Image.prototype.getMap, ee.Image.cat, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap,
|
|
27420
|
+
ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.first, ee.ImageCollection, ee.List, ee.Number, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.toReadableJSON, ee.Serializer.toCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27382
27421
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27383
27422
|
});
|
|
27384
27423
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|