@google/earthengine 1.7.12 → 1.7.14
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 +224 -200
- package/build/ee_api_js.js +17 -16
- package/build/ee_api_js_debug.js +201 -177
- package/build/ee_api_js_npm.js +224 -200
- package/build/main.js +224 -200
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/ee_api_js_debug.js
CHANGED
|
@@ -254,14 +254,18 @@ $jscomp.generator.Context.prototype.throw_ = function(e) {
|
|
|
254
254
|
this.abruptCompletion_ = {exception:e, isException:!0};
|
|
255
255
|
this.jumpToErrorHandler_();
|
|
256
256
|
};
|
|
257
|
-
$jscomp.generator.Context.prototype.
|
|
257
|
+
$jscomp.generator.Context.prototype.getNextAddressJsc = function() {
|
|
258
258
|
return this.nextAddress;
|
|
259
259
|
};
|
|
260
|
-
$jscomp.generator.Context.prototype.
|
|
261
|
-
|
|
260
|
+
$jscomp.generator.Context.prototype.getNextAddressJsc = function() {
|
|
261
|
+
return this.nextAddress;
|
|
262
|
+
};
|
|
263
|
+
$jscomp.generator.Context.prototype.getYieldResultJsc = function() {
|
|
264
|
+
return this.yieldResult;
|
|
265
|
+
};
|
|
266
|
+
$jscomp.generator.Context.prototype.getYieldResultJsc = function() {
|
|
262
267
|
return this.yieldResult;
|
|
263
268
|
};
|
|
264
|
-
$jscomp.generator.Context.prototype.getYieldResult = $jscomp.generator.Context.prototype.getYieldResult;
|
|
265
269
|
$jscomp.generator.Context.prototype.return = function(value) {
|
|
266
270
|
this.abruptCompletion_ = {return:value};
|
|
267
271
|
this.nextAddress = this.finallyAddress_;
|
|
@@ -1038,6 +1042,19 @@ $jscomp.polyfill("Map", function(NativeMap) {
|
|
|
1038
1042
|
};
|
|
1039
1043
|
return PolyfillMap;
|
|
1040
1044
|
}, "es6", "es3");
|
|
1045
|
+
$jscomp.polyfill("Map.groupBy", function(orig) {
|
|
1046
|
+
return orig ? orig : function(items, callbackFn) {
|
|
1047
|
+
if (typeof callbackFn !== "function") {
|
|
1048
|
+
throw new TypeError("callbackFn must be a function");
|
|
1049
|
+
}
|
|
1050
|
+
for (var result = new Map(), index = 0, iter = $jscomp.makeIterator(items), entry = iter.next(); !entry.done; entry = iter.next()) {
|
|
1051
|
+
var item = entry.value, key = callbackFn(item, index++), group = result.get(key);
|
|
1052
|
+
group || (group = [], result.set(key, group));
|
|
1053
|
+
group.push(item);
|
|
1054
|
+
}
|
|
1055
|
+
return result;
|
|
1056
|
+
};
|
|
1057
|
+
}, "es_next", "es3");
|
|
1041
1058
|
$jscomp.polyfill("Set", function(NativeSet) {
|
|
1042
1059
|
function isConformant() {
|
|
1043
1060
|
if ($jscomp.ASSUME_NO_NATIVE_SET || !NativeSet || typeof NativeSet != "function" || !NativeSet.prototype.entries || typeof Object.seal != "function") {
|
|
@@ -1366,9 +1383,9 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1366
1383
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1367
1384
|
};
|
|
1368
1385
|
}, "es8", "es3");
|
|
1369
|
-
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_lazy_tsx__disable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1370
|
-
GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable:!1, GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__jspb_write_back_bigint__disable:!1, GoogFlags__optimize_get_ei_from_ved__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, GoogFlags__use_toggles:!1,
|
|
1371
|
-
GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1386
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__batch_fc_data_fetches_in_microtask__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__disable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1387
|
+
GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable:!1, GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__jspb_write_back_bigint__disable:!1, GoogFlags__optimize_get_ei_from_ved__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, GoogFlags__use_toggles:!1, GoogFlags__use_unobfuscated_rpc_method_names__enable:!1,
|
|
1388
|
+
GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1372
1389
|
/*
|
|
1373
1390
|
|
|
1374
1391
|
Copyright The Closure Library Authors.
|
|
@@ -2265,9 +2282,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2265
2282
|
};
|
|
2266
2283
|
var module$contents$eeapiclient$domain_object_CopyValueGetter, module$contents$eeapiclient$domain_object_CopyValueSetter, module$contents$eeapiclient$domain_object_CopyConstructor, module$contents$eeapiclient$domain_object_CopyInstanciator;
|
|
2267
2284
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2268
|
-
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$
|
|
2269
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2270
|
-
var key = $jscomp$key$
|
|
2285
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
2286
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2287
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2271
2288
|
if (value != null) {
|
|
2272
2289
|
var copy = void 0;
|
|
2273
2290
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2278,11 +2295,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2278
2295
|
} else if (objects.hasOwnProperty(key)) {
|
|
2279
2296
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2280
2297
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2281
|
-
$jscomp$loop$
|
|
2298
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2282
2299
|
return function(v) {
|
|
2283
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2300
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2284
2301
|
};
|
|
2285
|
-
}($jscomp$loop$
|
|
2302
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2286
2303
|
} else if (Array.isArray(value)) {
|
|
2287
2304
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2288
2305
|
continue;
|
|
@@ -2297,8 +2314,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2297
2314
|
return target;
|
|
2298
2315
|
}
|
|
2299
2316
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2300
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2301
|
-
var mapKey = $jscomp$key$
|
|
2317
|
+
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()) {
|
|
2318
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2302
2319
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2303
2320
|
}
|
|
2304
2321
|
return objMap;
|
|
@@ -2328,39 +2345,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2328
2345
|
if (!(module$contents$eeapiclient$domain_object_sameKeys(keys1, metadata2.keys || []) && module$contents$eeapiclient$domain_object_sameKeys(arrays1, arrays2) && module$contents$eeapiclient$domain_object_sameKeys(objects1, objects2) && module$contents$eeapiclient$domain_object_sameKeys(objectMaps1, objectMaps2))) {
|
|
2329
2346
|
return !1;
|
|
2330
2347
|
}
|
|
2331
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2332
|
-
var key = $jscomp$key$
|
|
2348
|
+
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()) {
|
|
2349
|
+
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);
|
|
2333
2350
|
if (has1 !== has2) {
|
|
2334
2351
|
return !1;
|
|
2335
2352
|
}
|
|
2336
2353
|
if (has1) {
|
|
2337
2354
|
var value1 = serializable1.Serializable$get(key);
|
|
2338
|
-
$jscomp$loop$
|
|
2355
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2339
2356
|
if (arrays1.hasOwnProperty(key)) {
|
|
2340
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2357
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2341
2358
|
return !1;
|
|
2342
2359
|
}
|
|
2343
2360
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2344
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2361
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2345
2362
|
return !1;
|
|
2346
2363
|
}
|
|
2347
2364
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2348
|
-
if ($jscomp$loop$
|
|
2349
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2365
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2366
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2350
2367
|
return function(v1, i) {
|
|
2351
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2368
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2352
2369
|
};
|
|
2353
|
-
}($jscomp$loop$
|
|
2370
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2354
2371
|
return !1;
|
|
2355
2372
|
}
|
|
2356
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2373
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2357
2374
|
return !1;
|
|
2358
2375
|
}
|
|
2359
2376
|
} else if (Array.isArray(value1)) {
|
|
2360
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2377
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2361
2378
|
return !1;
|
|
2362
2379
|
}
|
|
2363
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2380
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2364
2381
|
return !1;
|
|
2365
2382
|
}
|
|
2366
2383
|
}
|
|
@@ -2382,8 +2399,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2382
2399
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2383
2400
|
return !1;
|
|
2384
2401
|
}
|
|
2385
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2386
|
-
var mapKey = $jscomp$key$
|
|
2402
|
+
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()) {
|
|
2403
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2387
2404
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2388
2405
|
return !1;
|
|
2389
2406
|
}
|
|
@@ -2464,15 +2481,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2464
2481
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2465
2482
|
};
|
|
2466
2483
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2467
|
-
var $jscomp$this$
|
|
2484
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2468
2485
|
payload += this._metadataPayload;
|
|
2469
2486
|
return Promise.all(this.files.map(function(f) {
|
|
2470
|
-
return $jscomp$this$
|
|
2487
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2471
2488
|
})).then(function(filePayloads) {
|
|
2472
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2473
|
-
payload += $jscomp$key$
|
|
2489
|
+
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()) {
|
|
2490
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2474
2491
|
}
|
|
2475
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2492
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2476
2493
|
});
|
|
2477
2494
|
};
|
|
2478
2495
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2984,8 +3001,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2984
3001
|
throw Error(message);
|
|
2985
3002
|
}
|
|
2986
3003
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2987
|
-
var $jscomp$templatelit$
|
|
2988
|
-
["\\0"]), $jscomp$templatelit$
|
|
3004
|
+
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"],
|
|
3005
|
+
["\\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"};
|
|
2989
3006
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2990
3007
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2991
3008
|
throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
|
|
@@ -2999,14 +3016,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2999
3016
|
return fn.toString().indexOf("`") === -1;
|
|
3000
3017
|
}
|
|
3001
3018
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3002
|
-
return tag($jscomp$templatelit$
|
|
3019
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
3003
3020
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3004
|
-
return tag($jscomp$templatelit$
|
|
3021
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
3005
3022
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3006
|
-
return tag($jscomp$templatelit$
|
|
3023
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
3007
3024
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3008
|
-
return tag($jscomp$templatelit$
|
|
3009
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3025
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
3026
|
+
}), 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);
|
|
3010
3027
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3011
3028
|
return Array.isArray(templateObj) && Array.isArray(templateObj.raw) && templateObj.length === templateObj.raw.length && (module$contents$safevalues$internals$string_literal_isTranspiled || templateObj !== templateObj.raw) && (module$contents$safevalues$internals$string_literal_isTranspiled && !module$contents$safevalues$internals$string_literal_frozenTSA || module$contents$safevalues$internals$string_literal_checkFrozen(templateObj)) ?
|
|
3012
3029
|
!0 : !1;
|
|
@@ -3332,9 +3349,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3332
3349
|
}
|
|
3333
3350
|
}
|
|
3334
3351
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3335
|
-
var $jscomp$tmp$error$
|
|
3336
|
-
this.message = $jscomp$tmp$error$
|
|
3337
|
-
"stack" in $jscomp$tmp$error$
|
|
3352
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3353
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3354
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3338
3355
|
this.type = type;
|
|
3339
3356
|
this.intent = intent;
|
|
3340
3357
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3430,7 +3447,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3430
3447
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3431
3448
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3432
3449
|
doc = doc === void 0 ? document : doc;
|
|
3433
|
-
var $jscomp$optchain$
|
|
3450
|
+
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]");
|
|
3434
3451
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3435
3452
|
}
|
|
3436
3453
|
;var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"};
|
|
@@ -4863,9 +4880,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4863
4880
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4864
4881
|
var module$exports$safevalues$dom$globals$fetch = {}, module$contents$safevalues$dom$globals$fetch_module = module$contents$safevalues$dom$globals$fetch_module || {id:"third_party/javascript/safevalues/dom/globals/fetch.closure.js"};
|
|
4865
4882
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4866
|
-
var $jscomp$tmp$error$
|
|
4867
|
-
this.message = $jscomp$tmp$error$
|
|
4868
|
-
"stack" in $jscomp$tmp$error$
|
|
4883
|
+
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.");
|
|
4884
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4885
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4869
4886
|
this.url = url;
|
|
4870
4887
|
this.typeName = typeName;
|
|
4871
4888
|
this.contentType = contentType;
|
|
@@ -4877,48 +4894,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4877
4894
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4878
4895
|
}
|
|
4879
4896
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4880
|
-
var response, $jscomp$optchain$
|
|
4881
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4882
|
-
if ($jscomp$generator$context$
|
|
4883
|
-
return $jscomp$generator$context$
|
|
4884
|
-
}
|
|
4885
|
-
response = $jscomp$generator$context$
|
|
4886
|
-
mimeType = ($jscomp$optchain$
|
|
4887
|
-
return $jscomp$generator$context$
|
|
4897
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4898
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4899
|
+
if ($jscomp$generator$context$m991617773$29.getNextAddressJsc() == 1) {
|
|
4900
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4901
|
+
}
|
|
4902
|
+
response = $jscomp$generator$context$m991617773$29.getYieldResultJsc();
|
|
4903
|
+
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();
|
|
4904
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4888
4905
|
var text;
|
|
4889
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4890
|
-
if ($jscomp$generator$context$
|
|
4906
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4907
|
+
if ($jscomp$generator$context$m991617773$26.getNextAddressJsc() == 1) {
|
|
4891
4908
|
if (mimeType !== "text/html") {
|
|
4892
4909
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4893
4910
|
}
|
|
4894
|
-
return $jscomp$generator$context$
|
|
4911
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4895
4912
|
}
|
|
4896
|
-
text = $jscomp$generator$context$
|
|
4897
|
-
return $jscomp$generator$context$
|
|
4913
|
+
text = $jscomp$generator$context$m991617773$26.getYieldResultJsc();
|
|
4914
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4898
4915
|
});
|
|
4899
4916
|
}, script:function() {
|
|
4900
4917
|
var text;
|
|
4901
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4902
|
-
if ($jscomp$generator$context$
|
|
4918
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4919
|
+
if ($jscomp$generator$context$m991617773$27.getNextAddressJsc() == 1) {
|
|
4903
4920
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4904
4921
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4905
4922
|
}
|
|
4906
|
-
return $jscomp$generator$context$
|
|
4923
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4907
4924
|
}
|
|
4908
|
-
text = $jscomp$generator$context$
|
|
4909
|
-
return $jscomp$generator$context$
|
|
4925
|
+
text = $jscomp$generator$context$m991617773$27.getYieldResultJsc();
|
|
4926
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4910
4927
|
});
|
|
4911
4928
|
}, styleSheet:function() {
|
|
4912
4929
|
var text;
|
|
4913
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4914
|
-
if ($jscomp$generator$context$
|
|
4930
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4931
|
+
if ($jscomp$generator$context$m991617773$28.getNextAddressJsc() == 1) {
|
|
4915
4932
|
if (mimeType !== "text/css") {
|
|
4916
4933
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4917
4934
|
}
|
|
4918
|
-
return $jscomp$generator$context$
|
|
4935
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4919
4936
|
}
|
|
4920
|
-
text = $jscomp$generator$context$
|
|
4921
|
-
return $jscomp$generator$context$
|
|
4937
|
+
text = $jscomp$generator$context$m991617773$28.getYieldResultJsc();
|
|
4938
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4922
4939
|
});
|
|
4923
4940
|
}});
|
|
4924
4941
|
});
|
|
@@ -6356,8 +6373,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6356
6373
|
}
|
|
6357
6374
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6358
6375
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6359
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6360
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6376
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$1047461284$0$ = $jscomp$iter$29.next(); !$jscomp$key$1047461284$0$.done; $jscomp$key$1047461284$0$ = $jscomp$iter$29.next()) {
|
|
6377
|
+
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;
|
|
6361
6378
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6362
6379
|
}
|
|
6363
6380
|
return urlQueryParams;
|
|
@@ -6369,8 +6386,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params,
|
|
|
6369
6386
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6370
6387
|
if (params.headers) {
|
|
6371
6388
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6372
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6373
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6389
|
+
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()) {
|
|
6390
|
+
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;
|
|
6374
6391
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6375
6392
|
}
|
|
6376
6393
|
}
|
|
@@ -6405,8 +6422,8 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$addHoo
|
|
|
6405
6422
|
}, function(error) {
|
|
6406
6423
|
throw error;
|
|
6407
6424
|
}).finally(function() {
|
|
6408
|
-
var $jscomp$optchain$
|
|
6409
|
-
($jscomp$optchain$
|
|
6425
|
+
var $jscomp$optchain$tmp1237977804$1;
|
|
6426
|
+
($jscomp$optchain$tmp1237977804$1 = hook.onFinalize) == null || $jscomp$optchain$tmp1237977804$1.call(hook);
|
|
6410
6427
|
});
|
|
6411
6428
|
};
|
|
6412
6429
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$request = function(requestParams) {
|
|
@@ -6414,9 +6431,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6414
6431
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6415
6432
|
};
|
|
6416
6433
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6417
|
-
var $jscomp$this$
|
|
6434
|
+
var $jscomp$this$1237977804$6 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6418
6435
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6419
|
-
return $jscomp$this$
|
|
6436
|
+
return $jscomp$this$1237977804$6.requestService.send(params, responseCtor);
|
|
6420
6437
|
}));
|
|
6421
6438
|
};
|
|
6422
6439
|
var module$exports$eeapiclient$promise_request_service = {}, module$contents$eeapiclient$promise_request_service_module = module$contents$eeapiclient$promise_request_service_module || {id:"javascript/typescript/contrib/apiclient/request_service/promise_request_service.closure.js"};
|
|
@@ -6601,6 +6618,8 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_arr
|
|
|
6601
6618
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable = !1;
|
|
6602
6619
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__disable = !1;
|
|
6603
6620
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6621
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__batch_fc_data_fetches_in_microtask__enable = !1;
|
|
6622
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_unobfuscated_rpc_method_names__enable = !1;
|
|
6604
6623
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6605
6624
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
6606
6625
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
|
|
@@ -6623,6 +6642,8 @@ goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = mod
|
|
|
6623
6642
|
goog.flags.JSPB_DESERIALIZE_BINARY_INT64S_AS_GBIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable : goog.readFlagInternalDoNotUseOrElse(824648567, !0);
|
|
6624
6643
|
goog.flags.JSPB_WRITE_BACK_BIGINT = 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_write_back_bigint__disable) : goog.readFlagInternalDoNotUseOrElse(824656860, module$contents$goog$flags_STAGING);
|
|
6625
6644
|
goog.flags.OPTIMIZE_GET_EI_FROM_VED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable : goog.readFlagInternalDoNotUseOrElse(333098724, !1);
|
|
6645
|
+
goog.flags.BATCH_FC_DATA_FETCHES_IN_MICROTASK = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__batch_fc_data_fetches_in_microtask__enable : goog.readFlagInternalDoNotUseOrElse(861377723, goog.DEBUG);
|
|
6646
|
+
goog.flags.USE_UNOBFUSCATED_RPC_METHOD_NAMES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_unobfuscated_rpc_method_names__enable : goog.readFlagInternalDoNotUseOrElse(861377724, goog.DEBUG);
|
|
6626
6647
|
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);
|
|
6627
6648
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
6628
6649
|
goog.flags.TESTONLY_STAGING_FLAG = 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__testonly_staging_flag__disable) : goog.readFlagInternalDoNotUseOrElse(2147483646, module$contents$goog$flags_STAGING);
|
|
@@ -6723,7 +6744,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
6723
6744
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.load = function() {
|
|
6724
6745
|
var $jscomp$async$this$m2110036436$9 = this, userAgentData;
|
|
6725
6746
|
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m2110036436$35) {
|
|
6726
|
-
if ($jscomp$generator$context$m2110036436$35.
|
|
6747
|
+
if ($jscomp$generator$context$m2110036436$35.getNextAddressJsc() == 1) {
|
|
6727
6748
|
userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
|
|
6728
6749
|
if (!userAgentData) {
|
|
6729
6750
|
return $jscomp$generator$context$m2110036436$35.return(void 0);
|
|
@@ -6731,11 +6752,11 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
6731
6752
|
$jscomp$async$this$m2110036436$9.promise_ || ($jscomp$async$this$m2110036436$9.pending_ = !0, $jscomp$async$this$m2110036436$9.promise_ = function() {
|
|
6732
6753
|
var dataValues;
|
|
6733
6754
|
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m2110036436$34) {
|
|
6734
|
-
if ($jscomp$generator$context$m2110036436$34.
|
|
6755
|
+
if ($jscomp$generator$context$m2110036436$34.getNextAddressJsc() == 1) {
|
|
6735
6756
|
return $jscomp$generator$context$m2110036436$34.setFinallyBlock(2), $jscomp$generator$context$m2110036436$34.yield(userAgentData.getHighEntropyValues([$jscomp$async$this$m2110036436$9.key_]), 4);
|
|
6736
6757
|
}
|
|
6737
|
-
if ($jscomp$generator$context$m2110036436$34.
|
|
6738
|
-
return dataValues = $jscomp$generator$context$m2110036436$34.
|
|
6758
|
+
if ($jscomp$generator$context$m2110036436$34.getNextAddressJsc() != 2) {
|
|
6759
|
+
return dataValues = $jscomp$generator$context$m2110036436$34.getYieldResultJsc(), $jscomp$async$this$m2110036436$9.value_ = dataValues[$jscomp$async$this$m2110036436$9.key_], $jscomp$generator$context$m2110036436$34.return($jscomp$async$this$m2110036436$9.value_);
|
|
6739
6760
|
}
|
|
6740
6761
|
$jscomp$generator$context$m2110036436$34.enterFinallyBlock();
|
|
6741
6762
|
$jscomp$async$this$m2110036436$9.pending_ = !1;
|
|
@@ -6744,7 +6765,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
6744
6765
|
}());
|
|
6745
6766
|
return $jscomp$generator$context$m2110036436$35.yield($jscomp$async$this$m2110036436$9.promise_, 2);
|
|
6746
6767
|
}
|
|
6747
|
-
return $jscomp$generator$context$m2110036436$35.return($jscomp$generator$context$m2110036436$35.
|
|
6768
|
+
return $jscomp$generator$context$m2110036436$35.return($jscomp$generator$context$m2110036436$35.getYieldResultJsc());
|
|
6748
6769
|
});
|
|
6749
6770
|
};
|
|
6750
6771
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.resetForTesting = function() {
|
|
@@ -6994,10 +7015,10 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.ge
|
|
|
6994
7015
|
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.load = function() {
|
|
6995
7016
|
var $jscomp$async$this$1683157560$59 = this, loadedVersionList, matchingBrand;
|
|
6996
7017
|
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1683157560$106) {
|
|
6997
|
-
if ($jscomp$generator$context$1683157560$106.
|
|
7018
|
+
if ($jscomp$generator$context$1683157560$106.getNextAddressJsc() == 1) {
|
|
6998
7019
|
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);
|
|
6999
7020
|
}
|
|
7000
|
-
if ($jscomp$generator$context$1683157560$106.
|
|
7021
|
+
if ($jscomp$generator$context$1683157560$106.getNextAddressJsc() != 3 && (loadedVersionList = $jscomp$generator$context$1683157560$106.getYieldResultJsc(), loadedVersionList !== void 0)) {
|
|
7001
7022
|
return matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var11) {
|
|
7002
7023
|
return $jscomp$async$this$1683157560$59.brand_ === $jscomp$destructuring$var11.brand;
|
|
7003
7024
|
}), (0,goog.asserts.assertExists)(matchingBrand), $jscomp$generator$context$1683157560$106.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version));
|
|
@@ -7009,7 +7030,7 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.lo
|
|
|
7009
7030
|
var module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
|
|
7010
7031
|
goog.labs.userAgent.browser.loadFullVersions = function() {
|
|
7011
7032
|
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1683157560$107) {
|
|
7012
|
-
if ($jscomp$generator$context$1683157560$107.
|
|
7033
|
+
if ($jscomp$generator$context$1683157560$107.getNextAddressJsc() == 1) {
|
|
7013
7034
|
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);
|
|
7014
7035
|
}
|
|
7015
7036
|
module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
|
|
@@ -7194,14 +7215,14 @@ module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.getIfLoad
|
|
|
7194
7215
|
module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.load = function() {
|
|
7195
7216
|
var $jscomp$async$this$m1628565157$33 = this, JSCompiler_temp_const;
|
|
7196
7217
|
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m1628565157$37) {
|
|
7197
|
-
if ($jscomp$generator$context$m1628565157$37.
|
|
7218
|
+
if ($jscomp$generator$context$m1628565157$37.getNextAddressJsc() == 1) {
|
|
7198
7219
|
if (!module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)) {
|
|
7199
7220
|
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()));
|
|
7200
7221
|
}
|
|
7201
7222
|
JSCompiler_temp_const = module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version;
|
|
7202
7223
|
return $jscomp$generator$context$m1628565157$37.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.load(), 3);
|
|
7203
7224
|
}
|
|
7204
|
-
return $jscomp$generator$context$m1628565157$37.return(new JSCompiler_temp_const($jscomp$generator$context$m1628565157$37.
|
|
7225
|
+
return $jscomp$generator$context$m1628565157$37.return(new JSCompiler_temp_const($jscomp$generator$context$m1628565157$37.getYieldResultJsc()));
|
|
7205
7226
|
});
|
|
7206
7227
|
};
|
|
7207
7228
|
module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.resetForTesting = function() {
|
|
@@ -7366,15 +7387,16 @@ goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEvent
|
|
|
7366
7387
|
return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName : fallbackEventName;
|
|
7367
7388
|
};
|
|
7368
7389
|
goog.events.eventTypeHelpers.getVendorPrefixedName = module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName;
|
|
7369
|
-
goog
|
|
7370
|
-
CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange",
|
|
7371
|
-
DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LOSECAPTURE:"losecapture", ORIENTATIONCHANGE:"orientationchange", READYSTATECHANGE:"readystatechange", RESIZE:"resize", SCROLL:"scroll", UNLOAD:"unload", CANPLAY:"canplay", CANPLAYTHROUGH:"canplaythrough", DURATIONCHANGE:"durationchange", EMPTIED:"emptied", ENDED:"ended", LOADEDDATA:"loadeddata", LOADEDMETADATA:"loadedmetadata", PAUSE:"pause", PLAY:"play",
|
|
7372
|
-
SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut",
|
|
7373
|
-
ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationStart"), ANIMATIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationEnd"),
|
|
7374
|
-
TRANSITIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture",
|
|
7375
|
-
MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut",
|
|
7376
|
-
COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive",
|
|
7377
|
-
AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
|
|
7390
|
+
var module$contents$goog$events$EventType_EventType = {CLICK:"click", RIGHTCLICK:"rightclick", DBLCLICK:"dblclick", AUXCLICK:"auxclick", MOUSEDOWN:"mousedown", MOUSEUP:"mouseup", MOUSEOVER:"mouseover", MOUSEOUT:"mouseout", MOUSEMOVE:"mousemove", MOUSEENTER:"mouseenter", MOUSELEAVE:"mouseleave", MOUSECANCEL:"mousecancel", SELECTIONCHANGE:"selectionchange", SELECTSTART:"selectstart", WHEEL:"wheel", KEYPRESS:"keypress", KEYDOWN:"keydown", KEYUP:"keyup", BLUR:"blur", FOCUS:"focus", DEACTIVATE:"deactivate",
|
|
7391
|
+
FOCUSIN:"focusin", FOCUSOUT:"focusout", CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange",
|
|
7392
|
+
DEVICEMOTION:"devicemotion", DEVICEORIENTATION:"deviceorientation", DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LOSECAPTURE:"losecapture", ORIENTATIONCHANGE:"orientationchange", READYSTATECHANGE:"readystatechange", RESIZE:"resize", SCROLL:"scroll", UNLOAD:"unload", CANPLAY:"canplay", CANPLAYTHROUGH:"canplaythrough", DURATIONCHANGE:"durationchange", EMPTIED:"emptied", ENDED:"ended", LOADEDDATA:"loadeddata", LOADEDMETADATA:"loadedmetadata", PAUSE:"pause", PLAY:"play",
|
|
7393
|
+
PLAYING:"playing", PROGRESS:"progress", RATECHANGE:"ratechange", SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut",
|
|
7394
|
+
BEFORECOPY:"beforecopy", BEFORECUT:"beforecut", BEFOREPASTE:"beforepaste", ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationStart"), ANIMATIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationEnd"),
|
|
7395
|
+
ANIMATIONITERATION:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationIteration"), TRANSITIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture",
|
|
7396
|
+
MSGESTURECHANGE:"MSGestureChange", MSGESTUREEND:"MSGestureEnd", MSGESTUREHOLD:"MSGestureHold", MSGESTURESTART:"MSGestureStart", MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut",
|
|
7397
|
+
MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:"textInput", COMPOSITIONSTART:"compositionstart", COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive",
|
|
7398
|
+
SIZECHANGED:"sizechanged", UNRESPONSIVE:"unresponsive", VISIBILITYCHANGE:"visibilitychange", STORAGE:"storage", BEFOREPRINT:"beforeprint", AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
|
|
7399
|
+
goog.events.EventType = module$contents$goog$events$EventType_EventType;
|
|
7378
7400
|
function module$contents$goog$events$BrowserEvent_BrowserEvent(opt_e, opt_currentTarget) {
|
|
7379
7401
|
goog.events.Event.call(this, opt_e ? opt_e.type : "");
|
|
7380
7402
|
this.relatedTarget = this.currentTarget = this.target = null;
|
|
@@ -7399,7 +7421,7 @@ module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.init = function(
|
|
|
7399
7421
|
this.target = e.target || e.srcElement;
|
|
7400
7422
|
this.currentTarget = opt_currentTarget;
|
|
7401
7423
|
var relatedTarget = e.relatedTarget;
|
|
7402
|
-
relatedTarget || (type == goog
|
|
7424
|
+
relatedTarget || (type == module$contents$goog$events$EventType_EventType.MOUSEOVER ? relatedTarget = e.fromElement : type == module$contents$goog$events$EventType_EventType.MOUSEOUT && (relatedTarget = e.toElement));
|
|
7403
7425
|
this.relatedTarget = relatedTarget;
|
|
7404
7426
|
relevantTouch ? (this.clientX = relevantTouch.clientX !== void 0 ? relevantTouch.clientX : relevantTouch.pageX, this.clientY = relevantTouch.clientY !== void 0 ? relevantTouch.clientY : relevantTouch.pageY, this.screenX = relevantTouch.screenX || 0, this.screenY = relevantTouch.screenY || 0) : (module$contents$goog$events$BrowserEvent_BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY ? (this.offsetX = e.layerX !== void 0 ? e.layerX : e.offsetX, this.offsetY = e.layerY !== void 0 ? e.layerY : e.offsetY) :
|
|
7405
7427
|
(this.offsetX = goog.userAgent.WEBKIT || e.offsetX !== void 0 ? e.offsetX : e.layerX, this.offsetY = goog.userAgent.WEBKIT || e.offsetY !== void 0 ? e.offsetY : e.layerY), this.clientX = e.clientX !== void 0 ? e.clientX : e.pageX, this.clientY = e.clientY !== void 0 ? e.clientY : e.pageY, this.screenX = e.screenX || 0, this.screenY = e.screenY || 0);
|
|
@@ -9382,8 +9404,9 @@ module$exports$eeapiclient$ee_api_client.ProjectRegistrationFreeQuotaEnum = {FRE
|
|
|
9382
9404
|
}};
|
|
9383
9405
|
module$exports$eeapiclient$ee_api_client.IProjectRegistrationUpdateReasonEnum = function() {
|
|
9384
9406
|
};
|
|
9385
|
-
module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum = {AUTOMATIC_DOWNGRADE:"AUTOMATIC_DOWNGRADE", MANUAL_CLOUD_CONSOLE:"MANUAL_CLOUD_CONSOLE", MANUAL_SYSTEM:"MANUAL_SYSTEM", UPDATE_REASON_UNSPECIFIED:"UPDATE_REASON_UNSPECIFIED", values:function() {
|
|
9386
|
-
return [module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum.UPDATE_REASON_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum.MANUAL_CLOUD_CONSOLE, module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum.MANUAL_SYSTEM, module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum.AUTOMATIC_DOWNGRADE
|
|
9407
|
+
module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum = {AUTOMATIC_DOWNGRADE:"AUTOMATIC_DOWNGRADE", AUTOMATIC_DOWNGRADE_ACKNOWLEDGEMENT:"AUTOMATIC_DOWNGRADE_ACKNOWLEDGEMENT", MANUAL_CLOUD_CONSOLE:"MANUAL_CLOUD_CONSOLE", MANUAL_SYSTEM:"MANUAL_SYSTEM", UPDATE_REASON_UNSPECIFIED:"UPDATE_REASON_UNSPECIFIED", values:function() {
|
|
9408
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum.UPDATE_REASON_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum.MANUAL_CLOUD_CONSOLE, module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum.MANUAL_SYSTEM, module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum.AUTOMATIC_DOWNGRADE,
|
|
9409
|
+
module$exports$eeapiclient$ee_api_client.ProjectRegistrationUpdateReasonEnum.AUTOMATIC_DOWNGRADE_ACKNOWLEDGEMENT];
|
|
9387
9410
|
}};
|
|
9388
9411
|
module$exports$eeapiclient$ee_api_client.IRankByOneThingRuleDirectionEnum = function() {
|
|
9389
9412
|
};
|
|
@@ -16349,8 +16372,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16349
16372
|
this.replacements = new Map();
|
|
16350
16373
|
};
|
|
16351
16374
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16352
|
-
var $jscomp$this$
|
|
16353
|
-
return $jscomp$this$
|
|
16375
|
+
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) {
|
|
16376
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
16354
16377
|
});
|
|
16355
16378
|
if (openedTags.length !== 0) {
|
|
16356
16379
|
if (goog.DEBUG) {
|
|
@@ -16568,8 +16591,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16568
16591
|
if (Array.isArray(token)) {
|
|
16569
16592
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16570
16593
|
} else {
|
|
16571
|
-
var $jscomp$optchain$
|
|
16572
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16594
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
16595
|
+
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) {
|
|
16573
16596
|
tokens.push(token);
|
|
16574
16597
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16575
16598
|
return tokens;
|
|
@@ -16815,9 +16838,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16815
16838
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16816
16839
|
};
|
|
16817
16840
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16818
|
-
var $jscomp$this$
|
|
16841
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16819
16842
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16820
|
-
return $jscomp$this$
|
|
16843
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16821
16844
|
});
|
|
16822
16845
|
};
|
|
16823
16846
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16924,8 +16947,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16924
16947
|
return null;
|
|
16925
16948
|
}
|
|
16926
16949
|
if (token.lowercaseName === "url") {
|
|
16927
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16928
|
-
if ((($jscomp$optchain$
|
|
16950
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16951
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16929
16952
|
return null;
|
|
16930
16953
|
}
|
|
16931
16954
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
@@ -16948,8 +16971,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16948
16971
|
if (!this.allowKeyframes) {
|
|
16949
16972
|
return null;
|
|
16950
16973
|
}
|
|
16951
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16952
|
-
var rule = $jscomp$key$
|
|
16974
|
+
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()) {
|
|
16975
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16953
16976
|
if (rule instanceof CSSKeyframeRule) {
|
|
16954
16977
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16955
16978
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16961,8 +16984,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16961
16984
|
if (!this.propertyAllowlist.has(name)) {
|
|
16962
16985
|
return !1;
|
|
16963
16986
|
}
|
|
16964
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16965
|
-
var discarder = $jscomp$key$
|
|
16987
|
+
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()) {
|
|
16988
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16966
16989
|
if (discarder(name)) {
|
|
16967
16990
|
return !1;
|
|
16968
16991
|
}
|
|
@@ -16977,8 +17000,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16977
17000
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16978
17001
|
};
|
|
16979
17002
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16980
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16981
|
-
var name = $jscomp$key$
|
|
17003
|
+
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()) {
|
|
17004
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16982
17005
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16983
17006
|
}
|
|
16984
17007
|
return sanitizedProperties;
|
|
@@ -16992,8 +17015,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16992
17015
|
return selector + " { " + sanitizedProperties + " }";
|
|
16993
17016
|
};
|
|
16994
17017
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16995
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16996
|
-
var rule = $jscomp$key$
|
|
17018
|
+
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()) {
|
|
17019
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16997
17020
|
if (rule instanceof CSSStyleRule) {
|
|
16998
17021
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16999
17022
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -17157,8 +17180,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17157
17180
|
return fragment;
|
|
17158
17181
|
};
|
|
17159
17182
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
17160
|
-
for (var $jscomp$this$
|
|
17161
|
-
return $jscomp$this$
|
|
17183
|
+
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) {
|
|
17184
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
17162
17185
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
17163
17186
|
var sanitizedNode = void 0;
|
|
17164
17187
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -17193,8 +17216,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17193
17216
|
return this.createTextNode(textNode.data);
|
|
17194
17217
|
};
|
|
17195
17218
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
17196
|
-
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$
|
|
17197
|
-
var $jscomp$destructuring$var30 = $jscomp$key$
|
|
17219
|
+
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()) {
|
|
17220
|
+
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);
|
|
17198
17221
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
17199
17222
|
switch(policy.policyAction) {
|
|
17200
17223
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -17226,9 +17249,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17226
17249
|
break;
|
|
17227
17250
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17228
17251
|
if (this.resourceUrlPolicy) {
|
|
17229
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
17252
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1803429925$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part =
|
|
17230
17253
|
$jscomp$iter$35.next()) {
|
|
17231
|
-
var part = $jscomp$key$
|
|
17254
|
+
var part = $jscomp$key$m1803429925$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
17232
17255
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17233
17256
|
}
|
|
17234
17257
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17286,8 +17309,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17286
17309
|
if (!conditions) {
|
|
17287
17310
|
return !0;
|
|
17288
17311
|
}
|
|
17289
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17290
|
-
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17312
|
+
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()) {
|
|
17313
|
+
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;
|
|
17291
17314
|
if (value && !expectedValues.has(value)) {
|
|
17292
17315
|
return !1;
|
|
17293
17316
|
}
|
|
@@ -17302,8 +17325,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17302
17325
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17303
17326
|
};
|
|
17304
17327
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
17305
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
17306
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17328
|
+
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()) {
|
|
17329
|
+
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;
|
|
17307
17330
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17308
17331
|
}
|
|
17309
17332
|
return {parts:parts};
|
|
@@ -17360,8 +17383,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17360
17383
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17361
17384
|
};
|
|
17362
17385
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17363
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17364
|
-
var element = $jscomp$key$
|
|
17386
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$23$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$23$element.done; $jscomp$key$m1412690177$23$element = $jscomp$iter$39.next()) {
|
|
17387
|
+
var element = $jscomp$key$m1412690177$23$element.value;
|
|
17365
17388
|
element = element.toUpperCase();
|
|
17366
17389
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17367
17390
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17379,8 +17402,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17379
17402
|
throw Error("Element: " + element + " is not a custom element");
|
|
17380
17403
|
}
|
|
17381
17404
|
if (allowedAttributes) {
|
|
17382
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17383
|
-
elementPolicy.set($jscomp$key$
|
|
17405
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$24$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$24$attribute.done; $jscomp$key$m1412690177$24$attribute = $jscomp$iter$40.next()) {
|
|
17406
|
+
elementPolicy.set($jscomp$key$m1412690177$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17384
17407
|
}
|
|
17385
17408
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17386
17409
|
} else {
|
|
@@ -17390,15 +17413,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17390
17413
|
return this;
|
|
17391
17414
|
};
|
|
17392
17415
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17393
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17394
|
-
var attribute = $jscomp$key$
|
|
17416
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$25$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$25$attribute.done; $jscomp$key$m1412690177$25$attribute = $jscomp$iter$41.next()) {
|
|
17417
|
+
var attribute = $jscomp$key$m1412690177$25$attribute.value;
|
|
17395
17418
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17396
17419
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17397
17420
|
}
|
|
17398
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17399
|
-
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17421
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$27$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$27$.done; $jscomp$key$m1412690177$27$ = $jscomp$iter$43.next()) {
|
|
17422
|
+
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$27$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var36.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var36.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$26$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$26$.done; $jscomp$key$m1412690177$26$ =
|
|
17400
17423
|
$jscomp$iter$42.next()) {
|
|
17401
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17424
|
+
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$26$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var38.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var38.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17402
17425
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17403
17426
|
}
|
|
17404
17427
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17413,8 +17436,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17413
17436
|
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);
|
|
17414
17437
|
return this;
|
|
17415
17438
|
}
|
|
17416
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17417
|
-
var attribute = $jscomp$key$
|
|
17439
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$28$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$28$attribute.done; $jscomp$key$m1412690177$28$attribute = $jscomp$iter$44.next()) {
|
|
17440
|
+
var attribute = $jscomp$key$m1412690177$28$attribute.value;
|
|
17418
17441
|
if (attribute.indexOf("data-") !== 0) {
|
|
17419
17442
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17420
17443
|
}
|
|
@@ -17484,7 +17507,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17484
17507
|
return this;
|
|
17485
17508
|
};
|
|
17486
17509
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17487
|
-
var $jscomp$this$
|
|
17510
|
+
var $jscomp$this$m1412690177$19 = this;
|
|
17488
17511
|
this.extendSanitizerTableForCss();
|
|
17489
17512
|
var propertyDiscarders = [];
|
|
17490
17513
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17494,9 +17517,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17494
17517
|
return /^transition(-|$)/.test(property);
|
|
17495
17518
|
});
|
|
17496
17519
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17497
|
-
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$
|
|
17520
|
+
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$19.resourceUrlPolicy, $jscomp$this$m1412690177$19.animationsAllowed, propertyDiscarders);
|
|
17498
17521
|
}, function(cssText) {
|
|
17499
|
-
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$
|
|
17522
|
+
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$19.resourceUrlPolicy, propertyDiscarders);
|
|
17500
17523
|
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17501
17524
|
};
|
|
17502
17525
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17716,12 +17739,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17716
17739
|
}
|
|
17717
17740
|
try {
|
|
17718
17741
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17719
|
-
} catch ($jscomp$unused$catch$
|
|
17742
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17720
17743
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17721
17744
|
}
|
|
17722
17745
|
try {
|
|
17723
17746
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17724
|
-
} catch ($jscomp$unused$catch$
|
|
17747
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17725
17748
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17726
17749
|
}
|
|
17727
17750
|
return !1;
|
|
@@ -19185,7 +19208,8 @@ var module$contents$goog$net$ErrorCode_ErrorCode = {NO_ERROR:0, ACCESS_DENIED:1,
|
|
|
19185
19208
|
}
|
|
19186
19209
|
}};
|
|
19187
19210
|
goog.net.ErrorCode = module$contents$goog$net$ErrorCode_ErrorCode;
|
|
19188
|
-
goog
|
|
19211
|
+
var module$contents$goog$net$EventType_EventType = {COMPLETE:"complete", SUCCESS:"success", ERROR:"error", ABORT:"abort", READY:"ready", READY_STATE_CHANGE:"readystatechange", TIMEOUT:"timeout", INCREMENTAL_DATA:"incrementaldata", PROGRESS:"progress", DOWNLOAD_PROGRESS:"downloadprogress", UPLOAD_PROGRESS:"uploadprogress"};
|
|
19212
|
+
goog.net.EventType = module$contents$goog$net$EventType_EventType;
|
|
19189
19213
|
var module$contents$goog$net$HttpStatus_HttpStatus = {CONTINUE:100, SWITCHING_PROTOCOLS:101, OK:200, CREATED:201, ACCEPTED:202, NON_AUTHORITATIVE_INFORMATION:203, NO_CONTENT:204, RESET_CONTENT:205, PARTIAL_CONTENT:206, MULTI_STATUS:207, MULTIPLE_CHOICES:300, MOVED_PERMANENTLY:301, FOUND:302, SEE_OTHER:303, NOT_MODIFIED:304, USE_PROXY:305, TEMPORARY_REDIRECT:307, PERMANENT_REDIRECT:308, BAD_REQUEST:400, UNAUTHORIZED:401, PAYMENT_REQUIRED:402, FORBIDDEN:403, NOT_FOUND:404, METHOD_NOT_ALLOWED:405, NOT_ACCEPTABLE:406,
|
|
19190
19214
|
PROXY_AUTHENTICATION_REQUIRED:407, REQUEST_TIMEOUT:408, CONFLICT:409, GONE:410, LENGTH_REQUIRED:411, PRECONDITION_FAILED:412, REQUEST_ENTITY_TOO_LARGE:413, REQUEST_URI_TOO_LONG:414, UNSUPPORTED_MEDIA_TYPE:415, REQUEST_RANGE_NOT_SATISFIABLE:416, EXPECTATION_FAILED:417, UNPROCESSABLE_ENTITY:422, LOCKED:423, FAILED_DEPENDENCY:424, PRECONDITION_REQUIRED:428, TOO_MANY_REQUESTS:429, REQUEST_HEADER_FIELDS_TOO_LARGE:431, CLIENT_CLOSED_REQUEST:499, INTERNAL_SERVER_ERROR:500, NOT_IMPLEMENTED:501, BAD_GATEWAY:502,
|
|
19191
19215
|
SERVICE_UNAVAILABLE:503, GATEWAY_TIMEOUT:504, HTTP_VERSION_NOT_SUPPORTED:505, INSUFFICIENT_STORAGE:507, NETWORK_AUTHENTICATION_REQUIRED:511, QUIRK_IE_NO_CONTENT:1223, isSuccess:function(status) {
|
|
@@ -19266,8 +19290,8 @@ goog.net.XhrIo.sendInstances_ = [];
|
|
|
19266
19290
|
goog.net.XhrIo.send = function(url, opt_callback, opt_method, opt_content, opt_headers, opt_timeoutInterval, opt_withCredentials) {
|
|
19267
19291
|
var x = new goog.net.XhrIo();
|
|
19268
19292
|
goog.net.XhrIo.sendInstances_.push(x);
|
|
19269
|
-
opt_callback && x.listen(goog
|
|
19270
|
-
x.listenOnce(goog
|
|
19293
|
+
opt_callback && x.listen(module$contents$goog$net$EventType_EventType.COMPLETE, opt_callback);
|
|
19294
|
+
x.listenOnce(module$contents$goog$net$EventType_EventType.READY, x.cleanupSend_);
|
|
19271
19295
|
opt_timeoutInterval && x.setTimeoutInterval(opt_timeoutInterval);
|
|
19272
19296
|
opt_withCredentials && x.setWithCredentials(opt_withCredentials);
|
|
19273
19297
|
x.send(url, opt_method, opt_content, opt_headers);
|
|
@@ -19394,7 +19418,7 @@ goog.net.XhrIo.prototype.createXhr = function() {
|
|
|
19394
19418
|
return this.xmlHttpFactory_ ? this.xmlHttpFactory_.createInstance() : goog.net.XmlHttp();
|
|
19395
19419
|
};
|
|
19396
19420
|
goog.net.XhrIo.prototype.timeout_ = function() {
|
|
19397
|
-
typeof goog != "undefined" && this.xhr_ && (this.lastError_ = "Timed out after " + this.timeoutInterval_ + "ms, aborting", this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT, goog.log.fine(this.logger_, this.formatMsg_(this.lastError_)), this.dispatchEvent(goog
|
|
19421
|
+
typeof goog != "undefined" && this.xhr_ && (this.lastError_ = "Timed out after " + this.timeoutInterval_ + "ms, aborting", this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT, goog.log.fine(this.logger_, this.formatMsg_(this.lastError_)), this.dispatchEvent(module$contents$goog$net$EventType_EventType.TIMEOUT), this.abort(module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT));
|
|
19398
19422
|
};
|
|
19399
19423
|
goog.net.XhrIo.prototype.error_ = function(errorCode, err) {
|
|
19400
19424
|
this.active_ = !1;
|
|
@@ -19405,10 +19429,10 @@ goog.net.XhrIo.prototype.error_ = function(errorCode, err) {
|
|
|
19405
19429
|
this.cleanUpXhr_();
|
|
19406
19430
|
};
|
|
19407
19431
|
goog.net.XhrIo.prototype.dispatchErrors_ = function() {
|
|
19408
|
-
this.errorDispatched_ || (this.errorDispatched_ = !0, this.dispatchEvent(goog
|
|
19432
|
+
this.errorDispatched_ || (this.errorDispatched_ = !0, this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE), this.dispatchEvent(module$contents$goog$net$EventType_EventType.ERROR));
|
|
19409
19433
|
};
|
|
19410
19434
|
goog.net.XhrIo.prototype.abort = function(opt_failureCode) {
|
|
19411
|
-
this.xhr_ && this.active_ && (goog.log.fine(this.logger_, this.formatMsg_("Aborting")), this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1, this.lastErrorCode_ = opt_failureCode || module$contents$goog$net$ErrorCode_ErrorCode.ABORT, this.dispatchEvent(goog
|
|
19435
|
+
this.xhr_ && this.active_ && (goog.log.fine(this.logger_, this.formatMsg_("Aborting")), this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1, this.lastErrorCode_ = opt_failureCode || module$contents$goog$net$ErrorCode_ErrorCode.ABORT, this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE), this.dispatchEvent(module$contents$goog$net$EventType_EventType.ABORT), this.cleanUpXhr_());
|
|
19412
19436
|
};
|
|
19413
19437
|
goog.net.XhrIo.prototype.disposeInternal = function() {
|
|
19414
19438
|
this.xhr_ && (this.active_ && (this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1), this.cleanUpXhr_(!0));
|
|
@@ -19431,11 +19455,11 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
|
|
|
19431
19455
|
if (this.inSend_ && this.getReadyState() == goog.net.XmlHttp.ReadyState.COMPLETE) {
|
|
19432
19456
|
setTimeout(this.onReadyStateChange_.bind(this), 0);
|
|
19433
19457
|
} else {
|
|
19434
|
-
if (this.dispatchEvent(goog
|
|
19458
|
+
if (this.dispatchEvent(module$contents$goog$net$EventType_EventType.READY_STATE_CHANGE), this.isComplete()) {
|
|
19435
19459
|
goog.log.fine(this.logger_, this.formatMsg_("Request complete"));
|
|
19436
19460
|
this.active_ = !1;
|
|
19437
19461
|
try {
|
|
19438
|
-
this.isSuccess() ? (this.dispatchEvent(goog
|
|
19462
|
+
this.isSuccess() ? (this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE), this.dispatchEvent(module$contents$goog$net$EventType_EventType.SUCCESS)) : (this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.HTTP_ERROR, this.lastError_ = this.getStatusText() + " [" + this.getStatus() + "]", this.dispatchErrors_());
|
|
19439
19463
|
} finally {
|
|
19440
19464
|
this.cleanUpXhr_();
|
|
19441
19465
|
}
|
|
@@ -19444,9 +19468,9 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
|
|
|
19444
19468
|
}
|
|
19445
19469
|
};
|
|
19446
19470
|
goog.net.XhrIo.prototype.onProgressHandler_ = function(e, opt_isDownload) {
|
|
19447
|
-
goog.asserts.assert(e.type === goog
|
|
19448
|
-
this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, goog
|
|
19449
|
-
this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, opt_isDownload ? goog
|
|
19471
|
+
goog.asserts.assert(e.type === module$contents$goog$net$EventType_EventType.PROGRESS, "goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");
|
|
19472
|
+
this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, module$contents$goog$net$EventType_EventType.PROGRESS));
|
|
19473
|
+
this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, opt_isDownload ? module$contents$goog$net$EventType_EventType.DOWNLOAD_PROGRESS : module$contents$goog$net$EventType_EventType.UPLOAD_PROGRESS));
|
|
19450
19474
|
};
|
|
19451
19475
|
goog.net.XhrIo.buildProgressEvent_ = function(e, eventType) {
|
|
19452
19476
|
return {type:eventType, lengthComputable:e.lengthComputable, loaded:e.loaded, total:e.total};
|
|
@@ -19456,7 +19480,7 @@ goog.net.XhrIo.prototype.cleanUpXhr_ = function(opt_fromDispose) {
|
|
|
19456
19480
|
this.cleanUpTimeoutTimer_();
|
|
19457
19481
|
var xhr = this.xhr_;
|
|
19458
19482
|
this.xhr_ = null;
|
|
19459
|
-
opt_fromDispose || this.dispatchEvent(goog
|
|
19483
|
+
opt_fromDispose || this.dispatchEvent(module$contents$goog$net$EventType_EventType.READY);
|
|
19460
19484
|
try {
|
|
19461
19485
|
xhr.onreadystatechange = null;
|
|
19462
19486
|
} catch (e) {
|
|
@@ -19602,7 +19626,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19602
19626
|
ee.apiclient = {};
|
|
19603
19627
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19604
19628
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19605
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19629
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.14";
|
|
19606
19630
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19607
19631
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19608
19632
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19907,8 +19931,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19907
19931
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19908
19932
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19909
19933
|
method = method || "POST";
|
|
19910
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19911
|
-
version === "1.7.
|
|
19934
|
+
var headers = {"Content-Type":contentType}, version = "1.7.14";
|
|
19935
|
+
version === "1.7.14" && (version = "latest");
|
|
19912
19936
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19913
19937
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19914
19938
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -26326,7 +26350,7 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
|
26326
26350
|
this.loadingStartTs_ = (new Date()).getTime();
|
|
26327
26351
|
this.xhrIo_ = new goog.net.XhrIo();
|
|
26328
26352
|
this.xhrIo_.setResponseType(goog.net.XhrIo.ResponseType.BLOB);
|
|
26329
|
-
this.xhrIo_.listen(goog
|
|
26353
|
+
this.xhrIo_.listen(module$contents$goog$net$EventType_EventType.COMPLETE, function(event) {
|
|
26330
26354
|
var blob = $jscomp$this$800656669$27.xhrIo_.getResponse(), status = $jscomp$this$800656669$27.xhrIo_.getStatus();
|
|
26331
26355
|
status == module$contents$goog$net$HttpStatus_HttpStatus.TOO_MANY_REQUESTS && $jscomp$this$800656669$27.setStatus(ee.layers.AbstractTile.Status.THROTTLED);
|
|
26332
26356
|
if (module$contents$goog$net$HttpStatus_HttpStatus.isSuccess(status)) {
|
|
@@ -26347,7 +26371,7 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
|
26347
26371
|
$jscomp$this$800656669$27.retryLoad("Failed to load tile.");
|
|
26348
26372
|
}
|
|
26349
26373
|
}, !1);
|
|
26350
|
-
this.xhrIo_.listenOnce(goog
|
|
26374
|
+
this.xhrIo_.listenOnce(module$contents$goog$net$EventType_EventType.READY, goog.partial(module$contents$goog$dispose_dispose, this.xhrIo_));
|
|
26351
26375
|
this.sourceUrl && this.sourceUrl.endsWith("&profiling=1") && (this.sourceUrl = this.sourceUrl.replace("&profiling=1", ""), this.xhrIo_.headers.set(module$contents$ee$apiclient_apiclient.PROFILE_REQUEST_HEADER, "1"));
|
|
26352
26376
|
this.xhrIo_.send(this.sourceUrl, "GET");
|
|
26353
26377
|
};
|
|
@@ -26476,21 +26500,21 @@ module$contents$goog$net$ImageLoader_ImageLoader.prototype.loadImage_ = function
|
|
|
26476
26500
|
module$contents$goog$net$ImageLoader_ImageLoader.prototype.onNetworkEvent_ = function(evt) {
|
|
26477
26501
|
var image = evt.currentTarget;
|
|
26478
26502
|
if (image) {
|
|
26479
|
-
if (evt.type == goog
|
|
26480
|
-
if (image.readyState == goog
|
|
26481
|
-
evt.type = goog
|
|
26503
|
+
if (evt.type == module$contents$goog$net$EventType_EventType.READY_STATE_CHANGE) {
|
|
26504
|
+
if (image.readyState == module$contents$goog$net$EventType_EventType.COMPLETE) {
|
|
26505
|
+
evt.type = module$contents$goog$events$EventType_EventType.LOAD;
|
|
26482
26506
|
} else {
|
|
26483
26507
|
return;
|
|
26484
26508
|
}
|
|
26485
26509
|
}
|
|
26486
|
-
typeof image.naturalWidth == "undefined" && (evt.type == goog
|
|
26510
|
+
typeof image.naturalWidth == "undefined" && (evt.type == module$contents$goog$events$EventType_EventType.LOAD ? (image.naturalWidth = image.width, image.naturalHeight = image.height) : (image.naturalWidth = 0, image.naturalHeight = 0));
|
|
26487
26511
|
this.removeImage(image.id);
|
|
26488
26512
|
this.dispatchEvent({type:evt.type, target:image});
|
|
26489
26513
|
this.isDisposed() || this.maybeFireCompletionEvent_();
|
|
26490
26514
|
}
|
|
26491
26515
|
};
|
|
26492
26516
|
module$contents$goog$net$ImageLoader_ImageLoader.prototype.maybeFireCompletionEvent_ = function() {
|
|
26493
|
-
module$contents$goog$object_isEmpty(this.imageIdToImageMap_) && module$contents$goog$object_isEmpty(this.imageIdToRequestMap_) && !this.completionFired_ && (this.completionFired_ = !0, this.dispatchEvent(goog
|
|
26517
|
+
module$contents$goog$object_isEmpty(this.imageIdToImageMap_) && module$contents$goog$object_isEmpty(this.imageIdToRequestMap_) && !this.completionFired_ && (this.completionFired_ = !0, this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE));
|
|
26494
26518
|
};
|
|
26495
26519
|
module$contents$goog$net$ImageLoader_ImageLoader.prototype.disposeInternal = function() {
|
|
26496
26520
|
delete this.imageIdToRequestMap_;
|
|
@@ -26500,7 +26524,7 @@ module$contents$goog$net$ImageLoader_ImageLoader.prototype.disposeInternal = fun
|
|
|
26500
26524
|
};
|
|
26501
26525
|
module$contents$goog$net$ImageLoader_ImageLoader.CorsRequestType = {ANONYMOUS:"anonymous", USE_CREDENTIALS:"use-credentials"};
|
|
26502
26526
|
var module$contents$goog$net$ImageLoader_ImageRequest;
|
|
26503
|
-
module$contents$goog$net$ImageLoader_ImageLoader.IMAGE_LOAD_EVENTS_ = [goog
|
|
26527
|
+
module$contents$goog$net$ImageLoader_ImageLoader.IMAGE_LOAD_EVENTS_ = [module$contents$goog$events$EventType_EventType.LOAD, module$contents$goog$net$EventType_EventType.ABORT, module$contents$goog$net$EventType_EventType.ERROR];
|
|
26504
26528
|
goog.net.ImageLoader = module$contents$goog$net$ImageLoader_ImageLoader;
|
|
26505
26529
|
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay = {};
|
|
26506
26530
|
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageOverlay = function(tileSource, opt_options) {
|
|
@@ -26529,7 +26553,7 @@ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.pro
|
|
|
26529
26553
|
this.imageLoader_ = new module$contents$goog$net$ImageLoader_ImageLoader();
|
|
26530
26554
|
this.imageLoader_.addImage(this.div.id + "-image", imageUrl);
|
|
26531
26555
|
this.imageLoaderListenerKey_ = goog.events.listenOnce(this.imageLoader_, ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_, function(event) {
|
|
26532
|
-
event.type == goog
|
|
26556
|
+
event.type == module$contents$goog$events$EventType_EventType.LOAD ? (this.imageEl = event.target, ee.layers.AbstractTile.prototype.finishLoad.call(this)) : this.retryLoad();
|
|
26533
26557
|
}, void 0, this);
|
|
26534
26558
|
this.imageLoader_.start();
|
|
26535
26559
|
};
|
|
@@ -26544,7 +26568,7 @@ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.pro
|
|
|
26544
26568
|
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.defaultRenderer_ = function(tile) {
|
|
26545
26569
|
tile.div.appendChild(tile.imageEl);
|
|
26546
26570
|
};
|
|
26547
|
-
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_ = [goog
|
|
26571
|
+
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_ = [module$contents$goog$events$EventType_EventType.LOAD, module$contents$goog$net$EventType_EventType.ABORT, module$contents$goog$net$EventType_EventType.ERROR];
|
|
26548
26572
|
goog.string.path = {};
|
|
26549
26573
|
function module$contents$goog$string$path_baseName(path) {
|
|
26550
26574
|
var i = path.lastIndexOf("/") + 1;
|
|
@@ -27131,7 +27155,7 @@ ee.MapTileManager.Request_.prototype.hasReachedMaxRetries = function() {
|
|
|
27131
27155
|
return this.attemptCount_ > this.maxRetries_;
|
|
27132
27156
|
};
|
|
27133
27157
|
ee.MapTileManager.Request_.prototype.setAborted = function(aborted) {
|
|
27134
|
-
aborted && !this.aborted_ && (this.aborted_ = aborted, this.event_ = new goog.events.Event(goog
|
|
27158
|
+
aborted && !this.aborted_ && (this.aborted_ = aborted, this.event_ = new goog.events.Event(module$contents$goog$net$EventType_EventType.ABORT));
|
|
27135
27159
|
};
|
|
27136
27160
|
ee.MapTileManager.Request_.prototype.getAborted = function() {
|
|
27137
27161
|
return this.aborted_;
|
|
@@ -27141,12 +27165,12 @@ ee.MapTileManager.Request_.prototype.handleImageEvent_ = function(e) {
|
|
|
27141
27165
|
this.markCompleted_();
|
|
27142
27166
|
} else {
|
|
27143
27167
|
switch(e.type) {
|
|
27144
|
-
case goog
|
|
27168
|
+
case module$contents$goog$events$EventType_EventType.LOAD:
|
|
27145
27169
|
this.handleSuccess_(e);
|
|
27146
27170
|
this.markCompleted_();
|
|
27147
27171
|
break;
|
|
27148
|
-
case goog
|
|
27149
|
-
case goog
|
|
27172
|
+
case module$contents$goog$net$EventType_EventType.ERROR:
|
|
27173
|
+
case module$contents$goog$net$EventType_EventType.ABORT:
|
|
27150
27174
|
this.handleError_(e);
|
|
27151
27175
|
}
|
|
27152
27176
|
}
|
|
@@ -27182,7 +27206,7 @@ ee.MapTileManager.Request_.prototype.start_ = function() {
|
|
|
27182
27206
|
if (module$contents$goog$Uri_Uri.parse(sourceUrl).getQueryData().containsKey("profiling")) {
|
|
27183
27207
|
var xhrIo = new goog.net.XhrIo();
|
|
27184
27208
|
xhrIo.setResponseType(goog.net.XhrIo.ResponseType.BLOB);
|
|
27185
|
-
xhrIo.listen(goog
|
|
27209
|
+
xhrIo.listen(module$contents$goog$net$EventType_EventType.COMPLETE, goog.bind(function(event) {
|
|
27186
27210
|
this.profileId_ = xhrIo.getResponseHeader(module$contents$ee$apiclient_apiclient.PROFILE_HEADER) || null;
|
|
27187
27211
|
if (xhrIo.getStatus() >= 200 && xhrIo.getStatus() < 300) {
|
|
27188
27212
|
try {
|
|
@@ -27193,7 +27217,7 @@ ee.MapTileManager.Request_.prototype.start_ = function() {
|
|
|
27193
27217
|
}
|
|
27194
27218
|
actuallyLoadImage(ok ? objectUrl : sourceUrl);
|
|
27195
27219
|
}, this));
|
|
27196
|
-
xhrIo.listenOnce(goog
|
|
27220
|
+
xhrIo.listenOnce(module$contents$goog$net$EventType_EventType.READY, goog.bind(xhrIo.dispose, xhrIo));
|
|
27197
27221
|
xhrIo.send(sourceUrl, "GET");
|
|
27198
27222
|
} else {
|
|
27199
27223
|
actuallyLoadImage(sourceUrl);
|
|
@@ -27206,7 +27230,7 @@ ee.MapTileManager.Request_.prototype.imageLoader_ = null;
|
|
|
27206
27230
|
ee.MapTileManager.Request_.prototype.token_ = null;
|
|
27207
27231
|
ee.MapTileManager.Request_.prototype.event_ = null;
|
|
27208
27232
|
ee.MapTileManager.Request_.prototype.profileId_ = null;
|
|
27209
|
-
ee.MapTileManager.Request_.IMAGE_LOADER_EVENT_TYPES_ = [goog
|
|
27233
|
+
ee.MapTileManager.Request_.IMAGE_LOADER_EVENT_TYPES_ = [module$contents$goog$events$EventType_EventType.LOAD, module$contents$goog$net$EventType_EventType.ABORT, module$contents$goog$net$EventType_EventType.ERROR];
|
|
27210
27234
|
ee.MapTileManager.Token_ = function() {
|
|
27211
27235
|
goog.Disposable.call(this);
|
|
27212
27236
|
this.active_ = !1;
|
|
@@ -27293,11 +27317,11 @@ ee.MapLayerOverlay.prototype.setOpacity = function(opacity) {
|
|
|
27293
27317
|
});
|
|
27294
27318
|
};
|
|
27295
27319
|
ee.MapLayerOverlay.prototype.handleImageCompleted_ = function(div, tileId, e, profileId) {
|
|
27296
|
-
if (e.type == goog
|
|
27320
|
+
if (e.type == module$contents$goog$net$EventType_EventType.ERROR) {
|
|
27297
27321
|
module$contents$goog$array_remove(this.tilesLoading, tileId), this.tilesFailed.add(tileId), this.dispatchEvent(e);
|
|
27298
27322
|
} else {
|
|
27299
27323
|
module$contents$goog$array_remove(this.tilesLoading, tileId);
|
|
27300
|
-
if (e.target && e.type == goog
|
|
27324
|
+
if (e.target && e.type == module$contents$goog$events$EventType_EventType.LOAD) {
|
|
27301
27325
|
var tile = e.target;
|
|
27302
27326
|
this.tiles_.add(tile);
|
|
27303
27327
|
this.opacity_ != 1 && goog.style.setOpacity(tile, this.opacity_);
|