@google/earthengine 0.1.384 → 0.1.386
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 +278 -337
- package/build/ee_api_js.js +372 -368
- package/build/ee_api_js_debug.js +256 -314
- package/build/ee_api_js_npm.js +278 -337
- package/build/main.js +278 -337
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/eeapiclient/api_client.ts +17 -14
- package/src/eeapiclient/api_request_hook.ts +7 -6
- package/src/eeapiclient/domain_object.ts +171 -96
- package/src/eeapiclient/generated_types.ts +9 -4
- package/src/eeapiclient/multipart_request.ts +23 -18
- package/src/eeapiclient/promise_api_client.ts +46 -27
- package/src/eeapiclient/promise_request_service.ts +15 -8
- package/src/eeapiclient/request_params.ts +26 -13
- package/src/eeapiclient/request_params_test.ts +77 -76
package/build/ee_api_js_debug.js
CHANGED
|
@@ -1200,8 +1200,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1200
1200
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1201
1201
|
};
|
|
1202
1202
|
}, "es8", "es3");
|
|
1203
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1204
|
-
GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1};
|
|
1203
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__jspb_disable_serializing_empty_repeated_and_map_fields__disable:!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_user_agent_client_hints__enable:!1};
|
|
1205
1204
|
/*
|
|
1206
1205
|
|
|
1207
1206
|
Copyright The Closure Library Authors.
|
|
@@ -2966,8 +2965,6 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles = !1;
|
|
|
2966
2965
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles = !1;
|
|
2967
2966
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
2968
2967
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
2969
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_attribute_sanitization__disable = !1;
|
|
2970
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_hook_context_fix__enable = !1;
|
|
2971
2968
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disable_serializing_empty_repeated_and_map_fields__disable = !1;
|
|
2972
2969
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
2973
2970
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
@@ -2977,8 +2974,6 @@ goog.flags = {};
|
|
|
2977
2974
|
var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
|
|
2978
2975
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
2979
2976
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
2980
|
-
goog.flags.CLIENT_ONLY_WIZ_ATTRIBUTE_SANITIZATION = 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__client_only_wiz_attribute_sanitization__disable : goog.readFlagInternalDoNotUseOrElse(533565600, !0);
|
|
2981
|
-
goog.flags.CLIENT_ONLY_WIZ_HOOK_CONTEXT_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_hook_context_fix__enable : goog.readFlagInternalDoNotUseOrElse(563486499, !1);
|
|
2982
2977
|
goog.flags.JSPB_DISABLE_SERIALIZING_EMPTY_REPEATED_AND_MAP_FIELDS = 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_disable_serializing_empty_repeated_and_map_fields__disable : goog.readFlagInternalDoNotUseOrElse(572417392,
|
|
2983
2978
|
!0);
|
|
2984
2979
|
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);
|
|
@@ -3157,29 +3152,29 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
3157
3152
|
};
|
|
3158
3153
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.load = function() {
|
|
3159
3154
|
var $jscomp$async$this = this, userAgentData;
|
|
3160
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m2110036436$
|
|
3161
|
-
if (1 == $jscomp$generator$context$m2110036436$
|
|
3155
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m2110036436$14) {
|
|
3156
|
+
if (1 == $jscomp$generator$context$m2110036436$14.nextAddress) {
|
|
3162
3157
|
userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
|
|
3163
3158
|
if (!userAgentData) {
|
|
3164
|
-
return $jscomp$generator$context$m2110036436$
|
|
3159
|
+
return $jscomp$generator$context$m2110036436$14.return(void 0);
|
|
3165
3160
|
}
|
|
3166
3161
|
$jscomp$async$this.promise_ || ($jscomp$async$this.pending_ = !0, $jscomp$async$this.promise_ = function() {
|
|
3167
3162
|
var dataValues;
|
|
3168
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m2110036436$
|
|
3169
|
-
if (1 == $jscomp$generator$context$m2110036436$
|
|
3170
|
-
return $jscomp$generator$context$m2110036436$
|
|
3163
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m2110036436$13) {
|
|
3164
|
+
if (1 == $jscomp$generator$context$m2110036436$13.nextAddress) {
|
|
3165
|
+
return $jscomp$generator$context$m2110036436$13.setFinallyBlock(2), $jscomp$generator$context$m2110036436$13.yield(userAgentData.getHighEntropyValues([$jscomp$async$this.key_]), 4);
|
|
3171
3166
|
}
|
|
3172
|
-
if (2 != $jscomp$generator$context$m2110036436$
|
|
3173
|
-
return dataValues = $jscomp$generator$context$m2110036436$
|
|
3167
|
+
if (2 != $jscomp$generator$context$m2110036436$13.nextAddress) {
|
|
3168
|
+
return dataValues = $jscomp$generator$context$m2110036436$13.yieldResult, $jscomp$async$this.value_ = dataValues[$jscomp$async$this.key_], $jscomp$generator$context$m2110036436$13.return($jscomp$async$this.value_);
|
|
3174
3169
|
}
|
|
3175
|
-
$jscomp$generator$context$m2110036436$
|
|
3170
|
+
$jscomp$generator$context$m2110036436$13.enterFinallyBlock();
|
|
3176
3171
|
$jscomp$async$this.pending_ = !1;
|
|
3177
|
-
return $jscomp$generator$context$m2110036436$
|
|
3172
|
+
return $jscomp$generator$context$m2110036436$13.leaveFinallyBlock(0);
|
|
3178
3173
|
});
|
|
3179
3174
|
}());
|
|
3180
|
-
return $jscomp$generator$context$m2110036436$
|
|
3175
|
+
return $jscomp$generator$context$m2110036436$14.yield($jscomp$async$this.promise_, 2);
|
|
3181
3176
|
}
|
|
3182
|
-
return $jscomp$generator$context$m2110036436$
|
|
3177
|
+
return $jscomp$generator$context$m2110036436$14.return($jscomp$generator$context$m2110036436$14.yieldResult);
|
|
3183
3178
|
});
|
|
3184
3179
|
};
|
|
3185
3180
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.resetForTesting = function() {
|
|
@@ -3411,12 +3406,12 @@ var module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion = functi
|
|
|
3411
3406
|
this.useUach_ = useUach;
|
|
3412
3407
|
};
|
|
3413
3408
|
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.getIfLoaded = function() {
|
|
3414
|
-
var $jscomp$this = this;
|
|
3409
|
+
var $jscomp$this$1683157560$24 = this;
|
|
3415
3410
|
if (this.useUach_) {
|
|
3416
3411
|
var loadedVersionList = module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.getIfLoaded();
|
|
3417
3412
|
if (void 0 !== loadedVersionList) {
|
|
3418
3413
|
var matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var4) {
|
|
3419
|
-
return $jscomp$this.brand_ === $jscomp$destructuring$var4.brand;
|
|
3414
|
+
return $jscomp$this$1683157560$24.brand_ === $jscomp$destructuring$var4.brand;
|
|
3420
3415
|
});
|
|
3421
3416
|
(0,goog.asserts.assertExists)(matchingBrand);
|
|
3422
3417
|
return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version);
|
|
@@ -3428,27 +3423,27 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.ge
|
|
|
3428
3423
|
};
|
|
3429
3424
|
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.load = function() {
|
|
3430
3425
|
var $jscomp$async$this = this, loadedVersionList, matchingBrand;
|
|
3431
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1683157560$
|
|
3432
|
-
if (1 == $jscomp$generator$context$1683157560$
|
|
3433
|
-
return $jscomp$async$this.useUach_ ? $jscomp$generator$context$1683157560$
|
|
3426
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1683157560$31) {
|
|
3427
|
+
if (1 == $jscomp$generator$context$1683157560$31.nextAddress) {
|
|
3428
|
+
return $jscomp$async$this.useUach_ ? $jscomp$generator$context$1683157560$31.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 5) : $jscomp$generator$context$1683157560$31.yield(0, 3);
|
|
3434
3429
|
}
|
|
3435
|
-
if (3 != $jscomp$generator$context$1683157560$
|
|
3430
|
+
if (3 != $jscomp$generator$context$1683157560$31.nextAddress && (loadedVersionList = $jscomp$generator$context$1683157560$31.yieldResult, void 0 !== loadedVersionList)) {
|
|
3436
3431
|
return matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var6) {
|
|
3437
3432
|
return $jscomp$async$this.brand_ === $jscomp$destructuring$var6.brand;
|
|
3438
|
-
}), (0,goog.asserts.assertExists)(matchingBrand), $jscomp$generator$context$1683157560$
|
|
3433
|
+
}), (0,goog.asserts.assertExists)(matchingBrand), $jscomp$generator$context$1683157560$31.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version));
|
|
3439
3434
|
}
|
|
3440
3435
|
module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
|
|
3441
|
-
return $jscomp$generator$context$1683157560$
|
|
3436
|
+
return $jscomp$generator$context$1683157560$31.return($jscomp$async$this.version_);
|
|
3442
3437
|
});
|
|
3443
3438
|
};
|
|
3444
3439
|
var module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
|
|
3445
3440
|
goog.labs.userAgent.browser.loadFullVersions = function() {
|
|
3446
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1683157560$
|
|
3447
|
-
if (1 == $jscomp$generator$context$1683157560$
|
|
3448
|
-
return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0) ? $jscomp$generator$context$1683157560$
|
|
3441
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1683157560$32) {
|
|
3442
|
+
if (1 == $jscomp$generator$context$1683157560$32.nextAddress) {
|
|
3443
|
+
return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0) ? $jscomp$generator$context$1683157560$32.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 2) : $jscomp$generator$context$1683157560$32.jumpTo(2);
|
|
3449
3444
|
}
|
|
3450
3445
|
module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
|
|
3451
|
-
$jscomp$generator$context$1683157560$
|
|
3446
|
+
$jscomp$generator$context$1683157560$32.jumpToEnd();
|
|
3452
3447
|
});
|
|
3453
3448
|
};
|
|
3454
3449
|
goog.labs.userAgent.browser.resetForTesting = function() {
|
|
@@ -6062,7 +6057,7 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6062
6057
|
};
|
|
6063
6058
|
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;
|
|
6064
6059
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6065
|
-
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 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$
|
|
6060
|
+
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 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$40 = {}; !$jscomp$key$key.done; $jscomp$loop$m192531680$40 = {mapMetadata:void 0},
|
|
6066
6061
|
$jscomp$key$key = $jscomp$iter$19.next()) {
|
|
6067
6062
|
var key = $jscomp$key$key.value, value = valueGetter(key, source);
|
|
6068
6063
|
if (null != value) {
|
|
@@ -6075,11 +6070,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6075
6070
|
} else if (objects.hasOwnProperty(key)) {
|
|
6076
6071
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6077
6072
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6078
|
-
$jscomp$loop$m192531680$
|
|
6073
|
+
$jscomp$loop$m192531680$40.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$40.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$40) {
|
|
6079
6074
|
return function(v) {
|
|
6080
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$
|
|
6075
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$40.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6081
6076
|
};
|
|
6082
|
-
}($jscomp$loop$m192531680$
|
|
6077
|
+
}($jscomp$loop$m192531680$40)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$40.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6083
6078
|
} else if (Array.isArray(value)) {
|
|
6084
6079
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6085
6080
|
continue;
|
|
@@ -6125,39 +6120,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6125
6120
|
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))) {
|
|
6126
6121
|
return !1;
|
|
6127
6122
|
}
|
|
6128
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$
|
|
6123
|
+
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$41 = {}; !$jscomp$key$key.done; $jscomp$loop$m192531680$41 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$key = $jscomp$iter$21.next()) {
|
|
6129
6124
|
var key = $jscomp$key$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
6130
6125
|
if (has1 !== has2) {
|
|
6131
6126
|
return !1;
|
|
6132
6127
|
}
|
|
6133
6128
|
if (has1) {
|
|
6134
6129
|
var value1 = serializable1.Serializable$get(key);
|
|
6135
|
-
$jscomp$loop$m192531680$
|
|
6130
|
+
$jscomp$loop$m192531680$41.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6136
6131
|
if (arrays1.hasOwnProperty(key)) {
|
|
6137
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$
|
|
6132
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$41.value2$jscomp$7, !0, !0)) {
|
|
6138
6133
|
return !1;
|
|
6139
6134
|
}
|
|
6140
6135
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6141
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$
|
|
6136
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$41.value2$jscomp$7, !1, !0)) {
|
|
6142
6137
|
return !1;
|
|
6143
6138
|
}
|
|
6144
6139
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6145
|
-
if ($jscomp$loop$m192531680$
|
|
6146
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$
|
|
6140
|
+
if ($jscomp$loop$m192531680$41.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$41.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6141
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$41.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$41) {
|
|
6147
6142
|
return function(v1, i) {
|
|
6148
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$
|
|
6143
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$41.value2$jscomp$7[i], $jscomp$loop$m192531680$41.mapMetadata$jscomp$2);
|
|
6149
6144
|
};
|
|
6150
|
-
}($jscomp$loop$m192531680$
|
|
6145
|
+
}($jscomp$loop$m192531680$41))) {
|
|
6151
6146
|
return !1;
|
|
6152
6147
|
}
|
|
6153
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$
|
|
6148
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$41.value2$jscomp$7, $jscomp$loop$m192531680$41.mapMetadata$jscomp$2)) {
|
|
6154
6149
|
return !1;
|
|
6155
6150
|
}
|
|
6156
6151
|
} else if (Array.isArray(value1)) {
|
|
6157
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$
|
|
6152
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$41.value2$jscomp$7, !0, !1)) {
|
|
6158
6153
|
return !1;
|
|
6159
6154
|
}
|
|
6160
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$
|
|
6155
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$41.value2$jscomp$7, !1, !1)) {
|
|
6161
6156
|
return !1;
|
|
6162
6157
|
}
|
|
6163
6158
|
}
|
|
@@ -6452,16 +6447,10 @@ var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
|
6452
6447
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
6453
6448
|
}, module$contents$goog$asserts$dom_assertIsHtmlInputElement = function(value) {
|
|
6454
6449
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
6455
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlEmbedElement = function(value) {
|
|
6456
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
|
|
6457
6450
|
}, module$contents$goog$asserts$dom_assertIsHtmlFormElement = function(value) {
|
|
6458
6451
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
6459
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlFrameElement = function(value) {
|
|
6460
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
|
|
6461
6452
|
}, module$contents$goog$asserts$dom_assertIsHtmlIFrameElement = function(value) {
|
|
6462
6453
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IFRAME);
|
|
6463
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlObjectElement = function(value) {
|
|
6464
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
6465
6454
|
}, module$contents$goog$asserts$dom_assertIsHtmlScriptElement = function(value) {
|
|
6466
6455
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
6467
6456
|
}, module$contents$goog$asserts$dom_debugStringForType = function(value) {
|
|
@@ -6496,11 +6485,17 @@ goog.asserts.dom.assertIsHtmlTextAreaElement = function(value) {
|
|
|
6496
6485
|
goog.asserts.dom.assertIsHtmlCanvasElement = function(value) {
|
|
6497
6486
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.CANVAS);
|
|
6498
6487
|
};
|
|
6499
|
-
goog.asserts.dom.assertIsHtmlEmbedElement =
|
|
6488
|
+
goog.asserts.dom.assertIsHtmlEmbedElement = function(value) {
|
|
6489
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
|
|
6490
|
+
};
|
|
6500
6491
|
goog.asserts.dom.assertIsHtmlFormElement = module$contents$goog$asserts$dom_assertIsHtmlFormElement;
|
|
6501
|
-
goog.asserts.dom.assertIsHtmlFrameElement =
|
|
6492
|
+
goog.asserts.dom.assertIsHtmlFrameElement = function(value) {
|
|
6493
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
|
|
6494
|
+
};
|
|
6502
6495
|
goog.asserts.dom.assertIsHtmlIFrameElement = module$contents$goog$asserts$dom_assertIsHtmlIFrameElement;
|
|
6503
|
-
goog.asserts.dom.assertIsHtmlObjectElement =
|
|
6496
|
+
goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
6497
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
6498
|
+
};
|
|
6504
6499
|
goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
|
|
6505
6500
|
goog.dom.asserts = {};
|
|
6506
6501
|
goog.dom.asserts.assertIsLocation = function(o) {
|
|
@@ -6537,83 +6532,6 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
6537
6532
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
6538
6533
|
return !0 === goog.dom.tags.VOID_TAGS_[tagName];
|
|
6539
6534
|
};
|
|
6540
|
-
goog.html = {};
|
|
6541
|
-
goog.html.trustedtypes = {};
|
|
6542
|
-
goog.html.trustedtypes.POLICY_NAME = goog.TRUSTED_TYPES_POLICY_NAME ? goog.TRUSTED_TYPES_POLICY_NAME + "#html" : "";
|
|
6543
|
-
goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse = function() {
|
|
6544
|
-
if (!goog.html.trustedtypes.POLICY_NAME) {
|
|
6545
|
-
return null;
|
|
6546
|
-
}
|
|
6547
|
-
void 0 === goog.html.trustedtypes.cachedPolicy_ && (goog.html.trustedtypes.cachedPolicy_ = goog.createTrustedTypesPolicy(goog.html.trustedtypes.POLICY_NAME));
|
|
6548
|
-
return goog.html.trustedtypes.cachedPolicy_;
|
|
6549
|
-
};
|
|
6550
|
-
goog.string.TypedString = function() {
|
|
6551
|
-
};
|
|
6552
|
-
goog.string.Const = function(opt_token, opt_content) {
|
|
6553
|
-
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
6554
|
-
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
6555
|
-
};
|
|
6556
|
-
goog.string.Const.prototype.implementsGoogStringTypedString = !0;
|
|
6557
|
-
goog.string.Const.prototype.getTypedStringValue = function() {
|
|
6558
|
-
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6559
|
-
};
|
|
6560
|
-
goog.string.Const.prototype.toString = function() {
|
|
6561
|
-
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6562
|
-
};
|
|
6563
|
-
goog.string.Const.unwrap = function(stringConst) {
|
|
6564
|
-
if (stringConst instanceof goog.string.Const && stringConst.constructor === goog.string.Const && stringConst.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_) {
|
|
6565
|
-
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6566
|
-
}
|
|
6567
|
-
goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
|
|
6568
|
-
return "type_error:Const";
|
|
6569
|
-
};
|
|
6570
|
-
goog.string.Const.from = function(s) {
|
|
6571
|
-
return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
|
|
6572
|
-
};
|
|
6573
|
-
goog.string.Const.TYPE_MARKER_ = {};
|
|
6574
|
-
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
6575
|
-
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
6576
|
-
var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeScript_SafeScript = function(value, token) {
|
|
6577
|
-
if (goog.DEBUG && token !== module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
6578
|
-
throw Error("SafeScript is not meant to be built directly");
|
|
6579
|
-
}
|
|
6580
|
-
this.privateDoNotAccessOrElseSafeScriptWrappedValue_ = value;
|
|
6581
|
-
this.implementsGoogStringTypedString = !0;
|
|
6582
|
-
};
|
|
6583
|
-
module$contents$goog$html$SafeScript_SafeScript.prototype.toString = function() {
|
|
6584
|
-
return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString();
|
|
6585
|
-
};
|
|
6586
|
-
module$contents$goog$html$SafeScript_SafeScript.fromConstant = function(script) {
|
|
6587
|
-
var scriptString = goog.string.Const.unwrap(script);
|
|
6588
|
-
return 0 === scriptString.length ? module$contents$goog$html$SafeScript_SafeScript.EMPTY : module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(scriptString);
|
|
6589
|
-
};
|
|
6590
|
-
module$contents$goog$html$SafeScript_SafeScript.fromJson = function(val) {
|
|
6591
|
-
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(module$contents$goog$html$SafeScript_SafeScript.stringify_(val));
|
|
6592
|
-
};
|
|
6593
|
-
module$contents$goog$html$SafeScript_SafeScript.prototype.getTypedStringValue = function() {
|
|
6594
|
-
return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString();
|
|
6595
|
-
};
|
|
6596
|
-
module$contents$goog$html$SafeScript_SafeScript.unwrap = function(safeScript) {
|
|
6597
|
-
return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(safeScript).toString();
|
|
6598
|
-
};
|
|
6599
|
-
module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript = function(safeScript) {
|
|
6600
|
-
if (safeScript instanceof module$contents$goog$html$SafeScript_SafeScript && safeScript.constructor === module$contents$goog$html$SafeScript_SafeScript) {
|
|
6601
|
-
return safeScript.privateDoNotAccessOrElseSafeScriptWrappedValue_;
|
|
6602
|
-
}
|
|
6603
|
-
(0,goog.asserts.fail)("expected object of type SafeScript, got '" + safeScript + "' of type " + goog.typeOf(safeScript));
|
|
6604
|
-
return "type_error:SafeScript";
|
|
6605
|
-
};
|
|
6606
|
-
module$contents$goog$html$SafeScript_SafeScript.stringify_ = function(val) {
|
|
6607
|
-
return JSON.stringify(val).replace(/</g, "\\x3c");
|
|
6608
|
-
};
|
|
6609
|
-
module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse = function(script) {
|
|
6610
|
-
var noinlineScript = script, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), trustedScript = policy ? policy.createScript(noinlineScript) : noinlineScript;
|
|
6611
|
-
return new module$contents$goog$html$SafeScript_SafeScript(trustedScript, module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
6612
|
-
};
|
|
6613
|
-
module$contents$goog$html$SafeScript_SafeScript.EMPTY = function() {
|
|
6614
|
-
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("");
|
|
6615
|
-
}();
|
|
6616
|
-
goog.html.SafeScript = module$contents$goog$html$SafeScript_SafeScript;
|
|
6617
6535
|
goog.fs = {};
|
|
6618
6536
|
goog.fs.url = {};
|
|
6619
6537
|
goog.fs.url.createObjectUrl = function(obj) {
|
|
@@ -6641,33 +6559,36 @@ goog.fs.url.findUrlObject_ = function() {
|
|
|
6641
6559
|
goog.fs.url.browserSupportsObjectUrls = function() {
|
|
6642
6560
|
return null != goog.fs.url.findUrlObject_();
|
|
6643
6561
|
};
|
|
6644
|
-
goog.
|
|
6645
|
-
goog.
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
}
|
|
6651
|
-
return bb.getBlob();
|
|
6562
|
+
goog.html = {};
|
|
6563
|
+
goog.html.trustedtypes = {};
|
|
6564
|
+
goog.html.trustedtypes.POLICY_NAME = goog.TRUSTED_TYPES_POLICY_NAME ? goog.TRUSTED_TYPES_POLICY_NAME + "#html" : "";
|
|
6565
|
+
goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse = function() {
|
|
6566
|
+
if (!goog.html.trustedtypes.POLICY_NAME) {
|
|
6567
|
+
return null;
|
|
6652
6568
|
}
|
|
6653
|
-
|
|
6569
|
+
void 0 === goog.html.trustedtypes.cachedPolicy_ && (goog.html.trustedtypes.cachedPolicy_ = goog.createTrustedTypesPolicy(goog.html.trustedtypes.POLICY_NAME));
|
|
6570
|
+
return goog.html.trustedtypes.cachedPolicy_;
|
|
6654
6571
|
};
|
|
6655
|
-
goog.
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
if (
|
|
6664
|
-
|
|
6665
|
-
opt_type && (properties.type = opt_type);
|
|
6666
|
-
opt_endings && (properties.endings = opt_endings);
|
|
6667
|
-
return new Blob(parts, properties);
|
|
6572
|
+
goog.string.Const = function(opt_token, opt_content) {
|
|
6573
|
+
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
6574
|
+
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
6575
|
+
};
|
|
6576
|
+
goog.string.Const.prototype.toString = function() {
|
|
6577
|
+
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6578
|
+
};
|
|
6579
|
+
goog.string.Const.unwrap = function(stringConst) {
|
|
6580
|
+
if (stringConst instanceof goog.string.Const && stringConst.constructor === goog.string.Const && stringConst.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_) {
|
|
6581
|
+
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6668
6582
|
}
|
|
6669
|
-
|
|
6583
|
+
goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
|
|
6584
|
+
return "type_error:Const";
|
|
6670
6585
|
};
|
|
6586
|
+
goog.string.Const.from = function(s) {
|
|
6587
|
+
return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
|
|
6588
|
+
};
|
|
6589
|
+
goog.string.Const.TYPE_MARKER_ = {};
|
|
6590
|
+
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
6591
|
+
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
6671
6592
|
goog.html.TrustedResourceUrl = function(value, token) {
|
|
6672
6593
|
if (goog.DEBUG && token !== goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
6673
6594
|
throw Error("TrustedResourceUrl is not meant to be built directly");
|
|
@@ -6677,10 +6598,6 @@ goog.html.TrustedResourceUrl = function(value, token) {
|
|
|
6677
6598
|
goog.html.TrustedResourceUrl.prototype.toString = function() {
|
|
6678
6599
|
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
|
|
6679
6600
|
};
|
|
6680
|
-
goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString = !0;
|
|
6681
|
-
goog.html.TrustedResourceUrl.prototype.getTypedStringValue = function() {
|
|
6682
|
-
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString();
|
|
6683
|
-
};
|
|
6684
6601
|
goog.html.TrustedResourceUrl.prototype.cloneWithParams = function(searchParams, opt_hashParams) {
|
|
6685
6602
|
var url = goog.html.TrustedResourceUrl.unwrap(this), parts = goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(url), urlHash = parts[3] || "";
|
|
6686
6603
|
return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(parts[1] + goog.html.TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + goog.html.TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
|
|
@@ -6724,10 +6641,6 @@ goog.html.TrustedResourceUrl.fromConstants = function(parts) {
|
|
|
6724
6641
|
}
|
|
6725
6642
|
return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(unwrapped);
|
|
6726
6643
|
};
|
|
6727
|
-
goog.html.TrustedResourceUrl.fromSafeScript = function(safeScript) {
|
|
6728
|
-
var blob = goog.fs.blob.getBlobWithProperties([module$contents$goog$html$SafeScript_SafeScript.unwrap(safeScript)], "text/javascript"), url = goog.fs.url.createObjectUrl(blob);
|
|
6729
|
-
return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6730
|
-
};
|
|
6731
6644
|
goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
6732
6645
|
goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(url) {
|
|
6733
6646
|
var noinlineUrl = url, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), value = policy ? policy.createScriptURL(noinlineUrl) : noinlineUrl;
|
|
@@ -6750,6 +6663,8 @@ goog.html.TrustedResourceUrl.stringifyParams_ = function(prefix, currentString,
|
|
|
6750
6663
|
}
|
|
6751
6664
|
return currentString;
|
|
6752
6665
|
};
|
|
6666
|
+
goog.string.TypedString = function() {
|
|
6667
|
+
};
|
|
6753
6668
|
goog.html.SafeUrl = function(value, token) {
|
|
6754
6669
|
if (goog.DEBUG && token !== goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
6755
6670
|
throw Error("SafeUrl is not meant to be built directly");
|
|
@@ -6787,7 +6702,7 @@ goog.html.SafeUrl.fromBlob = function(blob) {
|
|
|
6787
6702
|
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6788
6703
|
};
|
|
6789
6704
|
goog.html.SafeUrl.revokeObjectUrl = function(safeUrl) {
|
|
6790
|
-
var url = safeUrl.
|
|
6705
|
+
var url = safeUrl.toString();
|
|
6791
6706
|
url !== goog.html.SafeUrl.INNOCUOUS_STRING && goog.fs.url.revokeObjectUrl(url);
|
|
6792
6707
|
};
|
|
6793
6708
|
goog.html.SafeUrl.fromMediaSource = function(mediaSource) {
|
|
@@ -6879,7 +6794,7 @@ goog.html.SafeUrl.trySanitize = function(url) {
|
|
|
6879
6794
|
if (url instanceof goog.html.SafeUrl) {
|
|
6880
6795
|
return url;
|
|
6881
6796
|
}
|
|
6882
|
-
url =
|
|
6797
|
+
url = String(url);
|
|
6883
6798
|
return goog.html.SAFE_URL_PATTERN_.test(url) ? goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url) : goog.html.SafeUrl.tryFromDataUrl(url);
|
|
6884
6799
|
};
|
|
6885
6800
|
goog.html.SafeUrl.sanitize = function(url) {
|
|
@@ -6889,10 +6804,10 @@ goog.html.SafeUrl.sanitizeAssertUnchanged = function(url, opt_allowDataUrl) {
|
|
|
6889
6804
|
if (url instanceof goog.html.SafeUrl) {
|
|
6890
6805
|
return url;
|
|
6891
6806
|
}
|
|
6892
|
-
url =
|
|
6807
|
+
url = String(url);
|
|
6893
6808
|
if (opt_allowDataUrl && /^data:/i.test(url)) {
|
|
6894
6809
|
var safeUrl = goog.html.SafeUrl.fromDataUrl(url);
|
|
6895
|
-
if (safeUrl.
|
|
6810
|
+
if (safeUrl.toString() == url) {
|
|
6896
6811
|
return safeUrl;
|
|
6897
6812
|
}
|
|
6898
6813
|
}
|
|
@@ -6935,7 +6850,7 @@ goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged = function(url) {
|
|
|
6935
6850
|
if (url instanceof goog.html.SafeUrl) {
|
|
6936
6851
|
return url;
|
|
6937
6852
|
}
|
|
6938
|
-
url =
|
|
6853
|
+
url = String(url);
|
|
6939
6854
|
var parsedScheme = goog.html.SafeUrl.extractScheme(url);
|
|
6940
6855
|
goog.asserts.assert("javascript:" !== parsedScheme, "%s is a javascript: URL", url) || (url = goog.html.SafeUrl.INNOCUOUS_STRING);
|
|
6941
6856
|
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
@@ -6951,7 +6866,6 @@ var module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$c
|
|
|
6951
6866
|
throw Error("SafeStyle is not meant to be built directly");
|
|
6952
6867
|
}
|
|
6953
6868
|
this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = value;
|
|
6954
|
-
this.implementsGoogStringTypedString = !0;
|
|
6955
6869
|
};
|
|
6956
6870
|
module$contents$goog$html$SafeStyle_SafeStyle.fromConstant = function(style) {
|
|
6957
6871
|
var styleString = goog.string.Const.unwrap(style);
|
|
@@ -6962,9 +6876,6 @@ module$contents$goog$html$SafeStyle_SafeStyle.fromConstant = function(style) {
|
|
|
6962
6876
|
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
6963
6877
|
return module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(styleString);
|
|
6964
6878
|
};
|
|
6965
|
-
module$contents$goog$html$SafeStyle_SafeStyle.prototype.getTypedStringValue = function() {
|
|
6966
|
-
return this.privateDoNotAccessOrElseSafeStyleWrappedValue_;
|
|
6967
|
-
};
|
|
6968
6879
|
module$contents$goog$html$SafeStyle_SafeStyle.prototype.toString = function() {
|
|
6969
6880
|
return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString();
|
|
6970
6881
|
};
|
|
@@ -7062,7 +6973,7 @@ function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
|
7062
6973
|
quote = start;
|
|
7063
6974
|
return inside;
|
|
7064
6975
|
});
|
|
7065
|
-
var sanitized = goog.html.SafeUrl.sanitize(url).
|
|
6976
|
+
var sanitized = goog.html.SafeUrl.sanitize(url).toString();
|
|
7066
6977
|
return before + quote + sanitized + quote + after;
|
|
7067
6978
|
});
|
|
7068
6979
|
}
|
|
@@ -7072,7 +6983,6 @@ var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, mod
|
|
|
7072
6983
|
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
7073
6984
|
}
|
|
7074
6985
|
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
|
|
7075
|
-
this.implementsGoogStringTypedString = !0;
|
|
7076
6986
|
};
|
|
7077
6987
|
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
|
|
7078
6988
|
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString();
|
|
@@ -7118,9 +7028,6 @@ module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant = function(
|
|
|
7118
7028
|
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
7119
7029
|
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheetString);
|
|
7120
7030
|
};
|
|
7121
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.getTypedStringValue = function() {
|
|
7122
|
-
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;
|
|
7123
|
-
};
|
|
7124
7031
|
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
7125
7032
|
if (safeStyleSheet instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet && safeStyleSheet.constructor === module$contents$goog$html$SafeStyleSheet_SafeStyleSheet) {
|
|
7126
7033
|
return safeStyleSheet.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;
|
|
@@ -7138,10 +7045,6 @@ var module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$co
|
|
|
7138
7045
|
throw Error("SafeHtml is not meant to be built directly");
|
|
7139
7046
|
}
|
|
7140
7047
|
this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = value;
|
|
7141
|
-
this.implementsGoogStringTypedString = !0;
|
|
7142
|
-
};
|
|
7143
|
-
module$contents$goog$html$SafeHtml_SafeHtml.prototype.getTypedStringValue = function() {
|
|
7144
|
-
return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString();
|
|
7145
7048
|
};
|
|
7146
7049
|
module$contents$goog$html$SafeHtml_SafeHtml.prototype.toString = function() {
|
|
7147
7050
|
return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString();
|
|
@@ -7157,7 +7060,7 @@ module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML = function(safeHtm
|
|
|
7157
7060
|
return "type_error:SafeHtml";
|
|
7158
7061
|
};
|
|
7159
7062
|
module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape = function(textOrHtml) {
|
|
7160
|
-
return textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml ? textOrHtml : module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(
|
|
7063
|
+
return textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml ? textOrHtml : module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(String(textOrHtml)));
|
|
7161
7064
|
};
|
|
7162
7065
|
module$contents$goog$html$SafeHtml_SafeHtml.htmlEscapePreservingNewlines = function(textOrHtml) {
|
|
7163
7066
|
if (textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml) {
|
|
@@ -7212,23 +7115,6 @@ module$contents$goog$html$SafeHtml_SafeHtml.createScriptSrc = function(src, attr
|
|
|
7212
7115
|
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes({src:src}, {}, attributes);
|
|
7213
7116
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
|
|
7214
7117
|
};
|
|
7215
|
-
module$contents$goog$html$SafeHtml_SafeHtml.createScript = function(script, attributes) {
|
|
7216
|
-
for (var attr in attributes) {
|
|
7217
|
-
if (Object.prototype.hasOwnProperty.call(attributes, attr)) {
|
|
7218
|
-
var attrLower = attr.toLowerCase();
|
|
7219
|
-
if ("language" == attrLower || "src" == attrLower || "text" == attrLower) {
|
|
7220
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot set "' + attrLower + '" attribute' : "");
|
|
7221
|
-
}
|
|
7222
|
-
}
|
|
7223
|
-
}
|
|
7224
|
-
var content = "";
|
|
7225
|
-
script = module$contents$goog$array_concat(script);
|
|
7226
|
-
for (var i = 0; i < script.length; i++) {
|
|
7227
|
-
content += module$contents$goog$html$SafeScript_SafeScript.unwrap(script[i]);
|
|
7228
|
-
}
|
|
7229
|
-
var htmlContent = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(content);
|
|
7230
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", attributes, htmlContent);
|
|
7231
|
-
};
|
|
7232
7118
|
module$contents$goog$html$SafeHtml_SafeHtml.createStyle = function(styleSheet, attributes) {
|
|
7233
7119
|
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
7234
7120
|
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
@@ -7334,14 +7220,13 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
7334
7220
|
} else if (value instanceof goog.html.SafeUrl) {
|
|
7335
7221
|
value = goog.html.SafeUrl.unwrap(value);
|
|
7336
7222
|
} else if ("string" === typeof value) {
|
|
7337
|
-
value = goog.html.SafeUrl.sanitize(value).
|
|
7223
|
+
value = goog.html.SafeUrl.sanitize(value).toString();
|
|
7338
7224
|
} else {
|
|
7339
7225
|
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires goog.html.SafeUrl, goog.string.Const, or string, value "' + value + '" given.' : "");
|
|
7340
7226
|
}
|
|
7341
7227
|
}
|
|
7342
7228
|
}
|
|
7343
|
-
value.
|
|
7344
|
-
goog.asserts.assert("string" === typeof value || "number" === typeof value, "String or number value expected, got " + typeof value + " with value: " + value);
|
|
7229
|
+
goog.asserts.assert(value instanceof goog.html.SafeUrl || value instanceof goog.html.TrustedResourceUrl || value instanceof module$contents$goog$html$SafeStyle_SafeStyle || value instanceof module$contents$goog$html$SafeHtml_SafeHtml || "string" === typeof value || "number" === typeof value, "String or number value expected, got " + typeof value + " with value: " + value);
|
|
7345
7230
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
7346
7231
|
}
|
|
7347
7232
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
@@ -7364,6 +7249,43 @@ goog.html.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
|
7364
7249
|
SPDX-License-Identifier: Apache-2.0
|
|
7365
7250
|
*/
|
|
7366
7251
|
var module$contents$safevalues$environment$dev_module = module$contents$safevalues$environment$dev_module || {id:"third_party/javascript/safevalues/environment/dev.closure.js"};
|
|
7252
|
+
var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeScript_SafeScript = function(value, token) {
|
|
7253
|
+
if (goog.DEBUG && token !== module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
7254
|
+
throw Error("SafeScript is not meant to be built directly");
|
|
7255
|
+
}
|
|
7256
|
+
this.privateDoNotAccessOrElseSafeScriptWrappedValue_ = value;
|
|
7257
|
+
};
|
|
7258
|
+
module$contents$goog$html$SafeScript_SafeScript.prototype.toString = function() {
|
|
7259
|
+
return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString();
|
|
7260
|
+
};
|
|
7261
|
+
module$contents$goog$html$SafeScript_SafeScript.fromConstant = function(script) {
|
|
7262
|
+
var scriptString = goog.string.Const.unwrap(script);
|
|
7263
|
+
return 0 === scriptString.length ? module$contents$goog$html$SafeScript_SafeScript.EMPTY : module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(scriptString);
|
|
7264
|
+
};
|
|
7265
|
+
module$contents$goog$html$SafeScript_SafeScript.fromJson = function(val) {
|
|
7266
|
+
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(module$contents$goog$html$SafeScript_SafeScript.stringify_(val));
|
|
7267
|
+
};
|
|
7268
|
+
module$contents$goog$html$SafeScript_SafeScript.unwrap = function(safeScript) {
|
|
7269
|
+
return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(safeScript).toString();
|
|
7270
|
+
};
|
|
7271
|
+
module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript = function(safeScript) {
|
|
7272
|
+
if (safeScript instanceof module$contents$goog$html$SafeScript_SafeScript && safeScript.constructor === module$contents$goog$html$SafeScript_SafeScript) {
|
|
7273
|
+
return safeScript.privateDoNotAccessOrElseSafeScriptWrappedValue_;
|
|
7274
|
+
}
|
|
7275
|
+
(0,goog.asserts.fail)("expected object of type SafeScript, got '" + safeScript + "' of type " + goog.typeOf(safeScript));
|
|
7276
|
+
return "type_error:SafeScript";
|
|
7277
|
+
};
|
|
7278
|
+
module$contents$goog$html$SafeScript_SafeScript.stringify_ = function(val) {
|
|
7279
|
+
return JSON.stringify(val).replace(/</g, "\\x3c");
|
|
7280
|
+
};
|
|
7281
|
+
module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse = function(script) {
|
|
7282
|
+
var noinlineScript = script, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), trustedScript = policy ? policy.createScript(noinlineScript) : noinlineScript;
|
|
7283
|
+
return new module$contents$goog$html$SafeScript_SafeScript(trustedScript, module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
7284
|
+
};
|
|
7285
|
+
module$contents$goog$html$SafeScript_SafeScript.EMPTY = function() {
|
|
7286
|
+
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("");
|
|
7287
|
+
}();
|
|
7288
|
+
goog.html.SafeScript = module$contents$goog$html$SafeScript_SafeScript;
|
|
7367
7289
|
var module$exports$goog$html$internals = {};
|
|
7368
7290
|
module$exports$goog$html$internals.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
|
|
7369
7291
|
module$exports$goog$html$internals.createSafeScript = module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse;
|
|
@@ -7466,36 +7388,33 @@ function module$contents$safevalues$restricted$reviewed_assertValidJustification
|
|
|
7466
7388
|
throw Error("Calls to uncheckedconversion functions must go through security review. A justification must be provided to capture what security assumptions are being made. See go/unchecked-conversions");
|
|
7467
7389
|
}
|
|
7468
7390
|
}
|
|
7469
|
-
function module$contents$safevalues$restricted$reviewed_getJustificationDuringMigration(options) {
|
|
7470
|
-
return "string" === typeof options ? options : options.justification;
|
|
7471
|
-
}
|
|
7472
7391
|
function module$contents$safevalues$restricted$reviewed_htmlSafeByReview(html, options) {
|
|
7473
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7392
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7474
7393
|
return module$contents$safevalues$internals$html_impl_createHtmlInternal(html);
|
|
7475
7394
|
}
|
|
7476
7395
|
module$exports$safevalues$restricted$reviewed.htmlSafeByReview = module$contents$safevalues$restricted$reviewed_htmlSafeByReview;
|
|
7477
7396
|
function module$contents$safevalues$restricted$reviewed_scriptSafeByReview(script, options) {
|
|
7478
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7397
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7479
7398
|
return module$contents$safevalues$internals$script_impl_createScriptInternal(script);
|
|
7480
7399
|
}
|
|
7481
7400
|
module$exports$safevalues$restricted$reviewed.scriptSafeByReview = module$contents$safevalues$restricted$reviewed_scriptSafeByReview;
|
|
7482
7401
|
function module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview(url, options) {
|
|
7483
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7402
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7484
7403
|
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url);
|
|
7485
7404
|
}
|
|
7486
7405
|
module$exports$safevalues$restricted$reviewed.resourceUrlSafeByReview = module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview;
|
|
7487
7406
|
function module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview(stylesheet, options) {
|
|
7488
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7407
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7489
7408
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(stylesheet);
|
|
7490
7409
|
}
|
|
7491
7410
|
module$exports$safevalues$restricted$reviewed.styleSheetSafeByReview = module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview;
|
|
7492
7411
|
function module$contents$safevalues$restricted$reviewed_urlSafeByReview(url, options) {
|
|
7493
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7412
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7494
7413
|
return module$contents$safevalues$internals$url_impl_createUrlInternal(url);
|
|
7495
7414
|
}
|
|
7496
7415
|
module$exports$safevalues$restricted$reviewed.urlSafeByReview = module$contents$safevalues$restricted$reviewed_urlSafeByReview;
|
|
7497
7416
|
function module$contents$safevalues$restricted$reviewed_styleSafeByReview(style, options) {
|
|
7498
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7417
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7499
7418
|
return module$contents$safevalues$internals$style_impl_createStyleInternal(style);
|
|
7500
7419
|
}
|
|
7501
7420
|
module$exports$safevalues$restricted$reviewed.styleSafeByReview = module$contents$safevalues$restricted$reviewed_styleSafeByReview;
|
|
@@ -7542,7 +7461,7 @@ goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
|
7542
7461
|
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(elem, html);
|
|
7543
7462
|
};
|
|
7544
7463
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
7545
|
-
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), "Constant HTML to be immediatelly used."));
|
|
7464
|
+
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
7546
7465
|
};
|
|
7547
7466
|
goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
7548
7467
|
elem.outerHTML = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
|
|
@@ -7559,9 +7478,6 @@ goog.dom.safe.setInputFormAction = function(input, url) {
|
|
|
7559
7478
|
var safeUrl = url instanceof goog.html.SafeUrl ? url : goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged(url);
|
|
7560
7479
|
module$contents$goog$asserts$dom_assertIsHtmlInputElement(input).formAction = goog.html.SafeUrl.unwrap(safeUrl);
|
|
7561
7480
|
};
|
|
7562
|
-
goog.dom.safe.setStyle = function(elem, style) {
|
|
7563
|
-
elem.style.cssText = module$contents$goog$html$SafeStyle_SafeStyle.unwrap(style);
|
|
7564
|
-
};
|
|
7565
7481
|
goog.dom.safe.documentWrite = function(doc, html) {
|
|
7566
7482
|
doc.write(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html));
|
|
7567
7483
|
};
|
|
@@ -7580,14 +7496,6 @@ goog.dom.safe.setVideoSrc = function(videoElement, url) {
|
|
|
7580
7496
|
var safeUrl = url instanceof goog.html.SafeUrl ? url : goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged(url);
|
|
7581
7497
|
videoElement.src = goog.html.SafeUrl.unwrap(safeUrl);
|
|
7582
7498
|
};
|
|
7583
|
-
goog.dom.safe.setEmbedSrc = function(embed, url) {
|
|
7584
|
-
module$contents$goog$asserts$dom_assertIsHtmlEmbedElement(embed);
|
|
7585
|
-
embed.src = goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(url);
|
|
7586
|
-
};
|
|
7587
|
-
goog.dom.safe.setFrameSrc = function(frame, url) {
|
|
7588
|
-
module$contents$goog$asserts$dom_assertIsHtmlFrameElement(frame);
|
|
7589
|
-
frame.src = goog.html.TrustedResourceUrl.unwrap(url);
|
|
7590
|
-
};
|
|
7591
7499
|
goog.dom.safe.setIframeSrc = function(iframe, url) {
|
|
7592
7500
|
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
7593
7501
|
iframe.src = goog.html.TrustedResourceUrl.unwrap(url);
|
|
@@ -7608,20 +7516,11 @@ goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
|
|
|
7608
7516
|
link.href = url instanceof goog.html.TrustedResourceUrl ? goog.html.TrustedResourceUrl.unwrap(url) : url instanceof goog.html.SafeUrl ? goog.html.SafeUrl.unwrap(url) : goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged(url));
|
|
7609
7517
|
}
|
|
7610
7518
|
};
|
|
7611
|
-
goog.dom.safe.setObjectData = function(object, url) {
|
|
7612
|
-
module$contents$goog$asserts$dom_assertIsHtmlObjectElement(object);
|
|
7613
|
-
object.data = goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(url);
|
|
7614
|
-
};
|
|
7615
7519
|
goog.dom.safe.setScriptSrc = function(script, url) {
|
|
7616
7520
|
module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
|
|
7617
7521
|
goog.dom.safe.setNonceForScriptElement_(script);
|
|
7618
7522
|
script.src = goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(url);
|
|
7619
7523
|
};
|
|
7620
|
-
goog.dom.safe.setScriptContent = function(script, content) {
|
|
7621
|
-
module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
|
|
7622
|
-
goog.dom.safe.setNonceForScriptElement_(script);
|
|
7623
|
-
script.textContent = module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(content);
|
|
7624
|
-
};
|
|
7625
7524
|
goog.dom.safe.setNonceForScriptElement_ = function(script) {
|
|
7626
7525
|
var nonce = goog.dom.safe.getScriptNonce(script.ownerDocument && script.ownerDocument.defaultView);
|
|
7627
7526
|
nonce && script.setAttribute("nonce", nonce);
|
|
@@ -7662,9 +7561,6 @@ goog.dom.safe.createImageFromBlob = function(blob) {
|
|
|
7662
7561
|
image.src = objectUrl;
|
|
7663
7562
|
return image;
|
|
7664
7563
|
};
|
|
7665
|
-
goog.dom.safe.createContextualFragment = function(range, html) {
|
|
7666
|
-
return range.createContextualFragment(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html));
|
|
7667
|
-
};
|
|
7668
7564
|
goog.dom.safe.getScriptNonce = function(opt_window) {
|
|
7669
7565
|
return goog.dom.safe.getNonce_("script[nonce]", opt_window);
|
|
7670
7566
|
};
|
|
@@ -7816,7 +7712,7 @@ goog.string.unescapeEntitiesUsingDom_ = function(str, opt_document) {
|
|
|
7816
7712
|
var n = Number("0" + entity.slice(1));
|
|
7817
7713
|
isNaN(n) || (value = String.fromCharCode(n));
|
|
7818
7714
|
}
|
|
7819
|
-
value || (goog.dom.safe.setInnerHtml(div, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(s + " ", "Single HTML entity.")), value = div.firstChild.nodeValue.slice(0, -1));
|
|
7715
|
+
value || (goog.dom.safe.setInnerHtml(div, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(s + " ", {justification:"Single HTML entity."})), value = div.firstChild.nodeValue.slice(0, -1));
|
|
7820
7716
|
return seen[s] = value;
|
|
7821
7717
|
});
|
|
7822
7718
|
};
|
|
@@ -8889,15 +8785,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
8889
8785
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
8890
8786
|
};
|
|
8891
8787
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
8892
|
-
var $jscomp$this = this, payload = "--" + this._boundary + "\r\n";
|
|
8788
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
8893
8789
|
payload += this._metadataPayload;
|
|
8894
8790
|
return Promise.all(this.files.map(function(f) {
|
|
8895
|
-
return $jscomp$this.encodeFile(f);
|
|
8791
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
8896
8792
|
})).then(function(filePayloads) {
|
|
8897
8793
|
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$filePayload = $jscomp$iter$30.next(); !$jscomp$key$filePayload.done; $jscomp$key$filePayload = $jscomp$iter$30.next()) {
|
|
8898
8794
|
payload += $jscomp$key$filePayload.value;
|
|
8899
8795
|
}
|
|
8900
|
-
return payload += "\r\n--" + $jscomp$this._boundary + "--";
|
|
8796
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
8901
8797
|
});
|
|
8902
8798
|
};
|
|
8903
8799
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -8985,9 +8881,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
8985
8881
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
8986
8882
|
};
|
|
8987
8883
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
8988
|
-
var $jscomp$this = this, responseCtor = requestParams.responseCtor || void 0;
|
|
8884
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
8989
8885
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
8990
|
-
return $jscomp$this.requestService.send(params, responseCtor);
|
|
8886
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
8991
8887
|
}));
|
|
8992
8888
|
};
|
|
8993
8889
|
var module$exports$eeapiclient$ee_api_client = {}, module$contents$eeapiclient$ee_api_client_module = module$contents$eeapiclient$ee_api_client_module || {id:"geo/gestalt/client/javascript/v1/ee_api_client.closure.js"};
|
|
@@ -10415,13 +10311,14 @@ module$exports$eeapiclient$ee_api_client.ExportClassifierRequest = function(para
|
|
|
10415
10311
|
this.Serializable$set("assetExportOptions", null == parameters.assetExportOptions ? null : parameters.assetExportOptions);
|
|
10416
10312
|
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
|
|
10417
10313
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10314
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10418
10315
|
};
|
|
10419
10316
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportClassifierRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10420
10317
|
module$exports$eeapiclient$ee_api_client.ExportClassifierRequest.prototype.getConstructor = function() {
|
|
10421
10318
|
return module$exports$eeapiclient$ee_api_client.ExportClassifierRequest;
|
|
10422
10319
|
};
|
|
10423
10320
|
module$exports$eeapiclient$ee_api_client.ExportClassifierRequest.prototype.getPartialClassMetadata = function() {
|
|
10424
|
-
return {keys:"assetExportOptions description expression maxWorkers requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression}};
|
|
10321
|
+
return {keys:"assetExportOptions description expression maxWorkers priority requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression}};
|
|
10425
10322
|
};
|
|
10426
10323
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportClassifierRequest.prototype, {assetExportOptions:{configurable:!0, enumerable:!0, get:function() {
|
|
10427
10324
|
return this.Serializable$has("assetExportOptions") ? this.Serializable$get("assetExportOptions") : null;
|
|
@@ -10439,6 +10336,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10439
10336
|
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
|
|
10440
10337
|
}, set:function(value) {
|
|
10441
10338
|
this.Serializable$set("maxWorkers", value);
|
|
10339
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10340
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10341
|
+
}, set:function(value) {
|
|
10342
|
+
this.Serializable$set("priority", value);
|
|
10442
10343
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10443
10344
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10444
10345
|
}, set:function(value) {
|
|
@@ -10462,13 +10363,14 @@ module$exports$eeapiclient$ee_api_client.ExportImageRequest = function(parameter
|
|
|
10462
10363
|
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
|
|
10463
10364
|
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
|
|
10464
10365
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10366
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10465
10367
|
};
|
|
10466
10368
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportImageRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10467
10369
|
module$exports$eeapiclient$ee_api_client.ExportImageRequest.prototype.getConstructor = function() {
|
|
10468
10370
|
return module$exports$eeapiclient$ee_api_client.ExportImageRequest;
|
|
10469
10371
|
};
|
|
10470
10372
|
module$exports$eeapiclient$ee_api_client.ExportImageRequest.prototype.getPartialClassMetadata = function() {
|
|
10471
|
-
return {keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkers requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ImageAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, grid:module$exports$eeapiclient$ee_api_client.PixelGrid}};
|
|
10373
|
+
return {keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkers priority requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ImageAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, grid:module$exports$eeapiclient$ee_api_client.PixelGrid}};
|
|
10472
10374
|
};
|
|
10473
10375
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportImageRequest.prototype, {assetExportOptions:{configurable:!0, enumerable:!0, get:function() {
|
|
10474
10376
|
return this.Serializable$has("assetExportOptions") ? this.Serializable$get("assetExportOptions") : null;
|
|
@@ -10498,6 +10400,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10498
10400
|
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
|
|
10499
10401
|
}, set:function(value) {
|
|
10500
10402
|
this.Serializable$set("maxWorkers", value);
|
|
10403
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10404
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10405
|
+
}, set:function(value) {
|
|
10406
|
+
this.Serializable$set("priority", value);
|
|
10501
10407
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10502
10408
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10503
10409
|
}, set:function(value) {
|
|
@@ -10519,13 +10425,14 @@ module$exports$eeapiclient$ee_api_client.ExportMapRequest = function(parameters)
|
|
|
10519
10425
|
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
|
|
10520
10426
|
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
|
|
10521
10427
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10428
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10522
10429
|
};
|
|
10523
10430
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportMapRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10524
10431
|
module$exports$eeapiclient$ee_api_client.ExportMapRequest.prototype.getConstructor = function() {
|
|
10525
10432
|
return module$exports$eeapiclient$ee_api_client.ExportMapRequest;
|
|
10526
10433
|
};
|
|
10527
10434
|
module$exports$eeapiclient$ee_api_client.ExportMapRequest.prototype.getPartialClassMetadata = function() {
|
|
10528
|
-
return {keys:"description expression maxWorkers requestId tileExportOptions tileOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions}};
|
|
10435
|
+
return {keys:"description expression maxWorkers priority requestId tileExportOptions tileOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions}};
|
|
10529
10436
|
};
|
|
10530
10437
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportMapRequest.prototype, {description:{configurable:!0, enumerable:!0, get:function() {
|
|
10531
10438
|
return this.Serializable$has("description") ? this.Serializable$get("description") : null;
|
|
@@ -10539,6 +10446,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10539
10446
|
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
|
|
10540
10447
|
}, set:function(value) {
|
|
10541
10448
|
this.Serializable$set("maxWorkers", value);
|
|
10449
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10450
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10451
|
+
}, set:function(value) {
|
|
10452
|
+
this.Serializable$set("priority", value);
|
|
10542
10453
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10543
10454
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10544
10455
|
}, set:function(value) {
|
|
@@ -10574,13 +10485,14 @@ module$exports$eeapiclient$ee_api_client.ExportTableRequest = function(parameter
|
|
|
10574
10485
|
this.Serializable$set("maxVertices", null == parameters.maxVertices ? null : parameters.maxVertices);
|
|
10575
10486
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10576
10487
|
this.Serializable$set("policy", null == parameters.policy ? null : parameters.policy);
|
|
10488
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10577
10489
|
};
|
|
10578
10490
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportTableRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10579
10491
|
module$exports$eeapiclient$ee_api_client.ExportTableRequest.prototype.getConstructor = function() {
|
|
10580
10492
|
return module$exports$eeapiclient$ee_api_client.ExportTableRequest;
|
|
10581
10493
|
};
|
|
10582
10494
|
module$exports$eeapiclient$ee_api_client.ExportTableRequest.prototype.getPartialClassMetadata = function() {
|
|
10583
|
-
return {keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy requestId selectors workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.TableAssetExportOptions, bigqueryExportOptions:module$exports$eeapiclient$ee_api_client.BigQueryExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression,
|
|
10495
|
+
return {keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy priority requestId selectors workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.TableAssetExportOptions, bigqueryExportOptions:module$exports$eeapiclient$ee_api_client.BigQueryExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression,
|
|
10584
10496
|
featureViewExportOptions:module$exports$eeapiclient$ee_api_client.FeatureViewAssetExportOptions, fileExportOptions:module$exports$eeapiclient$ee_api_client.TableFileExportOptions, policy:module$exports$eeapiclient$ee_api_client.Policy}};
|
|
10585
10497
|
};
|
|
10586
10498
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportTableRequest.prototype, {assetExportOptions:{configurable:!0, enumerable:!0, get:function() {
|
|
@@ -10623,6 +10535,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10623
10535
|
return this.Serializable$has("policy") ? this.Serializable$get("policy") : null;
|
|
10624
10536
|
}, set:function(value) {
|
|
10625
10537
|
this.Serializable$set("policy", value);
|
|
10538
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10539
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10540
|
+
}, set:function(value) {
|
|
10541
|
+
this.Serializable$set("priority", value);
|
|
10626
10542
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10627
10543
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10628
10544
|
}, set:function(value) {
|
|
@@ -10650,13 +10566,14 @@ module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest = function(parame
|
|
|
10650
10566
|
this.Serializable$set("version", null == parameters.version ? null : parameters.version);
|
|
10651
10567
|
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
|
|
10652
10568
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10569
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10653
10570
|
};
|
|
10654
10571
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10655
10572
|
module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest.prototype.getConstructor = function() {
|
|
10656
10573
|
return module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest;
|
|
10657
10574
|
};
|
|
10658
10575
|
module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest.prototype.getPartialClassMetadata = function() {
|
|
10659
|
-
return {enums:{version:module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum}, keys:"description expression maxWorkers requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions,
|
|
10576
|
+
return {enums:{version:module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum}, keys:"description expression maxWorkers priority requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions,
|
|
10660
10577
|
videoOptions:module$exports$eeapiclient$ee_api_client.VideoOptions}};
|
|
10661
10578
|
};
|
|
10662
10579
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest.prototype, {description:{configurable:!0, enumerable:!0, get:function() {
|
|
@@ -10671,6 +10588,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10671
10588
|
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
|
|
10672
10589
|
}, set:function(value) {
|
|
10673
10590
|
this.Serializable$set("maxWorkers", value);
|
|
10591
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10592
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10593
|
+
}, set:function(value) {
|
|
10594
|
+
this.Serializable$set("priority", value);
|
|
10674
10595
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10675
10596
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10676
10597
|
}, set:function(value) {
|
|
@@ -10711,13 +10632,14 @@ module$exports$eeapiclient$ee_api_client.ExportVideoRequest = function(parameter
|
|
|
10711
10632
|
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
|
|
10712
10633
|
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
|
|
10713
10634
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10635
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10714
10636
|
};
|
|
10715
10637
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportVideoRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10716
10638
|
module$exports$eeapiclient$ee_api_client.ExportVideoRequest.prototype.getConstructor = function() {
|
|
10717
10639
|
return module$exports$eeapiclient$ee_api_client.ExportVideoRequest;
|
|
10718
10640
|
};
|
|
10719
10641
|
module$exports$eeapiclient$ee_api_client.ExportVideoRequest.prototype.getPartialClassMetadata = function() {
|
|
10720
|
-
return {keys:"description expression fileExportOptions maxWorkers requestId videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, videoOptions:module$exports$eeapiclient$ee_api_client.VideoOptions}};
|
|
10642
|
+
return {keys:"description expression fileExportOptions maxWorkers priority requestId videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, videoOptions:module$exports$eeapiclient$ee_api_client.VideoOptions}};
|
|
10721
10643
|
};
|
|
10722
10644
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportVideoRequest.prototype, {description:{configurable:!0, enumerable:!0, get:function() {
|
|
10723
10645
|
return this.Serializable$has("description") ? this.Serializable$get("description") : null;
|
|
@@ -10735,6 +10657,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10735
10657
|
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
|
|
10736
10658
|
}, set:function(value) {
|
|
10737
10659
|
this.Serializable$set("maxWorkers", value);
|
|
10660
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10661
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10662
|
+
}, set:function(value) {
|
|
10663
|
+
this.Serializable$set("priority", value);
|
|
10738
10664
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10739
10665
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10740
10666
|
}, set:function(value) {
|
|
@@ -14924,7 +14850,6 @@ goog.dom.getElementByTagNameAndClass_ = function(doc, opt_tag, opt_class, opt_el
|
|
|
14924
14850
|
goog.dom.$$ = goog.dom.getElementsByTagNameAndClass;
|
|
14925
14851
|
goog.dom.setProperties = function(element, properties) {
|
|
14926
14852
|
module$contents$goog$object_forEach(properties, function(val, key) {
|
|
14927
|
-
val && "object" == typeof val && val.implementsGoogStringTypedString && (val = val.getTypedStringValue());
|
|
14928
14853
|
"style" == key ? element.style.cssText = val : "class" == key ? element.className = val : "for" == key ? element.htmlFor = val : goog.dom.DIRECT_ATTRIBUTE_MAP_.hasOwnProperty(key) ? element.setAttribute(goog.dom.DIRECT_ATTRIBUTE_MAP_[key], val) : goog.string.startsWith(key, "aria-") || goog.string.startsWith(key, "data-") ? element.setAttribute(key, val) : element[key] = val;
|
|
14929
14854
|
});
|
|
14930
14855
|
};
|
|
@@ -15027,7 +14952,7 @@ goog.dom.createTable_ = function(doc, rows, columns, fillWithNbsp) {
|
|
|
15027
14952
|
return table;
|
|
15028
14953
|
};
|
|
15029
14954
|
goog.dom.constHtmlToNode = function(var_args) {
|
|
15030
|
-
var stringArray = Array.prototype.map.call(arguments, goog.string.Const.unwrap), safeHtml = module$contents$safevalues$restricted$reviewed_htmlSafeByReview(stringArray.join(""), "Constant HTML string, that gets turned into a Node later, so it will be automatically balanced.");
|
|
14955
|
+
var stringArray = Array.prototype.map.call(arguments, goog.string.Const.unwrap), safeHtml = module$contents$safevalues$restricted$reviewed_htmlSafeByReview(stringArray.join(""), {justification:"Constant HTML string, that gets turned into a Node later, so it will be automatically balanced."});
|
|
15031
14956
|
return goog.dom.safeHtmlToNode(safeHtml);
|
|
15032
14957
|
};
|
|
15033
14958
|
goog.dom.safeHtmlToNode = function(html) {
|
|
@@ -15744,9 +15669,9 @@ goog.debug.asyncStackTag = {};
|
|
|
15744
15669
|
var module$contents$goog$debug$asyncStackTag_createTask = goog.DEBUG && goog.global.console && goog.global.console.createTask ? goog.global.console.createTask.bind(goog.global.console) : void 0, module$contents$goog$debug$asyncStackTag_CONSOLE_TASK_SYMBOL = module$contents$goog$debug$asyncStackTag_createTask ? Symbol("consoleTask") : void 0;
|
|
15745
15670
|
function module$contents$goog$debug$asyncStackTag_wrap(fn, name) {
|
|
15746
15671
|
function wrappedFn() {
|
|
15747
|
-
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this = this;
|
|
15672
|
+
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this$1621498202$2 = this;
|
|
15748
15673
|
return consoleTask.run(function() {
|
|
15749
|
-
return fn.call.apply(fn, [$jscomp$this].concat($jscomp.arrayFromIterable(args)));
|
|
15674
|
+
return fn.call.apply(fn, [$jscomp$this$1621498202$2].concat($jscomp.arrayFromIterable(args)));
|
|
15750
15675
|
});
|
|
15751
15676
|
}
|
|
15752
15677
|
name = void 0 === name ? "anonymous" : name;
|
|
@@ -16281,9 +16206,9 @@ module$contents$goog$async$Throttle_Throttle.prototype.onTimer_ = function() {
|
|
|
16281
16206
|
this.shouldFire_ && !this.pauseCount_ && (this.shouldFire_ = !1, this.doAction_());
|
|
16282
16207
|
};
|
|
16283
16208
|
module$contents$goog$async$Throttle_Throttle.prototype.doAction_ = function() {
|
|
16284
|
-
var $jscomp$this = this;
|
|
16209
|
+
var $jscomp$this$m92829211$8 = this;
|
|
16285
16210
|
this.timer_ = goog.Timer.callOnce(function() {
|
|
16286
|
-
return $jscomp$this.onTimer_();
|
|
16211
|
+
return $jscomp$this$m92829211$8.onTimer_();
|
|
16287
16212
|
}, this.interval_);
|
|
16288
16213
|
var args = this.args_;
|
|
16289
16214
|
this.args_ = null;
|
|
@@ -16956,9 +16881,9 @@ third_party$javascript$closure$log$log$classdecl$var5.prototype.getLogRegistryEn
|
|
|
16956
16881
|
return logRegistryEntry;
|
|
16957
16882
|
};
|
|
16958
16883
|
third_party$javascript$closure$log$log$classdecl$var5.prototype.getAllLoggers = function() {
|
|
16959
|
-
var $jscomp$this = this;
|
|
16884
|
+
var $jscomp$this$17096019$34 = this;
|
|
16960
16885
|
return Object.keys(this.entries).map(function(loggerName) {
|
|
16961
|
-
return $jscomp$this.entries[loggerName].logger;
|
|
16886
|
+
return $jscomp$this$17096019$34.entries[loggerName].logger;
|
|
16962
16887
|
});
|
|
16963
16888
|
};
|
|
16964
16889
|
goog.log.LogRegistry_ = third_party$javascript$closure$log$log$classdecl$var5;
|
|
@@ -17553,8 +17478,8 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
17553
17478
|
throw Error(message);
|
|
17554
17479
|
}
|
|
17555
17480
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
17556
|
-
var $jscomp$templatelit$1274514361$
|
|
17557
|
-
["\\0"]), $jscomp$templatelit$1274514361$
|
|
17481
|
+
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"],
|
|
17482
|
+
["\\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"};
|
|
17558
17483
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
17559
17484
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
17560
17485
|
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 ##############################");
|
|
@@ -17568,14 +17493,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
17568
17493
|
return -1 === fn.toString().indexOf("`");
|
|
17569
17494
|
}
|
|
17570
17495
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17571
|
-
return tag($jscomp$templatelit$1274514361$
|
|
17496
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
17572
17497
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17573
|
-
return tag($jscomp$templatelit$1274514361$
|
|
17498
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
17574
17499
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17575
|
-
return tag($jscomp$templatelit$1274514361$
|
|
17500
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
17576
17501
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17577
|
-
return tag($jscomp$templatelit$1274514361$
|
|
17578
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$
|
|
17502
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
17503
|
+
}), 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);
|
|
17579
17504
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
17580
17505
|
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)) ?
|
|
17581
17506
|
!0 : !1;
|
|
@@ -17596,12 +17521,24 @@ function module$contents$safevalues$builders$attribute_builders_safeAttrPrefix(t
|
|
|
17596
17521
|
}
|
|
17597
17522
|
return module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(attrPrefix);
|
|
17598
17523
|
}
|
|
17599
|
-
;var module$contents$safevalues$builders$document_fragment_builders_module = module$contents$safevalues$builders$document_fragment_builders_module || {id:"third_party/javascript/safevalues/builders/document_fragment_builders.closure.js"};
|
|
17524
|
+
;var module$exports$safevalues$builders$document_fragment_builders = {}, module$contents$safevalues$builders$document_fragment_builders_module = module$contents$safevalues$builders$document_fragment_builders_module || {id:"third_party/javascript/safevalues/builders/document_fragment_builders.closure.js"};
|
|
17600
17525
|
function module$contents$safevalues$builders$document_fragment_builders_safeFragment(templateObj) {
|
|
17526
|
+
return module$contents$safevalues$builders$document_fragment_builders_htmlFragment(templateObj);
|
|
17527
|
+
}
|
|
17528
|
+
module$exports$safevalues$builders$document_fragment_builders.safeFragment = module$contents$safevalues$builders$document_fragment_builders_safeFragment;
|
|
17529
|
+
function module$contents$safevalues$builders$document_fragment_builders_htmlFragment(templateObj) {
|
|
17601
17530
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
17602
17531
|
return document.createRange().createContextualFragment(module$contents$safevalues$internals$html_impl_unwrapHtml(module$contents$safevalues$internals$html_impl_createHtmlInternal(templateObj[0])));
|
|
17603
17532
|
}
|
|
17604
|
-
|
|
17533
|
+
module$exports$safevalues$builders$document_fragment_builders.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
17534
|
+
function module$contents$safevalues$builders$document_fragment_builders_svgFragment(templateObj) {
|
|
17535
|
+
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
17536
|
+
var svgElem = document.createElementNS("http://www.w3.org/2000/svg", "svg"), range = document.createRange();
|
|
17537
|
+
range.selectNodeContents(svgElem);
|
|
17538
|
+
return range.createContextualFragment(module$contents$safevalues$internals$html_impl_unwrapHtml(module$contents$safevalues$internals$html_impl_createHtmlInternal(templateObj[0])));
|
|
17539
|
+
}
|
|
17540
|
+
module$exports$safevalues$builders$document_fragment_builders.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
17541
|
+
var module$exports$safevalues$builders$style_sheet_builders = {}, module$contents$safevalues$builders$style_sheet_builders_module = module$contents$safevalues$builders$style_sheet_builders_module || {id:"third_party/javascript/safevalues/builders/style_sheet_builders.closure.js"}, module$contents$safevalues$builders$style_sheet_builders_Primitive;
|
|
17605
17542
|
module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = function(templateObj) {
|
|
17606
17543
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
17607
17544
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, rest.length);
|
|
@@ -17951,8 +17888,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
17951
17888
|
this.replacements = new Map();
|
|
17952
17889
|
};
|
|
17953
17890
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
17954
|
-
var $jscomp$this = 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) {
|
|
17955
|
-
return $jscomp$this.replaceFormattingString(openedTags, match);
|
|
17891
|
+
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) {
|
|
17892
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
17956
17893
|
});
|
|
17957
17894
|
if (0 !== openedTags.length) {
|
|
17958
17895
|
if (goog.DEBUG) {
|
|
@@ -18141,8 +18078,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
18141
18078
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
18142
18079
|
};
|
|
18143
18080
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
18144
|
-
for (var $jscomp$this = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
18145
|
-
return $jscomp$this.nodeFilter(n);
|
|
18081
|
+
for (var $jscomp$this$m1803429925$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
18082
|
+
return $jscomp$this$m1803429925$10.nodeFilter(n);
|
|
18146
18083
|
}, !1), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; null !== currentNode;) {
|
|
18147
18084
|
var sanitizedNode = void 0;
|
|
18148
18085
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -18602,7 +18539,9 @@ module$exports$safevalues$reporting$reporting.TEST_ONLY = {reset:function() {
|
|
|
18602
18539
|
}};
|
|
18603
18540
|
var module$exports$safevalues$index = {}, module$contents$safevalues$index_module = module$contents$safevalues$index_module || {id:"third_party/javascript/safevalues/index.closure.js"};
|
|
18604
18541
|
module$exports$safevalues$index.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
18542
|
+
module$exports$safevalues$index.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
18605
18543
|
module$exports$safevalues$index.safeFragment = module$contents$safevalues$builders$document_fragment_builders_safeFragment;
|
|
18544
|
+
module$exports$safevalues$index.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
18606
18545
|
module$exports$safevalues$index.concatHtmls = module$exports$safevalues$builders$html_builders.concatHtmls;
|
|
18607
18546
|
module$exports$safevalues$index.doctypeHtml = module$exports$safevalues$builders$html_builders.doctypeHtml;
|
|
18608
18547
|
module$exports$safevalues$index.htmlEscape = module$exports$safevalues$builders$html_builders.htmlEscape;
|
|
@@ -18666,7 +18605,9 @@ module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$
|
|
|
18666
18605
|
module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
|
|
18667
18606
|
module$exports$safevalues$index.safeStyleRule = module$exports$safevalues$builders$style_sheet_builders.safeStyleRule;
|
|
18668
18607
|
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
18608
|
+
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
18669
18609
|
safevalues.safeFragment = module$contents$safevalues$builders$document_fragment_builders_safeFragment;
|
|
18610
|
+
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
18670
18611
|
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
18671
18612
|
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
18672
18613
|
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
@@ -18731,11 +18672,11 @@ safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.Htm
|
|
|
18731
18672
|
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
18732
18673
|
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
18733
18674
|
safevalues.safeStyleRule = module$exports$safevalues$index.safeStyleRule;
|
|
18734
|
-
var $jscomp$templatelit$294235699$
|
|
18675
|
+
var $jscomp$templatelit$294235699$94 = $jscomp.createTemplateTagFirstArg(["https://apis.google.com/js/client.js?onload=", ""]);
|
|
18735
18676
|
ee.apiclient = {};
|
|
18736
18677
|
var module$contents$ee$apiclient_apiclient = {};
|
|
18737
18678
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
18738
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18679
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.386";
|
|
18739
18680
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
18740
18681
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
18741
18682
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -18751,12 +18692,12 @@ module$contents$ee$apiclient_Call.prototype.withDetectPartialError = function(de
|
|
|
18751
18692
|
return this;
|
|
18752
18693
|
};
|
|
18753
18694
|
module$contents$ee$apiclient_Call.prototype.handle = function(response) {
|
|
18754
|
-
var $jscomp$this = this;
|
|
18695
|
+
var $jscomp$this$294235699$3 = this;
|
|
18755
18696
|
if (response instanceof Promise) {
|
|
18756
18697
|
if (this.callback) {
|
|
18757
18698
|
var callback = function(result, error) {
|
|
18758
18699
|
try {
|
|
18759
|
-
return $jscomp$this.callback(result, error);
|
|
18700
|
+
return $jscomp$this$294235699$3.callback(result, error);
|
|
18760
18701
|
} catch (callbackError) {
|
|
18761
18702
|
setTimeout(function() {
|
|
18762
18703
|
throw callbackError;
|
|
@@ -18835,7 +18776,7 @@ var module$contents$ee$apiclient_EERequestService = function(sync, retries) {
|
|
|
18835
18776
|
};
|
|
18836
18777
|
$jscomp.inherits(module$contents$ee$apiclient_EERequestService, module$exports$eeapiclient$promise_request_service.PromiseRequestService);
|
|
18837
18778
|
module$contents$ee$apiclient_EERequestService.prototype.send = function(params, responseCtor) {
|
|
18838
|
-
var $jscomp$this = this;
|
|
18779
|
+
var $jscomp$this$294235699$23 = this;
|
|
18839
18780
|
module$contents$eeapiclient$request_params_processParams(params);
|
|
18840
18781
|
var path = params.path || "", url = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + path, args = module$contents$ee$apiclient_apiclient.makeRequest_(params.queryParams || {}), body = params.body ? JSON.stringify(params.body) : void 0;
|
|
18841
18782
|
if (this.sync) {
|
|
@@ -18849,7 +18790,7 @@ module$contents$ee$apiclient_EERequestService.prototype.send = function(params,
|
|
|
18849
18790
|
return (new Promise(function(resolve, reject) {
|
|
18850
18791
|
module$contents$ee$apiclient_apiclient.send(url, args, function(value, error) {
|
|
18851
18792
|
error ? reject(error) : resolve(value);
|
|
18852
|
-
}, params.httpMethod, body, $jscomp$this.retries, $jscomp$this.detectPartialError);
|
|
18793
|
+
}, params.httpMethod, body, $jscomp$this$294235699$23.retries, $jscomp$this$294235699$23.detectPartialError);
|
|
18853
18794
|
})).then(function(r) {
|
|
18854
18795
|
return responseCtor ? module$contents$eeapiclient$domain_object_deserialize(responseCtor, r) : r;
|
|
18855
18796
|
});
|
|
@@ -18867,7 +18808,7 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
|
|
|
18867
18808
|
return this;
|
|
18868
18809
|
};
|
|
18869
18810
|
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
|
|
18870
|
-
var $jscomp$this = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var40) {
|
|
18811
|
+
var $jscomp$this$294235699$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var40) {
|
|
18871
18812
|
var $jscomp$destructuring$var41 = $jscomp.makeIterator($jscomp$destructuring$var40), id = $jscomp$destructuring$var41.next().value, $jscomp$destructuring$var42 = $jscomp.makeIterator($jscomp$destructuring$var41.next().value), partBody = $jscomp$destructuring$var42.next().value, ctor = $jscomp$destructuring$var42.next().value;
|
|
18872
18813
|
return "--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <" + id + ">\r\n\r\n" + partBody + "\r\n";
|
|
18873
18814
|
}).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
|
|
@@ -18879,7 +18820,7 @@ module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getRespo
|
|
|
18879
18820
|
return getResponse ? getResponse(result) : result;
|
|
18880
18821
|
};
|
|
18881
18822
|
return this.callback ? (module$contents$ee$apiclient_apiclient.send(batchUrl, null, function(result, err) {
|
|
18882
|
-
return $jscomp$this.callback(err ? result : deserializeResponses(result), err);
|
|
18823
|
+
return $jscomp$this$294235699$27.callback(err ? result : deserializeResponses(result), err);
|
|
18883
18824
|
}, "multipart/mixed; boundary=batch_EARTHENGINE_batch", body, void 0, this.detectPartialError), null) : deserializeResponses(module$contents$ee$apiclient_apiclient.send(batchUrl, null, void 0, "multipart/mixed; boundary=batch_EARTHENGINE_batch", body, void 0, this.detectPartialError));
|
|
18884
18825
|
};
|
|
18885
18826
|
var module$contents$ee$apiclient_BatchRequestService = function() {
|
|
@@ -19026,8 +18967,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19026
18967
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19027
18968
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19028
18969
|
method = method || "POST";
|
|
19029
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19030
|
-
"0.1.
|
|
18970
|
+
var headers = {"Content-Type":contentType}, version = "0.1.386";
|
|
18971
|
+
"0.1.386" === version && (version = "latest");
|
|
19031
18972
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19032
18973
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19033
18974
|
if (null != authToken) {
|
|
@@ -19150,7 +19091,7 @@ module$contents$ee$apiclient_apiclient.ensureAuthLibLoaded_ = function(callback)
|
|
|
19150
19091
|
delete goog.global[callbackName];
|
|
19151
19092
|
done();
|
|
19152
19093
|
};
|
|
19153
|
-
goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$294235699$
|
|
19094
|
+
goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$294235699$94, callbackName));
|
|
19154
19095
|
}
|
|
19155
19096
|
};
|
|
19156
19097
|
module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, error, result) {
|
|
@@ -20260,15 +20201,15 @@ ee.Serializer.prototype.encodeForCloudApi_ = function(obj) {
|
|
|
20260
20201
|
}
|
|
20261
20202
|
};
|
|
20262
20203
|
ee.Serializer.prototype.makeReference = function(obj) {
|
|
20263
|
-
var $jscomp$this = this, makeRef = function(result) {
|
|
20204
|
+
var $jscomp$this$1175707268$21 = this, makeRef = function(result) {
|
|
20264
20205
|
var hash = ee.Serializer.computeHash(result);
|
|
20265
|
-
goog.isObject(obj) && $jscomp$this.hashes_.set(obj, hash);
|
|
20266
|
-
if ($jscomp$this.encoded_[hash]) {
|
|
20267
|
-
return $jscomp$this.encoded_[hash];
|
|
20206
|
+
goog.isObject(obj) && $jscomp$this$1175707268$21.hashes_.set(obj, hash);
|
|
20207
|
+
if ($jscomp$this$1175707268$21.encoded_[hash]) {
|
|
20208
|
+
return $jscomp$this$1175707268$21.encoded_[hash];
|
|
20268
20209
|
}
|
|
20269
|
-
var name = String($jscomp$this.scope_.length);
|
|
20270
|
-
$jscomp$this.scope_.push([name, result]);
|
|
20271
|
-
return $jscomp$this.encoded_[hash] = name;
|
|
20210
|
+
var name = String($jscomp$this$1175707268$21.scope_.length);
|
|
20211
|
+
$jscomp$this$1175707268$21.scope_.push([name, result]);
|
|
20212
|
+
return $jscomp$this$1175707268$21.encoded_[hash] = name;
|
|
20272
20213
|
};
|
|
20273
20214
|
if (goog.isObject(obj) && this.encoded_[this.hashes_.get(obj)]) {
|
|
20274
20215
|
return this.encoded_[this.hashes_.get(obj)];
|
|
@@ -20286,24 +20227,24 @@ ee.Serializer.prototype.makeReference = function(obj) {
|
|
|
20286
20227
|
}
|
|
20287
20228
|
if (Array.isArray(obj)) {
|
|
20288
20229
|
return makeRef(ee.rpc_node.array(obj.map(function(x) {
|
|
20289
|
-
return ee.rpc_node.reference($jscomp$this.makeReference(x));
|
|
20230
|
+
return ee.rpc_node.reference($jscomp$this$1175707268$21.makeReference(x));
|
|
20290
20231
|
})));
|
|
20291
20232
|
}
|
|
20292
20233
|
if (goog.isObject(obj) && "function" !== typeof obj) {
|
|
20293
20234
|
var values = {};
|
|
20294
20235
|
Object.keys(obj).sort().forEach(function(k) {
|
|
20295
|
-
values[k] = ee.rpc_node.reference($jscomp$this.makeReference(obj[k]));
|
|
20236
|
+
values[k] = ee.rpc_node.reference($jscomp$this$1175707268$21.makeReference(obj[k]));
|
|
20296
20237
|
});
|
|
20297
20238
|
return makeRef(ee.rpc_node.dictionary(values));
|
|
20298
20239
|
}
|
|
20299
20240
|
throw Error("Can't encode object: " + obj);
|
|
20300
20241
|
};
|
|
20301
20242
|
var ExpressionOptimizer = function(rootReference, values, isCompound, sourceNodeMap) {
|
|
20302
|
-
var $jscomp$this = this;
|
|
20243
|
+
var $jscomp$this$1175707268$22 = this;
|
|
20303
20244
|
this.rootReference = rootReference;
|
|
20304
20245
|
this.values = {};
|
|
20305
20246
|
values.forEach(function(tuple) {
|
|
20306
|
-
return $jscomp$this.values[tuple[0]] = tuple[1];
|
|
20247
|
+
return $jscomp$this$1175707268$22.values[tuple[0]] = tuple[1];
|
|
20307
20248
|
});
|
|
20308
20249
|
this.referenceCounts = isCompound ? this.countReferences() : null;
|
|
20309
20250
|
this.optimizedValues = {};
|
|
@@ -20325,12 +20266,12 @@ ExpressionOptimizer.prototype.optimizeReference = function(ref) {
|
|
|
20325
20266
|
return mappedRef;
|
|
20326
20267
|
};
|
|
20327
20268
|
ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
20328
|
-
var $jscomp$this = this, isConst = function(v) {
|
|
20269
|
+
var $jscomp$this$1175707268$25 = this, isConst = function(v) {
|
|
20329
20270
|
return null !== v.constantValue;
|
|
20330
20271
|
}, serializeConst = function(v) {
|
|
20331
20272
|
return v === module$exports$eeapiclient$domain_object.NULL_VALUE ? null : v;
|
|
20332
20273
|
}, storeInSourceMap = function(parentValue, valueNode) {
|
|
20333
|
-
$jscomp$this.sourceNodeMap && $jscomp$this.sourceNodeMap.has(parentValue) && !$jscomp$this.sourceNodeMap.has(valueNode) && $jscomp$this.sourceNodeMap.set(valueNode, $jscomp$this.sourceNodeMap.get(parentValue));
|
|
20274
|
+
$jscomp$this$1175707268$25.sourceNodeMap && $jscomp$this$1175707268$25.sourceNodeMap.has(parentValue) && !$jscomp$this$1175707268$25.sourceNodeMap.has(valueNode) && $jscomp$this$1175707268$25.sourceNodeMap.set(valueNode, $jscomp$this$1175707268$25.sourceNodeMap.get(parentValue));
|
|
20334
20275
|
return valueNode;
|
|
20335
20276
|
};
|
|
20336
20277
|
if (isConst(value) || null != value.integerValue || null != value.bytesValue || null != value.argumentReference) {
|
|
@@ -20350,7 +20291,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20350
20291
|
}
|
|
20351
20292
|
if (null != value.arrayValue) {
|
|
20352
20293
|
var arr = value.arrayValue.values.map(function(v) {
|
|
20353
|
-
return $jscomp$this.optimizeValue(v, depth + 3);
|
|
20294
|
+
return $jscomp$this$1175707268$25.optimizeValue(v, depth + 3);
|
|
20354
20295
|
}), optimized$jscomp$1 = arr.every(isConst) ? ee.rpc_node.constant(arr.map(function(v) {
|
|
20355
20296
|
return serializeConst(v.constantValue);
|
|
20356
20297
|
})) : ee.rpc_node.array(arr);
|
|
@@ -20383,8 +20324,8 @@ ExpressionOptimizer.isAlwaysLiftable = function(value) {
|
|
|
20383
20324
|
return null !== constant ? constant === module$exports$eeapiclient$domain_object.NULL_VALUE || "number" === typeof constant || "boolean" === typeof constant : null != value.argumentReference;
|
|
20384
20325
|
};
|
|
20385
20326
|
ExpressionOptimizer.prototype.countReferences = function() {
|
|
20386
|
-
var $jscomp$this = this, counts = {}, visitReference = function(reference) {
|
|
20387
|
-
counts[reference] ? counts[reference]++ : (counts[reference] = 1, visitValue($jscomp$this.values[reference]));
|
|
20327
|
+
var $jscomp$this$1175707268$27 = this, counts = {}, visitReference = function(reference) {
|
|
20328
|
+
counts[reference] ? counts[reference]++ : (counts[reference] = 1, visitValue($jscomp$this$1175707268$27.values[reference]));
|
|
20388
20329
|
}, visitValue = function(value) {
|
|
20389
20330
|
if (null != value.arrayValue) {
|
|
20390
20331
|
value.arrayValue.values.forEach(visitValue);
|
|
@@ -20674,13 +20615,14 @@ var module$contents$goog$singleton_instantiatedSingletons = [], module$contents$
|
|
|
20674
20615
|
};
|
|
20675
20616
|
goog.singleton.getInstance = function(ctor) {
|
|
20676
20617
|
(0,goog.asserts.assert)(!Object.isSealed(ctor), "Cannot use getInstance() with a sealed constructor.");
|
|
20677
|
-
|
|
20618
|
+
var prop = "instance_";
|
|
20619
|
+
if (ctor.instance_ && ctor.hasOwnProperty(prop)) {
|
|
20678
20620
|
return ctor.instance_;
|
|
20679
20621
|
}
|
|
20680
20622
|
goog.DEBUG && module$contents$goog$singleton_instantiatedSingletons.push(ctor);
|
|
20681
20623
|
var instance = new ctor();
|
|
20682
20624
|
ctor.instance_ = instance;
|
|
20683
|
-
(0,goog.asserts.assert)(ctor.hasOwnProperty(
|
|
20625
|
+
(0,goog.asserts.assert)(ctor.hasOwnProperty(prop), "Could not instantiate singleton.");
|
|
20684
20626
|
return instance;
|
|
20685
20627
|
};
|
|
20686
20628
|
goog.singleton.instantiatedSingletons = module$contents$goog$singleton_instantiatedSingletons;
|
|
@@ -22761,11 +22703,11 @@ ee.Image.prototype.getInfo = function(opt_callback) {
|
|
|
22761
22703
|
};
|
|
22762
22704
|
goog.exportProperty(ee.Image.prototype, "getInfo", ee.Image.prototype.getInfo);
|
|
22763
22705
|
ee.Image.prototype.getMapId = function(opt_visParams, opt_callback) {
|
|
22764
|
-
var $jscomp$this = this, args = ee.arguments.extractFromFunction(ee.Image.prototype.getMap, arguments), request = ee.data.images.applyVisualization(this, args.visParams);
|
|
22706
|
+
var $jscomp$this$m870018051$6 = this, args = ee.arguments.extractFromFunction(ee.Image.prototype.getMap, arguments), request = ee.data.images.applyVisualization(this, args.visParams);
|
|
22765
22707
|
if (args.callback) {
|
|
22766
22708
|
var callback = args.callback;
|
|
22767
22709
|
ee.data.getMapId(request, function(data, error) {
|
|
22768
|
-
var mapId = data ? Object.assign(data, {image:$jscomp$this}) : void 0;
|
|
22710
|
+
var mapId = data ? Object.assign(data, {image:$jscomp$this$m870018051$6}) : void 0;
|
|
22769
22711
|
callback(mapId, error);
|
|
22770
22712
|
});
|
|
22771
22713
|
} else {
|
|
@@ -23165,7 +23107,7 @@ module$contents$ee$batch_ExportTask.create = function(exportArgs) {
|
|
|
23165
23107
|
return new module$contents$ee$batch_ExportTask(config);
|
|
23166
23108
|
};
|
|
23167
23109
|
module$contents$ee$batch_ExportTask.prototype.start = function(opt_success, opt_error) {
|
|
23168
|
-
var $jscomp$this = this;
|
|
23110
|
+
var $jscomp$this$m1704548930$3 = this;
|
|
23169
23111
|
goog.asserts.assert(this.config_, "Task config must be specified for tasks to be started.");
|
|
23170
23112
|
this.id = this.id || ee.data.newTaskId(1)[0];
|
|
23171
23113
|
goog.asserts.assertString(this.id, "Failed to obtain task ID.");
|
|
@@ -23175,7 +23117,7 @@ module$contents$ee$batch_ExportTask.prototype.start = function(opt_success, opt_
|
|
|
23175
23117
|
opt_error(error);
|
|
23176
23118
|
} else {
|
|
23177
23119
|
var $jscomp$nullish$tmp11;
|
|
23178
|
-
$jscomp$this.id = null != ($jscomp$nullish$tmp11 = response.taskId) ? $jscomp$nullish$tmp11 : null;
|
|
23120
|
+
$jscomp$this$m1704548930$3.id = null != ($jscomp$nullish$tmp11 = response.taskId) ? $jscomp$nullish$tmp11 : null;
|
|
23179
23121
|
opt_success();
|
|
23180
23122
|
}
|
|
23181
23123
|
});
|
|
@@ -24263,9 +24205,9 @@ module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.prototype.ha
|
|
|
24263
24205
|
return 0 < this.statsByZoom_.size;
|
|
24264
24206
|
};
|
|
24265
24207
|
module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.prototype.getSummaryList = function() {
|
|
24266
|
-
var $jscomp$this = this, summaryList = [];
|
|
24208
|
+
var $jscomp$this$m1171058278$7 = this, summaryList = [];
|
|
24267
24209
|
this.statsByZoom_.forEach(function(stats, zoom) {
|
|
24268
|
-
return summaryList.push({layerId:$jscomp$this.uniqueId_, zoomLevel:zoom, tileLatencies:stats.tileLatencies, throttleCount:stats.throttleCount, errorCount:stats.errorCount});
|
|
24210
|
+
return summaryList.push({layerId:$jscomp$this$m1171058278$7.uniqueId_, zoomLevel:zoom, tileLatencies:stats.tileLatencies, throttleCount:stats.throttleCount, errorCount:stats.errorCount});
|
|
24269
24211
|
});
|
|
24270
24212
|
return summaryList;
|
|
24271
24213
|
};
|
|
@@ -25451,7 +25393,7 @@ ee.layers.AbstractTile.prototype.getDiv = function() {
|
|
|
25451
25393
|
return this.div;
|
|
25452
25394
|
};
|
|
25453
25395
|
ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
25454
|
-
var $jscomp$this = this;
|
|
25396
|
+
var $jscomp$this$m442005483$27 = this;
|
|
25455
25397
|
if (!this.isRetrying_ && this.getStatus() == ee.layers.AbstractTile.Status.LOADING) {
|
|
25456
25398
|
throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");
|
|
25457
25399
|
}
|
|
@@ -25460,24 +25402,24 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
|
25460
25402
|
this.xhrIo_ = new goog.net.XhrIo();
|
|
25461
25403
|
this.xhrIo_.setResponseType(goog.net.XhrIo.ResponseType.BLOB);
|
|
25462
25404
|
this.xhrIo_.listen(goog.net.EventType.COMPLETE, function(event) {
|
|
25463
|
-
var blob = $jscomp$this.xhrIo_.getResponse(), status = $jscomp$this.xhrIo_.getStatus(), HttpStatus = goog.net.HttpStatus;
|
|
25464
|
-
status == HttpStatus.TOO_MANY_REQUESTS && $jscomp$this.setStatus(ee.layers.AbstractTile.Status.THROTTLED);
|
|
25405
|
+
var blob = $jscomp$this$m442005483$27.xhrIo_.getResponse(), status = $jscomp$this$m442005483$27.xhrIo_.getStatus(), HttpStatus = goog.net.HttpStatus;
|
|
25406
|
+
status == HttpStatus.TOO_MANY_REQUESTS && $jscomp$this$m442005483$27.setStatus(ee.layers.AbstractTile.Status.THROTTLED);
|
|
25465
25407
|
if (HttpStatus.isSuccess(status)) {
|
|
25466
25408
|
var sourceResponseHeaders = {};
|
|
25467
|
-
module$contents$goog$object_forEach($jscomp$this.xhrIo_.getResponseHeaders(), function(value, name) {
|
|
25409
|
+
module$contents$goog$object_forEach($jscomp$this$m442005483$27.xhrIo_.getResponseHeaders(), function(value, name) {
|
|
25468
25410
|
sourceResponseHeaders[name.toLowerCase()] = value;
|
|
25469
25411
|
});
|
|
25470
|
-
$jscomp$this.sourceResponseHeaders = sourceResponseHeaders;
|
|
25471
|
-
$jscomp$this.sourceData = blob;
|
|
25472
|
-
$jscomp$this.finishLoad();
|
|
25412
|
+
$jscomp$this$m442005483$27.sourceResponseHeaders = sourceResponseHeaders;
|
|
25413
|
+
$jscomp$this$m442005483$27.sourceData = blob;
|
|
25414
|
+
$jscomp$this$m442005483$27.finishLoad();
|
|
25473
25415
|
} else if (blob) {
|
|
25474
25416
|
var reader = new goog.fs.FileReader();
|
|
25475
25417
|
reader.listen(goog.fs.FileReader.EventType.LOAD_END, function() {
|
|
25476
|
-
$jscomp$this.retryLoad(reader.getResult());
|
|
25418
|
+
$jscomp$this$m442005483$27.retryLoad(reader.getResult());
|
|
25477
25419
|
}, void 0);
|
|
25478
25420
|
reader.readAsText(blob);
|
|
25479
25421
|
} else {
|
|
25480
|
-
$jscomp$this.retryLoad("Failed to load tile.");
|
|
25422
|
+
$jscomp$this$m442005483$27.retryLoad("Failed to load tile.");
|
|
25481
25423
|
}
|
|
25482
25424
|
}, !1);
|
|
25483
25425
|
this.xhrIo_.listenOnce(goog.net.EventType.READY, goog.partial(module$contents$goog$dispose_dispose, this.xhrIo_));
|
|
@@ -26535,13 +26477,13 @@ ee.data.Profiler.prototype.removeProfile_ = function(profileId) {
|
|
|
26535
26477
|
1 < count ? this.profileIds_[profileId]-- : void 0 !== count && (delete this.profileIds_[profileId], this.throttledRefresh_.start());
|
|
26536
26478
|
};
|
|
26537
26479
|
ee.data.Profiler.prototype.refresh_ = function(retryAttempt) {
|
|
26538
|
-
var $jscomp$this = this;
|
|
26480
|
+
var $jscomp$this$491634829$13 = this;
|
|
26539
26481
|
retryAttempt = void 0 === retryAttempt ? 0 : retryAttempt;
|
|
26540
26482
|
var marker = {};
|
|
26541
26483
|
this.lastRefreshToken_ = marker;
|
|
26542
26484
|
var handleResponse = function(result, error) {
|
|
26543
|
-
marker == $jscomp$this.lastRefreshToken_ && (error && "number" === typeof retryAttempt && retryAttempt < $jscomp$this.MAX_RETRY_COUNT_ ? goog.Timer.callOnce(goog.bind($jscomp$this.refresh_, $jscomp$this, retryAttempt + 1), 2 * ee.data.Profiler.DELAY_BEFORE_REFRESH_) : ($jscomp$this.profileError_ = error || null, $jscomp$this.profileData_ = error ? ee.data.Profiler.getEmptyProfile_($jscomp$this.format_) :
|
|
26544
|
-
$jscomp$this.dispatchEvent(ee.data.Profiler.EventType.DATA_CHANGED)));
|
|
26485
|
+
marker == $jscomp$this$491634829$13.lastRefreshToken_ && (error && "number" === typeof retryAttempt && retryAttempt < $jscomp$this$491634829$13.MAX_RETRY_COUNT_ ? goog.Timer.callOnce(goog.bind($jscomp$this$491634829$13.refresh_, $jscomp$this$491634829$13, retryAttempt + 1), 2 * ee.data.Profiler.DELAY_BEFORE_REFRESH_) : ($jscomp$this$491634829$13.profileError_ = error || null, $jscomp$this$491634829$13.profileData_ = error ? ee.data.Profiler.getEmptyProfile_($jscomp$this$491634829$13.format_) :
|
|
26486
|
+
result, $jscomp$this$491634829$13.lastRefreshToken_ = null, $jscomp$this$491634829$13.dispatchEvent(ee.data.Profiler.EventType.STATE_CHANGED), $jscomp$this$491634829$13.dispatchEvent(ee.data.Profiler.EventType.DATA_CHANGED)));
|
|
26545
26487
|
}, ids = module$contents$goog$object_getKeys(this.profileIds_);
|
|
26546
26488
|
0 === ids.length ? handleResponse(ee.data.Profiler.getEmptyProfile_(this.format_), void 0) : (ee.ApiFunction._apply(this.showInternal_ ? "Profile.getProfilesInternal" : "Profile.getProfiles", {ids:ids, format:this.format_.toString()}).getInfo(handleResponse), this.dispatchEvent(ee.data.Profiler.EventType.STATE_CHANGED));
|
|
26547
26489
|
};
|