@google/earthengine 0.1.411 → 0.1.413
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 +277 -201
- package/build/ee_api_js.js +45 -45
- package/build/ee_api_js_debug.js +254 -178
- package/build/ee_api_js_npm.js +277 -201
- package/build/main.js +277 -201
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/examples/UserInterface/MobileFriendlyUI.js +1 -1
- package/src/layers/earthenginetilesource.js +22 -7
- package/test/ee_test.js +1 -1
package/build/browser.js
CHANGED
|
@@ -1426,8 +1426,8 @@ goog.loadModule = function(moduleDef) {
|
|
|
1426
1426
|
goog.moduleLoaderState_ = previousState;
|
|
1427
1427
|
}
|
|
1428
1428
|
};
|
|
1429
|
-
goog.loadModuleFromSource_ = function(exports
|
|
1430
|
-
eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(
|
|
1429
|
+
goog.loadModuleFromSource_ = function(exports) {
|
|
1430
|
+
eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(arguments[1]));
|
|
1431
1431
|
return exports;
|
|
1432
1432
|
};
|
|
1433
1433
|
goog.normalizePath_ = function(path) {
|
|
@@ -2113,9 +2113,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2113
2113
|
};
|
|
2114
2114
|
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;
|
|
2115
2115
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2116
|
-
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 =
|
|
2117
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2118
|
-
var key = $jscomp$key$
|
|
2116
|
+
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$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
2117
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2118
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2119
2119
|
if (value != null) {
|
|
2120
2120
|
var copy = void 0;
|
|
2121
2121
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2126,11 +2126,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2126
2126
|
} else if (objects.hasOwnProperty(key)) {
|
|
2127
2127
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2128
2128
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2129
|
-
$jscomp$loop$
|
|
2129
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2130
2130
|
return function(v) {
|
|
2131
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2131
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2132
2132
|
};
|
|
2133
|
-
}($jscomp$loop$
|
|
2133
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2134
2134
|
} else if (Array.isArray(value)) {
|
|
2135
2135
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2136
2136
|
continue;
|
|
@@ -2145,8 +2145,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2145
2145
|
return target;
|
|
2146
2146
|
}
|
|
2147
2147
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2148
|
-
for (var objMap = {}, $jscomp$iter$20 =
|
|
2149
|
-
var mapKey = $jscomp$key$
|
|
2148
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$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()) {
|
|
2149
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2150
2150
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2151
2151
|
}
|
|
2152
2152
|
return objMap;
|
|
@@ -2176,39 +2176,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2176
2176
|
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))) {
|
|
2177
2177
|
return !1;
|
|
2178
2178
|
}
|
|
2179
|
-
for (var $jscomp$iter$21 =
|
|
2180
|
-
var key = $jscomp$key$
|
|
2179
|
+
for (var $jscomp$iter$21 = (0,$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()) {
|
|
2180
|
+
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);
|
|
2181
2181
|
if (has1 !== has2) {
|
|
2182
2182
|
return !1;
|
|
2183
2183
|
}
|
|
2184
2184
|
if (has1) {
|
|
2185
2185
|
var value1 = serializable1.Serializable$get(key);
|
|
2186
|
-
$jscomp$loop$
|
|
2186
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2187
2187
|
if (arrays1.hasOwnProperty(key)) {
|
|
2188
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2188
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2189
2189
|
return !1;
|
|
2190
2190
|
}
|
|
2191
2191
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2192
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2192
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2193
2193
|
return !1;
|
|
2194
2194
|
}
|
|
2195
2195
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2196
|
-
if ($jscomp$loop$
|
|
2197
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2196
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2197
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2198
2198
|
return function(v1, i) {
|
|
2199
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2199
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2200
2200
|
};
|
|
2201
|
-
}($jscomp$loop$
|
|
2201
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2202
2202
|
return !1;
|
|
2203
2203
|
}
|
|
2204
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2204
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2205
2205
|
return !1;
|
|
2206
2206
|
}
|
|
2207
2207
|
} else if (Array.isArray(value1)) {
|
|
2208
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2208
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2209
2209
|
return !1;
|
|
2210
2210
|
}
|
|
2211
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2211
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2212
2212
|
return !1;
|
|
2213
2213
|
}
|
|
2214
2214
|
}
|
|
@@ -2230,8 +2230,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2230
2230
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2231
2231
|
return !1;
|
|
2232
2232
|
}
|
|
2233
|
-
for (var $jscomp$iter$22 =
|
|
2234
|
-
var mapKey = $jscomp$key$
|
|
2233
|
+
for (var $jscomp$iter$22 = (0,$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()) {
|
|
2234
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2235
2235
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2236
2236
|
return !1;
|
|
2237
2237
|
}
|
|
@@ -2312,15 +2312,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2312
2312
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2313
2313
|
};
|
|
2314
2314
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2315
|
-
var $jscomp$this$
|
|
2315
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2316
2316
|
payload += this._metadataPayload;
|
|
2317
2317
|
return Promise.all(this.files.map(function(f) {
|
|
2318
|
-
return $jscomp$this$
|
|
2318
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2319
2319
|
})).then(function(filePayloads) {
|
|
2320
|
-
for (var $jscomp$iter$23 =
|
|
2321
|
-
payload += $jscomp$key$
|
|
2320
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m667091202$9$filePayload.done; $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next()) {
|
|
2321
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2322
2322
|
}
|
|
2323
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2323
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2324
2324
|
});
|
|
2325
2325
|
};
|
|
2326
2326
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2970,8 +2970,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2970
2970
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
2971
2971
|
}
|
|
2972
2972
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2973
|
-
var $jscomp$templatelit$
|
|
2974
|
-
["\\0"]), $jscomp$templatelit$
|
|
2973
|
+
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"],
|
|
2974
|
+
["\\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"};
|
|
2975
2975
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2976
2976
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2977
2977
|
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 ##############################");
|
|
@@ -2985,14 +2985,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2985
2985
|
return fn.toString().indexOf("`") === -1;
|
|
2986
2986
|
}
|
|
2987
2987
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2988
|
-
return tag($jscomp$templatelit$
|
|
2988
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2989
2989
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2990
|
-
return tag($jscomp$templatelit$
|
|
2990
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2991
2991
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2992
|
-
return tag($jscomp$templatelit$
|
|
2992
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2993
2993
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2994
|
-
return tag($jscomp$templatelit$
|
|
2995
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2994
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2995
|
+
}), 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);
|
|
2996
2996
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2997
2997
|
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)) ?
|
|
2998
2998
|
!0 : !1;
|
|
@@ -4328,7 +4328,7 @@ module$exports$safevalues$dom$elements$element.insertAdjacentHtml = function(ele
|
|
|
4328
4328
|
element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
|
|
4329
4329
|
};
|
|
4330
4330
|
module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = function(prefix) {
|
|
4331
|
-
var prefixes = [prefix].concat(
|
|
4331
|
+
var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
|
|
4332
4332
|
return function(e, attr, value) {
|
|
4333
4333
|
module$contents$safevalues$dom$elements$element_setPrefixedAttribute(prefixes, e, attr, value);
|
|
4334
4334
|
};
|
|
@@ -4402,9 +4402,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
4402
4402
|
}
|
|
4403
4403
|
}
|
|
4404
4404
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
4405
|
-
var $jscomp$tmp$error$
|
|
4406
|
-
this.message = $jscomp$tmp$error$
|
|
4407
|
-
"stack" in $jscomp$tmp$error$
|
|
4405
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
4406
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
4407
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
4408
4408
|
this.type = type;
|
|
4409
4409
|
this.intent = intent;
|
|
4410
4410
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -4481,19 +4481,20 @@ module$exports$safevalues$dom$elements$input.setFormaction = function(input, url
|
|
|
4481
4481
|
var module$exports$safevalues$dom$elements$link = {}, module$contents$safevalues$dom$elements$link_module = module$contents$safevalues$dom$elements$link_module || {id:"third_party/javascript/safevalues/dom/elements/link.closure.js"}, module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES = "alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");
|
|
4482
4482
|
module$exports$safevalues$dom$elements$link.setHrefAndRel = function(link, url, rel) {
|
|
4483
4483
|
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
4484
|
-
|
|
4484
|
+
module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel);
|
|
4485
4485
|
} else {
|
|
4486
4486
|
if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
|
|
4487
4487
|
throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
|
|
4488
4488
|
}
|
|
4489
4489
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4490
|
-
|
|
4491
|
-
return;
|
|
4492
|
-
}
|
|
4493
|
-
link.href = sanitizedUrl;
|
|
4490
|
+
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
4494
4491
|
}
|
|
4495
|
-
link.rel = rel;
|
|
4496
4492
|
};
|
|
4493
|
+
function module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel) {
|
|
4494
|
+
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
4495
|
+
link.rel = rel;
|
|
4496
|
+
}
|
|
4497
|
+
module$exports$safevalues$dom$elements$link.setHrefAndRelWithTrustedResourceUrl = module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl;
|
|
4497
4498
|
var module$exports$safevalues$dom$elements$object = {}, module$contents$safevalues$dom$elements$object_module = module$contents$safevalues$dom$elements$object_module || {id:"third_party/javascript/safevalues/dom/elements/object.closure.js"};
|
|
4498
4499
|
module$exports$safevalues$dom$elements$object.setData = function(obj, v) {
|
|
4499
4500
|
obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
@@ -4510,7 +4511,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
4510
4511
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
4511
4512
|
};
|
|
4512
4513
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
4513
|
-
var $jscomp$optchain$
|
|
4514
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
4514
4515
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
4515
4516
|
}
|
|
4516
4517
|
;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;
|
|
@@ -5177,9 +5178,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
5177
5178
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
5178
5179
|
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"};
|
|
5179
5180
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
5180
|
-
var $jscomp$tmp$error$
|
|
5181
|
-
this.message = $jscomp$tmp$error$
|
|
5182
|
-
"stack" in $jscomp$tmp$error$
|
|
5181
|
+
var $jscomp$tmp$error$m991617773$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
5182
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
5183
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
5183
5184
|
this.url = url;
|
|
5184
5185
|
this.typeName = typeName;
|
|
5185
5186
|
this.contentType = contentType;
|
|
@@ -5191,48 +5192,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
5191
5192
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
5192
5193
|
}
|
|
5193
5194
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
5194
|
-
var response, $jscomp$optchain$
|
|
5195
|
-
return
|
|
5196
|
-
if ($jscomp$generator$context$
|
|
5197
|
-
return $jscomp$generator$context$
|
|
5198
|
-
}
|
|
5199
|
-
response = $jscomp$generator$context$
|
|
5200
|
-
mimeType = ($jscomp$optchain$
|
|
5201
|
-
return $jscomp$generator$context$
|
|
5195
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
5196
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
5197
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
5198
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
5199
|
+
}
|
|
5200
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
5201
|
+
mimeType = ($jscomp$optchain$tmpm991617773$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmpm991617773$1 = $jscomp$optchain$tmpm991617773$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmpm991617773$2 = $jscomp$optchain$tmpm991617773$1[0]) == null ? void 0 : $jscomp$optchain$tmpm991617773$2.toLowerCase();
|
|
5202
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
5202
5203
|
var text;
|
|
5203
|
-
return
|
|
5204
|
-
if ($jscomp$generator$context$
|
|
5204
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
5205
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
5205
5206
|
if (mimeType !== "text/html") {
|
|
5206
5207
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
5207
5208
|
}
|
|
5208
|
-
return $jscomp$generator$context$
|
|
5209
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
5209
5210
|
}
|
|
5210
|
-
text = $jscomp$generator$context$
|
|
5211
|
-
return $jscomp$generator$context$
|
|
5211
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
5212
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
5212
5213
|
});
|
|
5213
5214
|
}, script:function() {
|
|
5214
5215
|
var text;
|
|
5215
|
-
return
|
|
5216
|
-
if ($jscomp$generator$context$
|
|
5216
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
5217
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
5217
5218
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
5218
5219
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
5219
5220
|
}
|
|
5220
|
-
return $jscomp$generator$context$
|
|
5221
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
5221
5222
|
}
|
|
5222
|
-
text = $jscomp$generator$context$
|
|
5223
|
-
return $jscomp$generator$context$
|
|
5223
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
5224
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
5224
5225
|
});
|
|
5225
5226
|
}, styleSheet:function() {
|
|
5226
5227
|
var text;
|
|
5227
|
-
return
|
|
5228
|
-
if ($jscomp$generator$context$
|
|
5228
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
5229
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
5229
5230
|
if (mimeType !== "text/css") {
|
|
5230
5231
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
5231
5232
|
}
|
|
5232
|
-
return $jscomp$generator$context$
|
|
5233
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
5233
5234
|
}
|
|
5234
|
-
text = $jscomp$generator$context$
|
|
5235
|
-
return $jscomp$generator$context$
|
|
5235
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
5236
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
5236
5237
|
});
|
|
5237
5238
|
}});
|
|
5238
5239
|
});
|
|
@@ -5280,7 +5281,7 @@ module$exports$safevalues$dom$globals$worker.createShared = function(url, option
|
|
|
5280
5281
|
return new SharedWorker(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url), options);
|
|
5281
5282
|
};
|
|
5282
5283
|
module$exports$safevalues$dom$globals$worker.importScripts = function(scope) {
|
|
5283
|
-
scope.importScripts.apply(scope,
|
|
5284
|
+
scope.importScripts.apply(scope, (0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments).map(function(url) {
|
|
5284
5285
|
return module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
5285
5286
|
})));
|
|
5286
5287
|
};
|
|
@@ -5754,15 +5755,15 @@ module$contents$goog$collections$maps_MapLike.prototype.has = function(key) {
|
|
|
5754
5755
|
goog.collections.maps.MapLike = module$contents$goog$collections$maps_MapLike;
|
|
5755
5756
|
goog.collections.maps.setAll = function(map, entries) {
|
|
5756
5757
|
if (entries) {
|
|
5757
|
-
for (var $jscomp$iter$24 =
|
|
5758
|
-
var $jscomp$destructuring$var1 =
|
|
5758
|
+
for (var $jscomp$iter$24 = (0,$jscomp.makeIterator)(entries), $jscomp$key$1866876209$13$ = $jscomp$iter$24.next(); !$jscomp$key$1866876209$13$.done; $jscomp$key$1866876209$13$ = $jscomp$iter$24.next()) {
|
|
5759
|
+
var $jscomp$destructuring$var1 = (0,$jscomp.makeIterator)($jscomp$key$1866876209$13$.value), k = $jscomp$destructuring$var1.next().value, v = $jscomp$destructuring$var1.next().value;
|
|
5759
5760
|
map.set(k, v);
|
|
5760
5761
|
}
|
|
5761
5762
|
}
|
|
5762
5763
|
};
|
|
5763
5764
|
goog.collections.maps.hasValue = function(map, val, valueEqualityFn) {
|
|
5764
5765
|
valueEqualityFn = valueEqualityFn === void 0 ? module$contents$goog$collections$maps_defaultEqualityFn : valueEqualityFn;
|
|
5765
|
-
for (var $jscomp$iter$25 =
|
|
5766
|
+
for (var $jscomp$iter$25 = (0,$jscomp.makeIterator)(map.values()), $jscomp$key$1866876209$14$v = $jscomp$iter$25.next(); !$jscomp$key$1866876209$14$v.done; $jscomp$key$1866876209$14$v = $jscomp$iter$25.next()) {
|
|
5766
5767
|
if (valueEqualityFn($jscomp$key$1866876209$14$v.value, val)) {
|
|
5767
5768
|
return !0;
|
|
5768
5769
|
}
|
|
@@ -5780,7 +5781,7 @@ goog.collections.maps.equals = function(map, otherMap, valueEqualityFn) {
|
|
|
5780
5781
|
if (map.size !== otherMap.size) {
|
|
5781
5782
|
return !1;
|
|
5782
5783
|
}
|
|
5783
|
-
for (var $jscomp$iter$26 =
|
|
5784
|
+
for (var $jscomp$iter$26 = (0,$jscomp.makeIterator)(map.keys()), $jscomp$key$1866876209$15$key = $jscomp$iter$26.next(); !$jscomp$key$1866876209$15$key.done; $jscomp$key$1866876209$15$key = $jscomp$iter$26.next()) {
|
|
5784
5785
|
var key = $jscomp$key$1866876209$15$key.value;
|
|
5785
5786
|
if (!otherMap.has(key) || !valueEqualityFn(map.get(key), otherMap.get(key))) {
|
|
5786
5787
|
return !1;
|
|
@@ -5789,14 +5790,14 @@ goog.collections.maps.equals = function(map, otherMap, valueEqualityFn) {
|
|
|
5789
5790
|
return !0;
|
|
5790
5791
|
};
|
|
5791
5792
|
goog.collections.maps.transpose = function(map) {
|
|
5792
|
-
for (var transposed = new Map(), $jscomp$iter$27 =
|
|
5793
|
+
for (var transposed = new Map(), $jscomp$iter$27 = (0,$jscomp.makeIterator)(map.keys()), $jscomp$key$1866876209$16$key = $jscomp$iter$27.next(); !$jscomp$key$1866876209$16$key.done; $jscomp$key$1866876209$16$key = $jscomp$iter$27.next()) {
|
|
5793
5794
|
var key = $jscomp$key$1866876209$16$key.value, val = map.get(key);
|
|
5794
5795
|
transposed.set(val, key);
|
|
5795
5796
|
}
|
|
5796
5797
|
return transposed;
|
|
5797
5798
|
};
|
|
5798
5799
|
goog.collections.maps.toObject = function(map) {
|
|
5799
|
-
for (var obj = {}, $jscomp$iter$28 =
|
|
5800
|
+
for (var obj = {}, $jscomp$iter$28 = (0,$jscomp.makeIterator)(map.keys()), $jscomp$key$1866876209$17$key = $jscomp$iter$28.next(); !$jscomp$key$1866876209$17$key.done; $jscomp$key$1866876209$17$key = $jscomp$iter$28.next()) {
|
|
5800
5801
|
var key = $jscomp$key$1866876209$17$key.value;
|
|
5801
5802
|
obj[key] = map.get(key);
|
|
5802
5803
|
}
|
|
@@ -6654,8 +6655,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6654
6655
|
}
|
|
6655
6656
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6656
6657
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6657
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 =
|
|
6658
|
-
var $jscomp$destructuring$var3 =
|
|
6658
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$1047461284$0$ = $jscomp$iter$29.next(); !$jscomp$key$1047461284$0$.done; $jscomp$key$1047461284$0$ = $jscomp$iter$29.next()) {
|
|
6659
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$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;
|
|
6659
6660
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6660
6661
|
}
|
|
6661
6662
|
return urlQueryParams;
|
|
@@ -6666,8 +6667,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6666
6667
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6667
6668
|
if (params.headers) {
|
|
6668
6669
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6669
|
-
for (var $jscomp$iter$30 =
|
|
6670
|
-
var $jscomp$destructuring$var5 =
|
|
6670
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$1047461284$1$ = $jscomp$iter$30.next(); !$jscomp$key$1047461284$1$.done; $jscomp$key$1047461284$1$ = $jscomp$iter$30.next()) {
|
|
6671
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$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;
|
|
6671
6672
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6672
6673
|
}
|
|
6673
6674
|
}
|
|
@@ -6707,9 +6708,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6707
6708
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6708
6709
|
};
|
|
6709
6710
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6710
|
-
var $jscomp$this$
|
|
6711
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6711
6712
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6712
|
-
return $jscomp$this$
|
|
6713
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6713
6714
|
}));
|
|
6714
6715
|
};
|
|
6715
6716
|
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"};
|
|
@@ -6771,6 +6772,9 @@ goog.Disposable.prototype.dispose = function() {
|
|
|
6771
6772
|
delete goog.Disposable.instances_[uid];
|
|
6772
6773
|
}
|
|
6773
6774
|
};
|
|
6775
|
+
goog.Disposable.prototype[Symbol.dispose] = function() {
|
|
6776
|
+
this.dispose();
|
|
6777
|
+
};
|
|
6774
6778
|
goog.Disposable.prototype.registerDisposable = function(disposable) {
|
|
6775
6779
|
this.addOnDisposeCallback(goog.partial(module$contents$goog$dispose_dispose, disposable));
|
|
6776
6780
|
};
|
|
@@ -6884,8 +6888,8 @@ goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2eto
|
|
|
6884
6888
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6885
6889
|
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable) : goog.readFlagInternalDoNotUseOrElse(188588736,
|
|
6886
6890
|
module$contents$goog$flags_STAGING);
|
|
6887
|
-
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__enable : goog.readFlagInternalDoNotUseOrElse(641353869,
|
|
6888
|
-
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__enable : goog.readFlagInternalDoNotUseOrElse(644029907,
|
|
6891
|
+
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__enable : goog.readFlagInternalDoNotUseOrElse(641353869, goog.DEBUG);
|
|
6892
|
+
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__enable : goog.readFlagInternalDoNotUseOrElse(644029907, goog.DEBUG);
|
|
6889
6893
|
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable) : goog.readFlagInternalDoNotUseOrElse(645172343,
|
|
6890
6894
|
module$contents$goog$flags_STAGING);
|
|
6891
6895
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
@@ -6981,7 +6985,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
6981
6985
|
};
|
|
6982
6986
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.load = function() {
|
|
6983
6987
|
var $jscomp$async$this$m2110036436$9 = this, userAgentData;
|
|
6984
|
-
return
|
|
6988
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m2110036436$35) {
|
|
6985
6989
|
if ($jscomp$generator$context$m2110036436$35.nextAddress == 1) {
|
|
6986
6990
|
userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
|
|
6987
6991
|
if (!userAgentData) {
|
|
@@ -6989,7 +6993,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
6989
6993
|
}
|
|
6990
6994
|
$jscomp$async$this$m2110036436$9.promise_ || ($jscomp$async$this$m2110036436$9.pending_ = !0, $jscomp$async$this$m2110036436$9.promise_ = function() {
|
|
6991
6995
|
var dataValues;
|
|
6992
|
-
return
|
|
6996
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m2110036436$34) {
|
|
6993
6997
|
if ($jscomp$generator$context$m2110036436$34.nextAddress == 1) {
|
|
6994
6998
|
return $jscomp$generator$context$m2110036436$34.setFinallyBlock(2), $jscomp$generator$context$m2110036436$34.yield(userAgentData.getHighEntropyValues([$jscomp$async$this$m2110036436$9.key_]), 4);
|
|
6995
6999
|
}
|
|
@@ -7252,7 +7256,7 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.ge
|
|
|
7252
7256
|
};
|
|
7253
7257
|
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.load = function() {
|
|
7254
7258
|
var $jscomp$async$this$1683157560$59 = this, loadedVersionList, matchingBrand;
|
|
7255
|
-
return
|
|
7259
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1683157560$106) {
|
|
7256
7260
|
if ($jscomp$generator$context$1683157560$106.nextAddress == 1) {
|
|
7257
7261
|
return $jscomp$async$this$1683157560$59.useUach_ ? $jscomp$generator$context$1683157560$106.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 5) : $jscomp$generator$context$1683157560$106.yield(0, 3);
|
|
7258
7262
|
}
|
|
@@ -7267,7 +7271,7 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.lo
|
|
|
7267
7271
|
};
|
|
7268
7272
|
var module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
|
|
7269
7273
|
goog.labs.userAgent.browser.loadFullVersions = function() {
|
|
7270
|
-
return
|
|
7274
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1683157560$107) {
|
|
7271
7275
|
if ($jscomp$generator$context$1683157560$107.nextAddress == 1) {
|
|
7272
7276
|
return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0) ? $jscomp$generator$context$1683157560$107.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 2) : $jscomp$generator$context$1683157560$107.jumpTo(2);
|
|
7273
7277
|
}
|
|
@@ -7453,7 +7457,7 @@ module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.getIfLoad
|
|
|
7453
7457
|
};
|
|
7454
7458
|
module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.load = function() {
|
|
7455
7459
|
var $jscomp$async$this$m1628565157$33 = this, JSCompiler_temp_const;
|
|
7456
|
-
return
|
|
7460
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m1628565157$37) {
|
|
7457
7461
|
if ($jscomp$generator$context$m1628565157$37.nextAddress == 1) {
|
|
7458
7462
|
if (!module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)) {
|
|
7459
7463
|
return $jscomp$async$this$m1628565157$33.preUachHasLoaded_ = !0, $jscomp$generator$context$m1628565157$37.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion()));
|
|
@@ -15541,8 +15545,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15541
15545
|
this.replacements = new Map();
|
|
15542
15546
|
};
|
|
15543
15547
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15544
|
-
var $jscomp$this$
|
|
15545
|
-
return $jscomp$this$
|
|
15548
|
+
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) {
|
|
15549
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15546
15550
|
});
|
|
15547
15551
|
if (openedTags.length !== 0) {
|
|
15548
15552
|
if (goog.DEBUG) {
|
|
@@ -15630,6 +15634,23 @@ function module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement
|
|
|
15630
15634
|
return nodeType === 1 || typeof nodeType !== "number";
|
|
15631
15635
|
}
|
|
15632
15636
|
module$exports$safevalues$builders$html_sanitizer$no_clobber.isElement = module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement;
|
|
15637
|
+
var module$exports$safevalues$builders$html_sanitizer$resource_url_policy = {}, module$contents$safevalues$builders$html_sanitizer$resource_url_policy_module = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/resource_url_policy.closure.js"};
|
|
15638
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType = {STYLE_TAG:0, STYLE_ATTRIBUTE:1, HTML_ATTRIBUTE:2};
|
|
15639
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_TAG] = "STYLE_TAG";
|
|
15640
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ATTRIBUTE] = "STYLE_ATTRIBUTE";
|
|
15641
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE] = "HTML_ATTRIBUTE";
|
|
15642
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_StyleTagOrAttributeResourceUrlPolicyHints() {
|
|
15643
|
+
}
|
|
15644
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_HtmlAttributeResourceUrlPolicyHints() {
|
|
15645
|
+
}
|
|
15646
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value) {
|
|
15647
|
+
try {
|
|
15648
|
+
return new URL(value, window.document.baseURI);
|
|
15649
|
+
} catch (e) {
|
|
15650
|
+
return new URL("about:invalid");
|
|
15651
|
+
}
|
|
15652
|
+
}
|
|
15653
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl;
|
|
15633
15654
|
var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/sanitizer_table.closure.js"};
|
|
15634
15655
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable = function(allowedElements, elementPolicies, allowedGlobalAttributes, globalAttributePolicies, globallyAllowedAttributePrefixes) {
|
|
15635
15656
|
this.allowedElements = allowedElements;
|
|
@@ -15650,16 +15671,18 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
15650
15671
|
return {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP};
|
|
15651
15672
|
}
|
|
15652
15673
|
var globalPolicy = this.globalAttributePolicies.get(attributeName);
|
|
15653
|
-
return globalPolicy ? globalPolicy : this.globallyAllowedAttributePrefixes && [].concat(
|
|
15674
|
+
return globalPolicy ? globalPolicy : this.globallyAllowedAttributePrefixes && [].concat((0,$jscomp.arrayFromIterable)(this.globallyAllowedAttributePrefixes)).some(function(prefix) {
|
|
15654
15675
|
return attributeName.indexOf(prefix) === 0;
|
|
15655
15676
|
}) ? {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP} : {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP};
|
|
15656
15677
|
};
|
|
15657
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction = {DROP:0, KEEP:1, KEEP_AND_SANITIZE_URL:2, KEEP_AND_NORMALIZE:3, KEEP_AND_SANITIZE_STYLE:4};
|
|
15678
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction = {DROP:0, KEEP:1, KEEP_AND_SANITIZE_URL:2, KEEP_AND_NORMALIZE:3, KEEP_AND_SANITIZE_STYLE:4, KEEP_AND_USE_RESOURCE_URL_POLICY:5, KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:6};
|
|
15658
15679
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP] = "DROP";
|
|
15659
15680
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP] = "KEEP";
|
|
15660
15681
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL] = "KEEP_AND_SANITIZE_URL";
|
|
15661
15682
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE] = "KEEP_AND_NORMALIZE";
|
|
15662
15683
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE] = "KEEP_AND_SANITIZE_STYLE";
|
|
15684
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY] = "KEEP_AND_USE_RESOURCE_URL_POLICY";
|
|
15685
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET] = "KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET";
|
|
15663
15686
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicy = function() {
|
|
15664
15687
|
};
|
|
15665
15688
|
var module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_FORBIDDEN_CUSTOM_ELEMENT_NAMES = new Set("ANNOTATION-XML COLOR-PROFILE FONT-FACE FONT-FACE-SRC FONT-FACE-URI FONT-FACE-FORMAT FONT-FACE-NAME MISSING-GLYPH".split(" "));
|
|
@@ -15670,9 +15693,9 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
15670
15693
|
var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/default_sanitizer_table.closure.js"},
|
|
15671
15694
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
|
|
15672
15695
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])], ["AREA", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],
|
|
15673
|
-
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15674
|
-
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15675
|
-
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15696
|
+
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
|
|
15697
|
+
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
|
|
15698
|
+
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
|
|
15676
15699
|
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
|
|
15677
15700
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES = [["dir", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
15678
15701
|
return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
|
|
@@ -15683,15 +15706,22 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
15683
15706
|
})}], ["poster", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}], ["target", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
15684
15707
|
return new Map([["target", new Set(["_self", "_blank"])]]);
|
|
15685
15708
|
})}]];
|
|
15686
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15709
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
15687
15710
|
new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES));
|
|
15688
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15711
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.CSS_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15712
|
+
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["STYLE"]);
|
|
15713
|
+
})), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15714
|
+
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["id", "name", "class"]);
|
|
15715
|
+
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
15716
|
+
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES.concat([["style", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE}]]);
|
|
15717
|
+
})));
|
|
15718
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.LENIENT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["BUTTON", "INPUT"])), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
15689
15719
|
new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15690
15720
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "name"]);
|
|
15691
15721
|
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
15692
15722
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES.concat([["style", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]]);
|
|
15693
15723
|
})));
|
|
15694
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15724
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.SUPER_LENIENT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15695
15725
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat("STYLE TITLE INPUT TEXTAREA BUTTON LABEL".split(" "));
|
|
15696
15726
|
})), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15697
15727
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "tabindex", "contenteditable", "name"]);
|
|
@@ -15701,10 +15731,11 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_saniti
|
|
|
15701
15731
|
var module$exports$safevalues$builders$html_sanitizer$html_sanitizer = {}, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_module = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/html_sanitizer.closure.js"};
|
|
15702
15732
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer = function() {
|
|
15703
15733
|
};
|
|
15704
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer) {
|
|
15734
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy) {
|
|
15705
15735
|
this.sanitizerTable = sanitizerTable;
|
|
15706
15736
|
this.styleElementSanitizer = styleElementSanitizer;
|
|
15707
15737
|
this.styleAttributeSanitizer = styleAttributeSanitizer;
|
|
15738
|
+
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
15708
15739
|
this.changes = [];
|
|
15709
15740
|
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
15710
15741
|
};
|
|
@@ -15725,8 +15756,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15725
15756
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15726
15757
|
};
|
|
15727
15758
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15728
|
-
for (var $jscomp$this$
|
|
15729
|
-
return $jscomp$this$
|
|
15759
|
+
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) {
|
|
15760
|
+
return $jscomp$this$m1803429925$10.nodeFilter(n);
|
|
15730
15761
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
15731
15762
|
var sanitizedNode = void 0;
|
|
15732
15763
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15761,8 +15792,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15761
15792
|
return this.createTextNode(textNode.data);
|
|
15762
15793
|
};
|
|
15763
15794
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15764
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$
|
|
15765
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15795
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$32 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1803429925$31$ = $jscomp$iter$32.next(); !$jscomp$key$m1803429925$31$.done; $jscomp$key$m1803429925$31$ = $jscomp$iter$32.next()) {
|
|
15796
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1803429925$31$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
15766
15797
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15767
15798
|
switch(policy.policyAction) {
|
|
15768
15799
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15784,6 +15815,26 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15784
15815
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
15785
15816
|
}
|
|
15786
15817
|
break;
|
|
15818
|
+
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY:
|
|
15819
|
+
if (this.resourceUrlPolicy) {
|
|
15820
|
+
var hints = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, tagName:elementName}, url = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value), sanitizedUrl = this.resourceUrlPolicy(url, hints);
|
|
15821
|
+
sanitizedUrl && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedUrl.toString());
|
|
15822
|
+
} else {
|
|
15823
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
15824
|
+
}
|
|
15825
|
+
break;
|
|
15826
|
+
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
15827
|
+
if (this.resourceUrlPolicy) {
|
|
15828
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, tagName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$31 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1803429925$30$part = $jscomp$iter$31.next(); !$jscomp$key$m1803429925$30$part.done; $jscomp$key$m1803429925$30$part =
|
|
15829
|
+
$jscomp$iter$31.next()) {
|
|
15830
|
+
var part = $jscomp$key$m1803429925$30$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
15831
|
+
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
15832
|
+
}
|
|
15833
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
15834
|
+
} else {
|
|
15835
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
15836
|
+
}
|
|
15837
|
+
break;
|
|
15787
15838
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP:
|
|
15788
15839
|
this.recordChange("Attribute: " + name + " was dropped");
|
|
15789
15840
|
break;
|
|
@@ -15820,8 +15871,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15820
15871
|
if (!conditions) {
|
|
15821
15872
|
return !0;
|
|
15822
15873
|
}
|
|
15823
|
-
for (var $jscomp$iter$
|
|
15824
|
-
var $jscomp$destructuring$var33 =
|
|
15874
|
+
for (var $jscomp$iter$33 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1803429925$32$ = $jscomp$iter$33.next(); !$jscomp$key$m1803429925$32$.done; $jscomp$key$m1803429925$32$ = $jscomp$iter$33.next()) {
|
|
15875
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$32$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1803429925$0 = void 0, value = ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
15825
15876
|
if (value && !expectedValues.has(value)) {
|
|
15826
15877
|
return !1;
|
|
15827
15878
|
}
|
|
@@ -15831,8 +15882,27 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15831
15882
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(el, name, value) {
|
|
15832
15883
|
el.setAttribute(name, value);
|
|
15833
15884
|
}
|
|
15885
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_SrcsetPart() {
|
|
15886
|
+
}
|
|
15887
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
15888
|
+
};
|
|
15889
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
15890
|
+
for (var parts = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1803429925$33$part = $jscomp$iter$34.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part = $jscomp$iter$34.next()) {
|
|
15891
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$33$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var34.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var34.next().value;
|
|
15892
|
+
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
15893
|
+
}
|
|
15894
|
+
return {parts:parts};
|
|
15895
|
+
}
|
|
15896
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.parseSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset;
|
|
15897
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(srcset) {
|
|
15898
|
+
return srcset.parts.map(function(part) {
|
|
15899
|
+
var descriptor = part.descriptor;
|
|
15900
|
+
return "" + part.url + (descriptor ? " " + descriptor : "");
|
|
15901
|
+
}).join(" , ");
|
|
15902
|
+
}
|
|
15903
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.serializeSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset;
|
|
15834
15904
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15835
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15905
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
|
|
15836
15906
|
});
|
|
15837
15907
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml(html) {
|
|
15838
15908
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer.sanitize(html);
|
|
@@ -15847,7 +15917,7 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanit
|
|
|
15847
15917
|
}
|
|
15848
15918
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
15849
15919
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15850
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15920
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.LENIENT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
|
|
15851
15921
|
});
|
|
15852
15922
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtml = function(html) {
|
|
15853
15923
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer.sanitize(html);
|
|
@@ -15857,7 +15927,7 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenie
|
|
|
15857
15927
|
}
|
|
15858
15928
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged;
|
|
15859
15929
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15860
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15930
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.SUPER_LENIENT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
|
|
15861
15931
|
});
|
|
15862
15932
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.superLenientlySanitizeHtml = function(html) {
|
|
15863
15933
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer.sanitize(html);
|
|
@@ -15872,11 +15942,11 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_check
|
|
|
15872
15942
|
;var module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder = {}, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_builder_module = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_builder_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/html_sanitizer_builder.closure.js"};
|
|
15873
15943
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder = function() {
|
|
15874
15944
|
this.calledBuild = !1;
|
|
15875
|
-
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15945
|
+
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
15876
15946
|
};
|
|
15877
15947
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15878
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$
|
|
15879
|
-
var element = $jscomp$key$
|
|
15948
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$35 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$0$element = $jscomp$iter$35.next(); !$jscomp$key$m1412690177$0$element.done; $jscomp$key$m1412690177$0$element = $jscomp$iter$35.next()) {
|
|
15949
|
+
var element = $jscomp$key$m1412690177$0$element.value;
|
|
15880
15950
|
element = element.toUpperCase();
|
|
15881
15951
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15882
15952
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15894,8 +15964,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15894
15964
|
throw Error("Element: " + element + " is not a custom element");
|
|
15895
15965
|
}
|
|
15896
15966
|
if (allowedAttributes) {
|
|
15897
|
-
for (var elementPolicy = new Map(), $jscomp$iter$
|
|
15898
|
-
elementPolicy.set($jscomp$key$
|
|
15967
|
+
for (var elementPolicy = new Map(), $jscomp$iter$36 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$1$attribute = $jscomp$iter$36.next(); !$jscomp$key$m1412690177$1$attribute.done; $jscomp$key$m1412690177$1$attribute = $jscomp$iter$36.next()) {
|
|
15968
|
+
elementPolicy.set($jscomp$key$m1412690177$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15899
15969
|
}
|
|
15900
15970
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15901
15971
|
} else {
|
|
@@ -15905,15 +15975,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15905
15975
|
return this;
|
|
15906
15976
|
};
|
|
15907
15977
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15908
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$
|
|
15909
|
-
var attribute = $jscomp$key$
|
|
15978
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$37 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$2$attribute = $jscomp$iter$37.next(); !$jscomp$key$m1412690177$2$attribute.done; $jscomp$key$m1412690177$2$attribute = $jscomp$iter$37.next()) {
|
|
15979
|
+
var attribute = $jscomp$key$m1412690177$2$attribute.value;
|
|
15910
15980
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15911
15981
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15912
15982
|
}
|
|
15913
|
-
for (var $jscomp$iter$
|
|
15914
|
-
for (var $jscomp$destructuring$
|
|
15915
|
-
$jscomp$iter$
|
|
15916
|
-
var $jscomp$destructuring$
|
|
15983
|
+
for (var $jscomp$iter$39 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$4$ = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$4$.done; $jscomp$key$m1412690177$4$ = $jscomp$iter$39.next()) {
|
|
15984
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$4$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$38 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$3$ = $jscomp$iter$38.next(); !$jscomp$key$m1412690177$3$.done; $jscomp$key$m1412690177$3$ =
|
|
15985
|
+
$jscomp$iter$38.next()) {
|
|
15986
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$3$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
15917
15987
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15918
15988
|
}
|
|
15919
15989
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15922,8 +15992,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15922
15992
|
return this;
|
|
15923
15993
|
};
|
|
15924
15994
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15925
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$
|
|
15926
|
-
var attribute = $jscomp$key$
|
|
15995
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$40 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$5$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$5$attribute.done; $jscomp$key$m1412690177$5$attribute = $jscomp$iter$40.next()) {
|
|
15996
|
+
var attribute = $jscomp$key$m1412690177$5$attribute.value;
|
|
15927
15997
|
if (attribute.indexOf("data-") !== 0) {
|
|
15928
15998
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15929
15999
|
}
|
|
@@ -15956,12 +16026,16 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15956
16026
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
15957
16027
|
return this;
|
|
15958
16028
|
};
|
|
16029
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.withResourceUrlPolicy = function(resourceUrlPolicy) {
|
|
16030
|
+
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16031
|
+
return this;
|
|
16032
|
+
};
|
|
15959
16033
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.build = function() {
|
|
15960
16034
|
if (this.calledBuild) {
|
|
15961
16035
|
throw Error("this sanitizer has already called build");
|
|
15962
16036
|
}
|
|
15963
16037
|
this.calledBuild = !0;
|
|
15964
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken);
|
|
16038
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, void 0, void 0, this.resourceUrlPolicy);
|
|
15965
16039
|
};
|
|
15966
16040
|
var module$exports$safevalues$builders$resource_url_builders = {}, module$contents$safevalues$builders$resource_url_builders_module = module$contents$safevalues$builders$resource_url_builders_module || {id:"third_party/javascript/safevalues/builders/resource_url_builders.closure.js"}, module$contents$safevalues$builders$resource_url_builders_Primitive;
|
|
15967
16041
|
function module$contents$safevalues$builders$resource_url_builders_hasValidOrigin(base) {
|
|
@@ -16174,12 +16248,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16174
16248
|
}
|
|
16175
16249
|
try {
|
|
16176
16250
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16177
|
-
} catch ($jscomp$unused$catch$
|
|
16251
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
16178
16252
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16179
16253
|
}
|
|
16180
16254
|
try {
|
|
16181
16255
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16182
|
-
} catch ($jscomp$unused$catch$
|
|
16256
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
16183
16257
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16184
16258
|
}
|
|
16185
16259
|
return !1;
|
|
@@ -17465,7 +17539,7 @@ function module$contents$goog$debug$asyncStackTag_wrap(fn, name) {
|
|
|
17465
17539
|
function wrappedFn() {
|
|
17466
17540
|
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this$1621498202$4 = this;
|
|
17467
17541
|
return consoleTask.run(function() {
|
|
17468
|
-
return fn.call.apply(fn, [$jscomp$this$1621498202$4].concat(
|
|
17542
|
+
return fn.call.apply(fn, [$jscomp$this$1621498202$4].concat((0,$jscomp.arrayFromIterable)(args)));
|
|
17469
17543
|
});
|
|
17470
17544
|
}
|
|
17471
17545
|
name = name === void 0 ? "anonymous" : name;
|
|
@@ -17478,7 +17552,7 @@ function module$contents$goog$debug$asyncStackTag_wrap(fn, name) {
|
|
|
17478
17552
|
if (originalTest !== currentTest) {
|
|
17479
17553
|
throw Error(name + " was scheduled in '" + originalTest + "' but called in '" + currentTest + "'.\nMake sure your test awaits all async calls.\n\nTIP: To help investigate, debug the test in Chrome and look at the async portion\nof the call stack to see what originally scheduled the callback. Then, make the\ntest wait for the relevant asynchronous work to finish.");
|
|
17480
17554
|
}
|
|
17481
|
-
return originalFn.call.apply(originalFn, [this].concat(
|
|
17555
|
+
return originalFn.call.apply(originalFn, [this].concat((0,$jscomp.arrayFromIterable)(args)));
|
|
17482
17556
|
};
|
|
17483
17557
|
if (!module$contents$goog$debug$asyncStackTag_createTask) {
|
|
17484
17558
|
return fn;
|
|
@@ -18739,7 +18813,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18739
18813
|
headers.set(key, opt_headers[key]);
|
|
18740
18814
|
}
|
|
18741
18815
|
} else if (typeof opt_headers.keys === "function" && typeof opt_headers.get === "function") {
|
|
18742
|
-
for (var $jscomp$iter$
|
|
18816
|
+
for (var $jscomp$iter$41 = (0,$jscomp.makeIterator)(opt_headers.keys()), $jscomp$key$m71669834$54$key = $jscomp$iter$41.next(); !$jscomp$key$m71669834$54$key.done; $jscomp$key$m71669834$54$key = $jscomp$iter$41.next()) {
|
|
18743
18817
|
var key$jscomp$0 = $jscomp$key$m71669834$54$key.value;
|
|
18744
18818
|
headers.set(key$jscomp$0, opt_headers.get(key$jscomp$0));
|
|
18745
18819
|
}
|
|
@@ -18751,8 +18825,8 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18751
18825
|
return goog.string.caseInsensitiveEquals(goog.net.XhrIo.CONTENT_TYPE_HEADER, header);
|
|
18752
18826
|
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
|
|
18753
18827
|
!module$contents$goog$array_contains(goog.net.XhrIo.METHODS_WITH_FORM_DATA, method) || contentTypeKey || contentIsFormData || headers.set(goog.net.XhrIo.CONTENT_TYPE_HEADER, goog.net.XhrIo.FORM_CONTENT_TYPE);
|
|
18754
|
-
for (var $jscomp$iter$
|
|
18755
|
-
var $jscomp$destructuring$
|
|
18828
|
+
for (var $jscomp$iter$42 = (0,$jscomp.makeIterator)(headers), $jscomp$key$m71669834$55$ = $jscomp$iter$42.next(); !$jscomp$key$m71669834$55$.done; $jscomp$key$m71669834$55$ = $jscomp$iter$42.next()) {
|
|
18829
|
+
var $jscomp$destructuring$var41 = (0,$jscomp.makeIterator)($jscomp$key$m71669834$55$.value), key$jscomp$1 = $jscomp$destructuring$var41.next().value, value = $jscomp$destructuring$var41.next().value;
|
|
18756
18830
|
this.xhr_.setRequestHeader(key$jscomp$1, value);
|
|
18757
18831
|
}
|
|
18758
18832
|
this.responseType_ && (this.xhr_.responseType = this.responseType_);
|
|
@@ -19064,7 +19138,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19064
19138
|
ee.apiclient = {};
|
|
19065
19139
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19066
19140
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19067
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19141
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.412";
|
|
19068
19142
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19069
19143
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19070
19144
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19196,21 +19270,21 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
|
|
|
19196
19270
|
return this;
|
|
19197
19271
|
};
|
|
19198
19272
|
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
|
|
19199
|
-
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$
|
|
19200
|
-
var $jscomp$destructuring$
|
|
19201
|
-
var id = $jscomp$destructuring$
|
|
19202
|
-
var $jscomp$destructuring$
|
|
19203
|
-
var partBody = $jscomp$destructuring$
|
|
19204
|
-
$jscomp$destructuring$
|
|
19273
|
+
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var42) {
|
|
19274
|
+
var $jscomp$destructuring$var43 = (0,$jscomp.makeIterator)($jscomp$destructuring$var42);
|
|
19275
|
+
var id = $jscomp$destructuring$var43.next().value;
|
|
19276
|
+
var $jscomp$destructuring$var44 = (0,$jscomp.makeIterator)($jscomp$destructuring$var43.next().value);
|
|
19277
|
+
var partBody = $jscomp$destructuring$var44.next().value;
|
|
19278
|
+
$jscomp$destructuring$var44.next();
|
|
19205
19279
|
return "--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <" + id + ">\r\n\r\n" + partBody + "\r\n";
|
|
19206
19280
|
}).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
|
|
19207
19281
|
var result = {};
|
|
19208
|
-
parts.forEach(function($jscomp$destructuring$
|
|
19209
|
-
var $jscomp$destructuring$
|
|
19210
|
-
var id = $jscomp$destructuring$
|
|
19211
|
-
var $jscomp$destructuring$
|
|
19212
|
-
$jscomp$destructuring$
|
|
19213
|
-
var ctor = $jscomp$destructuring$
|
|
19282
|
+
parts.forEach(function($jscomp$destructuring$var45) {
|
|
19283
|
+
var $jscomp$destructuring$var46 = (0,$jscomp.makeIterator)($jscomp$destructuring$var45);
|
|
19284
|
+
var id = $jscomp$destructuring$var46.next().value;
|
|
19285
|
+
var $jscomp$destructuring$var47 = (0,$jscomp.makeIterator)($jscomp$destructuring$var46.next().value);
|
|
19286
|
+
$jscomp$destructuring$var47.next();
|
|
19287
|
+
var ctor = $jscomp$destructuring$var47.next().value;
|
|
19214
19288
|
response[id] != null && (result[id] = module$contents$eeapiclient$domain_object_deserialize(ctor, response[id]));
|
|
19215
19289
|
});
|
|
19216
19290
|
return getResponse ? getResponse(result) : result;
|
|
@@ -19233,7 +19307,7 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
|
|
|
19233
19307
|
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
|
|
19234
19308
|
};
|
|
19235
19309
|
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
|
|
19236
|
-
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$
|
|
19310
|
+
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$43 = (0,$jscomp.makeIterator)(responseText.split("--" + boundary)), $jscomp$key$m1153655765$100$part = $jscomp$iter$43.next(); !$jscomp$key$m1153655765$100$part.done; $jscomp$key$m1153655765$100$part = $jscomp$iter$43.next()) {
|
|
19237
19311
|
var groups = $jscomp$key$m1153655765$100$part.value.split("\r\n\r\n");
|
|
19238
19312
|
if (!(groups.length < 3)) {
|
|
19239
19313
|
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");
|
|
@@ -19362,8 +19436,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19362
19436
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19363
19437
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19364
19438
|
method = method || "POST";
|
|
19365
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19366
|
-
version === "0.1.
|
|
19439
|
+
var headers = {"Content-Type":contentType}, version = "0.1.412";
|
|
19440
|
+
version === "0.1.412" && (version = "latest");
|
|
19367
19441
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19368
19442
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19369
19443
|
if (authToken != null) {
|
|
@@ -19496,8 +19570,8 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19496
19570
|
}
|
|
19497
19571
|
};
|
|
19498
19572
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
19499
|
-
for (var request = new goog.Uri.QueryData(), $jscomp$iter$
|
|
19500
|
-
var $jscomp$destructuring$
|
|
19573
|
+
for (var request = new goog.Uri.QueryData(), $jscomp$iter$44 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$101$ = $jscomp$iter$44.next(); !$jscomp$key$m1153655765$101$.done; $jscomp$key$m1153655765$101$ = $jscomp$iter$44.next()) {
|
|
19574
|
+
var $jscomp$destructuring$var49 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var49.next().value, item = $jscomp$destructuring$var49.next().value;
|
|
19501
19575
|
request.set(name, item);
|
|
19502
19576
|
}
|
|
19503
19577
|
return request;
|
|
@@ -19851,7 +19925,7 @@ ee.rpc_convert.algorithms = function(result) {
|
|
|
19851
19925
|
algorithm.deprecated && (internalAlgorithm.deprecated = algorithm.deprecationReason);
|
|
19852
19926
|
algorithm.sourceCodeUri && (internalAlgorithm.sourceCodeUri = algorithm.sourceCodeUri);
|
|
19853
19927
|
return internalAlgorithm;
|
|
19854
|
-
}, internalAlgorithms = {}, $jscomp$iter$
|
|
19928
|
+
}, internalAlgorithms = {}, $jscomp$iter$45 = (0,$jscomp.makeIterator)(result.algorithms || []), $jscomp$key$m29782521$48$algorithm = $jscomp$iter$45.next(); !$jscomp$key$m29782521$48$algorithm.done; $jscomp$key$m29782521$48$algorithm = $jscomp$iter$45.next()) {
|
|
19855
19929
|
var algorithm = $jscomp$key$m29782521$48$algorithm.value, name = algorithm.name.replace(/^algorithms\//, "");
|
|
19856
19930
|
internalAlgorithms[name] = convertAlgorithm(algorithm);
|
|
19857
19931
|
}
|
|
@@ -19976,10 +20050,10 @@ ee.rpc_convert.legacyPropertiesToAssetUpdate = function(legacyProperties) {
|
|
|
19976
20050
|
typeof value !== "string" && value !== null || properties.title != null || (properties.title = asNull(value) || value);
|
|
19977
20051
|
extractValue("system:description");
|
|
19978
20052
|
typeof value !== "string" && value !== null || properties.description != null || (properties.description = asNull(value) || value);
|
|
19979
|
-
Object.entries(properties).forEach(function($jscomp$destructuring$
|
|
19980
|
-
var $jscomp$destructuring$
|
|
19981
|
-
var key = $jscomp$destructuring$
|
|
19982
|
-
var value = $jscomp$destructuring$
|
|
20053
|
+
Object.entries(properties).forEach(function($jscomp$destructuring$var50) {
|
|
20054
|
+
var $jscomp$destructuring$var51 = (0,$jscomp.makeIterator)($jscomp$destructuring$var50);
|
|
20055
|
+
var key = $jscomp$destructuring$var51.next().value;
|
|
20056
|
+
var value = $jscomp$destructuring$var51.next().value;
|
|
19983
20057
|
properties[key] = asNull(value) || value;
|
|
19984
20058
|
});
|
|
19985
20059
|
asset.properties = properties;
|
|
@@ -20001,9 +20075,9 @@ ee.rpc_convert.getListToListAssets = function(param) {
|
|
|
20001
20075
|
param.bbox && (assetsRequest.region = ee.rpc_convert.boundingBoxToGeoJson(param.bbox));
|
|
20002
20076
|
param.region && (assetsRequest.region = param.region);
|
|
20003
20077
|
param.bbox && param.region && console.warn("Multiple request parameters converted to region");
|
|
20004
|
-
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$
|
|
20078
|
+
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$46 = (0,$jscomp.makeIterator)(Object.keys(param).filter(function(k) {
|
|
20005
20079
|
return !allKeys.includes(k);
|
|
20006
|
-
})), $jscomp$key$m29782521$49$key = $jscomp$iter$
|
|
20080
|
+
})), $jscomp$key$m29782521$49$key = $jscomp$iter$46.next(); !$jscomp$key$m29782521$49$key.done; $jscomp$key$m29782521$49$key = $jscomp$iter$46.next()) {
|
|
20007
20081
|
console.warn("Unrecognized key " + $jscomp$key$m29782521$49$key.value + " ignored");
|
|
20008
20082
|
}
|
|
20009
20083
|
return ee.rpc_convert.processListImagesParams(assetsRequest);
|
|
@@ -20107,7 +20181,7 @@ ee.rpc_convert.operationToProcessingResponse = function(operation) {
|
|
|
20107
20181
|
return result;
|
|
20108
20182
|
};
|
|
20109
20183
|
ee.rpc_convert.sourcePathsToUris = function(source) {
|
|
20110
|
-
return source.primaryPath ? [source.primaryPath].concat(
|
|
20184
|
+
return source.primaryPath ? [source.primaryPath].concat((0,$jscomp.arrayFromIterable)(source.additionalPaths || [])) : null;
|
|
20111
20185
|
};
|
|
20112
20186
|
ee.rpc_convert.toImageManifest = function(params) {
|
|
20113
20187
|
var convertImageSource = function(source) {
|
|
@@ -20227,7 +20301,7 @@ ee.rpc_convert.parseFilterParamsFromListImages_ = function(params) {
|
|
|
20227
20301
|
})) {
|
|
20228
20302
|
throw Error('Filter parameter "properties" must be an array of strings');
|
|
20229
20303
|
}
|
|
20230
|
-
for (var $jscomp$iter$
|
|
20304
|
+
for (var $jscomp$iter$47 = (0,$jscomp.makeIterator)(params.properties), $jscomp$key$m29782521$50$propertyQuery = $jscomp$iter$47.next(); !$jscomp$key$m29782521$50$propertyQuery.done; $jscomp$key$m29782521$50$propertyQuery = $jscomp$iter$47.next()) {
|
|
20231
20305
|
queryStrings.push($jscomp$key$m29782521$50$propertyQuery.value.trim().replace(/^(properties\.)?/, "properties."));
|
|
20232
20306
|
}
|
|
20233
20307
|
delete params.properties;
|
|
@@ -20564,8 +20638,8 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
|
|
|
20564
20638
|
if (!goog.isObject(object)) {
|
|
20565
20639
|
return object;
|
|
20566
20640
|
}
|
|
20567
|
-
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$
|
|
20568
|
-
var $jscomp$destructuring$
|
|
20641
|
+
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(isNode ? object.Serializable$values : object)), $jscomp$key$m759255156$28$ = $jscomp$iter$48.next(); !$jscomp$key$m759255156$28$.done; $jscomp$key$m759255156$28$ = $jscomp$iter$48.next()) {
|
|
20642
|
+
var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var53.next().value, val = $jscomp$destructuring$var53.next().value;
|
|
20569
20643
|
isNode ? val !== null && (ret[key] = key === "functionDefinitionValue" && val.body != null ? {argumentNames:val.argumentNames, body:walkObject(values[val.body])} : key === "functionInvocationValue" && val.functionReference != null ? {arguments:module$contents$goog$object_map(val.arguments, walkObject), functionReference:walkObject(values[val.functionReference])} : key === "constantValue" ? val === module$exports$eeapiclient$domain_object.NULL_VALUE ?
|
|
20570
20644
|
null : val : walkObject(val)) : ret[key] = walkObject(val);
|
|
20571
20645
|
}
|
|
@@ -20688,8 +20762,8 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20688
20762
|
return storeInSourceMap(value, optimized$jscomp$1);
|
|
20689
20763
|
}
|
|
20690
20764
|
if (value.dictionaryValue != null) {
|
|
20691
|
-
for (var values = {}, constantValues = {}, $jscomp$iter$
|
|
20692
|
-
var $jscomp$destructuring$
|
|
20765
|
+
for (var values = {}, constantValues = {}, $jscomp$iter$49 = (0,$jscomp.makeIterator)(Object.entries(value.dictionaryValue.values || {})), $jscomp$key$m759255156$29$ = $jscomp$iter$49.next(); !$jscomp$key$m759255156$29$.done; $jscomp$key$m759255156$29$ = $jscomp$iter$49.next()) {
|
|
20766
|
+
var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var55.next().value, v = $jscomp$destructuring$var55.next().value;
|
|
20693
20767
|
values[k] = this.optimizeValue(v, depth + 3);
|
|
20694
20768
|
constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
|
|
20695
20769
|
}
|
|
@@ -20700,7 +20774,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20700
20774
|
return storeInSourceMap(value, optimized$jscomp$2);
|
|
20701
20775
|
}
|
|
20702
20776
|
if (value.functionInvocationValue != null) {
|
|
20703
|
-
for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$
|
|
20777
|
+
for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$50 = (0,$jscomp.makeIterator)(Object.keys(inv.arguments || {})), $jscomp$key$m759255156$30$k = $jscomp$iter$50.next(); !$jscomp$key$m759255156$30$k.done; $jscomp$key$m759255156$30$k = $jscomp$iter$50.next()) {
|
|
20704
20778
|
var k$jscomp$0 = $jscomp$key$m759255156$30$k.value;
|
|
20705
20779
|
args[k$jscomp$0] = this.optimizeValue(inv.arguments[k$jscomp$0], depth + 3);
|
|
20706
20780
|
}
|
|
@@ -20976,9 +21050,9 @@ ee.rpc_convert_batch.buildRankByOneThingRule_ = function(ruleString) {
|
|
|
20976
21050
|
if (matches == null) {
|
|
20977
21051
|
throw Error("Ranking rule format is invalid. Each rule should be defined by a rule type and a direction (ASC or DESC), separated by a space. Valid rule types are: .geometryType, .minZoomLevel, or a feature property name.");
|
|
20978
21052
|
}
|
|
20979
|
-
var $jscomp$destructuring$
|
|
20980
|
-
$jscomp$destructuring$
|
|
20981
|
-
var ruleType = $jscomp$destructuring$
|
|
21053
|
+
var $jscomp$destructuring$var56 = (0,$jscomp.makeIterator)(matches);
|
|
21054
|
+
$jscomp$destructuring$var56.next();
|
|
21055
|
+
var ruleType = $jscomp$destructuring$var56.next().value, direction = $jscomp$destructuring$var56.next().value;
|
|
20982
21056
|
switch(direction.toUpperCase()) {
|
|
20983
21057
|
case "ASC":
|
|
20984
21058
|
rankByOneThingRule.direction = "ASCENDING";
|
|
@@ -21239,8 +21313,8 @@ ee.data.getDownloadId = function(params, opt_callback) {
|
|
|
21239
21313
|
}) && (params.bands = params.bands.map(function(band) {
|
|
21240
21314
|
return {id:band};
|
|
21241
21315
|
}));
|
|
21242
|
-
if (params.bands && params.bands.some(function($jscomp$destructuring$
|
|
21243
|
-
return $jscomp$destructuring$
|
|
21316
|
+
if (params.bands && params.bands.some(function($jscomp$destructuring$var57) {
|
|
21317
|
+
return $jscomp$destructuring$var57.id == null;
|
|
21244
21318
|
})) {
|
|
21245
21319
|
throw Error("Each band dictionary must have an id.");
|
|
21246
21320
|
}
|
|
@@ -21598,7 +21672,7 @@ ee.data.createAsset = function(value, opt_path, opt_force, opt_properties, opt_c
|
|
|
21598
21672
|
value.gcsLocation && !value.cloudStorageLocation && (value.cloudStorageLocation = value.gcsLocation, delete value.gcsLocation);
|
|
21599
21673
|
value.cloudStorageLocation && (value.cloudStorageLocation = new module$exports$eeapiclient$ee_api_client.CloudStorageLocation(value.cloudStorageLocation));
|
|
21600
21674
|
opt_properties && !value.properties && (value.properties = Object.assign({}, opt_properties));
|
|
21601
|
-
for (var $jscomp$iter$
|
|
21675
|
+
for (var $jscomp$iter$51 = (0,$jscomp.makeIterator)(["title", "description"]), $jscomp$key$m1075644492$123$prop = $jscomp$iter$51.next(); !$jscomp$key$m1075644492$123$prop.done; $jscomp$key$m1075644492$123$prop = $jscomp$iter$51.next()) {
|
|
21602
21676
|
var prop = $jscomp$key$m1075644492$123$prop.value;
|
|
21603
21677
|
if (value[prop]) {
|
|
21604
21678
|
var $jscomp$compprop17 = {};
|
|
@@ -22411,7 +22485,7 @@ ee.Geometry.BBox = function(west, south, east, north) {
|
|
|
22411
22485
|
var coordinates = [west, south, east, north];
|
|
22412
22486
|
if (ee.Geometry.hasServerValue_(coordinates)) {
|
|
22413
22487
|
var $jscomp$spread$args12;
|
|
22414
|
-
return ($jscomp$spread$args12 = new ee.ApiFunction("GeometryConstructors.BBox")).call.apply($jscomp$spread$args12,
|
|
22488
|
+
return ($jscomp$spread$args12 = new ee.ApiFunction("GeometryConstructors.BBox")).call.apply($jscomp$spread$args12, (0,$jscomp.arrayFromIterable)(coordinates));
|
|
22415
22489
|
}
|
|
22416
22490
|
if (!(west < Infinity)) {
|
|
22417
22491
|
throw Error("Geometry.BBox: west must not be " + west);
|
|
@@ -23871,8 +23945,8 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
|
|
|
23871
23945
|
})) {
|
|
23872
23946
|
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
23873
23947
|
}
|
|
23874
|
-
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$
|
|
23875
|
-
var $jscomp$destructuring$
|
|
23948
|
+
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$52 = (0,$jscomp.makeIterator)(Object.entries(formatOptions)), $jscomp$key$1827622838$35$ = $jscomp$iter$52.next(); !$jscomp$key$1827622838$35$.done; $jscomp$key$1827622838$35$ = $jscomp$iter$52.next()) {
|
|
23949
|
+
var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var60.next().value, value = $jscomp$destructuring$var60.next().value;
|
|
23876
23950
|
if (!module$contents$goog$array_contains(validOptionKeys, key)) {
|
|
23877
23951
|
var validKeysMsg = validOptionKeys.join(", ");
|
|
23878
23952
|
throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
|
|
@@ -26387,11 +26461,10 @@ goog.structs.PriorityPool.prototype.disposeInternal = function() {
|
|
|
26387
26461
|
this.requestQueue_.clear();
|
|
26388
26462
|
this.requestQueue_ = null;
|
|
26389
26463
|
};
|
|
26390
|
-
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler
|
|
26464
|
+
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler) {
|
|
26391
26465
|
module$exports$ee$layers$AbstractTileSource.call(this);
|
|
26392
26466
|
this.mapId_ = mapId;
|
|
26393
26467
|
this.profiler_ = opt_profiler || null;
|
|
26394
|
-
this.token_count_ = opt_parallelism || module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_;
|
|
26395
26468
|
};
|
|
26396
26469
|
$jscomp.inherits(module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource, module$exports$ee$layers$AbstractTileSource);
|
|
26397
26470
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.loadTile = function(tile, opt_priority) {
|
|
@@ -26414,6 +26487,9 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26414
26487
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getUniqueId = function() {
|
|
26415
26488
|
return this.mapId_.mapid + "-" + this.mapId_.token;
|
|
26416
26489
|
};
|
|
26490
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.setGlobalParallelism = function(parallelism) {
|
|
26491
|
+
this.getGlobalTokenPool_().setMaximumCount(parallelism);
|
|
26492
|
+
};
|
|
26417
26493
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.handleAvailableToken_ = function(tile, token) {
|
|
26418
26494
|
var tokenPool = this.getGlobalTokenPool_();
|
|
26419
26495
|
if (tile.isDisposed() || tile.getStatus() == ee.layers.AbstractTile.Status.ABORTED) {
|
|
@@ -26430,7 +26506,7 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26430
26506
|
return this.profiler_ && this.profiler_.isEnabled() ? url + "&profiling=1" : url;
|
|
26431
26507
|
};
|
|
26432
26508
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getGlobalTokenPool_ = function() {
|
|
26433
|
-
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new goog.structs.PriorityPool(0,
|
|
26509
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new goog.structs.PriorityPool(0, module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_));
|
|
26434
26510
|
return module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_;
|
|
26435
26511
|
};
|
|
26436
26512
|
goog.exportSymbol("ee.layers.EarthEngineTileSource", module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource);
|
|
@@ -26890,29 +26966,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26890
26966
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26891
26967
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26892
26968
|
(function() {
|
|
26893
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.
|
|
26894
|
-
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description
|
|
26895
|
-
"image opt_description
|
|
26896
|
-
"collection opt_description
|
|
26897
|
-
"collection opt_description
|
|
26898
|
-
["
|
|
26899
|
-
|
|
26900
|
-
["
|
|
26901
|
-
|
|
26902
|
-
["
|
|
26903
|
-
"
|
|
26904
|
-
|
|
26905
|
-
["
|
|
26906
|
-
["
|
|
26907
|
-
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.
|
|
26908
|
-
module$contents$ee$batch_Export.
|
|
26909
|
-
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.
|
|
26910
|
-
ee.data.
|
|
26911
|
-
ee.data.
|
|
26912
|
-
ee.
|
|
26913
|
-
ee.Filter.
|
|
26914
|
-
ee.Image.prototype.
|
|
26915
|
-
ee.ImageCollection.prototype.
|
|
26969
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.image.toDrive 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.batch.Export.video.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.filter ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.authenticateViaPopup ee.data.makeDownloadUrl ee.data.getFeatureViewTilesKey ee.data.listImages ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.getDownloadId ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.createAssetHome ee.data.newTaskId ee.data.createAsset ee.data.computeValue ee.data.setWorkloadTag ee.data.getInfo ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.resetWorkloadTag ee.data.getTaskStatus ee.data.updateAsset ee.data.updateTask ee.data.getFilmstripThumbId ee.data.getList ee.data.startIngestion ee.data.createFolder ee.data.startProcessing ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.getMapId ee.data.renameAsset ee.data.listAssets ee.data.authenticate ee.data.getTaskList ee.data.getTableDownloadId ee.data.setAssetProperties ee.data.copyAsset ee.data.getTileUrl ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.deleteAsset ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.cancelOperation ee.data.listOperations ee.Date ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Dictionary ee.call ee.initialize ee.reset ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.Filter.and ee.Filter.prototype.not ee.Filter.neq ee.Filter.lt ee.Filter.gt ee.Filter.inList ee.Filter.or ee.Filter.gte ee.Filter.lte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry.MultiPolygon ee.Geometry.Rectangle ee.Geometry ee.Geometry.BBox ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.Polygon ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.prototype.clip ee.Image ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.getThumbURL ee.Image.rgb ee.Image.cat ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getMapId ee.ImageCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
26970
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "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(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
26971
|
+
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize 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_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(" "),
|
|
26972
|
+
"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(" "), "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(" "),
|
|
26973
|
+
"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(" "), ["algorithm", "opt_dropNulls"],
|
|
26974
|
+
["algorithm", "opt_first"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["start", "opt_end"], ["filter"], ["opt_callback"], ["legacy"], ["func", "var_args"], ["callback"], ["opt_success", "opt_error"], ["id"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "opt_callback"], [], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"], ["id", "opt_callback"], ["privateKey",
|
|
26975
|
+
"opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["obj", "opt_callback"], ["tag"], ["id", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"],
|
|
26976
|
+
["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "params", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["clientId", "success",
|
|
26977
|
+
"opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_callback"], ["params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["id", "x", "y", "z"], ["project", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["taskId", "request", "opt_callback"], ["rootId", "opt_callback"], ["operationName", "opt_callback"], ["opt_limit", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"],
|
|
26978
|
+
["json"], ["json"], ["opt_dict"], ["func", "var_args"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], [], [], ["func", "namedArgs"], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename",
|
|
26979
|
+
"opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["var_args"], [], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], ["name", "value"], ["name", "value"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj",
|
|
26980
|
+
"opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params",
|
|
26981
|
+
"opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["geometry"], ["opt_args"], ["expression", "opt_map"], ["var_args"], ["params", "opt_callback"], ["r", "g", "b"], ["var_args"], ["opt_callback"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["opt_visParams", "opt_callback"], ["args"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["list"],
|
|
26982
|
+
["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26983
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toCloudStorage, 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, module$contents$ee$batch_Export.video.toCloudStorage,
|
|
26984
|
+
module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterDate, ee.Collection.prototype.filter, ee.ComputedObject.prototype.getInfo,
|
|
26985
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.data.authenticateViaPopup, ee.data.makeDownloadUrl, ee.data.getFeatureViewTilesKey, ee.data.listImages, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.getDownloadId, ee.data.listFeatures, ee.data.getAssetRoots, ee.data.getAsset, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.createAssetHome, ee.data.newTaskId, ee.data.createAsset, ee.data.computeValue, ee.data.setWorkloadTag,
|
|
26986
|
+
ee.data.getInfo, ee.data.getThumbId, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getVideoThumbId, ee.data.resetWorkloadTag, ee.data.getTaskStatus, ee.data.updateAsset, ee.data.updateTask, ee.data.getFilmstripThumbId, ee.data.getList, ee.data.startIngestion, ee.data.createFolder, ee.data.startProcessing, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.setAssetAcl, ee.data.getMapId, ee.data.renameAsset, ee.data.listAssets, ee.data.authenticate, ee.data.getTaskList, ee.data.getTableDownloadId,
|
|
26987
|
+
ee.data.setAssetProperties, ee.data.copyAsset, ee.data.getTileUrl, ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.deleteAsset, ee.data.startTableIngestion, ee.data.getAssetRootQuota, ee.data.cancelOperation, ee.data.listOperations, ee.Date, ee.Deserializer.decode, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Dictionary, ee.call, ee.initialize, ee.reset, ee.Algorithms, ee.InitState, ee.apply, ee.TILE_SIZE,
|
|
26988
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getMapId, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.Filter.and, ee.Filter.prototype.not, ee.Filter.neq, ee.Filter.lt, ee.Filter.gt, ee.Filter.inList, ee.Filter.or, ee.Filter.gte,
|
|
26989
|
+
ee.Filter.lte, ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry.MultiPolygon, ee.Geometry.Rectangle, ee.Geometry, ee.Geometry.BBox, ee.Geometry.Point, ee.Geometry.prototype.serialize, ee.Geometry.Polygon, ee.Image.prototype.getInfo,
|
|
26990
|
+
ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getMap, ee.Image.prototype.getThumbId, ee.Image.prototype.select, ee.Image.prototype.clip, ee.Image, ee.Image.prototype.expression, ee.Image.prototype.rename, ee.Image.prototype.getThumbURL, ee.Image.rgb, ee.Image.cat, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getMapId, ee.ImageCollection,
|
|
26991
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.List, ee.Number, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26916
26992
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26917
26993
|
});
|
|
26918
26994
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|