@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/ee_api_js_npm.js
CHANGED
|
@@ -1344,7 +1344,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1344
1344
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1345
1345
|
};
|
|
1346
1346
|
}, "es8", "es3");
|
|
1347
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__disable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable:!1, GoogFlags__fixed_noopener_behavior__enable:!1,
|
|
1347
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__disable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1348
1348
|
GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable:!1, GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__jspb_write_back_bigint__enable:!1, GoogFlags__optimize_get_ei_from_ved__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1,
|
|
1349
1349
|
GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1350
1350
|
/*
|
|
@@ -1352,7 +1352,7 @@ GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
|
1352
1352
|
Copyright The Closure Library Authors.
|
|
1353
1353
|
SPDX-License-Identifier: Apache-2.0
|
|
1354
1354
|
*/
|
|
1355
|
-
var
|
|
1355
|
+
var goog = goog || {};
|
|
1356
1356
|
goog.global = this || self;
|
|
1357
1357
|
goog.exportPath_ = function(name, object, overwriteImplicit, objectToExportTo) {
|
|
1358
1358
|
for (var parts = name.split("."), cur = objectToExportTo || goog.global, part; parts.length && (part = parts.shift());) {
|
|
@@ -3663,7 +3663,8 @@ goog.inherits(module$contents$goog$debug$Error_DebugError, Error);
|
|
|
3663
3663
|
module$contents$goog$debug$Error_DebugError.prototype.name = "CustomError";
|
|
3664
3664
|
goog.debug.Error = module$contents$goog$debug$Error_DebugError;
|
|
3665
3665
|
goog.dom = {};
|
|
3666
|
-
goog
|
|
3666
|
+
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};
|
|
3667
|
+
goog.dom.NodeType = module$contents$goog$dom$NodeType_NodeType;
|
|
3667
3668
|
goog.asserts = {};
|
|
3668
3669
|
goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
|
|
3669
3670
|
function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
|
|
@@ -3733,7 +3734,7 @@ goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
|
3733
3734
|
return value;
|
|
3734
3735
|
};
|
|
3735
3736
|
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
3736
|
-
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog
|
|
3737
|
+
!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));
|
|
3737
3738
|
return value;
|
|
3738
3739
|
};
|
|
3739
3740
|
goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
|
|
@@ -4938,8 +4939,6 @@ function module$contents$safevalues$dom$globals$url_objectUrlFromSafeSource(sour
|
|
|
4938
4939
|
return module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource(source).toString();
|
|
4939
4940
|
}
|
|
4940
4941
|
;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"};
|
|
4941
|
-
module$exports$safevalues$dom$globals$worker.WorkerGlobalScopeWithImportScripts = function() {
|
|
4942
|
-
};
|
|
4943
4942
|
function module$contents$safevalues$dom$globals$worker_createWorker(url, options) {
|
|
4944
4943
|
return new Worker(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url), options);
|
|
4945
4944
|
}
|
|
@@ -5598,8 +5597,8 @@ goog.structs.every = function(col, f, opt_obj) {
|
|
|
5598
5597
|
};
|
|
5599
5598
|
goog.uri = {};
|
|
5600
5599
|
goog.uri.utils = {};
|
|
5601
|
-
goog
|
|
5602
|
-
goog
|
|
5600
|
+
var module$contents$goog$uri$utils_CharCode = {AMPERSAND:38, EQUAL:61, HASH:35, QUESTION:63};
|
|
5601
|
+
function module$contents$goog$uri$utils_buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {
|
|
5603
5602
|
var out = "";
|
|
5604
5603
|
opt_scheme && (out += opt_scheme + ":");
|
|
5605
5604
|
opt_domain && (out += "//", opt_userInfo && (out += opt_userInfo + "@"), out += opt_domain, opt_port && (out += ":" + opt_port));
|
|
@@ -5607,90 +5606,48 @@ goog.uri.utils.buildFromEncodedParts = function(opt_scheme, opt_userInfo, opt_do
|
|
|
5607
5606
|
opt_queryData && (out += "?" + opt_queryData);
|
|
5608
5607
|
opt_fragment && (out += "#" + opt_fragment);
|
|
5609
5608
|
return out;
|
|
5610
|
-
}
|
|
5611
|
-
goog
|
|
5612
|
-
goog
|
|
5613
|
-
|
|
5614
|
-
goog.uri.
|
|
5615
|
-
goog.uri.utils.urlPackageSupportLoggingHandler_ = handler;
|
|
5616
|
-
};
|
|
5617
|
-
goog.uri.utils.split = function(uri) {
|
|
5618
|
-
var result = uri.match(goog.uri.utils.splitRe_);
|
|
5619
|
-
goog.uri.utils.urlPackageSupportLoggingHandler_ && ["http", "https", "ws", "wss", "ftp"].indexOf(result[goog.uri.utils.ComponentIndex.SCHEME]) >= 0 && goog.uri.utils.urlPackageSupportLoggingHandler_(uri);
|
|
5609
|
+
}
|
|
5610
|
+
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;
|
|
5611
|
+
function module$contents$goog$uri$utils_split(uri) {
|
|
5612
|
+
var result = uri.match(module$contents$goog$uri$utils_splitRe);
|
|
5613
|
+
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);
|
|
5620
5614
|
return result;
|
|
5621
|
-
}
|
|
5622
|
-
goog
|
|
5615
|
+
}
|
|
5616
|
+
function module$contents$goog$uri$utils_decodeIfPossible(uri, opt_preserveReserved) {
|
|
5623
5617
|
return uri ? opt_preserveReserved ? decodeURI(uri) : decodeURIComponent(uri) : uri;
|
|
5624
|
-
}
|
|
5625
|
-
goog
|
|
5626
|
-
return goog
|
|
5627
|
-
}
|
|
5628
|
-
goog
|
|
5629
|
-
return goog
|
|
5630
|
-
}
|
|
5631
|
-
goog
|
|
5632
|
-
var scheme = goog
|
|
5618
|
+
}
|
|
5619
|
+
function module$contents$goog$uri$utils_getComponentByIndex(componentIndex, uri) {
|
|
5620
|
+
return module$contents$goog$uri$utils_split(uri)[componentIndex] || null;
|
|
5621
|
+
}
|
|
5622
|
+
function module$contents$goog$uri$utils_getScheme(uri) {
|
|
5623
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.SCHEME, uri);
|
|
5624
|
+
}
|
|
5625
|
+
function module$contents$goog$uri$utils_getEffectiveScheme(uri) {
|
|
5626
|
+
var scheme = module$contents$goog$uri$utils_getScheme(uri);
|
|
5633
5627
|
!scheme && goog.global.self && goog.global.self.location && (scheme = goog.global.self.location.protocol.slice(0, -1));
|
|
5634
5628
|
return scheme ? scheme.toLowerCase() : "";
|
|
5635
|
-
}
|
|
5636
|
-
goog
|
|
5637
|
-
return goog
|
|
5638
|
-
}
|
|
5639
|
-
goog
|
|
5640
|
-
return goog
|
|
5641
|
-
}
|
|
5642
|
-
goog
|
|
5643
|
-
return goog
|
|
5644
|
-
}
|
|
5645
|
-
goog
|
|
5646
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getDomainEncoded(uri), !0);
|
|
5647
|
-
};
|
|
5648
|
-
goog.uri.utils.getPort = function(uri) {
|
|
5649
|
-
return Number(goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PORT, uri)) || null;
|
|
5650
|
-
};
|
|
5651
|
-
goog.uri.utils.getPathEncoded = function(uri) {
|
|
5652
|
-
return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PATH, uri);
|
|
5653
|
-
};
|
|
5654
|
-
goog.uri.utils.getPath = function(uri) {
|
|
5655
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getPathEncoded(uri), !0);
|
|
5656
|
-
};
|
|
5657
|
-
goog.uri.utils.getQueryData = function(uri) {
|
|
5658
|
-
return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.QUERY_DATA, uri);
|
|
5659
|
-
};
|
|
5660
|
-
goog.uri.utils.getFragmentEncoded = function(uri) {
|
|
5629
|
+
}
|
|
5630
|
+
function module$contents$goog$uri$utils_getUserInfoEncoded(uri) {
|
|
5631
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.USER_INFO, uri);
|
|
5632
|
+
}
|
|
5633
|
+
function module$contents$goog$uri$utils_getDomainEncoded(uri) {
|
|
5634
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.DOMAIN, uri);
|
|
5635
|
+
}
|
|
5636
|
+
function module$contents$goog$uri$utils_getPathEncoded(uri) {
|
|
5637
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.PATH, uri);
|
|
5638
|
+
}
|
|
5639
|
+
function module$contents$goog$uri$utils_getFragmentEncoded(uri) {
|
|
5661
5640
|
var hashIndex = uri.indexOf("#");
|
|
5662
5641
|
return hashIndex < 0 ? null : uri.slice(hashIndex + 1);
|
|
5663
|
-
}
|
|
5664
|
-
goog
|
|
5665
|
-
return goog.uri.utils.removeFragment(uri) + (fragment ? "#" + fragment : "");
|
|
5666
|
-
};
|
|
5667
|
-
goog.uri.utils.getFragment = function(uri) {
|
|
5668
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getFragmentEncoded(uri));
|
|
5669
|
-
};
|
|
5670
|
-
goog.uri.utils.getHost = function(uri) {
|
|
5671
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5672
|
-
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]);
|
|
5673
|
-
};
|
|
5674
|
-
goog.uri.utils.getOrigin = function(uri) {
|
|
5675
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5676
|
-
return goog.uri.utils.buildFromEncodedParts(pieces[goog.uri.utils.ComponentIndex.SCHEME], null, pieces[goog.uri.utils.ComponentIndex.DOMAIN], pieces[goog.uri.utils.ComponentIndex.PORT]);
|
|
5677
|
-
};
|
|
5678
|
-
goog.uri.utils.getPathAndAfter = function(uri) {
|
|
5679
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5680
|
-
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]);
|
|
5681
|
-
};
|
|
5682
|
-
goog.uri.utils.removeFragment = function(uri) {
|
|
5642
|
+
}
|
|
5643
|
+
function module$contents$goog$uri$utils_removeFragment(uri) {
|
|
5683
5644
|
var hashIndex = uri.indexOf("#");
|
|
5684
5645
|
return hashIndex < 0 ? uri : uri.slice(0, hashIndex);
|
|
5685
|
-
}
|
|
5686
|
-
goog
|
|
5687
|
-
var pieces1 = goog.uri.utils.split(uri1), pieces2 = goog.uri.utils.split(uri2);
|
|
5688
|
-
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];
|
|
5689
|
-
};
|
|
5690
|
-
goog.uri.utils.assertNoFragmentsOrQueries_ = function(uri) {
|
|
5646
|
+
}
|
|
5647
|
+
function module$contents$goog$uri$utils_assertNoFragmentsOrQueries(uri) {
|
|
5691
5648
|
goog.asserts.assert(uri.indexOf("#") < 0 && uri.indexOf("?") < 0, "goog.uri.utils: Fragment or query identifiers are not supported: [%s]", uri);
|
|
5692
|
-
}
|
|
5693
|
-
goog
|
|
5649
|
+
}
|
|
5650
|
+
function module$contents$goog$uri$utils_parseQueryData(encodedQuery, callback) {
|
|
5694
5651
|
if (encodedQuery) {
|
|
5695
5652
|
for (var pairs = encodedQuery.split("&"), i = 0; i < pairs.length; i++) {
|
|
5696
5653
|
var indexOfEquals = pairs[i].indexOf("="), name = null, value = null;
|
|
@@ -5698,8 +5655,8 @@ goog.uri.utils.parseQueryData = function(encodedQuery, callback) {
|
|
|
5698
5655
|
callback(name, value ? goog.string.urlDecode(value) : "");
|
|
5699
5656
|
}
|
|
5700
5657
|
}
|
|
5701
|
-
}
|
|
5702
|
-
goog
|
|
5658
|
+
}
|
|
5659
|
+
function module$contents$goog$uri$utils_splitQueryData(uri) {
|
|
5703
5660
|
var hashIndex = uri.indexOf("#");
|
|
5704
5661
|
hashIndex < 0 && (hashIndex = uri.length);
|
|
5705
5662
|
var questionIndex = uri.indexOf("?");
|
|
@@ -5710,77 +5667,116 @@ goog.uri.utils.splitQueryData_ = function(uri) {
|
|
|
5710
5667
|
queryData = uri.substring(questionIndex + 1, hashIndex);
|
|
5711
5668
|
}
|
|
5712
5669
|
return [uri.slice(0, questionIndex), queryData, uri.slice(hashIndex)];
|
|
5713
|
-
}
|
|
5714
|
-
goog
|
|
5670
|
+
}
|
|
5671
|
+
function module$contents$goog$uri$utils_joinQueryData(parts) {
|
|
5715
5672
|
return parts[0] + (parts[1] ? "?" + parts[1] : "") + parts[2];
|
|
5716
|
-
}
|
|
5717
|
-
goog
|
|
5673
|
+
}
|
|
5674
|
+
function module$contents$goog$uri$utils_appendQueryData(queryData, newData) {
|
|
5718
5675
|
return newData ? queryData ? queryData + "&" + newData : newData : queryData;
|
|
5719
|
-
}
|
|
5720
|
-
goog
|
|
5676
|
+
}
|
|
5677
|
+
function module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData) {
|
|
5721
5678
|
if (!queryData) {
|
|
5722
5679
|
return uri;
|
|
5723
5680
|
}
|
|
5724
|
-
var parts = goog
|
|
5725
|
-
parts[1] = goog
|
|
5726
|
-
return goog
|
|
5727
|
-
}
|
|
5728
|
-
goog
|
|
5681
|
+
var parts = module$contents$goog$uri$utils_splitQueryData(uri);
|
|
5682
|
+
parts[1] = module$contents$goog$uri$utils_appendQueryData(parts[1], queryData);
|
|
5683
|
+
return module$contents$goog$uri$utils_joinQueryData(parts);
|
|
5684
|
+
}
|
|
5685
|
+
function module$contents$goog$uri$utils_appendKeyValuePairs(key, value, pairs) {
|
|
5729
5686
|
goog.asserts.assertString(key);
|
|
5730
5687
|
if (Array.isArray(value)) {
|
|
5731
5688
|
goog.asserts.assertArray(value);
|
|
5732
5689
|
for (var j = 0; j < value.length; j++) {
|
|
5733
|
-
goog
|
|
5690
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(key, String(value[j]), pairs);
|
|
5734
5691
|
}
|
|
5735
5692
|
} else {
|
|
5736
5693
|
value != null && pairs.push(key + (value === "" ? "" : "=" + goog.string.urlEncode(value)));
|
|
5737
5694
|
}
|
|
5738
|
-
}
|
|
5739
|
-
goog
|
|
5695
|
+
}
|
|
5696
|
+
function module$contents$goog$uri$utils_buildQueryData(keysAndValues, opt_startIndex) {
|
|
5740
5697
|
goog.asserts.assert(Math.max(keysAndValues.length - (opt_startIndex || 0), 0) % 2 == 0, "goog.uri.utils: Key/value lists must be even in length.");
|
|
5741
5698
|
for (var params = [], i = opt_startIndex || 0; i < keysAndValues.length; i += 2) {
|
|
5742
|
-
goog
|
|
5699
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(keysAndValues[i], keysAndValues[i + 1], params);
|
|
5743
5700
|
}
|
|
5744
5701
|
return params.join("&");
|
|
5745
|
-
}
|
|
5746
|
-
goog
|
|
5702
|
+
}
|
|
5703
|
+
function module$contents$goog$uri$utils_buildQueryDataFromMap(map) {
|
|
5747
5704
|
var params = [], key;
|
|
5748
5705
|
for (key in map) {
|
|
5749
|
-
goog
|
|
5706
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(key, map[key], params);
|
|
5750
5707
|
}
|
|
5751
5708
|
return params.join("&");
|
|
5752
|
-
}
|
|
5753
|
-
goog
|
|
5754
|
-
var queryData = arguments.length == 2 ? goog.uri.utils.buildQueryData(arguments[1], 0) : goog.uri.utils.buildQueryData(arguments, 1);
|
|
5755
|
-
return goog.uri.utils.appendQueryDataToUri_(uri, queryData);
|
|
5756
|
-
};
|
|
5757
|
-
goog.uri.utils.appendParamsFromMap = function(uri, map) {
|
|
5758
|
-
var queryData = goog.uri.utils.buildQueryDataFromMap(map);
|
|
5759
|
-
return goog.uri.utils.appendQueryDataToUri_(uri, queryData);
|
|
5760
|
-
};
|
|
5761
|
-
goog.uri.utils.appendParam = function(uri, key, opt_value) {
|
|
5709
|
+
}
|
|
5710
|
+
function module$contents$goog$uri$utils_appendParam(uri, key, opt_value) {
|
|
5762
5711
|
var value = opt_value != null ? "=" + goog.string.urlEncode(opt_value) : "";
|
|
5763
|
-
return goog
|
|
5764
|
-
}
|
|
5765
|
-
goog
|
|
5712
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, key + value);
|
|
5713
|
+
}
|
|
5714
|
+
function module$contents$goog$uri$utils_findParam(uri, startIndex, keyEncoded, hashOrEndIndex) {
|
|
5766
5715
|
for (var index = startIndex, keyLength = keyEncoded.length; (index = uri.indexOf(keyEncoded, index)) >= 0 && index < hashOrEndIndex;) {
|
|
5767
5716
|
var precedingChar = uri.charCodeAt(index - 1);
|
|
5768
|
-
if (precedingChar == goog
|
|
5717
|
+
if (precedingChar == module$contents$goog$uri$utils_CharCode.AMPERSAND || precedingChar == module$contents$goog$uri$utils_CharCode.QUESTION) {
|
|
5769
5718
|
var followingChar = uri.charCodeAt(index + keyLength);
|
|
5770
|
-
if (!followingChar || followingChar == goog
|
|
5719
|
+
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) {
|
|
5771
5720
|
return index;
|
|
5772
5721
|
}
|
|
5773
5722
|
}
|
|
5774
5723
|
index += keyLength + 1;
|
|
5775
5724
|
}
|
|
5776
5725
|
return -1;
|
|
5726
|
+
}
|
|
5727
|
+
var module$contents$goog$uri$utils_hashOrEndRe = /#|$/, module$contents$goog$uri$utils_trailingQueryPunctuationRe = /[?&]($|#)/;
|
|
5728
|
+
function module$contents$goog$uri$utils_removeParam(uri, keyEncoded) {
|
|
5729
|
+
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;) {
|
|
5730
|
+
buffer.push(uri.substring(position, foundIndex)), position = Math.min(uri.indexOf("&", foundIndex) + 1 || hashOrEndIndex, hashOrEndIndex);
|
|
5731
|
+
}
|
|
5732
|
+
buffer.push(uri.slice(position));
|
|
5733
|
+
return buffer.join("").replace(module$contents$goog$uri$utils_trailingQueryPunctuationRe, "$1");
|
|
5734
|
+
}
|
|
5735
|
+
function module$contents$goog$uri$utils_setParam(uri, keyEncoded, value) {
|
|
5736
|
+
return module$contents$goog$uri$utils_appendParam(module$contents$goog$uri$utils_removeParam(uri, keyEncoded), keyEncoded, value);
|
|
5737
|
+
}
|
|
5738
|
+
var module$contents$goog$uri$utils_StandardQueryParam = {RANDOM:"zx"};
|
|
5739
|
+
goog.uri.utils.ComponentIndex = module$contents$goog$uri$utils_ComponentIndex;
|
|
5740
|
+
goog.uri.utils.StandardQueryParam = module$contents$goog$uri$utils_StandardQueryParam;
|
|
5741
|
+
goog.uri.utils.QueryArray = void 0;
|
|
5742
|
+
goog.uri.utils.QueryValue = void 0;
|
|
5743
|
+
goog.uri.utils.appendParam = module$contents$goog$uri$utils_appendParam;
|
|
5744
|
+
goog.uri.utils.appendParams = function(uri, var_args) {
|
|
5745
|
+
var queryData = arguments.length == 2 ? module$contents$goog$uri$utils_buildQueryData(arguments[1], 0) : module$contents$goog$uri$utils_buildQueryData(arguments, 1);
|
|
5746
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData);
|
|
5777
5747
|
};
|
|
5778
|
-
goog.uri.utils.
|
|
5779
|
-
|
|
5780
|
-
return goog
|
|
5748
|
+
goog.uri.utils.appendParamsFromMap = function(uri, map) {
|
|
5749
|
+
var queryData = module$contents$goog$uri$utils_buildQueryDataFromMap(map);
|
|
5750
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData);
|
|
5751
|
+
};
|
|
5752
|
+
goog.uri.utils.appendPath = function(baseUri, path) {
|
|
5753
|
+
module$contents$goog$uri$utils_assertNoFragmentsOrQueries(baseUri);
|
|
5754
|
+
goog.string.endsWith(baseUri, "/") && (baseUri = baseUri.slice(0, -1));
|
|
5755
|
+
goog.string.startsWith(path, "/") && (path = path.slice(1));
|
|
5756
|
+
return "" + baseUri + "/" + path;
|
|
5757
|
+
};
|
|
5758
|
+
goog.uri.utils.buildFromEncodedParts = module$contents$goog$uri$utils_buildFromEncodedParts;
|
|
5759
|
+
goog.uri.utils.buildQueryData = module$contents$goog$uri$utils_buildQueryData;
|
|
5760
|
+
goog.uri.utils.buildQueryDataFromMap = module$contents$goog$uri$utils_buildQueryDataFromMap;
|
|
5761
|
+
goog.uri.utils.getDomain = function(uri) {
|
|
5762
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getDomainEncoded(uri), !0);
|
|
5763
|
+
};
|
|
5764
|
+
goog.uri.utils.getDomainEncoded = module$contents$goog$uri$utils_getDomainEncoded;
|
|
5765
|
+
goog.uri.utils.getEffectiveScheme = module$contents$goog$uri$utils_getEffectiveScheme;
|
|
5766
|
+
goog.uri.utils.getFragment = function(uri) {
|
|
5767
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getFragmentEncoded(uri));
|
|
5768
|
+
};
|
|
5769
|
+
goog.uri.utils.getFragmentEncoded = module$contents$goog$uri$utils_getFragmentEncoded;
|
|
5770
|
+
goog.uri.utils.getHost = function(uri) {
|
|
5771
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5772
|
+
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]);
|
|
5773
|
+
};
|
|
5774
|
+
goog.uri.utils.getOrigin = function(uri) {
|
|
5775
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5776
|
+
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]);
|
|
5781
5777
|
};
|
|
5782
5778
|
goog.uri.utils.getParamValue = function(uri, keyEncoded) {
|
|
5783
|
-
var hashOrEndIndex = uri.search(goog
|
|
5779
|
+
var hashOrEndIndex = uri.search(module$contents$goog$uri$utils_hashOrEndRe), foundIndex = module$contents$goog$uri$utils_findParam(uri, 0, keyEncoded, hashOrEndIndex);
|
|
5784
5780
|
if (foundIndex < 0) {
|
|
5785
5781
|
return null;
|
|
5786
5782
|
}
|
|
@@ -5792,7 +5788,7 @@ goog.uri.utils.getParamValue = function(uri, keyEncoded) {
|
|
|
5792
5788
|
return goog.string.urlDecode(uri.slice(foundIndex, endPosition !== -1 ? endPosition : 0));
|
|
5793
5789
|
};
|
|
5794
5790
|
goog.uri.utils.getParamValues = function(uri, keyEncoded) {
|
|
5795
|
-
for (var hashOrEndIndex = uri.search(goog
|
|
5791
|
+
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;) {
|
|
5796
5792
|
position = uri.indexOf("&", foundIndex);
|
|
5797
5793
|
if (position < 0 || position > hashOrEndIndex) {
|
|
5798
5794
|
position = hashOrEndIndex;
|
|
@@ -5802,51 +5798,71 @@ goog.uri.utils.getParamValues = function(uri, keyEncoded) {
|
|
|
5802
5798
|
}
|
|
5803
5799
|
return result;
|
|
5804
5800
|
};
|
|
5805
|
-
goog.uri.utils.
|
|
5806
|
-
goog
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5801
|
+
goog.uri.utils.getPath = function(uri) {
|
|
5802
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getPathEncoded(uri), !0);
|
|
5803
|
+
};
|
|
5804
|
+
goog.uri.utils.getPathAndAfter = function(uri) {
|
|
5805
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5806
|
+
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]);
|
|
5807
|
+
};
|
|
5808
|
+
goog.uri.utils.getPathEncoded = module$contents$goog$uri$utils_getPathEncoded;
|
|
5809
|
+
goog.uri.utils.getPort = function(uri) {
|
|
5810
|
+
return Number(module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.PORT, uri)) || null;
|
|
5811
|
+
};
|
|
5812
|
+
goog.uri.utils.getQueryData = function(uri) {
|
|
5813
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.QUERY_DATA, uri);
|
|
5812
5814
|
};
|
|
5813
|
-
goog.uri.utils.
|
|
5814
|
-
|
|
5815
|
+
goog.uri.utils.getScheme = module$contents$goog$uri$utils_getScheme;
|
|
5816
|
+
goog.uri.utils.getUserInfo = function(uri) {
|
|
5817
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getUserInfoEncoded(uri));
|
|
5815
5818
|
};
|
|
5819
|
+
goog.uri.utils.getUserInfoEncoded = module$contents$goog$uri$utils_getUserInfoEncoded;
|
|
5820
|
+
goog.uri.utils.hasParam = function(uri, keyEncoded) {
|
|
5821
|
+
return module$contents$goog$uri$utils_findParam(uri, 0, keyEncoded, uri.search(module$contents$goog$uri$utils_hashOrEndRe)) >= 0;
|
|
5822
|
+
};
|
|
5823
|
+
goog.uri.utils.haveSameDomain = function(uri1, uri2) {
|
|
5824
|
+
var pieces1 = module$contents$goog$uri$utils_split(uri1), pieces2 = module$contents$goog$uri$utils_split(uri2);
|
|
5825
|
+
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];
|
|
5826
|
+
};
|
|
5827
|
+
goog.uri.utils.makeUnique = function(uri) {
|
|
5828
|
+
return module$contents$goog$uri$utils_setParam(uri, module$contents$goog$uri$utils_StandardQueryParam.RANDOM, goog.string.getRandomString());
|
|
5829
|
+
};
|
|
5830
|
+
goog.uri.utils.parseQueryData = module$contents$goog$uri$utils_parseQueryData;
|
|
5831
|
+
goog.uri.utils.removeFragment = module$contents$goog$uri$utils_removeFragment;
|
|
5832
|
+
goog.uri.utils.removeParam = module$contents$goog$uri$utils_removeParam;
|
|
5833
|
+
goog.uri.utils.setFragmentEncoded = function(uri, fragment) {
|
|
5834
|
+
return module$contents$goog$uri$utils_removeFragment(uri) + (fragment ? "#" + fragment : "");
|
|
5835
|
+
};
|
|
5836
|
+
goog.uri.utils.setParam = module$contents$goog$uri$utils_setParam;
|
|
5816
5837
|
goog.uri.utils.setParamsFromMap = function(uri, params) {
|
|
5817
|
-
var parts = goog
|
|
5838
|
+
var parts = module$contents$goog$uri$utils_splitQueryData(uri), queryData = parts[1], buffer = [];
|
|
5818
5839
|
queryData && queryData.split("&").forEach(function(pair) {
|
|
5819
5840
|
var indexOfEquals = pair.indexOf("="), name = indexOfEquals >= 0 ? pair.slice(0, indexOfEquals) : pair;
|
|
5820
5841
|
params.hasOwnProperty(name) || buffer.push(pair);
|
|
5821
5842
|
});
|
|
5822
|
-
parts[1] = goog
|
|
5823
|
-
return goog
|
|
5824
|
-
};
|
|
5825
|
-
goog.uri.utils.appendPath = function(baseUri, path) {
|
|
5826
|
-
goog.uri.utils.assertNoFragmentsOrQueries_(baseUri);
|
|
5827
|
-
goog.string.endsWith(baseUri, "/") && (baseUri = baseUri.slice(0, -1));
|
|
5828
|
-
goog.string.startsWith(path, "/") && (path = path.slice(1));
|
|
5829
|
-
return "" + baseUri + "/" + path;
|
|
5843
|
+
parts[1] = module$contents$goog$uri$utils_appendQueryData(buffer.join("&"), module$contents$goog$uri$utils_buildQueryDataFromMap(params));
|
|
5844
|
+
return module$contents$goog$uri$utils_joinQueryData(parts);
|
|
5830
5845
|
};
|
|
5831
5846
|
goog.uri.utils.setPath = function(uri, path) {
|
|
5832
5847
|
goog.string.startsWith(path, "/") || (path = "/" + path);
|
|
5833
|
-
var parts = goog
|
|
5834
|
-
return goog
|
|
5848
|
+
var parts = module$contents$goog$uri$utils_split(uri);
|
|
5849
|
+
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]);
|
|
5835
5850
|
};
|
|
5836
|
-
goog.uri.utils.
|
|
5837
|
-
goog
|
|
5838
|
-
return goog.uri.utils.setParam(uri, goog.uri.utils.StandardQueryParam.RANDOM, goog.string.getRandomString());
|
|
5851
|
+
goog.uri.utils.setUrlPackageSupportLoggingHandler = function(handler) {
|
|
5852
|
+
module$contents$goog$uri$utils_urlPackageSupportLoggingHandler = handler;
|
|
5839
5853
|
};
|
|
5854
|
+
goog.uri.utils.split = module$contents$goog$uri$utils_split;
|
|
5840
5855
|
goog.Uri = function(opt_uri, opt_ignoreCase) {
|
|
5841
5856
|
this.domain_ = this.userInfo_ = this.scheme_ = "";
|
|
5842
5857
|
this.port_ = null;
|
|
5843
5858
|
this.fragment_ = this.path_ = "";
|
|
5844
5859
|
this.ignoreCase_ = this.isReadOnly_ = !1;
|
|
5845
5860
|
var m;
|
|
5846
|
-
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
|
|
5847
|
-
"", !0), this.setUserInfo(m[goog
|
|
5861
|
+
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,
|
|
5862
|
+
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] ||
|
|
5863
|
+
"", !0)) : (this.ignoreCase_ = !!opt_ignoreCase, this.queryData_ = new goog.Uri.QueryData(null, this.ignoreCase_));
|
|
5848
5864
|
};
|
|
5849
|
-
goog.Uri.RANDOM_PARAM = goog
|
|
5865
|
+
goog.Uri.RANDOM_PARAM = module$contents$goog$uri$utils_StandardQueryParam.RANDOM;
|
|
5850
5866
|
goog.Uri.prototype.toString = function() {
|
|
5851
5867
|
var out = [], scheme = this.getScheme();
|
|
5852
5868
|
scheme && out.push(goog.Uri.encodeSpecialChars_(scheme, goog.Uri.reDisallowedInSchemeOrUserInfo_, !0), ":");
|
|
@@ -6101,8 +6117,8 @@ goog.Uri.reDisallowedInAbsolutePath_ = /[#\?]/g;
|
|
|
6101
6117
|
goog.Uri.reDisallowedInQuery_ = /[#\?@]/g;
|
|
6102
6118
|
goog.Uri.reDisallowedInFragment_ = /#/g;
|
|
6103
6119
|
goog.Uri.haveSameDomain = function(uri1String, uri2String) {
|
|
6104
|
-
var pieces1 = goog
|
|
6105
|
-
return pieces1[goog
|
|
6120
|
+
var pieces1 = module$contents$goog$uri$utils_split(uri1String), pieces2 = module$contents$goog$uri$utils_split(uri2String);
|
|
6121
|
+
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];
|
|
6106
6122
|
};
|
|
6107
6123
|
goog.Uri.QueryData = function(opt_query, opt_ignoreCase) {
|
|
6108
6124
|
this.count_ = this.keyMap_ = null;
|
|
@@ -6112,7 +6128,7 @@ goog.Uri.QueryData = function(opt_query, opt_ignoreCase) {
|
|
|
6112
6128
|
goog.Uri.QueryData.prototype.ensureKeyMapInitialized_ = function() {
|
|
6113
6129
|
if (!this.keyMap_ && (this.keyMap_ = new Map(), this.count_ = 0, this.encodedQuery_)) {
|
|
6114
6130
|
var self = this;
|
|
6115
|
-
goog
|
|
6131
|
+
module$contents$goog$uri$utils_parseQueryData(this.encodedQuery_, function(name, value) {
|
|
6116
6132
|
self.add(goog.string.urlDecode(name), value);
|
|
6117
6133
|
});
|
|
6118
6134
|
}
|
|
@@ -6294,7 +6310,7 @@ var module$exports$goog$net$rpc$HttpCors = {HTTP_HEADERS_PARAM_NAME:"$httpHeader
|
|
|
6294
6310
|
}
|
|
6295
6311
|
var httpHeaders = module$exports$goog$net$rpc$HttpCors.generateHttpHeadersOverwriteParam(extraHeaders);
|
|
6296
6312
|
if (typeof url === "string") {
|
|
6297
|
-
return goog
|
|
6313
|
+
return module$contents$goog$uri$utils_appendParam(url, goog.string.urlEncode(urlParam), httpHeaders);
|
|
6298
6314
|
}
|
|
6299
6315
|
url.setParameterValue(urlParam, httpHeaders);
|
|
6300
6316
|
return url;
|
|
@@ -6558,7 +6574,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_mes
|
|
|
6558
6574
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable = !1;
|
|
6559
6575
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable = !1;
|
|
6560
6576
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable = !1;
|
|
6561
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6577
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable = !1;
|
|
6562
6578
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__enable = !1;
|
|
6563
6579
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6564
6580
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
@@ -6569,8 +6585,8 @@ goog.flags = {};
|
|
|
6569
6585
|
var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
|
|
6570
6586
|
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);
|
|
6571
6587
|
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);
|
|
6572
|
-
goog.flags.CLIENT_ONLY_WIZ_QUEUE_EFFECT_AND_ON_INIT_INITIAL_RUNS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ?
|
|
6573
|
-
|
|
6588
|
+
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,
|
|
6589
|
+
!0);
|
|
6574
6590
|
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);
|
|
6575
6591
|
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);
|
|
6576
6592
|
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);
|
|
@@ -6580,7 +6596,8 @@ goog.flags.JSPB_USE_CONSTANT_DEFAULT_PIVOT = module$exports$closure$flags$flags$
|
|
|
6580
6596
|
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);
|
|
6581
6597
|
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,
|
|
6582
6598
|
!0);
|
|
6583
|
-
goog.flags.JSPB_DESERIALIZE_BINARY_INT64S_AS_GBIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6599
|
+
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,
|
|
6600
|
+
module$contents$goog$flags_STAGING);
|
|
6584
6601
|
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);
|
|
6585
6602
|
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);
|
|
6586
6603
|
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);
|
|
@@ -7431,28 +7448,30 @@ goog.events.Listenable.prototype.getListener = function(type, listener, capture,
|
|
|
7431
7448
|
};
|
|
7432
7449
|
goog.events.Listenable.prototype.hasListener = function(opt_type, opt_capture) {
|
|
7433
7450
|
};
|
|
7434
|
-
goog
|
|
7435
|
-
}
|
|
7436
|
-
goog
|
|
7437
|
-
goog
|
|
7438
|
-
return ++goog
|
|
7451
|
+
function module$contents$goog$events$ListenableKey_ListenableKey() {
|
|
7452
|
+
}
|
|
7453
|
+
module$contents$goog$events$ListenableKey_ListenableKey.counter_ = 0;
|
|
7454
|
+
module$contents$goog$events$ListenableKey_ListenableKey.reserveKey = function() {
|
|
7455
|
+
return ++module$contents$goog$events$ListenableKey_ListenableKey.counter_;
|
|
7439
7456
|
};
|
|
7440
|
-
goog.events.
|
|
7441
|
-
|
|
7457
|
+
goog.events.ListenableKey = module$contents$goog$events$ListenableKey_ListenableKey;
|
|
7458
|
+
function module$contents$goog$events$Listener_Listener(listener, proxy, src, type, capture, opt_handler) {
|
|
7459
|
+
module$contents$goog$events$Listener_Listener.ENABLE_MONITORING && (this.creationStack = Error().stack);
|
|
7442
7460
|
this.listener = listener;
|
|
7443
7461
|
this.proxy = proxy;
|
|
7444
7462
|
this.src = src;
|
|
7445
7463
|
this.type = type;
|
|
7446
7464
|
this.capture = !!capture;
|
|
7447
7465
|
this.handler = opt_handler;
|
|
7448
|
-
this.key = goog
|
|
7466
|
+
this.key = module$contents$goog$events$ListenableKey_ListenableKey.reserveKey();
|
|
7449
7467
|
this.removed = this.callOnce = !1;
|
|
7450
|
-
}
|
|
7451
|
-
goog
|
|
7452
|
-
goog
|
|
7468
|
+
}
|
|
7469
|
+
module$contents$goog$events$Listener_Listener.ENABLE_MONITORING = !1;
|
|
7470
|
+
module$contents$goog$events$Listener_Listener.prototype.markAsRemoved = function() {
|
|
7453
7471
|
this.removed = !0;
|
|
7454
7472
|
this.handler = this.src = this.proxy = this.listener = null;
|
|
7455
7473
|
};
|
|
7474
|
+
goog.events.Listener = module$contents$goog$events$Listener_Listener;
|
|
7456
7475
|
function module$contents$goog$events$ListenerMap_ListenerMap(src) {
|
|
7457
7476
|
this.src = src;
|
|
7458
7477
|
this.listeners = {};
|
|
@@ -7476,7 +7495,7 @@ module$contents$goog$events$ListenerMap_ListenerMap.prototype.add = function(typ
|
|
|
7476
7495
|
var listenerObj = listenerArray[index];
|
|
7477
7496
|
callOnce || (listenerObj.callOnce = !1);
|
|
7478
7497
|
} else {
|
|
7479
|
-
listenerObj = new goog
|
|
7498
|
+
listenerObj = new module$contents$goog$events$Listener_Listener(listener, null, this.src, typeStr, !!opt_useCapture, opt_listenerScope), listenerObj.callOnce = callOnce, listenerArray.push(listenerObj);
|
|
7480
7499
|
}
|
|
7481
7500
|
return listenerObj;
|
|
7482
7501
|
};
|
|
@@ -8147,53 +8166,75 @@ goog.functions.isFunction = function(val) {
|
|
|
8147
8166
|
return typeof val === "function";
|
|
8148
8167
|
};
|
|
8149
8168
|
goog.math = {};
|
|
8150
|
-
goog
|
|
8151
|
-
return Math.floor(Math.random() * a);
|
|
8152
|
-
};
|
|
8153
|
-
goog.math.uniformRandom = function(a, b) {
|
|
8154
|
-
return a + Math.random() * (b - a);
|
|
8155
|
-
};
|
|
8156
|
-
goog.math.clamp = function(value, min, max) {
|
|
8157
|
-
return Math.min(Math.max(value, min), max);
|
|
8158
|
-
};
|
|
8159
|
-
goog.math.modulo = function(a, b) {
|
|
8169
|
+
function module$contents$goog$math_modulo(a, b) {
|
|
8160
8170
|
var r = a % b;
|
|
8161
8171
|
return r * b < 0 ? r + b : r;
|
|
8162
|
-
}
|
|
8163
|
-
goog
|
|
8164
|
-
return
|
|
8165
|
-
}
|
|
8166
|
-
goog
|
|
8167
|
-
return Math.abs(a - b) <= (opt_tolerance || 1E-6);
|
|
8168
|
-
};
|
|
8169
|
-
goog.math.standardAngle = function(angle) {
|
|
8170
|
-
return goog.math.modulo(angle, 360);
|
|
8171
|
-
};
|
|
8172
|
-
goog.math.standardAngleInRadians = function(angle) {
|
|
8173
|
-
return goog.math.modulo(angle, 2 * Math.PI);
|
|
8174
|
-
};
|
|
8175
|
-
goog.math.toRadians = function(angleDegrees) {
|
|
8172
|
+
}
|
|
8173
|
+
function module$contents$goog$math_standardAngle(angle) {
|
|
8174
|
+
return module$contents$goog$math_modulo(angle, 360);
|
|
8175
|
+
}
|
|
8176
|
+
function module$contents$goog$math_toRadians(angleDegrees) {
|
|
8176
8177
|
return angleDegrees * Math.PI / 180;
|
|
8177
|
-
}
|
|
8178
|
-
goog
|
|
8178
|
+
}
|
|
8179
|
+
function module$contents$goog$math_toDegrees(angleRadians) {
|
|
8179
8180
|
return angleRadians * 180 / Math.PI;
|
|
8181
|
+
}
|
|
8182
|
+
function module$contents$goog$math_angle(x1, y1, x2, y2) {
|
|
8183
|
+
return module$contents$goog$math_standardAngle(module$contents$goog$math_toDegrees(Math.atan2(y2 - y1, x2 - x1)));
|
|
8184
|
+
}
|
|
8185
|
+
function module$contents$goog$math_sum(var_args) {
|
|
8186
|
+
return Array.prototype.reduce.call(arguments, function(sum, value) {
|
|
8187
|
+
return sum + value;
|
|
8188
|
+
}, 0);
|
|
8189
|
+
}
|
|
8190
|
+
function module$contents$goog$math_average(var_args) {
|
|
8191
|
+
return module$contents$goog$math_sum.apply(null, arguments) / arguments.length;
|
|
8192
|
+
}
|
|
8193
|
+
function module$contents$goog$math_sampleVariance(var_args) {
|
|
8194
|
+
var sampleSize = arguments.length;
|
|
8195
|
+
if (sampleSize < 2) {
|
|
8196
|
+
return 0;
|
|
8197
|
+
}
|
|
8198
|
+
var mean = module$contents$goog$math_average.apply(null, arguments);
|
|
8199
|
+
return module$contents$goog$math_sum.apply(null, Array.prototype.map.call(arguments, function(val) {
|
|
8200
|
+
return Math.pow(val - mean, 2);
|
|
8201
|
+
})) / (sampleSize - 1);
|
|
8202
|
+
}
|
|
8203
|
+
function module$contents$goog$math_isInt(num) {
|
|
8204
|
+
return isFinite(num) && num % 1 == 0;
|
|
8205
|
+
}
|
|
8206
|
+
goog.math.angle = module$contents$goog$math_angle;
|
|
8207
|
+
goog.math.angleDifference = function(startAngle, endAngle) {
|
|
8208
|
+
var d = module$contents$goog$math_standardAngle(endAngle) - module$contents$goog$math_standardAngle(startAngle);
|
|
8209
|
+
d > 180 ? d -= 360 : d <= -180 && (d = 360 + d);
|
|
8210
|
+
return d;
|
|
8180
8211
|
};
|
|
8181
8212
|
goog.math.angleDx = function(degrees, radius) {
|
|
8182
|
-
return radius * Math.cos(goog
|
|
8213
|
+
return radius * Math.cos(module$contents$goog$math_toRadians(degrees));
|
|
8183
8214
|
};
|
|
8184
8215
|
goog.math.angleDy = function(degrees, radius) {
|
|
8185
|
-
return radius * Math.sin(goog
|
|
8216
|
+
return radius * Math.sin(module$contents$goog$math_toRadians(degrees));
|
|
8217
|
+
};
|
|
8218
|
+
goog.math.average = module$contents$goog$math_average;
|
|
8219
|
+
goog.math.clamp = function(value, min, max) {
|
|
8220
|
+
return Math.min(Math.max(value, min), max);
|
|
8186
8221
|
};
|
|
8187
|
-
goog.math.
|
|
8188
|
-
return
|
|
8222
|
+
goog.math.isFiniteNumber = function(num) {
|
|
8223
|
+
return isFinite(num);
|
|
8189
8224
|
};
|
|
8190
|
-
goog.math.
|
|
8191
|
-
|
|
8192
|
-
|
|
8193
|
-
return d;
|
|
8225
|
+
goog.math.isInt = module$contents$goog$math_isInt;
|
|
8226
|
+
goog.math.isNegativeZero = function(num) {
|
|
8227
|
+
return num == 0 && 1 / num < 0;
|
|
8194
8228
|
};
|
|
8195
|
-
goog.math.
|
|
8196
|
-
return
|
|
8229
|
+
goog.math.lerp = function(a, b, x) {
|
|
8230
|
+
return a + x * (b - a);
|
|
8231
|
+
};
|
|
8232
|
+
goog.math.log10Floor = function(num) {
|
|
8233
|
+
if (num > 0) {
|
|
8234
|
+
var x = Math.round(Math.log(num) * Math.LOG10E);
|
|
8235
|
+
return x - (parseFloat("1e" + x) > num ? 1 : 0);
|
|
8236
|
+
}
|
|
8237
|
+
return num == 0 ? -Infinity : NaN;
|
|
8197
8238
|
};
|
|
8198
8239
|
goog.math.longestCommonSubsequence = function(array1, array2, opt_compareFn, opt_collectorFn) {
|
|
8199
8240
|
var compare = opt_compareFn || function(a, b) {
|
|
@@ -8220,50 +8261,37 @@ goog.math.longestCommonSubsequence = function(array1, array2, opt_compareFn, opt
|
|
|
8220
8261
|
}
|
|
8221
8262
|
return result;
|
|
8222
8263
|
};
|
|
8223
|
-
goog.math.
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
}, 0);
|
|
8227
|
-
};
|
|
8228
|
-
goog.math.average = function(var_args) {
|
|
8229
|
-
return goog.math.sum.apply(null, arguments) / arguments.length;
|
|
8230
|
-
};
|
|
8231
|
-
goog.math.sampleVariance = function(var_args) {
|
|
8232
|
-
var sampleSize = arguments.length;
|
|
8233
|
-
if (sampleSize < 2) {
|
|
8234
|
-
return 0;
|
|
8235
|
-
}
|
|
8236
|
-
var mean = goog.math.average.apply(null, arguments);
|
|
8237
|
-
return goog.math.sum.apply(null, Array.prototype.map.call(arguments, function(val) {
|
|
8238
|
-
return Math.pow(val - mean, 2);
|
|
8239
|
-
})) / (sampleSize - 1);
|
|
8240
|
-
};
|
|
8241
|
-
goog.math.standardDeviation = function(var_args) {
|
|
8242
|
-
return Math.sqrt(goog.math.sampleVariance.apply(null, arguments));
|
|
8243
|
-
};
|
|
8244
|
-
goog.math.isInt = function(num) {
|
|
8245
|
-
return isFinite(num) && num % 1 == 0;
|
|
8246
|
-
};
|
|
8247
|
-
goog.math.isFiniteNumber = function(num) {
|
|
8248
|
-
return isFinite(num);
|
|
8264
|
+
goog.math.modulo = module$contents$goog$math_modulo;
|
|
8265
|
+
goog.math.nearlyEquals = function(a, b, opt_tolerance) {
|
|
8266
|
+
return Math.abs(a - b) <= (opt_tolerance || 1E-6);
|
|
8249
8267
|
};
|
|
8250
|
-
goog.math.
|
|
8251
|
-
return
|
|
8268
|
+
goog.math.randomInt = function(a) {
|
|
8269
|
+
return Math.floor(Math.random() * a);
|
|
8252
8270
|
};
|
|
8253
|
-
goog.math.
|
|
8254
|
-
|
|
8255
|
-
|
|
8256
|
-
return x - (parseFloat("1e" + x) > num ? 1 : 0);
|
|
8257
|
-
}
|
|
8258
|
-
return num == 0 ? -Infinity : NaN;
|
|
8271
|
+
goog.math.safeCeil = function(num, opt_epsilon) {
|
|
8272
|
+
goog.asserts.assert(opt_epsilon === void 0 || opt_epsilon > 0);
|
|
8273
|
+
return Math.ceil(num - (opt_epsilon || 2E-15));
|
|
8259
8274
|
};
|
|
8260
8275
|
goog.math.safeFloor = function(num, opt_epsilon) {
|
|
8261
8276
|
goog.asserts.assert(opt_epsilon === void 0 || opt_epsilon > 0);
|
|
8262
8277
|
return Math.floor(num + (opt_epsilon || 2E-15));
|
|
8263
8278
|
};
|
|
8264
|
-
goog.math.
|
|
8265
|
-
|
|
8266
|
-
return
|
|
8279
|
+
goog.math.sampleVariance = module$contents$goog$math_sampleVariance;
|
|
8280
|
+
goog.math.sign = function(x) {
|
|
8281
|
+
return x > 0 ? 1 : x < 0 ? -1 : x;
|
|
8282
|
+
};
|
|
8283
|
+
goog.math.standardAngle = module$contents$goog$math_standardAngle;
|
|
8284
|
+
goog.math.standardAngleInRadians = function(angle) {
|
|
8285
|
+
return module$contents$goog$math_modulo(angle, 2 * Math.PI);
|
|
8286
|
+
};
|
|
8287
|
+
goog.math.standardDeviation = function(var_args) {
|
|
8288
|
+
return Math.sqrt(module$contents$goog$math_sampleVariance.apply(null, arguments));
|
|
8289
|
+
};
|
|
8290
|
+
goog.math.sum = module$contents$goog$math_sum;
|
|
8291
|
+
goog.math.toDegrees = module$contents$goog$math_toDegrees;
|
|
8292
|
+
goog.math.toRadians = module$contents$goog$math_toRadians;
|
|
8293
|
+
goog.math.uniformRandom = function(a, b) {
|
|
8294
|
+
return a + Math.random() * (b - a);
|
|
8267
8295
|
};
|
|
8268
8296
|
goog.iter = {};
|
|
8269
8297
|
goog.iter.Iterator = function() {
|
|
@@ -8674,7 +8702,7 @@ goog.iter.enumerate = function(iterable, opt_start) {
|
|
|
8674
8702
|
return goog.iter.zip(goog.iter.count(opt_start), iterable);
|
|
8675
8703
|
};
|
|
8676
8704
|
goog.iter.limit = function(iterable, limitSize) {
|
|
8677
|
-
goog.asserts.assert(goog
|
|
8705
|
+
goog.asserts.assert(module$contents$goog$math_isInt(limitSize) && limitSize >= 0);
|
|
8678
8706
|
var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator(), remaining = limitSize;
|
|
8679
8707
|
iter.next = function() {
|
|
8680
8708
|
return remaining-- > 0 ? iterator.next() : goog.iter.ES6_ITERATOR_DONE;
|
|
@@ -8682,16 +8710,16 @@ goog.iter.limit = function(iterable, limitSize) {
|
|
|
8682
8710
|
return iter;
|
|
8683
8711
|
};
|
|
8684
8712
|
goog.iter.consume = function(iterable, count) {
|
|
8685
|
-
goog.asserts.assert(goog
|
|
8713
|
+
goog.asserts.assert(module$contents$goog$math_isInt(count) && count >= 0);
|
|
8686
8714
|
for (var iterator = goog.iter.toIterator(iterable); count-- > 0;) {
|
|
8687
8715
|
goog.iter.nextOrValue(iterator, null);
|
|
8688
8716
|
}
|
|
8689
8717
|
return iterator;
|
|
8690
8718
|
};
|
|
8691
8719
|
goog.iter.slice = function(iterable, start, opt_end) {
|
|
8692
|
-
goog.asserts.assert(goog
|
|
8720
|
+
goog.asserts.assert(module$contents$goog$math_isInt(start) && start >= 0);
|
|
8693
8721
|
var iterator = goog.iter.consume(iterable, start);
|
|
8694
|
-
typeof opt_end === "number" && (goog.asserts.assert(goog
|
|
8722
|
+
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));
|
|
8695
8723
|
return iterator;
|
|
8696
8724
|
};
|
|
8697
8725
|
goog.iter.hasDuplicates_ = function(arr) {
|
|
@@ -15687,7 +15715,7 @@ goog.dom.TagName.VIDEO = "VIDEO";
|
|
|
15687
15715
|
goog.dom.TagName.WBR = "WBR";
|
|
15688
15716
|
goog.dom.element = {};
|
|
15689
15717
|
var module$contents$goog$dom$element_isElement = function(value) {
|
|
15690
|
-
return goog.isObject(value) && value.nodeType === goog
|
|
15718
|
+
return goog.isObject(value) && value.nodeType === module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
15691
15719
|
}, module$contents$goog$dom$element_isHtmlElement = function(value) {
|
|
15692
15720
|
return goog.isObject(value) && module$contents$goog$dom$element_isElement(value) && (!value.namespaceURI || value.namespaceURI === "http://www.w3.org/1999/xhtml");
|
|
15693
15721
|
}, module$contents$goog$dom$element_isHtmlElementOfType = function(value, tagName) {
|
|
@@ -15834,7 +15862,7 @@ module$contents$goog$math$Coordinate_Coordinate.magnitude = function(a) {
|
|
|
15834
15862
|
return Math.sqrt(a.x * a.x + a.y * a.y);
|
|
15835
15863
|
};
|
|
15836
15864
|
module$contents$goog$math$Coordinate_Coordinate.azimuth = function(a) {
|
|
15837
|
-
return goog
|
|
15865
|
+
return module$contents$goog$math_angle(0, 0, a.x, a.y);
|
|
15838
15866
|
};
|
|
15839
15867
|
module$contents$goog$math$Coordinate_Coordinate.squaredDistance = function(a, b) {
|
|
15840
15868
|
var dx = a.x - b.x, dy = a.y - b.y;
|
|
@@ -15877,72 +15905,73 @@ module$contents$goog$math$Coordinate_Coordinate.prototype.rotateRadians = functi
|
|
|
15877
15905
|
this.y = (x - center.x) * sin + (y - center.y) * cos + center.y;
|
|
15878
15906
|
};
|
|
15879
15907
|
module$contents$goog$math$Coordinate_Coordinate.prototype.rotateDegrees = function(degrees, opt_center) {
|
|
15880
|
-
this.rotateRadians(goog
|
|
15908
|
+
this.rotateRadians(module$contents$goog$math_toRadians(degrees), opt_center);
|
|
15881
15909
|
};
|
|
15882
15910
|
goog.math.Coordinate = module$contents$goog$math$Coordinate_Coordinate;
|
|
15883
|
-
goog
|
|
15911
|
+
function module$contents$goog$math$Size_Size(width, height) {
|
|
15884
15912
|
this.width = width;
|
|
15885
15913
|
this.height = height;
|
|
15886
|
-
}
|
|
15887
|
-
goog
|
|
15914
|
+
}
|
|
15915
|
+
module$contents$goog$math$Size_Size.equals = function(a, b) {
|
|
15888
15916
|
return a == b ? !0 : a && b ? a.width == b.width && a.height == b.height : !1;
|
|
15889
15917
|
};
|
|
15890
|
-
goog
|
|
15891
|
-
return new goog
|
|
15918
|
+
module$contents$goog$math$Size_Size.prototype.clone = function() {
|
|
15919
|
+
return new module$contents$goog$math$Size_Size(this.width, this.height);
|
|
15892
15920
|
};
|
|
15893
|
-
goog.DEBUG && (goog
|
|
15921
|
+
goog.DEBUG && (module$contents$goog$math$Size_Size.prototype.toString = function() {
|
|
15894
15922
|
return "(" + this.width + " x " + this.height + ")";
|
|
15895
15923
|
});
|
|
15896
|
-
goog
|
|
15924
|
+
module$contents$goog$math$Size_Size.prototype.getLongest = function() {
|
|
15897
15925
|
return Math.max(this.width, this.height);
|
|
15898
15926
|
};
|
|
15899
|
-
goog
|
|
15927
|
+
module$contents$goog$math$Size_Size.prototype.getShortest = function() {
|
|
15900
15928
|
return Math.min(this.width, this.height);
|
|
15901
15929
|
};
|
|
15902
|
-
goog
|
|
15930
|
+
module$contents$goog$math$Size_Size.prototype.area = function() {
|
|
15903
15931
|
return this.width * this.height;
|
|
15904
15932
|
};
|
|
15905
|
-
goog
|
|
15933
|
+
module$contents$goog$math$Size_Size.prototype.perimeter = function() {
|
|
15906
15934
|
return (this.width + this.height) * 2;
|
|
15907
15935
|
};
|
|
15908
|
-
goog
|
|
15936
|
+
module$contents$goog$math$Size_Size.prototype.aspectRatio = function() {
|
|
15909
15937
|
return this.width / this.height;
|
|
15910
15938
|
};
|
|
15911
|
-
goog
|
|
15939
|
+
module$contents$goog$math$Size_Size.prototype.isEmpty = function() {
|
|
15912
15940
|
return !this.area();
|
|
15913
15941
|
};
|
|
15914
|
-
goog
|
|
15942
|
+
module$contents$goog$math$Size_Size.prototype.ceil = function() {
|
|
15915
15943
|
this.width = Math.ceil(this.width);
|
|
15916
15944
|
this.height = Math.ceil(this.height);
|
|
15917
15945
|
return this;
|
|
15918
15946
|
};
|
|
15919
|
-
goog
|
|
15947
|
+
module$contents$goog$math$Size_Size.prototype.fitsInside = function(target) {
|
|
15920
15948
|
return this.width <= target.width && this.height <= target.height;
|
|
15921
15949
|
};
|
|
15922
|
-
goog
|
|
15950
|
+
module$contents$goog$math$Size_Size.prototype.floor = function() {
|
|
15923
15951
|
this.width = Math.floor(this.width);
|
|
15924
15952
|
this.height = Math.floor(this.height);
|
|
15925
15953
|
return this;
|
|
15926
15954
|
};
|
|
15927
|
-
goog
|
|
15955
|
+
module$contents$goog$math$Size_Size.prototype.round = function() {
|
|
15928
15956
|
this.width = Math.round(this.width);
|
|
15929
15957
|
this.height = Math.round(this.height);
|
|
15930
15958
|
return this;
|
|
15931
15959
|
};
|
|
15932
|
-
goog
|
|
15960
|
+
module$contents$goog$math$Size_Size.prototype.scale = function(sx, opt_sy) {
|
|
15933
15961
|
var sy;
|
|
15934
15962
|
this.width *= sx;
|
|
15935
15963
|
this.height *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
15936
15964
|
return this;
|
|
15937
15965
|
};
|
|
15938
|
-
goog
|
|
15966
|
+
module$contents$goog$math$Size_Size.prototype.scaleToCover = function(target) {
|
|
15939
15967
|
var s = this.aspectRatio() <= target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
15940
15968
|
return this.scale(s);
|
|
15941
15969
|
};
|
|
15942
|
-
goog
|
|
15970
|
+
module$contents$goog$math$Size_Size.prototype.scaleToFit = function(target) {
|
|
15943
15971
|
var s = this.aspectRatio() > target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
15944
15972
|
return this.scale(s);
|
|
15945
15973
|
};
|
|
15974
|
+
goog.math.Size = module$contents$goog$math$Size_Size;
|
|
15946
15975
|
goog.string.Const = function(opt_token, opt_content) {
|
|
15947
15976
|
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
15948
15977
|
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
@@ -17881,7 +17910,7 @@ goog.dom.getViewportSize = function(opt_window) {
|
|
|
17881
17910
|
};
|
|
17882
17911
|
goog.dom.getViewportSize_ = function(win) {
|
|
17883
17912
|
var doc = win.document, el = goog.dom.isCss1CompatMode_(doc) ? doc.documentElement : doc.body;
|
|
17884
|
-
return new goog
|
|
17913
|
+
return new module$contents$goog$math$Size_Size(el.clientWidth, el.clientHeight);
|
|
17885
17914
|
};
|
|
17886
17915
|
goog.dom.getDocumentHeight = function() {
|
|
17887
17916
|
return goog.dom.getDocumentHeight_(window);
|
|
@@ -18001,7 +18030,7 @@ goog.dom.isCss1CompatMode_ = function(doc) {
|
|
|
18001
18030
|
return goog.dom.COMPAT_MODE_KNOWN_ ? goog.dom.ASSUME_STANDARDS_MODE : doc.compatMode == "CSS1Compat";
|
|
18002
18031
|
};
|
|
18003
18032
|
goog.dom.canHaveChildren = function(node) {
|
|
18004
|
-
if (node.nodeType != goog
|
|
18033
|
+
if (node.nodeType != module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
18005
18034
|
return !1;
|
|
18006
18035
|
}
|
|
18007
18036
|
switch(node.tagName) {
|
|
@@ -18075,7 +18104,7 @@ goog.dom.copyContents = function(target, source) {
|
|
|
18075
18104
|
};
|
|
18076
18105
|
goog.dom.flattenElement = function(element) {
|
|
18077
18106
|
var child, parent = element.parentNode;
|
|
18078
|
-
if (parent && parent.nodeType != goog
|
|
18107
|
+
if (parent && parent.nodeType != module$contents$goog$dom$NodeType_NodeType.DOCUMENT_FRAGMENT) {
|
|
18079
18108
|
if (element.removeNode) {
|
|
18080
18109
|
return element.removeNode(!1);
|
|
18081
18110
|
}
|
|
@@ -18087,7 +18116,7 @@ goog.dom.flattenElement = function(element) {
|
|
|
18087
18116
|
};
|
|
18088
18117
|
goog.dom.getChildren = function(element) {
|
|
18089
18118
|
return goog.FEATURESET_YEAR > 2018 || element.children != void 0 ? element.children : Array.prototype.filter.call(element.childNodes, function(node) {
|
|
18090
|
-
return node.nodeType == goog
|
|
18119
|
+
return node.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18091
18120
|
});
|
|
18092
18121
|
};
|
|
18093
18122
|
goog.dom.getFirstElementChild = function(node) {
|
|
@@ -18103,7 +18132,7 @@ goog.dom.getPreviousElementSibling = function(node) {
|
|
|
18103
18132
|
return node.previousElementSibling !== void 0 ? node.previousElementSibling : goog.dom.getNextElementNode_(node.previousSibling, !1);
|
|
18104
18133
|
};
|
|
18105
18134
|
goog.dom.getNextElementNode_ = function(node, forward) {
|
|
18106
|
-
for (; node && node.nodeType != goog
|
|
18135
|
+
for (; node && node.nodeType != module$contents$goog$dom$NodeType_NodeType.ELEMENT;) {
|
|
18107
18136
|
node = forward ? node.nextSibling : node.previousSibling;
|
|
18108
18137
|
}
|
|
18109
18138
|
return node;
|
|
@@ -18136,7 +18165,7 @@ goog.dom.isNodeLike = function(obj) {
|
|
|
18136
18165
|
return goog.isObject(obj) && obj.nodeType > 0;
|
|
18137
18166
|
};
|
|
18138
18167
|
goog.dom.isElement = function(obj) {
|
|
18139
|
-
return goog.isObject(obj) && obj.nodeType == goog
|
|
18168
|
+
return goog.isObject(obj) && obj.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18140
18169
|
};
|
|
18141
18170
|
goog.dom.isWindow = function(obj) {
|
|
18142
18171
|
return goog.isObject(obj) && obj.window == obj;
|
|
@@ -18148,7 +18177,7 @@ goog.dom.contains = function(parent, descendant) {
|
|
|
18148
18177
|
if (!parent || !descendant) {
|
|
18149
18178
|
return !1;
|
|
18150
18179
|
}
|
|
18151
|
-
if (goog.FEATURESET_YEAR > 2018 || parent.contains && descendant.nodeType == goog
|
|
18180
|
+
if (goog.FEATURESET_YEAR > 2018 || parent.contains && descendant.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
18152
18181
|
return parent == descendant || parent.contains(descendant);
|
|
18153
18182
|
}
|
|
18154
18183
|
if (typeof parent.compareDocumentPosition != "undefined") {
|
|
@@ -18167,7 +18196,7 @@ goog.dom.compareNodeOrder = function(node1, node2) {
|
|
|
18167
18196
|
return node1.compareDocumentPosition(node2) & 2 ? 1 : -1;
|
|
18168
18197
|
}
|
|
18169
18198
|
if ("sourceIndex" in node1 || node1.parentNode && "sourceIndex" in node1.parentNode) {
|
|
18170
|
-
var isElement1 = node1.nodeType == goog
|
|
18199
|
+
var isElement1 = node1.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT, isElement2 = node2.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18171
18200
|
if (isElement1 && isElement2) {
|
|
18172
18201
|
return node1.sourceIndex - node2.sourceIndex;
|
|
18173
18202
|
}
|
|
@@ -18233,7 +18262,7 @@ goog.dom.isInDocument = function(node) {
|
|
|
18233
18262
|
};
|
|
18234
18263
|
goog.dom.getOwnerDocument = function(node) {
|
|
18235
18264
|
goog.asserts.assert(node, "Node cannot be null or undefined.");
|
|
18236
|
-
return node.nodeType == goog
|
|
18265
|
+
return node.nodeType == module$contents$goog$dom$NodeType_NodeType.DOCUMENT ? node : node.ownerDocument || node.document;
|
|
18237
18266
|
};
|
|
18238
18267
|
goog.dom.getFrameContentDocument = function(frame) {
|
|
18239
18268
|
return frame.contentDocument || frame.contentWindow.document;
|
|
@@ -18249,9 +18278,9 @@ goog.dom.setTextContent = function(node, text) {
|
|
|
18249
18278
|
goog.asserts.assert(node != null, "goog.dom.setTextContent expects a non-null value for node");
|
|
18250
18279
|
if ("textContent" in node) {
|
|
18251
18280
|
node.textContent = text;
|
|
18252
|
-
} else if (node.nodeType == goog
|
|
18281
|
+
} else if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18253
18282
|
node.data = String(text);
|
|
18254
|
-
} else if (node.firstChild && node.firstChild.nodeType == goog
|
|
18283
|
+
} else if (node.firstChild && node.firstChild.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18255
18284
|
for (; node.lastChild != node.firstChild;) {
|
|
18256
18285
|
node.removeChild(goog.asserts.assert(node.lastChild));
|
|
18257
18286
|
}
|
|
@@ -18314,7 +18343,7 @@ goog.dom.findElements = function(root, pred) {
|
|
|
18314
18343
|
return result;
|
|
18315
18344
|
};
|
|
18316
18345
|
goog.dom.getChildrenReverse_ = function(node) {
|
|
18317
|
-
if (node.nodeType == goog
|
|
18346
|
+
if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.DOCUMENT) {
|
|
18318
18347
|
return [node.documentElement];
|
|
18319
18348
|
}
|
|
18320
18349
|
for (var children = [], c = node.lastElementChild; c; c = c.previousElementSibling) {
|
|
@@ -18364,7 +18393,7 @@ goog.dom.getRawTextContent = function(node) {
|
|
|
18364
18393
|
};
|
|
18365
18394
|
goog.dom.getTextContent_ = function(node, buf, normalizeWhitespace) {
|
|
18366
18395
|
if (!(node.nodeName in goog.dom.TAGS_TO_IGNORE_)) {
|
|
18367
|
-
if (node.nodeType == goog
|
|
18396
|
+
if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18368
18397
|
normalizeWhitespace ? buf.push(String(node.nodeValue).replace(/(\r\n|\r|\n)/g, "")) : buf.push(node.nodeValue);
|
|
18369
18398
|
} else if (node.nodeName in goog.dom.PREDEFINED_TAG_VALUES_) {
|
|
18370
18399
|
buf.push(goog.dom.PREDEFINED_TAG_VALUES_[node.nodeName]);
|
|
@@ -18390,7 +18419,7 @@ goog.dom.getNodeTextOffset = function(node, opt_offsetParent) {
|
|
|
18390
18419
|
goog.dom.getNodeAtOffset = function(parent, offset, opt_result) {
|
|
18391
18420
|
for (var stack = [parent], pos = 0, cur = null; stack.length > 0 && pos < offset;) {
|
|
18392
18421
|
if (cur = stack.pop(), !(cur.nodeName in goog.dom.TAGS_TO_IGNORE_)) {
|
|
18393
|
-
if (cur.nodeType == goog
|
|
18422
|
+
if (cur.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18394
18423
|
var text = cur.nodeValue.replace(/(\r\n|\r|\n)/g, "").replace(/ +/g, " ");
|
|
18395
18424
|
pos += text.length;
|
|
18396
18425
|
} else if (cur.nodeName in goog.dom.PREDEFINED_TAG_VALUES_) {
|
|
@@ -18935,44 +18964,38 @@ goog.net.jsloader.Error = function(code, opt_message) {
|
|
|
18935
18964
|
};
|
|
18936
18965
|
goog.inherits(goog.net.jsloader.Error, module$contents$goog$debug$Error_DebugError);
|
|
18937
18966
|
goog.json = {};
|
|
18938
|
-
goog
|
|
18939
|
-
goog.json.isValid = function(s) {
|
|
18967
|
+
function module$contents$goog$json_isValid(s) {
|
|
18940
18968
|
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, ""));
|
|
18941
|
-
}
|
|
18942
|
-
goog
|
|
18943
|
-
}
|
|
18944
|
-
goog.json.setErrorLogger = function(errorLogger) {
|
|
18945
|
-
goog.json.errorLogger_ = errorLogger;
|
|
18946
|
-
};
|
|
18947
|
-
goog.json.parse = goog.json.USE_NATIVE_JSON ? goog.global.JSON.parse : function(s) {
|
|
18969
|
+
}
|
|
18970
|
+
var module$contents$goog$json_errorLoggerInternal = function() {
|
|
18971
|
+
}, module$contents$goog$json_parse = function(s) {
|
|
18948
18972
|
try {
|
|
18949
18973
|
return goog.global.JSON.parse(s);
|
|
18950
18974
|
} catch (ex) {
|
|
18951
18975
|
var error = ex;
|
|
18952
18976
|
}
|
|
18953
18977
|
var o = String(s);
|
|
18954
|
-
if (goog
|
|
18978
|
+
if (module$contents$goog$json_isValid(o)) {
|
|
18955
18979
|
try {
|
|
18956
18980
|
var result = eval("(" + o + ")");
|
|
18957
|
-
error && goog
|
|
18981
|
+
error && module$contents$goog$json_errorLoggerInternal("Invalid JSON: " + o, error);
|
|
18958
18982
|
return result;
|
|
18959
18983
|
} catch (ex) {
|
|
18960
18984
|
}
|
|
18961
18985
|
}
|
|
18962
18986
|
throw Error("Invalid JSON string: " + o);
|
|
18987
|
+
}, module$contents$goog$json_serialize = function(object, opt_replacer) {
|
|
18988
|
+
return (new module$contents$goog$json_Serializer(opt_replacer)).serialize(object);
|
|
18963
18989
|
};
|
|
18964
|
-
|
|
18965
|
-
return (new goog.json.Serializer(opt_replacer)).serialize(object);
|
|
18966
|
-
};
|
|
18967
|
-
goog.json.Serializer = function(opt_replacer) {
|
|
18990
|
+
function module$contents$goog$json_Serializer(opt_replacer) {
|
|
18968
18991
|
this.replacer_ = opt_replacer;
|
|
18969
|
-
}
|
|
18970
|
-
goog.
|
|
18992
|
+
}
|
|
18993
|
+
module$contents$goog$json_Serializer.prototype.serialize = function(object) {
|
|
18971
18994
|
var sb = [];
|
|
18972
18995
|
this.serializeInternal(object, sb);
|
|
18973
18996
|
return sb.join("");
|
|
18974
18997
|
};
|
|
18975
|
-
goog.
|
|
18998
|
+
module$contents$goog$json_Serializer.prototype.serializeInternal = function(object, sb) {
|
|
18976
18999
|
if (object == null) {
|
|
18977
19000
|
sb.push("null");
|
|
18978
19001
|
} else {
|
|
@@ -19006,19 +19029,19 @@ goog.json.Serializer.prototype.serializeInternal = function(object, sb) {
|
|
|
19006
19029
|
}
|
|
19007
19030
|
}
|
|
19008
19031
|
};
|
|
19009
|
-
goog.
|
|
19010
|
-
goog.
|
|
19011
|
-
goog.
|
|
19012
|
-
sb.push('"', s.replace(goog.
|
|
19013
|
-
var rv = goog.
|
|
19014
|
-
rv || (rv = "\\u" + (c.charCodeAt(0) | 65536).toString(16).slice(1), goog.
|
|
19032
|
+
module$contents$goog$json_Serializer.charToJsonCharCache_ = {'"':'\\"', "\\":"\\\\", "/":"\\/", "\b":"\\b", "\f":"\\f", "\n":"\\n", "\r":"\\r", "\t":"\\t", "\v":"\\u000b"};
|
|
19033
|
+
module$contents$goog$json_Serializer.charsToReplace_ = /\uffff/.test("\uffff") ? /[\\"\x00-\x1f\x7f-\uffff]/g : /[\\"\x00-\x1f\x7f-\xff]/g;
|
|
19034
|
+
module$contents$goog$json_Serializer.prototype.serializeString_ = function(s, sb) {
|
|
19035
|
+
sb.push('"', s.replace(module$contents$goog$json_Serializer.charsToReplace_, function(c) {
|
|
19036
|
+
var rv = module$contents$goog$json_Serializer.charToJsonCharCache_[c];
|
|
19037
|
+
rv || (rv = "\\u" + (c.charCodeAt(0) | 65536).toString(16).slice(1), module$contents$goog$json_Serializer.charToJsonCharCache_[c] = rv);
|
|
19015
19038
|
return rv;
|
|
19016
19039
|
}), '"');
|
|
19017
19040
|
};
|
|
19018
|
-
goog.
|
|
19041
|
+
module$contents$goog$json_Serializer.prototype.serializeNumber_ = function(n, sb) {
|
|
19019
19042
|
sb.push(isFinite(n) && !isNaN(n) ? String(n) : "null");
|
|
19020
19043
|
};
|
|
19021
|
-
goog.
|
|
19044
|
+
module$contents$goog$json_Serializer.prototype.serializeArray = function(arr, sb) {
|
|
19022
19045
|
var l = arr.length;
|
|
19023
19046
|
sb.push("[");
|
|
19024
19047
|
for (var sep = "", i = 0; i < l; i++) {
|
|
@@ -19029,7 +19052,7 @@ goog.json.Serializer.prototype.serializeArray = function(arr, sb) {
|
|
|
19029
19052
|
}
|
|
19030
19053
|
sb.push("]");
|
|
19031
19054
|
};
|
|
19032
|
-
goog.
|
|
19055
|
+
module$contents$goog$json_Serializer.prototype.serializeObject_ = function(obj, sb) {
|
|
19033
19056
|
sb.push("{");
|
|
19034
19057
|
var sep = "", key;
|
|
19035
19058
|
for (key in obj) {
|
|
@@ -19040,16 +19063,17 @@ goog.json.Serializer.prototype.serializeObject_ = function(obj, sb) {
|
|
|
19040
19063
|
}
|
|
19041
19064
|
sb.push("}");
|
|
19042
19065
|
};
|
|
19043
|
-
goog.json.
|
|
19044
|
-
|
|
19045
|
-
|
|
19046
|
-
|
|
19047
|
-
|
|
19048
|
-
|
|
19049
|
-
|
|
19050
|
-
|
|
19051
|
-
|
|
19066
|
+
goog.json.Replacer = void 0;
|
|
19067
|
+
goog.json.Reviver = void 0;
|
|
19068
|
+
goog.json.Serializer = module$contents$goog$json_Serializer;
|
|
19069
|
+
goog.json.USE_NATIVE_JSON = !1;
|
|
19070
|
+
goog.json.isValid = module$contents$goog$json_isValid;
|
|
19071
|
+
goog.json.parse = module$contents$goog$json_parse;
|
|
19072
|
+
goog.json.serialize = module$contents$goog$json_serialize;
|
|
19073
|
+
goog.json.setErrorLogger = function(errorLogger) {
|
|
19074
|
+
module$contents$goog$json_errorLoggerInternal = errorLogger;
|
|
19052
19075
|
};
|
|
19076
|
+
goog.json.hybrid = {};
|
|
19053
19077
|
function module$contents$goog$json$hybrid_parseInternal(jsonString, fallbackParser) {
|
|
19054
19078
|
if (goog.global.JSON) {
|
|
19055
19079
|
try {
|
|
@@ -19061,38 +19085,46 @@ function module$contents$goog$json$hybrid_parseInternal(jsonString, fallbackPars
|
|
|
19061
19085
|
}
|
|
19062
19086
|
return fallbackParser(jsonString);
|
|
19063
19087
|
}
|
|
19064
|
-
var module$contents$goog$json$hybrid_parse =
|
|
19065
|
-
return module$contents$goog$json$hybrid_parseInternal(jsonString, goog
|
|
19088
|
+
var module$contents$goog$json$hybrid_parse = function(jsonString) {
|
|
19089
|
+
return module$contents$goog$json$hybrid_parseInternal(jsonString, module$contents$goog$json_parse);
|
|
19066
19090
|
};
|
|
19067
19091
|
goog.json.hybrid.parse = module$contents$goog$json$hybrid_parse;
|
|
19068
|
-
goog.json.hybrid.stringify =
|
|
19069
|
-
goog.
|
|
19070
|
-
|
|
19092
|
+
goog.json.hybrid.stringify = function(obj) {
|
|
19093
|
+
if (goog.global.JSON) {
|
|
19094
|
+
try {
|
|
19095
|
+
return goog.global.JSON.stringify(obj);
|
|
19096
|
+
} catch (e) {
|
|
19097
|
+
}
|
|
19098
|
+
}
|
|
19099
|
+
return module$contents$goog$json_serialize(obj);
|
|
19100
|
+
};
|
|
19101
|
+
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) {
|
|
19071
19102
|
switch(errorCode) {
|
|
19072
|
-
case goog
|
|
19103
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR:
|
|
19073
19104
|
return "No Error";
|
|
19074
|
-
case goog
|
|
19105
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.ACCESS_DENIED:
|
|
19075
19106
|
return "Access denied to content document";
|
|
19076
|
-
case goog
|
|
19107
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.FILE_NOT_FOUND:
|
|
19077
19108
|
return "File not found";
|
|
19078
|
-
case goog
|
|
19109
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.FF_SILENT_ERROR:
|
|
19079
19110
|
return "Firefox silently errored";
|
|
19080
|
-
case goog
|
|
19111
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.CUSTOM_ERROR:
|
|
19081
19112
|
return "Application custom error";
|
|
19082
|
-
case goog
|
|
19113
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION:
|
|
19083
19114
|
return "An exception occurred";
|
|
19084
|
-
case goog
|
|
19115
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.HTTP_ERROR:
|
|
19085
19116
|
return "Http response at 400 or 500 level";
|
|
19086
|
-
case goog
|
|
19117
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.ABORT:
|
|
19087
19118
|
return "Request was aborted";
|
|
19088
|
-
case goog
|
|
19119
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT:
|
|
19089
19120
|
return "Request timed out";
|
|
19090
|
-
case goog
|
|
19121
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.OFFLINE:
|
|
19091
19122
|
return "The resource is not available offline";
|
|
19092
19123
|
default:
|
|
19093
19124
|
return "Unrecognized error code";
|
|
19094
19125
|
}
|
|
19095
|
-
};
|
|
19126
|
+
}};
|
|
19127
|
+
goog.net.ErrorCode = module$contents$goog$net$ErrorCode_ErrorCode;
|
|
19096
19128
|
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"};
|
|
19097
19129
|
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,
|
|
19098
19130
|
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,
|
|
@@ -19111,22 +19143,24 @@ goog.net.HttpStatus.isSuccess = function(status) {
|
|
|
19111
19143
|
return !1;
|
|
19112
19144
|
}
|
|
19113
19145
|
};
|
|
19114
|
-
goog
|
|
19115
|
-
}
|
|
19116
|
-
goog
|
|
19146
|
+
function module$contents$goog$net$XhrLike_XhrLike() {
|
|
19147
|
+
}
|
|
19148
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.open = function(method, url, opt_async, opt_user, opt_password) {
|
|
19117
19149
|
};
|
|
19118
|
-
goog
|
|
19150
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.send = function(opt_data) {
|
|
19119
19151
|
};
|
|
19120
|
-
goog
|
|
19152
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.abort = function() {
|
|
19121
19153
|
};
|
|
19122
|
-
goog
|
|
19154
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.setRequestHeader = function(header, value) {
|
|
19123
19155
|
};
|
|
19124
|
-
goog
|
|
19156
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.getResponseHeader = function(header) {
|
|
19125
19157
|
};
|
|
19126
|
-
goog
|
|
19158
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.getAllResponseHeaders = function() {
|
|
19127
19159
|
};
|
|
19128
|
-
goog
|
|
19160
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.setTrustToken = function(trustTokenAttribute) {
|
|
19129
19161
|
};
|
|
19162
|
+
goog.net.XhrLike = module$contents$goog$net$XhrLike_XhrLike;
|
|
19163
|
+
module$contents$goog$net$XhrLike_XhrLike.OrNative = void 0;
|
|
19130
19164
|
function module$contents$goog$net$XmlHttpFactory_XmlHttpFactory() {
|
|
19131
19165
|
}
|
|
19132
19166
|
goog.net.XmlHttpFactory = module$contents$goog$net$XmlHttpFactory_XmlHttpFactory;
|
|
@@ -19151,7 +19185,7 @@ goog.net.XhrIo = function(opt_xmlHttpFactory) {
|
|
|
19151
19185
|
this.active_ = !1;
|
|
19152
19186
|
this.xhr_ = null;
|
|
19153
19187
|
this.lastMethod_ = this.lastUri_ = "";
|
|
19154
|
-
this.lastErrorCode_ = goog
|
|
19188
|
+
this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR;
|
|
19155
19189
|
this.lastError_ = "";
|
|
19156
19190
|
this.inAbort_ = this.inOpen_ = this.inSend_ = this.errorDispatched_ = !1;
|
|
19157
19191
|
this.timeoutInterval_ = 0;
|
|
@@ -19235,7 +19269,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19235
19269
|
var method = opt_method ? opt_method.toUpperCase() : "GET";
|
|
19236
19270
|
this.lastUri_ = url;
|
|
19237
19271
|
this.lastError_ = "";
|
|
19238
|
-
this.lastErrorCode_ = goog
|
|
19272
|
+
this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR;
|
|
19239
19273
|
this.lastMethod_ = method;
|
|
19240
19274
|
this.errorDispatched_ = !1;
|
|
19241
19275
|
this.active_ = !0;
|
|
@@ -19248,7 +19282,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19248
19282
|
goog.log.fine(this.logger_, this.formatMsg_("Opening Xhr")), this.inOpen_ = !0, this.xhr_.open(method, String(url), !0), this.inOpen_ = !1;
|
|
19249
19283
|
} catch (err) {
|
|
19250
19284
|
goog.log.fine(this.logger_, this.formatMsg_("Error opening Xhr: " + err.message));
|
|
19251
|
-
this.error_(goog
|
|
19285
|
+
this.error_(module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION, err);
|
|
19252
19286
|
return;
|
|
19253
19287
|
}
|
|
19254
19288
|
var content = opt_content || "", headers = new Map(this.headers);
|
|
@@ -19293,14 +19327,14 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19293
19327
|
try {
|
|
19294
19328
|
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;
|
|
19295
19329
|
} catch (err) {
|
|
19296
|
-
goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err.message)), this.error_(goog
|
|
19330
|
+
goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err.message)), this.error_(module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION, err);
|
|
19297
19331
|
}
|
|
19298
19332
|
};
|
|
19299
19333
|
goog.net.XhrIo.prototype.createXhr = function() {
|
|
19300
19334
|
return this.xmlHttpFactory_ ? this.xmlHttpFactory_.createInstance() : goog.net.XmlHttp();
|
|
19301
19335
|
};
|
|
19302
19336
|
goog.net.XhrIo.prototype.timeout_ = function() {
|
|
19303
|
-
typeof goog != "undefined" && this.xhr_ && (this.lastError_ = "Timed out after " + this.timeoutInterval_ + "ms, aborting", this.lastErrorCode_ = goog
|
|
19337
|
+
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));
|
|
19304
19338
|
};
|
|
19305
19339
|
goog.net.XhrIo.prototype.error_ = function(errorCode, err) {
|
|
19306
19340
|
this.active_ = !1;
|
|
@@ -19314,7 +19348,7 @@ goog.net.XhrIo.prototype.dispatchErrors_ = function() {
|
|
|
19314
19348
|
this.errorDispatched_ || (this.errorDispatched_ = !0, this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.ERROR));
|
|
19315
19349
|
};
|
|
19316
19350
|
goog.net.XhrIo.prototype.abort = function(opt_failureCode) {
|
|
19317
|
-
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
|
|
19351
|
+
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_());
|
|
19318
19352
|
};
|
|
19319
19353
|
goog.net.XhrIo.prototype.disposeInternal = function() {
|
|
19320
19354
|
this.xhr_ && (this.active_ && (this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1), this.cleanUpXhr_(!0));
|
|
@@ -19341,7 +19375,7 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
|
|
|
19341
19375
|
goog.log.fine(this.logger_, this.formatMsg_("Request complete"));
|
|
19342
19376
|
this.active_ = !1;
|
|
19343
19377
|
try {
|
|
19344
|
-
this.isSuccess() ? (this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.SUCCESS)) : (this.lastErrorCode_ = goog
|
|
19378
|
+
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_());
|
|
19345
19379
|
} finally {
|
|
19346
19380
|
this.cleanUpXhr_();
|
|
19347
19381
|
}
|
|
@@ -19384,7 +19418,7 @@ goog.net.XhrIo.prototype.isSuccess = function() {
|
|
|
19384
19418
|
return goog.net.HttpStatus.isSuccess(status) || status === 0 && !this.isLastUriEffectiveSchemeHttp_();
|
|
19385
19419
|
};
|
|
19386
19420
|
goog.net.XhrIo.prototype.isLastUriEffectiveSchemeHttp_ = function() {
|
|
19387
|
-
var scheme = goog
|
|
19421
|
+
var scheme = module$contents$goog$uri$utils_getEffectiveScheme(String(this.lastUri_));
|
|
19388
19422
|
return goog.net.XhrIo.HTTP_SCHEME_PATTERN.test(scheme);
|
|
19389
19423
|
};
|
|
19390
19424
|
goog.net.XhrIo.prototype.getReadyState = function() {
|
|
@@ -19508,7 +19542,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19508
19542
|
ee.apiclient = {};
|
|
19509
19543
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19510
19544
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19511
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19545
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.4";
|
|
19512
19546
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19513
19547
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19514
19548
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19813,8 +19847,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19813
19847
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19814
19848
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19815
19849
|
method = method || "POST";
|
|
19816
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19817
|
-
version === "1.7.
|
|
19850
|
+
var headers = {"Content-Type":contentType}, version = "1.7.4";
|
|
19851
|
+
version === "1.7.4" && (version = "latest");
|
|
19818
19852
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19819
19853
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19820
19854
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -20918,7 +20952,7 @@ ee.Serializer = function(opt_isCompound) {
|
|
|
20918
20952
|
this.unboundName = void 0;
|
|
20919
20953
|
};
|
|
20920
20954
|
goog.exportSymbol("ee.Serializer", ee.Serializer);
|
|
20921
|
-
ee.Serializer.jsonSerializer_ = new goog
|
|
20955
|
+
ee.Serializer.jsonSerializer_ = new module$contents$goog$json_Serializer();
|
|
20922
20956
|
ee.Serializer.hash_ = new module$contents$goog$crypt$Md5_Md5();
|
|
20923
20957
|
ee.Serializer.encode = function(obj, opt_isCompound) {
|
|
20924
20958
|
return (new ee.Serializer(opt_isCompound !== void 0 ? opt_isCompound : !0)).encode_(obj);
|
|
@@ -21395,7 +21429,7 @@ ee.rpc_convert_batch.buildDriveDestination_ = function(params) {
|
|
|
21395
21429
|
return new module$exports$eeapiclient$ee_api_client.DriveDestination({folder:stringOrNull_(params.driveFolder), filenamePrefix:stringOrNull_(params.driveFileNamePrefix)});
|
|
21396
21430
|
};
|
|
21397
21431
|
ee.rpc_convert_batch.buildEarthEngineDestination_ = function(params) {
|
|
21398
|
-
return new module$exports$eeapiclient$ee_api_client.EarthEngineDestination({name:ee.rpc_convert.assetIdToAssetName(params.assetId)});
|
|
21432
|
+
return new module$exports$eeapiclient$ee_api_client.EarthEngineDestination({name:ee.rpc_convert.assetIdToAssetName(params.assetId), overwrite:!!params.overwrite});
|
|
21399
21433
|
};
|
|
21400
21434
|
ee.rpc_convert_batch.buildFeatureViewDestination_ = function(params) {
|
|
21401
21435
|
return new module$exports$eeapiclient$ee_api_client.FeatureViewDestination({name:ee.rpc_convert.assetIdToAssetName(params.mapName)});
|
|
@@ -22786,7 +22820,7 @@ ee.Geometry = function(geoJson, opt_proj, opt_geodesic, opt_evenOdd) {
|
|
|
22786
22820
|
if (goog.isObject(geoJson.crs) && geoJson.crs.type == "name" && goog.isObject(geoJson.crs.properties) && typeof geoJson.crs.properties.name === "string") {
|
|
22787
22821
|
this.proj_ = geoJson.crs.properties.name;
|
|
22788
22822
|
} else {
|
|
22789
|
-
throw Error("Invalid CRS declaration in GeoJSON: " + (new goog
|
|
22823
|
+
throw Error("Invalid CRS declaration in GeoJSON: " + (new module$contents$goog$json_Serializer()).serialize(geoJson.crs));
|
|
22790
22824
|
}
|
|
22791
22825
|
}
|
|
22792
22826
|
this.geodesic_ = opt_geodesic;
|
|
@@ -22949,7 +22983,7 @@ ee.Geometry.prototype.toGeoJSONString = function() {
|
|
|
22949
22983
|
if (this.func) {
|
|
22950
22984
|
throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");
|
|
22951
22985
|
}
|
|
22952
|
-
return (new goog
|
|
22986
|
+
return (new module$contents$goog$json_Serializer()).serialize(this.toGeoJSON());
|
|
22953
22987
|
};
|
|
22954
22988
|
goog.exportProperty(ee.Geometry.prototype, "toGeoJSONString", ee.Geometry.prototype.toGeoJSONString);
|
|
22955
22989
|
ee.Geometry.prototype.serialize = function(legacy) {
|
|
@@ -23979,7 +24013,7 @@ module$contents$ee$batch_ExportTask.prototype.start = function(opt_success, opt_
|
|
|
23979
24013
|
}
|
|
23980
24014
|
};
|
|
23981
24015
|
goog.exportProperty(module$contents$ee$batch_ExportTask.prototype, "start", module$contents$ee$batch_ExportTask.prototype.start);
|
|
23982
|
-
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) {
|
|
24016
|
+
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) {
|
|
23983
24017
|
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);
|
|
23984
24018
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
23985
24019
|
};
|
|
@@ -24011,7 +24045,7 @@ module$contents$ee$batch_Export.table.toDrive = function(collection, opt_descrip
|
|
|
24011
24045
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
24012
24046
|
};
|
|
24013
24047
|
goog.exportSymbol("module$contents$ee$batch_Export.table.toDrive", module$contents$ee$batch_Export.table.toDrive);
|
|
24014
|
-
module$contents$ee$batch_Export.table.toAsset = function(collection, opt_description, opt_assetId, opt_maxVertices, opt_priority) {
|
|
24048
|
+
module$contents$ee$batch_Export.table.toAsset = function(collection, opt_description, opt_assetId, opt_maxVertices, opt_priority, opt_overwrite) {
|
|
24015
24049
|
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);
|
|
24016
24050
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
24017
24051
|
};
|
|
@@ -24147,6 +24181,7 @@ module$contents$ee$batch_Export.prepareDestination_ = function(taskConfig, desti
|
|
|
24147
24181
|
break;
|
|
24148
24182
|
case ee.data.ExportDestination.ASSET:
|
|
24149
24183
|
taskConfig.assetId = taskConfig.assetId || "";
|
|
24184
|
+
taskConfig.overwrite = taskConfig.overwrite || !1;
|
|
24150
24185
|
break;
|
|
24151
24186
|
case ee.data.ExportDestination.FEATURE_VIEW:
|
|
24152
24187
|
taskConfig.mapName = taskConfig.mapName || "";
|
|
@@ -25075,21 +25110,21 @@ module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.LayerStatsFo
|
|
|
25075
25110
|
module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.Summary = function() {
|
|
25076
25111
|
};
|
|
25077
25112
|
ee.layers.AbstractOverlayStats = module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats;
|
|
25078
|
-
goog
|
|
25113
|
+
function module$contents$goog$events$EventHandler_EventHandler(opt_scope) {
|
|
25079
25114
|
goog.Disposable.call(this);
|
|
25080
25115
|
this.handler_ = opt_scope;
|
|
25081
25116
|
this.keys_ = {};
|
|
25082
|
-
}
|
|
25083
|
-
goog.inherits(goog
|
|
25084
|
-
goog
|
|
25085
|
-
goog
|
|
25117
|
+
}
|
|
25118
|
+
goog.inherits(module$contents$goog$events$EventHandler_EventHandler, goog.Disposable);
|
|
25119
|
+
module$contents$goog$events$EventHandler_EventHandler.typeArray_ = [];
|
|
25120
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listen = function(src, type, opt_fn, opt_options) {
|
|
25086
25121
|
return this.listen_(src, type, opt_fn, opt_options);
|
|
25087
25122
|
};
|
|
25088
|
-
goog
|
|
25123
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithScope = function(src, type, fn, options, scope) {
|
|
25089
25124
|
return this.listen_(src, type, fn, options, scope);
|
|
25090
25125
|
};
|
|
25091
|
-
goog
|
|
25092
|
-
Array.isArray(type) || (type && (goog
|
|
25126
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listen_ = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25127
|
+
Array.isArray(type) || (type && (module$contents$goog$events$EventHandler_EventHandler.typeArray_[0] = type.toString()), type = module$contents$goog$events$EventHandler_EventHandler.typeArray_);
|
|
25093
25128
|
for (var i = 0; i < type.length; i++) {
|
|
25094
25129
|
var listenerObj = goog.events.listen(src, type[i], opt_fn || this.handleEvent, opt_options || !1, opt_scope || this.handler_ || this);
|
|
25095
25130
|
if (!listenerObj) {
|
|
@@ -25099,13 +25134,13 @@ goog.events.EventHandler.prototype.listen_ = function(src, type, opt_fn, opt_opt
|
|
|
25099
25134
|
}
|
|
25100
25135
|
return this;
|
|
25101
25136
|
};
|
|
25102
|
-
goog
|
|
25137
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnce = function(src, type, opt_fn, opt_options) {
|
|
25103
25138
|
return this.listenOnce_(src, type, opt_fn, opt_options);
|
|
25104
25139
|
};
|
|
25105
|
-
goog
|
|
25140
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnceWithScope = function(src, type, fn, capture, scope) {
|
|
25106
25141
|
return this.listenOnce_(src, type, fn, capture, scope);
|
|
25107
25142
|
};
|
|
25108
|
-
goog
|
|
25143
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnce_ = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25109
25144
|
if (Array.isArray(type)) {
|
|
25110
25145
|
for (var i = 0; i < type.length; i++) {
|
|
25111
25146
|
this.listenOnce_(src, type[i], opt_fn, opt_options, opt_scope);
|
|
@@ -25119,24 +25154,24 @@ goog.events.EventHandler.prototype.listenOnce_ = function(src, type, opt_fn, opt
|
|
|
25119
25154
|
}
|
|
25120
25155
|
return this;
|
|
25121
25156
|
};
|
|
25122
|
-
goog
|
|
25157
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapper = function(src, wrapper, listener, opt_capt) {
|
|
25123
25158
|
return this.listenWithWrapper_(src, wrapper, listener, opt_capt);
|
|
25124
25159
|
};
|
|
25125
|
-
goog
|
|
25160
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapperAndScope = function(src, wrapper, listener, capture, scope) {
|
|
25126
25161
|
return this.listenWithWrapper_(src, wrapper, listener, capture, scope);
|
|
25127
25162
|
};
|
|
25128
|
-
goog
|
|
25163
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapper_ = function(src, wrapper, listener, opt_capt, opt_scope) {
|
|
25129
25164
|
wrapper.listen(src, listener, opt_capt, opt_scope || this.handler_ || this, this);
|
|
25130
25165
|
return this;
|
|
25131
25166
|
};
|
|
25132
|
-
goog
|
|
25167
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.getListenerCount = function() {
|
|
25133
25168
|
var count = 0, key;
|
|
25134
25169
|
for (key in this.keys_) {
|
|
25135
25170
|
Object.prototype.hasOwnProperty.call(this.keys_, key) && count++;
|
|
25136
25171
|
}
|
|
25137
25172
|
return count;
|
|
25138
25173
|
};
|
|
25139
|
-
goog
|
|
25174
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.unlisten = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25140
25175
|
if (Array.isArray(type)) {
|
|
25141
25176
|
for (var i = 0; i < type.length; i++) {
|
|
25142
25177
|
this.unlisten(src, type[i], opt_fn, opt_options, opt_scope);
|
|
@@ -25147,41 +25182,42 @@ goog.events.EventHandler.prototype.unlisten = function(src, type, opt_fn, opt_op
|
|
|
25147
25182
|
}
|
|
25148
25183
|
return this;
|
|
25149
25184
|
};
|
|
25150
|
-
goog
|
|
25185
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.unlistenWithWrapper = function(src, wrapper, listener, opt_capt, opt_scope) {
|
|
25151
25186
|
wrapper.unlisten(src, listener, opt_capt, opt_scope || this.handler_ || this, this);
|
|
25152
25187
|
return this;
|
|
25153
25188
|
};
|
|
25154
|
-
goog
|
|
25189
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.removeAll = function() {
|
|
25155
25190
|
module$contents$goog$object_forEach(this.keys_, function(listenerObj, key) {
|
|
25156
25191
|
this.keys_.hasOwnProperty(key) && goog.events.unlistenByKey(listenerObj);
|
|
25157
25192
|
}, this);
|
|
25158
25193
|
this.keys_ = {};
|
|
25159
25194
|
};
|
|
25160
|
-
goog
|
|
25161
|
-
goog
|
|
25195
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.disposeInternal = function() {
|
|
25196
|
+
module$contents$goog$events$EventHandler_EventHandler.superClass_.disposeInternal.call(this);
|
|
25162
25197
|
this.removeAll();
|
|
25163
25198
|
};
|
|
25164
|
-
goog
|
|
25199
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.handleEvent = function(e) {
|
|
25165
25200
|
throw Error("EventHandler.handleEvent not implemented");
|
|
25166
25201
|
};
|
|
25202
|
+
goog.events.EventHandler = module$contents$goog$events$EventHandler_EventHandler;
|
|
25167
25203
|
goog.fs = {};
|
|
25168
|
-
goog
|
|
25169
|
-
}
|
|
25170
|
-
goog
|
|
25204
|
+
function module$contents$goog$fs$Error_DOMErrorLike() {
|
|
25205
|
+
}
|
|
25206
|
+
function module$contents$goog$fs$Error_FsError(error, action) {
|
|
25171
25207
|
if (error.name !== void 0) {
|
|
25172
|
-
this.name = error.name, this.code = goog
|
|
25208
|
+
this.name = error.name, this.code = module$contents$goog$fs$Error_FsError.getCodeFromName_(error.name);
|
|
25173
25209
|
} else {
|
|
25174
25210
|
var code = goog.asserts.assertNumber(error.code);
|
|
25175
25211
|
this.code = code;
|
|
25176
|
-
this.name = goog
|
|
25212
|
+
this.name = module$contents$goog$fs$Error_FsError.getNameFromCode_(code);
|
|
25177
25213
|
}
|
|
25178
25214
|
module$contents$goog$debug$Error_DebugError.call(this, goog.string.subs("%s %s", this.name, action));
|
|
25179
|
-
}
|
|
25180
|
-
goog.inherits(goog
|
|
25181
|
-
goog
|
|
25182
|
-
goog
|
|
25183
|
-
goog
|
|
25184
|
-
var name = module$contents$goog$object_findKey(goog
|
|
25215
|
+
}
|
|
25216
|
+
goog.inherits(module$contents$goog$fs$Error_FsError, module$contents$goog$debug$Error_DebugError);
|
|
25217
|
+
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"};
|
|
25218
|
+
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};
|
|
25219
|
+
module$contents$goog$fs$Error_FsError.getNameFromCode_ = function(code) {
|
|
25220
|
+
var name = module$contents$goog$object_findKey(module$contents$goog$fs$Error_FsError.NameToCodeMap_, function(c) {
|
|
25185
25221
|
return code == c;
|
|
25186
25222
|
});
|
|
25187
25223
|
if (name === void 0) {
|
|
@@ -25189,13 +25225,15 @@ goog.fs.Error.getNameFromCode_ = function(code) {
|
|
|
25189
25225
|
}
|
|
25190
25226
|
return name;
|
|
25191
25227
|
};
|
|
25192
|
-
goog
|
|
25193
|
-
return goog
|
|
25228
|
+
module$contents$goog$fs$Error_FsError.getCodeFromName_ = function(name) {
|
|
25229
|
+
return module$contents$goog$fs$Error_FsError.NameToCodeMap_[name];
|
|
25194
25230
|
};
|
|
25195
25231
|
var $jscomp$compprop18 = {};
|
|
25196
|
-
goog
|
|
25197
|
-
$
|
|
25198
|
-
$jscomp$compprop18[goog.fs.
|
|
25232
|
+
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] =
|
|
25233
|
+
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,
|
|
25234
|
+
$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] =
|
|
25235
|
+
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);
|
|
25236
|
+
goog.fs.Error = module$contents$goog$fs$Error_FsError;
|
|
25199
25237
|
function module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, target) {
|
|
25200
25238
|
goog.events.Event.call(this, event.type, target);
|
|
25201
25239
|
this.event_ = event;
|
|
@@ -25228,7 +25266,7 @@ goog.fs.FileReader.prototype.abort = function() {
|
|
|
25228
25266
|
try {
|
|
25229
25267
|
this.reader_.abort();
|
|
25230
25268
|
} catch (e) {
|
|
25231
|
-
throw new goog
|
|
25269
|
+
throw new module$contents$goog$fs$Error_FsError(e, "aborting read");
|
|
25232
25270
|
}
|
|
25233
25271
|
};
|
|
25234
25272
|
goog.fs.FileReader.prototype.getReadyState = function() {
|
|
@@ -25238,7 +25276,7 @@ goog.fs.FileReader.prototype.getResult = function() {
|
|
|
25238
25276
|
return this.reader_.result;
|
|
25239
25277
|
};
|
|
25240
25278
|
goog.fs.FileReader.prototype.getError = function() {
|
|
25241
|
-
return this.reader_.error && new goog
|
|
25279
|
+
return this.reader_.error && new module$contents$goog$fs$Error_FsError(this.reader_.error, "reading file");
|
|
25242
25280
|
};
|
|
25243
25281
|
goog.fs.FileReader.prototype.dispatchProgressEvent_ = function(event) {
|
|
25244
25282
|
this.dispatchEvent(new module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, this));
|
|
@@ -25504,7 +25542,7 @@ module$contents$goog$math$Rect_Rect.prototype.distance = function(point) {
|
|
|
25504
25542
|
return Math.sqrt(this.squaredDistance(point));
|
|
25505
25543
|
};
|
|
25506
25544
|
module$contents$goog$math$Rect_Rect.prototype.getSize = function() {
|
|
25507
|
-
return new goog
|
|
25545
|
+
return new module$contents$goog$math$Size_Size(this.width, this.height);
|
|
25508
25546
|
};
|
|
25509
25547
|
module$contents$goog$math$Rect_Rect.prototype.getTopLeft = function() {
|
|
25510
25548
|
return new module$contents$goog$math$Coordinate_Coordinate(this.left, this.top);
|
|
@@ -25664,7 +25702,7 @@ goog.style.getBoundingClientRect_ = function(el) {
|
|
|
25664
25702
|
};
|
|
25665
25703
|
goog.style.getOffsetParent = function(element) {
|
|
25666
25704
|
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) {
|
|
25667
|
-
if (parent.nodeType == goog
|
|
25705
|
+
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")) {
|
|
25668
25706
|
return parent;
|
|
25669
25707
|
}
|
|
25670
25708
|
}
|
|
@@ -25759,7 +25797,7 @@ goog.style.getClientPositionForElement_ = function(el) {
|
|
|
25759
25797
|
};
|
|
25760
25798
|
goog.style.getClientPosition = function(el) {
|
|
25761
25799
|
goog.asserts.assert(el);
|
|
25762
|
-
if (el.nodeType == goog
|
|
25800
|
+
if (el.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
25763
25801
|
return goog.style.getClientPositionForElement_(el);
|
|
25764
25802
|
}
|
|
25765
25803
|
var targetEvent = el.changedTouches ? el.changedTouches[0] : el;
|
|
@@ -25772,7 +25810,7 @@ goog.style.setPageOffset = function(el, x, opt_y) {
|
|
|
25772
25810
|
goog.style.setPosition(el, el.offsetLeft + dx, el.offsetTop + (Number(opt_y) - cur.y));
|
|
25773
25811
|
};
|
|
25774
25812
|
goog.style.setSize = function(element, w, opt_h) {
|
|
25775
|
-
if (w instanceof goog
|
|
25813
|
+
if (w instanceof module$contents$goog$math$Size_Size) {
|
|
25776
25814
|
var h = w.height;
|
|
25777
25815
|
w = w.width;
|
|
25778
25816
|
} else {
|
|
@@ -25815,16 +25853,16 @@ goog.style.getSizeWithDisplay_ = function(element) {
|
|
|
25815
25853
|
var offsetWidth = element.offsetWidth, offsetHeight = element.offsetHeight, webkitOffsetsZero = goog.userAgent.WEBKIT && !offsetWidth && !offsetHeight;
|
|
25816
25854
|
if ((offsetWidth === void 0 || webkitOffsetsZero) && element.getBoundingClientRect) {
|
|
25817
25855
|
var clientRect = goog.style.getBoundingClientRect_(element);
|
|
25818
|
-
return new goog
|
|
25856
|
+
return new module$contents$goog$math$Size_Size(clientRect.right - clientRect.left, clientRect.bottom - clientRect.top);
|
|
25819
25857
|
}
|
|
25820
|
-
return new goog
|
|
25858
|
+
return new module$contents$goog$math$Size_Size(offsetWidth, offsetHeight);
|
|
25821
25859
|
};
|
|
25822
25860
|
goog.style.getTransformedSize = function(element) {
|
|
25823
25861
|
if (!element.getBoundingClientRect) {
|
|
25824
25862
|
return null;
|
|
25825
25863
|
}
|
|
25826
25864
|
var clientRect = goog.style.evaluateWithTemporaryDisplay_(goog.style.getBoundingClientRect_, element);
|
|
25827
|
-
return new goog
|
|
25865
|
+
return new module$contents$goog$math$Size_Size(clientRect.right - clientRect.left, clientRect.bottom - clientRect.top);
|
|
25828
25866
|
};
|
|
25829
25867
|
goog.style.getBounds = function(element) {
|
|
25830
25868
|
var o = goog.style.getPageOffset(element), s = goog.style.getSize(element);
|
|
@@ -25921,14 +25959,14 @@ goog.style.setUnselectable = function(el, unselectable, opt_noRecurse) {
|
|
|
25921
25959
|
}
|
|
25922
25960
|
};
|
|
25923
25961
|
goog.style.getBorderBoxSize = function(element) {
|
|
25924
|
-
return new goog
|
|
25962
|
+
return new module$contents$goog$math$Size_Size(element.offsetWidth, element.offsetHeight);
|
|
25925
25963
|
};
|
|
25926
25964
|
goog.style.setBorderBoxSize = function(element, size) {
|
|
25927
25965
|
goog.style.setBoxSizingSize_(element, size, "border-box");
|
|
25928
25966
|
};
|
|
25929
25967
|
goog.style.getContentBoxSize = function(element) {
|
|
25930
25968
|
var borderBoxSize = goog.style.getBorderBoxSize(element), paddingBox = goog.style.getPaddingBox(element), borderBox = goog.style.getBorderBox(element);
|
|
25931
|
-
return new goog
|
|
25969
|
+
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);
|
|
25932
25970
|
};
|
|
25933
25971
|
goog.style.setContentBoxSize = function(element, size) {
|
|
25934
25972
|
goog.style.setBoxSizingSize_(element, size, "content-box");
|
|
@@ -26072,7 +26110,7 @@ ee.layers.AbstractOverlay = function(tileSource, opt_options) {
|
|
|
26072
26110
|
this.tilesById = new module$contents$goog$structs$Map_Map();
|
|
26073
26111
|
this.tileCounter = 0;
|
|
26074
26112
|
this.tileSource = tileSource;
|
|
26075
|
-
this.handler = new goog
|
|
26113
|
+
this.handler = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26076
26114
|
this.radius = 0;
|
|
26077
26115
|
};
|
|
26078
26116
|
$jscomp.inherits(ee.layers.AbstractOverlay, goog.events.EventTarget);
|
|
@@ -26335,7 +26373,7 @@ goog.net.ImageLoader = function(opt_parent) {
|
|
|
26335
26373
|
goog.events.EventTarget.call(this);
|
|
26336
26374
|
this.imageIdToRequestMap_ = {};
|
|
26337
26375
|
this.imageIdToImageMap_ = {};
|
|
26338
|
-
this.handler_ = new goog
|
|
26376
|
+
this.handler_ = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26339
26377
|
this.parent_ = opt_parent;
|
|
26340
26378
|
this.completionFired_ = !1;
|
|
26341
26379
|
};
|
|
@@ -27355,28 +27393,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27355
27393
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27356
27394
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27357
27395
|
(function() {
|
|
27358
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27359
|
-
orderedParamLists = [["name", "
|
|
27360
|
-
"
|
|
27361
|
-
"
|
|
27362
|
-
"opt_description
|
|
27363
|
-
"
|
|
27364
|
-
"
|
|
27365
|
-
|
|
27366
|
-
|
|
27367
|
-
[], [], [], ["func", "var_args"], ["func", "namedArgs"], [
|
|
27368
|
-
|
|
27369
|
-
"opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "
|
|
27370
|
-
"
|
|
27371
|
-
[
|
|
27372
|
-
module$contents$ee$batch_Export.
|
|
27373
|
-
ee.
|
|
27374
|
-
ee.
|
|
27375
|
-
ee.data.
|
|
27376
|
-
ee.
|
|
27377
|
-
ee.
|
|
27378
|
-
ee.
|
|
27379
|
-
ee.
|
|
27396
|
+
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(" "),
|
|
27397
|
+
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(" "),
|
|
27398
|
+
"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(" "),
|
|
27399
|
+
"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(" "),
|
|
27400
|
+
"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"],
|
|
27401
|
+
["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",
|
|
27402
|
+
"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",
|
|
27403
|
+
"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",
|
|
27404
|
+
"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"],
|
|
27405
|
+
["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",
|
|
27406
|
+
"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",
|
|
27407
|
+
"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"],
|
|
27408
|
+
["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"],
|
|
27409
|
+
["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27410
|
+
[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,
|
|
27411
|
+
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,
|
|
27412
|
+
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,
|
|
27413
|
+
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,
|
|
27414
|
+
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,
|
|
27415
|
+
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,
|
|
27416
|
+
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,
|
|
27417
|
+
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,
|
|
27418
|
+
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) {
|
|
27380
27419
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27381
27420
|
});
|
|
27382
27421
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|