@google/earthengine 1.5.5 → 1.5.7
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 +223 -209
- package/build/ee_api_js.js +16 -16
- package/build/ee_api_js_debug.js +201 -187
- package/build/ee_api_js_npm.js +223 -209
- package/build/main.js +223 -209
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/examples/UserInterface/AirstripThumbnails.js +1 -1
package/build/ee_api_js_debug.js
CHANGED
|
@@ -1257,7 +1257,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1257
1257
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1258
1258
|
};
|
|
1259
1259
|
}, "es8", "es3");
|
|
1260
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1260
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_sink_defer_tsx_execution__enable:!1, GoogFlags__client_only_wiz_ve_logging__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1,
|
|
1261
|
+
GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1261
1262
|
/*
|
|
1262
1263
|
|
|
1263
1264
|
Copyright The Closure Library Authors.
|
|
@@ -1368,6 +1369,9 @@ goog.isInEs6ModuleLoader_ = function() {
|
|
|
1368
1369
|
goog.module.declareLegacyNamespace = function() {
|
|
1369
1370
|
goog.moduleLoaderState_.declareLegacyNamespace = !0;
|
|
1370
1371
|
};
|
|
1372
|
+
goog.module.preventModuleExportSealing = function() {
|
|
1373
|
+
goog.moduleLoaderState_.preventModuleExportSealing = !0;
|
|
1374
|
+
};
|
|
1371
1375
|
goog.declareModuleId = function(namespace) {
|
|
1372
1376
|
if (goog.moduleLoaderState_) {
|
|
1373
1377
|
goog.moduleLoaderState_.moduleName = namespace;
|
|
@@ -1432,7 +1436,7 @@ goog.hasBadLetScoping = null;
|
|
|
1432
1436
|
goog.loadModule = function(moduleDef) {
|
|
1433
1437
|
var previousState = goog.moduleLoaderState_;
|
|
1434
1438
|
try {
|
|
1435
|
-
goog.moduleLoaderState_ = {moduleName:"", declareLegacyNamespace:!1, type:goog.ModuleType.GOOG};
|
|
1439
|
+
goog.moduleLoaderState_ = {moduleName:"", declareLegacyNamespace:!1, preventModuleExportSealing:!1, type:goog.ModuleType.GOOG};
|
|
1436
1440
|
var origExports = {}, exports = origExports;
|
|
1437
1441
|
if (typeof moduleDef === "function") {
|
|
1438
1442
|
exports = moduleDef.call(void 0, exports);
|
|
@@ -1443,7 +1447,7 @@ goog.loadModule = function(moduleDef) {
|
|
|
1443
1447
|
}
|
|
1444
1448
|
var moduleName = goog.moduleLoaderState_.moduleName;
|
|
1445
1449
|
if (typeof moduleName === "string" && moduleName) {
|
|
1446
|
-
goog.moduleLoaderState_.declareLegacyNamespace ? goog.constructNamespace_(moduleName, exports, origExports !== exports) : goog.SEAL_MODULE_EXPORTS && Object.seal && typeof exports == "object" && exports != null && Object.seal(exports), goog.loadedModules_[moduleName] = {exports:exports, type:goog.ModuleType.GOOG, moduleId:goog.moduleLoaderState_.moduleName};
|
|
1450
|
+
goog.moduleLoaderState_.declareLegacyNamespace ? goog.constructNamespace_(moduleName, exports, origExports !== exports) : goog.SEAL_MODULE_EXPORTS && Object.seal && typeof exports == "object" && exports != null && !goog.moduleLoaderState_.preventModuleExportSealing && Object.seal(exports), goog.loadedModules_[moduleName] = {exports:exports, type:goog.ModuleType.GOOG, moduleId:goog.moduleLoaderState_.moduleName};
|
|
1447
1451
|
} else {
|
|
1448
1452
|
throw Error('Invalid module name "' + moduleName + '"');
|
|
1449
1453
|
}
|
|
@@ -2143,9 +2147,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2143
2147
|
};
|
|
2144
2148
|
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;
|
|
2145
2149
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2146
|
-
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$
|
|
2147
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2148
|
-
var key = $jscomp$key$
|
|
2150
|
+
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 =
|
|
2151
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2152
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2149
2153
|
if (value != null) {
|
|
2150
2154
|
var copy = void 0;
|
|
2151
2155
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2156,11 +2160,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2156
2160
|
} else if (objects.hasOwnProperty(key)) {
|
|
2157
2161
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2158
2162
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2159
|
-
$jscomp$loop$
|
|
2163
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2160
2164
|
return function(v) {
|
|
2161
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2165
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2162
2166
|
};
|
|
2163
|
-
}($jscomp$loop$
|
|
2167
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2164
2168
|
} else if (Array.isArray(value)) {
|
|
2165
2169
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2166
2170
|
continue;
|
|
@@ -2175,8 +2179,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2175
2179
|
return target;
|
|
2176
2180
|
}
|
|
2177
2181
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2178
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2179
|
-
var mapKey = $jscomp$key$
|
|
2182
|
+
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()) {
|
|
2183
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2180
2184
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2181
2185
|
}
|
|
2182
2186
|
return objMap;
|
|
@@ -2206,39 +2210,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2206
2210
|
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))) {
|
|
2207
2211
|
return !1;
|
|
2208
2212
|
}
|
|
2209
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2210
|
-
var key = $jscomp$key$
|
|
2213
|
+
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()) {
|
|
2214
|
+
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);
|
|
2211
2215
|
if (has1 !== has2) {
|
|
2212
2216
|
return !1;
|
|
2213
2217
|
}
|
|
2214
2218
|
if (has1) {
|
|
2215
2219
|
var value1 = serializable1.Serializable$get(key);
|
|
2216
|
-
$jscomp$loop$
|
|
2220
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2217
2221
|
if (arrays1.hasOwnProperty(key)) {
|
|
2218
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2222
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2219
2223
|
return !1;
|
|
2220
2224
|
}
|
|
2221
2225
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2222
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2226
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2223
2227
|
return !1;
|
|
2224
2228
|
}
|
|
2225
2229
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2226
|
-
if ($jscomp$loop$
|
|
2227
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2230
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2231
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2228
2232
|
return function(v1, i) {
|
|
2229
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2233
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2230
2234
|
};
|
|
2231
|
-
}($jscomp$loop$
|
|
2235
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2232
2236
|
return !1;
|
|
2233
2237
|
}
|
|
2234
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2238
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2235
2239
|
return !1;
|
|
2236
2240
|
}
|
|
2237
2241
|
} else if (Array.isArray(value1)) {
|
|
2238
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2242
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2239
2243
|
return !1;
|
|
2240
2244
|
}
|
|
2241
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2245
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2242
2246
|
return !1;
|
|
2243
2247
|
}
|
|
2244
2248
|
}
|
|
@@ -2260,8 +2264,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2260
2264
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2261
2265
|
return !1;
|
|
2262
2266
|
}
|
|
2263
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2264
|
-
var mapKey = $jscomp$key$
|
|
2267
|
+
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()) {
|
|
2268
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2265
2269
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2266
2270
|
return !1;
|
|
2267
2271
|
}
|
|
@@ -2342,15 +2346,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2342
2346
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2343
2347
|
};
|
|
2344
2348
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2345
|
-
var $jscomp$this$
|
|
2349
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2346
2350
|
payload += this._metadataPayload;
|
|
2347
2351
|
return Promise.all(this.files.map(function(f) {
|
|
2348
|
-
return $jscomp$this$
|
|
2352
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2349
2353
|
})).then(function(filePayloads) {
|
|
2350
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2351
|
-
payload += $jscomp$key$
|
|
2354
|
+
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()) {
|
|
2355
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2352
2356
|
}
|
|
2353
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2357
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2354
2358
|
});
|
|
2355
2359
|
};
|
|
2356
2360
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2862,8 +2866,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2862
2866
|
throw Error(message);
|
|
2863
2867
|
}
|
|
2864
2868
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2865
|
-
var $jscomp$templatelit$
|
|
2866
|
-
["\\0"]), $jscomp$templatelit$
|
|
2869
|
+
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"],
|
|
2870
|
+
["\\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"};
|
|
2867
2871
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2868
2872
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2869
2873
|
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 ##############################");
|
|
@@ -2877,14 +2881,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2877
2881
|
return fn.toString().indexOf("`") === -1;
|
|
2878
2882
|
}
|
|
2879
2883
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2880
|
-
return tag($jscomp$templatelit$
|
|
2884
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2881
2885
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2882
|
-
return tag($jscomp$templatelit$
|
|
2886
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2883
2887
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2884
|
-
return tag($jscomp$templatelit$
|
|
2888
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2885
2889
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2886
|
-
return tag($jscomp$templatelit$
|
|
2887
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2890
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2891
|
+
}), 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);
|
|
2888
2892
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2889
2893
|
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)) ?
|
|
2890
2894
|
!0 : !1;
|
|
@@ -3209,9 +3213,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3209
3213
|
}
|
|
3210
3214
|
}
|
|
3211
3215
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3212
|
-
var $jscomp$tmp$error$
|
|
3213
|
-
this.message = $jscomp$tmp$error$
|
|
3214
|
-
"stack" in $jscomp$tmp$error$
|
|
3216
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3217
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3218
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3215
3219
|
this.type = type;
|
|
3216
3220
|
this.intent = intent;
|
|
3217
3221
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3307,7 +3311,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3307
3311
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3308
3312
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3309
3313
|
doc = doc === void 0 ? document : doc;
|
|
3310
|
-
var $jscomp$optchain$
|
|
3314
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = doc).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
3311
3315
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3312
3316
|
}
|
|
3313
3317
|
;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"};
|
|
@@ -4745,9 +4749,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4745
4749
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4746
4750
|
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"};
|
|
4747
4751
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4748
|
-
var $jscomp$tmp$error$
|
|
4749
|
-
this.message = $jscomp$tmp$error$
|
|
4750
|
-
"stack" in $jscomp$tmp$error$
|
|
4752
|
+
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.");
|
|
4753
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4754
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4751
4755
|
this.url = url;
|
|
4752
4756
|
this.typeName = typeName;
|
|
4753
4757
|
this.contentType = contentType;
|
|
@@ -4759,48 +4763,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4759
4763
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4760
4764
|
}
|
|
4761
4765
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4762
|
-
var response, $jscomp$optchain$
|
|
4763
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4764
|
-
if ($jscomp$generator$context$
|
|
4765
|
-
return $jscomp$generator$context$
|
|
4766
|
-
}
|
|
4767
|
-
response = $jscomp$generator$context$
|
|
4768
|
-
mimeType = ($jscomp$optchain$
|
|
4769
|
-
return $jscomp$generator$context$
|
|
4766
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4767
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4768
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
4769
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4770
|
+
}
|
|
4771
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
4772
|
+
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();
|
|
4773
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4770
4774
|
var text;
|
|
4771
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4772
|
-
if ($jscomp$generator$context$
|
|
4775
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4776
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
4773
4777
|
if (mimeType !== "text/html") {
|
|
4774
4778
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4775
4779
|
}
|
|
4776
|
-
return $jscomp$generator$context$
|
|
4780
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4777
4781
|
}
|
|
4778
|
-
text = $jscomp$generator$context$
|
|
4779
|
-
return $jscomp$generator$context$
|
|
4782
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
4783
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4780
4784
|
});
|
|
4781
4785
|
}, script:function() {
|
|
4782
4786
|
var text;
|
|
4783
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4784
|
-
if ($jscomp$generator$context$
|
|
4787
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4788
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
4785
4789
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4786
4790
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4787
4791
|
}
|
|
4788
|
-
return $jscomp$generator$context$
|
|
4792
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4789
4793
|
}
|
|
4790
|
-
text = $jscomp$generator$context$
|
|
4791
|
-
return $jscomp$generator$context$
|
|
4794
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
4795
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4792
4796
|
});
|
|
4793
4797
|
}, styleSheet:function() {
|
|
4794
4798
|
var text;
|
|
4795
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4796
|
-
if ($jscomp$generator$context$
|
|
4799
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4800
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
4797
4801
|
if (mimeType !== "text/css") {
|
|
4798
4802
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4799
4803
|
}
|
|
4800
|
-
return $jscomp$generator$context$
|
|
4804
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4801
4805
|
}
|
|
4802
|
-
text = $jscomp$generator$context$
|
|
4803
|
-
return $jscomp$generator$context$
|
|
4806
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
4807
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4804
4808
|
});
|
|
4805
4809
|
}});
|
|
4806
4810
|
});
|
|
@@ -6280,8 +6284,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6280
6284
|
}
|
|
6281
6285
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6282
6286
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6283
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6284
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6287
|
+
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()) {
|
|
6288
|
+
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;
|
|
6285
6289
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6286
6290
|
}
|
|
6287
6291
|
return urlQueryParams;
|
|
@@ -6292,8 +6296,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6292
6296
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6293
6297
|
if (params.headers) {
|
|
6294
6298
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6295
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6296
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6299
|
+
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()) {
|
|
6300
|
+
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;
|
|
6297
6301
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6298
6302
|
}
|
|
6299
6303
|
}
|
|
@@ -6333,9 +6337,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6333
6337
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6334
6338
|
};
|
|
6335
6339
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6336
|
-
var $jscomp$this$
|
|
6340
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6337
6341
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6338
|
-
return $jscomp$this$
|
|
6342
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6339
6343
|
}));
|
|
6340
6344
|
};
|
|
6341
6345
|
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"};
|
|
@@ -6505,6 +6509,8 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_
|
|
|
6505
6509
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6506
6510
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6507
6511
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ve_logging__enable = !1;
|
|
6512
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable = !1;
|
|
6513
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sink_defer_tsx_execution__enable = !1;
|
|
6508
6514
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6509
6515
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable = !1;
|
|
6510
6516
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
@@ -6516,6 +6522,8 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
|
|
|
6516
6522
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6517
6523
|
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);
|
|
6518
6524
|
goog.flags.CLIENT_ONLY_WIZ_VE_LOGGING = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ve_logging__enable : goog.readFlagInternalDoNotUseOrElse(725719775, !1);
|
|
6525
|
+
goog.flags.CLIENT_ONLY_WIZ_CONTEXT_PER_COMPONENT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable : goog.readFlagInternalDoNotUseOrElse(513659523, goog.DEBUG);
|
|
6526
|
+
goog.flags.CLIENT_ONLY_WIZ_SINK_DEFER_TSX_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sink_defer_tsx_execution__enable : goog.readFlagInternalDoNotUseOrElse(568333945, !1);
|
|
6519
6527
|
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
6520
6528
|
goog.flags.JSPB_DISALLOW_MESSAGE_TOJSON = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable : goog.readFlagInternalDoNotUseOrElse(722764542, goog.DEBUG);
|
|
6521
6529
|
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);
|
|
@@ -6559,10 +6567,16 @@ function module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(str) {
|
|
|
6559
6567
|
return !1;
|
|
6560
6568
|
}
|
|
6561
6569
|
var data = module$contents$goog$labs$userAgent$util_getUserAgentData();
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6570
|
+
if (!data) {
|
|
6571
|
+
return !1;
|
|
6572
|
+
}
|
|
6573
|
+
for (var i = 0; i < data.brands.length; i++) {
|
|
6574
|
+
var brand = data.brands[i].brand;
|
|
6575
|
+
if (brand && module$contents$goog$string$internal_contains(brand, str)) {
|
|
6576
|
+
return !0;
|
|
6577
|
+
}
|
|
6578
|
+
}
|
|
6579
|
+
return !1;
|
|
6566
6580
|
}
|
|
6567
6581
|
function module$contents$goog$labs$userAgent$util_matchUserAgent(str) {
|
|
6568
6582
|
return module$contents$goog$string$internal_contains(module$contents$goog$labs$userAgent$util_getUserAgent(), str);
|
|
@@ -6834,8 +6848,8 @@ function module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgent
|
|
|
6834
6848
|
}
|
|
6835
6849
|
function module$contents$goog$labs$userAgent$browser_versionOf_(browser) {
|
|
6836
6850
|
if (module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() && browser !== module$contents$goog$labs$userAgent$browser_Brand.SILK) {
|
|
6837
|
-
var matchingBrand = module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$
|
|
6838
|
-
return $jscomp$destructuring$
|
|
6851
|
+
var matchingBrand = module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$var7) {
|
|
6852
|
+
return $jscomp$destructuring$var7.brand === browser;
|
|
6839
6853
|
});
|
|
6840
6854
|
if (!matchingBrand || !matchingBrand.version) {
|
|
6841
6855
|
return NaN;
|
|
@@ -6869,8 +6883,8 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.ge
|
|
|
6869
6883
|
if (this.useUach_) {
|
|
6870
6884
|
var loadedVersionList = module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.getIfLoaded();
|
|
6871
6885
|
if (loadedVersionList !== void 0) {
|
|
6872
|
-
var matchingBrand = loadedVersionList.find(function($jscomp$destructuring$
|
|
6873
|
-
return $jscomp$this$1683157560$99.brand_ === $jscomp$destructuring$
|
|
6886
|
+
var matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var9) {
|
|
6887
|
+
return $jscomp$this$1683157560$99.brand_ === $jscomp$destructuring$var9.brand;
|
|
6874
6888
|
});
|
|
6875
6889
|
(0,goog.asserts.assertExists)(matchingBrand);
|
|
6876
6890
|
return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version);
|
|
@@ -6887,8 +6901,8 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.lo
|
|
|
6887
6901
|
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);
|
|
6888
6902
|
}
|
|
6889
6903
|
if ($jscomp$generator$context$1683157560$106.nextAddress != 3 && (loadedVersionList = $jscomp$generator$context$1683157560$106.yieldResult, loadedVersionList !== void 0)) {
|
|
6890
|
-
return matchingBrand = loadedVersionList.find(function($jscomp$destructuring$
|
|
6891
|
-
return $jscomp$async$this$1683157560$59.brand_ === $jscomp$destructuring$
|
|
6904
|
+
return matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var11) {
|
|
6905
|
+
return $jscomp$async$this$1683157560$59.brand_ === $jscomp$destructuring$var11.brand;
|
|
6892
6906
|
}), (0,goog.asserts.assertExists)(matchingBrand), $jscomp$generator$context$1683157560$106.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version));
|
|
6893
6907
|
}
|
|
6894
6908
|
module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
|
|
@@ -6914,8 +6928,8 @@ function module$contents$goog$labs$userAgent$browser_fullVersionOf(browser) {
|
|
|
6914
6928
|
module$contents$goog$labs$userAgent$browser_hasFullVersionList() || (fallbackVersionString = module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(browser));
|
|
6915
6929
|
var useUach = browser !== module$contents$goog$labs$userAgent$browser_Brand.SILK && module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0);
|
|
6916
6930
|
if (useUach) {
|
|
6917
|
-
if (!module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$
|
|
6918
|
-
return $jscomp$destructuring$
|
|
6931
|
+
if (!module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$var13) {
|
|
6932
|
+
return $jscomp$destructuring$var13.brand === browser;
|
|
6919
6933
|
})) {
|
|
6920
6934
|
return;
|
|
6921
6935
|
}
|
|
@@ -6933,8 +6947,8 @@ goog.labs.userAgent.browser.getVersionStringForLogging = function(browser) {
|
|
|
6933
6947
|
if (fullVersion) {
|
|
6934
6948
|
return fullVersion.toVersionStringForLogging();
|
|
6935
6949
|
}
|
|
6936
|
-
var matchingBrand = module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$
|
|
6937
|
-
return $jscomp$destructuring$
|
|
6950
|
+
var matchingBrand = module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$var15) {
|
|
6951
|
+
return $jscomp$destructuring$var15.brand === browser;
|
|
6938
6952
|
});
|
|
6939
6953
|
(0,goog.asserts.assertExists)(matchingBrand);
|
|
6940
6954
|
return matchingBrand.version;
|
|
@@ -8236,11 +8250,11 @@ goog.iter.forEach = function(iterable, f, opt_obj) {
|
|
|
8236
8250
|
module$contents$goog$array_forEach(iterable, f, opt_obj);
|
|
8237
8251
|
} else {
|
|
8238
8252
|
for (var iterator = goog.iter.toIterator(iterable);;) {
|
|
8239
|
-
var $jscomp$destructuring$
|
|
8240
|
-
if ($jscomp$destructuring$
|
|
8253
|
+
var $jscomp$destructuring$var17 = iterator.next();
|
|
8254
|
+
if ($jscomp$destructuring$var17.done) {
|
|
8241
8255
|
break;
|
|
8242
8256
|
}
|
|
8243
|
-
f.call(opt_obj, $jscomp$destructuring$
|
|
8257
|
+
f.call(opt_obj, $jscomp$destructuring$var17.value, void 0, iterator);
|
|
8244
8258
|
}
|
|
8245
8259
|
}
|
|
8246
8260
|
};
|
|
@@ -8248,8 +8262,8 @@ goog.iter.filter = function(iterable, f, opt_obj) {
|
|
|
8248
8262
|
var iterator = goog.iter.toIterator(iterable), newIter = new goog.iter.Iterator();
|
|
8249
8263
|
newIter.next = function() {
|
|
8250
8264
|
for (;;) {
|
|
8251
|
-
var $jscomp$destructuring$
|
|
8252
|
-
if ($jscomp$destructuring$
|
|
8265
|
+
var $jscomp$destructuring$var18 = iterator.next(), value = $jscomp$destructuring$var18.value;
|
|
8266
|
+
if ($jscomp$destructuring$var18.done) {
|
|
8253
8267
|
return goog.iter.ES6_ITERATOR_DONE;
|
|
8254
8268
|
}
|
|
8255
8269
|
if (f.call(opt_obj, value, void 0, iterator)) {
|
|
@@ -8285,11 +8299,11 @@ goog.iter.join = function(iterable, deliminator) {
|
|
|
8285
8299
|
goog.iter.map = function(iterable, f, opt_obj) {
|
|
8286
8300
|
var iterator = goog.iter.toIterator(iterable), newIter = new goog.iter.Iterator();
|
|
8287
8301
|
newIter.next = function() {
|
|
8288
|
-
var $jscomp$destructuring$
|
|
8289
|
-
if ($jscomp$destructuring$
|
|
8302
|
+
var $jscomp$destructuring$var19 = iterator.next();
|
|
8303
|
+
if ($jscomp$destructuring$var19.done) {
|
|
8290
8304
|
return goog.iter.ES6_ITERATOR_DONE;
|
|
8291
8305
|
}
|
|
8292
|
-
var mappedVal = f.call(opt_obj, $jscomp$destructuring$
|
|
8306
|
+
var mappedVal = f.call(opt_obj, $jscomp$destructuring$var19.value, void 0, iterator);
|
|
8293
8307
|
return goog.iter.createEs6IteratorYield(mappedVal);
|
|
8294
8308
|
};
|
|
8295
8309
|
return newIter;
|
|
@@ -8303,22 +8317,22 @@ goog.iter.reduce = function(iterable, f, val, opt_obj) {
|
|
|
8303
8317
|
};
|
|
8304
8318
|
goog.iter.some = function(iterable, f, opt_obj) {
|
|
8305
8319
|
for (var iterator = goog.iter.toIterator(iterable);;) {
|
|
8306
|
-
var $jscomp$destructuring$
|
|
8307
|
-
if ($jscomp$destructuring$
|
|
8320
|
+
var $jscomp$destructuring$var20 = iterator.next();
|
|
8321
|
+
if ($jscomp$destructuring$var20.done) {
|
|
8308
8322
|
return !1;
|
|
8309
8323
|
}
|
|
8310
|
-
if (f.call(opt_obj, $jscomp$destructuring$
|
|
8324
|
+
if (f.call(opt_obj, $jscomp$destructuring$var20.value, void 0, iterator)) {
|
|
8311
8325
|
return !0;
|
|
8312
8326
|
}
|
|
8313
8327
|
}
|
|
8314
8328
|
};
|
|
8315
8329
|
goog.iter.every = function(iterable, f, opt_obj) {
|
|
8316
8330
|
for (var iterator = goog.iter.toIterator(iterable);;) {
|
|
8317
|
-
var $jscomp$destructuring$
|
|
8318
|
-
if ($jscomp$destructuring$
|
|
8331
|
+
var $jscomp$destructuring$var21 = iterator.next();
|
|
8332
|
+
if ($jscomp$destructuring$var21.done) {
|
|
8319
8333
|
return !0;
|
|
8320
8334
|
}
|
|
8321
|
-
if (!f.call(opt_obj, $jscomp$destructuring$
|
|
8335
|
+
if (!f.call(opt_obj, $jscomp$destructuring$var21.value, void 0, iterator)) {
|
|
8322
8336
|
return !1;
|
|
8323
8337
|
}
|
|
8324
8338
|
}
|
|
@@ -8351,8 +8365,8 @@ goog.iter.dropWhile = function(iterable, f, opt_obj) {
|
|
|
8351
8365
|
var iterator = goog.iter.toIterator(iterable), newIter = new goog.iter.Iterator(), dropping = !0;
|
|
8352
8366
|
newIter.next = function() {
|
|
8353
8367
|
for (;;) {
|
|
8354
|
-
var $jscomp$destructuring$
|
|
8355
|
-
if ($jscomp$destructuring$
|
|
8368
|
+
var $jscomp$destructuring$var22 = iterator.next(), value = $jscomp$destructuring$var22.value;
|
|
8369
|
+
if ($jscomp$destructuring$var22.done) {
|
|
8356
8370
|
return goog.iter.ES6_ITERATOR_DONE;
|
|
8357
8371
|
}
|
|
8358
8372
|
if (!dropping || !f.call(opt_obj, value, void 0, iterator)) {
|
|
@@ -8365,8 +8379,8 @@ goog.iter.dropWhile = function(iterable, f, opt_obj) {
|
|
|
8365
8379
|
goog.iter.takeWhile = function(iterable, f, opt_obj) {
|
|
8366
8380
|
var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator();
|
|
8367
8381
|
iter.next = function() {
|
|
8368
|
-
var $jscomp$destructuring$
|
|
8369
|
-
return $jscomp$destructuring$
|
|
8382
|
+
var $jscomp$destructuring$var23 = iterator.next(), value = $jscomp$destructuring$var23.value;
|
|
8383
|
+
return $jscomp$destructuring$var23.done ? goog.iter.ES6_ITERATOR_DONE : f.call(opt_obj, value, void 0, iterator) ? goog.iter.createEs6IteratorYield(value) : goog.iter.ES6_ITERATOR_DONE;
|
|
8370
8384
|
};
|
|
8371
8385
|
return iter;
|
|
8372
8386
|
};
|
|
@@ -8388,8 +8402,8 @@ goog.iter.equals = function(iterable1, iterable2, opt_equalsFn) {
|
|
|
8388
8402
|
});
|
|
8389
8403
|
};
|
|
8390
8404
|
goog.iter.nextOrValue = function(iterable, defaultValue) {
|
|
8391
|
-
var $jscomp$destructuring$
|
|
8392
|
-
return $jscomp$destructuring$
|
|
8405
|
+
var $jscomp$destructuring$var24 = goog.iter.toIterator(iterable).next();
|
|
8406
|
+
return $jscomp$destructuring$var24.done ? defaultValue : $jscomp$destructuring$var24.value;
|
|
8393
8407
|
};
|
|
8394
8408
|
goog.iter.product = function(var_args) {
|
|
8395
8409
|
if (Array.prototype.some.call(arguments, function(arr) {
|
|
@@ -8460,11 +8474,11 @@ goog.iter.repeat = function(value) {
|
|
|
8460
8474
|
goog.iter.accumulate = function(iterable) {
|
|
8461
8475
|
var iterator = goog.iter.toIterator(iterable), total = 0, iter = new goog.iter.Iterator();
|
|
8462
8476
|
iter.next = function() {
|
|
8463
|
-
var $jscomp$destructuring$
|
|
8464
|
-
if ($jscomp$destructuring$
|
|
8477
|
+
var $jscomp$destructuring$var25 = iterator.next();
|
|
8478
|
+
if ($jscomp$destructuring$var25.done) {
|
|
8465
8479
|
return goog.iter.ES6_ITERATOR_DONE;
|
|
8466
8480
|
}
|
|
8467
|
-
total += $jscomp$destructuring$
|
|
8481
|
+
total += $jscomp$destructuring$var25.value;
|
|
8468
8482
|
return goog.iter.createEs6IteratorYield(total);
|
|
8469
8483
|
};
|
|
8470
8484
|
return iter;
|
|
@@ -8575,8 +8589,8 @@ goog.iter.starMap = function(iterable, f, opt_obj) {
|
|
|
8575
8589
|
};
|
|
8576
8590
|
goog.iter.tee = function(iterable, opt_num) {
|
|
8577
8591
|
function addNextIteratorValueToBuffers() {
|
|
8578
|
-
var $jscomp$destructuring$
|
|
8579
|
-
if ($jscomp$destructuring$
|
|
8592
|
+
var $jscomp$destructuring$var26 = iterator.next(), value = $jscomp$destructuring$var26.value;
|
|
8593
|
+
if ($jscomp$destructuring$var26.done) {
|
|
8580
8594
|
return !1;
|
|
8581
8595
|
}
|
|
8582
8596
|
for (var i = 0, buffer = void 0; buffer = buffers[i++];) {
|
|
@@ -8642,8 +8656,8 @@ goog.iter.combinations = function(iterable, length) {
|
|
|
8642
8656
|
return module$contents$goog$array_isSorted(arr);
|
|
8643
8657
|
}), iter = new goog.iter.Iterator();
|
|
8644
8658
|
iter.next = function() {
|
|
8645
|
-
var $jscomp$destructuring$
|
|
8646
|
-
return $jscomp$destructuring$
|
|
8659
|
+
var $jscomp$destructuring$var27 = sortedIndexIterator.next();
|
|
8660
|
+
return $jscomp$destructuring$var27.done ? goog.iter.ES6_ITERATOR_DONE : goog.iter.createEs6IteratorYield(module$contents$goog$array_map($jscomp$destructuring$var27.value, getIndexFromElements));
|
|
8647
8661
|
};
|
|
8648
8662
|
return iter;
|
|
8649
8663
|
};
|
|
@@ -8655,8 +8669,8 @@ goog.iter.combinationsWithReplacement = function(iterable, length) {
|
|
|
8655
8669
|
return module$contents$goog$array_isSorted(arr);
|
|
8656
8670
|
}), iter = new goog.iter.Iterator();
|
|
8657
8671
|
iter.next = function() {
|
|
8658
|
-
var $jscomp$destructuring$
|
|
8659
|
-
return $jscomp$destructuring$
|
|
8672
|
+
var $jscomp$destructuring$var28 = sortedIndexIterator.next();
|
|
8673
|
+
return $jscomp$destructuring$var28.done ? goog.iter.ES6_ITERATOR_DONE : goog.iter.createEs6IteratorYield(module$contents$goog$array_map($jscomp$destructuring$var28.value, getIndexFromElements));
|
|
8660
8674
|
};
|
|
8661
8675
|
return iter;
|
|
8662
8676
|
};
|
|
@@ -16075,8 +16089,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16075
16089
|
this.replacements = new Map();
|
|
16076
16090
|
};
|
|
16077
16091
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16078
|
-
var $jscomp$this$
|
|
16079
|
-
return $jscomp$this$
|
|
16092
|
+
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) {
|
|
16093
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
16080
16094
|
});
|
|
16081
16095
|
if (openedTags.length !== 0) {
|
|
16082
16096
|
if (goog.DEBUG) {
|
|
@@ -16294,8 +16308,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16294
16308
|
if (Array.isArray(token)) {
|
|
16295
16309
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16296
16310
|
} else {
|
|
16297
|
-
var $jscomp$optchain$
|
|
16298
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16311
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
16312
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm583190311$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm583190311$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16299
16313
|
tokens.push(token);
|
|
16300
16314
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16301
16315
|
return tokens;
|
|
@@ -16541,9 +16555,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16541
16555
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16542
16556
|
};
|
|
16543
16557
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16544
|
-
var $jscomp$this$
|
|
16558
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16545
16559
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16546
|
-
return $jscomp$this$
|
|
16560
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16547
16561
|
});
|
|
16548
16562
|
};
|
|
16549
16563
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16650,8 +16664,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16650
16664
|
return null;
|
|
16651
16665
|
}
|
|
16652
16666
|
if (token.lowercaseName === "url") {
|
|
16653
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16654
|
-
if ((($jscomp$optchain$
|
|
16667
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16668
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16655
16669
|
return null;
|
|
16656
16670
|
}
|
|
16657
16671
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16674,8 +16688,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16674
16688
|
if (!this.allowKeyframes) {
|
|
16675
16689
|
return null;
|
|
16676
16690
|
}
|
|
16677
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16678
|
-
var rule = $jscomp$key$
|
|
16691
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1877845113$1$rule.done; $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next()) {
|
|
16692
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16679
16693
|
if (rule instanceof CSSKeyframeRule) {
|
|
16680
16694
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16681
16695
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16687,8 +16701,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16687
16701
|
if (!this.propertyAllowlist.has(name)) {
|
|
16688
16702
|
return !1;
|
|
16689
16703
|
}
|
|
16690
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16691
|
-
var discarder = $jscomp$key$
|
|
16704
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1877845113$2$discarder.done; $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next()) {
|
|
16705
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16692
16706
|
if (discarder(name)) {
|
|
16693
16707
|
return !1;
|
|
16694
16708
|
}
|
|
@@ -16703,8 +16717,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16703
16717
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16704
16718
|
};
|
|
16705
16719
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16706
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16707
|
-
var name = $jscomp$key$
|
|
16720
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1877845113$3$name.done; $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next()) {
|
|
16721
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16708
16722
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16709
16723
|
}
|
|
16710
16724
|
return sanitizedProperties;
|
|
@@ -16718,8 +16732,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16718
16732
|
return selector + " { " + sanitizedProperties + " }";
|
|
16719
16733
|
};
|
|
16720
16734
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16721
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16722
|
-
var rule = $jscomp$key$
|
|
16735
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1877845113$4$rule.done; $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next()) {
|
|
16736
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16723
16737
|
if (rule instanceof CSSStyleRule) {
|
|
16724
16738
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16725
16739
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16881,8 +16895,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16881
16895
|
return fragment;
|
|
16882
16896
|
};
|
|
16883
16897
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16884
|
-
for (var $jscomp$this$
|
|
16885
|
-
return $jscomp$this$
|
|
16898
|
+
for (var $jscomp$this$m1803429925$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
16899
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
16886
16900
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16887
16901
|
var sanitizedNode = void 0;
|
|
16888
16902
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16917,8 +16931,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16917
16931
|
return this.createTextNode(textNode.data);
|
|
16918
16932
|
};
|
|
16919
16933
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16920
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$
|
|
16921
|
-
var $jscomp$destructuring$
|
|
16934
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1803429925$34$.done; $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next()) {
|
|
16935
|
+
var $jscomp$destructuring$var30 = $jscomp$key$m1803429925$34$.value, name = $jscomp$destructuring$var30.name, value = $jscomp$destructuring$var30.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
16922
16936
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16923
16937
|
switch(policy.policyAction) {
|
|
16924
16938
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16950,9 +16964,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16950
16964
|
break;
|
|
16951
16965
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16952
16966
|
if (this.resourceUrlPolicy) {
|
|
16953
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
16967
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1803429925$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part =
|
|
16954
16968
|
$jscomp$iter$35.next()) {
|
|
16955
|
-
var part = $jscomp$key$
|
|
16969
|
+
var part = $jscomp$key$m1803429925$33$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);
|
|
16956
16970
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16957
16971
|
}
|
|
16958
16972
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16996,8 +17010,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16996
17010
|
if (!conditions) {
|
|
16997
17011
|
return !0;
|
|
16998
17012
|
}
|
|
16999
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17000
|
-
var $jscomp$destructuring$
|
|
17013
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1803429925$35$.done; $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next()) {
|
|
17014
|
+
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var32.next().value, expectedValues = $jscomp$destructuring$var32.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;
|
|
17001
17015
|
if (value && !expectedValues.has(value)) {
|
|
17002
17016
|
return !1;
|
|
17003
17017
|
}
|
|
@@ -17012,8 +17026,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17012
17026
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17013
17027
|
};
|
|
17014
17028
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
17015
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
17016
|
-
var $jscomp$destructuring$
|
|
17029
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1803429925$36$part.done; $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next()) {
|
|
17030
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var33.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var33.next().value;
|
|
17017
17031
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17018
17032
|
}
|
|
17019
17033
|
return {parts:parts};
|
|
@@ -17070,8 +17084,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17070
17084
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17071
17085
|
};
|
|
17072
17086
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17073
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17074
|
-
var element = $jscomp$key$
|
|
17087
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$22$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$22$element.done; $jscomp$key$m1412690177$22$element = $jscomp$iter$39.next()) {
|
|
17088
|
+
var element = $jscomp$key$m1412690177$22$element.value;
|
|
17075
17089
|
element = element.toUpperCase();
|
|
17076
17090
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17077
17091
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17089,8 +17103,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17089
17103
|
throw Error("Element: " + element + " is not a custom element");
|
|
17090
17104
|
}
|
|
17091
17105
|
if (allowedAttributes) {
|
|
17092
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17093
|
-
elementPolicy.set($jscomp$key$
|
|
17106
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$23$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$23$attribute.done; $jscomp$key$m1412690177$23$attribute = $jscomp$iter$40.next()) {
|
|
17107
|
+
elementPolicy.set($jscomp$key$m1412690177$23$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17094
17108
|
}
|
|
17095
17109
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17096
17110
|
} else {
|
|
@@ -17100,15 +17114,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17100
17114
|
return this;
|
|
17101
17115
|
};
|
|
17102
17116
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17103
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17104
|
-
var attribute = $jscomp$key$
|
|
17117
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$24$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$24$attribute.done; $jscomp$key$m1412690177$24$attribute = $jscomp$iter$41.next()) {
|
|
17118
|
+
var attribute = $jscomp$key$m1412690177$24$attribute.value;
|
|
17105
17119
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17106
17120
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17107
17121
|
}
|
|
17108
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17109
|
-
for (var $jscomp$destructuring$
|
|
17122
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$26$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$26$.done; $jscomp$key$m1412690177$26$ = $jscomp$iter$43.next()) {
|
|
17123
|
+
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$26$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var36.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var36.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$25$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$25$.done; $jscomp$key$m1412690177$25$ =
|
|
17110
17124
|
$jscomp$iter$42.next()) {
|
|
17111
|
-
var $jscomp$destructuring$
|
|
17125
|
+
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$25$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var38.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var38.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17112
17126
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17113
17127
|
}
|
|
17114
17128
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17123,8 +17137,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17123
17137
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies, globallyAllowedAttributePrefixes);
|
|
17124
17138
|
return this;
|
|
17125
17139
|
}
|
|
17126
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17127
|
-
var attribute = $jscomp$key$
|
|
17140
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$27$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$27$attribute.done; $jscomp$key$m1412690177$27$attribute = $jscomp$iter$44.next()) {
|
|
17141
|
+
var attribute = $jscomp$key$m1412690177$27$attribute.value;
|
|
17128
17142
|
if (attribute.indexOf("data-") !== 0) {
|
|
17129
17143
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17130
17144
|
}
|
|
@@ -17190,7 +17204,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17190
17204
|
return this;
|
|
17191
17205
|
};
|
|
17192
17206
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17193
|
-
var $jscomp$this$
|
|
17207
|
+
var $jscomp$this$m1412690177$18 = this;
|
|
17194
17208
|
this.extendSanitizerTableForCss();
|
|
17195
17209
|
var propertyDiscarders = [];
|
|
17196
17210
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17200,9 +17214,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17200
17214
|
return /^transition(-|$)/.test(property);
|
|
17201
17215
|
});
|
|
17202
17216
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17203
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17217
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$18.resourceUrlPolicy, $jscomp$this$m1412690177$18.animationsAllowed, propertyDiscarders);
|
|
17204
17218
|
}, function(cssText) {
|
|
17205
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17219
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$18.resourceUrlPolicy, propertyDiscarders);
|
|
17206
17220
|
}, this.resourceUrlPolicy, this.openShadow);
|
|
17207
17221
|
};
|
|
17208
17222
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17420,12 +17434,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17420
17434
|
}
|
|
17421
17435
|
try {
|
|
17422
17436
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17423
|
-
} catch ($jscomp$unused$catch$
|
|
17437
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17424
17438
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17425
17439
|
}
|
|
17426
17440
|
try {
|
|
17427
17441
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17428
|
-
} catch ($jscomp$unused$catch$
|
|
17442
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17429
17443
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17430
17444
|
}
|
|
17431
17445
|
return !1;
|
|
@@ -19047,7 +19061,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19047
19061
|
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
|
|
19048
19062
|
!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);
|
|
19049
19063
|
for (var $jscomp$iter$46 = (0,$jscomp.makeIterator)(headers), $jscomp$key$m71669834$55$ = $jscomp$iter$46.next(); !$jscomp$key$m71669834$55$.done; $jscomp$key$m71669834$55$ = $jscomp$iter$46.next()) {
|
|
19050
|
-
var $jscomp$destructuring$
|
|
19064
|
+
var $jscomp$destructuring$var40 = (0,$jscomp.makeIterator)($jscomp$key$m71669834$55$.value), key$jscomp$1 = $jscomp$destructuring$var40.next().value, value = $jscomp$destructuring$var40.next().value;
|
|
19051
19065
|
this.xhr_.setRequestHeader(key$jscomp$1, value);
|
|
19052
19066
|
}
|
|
19053
19067
|
this.responseType_ && (this.xhr_.responseType = this.responseType_);
|
|
@@ -19284,7 +19298,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19284
19298
|
ee.apiclient = {};
|
|
19285
19299
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19286
19300
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19287
|
-
ee.apiclient.API_CLIENT_VERSION = "1.5.
|
|
19301
|
+
ee.apiclient.API_CLIENT_VERSION = "1.5.7";
|
|
19288
19302
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19289
19303
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19290
19304
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19416,21 +19430,21 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
|
|
|
19416
19430
|
return this;
|
|
19417
19431
|
};
|
|
19418
19432
|
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
|
|
19419
|
-
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$
|
|
19420
|
-
var $jscomp$destructuring$
|
|
19421
|
-
var id = $jscomp$destructuring$
|
|
19422
|
-
var $jscomp$destructuring$
|
|
19423
|
-
var partBody = $jscomp$destructuring$
|
|
19424
|
-
$jscomp$destructuring$
|
|
19433
|
+
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var41) {
|
|
19434
|
+
var $jscomp$destructuring$var42 = (0,$jscomp.makeIterator)($jscomp$destructuring$var41);
|
|
19435
|
+
var id = $jscomp$destructuring$var42.next().value;
|
|
19436
|
+
var $jscomp$destructuring$var43 = (0,$jscomp.makeIterator)($jscomp$destructuring$var42.next().value);
|
|
19437
|
+
var partBody = $jscomp$destructuring$var43.next().value;
|
|
19438
|
+
$jscomp$destructuring$var43.next();
|
|
19425
19439
|
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";
|
|
19426
19440
|
}).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
|
|
19427
19441
|
var result = {};
|
|
19428
|
-
parts.forEach(function($jscomp$destructuring$
|
|
19429
|
-
var $jscomp$destructuring$
|
|
19430
|
-
var id = $jscomp$destructuring$
|
|
19431
|
-
var $jscomp$destructuring$
|
|
19432
|
-
$jscomp$destructuring$
|
|
19433
|
-
var ctor = $jscomp$destructuring$
|
|
19442
|
+
parts.forEach(function($jscomp$destructuring$var44) {
|
|
19443
|
+
var $jscomp$destructuring$var45 = (0,$jscomp.makeIterator)($jscomp$destructuring$var44);
|
|
19444
|
+
var id = $jscomp$destructuring$var45.next().value;
|
|
19445
|
+
var $jscomp$destructuring$var46 = (0,$jscomp.makeIterator)($jscomp$destructuring$var45.next().value);
|
|
19446
|
+
$jscomp$destructuring$var46.next();
|
|
19447
|
+
var ctor = $jscomp$destructuring$var46.next().value;
|
|
19434
19448
|
response[id] != null && (result[id] = module$contents$eeapiclient$domain_object_deserialize(ctor, response[id]));
|
|
19435
19449
|
});
|
|
19436
19450
|
return getResponse ? getResponse(result) : result;
|
|
@@ -19582,8 +19596,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19582
19596
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19583
19597
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19584
19598
|
method = method || "POST";
|
|
19585
|
-
var headers = {"Content-Type":contentType}, version = "1.5.
|
|
19586
|
-
version === "1.5.
|
|
19599
|
+
var headers = {"Content-Type":contentType}, version = "1.5.7";
|
|
19600
|
+
version === "1.5.7" && (version = "latest");
|
|
19587
19601
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19588
19602
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19589
19603
|
if (authToken != null) {
|
|
@@ -19712,7 +19726,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19712
19726
|
};
|
|
19713
19727
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
19714
19728
|
for (var request = new goog.Uri.QueryData(), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$101$ = $jscomp$iter$48.next(); !$jscomp$key$m1153655765$101$.done; $jscomp$key$m1153655765$101$ = $jscomp$iter$48.next()) {
|
|
19715
|
-
var $jscomp$destructuring$
|
|
19729
|
+
var $jscomp$destructuring$var48 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var48.next().value, item = $jscomp$destructuring$var48.next().value;
|
|
19716
19730
|
request.set(name, item);
|
|
19717
19731
|
}
|
|
19718
19732
|
return request;
|
|
@@ -20191,10 +20205,10 @@ ee.rpc_convert.legacyPropertiesToAssetUpdate = function(legacyProperties) {
|
|
|
20191
20205
|
typeof value !== "string" && value !== null || properties.title != null || (properties.title = asNull(value) || value);
|
|
20192
20206
|
extractValue("system:description");
|
|
20193
20207
|
typeof value !== "string" && value !== null || properties.description != null || (properties.description = asNull(value) || value);
|
|
20194
|
-
Object.entries(properties).forEach(function($jscomp$destructuring$
|
|
20195
|
-
var $jscomp$destructuring$
|
|
20196
|
-
var key = $jscomp$destructuring$
|
|
20197
|
-
var value = $jscomp$destructuring$
|
|
20208
|
+
Object.entries(properties).forEach(function($jscomp$destructuring$var49) {
|
|
20209
|
+
var $jscomp$destructuring$var50 = (0,$jscomp.makeIterator)($jscomp$destructuring$var49);
|
|
20210
|
+
var key = $jscomp$destructuring$var50.next().value;
|
|
20211
|
+
var value = $jscomp$destructuring$var50.next().value;
|
|
20198
20212
|
properties[key] = asNull(value) || value;
|
|
20199
20213
|
});
|
|
20200
20214
|
asset.properties = properties;
|
|
@@ -20780,7 +20794,7 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
|
|
|
20780
20794
|
return object;
|
|
20781
20795
|
}
|
|
20782
20796
|
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$52 = (0,$jscomp.makeIterator)(Object.entries(isNode ? object.Serializable$values : object)), $jscomp$key$m759255156$28$ = $jscomp$iter$52.next(); !$jscomp$key$m759255156$28$.done; $jscomp$key$m759255156$28$ = $jscomp$iter$52.next()) {
|
|
20783
|
-
var $jscomp$destructuring$
|
|
20797
|
+
var $jscomp$destructuring$var52 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var52.next().value, val = $jscomp$destructuring$var52.next().value;
|
|
20784
20798
|
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 ?
|
|
20785
20799
|
null : val : walkObject(val)) : ret[key] = walkObject(val);
|
|
20786
20800
|
}
|
|
@@ -20904,7 +20918,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20904
20918
|
}
|
|
20905
20919
|
if (value.dictionaryValue != null) {
|
|
20906
20920
|
for (var values = {}, constantValues = {}, $jscomp$iter$53 = (0,$jscomp.makeIterator)(Object.entries(value.dictionaryValue.values || {})), $jscomp$key$m759255156$29$ = $jscomp$iter$53.next(); !$jscomp$key$m759255156$29$.done; $jscomp$key$m759255156$29$ = $jscomp$iter$53.next()) {
|
|
20907
|
-
var $jscomp$destructuring$
|
|
20921
|
+
var $jscomp$destructuring$var54 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var54.next().value, v = $jscomp$destructuring$var54.next().value;
|
|
20908
20922
|
values[k] = this.optimizeValue(v, depth + 3);
|
|
20909
20923
|
constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
|
|
20910
20924
|
}
|
|
@@ -21191,9 +21205,9 @@ ee.rpc_convert_batch.buildRankByOneThingRule_ = function(ruleString) {
|
|
|
21191
21205
|
if (matches == null) {
|
|
21192
21206
|
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.");
|
|
21193
21207
|
}
|
|
21194
|
-
var $jscomp$destructuring$
|
|
21195
|
-
$jscomp$destructuring$
|
|
21196
|
-
var ruleType = $jscomp$destructuring$
|
|
21208
|
+
var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)(matches);
|
|
21209
|
+
$jscomp$destructuring$var55.next();
|
|
21210
|
+
var ruleType = $jscomp$destructuring$var55.next().value, direction = $jscomp$destructuring$var55.next().value;
|
|
21197
21211
|
switch(direction.toUpperCase()) {
|
|
21198
21212
|
case "ASC":
|
|
21199
21213
|
rankByOneThingRule.direction = "ASCENDING";
|
|
@@ -21443,8 +21457,8 @@ ee.data.getDownloadId = function(params, opt_callback) {
|
|
|
21443
21457
|
}) && (params.bands = params.bands.map(function(band) {
|
|
21444
21458
|
return {id:band};
|
|
21445
21459
|
}));
|
|
21446
|
-
if (params.bands && params.bands.some(function($jscomp$destructuring$
|
|
21447
|
-
return $jscomp$destructuring$
|
|
21460
|
+
if (params.bands && params.bands.some(function($jscomp$destructuring$var56) {
|
|
21461
|
+
return $jscomp$destructuring$var56.id == null;
|
|
21448
21462
|
})) {
|
|
21449
21463
|
throw Error("Each band dictionary must have an id.");
|
|
21450
21464
|
}
|
|
@@ -24076,7 +24090,7 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
|
|
|
24076
24090
|
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
24077
24091
|
}
|
|
24078
24092
|
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$56 = (0,$jscomp.makeIterator)(Object.entries(formatOptions)), $jscomp$key$1827622838$35$ = $jscomp$iter$56.next(); !$jscomp$key$1827622838$35$.done; $jscomp$key$1827622838$35$ = $jscomp$iter$56.next()) {
|
|
24079
|
-
var $jscomp$destructuring$
|
|
24093
|
+
var $jscomp$destructuring$var59 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var59.next().value, value = $jscomp$destructuring$var59.next().value;
|
|
24080
24094
|
if (!module$contents$goog$array_contains(validOptionKeys, key)) {
|
|
24081
24095
|
var validKeysMsg = validOptionKeys.join(", ");
|
|
24082
24096
|
throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
|