@google/earthengine 1.0.0 → 1.1.0
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 +471 -528
- package/build/ee_api_js.js +622 -623
- package/build/ee_api_js_debug.js +448 -506
- package/build/ee_api_js_npm.js +471 -528
- package/build/main.js +471 -528
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/main.js
CHANGED
|
@@ -767,6 +767,9 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
|
|
|
767
767
|
});
|
|
768
768
|
};
|
|
769
769
|
}, "es6", "es3");
|
|
770
|
+
$jscomp.polyfill("globalThis", function(orig) {
|
|
771
|
+
return orig || $jscomp.global;
|
|
772
|
+
}, "es_2020", "es3");
|
|
770
773
|
$jscomp.checkEs6ConformanceViaProxy = function() {
|
|
771
774
|
try {
|
|
772
775
|
var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
|
|
@@ -1252,7 +1255,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1252
1255
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1253
1256
|
};
|
|
1254
1257
|
}, "es8", "es3");
|
|
1255
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1,
|
|
1258
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable:!1, GoogFlags__jspb_enable_low_index_extension_writes__disable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__enable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1,
|
|
1256
1259
|
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, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1257
1260
|
/*
|
|
1258
1261
|
|
|
@@ -2148,9 +2151,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2148
2151
|
};
|
|
2149
2152
|
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;
|
|
2150
2153
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2151
|
-
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$
|
|
2152
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2153
|
-
var key = $jscomp$key$
|
|
2154
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
2155
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2156
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2154
2157
|
if (value != null) {
|
|
2155
2158
|
var copy = void 0;
|
|
2156
2159
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2161,11 +2164,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2161
2164
|
} else if (objects.hasOwnProperty(key)) {
|
|
2162
2165
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2163
2166
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2164
|
-
$jscomp$loop$
|
|
2167
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2165
2168
|
return function(v) {
|
|
2166
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2169
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2167
2170
|
};
|
|
2168
|
-
}($jscomp$loop$
|
|
2171
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2169
2172
|
} else if (Array.isArray(value)) {
|
|
2170
2173
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2171
2174
|
continue;
|
|
@@ -2180,8 +2183,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2180
2183
|
return target;
|
|
2181
2184
|
}
|
|
2182
2185
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2183
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2184
|
-
var mapKey = $jscomp$key$
|
|
2186
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
2187
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2185
2188
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2186
2189
|
}
|
|
2187
2190
|
return objMap;
|
|
@@ -2211,39 +2214,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2211
2214
|
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))) {
|
|
2212
2215
|
return !1;
|
|
2213
2216
|
}
|
|
2214
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2215
|
-
var key = $jscomp$key$
|
|
2217
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
2218
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2216
2219
|
if (has1 !== has2) {
|
|
2217
2220
|
return !1;
|
|
2218
2221
|
}
|
|
2219
2222
|
if (has1) {
|
|
2220
2223
|
var value1 = serializable1.Serializable$get(key);
|
|
2221
|
-
$jscomp$loop$
|
|
2224
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2222
2225
|
if (arrays1.hasOwnProperty(key)) {
|
|
2223
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2226
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2224
2227
|
return !1;
|
|
2225
2228
|
}
|
|
2226
2229
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2227
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2230
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2228
2231
|
return !1;
|
|
2229
2232
|
}
|
|
2230
2233
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2231
|
-
if ($jscomp$loop$
|
|
2232
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2234
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2235
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2233
2236
|
return function(v1, i) {
|
|
2234
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2237
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2235
2238
|
};
|
|
2236
|
-
}($jscomp$loop$
|
|
2239
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2237
2240
|
return !1;
|
|
2238
2241
|
}
|
|
2239
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2242
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2240
2243
|
return !1;
|
|
2241
2244
|
}
|
|
2242
2245
|
} else if (Array.isArray(value1)) {
|
|
2243
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2246
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2244
2247
|
return !1;
|
|
2245
2248
|
}
|
|
2246
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2249
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2247
2250
|
return !1;
|
|
2248
2251
|
}
|
|
2249
2252
|
}
|
|
@@ -2265,8 +2268,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2265
2268
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2266
2269
|
return !1;
|
|
2267
2270
|
}
|
|
2268
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2269
|
-
var mapKey = $jscomp$key$
|
|
2271
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
2272
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2270
2273
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2271
2274
|
return !1;
|
|
2272
2275
|
}
|
|
@@ -2347,15 +2350,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2347
2350
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2348
2351
|
};
|
|
2349
2352
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2350
|
-
var $jscomp$this$
|
|
2353
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2351
2354
|
payload += this._metadataPayload;
|
|
2352
2355
|
return Promise.all(this.files.map(function(f) {
|
|
2353
|
-
return $jscomp$this$
|
|
2356
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2354
2357
|
})).then(function(filePayloads) {
|
|
2355
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2356
|
-
payload += $jscomp$key$
|
|
2358
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
|
|
2359
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2357
2360
|
}
|
|
2358
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2361
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2359
2362
|
});
|
|
2360
2363
|
};
|
|
2361
2364
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2788,229 +2791,81 @@ var module$contents$safevalues$internals$pure_module = module$contents$safevalue
|
|
|
2788
2791
|
function module$contents$safevalues$internals$pure_pure(valueOf) {
|
|
2789
2792
|
return {valueOf:valueOf}.valueOf();
|
|
2790
2793
|
}
|
|
2791
|
-
;
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
var stack = Error().stack;
|
|
2797
|
-
stack && (this.stack = stack);
|
|
2794
|
+
;var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
|
|
2795
|
+
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
2796
|
+
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
2797
|
+
if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
|
|
2798
|
+
throw Error("Bad secret");
|
|
2798
2799
|
}
|
|
2799
|
-
msg && (this.message = String(msg));
|
|
2800
|
-
cause !== void 0 && (this.cause = cause);
|
|
2801
|
-
this.reportErrorToServer = !0;
|
|
2802
2800
|
}
|
|
2803
|
-
|
|
2804
|
-
module$contents$
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
this.messagePattern = messagePattern;
|
|
2813
|
-
}
|
|
2814
|
-
goog.inherits(module$contents$goog$asserts_AssertionError, module$contents$goog$debug$Error_DebugError);
|
|
2815
|
-
goog.asserts.AssertionError = module$contents$goog$asserts_AssertionError;
|
|
2816
|
-
module$contents$goog$asserts_AssertionError.prototype.name = "AssertionError";
|
|
2817
|
-
goog.asserts.DEFAULT_ERROR_HANDLER = function(e) {
|
|
2818
|
-
throw e;
|
|
2819
|
-
};
|
|
2820
|
-
var module$contents$goog$asserts_errorHandler_ = goog.asserts.DEFAULT_ERROR_HANDLER;
|
|
2821
|
-
function module$contents$goog$asserts_subs(pattern, subs) {
|
|
2822
|
-
for (var splitParts = pattern.split("%s"), returnString = "", subLast = splitParts.length - 1, i = 0; i < subLast; i++) {
|
|
2823
|
-
returnString += splitParts[i] + (i < subs.length ? subs[i] : "%s");
|
|
2801
|
+
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
2802
|
+
var module$exports$safevalues$internals$trusted_types = {}, module$contents$safevalues$internals$trusted_types_module = module$contents$safevalues$internals$trusted_types_module || {id:"third_party/javascript/safevalues/internals/trusted_types.closure.js"}, module$contents$safevalues$internals$trusted_types_configuredPolicyName = goog.TRUSTED_TYPES_POLICY_NAME ? goog.TRUSTED_TYPES_POLICY_NAME +
|
|
2803
|
+
"#html" : "", module$contents$safevalues$internals$trusted_types_policyName = module$contents$safevalues$internals$trusted_types_configuredPolicyName;
|
|
2804
|
+
module$exports$safevalues$internals$trusted_types.trustedTypes = globalThis.trustedTypes;
|
|
2805
|
+
var module$contents$safevalues$internals$trusted_types_trustedTypesInternal = module$exports$safevalues$internals$trusted_types.trustedTypes, module$contents$safevalues$internals$trusted_types_policy;
|
|
2806
|
+
function module$contents$safevalues$internals$trusted_types_createPolicy() {
|
|
2807
|
+
var policy = null;
|
|
2808
|
+
if (module$contents$safevalues$internals$trusted_types_policyName === "" || !module$contents$safevalues$internals$trusted_types_trustedTypesInternal) {
|
|
2809
|
+
return policy;
|
|
2824
2810
|
}
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2811
|
+
try {
|
|
2812
|
+
var identity = function(x) {
|
|
2813
|
+
return x;
|
|
2814
|
+
};
|
|
2815
|
+
policy = module$contents$safevalues$internals$trusted_types_trustedTypesInternal.createPolicy(module$contents$safevalues$internals$trusted_types_policyName, {createHTML:identity, createScript:identity, createScriptURL:identity});
|
|
2816
|
+
} catch (e) {
|
|
2817
|
+
if (goog.DEBUG) {
|
|
2818
|
+
throw e;
|
|
2819
|
+
}
|
|
2834
2820
|
}
|
|
2835
|
-
|
|
2836
|
-
module$contents$goog$asserts_errorHandler_(e);
|
|
2821
|
+
return policy;
|
|
2837
2822
|
}
|
|
2838
|
-
|
|
2839
|
-
module$
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
module$
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
module$
|
|
2851
|
-
};
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
goog.asserts.assertString = function(value, opt_message, var_args) {
|
|
2857
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "string" && module$contents$goog$asserts_doAssertFailure("Expected string but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2858
|
-
return value;
|
|
2859
|
-
};
|
|
2860
|
-
goog.asserts.assertFunction = function(value, opt_message, var_args) {
|
|
2861
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "function" && module$contents$goog$asserts_doAssertFailure("Expected function but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2862
|
-
return value;
|
|
2863
|
-
};
|
|
2864
|
-
goog.asserts.assertObject = function(value, opt_message, var_args) {
|
|
2865
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !goog.isObject(value) && module$contents$goog$asserts_doAssertFailure("Expected object but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2866
|
-
return value;
|
|
2867
|
-
};
|
|
2868
|
-
goog.asserts.assertArray = function(value, opt_message, var_args) {
|
|
2869
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !Array.isArray(value) && module$contents$goog$asserts_doAssertFailure("Expected array but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2870
|
-
return value;
|
|
2871
|
-
};
|
|
2872
|
-
goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
2873
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "boolean" && module$contents$goog$asserts_doAssertFailure("Expected boolean but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2874
|
-
return value;
|
|
2875
|
-
};
|
|
2876
|
-
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
2877
|
-
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog.dom.NodeType.ELEMENT || module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2878
|
-
return value;
|
|
2823
|
+
function module$contents$safevalues$internals$trusted_types_getPolicy() {
|
|
2824
|
+
module$contents$safevalues$internals$trusted_types_policy === void 0 && (module$contents$safevalues$internals$trusted_types_policy = module$contents$safevalues$internals$trusted_types_createPolicy());
|
|
2825
|
+
return module$contents$safevalues$internals$trusted_types_policy;
|
|
2826
|
+
}
|
|
2827
|
+
module$exports$safevalues$internals$trusted_types.getPolicy = module$contents$safevalues$internals$trusted_types_getPolicy;
|
|
2828
|
+
module$exports$safevalues$internals$trusted_types.TEST_ONLY = {setPolicyName:function(name) {
|
|
2829
|
+
module$contents$safevalues$internals$trusted_types_policyName = name;
|
|
2830
|
+
}, setTrustedTypes:function(mockTrustedTypes) {
|
|
2831
|
+
module$contents$safevalues$internals$trusted_types_trustedTypesInternal = mockTrustedTypes;
|
|
2832
|
+
}, resetDefaults:function() {
|
|
2833
|
+
module$contents$safevalues$internals$trusted_types_policy = void 0;
|
|
2834
|
+
module$contents$safevalues$internals$trusted_types_policyName = module$contents$safevalues$internals$trusted_types_configuredPolicyName;
|
|
2835
|
+
module$contents$safevalues$internals$trusted_types_trustedTypesInternal = module$exports$safevalues$internals$trusted_types.trustedTypes;
|
|
2836
|
+
}};
|
|
2837
|
+
var module$exports$safevalues$internals$resource_url_impl = {}, module$contents$safevalues$internals$resource_url_impl_module = module$contents$safevalues$internals$resource_url_impl_module || {id:"third_party/javascript/safevalues/internals/resource_url_impl.closure.js"};
|
|
2838
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = function(token, value) {
|
|
2839
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
2840
|
+
this.privateDoNotAccessOrElseWrappedResourceUrl = value;
|
|
2879
2841
|
};
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
return value;
|
|
2842
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.prototype.toString = function() {
|
|
2843
|
+
return this.privateDoNotAccessOrElseWrappedResourceUrl + "";
|
|
2883
2844
|
};
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
return value;
|
|
2887
|
-
};
|
|
2888
|
-
function module$contents$goog$asserts_getType(value) {
|
|
2889
|
-
return value instanceof Function ? value.displayName || value.name || "unknown type name" : value instanceof Object ? value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value) : value === null ? "null" : typeof value;
|
|
2845
|
+
var module$contents$safevalues$internals$resource_url_impl_ResourceUrlImpl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
2846
|
+
function module$contents$safevalues$internals$resource_url_impl_constructResourceUrl(value) {
|
|
2847
|
+
return new module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
2890
2848
|
}
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse = function() {
|
|
2895
|
-
if (!goog.html.trustedtypes.POLICY_NAME) {
|
|
2896
|
-
return null;
|
|
2897
|
-
}
|
|
2898
|
-
goog.html.trustedtypes.cachedPolicy_ === void 0 && (goog.html.trustedtypes.cachedPolicy_ = goog.createTrustedTypesPolicy(goog.html.trustedtypes.POLICY_NAME));
|
|
2899
|
-
return goog.html.trustedtypes.cachedPolicy_;
|
|
2900
|
-
};
|
|
2901
|
-
goog.string.Const = function(opt_token, opt_content) {
|
|
2902
|
-
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
2903
|
-
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
2904
|
-
};
|
|
2905
|
-
goog.string.Const.prototype.toString = function() {
|
|
2906
|
-
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
2907
|
-
};
|
|
2908
|
-
goog.string.Const.unwrap = function(stringConst) {
|
|
2909
|
-
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_) {
|
|
2910
|
-
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
2911
|
-
}
|
|
2912
|
-
goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
|
|
2913
|
-
return "type_error:Const";
|
|
2914
|
-
};
|
|
2915
|
-
goog.string.Const.from = function(s) {
|
|
2916
|
-
return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
|
|
2917
|
-
};
|
|
2918
|
-
goog.string.Const.TYPE_MARKER_ = {};
|
|
2919
|
-
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
2920
|
-
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
2921
|
-
var module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_ = {}, module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl = function(value, token) {
|
|
2922
|
-
if (goog.DEBUG && token !== module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
2923
|
-
throw Error("TrustedResourceUrl is not meant to be built directly");
|
|
2924
|
-
}
|
|
2925
|
-
this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = value;
|
|
2926
|
-
};
|
|
2927
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.toString = function() {
|
|
2928
|
-
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
|
|
2929
|
-
};
|
|
2930
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
|
|
2931
|
-
var urlString = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url), parts = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_.exec(urlString), urlHash = parts[3] || "";
|
|
2932
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(parts[1] + module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
|
|
2933
|
-
};
|
|
2934
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap = function(trustedResourceUrl) {
|
|
2935
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(trustedResourceUrl).toString();
|
|
2936
|
-
};
|
|
2937
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL = function(trustedResourceUrl) {
|
|
2938
|
-
if (trustedResourceUrl instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl && trustedResourceUrl.constructor === module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
|
|
2939
|
-
return trustedResourceUrl.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;
|
|
2940
|
-
}
|
|
2941
|
-
goog.asserts.fail("expected object of type TrustedResourceUrl, got '%s' of type %s", trustedResourceUrl, goog.typeOf(trustedResourceUrl));
|
|
2942
|
-
return "type_error:TrustedResourceUrl";
|
|
2943
|
-
};
|
|
2944
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format = function(format, args) {
|
|
2945
|
-
var formatStr = goog.string.Const.unwrap(format);
|
|
2946
|
-
if (!module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_.test(formatStr)) {
|
|
2947
|
-
throw Error("Invalid TrustedResourceUrl format: " + formatStr);
|
|
2948
|
-
}
|
|
2949
|
-
var result = formatStr.replace(module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_, function(match, id) {
|
|
2950
|
-
if (!Object.prototype.hasOwnProperty.call(args, id)) {
|
|
2951
|
-
throw Error('Found marker, "' + id + '", in format string, "' + formatStr + '", but no valid label mapping found in args: ' + JSON.stringify(args));
|
|
2952
|
-
}
|
|
2953
|
-
var arg = args[id];
|
|
2954
|
-
return arg instanceof goog.string.Const ? goog.string.Const.unwrap(arg) : encodeURIComponent(String(arg));
|
|
2955
|
-
});
|
|
2956
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(result);
|
|
2957
|
-
};
|
|
2958
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_ = /%{(\w+)}/g;
|
|
2959
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
|
|
2960
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
|
|
2961
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
|
|
2962
|
-
var url = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format(format, args);
|
|
2963
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(url, searchParams, opt_hashParams);
|
|
2964
|
-
};
|
|
2965
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstant = function(url) {
|
|
2966
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
|
|
2967
|
-
};
|
|
2968
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstants = function(parts) {
|
|
2969
|
-
for (var unwrapped = "", i = 0; i < parts.length; i++) {
|
|
2970
|
-
unwrapped += goog.string.Const.unwrap(parts[i]);
|
|
2971
|
-
}
|
|
2972
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(unwrapped);
|
|
2973
|
-
};
|
|
2974
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(url) {
|
|
2975
|
-
var noinlineUrl = url, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), value = policy ? policy.createScriptURL(noinlineUrl) : noinlineUrl;
|
|
2976
|
-
return new module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl(value, module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_);
|
|
2977
|
-
};
|
|
2978
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_ = function(prefix, currentString, params) {
|
|
2979
|
-
if (params == null) {
|
|
2980
|
-
return currentString;
|
|
2981
|
-
}
|
|
2982
|
-
if (typeof params === "string") {
|
|
2983
|
-
return params ? prefix + encodeURIComponent(params) : "";
|
|
2984
|
-
}
|
|
2985
|
-
for (var key in params) {
|
|
2986
|
-
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
2987
|
-
for (var value = params[key], outputValues = Array.isArray(value) ? value : [value], i = 0; i < outputValues.length; i++) {
|
|
2988
|
-
var outputValue = outputValues[i];
|
|
2989
|
-
outputValue != null && (currentString || (currentString = prefix), currentString += (currentString.length > prefix.length ? "&" : "") + encodeURIComponent(key) + "=" + encodeURIComponent(String(outputValue)));
|
|
2990
|
-
}
|
|
2991
|
-
}
|
|
2992
|
-
}
|
|
2993
|
-
return currentString;
|
|
2994
|
-
};
|
|
2995
|
-
goog.html.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
2996
|
-
var module$exports$goog$html$trustedresourceurl_internals_for_safevalues = {};
|
|
2997
|
-
module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
|
|
2998
|
-
var module$exports$safevalues$internals$resource_url_impl = {}, module$contents$safevalues$internals$resource_url_impl_module = module$contents$safevalues$internals$resource_url_impl_module || {id:"third_party/javascript/safevalues/internals/resource_url_impl.closure.js"};
|
|
2999
|
-
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
3000
|
-
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
|
|
3001
|
-
return (0,module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl)(url);
|
|
2849
|
+
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(value) {
|
|
2850
|
+
var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
|
|
2851
|
+
return module$contents$safevalues$internals$resource_url_impl_constructResourceUrl(policy ? policy.createScriptURL(noinlineValue) : noinlineValue);
|
|
3002
2852
|
}
|
|
3003
2853
|
module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
3004
2854
|
function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
|
|
3005
|
-
return value instanceof module$
|
|
2855
|
+
return value instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
3006
2856
|
}
|
|
3007
2857
|
module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
3008
2858
|
function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
|
|
3009
|
-
|
|
2859
|
+
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value)) {
|
|
2860
|
+
return value.privateDoNotAccessOrElseWrappedResourceUrl;
|
|
2861
|
+
}
|
|
2862
|
+
var message = "";
|
|
2863
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping TrustedResourceUrl");
|
|
2864
|
+
throw Error(message);
|
|
3010
2865
|
}
|
|
3011
2866
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3012
|
-
var $jscomp$templatelit$
|
|
3013
|
-
["\\0"]), $jscomp$templatelit$
|
|
2867
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2868
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$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"};
|
|
3014
2869
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
3015
2870
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
3016
2871
|
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 ##############################");
|
|
@@ -3024,27 +2879,19 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
3024
2879
|
return fn.toString().indexOf("`") === -1;
|
|
3025
2880
|
}
|
|
3026
2881
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3027
|
-
return tag($jscomp$templatelit$
|
|
2882
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
3028
2883
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3029
|
-
return tag($jscomp$templatelit$
|
|
2884
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
3030
2885
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3031
|
-
return tag($jscomp$templatelit$
|
|
2886
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
3032
2887
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3033
|
-
return tag($jscomp$templatelit$
|
|
3034
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2888
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
2889
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
3035
2890
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3036
2891
|
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)) ?
|
|
3037
2892
|
!0 : !1;
|
|
3038
2893
|
}
|
|
3039
|
-
;var module$exports$safevalues$internals$
|
|
3040
|
-
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
3041
|
-
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
3042
|
-
if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
|
|
3043
|
-
throw Error("Bad secret");
|
|
3044
|
-
}
|
|
3045
|
-
}
|
|
3046
|
-
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
3047
|
-
var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
|
|
2894
|
+
;var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
|
|
3048
2895
|
module$exports$safevalues$internals$url_impl.SafeUrl = function(token, value) {
|
|
3049
2896
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3050
2897
|
this.privateDoNotAccessOrElseWrappedUrl = value;
|
|
@@ -3301,7 +3148,7 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
3301
3148
|
throw Error(message);
|
|
3302
3149
|
}
|
|
3303
3150
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
3304
|
-
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"}
|
|
3151
|
+
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
|
|
3305
3152
|
module$exports$safevalues$internals$html_impl.SafeHtml = function(token, value) {
|
|
3306
3153
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3307
3154
|
this.privateDoNotAccessOrElseWrappedHtml = value;
|
|
@@ -3314,11 +3161,11 @@ function module$contents$safevalues$internals$html_impl_constructHtml(value) {
|
|
|
3314
3161
|
return new module$exports$safevalues$internals$html_impl.SafeHtml(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3315
3162
|
}
|
|
3316
3163
|
module$exports$safevalues$internals$html_impl.createHtmlInternal = function(value) {
|
|
3317
|
-
var noinlineValue = value, policy = (
|
|
3164
|
+
var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
|
|
3318
3165
|
return module$contents$safevalues$internals$html_impl_constructHtml(policy ? policy.createHTML(noinlineValue) : noinlineValue);
|
|
3319
3166
|
};
|
|
3320
3167
|
module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$safevalues$internals$pure_pure(function() {
|
|
3321
|
-
return module$contents$safevalues$internals$html_impl_constructHtml(module$
|
|
3168
|
+
return module$contents$safevalues$internals$html_impl_constructHtml(module$exports$safevalues$internals$trusted_types.trustedTypes ? module$exports$safevalues$internals$trusted_types.trustedTypes.emptyHTML : "");
|
|
3322
3169
|
});
|
|
3323
3170
|
function module$contents$safevalues$internals$html_impl_isHtml(value) {
|
|
3324
3171
|
return value instanceof module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
@@ -3451,9 +3298,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3451
3298
|
}
|
|
3452
3299
|
}
|
|
3453
3300
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
3454
|
-
var $jscomp$tmp$error$
|
|
3455
|
-
this.message = $jscomp$tmp$error$
|
|
3456
|
-
"stack" in $jscomp$tmp$error$
|
|
3301
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
3302
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3303
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3457
3304
|
this.type = type;
|
|
3458
3305
|
this.intent = intent;
|
|
3459
3306
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -3463,7 +3310,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
|
|
|
3463
3310
|
element.removeAttribute("srcdoc");
|
|
3464
3311
|
switch(intent) {
|
|
3465
3312
|
case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
|
|
3466
|
-
if (src instanceof module$
|
|
3313
|
+
if (src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
3467
3314
|
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
|
|
3468
3315
|
}
|
|
3469
3316
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
|
|
@@ -3471,7 +3318,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
|
|
|
3471
3318
|
sanitizedUrl !== void 0 && (element.src = sanitizedUrl);
|
|
3472
3319
|
break;
|
|
3473
3320
|
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
|
|
3474
|
-
if (!(src instanceof module$
|
|
3321
|
+
if (!(src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl)) {
|
|
3475
3322
|
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError(typeof src, module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
|
|
3476
3323
|
}
|
|
3477
3324
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
|
|
@@ -3479,7 +3326,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
|
|
|
3479
3326
|
module$contents$safevalues$dom$elements$iframe_setSrc(element, src);
|
|
3480
3327
|
break;
|
|
3481
3328
|
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
|
|
3482
|
-
if (src instanceof module$
|
|
3329
|
+
if (src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
3483
3330
|
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT);
|
|
3484
3331
|
}
|
|
3485
3332
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
|
|
@@ -3560,10 +3407,10 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
3560
3407
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
3561
3408
|
};
|
|
3562
3409
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
3563
|
-
var $jscomp$optchain$
|
|
3410
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
3564
3411
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
3565
3412
|
}
|
|
3566
|
-
;var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"}
|
|
3413
|
+
;var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"};
|
|
3567
3414
|
module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
|
|
3568
3415
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3569
3416
|
this.privateDoNotAccessOrElseWrappedScript = value;
|
|
@@ -3576,12 +3423,12 @@ function module$contents$safevalues$internals$script_impl_constructScript(value)
|
|
|
3576
3423
|
return new module$exports$safevalues$internals$script_impl.SafeScript(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3577
3424
|
}
|
|
3578
3425
|
function module$contents$safevalues$internals$script_impl_createScriptInternal(value) {
|
|
3579
|
-
var noinlineValue = value, policy = (
|
|
3426
|
+
var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
|
|
3580
3427
|
return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(noinlineValue) : noinlineValue);
|
|
3581
3428
|
}
|
|
3582
3429
|
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
3583
3430
|
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$safevalues$internals$pure_pure(function() {
|
|
3584
|
-
return module$contents$safevalues$internals$script_impl_constructScript(module$
|
|
3431
|
+
return module$contents$safevalues$internals$script_impl_constructScript(module$exports$safevalues$internals$trusted_types.trustedTypes ? module$exports$safevalues$internals$trusted_types.trustedTypes.emptyScript : "");
|
|
3585
3432
|
});
|
|
3586
3433
|
function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
3587
3434
|
return value instanceof module$exports$safevalues$internals$script_impl.SafeScript;
|
|
@@ -3649,7 +3496,107 @@ module$exports$safevalues$dom$elements$svg.setAttribute = function(svg, attr, va
|
|
|
3649
3496
|
}
|
|
3650
3497
|
svg.setAttribute(attr, value);
|
|
3651
3498
|
};
|
|
3652
|
-
goog.
|
|
3499
|
+
goog.debug = {};
|
|
3500
|
+
function module$contents$goog$debug$Error_DebugError(msg, cause) {
|
|
3501
|
+
if (Error.captureStackTrace) {
|
|
3502
|
+
Error.captureStackTrace(this, module$contents$goog$debug$Error_DebugError);
|
|
3503
|
+
} else {
|
|
3504
|
+
var stack = Error().stack;
|
|
3505
|
+
stack && (this.stack = stack);
|
|
3506
|
+
}
|
|
3507
|
+
msg && (this.message = String(msg));
|
|
3508
|
+
cause !== void 0 && (this.cause = cause);
|
|
3509
|
+
this.reportErrorToServer = !0;
|
|
3510
|
+
}
|
|
3511
|
+
goog.inherits(module$contents$goog$debug$Error_DebugError, Error);
|
|
3512
|
+
module$contents$goog$debug$Error_DebugError.prototype.name = "CustomError";
|
|
3513
|
+
goog.debug.Error = module$contents$goog$debug$Error_DebugError;
|
|
3514
|
+
goog.dom = {};
|
|
3515
|
+
goog.dom.NodeType = {ELEMENT:1, ATTRIBUTE:2, TEXT:3, CDATA_SECTION:4, ENTITY_REFERENCE:5, ENTITY:6, PROCESSING_INSTRUCTION:7, COMMENT:8, DOCUMENT:9, DOCUMENT_TYPE:10, DOCUMENT_FRAGMENT:11, NOTATION:12};
|
|
3516
|
+
goog.asserts = {};
|
|
3517
|
+
goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
|
|
3518
|
+
function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
|
|
3519
|
+
module$contents$goog$debug$Error_DebugError.call(this, module$contents$goog$asserts_subs(messagePattern, messageArgs));
|
|
3520
|
+
this.messagePattern = messagePattern;
|
|
3521
|
+
}
|
|
3522
|
+
goog.inherits(module$contents$goog$asserts_AssertionError, module$contents$goog$debug$Error_DebugError);
|
|
3523
|
+
goog.asserts.AssertionError = module$contents$goog$asserts_AssertionError;
|
|
3524
|
+
module$contents$goog$asserts_AssertionError.prototype.name = "AssertionError";
|
|
3525
|
+
goog.asserts.DEFAULT_ERROR_HANDLER = function(e) {
|
|
3526
|
+
throw e;
|
|
3527
|
+
};
|
|
3528
|
+
var module$contents$goog$asserts_errorHandler_ = goog.asserts.DEFAULT_ERROR_HANDLER;
|
|
3529
|
+
function module$contents$goog$asserts_subs(pattern, subs) {
|
|
3530
|
+
for (var splitParts = pattern.split("%s"), returnString = "", subLast = splitParts.length - 1, i = 0; i < subLast; i++) {
|
|
3531
|
+
returnString += splitParts[i] + (i < subs.length ? subs[i] : "%s");
|
|
3532
|
+
}
|
|
3533
|
+
return returnString + splitParts[subLast];
|
|
3534
|
+
}
|
|
3535
|
+
function module$contents$goog$asserts_doAssertFailure(defaultMessage, defaultArgs, givenMessage, givenArgs) {
|
|
3536
|
+
var message = "Assertion failed";
|
|
3537
|
+
if (givenMessage) {
|
|
3538
|
+
message += ": " + givenMessage;
|
|
3539
|
+
var args = givenArgs;
|
|
3540
|
+
} else {
|
|
3541
|
+
defaultMessage && (message += ": " + defaultMessage, args = defaultArgs);
|
|
3542
|
+
}
|
|
3543
|
+
var e = new module$contents$goog$asserts_AssertionError("" + message, args || []);
|
|
3544
|
+
module$contents$goog$asserts_errorHandler_(e);
|
|
3545
|
+
}
|
|
3546
|
+
goog.asserts.setErrorHandler = function(errorHandler) {
|
|
3547
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && (module$contents$goog$asserts_errorHandler_ = errorHandler);
|
|
3548
|
+
};
|
|
3549
|
+
goog.asserts.assert = function(condition, opt_message, var_args) {
|
|
3550
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !condition && module$contents$goog$asserts_doAssertFailure("", null, opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3551
|
+
return condition;
|
|
3552
|
+
};
|
|
3553
|
+
goog.asserts.assertExists = function(value, opt_message, var_args) {
|
|
3554
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && value == null && module$contents$goog$asserts_doAssertFailure("Expected to exist: %s.", [value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3555
|
+
return value;
|
|
3556
|
+
};
|
|
3557
|
+
goog.asserts.fail = function(opt_message, var_args) {
|
|
3558
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && module$contents$goog$asserts_errorHandler_(new module$contents$goog$asserts_AssertionError("Failure" + (opt_message ? ": " + opt_message : ""), Array.prototype.slice.call(arguments, 1)));
|
|
3559
|
+
};
|
|
3560
|
+
goog.asserts.assertNumber = function(value, opt_message, var_args) {
|
|
3561
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "number" && module$contents$goog$asserts_doAssertFailure("Expected number but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3562
|
+
return value;
|
|
3563
|
+
};
|
|
3564
|
+
goog.asserts.assertString = function(value, opt_message, var_args) {
|
|
3565
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "string" && module$contents$goog$asserts_doAssertFailure("Expected string but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3566
|
+
return value;
|
|
3567
|
+
};
|
|
3568
|
+
goog.asserts.assertFunction = function(value, opt_message, var_args) {
|
|
3569
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "function" && module$contents$goog$asserts_doAssertFailure("Expected function but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3570
|
+
return value;
|
|
3571
|
+
};
|
|
3572
|
+
goog.asserts.assertObject = function(value, opt_message, var_args) {
|
|
3573
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !goog.isObject(value) && module$contents$goog$asserts_doAssertFailure("Expected object but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3574
|
+
return value;
|
|
3575
|
+
};
|
|
3576
|
+
goog.asserts.assertArray = function(value, opt_message, var_args) {
|
|
3577
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !Array.isArray(value) && module$contents$goog$asserts_doAssertFailure("Expected array but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3578
|
+
return value;
|
|
3579
|
+
};
|
|
3580
|
+
goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
3581
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "boolean" && module$contents$goog$asserts_doAssertFailure("Expected boolean but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3582
|
+
return value;
|
|
3583
|
+
};
|
|
3584
|
+
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
3585
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog.dom.NodeType.ELEMENT || module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3586
|
+
return value;
|
|
3587
|
+
};
|
|
3588
|
+
goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
|
|
3589
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || value instanceof type || module$contents$goog$asserts_doAssertFailure("Expected instanceof %s but got %s.", [module$contents$goog$asserts_getType(type), module$contents$goog$asserts_getType(value)], opt_message, Array.prototype.slice.call(arguments, 3));
|
|
3590
|
+
return value;
|
|
3591
|
+
};
|
|
3592
|
+
goog.asserts.assertFinite = function(value, opt_message, var_args) {
|
|
3593
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || typeof value == "number" && isFinite(value) || module$contents$goog$asserts_doAssertFailure("Expected %s to be a finite number but it is not.", [value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3594
|
+
return value;
|
|
3595
|
+
};
|
|
3596
|
+
function module$contents$goog$asserts_getType(value) {
|
|
3597
|
+
return value instanceof Function ? value.displayName || value.name || "unknown type name" : value instanceof Object ? value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value) : value === null ? "null" : typeof value;
|
|
3598
|
+
}
|
|
3599
|
+
;goog.array = {};
|
|
3653
3600
|
goog.NATIVE_ARRAY_PROTOTYPES = goog.TRUSTED_SITE;
|
|
3654
3601
|
var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS = goog.FEATURESET_YEAR > 2012;
|
|
3655
3602
|
goog.array.ASSUME_NATIVE_FUNCTIONS = module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;
|
|
@@ -4731,9 +4678,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
4731
4678
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
4732
4679
|
var module$exports$safevalues$dom$globals$fetch = {}, module$contents$safevalues$dom$globals$fetch_module = module$contents$safevalues$dom$globals$fetch_module || {id:"third_party/javascript/safevalues/dom/globals/fetch.closure.js"};
|
|
4733
4680
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4734
|
-
var $jscomp$tmp$error$
|
|
4735
|
-
this.message = $jscomp$tmp$error$
|
|
4736
|
-
"stack" in $jscomp$tmp$error$
|
|
4681
|
+
var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4682
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4683
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4737
4684
|
this.url = url;
|
|
4738
4685
|
this.typeName = typeName;
|
|
4739
4686
|
this.contentType = contentType;
|
|
@@ -4745,48 +4692,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4745
4692
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4746
4693
|
}
|
|
4747
4694
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4748
|
-
var response, $jscomp$optchain$
|
|
4749
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4750
|
-
if ($jscomp$generator$context$
|
|
4751
|
-
return $jscomp$generator$context$
|
|
4752
|
-
}
|
|
4753
|
-
response = $jscomp$generator$context$
|
|
4754
|
-
mimeType = ($jscomp$optchain$
|
|
4755
|
-
return $jscomp$generator$context$
|
|
4695
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4696
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4697
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4698
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4699
|
+
}
|
|
4700
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4701
|
+
mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
4702
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4756
4703
|
var text;
|
|
4757
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4758
|
-
if ($jscomp$generator$context$
|
|
4704
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4705
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4759
4706
|
if (mimeType !== "text/html") {
|
|
4760
4707
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4761
4708
|
}
|
|
4762
|
-
return $jscomp$generator$context$
|
|
4709
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4763
4710
|
}
|
|
4764
|
-
text = $jscomp$generator$context$
|
|
4765
|
-
return $jscomp$generator$context$
|
|
4711
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4712
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4766
4713
|
});
|
|
4767
4714
|
}, script:function() {
|
|
4768
4715
|
var text;
|
|
4769
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4770
|
-
if ($jscomp$generator$context$
|
|
4716
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4717
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4771
4718
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4772
4719
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4773
4720
|
}
|
|
4774
|
-
return $jscomp$generator$context$
|
|
4721
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4775
4722
|
}
|
|
4776
|
-
text = $jscomp$generator$context$
|
|
4777
|
-
return $jscomp$generator$context$
|
|
4723
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4724
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4778
4725
|
});
|
|
4779
4726
|
}, styleSheet:function() {
|
|
4780
4727
|
var text;
|
|
4781
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4782
|
-
if ($jscomp$generator$context$
|
|
4728
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4729
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4783
4730
|
if (mimeType !== "text/css") {
|
|
4784
4731
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4785
4732
|
}
|
|
4786
|
-
return $jscomp$generator$context$
|
|
4733
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4787
4734
|
}
|
|
4788
|
-
text = $jscomp$generator$context$
|
|
4789
|
-
return $jscomp$generator$context$
|
|
4735
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4736
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4790
4737
|
});
|
|
4791
4738
|
}});
|
|
4792
4739
|
});
|
|
@@ -6208,8 +6155,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6208
6155
|
}
|
|
6209
6156
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6210
6157
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6211
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6212
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6158
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
|
|
6159
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6213
6160
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6214
6161
|
}
|
|
6215
6162
|
return urlQueryParams;
|
|
@@ -6220,8 +6167,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6220
6167
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6221
6168
|
if (params.headers) {
|
|
6222
6169
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6223
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6224
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6170
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
|
|
6171
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6225
6172
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6226
6173
|
}
|
|
6227
6174
|
}
|
|
@@ -6261,9 +6208,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6261
6208
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6262
6209
|
};
|
|
6263
6210
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6264
|
-
var $jscomp$this$
|
|
6211
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6265
6212
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6266
|
-
return $jscomp$this$
|
|
6213
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6267
6214
|
}));
|
|
6268
6215
|
};
|
|
6269
6216
|
var module$exports$eeapiclient$promise_request_service = {}, module$contents$eeapiclient$promise_request_service_module = module$contents$eeapiclient$promise_request_service_module || {id:"javascript/typescript/contrib/apiclient/request_service/promise_request_service.closure.js"};
|
|
@@ -6431,7 +6378,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_un
|
|
|
6431
6378
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6432
6379
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
|
|
6433
6380
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable = !1;
|
|
6434
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6381
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable = !1;
|
|
6435
6382
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
|
|
6436
6383
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6437
6384
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
@@ -6447,7 +6394,8 @@ goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2
|
|
|
6447
6394
|
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = 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_stop_using_repeated_field_sets_from_gencode__disable : goog.readFlagInternalDoNotUseOrElse(188588736, !0);
|
|
6448
6395
|
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable : goog.readFlagInternalDoNotUseOrElse(644029907, !0);
|
|
6449
6396
|
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = 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_ordered_reaction_execution__disable : goog.readFlagInternalDoNotUseOrElse(1822726157, !0);
|
|
6450
|
-
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6397
|
+
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable) : goog.readFlagInternalDoNotUseOrElse(661449076,
|
|
6398
|
+
module$contents$goog$flags_STAGING);
|
|
6451
6399
|
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = 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_enable_low_index_extension_writes__disable : goog.readFlagInternalDoNotUseOrElse(645172343, !0);
|
|
6452
6400
|
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
6453
6401
|
goog.flags.JSPB_READONLY_REPEATED_FIELDS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable) : goog.readFlagInternalDoNotUseOrElse(653718497, module$contents$goog$flags_STAGING);
|
|
@@ -12968,13 +12916,14 @@ module$exports$eeapiclient$ee_api_client.TableSource = function(parameters) {
|
|
|
12968
12916
|
this.Serializable$set("dateFormat", parameters.dateFormat == null ? null : parameters.dateFormat);
|
|
12969
12917
|
this.Serializable$set("csvDelimiter", parameters.csvDelimiter == null ? null : parameters.csvDelimiter);
|
|
12970
12918
|
this.Serializable$set("csvQualifier", parameters.csvQualifier == null ? null : parameters.csvQualifier);
|
|
12919
|
+
this.Serializable$set("simplifyErrorMeters", parameters.simplifyErrorMeters == null ? null : parameters.simplifyErrorMeters);
|
|
12971
12920
|
};
|
|
12972
12921
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.TableSource, module$exports$eeapiclient$domain_object.Serializable);
|
|
12973
12922
|
module$exports$eeapiclient$ee_api_client.TableSource.prototype.getConstructor = function() {
|
|
12974
12923
|
return module$exports$eeapiclient$ee_api_client.TableSource;
|
|
12975
12924
|
};
|
|
12976
12925
|
module$exports$eeapiclient$ee_api_client.TableSource.prototype.getPartialClassMetadata = function() {
|
|
12977
|
-
return {keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")};
|
|
12926
|
+
return {keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn simplifyErrorMeters uris xColumn yColumn".split(" ")};
|
|
12978
12927
|
};
|
|
12979
12928
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TableSource.prototype, {charset:{configurable:!0, enumerable:!0, get:function() {
|
|
12980
12929
|
return this.Serializable$has("charset") ? this.Serializable$get("charset") : null;
|
|
@@ -13012,6 +12961,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
13012
12961
|
return this.Serializable$has("primaryGeometryColumn") ? this.Serializable$get("primaryGeometryColumn") : null;
|
|
13013
12962
|
}, set:function(value) {
|
|
13014
12963
|
this.Serializable$set("primaryGeometryColumn", value);
|
|
12964
|
+
}}, simplifyErrorMeters:{configurable:!0, enumerable:!0, get:function() {
|
|
12965
|
+
return this.Serializable$has("simplifyErrorMeters") ? this.Serializable$get("simplifyErrorMeters") : null;
|
|
12966
|
+
}, set:function(value) {
|
|
12967
|
+
this.Serializable$set("simplifyErrorMeters", value);
|
|
13015
12968
|
}}, uris:{configurable:!0, enumerable:!0, get:function() {
|
|
13016
12969
|
return this.Serializable$has("uris") ? this.Serializable$get("uris") : null;
|
|
13017
12970
|
}, set:function(value) {
|
|
@@ -15021,12 +14974,35 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
15021
14974
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
15022
14975
|
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
15023
14976
|
};
|
|
14977
|
+
goog.string.Const = function(opt_token, opt_content) {
|
|
14978
|
+
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
14979
|
+
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
14980
|
+
};
|
|
14981
|
+
goog.string.Const.prototype.toString = function() {
|
|
14982
|
+
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
14983
|
+
};
|
|
14984
|
+
goog.string.Const.unwrap = function(stringConst) {
|
|
14985
|
+
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_) {
|
|
14986
|
+
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
14987
|
+
}
|
|
14988
|
+
goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
|
|
14989
|
+
return "type_error:Const";
|
|
14990
|
+
};
|
|
14991
|
+
goog.string.Const.from = function(s) {
|
|
14992
|
+
return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
|
|
14993
|
+
};
|
|
14994
|
+
goog.string.Const.TYPE_MARKER_ = {};
|
|
14995
|
+
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
14996
|
+
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
15024
14997
|
var module$exports$safevalues$for_closure$index = {}, module$contents$safevalues$for_closure$index_module = module$contents$safevalues$for_closure$index_module || {id:"third_party/javascript/safevalues/for_closure/index.closure.js"};
|
|
15025
14998
|
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15026
14999
|
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
15027
15000
|
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15028
15001
|
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
15029
15002
|
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
15003
|
+
module$exports$safevalues$for_closure$index.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
15004
|
+
module$exports$safevalues$for_closure$index.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
15005
|
+
module$exports$safevalues$for_closure$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
15030
15006
|
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15031
15007
|
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15032
15008
|
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
@@ -15041,6 +15017,9 @@ module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for
|
|
|
15041
15017
|
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15042
15018
|
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
15043
15019
|
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
15020
|
+
module$exports$safevalues$for_closure.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
15021
|
+
module$exports$safevalues$for_closure.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
15022
|
+
module$exports$safevalues$for_closure.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
15044
15023
|
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15045
15024
|
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15046
15025
|
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
@@ -15049,108 +15028,9 @@ module$exports$safevalues$for_closure.createStyleSheetInternal = module$contents
|
|
|
15049
15028
|
module$exports$safevalues$for_closure.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15050
15029
|
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15051
15030
|
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15052
|
-
|
|
15053
|
-
|
|
15054
|
-
|
|
15055
|
-
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15056
|
-
}
|
|
15057
|
-
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
15058
|
-
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
15059
|
-
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
15060
|
-
};
|
|
15061
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
15062
|
-
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
15063
|
-
};
|
|
15064
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
15065
|
-
var style = "", name;
|
|
15066
|
-
for (name in map) {
|
|
15067
|
-
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
15068
|
-
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
15069
|
-
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
15070
|
-
}
|
|
15071
|
-
var value = map[name];
|
|
15072
|
-
value != null && (value = Array.isArray(value) ? value.map(module$contents$goog$html$SafeStyle_sanitizePropertyValue).join(" ") : module$contents$goog$html$SafeStyle_sanitizePropertyValue(value), style += name + ":" + value + ";");
|
|
15073
|
-
}
|
|
15074
|
-
}
|
|
15075
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15076
|
-
};
|
|
15077
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
15078
|
-
var style = "", addArgument = function(argument) {
|
|
15079
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
15080
|
-
};
|
|
15081
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
15082
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15083
|
-
};
|
|
15084
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
15085
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
15086
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
15087
|
-
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15088
|
-
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
15089
|
-
}
|
|
15090
|
-
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
15091
|
-
if (/[{;}]/.test(result)) {
|
|
15092
|
-
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
15093
|
-
}
|
|
15094
|
-
return result;
|
|
15095
|
-
}
|
|
15096
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
15097
|
-
var valueWithoutFunctions = value.replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_URL_RE, "url");
|
|
15098
|
-
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
15099
|
-
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
15100
|
-
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15101
|
-
}
|
|
15102
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
15103
|
-
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15104
|
-
}
|
|
15105
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
15106
|
-
return (0,goog.asserts.fail)("String value requires balanced square brackets and one identifier per pair of brackets, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15107
|
-
}
|
|
15108
|
-
} else {
|
|
15109
|
-
return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15110
|
-
}
|
|
15111
|
-
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
15112
|
-
}
|
|
15113
|
-
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
15114
|
-
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
15115
|
-
var c = value.charAt(i);
|
|
15116
|
-
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
15117
|
-
}
|
|
15118
|
-
return outsideSingle && outsideDouble;
|
|
15119
|
-
}
|
|
15120
|
-
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
15121
|
-
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
15122
|
-
var c = value.charAt(i);
|
|
15123
|
-
if (c == "]") {
|
|
15124
|
-
if (outside) {
|
|
15125
|
-
return !1;
|
|
15126
|
-
}
|
|
15127
|
-
outside = !0;
|
|
15128
|
-
} else if (c == "[") {
|
|
15129
|
-
if (!outside) {
|
|
15130
|
-
return !1;
|
|
15131
|
-
}
|
|
15132
|
-
outside = !1;
|
|
15133
|
-
} else if (!outside && !tokenRe.test(c)) {
|
|
15134
|
-
return !1;
|
|
15135
|
-
}
|
|
15136
|
-
}
|
|
15137
|
-
return outside;
|
|
15138
|
-
}
|
|
15139
|
-
var module$contents$goog$html$SafeStyle_VALUE_RE = RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"), module$contents$goog$html$SafeStyle_URL_RE = RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))", "g"), module$contents$goog$html$SafeStyle_FUNCTIONS_RE = RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)", "g"), module$contents$goog$html$SafeStyle_COMMENT_RE =
|
|
15140
|
-
/\/\*/;
|
|
15141
|
-
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
15142
|
-
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
15143
|
-
var quote = "";
|
|
15144
|
-
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
15145
|
-
quote = start;
|
|
15146
|
-
return inside;
|
|
15147
|
-
});
|
|
15148
|
-
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
15149
|
-
return before + quote + sanitized + quote + after;
|
|
15150
|
-
});
|
|
15151
|
-
}
|
|
15152
|
-
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15153
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule = function(selector, style) {
|
|
15031
|
+
goog.html = {};
|
|
15032
|
+
goog.html.deprecated = {};
|
|
15033
|
+
goog.html.deprecated.safeStyleSheetCreateRule = function(selector, style) {
|
|
15154
15034
|
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
15155
15035
|
throw Error("Selector does not allow '<', got: " + selector);
|
|
15156
15036
|
}
|
|
@@ -15158,33 +15038,30 @@ module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule =
|
|
|
15158
15038
|
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
15159
15039
|
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
15160
15040
|
}
|
|
15161
|
-
if (!module$contents$goog$html$
|
|
15041
|
+
if (!module$contents$goog$html$deprecated_hasBalancedBrackets(selectorToCheck)) {
|
|
15162
15042
|
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
15163
15043
|
}
|
|
15164
|
-
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle
|
|
15165
|
-
|
|
15044
|
+
var styleStr = style instanceof module$exports$safevalues$internals$style_impl.SafeStyle ? module$contents$safevalues$internals$style_impl_unwrapStyle(style) : Object.entries(style).map(function($jscomp$destructuring$var30) {
|
|
15045
|
+
var $jscomp$destructuring$var31 = (0,$jscomp.makeIterator)($jscomp$destructuring$var30);
|
|
15046
|
+
var k = $jscomp$destructuring$var31.next().value;
|
|
15047
|
+
var v = $jscomp$destructuring$var31.next().value;
|
|
15048
|
+
return k + ":" + v + ";";
|
|
15049
|
+
}).join(""), styleSheet = selector + "{" + styleStr.replace(/</g, "\\3C ") + "}";
|
|
15166
15050
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15167
15051
|
};
|
|
15168
|
-
|
|
15052
|
+
goog.html.deprecated.safeStyleSheetConcat = function(var_args) {
|
|
15169
15053
|
var result = "", addArgument = function(argument) {
|
|
15170
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$
|
|
15054
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(argument);
|
|
15171
15055
|
};
|
|
15172
15056
|
Array.prototype.forEach.call(arguments, addArgument);
|
|
15173
15057
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(result);
|
|
15174
15058
|
};
|
|
15175
|
-
|
|
15059
|
+
goog.html.deprecated.safeStyleSheetFromConstant = function(styleSheet) {
|
|
15176
15060
|
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
15177
|
-
if (styleSheetString.length === 0) {
|
|
15178
|
-
return module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY;
|
|
15179
|
-
}
|
|
15180
15061
|
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
15181
15062
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetString);
|
|
15182
15063
|
};
|
|
15183
|
-
module$
|
|
15184
|
-
return module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
15185
|
-
};
|
|
15186
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal("");
|
|
15187
|
-
function module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(s) {
|
|
15064
|
+
function module$contents$goog$html$deprecated_hasBalancedBrackets(s) {
|
|
15188
15065
|
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
15189
15066
|
var ch = s[i];
|
|
15190
15067
|
if (brackets[ch]) {
|
|
@@ -15195,7 +15072,68 @@ function module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(s) {
|
|
|
15195
15072
|
}
|
|
15196
15073
|
return expectedBrackets.length == 0;
|
|
15197
15074
|
}
|
|
15075
|
+
;module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule = goog.html.deprecated.safeStyleSheetCreateRule;
|
|
15076
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.concat = goog.html.deprecated.safeStyleSheetConcat;
|
|
15077
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.fromConstant = goog.html.deprecated.safeStyleSheetFromConstant;
|
|
15198
15078
|
goog.html.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15079
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
|
|
15080
|
+
var urlString = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.unwrap(url), parts = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.URL_PARAM_PARSER_.exec(urlString), urlHash = parts[3] || "";
|
|
15081
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(parts[1] + module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
|
|
15082
|
+
};
|
|
15083
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.unwrap = function(trustedResourceUrl) {
|
|
15084
|
+
return module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedResourceUrl).toString();
|
|
15085
|
+
};
|
|
15086
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.unwrapTrustedScriptURL = function(trustedResourceUrl) {
|
|
15087
|
+
return module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedResourceUrl);
|
|
15088
|
+
};
|
|
15089
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.format = function(format, args) {
|
|
15090
|
+
var formatStr = goog.string.Const.unwrap(format);
|
|
15091
|
+
if (!module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.BASE_URL_.test(formatStr)) {
|
|
15092
|
+
throw Error("Invalid TrustedResourceUrl format: " + formatStr);
|
|
15093
|
+
}
|
|
15094
|
+
var result = formatStr.replace(module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.FORMAT_MARKER_, function(match, id) {
|
|
15095
|
+
if (!Object.prototype.hasOwnProperty.call(args, id)) {
|
|
15096
|
+
throw Error('Found marker, "' + id + '", in format string, "' + formatStr + '", but no valid label mapping found in args: ' + JSON.stringify(args));
|
|
15097
|
+
}
|
|
15098
|
+
var arg = args[id];
|
|
15099
|
+
return arg instanceof goog.string.Const ? goog.string.Const.unwrap(arg) : encodeURIComponent(String(arg));
|
|
15100
|
+
});
|
|
15101
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(result);
|
|
15102
|
+
};
|
|
15103
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.FORMAT_MARKER_ = /%{(\w+)}/g;
|
|
15104
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
|
|
15105
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
|
|
15106
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
|
|
15107
|
+
var url = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.format(format, args);
|
|
15108
|
+
return module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.cloneWithParams(url, searchParams, opt_hashParams);
|
|
15109
|
+
};
|
|
15110
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.fromConstant = function(url) {
|
|
15111
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(goog.string.Const.unwrap(url));
|
|
15112
|
+
};
|
|
15113
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.fromConstants = function(parts) {
|
|
15114
|
+
for (var unwrapped = "", i = 0; i < parts.length; i++) {
|
|
15115
|
+
unwrapped += goog.string.Const.unwrap(parts[i]);
|
|
15116
|
+
}
|
|
15117
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(unwrapped);
|
|
15118
|
+
};
|
|
15119
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.stringifyParams_ = function(prefix, currentString, params) {
|
|
15120
|
+
if (params == null) {
|
|
15121
|
+
return currentString;
|
|
15122
|
+
}
|
|
15123
|
+
if (typeof params === "string") {
|
|
15124
|
+
return params ? prefix + encodeURIComponent(params) : "";
|
|
15125
|
+
}
|
|
15126
|
+
for (var key in params) {
|
|
15127
|
+
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
15128
|
+
for (var value = params[key], outputValues = Array.isArray(value) ? value : [value], i = 0; i < outputValues.length; i++) {
|
|
15129
|
+
var outputValue = outputValues[i];
|
|
15130
|
+
outputValue != null && (currentString || (currentString = prefix), currentString += (currentString.length > prefix.length ? "&" : "") + encodeURIComponent(key) + "=" + encodeURIComponent(String(outputValue)));
|
|
15131
|
+
}
|
|
15132
|
+
}
|
|
15133
|
+
}
|
|
15134
|
+
return currentString;
|
|
15135
|
+
};
|
|
15136
|
+
goog.html.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
15199
15137
|
module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
|
|
15200
15138
|
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
|
|
15201
15139
|
};
|
|
@@ -15232,7 +15170,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.verifyTagName = function(
|
|
|
15232
15170
|
}
|
|
15233
15171
|
};
|
|
15234
15172
|
module$exports$safevalues$internals$html_impl.SafeHtml.createIframe = function(src, srcdoc, attributes, content) {
|
|
15235
|
-
src && module$contents$
|
|
15173
|
+
src && module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(src);
|
|
15236
15174
|
var fixedAttributes = {};
|
|
15237
15175
|
fixedAttributes.src = src || null;
|
|
15238
15176
|
fixedAttributes.srcdoc = srcdoc && module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(srcdoc);
|
|
@@ -15254,7 +15192,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.canUseSandboxIframe = fun
|
|
|
15254
15192
|
return goog.global.HTMLIFrameElement && "sandbox" in goog.global.HTMLIFrameElement.prototype;
|
|
15255
15193
|
};
|
|
15256
15194
|
module$exports$safevalues$internals$html_impl.SafeHtml.createScriptSrc = function(src, attributes) {
|
|
15257
|
-
module$contents$
|
|
15195
|
+
module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(src);
|
|
15258
15196
|
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({src:src}, {}, attributes);
|
|
15259
15197
|
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
|
|
15260
15198
|
};
|
|
@@ -15262,7 +15200,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.createStyle = function(st
|
|
|
15262
15200
|
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
15263
15201
|
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
15264
15202
|
for (var i = 0; i < styleSheet.length; i++) {
|
|
15265
|
-
content += module$
|
|
15203
|
+
content += module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(styleSheet[i]);
|
|
15266
15204
|
}
|
|
15267
15205
|
var htmlContent = (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content);
|
|
15268
15206
|
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
@@ -15353,8 +15291,8 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
15353
15291
|
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" requires goog.string.Const value, "' + value + '" given.' : "");
|
|
15354
15292
|
}
|
|
15355
15293
|
if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
|
|
15356
|
-
if (value instanceof module$
|
|
15357
|
-
value = module$contents$
|
|
15294
|
+
if (value instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
15295
|
+
value = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value).toString();
|
|
15358
15296
|
} else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15359
15297
|
value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
|
|
15360
15298
|
} else if (typeof value === "string") {
|
|
@@ -15364,8 +15302,8 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
15364
15302
|
}
|
|
15365
15303
|
}
|
|
15366
15304
|
}
|
|
15367
|
-
goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof module$
|
|
15368
|
-
typeof value + " with value: " + value);
|
|
15305
|
+
goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl || value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || value instanceof module$exports$safevalues$internals$html_impl.SafeHtml || typeof value === "string" || typeof value ===
|
|
15306
|
+
"number", "String or number value expected, got " + typeof value + " with value: " + value);
|
|
15369
15307
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
15370
15308
|
}
|
|
15371
15309
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
@@ -15375,8 +15313,12 @@ function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
|
15375
15313
|
if (!goog.isObject(value)) {
|
|
15376
15314
|
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof value + " given: " + value : "");
|
|
15377
15315
|
}
|
|
15378
|
-
value instanceof module$exports$safevalues$internals$style_impl.SafeStyle
|
|
15379
|
-
|
|
15316
|
+
return value instanceof module$exports$safevalues$internals$style_impl.SafeStyle ? module$contents$safevalues$internals$style_impl_unwrapStyle(value) : Object.entries(value).map(function($jscomp$destructuring$var32) {
|
|
15317
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$destructuring$var32);
|
|
15318
|
+
var k = $jscomp$destructuring$var33.next().value;
|
|
15319
|
+
var v = $jscomp$destructuring$var33.next().value;
|
|
15320
|
+
return k + ":" + v + ";";
|
|
15321
|
+
}).join("");
|
|
15380
15322
|
}
|
|
15381
15323
|
module$exports$safevalues$internals$html_impl.SafeHtml.DOCTYPE_HTML = function() {
|
|
15382
15324
|
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)("<!DOCTYPE html>");
|
|
@@ -15612,8 +15554,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15612
15554
|
this.replacements = new Map();
|
|
15613
15555
|
};
|
|
15614
15556
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15615
|
-
var $jscomp$this$
|
|
15616
|
-
return $jscomp$this$
|
|
15557
|
+
var $jscomp$this$1018007701$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) {
|
|
15558
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
15617
15559
|
});
|
|
15618
15560
|
if (openedTags.length !== 0) {
|
|
15619
15561
|
if (goog.DEBUG) {
|
|
@@ -15831,8 +15773,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
15831
15773
|
if (Array.isArray(token)) {
|
|
15832
15774
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
15833
15775
|
} else {
|
|
15834
|
-
var $jscomp$optchain$
|
|
15835
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
15776
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
15777
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm282935782$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm282935782$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
15836
15778
|
tokens.push(token);
|
|
15837
15779
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
15838
15780
|
return tokens;
|
|
@@ -16078,9 +16020,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16078
16020
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16079
16021
|
};
|
|
16080
16022
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16081
|
-
var $jscomp$this$
|
|
16023
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16082
16024
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16083
|
-
return $jscomp$this$
|
|
16025
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16084
16026
|
});
|
|
16085
16027
|
};
|
|
16086
16028
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16187,8 +16129,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16187
16129
|
return null;
|
|
16188
16130
|
}
|
|
16189
16131
|
if (token.lowercaseName === "url") {
|
|
16190
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16191
|
-
if ((($jscomp$optchain$
|
|
16132
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16133
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16192
16134
|
return null;
|
|
16193
16135
|
}
|
|
16194
16136
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16211,8 +16153,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16211
16153
|
if (!this.allowKeyframes) {
|
|
16212
16154
|
return null;
|
|
16213
16155
|
}
|
|
16214
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16215
|
-
var rule = $jscomp$key$
|
|
16156
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next()) {
|
|
16157
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16216
16158
|
if (rule instanceof CSSKeyframeRule) {
|
|
16217
16159
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16218
16160
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16224,8 +16166,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16224
16166
|
if (!this.propertyAllowlist.has(name)) {
|
|
16225
16167
|
return !1;
|
|
16226
16168
|
}
|
|
16227
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16228
|
-
var discarder = $jscomp$key$
|
|
16169
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next()) {
|
|
16170
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16229
16171
|
if (discarder(name)) {
|
|
16230
16172
|
return !1;
|
|
16231
16173
|
}
|
|
@@ -16240,8 +16182,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16240
16182
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16241
16183
|
};
|
|
16242
16184
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16243
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16244
|
-
var name = $jscomp$key$
|
|
16185
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next()) {
|
|
16186
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16245
16187
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16246
16188
|
}
|
|
16247
16189
|
return sanitizedProperties;
|
|
@@ -16255,8 +16197,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16255
16197
|
return selector + " { " + sanitizedProperties + " }";
|
|
16256
16198
|
};
|
|
16257
16199
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16258
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16259
|
-
var rule = $jscomp$key$
|
|
16200
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next()) {
|
|
16201
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16260
16202
|
if (rule instanceof CSSStyleRule) {
|
|
16261
16203
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16262
16204
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16417,8 +16359,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16417
16359
|
return fragment;
|
|
16418
16360
|
};
|
|
16419
16361
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16420
|
-
for (var $jscomp$this$
|
|
16421
|
-
return $jscomp$this$
|
|
16362
|
+
for (var $jscomp$this$m1085474118$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
16363
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
16422
16364
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16423
16365
|
var sanitizedNode = void 0;
|
|
16424
16366
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16453,8 +16395,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16453
16395
|
return this.createTextNode(textNode.data);
|
|
16454
16396
|
};
|
|
16455
16397
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16456
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$
|
|
16457
|
-
var $jscomp$destructuring$
|
|
16398
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
|
|
16399
|
+
var $jscomp$destructuring$var35 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var35.name, value = $jscomp$destructuring$var35.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
16458
16400
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16459
16401
|
switch(policy.policyAction) {
|
|
16460
16402
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16486,9 +16428,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16486
16428
|
break;
|
|
16487
16429
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16488
16430
|
if (this.resourceUrlPolicy) {
|
|
16489
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
16431
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
|
|
16490
16432
|
$jscomp$iter$35.next()) {
|
|
16491
|
-
var part = $jscomp$key$
|
|
16433
|
+
var part = $jscomp$key$m1085474118$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
16492
16434
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16493
16435
|
}
|
|
16494
16436
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16532,8 +16474,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16532
16474
|
if (!conditions) {
|
|
16533
16475
|
return !0;
|
|
16534
16476
|
}
|
|
16535
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16536
|
-
var $jscomp$destructuring$
|
|
16477
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
|
|
16478
|
+
var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, expectedValues = $jscomp$destructuring$var37.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
16537
16479
|
if (value && !expectedValues.has(value)) {
|
|
16538
16480
|
return !1;
|
|
16539
16481
|
}
|
|
@@ -16548,8 +16490,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16548
16490
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16549
16491
|
};
|
|
16550
16492
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16551
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16552
|
-
var $jscomp$destructuring$
|
|
16493
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
|
|
16494
|
+
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var38.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var38.next().value;
|
|
16553
16495
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16554
16496
|
}
|
|
16555
16497
|
return {parts:parts};
|
|
@@ -16606,8 +16548,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16606
16548
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
16607
16549
|
};
|
|
16608
16550
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
16609
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
16610
|
-
var element = $jscomp$key$
|
|
16551
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$21$element = $jscomp$iter$39.next(); !$jscomp$key$435282654$21$element.done; $jscomp$key$435282654$21$element = $jscomp$iter$39.next()) {
|
|
16552
|
+
var element = $jscomp$key$435282654$21$element.value;
|
|
16611
16553
|
element = element.toUpperCase();
|
|
16612
16554
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
16613
16555
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -16625,8 +16567,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16625
16567
|
throw Error("Element: " + element + " is not a custom element");
|
|
16626
16568
|
}
|
|
16627
16569
|
if (allowedAttributes) {
|
|
16628
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
16629
|
-
elementPolicy.set($jscomp$key$
|
|
16570
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$22$attribute.done; $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next()) {
|
|
16571
|
+
elementPolicy.set($jscomp$key$435282654$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
16630
16572
|
}
|
|
16631
16573
|
allowedElementPolicies.set(element, elementPolicy);
|
|
16632
16574
|
} else {
|
|
@@ -16636,15 +16578,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16636
16578
|
return this;
|
|
16637
16579
|
};
|
|
16638
16580
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
16639
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
16640
|
-
var attribute = $jscomp$key$
|
|
16581
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next(); !$jscomp$key$435282654$23$attribute.done; $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next()) {
|
|
16582
|
+
var attribute = $jscomp$key$435282654$23$attribute.value;
|
|
16641
16583
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
16642
16584
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
16643
16585
|
}
|
|
16644
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
16645
|
-
for (var $jscomp$destructuring$
|
|
16586
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$25$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$25$.done; $jscomp$key$435282654$25$ = $jscomp$iter$43.next()) {
|
|
16587
|
+
for (var $jscomp$destructuring$var41 = (0,$jscomp.makeIterator)($jscomp$key$435282654$25$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var41.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var41.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$24$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$24$.done; $jscomp$key$435282654$24$ =
|
|
16646
16588
|
$jscomp$iter$42.next()) {
|
|
16647
|
-
var $jscomp$destructuring$
|
|
16589
|
+
var $jscomp$destructuring$var43 = (0,$jscomp.makeIterator)($jscomp$key$435282654$24$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var43.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var43.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
16648
16590
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
16649
16591
|
}
|
|
16650
16592
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -16653,8 +16595,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16653
16595
|
return this;
|
|
16654
16596
|
};
|
|
16655
16597
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
16656
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
16657
|
-
var attribute = $jscomp$key$
|
|
16598
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next(); !$jscomp$key$435282654$26$attribute.done; $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next()) {
|
|
16599
|
+
var attribute = $jscomp$key$435282654$26$attribute.value;
|
|
16658
16600
|
if (attribute.indexOf("data-") !== 0) {
|
|
16659
16601
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
16660
16602
|
}
|
|
@@ -16716,7 +16658,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16716
16658
|
return this;
|
|
16717
16659
|
};
|
|
16718
16660
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
16719
|
-
var $jscomp$this$
|
|
16661
|
+
var $jscomp$this$435282654$17 = this;
|
|
16720
16662
|
this.extendSanitizerTableForCss();
|
|
16721
16663
|
var propertyDiscarders = [];
|
|
16722
16664
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -16726,9 +16668,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16726
16668
|
return /^transition(-|$)/.test(property);
|
|
16727
16669
|
});
|
|
16728
16670
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
16729
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
16671
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, $jscomp$this$435282654$17.animationsAllowed, propertyDiscarders);
|
|
16730
16672
|
}, function(cssText) {
|
|
16731
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
16673
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, propertyDiscarders);
|
|
16732
16674
|
}, this.resourceUrlPolicy);
|
|
16733
16675
|
};
|
|
16734
16676
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -16978,12 +16920,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16978
16920
|
}
|
|
16979
16921
|
try {
|
|
16980
16922
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16981
|
-
} catch ($jscomp$unused$catch$
|
|
16923
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
16982
16924
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16983
16925
|
}
|
|
16984
16926
|
try {
|
|
16985
16927
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16986
|
-
} catch ($jscomp$unused$catch$
|
|
16928
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
16987
16929
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16988
16930
|
}
|
|
16989
16931
|
return !1;
|
|
@@ -17059,7 +17001,7 @@ module$exports$safevalues$index.EMPTY_HTML = module$exports$safevalues$internals
|
|
|
17059
17001
|
module$exports$safevalues$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
17060
17002
|
module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
|
|
17061
17003
|
module$exports$safevalues$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
17062
|
-
module$exports$safevalues$index.TrustedResourceUrl = module$
|
|
17004
|
+
module$exports$safevalues$index.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
17063
17005
|
module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
17064
17006
|
module$exports$safevalues$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
17065
17007
|
module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
@@ -17080,26 +17022,26 @@ module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals
|
|
|
17080
17022
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
17081
17023
|
goog.dom.safe = {};
|
|
17082
17024
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
17083
|
-
node.insertAdjacentHTML(position, module$exports$safevalues$
|
|
17025
|
+
node.insertAdjacentHTML(position, module$exports$safevalues$index.unwrapHtml(html));
|
|
17084
17026
|
};
|
|
17085
17027
|
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0};
|
|
17086
17028
|
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
17087
17029
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
17088
17030
|
throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + elem.tagName + ".");
|
|
17089
17031
|
}
|
|
17090
|
-
elem.innerHTML = module$exports$safevalues$
|
|
17032
|
+
elem.innerHTML = module$exports$safevalues$index.unwrapHtml(html);
|
|
17091
17033
|
};
|
|
17092
17034
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
17093
17035
|
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
17094
17036
|
};
|
|
17095
17037
|
goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
17096
|
-
elem.outerHTML = module$exports$safevalues$
|
|
17038
|
+
elem.outerHTML = module$exports$safevalues$index.unwrapHtml(html);
|
|
17097
17039
|
};
|
|
17098
17040
|
goog.dom.safe.setFormElementAction = function(form, url) {
|
|
17099
17041
|
module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17100
17042
|
};
|
|
17101
17043
|
goog.dom.safe.documentWrite = function(doc, html) {
|
|
17102
|
-
doc.write(module$exports$safevalues$
|
|
17044
|
+
doc.write(module$exports$safevalues$index.unwrapHtml(html));
|
|
17103
17045
|
};
|
|
17104
17046
|
goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
17105
17047
|
module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(anchor);
|
|
@@ -17107,24 +17049,24 @@ goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
|
17107
17049
|
};
|
|
17108
17050
|
goog.dom.safe.setIframeSrc = function(iframe, url) {
|
|
17109
17051
|
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
17110
|
-
iframe.src = module$contents$
|
|
17052
|
+
iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
17111
17053
|
};
|
|
17112
17054
|
goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
|
|
17113
17055
|
module$contents$goog$asserts$dom_assertIsHtmlLinkElement(link);
|
|
17114
17056
|
link.rel = rel;
|
|
17115
17057
|
if (goog.string.internal.caseInsensitiveContains(rel, "stylesheet")) {
|
|
17116
|
-
goog.asserts.assert(url instanceof module$
|
|
17117
|
-
link.href = module$contents$
|
|
17058
|
+
goog.asserts.assert(url instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl, 'URL must be TrustedResourceUrl because "rel" contains "stylesheet"');
|
|
17059
|
+
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
17118
17060
|
var nonce = goog.dom.safe.getStyleNonce(link.ownerDocument && link.ownerDocument.defaultView);
|
|
17119
17061
|
nonce && link.setAttribute("nonce", nonce);
|
|
17120
17062
|
} else {
|
|
17121
|
-
link.href = url instanceof module$
|
|
17063
|
+
link.href = url instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl ? module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString() : goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17122
17064
|
}
|
|
17123
17065
|
};
|
|
17124
17066
|
goog.dom.safe.setScriptSrc = function(script, url) {
|
|
17125
17067
|
module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
|
|
17126
17068
|
goog.dom.safe.setNonceForScriptElement_(script);
|
|
17127
|
-
script.src = module$contents$
|
|
17069
|
+
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
17128
17070
|
};
|
|
17129
17071
|
goog.dom.safe.setNonceForScriptElement_ = function(script) {
|
|
17130
17072
|
var nonce = goog.dom.safe.getScriptNonce(script.ownerDocument && script.ownerDocument.defaultView);
|
|
@@ -17149,7 +17091,7 @@ goog.dom.safe.parseFromStringHtml = function(parser, html) {
|
|
|
17149
17091
|
return goog.dom.safe.parseFromString(parser, html, "text/html");
|
|
17150
17092
|
};
|
|
17151
17093
|
goog.dom.safe.parseFromString = function(parser, content, type) {
|
|
17152
|
-
return parser.parseFromString(module$exports$safevalues$
|
|
17094
|
+
return parser.parseFromString(module$exports$safevalues$index.unwrapHtml(content), type);
|
|
17153
17095
|
};
|
|
17154
17096
|
goog.dom.safe.createImageFromBlob = function(blob) {
|
|
17155
17097
|
if (!/^image\/.*/g.test(blob.type)) {
|
|
@@ -19102,7 +19044,7 @@ safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
|
19102
19044
|
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19103
19045
|
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19104
19046
|
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19105
|
-
safevalues.TrustedResourceUrl = module$
|
|
19047
|
+
safevalues.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
19106
19048
|
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19107
19049
|
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19108
19050
|
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
@@ -19589,7 +19531,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19589
19531
|
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
|
|
19590
19532
|
!module$contents$goog$array_contains(goog.net.XhrIo.METHODS_WITH_FORM_DATA, method) || contentTypeKey || contentIsFormData || headers.set(goog.net.XhrIo.CONTENT_TYPE_HEADER, goog.net.XhrIo.FORM_CONTENT_TYPE);
|
|
19591
19533
|
for (var $jscomp$iter$46 = (0,$jscomp.makeIterator)(headers), $jscomp$key$m71669834$55$ = $jscomp$iter$46.next(); !$jscomp$key$m71669834$55$.done; $jscomp$key$m71669834$55$ = $jscomp$iter$46.next()) {
|
|
19592
|
-
var $jscomp$destructuring$
|
|
19534
|
+
var $jscomp$destructuring$var45 = (0,$jscomp.makeIterator)($jscomp$key$m71669834$55$.value), key$jscomp$1 = $jscomp$destructuring$var45.next().value, value = $jscomp$destructuring$var45.next().value;
|
|
19593
19535
|
this.xhr_.setRequestHeader(key$jscomp$1, value);
|
|
19594
19536
|
}
|
|
19595
19537
|
this.responseType_ && (this.xhr_.responseType = this.responseType_);
|
|
@@ -19831,7 +19773,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19831
19773
|
ee.apiclient = {};
|
|
19832
19774
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19833
19775
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19834
|
-
ee.apiclient.API_CLIENT_VERSION = "1.
|
|
19776
|
+
ee.apiclient.API_CLIENT_VERSION = "1.1.0";
|
|
19835
19777
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19836
19778
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19837
19779
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19963,21 +19905,21 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
|
|
|
19963
19905
|
return this;
|
|
19964
19906
|
};
|
|
19965
19907
|
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
|
|
19966
|
-
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$
|
|
19967
|
-
var $jscomp$destructuring$
|
|
19968
|
-
var id = $jscomp$destructuring$
|
|
19969
|
-
var $jscomp$destructuring$
|
|
19970
|
-
var partBody = $jscomp$destructuring$
|
|
19971
|
-
$jscomp$destructuring$
|
|
19908
|
+
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var46) {
|
|
19909
|
+
var $jscomp$destructuring$var47 = (0,$jscomp.makeIterator)($jscomp$destructuring$var46);
|
|
19910
|
+
var id = $jscomp$destructuring$var47.next().value;
|
|
19911
|
+
var $jscomp$destructuring$var48 = (0,$jscomp.makeIterator)($jscomp$destructuring$var47.next().value);
|
|
19912
|
+
var partBody = $jscomp$destructuring$var48.next().value;
|
|
19913
|
+
$jscomp$destructuring$var48.next();
|
|
19972
19914
|
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";
|
|
19973
19915
|
}).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
|
|
19974
19916
|
var result = {};
|
|
19975
|
-
parts.forEach(function($jscomp$destructuring$
|
|
19976
|
-
var $jscomp$destructuring$
|
|
19977
|
-
var id = $jscomp$destructuring$
|
|
19978
|
-
var $jscomp$destructuring$
|
|
19979
|
-
$jscomp$destructuring$
|
|
19980
|
-
var ctor = $jscomp$destructuring$
|
|
19917
|
+
parts.forEach(function($jscomp$destructuring$var49) {
|
|
19918
|
+
var $jscomp$destructuring$var50 = (0,$jscomp.makeIterator)($jscomp$destructuring$var49);
|
|
19919
|
+
var id = $jscomp$destructuring$var50.next().value;
|
|
19920
|
+
var $jscomp$destructuring$var51 = (0,$jscomp.makeIterator)($jscomp$destructuring$var50.next().value);
|
|
19921
|
+
$jscomp$destructuring$var51.next();
|
|
19922
|
+
var ctor = $jscomp$destructuring$var51.next().value;
|
|
19981
19923
|
response[id] != null && (result[id] = module$contents$eeapiclient$domain_object_deserialize(ctor, response[id]));
|
|
19982
19924
|
});
|
|
19983
19925
|
return getResponse ? getResponse(result) : result;
|
|
@@ -20129,8 +20071,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
20129
20071
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
20130
20072
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
20131
20073
|
method = method || "POST";
|
|
20132
|
-
var headers = {"Content-Type":contentType}, version = "1.
|
|
20133
|
-
version === "1.
|
|
20074
|
+
var headers = {"Content-Type":contentType}, version = "1.1.0";
|
|
20075
|
+
version === "1.1.0" && (version = "latest");
|
|
20134
20076
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
20135
20077
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
20136
20078
|
if (authToken != null) {
|
|
@@ -20264,7 +20206,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
20264
20206
|
};
|
|
20265
20207
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
20266
20208
|
for (var request = new goog.Uri.QueryData(), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$101$ = $jscomp$iter$48.next(); !$jscomp$key$m1153655765$101$.done; $jscomp$key$m1153655765$101$ = $jscomp$iter$48.next()) {
|
|
20267
|
-
var $jscomp$destructuring$
|
|
20209
|
+
var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var53.next().value, item = $jscomp$destructuring$var53.next().value;
|
|
20268
20210
|
request.set(name, item);
|
|
20269
20211
|
}
|
|
20270
20212
|
return request;
|
|
@@ -20743,10 +20685,10 @@ ee.rpc_convert.legacyPropertiesToAssetUpdate = function(legacyProperties) {
|
|
|
20743
20685
|
typeof value !== "string" && value !== null || properties.title != null || (properties.title = asNull(value) || value);
|
|
20744
20686
|
extractValue("system:description");
|
|
20745
20687
|
typeof value !== "string" && value !== null || properties.description != null || (properties.description = asNull(value) || value);
|
|
20746
|
-
Object.entries(properties).forEach(function($jscomp$destructuring$
|
|
20747
|
-
var $jscomp$destructuring$
|
|
20748
|
-
var key = $jscomp$destructuring$
|
|
20749
|
-
var value = $jscomp$destructuring$
|
|
20688
|
+
Object.entries(properties).forEach(function($jscomp$destructuring$var54) {
|
|
20689
|
+
var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$destructuring$var54);
|
|
20690
|
+
var key = $jscomp$destructuring$var55.next().value;
|
|
20691
|
+
var value = $jscomp$destructuring$var55.next().value;
|
|
20750
20692
|
properties[key] = asNull(value) || value;
|
|
20751
20693
|
});
|
|
20752
20694
|
asset.properties = properties;
|
|
@@ -21332,7 +21274,7 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
|
|
|
21332
21274
|
return object;
|
|
21333
21275
|
}
|
|
21334
21276
|
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$52 = (0,$jscomp.makeIterator)(Object.entries(isNode ? object.Serializable$values : object)), $jscomp$key$m759255156$28$ = $jscomp$iter$52.next(); !$jscomp$key$m759255156$28$.done; $jscomp$key$m759255156$28$ = $jscomp$iter$52.next()) {
|
|
21335
|
-
var $jscomp$destructuring$
|
|
21277
|
+
var $jscomp$destructuring$var57 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var57.next().value, val = $jscomp$destructuring$var57.next().value;
|
|
21336
21278
|
isNode ? val !== null && (ret[key] = key === "functionDefinitionValue" && val.body != null ? {argumentNames:val.argumentNames, body:walkObject(values[val.body])} : key === "functionInvocationValue" && val.functionReference != null ? {arguments:module$contents$goog$object_map(val.arguments, walkObject), functionReference:walkObject(values[val.functionReference])} : key === "constantValue" ? val === module$exports$eeapiclient$domain_object.NULL_VALUE ?
|
|
21337
21279
|
null : val : walkObject(val)) : ret[key] = walkObject(val);
|
|
21338
21280
|
}
|
|
@@ -21456,7 +21398,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
21456
21398
|
}
|
|
21457
21399
|
if (value.dictionaryValue != null) {
|
|
21458
21400
|
for (var values = {}, constantValues = {}, $jscomp$iter$53 = (0,$jscomp.makeIterator)(Object.entries(value.dictionaryValue.values || {})), $jscomp$key$m759255156$29$ = $jscomp$iter$53.next(); !$jscomp$key$m759255156$29$.done; $jscomp$key$m759255156$29$ = $jscomp$iter$53.next()) {
|
|
21459
|
-
var $jscomp$destructuring$
|
|
21401
|
+
var $jscomp$destructuring$var59 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var59.next().value, v = $jscomp$destructuring$var59.next().value;
|
|
21460
21402
|
values[k] = this.optimizeValue(v, depth + 3);
|
|
21461
21403
|
constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
|
|
21462
21404
|
}
|
|
@@ -21743,9 +21685,9 @@ ee.rpc_convert_batch.buildRankByOneThingRule_ = function(ruleString) {
|
|
|
21743
21685
|
if (matches == null) {
|
|
21744
21686
|
throw Error("Ranking rule format is invalid. Each rule should be defined by a rule type and a direction (ASC or DESC), separated by a space. Valid rule types are: .geometryType, .minZoomLevel, or a feature property name.");
|
|
21745
21687
|
}
|
|
21746
|
-
var $jscomp$destructuring$
|
|
21747
|
-
$jscomp$destructuring$
|
|
21748
|
-
var ruleType = $jscomp$destructuring$
|
|
21688
|
+
var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)(matches);
|
|
21689
|
+
$jscomp$destructuring$var60.next();
|
|
21690
|
+
var ruleType = $jscomp$destructuring$var60.next().value, direction = $jscomp$destructuring$var60.next().value;
|
|
21749
21691
|
switch(direction.toUpperCase()) {
|
|
21750
21692
|
case "ASC":
|
|
21751
21693
|
rankByOneThingRule.direction = "ASCENDING";
|
|
@@ -22006,8 +21948,8 @@ ee.data.getDownloadId = function(params, opt_callback) {
|
|
|
22006
21948
|
}) && (params.bands = params.bands.map(function(band) {
|
|
22007
21949
|
return {id:band};
|
|
22008
21950
|
}));
|
|
22009
|
-
if (params.bands && params.bands.some(function($jscomp$destructuring$
|
|
22010
|
-
return $jscomp$destructuring$
|
|
21951
|
+
if (params.bands && params.bands.some(function($jscomp$destructuring$var61) {
|
|
21952
|
+
return $jscomp$destructuring$var61.id == null;
|
|
22011
21953
|
})) {
|
|
22012
21954
|
throw Error("Each band dictionary must have an id.");
|
|
22013
21955
|
}
|
|
@@ -24639,7 +24581,7 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
|
|
|
24639
24581
|
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
24640
24582
|
}
|
|
24641
24583
|
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$56 = (0,$jscomp.makeIterator)(Object.entries(formatOptions)), $jscomp$key$1827622838$35$ = $jscomp$iter$56.next(); !$jscomp$key$1827622838$35$.done; $jscomp$key$1827622838$35$ = $jscomp$iter$56.next()) {
|
|
24642
|
-
var $jscomp$destructuring$
|
|
24584
|
+
var $jscomp$destructuring$var64 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var64.next().value, value = $jscomp$destructuring$var64.next().value;
|
|
24643
24585
|
if (!module$contents$goog$array_contains(validOptionKeys, key)) {
|
|
24644
24586
|
var validKeysMsg = validOptionKeys.join(", ");
|
|
24645
24587
|
throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
|
|
@@ -27659,28 +27601,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27659
27601
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27660
27602
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27661
27603
|
(function() {
|
|
27662
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.
|
|
27663
|
-
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description
|
|
27664
|
-
"
|
|
27665
|
-
|
|
27666
|
-
"collection opt_description
|
|
27667
|
-
["
|
|
27668
|
-
"
|
|
27669
|
-
|
|
27670
|
-
["
|
|
27671
|
-
[], ["
|
|
27672
|
-
["
|
|
27673
|
-
|
|
27674
|
-
"
|
|
27675
|
-
[
|
|
27676
|
-
module$contents$ee$batch_Export.
|
|
27677
|
-
ee.
|
|
27678
|
-
ee.
|
|
27679
|
-
ee.data.
|
|
27680
|
-
ee.
|
|
27681
|
-
ee.
|
|
27682
|
-
ee.
|
|
27683
|
-
ee.
|
|
27604
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.Collection.prototype.filter ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.sort ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.getDownloadId ee.data.getAssetAcl ee.data.authenticateViaPopup ee.data.makeDownloadUrl ee.data.getWorkloadTag ee.data.getFeatureViewTilesKey ee.data.listImages ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.authenticateViaPrivateKey ee.data.setWorkloadTag ee.data.getOperation ee.data.createAssetHome ee.data.newTaskId ee.data.computeValue ee.data.createAsset ee.data.getInfo ee.data.setDefaultWorkloadTag ee.data.getThumbId ee.data.cancelTask ee.data.resetWorkloadTag ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.updateAsset ee.data.getTaskStatus ee.data.updateTask ee.data.getList ee.data.startIngestion ee.data.createFolder ee.data.startProcessing ee.data.setAssetAcl ee.data.authenticateViaOauth ee.data.getMapId ee.data.makeThumbUrl ee.data.renameAsset ee.data.listAssets ee.data.setAssetProperties ee.data.authenticate ee.data.getTaskList ee.data.copyAsset ee.data.getTileUrl ee.data.getTableDownloadId ee.data.listOperations ee.data.deleteAsset ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getAssetRootQuota ee.data.getTaskListWithLimit ee.data.cancelOperation ee.data.startTableIngestion ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Dictionary ee.initialize ee.call ee.reset ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.Filter.gt ee.Filter.inList ee.Filter.neq ee.Filter.lt ee.Filter.or ee.Filter.lte ee.Filter.prototype.not ee.Filter.gte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Filter.metadata ee.Filter.and ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.LineString ee.Geometry.BBox ee.Geometry ee.Geometry.MultiPolygon ee.Geometry.prototype.serialize ee.Geometry.Rectangle ee.Geometry.Point ee.Geometry.MultiLineString ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.prototype.getThumbId ee.Image.prototype.expression ee.Image ee.Image.rgb ee.Image.cat ee.Image.prototype.select ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.ImageCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMapId ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27605
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
27606
|
+
"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
|
|
27607
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27608
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27609
|
+
["filter"], ["geometry"], ["max", "opt_property", "opt_ascending"], ["name", "operator", "value"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["property", "opt_ascending"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["opt_success", "opt_error"], ["id"], [], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"],
|
|
27610
|
+
["id", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["tag"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["obj", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["id", "opt_callback"], ["tag"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["opt_resetDefault"], ["params", "opt_callback"], ["params", "opt_callback"], ["assetId", "asset",
|
|
27611
|
+
"updateFields", "opt_callback"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["params", "opt_callback"], ["id"], ["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"],
|
|
27612
|
+
["assetId", "properties", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["id", "x", "y", "z"], ["params", "opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["project", "opt_callback"], ["id"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], ["operationName", "opt_callback"], ["taskId", "request", "opt_callback"], ["date", "opt_tz"],
|
|
27613
|
+
["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], [], ["func", "namedArgs"], [], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["propertySelectors",
|
|
27614
|
+
"opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["name", "value"], ["var_args"], ["name", "value"], [], ["name", "value"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["geometry", "opt_errorMargin"], ["name", "operator", "value"], ["var_args"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south",
|
|
27615
|
+
"east", "north"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj"], ["params", "opt_callback"], ["params", "opt_callback"],
|
|
27616
|
+
["geometry"], ["params", "opt_callback"], ["expression", "opt_map"], ["opt_args"], ["r", "g", "b"], ["var_args"], ["var_args"], ["opt_visParams", "opt_callback"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["args"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"],
|
|
27617
|
+
["list"], ["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27618
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset,
|
|
27619
|
+
module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, ee.Collection.prototype.filter, ee.Collection.prototype.filterBounds, ee.Collection.prototype.limit, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.sort, ee.ComputedObject.prototype.aside,
|
|
27620
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.getDownloadId, ee.data.getAssetAcl, ee.data.authenticateViaPopup, ee.data.makeDownloadUrl, ee.data.getWorkloadTag, ee.data.getFeatureViewTilesKey, ee.data.listImages, ee.data.listFeatures, ee.data.getAssetRoots, ee.data.getAsset, ee.data.authenticateViaPrivateKey, ee.data.setWorkloadTag, ee.data.getOperation, ee.data.createAssetHome, ee.data.newTaskId, ee.data.computeValue,
|
|
27621
|
+
ee.data.createAsset, ee.data.getInfo, ee.data.setDefaultWorkloadTag, ee.data.getThumbId, ee.data.cancelTask, ee.data.resetWorkloadTag, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId, ee.data.updateAsset, ee.data.getTaskStatus, ee.data.updateTask, ee.data.getList, ee.data.startIngestion, ee.data.createFolder, ee.data.startProcessing, ee.data.setAssetAcl, ee.data.authenticateViaOauth, ee.data.getMapId, ee.data.makeThumbUrl, ee.data.renameAsset, ee.data.listAssets, ee.data.setAssetProperties,
|
|
27622
|
+
ee.data.authenticate, ee.data.getTaskList, ee.data.copyAsset, ee.data.getTileUrl, ee.data.getTableDownloadId, ee.data.listOperations, ee.data.deleteAsset, ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getAssetRootQuota, ee.data.getTaskListWithLimit, ee.data.cancelOperation, ee.data.startTableIngestion, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Dictionary, ee.initialize, ee.call, ee.reset, ee.Algorithms,
|
|
27623
|
+
ee.InitState, ee.apply, ee.TILE_SIZE, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.Filter.gt, ee.Filter.inList, ee.Filter.neq, ee.Filter.lt, ee.Filter.or, ee.Filter.lte,
|
|
27624
|
+
ee.Filter.prototype.not, ee.Filter.gte, ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.bounds, ee.Filter.metadata, ee.Filter.and, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.LineString, ee.Geometry.BBox, ee.Geometry, ee.Geometry.MultiPolygon, ee.Geometry.prototype.serialize, ee.Geometry.Rectangle, ee.Geometry.Point, ee.Geometry.MultiLineString, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiPoint,
|
|
27625
|
+
ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbURL, ee.Image.prototype.clip, ee.Image.prototype.getThumbId, ee.Image.prototype.expression, ee.Image, ee.Image.rgb, ee.Image.cat, ee.Image.prototype.select, ee.Image.prototype.getMap, ee.Image.prototype.rename, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.ImageCollection, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection,
|
|
27626
|
+
ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMapId, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27684
27627
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27685
27628
|
});
|
|
27686
27629
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|