@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/main.js
CHANGED
|
@@ -1428,8 +1428,8 @@ goog.loadModule = function(moduleDef) {
|
|
|
1428
1428
|
goog.moduleLoaderState_ = previousState;
|
|
1429
1429
|
}
|
|
1430
1430
|
};
|
|
1431
|
-
goog.loadModuleFromSource_ = function(exports
|
|
1432
|
-
eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(
|
|
1431
|
+
goog.loadModuleFromSource_ = function(exports) {
|
|
1432
|
+
eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(arguments[1]));
|
|
1433
1433
|
return exports;
|
|
1434
1434
|
};
|
|
1435
1435
|
goog.normalizePath_ = function(path) {
|
|
@@ -2115,9 +2115,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2115
2115
|
};
|
|
2116
2116
|
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;
|
|
2117
2117
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2118
|
-
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 =
|
|
2119
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2120
|
-
var key = $jscomp$key$
|
|
2118
|
+
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 =
|
|
2119
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2120
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2121
2121
|
if (value != null) {
|
|
2122
2122
|
var copy = void 0;
|
|
2123
2123
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2128,11 +2128,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2128
2128
|
} else if (objects.hasOwnProperty(key)) {
|
|
2129
2129
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2130
2130
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2131
|
-
$jscomp$loop$
|
|
2131
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2132
2132
|
return function(v) {
|
|
2133
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2133
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2134
2134
|
};
|
|
2135
|
-
}($jscomp$loop$
|
|
2135
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2136
2136
|
} else if (Array.isArray(value)) {
|
|
2137
2137
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2138
2138
|
continue;
|
|
@@ -2147,8 +2147,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2147
2147
|
return target;
|
|
2148
2148
|
}
|
|
2149
2149
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2150
|
-
for (var objMap = {}, $jscomp$iter$20 =
|
|
2151
|
-
var mapKey = $jscomp$key$
|
|
2150
|
+
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()) {
|
|
2151
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2152
2152
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2153
2153
|
}
|
|
2154
2154
|
return objMap;
|
|
@@ -2178,39 +2178,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2178
2178
|
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))) {
|
|
2179
2179
|
return !1;
|
|
2180
2180
|
}
|
|
2181
|
-
for (var $jscomp$iter$21 =
|
|
2182
|
-
var key = $jscomp$key$
|
|
2181
|
+
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()) {
|
|
2182
|
+
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);
|
|
2183
2183
|
if (has1 !== has2) {
|
|
2184
2184
|
return !1;
|
|
2185
2185
|
}
|
|
2186
2186
|
if (has1) {
|
|
2187
2187
|
var value1 = serializable1.Serializable$get(key);
|
|
2188
|
-
$jscomp$loop$
|
|
2188
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2189
2189
|
if (arrays1.hasOwnProperty(key)) {
|
|
2190
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2190
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2191
2191
|
return !1;
|
|
2192
2192
|
}
|
|
2193
2193
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2194
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2194
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2195
2195
|
return !1;
|
|
2196
2196
|
}
|
|
2197
2197
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2198
|
-
if ($jscomp$loop$
|
|
2199
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2198
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2199
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2200
2200
|
return function(v1, i) {
|
|
2201
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2201
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2202
2202
|
};
|
|
2203
|
-
}($jscomp$loop$
|
|
2203
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2204
2204
|
return !1;
|
|
2205
2205
|
}
|
|
2206
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2206
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2207
2207
|
return !1;
|
|
2208
2208
|
}
|
|
2209
2209
|
} else if (Array.isArray(value1)) {
|
|
2210
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2210
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2211
2211
|
return !1;
|
|
2212
2212
|
}
|
|
2213
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2213
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2214
2214
|
return !1;
|
|
2215
2215
|
}
|
|
2216
2216
|
}
|
|
@@ -2232,8 +2232,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2232
2232
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2233
2233
|
return !1;
|
|
2234
2234
|
}
|
|
2235
|
-
for (var $jscomp$iter$22 =
|
|
2236
|
-
var mapKey = $jscomp$key$
|
|
2235
|
+
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()) {
|
|
2236
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2237
2237
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2238
2238
|
return !1;
|
|
2239
2239
|
}
|
|
@@ -2314,15 +2314,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2314
2314
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2315
2315
|
};
|
|
2316
2316
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2317
|
-
var $jscomp$this$
|
|
2317
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2318
2318
|
payload += this._metadataPayload;
|
|
2319
2319
|
return Promise.all(this.files.map(function(f) {
|
|
2320
|
-
return $jscomp$this$
|
|
2320
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2321
2321
|
})).then(function(filePayloads) {
|
|
2322
|
-
for (var $jscomp$iter$23 =
|
|
2323
|
-
payload += $jscomp$key$
|
|
2322
|
+
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()) {
|
|
2323
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2324
2324
|
}
|
|
2325
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2325
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2326
2326
|
});
|
|
2327
2327
|
};
|
|
2328
2328
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2972,8 +2972,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2972
2972
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
2973
2973
|
}
|
|
2974
2974
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2975
|
-
var $jscomp$templatelit$
|
|
2976
|
-
["\\0"]), $jscomp$templatelit$
|
|
2975
|
+
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"],
|
|
2976
|
+
["\\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"};
|
|
2977
2977
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2978
2978
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2979
2979
|
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 ##############################");
|
|
@@ -2987,14 +2987,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2987
2987
|
return fn.toString().indexOf("`") === -1;
|
|
2988
2988
|
}
|
|
2989
2989
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2990
|
-
return tag($jscomp$templatelit$
|
|
2990
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2991
2991
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2992
|
-
return tag($jscomp$templatelit$
|
|
2992
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2993
2993
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2994
|
-
return tag($jscomp$templatelit$
|
|
2994
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2995
2995
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2996
|
-
return tag($jscomp$templatelit$
|
|
2997
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2996
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2997
|
+
}), 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);
|
|
2998
2998
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2999
2999
|
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)) ?
|
|
3000
3000
|
!0 : !1;
|
|
@@ -4330,7 +4330,7 @@ module$exports$safevalues$dom$elements$element.insertAdjacentHtml = function(ele
|
|
|
4330
4330
|
element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
|
|
4331
4331
|
};
|
|
4332
4332
|
module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = function(prefix) {
|
|
4333
|
-
var prefixes = [prefix].concat(
|
|
4333
|
+
var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
|
|
4334
4334
|
return function(e, attr, value) {
|
|
4335
4335
|
module$contents$safevalues$dom$elements$element_setPrefixedAttribute(prefixes, e, attr, value);
|
|
4336
4336
|
};
|
|
@@ -4404,9 +4404,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
4404
4404
|
}
|
|
4405
4405
|
}
|
|
4406
4406
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
4407
|
-
var $jscomp$tmp$error$
|
|
4408
|
-
this.message = $jscomp$tmp$error$
|
|
4409
|
-
"stack" in $jscomp$tmp$error$
|
|
4407
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
4408
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
4409
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
4410
4410
|
this.type = type;
|
|
4411
4411
|
this.intent = intent;
|
|
4412
4412
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -4483,19 +4483,20 @@ module$exports$safevalues$dom$elements$input.setFormaction = function(input, url
|
|
|
4483
4483
|
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(" ");
|
|
4484
4484
|
module$exports$safevalues$dom$elements$link.setHrefAndRel = function(link, url, rel) {
|
|
4485
4485
|
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
4486
|
-
|
|
4486
|
+
module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel);
|
|
4487
4487
|
} else {
|
|
4488
4488
|
if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
|
|
4489
4489
|
throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
|
|
4490
4490
|
}
|
|
4491
4491
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4492
|
-
|
|
4493
|
-
return;
|
|
4494
|
-
}
|
|
4495
|
-
link.href = sanitizedUrl;
|
|
4492
|
+
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
4496
4493
|
}
|
|
4497
|
-
link.rel = rel;
|
|
4498
4494
|
};
|
|
4495
|
+
function module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel) {
|
|
4496
|
+
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
4497
|
+
link.rel = rel;
|
|
4498
|
+
}
|
|
4499
|
+
module$exports$safevalues$dom$elements$link.setHrefAndRelWithTrustedResourceUrl = module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl;
|
|
4499
4500
|
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"};
|
|
4500
4501
|
module$exports$safevalues$dom$elements$object.setData = function(obj, v) {
|
|
4501
4502
|
obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
@@ -4512,7 +4513,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
4512
4513
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
4513
4514
|
};
|
|
4514
4515
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
4515
|
-
var $jscomp$optchain$
|
|
4516
|
+
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]");
|
|
4516
4517
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
4517
4518
|
}
|
|
4518
4519
|
;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;
|
|
@@ -5179,9 +5180,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
5179
5180
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
5180
5181
|
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"};
|
|
5181
5182
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
5182
|
-
var $jscomp$tmp$error$
|
|
5183
|
-
this.message = $jscomp$tmp$error$
|
|
5184
|
-
"stack" in $jscomp$tmp$error$
|
|
5183
|
+
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.");
|
|
5184
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
5185
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
5185
5186
|
this.url = url;
|
|
5186
5187
|
this.typeName = typeName;
|
|
5187
5188
|
this.contentType = contentType;
|
|
@@ -5193,48 +5194,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
5193
5194
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
5194
5195
|
}
|
|
5195
5196
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
5196
|
-
var response, $jscomp$optchain$
|
|
5197
|
-
return
|
|
5198
|
-
if ($jscomp$generator$context$
|
|
5199
|
-
return $jscomp$generator$context$
|
|
5200
|
-
}
|
|
5201
|
-
response = $jscomp$generator$context$
|
|
5202
|
-
mimeType = ($jscomp$optchain$
|
|
5203
|
-
return $jscomp$generator$context$
|
|
5197
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
5198
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
5199
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
5200
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
5201
|
+
}
|
|
5202
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
5203
|
+
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();
|
|
5204
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
5204
5205
|
var text;
|
|
5205
|
-
return
|
|
5206
|
-
if ($jscomp$generator$context$
|
|
5206
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
5207
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
5207
5208
|
if (mimeType !== "text/html") {
|
|
5208
5209
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
5209
5210
|
}
|
|
5210
|
-
return $jscomp$generator$context$
|
|
5211
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
5211
5212
|
}
|
|
5212
|
-
text = $jscomp$generator$context$
|
|
5213
|
-
return $jscomp$generator$context$
|
|
5213
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
5214
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
5214
5215
|
});
|
|
5215
5216
|
}, script:function() {
|
|
5216
5217
|
var text;
|
|
5217
|
-
return
|
|
5218
|
-
if ($jscomp$generator$context$
|
|
5218
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
5219
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
5219
5220
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
5220
5221
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
5221
5222
|
}
|
|
5222
|
-
return $jscomp$generator$context$
|
|
5223
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
5223
5224
|
}
|
|
5224
|
-
text = $jscomp$generator$context$
|
|
5225
|
-
return $jscomp$generator$context$
|
|
5225
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
5226
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
5226
5227
|
});
|
|
5227
5228
|
}, styleSheet:function() {
|
|
5228
5229
|
var text;
|
|
5229
|
-
return
|
|
5230
|
-
if ($jscomp$generator$context$
|
|
5230
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
5231
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
5231
5232
|
if (mimeType !== "text/css") {
|
|
5232
5233
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
5233
5234
|
}
|
|
5234
|
-
return $jscomp$generator$context$
|
|
5235
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
5235
5236
|
}
|
|
5236
|
-
text = $jscomp$generator$context$
|
|
5237
|
-
return $jscomp$generator$context$
|
|
5237
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
5238
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
5238
5239
|
});
|
|
5239
5240
|
}});
|
|
5240
5241
|
});
|
|
@@ -5282,7 +5283,7 @@ module$exports$safevalues$dom$globals$worker.createShared = function(url, option
|
|
|
5282
5283
|
return new SharedWorker(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url), options);
|
|
5283
5284
|
};
|
|
5284
5285
|
module$exports$safevalues$dom$globals$worker.importScripts = function(scope) {
|
|
5285
|
-
scope.importScripts.apply(scope,
|
|
5286
|
+
scope.importScripts.apply(scope, (0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments).map(function(url) {
|
|
5286
5287
|
return module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
5287
5288
|
})));
|
|
5288
5289
|
};
|
|
@@ -5756,15 +5757,15 @@ module$contents$goog$collections$maps_MapLike.prototype.has = function(key) {
|
|
|
5756
5757
|
goog.collections.maps.MapLike = module$contents$goog$collections$maps_MapLike;
|
|
5757
5758
|
goog.collections.maps.setAll = function(map, entries) {
|
|
5758
5759
|
if (entries) {
|
|
5759
|
-
for (var $jscomp$iter$24 =
|
|
5760
|
-
var $jscomp$destructuring$var1 =
|
|
5760
|
+
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()) {
|
|
5761
|
+
var $jscomp$destructuring$var1 = (0,$jscomp.makeIterator)($jscomp$key$1866876209$13$.value), k = $jscomp$destructuring$var1.next().value, v = $jscomp$destructuring$var1.next().value;
|
|
5761
5762
|
map.set(k, v);
|
|
5762
5763
|
}
|
|
5763
5764
|
}
|
|
5764
5765
|
};
|
|
5765
5766
|
goog.collections.maps.hasValue = function(map, val, valueEqualityFn) {
|
|
5766
5767
|
valueEqualityFn = valueEqualityFn === void 0 ? module$contents$goog$collections$maps_defaultEqualityFn : valueEqualityFn;
|
|
5767
|
-
for (var $jscomp$iter$25 =
|
|
5768
|
+
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()) {
|
|
5768
5769
|
if (valueEqualityFn($jscomp$key$1866876209$14$v.value, val)) {
|
|
5769
5770
|
return !0;
|
|
5770
5771
|
}
|
|
@@ -5782,7 +5783,7 @@ goog.collections.maps.equals = function(map, otherMap, valueEqualityFn) {
|
|
|
5782
5783
|
if (map.size !== otherMap.size) {
|
|
5783
5784
|
return !1;
|
|
5784
5785
|
}
|
|
5785
|
-
for (var $jscomp$iter$26 =
|
|
5786
|
+
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()) {
|
|
5786
5787
|
var key = $jscomp$key$1866876209$15$key.value;
|
|
5787
5788
|
if (!otherMap.has(key) || !valueEqualityFn(map.get(key), otherMap.get(key))) {
|
|
5788
5789
|
return !1;
|
|
@@ -5791,14 +5792,14 @@ goog.collections.maps.equals = function(map, otherMap, valueEqualityFn) {
|
|
|
5791
5792
|
return !0;
|
|
5792
5793
|
};
|
|
5793
5794
|
goog.collections.maps.transpose = function(map) {
|
|
5794
|
-
for (var transposed = new Map(), $jscomp$iter$27 =
|
|
5795
|
+
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()) {
|
|
5795
5796
|
var key = $jscomp$key$1866876209$16$key.value, val = map.get(key);
|
|
5796
5797
|
transposed.set(val, key);
|
|
5797
5798
|
}
|
|
5798
5799
|
return transposed;
|
|
5799
5800
|
};
|
|
5800
5801
|
goog.collections.maps.toObject = function(map) {
|
|
5801
|
-
for (var obj = {}, $jscomp$iter$28 =
|
|
5802
|
+
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()) {
|
|
5802
5803
|
var key = $jscomp$key$1866876209$17$key.value;
|
|
5803
5804
|
obj[key] = map.get(key);
|
|
5804
5805
|
}
|
|
@@ -6656,8 +6657,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6656
6657
|
}
|
|
6657
6658
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6658
6659
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6659
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 =
|
|
6660
|
-
var $jscomp$destructuring$var3 =
|
|
6660
|
+
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()) {
|
|
6661
|
+
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;
|
|
6661
6662
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6662
6663
|
}
|
|
6663
6664
|
return urlQueryParams;
|
|
@@ -6668,8 +6669,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6668
6669
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6669
6670
|
if (params.headers) {
|
|
6670
6671
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6671
|
-
for (var $jscomp$iter$30 =
|
|
6672
|
-
var $jscomp$destructuring$var5 =
|
|
6672
|
+
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()) {
|
|
6673
|
+
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;
|
|
6673
6674
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6674
6675
|
}
|
|
6675
6676
|
}
|
|
@@ -6709,9 +6710,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6709
6710
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6710
6711
|
};
|
|
6711
6712
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6712
|
-
var $jscomp$this$
|
|
6713
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6713
6714
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6714
|
-
return $jscomp$this$
|
|
6715
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6715
6716
|
}));
|
|
6716
6717
|
};
|
|
6717
6718
|
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"};
|
|
@@ -6773,6 +6774,9 @@ goog.Disposable.prototype.dispose = function() {
|
|
|
6773
6774
|
delete goog.Disposable.instances_[uid];
|
|
6774
6775
|
}
|
|
6775
6776
|
};
|
|
6777
|
+
goog.Disposable.prototype[Symbol.dispose] = function() {
|
|
6778
|
+
this.dispose();
|
|
6779
|
+
};
|
|
6776
6780
|
goog.Disposable.prototype.registerDisposable = function(disposable) {
|
|
6777
6781
|
this.addOnDisposeCallback(goog.partial(module$contents$goog$dispose_dispose, disposable));
|
|
6778
6782
|
};
|
|
@@ -6886,8 +6890,8 @@ goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2eto
|
|
|
6886
6890
|
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);
|
|
6887
6891
|
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,
|
|
6888
6892
|
module$contents$goog$flags_STAGING);
|
|
6889
|
-
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,
|
|
6890
|
-
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,
|
|
6893
|
+
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);
|
|
6894
|
+
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);
|
|
6891
6895
|
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,
|
|
6892
6896
|
module$contents$goog$flags_STAGING);
|
|
6893
6897
|
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);
|
|
@@ -6983,7 +6987,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
6983
6987
|
};
|
|
6984
6988
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.load = function() {
|
|
6985
6989
|
var $jscomp$async$this$m2110036436$9 = this, userAgentData;
|
|
6986
|
-
return
|
|
6990
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m2110036436$35) {
|
|
6987
6991
|
if ($jscomp$generator$context$m2110036436$35.nextAddress == 1) {
|
|
6988
6992
|
userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
|
|
6989
6993
|
if (!userAgentData) {
|
|
@@ -6991,7 +6995,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
6991
6995
|
}
|
|
6992
6996
|
$jscomp$async$this$m2110036436$9.promise_ || ($jscomp$async$this$m2110036436$9.pending_ = !0, $jscomp$async$this$m2110036436$9.promise_ = function() {
|
|
6993
6997
|
var dataValues;
|
|
6994
|
-
return
|
|
6998
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m2110036436$34) {
|
|
6995
6999
|
if ($jscomp$generator$context$m2110036436$34.nextAddress == 1) {
|
|
6996
7000
|
return $jscomp$generator$context$m2110036436$34.setFinallyBlock(2), $jscomp$generator$context$m2110036436$34.yield(userAgentData.getHighEntropyValues([$jscomp$async$this$m2110036436$9.key_]), 4);
|
|
6997
7001
|
}
|
|
@@ -7254,7 +7258,7 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.ge
|
|
|
7254
7258
|
};
|
|
7255
7259
|
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.load = function() {
|
|
7256
7260
|
var $jscomp$async$this$1683157560$59 = this, loadedVersionList, matchingBrand;
|
|
7257
|
-
return
|
|
7261
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1683157560$106) {
|
|
7258
7262
|
if ($jscomp$generator$context$1683157560$106.nextAddress == 1) {
|
|
7259
7263
|
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);
|
|
7260
7264
|
}
|
|
@@ -7269,7 +7273,7 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.lo
|
|
|
7269
7273
|
};
|
|
7270
7274
|
var module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
|
|
7271
7275
|
goog.labs.userAgent.browser.loadFullVersions = function() {
|
|
7272
|
-
return
|
|
7276
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1683157560$107) {
|
|
7273
7277
|
if ($jscomp$generator$context$1683157560$107.nextAddress == 1) {
|
|
7274
7278
|
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);
|
|
7275
7279
|
}
|
|
@@ -7455,7 +7459,7 @@ module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.getIfLoad
|
|
|
7455
7459
|
};
|
|
7456
7460
|
module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.load = function() {
|
|
7457
7461
|
var $jscomp$async$this$m1628565157$33 = this, JSCompiler_temp_const;
|
|
7458
|
-
return
|
|
7462
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m1628565157$37) {
|
|
7459
7463
|
if ($jscomp$generator$context$m1628565157$37.nextAddress == 1) {
|
|
7460
7464
|
if (!module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)) {
|
|
7461
7465
|
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()));
|
|
@@ -15543,8 +15547,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15543
15547
|
this.replacements = new Map();
|
|
15544
15548
|
};
|
|
15545
15549
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15546
|
-
var $jscomp$this$
|
|
15547
|
-
return $jscomp$this$
|
|
15550
|
+
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) {
|
|
15551
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15548
15552
|
});
|
|
15549
15553
|
if (openedTags.length !== 0) {
|
|
15550
15554
|
if (goog.DEBUG) {
|
|
@@ -15632,6 +15636,23 @@ function module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement
|
|
|
15632
15636
|
return nodeType === 1 || typeof nodeType !== "number";
|
|
15633
15637
|
}
|
|
15634
15638
|
module$exports$safevalues$builders$html_sanitizer$no_clobber.isElement = module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement;
|
|
15639
|
+
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"};
|
|
15640
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType = {STYLE_TAG:0, STYLE_ATTRIBUTE:1, HTML_ATTRIBUTE:2};
|
|
15641
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_TAG] = "STYLE_TAG";
|
|
15642
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ATTRIBUTE] = "STYLE_ATTRIBUTE";
|
|
15643
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE] = "HTML_ATTRIBUTE";
|
|
15644
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_StyleTagOrAttributeResourceUrlPolicyHints() {
|
|
15645
|
+
}
|
|
15646
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_HtmlAttributeResourceUrlPolicyHints() {
|
|
15647
|
+
}
|
|
15648
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value) {
|
|
15649
|
+
try {
|
|
15650
|
+
return new URL(value, window.document.baseURI);
|
|
15651
|
+
} catch (e) {
|
|
15652
|
+
return new URL("about:invalid");
|
|
15653
|
+
}
|
|
15654
|
+
}
|
|
15655
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl;
|
|
15635
15656
|
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"};
|
|
15636
15657
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable = function(allowedElements, elementPolicies, allowedGlobalAttributes, globalAttributePolicies, globallyAllowedAttributePrefixes) {
|
|
15637
15658
|
this.allowedElements = allowedElements;
|
|
@@ -15652,16 +15673,18 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
15652
15673
|
return {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP};
|
|
15653
15674
|
}
|
|
15654
15675
|
var globalPolicy = this.globalAttributePolicies.get(attributeName);
|
|
15655
|
-
return globalPolicy ? globalPolicy : this.globallyAllowedAttributePrefixes && [].concat(
|
|
15676
|
+
return globalPolicy ? globalPolicy : this.globallyAllowedAttributePrefixes && [].concat((0,$jscomp.arrayFromIterable)(this.globallyAllowedAttributePrefixes)).some(function(prefix) {
|
|
15656
15677
|
return attributeName.indexOf(prefix) === 0;
|
|
15657
15678
|
}) ? {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};
|
|
15658
15679
|
};
|
|
15659
|
-
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};
|
|
15680
|
+
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};
|
|
15660
15681
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP] = "DROP";
|
|
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] = "KEEP";
|
|
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_URL] = "KEEP_AND_SANITIZE_URL";
|
|
15663
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_NORMALIZE] = "KEEP_AND_NORMALIZE";
|
|
15664
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_SANITIZE_STYLE] = "KEEP_AND_SANITIZE_STYLE";
|
|
15686
|
+
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";
|
|
15687
|
+
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";
|
|
15665
15688
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicy = function() {
|
|
15666
15689
|
};
|
|
15667
15690
|
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(" "));
|
|
@@ -15672,9 +15695,9 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
15672
15695
|
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"},
|
|
15673
15696
|
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(" "),
|
|
15674
15697
|
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}]])],
|
|
15675
|
-
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15676
|
-
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15677
|
-
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15698
|
+
["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}],
|
|
15699
|
+
["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}]])],
|
|
15700
|
+
["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 =
|
|
15678
15701
|
"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(" "),
|
|
15679
15702
|
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() {
|
|
15680
15703
|
return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
|
|
@@ -15685,15 +15708,22 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
15685
15708
|
})}], ["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() {
|
|
15686
15709
|
return new Map([["target", new Set(["_self", "_blank"])]]);
|
|
15687
15710
|
})}]];
|
|
15688
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15711
|
+
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),
|
|
15689
15712
|
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));
|
|
15690
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15713
|
+
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() {
|
|
15714
|
+
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["STYLE"]);
|
|
15715
|
+
})), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15716
|
+
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["id", "name", "class"]);
|
|
15717
|
+
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
15718
|
+
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}]]);
|
|
15719
|
+
})));
|
|
15720
|
+
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),
|
|
15691
15721
|
new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15692
15722
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "name"]);
|
|
15693
15723
|
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
15694
15724
|
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}]]);
|
|
15695
15725
|
})));
|
|
15696
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15726
|
+
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() {
|
|
15697
15727
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat("STYLE TITLE INPUT TEXTAREA BUTTON LABEL".split(" "));
|
|
15698
15728
|
})), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15699
15729
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "tabindex", "contenteditable", "name"]);
|
|
@@ -15703,10 +15733,11 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_saniti
|
|
|
15703
15733
|
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"};
|
|
15704
15734
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer = function() {
|
|
15705
15735
|
};
|
|
15706
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer) {
|
|
15736
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy) {
|
|
15707
15737
|
this.sanitizerTable = sanitizerTable;
|
|
15708
15738
|
this.styleElementSanitizer = styleElementSanitizer;
|
|
15709
15739
|
this.styleAttributeSanitizer = styleAttributeSanitizer;
|
|
15740
|
+
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
15710
15741
|
this.changes = [];
|
|
15711
15742
|
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
15712
15743
|
};
|
|
@@ -15727,8 +15758,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15727
15758
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15728
15759
|
};
|
|
15729
15760
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15730
|
-
for (var $jscomp$this$
|
|
15731
|
-
return $jscomp$this$
|
|
15761
|
+
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) {
|
|
15762
|
+
return $jscomp$this$m1803429925$10.nodeFilter(n);
|
|
15732
15763
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
15733
15764
|
var sanitizedNode = void 0;
|
|
15734
15765
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15763,8 +15794,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15763
15794
|
return this.createTextNode(textNode.data);
|
|
15764
15795
|
};
|
|
15765
15796
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15766
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$
|
|
15767
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15797
|
+
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()) {
|
|
15798
|
+
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);
|
|
15768
15799
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15769
15800
|
switch(policy.policyAction) {
|
|
15770
15801
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15786,6 +15817,26 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15786
15817
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
15787
15818
|
}
|
|
15788
15819
|
break;
|
|
15820
|
+
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY:
|
|
15821
|
+
if (this.resourceUrlPolicy) {
|
|
15822
|
+
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);
|
|
15823
|
+
sanitizedUrl && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedUrl.toString());
|
|
15824
|
+
} else {
|
|
15825
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
15826
|
+
}
|
|
15827
|
+
break;
|
|
15828
|
+
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
15829
|
+
if (this.resourceUrlPolicy) {
|
|
15830
|
+
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 =
|
|
15831
|
+
$jscomp$iter$31.next()) {
|
|
15832
|
+
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);
|
|
15833
|
+
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
15834
|
+
}
|
|
15835
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
15836
|
+
} else {
|
|
15837
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
15838
|
+
}
|
|
15839
|
+
break;
|
|
15789
15840
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP:
|
|
15790
15841
|
this.recordChange("Attribute: " + name + " was dropped");
|
|
15791
15842
|
break;
|
|
@@ -15822,8 +15873,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15822
15873
|
if (!conditions) {
|
|
15823
15874
|
return !0;
|
|
15824
15875
|
}
|
|
15825
|
-
for (var $jscomp$iter$
|
|
15826
|
-
var $jscomp$destructuring$var33 =
|
|
15876
|
+
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()) {
|
|
15877
|
+
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;
|
|
15827
15878
|
if (value && !expectedValues.has(value)) {
|
|
15828
15879
|
return !1;
|
|
15829
15880
|
}
|
|
@@ -15833,8 +15884,27 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15833
15884
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(el, name, value) {
|
|
15834
15885
|
el.setAttribute(name, value);
|
|
15835
15886
|
}
|
|
15887
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_SrcsetPart() {
|
|
15888
|
+
}
|
|
15889
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
15890
|
+
};
|
|
15891
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
15892
|
+
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()) {
|
|
15893
|
+
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;
|
|
15894
|
+
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
15895
|
+
}
|
|
15896
|
+
return {parts:parts};
|
|
15897
|
+
}
|
|
15898
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.parseSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset;
|
|
15899
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(srcset) {
|
|
15900
|
+
return srcset.parts.map(function(part) {
|
|
15901
|
+
var descriptor = part.descriptor;
|
|
15902
|
+
return "" + part.url + (descriptor ? " " + descriptor : "");
|
|
15903
|
+
}).join(" , ");
|
|
15904
|
+
}
|
|
15905
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.serializeSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset;
|
|
15836
15906
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15837
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15907
|
+
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);
|
|
15838
15908
|
});
|
|
15839
15909
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml(html) {
|
|
15840
15910
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer.sanitize(html);
|
|
@@ -15849,7 +15919,7 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanit
|
|
|
15849
15919
|
}
|
|
15850
15920
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
15851
15921
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15852
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15922
|
+
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);
|
|
15853
15923
|
});
|
|
15854
15924
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtml = function(html) {
|
|
15855
15925
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer.sanitize(html);
|
|
@@ -15859,7 +15929,7 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenie
|
|
|
15859
15929
|
}
|
|
15860
15930
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged;
|
|
15861
15931
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15862
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15932
|
+
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);
|
|
15863
15933
|
});
|
|
15864
15934
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.superLenientlySanitizeHtml = function(html) {
|
|
15865
15935
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer.sanitize(html);
|
|
@@ -15874,11 +15944,11 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_check
|
|
|
15874
15944
|
;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"};
|
|
15875
15945
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder = function() {
|
|
15876
15946
|
this.calledBuild = !1;
|
|
15877
|
-
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15947
|
+
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
15878
15948
|
};
|
|
15879
15949
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15880
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$
|
|
15881
|
-
var element = $jscomp$key$
|
|
15950
|
+
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()) {
|
|
15951
|
+
var element = $jscomp$key$m1412690177$0$element.value;
|
|
15882
15952
|
element = element.toUpperCase();
|
|
15883
15953
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15884
15954
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15896,8 +15966,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15896
15966
|
throw Error("Element: " + element + " is not a custom element");
|
|
15897
15967
|
}
|
|
15898
15968
|
if (allowedAttributes) {
|
|
15899
|
-
for (var elementPolicy = new Map(), $jscomp$iter$
|
|
15900
|
-
elementPolicy.set($jscomp$key$
|
|
15969
|
+
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()) {
|
|
15970
|
+
elementPolicy.set($jscomp$key$m1412690177$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15901
15971
|
}
|
|
15902
15972
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15903
15973
|
} else {
|
|
@@ -15907,15 +15977,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15907
15977
|
return this;
|
|
15908
15978
|
};
|
|
15909
15979
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15910
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$
|
|
15911
|
-
var attribute = $jscomp$key$
|
|
15980
|
+
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()) {
|
|
15981
|
+
var attribute = $jscomp$key$m1412690177$2$attribute.value;
|
|
15912
15982
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15913
15983
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15914
15984
|
}
|
|
15915
|
-
for (var $jscomp$iter$
|
|
15916
|
-
for (var $jscomp$destructuring$
|
|
15917
|
-
$jscomp$iter$
|
|
15918
|
-
var $jscomp$destructuring$
|
|
15985
|
+
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()) {
|
|
15986
|
+
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$ =
|
|
15987
|
+
$jscomp$iter$38.next()) {
|
|
15988
|
+
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;
|
|
15919
15989
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15920
15990
|
}
|
|
15921
15991
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15924,8 +15994,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15924
15994
|
return this;
|
|
15925
15995
|
};
|
|
15926
15996
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15927
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$
|
|
15928
|
-
var attribute = $jscomp$key$
|
|
15997
|
+
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()) {
|
|
15998
|
+
var attribute = $jscomp$key$m1412690177$5$attribute.value;
|
|
15929
15999
|
if (attribute.indexOf("data-") !== 0) {
|
|
15930
16000
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15931
16001
|
}
|
|
@@ -15958,12 +16028,16 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15958
16028
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
15959
16029
|
return this;
|
|
15960
16030
|
};
|
|
16031
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.withResourceUrlPolicy = function(resourceUrlPolicy) {
|
|
16032
|
+
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16033
|
+
return this;
|
|
16034
|
+
};
|
|
15961
16035
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.build = function() {
|
|
15962
16036
|
if (this.calledBuild) {
|
|
15963
16037
|
throw Error("this sanitizer has already called build");
|
|
15964
16038
|
}
|
|
15965
16039
|
this.calledBuild = !0;
|
|
15966
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken);
|
|
16040
|
+
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);
|
|
15967
16041
|
};
|
|
15968
16042
|
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;
|
|
15969
16043
|
function module$contents$safevalues$builders$resource_url_builders_hasValidOrigin(base) {
|
|
@@ -16176,12 +16250,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16176
16250
|
}
|
|
16177
16251
|
try {
|
|
16178
16252
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16179
|
-
} catch ($jscomp$unused$catch$
|
|
16253
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
16180
16254
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16181
16255
|
}
|
|
16182
16256
|
try {
|
|
16183
16257
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16184
|
-
} catch ($jscomp$unused$catch$
|
|
16258
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
16185
16259
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16186
16260
|
}
|
|
16187
16261
|
return !1;
|
|
@@ -17467,7 +17541,7 @@ function module$contents$goog$debug$asyncStackTag_wrap(fn, name) {
|
|
|
17467
17541
|
function wrappedFn() {
|
|
17468
17542
|
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this$1621498202$4 = this;
|
|
17469
17543
|
return consoleTask.run(function() {
|
|
17470
|
-
return fn.call.apply(fn, [$jscomp$this$1621498202$4].concat(
|
|
17544
|
+
return fn.call.apply(fn, [$jscomp$this$1621498202$4].concat((0,$jscomp.arrayFromIterable)(args)));
|
|
17471
17545
|
});
|
|
17472
17546
|
}
|
|
17473
17547
|
name = name === void 0 ? "anonymous" : name;
|
|
@@ -17480,7 +17554,7 @@ function module$contents$goog$debug$asyncStackTag_wrap(fn, name) {
|
|
|
17480
17554
|
if (originalTest !== currentTest) {
|
|
17481
17555
|
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.");
|
|
17482
17556
|
}
|
|
17483
|
-
return originalFn.call.apply(originalFn, [this].concat(
|
|
17557
|
+
return originalFn.call.apply(originalFn, [this].concat((0,$jscomp.arrayFromIterable)(args)));
|
|
17484
17558
|
};
|
|
17485
17559
|
if (!module$contents$goog$debug$asyncStackTag_createTask) {
|
|
17486
17560
|
return fn;
|
|
@@ -18741,7 +18815,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18741
18815
|
headers.set(key, opt_headers[key]);
|
|
18742
18816
|
}
|
|
18743
18817
|
} else if (typeof opt_headers.keys === "function" && typeof opt_headers.get === "function") {
|
|
18744
|
-
for (var $jscomp$iter$
|
|
18818
|
+
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()) {
|
|
18745
18819
|
var key$jscomp$0 = $jscomp$key$m71669834$54$key.value;
|
|
18746
18820
|
headers.set(key$jscomp$0, opt_headers.get(key$jscomp$0));
|
|
18747
18821
|
}
|
|
@@ -18753,8 +18827,8 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18753
18827
|
return goog.string.caseInsensitiveEquals(goog.net.XhrIo.CONTENT_TYPE_HEADER, header);
|
|
18754
18828
|
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
|
|
18755
18829
|
!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);
|
|
18756
|
-
for (var $jscomp$iter$
|
|
18757
|
-
var $jscomp$destructuring$
|
|
18830
|
+
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()) {
|
|
18831
|
+
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;
|
|
18758
18832
|
this.xhr_.setRequestHeader(key$jscomp$1, value);
|
|
18759
18833
|
}
|
|
18760
18834
|
this.responseType_ && (this.xhr_.responseType = this.responseType_);
|
|
@@ -19066,7 +19140,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19066
19140
|
ee.apiclient = {};
|
|
19067
19141
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19068
19142
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19069
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19143
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.412";
|
|
19070
19144
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19071
19145
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19072
19146
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19198,21 +19272,21 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
|
|
|
19198
19272
|
return this;
|
|
19199
19273
|
};
|
|
19200
19274
|
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
|
|
19201
|
-
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$
|
|
19202
|
-
var $jscomp$destructuring$
|
|
19203
|
-
var id = $jscomp$destructuring$
|
|
19204
|
-
var $jscomp$destructuring$
|
|
19205
|
-
var partBody = $jscomp$destructuring$
|
|
19206
|
-
$jscomp$destructuring$
|
|
19275
|
+
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var42) {
|
|
19276
|
+
var $jscomp$destructuring$var43 = (0,$jscomp.makeIterator)($jscomp$destructuring$var42);
|
|
19277
|
+
var id = $jscomp$destructuring$var43.next().value;
|
|
19278
|
+
var $jscomp$destructuring$var44 = (0,$jscomp.makeIterator)($jscomp$destructuring$var43.next().value);
|
|
19279
|
+
var partBody = $jscomp$destructuring$var44.next().value;
|
|
19280
|
+
$jscomp$destructuring$var44.next();
|
|
19207
19281
|
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";
|
|
19208
19282
|
}).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
|
|
19209
19283
|
var result = {};
|
|
19210
|
-
parts.forEach(function($jscomp$destructuring$
|
|
19211
|
-
var $jscomp$destructuring$
|
|
19212
|
-
var id = $jscomp$destructuring$
|
|
19213
|
-
var $jscomp$destructuring$
|
|
19214
|
-
$jscomp$destructuring$
|
|
19215
|
-
var ctor = $jscomp$destructuring$
|
|
19284
|
+
parts.forEach(function($jscomp$destructuring$var45) {
|
|
19285
|
+
var $jscomp$destructuring$var46 = (0,$jscomp.makeIterator)($jscomp$destructuring$var45);
|
|
19286
|
+
var id = $jscomp$destructuring$var46.next().value;
|
|
19287
|
+
var $jscomp$destructuring$var47 = (0,$jscomp.makeIterator)($jscomp$destructuring$var46.next().value);
|
|
19288
|
+
$jscomp$destructuring$var47.next();
|
|
19289
|
+
var ctor = $jscomp$destructuring$var47.next().value;
|
|
19216
19290
|
response[id] != null && (result[id] = module$contents$eeapiclient$domain_object_deserialize(ctor, response[id]));
|
|
19217
19291
|
});
|
|
19218
19292
|
return getResponse ? getResponse(result) : result;
|
|
@@ -19235,7 +19309,7 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
|
|
|
19235
19309
|
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
|
|
19236
19310
|
};
|
|
19237
19311
|
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
|
|
19238
|
-
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$
|
|
19312
|
+
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()) {
|
|
19239
19313
|
var groups = $jscomp$key$m1153655765$100$part.value.split("\r\n\r\n");
|
|
19240
19314
|
if (!(groups.length < 3)) {
|
|
19241
19315
|
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");
|
|
@@ -19364,8 +19438,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19364
19438
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19365
19439
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19366
19440
|
method = method || "POST";
|
|
19367
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19368
|
-
version === "0.1.
|
|
19441
|
+
var headers = {"Content-Type":contentType}, version = "0.1.412";
|
|
19442
|
+
version === "0.1.412" && (version = "latest");
|
|
19369
19443
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19370
19444
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19371
19445
|
if (authToken != null) {
|
|
@@ -19498,8 +19572,8 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19498
19572
|
}
|
|
19499
19573
|
};
|
|
19500
19574
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
19501
|
-
for (var request = new goog.Uri.QueryData(), $jscomp$iter$
|
|
19502
|
-
var $jscomp$destructuring$
|
|
19575
|
+
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()) {
|
|
19576
|
+
var $jscomp$destructuring$var49 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var49.next().value, item = $jscomp$destructuring$var49.next().value;
|
|
19503
19577
|
request.set(name, item);
|
|
19504
19578
|
}
|
|
19505
19579
|
return request;
|
|
@@ -19853,7 +19927,7 @@ ee.rpc_convert.algorithms = function(result) {
|
|
|
19853
19927
|
algorithm.deprecated && (internalAlgorithm.deprecated = algorithm.deprecationReason);
|
|
19854
19928
|
algorithm.sourceCodeUri && (internalAlgorithm.sourceCodeUri = algorithm.sourceCodeUri);
|
|
19855
19929
|
return internalAlgorithm;
|
|
19856
|
-
}, internalAlgorithms = {}, $jscomp$iter$
|
|
19930
|
+
}, 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()) {
|
|
19857
19931
|
var algorithm = $jscomp$key$m29782521$48$algorithm.value, name = algorithm.name.replace(/^algorithms\//, "");
|
|
19858
19932
|
internalAlgorithms[name] = convertAlgorithm(algorithm);
|
|
19859
19933
|
}
|
|
@@ -19978,10 +20052,10 @@ ee.rpc_convert.legacyPropertiesToAssetUpdate = function(legacyProperties) {
|
|
|
19978
20052
|
typeof value !== "string" && value !== null || properties.title != null || (properties.title = asNull(value) || value);
|
|
19979
20053
|
extractValue("system:description");
|
|
19980
20054
|
typeof value !== "string" && value !== null || properties.description != null || (properties.description = asNull(value) || value);
|
|
19981
|
-
Object.entries(properties).forEach(function($jscomp$destructuring$
|
|
19982
|
-
var $jscomp$destructuring$
|
|
19983
|
-
var key = $jscomp$destructuring$
|
|
19984
|
-
var value = $jscomp$destructuring$
|
|
20055
|
+
Object.entries(properties).forEach(function($jscomp$destructuring$var50) {
|
|
20056
|
+
var $jscomp$destructuring$var51 = (0,$jscomp.makeIterator)($jscomp$destructuring$var50);
|
|
20057
|
+
var key = $jscomp$destructuring$var51.next().value;
|
|
20058
|
+
var value = $jscomp$destructuring$var51.next().value;
|
|
19985
20059
|
properties[key] = asNull(value) || value;
|
|
19986
20060
|
});
|
|
19987
20061
|
asset.properties = properties;
|
|
@@ -20003,9 +20077,9 @@ ee.rpc_convert.getListToListAssets = function(param) {
|
|
|
20003
20077
|
param.bbox && (assetsRequest.region = ee.rpc_convert.boundingBoxToGeoJson(param.bbox));
|
|
20004
20078
|
param.region && (assetsRequest.region = param.region);
|
|
20005
20079
|
param.bbox && param.region && console.warn("Multiple request parameters converted to region");
|
|
20006
|
-
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$
|
|
20080
|
+
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$46 = (0,$jscomp.makeIterator)(Object.keys(param).filter(function(k) {
|
|
20007
20081
|
return !allKeys.includes(k);
|
|
20008
|
-
})), $jscomp$key$m29782521$49$key = $jscomp$iter$
|
|
20082
|
+
})), $jscomp$key$m29782521$49$key = $jscomp$iter$46.next(); !$jscomp$key$m29782521$49$key.done; $jscomp$key$m29782521$49$key = $jscomp$iter$46.next()) {
|
|
20009
20083
|
console.warn("Unrecognized key " + $jscomp$key$m29782521$49$key.value + " ignored");
|
|
20010
20084
|
}
|
|
20011
20085
|
return ee.rpc_convert.processListImagesParams(assetsRequest);
|
|
@@ -20109,7 +20183,7 @@ ee.rpc_convert.operationToProcessingResponse = function(operation) {
|
|
|
20109
20183
|
return result;
|
|
20110
20184
|
};
|
|
20111
20185
|
ee.rpc_convert.sourcePathsToUris = function(source) {
|
|
20112
|
-
return source.primaryPath ? [source.primaryPath].concat(
|
|
20186
|
+
return source.primaryPath ? [source.primaryPath].concat((0,$jscomp.arrayFromIterable)(source.additionalPaths || [])) : null;
|
|
20113
20187
|
};
|
|
20114
20188
|
ee.rpc_convert.toImageManifest = function(params) {
|
|
20115
20189
|
var convertImageSource = function(source) {
|
|
@@ -20229,7 +20303,7 @@ ee.rpc_convert.parseFilterParamsFromListImages_ = function(params) {
|
|
|
20229
20303
|
})) {
|
|
20230
20304
|
throw Error('Filter parameter "properties" must be an array of strings');
|
|
20231
20305
|
}
|
|
20232
|
-
for (var $jscomp$iter$
|
|
20306
|
+
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()) {
|
|
20233
20307
|
queryStrings.push($jscomp$key$m29782521$50$propertyQuery.value.trim().replace(/^(properties\.)?/, "properties."));
|
|
20234
20308
|
}
|
|
20235
20309
|
delete params.properties;
|
|
@@ -20566,8 +20640,8 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
|
|
|
20566
20640
|
if (!goog.isObject(object)) {
|
|
20567
20641
|
return object;
|
|
20568
20642
|
}
|
|
20569
|
-
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$
|
|
20570
|
-
var $jscomp$destructuring$
|
|
20643
|
+
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()) {
|
|
20644
|
+
var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var53.next().value, val = $jscomp$destructuring$var53.next().value;
|
|
20571
20645
|
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 ?
|
|
20572
20646
|
null : val : walkObject(val)) : ret[key] = walkObject(val);
|
|
20573
20647
|
}
|
|
@@ -20690,8 +20764,8 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20690
20764
|
return storeInSourceMap(value, optimized$jscomp$1);
|
|
20691
20765
|
}
|
|
20692
20766
|
if (value.dictionaryValue != null) {
|
|
20693
|
-
for (var values = {}, constantValues = {}, $jscomp$iter$
|
|
20694
|
-
var $jscomp$destructuring$
|
|
20767
|
+
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()) {
|
|
20768
|
+
var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var55.next().value, v = $jscomp$destructuring$var55.next().value;
|
|
20695
20769
|
values[k] = this.optimizeValue(v, depth + 3);
|
|
20696
20770
|
constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
|
|
20697
20771
|
}
|
|
@@ -20702,7 +20776,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20702
20776
|
return storeInSourceMap(value, optimized$jscomp$2);
|
|
20703
20777
|
}
|
|
20704
20778
|
if (value.functionInvocationValue != null) {
|
|
20705
|
-
for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$
|
|
20779
|
+
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()) {
|
|
20706
20780
|
var k$jscomp$0 = $jscomp$key$m759255156$30$k.value;
|
|
20707
20781
|
args[k$jscomp$0] = this.optimizeValue(inv.arguments[k$jscomp$0], depth + 3);
|
|
20708
20782
|
}
|
|
@@ -20978,9 +21052,9 @@ ee.rpc_convert_batch.buildRankByOneThingRule_ = function(ruleString) {
|
|
|
20978
21052
|
if (matches == null) {
|
|
20979
21053
|
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.");
|
|
20980
21054
|
}
|
|
20981
|
-
var $jscomp$destructuring$
|
|
20982
|
-
$jscomp$destructuring$
|
|
20983
|
-
var ruleType = $jscomp$destructuring$
|
|
21055
|
+
var $jscomp$destructuring$var56 = (0,$jscomp.makeIterator)(matches);
|
|
21056
|
+
$jscomp$destructuring$var56.next();
|
|
21057
|
+
var ruleType = $jscomp$destructuring$var56.next().value, direction = $jscomp$destructuring$var56.next().value;
|
|
20984
21058
|
switch(direction.toUpperCase()) {
|
|
20985
21059
|
case "ASC":
|
|
20986
21060
|
rankByOneThingRule.direction = "ASCENDING";
|
|
@@ -21241,8 +21315,8 @@ ee.data.getDownloadId = function(params, opt_callback) {
|
|
|
21241
21315
|
}) && (params.bands = params.bands.map(function(band) {
|
|
21242
21316
|
return {id:band};
|
|
21243
21317
|
}));
|
|
21244
|
-
if (params.bands && params.bands.some(function($jscomp$destructuring$
|
|
21245
|
-
return $jscomp$destructuring$
|
|
21318
|
+
if (params.bands && params.bands.some(function($jscomp$destructuring$var57) {
|
|
21319
|
+
return $jscomp$destructuring$var57.id == null;
|
|
21246
21320
|
})) {
|
|
21247
21321
|
throw Error("Each band dictionary must have an id.");
|
|
21248
21322
|
}
|
|
@@ -21600,7 +21674,7 @@ ee.data.createAsset = function(value, opt_path, opt_force, opt_properties, opt_c
|
|
|
21600
21674
|
value.gcsLocation && !value.cloudStorageLocation && (value.cloudStorageLocation = value.gcsLocation, delete value.gcsLocation);
|
|
21601
21675
|
value.cloudStorageLocation && (value.cloudStorageLocation = new module$exports$eeapiclient$ee_api_client.CloudStorageLocation(value.cloudStorageLocation));
|
|
21602
21676
|
opt_properties && !value.properties && (value.properties = Object.assign({}, opt_properties));
|
|
21603
|
-
for (var $jscomp$iter$
|
|
21677
|
+
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()) {
|
|
21604
21678
|
var prop = $jscomp$key$m1075644492$123$prop.value;
|
|
21605
21679
|
if (value[prop]) {
|
|
21606
21680
|
var $jscomp$compprop17 = {};
|
|
@@ -22413,7 +22487,7 @@ ee.Geometry.BBox = function(west, south, east, north) {
|
|
|
22413
22487
|
var coordinates = [west, south, east, north];
|
|
22414
22488
|
if (ee.Geometry.hasServerValue_(coordinates)) {
|
|
22415
22489
|
var $jscomp$spread$args12;
|
|
22416
|
-
return ($jscomp$spread$args12 = new ee.ApiFunction("GeometryConstructors.BBox")).call.apply($jscomp$spread$args12,
|
|
22490
|
+
return ($jscomp$spread$args12 = new ee.ApiFunction("GeometryConstructors.BBox")).call.apply($jscomp$spread$args12, (0,$jscomp.arrayFromIterable)(coordinates));
|
|
22417
22491
|
}
|
|
22418
22492
|
if (!(west < Infinity)) {
|
|
22419
22493
|
throw Error("Geometry.BBox: west must not be " + west);
|
|
@@ -23873,8 +23947,8 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
|
|
|
23873
23947
|
})) {
|
|
23874
23948
|
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
23875
23949
|
}
|
|
23876
|
-
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$
|
|
23877
|
-
var $jscomp$destructuring$
|
|
23950
|
+
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()) {
|
|
23951
|
+
var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var60.next().value, value = $jscomp$destructuring$var60.next().value;
|
|
23878
23952
|
if (!module$contents$goog$array_contains(validOptionKeys, key)) {
|
|
23879
23953
|
var validKeysMsg = validOptionKeys.join(", ");
|
|
23880
23954
|
throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
|
|
@@ -26389,11 +26463,10 @@ goog.structs.PriorityPool.prototype.disposeInternal = function() {
|
|
|
26389
26463
|
this.requestQueue_.clear();
|
|
26390
26464
|
this.requestQueue_ = null;
|
|
26391
26465
|
};
|
|
26392
|
-
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler
|
|
26466
|
+
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler) {
|
|
26393
26467
|
module$exports$ee$layers$AbstractTileSource.call(this);
|
|
26394
26468
|
this.mapId_ = mapId;
|
|
26395
26469
|
this.profiler_ = opt_profiler || null;
|
|
26396
|
-
this.token_count_ = opt_parallelism || module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_;
|
|
26397
26470
|
};
|
|
26398
26471
|
$jscomp.inherits(module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource, module$exports$ee$layers$AbstractTileSource);
|
|
26399
26472
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.loadTile = function(tile, opt_priority) {
|
|
@@ -26416,6 +26489,9 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26416
26489
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getUniqueId = function() {
|
|
26417
26490
|
return this.mapId_.mapid + "-" + this.mapId_.token;
|
|
26418
26491
|
};
|
|
26492
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.setGlobalParallelism = function(parallelism) {
|
|
26493
|
+
this.getGlobalTokenPool_().setMaximumCount(parallelism);
|
|
26494
|
+
};
|
|
26419
26495
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.handleAvailableToken_ = function(tile, token) {
|
|
26420
26496
|
var tokenPool = this.getGlobalTokenPool_();
|
|
26421
26497
|
if (tile.isDisposed() || tile.getStatus() == ee.layers.AbstractTile.Status.ABORTED) {
|
|
@@ -26432,7 +26508,7 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26432
26508
|
return this.profiler_ && this.profiler_.isEnabled() ? url + "&profiling=1" : url;
|
|
26433
26509
|
};
|
|
26434
26510
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getGlobalTokenPool_ = function() {
|
|
26435
|
-
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new goog.structs.PriorityPool(0,
|
|
26511
|
+
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_));
|
|
26436
26512
|
return module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_;
|
|
26437
26513
|
};
|
|
26438
26514
|
goog.exportSymbol("ee.layers.EarthEngineTileSource", module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource);
|
|
@@ -26892,29 +26968,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26892
26968
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26893
26969
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26894
26970
|
(function() {
|
|
26895
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.
|
|
26896
|
-
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description
|
|
26897
|
-
"image opt_description
|
|
26898
|
-
"collection opt_description
|
|
26899
|
-
"collection opt_description
|
|
26900
|
-
["
|
|
26901
|
-
|
|
26902
|
-
["
|
|
26903
|
-
|
|
26904
|
-
["
|
|
26905
|
-
"
|
|
26906
|
-
|
|
26907
|
-
["
|
|
26908
|
-
["
|
|
26909
|
-
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.
|
|
26910
|
-
module$contents$ee$batch_Export.
|
|
26911
|
-
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.
|
|
26912
|
-
ee.data.
|
|
26913
|
-
ee.data.
|
|
26914
|
-
ee.
|
|
26915
|
-
ee.Filter.
|
|
26916
|
-
ee.Image.prototype.
|
|
26917
|
-
ee.ImageCollection.prototype.
|
|
26971
|
+
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(" "),
|
|
26972
|
+
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(" "),
|
|
26973
|
+
"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(" "),
|
|
26974
|
+
"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(" "),
|
|
26975
|
+
"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"],
|
|
26976
|
+
["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",
|
|
26977
|
+
"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"],
|
|
26978
|
+
["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",
|
|
26979
|
+
"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"],
|
|
26980
|
+
["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",
|
|
26981
|
+
"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",
|
|
26982
|
+
"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",
|
|
26983
|
+
"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"],
|
|
26984
|
+
["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26985
|
+
[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,
|
|
26986
|
+
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,
|
|
26987
|
+
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,
|
|
26988
|
+
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,
|
|
26989
|
+
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,
|
|
26990
|
+
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,
|
|
26991
|
+
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,
|
|
26992
|
+
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,
|
|
26993
|
+
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) {
|
|
26918
26994
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26919
26995
|
});
|
|
26920
26996
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|