@google/earthengine 1.7.16 → 1.7.17
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 +178 -151
- package/build/ee_api_js.js +677 -677
- package/build/ee_api_js_debug.js +155 -129
- package/build/ee_api_js_npm.js +178 -151
- package/build/main.js +178 -151
- package/package.json +1 -1
- package/src/apiclient.js +45 -1
- package/src/data.js +5 -0
- package/src/function.js +20 -13
package/build/browser.js
CHANGED
|
@@ -2282,9 +2282,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2282
2282
|
};
|
|
2283
2283
|
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;
|
|
2284
2284
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2285
|
-
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 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$
|
|
2286
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2287
|
-
var key = $jscomp$key$
|
|
2285
|
+
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 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
2286
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2287
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2288
2288
|
if (value != null) {
|
|
2289
2289
|
var copy = void 0;
|
|
2290
2290
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2295,11 +2295,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2295
2295
|
} else if (objects.hasOwnProperty(key)) {
|
|
2296
2296
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2297
2297
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2298
|
-
$jscomp$loop$
|
|
2298
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2299
2299
|
return function(v) {
|
|
2300
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2300
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2301
2301
|
};
|
|
2302
|
-
}($jscomp$loop$
|
|
2302
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2303
2303
|
} else if (Array.isArray(value)) {
|
|
2304
2304
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2305
2305
|
continue;
|
|
@@ -2314,8 +2314,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2314
2314
|
return target;
|
|
2315
2315
|
}
|
|
2316
2316
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2317
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2318
|
-
var mapKey = $jscomp$key$
|
|
2317
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
2318
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2319
2319
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2320
2320
|
}
|
|
2321
2321
|
return objMap;
|
|
@@ -2345,39 +2345,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2345
2345
|
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))) {
|
|
2346
2346
|
return !1;
|
|
2347
2347
|
}
|
|
2348
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2349
|
-
var key = $jscomp$key$
|
|
2348
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
2349
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2350
2350
|
if (has1 !== has2) {
|
|
2351
2351
|
return !1;
|
|
2352
2352
|
}
|
|
2353
2353
|
if (has1) {
|
|
2354
2354
|
var value1 = serializable1.Serializable$get(key);
|
|
2355
|
-
$jscomp$loop$
|
|
2355
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2356
2356
|
if (arrays1.hasOwnProperty(key)) {
|
|
2357
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2357
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2358
2358
|
return !1;
|
|
2359
2359
|
}
|
|
2360
2360
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2361
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2361
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2362
2362
|
return !1;
|
|
2363
2363
|
}
|
|
2364
2364
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2365
|
-
if ($jscomp$loop$
|
|
2366
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2365
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2366
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2367
2367
|
return function(v1, i) {
|
|
2368
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2368
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2369
2369
|
};
|
|
2370
|
-
}($jscomp$loop$
|
|
2370
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2371
2371
|
return !1;
|
|
2372
2372
|
}
|
|
2373
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2373
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2374
2374
|
return !1;
|
|
2375
2375
|
}
|
|
2376
2376
|
} else if (Array.isArray(value1)) {
|
|
2377
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2377
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2378
2378
|
return !1;
|
|
2379
2379
|
}
|
|
2380
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2380
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2381
2381
|
return !1;
|
|
2382
2382
|
}
|
|
2383
2383
|
}
|
|
@@ -2399,8 +2399,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2399
2399
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2400
2400
|
return !1;
|
|
2401
2401
|
}
|
|
2402
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2403
|
-
var mapKey = $jscomp$key$
|
|
2402
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
2403
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2404
2404
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2405
2405
|
return !1;
|
|
2406
2406
|
}
|
|
@@ -2481,15 +2481,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2481
2481
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2482
2482
|
};
|
|
2483
2483
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2484
|
-
var $jscomp$this$
|
|
2484
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2485
2485
|
payload += this._metadataPayload;
|
|
2486
2486
|
return Promise.all(this.files.map(function(f) {
|
|
2487
|
-
return $jscomp$this$
|
|
2487
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2488
2488
|
})).then(function(filePayloads) {
|
|
2489
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2490
|
-
payload += $jscomp$key$
|
|
2489
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
|
|
2490
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2491
2491
|
}
|
|
2492
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2492
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2493
2493
|
});
|
|
2494
2494
|
};
|
|
2495
2495
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -3001,8 +3001,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
3001
3001
|
throw Error(message);
|
|
3002
3002
|
}
|
|
3003
3003
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3004
|
-
var $jscomp$templatelit$
|
|
3005
|
-
["\\0"]), $jscomp$templatelit$
|
|
3004
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
3005
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$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"};
|
|
3006
3006
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
3007
3007
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
3008
3008
|
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 ##############################");
|
|
@@ -3016,14 +3016,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
3016
3016
|
return fn.toString().indexOf("`") === -1;
|
|
3017
3017
|
}
|
|
3018
3018
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3019
|
-
return tag($jscomp$templatelit$
|
|
3019
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
3020
3020
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3021
|
-
return tag($jscomp$templatelit$
|
|
3021
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
3022
3022
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3023
|
-
return tag($jscomp$templatelit$
|
|
3023
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
3024
3024
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3025
|
-
return tag($jscomp$templatelit$
|
|
3026
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3025
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
3026
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
3027
3027
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3028
3028
|
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)) ?
|
|
3029
3029
|
!0 : !1;
|
|
@@ -3349,9 +3349,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3349
3349
|
}
|
|
3350
3350
|
}
|
|
3351
3351
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3352
|
-
var $jscomp$tmp$error$
|
|
3353
|
-
this.message = $jscomp$tmp$error$
|
|
3354
|
-
"stack" in $jscomp$tmp$error$
|
|
3352
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3353
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3354
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3355
3355
|
this.type = type;
|
|
3356
3356
|
this.intent = intent;
|
|
3357
3357
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3447,7 +3447,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3447
3447
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3448
3448
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3449
3449
|
doc = doc === void 0 ? document : doc;
|
|
3450
|
-
var $jscomp$optchain$
|
|
3450
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = doc).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
3451
3451
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3452
3452
|
}
|
|
3453
3453
|
;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"};
|
|
@@ -4880,9 +4880,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4880
4880
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4881
4881
|
var module$exports$safevalues$dom$globals$fetch = {}, module$contents$safevalues$dom$globals$fetch_module = module$contents$safevalues$dom$globals$fetch_module || {id:"third_party/javascript/safevalues/dom/globals/fetch.closure.js"};
|
|
4882
4882
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4883
|
-
var $jscomp$tmp$error$
|
|
4884
|
-
this.message = $jscomp$tmp$error$
|
|
4885
|
-
"stack" in $jscomp$tmp$error$
|
|
4883
|
+
var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4884
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4885
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4886
4886
|
this.url = url;
|
|
4887
4887
|
this.typeName = typeName;
|
|
4888
4888
|
this.contentType = contentType;
|
|
@@ -4894,48 +4894,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4894
4894
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4895
4895
|
}
|
|
4896
4896
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4897
|
-
var response, $jscomp$optchain$
|
|
4898
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4899
|
-
if ($jscomp$generator$context$
|
|
4900
|
-
return $jscomp$generator$context$
|
|
4901
|
-
}
|
|
4902
|
-
response = $jscomp$generator$context$
|
|
4903
|
-
mimeType = ($jscomp$optchain$
|
|
4904
|
-
return $jscomp$generator$context$
|
|
4897
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4898
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4899
|
+
if ($jscomp$generator$context$1153895636$29.getNextAddressJsc() == 1) {
|
|
4900
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4901
|
+
}
|
|
4902
|
+
response = $jscomp$generator$context$1153895636$29.getYieldResultJsc();
|
|
4903
|
+
mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
4904
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4905
4905
|
var text;
|
|
4906
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4907
|
-
if ($jscomp$generator$context$
|
|
4906
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4907
|
+
if ($jscomp$generator$context$1153895636$26.getNextAddressJsc() == 1) {
|
|
4908
4908
|
if (mimeType !== "text/html") {
|
|
4909
4909
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4910
4910
|
}
|
|
4911
|
-
return $jscomp$generator$context$
|
|
4911
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4912
4912
|
}
|
|
4913
|
-
text = $jscomp$generator$context$
|
|
4914
|
-
return $jscomp$generator$context$
|
|
4913
|
+
text = $jscomp$generator$context$1153895636$26.getYieldResultJsc();
|
|
4914
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4915
4915
|
});
|
|
4916
4916
|
}, script:function() {
|
|
4917
4917
|
var text;
|
|
4918
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4919
|
-
if ($jscomp$generator$context$
|
|
4918
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4919
|
+
if ($jscomp$generator$context$1153895636$27.getNextAddressJsc() == 1) {
|
|
4920
4920
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4921
4921
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4922
4922
|
}
|
|
4923
|
-
return $jscomp$generator$context$
|
|
4923
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4924
4924
|
}
|
|
4925
|
-
text = $jscomp$generator$context$
|
|
4926
|
-
return $jscomp$generator$context$
|
|
4925
|
+
text = $jscomp$generator$context$1153895636$27.getYieldResultJsc();
|
|
4926
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4927
4927
|
});
|
|
4928
4928
|
}, styleSheet:function() {
|
|
4929
4929
|
var text;
|
|
4930
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4931
|
-
if ($jscomp$generator$context$
|
|
4930
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4931
|
+
if ($jscomp$generator$context$1153895636$28.getNextAddressJsc() == 1) {
|
|
4932
4932
|
if (mimeType !== "text/css") {
|
|
4933
4933
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4934
4934
|
}
|
|
4935
|
-
return $jscomp$generator$context$
|
|
4935
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4936
4936
|
}
|
|
4937
|
-
text = $jscomp$generator$context$
|
|
4938
|
-
return $jscomp$generator$context$
|
|
4937
|
+
text = $jscomp$generator$context$1153895636$28.getYieldResultJsc();
|
|
4938
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4939
4939
|
});
|
|
4940
4940
|
}});
|
|
4941
4941
|
});
|
|
@@ -6373,8 +6373,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6373
6373
|
}
|
|
6374
6374
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6375
6375
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6376
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6377
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6376
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
|
|
6377
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6378
6378
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6379
6379
|
}
|
|
6380
6380
|
return urlQueryParams;
|
|
@@ -6386,8 +6386,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params,
|
|
|
6386
6386
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6387
6387
|
if (params.headers) {
|
|
6388
6388
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6389
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6390
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6389
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
|
|
6390
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6391
6391
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6392
6392
|
}
|
|
6393
6393
|
}
|
|
@@ -6422,8 +6422,8 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$addHoo
|
|
|
6422
6422
|
}, function(error) {
|
|
6423
6423
|
throw error;
|
|
6424
6424
|
}).finally(function() {
|
|
6425
|
-
var $jscomp$optchain$
|
|
6426
|
-
($jscomp$optchain$
|
|
6425
|
+
var $jscomp$optchain$tmpm296226325$1;
|
|
6426
|
+
($jscomp$optchain$tmpm296226325$1 = hook.onFinalize) == null || $jscomp$optchain$tmpm296226325$1.call(hook);
|
|
6427
6427
|
});
|
|
6428
6428
|
};
|
|
6429
6429
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$request = function(requestParams) {
|
|
@@ -6431,9 +6431,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6431
6431
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6432
6432
|
};
|
|
6433
6433
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6434
|
-
var $jscomp$this$
|
|
6434
|
+
var $jscomp$this$m296226325$6 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6435
6435
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6436
|
-
return $jscomp$this$
|
|
6436
|
+
return $jscomp$this$m296226325$6.requestService.send(params, responseCtor);
|
|
6437
6437
|
}));
|
|
6438
6438
|
};
|
|
6439
6439
|
var module$exports$eeapiclient$promise_request_service = {}, module$contents$eeapiclient$promise_request_service_module = module$contents$eeapiclient$promise_request_service_module || {id:"javascript/typescript/contrib/apiclient/request_service/promise_request_service.closure.js"};
|
|
@@ -16374,8 +16374,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16374
16374
|
this.replacements = new Map();
|
|
16375
16375
|
};
|
|
16376
16376
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16377
|
-
var $jscomp$this$
|
|
16378
|
-
return $jscomp$this$
|
|
16377
|
+
var $jscomp$this$1018007701$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) {
|
|
16378
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
16379
16379
|
});
|
|
16380
16380
|
if (openedTags.length !== 0) {
|
|
16381
16381
|
if (goog.DEBUG) {
|
|
@@ -16593,8 +16593,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16593
16593
|
if (Array.isArray(token)) {
|
|
16594
16594
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16595
16595
|
} else {
|
|
16596
|
-
var $jscomp$optchain$
|
|
16597
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16596
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
16597
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm282935782$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm282935782$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16598
16598
|
tokens.push(token);
|
|
16599
16599
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16600
16600
|
return tokens;
|
|
@@ -16840,9 +16840,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16840
16840
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16841
16841
|
};
|
|
16842
16842
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16843
|
-
var $jscomp$this$
|
|
16843
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16844
16844
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16845
|
-
return $jscomp$this$
|
|
16845
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16846
16846
|
});
|
|
16847
16847
|
};
|
|
16848
16848
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16949,8 +16949,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16949
16949
|
return null;
|
|
16950
16950
|
}
|
|
16951
16951
|
if (token.lowercaseName === "url") {
|
|
16952
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16953
|
-
if ((($jscomp$optchain$
|
|
16952
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16953
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16954
16954
|
return null;
|
|
16955
16955
|
}
|
|
16956
16956
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
@@ -16973,8 +16973,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16973
16973
|
if (!this.allowKeyframes) {
|
|
16974
16974
|
return null;
|
|
16975
16975
|
}
|
|
16976
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16977
|
-
var rule = $jscomp$key$
|
|
16976
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next()) {
|
|
16977
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16978
16978
|
if (rule instanceof CSSKeyframeRule) {
|
|
16979
16979
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16980
16980
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16986,8 +16986,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16986
16986
|
if (!this.propertyAllowlist.has(name)) {
|
|
16987
16987
|
return !1;
|
|
16988
16988
|
}
|
|
16989
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16990
|
-
var discarder = $jscomp$key$
|
|
16989
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next()) {
|
|
16990
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16991
16991
|
if (discarder(name)) {
|
|
16992
16992
|
return !1;
|
|
16993
16993
|
}
|
|
@@ -17002,8 +17002,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
17002
17002
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
17003
17003
|
};
|
|
17004
17004
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
17005
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
17006
|
-
var name = $jscomp$key$
|
|
17005
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next()) {
|
|
17006
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
17007
17007
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
17008
17008
|
}
|
|
17009
17009
|
return sanitizedProperties;
|
|
@@ -17017,8 +17017,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
17017
17017
|
return selector + " { " + sanitizedProperties + " }";
|
|
17018
17018
|
};
|
|
17019
17019
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
17020
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
17021
|
-
var rule = $jscomp$key$
|
|
17020
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next()) {
|
|
17021
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
17022
17022
|
if (rule instanceof CSSStyleRule) {
|
|
17023
17023
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
17024
17024
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -17182,8 +17182,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17182
17182
|
return fragment;
|
|
17183
17183
|
};
|
|
17184
17184
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
17185
|
-
for (var $jscomp$this$
|
|
17186
|
-
return $jscomp$this$
|
|
17185
|
+
for (var $jscomp$this$m1085474118$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
17186
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
17187
17187
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
17188
17188
|
var sanitizedNode = void 0;
|
|
17189
17189
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -17218,8 +17218,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17218
17218
|
return this.createTextNode(textNode.data);
|
|
17219
17219
|
};
|
|
17220
17220
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
17221
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$
|
|
17222
|
-
var $jscomp$destructuring$var30 = $jscomp$key$
|
|
17221
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
|
|
17222
|
+
var $jscomp$destructuring$var30 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var30.name, value = $jscomp$destructuring$var30.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
17223
17223
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
17224
17224
|
switch(policy.policyAction) {
|
|
17225
17225
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -17251,9 +17251,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17251
17251
|
break;
|
|
17252
17252
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17253
17253
|
if (this.resourceUrlPolicy) {
|
|
17254
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
17254
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
|
|
17255
17255
|
$jscomp$iter$35.next()) {
|
|
17256
|
-
var part = $jscomp$key$
|
|
17256
|
+
var part = $jscomp$key$m1085474118$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
17257
17257
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17258
17258
|
}
|
|
17259
17259
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17311,8 +17311,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17311
17311
|
if (!conditions) {
|
|
17312
17312
|
return !0;
|
|
17313
17313
|
}
|
|
17314
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17315
|
-
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17314
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
|
|
17315
|
+
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var32.next().value, expectedValues = $jscomp$destructuring$var32.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
17316
17316
|
if (value && !expectedValues.has(value)) {
|
|
17317
17317
|
return !1;
|
|
17318
17318
|
}
|
|
@@ -17327,8 +17327,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17327
17327
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17328
17328
|
};
|
|
17329
17329
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
17330
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
17331
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17330
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
|
|
17331
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var33.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var33.next().value;
|
|
17332
17332
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17333
17333
|
}
|
|
17334
17334
|
return {parts:parts};
|
|
@@ -17385,8 +17385,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17385
17385
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17386
17386
|
};
|
|
17387
17387
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17388
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17389
|
-
var element = $jscomp$key$
|
|
17388
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$23$element = $jscomp$iter$39.next(); !$jscomp$key$435282654$23$element.done; $jscomp$key$435282654$23$element = $jscomp$iter$39.next()) {
|
|
17389
|
+
var element = $jscomp$key$435282654$23$element.value;
|
|
17390
17390
|
element = element.toUpperCase();
|
|
17391
17391
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17392
17392
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17404,8 +17404,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17404
17404
|
throw Error("Element: " + element + " is not a custom element");
|
|
17405
17405
|
}
|
|
17406
17406
|
if (allowedAttributes) {
|
|
17407
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17408
|
-
elementPolicy.set($jscomp$key$
|
|
17407
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$24$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$24$attribute.done; $jscomp$key$435282654$24$attribute = $jscomp$iter$40.next()) {
|
|
17408
|
+
elementPolicy.set($jscomp$key$435282654$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17409
17409
|
}
|
|
17410
17410
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17411
17411
|
} else {
|
|
@@ -17415,15 +17415,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17415
17415
|
return this;
|
|
17416
17416
|
};
|
|
17417
17417
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17418
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17419
|
-
var attribute = $jscomp$key$
|
|
17418
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$25$attribute = $jscomp$iter$41.next(); !$jscomp$key$435282654$25$attribute.done; $jscomp$key$435282654$25$attribute = $jscomp$iter$41.next()) {
|
|
17419
|
+
var attribute = $jscomp$key$435282654$25$attribute.value;
|
|
17420
17420
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17421
17421
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17422
17422
|
}
|
|
17423
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17424
|
-
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17423
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$27$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$27$.done; $jscomp$key$435282654$27$ = $jscomp$iter$43.next()) {
|
|
17424
|
+
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$435282654$27$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var36.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var36.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$26$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$26$.done; $jscomp$key$435282654$26$ =
|
|
17425
17425
|
$jscomp$iter$42.next()) {
|
|
17426
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17426
|
+
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$435282654$26$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var38.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var38.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17427
17427
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17428
17428
|
}
|
|
17429
17429
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17438,8 +17438,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17438
17438
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies, globallyAllowedAttributePrefixes);
|
|
17439
17439
|
return this;
|
|
17440
17440
|
}
|
|
17441
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17442
|
-
var attribute = $jscomp$key$
|
|
17441
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$28$attribute = $jscomp$iter$44.next(); !$jscomp$key$435282654$28$attribute.done; $jscomp$key$435282654$28$attribute = $jscomp$iter$44.next()) {
|
|
17442
|
+
var attribute = $jscomp$key$435282654$28$attribute.value;
|
|
17443
17443
|
if (attribute.indexOf("data-") !== 0) {
|
|
17444
17444
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17445
17445
|
}
|
|
@@ -17509,7 +17509,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17509
17509
|
return this;
|
|
17510
17510
|
};
|
|
17511
17511
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17512
|
-
var $jscomp$this$
|
|
17512
|
+
var $jscomp$this$435282654$19 = this;
|
|
17513
17513
|
this.extendSanitizerTableForCss();
|
|
17514
17514
|
var propertyDiscarders = [];
|
|
17515
17515
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17519,9 +17519,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17519
17519
|
return /^transition(-|$)/.test(property);
|
|
17520
17520
|
});
|
|
17521
17521
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17522
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17522
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$19.resourceUrlPolicy, $jscomp$this$435282654$19.animationsAllowed, propertyDiscarders);
|
|
17523
17523
|
}, function(cssText) {
|
|
17524
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17524
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$19.resourceUrlPolicy, propertyDiscarders);
|
|
17525
17525
|
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17526
17526
|
};
|
|
17527
17527
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17741,12 +17741,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17741
17741
|
}
|
|
17742
17742
|
try {
|
|
17743
17743
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17744
|
-
} catch ($jscomp$unused$catch$
|
|
17744
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
17745
17745
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17746
17746
|
}
|
|
17747
17747
|
try {
|
|
17748
17748
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17749
|
-
} catch ($jscomp$unused$catch$
|
|
17749
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
17750
17750
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17751
17751
|
}
|
|
17752
17752
|
return !1;
|
|
@@ -19624,11 +19624,11 @@ goog.net.XhrIo.prototype.formatMsg_ = function(msg) {
|
|
|
19624
19624
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
19625
19625
|
goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_ = transformer(goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_);
|
|
19626
19626
|
});
|
|
19627
|
-
var $jscomp$templatelit$m1153655765$
|
|
19627
|
+
var $jscomp$templatelit$m1153655765$102 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
|
|
19628
19628
|
ee.apiclient = {};
|
|
19629
19629
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19630
19630
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19631
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19631
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.17";
|
|
19632
19632
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19633
19633
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19634
19634
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19798,8 +19798,8 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
|
|
|
19798
19798
|
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
|
|
19799
19799
|
};
|
|
19800
19800
|
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
|
|
19801
|
-
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$47 = (0,$jscomp.makeIterator)(responseText.split("--" + boundary)), $jscomp$key$m1153655765$
|
|
19802
|
-
var groups = $jscomp$key$m1153655765$
|
|
19801
|
+
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$47 = (0,$jscomp.makeIterator)(responseText.split("--" + boundary)), $jscomp$key$m1153655765$103$part = $jscomp$iter$47.next(); !$jscomp$key$m1153655765$103$part.done; $jscomp$key$m1153655765$103$part = $jscomp$iter$47.next()) {
|
|
19802
|
+
var groups = $jscomp$key$m1153655765$103$part.value.split("\r\n\r\n");
|
|
19803
19803
|
if (!(groups.length < 3)) {
|
|
19804
19804
|
var id = groups[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1], status = Number(groups[1].match(/^HTTP\S*\s(\d+)\s/)[1]), text = groups.slice(2).join("\r\n\r\n");
|
|
19805
19805
|
handle(id, status, text);
|
|
@@ -19933,8 +19933,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19933
19933
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19934
19934
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19935
19935
|
method = method || "POST";
|
|
19936
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19937
|
-
version === "1.7.
|
|
19936
|
+
var headers = {"Content-Type":contentType}, version = "1.7.17";
|
|
19937
|
+
version === "1.7.17" && (version = "latest");
|
|
19938
19938
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19939
19939
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19940
19940
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -19999,9 +19999,19 @@ module$contents$ee$apiclient_apiclient.withProfiling = function(hook, body, this
|
|
|
19999
19999
|
module$contents$ee$apiclient_apiclient.profileHook_ = saved;
|
|
20000
20000
|
}
|
|
20001
20001
|
};
|
|
20002
|
+
module$contents$ee$apiclient_apiclient.setQuotaStatusHook = function(hook) {
|
|
20003
|
+
module$contents$ee$apiclient_apiclient.quotaStatusHook_ = hook;
|
|
20004
|
+
};
|
|
20002
20005
|
module$contents$ee$apiclient_apiclient.handleResponse_ = function(status, getResponseHeader, responseText, profileHook, callback, url, method, detectPartialError) {
|
|
20003
20006
|
var profileId = profileHook ? getResponseHeader(module$contents$ee$apiclient_apiclient.PROFILE_HEADER) : "";
|
|
20004
20007
|
profileId && profileHook && profileHook(profileId);
|
|
20008
|
+
if (module$contents$ee$apiclient_apiclient.quotaStatusHook_) {
|
|
20009
|
+
try {
|
|
20010
|
+
var quotaStatus = getResponseHeader(module$contents$ee$apiclient_apiclient.QUOTA_STATUS_HEADER);
|
|
20011
|
+
quotaStatus && module$contents$ee$apiclient_apiclient.quotaStatusHook_(quotaStatus);
|
|
20012
|
+
} catch (e) {
|
|
20013
|
+
}
|
|
20014
|
+
}
|
|
20005
20015
|
var parseJson = function(body) {
|
|
20006
20016
|
try {
|
|
20007
20017
|
var response = JSON.parse(body);
|
|
@@ -20045,7 +20055,7 @@ module$contents$ee$apiclient_apiclient.ensureAuthLibLoaded_ = function(callback)
|
|
|
20045
20055
|
callback();
|
|
20046
20056
|
};
|
|
20047
20057
|
(function() {
|
|
20048
|
-
goog.isObject(goog.global.default_gsi) ? done() : goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$m1153655765$
|
|
20058
|
+
goog.isObject(goog.global.default_gsi) ? done() : goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$m1153655765$102)).addCallback(done);
|
|
20049
20059
|
})();
|
|
20050
20060
|
};
|
|
20051
20061
|
module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, error, result) {
|
|
@@ -20063,8 +20073,8 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
20063
20073
|
}
|
|
20064
20074
|
};
|
|
20065
20075
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
20066
|
-
for (var request = new module$contents$goog$Uri_Uri.QueryData(), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$
|
|
20067
|
-
var $jscomp$destructuring$var48 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$
|
|
20076
|
+
for (var request = new module$contents$goog$Uri_Uri.QueryData(), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$104$ = $jscomp$iter$48.next(); !$jscomp$key$m1153655765$104$.done; $jscomp$key$m1153655765$104$ = $jscomp$iter$48.next()) {
|
|
20077
|
+
var $jscomp$destructuring$var48 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$104$.value), name = $jscomp$destructuring$var48.next().value, item = $jscomp$destructuring$var48.next().value;
|
|
20068
20078
|
request.set(name, item);
|
|
20069
20079
|
}
|
|
20070
20080
|
return request;
|
|
@@ -20101,13 +20111,14 @@ module$contents$ee$apiclient_apiclient.setupMockSend = function(calls) {
|
|
|
20101
20111
|
return responseData.status;
|
|
20102
20112
|
};
|
|
20103
20113
|
e.target.getResponseHeader = function(header) {
|
|
20104
|
-
return header === "Content-Type" ? responseData.contentType : null;
|
|
20114
|
+
return header === "Content-Type" ? responseData.contentType : responseData.headers && header in responseData.headers ? responseData.headers[header] : null;
|
|
20105
20115
|
};
|
|
20106
20116
|
setTimeout(goog.bind(callback, e, e), 0);
|
|
20107
20117
|
return new goog.net.XhrIo();
|
|
20108
20118
|
};
|
|
20109
20119
|
var fakeXmlHttp = function() {
|
|
20110
20120
|
this.requestHeaders_ = {};
|
|
20121
|
+
this.responseHeaders_ = null;
|
|
20111
20122
|
};
|
|
20112
20123
|
fakeXmlHttp.prototype.open = function(method, urlIn) {
|
|
20113
20124
|
apiBaseUrl = apiBaseUrl || module$contents$ee$apiclient_apiclient.apiBaseUrl_;
|
|
@@ -20118,13 +20129,14 @@ module$contents$ee$apiclient_apiclient.setupMockSend = function(calls) {
|
|
|
20118
20129
|
this.requestHeaders_[key] = value;
|
|
20119
20130
|
};
|
|
20120
20131
|
fakeXmlHttp.prototype.getResponseHeader = function(header) {
|
|
20121
|
-
return header === "Content-Type" ? this.contentType_ || null : null;
|
|
20132
|
+
return header === "Content-Type" ? this.contentType_ || null : this.responseHeaders_ && header in this.responseHeaders_ ? this.responseHeaders_[header] : null;
|
|
20122
20133
|
};
|
|
20123
20134
|
fakeXmlHttp.prototype.send = function(data) {
|
|
20124
20135
|
var responseData = getResponse(this.url, this.method, data, this.requestHeaders_);
|
|
20125
20136
|
this.responseText = responseData.text;
|
|
20126
20137
|
this.status = typeof responseData.status === "function" ? responseData.status() : responseData.status;
|
|
20127
20138
|
this.contentType_ = responseData.contentType;
|
|
20139
|
+
this.responseHeaders_ = responseData.headers;
|
|
20128
20140
|
};
|
|
20129
20141
|
goog.net.XmlHttp.setGlobalFactory({createInstance:function() {
|
|
20130
20142
|
return new fakeXmlHttp();
|
|
@@ -20172,12 +20184,14 @@ module$contents$ee$apiclient_apiclient.cloudApiKey_ = null;
|
|
|
20172
20184
|
module$contents$ee$apiclient_apiclient.initialized_ = !1;
|
|
20173
20185
|
module$contents$ee$apiclient_apiclient.deadlineMs_ = 0;
|
|
20174
20186
|
module$contents$ee$apiclient_apiclient.profileHook_ = null;
|
|
20187
|
+
module$contents$ee$apiclient_apiclient.quotaStatusHook_ = null;
|
|
20175
20188
|
module$contents$ee$apiclient_apiclient.BASE_RETRY_WAIT_ = 1E3;
|
|
20176
20189
|
module$contents$ee$apiclient_apiclient.MAX_RETRY_WAIT_ = 12E4;
|
|
20177
20190
|
module$contents$ee$apiclient_apiclient.MAX_ASYNC_RETRIES_ = 10;
|
|
20178
20191
|
module$contents$ee$apiclient_apiclient.MAX_SYNC_RETRIES_ = 5;
|
|
20179
20192
|
module$contents$ee$apiclient_apiclient.APP_ID_TOKEN_HEADER_ = "X-Earth-Engine-App-ID-Token";
|
|
20180
20193
|
module$contents$ee$apiclient_apiclient.PROFILE_HEADER = "X-Earth-Engine-Computation-Profile";
|
|
20194
|
+
module$contents$ee$apiclient_apiclient.QUOTA_STATUS_HEADER = "X-Earth-Engine-Quota-Status";
|
|
20181
20195
|
module$contents$ee$apiclient_apiclient.PROFILE_REQUEST_HEADER = "X-Earth-Engine-Computation-Profiling";
|
|
20182
20196
|
module$contents$ee$apiclient_apiclient.USER_PROJECT_OVERRIDE_HEADER_ = "X-Goog-User-Project";
|
|
20183
20197
|
module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER = "x-goog-api-client";
|
|
@@ -20197,6 +20211,7 @@ ee.apiclient.setProject = module$contents$ee$apiclient_apiclient.setProject;
|
|
|
20197
20211
|
ee.apiclient.getProject = module$contents$ee$apiclient_apiclient.getProject;
|
|
20198
20212
|
ee.apiclient.DEFAULT_PROJECT = module$contents$ee$apiclient_apiclient.DEFAULT_PROJECT_;
|
|
20199
20213
|
ee.apiclient.PROFILE_HEADER = module$contents$ee$apiclient_apiclient.PROFILE_HEADER;
|
|
20214
|
+
ee.apiclient.QUOTA_STATUS_HEADER = module$contents$ee$apiclient_apiclient.QUOTA_STATUS_HEADER;
|
|
20200
20215
|
ee.apiclient.PROFILE_REQUEST_HEADER = module$contents$ee$apiclient_apiclient.PROFILE_REQUEST_HEADER;
|
|
20201
20216
|
ee.apiclient.API_CLIENT_VERSION_HEADER = module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER;
|
|
20202
20217
|
ee.apiclient.send = module$contents$ee$apiclient_apiclient.send;
|
|
@@ -20228,6 +20243,7 @@ ee.apiclient.mergeAuthScopes = module$contents$ee$apiclient_apiclient.mergeAuthS
|
|
|
20228
20243
|
ee.apiclient.setupMockSend = module$contents$ee$apiclient_apiclient.setupMockSend;
|
|
20229
20244
|
ee.apiclient.setParamAugmenter = module$contents$ee$apiclient_apiclient.setParamAugmenter;
|
|
20230
20245
|
ee.apiclient.withProfiling = module$contents$ee$apiclient_apiclient.withProfiling;
|
|
20246
|
+
ee.apiclient.setQuotaStatusHook = module$contents$ee$apiclient_apiclient.setQuotaStatusHook;
|
|
20231
20247
|
ee.apiclient.getApiBaseUrl = module$contents$ee$apiclient_apiclient.getApiBaseUrl;
|
|
20232
20248
|
ee.apiclient.getTileBaseUrl = module$contents$ee$apiclient_apiclient.getTileBaseUrl;
|
|
20233
20249
|
ee.apiclient.AuthArgs = module$contents$ee$apiclient_apiclient.AuthArgs;
|
|
@@ -21655,9 +21671,12 @@ ee.data.getUserAgent = module$contents$ee$apiclient_apiclient.getUserAgent;
|
|
|
21655
21671
|
goog.exportSymbol("ee.data.getUserAgent", ee.data.getUserAgent);
|
|
21656
21672
|
ee.data.setParamAugmenter = module$contents$ee$apiclient_apiclient.setParamAugmenter;
|
|
21657
21673
|
goog.exportSymbol("ee.data.setParamAugmenter", ee.data.setParamAugmenter);
|
|
21674
|
+
ee.data.setQuotaStatusHook = module$contents$ee$apiclient_apiclient.setQuotaStatusHook;
|
|
21675
|
+
goog.exportSymbol("ee.data.setQuotaStatusHook", ee.data.setQuotaStatusHook);
|
|
21658
21676
|
ee.data.initialize = module$contents$ee$apiclient_apiclient.initialize;
|
|
21659
21677
|
ee.data.reset = module$contents$ee$apiclient_apiclient.reset;
|
|
21660
21678
|
ee.data.PROFILE_HEADER = module$contents$ee$apiclient_apiclient.PROFILE_HEADER;
|
|
21679
|
+
ee.data.QUOTA_STATUS_HEADER = module$contents$ee$apiclient_apiclient.QUOTA_STATUS_HEADER;
|
|
21661
21680
|
ee.data.makeRequest_ = module$contents$ee$apiclient_apiclient.makeRequest_;
|
|
21662
21681
|
ee.data.send_ = module$contents$ee$apiclient_apiclient.send;
|
|
21663
21682
|
ee.data.setupMockSend = module$contents$ee$apiclient_apiclient.setupMockSend;
|
|
@@ -22596,9 +22615,12 @@ ee.Function.prototype.callOrApply = function(thisValue, args) {
|
|
|
22596
22615
|
return this.apply(namedArgs);
|
|
22597
22616
|
};
|
|
22598
22617
|
ee.Function.prototype.promoteArgs = function(args) {
|
|
22599
|
-
for (var specs = this.getSignature().args, promotedArgs =
|
|
22600
|
-
var name =
|
|
22601
|
-
if (
|
|
22618
|
+
for (var specs = this.getSignature().args, promotedArgs = Object.create(null), known = Object.create(null), i = 0; i < specs.length; i++) {
|
|
22619
|
+
var name = specs[i].name;
|
|
22620
|
+
if (typeof name !== "string") {
|
|
22621
|
+
throw Error("Argument name must be a string.");
|
|
22622
|
+
}
|
|
22623
|
+
if (Object.prototype.hasOwnProperty.call(args, name) && args[name] !== void 0) {
|
|
22602
22624
|
promotedArgs[name] = ee.Function.promoter_(args[name], specs[i].type);
|
|
22603
22625
|
} else if (!specs[i].optional) {
|
|
22604
22626
|
throw Error("Required argument (" + name + ") missing to function: " + this);
|
|
@@ -22620,7 +22642,11 @@ ee.Function.prototype.nameArgs = function(args) {
|
|
|
22620
22642
|
throw Error("Too many (" + args.length + ") arguments to function: " + this);
|
|
22621
22643
|
}
|
|
22622
22644
|
for (var namedArgs = {}, i = 0; i < args.length; i++) {
|
|
22623
|
-
|
|
22645
|
+
var name = specs[i].name;
|
|
22646
|
+
if (typeof name !== "string") {
|
|
22647
|
+
throw Error("Argument name must be a string.");
|
|
22648
|
+
}
|
|
22649
|
+
namedArgs[name] = args[i];
|
|
22624
22650
|
}
|
|
22625
22651
|
return namedArgs;
|
|
22626
22652
|
};
|
|
@@ -27491,28 +27517,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27491
27517
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27492
27518
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27493
27519
|
(function() {
|
|
27494
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.
|
|
27495
|
-
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "
|
|
27496
|
-
"image opt_description
|
|
27497
|
-
|
|
27498
|
-
"collection opt_description
|
|
27499
|
-
"
|
|
27500
|
-
"opt_callback"], ["
|
|
27501
|
-
"opt_callback"], "
|
|
27502
|
-
"opt_error"
|
|
27503
|
-
|
|
27504
|
-
"
|
|
27505
|
-
[
|
|
27506
|
-
|
|
27507
|
-
[
|
|
27508
|
-
module$contents$ee$batch_Export.
|
|
27509
|
-
ee.
|
|
27510
|
-
ee.
|
|
27511
|
-
ee.data.
|
|
27512
|
-
ee.
|
|
27513
|
-
ee.
|
|
27514
|
-
ee.
|
|
27515
|
-
ee.
|
|
27520
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.videoMap.toCloudStorage ee.Collection.prototype.filterMetadata ee.Collection.prototype.map ee.Collection.prototype.filterDate ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.sort ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getAsset ee.data.getInfo ee.data.getList ee.data.listAssets ee.data.listImages ee.data.getMapId ee.data.getTileUrl ee.data.listBuckets ee.data.getFeatureViewTilesKey ee.data.getAssetRoots ee.data.listFeatures ee.data.computeValue ee.data.createAssetHome ee.data.getThumbId ee.data.createAsset ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.createFolder ee.data.makeThumbUrl ee.data.getDownloadId ee.data.renameAsset ee.data.makeDownloadUrl ee.data.copyAsset ee.data.getTableDownloadId ee.data.deleteAsset ee.data.makeTableDownloadUrl ee.data.getAssetAcl ee.data.newTaskId ee.data.getTaskStatus ee.data.updateAsset ee.data.getTaskList ee.data.setAssetAcl ee.data.getTaskListWithLimit ee.data.setAssetProperties ee.data.getAssetRootQuota ee.data.listOperations ee.data.cancelOperation ee.data.getWorkloadTag ee.data.setWorkloadTag ee.data.setDefaultWorkloadTag ee.data.getOperation ee.data.resetWorkloadTag ee.data.authenticateViaOauth ee.data.cancelTask ee.data.updateTask ee.data.startProcessing ee.data.startIngestion ee.data.authenticate ee.data.authenticateViaPopup ee.data.authenticateViaPrivateKey ee.data.startTableIngestion ee.Date ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Dictionary ee.apply ee.initialize ee.reset ee.InitState ee.TILE_SIZE ee.Algorithms ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.Filter.gt ee.Filter.metadata ee.Filter ee.Filter.lte ee.Filter.and ee.Filter.or ee.Filter.date ee.Filter.inList ee.Filter.prototype.not ee.Filter.eq ee.Filter.neq ee.Filter.lt ee.Filter.bounds ee.Filter.gte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.LineString ee.Geometry.LinearRing ee.Geometry.MultiLineString ee.Geometry ee.Geometry.Polygon ee.Geometry.MultiPolygon ee.Geometry.prototype.toGeoJSON ee.Geometry.Point ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.prototype.serialize ee.Geometry.Rectangle ee.Geometry.BBox ee.Image.prototype.getThumbURL ee.Image.prototype.getDownloadURL ee.Image.prototype.clip ee.Image ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.expression ee.Image.prototype.select ee.Image.rgb ee.Image.prototype.getThumbId ee.Image.prototype.getMapId ee.Image.cat ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection ee.List ee.Number ee.Serializer.toCloudApiJSON ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.toJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
27521
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority opt_overwrite".split(" "), "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(" "),
|
|
27522
|
+
"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(" "), "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_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
27523
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxVertices opt_priority opt_overwrite".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices 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(" "),
|
|
27524
|
+
"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_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(" "),
|
|
27525
|
+
["name", "operator", "value"], ["algorithm", "opt_dropNulls"], ["start", "opt_end"], ["filter"], ["algorithm", "opt_first"], ["property", "opt_ascending"], ["geometry"], ["max", "opt_property", "opt_ascending"], ["func", "var_args"], ["legacy"], ["callback"], ["opt_callback"], ["id", "opt_callback"], ["id", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["project",
|
|
27526
|
+
"opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["asset", "params", "opt_callback"], ["obj", "opt_callback"], ["requestedId", "opt_callback"], ["params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["id"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"],
|
|
27527
|
+
["params", "opt_callback"], ["assetId", "opt_callback"], ["id"], ["assetId", "opt_callback"], ["opt_count", "opt_callback"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "properties", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], ["operationName", "opt_callback"], [], ["tag"], ["tag"], ["operationName", "opt_callback"], ["opt_resetDefault"],
|
|
27528
|
+
"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "params", "opt_callback"], ["taskId", "request", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_success", "opt_error"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["taskId", "request", "opt_callback"], ["date",
|
|
27529
|
+
"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_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"],
|
|
27530
|
+
["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["name", "value"], ["name", "operator", "value"], ["opt_filter"], ["name", "value"], ["var_args"], ["var_args"], ["start", "opt_end"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["name", "value"], ["name", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27531
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj"], [], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["west", "south", "east", "north"], ["params", "opt_callback"], ["params",
|
|
27532
|
+
"opt_callback"], ["geometry"], ["opt_args"], ["opt_visParams", "opt_callback"], ["var_args"], ["opt_callback"], ["expression", "opt_map"], ["var_args"], ["r", "g", "b"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["var_args"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], [], ["params", "opt_callback"], ["opt_callback"],
|
|
27533
|
+
["args"], ["list"], ["number"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27534
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.table.toFeatureView,
|
|
27535
|
+
module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.videoMap.toCloudStorage, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.map, ee.Collection.prototype.filterDate, ee.Collection.prototype.filter, ee.Collection.prototype.iterate, ee.Collection.prototype.sort, ee.Collection.prototype.filterBounds, ee.Collection.prototype.limit, ee.ComputedObject.prototype.aside,
|
|
27536
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.data.getAsset, ee.data.getInfo, ee.data.getList, ee.data.listAssets, ee.data.listImages, ee.data.getMapId, ee.data.getTileUrl, ee.data.listBuckets, ee.data.getFeatureViewTilesKey, ee.data.getAssetRoots, ee.data.listFeatures, ee.data.computeValue, ee.data.createAssetHome, ee.data.getThumbId, ee.data.createAsset, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId, ee.data.createFolder,
|
|
27537
|
+
ee.data.makeThumbUrl, ee.data.getDownloadId, ee.data.renameAsset, ee.data.makeDownloadUrl, ee.data.copyAsset, ee.data.getTableDownloadId, ee.data.deleteAsset, ee.data.makeTableDownloadUrl, ee.data.getAssetAcl, ee.data.newTaskId, ee.data.getTaskStatus, ee.data.updateAsset, ee.data.getTaskList, ee.data.setAssetAcl, ee.data.getTaskListWithLimit, ee.data.setAssetProperties, ee.data.getAssetRootQuota, ee.data.listOperations, ee.data.cancelOperation, ee.data.getWorkloadTag, ee.data.setWorkloadTag, ee.data.setDefaultWorkloadTag,
|
|
27538
|
+
ee.data.getOperation, ee.data.resetWorkloadTag, ee.data.authenticateViaOauth, ee.data.cancelTask, ee.data.updateTask, ee.data.startProcessing, ee.data.startIngestion, ee.data.authenticate, ee.data.authenticateViaPopup, ee.data.authenticateViaPrivateKey, ee.data.startTableIngestion, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Deserializer.decodeCloudApi, ee.Dictionary, ee.apply, ee.initialize, ee.reset, ee.InitState, ee.TILE_SIZE, ee.Algorithms,
|
|
27539
|
+
ee.call, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.Filter.gt, ee.Filter.metadata, ee.Filter, ee.Filter.lte, ee.Filter.and, ee.Filter.or, ee.Filter.date, ee.Filter.inList,
|
|
27540
|
+
ee.Filter.prototype.not, ee.Filter.eq, ee.Filter.neq, ee.Filter.lt, ee.Filter.bounds, ee.Filter.gte, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.LineString, ee.Geometry.LinearRing, ee.Geometry.MultiLineString, ee.Geometry, ee.Geometry.Polygon, ee.Geometry.MultiPolygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Point, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiPoint, ee.Geometry.prototype.serialize, ee.Geometry.Rectangle, ee.Geometry.BBox, ee.Image.prototype.getThumbURL,
|
|
27541
|
+
ee.Image.prototype.getDownloadURL, ee.Image.prototype.clip, ee.Image, ee.Image.prototype.getMap, ee.Image.prototype.rename, ee.Image.prototype.getInfo, ee.Image.prototype.expression, ee.Image.prototype.select, ee.Image.rgb, ee.Image.prototype.getThumbId, ee.Image.prototype.getMapId, ee.Image.cat, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getFilmstripThumbURL,
|
|
27542
|
+
ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getInfo, ee.ImageCollection, ee.List, ee.Number, ee.Serializer.toCloudApiJSON, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toJSON, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApi, ee.Serializer.encodeCloudApiPretty, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27516
27543
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27517
27544
|
});
|
|
27518
27545
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|