@google/earthengine 0.1.382 → 0.1.383
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/.tmp/BUILD +2 -2
- package/.tmp/METADATA +4 -4
- package/.tmp/VERSION_BUILD +2 -2
- package/build/browser.js +131 -100
- package/build/ee_api_js.js +16 -16
- package/build/ee_api_js_debug.js +109 -78
- package/build/ee_api_js_npm.js +131 -100
- package/build/main.js +131 -100
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/batch.js +19 -0
- package/src/data.js +47 -0
package/build/main.js
CHANGED
|
@@ -1250,6 +1250,7 @@ goog.readToggleInternalDoNotCallDirectly = function(name) {
|
|
|
1250
1250
|
};
|
|
1251
1251
|
goog.TOGGLE_VAR_ = "_F_toggles";
|
|
1252
1252
|
goog.TOGGLES_ = goog.global[goog.TOGGLE_VAR_] || [];
|
|
1253
|
+
goog.LEGACY_NAMESPACE_OBJECT_ = goog.global;
|
|
1253
1254
|
goog.provide = function(name) {
|
|
1254
1255
|
if (goog.isInModuleLoader_()) {
|
|
1255
1256
|
throw Error("goog.provide cannot be used within a module.");
|
|
@@ -1258,7 +1259,7 @@ goog.provide = function(name) {
|
|
|
1258
1259
|
};
|
|
1259
1260
|
goog.constructNamespace_ = function(name, object, overwriteImplicit) {
|
|
1260
1261
|
var namespace;
|
|
1261
|
-
goog.exportPath_(name, object, overwriteImplicit);
|
|
1262
|
+
goog.exportPath_(name, object, overwriteImplicit, goog.LEGACY_NAMESPACE_OBJECT_);
|
|
1262
1263
|
};
|
|
1263
1264
|
goog.NONCE_PATTERN_ = /^[\w+/_-]+[=]{0,2}$/;
|
|
1264
1265
|
goog.getScriptNonce_ = function(opt_window) {
|
|
@@ -1316,7 +1317,7 @@ goog.isInEs6ModuleLoader_ = function() {
|
|
|
1316
1317
|
if (goog.moduleLoaderState_ && goog.moduleLoaderState_.type == goog.ModuleType.ES6) {
|
|
1317
1318
|
return !0;
|
|
1318
1319
|
}
|
|
1319
|
-
var jscomp = goog.
|
|
1320
|
+
var jscomp = goog.LEGACY_NAMESPACE_OBJECT_.$jscomp;
|
|
1320
1321
|
return jscomp ? "function" != typeof jscomp.getCurrentModulePath ? !1 : !!jscomp.getCurrentModulePath() : !1;
|
|
1321
1322
|
};
|
|
1322
1323
|
goog.module.declareLegacyNamespace = function() {
|
|
@@ -1326,7 +1327,7 @@ goog.declareModuleId = function(namespace) {
|
|
|
1326
1327
|
if (goog.moduleLoaderState_) {
|
|
1327
1328
|
goog.moduleLoaderState_.moduleName = namespace;
|
|
1328
1329
|
} else {
|
|
1329
|
-
var jscomp = goog.
|
|
1330
|
+
var jscomp = goog.LEGACY_NAMESPACE_OBJECT_.$jscomp;
|
|
1330
1331
|
if (!jscomp || "function" != typeof jscomp.getCurrentModulePath) {
|
|
1331
1332
|
throw Error('Module with namespace "' + namespace + '" has been loaded incorrectly.');
|
|
1332
1333
|
}
|
|
@@ -2980,8 +2981,8 @@ goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2eto
|
|
|
2980
2981
|
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);
|
|
2981
2982
|
goog.flags.CLIENT_ONLY_WIZ_ATTRIBUTE_SANITIZATION = 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_attribute_sanitization__disable : goog.readFlagInternalDoNotUseOrElse(533565600, !0);
|
|
2982
2983
|
goog.flags.CLIENT_ONLY_WIZ_HOOK_CONTEXT_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_hook_context_fix__enable : goog.readFlagInternalDoNotUseOrElse(563486499, !1);
|
|
2983
|
-
goog.flags.JSPB_DISABLE_SERIALIZING_EMPTY_REPEATED_AND_MAP_FIELDS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ?
|
|
2984
|
-
|
|
2984
|
+
goog.flags.JSPB_DISABLE_SERIALIZING_EMPTY_REPEATED_AND_MAP_FIELDS = 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_disable_serializing_empty_repeated_and_map_fields__disable : goog.readFlagInternalDoNotUseOrElse(572417392,
|
|
2985
|
+
!0);
|
|
2985
2986
|
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);
|
|
2986
2987
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
2987
2988
|
goog.flags.TESTONLY_STAGING_FLAG = 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__testonly_staging_flag__disable) : goog.readFlagInternalDoNotUseOrElse(2147483646, module$contents$goog$flags_STAGING);
|
|
@@ -6063,7 +6064,7 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6063
6064
|
};
|
|
6064
6065
|
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;
|
|
6065
6066
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
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$
|
|
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$m192531680$0 = {}; !$jscomp$key$key.done; $jscomp$loop$m192531680$0 = {mapMetadata:$jscomp$loop$m192531680$0.mapMetadata},
|
|
6067
6068
|
$jscomp$key$key = $jscomp$iter$19.next()) {
|
|
6068
6069
|
var key = $jscomp$key$key.value, value = valueGetter(key, source);
|
|
6069
6070
|
if (null != value) {
|
|
@@ -6076,11 +6077,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6076
6077
|
} else if (objects.hasOwnProperty(key)) {
|
|
6077
6078
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6078
6079
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6079
|
-
$jscomp$loop$
|
|
6080
|
+
$jscomp$loop$m192531680$0.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$0.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$0) {
|
|
6080
6081
|
return function(v) {
|
|
6081
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
6082
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$0.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6082
6083
|
};
|
|
6083
|
-
}($jscomp$loop$
|
|
6084
|
+
}($jscomp$loop$m192531680$0)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$0.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6084
6085
|
} else if (Array.isArray(value)) {
|
|
6085
6086
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6086
6087
|
continue;
|
|
@@ -6126,39 +6127,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6126
6127
|
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))) {
|
|
6127
6128
|
return !1;
|
|
6128
6129
|
}
|
|
6129
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$
|
|
6130
|
+
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$1 = {}; !$jscomp$key$key.done; $jscomp$loop$m192531680$1 = {value2$jscomp$7:$jscomp$loop$m192531680$1.value2$jscomp$7, mapMetadata$jscomp$2:$jscomp$loop$m192531680$1.mapMetadata$jscomp$2}, $jscomp$key$key = $jscomp$iter$21.next()) {
|
|
6130
6131
|
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);
|
|
6131
6132
|
if (has1 !== has2) {
|
|
6132
6133
|
return !1;
|
|
6133
6134
|
}
|
|
6134
6135
|
if (has1) {
|
|
6135
6136
|
var value1 = serializable1.Serializable$get(key);
|
|
6136
|
-
$jscomp$loop$
|
|
6137
|
+
$jscomp$loop$m192531680$1.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6137
6138
|
if (arrays1.hasOwnProperty(key)) {
|
|
6138
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6139
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !0, !0)) {
|
|
6139
6140
|
return !1;
|
|
6140
6141
|
}
|
|
6141
6142
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6142
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6143
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !1, !0)) {
|
|
6143
6144
|
return !1;
|
|
6144
6145
|
}
|
|
6145
6146
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6146
|
-
if ($jscomp$loop$
|
|
6147
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
6147
|
+
if ($jscomp$loop$m192531680$1.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$1.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6148
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$1.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$1) {
|
|
6148
6149
|
return function(v1, i) {
|
|
6149
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
6150
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$1.value2$jscomp$7[i], $jscomp$loop$m192531680$1.mapMetadata$jscomp$2);
|
|
6150
6151
|
};
|
|
6151
|
-
}($jscomp$loop$
|
|
6152
|
+
}($jscomp$loop$m192531680$1))) {
|
|
6152
6153
|
return !1;
|
|
6153
6154
|
}
|
|
6154
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
6155
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, $jscomp$loop$m192531680$1.mapMetadata$jscomp$2)) {
|
|
6155
6156
|
return !1;
|
|
6156
6157
|
}
|
|
6157
6158
|
} else if (Array.isArray(value1)) {
|
|
6158
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6159
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !0, !1)) {
|
|
6159
6160
|
return !1;
|
|
6160
6161
|
}
|
|
6161
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6162
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !1, !1)) {
|
|
6162
6163
|
return !1;
|
|
6163
6164
|
}
|
|
6164
6165
|
}
|
|
@@ -6558,9 +6559,9 @@ goog.string.Const.prototype.implementsGoogStringTypedString = !0;
|
|
|
6558
6559
|
goog.string.Const.prototype.getTypedStringValue = function() {
|
|
6559
6560
|
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6560
6561
|
};
|
|
6561
|
-
goog.
|
|
6562
|
+
goog.string.Const.prototype.toString = function() {
|
|
6562
6563
|
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6563
|
-
}
|
|
6564
|
+
};
|
|
6564
6565
|
goog.string.Const.unwrap = function(stringConst) {
|
|
6565
6566
|
if (stringConst instanceof goog.string.Const && stringConst.constructor === goog.string.Const && stringConst.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_) {
|
|
6566
6567
|
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
@@ -7174,9 +7175,6 @@ module$contents$goog$html$SafeHtml_SafeHtml.htmlEscapePreservingNewlinesAndSpace
|
|
|
7174
7175
|
var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(textOrHtml);
|
|
7175
7176
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html)));
|
|
7176
7177
|
};
|
|
7177
|
-
module$contents$goog$html$SafeHtml_SafeHtml.comment = function(text) {
|
|
7178
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("\x3c!--" + goog.string.internal.htmlEscape(text) + "--\x3e");
|
|
7179
|
-
};
|
|
7180
7178
|
module$contents$goog$html$SafeHtml_SafeHtml.create = function(tagName, attributes, content) {
|
|
7181
7179
|
module$contents$goog$html$SafeHtml_SafeHtml.verifyTagName(String(tagName));
|
|
7182
7180
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(tagName), attributes, content);
|
|
@@ -17542,8 +17540,8 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
17542
17540
|
throw Error(message);
|
|
17543
17541
|
}
|
|
17544
17542
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
17545
|
-
var $jscomp$templatelit$
|
|
17546
|
-
["\\0"]), $jscomp$templatelit$
|
|
17543
|
+
var $jscomp$templatelit$1274514361$0 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$1 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$2 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$3 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$4 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
17544
|
+
["\\0"]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$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"};
|
|
17547
17545
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
17548
17546
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
17549
17547
|
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 ##############################");
|
|
@@ -17557,14 +17555,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
17557
17555
|
return -1 === fn.toString().indexOf("`");
|
|
17558
17556
|
}
|
|
17559
17557
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17560
|
-
return tag($jscomp$templatelit$
|
|
17558
|
+
return tag($jscomp$templatelit$1274514361$0);
|
|
17561
17559
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17562
|
-
return tag($jscomp$templatelit$
|
|
17560
|
+
return tag($jscomp$templatelit$1274514361$1);
|
|
17563
17561
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17564
|
-
return tag($jscomp$templatelit$
|
|
17562
|
+
return tag($jscomp$templatelit$1274514361$2);
|
|
17565
17563
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17566
|
-
return tag($jscomp$templatelit$
|
|
17567
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
17564
|
+
return tag($jscomp$templatelit$1274514361$3);
|
|
17565
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$4) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$5) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$6) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$7);
|
|
17568
17566
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
17569
17567
|
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)) ?
|
|
17570
17568
|
!0 : !1;
|
|
@@ -17590,7 +17588,43 @@ function module$contents$safevalues$builders$document_fragment_builders_safeFrag
|
|
|
17590
17588
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
17591
17589
|
return document.createRange().createContextualFragment(module$contents$safevalues$internals$html_impl_unwrapHtml(module$contents$safevalues$internals$html_impl_createHtmlInternal(templateObj[0])));
|
|
17592
17590
|
}
|
|
17593
|
-
;var module$contents$safevalues$
|
|
17591
|
+
;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;
|
|
17592
|
+
module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = function(templateObj) {
|
|
17593
|
+
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
17594
|
+
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, rest.length);
|
|
17595
|
+
for (var stringifiedRule = templateObj[0], i = 0; i < templateObj.length - 1; i++) {
|
|
17596
|
+
stringifiedRule += String(rest[i]), stringifiedRule += templateObj[i + 1];
|
|
17597
|
+
}
|
|
17598
|
+
var doc = document.implementation.createHTMLDocument(""), styleEl = doc.createElement("style");
|
|
17599
|
+
doc.head.appendChild(styleEl);
|
|
17600
|
+
var styleSheet = styleEl.sheet;
|
|
17601
|
+
styleSheet.insertRule(stringifiedRule, 0);
|
|
17602
|
+
if (1 !== styleSheet.cssRules.length) {
|
|
17603
|
+
if (goog.DEBUG) {
|
|
17604
|
+
throw Error("safeStyleRule can be used to construct only 1 CSSStyleRule at a time. Use the concatStyle function to create sheet with several rules. Tried to parse: " + stringifiedRule + ("which has " + styleSheet.cssRules.length + " rules: " + styleSheet.cssRules[0].cssText + " #$% " + styleSheet.cssRules[1].cssText + "."));
|
|
17605
|
+
}
|
|
17606
|
+
} else {
|
|
17607
|
+
var styleSheetRule = styleSheet.cssRules[0];
|
|
17608
|
+
if (styleSheetRule instanceof CSSStyleRule) {
|
|
17609
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetRule.cssText.replace(/</g, "\\3C "));
|
|
17610
|
+
}
|
|
17611
|
+
if (goog.DEBUG) {
|
|
17612
|
+
throw Error("safeStyleRule can be used to construct a CSSStyleRule. @-rules should be constructed with the safeStyleSheet builder. Tried to parse: " + stringifiedRule);
|
|
17613
|
+
}
|
|
17614
|
+
}
|
|
17615
|
+
};
|
|
17616
|
+
module$exports$safevalues$builders$style_sheet_builders.safeStyleSheet = function(templateObj) {
|
|
17617
|
+
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
17618
|
+
var styleSheet = templateObj[0];
|
|
17619
|
+
if (goog.DEBUG && /</.test(styleSheet)) {
|
|
17620
|
+
throw Error("'<' character is forbidden in styleSheet string: " + styleSheet);
|
|
17621
|
+
}
|
|
17622
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
17623
|
+
};
|
|
17624
|
+
module$exports$safevalues$builders$style_sheet_builders.concatStyleSheets = function(sheets) {
|
|
17625
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(sheets.map(module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet).join(""));
|
|
17626
|
+
};
|
|
17627
|
+
var module$contents$safevalues$internals$pure_module = module$contents$safevalues$internals$pure_module || {id:"third_party/javascript/safevalues/internals/pure.closure.js"};
|
|
17594
17628
|
function module$contents$safevalues$internals$pure_pure(valueOf) {
|
|
17595
17629
|
return {valueOf:valueOf}.valueOf();
|
|
17596
17630
|
}
|
|
@@ -17653,7 +17687,9 @@ function module$contents$safevalues$builders$url_builders_trySanitizeUrl(url, al
|
|
|
17653
17687
|
module$exports$safevalues$builders$url_builders.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
17654
17688
|
function module$contents$safevalues$builders$url_builders_sanitizeUrl(url, allowedSchemes) {
|
|
17655
17689
|
allowedSchemes = void 0 === allowedSchemes ? module$contents$safevalues$builders$url_builders_DEFAULT_SCHEMES : allowedSchemes;
|
|
17656
|
-
|
|
17690
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl(url, allowedSchemes);
|
|
17691
|
+
void 0 === sanitizedUrl && module$contents$safevalues$builders$url_builders_triggerCallbacks(url.toString());
|
|
17692
|
+
return sanitizedUrl || goog.html.SafeUrl.INNOCUOUS_URL;
|
|
17657
17693
|
}
|
|
17658
17694
|
module$exports$safevalues$builders$url_builders.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
17659
17695
|
function module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource(source) {
|
|
@@ -17794,7 +17830,11 @@ module$exports$safevalues$builders$html_builders.scriptUrlToHtml = function(src,
|
|
|
17794
17830
|
options = void 0 === options ? {} : options;
|
|
17795
17831
|
var unwrappedSrc = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(src).toString(), stringTag = '<script src="' + module$contents$safevalues$builders$html_builders_htmlEscapeToString(unwrappedSrc) + '"';
|
|
17796
17832
|
options.async && (stringTag += " async");
|
|
17833
|
+
options.customElement && (stringTag += ' custom-element="' + module$contents$safevalues$builders$html_builders_htmlEscapeToString(options.customElement) + '"');
|
|
17834
|
+
options.defer && (stringTag += " defer");
|
|
17835
|
+
options.id && (stringTag += ' id="' + module$contents$safevalues$builders$html_builders_htmlEscapeToString(options.id) + '"');
|
|
17797
17836
|
options.nonce && (stringTag += ' nonce="' + module$contents$safevalues$builders$html_builders_htmlEscapeToString(options.nonce) + '"');
|
|
17837
|
+
options.type && (stringTag += ' type="' + module$contents$safevalues$builders$html_builders_htmlEscapeToString(options.type) + '"');
|
|
17798
17838
|
return module$contents$safevalues$internals$html_impl_createHtmlInternal(stringTag + ">\x3c/script>");
|
|
17799
17839
|
};
|
|
17800
17840
|
function module$contents$safevalues$builders$html_builders_htmlEscapeToString(text) {
|
|
@@ -17848,6 +17888,23 @@ module$exports$safevalues$builders$html_builders.createHtml = function(tagName,
|
|
|
17848
17888
|
}
|
|
17849
17889
|
return module$contents$safevalues$internals$html_impl_createHtmlInternal(result);
|
|
17850
17890
|
};
|
|
17891
|
+
module$exports$safevalues$builders$html_builders.styleSheetToHtml = function(styleSheet, attributes) {
|
|
17892
|
+
var combinedAttributes = {};
|
|
17893
|
+
if (attributes) {
|
|
17894
|
+
for (var customAttrNames = Object.keys(attributes), i = 0; i < customAttrNames.length; i++) {
|
|
17895
|
+
var name = customAttrNames[i];
|
|
17896
|
+
if ("type" === name.toLowerCase()) {
|
|
17897
|
+
throw Error(goog.DEBUG ? "Cannot override the 'type' attribute with value " + attributes[name] + "." : "");
|
|
17898
|
+
}
|
|
17899
|
+
combinedAttributes[name] = attributes[name];
|
|
17900
|
+
}
|
|
17901
|
+
}
|
|
17902
|
+
combinedAttributes.type = "text/css";
|
|
17903
|
+
var stringifiedAttributes = module$contents$safevalues$builders$html_builders_stringifyAttributes("style", combinedAttributes);
|
|
17904
|
+
Array.isArray(styleSheet) && (styleSheet = (0,module$exports$safevalues$builders$style_sheet_builders.concatStyleSheets)(styleSheet));
|
|
17905
|
+
var styleContent = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(styleSheet);
|
|
17906
|
+
return module$contents$safevalues$internals$html_impl_createHtmlInternal("<style " + stringifiedAttributes + ">" + styleContent + "</style>");
|
|
17907
|
+
};
|
|
17851
17908
|
function module$contents$safevalues$builders$html_builders_stringifyAttributes(tagName, attributes) {
|
|
17852
17909
|
for (var result = "", attrNames = Object.keys(attributes), i = 0; i < attrNames.length; i++) {
|
|
17853
17910
|
var name = attrNames[i], value = attributes[name];
|
|
@@ -18154,7 +18211,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
18154
18211
|
return !0;
|
|
18155
18212
|
}
|
|
18156
18213
|
for (var $jscomp$iter$34 = $jscomp.makeIterator(conditions), $jscomp$key$ = $jscomp$iter$34.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$34.next()) {
|
|
18157
|
-
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$
|
|
18214
|
+
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$tmpm1803429925$0 = void 0, value = null == ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
18158
18215
|
if (value && !expectedValues.has(value)) {
|
|
18159
18216
|
return !1;
|
|
18160
18217
|
}
|
|
@@ -18397,8 +18454,16 @@ function module$contents$safevalues$builders$resource_url_builders_toAbsoluteRes
|
|
|
18397
18454
|
module$exports$safevalues$builders$resource_url_builders.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
18398
18455
|
var module$exports$safevalues$builders$script_builders = {}, module$contents$safevalues$builders$script_builders_module = module$contents$safevalues$builders$script_builders_module || {id:"third_party/javascript/safevalues/builders/script_builders.closure.js"}, module$contents$safevalues$builders$script_builders_Primitive, module$contents$safevalues$builders$script_builders_Serializable;
|
|
18399
18456
|
function module$contents$safevalues$builders$script_builders_safeScript(templateObj) {
|
|
18400
|
-
|
|
18401
|
-
|
|
18457
|
+
var emptyArgs = $jscomp.getRestArguments.apply(1, arguments);
|
|
18458
|
+
if (goog.DEBUG) {
|
|
18459
|
+
if (emptyArgs.some(function(a) {
|
|
18460
|
+
return "" !== a;
|
|
18461
|
+
})) {
|
|
18462
|
+
throw Error("safeScript only allows empty string expressions to enable inline comments.");
|
|
18463
|
+
}
|
|
18464
|
+
module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, emptyArgs.length);
|
|
18465
|
+
}
|
|
18466
|
+
return module$contents$safevalues$internals$script_impl_createScriptInternal(templateObj.join(""));
|
|
18402
18467
|
}
|
|
18403
18468
|
module$exports$safevalues$builders$script_builders.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
18404
18469
|
function module$contents$safevalues$builders$script_builders_concatScripts(scripts) {
|
|
@@ -18455,42 +18520,6 @@ function module$contents$safevalues$builders$style_builders_concatStyles(styles)
|
|
|
18455
18520
|
return module$contents$safevalues$internals$style_impl_createStyleInternal(styles.map(module$contents$safevalues$internals$style_impl_unwrapStyle).join(""));
|
|
18456
18521
|
}
|
|
18457
18522
|
module$exports$safevalues$builders$style_builders.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
18458
|
-
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;
|
|
18459
|
-
module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = function(templateObj) {
|
|
18460
|
-
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
18461
|
-
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, rest.length);
|
|
18462
|
-
for (var stringifiedRule = templateObj[0], i = 0; i < templateObj.length - 1; i++) {
|
|
18463
|
-
stringifiedRule += String(rest[i]), stringifiedRule += templateObj[i + 1];
|
|
18464
|
-
}
|
|
18465
|
-
var doc = document.implementation.createHTMLDocument(""), styleEl = doc.createElement("style");
|
|
18466
|
-
doc.head.appendChild(styleEl);
|
|
18467
|
-
var styleSheet = styleEl.sheet;
|
|
18468
|
-
styleSheet.insertRule(stringifiedRule, 0);
|
|
18469
|
-
if (1 !== styleSheet.cssRules.length) {
|
|
18470
|
-
if (goog.DEBUG) {
|
|
18471
|
-
throw Error("safeStyleRule can be used to construct only 1 CSSStyleRule at a time. Use the concatStyle function to create sheet with several rules. Tried to parse: " + stringifiedRule + ("which has " + styleSheet.cssRules.length + " rules: " + styleSheet.cssRules[0].cssText + " #$% " + styleSheet.cssRules[1].cssText + "."));
|
|
18472
|
-
}
|
|
18473
|
-
} else {
|
|
18474
|
-
var styleSheetRule = styleSheet.cssRules[0];
|
|
18475
|
-
if (styleSheetRule instanceof CSSStyleRule) {
|
|
18476
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetRule.cssText.replace(/</g, "\\3C "));
|
|
18477
|
-
}
|
|
18478
|
-
if (goog.DEBUG) {
|
|
18479
|
-
throw Error("safeStyleRule can be used to construct a CSSStyleRule. @-rules should be constructed with the safeStyleSheet builder. Tried to parse: " + stringifiedRule);
|
|
18480
|
-
}
|
|
18481
|
-
}
|
|
18482
|
-
};
|
|
18483
|
-
module$exports$safevalues$builders$style_sheet_builders.safeStyleSheet = function(templateObj) {
|
|
18484
|
-
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
18485
|
-
var styleSheet = templateObj[0];
|
|
18486
|
-
if (goog.DEBUG && /</.test(styleSheet)) {
|
|
18487
|
-
throw Error("'<' character is forbidden in styleSheet string: " + styleSheet);
|
|
18488
|
-
}
|
|
18489
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
18490
|
-
};
|
|
18491
|
-
module$exports$safevalues$builders$style_sheet_builders.concatStyleSheets = function(sheets) {
|
|
18492
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(sheets.map(module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet).join(""));
|
|
18493
|
-
};
|
|
18494
18523
|
var module$exports$safevalues$reporting$reporting = {}, module$contents$safevalues$reporting$reporting_module = module$contents$safevalues$reporting$reporting_module || {id:"third_party/javascript/safevalues/reporting/reporting.closure.js"}, module$contents$safevalues$reporting$reporting_REPORTING_ID_PREFIX_TO_SAMPLING_RATE = {0:1, 1:1}, module$contents$safevalues$reporting$reporting_REPORTING_ID_PREFIX_TO_HEARTBEAT_RATE =
|
|
18495
18524
|
{0:.1, 1:.1};
|
|
18496
18525
|
module$exports$safevalues$reporting$reporting.ReportingOptions = function() {
|
|
@@ -18531,12 +18560,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
18531
18560
|
}
|
|
18532
18561
|
try {
|
|
18533
18562
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
18534
|
-
} catch ($jscomp$unused$catch$
|
|
18563
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
18535
18564
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
18536
18565
|
}
|
|
18537
18566
|
try {
|
|
18538
18567
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
18539
|
-
} catch ($jscomp$unused$catch$
|
|
18568
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
18540
18569
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
18541
18570
|
}
|
|
18542
18571
|
return !1;
|
|
@@ -18621,6 +18650,7 @@ module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals
|
|
|
18621
18650
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
18622
18651
|
module$exports$safevalues$index.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
18623
18652
|
module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$html_builders.createHtml;
|
|
18653
|
+
module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
|
|
18624
18654
|
module$exports$safevalues$index.safeStyleRule = module$exports$safevalues$builders$style_sheet_builders.safeStyleRule;
|
|
18625
18655
|
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
18626
18656
|
safevalues.safeFragment = module$contents$safevalues$builders$document_fragment_builders_safeFragment;
|
|
@@ -18686,12 +18716,13 @@ safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
|
18686
18716
|
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
18687
18717
|
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
18688
18718
|
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
18719
|
+
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
18689
18720
|
safevalues.safeStyleRule = module$exports$safevalues$index.safeStyleRule;
|
|
18690
18721
|
var $jscomp$templatelit$294235699$0 = $jscomp.createTemplateTagFirstArg(["https://apis.google.com/js/client.js?onload=", ""]);
|
|
18691
18722
|
ee.apiclient = {};
|
|
18692
18723
|
var module$contents$ee$apiclient_apiclient = {};
|
|
18693
18724
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
18694
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18725
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.383";
|
|
18695
18726
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
18696
18727
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
18697
18728
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -18982,8 +19013,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
18982
19013
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
18983
19014
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
18984
19015
|
method = method || "POST";
|
|
18985
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
18986
|
-
"0.1.
|
|
19016
|
+
var headers = {"Content-Type":contentType}, version = "0.1.383";
|
|
19017
|
+
"0.1.383" === version && (version = "latest");
|
|
18987
19018
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
18988
19019
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
18989
19020
|
if (null != authToken) {
|
|
@@ -26540,28 +26571,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26540
26571
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26541
26572
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26542
26573
|
(function() {
|
|
26543
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26544
|
-
orderedParamLists = [["name"
|
|
26545
|
-
"collection opt_description
|
|
26546
|
-
"
|
|
26547
|
-
"
|
|
26548
|
-
|
|
26549
|
-
["
|
|
26550
|
-
|
|
26551
|
-
"
|
|
26552
|
-
"
|
|
26553
|
-
"
|
|
26554
|
-
|
|
26555
|
-
|
|
26556
|
-
[ee.ApiFunction.
|
|
26557
|
-
module$contents$ee$batch_Export.
|
|
26558
|
-
ee.ComputedObject.prototype.
|
|
26559
|
-
ee.data.
|
|
26560
|
-
ee.data.
|
|
26561
|
-
ee.
|
|
26562
|
-
ee.Filter, ee.Filter.
|
|
26563
|
-
ee.Image.prototype.
|
|
26564
|
-
ee.ImageCollection.prototype.
|
|
26574
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.image.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.map.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.video.toDrive ee.batch.Export.image.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toDrive ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.limit ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.computeValue ee.data.cancelTask ee.data.updateAsset ee.data.getThumbId ee.data.startIngestion ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.getFilmstripThumbId ee.data.updateTask ee.data.setAssetAcl ee.data.startProcessing ee.data.createFolder ee.data.getList ee.data.listAssets ee.data.renameAsset ee.data.setAssetProperties ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.getTaskList ee.data.getMapId ee.data.copyAsset ee.data.getAssetRootQuota ee.data.startTableIngestion ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.deleteAsset ee.data.getTaskListWithLimit ee.data.listImages ee.data.cancelOperation ee.data.authenticate ee.data.listOperations ee.data.getWorkloadTag ee.data.getTileUrl ee.data.getAssetAcl ee.data.listBuckets ee.data.getTableDownloadId ee.data.getAsset ee.data.makeTableDownloadUrl ee.data.setWorkloadTag ee.data.getFeatureViewTilesKey ee.data.authenticateViaPopup ee.data.getAssetRoots ee.data.getInfo ee.data.getOperation ee.data.createAssetHome ee.data.setDefaultWorkloadTag ee.data.listFeatures ee.data.newTaskId ee.data.createAsset ee.data.authenticateViaPrivateKey ee.data.resetWorkloadTag ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.TILE_SIZE ee.initialize ee.reset ee.call ee.apply ee.Algorithms ee.InitState ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.Filter.eq ee.Filter.metadata ee.Filter ee.Filter.bounds ee.Filter.and ee.Filter.inList ee.Filter.gt ee.Filter.or ee.Filter.lt ee.Filter.neq ee.Filter.lte ee.Filter.date ee.Filter.prototype.not ee.Filter.gte ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.BBox ee.Geometry ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.MultiPolygon ee.Geometry.prototype.toGeoJSONString ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Image ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.getMap ee.Image.cat ee.Image.prototype.getThumbURL ee.Image.rgb ee.Image.prototype.select ee.Image.prototype.clip ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.linkCollection ee.ImageCollection ee.List ee.Number ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
|
|
26575
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "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(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), "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(" "),
|
|
26576
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "), "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(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices".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(" "),
|
|
26577
|
+
"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_assetId", "opt_maxVertices"], "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_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "),
|
|
26578
|
+
["classifier", "opt_description", "opt_assetId"], "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), ["algorithm", "opt_first"], ["name", "operator", "value"], ["geometry"], ["property", "opt_ascending"], ["filter"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["max", "opt_property", "opt_ascending"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["obj", "opt_callback"], ["taskId", "opt_callback"], ["assetId",
|
|
26579
|
+
"asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["taskId", "action", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["taskId", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["assetId", "properties", "opt_callback"],
|
|
26580
|
+
["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["rootId", "opt_callback"], ["taskId", "request", "opt_callback"], ["params", "opt_callback"], ["id"], ["assetId", "opt_callback"], ["opt_limit", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["operationName", "opt_callback"], ["clientId", "success", "opt_error",
|
|
26581
|
+
"opt_extraScopes", "opt_onImmediateFailed"], ["opt_limit", "opt_callback"], [], ["id", "x", "y", "z"], ["assetId", "opt_callback"], ["project", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["id"], ["tag"], ["params", "opt_callback"], ["opt_success", "opt_error"], ["opt_callback"], ["id", "opt_callback"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["tag"], ["asset", "params", "opt_callback"], ["opt_count", "opt_callback"], ["value", "opt_path", "opt_force",
|
|
26582
|
+
"opt_properties", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["opt_resetDefault"], ["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", "namedArgs"], [], [], ["var_args"], [], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams",
|
|
26583
|
+
"opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["name", "value"], ["name", "operator", "value"], ["opt_filter"], ["geometry", "opt_errorMargin"], ["var_args"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["var_args"], ["name", "value"], ["name",
|
|
26584
|
+
"value"], ["name", "value"], ["start", "opt_end"], [], ["name", "value"], ["var_args"], ["namedArgs"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["west", "south", "east", "north"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"],
|
|
26585
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["opt_args"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["expression", "opt_map"], ["var_args"], ["opt_visParams", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["r", "g", "b"], ["var_args"], ["geometry"], ["opt_visParams", "opt_callback"], [], ["params", "opt_callback"], ["opt_callback"], ["selectors",
|
|
26586
|
+
"opt_names"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["args"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26587
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toAsset,
|
|
26588
|
+
module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toDrive, ee.Collection.prototype.iterate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.sort, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.limit, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate,
|
|
26589
|
+
ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.computeValue, ee.data.cancelTask, ee.data.updateAsset, ee.data.getThumbId, ee.data.startIngestion, ee.data.getVideoThumbId, ee.data.getTaskStatus, ee.data.getFilmstripThumbId, ee.data.updateTask, ee.data.setAssetAcl, ee.data.startProcessing, ee.data.createFolder, ee.data.getList, ee.data.listAssets, ee.data.renameAsset, ee.data.setAssetProperties, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.getTaskList,
|
|
26590
|
+
ee.data.getMapId, ee.data.copyAsset, ee.data.getAssetRootQuota, ee.data.startTableIngestion, ee.data.getDownloadId, ee.data.makeDownloadUrl, ee.data.deleteAsset, ee.data.getTaskListWithLimit, ee.data.listImages, ee.data.cancelOperation, ee.data.authenticate, ee.data.listOperations, ee.data.getWorkloadTag, ee.data.getTileUrl, ee.data.getAssetAcl, ee.data.listBuckets, ee.data.getTableDownloadId, ee.data.getAsset, ee.data.makeTableDownloadUrl, ee.data.setWorkloadTag, ee.data.getFeatureViewTilesKey,
|
|
26591
|
+
ee.data.authenticateViaPopup, ee.data.getAssetRoots, ee.data.getInfo, ee.data.getOperation, ee.data.createAssetHome, ee.data.setDefaultWorkloadTag, ee.data.listFeatures, ee.data.newTaskId, ee.data.createAsset, ee.data.authenticateViaPrivateKey, ee.data.resetWorkloadTag, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.TILE_SIZE, ee.initialize, ee.reset, ee.call, ee.apply, ee.Algorithms, ee.InitState, ee.Element.prototype.set,
|
|
26592
|
+
ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.Filter.eq, ee.Filter.metadata, ee.Filter, ee.Filter.bounds, ee.Filter.and, ee.Filter.inList, ee.Filter.gt, ee.Filter.or, ee.Filter.lt, ee.Filter.neq,
|
|
26593
|
+
ee.Filter.lte, ee.Filter.date, ee.Filter.prototype.not, ee.Filter.gte, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.Point, ee.Geometry.prototype.serialize, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.BBox, ee.Geometry, ee.Geometry.LinearRing, ee.Geometry.MultiPoint, ee.Geometry.MultiPolygon, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.Polygon, ee.Image, ee.Image.prototype.getDownloadURL,
|
|
26594
|
+
ee.Image.prototype.getThumbId, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.expression, ee.Image.prototype.rename, ee.Image.prototype.getMap, ee.Image.cat, ee.Image.prototype.getThumbURL, ee.Image.rgb, ee.Image.prototype.select, ee.Image.prototype.clip, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getFilmstripThumbURL,
|
|
26595
|
+
ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection, ee.List, ee.Number, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26565
26596
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26566
26597
|
});
|
|
26567
26598
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/package.json
CHANGED
package/src/apiclient.js
CHANGED
|
@@ -25,7 +25,7 @@ const {trustedResourceUrl} = goog.require('safevalues');
|
|
|
25
25
|
/** @namespace */
|
|
26
26
|
const apiclient = {};
|
|
27
27
|
|
|
28
|
-
const API_CLIENT_VERSION = '0.1.
|
|
28
|
+
const API_CLIENT_VERSION = '0.1.383';
|
|
29
29
|
|
|
30
30
|
exports.VERSION = apiVersion.VERSION;
|
|
31
31
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|
package/src/batch.js
CHANGED
|
@@ -33,6 +33,9 @@ Export.table = {};
|
|
|
33
33
|
/** @const */
|
|
34
34
|
Export.video = {};
|
|
35
35
|
|
|
36
|
+
/** @const */
|
|
37
|
+
Export.classifier = {};
|
|
38
|
+
|
|
36
39
|
/**
|
|
37
40
|
* ExportTask
|
|
38
41
|
*/
|
|
@@ -393,6 +396,22 @@ Export.video.toDrive = function(
|
|
|
393
396
|
return ExportTask.create(serverConfig);
|
|
394
397
|
};
|
|
395
398
|
|
|
399
|
+
/**
|
|
400
|
+
* @param {!ComputedObject} classifier
|
|
401
|
+
* @param {string=} opt_description
|
|
402
|
+
* @param {string=} opt_assetId
|
|
403
|
+
* @return {!ExportTask}
|
|
404
|
+
* @export
|
|
405
|
+
*/
|
|
406
|
+
Export.classifier.toAsset = function(classifier, opt_description, opt_assetId) {
|
|
407
|
+
const clientConfig =
|
|
408
|
+
eeArguments.extractFromFunction(Export.classifier.toAsset, arguments);
|
|
409
|
+
const serverConfig = Export.convertToServerParams(
|
|
410
|
+
clientConfig, ExportDestination.ASSET, ExportType.CLASSIFIER);
|
|
411
|
+
return ExportTask.create(serverConfig);
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
|
|
396
415
|
////////////////////////////////////////////////////////////////////////////////
|
|
397
416
|
// Internal validation. //
|
|
398
417
|
////////////////////////////////////////////////////////////////////////////////
|