@google/earthengine 0.1.379 → 0.1.381
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 +259 -212
- package/build/ee_api_js.js +501 -500
- package/build/ee_api_js_debug.js +237 -190
- package/build/ee_api_js_npm.js +259 -212
- package/build/main.js +259 -212
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/feature.js +25 -7
- package/src/featurecollection.js +29 -11
- package/src/image.js +18 -2
- package/src/imagecollection.js +24 -7
- package/test/ee_test.js +2 -2
- package/.tmp/BUILD +0 -699
- package/.tmp/METADATA +0 -23
- package/.tmp/VERSION_BUILD +0 -47
package/build/main.js
CHANGED
|
@@ -2455,8 +2455,7 @@ goog.debug.normalizeErrorObject = function(err) {
|
|
|
2455
2455
|
}
|
|
2456
2456
|
return {message:message, name:err.name || "UnknownError", lineNumber:lineNumber, fileName:fileName, stack:stack || "Not available"};
|
|
2457
2457
|
}
|
|
2458
|
-
err.
|
|
2459
|
-
return {message:err.message, name:err.name, lineNumber:err.lineNumber, fileName:err.fileName, stack:err.stack};
|
|
2458
|
+
return {message:err.message, name:err.name, lineNumber:err.lineNumber, fileName:err.fileName, stack:stack};
|
|
2460
2459
|
};
|
|
2461
2460
|
goog.debug.serializeErrorStack_ = function(e, seen) {
|
|
2462
2461
|
seen || (seen = {});
|
|
@@ -6064,7 +6063,7 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6064
6063
|
};
|
|
6065
6064
|
var module$contents$eeapiclient$domain_object_CopyValueGetter, module$contents$eeapiclient$domain_object_CopyValueSetter, module$contents$eeapiclient$domain_object_CopyConstructor, module$contents$eeapiclient$domain_object_CopyInstanciator;
|
|
6066
6065
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6067
|
-
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$key = $jscomp$iter$19.next(), $jscomp$loop$
|
|
6066
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$0 = {}; !$jscomp$key$key.done; $jscomp$loop$m1892927425$0 = {mapMetadata:$jscomp$loop$m1892927425$0.mapMetadata},
|
|
6068
6067
|
$jscomp$key$key = $jscomp$iter$19.next()) {
|
|
6069
6068
|
var key = $jscomp$key$key.value, value = valueGetter(key, source);
|
|
6070
6069
|
if (null != value) {
|
|
@@ -6077,11 +6076,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6077
6076
|
} else if (objects.hasOwnProperty(key)) {
|
|
6078
6077
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6079
6078
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6080
|
-
$jscomp$loop$
|
|
6079
|
+
$jscomp$loop$m1892927425$0.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$0.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$0) {
|
|
6081
6080
|
return function(v) {
|
|
6082
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
6081
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$0.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6083
6082
|
};
|
|
6084
|
-
}($jscomp$loop$
|
|
6083
|
+
}($jscomp$loop$m1892927425$0)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$0.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6085
6084
|
} else if (Array.isArray(value)) {
|
|
6086
6085
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6087
6086
|
continue;
|
|
@@ -6127,39 +6126,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6127
6126
|
if (!(module$contents$eeapiclient$domain_object_sameKeys(keys1, metadata2.keys || []) && module$contents$eeapiclient$domain_object_sameKeys(arrays1, arrays2) && module$contents$eeapiclient$domain_object_sameKeys(objects1, objects2) && module$contents$eeapiclient$domain_object_sameKeys(objectMaps1, objectMaps2))) {
|
|
6128
6127
|
return !1;
|
|
6129
6128
|
}
|
|
6130
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$
|
|
6129
|
+
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$1 = {}; !$jscomp$key$key.done; $jscomp$loop$m1892927425$1 = {value2$jscomp$7:$jscomp$loop$m1892927425$1.value2$jscomp$7, mapMetadata$jscomp$2:$jscomp$loop$m1892927425$1.mapMetadata$jscomp$2}, $jscomp$key$key = $jscomp$iter$21.next()) {
|
|
6131
6130
|
var key = $jscomp$key$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
6132
6131
|
if (has1 !== has2) {
|
|
6133
6132
|
return !1;
|
|
6134
6133
|
}
|
|
6135
6134
|
if (has1) {
|
|
6136
6135
|
var value1 = serializable1.Serializable$get(key);
|
|
6137
|
-
$jscomp$loop$
|
|
6136
|
+
$jscomp$loop$m1892927425$1.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6138
6137
|
if (arrays1.hasOwnProperty(key)) {
|
|
6139
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6138
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7, !0, !0)) {
|
|
6140
6139
|
return !1;
|
|
6141
6140
|
}
|
|
6142
6141
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6143
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6142
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7, !1, !0)) {
|
|
6144
6143
|
return !1;
|
|
6145
6144
|
}
|
|
6146
6145
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6147
|
-
if ($jscomp$loop$
|
|
6148
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
6146
|
+
if ($jscomp$loop$m1892927425$1.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$1.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6147
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$1) {
|
|
6149
6148
|
return function(v1, i) {
|
|
6150
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
6149
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$1.value2$jscomp$7[i], $jscomp$loop$m1892927425$1.mapMetadata$jscomp$2);
|
|
6151
6150
|
};
|
|
6152
|
-
}($jscomp$loop$
|
|
6151
|
+
}($jscomp$loop$m1892927425$1))) {
|
|
6153
6152
|
return !1;
|
|
6154
6153
|
}
|
|
6155
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
6154
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7, $jscomp$loop$m1892927425$1.mapMetadata$jscomp$2)) {
|
|
6156
6155
|
return !1;
|
|
6157
6156
|
}
|
|
6158
6157
|
} else if (Array.isArray(value1)) {
|
|
6159
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6158
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7, !0, !1)) {
|
|
6160
6159
|
return !1;
|
|
6161
6160
|
}
|
|
6162
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6161
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7, !1, !1)) {
|
|
6163
6162
|
return !1;
|
|
6164
6163
|
}
|
|
6165
6164
|
}
|
|
@@ -7364,37 +7363,151 @@ module$contents$goog$html$SafeHtml_SafeHtml.BR = function() {
|
|
|
7364
7363
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>");
|
|
7365
7364
|
}();
|
|
7366
7365
|
goog.html.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
};
|
|
7373
|
-
goog
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
goog
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
return goog
|
|
7392
|
-
}
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7366
|
+
/*
|
|
7367
|
+
|
|
7368
|
+
SPDX-License-Identifier: Apache-2.0
|
|
7369
|
+
*/
|
|
7370
|
+
var module$contents$safevalues$environment$dev_module = module$contents$safevalues$environment$dev_module || {id:"third_party/javascript/safevalues/environment/dev.closure.js"};
|
|
7371
|
+
var module$exports$goog$html$internals = {};
|
|
7372
|
+
module$exports$goog$html$internals.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
|
|
7373
|
+
module$exports$goog$html$internals.createSafeScript = module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse;
|
|
7374
|
+
module$exports$goog$html$internals.createSafeStyle = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;
|
|
7375
|
+
module$exports$goog$html$internals.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
7376
|
+
module$exports$goog$html$internals.createSafeUrl = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse;
|
|
7377
|
+
module$exports$goog$html$internals.createTrustedResourceUrl = goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
|
|
7378
|
+
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
|
|
7379
|
+
module$exports$safevalues$internals$html_impl.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
7380
|
+
function module$contents$safevalues$internals$html_impl_createHtmlInternal(html) {
|
|
7381
|
+
return (0,module$exports$goog$html$internals.createSafeHtml)(html);
|
|
7382
|
+
}
|
|
7383
|
+
module$exports$safevalues$internals$html_impl.createHtmlInternal = module$contents$safevalues$internals$html_impl_createHtmlInternal;
|
|
7384
|
+
module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$goog$html$SafeHtml_SafeHtml.EMPTY;
|
|
7385
|
+
function module$contents$safevalues$internals$html_impl_isHtml(value) {
|
|
7386
|
+
return value instanceof module$contents$goog$html$SafeHtml_SafeHtml;
|
|
7387
|
+
}
|
|
7388
|
+
module$exports$safevalues$internals$html_impl.isHtml = module$contents$safevalues$internals$html_impl_isHtml;
|
|
7389
|
+
function module$contents$safevalues$internals$html_impl_unwrapHtml(value) {
|
|
7390
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
|
|
7391
|
+
}
|
|
7392
|
+
module$exports$safevalues$internals$html_impl.unwrapHtml = module$contents$safevalues$internals$html_impl_unwrapHtml;
|
|
7393
|
+
var module$exports$safevalues$internals$resource_url_impl = {}, module$contents$safevalues$internals$resource_url_impl_module = module$contents$safevalues$internals$resource_url_impl_module || {id:"third_party/javascript/safevalues/internals/resource_url_impl.closure.js"};
|
|
7394
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
7395
|
+
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
|
|
7396
|
+
return (0,goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
7397
|
+
}
|
|
7398
|
+
module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
7399
|
+
function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
|
|
7400
|
+
return value instanceof goog.html.TrustedResourceUrl;
|
|
7401
|
+
}
|
|
7402
|
+
module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
7403
|
+
function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
|
|
7404
|
+
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
7405
|
+
}
|
|
7406
|
+
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
7407
|
+
var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"};
|
|
7408
|
+
module$exports$safevalues$internals$script_impl.SafeScript = module$contents$goog$html$SafeScript_SafeScript;
|
|
7409
|
+
function module$contents$safevalues$internals$script_impl_createScriptInternal(script) {
|
|
7410
|
+
return (0,module$exports$goog$html$internals.createSafeScript)(script);
|
|
7411
|
+
}
|
|
7412
|
+
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
7413
|
+
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$goog$html$SafeScript_SafeScript.EMPTY;
|
|
7414
|
+
function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
7415
|
+
return value instanceof module$contents$goog$html$SafeScript_SafeScript;
|
|
7416
|
+
}
|
|
7417
|
+
module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
7418
|
+
function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
|
|
7419
|
+
return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(value);
|
|
7420
|
+
}
|
|
7421
|
+
module$exports$safevalues$internals$script_impl.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
7422
|
+
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
7423
|
+
module$exports$safevalues$internals$style_impl.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
7424
|
+
function module$contents$safevalues$internals$style_impl_createStyleInternal(style) {
|
|
7425
|
+
return (0,module$exports$goog$html$internals.createSafeStyle)(style);
|
|
7426
|
+
}
|
|
7427
|
+
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
7428
|
+
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
7429
|
+
return value instanceof module$contents$goog$html$SafeStyle_SafeStyle;
|
|
7430
|
+
}
|
|
7431
|
+
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
7432
|
+
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
7433
|
+
return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
|
|
7434
|
+
}
|
|
7435
|
+
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
7436
|
+
var module$exports$safevalues$internals$style_sheet_impl = {}, module$contents$safevalues$internals$style_sheet_impl_module = module$contents$safevalues$internals$style_sheet_impl_module || {id:"third_party/javascript/safevalues/internals/style_sheet_impl.closure.js"};
|
|
7437
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
7438
|
+
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
|
|
7439
|
+
return (0,module$exports$goog$html$internals.createSafeStyleSheet)(styleSheet);
|
|
7440
|
+
}
|
|
7441
|
+
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
7442
|
+
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
7443
|
+
return value instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
7444
|
+
}
|
|
7445
|
+
module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
7446
|
+
function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
|
|
7447
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(value);
|
|
7448
|
+
}
|
|
7449
|
+
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
7450
|
+
var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
|
|
7451
|
+
module$exports$safevalues$internals$url_impl.SafeUrl = goog.html.SafeUrl;
|
|
7452
|
+
function module$contents$safevalues$internals$url_impl_createUrlInternal(url) {
|
|
7453
|
+
return (0,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
7454
|
+
}
|
|
7455
|
+
module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
|
|
7456
|
+
module$exports$safevalues$internals$url_impl.ABOUT_BLANK = goog.html.SafeUrl.ABOUT_BLANK;
|
|
7457
|
+
module$exports$safevalues$internals$url_impl.INNOCUOUS_URL = goog.html.SafeUrl.INNOCUOUS_URL;
|
|
7458
|
+
function module$contents$safevalues$internals$url_impl_isUrl(value) {
|
|
7459
|
+
return value instanceof goog.html.SafeUrl;
|
|
7460
|
+
}
|
|
7461
|
+
module$exports$safevalues$internals$url_impl.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
7462
|
+
function module$contents$safevalues$internals$url_impl_unwrapUrl(value) {
|
|
7463
|
+
return goog.html.SafeUrl.unwrap(value);
|
|
7464
|
+
}
|
|
7465
|
+
module$exports$safevalues$internals$url_impl.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
7466
|
+
var module$exports$safevalues$restricted$reviewed = {}, module$contents$safevalues$restricted$reviewed_module = module$contents$safevalues$restricted$reviewed_module || {id:"third_party/javascript/safevalues/restricted/reviewed.closure.js"};
|
|
7467
|
+
function module$contents$safevalues$restricted$reviewed_assertValidJustification(justification) {
|
|
7468
|
+
if ("string" !== typeof justification || "" === justification.trim()) {
|
|
7469
|
+
var errMsg;
|
|
7470
|
+
throw Error("Calls to uncheckedconversion functions must go through security review. A justification must be provided to capture what security assumptions are being made. See go/unchecked-conversions");
|
|
7471
|
+
}
|
|
7472
|
+
}
|
|
7473
|
+
function module$contents$safevalues$restricted$reviewed_htmlSafeByReview(html, justification) {
|
|
7474
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7475
|
+
return module$contents$safevalues$internals$html_impl_createHtmlInternal(html);
|
|
7476
|
+
}
|
|
7477
|
+
module$exports$safevalues$restricted$reviewed.htmlSafeByReview = module$contents$safevalues$restricted$reviewed_htmlSafeByReview;
|
|
7478
|
+
function module$contents$safevalues$restricted$reviewed_scriptSafeByReview(script, justification) {
|
|
7479
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7480
|
+
return module$contents$safevalues$internals$script_impl_createScriptInternal(script);
|
|
7481
|
+
}
|
|
7482
|
+
module$exports$safevalues$restricted$reviewed.scriptSafeByReview = module$contents$safevalues$restricted$reviewed_scriptSafeByReview;
|
|
7483
|
+
function module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview(url, justification) {
|
|
7484
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7485
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url);
|
|
7486
|
+
}
|
|
7487
|
+
module$exports$safevalues$restricted$reviewed.resourceUrlSafeByReview = module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview;
|
|
7488
|
+
function module$contents$safevalues$restricted$reviewed_urlSafeByReview(url, justification) {
|
|
7489
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7490
|
+
return module$contents$safevalues$internals$url_impl_createUrlInternal(url);
|
|
7491
|
+
}
|
|
7492
|
+
module$exports$safevalues$restricted$reviewed.urlSafeByReview = module$contents$safevalues$restricted$reviewed_urlSafeByReview;
|
|
7493
|
+
function module$contents$safevalues$restricted$reviewed_styleSafeByReview(style, justification) {
|
|
7494
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7495
|
+
return module$contents$safevalues$internals$style_impl_createStyleInternal(style);
|
|
7496
|
+
}
|
|
7497
|
+
module$exports$safevalues$restricted$reviewed.styleSafeByReview = module$contents$safevalues$restricted$reviewed_styleSafeByReview;
|
|
7498
|
+
function module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview(stylesheet, justification) {
|
|
7499
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7500
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(stylesheet);
|
|
7501
|
+
}
|
|
7502
|
+
module$exports$safevalues$restricted$reviewed.styleSheetSafeByReview = module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview;
|
|
7503
|
+
var safevalues = {restricted:{}};
|
|
7504
|
+
safevalues.restricted.reviewed = {};
|
|
7505
|
+
safevalues.restricted.reviewed.htmlSafeByReview = module$contents$safevalues$restricted$reviewed_htmlSafeByReview;
|
|
7506
|
+
safevalues.restricted.reviewed.scriptSafeByReview = module$contents$safevalues$restricted$reviewed_scriptSafeByReview;
|
|
7507
|
+
safevalues.restricted.reviewed.resourceUrlSafeByReview = module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview;
|
|
7508
|
+
safevalues.restricted.reviewed.urlSafeByReview = module$contents$safevalues$restricted$reviewed_urlSafeByReview;
|
|
7509
|
+
safevalues.restricted.reviewed.styleSafeByReview = module$contents$safevalues$restricted$reviewed_styleSafeByReview;
|
|
7510
|
+
safevalues.restricted.reviewed.styleSheetSafeByReview = module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview;
|
|
7398
7511
|
goog.dom.safe = {};
|
|
7399
7512
|
goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
|
|
7400
7513
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
@@ -7430,7 +7543,7 @@ goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
|
7430
7543
|
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(elem, html);
|
|
7431
7544
|
};
|
|
7432
7545
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
7433
|
-
goog.dom.safe.setInnerHtml(element,
|
|
7546
|
+
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), "Constant HTML to be immediatelly used."));
|
|
7434
7547
|
};
|
|
7435
7548
|
goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
7436
7549
|
elem.outerHTML = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
|
|
@@ -7704,7 +7817,7 @@ goog.string.unescapeEntitiesUsingDom_ = function(str, opt_document) {
|
|
|
7704
7817
|
var n = Number("0" + entity.slice(1));
|
|
7705
7818
|
isNaN(n) || (value = String.fromCharCode(n));
|
|
7706
7819
|
}
|
|
7707
|
-
value || (goog.dom.safe.setInnerHtml(div,
|
|
7820
|
+
value || (goog.dom.safe.setInnerHtml(div, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(s + " ", "Single HTML entity.")), value = div.firstChild.nodeValue.slice(0, -1));
|
|
7708
7821
|
return seen[s] = value;
|
|
7709
7822
|
});
|
|
7710
7823
|
};
|
|
@@ -14568,6 +14681,37 @@ goog.dom.BrowserFeature.CAN_USE_CHILDREN_ATTRIBUTE = !0;
|
|
|
14568
14681
|
goog.dom.BrowserFeature.CAN_USE_INNER_TEXT = !1;
|
|
14569
14682
|
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = goog.userAgent.IE || goog.userAgent.WEBKIT;
|
|
14570
14683
|
goog.dom.BrowserFeature.INNER_HTML_NEEDS_SCOPED_ELEMENT = goog.userAgent.IE;
|
|
14684
|
+
goog.html.uncheckedconversions = {};
|
|
14685
|
+
goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract = function(justification, html) {
|
|
14686
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14687
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14688
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(html);
|
|
14689
|
+
};
|
|
14690
|
+
goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract = function(justification, script) {
|
|
14691
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14692
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14693
|
+
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(script);
|
|
14694
|
+
};
|
|
14695
|
+
goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract = function(justification, style) {
|
|
14696
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14697
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14698
|
+
return module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(style);
|
|
14699
|
+
};
|
|
14700
|
+
goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract = function(justification, styleSheet) {
|
|
14701
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14702
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14703
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
14704
|
+
};
|
|
14705
|
+
goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract = function(justification, url) {
|
|
14706
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14707
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14708
|
+
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
14709
|
+
};
|
|
14710
|
+
goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract = function(justification, url) {
|
|
14711
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14712
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14713
|
+
return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
14714
|
+
};
|
|
14571
14715
|
goog.math.Coordinate = function(opt_x, opt_y) {
|
|
14572
14716
|
this.x = void 0 !== opt_x ? opt_x : 0;
|
|
14573
14717
|
this.y = void 0 !== opt_y ? opt_y : 0;
|
|
@@ -17395,13 +17539,8 @@ goog.net.XhrIo.prototype.formatMsg_ = function(msg) {
|
|
|
17395
17539
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
17396
17540
|
goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_ = transformer(goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_);
|
|
17397
17541
|
});
|
|
17398
|
-
/*
|
|
17399
|
-
|
|
17400
|
-
SPDX-License-Identifier: Apache-2.0
|
|
17401
|
-
*/
|
|
17402
17542
|
var module$exports$safevalues$builders$sensitive_attributes = {}, module$contents$safevalues$builders$sensitive_attributes_module = module$contents$safevalues$builders$sensitive_attributes_module || {id:"third_party/javascript/safevalues/builders/sensitive_attributes.closure.js"};
|
|
17403
17543
|
module$exports$safevalues$builders$sensitive_attributes.SECURITY_SENSITIVE_ATTRIBUTES = "src srcdoc codebase data href rel action formaction sandbox cite poster icon".split(" ");
|
|
17404
|
-
var module$contents$safevalues$environment$dev_module = module$contents$safevalues$environment$dev_module || {id:"third_party/javascript/safevalues/environment/dev.closure.js"};
|
|
17405
17544
|
var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
|
|
17406
17545
|
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
17407
17546
|
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
@@ -17434,8 +17573,8 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
17434
17573
|
throw Error(message);
|
|
17435
17574
|
}
|
|
17436
17575
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
17437
|
-
var $jscomp$templatelit$
|
|
17438
|
-
["\\0"]), $jscomp$templatelit$
|
|
17576
|
+
var $jscomp$templatelit$m425881384$0 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$1 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$2 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$3 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$4 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
17577
|
+
["\\0"]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
17439
17578
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
17440
17579
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
17441
17580
|
throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
|
|
@@ -17449,14 +17588,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
17449
17588
|
return -1 === fn.toString().indexOf("`");
|
|
17450
17589
|
}
|
|
17451
17590
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17452
|
-
return tag($jscomp$templatelit$
|
|
17591
|
+
return tag($jscomp$templatelit$m425881384$0);
|
|
17453
17592
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17454
|
-
return tag($jscomp$templatelit$
|
|
17593
|
+
return tag($jscomp$templatelit$m425881384$1);
|
|
17455
17594
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17456
|
-
return tag($jscomp$templatelit$
|
|
17595
|
+
return tag($jscomp$templatelit$m425881384$2);
|
|
17457
17596
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17458
|
-
return tag($jscomp$templatelit$
|
|
17459
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
17597
|
+
return tag($jscomp$templatelit$m425881384$3);
|
|
17598
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$4) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$5) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$6) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$7);
|
|
17460
17599
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
17461
17600
|
return Array.isArray(templateObj) && Array.isArray(templateObj.raw) && templateObj.length === templateObj.raw.length && (module$contents$safevalues$internals$string_literal_isTranspiled || templateObj !== templateObj.raw) && (module$contents$safevalues$internals$string_literal_isTranspiled && !module$contents$safevalues$internals$string_literal_frozenTSA || module$contents$safevalues$internals$string_literal_checkFrozen(templateObj)) ?
|
|
17462
17601
|
!0 : !1;
|
|
@@ -17477,29 +17616,7 @@ function module$contents$safevalues$builders$attribute_builders_safeAttrPrefix(t
|
|
|
17477
17616
|
}
|
|
17478
17617
|
return module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(attrPrefix);
|
|
17479
17618
|
}
|
|
17480
|
-
;var module$
|
|
17481
|
-
module$exports$goog$html$internals.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
|
|
17482
|
-
module$exports$goog$html$internals.createSafeScript = module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse;
|
|
17483
|
-
module$exports$goog$html$internals.createSafeStyle = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;
|
|
17484
|
-
module$exports$goog$html$internals.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
17485
|
-
module$exports$goog$html$internals.createSafeUrl = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse;
|
|
17486
|
-
module$exports$goog$html$internals.createTrustedResourceUrl = goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
|
|
17487
|
-
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
|
|
17488
|
-
module$exports$safevalues$internals$html_impl.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
17489
|
-
function module$contents$safevalues$internals$html_impl_createHtmlInternal(html) {
|
|
17490
|
-
return (0,module$exports$goog$html$internals.createSafeHtml)(html);
|
|
17491
|
-
}
|
|
17492
|
-
module$exports$safevalues$internals$html_impl.createHtmlInternal = module$contents$safevalues$internals$html_impl_createHtmlInternal;
|
|
17493
|
-
module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$goog$html$SafeHtml_SafeHtml.EMPTY;
|
|
17494
|
-
function module$contents$safevalues$internals$html_impl_isHtml(value) {
|
|
17495
|
-
return value instanceof module$contents$goog$html$SafeHtml_SafeHtml;
|
|
17496
|
-
}
|
|
17497
|
-
module$exports$safevalues$internals$html_impl.isHtml = module$contents$safevalues$internals$html_impl_isHtml;
|
|
17498
|
-
function module$contents$safevalues$internals$html_impl_unwrapHtml(value) {
|
|
17499
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
|
|
17500
|
-
}
|
|
17501
|
-
module$exports$safevalues$internals$html_impl.unwrapHtml = module$contents$safevalues$internals$html_impl_unwrapHtml;
|
|
17502
|
-
var module$contents$safevalues$builders$document_fragment_builders_module = module$contents$safevalues$builders$document_fragment_builders_module || {id:"third_party/javascript/safevalues/builders/document_fragment_builders.closure.js"};
|
|
17619
|
+
;var module$contents$safevalues$builders$document_fragment_builders_module = module$contents$safevalues$builders$document_fragment_builders_module || {id:"third_party/javascript/safevalues/builders/document_fragment_builders.closure.js"};
|
|
17503
17620
|
function module$contents$safevalues$builders$document_fragment_builders_safeFragment(templateObj) {
|
|
17504
17621
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
17505
17622
|
return document.createRange().createContextualFragment(module$contents$safevalues$internals$html_impl_unwrapHtml(module$contents$safevalues$internals$html_impl_createHtmlInternal(templateObj[0])));
|
|
@@ -17508,37 +17625,7 @@ function module$contents$safevalues$builders$document_fragment_builders_safeFrag
|
|
|
17508
17625
|
function module$contents$safevalues$internals$pure_pure(valueOf) {
|
|
17509
17626
|
return {valueOf:valueOf}.valueOf();
|
|
17510
17627
|
}
|
|
17511
|
-
;var module$exports$safevalues$
|
|
17512
|
-
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
17513
|
-
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
|
|
17514
|
-
return (0,goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
17515
|
-
}
|
|
17516
|
-
module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
17517
|
-
function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
|
|
17518
|
-
return value instanceof goog.html.TrustedResourceUrl;
|
|
17519
|
-
}
|
|
17520
|
-
module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
17521
|
-
function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
|
|
17522
|
-
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
17523
|
-
}
|
|
17524
|
-
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
17525
|
-
var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
|
|
17526
|
-
module$exports$safevalues$internals$url_impl.SafeUrl = goog.html.SafeUrl;
|
|
17527
|
-
function module$contents$safevalues$internals$url_impl_createUrlInternal(url) {
|
|
17528
|
-
return (0,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
17529
|
-
}
|
|
17530
|
-
module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
|
|
17531
|
-
module$exports$safevalues$internals$url_impl.ABOUT_BLANK = goog.html.SafeUrl.ABOUT_BLANK;
|
|
17532
|
-
module$exports$safevalues$internals$url_impl.INNOCUOUS_URL = goog.html.SafeUrl.INNOCUOUS_URL;
|
|
17533
|
-
function module$contents$safevalues$internals$url_impl_isUrl(value) {
|
|
17534
|
-
return value instanceof goog.html.SafeUrl;
|
|
17535
|
-
}
|
|
17536
|
-
module$exports$safevalues$internals$url_impl.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
17537
|
-
function module$contents$safevalues$internals$url_impl_unwrapUrl(value) {
|
|
17538
|
-
return goog.html.SafeUrl.unwrap(value);
|
|
17539
|
-
}
|
|
17540
|
-
module$exports$safevalues$internals$url_impl.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
17541
|
-
var module$exports$safevalues$builders$url_builders = {}, module$contents$safevalues$builders$url_builders_module = module$contents$safevalues$builders$url_builders_module || {id:"third_party/javascript/safevalues/builders/url_builders.closure.js"};
|
|
17628
|
+
;var module$exports$safevalues$builders$url_builders = {}, module$contents$safevalues$builders$url_builders_module = module$contents$safevalues$builders$url_builders_module || {id:"third_party/javascript/safevalues/builders/url_builders.closure.js"};
|
|
17542
17629
|
function module$contents$safevalues$builders$url_builders_isSafeMimeType(mimeType) {
|
|
17543
17630
|
var match = mimeType.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);
|
|
17544
17631
|
return 2 === (null == match ? void 0 : match.length) && (module$contents$safevalues$builders$url_builders_isSafeImageMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeVideoMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeAudioMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeFontMimeType(match[1]));
|
|
@@ -17712,35 +17799,6 @@ function module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSan
|
|
|
17712
17799
|
-1 !== callbackIndex && module$contents$safevalues$builders$url_builders_sanitizationCallbacks.splice(callbackIndex, 1);
|
|
17713
17800
|
}
|
|
17714
17801
|
module$exports$safevalues$builders$url_builders.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
17715
|
-
var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"};
|
|
17716
|
-
module$exports$safevalues$internals$script_impl.SafeScript = module$contents$goog$html$SafeScript_SafeScript;
|
|
17717
|
-
function module$contents$safevalues$internals$script_impl_createScriptInternal(script) {
|
|
17718
|
-
return (0,module$exports$goog$html$internals.createSafeScript)(script);
|
|
17719
|
-
}
|
|
17720
|
-
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
17721
|
-
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$goog$html$SafeScript_SafeScript.EMPTY;
|
|
17722
|
-
function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
17723
|
-
return value instanceof module$contents$goog$html$SafeScript_SafeScript;
|
|
17724
|
-
}
|
|
17725
|
-
module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
17726
|
-
function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
|
|
17727
|
-
return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(value);
|
|
17728
|
-
}
|
|
17729
|
-
module$exports$safevalues$internals$script_impl.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
17730
|
-
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
17731
|
-
module$exports$safevalues$internals$style_impl.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
17732
|
-
function module$contents$safevalues$internals$style_impl_createStyleInternal(style) {
|
|
17733
|
-
return (0,module$exports$goog$html$internals.createSafeStyle)(style);
|
|
17734
|
-
}
|
|
17735
|
-
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
17736
|
-
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
17737
|
-
return value instanceof module$contents$goog$html$SafeStyle_SafeStyle;
|
|
17738
|
-
}
|
|
17739
|
-
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17740
|
-
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
17741
|
-
return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
|
|
17742
|
-
}
|
|
17743
|
-
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17744
17802
|
var module$exports$safevalues$builders$html_builders = {}, module$contents$safevalues$builders$html_builders_module = module$contents$safevalues$builders$html_builders_module || {id:"third_party/javascript/safevalues/builders/html_builders.closure.js"};
|
|
17745
17803
|
function module$contents$safevalues$builders$html_builders_htmlEscape(value, options) {
|
|
17746
17804
|
options = void 0 === options ? {} : options;
|
|
@@ -18044,7 +18102,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
18044
18102
|
return !0;
|
|
18045
18103
|
}
|
|
18046
18104
|
for (var $jscomp$iter$34 = $jscomp.makeIterator(conditions), $jscomp$key$ = $jscomp$iter$34.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$34.next()) {
|
|
18047
|
-
var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var35.next().value, expectedValues = $jscomp$destructuring$var35.next().value, $jscomp$optchain$
|
|
18105
|
+
var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var35.next().value, expectedValues = $jscomp$destructuring$var35.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = null == ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
18048
18106
|
if (value && !expectedValues.has(value)) {
|
|
18049
18107
|
return !1;
|
|
18050
18108
|
}
|
|
@@ -18228,6 +18286,10 @@ function module$contents$safevalues$builders$resource_url_builders_isValidPathSt
|
|
|
18228
18286
|
function module$contents$safevalues$builders$resource_url_builders_isValidRelativePathStart(base) {
|
|
18229
18287
|
return RegExp("^[^:\\s\\\\/]+/").test(base);
|
|
18230
18288
|
}
|
|
18289
|
+
function module$contents$safevalues$builders$resource_url_builders_getUrlSegments(url) {
|
|
18290
|
+
var segments = url.split(/\?|#/), params = /\?/.test(url) ? "?" + segments[1] : "";
|
|
18291
|
+
return {path:segments[0], params:params, hash:/#/.test(url) ? "#" + (params ? segments[2] : segments[1]) : ""};
|
|
18292
|
+
}
|
|
18231
18293
|
function module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl(templateObj) {
|
|
18232
18294
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
18233
18295
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, rest.length);
|
|
@@ -18250,20 +18312,14 @@ function module$contents$safevalues$builders$resource_url_builders_trustedResour
|
|
|
18250
18312
|
}
|
|
18251
18313
|
module$exports$safevalues$builders$resource_url_builders.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
18252
18314
|
function module$contents$safevalues$builders$resource_url_builders_appendParams(trustedUrl, params) {
|
|
18253
|
-
var
|
|
18254
|
-
if (/#/.test(url)) {
|
|
18255
|
-
var message = "";
|
|
18256
|
-
goog.DEBUG && (message = "Found a hash in url (" + url + "), appending not supported");
|
|
18257
|
-
throw Error(message);
|
|
18258
|
-
}
|
|
18259
|
-
var separator = /\?/.test(url) ? "&" : "?";
|
|
18315
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), urlParams = urlSegments.params, separator = urlParams.length ? "&" : "?";
|
|
18260
18316
|
params.forEach(function(value, key) {
|
|
18261
18317
|
for (var values = value instanceof Array ? value : [value], i = 0; i < values.length; i++) {
|
|
18262
18318
|
var v = values[i];
|
|
18263
|
-
null !== v && void 0 !== v && (
|
|
18319
|
+
null !== v && void 0 !== v && (urlParams += separator + encodeURIComponent(key) + "=" + encodeURIComponent(String(v)), separator = "&");
|
|
18264
18320
|
}
|
|
18265
18321
|
});
|
|
18266
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(
|
|
18322
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(urlSegments.path + urlParams + urlSegments.hash);
|
|
18267
18323
|
}
|
|
18268
18324
|
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
18269
18325
|
var module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP = /[^#]*/;
|
|
@@ -18273,10 +18329,8 @@ function module$contents$safevalues$builders$resource_url_builders_replaceFragme
|
|
|
18273
18329
|
}
|
|
18274
18330
|
module$exports$safevalues$builders$resource_url_builders.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
18275
18331
|
function module$contents$safevalues$builders$resource_url_builders_appendPathSegment(trustedUrl, pathSegment) {
|
|
18276
|
-
var
|
|
18277
|
-
|
|
18278
|
-
void 0 !== fragVal && (url += "#" + fragVal);
|
|
18279
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url);
|
|
18332
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), separator = "/" === urlSegments.path.slice(-1) ? "" : "/", newPath = urlSegments.path + separator + encodeURIComponent(pathSegment);
|
|
18333
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(newPath + urlSegments.params + urlSegments.hash);
|
|
18280
18334
|
}
|
|
18281
18335
|
module$exports$safevalues$builders$resource_url_builders.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
18282
18336
|
function module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript(safeScript) {
|
|
@@ -18349,20 +18403,6 @@ function module$contents$safevalues$builders$style_builders_concatStyles(styles)
|
|
|
18349
18403
|
return module$contents$safevalues$internals$style_impl_createStyleInternal(styles.map(module$contents$safevalues$internals$style_impl_unwrapStyle).join(""));
|
|
18350
18404
|
}
|
|
18351
18405
|
module$exports$safevalues$builders$style_builders.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
18352
|
-
var module$exports$safevalues$internals$style_sheet_impl = {}, module$contents$safevalues$internals$style_sheet_impl_module = module$contents$safevalues$internals$style_sheet_impl_module || {id:"third_party/javascript/safevalues/internals/style_sheet_impl.closure.js"};
|
|
18353
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
18354
|
-
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
|
|
18355
|
-
return (0,module$exports$goog$html$internals.createSafeStyleSheet)(styleSheet);
|
|
18356
|
-
}
|
|
18357
|
-
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
18358
|
-
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
18359
|
-
return value instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
18360
|
-
}
|
|
18361
|
-
module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
18362
|
-
function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
|
|
18363
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(value);
|
|
18364
|
-
}
|
|
18365
|
-
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
18366
18406
|
var module$exports$safevalues$builders$style_sheet_builders = {}, module$contents$safevalues$builders$style_sheet_builders_module = module$contents$safevalues$builders$style_sheet_builders_module || {id:"third_party/javascript/safevalues/builders/style_sheet_builders.closure.js"}, module$contents$safevalues$builders$style_sheet_builders_Primitive;
|
|
18367
18407
|
module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = function(templateObj) {
|
|
18368
18408
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
@@ -18439,12 +18479,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
18439
18479
|
}
|
|
18440
18480
|
try {
|
|
18441
18481
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
18442
|
-
} catch ($jscomp$unused$catch$
|
|
18482
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
18443
18483
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
18444
18484
|
}
|
|
18445
18485
|
try {
|
|
18446
18486
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
18447
|
-
} catch ($jscomp$unused$catch$
|
|
18487
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
18448
18488
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
18449
18489
|
}
|
|
18450
18490
|
return !1;
|
|
@@ -18529,7 +18569,6 @@ module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals
|
|
|
18529
18569
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
18530
18570
|
module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$html_builders.createHtml;
|
|
18531
18571
|
module$exports$safevalues$index.safeStyleRule = module$exports$safevalues$builders$style_sheet_builders.safeStyleRule;
|
|
18532
|
-
var safevalues = {};
|
|
18533
18572
|
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
18534
18573
|
safevalues.safeFragment = module$contents$safevalues$builders$document_fragment_builders_safeFragment;
|
|
18535
18574
|
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
@@ -18598,7 +18637,7 @@ var $jscomp$templatelit$294235699$0 = $jscomp.createTemplateTagFirstArg(["https:
|
|
|
18598
18637
|
ee.apiclient = {};
|
|
18599
18638
|
var module$contents$ee$apiclient_apiclient = {};
|
|
18600
18639
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
18601
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18640
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.381";
|
|
18602
18641
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
18603
18642
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
18604
18643
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -18889,8 +18928,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
18889
18928
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
18890
18929
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
18891
18930
|
method = method || "POST";
|
|
18892
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
18893
|
-
"0.1.
|
|
18931
|
+
var headers = {"Content-Type":contentType}, version = "0.1.381";
|
|
18932
|
+
"0.1.381" === version && (version = "latest");
|
|
18894
18933
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
18895
18934
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
18896
18935
|
if (null != authToken) {
|
|
@@ -22379,10 +22418,12 @@ ee.Feature.prototype.getInfo = function(opt_callback) {
|
|
|
22379
22418
|
return ee.Feature.superClass_.getInfo.call(this, opt_callback);
|
|
22380
22419
|
};
|
|
22381
22420
|
goog.exportProperty(ee.Feature.prototype, "getInfo", ee.Feature.prototype.getInfo);
|
|
22382
|
-
ee.Feature.prototype.
|
|
22421
|
+
ee.Feature.prototype.getMapId = function(opt_visParams, opt_callback) {
|
|
22383
22422
|
var args = ee.arguments.extractFromFunction(ee.Feature.prototype.getMap, arguments);
|
|
22384
|
-
return ee.ApiFunction._call("Collection", [this]).
|
|
22423
|
+
return ee.ApiFunction._call("Collection", [this]).getMapId(args.visParams, args.callback);
|
|
22385
22424
|
};
|
|
22425
|
+
goog.exportProperty(ee.Feature.prototype, "getMapId", ee.Feature.prototype.getMapId);
|
|
22426
|
+
ee.Feature.prototype.getMap = ee.Feature.prototype.getMapId;
|
|
22386
22427
|
goog.exportProperty(ee.Feature.prototype, "getMap", ee.Feature.prototype.getMap);
|
|
22387
22428
|
ee.Feature.prototype.name = function() {
|
|
22388
22429
|
return "Feature";
|
|
@@ -22621,7 +22662,7 @@ ee.Image.prototype.getInfo = function(opt_callback) {
|
|
|
22621
22662
|
return ee.Image.superClass_.getInfo.call(this, opt_callback);
|
|
22622
22663
|
};
|
|
22623
22664
|
goog.exportProperty(ee.Image.prototype, "getInfo", ee.Image.prototype.getInfo);
|
|
22624
|
-
ee.Image.prototype.
|
|
22665
|
+
ee.Image.prototype.getMapId = function(opt_visParams, opt_callback) {
|
|
22625
22666
|
var $jscomp$this = this, args = ee.arguments.extractFromFunction(ee.Image.prototype.getMap, arguments), request = ee.data.images.applyVisualization(this, args.visParams);
|
|
22626
22667
|
if (args.callback) {
|
|
22627
22668
|
var callback = args.callback;
|
|
@@ -22635,6 +22676,8 @@ ee.Image.prototype.getMap = function(opt_visParams, opt_callback) {
|
|
|
22635
22676
|
return response;
|
|
22636
22677
|
}
|
|
22637
22678
|
};
|
|
22679
|
+
goog.exportProperty(ee.Image.prototype, "getMapId", ee.Image.prototype.getMapId);
|
|
22680
|
+
ee.Image.prototype.getMap = ee.Image.prototype.getMapId;
|
|
22638
22681
|
goog.exportProperty(ee.Image.prototype, "getMap", ee.Image.prototype.getMap);
|
|
22639
22682
|
ee.Image.prototype.getDownloadURL = function(params, opt_callback) {
|
|
22640
22683
|
var args = ee.arguments.extractFromFunction(ee.Image.prototype.getDownloadURL, arguments), request = args.params ? module$contents$goog$object_clone(args.params) : {};
|
|
@@ -22833,14 +22876,16 @@ ee.FeatureCollection.reset = function() {
|
|
|
22833
22876
|
ee.ApiFunction.clearApi(ee.FeatureCollection);
|
|
22834
22877
|
ee.FeatureCollection.initialized_ = !1;
|
|
22835
22878
|
};
|
|
22836
|
-
ee.FeatureCollection.prototype.
|
|
22837
|
-
var args = ee.arguments.extractFromFunction(ee.FeatureCollection.prototype.
|
|
22879
|
+
ee.FeatureCollection.prototype.getMapId = function(opt_visParams, opt_callback) {
|
|
22880
|
+
var args = ee.arguments.extractFromFunction(ee.FeatureCollection.prototype.getMapId, arguments), painted = ee.ApiFunction._apply("Collection.draw", {collection:this, color:(args.visParams || {}).color || "000000"});
|
|
22838
22881
|
if (args.callback) {
|
|
22839
|
-
painted.
|
|
22882
|
+
painted.getMapId(void 0, args.callback);
|
|
22840
22883
|
} else {
|
|
22841
|
-
return painted.
|
|
22884
|
+
return painted.getMapId();
|
|
22842
22885
|
}
|
|
22843
22886
|
};
|
|
22887
|
+
goog.exportProperty(ee.FeatureCollection.prototype, "getMapId", ee.FeatureCollection.prototype.getMapId);
|
|
22888
|
+
ee.FeatureCollection.prototype.getMap = ee.FeatureCollection.prototype.getMapId;
|
|
22844
22889
|
goog.exportProperty(ee.FeatureCollection.prototype, "getMap", ee.FeatureCollection.prototype.getMap);
|
|
22845
22890
|
ee.FeatureCollection.prototype.getInfo = function(opt_callback) {
|
|
22846
22891
|
return ee.FeatureCollection.superClass_.getInfo.call(this, opt_callback);
|
|
@@ -22969,14 +23014,16 @@ ee.ImageCollection.prototype.getThumbURL_ = function(collection, args, validForm
|
|
|
22969
23014
|
return ee.data.makeThumbUrl(getThumbId(request));
|
|
22970
23015
|
}
|
|
22971
23016
|
};
|
|
22972
|
-
ee.ImageCollection.prototype.
|
|
22973
|
-
var args = ee.arguments.extractFromFunction(ee.ImageCollection.prototype.
|
|
23017
|
+
ee.ImageCollection.prototype.getMapId = function(opt_visParams, opt_callback) {
|
|
23018
|
+
var args = ee.arguments.extractFromFunction(ee.ImageCollection.prototype.getMapId, arguments), mosaic = ee.ApiFunction._call("ImageCollection.mosaic", this);
|
|
22974
23019
|
if (args.callback) {
|
|
22975
|
-
mosaic.
|
|
23020
|
+
mosaic.getMapId(args.visParams, args.callback);
|
|
22976
23021
|
} else {
|
|
22977
|
-
return mosaic.
|
|
23022
|
+
return mosaic.getMapId(args.visParams);
|
|
22978
23023
|
}
|
|
22979
23024
|
};
|
|
23025
|
+
goog.exportProperty(ee.ImageCollection.prototype, "getMapId", ee.ImageCollection.prototype.getMapId);
|
|
23026
|
+
ee.ImageCollection.prototype.getMap = ee.ImageCollection.prototype.getMapId;
|
|
22980
23027
|
goog.exportProperty(ee.ImageCollection.prototype, "getMap", ee.ImageCollection.prototype.getMap);
|
|
22981
23028
|
ee.ImageCollection.prototype.getInfo = function(opt_callback) {
|
|
22982
23029
|
return ee.ImageCollection.superClass_.getInfo.call(this, opt_callback);
|
|
@@ -26439,28 +26486,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26439
26486
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26440
26487
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26441
26488
|
(function() {
|
|
26442
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26443
|
-
orderedParamLists = [["name", "
|
|
26444
|
-
"collection opt_description
|
|
26445
|
-
"collection opt_description
|
|
26446
|
-
"
|
|
26447
|
-
"
|
|
26448
|
-
|
|
26449
|
-
["
|
|
26450
|
-
["
|
|
26451
|
-
|
|
26452
|
-
|
|
26453
|
-
"opt_proj", "opt_geodesic", "
|
|
26454
|
-
"opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["
|
|
26455
|
-
[ee.ApiFunction.
|
|
26456
|
-
module$contents$ee$batch_Export.
|
|
26457
|
-
ee.ComputedObject.prototype.
|
|
26458
|
-
ee.data.
|
|
26459
|
-
ee.data.
|
|
26460
|
-
ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.
|
|
26461
|
-
ee.
|
|
26462
|
-
ee.Image, ee.Image.prototype.
|
|
26463
|
-
ee.Serializer.
|
|
26489
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.deleteAsset ee.data.createAssetHome ee.data.getList ee.data.listAssets ee.data.createAsset ee.data.authenticateViaOauth ee.data.getTaskStatus ee.data.getTableDownloadId ee.data.getFeatureViewTilesKey ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.getInfo ee.data.getAssetRootQuota ee.data.computeValue ee.data.listFeatures ee.data.setAssetProperties ee.data.getThumbId ee.data.authenticateViaPopup ee.data.getAssetAcl ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.makeThumbUrl ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.getAssetRoots ee.data.listImages ee.data.setAssetAcl ee.data.listBuckets ee.data.cancelOperation ee.data.listOperations ee.data.getTaskList ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.copyAsset ee.data.updateAsset ee.data.getTaskListWithLimit ee.data.getAsset ee.data.renameAsset ee.data.newTaskId ee.data.createFolder ee.data.makeTableDownloadUrl ee.data.authenticate ee.data.getOperation ee.data.getMapId ee.data.startTableIngestion ee.data.setWorkloadTag ee.data.startProcessing ee.data.updateTask ee.data.getTileUrl ee.data.getWorkloadTag ee.data.startIngestion ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.TILE_SIZE ee.reset ee.initialize ee.call ee.Algorithms ee.InitState 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.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.inList ee.Filter.prototype.not ee.Filter ee.Filter.metadata ee.Filter.eq ee.Filter.neq ee.Filter.bounds ee.Filter.gt ee.Filter.lte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.expression ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.prototype.select ee.Image.cat ee.Image ee.Image.prototype.getMapId ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
26490
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "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".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
|
|
26491
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".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".split(" "),
|
|
26492
|
+
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices"], "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".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".split(" "),
|
|
26493
|
+
"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".split(" "), ["classifier", "opt_description", "opt_assetId"], ["algorithm", "opt_dropNulls"], ["geometry"], ["filter"], ["start", "opt_end"], ["algorithm", "opt_first"], ["name", "operator", "value"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["legacy"],
|
|
26494
|
+
["callback"], ["func", "var_args"], ["opt_callback"], ["assetId", "opt_callback"], ["requestedId", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["taskId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["id"], ["id", "opt_callback"],
|
|
26495
|
+
["rootId", "opt_callback"], ["obj", "opt_callback"], ["asset", "params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["opt_success", "opt_error"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["id"], ["opt_resetDefault"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"],
|
|
26496
|
+
["project", "opt_callback"], ["operationName", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_callback"], ["taskId", "opt_callback"], ["tag"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["opt_limit", "opt_callback"], ["id", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_count", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], ["clientId", "success", "opt_error", "opt_extraScopes",
|
|
26497
|
+
"opt_onImmediateFailed"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["tag"], ["taskId", "params", "opt_callback"], ["taskId", "action", "opt_callback"], ["id", "x", "y", "z"], [], ["taskId", "request", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], ["func",
|
|
26498
|
+
"namedArgs"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_callback"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["name", "value"], ["var_args"], ["var_args"], ["name", "value"], ["start", "opt_end"], ["opt_leftField",
|
|
26499
|
+
"opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["opt_filter"], ["name", "operator", "value"], ["name", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], [], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError",
|
|
26500
|
+
"opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["opt_visParams", "opt_callback"], ["var_args"], ["opt_callback"], ["expression", "opt_map"], ["params", "opt_callback"], ["r", "g", "b"], ["params", "opt_callback"], ["params", "opt_callback"], ["geometry"], ["var_args"], ["var_args"],
|
|
26501
|
+
["opt_args"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["selectors", "opt_names"], ["opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["args"], ["params", "opt_callback"], ["params", "opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["string"], []];
|
|
26502
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toAsset,
|
|
26503
|
+
module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.ComputedObject.prototype.serialize,
|
|
26504
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.getInfo, ee.data.deleteAsset, ee.data.createAssetHome, ee.data.getList, ee.data.listAssets, ee.data.createAsset, ee.data.authenticateViaOauth, ee.data.getTaskStatus, ee.data.getTableDownloadId, ee.data.getFeatureViewTilesKey, ee.data.getDownloadId, ee.data.makeDownloadUrl, ee.data.getInfo, ee.data.getAssetRootQuota, ee.data.computeValue, ee.data.listFeatures, ee.data.setAssetProperties, ee.data.getThumbId,
|
|
26505
|
+
ee.data.authenticateViaPopup, ee.data.getAssetAcl, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId, ee.data.makeThumbUrl, ee.data.resetWorkloadTag, ee.data.authenticateViaPrivateKey, ee.data.getAssetRoots, ee.data.listImages, ee.data.setAssetAcl, ee.data.listBuckets, ee.data.cancelOperation, ee.data.listOperations, ee.data.getTaskList, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.copyAsset, ee.data.updateAsset, ee.data.getTaskListWithLimit, ee.data.getAsset, ee.data.renameAsset,
|
|
26506
|
+
ee.data.newTaskId, ee.data.createFolder, ee.data.makeTableDownloadUrl, ee.data.authenticate, ee.data.getOperation, ee.data.getMapId, ee.data.startTableIngestion, ee.data.setWorkloadTag, ee.data.startProcessing, ee.data.updateTask, ee.data.getTileUrl, ee.data.getWorkloadTag, ee.data.startIngestion, ee.Date, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.TILE_SIZE, ee.reset, ee.initialize, ee.call, ee.Algorithms,
|
|
26507
|
+
ee.InitState, 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.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.Filter.lt, ee.Filter.and, ee.Filter.or, ee.Filter.gte, ee.Filter.date, ee.Filter.inList, ee.Filter.prototype.not,
|
|
26508
|
+
ee.Filter, ee.Filter.metadata, ee.Filter.eq, ee.Filter.neq, ee.Filter.bounds, ee.Filter.gt, ee.Filter.lte, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry.LinearRing, ee.Geometry.Point, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.MultiLineString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Image.prototype.getMap,
|
|
26509
|
+
ee.Image.prototype.rename, ee.Image.prototype.getInfo, ee.Image.prototype.expression, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbURL, ee.Image.prototype.clip, ee.Image.prototype.select, ee.Image.cat, ee.Image, ee.Image.prototype.getMapId, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.linkCollection,
|
|
26510
|
+
ee.ImageCollection.prototype.first, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.List, ee.Number, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApiPretty, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26464
26511
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26465
26512
|
});
|
|
26466
26513
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|