@google/earthengine 0.1.397 → 0.1.398
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 +111 -111
- package/build/ee_api_js.js +16 -16
- package/build/ee_api_js_debug.js +88 -88
- package/build/ee_api_js_npm.js +111 -111
- package/build/main.js +111 -111
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/main.js
CHANGED
|
@@ -6060,9 +6060,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6060
6060
|
};
|
|
6061
6061
|
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;
|
|
6062
6062
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6063
|
-
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$
|
|
6064
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
6065
|
-
var key = $jscomp$key$
|
|
6063
|
+
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$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
6064
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
6065
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
6066
6066
|
if (null != value) {
|
|
6067
6067
|
var copy = void 0;
|
|
6068
6068
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -6073,11 +6073,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6073
6073
|
} else if (objects.hasOwnProperty(key)) {
|
|
6074
6074
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6075
6075
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6076
|
-
$jscomp$loop$
|
|
6076
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
6077
6077
|
return function(v) {
|
|
6078
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
6078
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6079
6079
|
};
|
|
6080
|
-
}($jscomp$loop$
|
|
6080
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6081
6081
|
} else if (Array.isArray(value)) {
|
|
6082
6082
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6083
6083
|
continue;
|
|
@@ -6092,8 +6092,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6092
6092
|
return target;
|
|
6093
6093
|
}
|
|
6094
6094
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
6095
|
-
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$
|
|
6096
|
-
var mapKey = $jscomp$key$
|
|
6095
|
+
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m192531680$41$mapKey.done; $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next()) {
|
|
6096
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
6097
6097
|
null != mapValue && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
6098
6098
|
}
|
|
6099
6099
|
return objMap;
|
|
@@ -6123,39 +6123,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6123
6123
|
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))) {
|
|
6124
6124
|
return !1;
|
|
6125
6125
|
}
|
|
6126
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$
|
|
6127
|
-
var key = $jscomp$key$
|
|
6126
|
+
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$m192531680$42$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$45 = {}; !$jscomp$key$m192531680$42$key.done; $jscomp$loop$m192531680$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m192531680$42$key = $jscomp$iter$21.next()) {
|
|
6127
|
+
var key = $jscomp$key$m192531680$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
6128
6128
|
if (has1 !== has2) {
|
|
6129
6129
|
return !1;
|
|
6130
6130
|
}
|
|
6131
6131
|
if (has1) {
|
|
6132
6132
|
var value1 = serializable1.Serializable$get(key);
|
|
6133
|
-
$jscomp$loop$
|
|
6133
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6134
6134
|
if (arrays1.hasOwnProperty(key)) {
|
|
6135
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6135
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
6136
6136
|
return !1;
|
|
6137
6137
|
}
|
|
6138
6138
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6139
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6139
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
6140
6140
|
return !1;
|
|
6141
6141
|
}
|
|
6142
6142
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6143
|
-
if ($jscomp$loop$
|
|
6144
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
6143
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6144
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
6145
6145
|
return function(v1, i) {
|
|
6146
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
6146
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
6147
6147
|
};
|
|
6148
|
-
}($jscomp$loop$
|
|
6148
|
+
}($jscomp$loop$m192531680$45))) {
|
|
6149
6149
|
return !1;
|
|
6150
6150
|
}
|
|
6151
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
6151
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
6152
6152
|
return !1;
|
|
6153
6153
|
}
|
|
6154
6154
|
} else if (Array.isArray(value1)) {
|
|
6155
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6155
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
6156
6156
|
return !1;
|
|
6157
6157
|
}
|
|
6158
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6158
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
6159
6159
|
return !1;
|
|
6160
6160
|
}
|
|
6161
6161
|
}
|
|
@@ -6177,8 +6177,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
6177
6177
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
6178
6178
|
return !1;
|
|
6179
6179
|
}
|
|
6180
|
-
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$
|
|
6181
|
-
var mapKey = $jscomp$key$
|
|
6180
|
+
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m192531680$43$mapKey.done; $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next()) {
|
|
6181
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
6182
6182
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
6183
6183
|
return !1;
|
|
6184
6184
|
}
|
|
@@ -6363,8 +6363,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
6363
6363
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
6364
6364
|
}
|
|
6365
6365
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
6366
|
-
var $jscomp$templatelit$
|
|
6367
|
-
["\\0"]), $jscomp$templatelit$
|
|
6366
|
+
var $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
6367
|
+
["\\0"]), $jscomp$templatelit$1274514361$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$12 = $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"};
|
|
6368
6368
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
6369
6369
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
6370
6370
|
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 ##############################");
|
|
@@ -6378,14 +6378,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
6378
6378
|
return -1 === fn.toString().indexOf("`");
|
|
6379
6379
|
}
|
|
6380
6380
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6381
|
-
return tag($jscomp$templatelit$
|
|
6381
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
6382
6382
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6383
|
-
return tag($jscomp$templatelit$
|
|
6383
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
6384
6384
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6385
|
-
return tag($jscomp$templatelit$
|
|
6385
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
6386
6386
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6387
|
-
return tag($jscomp$templatelit$
|
|
6388
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
6387
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
6388
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$12);
|
|
6389
6389
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
6390
6390
|
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)) ?
|
|
6391
6391
|
!0 : !1;
|
|
@@ -7561,7 +7561,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
7561
7561
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
7562
7562
|
};
|
|
7563
7563
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
7564
|
-
var $jscomp$optchain$
|
|
7564
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = null == ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = win.document).querySelector) ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
7565
7565
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
7566
7566
|
}
|
|
7567
7567
|
;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"}, module$contents$safevalues$internals$script_impl_trustedTypes = goog.global.trustedTypes;
|
|
@@ -7964,48 +7964,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
7964
7964
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
7965
7965
|
}
|
|
7966
7966
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
7967
|
-
var response, $jscomp$optchain$
|
|
7968
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7969
|
-
if (1 == $jscomp$generator$context$
|
|
7970
|
-
return $jscomp$generator$context$
|
|
7971
|
-
}
|
|
7972
|
-
response = $jscomp$generator$context$
|
|
7973
|
-
mimeType = null == ($jscomp$optchain$
|
|
7974
|
-
return $jscomp$generator$context$
|
|
7967
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
7968
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$6) {
|
|
7969
|
+
if (1 == $jscomp$generator$context$m991617773$6.nextAddress) {
|
|
7970
|
+
return $jscomp$generator$context$m991617773$6.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
7971
|
+
}
|
|
7972
|
+
response = $jscomp$generator$context$m991617773$6.yieldResult;
|
|
7973
|
+
mimeType = null == ($jscomp$optchain$tmpm991617773$0 = response.headers.get("Content-Type")) ? void 0 : null == ($jscomp$optchain$tmpm991617773$1 = $jscomp$optchain$tmpm991617773$0.split(";", 2)) ? void 0 : null == ($jscomp$optchain$tmpm991617773$2 = $jscomp$optchain$tmpm991617773$1[0]) ? void 0 : $jscomp$optchain$tmpm991617773$2.toLowerCase();
|
|
7974
|
+
return $jscomp$generator$context$m991617773$6.return({html:function() {
|
|
7975
7975
|
var text;
|
|
7976
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7977
|
-
if (1 == $jscomp$generator$context$
|
|
7976
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$3) {
|
|
7977
|
+
if (1 == $jscomp$generator$context$m991617773$3.nextAddress) {
|
|
7978
7978
|
if ("text/html" !== mimeType) {
|
|
7979
7979
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
7980
7980
|
}
|
|
7981
|
-
return $jscomp$generator$context$
|
|
7981
|
+
return $jscomp$generator$context$m991617773$3.yield(response.text(), 2);
|
|
7982
7982
|
}
|
|
7983
|
-
text = $jscomp$generator$context$
|
|
7984
|
-
return $jscomp$generator$context$
|
|
7983
|
+
text = $jscomp$generator$context$m991617773$3.yieldResult;
|
|
7984
|
+
return $jscomp$generator$context$m991617773$3.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
7985
7985
|
});
|
|
7986
7986
|
}, script:function() {
|
|
7987
7987
|
var text;
|
|
7988
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7989
|
-
if (1 == $jscomp$generator$context$
|
|
7988
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$4) {
|
|
7989
|
+
if (1 == $jscomp$generator$context$m991617773$4.nextAddress) {
|
|
7990
7990
|
if ("text/javascript" !== mimeType && "application/javascript" !== mimeType) {
|
|
7991
7991
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
7992
7992
|
}
|
|
7993
|
-
return $jscomp$generator$context$
|
|
7993
|
+
return $jscomp$generator$context$m991617773$4.yield(response.text(), 2);
|
|
7994
7994
|
}
|
|
7995
|
-
text = $jscomp$generator$context$
|
|
7996
|
-
return $jscomp$generator$context$
|
|
7995
|
+
text = $jscomp$generator$context$m991617773$4.yieldResult;
|
|
7996
|
+
return $jscomp$generator$context$m991617773$4.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
7997
7997
|
});
|
|
7998
7998
|
}, styleSheet:function() {
|
|
7999
7999
|
var text;
|
|
8000
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
8001
|
-
if (1 == $jscomp$generator$context$
|
|
8000
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$5) {
|
|
8001
|
+
if (1 == $jscomp$generator$context$m991617773$5.nextAddress) {
|
|
8002
8002
|
if ("text/css" !== mimeType) {
|
|
8003
8003
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
8004
8004
|
}
|
|
8005
|
-
return $jscomp$generator$context$
|
|
8005
|
+
return $jscomp$generator$context$m991617773$5.yield(response.text(), 2);
|
|
8006
8006
|
}
|
|
8007
|
-
text = $jscomp$generator$context$
|
|
8008
|
-
return $jscomp$generator$context$
|
|
8007
|
+
text = $jscomp$generator$context$m991617773$5.yieldResult;
|
|
8008
|
+
return $jscomp$generator$context$m991617773$5.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
8009
8009
|
});
|
|
8010
8010
|
}});
|
|
8011
8011
|
});
|
|
@@ -9297,8 +9297,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
9297
9297
|
}
|
|
9298
9298
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
9299
9299
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
9300
|
-
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$
|
|
9301
|
-
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$
|
|
9300
|
+
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$1047461284$0$ = $jscomp$iter$28.next(); !$jscomp$key$1047461284$0$.done; $jscomp$key$1047461284$0$ = $jscomp$iter$28.next()) {
|
|
9301
|
+
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$1047461284$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var27.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var27.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
9302
9302
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
9303
9303
|
}
|
|
9304
9304
|
return urlQueryParams;
|
|
@@ -9309,8 +9309,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
9309
9309
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
9310
9310
|
if (params.headers) {
|
|
9311
9311
|
hasContentType = null != params.headers["Content-Type"];
|
|
9312
|
-
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$
|
|
9313
|
-
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$
|
|
9312
|
+
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$1047461284$1$ = $jscomp$iter$29.next(); !$jscomp$key$1047461284$1$.done; $jscomp$key$1047461284$1$ = $jscomp$iter$29.next()) {
|
|
9313
|
+
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$1047461284$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var29.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var29.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
9314
9314
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
9315
9315
|
}
|
|
9316
9316
|
}
|
|
@@ -9355,15 +9355,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
9355
9355
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
9356
9356
|
};
|
|
9357
9357
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
9358
|
-
var $jscomp$this$
|
|
9358
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
9359
9359
|
payload += this._metadataPayload;
|
|
9360
9360
|
return Promise.all(this.files.map(function(f) {
|
|
9361
|
-
return $jscomp$this$
|
|
9361
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
9362
9362
|
})).then(function(filePayloads) {
|
|
9363
|
-
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$
|
|
9364
|
-
payload += $jscomp$key$
|
|
9363
|
+
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$m667091202$9$filePayload = $jscomp$iter$30.next(); !$jscomp$key$m667091202$9$filePayload.done; $jscomp$key$m667091202$9$filePayload = $jscomp$iter$30.next()) {
|
|
9364
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
9365
9365
|
}
|
|
9366
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
9366
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
9367
9367
|
});
|
|
9368
9368
|
};
|
|
9369
9369
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -9451,9 +9451,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
9451
9451
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
9452
9452
|
};
|
|
9453
9453
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
9454
|
-
var $jscomp$this$
|
|
9454
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
9455
9455
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
9456
|
-
return $jscomp$this$
|
|
9456
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
9457
9457
|
}));
|
|
9458
9458
|
};
|
|
9459
9459
|
var module$exports$eeapiclient$ee_api_client = {}, module$contents$eeapiclient$ee_api_client_module = module$contents$eeapiclient$ee_api_client_module || {id:"geo/gestalt/client/javascript/v1/ee_api_client.closure.js"};
|
|
@@ -15576,8 +15576,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15576
15576
|
this.replacements = new Map();
|
|
15577
15577
|
};
|
|
15578
15578
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15579
|
-
var $jscomp$this$
|
|
15580
|
-
return $jscomp$this$
|
|
15579
|
+
var $jscomp$this$380122516$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
15580
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15581
15581
|
});
|
|
15582
15582
|
if (0 !== openedTags.length) {
|
|
15583
15583
|
if (goog.DEBUG) {
|
|
@@ -15757,8 +15757,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15757
15757
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15758
15758
|
};
|
|
15759
15759
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15760
|
-
for (var $jscomp$this$
|
|
15761
|
-
return $jscomp$this$
|
|
15760
|
+
for (var $jscomp$this$m1803429925$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
15761
|
+
return $jscomp$this$m1803429925$10.nodeFilter(n);
|
|
15762
15762
|
}, !1), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; null !== currentNode;) {
|
|
15763
15763
|
var sanitizedNode = void 0;
|
|
15764
15764
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15785,8 +15785,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15785
15785
|
return document.createTextNode(textNode.data);
|
|
15786
15786
|
};
|
|
15787
15787
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15788
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$31 = $jscomp.makeIterator(dirtyAttributes), $jscomp$key$
|
|
15789
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15788
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$31 = $jscomp.makeIterator(dirtyAttributes), $jscomp$key$m1803429925$25$ = $jscomp$iter$31.next(); !$jscomp$key$m1803429925$25$.done; $jscomp$key$m1803429925$25$ = $jscomp$iter$31.next()) {
|
|
15789
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1803429925$25$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
15790
15790
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15791
15791
|
switch(policy.policyAction) {
|
|
15792
15792
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15839,8 +15839,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15839
15839
|
if (!conditions) {
|
|
15840
15840
|
return !0;
|
|
15841
15841
|
}
|
|
15842
|
-
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$
|
|
15843
|
-
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$
|
|
15842
|
+
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$m1803429925$26$ = $jscomp$iter$32.next(); !$jscomp$key$m1803429925$26$.done; $jscomp$key$m1803429925$26$ = $jscomp$iter$32.next()) {
|
|
15843
|
+
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$m1803429925$26$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.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;
|
|
15844
15844
|
if (value && !expectedValues.has(value)) {
|
|
15845
15845
|
return !1;
|
|
15846
15846
|
}
|
|
@@ -15894,8 +15894,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15894
15894
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitizerTable;
|
|
15895
15895
|
};
|
|
15896
15896
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15897
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$
|
|
15898
|
-
var element = $jscomp$key$
|
|
15897
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$m1412690177$0$element = $jscomp$iter$33.next(); !$jscomp$key$m1412690177$0$element.done; $jscomp$key$m1412690177$0$element = $jscomp$iter$33.next()) {
|
|
15898
|
+
var element = $jscomp$key$m1412690177$0$element.value;
|
|
15899
15899
|
element = element.toUpperCase();
|
|
15900
15900
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15901
15901
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15913,8 +15913,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15913
15913
|
throw Error("Element: " + element + " is not a custom element");
|
|
15914
15914
|
}
|
|
15915
15915
|
if (allowedAttributes) {
|
|
15916
|
-
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$
|
|
15917
|
-
elementPolicy.set($jscomp$key$
|
|
15916
|
+
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$m1412690177$1$attribute = $jscomp$iter$34.next(); !$jscomp$key$m1412690177$1$attribute.done; $jscomp$key$m1412690177$1$attribute = $jscomp$iter$34.next()) {
|
|
15917
|
+
elementPolicy.set($jscomp$key$m1412690177$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15918
15918
|
}
|
|
15919
15919
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15920
15920
|
} else {
|
|
@@ -15924,15 +15924,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15924
15924
|
return this;
|
|
15925
15925
|
};
|
|
15926
15926
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15927
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$
|
|
15928
|
-
var attribute = $jscomp$key$
|
|
15927
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$m1412690177$2$attribute = $jscomp$iter$35.next(); !$jscomp$key$m1412690177$2$attribute.done; $jscomp$key$m1412690177$2$attribute = $jscomp$iter$35.next()) {
|
|
15928
|
+
var attribute = $jscomp$key$m1412690177$2$attribute.value;
|
|
15929
15929
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15930
15930
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15931
15931
|
}
|
|
15932
|
-
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
15933
|
-
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$
|
|
15932
|
+
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$4$ = $jscomp$iter$37.next(); !$jscomp$key$m1412690177$4$.done; $jscomp$key$m1412690177$4$ = $jscomp$iter$37.next()) {
|
|
15933
|
+
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$m1412690177$4$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var35.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var35.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$36 = $jscomp.makeIterator(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$3$ = $jscomp$iter$36.next(); !$jscomp$key$m1412690177$3$.done; $jscomp$key$m1412690177$3$ =
|
|
15934
15934
|
$jscomp$iter$36.next()) {
|
|
15935
|
-
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$
|
|
15935
|
+
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$m1412690177$3$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var37.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var37.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
15936
15936
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15937
15937
|
}
|
|
15938
15938
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15941,8 +15941,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15941
15941
|
return this;
|
|
15942
15942
|
};
|
|
15943
15943
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15944
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$
|
|
15945
|
-
var attribute = $jscomp$key$
|
|
15944
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$m1412690177$5$attribute = $jscomp$iter$38.next(); !$jscomp$key$m1412690177$5$attribute.done; $jscomp$key$m1412690177$5$attribute = $jscomp$iter$38.next()) {
|
|
15945
|
+
var attribute = $jscomp$key$m1412690177$5$attribute.value;
|
|
15946
15946
|
if (0 !== attribute.indexOf("data-")) {
|
|
15947
15947
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15948
15948
|
}
|
|
@@ -16193,12 +16193,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16193
16193
|
}
|
|
16194
16194
|
try {
|
|
16195
16195
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16196
|
-
} catch ($jscomp$unused$catch$
|
|
16196
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
16197
16197
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16198
16198
|
}
|
|
16199
16199
|
try {
|
|
16200
16200
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16201
|
-
} catch ($jscomp$unused$catch$
|
|
16201
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
16202
16202
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16203
16203
|
}
|
|
16204
16204
|
return !1;
|
|
@@ -19100,7 +19100,7 @@ var $jscomp$templatelit$294235699$96 = $jscomp.createTemplateTagFirstArg(["https
|
|
|
19100
19100
|
ee.apiclient = {};
|
|
19101
19101
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19102
19102
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19103
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19103
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.398";
|
|
19104
19104
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19105
19105
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19106
19106
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19390,8 +19390,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19390
19390
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19391
19391
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19392
19392
|
method = method || "POST";
|
|
19393
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19394
|
-
"0.1.
|
|
19393
|
+
var headers = {"Content-Type":contentType}, version = "0.1.398";
|
|
19394
|
+
"0.1.398" === version && (version = "latest");
|
|
19395
19395
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19396
19396
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19397
19397
|
if (null != authToken) {
|
|
@@ -26957,29 +26957,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26957
26957
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26958
26958
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26959
26959
|
(function() {
|
|
26960
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26961
|
-
orderedParamLists = [["name"
|
|
26962
|
-
|
|
26963
|
-
"image opt_description
|
|
26964
|
-
"
|
|
26965
|
-
|
|
26966
|
-
"
|
|
26967
|
-
|
|
26968
|
-
"
|
|
26969
|
-
["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [
|
|
26970
|
-
["
|
|
26971
|
-
["
|
|
26972
|
-
["
|
|
26973
|
-
"opt_matchPropertyName"], ["
|
|
26974
|
-
[ee.ApiFunction.
|
|
26975
|
-
module$contents$ee$batch_Export.
|
|
26976
|
-
ee.ComputedObject.prototype.
|
|
26977
|
-
ee.data.
|
|
26978
|
-
ee.data.
|
|
26979
|
-
ee.InitState, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.
|
|
26980
|
-
ee.Filter.
|
|
26981
|
-
ee.Image.prototype.
|
|
26982
|
-
ee.ImageCollection.prototype.
|
|
26960
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.table.toAsset ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.iterate ee.Collection.prototype.map ee.Collection.prototype.filterDate ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.setAssetAcl ee.data.makeThumbUrl ee.data.listAssets ee.data.renameAsset ee.data.authenticateViaOauth ee.data.getMapId ee.data.setAssetProperties ee.data.getTaskList ee.data.listBuckets ee.data.copyAsset ee.data.getTableDownloadId ee.data.makeTableDownloadUrl ee.data.authenticate ee.data.deleteAsset ee.data.getTileUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.listOperations ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.getDownloadId ee.data.cancelOperation ee.data.listImages ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.createAssetHome ee.data.getOperation ee.data.setWorkloadTag ee.data.authenticateViaPrivateKey ee.data.newTaskId ee.data.getInfo ee.data.createAsset ee.data.computeValue ee.data.setDefaultWorkloadTag ee.data.getThumbId ee.data.cancelTask ee.data.resetWorkloadTag ee.data.getVideoThumbId ee.data.updateAsset ee.data.getTaskStatus ee.data.getList ee.data.updateTask ee.data.startIngestion ee.data.getFilmstripThumbId ee.data.createFolder ee.data.startProcessing ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset 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.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.or ee.Filter.gte ee.Filter.lte ee.Filter ee.Filter.date ee.Filter.eq ee.Filter.metadata ee.Filter.gt ee.Filter.bounds ee.Filter.prototype.not ee.Filter.and ee.Filter.neq ee.Filter.inList ee.Filter.lt ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry.MultiPolygon ee.Geometry.BBox ee.Geometry.Rectangle ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.serialize ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbURL ee.Image.prototype.select ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.rename ee.Image.cat ee.Image.prototype.clip ee.Image.prototype.getMapId ee.Image ee.Image.prototype.expression ee.Image.prototype.getInfo ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMapId ee.List ee.Number ee.Serializer.encode ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
26961
|
+
orderedParamLists = [["name", "var_args"], ["name"], ["name", "namedArgs"], "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
26962
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["collection", "opt_description",
|
|
26963
|
+
"opt_assetId", "opt_maxVertices", "opt_priority"], "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),
|
|
26964
|
+
"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
26965
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), ["geometry"], ["filter"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["algorithm", "opt_first"], ["algorithm", "opt_dropNulls"], ["start", "opt_end"], ["name", "operator", "value"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["assetId", "aclUpdate", "opt_callback"], ["id"], ["parent", "opt_params", "opt_callback"], ["sourceId",
|
|
26966
|
+
"destinationId", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["opt_callback"], ["project", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["params", "opt_callback"], ["id"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["assetId", "opt_callback"], ["id", "x", "y", "z"], ["opt_limit",
|
|
26967
|
+
"opt_callback"], ["taskId", "request", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], [], ["params", "opt_callback"], ["operationName", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["id"], ["opt_success", "opt_error"], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"], ["id", "opt_callback"], ["requestedId", "opt_callback"], ["operationName", "opt_callback"], ["tag"], ["privateKey", "opt_success",
|
|
26968
|
+
"opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["opt_count", "opt_callback"], ["id", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["obj", "opt_callback"], ["tag"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["opt_resetDefault"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "request", "opt_callback"],
|
|
26969
|
+
["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "params", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], ["func", "namedArgs"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], [], ["var_args"], [], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"],
|
|
26970
|
+
["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["var_args"], ["name", "value"], ["name", "value"], ["opt_filter"], ["start", "opt_end"], ["name", "value"], ["name", "operator", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], [], ["var_args"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"],
|
|
26971
|
+
["name", "value"], ["namedArgs"], ["var_args"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
26972
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["legacy"], ["params", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["r", "g", "b"], ["var_args"], ["var_args"], ["geometry"], ["opt_visParams", "opt_callback"], ["opt_args"], ["expression", "opt_map"], ["opt_callback"], ["args"], ["params", "opt_callback"], [], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["imageCollection",
|
|
26973
|
+
"opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26974
|
+
[ee.ApiFunction._call, ee.ApiFunction.lookup, ee.ApiFunction._apply, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage,
|
|
26975
|
+
module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filter, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.iterate, ee.Collection.prototype.map, ee.Collection.prototype.filterDate, ee.Collection.prototype.filterMetadata, ee.ComputedObject.prototype.aside,
|
|
26976
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.setAssetAcl, ee.data.makeThumbUrl, ee.data.listAssets, ee.data.renameAsset, ee.data.authenticateViaOauth, ee.data.getMapId, ee.data.setAssetProperties, ee.data.getTaskList, ee.data.listBuckets, ee.data.copyAsset, ee.data.getTableDownloadId, ee.data.makeTableDownloadUrl, ee.data.authenticate, ee.data.deleteAsset, ee.data.getTileUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion,
|
|
26977
|
+
ee.data.getAssetRootQuota, ee.data.listOperations, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.getDownloadId, ee.data.cancelOperation, ee.data.listImages, ee.data.makeDownloadUrl, ee.data.authenticateViaPopup, ee.data.getFeatureViewTilesKey, ee.data.listFeatures, ee.data.getAssetRoots, ee.data.getAsset, ee.data.createAssetHome, ee.data.getOperation, ee.data.setWorkloadTag, ee.data.authenticateViaPrivateKey, ee.data.newTaskId, ee.data.getInfo, ee.data.createAsset, ee.data.computeValue,
|
|
26978
|
+
ee.data.setDefaultWorkloadTag, ee.data.getThumbId, ee.data.cancelTask, ee.data.resetWorkloadTag, ee.data.getVideoThumbId, ee.data.updateAsset, ee.data.getTaskStatus, ee.data.getList, ee.data.updateTask, ee.data.startIngestion, ee.data.getFilmstripThumbId, ee.data.createFolder, ee.data.startProcessing, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromJSON, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.apply, ee.TILE_SIZE, ee.initialize, ee.call, ee.reset,
|
|
26979
|
+
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.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.Filter.or, ee.Filter.gte, ee.Filter.lte, ee.Filter, ee.Filter.date, ee.Filter.eq, ee.Filter.metadata,
|
|
26980
|
+
ee.Filter.gt, ee.Filter.bounds, ee.Filter.prototype.not, ee.Filter.and, ee.Filter.neq, ee.Filter.inList, ee.Filter.lt, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry.MultiPolygon, ee.Geometry.BBox, ee.Geometry.Rectangle, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.prototype.serialize,
|
|
26981
|
+
ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbURL, ee.Image.prototype.select, ee.Image.prototype.getMap, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.prototype.rename, ee.Image.cat, ee.Image.prototype.clip, ee.Image.prototype.getMapId, ee.Image, ee.Image.prototype.expression, ee.Image.prototype.getInfo, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo,
|
|
26982
|
+
ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMapId, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26983
26983
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26984
26984
|
});
|
|
26985
26985
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/package.json
CHANGED
package/src/apiclient.js
CHANGED
|
@@ -24,7 +24,7 @@ const {trustedResourceUrl} = goog.require('safevalues');
|
|
|
24
24
|
/** @namespace */
|
|
25
25
|
const apiclient = {};
|
|
26
26
|
|
|
27
|
-
const API_CLIENT_VERSION = '0.1.
|
|
27
|
+
const API_CLIENT_VERSION = '0.1.398';
|
|
28
28
|
|
|
29
29
|
exports.VERSION = apiVersion.VERSION;
|
|
30
30
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|