@google/earthengine 1.1.0 → 1.1.1
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 +266 -609
- package/build/ee_api_js.js +16 -16
- package/build/ee_api_js_debug.js +248 -591
- package/build/ee_api_js_npm.js +266 -609
- package/build/main.js +266 -609
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/main.js
CHANGED
|
@@ -1255,8 +1255,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1255
1255
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1256
1256
|
};
|
|
1257
1257
|
}, "es8", "es3");
|
|
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,
|
|
1259
|
-
|
|
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_ignore_implicit_extension_deps__enable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1, GoogFlags__override_disable_toggles:!1,
|
|
1259
|
+
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};
|
|
1260
1260
|
/*
|
|
1261
1261
|
|
|
1262
1262
|
Copyright The Closure Library Authors.
|
|
@@ -2151,9 +2151,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2151
2151
|
};
|
|
2152
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;
|
|
2153
2153
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
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$
|
|
2155
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2156
|
-
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$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
2155
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2156
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2157
2157
|
if (value != null) {
|
|
2158
2158
|
var copy = void 0;
|
|
2159
2159
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2164,11 +2164,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2164
2164
|
} else if (objects.hasOwnProperty(key)) {
|
|
2165
2165
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2166
2166
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2167
|
-
$jscomp$loop$
|
|
2167
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2168
2168
|
return function(v) {
|
|
2169
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2169
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2170
2170
|
};
|
|
2171
|
-
}($jscomp$loop$
|
|
2171
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2172
2172
|
} else if (Array.isArray(value)) {
|
|
2173
2173
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2174
2174
|
continue;
|
|
@@ -2183,8 +2183,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2183
2183
|
return target;
|
|
2184
2184
|
}
|
|
2185
2185
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2186
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2187
|
-
var mapKey = $jscomp$key$
|
|
2186
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m192531680$41$mapKey.done; $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next()) {
|
|
2187
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2188
2188
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2189
2189
|
}
|
|
2190
2190
|
return objMap;
|
|
@@ -2214,39 +2214,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2214
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))) {
|
|
2215
2215
|
return !1;
|
|
2216
2216
|
}
|
|
2217
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2218
|
-
var key = $jscomp$key$
|
|
2217
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m192531680$42$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$45 = {}; !$jscomp$key$m192531680$42$key.done; $jscomp$loop$m192531680$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m192531680$42$key = $jscomp$iter$21.next()) {
|
|
2218
|
+
var key = $jscomp$key$m192531680$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2219
2219
|
if (has1 !== has2) {
|
|
2220
2220
|
return !1;
|
|
2221
2221
|
}
|
|
2222
2222
|
if (has1) {
|
|
2223
2223
|
var value1 = serializable1.Serializable$get(key);
|
|
2224
|
-
$jscomp$loop$
|
|
2224
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2225
2225
|
if (arrays1.hasOwnProperty(key)) {
|
|
2226
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2226
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2227
2227
|
return !1;
|
|
2228
2228
|
}
|
|
2229
2229
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2230
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2230
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2231
2231
|
return !1;
|
|
2232
2232
|
}
|
|
2233
2233
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2234
|
-
if ($jscomp$loop$
|
|
2235
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2234
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2235
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2236
2236
|
return function(v1, i) {
|
|
2237
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2237
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2238
2238
|
};
|
|
2239
|
-
}($jscomp$loop$
|
|
2239
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2240
2240
|
return !1;
|
|
2241
2241
|
}
|
|
2242
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2242
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2243
2243
|
return !1;
|
|
2244
2244
|
}
|
|
2245
2245
|
} else if (Array.isArray(value1)) {
|
|
2246
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2246
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2247
2247
|
return !1;
|
|
2248
2248
|
}
|
|
2249
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2249
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2250
2250
|
return !1;
|
|
2251
2251
|
}
|
|
2252
2252
|
}
|
|
@@ -2268,8 +2268,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2268
2268
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2269
2269
|
return !1;
|
|
2270
2270
|
}
|
|
2271
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2272
|
-
var mapKey = $jscomp$key$
|
|
2271
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m192531680$43$mapKey.done; $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next()) {
|
|
2272
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2273
2273
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2274
2274
|
return !1;
|
|
2275
2275
|
}
|
|
@@ -2350,15 +2350,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2350
2350
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2351
2351
|
};
|
|
2352
2352
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2353
|
-
var $jscomp$this$
|
|
2353
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2354
2354
|
payload += this._metadataPayload;
|
|
2355
2355
|
return Promise.all(this.files.map(function(f) {
|
|
2356
|
-
return $jscomp$this$
|
|
2356
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2357
2357
|
})).then(function(filePayloads) {
|
|
2358
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2359
|
-
payload += $jscomp$key$
|
|
2358
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m667091202$9$filePayload.done; $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next()) {
|
|
2359
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2360
2360
|
}
|
|
2361
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2361
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2362
2362
|
});
|
|
2363
2363
|
};
|
|
2364
2364
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2463,9 +2463,6 @@ function module$contents$goog$object_getCount(obj) {
|
|
|
2463
2463
|
}
|
|
2464
2464
|
return rv;
|
|
2465
2465
|
}
|
|
2466
|
-
function module$contents$goog$object_contains(obj, val) {
|
|
2467
|
-
return module$contents$goog$object_containsValue(obj, val);
|
|
2468
|
-
}
|
|
2469
2466
|
function module$contents$goog$object_getValues(obj) {
|
|
2470
2467
|
var res = [], i = 0, key;
|
|
2471
2468
|
for (key in obj) {
|
|
@@ -2589,7 +2586,9 @@ goog.object.add = function(obj, key, val) {
|
|
|
2589
2586
|
};
|
|
2590
2587
|
goog.object.clear = module$contents$goog$object_clear;
|
|
2591
2588
|
goog.object.clone = module$contents$goog$object_clone;
|
|
2592
|
-
goog.object.contains =
|
|
2589
|
+
goog.object.contains = function(obj, val) {
|
|
2590
|
+
return module$contents$goog$object_containsValue(obj, val);
|
|
2591
|
+
};
|
|
2593
2592
|
goog.object.containsKey = module$contents$goog$object_containsKey;
|
|
2594
2593
|
goog.object.containsValue = module$contents$goog$object_containsValue;
|
|
2595
2594
|
goog.object.create = module$contents$goog$object_create;
|
|
@@ -2864,8 +2863,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2864
2863
|
throw Error(message);
|
|
2865
2864
|
}
|
|
2866
2865
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2867
|
-
var $jscomp$templatelit$
|
|
2868
|
-
["\\0"]), $jscomp$templatelit$
|
|
2866
|
+
var $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2867
|
+
["\\0"]), $jscomp$templatelit$1274514361$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
2869
2868
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2870
2869
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2871
2870
|
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 ##############################");
|
|
@@ -2879,14 +2878,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2879
2878
|
return fn.toString().indexOf("`") === -1;
|
|
2880
2879
|
}
|
|
2881
2880
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2882
|
-
return tag($jscomp$templatelit$
|
|
2881
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2883
2882
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2884
|
-
return tag($jscomp$templatelit$
|
|
2883
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2885
2884
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2886
|
-
return tag($jscomp$templatelit$
|
|
2885
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2887
2886
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2888
|
-
return tag($jscomp$templatelit$
|
|
2889
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2887
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2888
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$12);
|
|
2890
2889
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2891
2890
|
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)) ?
|
|
2892
2891
|
!0 : !1;
|
|
@@ -3298,9 +3297,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3298
3297
|
}
|
|
3299
3298
|
}
|
|
3300
3299
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
3301
|
-
var $jscomp$tmp$error$
|
|
3302
|
-
this.message = $jscomp$tmp$error$
|
|
3303
|
-
"stack" in $jscomp$tmp$error$
|
|
3300
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
3301
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3302
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3304
3303
|
this.type = type;
|
|
3305
3304
|
this.intent = intent;
|
|
3306
3305
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -3407,7 +3406,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
3407
3406
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
3408
3407
|
};
|
|
3409
3408
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
3410
|
-
var $jscomp$optchain$
|
|
3409
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
3411
3410
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
3412
3411
|
}
|
|
3413
3412
|
;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"};
|
|
@@ -4663,24 +4662,28 @@ module$exports$safevalues$dom$globals$dom_parser.parseHtml = function(parser, ht
|
|
|
4663
4662
|
return module$contents$safevalues$dom$globals$dom_parser_parseFromString(parser, html, "text/html");
|
|
4664
4663
|
};
|
|
4665
4664
|
module$exports$safevalues$dom$globals$dom_parser.parseXml = function(parser, xml) {
|
|
4666
|
-
for (var doc = module$contents$safevalues$dom$globals$dom_parser_parseFromString(parser, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(xml), "text/xml"), iterator = document.createNodeIterator(doc, NodeFilter.
|
|
4667
|
-
|
|
4665
|
+
for (var doc = module$contents$safevalues$dom$globals$dom_parser_parseFromString(parser, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(xml), "text/xml"), iterator = document.createNodeIterator(doc, NodeFilter.SHOW_ELEMENT), currentNode; currentNode = iterator.nextNode();) {
|
|
4666
|
+
var ns = currentNode.namespaceURI;
|
|
4667
|
+
if (module$contents$safevalues$dom$globals$dom_parser_isUnsafeNamespace(ns)) {
|
|
4668
4668
|
var message = "unsafe XML";
|
|
4669
|
-
goog.DEBUG && (message
|
|
4669
|
+
goog.DEBUG && (message += " - attempted to parse an XML document containing an element with namespace " + ns + ". Parsing HTML, SVG or MathML content is unsafe because it may lead to XSS when the content is appended to the document.");
|
|
4670
4670
|
throw Error(message);
|
|
4671
4671
|
}
|
|
4672
4672
|
}
|
|
4673
4673
|
return doc;
|
|
4674
4674
|
};
|
|
4675
|
+
function module$contents$safevalues$dom$globals$dom_parser_isUnsafeNamespace(ns) {
|
|
4676
|
+
return ns === "http://www.w3.org/1999/xhtml" || ns === "http://www.w3.org/2000/svg" || ns === "http://www.w3.org/1998/Math/MathML";
|
|
4677
|
+
}
|
|
4675
4678
|
function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parser, content, contentType) {
|
|
4676
4679
|
return parser.parseFromString((0,module$exports$safevalues$internals$html_impl.unwrapHtml)(content), contentType);
|
|
4677
4680
|
}
|
|
4678
4681
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
4679
4682
|
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"};
|
|
4680
4683
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4681
|
-
var $jscomp$tmp$error$
|
|
4682
|
-
this.message = $jscomp$tmp$error$
|
|
4683
|
-
"stack" in $jscomp$tmp$error$
|
|
4684
|
+
var $jscomp$tmp$error$m991617773$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4685
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4686
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4684
4687
|
this.url = url;
|
|
4685
4688
|
this.typeName = typeName;
|
|
4686
4689
|
this.contentType = contentType;
|
|
@@ -4692,48 +4695,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4692
4695
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4693
4696
|
}
|
|
4694
4697
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4695
|
-
var response, $jscomp$optchain$
|
|
4696
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4697
|
-
if ($jscomp$generator$context$
|
|
4698
|
-
return $jscomp$generator$context$
|
|
4699
|
-
}
|
|
4700
|
-
response = $jscomp$generator$context$
|
|
4701
|
-
mimeType = ($jscomp$optchain$
|
|
4702
|
-
return $jscomp$generator$context$
|
|
4698
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4699
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4700
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
4701
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4702
|
+
}
|
|
4703
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
4704
|
+
mimeType = ($jscomp$optchain$tmpm991617773$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmpm991617773$1 = $jscomp$optchain$tmpm991617773$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmpm991617773$2 = $jscomp$optchain$tmpm991617773$1[0]) == null ? void 0 : $jscomp$optchain$tmpm991617773$2.toLowerCase();
|
|
4705
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4703
4706
|
var text;
|
|
4704
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4705
|
-
if ($jscomp$generator$context$
|
|
4707
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4708
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
4706
4709
|
if (mimeType !== "text/html") {
|
|
4707
4710
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4708
4711
|
}
|
|
4709
|
-
return $jscomp$generator$context$
|
|
4712
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4710
4713
|
}
|
|
4711
|
-
text = $jscomp$generator$context$
|
|
4712
|
-
return $jscomp$generator$context$
|
|
4714
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
4715
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4713
4716
|
});
|
|
4714
4717
|
}, script:function() {
|
|
4715
4718
|
var text;
|
|
4716
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4717
|
-
if ($jscomp$generator$context$
|
|
4719
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4720
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
4718
4721
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4719
4722
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4720
4723
|
}
|
|
4721
|
-
return $jscomp$generator$context$
|
|
4724
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4722
4725
|
}
|
|
4723
|
-
text = $jscomp$generator$context$
|
|
4724
|
-
return $jscomp$generator$context$
|
|
4726
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
4727
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4725
4728
|
});
|
|
4726
4729
|
}, styleSheet:function() {
|
|
4727
4730
|
var text;
|
|
4728
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4729
|
-
if ($jscomp$generator$context$
|
|
4731
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4732
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
4730
4733
|
if (mimeType !== "text/css") {
|
|
4731
4734
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4732
4735
|
}
|
|
4733
|
-
return $jscomp$generator$context$
|
|
4736
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4734
4737
|
}
|
|
4735
|
-
text = $jscomp$generator$context$
|
|
4736
|
-
return $jscomp$generator$context$
|
|
4738
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
4739
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4737
4740
|
});
|
|
4738
4741
|
}});
|
|
4739
4742
|
});
|
|
@@ -6155,8 +6158,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6155
6158
|
}
|
|
6156
6159
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6157
6160
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6158
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6159
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6161
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$1047461284$0$ = $jscomp$iter$29.next(); !$jscomp$key$1047461284$0$.done; $jscomp$key$1047461284$0$ = $jscomp$iter$29.next()) {
|
|
6162
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6160
6163
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6161
6164
|
}
|
|
6162
6165
|
return urlQueryParams;
|
|
@@ -6167,8 +6170,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6167
6170
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6168
6171
|
if (params.headers) {
|
|
6169
6172
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6170
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6171
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6173
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$1047461284$1$ = $jscomp$iter$30.next(); !$jscomp$key$1047461284$1$.done; $jscomp$key$1047461284$1$ = $jscomp$iter$30.next()) {
|
|
6174
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6172
6175
|
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);
|
|
6173
6176
|
}
|
|
6174
6177
|
}
|
|
@@ -6208,9 +6211,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6208
6211
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6209
6212
|
};
|
|
6210
6213
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6211
|
-
var $jscomp$this$
|
|
6214
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6212
6215
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6213
|
-
return $jscomp$this$
|
|
6216
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6214
6217
|
}));
|
|
6215
6218
|
};
|
|
6216
6219
|
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"};
|
|
@@ -6379,7 +6382,6 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_r
|
|
|
6379
6382
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
|
|
6380
6383
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable = !1;
|
|
6381
6384
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable = !1;
|
|
6382
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
|
|
6383
6385
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6384
6386
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
6385
6387
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__enable = !1;
|
|
@@ -6396,7 +6398,6 @@ goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$
|
|
|
6396
6398
|
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);
|
|
6397
6399
|
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
6400
|
module$contents$goog$flags_STAGING);
|
|
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);
|
|
6400
6401
|
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);
|
|
6401
6402
|
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);
|
|
6402
6403
|
goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__enable : goog.readFlagInternalDoNotUseOrElse(660014094, goog.DEBUG);
|
|
@@ -9099,6 +9100,11 @@ module$exports$eeapiclient$ee_api_client.IPixelDataTypePrecisionEnum = function(
|
|
|
9099
9100
|
module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum = {DOUBLE:"DOUBLE", FLOAT:"FLOAT", INT:"INT", PRECISION_UNSPECIFIED:"PRECISION_UNSPECIFIED", values:function() {
|
|
9100
9101
|
return [module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.PRECISION_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.INT, module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.FLOAT, module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.DOUBLE];
|
|
9101
9102
|
}};
|
|
9103
|
+
module$exports$eeapiclient$ee_api_client.IProjectConfigRegistrationStateEnum = function() {
|
|
9104
|
+
};
|
|
9105
|
+
module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum = {NOT_REGISTERED:"NOT_REGISTERED", REGISTERED_COMMERCILALLY:"REGISTERED_COMMERCILALLY", REGISTERED_NOT_COMMERCILALLY:"REGISTERED_NOT_COMMERCILALLY", REGISTRATION_STATE_UNSPECIFIED:"REGISTRATION_STATE_UNSPECIFIED", values:function() {
|
|
9106
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum.REGISTRATION_STATE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum.NOT_REGISTERED, module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum.REGISTERED_COMMERCILALLY, module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum.REGISTERED_NOT_COMMERCILALLY];
|
|
9107
|
+
}};
|
|
9102
9108
|
module$exports$eeapiclient$ee_api_client.IProjectRegistrationBillingConsentEnum = function() {
|
|
9103
9109
|
};
|
|
9104
9110
|
module$exports$eeapiclient$ee_api_client.ProjectRegistrationBillingConsentEnum = {BILLING_CONSENT_FULL:"BILLING_CONSENT_FULL", BILLING_CONSENT_NONE:"BILLING_CONSENT_NONE", BILLING_CONSENT_UNSPECIFIED:"BILLING_CONSENT_UNSPECIFIED", values:function() {
|
|
@@ -12282,6 +12288,7 @@ module$exports$eeapiclient$ee_api_client.ProjectConfig = function(parameters) {
|
|
|
12282
12288
|
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
12283
12289
|
this.Serializable$set("name", parameters.name == null ? null : parameters.name);
|
|
12284
12290
|
this.Serializable$set("registration", parameters.registration == null ? null : parameters.registration);
|
|
12291
|
+
this.Serializable$set("registrationState", parameters.registrationState == null ? null : parameters.registrationState);
|
|
12285
12292
|
this.Serializable$set("trialStatus", parameters.trialStatus == null ? null : parameters.trialStatus);
|
|
12286
12293
|
this.Serializable$set("vpcServiceControlsRestricted", parameters.vpcServiceControlsRestricted == null ? null : parameters.vpcServiceControlsRestricted);
|
|
12287
12294
|
};
|
|
@@ -12290,7 +12297,7 @@ module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype.getConstructor
|
|
|
12290
12297
|
return module$exports$eeapiclient$ee_api_client.ProjectConfig;
|
|
12291
12298
|
};
|
|
12292
12299
|
module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype.getPartialClassMetadata = function() {
|
|
12293
|
-
return {keys:["name", "registration", "trialStatus", "vpcServiceControlsRestricted"], objects:{registration:module$exports$eeapiclient$ee_api_client.ProjectRegistration, trialStatus:module$exports$eeapiclient$ee_api_client.TrialStatus}};
|
|
12300
|
+
return {enums:{registrationState:module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum}, keys:["name", "registration", "registrationState", "trialStatus", "vpcServiceControlsRestricted"], objects:{registration:module$exports$eeapiclient$ee_api_client.ProjectRegistration, trialStatus:module$exports$eeapiclient$ee_api_client.TrialStatus}};
|
|
12294
12301
|
};
|
|
12295
12302
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype, {name:{configurable:!0, enumerable:!0, get:function() {
|
|
12296
12303
|
return this.Serializable$has("name") ? this.Serializable$get("name") : null;
|
|
@@ -12300,6 +12307,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
12300
12307
|
return this.Serializable$has("registration") ? this.Serializable$get("registration") : null;
|
|
12301
12308
|
}, set:function(value) {
|
|
12302
12309
|
this.Serializable$set("registration", value);
|
|
12310
|
+
}}, registrationState:{configurable:!0, enumerable:!0, get:function() {
|
|
12311
|
+
return this.Serializable$has("registrationState") ? this.Serializable$get("registrationState") : null;
|
|
12312
|
+
}, set:function(value) {
|
|
12313
|
+
this.Serializable$set("registrationState", value);
|
|
12303
12314
|
}}, trialStatus:{configurable:!0, enumerable:!0, get:function() {
|
|
12304
12315
|
return this.Serializable$has("trialStatus") ? this.Serializable$get("trialStatus") : null;
|
|
12305
12316
|
}, set:function(value) {
|
|
@@ -12309,6 +12320,9 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
12309
12320
|
}, set:function(value) {
|
|
12310
12321
|
this.Serializable$set("vpcServiceControlsRestricted", value);
|
|
12311
12322
|
}}});
|
|
12323
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ProjectConfig, {RegistrationState:{configurable:!0, enumerable:!0, get:function() {
|
|
12324
|
+
return module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum;
|
|
12325
|
+
}}});
|
|
12312
12326
|
module$exports$eeapiclient$ee_api_client.ProjectRegistrationParameters = function() {
|
|
12313
12327
|
};
|
|
12314
12328
|
module$exports$eeapiclient$ee_api_client.ProjectRegistration = function(parameters) {
|
|
@@ -14885,8 +14899,6 @@ var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
|
14885
14899
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
14886
14900
|
}, module$contents$goog$asserts$dom_assertIsHtmlIFrameElement = function(value) {
|
|
14887
14901
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IFRAME);
|
|
14888
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlScriptElement = function(value) {
|
|
14889
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
14890
14902
|
}, module$contents$goog$asserts$dom_debugStringForType = function(value) {
|
|
14891
14903
|
if (goog.isObject(value)) {
|
|
14892
14904
|
try {
|
|
@@ -14938,7 +14950,9 @@ goog.asserts.dom.assertIsHtmlIFrameElement = module$contents$goog$asserts$dom_as
|
|
|
14938
14950
|
goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
14939
14951
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
14940
14952
|
};
|
|
14941
|
-
goog.asserts.dom.assertIsHtmlScriptElement =
|
|
14953
|
+
goog.asserts.dom.assertIsHtmlScriptElement = function(value) {
|
|
14954
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
14955
|
+
};
|
|
14942
14956
|
goog.dom.asserts = {};
|
|
14943
14957
|
goog.dom.asserts.assertIsLocation = function(o) {
|
|
14944
14958
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
|
|
@@ -14969,11 +14983,6 @@ goog.dom.asserts.getWindow_ = function(o) {
|
|
|
14969
14983
|
}
|
|
14970
14984
|
return null;
|
|
14971
14985
|
};
|
|
14972
|
-
goog.dom.tags = {};
|
|
14973
|
-
goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!0, hr:!0, img:!0, input:!0, keygen:!0, link:!0, meta:!0, param:!0, source:!0, track:!0, wbr:!0};
|
|
14974
|
-
goog.dom.tags.isVoidTag = function(tagName) {
|
|
14975
|
-
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
14976
|
-
};
|
|
14977
14986
|
goog.string.Const = function(opt_token, opt_content) {
|
|
14978
14987
|
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
14979
14988
|
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
@@ -14994,340 +15003,6 @@ goog.string.Const.from = function(s) {
|
|
|
14994
15003
|
goog.string.Const.TYPE_MARKER_ = {};
|
|
14995
15004
|
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
14996
15005
|
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
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"};
|
|
14998
|
-
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
14999
|
-
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
15000
|
-
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15001
|
-
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
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;
|
|
15006
|
-
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15007
|
-
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15008
|
-
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15009
|
-
module$exports$safevalues$for_closure$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15010
|
-
module$exports$safevalues$for_closure$index.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15011
|
-
module$exports$safevalues$for_closure$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15012
|
-
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15013
|
-
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15014
|
-
var module$exports$safevalues$for_closure = {};
|
|
15015
|
-
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15016
|
-
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
15017
|
-
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15018
|
-
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
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;
|
|
15023
|
-
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15024
|
-
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15025
|
-
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15026
|
-
module$exports$safevalues$for_closure.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15027
|
-
module$exports$safevalues$for_closure.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15028
|
-
module$exports$safevalues$for_closure.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15029
|
-
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15030
|
-
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15031
|
-
goog.html = {};
|
|
15032
|
-
goog.html.deprecated = {};
|
|
15033
|
-
goog.html.deprecated.safeStyleSheetCreateRule = function(selector, style) {
|
|
15034
|
-
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
15035
|
-
throw Error("Selector does not allow '<', got: " + selector);
|
|
15036
|
-
}
|
|
15037
|
-
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
15038
|
-
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
15039
|
-
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
15040
|
-
}
|
|
15041
|
-
if (!module$contents$goog$html$deprecated_hasBalancedBrackets(selectorToCheck)) {
|
|
15042
|
-
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
15043
|
-
}
|
|
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 ") + "}";
|
|
15050
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15051
|
-
};
|
|
15052
|
-
goog.html.deprecated.safeStyleSheetConcat = function(var_args) {
|
|
15053
|
-
var result = "", addArgument = function(argument) {
|
|
15054
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(argument);
|
|
15055
|
-
};
|
|
15056
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
15057
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(result);
|
|
15058
|
-
};
|
|
15059
|
-
goog.html.deprecated.safeStyleSheetFromConstant = function(styleSheet) {
|
|
15060
|
-
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
15061
|
-
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
15062
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetString);
|
|
15063
|
-
};
|
|
15064
|
-
function module$contents$goog$html$deprecated_hasBalancedBrackets(s) {
|
|
15065
|
-
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
15066
|
-
var ch = s[i];
|
|
15067
|
-
if (brackets[ch]) {
|
|
15068
|
-
expectedBrackets.push(brackets[ch]);
|
|
15069
|
-
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
15070
|
-
return !1;
|
|
15071
|
-
}
|
|
15072
|
-
}
|
|
15073
|
-
return expectedBrackets.length == 0;
|
|
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;
|
|
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;
|
|
15137
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
|
|
15138
|
-
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
|
|
15139
|
-
};
|
|
15140
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML = function(safeHtml) {
|
|
15141
|
-
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml);
|
|
15142
|
-
};
|
|
15143
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape = function(textOrHtml) {
|
|
15144
|
-
return textOrHtml instanceof module$exports$safevalues$internals$html_impl.SafeHtml ? textOrHtml : (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(goog.string.internal.htmlEscape(String(textOrHtml)));
|
|
15145
|
-
};
|
|
15146
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscapePreservingNewlines = function(textOrHtml) {
|
|
15147
|
-
if (textOrHtml instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
|
|
15148
|
-
return textOrHtml;
|
|
15149
|
-
}
|
|
15150
|
-
var html = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(textOrHtml);
|
|
15151
|
-
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(goog.string.internal.newLineToBr(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html)));
|
|
15152
|
-
};
|
|
15153
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscapePreservingNewlinesAndSpaces = function(textOrHtml) {
|
|
15154
|
-
if (textOrHtml instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
|
|
15155
|
-
return textOrHtml;
|
|
15156
|
-
}
|
|
15157
|
-
var html = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(textOrHtml);
|
|
15158
|
-
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(goog.string.internal.whitespaceEscape(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html)));
|
|
15159
|
-
};
|
|
15160
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.create = function(tagName, attributes, content) {
|
|
15161
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.verifyTagName(String(tagName));
|
|
15162
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(tagName), attributes, content);
|
|
15163
|
-
};
|
|
15164
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.verifyTagName = function(tagName) {
|
|
15165
|
-
if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(tagName)) {
|
|
15166
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "Invalid tag name <" + tagName + ">." : "");
|
|
15167
|
-
}
|
|
15168
|
-
if (tagName.toUpperCase() in module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES) {
|
|
15169
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "Tag name <" + tagName + "> is not allowed for SafeHtml." : "");
|
|
15170
|
-
}
|
|
15171
|
-
};
|
|
15172
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.createIframe = function(src, srcdoc, attributes, content) {
|
|
15173
|
-
src && module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(src);
|
|
15174
|
-
var fixedAttributes = {};
|
|
15175
|
-
fixedAttributes.src = src || null;
|
|
15176
|
-
fixedAttributes.srcdoc = srcdoc && module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(srcdoc);
|
|
15177
|
-
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes(fixedAttributes, {sandbox:""}, attributes);
|
|
15178
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
15179
|
-
};
|
|
15180
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.createSandboxIframe = function(src, srcdoc, attributes, content) {
|
|
15181
|
-
if (!module$exports$safevalues$internals$html_impl.SafeHtml.canUseSandboxIframe()) {
|
|
15182
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "The browser does not support sandboxed iframes." : "");
|
|
15183
|
-
}
|
|
15184
|
-
var fixedAttributes = {};
|
|
15185
|
-
fixedAttributes.src = src ? module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(src)) : null;
|
|
15186
|
-
fixedAttributes.srcdoc = srcdoc || null;
|
|
15187
|
-
fixedAttributes.sandbox = "";
|
|
15188
|
-
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
|
|
15189
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
15190
|
-
};
|
|
15191
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.canUseSandboxIframe = function() {
|
|
15192
|
-
return goog.global.HTMLIFrameElement && "sandbox" in goog.global.HTMLIFrameElement.prototype;
|
|
15193
|
-
};
|
|
15194
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.createScriptSrc = function(src, attributes) {
|
|
15195
|
-
module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(src);
|
|
15196
|
-
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({src:src}, {}, attributes);
|
|
15197
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
|
|
15198
|
-
};
|
|
15199
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.createStyle = function(styleSheet, attributes) {
|
|
15200
|
-
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
15201
|
-
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
15202
|
-
for (var i = 0; i < styleSheet.length; i++) {
|
|
15203
|
-
content += module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(styleSheet[i]);
|
|
15204
|
-
}
|
|
15205
|
-
var htmlContent = (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content);
|
|
15206
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
15207
|
-
};
|
|
15208
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.createMetaRefresh = function(url, secs) {
|
|
15209
|
-
var unwrappedUrl = module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(url));
|
|
15210
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
|
|
15211
|
-
};
|
|
15212
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.join = function(separator, parts) {
|
|
15213
|
-
var separatorHtml = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(separator), content = [], addArgument = function(argument) {
|
|
15214
|
-
if (Array.isArray(argument)) {
|
|
15215
|
-
argument.forEach(addArgument);
|
|
15216
|
-
} else {
|
|
15217
|
-
var html = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(argument);
|
|
15218
|
-
content.push(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html));
|
|
15219
|
-
}
|
|
15220
|
-
};
|
|
15221
|
-
parts.forEach(addArgument);
|
|
15222
|
-
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content.join(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(separatorHtml)));
|
|
15223
|
-
};
|
|
15224
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.concat = function(var_args) {
|
|
15225
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.join(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY, Array.prototype.slice.call(arguments));
|
|
15226
|
-
};
|
|
15227
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse = function(tagName, attributes, content) {
|
|
15228
|
-
var result = "<" + tagName + module$exports$safevalues$internals$html_impl.SafeHtml.stringifyAttributes(tagName, attributes);
|
|
15229
|
-
content == null ? content = [] : Array.isArray(content) || (content = [content]);
|
|
15230
|
-
if (goog.dom.tags.isVoidTag(tagName.toLowerCase())) {
|
|
15231
|
-
goog.asserts.assert(!content.length, "Void tag <" + tagName + "> does not allow content."), result += ">";
|
|
15232
|
-
} else {
|
|
15233
|
-
var html = module$exports$safevalues$internals$html_impl.SafeHtml.concat(content);
|
|
15234
|
-
result += ">" + module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html) + "</" + tagName + ">";
|
|
15235
|
-
}
|
|
15236
|
-
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(result);
|
|
15237
|
-
};
|
|
15238
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.stringifyAttributes = function(tagName, attributes) {
|
|
15239
|
-
var result = "";
|
|
15240
|
-
if (attributes) {
|
|
15241
|
-
for (var name in attributes) {
|
|
15242
|
-
if (Object.prototype.hasOwnProperty.call(attributes, name)) {
|
|
15243
|
-
if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(name)) {
|
|
15244
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Invalid attribute name "' + name + '".' : "");
|
|
15245
|
-
}
|
|
15246
|
-
var value = attributes[name];
|
|
15247
|
-
value != null && (result += " " + module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value));
|
|
15248
|
-
}
|
|
15249
|
-
}
|
|
15250
|
-
}
|
|
15251
|
-
return result;
|
|
15252
|
-
};
|
|
15253
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes = function(fixedAttributes, defaultAttributes, attributes) {
|
|
15254
|
-
var combinedAttributes = {}, name;
|
|
15255
|
-
for (name in fixedAttributes) {
|
|
15256
|
-
Object.prototype.hasOwnProperty.call(fixedAttributes, name) && (goog.asserts.assert(name.toLowerCase() == name, "Must be lower case"), combinedAttributes[name] = fixedAttributes[name]);
|
|
15257
|
-
}
|
|
15258
|
-
for (var name$jscomp$0 in defaultAttributes) {
|
|
15259
|
-
Object.prototype.hasOwnProperty.call(defaultAttributes, name$jscomp$0) && (goog.asserts.assert(name$jscomp$0.toLowerCase() == name$jscomp$0, "Must be lower case"), combinedAttributes[name$jscomp$0] = defaultAttributes[name$jscomp$0]);
|
|
15260
|
-
}
|
|
15261
|
-
if (attributes) {
|
|
15262
|
-
for (var name$jscomp$1 in attributes) {
|
|
15263
|
-
if (Object.prototype.hasOwnProperty.call(attributes, name$jscomp$1)) {
|
|
15264
|
-
var nameLower = name$jscomp$1.toLowerCase();
|
|
15265
|
-
if (nameLower in fixedAttributes) {
|
|
15266
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot override "' + nameLower + '" attribute, got "' + name$jscomp$1 + '" with value "' + attributes[name$jscomp$1] + '"' : "");
|
|
15267
|
-
}
|
|
15268
|
-
nameLower in defaultAttributes && delete combinedAttributes[nameLower];
|
|
15269
|
-
combinedAttributes[name$jscomp$1] = attributes[name$jscomp$1];
|
|
15270
|
-
}
|
|
15271
|
-
}
|
|
15272
|
-
}
|
|
15273
|
-
return combinedAttributes;
|
|
15274
|
-
};
|
|
15275
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES = goog.DEBUG;
|
|
15276
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.SUPPORT_STYLE_ATTRIBUTE = !0;
|
|
15277
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.from = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape;
|
|
15278
|
-
var module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG = /^[a-zA-Z0-9-]+$/, module$contents$goog$html$SafeHtml_URL_ATTRIBUTES = {action:!0, cite:!0, data:!0, formaction:!0, href:!0, manifest:!0, poster:!0, src:!0}, module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES = module$contents$goog$object_createSet(goog.dom.TagName.APPLET, goog.dom.TagName.BASE, goog.dom.TagName.EMBED, goog.dom.TagName.IFRAME, goog.dom.TagName.LINK, goog.dom.TagName.MATH, goog.dom.TagName.META, goog.dom.TagName.OBJECT,
|
|
15279
|
-
goog.dom.TagName.SCRIPT, goog.dom.TagName.STYLE, goog.dom.TagName.SVG, goog.dom.TagName.TEMPLATE);
|
|
15280
|
-
function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value) {
|
|
15281
|
-
if (value instanceof goog.string.Const) {
|
|
15282
|
-
value = goog.string.Const.unwrap(value);
|
|
15283
|
-
} else if (name.toLowerCase() == "style") {
|
|
15284
|
-
if (module$exports$safevalues$internals$html_impl.SafeHtml.SUPPORT_STYLE_ATTRIBUTE) {
|
|
15285
|
-
value = module$contents$goog$html$SafeHtml_getStyleValue(value);
|
|
15286
|
-
} else {
|
|
15287
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "style" not supported.' : "");
|
|
15288
|
-
}
|
|
15289
|
-
} else {
|
|
15290
|
-
if (/^on/i.test(name)) {
|
|
15291
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" requires goog.string.Const value, "' + value + '" given.' : "");
|
|
15292
|
-
}
|
|
15293
|
-
if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
|
|
15294
|
-
if (value instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
15295
|
-
value = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value).toString();
|
|
15296
|
-
} else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15297
|
-
value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
|
|
15298
|
-
} else if (typeof value === "string") {
|
|
15299
|
-
value = module$contents$safevalues$builders$url_builders_sanitizeUrl(value).toString();
|
|
15300
|
-
} else {
|
|
15301
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires safevalues.SafeUrl, goog.string.Const, or string, value "' + value + '" given.' : "");
|
|
15302
|
-
}
|
|
15303
|
-
}
|
|
15304
|
-
}
|
|
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);
|
|
15307
|
-
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
15308
|
-
}
|
|
15309
|
-
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
15310
|
-
if (typeof value === "string") {
|
|
15311
|
-
return value;
|
|
15312
|
-
}
|
|
15313
|
-
if (!goog.isObject(value)) {
|
|
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 : "");
|
|
15315
|
-
}
|
|
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("");
|
|
15322
|
-
}
|
|
15323
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.DOCTYPE_HTML = function() {
|
|
15324
|
-
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)("<!DOCTYPE html>");
|
|
15325
|
-
}();
|
|
15326
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
15327
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.BR = function() {
|
|
15328
|
-
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)("<br>");
|
|
15329
|
-
}();
|
|
15330
|
-
goog.html.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15331
15006
|
var module$exports$safevalues$for_friends$index = {}, module$contents$safevalues$for_friends$index_module = module$contents$safevalues$for_friends$index_module || {id:"third_party/javascript/safevalues/for_friends/index.closure.js"};
|
|
15332
15007
|
module$exports$safevalues$for_friends$index.IS_NOT_JAVASCRIPT_URL_PATTERN = module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN;
|
|
15333
15008
|
module$exports$safevalues$for_friends$index.unwrapUrlOrSanitize = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize;
|
|
@@ -15533,7 +15208,7 @@ function module$contents$safevalues$builders$html_builders_stringifyAttributes(t
|
|
|
15533
15208
|
}
|
|
15534
15209
|
module$exports$safevalues$builders$html_builders.stringifyAttributes = module$contents$safevalues$builders$html_builders_stringifyAttributes;
|
|
15535
15210
|
function module$contents$safevalues$builders$html_builders_getAttrNameAndValue(tagName, name, value) {
|
|
15536
|
-
if (/^on
|
|
15211
|
+
if (/^on./i.test(name)) {
|
|
15537
15212
|
throw Error(goog.DEBUG ? 'Attribute "' + name + " is forbidden. Inline event handlers can lead to XSS. Please use the 'addEventListener' API instead." : "");
|
|
15538
15213
|
}
|
|
15539
15214
|
module$contents$safevalues$builders$html_builders_URL_ATTRIBUTES.indexOf(name.toLowerCase()) !== -1 && (value = module$contents$safevalues$internals$url_impl_isUrl(value) ? value.toString() : module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(String(value)) || "about:invalid#zClosurez");
|
|
@@ -15554,8 +15229,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15554
15229
|
this.replacements = new Map();
|
|
15555
15230
|
};
|
|
15556
15231
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15557
|
-
var $jscomp$this$
|
|
15558
|
-
return $jscomp$this$
|
|
15232
|
+
var $jscomp$this$380122516$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
15233
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15559
15234
|
});
|
|
15560
15235
|
if (openedTags.length !== 0) {
|
|
15561
15236
|
if (goog.DEBUG) {
|
|
@@ -15773,8 +15448,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
15773
15448
|
if (Array.isArray(token)) {
|
|
15774
15449
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
15775
15450
|
} else {
|
|
15776
|
-
var $jscomp$optchain$
|
|
15777
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
15451
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
15452
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm583190311$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm583190311$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
15778
15453
|
tokens.push(token);
|
|
15779
15454
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
15780
15455
|
return tokens;
|
|
@@ -16020,9 +15695,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16020
15695
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16021
15696
|
};
|
|
16022
15697
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16023
|
-
var $jscomp$this$
|
|
15698
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16024
15699
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16025
|
-
return $jscomp$this$
|
|
15700
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16026
15701
|
});
|
|
16027
15702
|
};
|
|
16028
15703
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16129,8 +15804,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16129
15804
|
return null;
|
|
16130
15805
|
}
|
|
16131
15806
|
if (token.lowercaseName === "url") {
|
|
16132
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16133
|
-
if ((($jscomp$optchain$
|
|
15807
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
15808
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16134
15809
|
return null;
|
|
16135
15810
|
}
|
|
16136
15811
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16153,8 +15828,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16153
15828
|
if (!this.allowKeyframes) {
|
|
16154
15829
|
return null;
|
|
16155
15830
|
}
|
|
16156
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16157
|
-
var rule = $jscomp$key$
|
|
15831
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1877845113$1$rule.done; $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next()) {
|
|
15832
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16158
15833
|
if (rule instanceof CSSKeyframeRule) {
|
|
16159
15834
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16160
15835
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16166,8 +15841,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16166
15841
|
if (!this.propertyAllowlist.has(name)) {
|
|
16167
15842
|
return !1;
|
|
16168
15843
|
}
|
|
16169
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16170
|
-
var discarder = $jscomp$key$
|
|
15844
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1877845113$2$discarder.done; $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next()) {
|
|
15845
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16171
15846
|
if (discarder(name)) {
|
|
16172
15847
|
return !1;
|
|
16173
15848
|
}
|
|
@@ -16182,8 +15857,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16182
15857
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16183
15858
|
};
|
|
16184
15859
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16185
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16186
|
-
var name = $jscomp$key$
|
|
15860
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1877845113$3$name.done; $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next()) {
|
|
15861
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16187
15862
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16188
15863
|
}
|
|
16189
15864
|
return sanitizedProperties;
|
|
@@ -16197,8 +15872,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16197
15872
|
return selector + " { " + sanitizedProperties + " }";
|
|
16198
15873
|
};
|
|
16199
15874
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16200
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16201
|
-
var rule = $jscomp$key$
|
|
15875
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1877845113$4$rule.done; $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next()) {
|
|
15876
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16202
15877
|
if (rule instanceof CSSStyleRule) {
|
|
16203
15878
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16204
15879
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16359,8 +16034,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16359
16034
|
return fragment;
|
|
16360
16035
|
};
|
|
16361
16036
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16362
|
-
for (var $jscomp$this$
|
|
16363
|
-
return $jscomp$this$
|
|
16037
|
+
for (var $jscomp$this$m1803429925$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
16038
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
16364
16039
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16365
16040
|
var sanitizedNode = void 0;
|
|
16366
16041
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16395,8 +16070,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16395
16070
|
return this.createTextNode(textNode.data);
|
|
16396
16071
|
};
|
|
16397
16072
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
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$
|
|
16399
|
-
var $jscomp$destructuring$
|
|
16073
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1803429925$34$.done; $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next()) {
|
|
16074
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1803429925$34$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
16400
16075
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16401
16076
|
switch(policy.policyAction) {
|
|
16402
16077
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16428,9 +16103,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16428
16103
|
break;
|
|
16429
16104
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16430
16105
|
if (this.resourceUrlPolicy) {
|
|
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$
|
|
16106
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1803429925$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part =
|
|
16432
16107
|
$jscomp$iter$35.next()) {
|
|
16433
|
-
var part = $jscomp$key$
|
|
16108
|
+
var part = $jscomp$key$m1803429925$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
16434
16109
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16435
16110
|
}
|
|
16436
16111
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16474,8 +16149,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16474
16149
|
if (!conditions) {
|
|
16475
16150
|
return !0;
|
|
16476
16151
|
}
|
|
16477
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16478
|
-
var $jscomp$destructuring$
|
|
16152
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1803429925$35$.done; $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next()) {
|
|
16153
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1803429925$0 = void 0, value = ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
16479
16154
|
if (value && !expectedValues.has(value)) {
|
|
16480
16155
|
return !1;
|
|
16481
16156
|
}
|
|
@@ -16490,8 +16165,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16490
16165
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16491
16166
|
};
|
|
16492
16167
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16493
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16494
|
-
var $jscomp$destructuring$
|
|
16168
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1803429925$36$part.done; $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next()) {
|
|
16169
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var34.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var34.next().value;
|
|
16495
16170
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16496
16171
|
}
|
|
16497
16172
|
return {parts:parts};
|
|
@@ -16548,8 +16223,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16548
16223
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
16549
16224
|
};
|
|
16550
16225
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
16551
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
16552
|
-
var element = $jscomp$key$
|
|
16226
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$21$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$21$element.done; $jscomp$key$m1412690177$21$element = $jscomp$iter$39.next()) {
|
|
16227
|
+
var element = $jscomp$key$m1412690177$21$element.value;
|
|
16553
16228
|
element = element.toUpperCase();
|
|
16554
16229
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
16555
16230
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -16567,8 +16242,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16567
16242
|
throw Error("Element: " + element + " is not a custom element");
|
|
16568
16243
|
}
|
|
16569
16244
|
if (allowedAttributes) {
|
|
16570
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
16571
|
-
elementPolicy.set($jscomp$key$
|
|
16245
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$22$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$22$attribute.done; $jscomp$key$m1412690177$22$attribute = $jscomp$iter$40.next()) {
|
|
16246
|
+
elementPolicy.set($jscomp$key$m1412690177$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
16572
16247
|
}
|
|
16573
16248
|
allowedElementPolicies.set(element, elementPolicy);
|
|
16574
16249
|
} else {
|
|
@@ -16578,15 +16253,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16578
16253
|
return this;
|
|
16579
16254
|
};
|
|
16580
16255
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
16581
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
16582
|
-
var attribute = $jscomp$key$
|
|
16256
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$23$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$23$attribute.done; $jscomp$key$m1412690177$23$attribute = $jscomp$iter$41.next()) {
|
|
16257
|
+
var attribute = $jscomp$key$m1412690177$23$attribute.value;
|
|
16583
16258
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
16584
16259
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
16585
16260
|
}
|
|
16586
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
16587
|
-
for (var $jscomp$destructuring$
|
|
16261
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$25$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$25$.done; $jscomp$key$m1412690177$25$ = $jscomp$iter$43.next()) {
|
|
16262
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$25$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$24$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$24$.done; $jscomp$key$m1412690177$24$ =
|
|
16588
16263
|
$jscomp$iter$42.next()) {
|
|
16589
|
-
var $jscomp$destructuring$
|
|
16264
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$24$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
16590
16265
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
16591
16266
|
}
|
|
16592
16267
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -16595,8 +16270,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16595
16270
|
return this;
|
|
16596
16271
|
};
|
|
16597
16272
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
16598
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
16599
|
-
var attribute = $jscomp$key$
|
|
16273
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$26$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$26$attribute.done; $jscomp$key$m1412690177$26$attribute = $jscomp$iter$44.next()) {
|
|
16274
|
+
var attribute = $jscomp$key$m1412690177$26$attribute.value;
|
|
16600
16275
|
if (attribute.indexOf("data-") !== 0) {
|
|
16601
16276
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
16602
16277
|
}
|
|
@@ -16658,7 +16333,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16658
16333
|
return this;
|
|
16659
16334
|
};
|
|
16660
16335
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
16661
|
-
var $jscomp$this$
|
|
16336
|
+
var $jscomp$this$m1412690177$17 = this;
|
|
16662
16337
|
this.extendSanitizerTableForCss();
|
|
16663
16338
|
var propertyDiscarders = [];
|
|
16664
16339
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -16668,9 +16343,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16668
16343
|
return /^transition(-|$)/.test(property);
|
|
16669
16344
|
});
|
|
16670
16345
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
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$
|
|
16346
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$17.resourceUrlPolicy, $jscomp$this$m1412690177$17.animationsAllowed, propertyDiscarders);
|
|
16672
16347
|
}, function(cssText) {
|
|
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$
|
|
16348
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$17.resourceUrlPolicy, propertyDiscarders);
|
|
16674
16349
|
}, this.resourceUrlPolicy);
|
|
16675
16350
|
};
|
|
16676
16351
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -16920,12 +16595,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16920
16595
|
}
|
|
16921
16596
|
try {
|
|
16922
16597
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16923
|
-
} catch ($jscomp$unused$catch$
|
|
16598
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
16924
16599
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16925
16600
|
}
|
|
16926
16601
|
try {
|
|
16927
16602
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16928
|
-
} catch ($jscomp$unused$catch$
|
|
16603
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
16929
16604
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16930
16605
|
}
|
|
16931
16606
|
return !1;
|
|
@@ -17020,10 +16695,84 @@ module$exports$safevalues$index.SafeUrl = module$exports$safevalues$internals$ur
|
|
|
17020
16695
|
module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
17021
16696
|
module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
17022
16697
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
16698
|
+
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
16699
|
+
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
16700
|
+
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
16701
|
+
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
16702
|
+
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
16703
|
+
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
16704
|
+
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
16705
|
+
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
16706
|
+
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
16707
|
+
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
16708
|
+
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
16709
|
+
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
16710
|
+
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
16711
|
+
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
16712
|
+
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
16713
|
+
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
16714
|
+
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
16715
|
+
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
16716
|
+
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
16717
|
+
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
16718
|
+
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
16719
|
+
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
16720
|
+
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
16721
|
+
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
16722
|
+
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
16723
|
+
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16724
|
+
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
16725
|
+
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
16726
|
+
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
16727
|
+
safevalues.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
16728
|
+
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
16729
|
+
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
16730
|
+
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
16731
|
+
safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
16732
|
+
safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
|
|
16733
|
+
safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
|
|
16734
|
+
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
16735
|
+
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
16736
|
+
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
16737
|
+
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
16738
|
+
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
16739
|
+
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
16740
|
+
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
16741
|
+
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
16742
|
+
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
16743
|
+
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
16744
|
+
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
16745
|
+
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
16746
|
+
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
16747
|
+
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
16748
|
+
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
16749
|
+
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
16750
|
+
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
16751
|
+
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
16752
|
+
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
16753
|
+
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
16754
|
+
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
16755
|
+
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
16756
|
+
safevalues.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
16757
|
+
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
16758
|
+
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
16759
|
+
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
16760
|
+
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
16761
|
+
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
16762
|
+
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
16763
|
+
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
16764
|
+
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
16765
|
+
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
16766
|
+
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
16767
|
+
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
16768
|
+
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
16769
|
+
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
16770
|
+
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
16771
|
+
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
16772
|
+
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
16773
|
+
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
16774
|
+
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
17023
16775
|
goog.dom.safe = {};
|
|
17024
|
-
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
17025
|
-
node.insertAdjacentHTML(position, module$exports$safevalues$index.unwrapHtml(html));
|
|
17026
|
-
};
|
|
17027
16776
|
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0};
|
|
17028
16777
|
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
17029
16778
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
@@ -17034,9 +16783,6 @@ goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
|
17034
16783
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
17035
16784
|
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
17036
16785
|
};
|
|
17037
|
-
goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
17038
|
-
elem.outerHTML = module$exports$safevalues$index.unwrapHtml(html);
|
|
17039
|
-
};
|
|
17040
16786
|
goog.dom.safe.setFormElementAction = function(form, url) {
|
|
17041
16787
|
module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17042
16788
|
};
|
|
@@ -17063,15 +16809,6 @@ goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
|
|
|
17063
16809
|
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);
|
|
17064
16810
|
}
|
|
17065
16811
|
};
|
|
17066
|
-
goog.dom.safe.setScriptSrc = function(script, url) {
|
|
17067
|
-
module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
|
|
17068
|
-
goog.dom.safe.setNonceForScriptElement_(script);
|
|
17069
|
-
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
17070
|
-
};
|
|
17071
|
-
goog.dom.safe.setNonceForScriptElement_ = function(script) {
|
|
17072
|
-
var nonce = goog.dom.safe.getScriptNonce(script.ownerDocument && script.ownerDocument.defaultView);
|
|
17073
|
-
nonce && script.setAttribute("nonce", nonce);
|
|
17074
|
-
};
|
|
17075
16812
|
goog.dom.safe.setLocationHref = function(loc, url) {
|
|
17076
16813
|
goog.dom.asserts.assertIsLocation(loc);
|
|
17077
16814
|
loc.href = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
@@ -17087,9 +16824,6 @@ goog.dom.safe.openInWindow = function(url, opt_openerWin, opt_name, opt_specs) {
|
|
|
17087
16824
|
var sanitizedUrl = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url), win = opt_openerWin || goog.global, name = opt_name instanceof goog.string.Const ? goog.string.Const.unwrap(opt_name) : opt_name || "";
|
|
17088
16825
|
return opt_specs !== void 0 ? win.open(sanitizedUrl, name, opt_specs) : win.open(sanitizedUrl, name);
|
|
17089
16826
|
};
|
|
17090
|
-
goog.dom.safe.parseFromStringHtml = function(parser, html) {
|
|
17091
|
-
return goog.dom.safe.parseFromString(parser, html, "text/html");
|
|
17092
|
-
};
|
|
17093
16827
|
goog.dom.safe.parseFromString = function(parser, content, type) {
|
|
17094
16828
|
return parser.parseFromString(module$exports$safevalues$index.unwrapHtml(content), type);
|
|
17095
16829
|
};
|
|
@@ -18986,83 +18720,6 @@ goog.async.Deferred.assertNoErrors = function() {
|
|
|
18986
18720
|
error.throwError();
|
|
18987
18721
|
}
|
|
18988
18722
|
};
|
|
18989
|
-
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
18990
|
-
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
18991
|
-
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
18992
|
-
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
18993
|
-
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
18994
|
-
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
18995
|
-
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
18996
|
-
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
18997
|
-
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
18998
|
-
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
18999
|
-
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
19000
|
-
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19001
|
-
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19002
|
-
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19003
|
-
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
19004
|
-
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19005
|
-
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19006
|
-
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19007
|
-
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
19008
|
-
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19009
|
-
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
19010
|
-
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19011
|
-
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19012
|
-
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
19013
|
-
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
19014
|
-
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19015
|
-
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19016
|
-
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19017
|
-
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19018
|
-
safevalues.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
19019
|
-
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19020
|
-
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19021
|
-
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
19022
|
-
safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
19023
|
-
safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
|
|
19024
|
-
safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
|
|
19025
|
-
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
19026
|
-
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
19027
|
-
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
19028
|
-
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
19029
|
-
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
19030
|
-
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
19031
|
-
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19032
|
-
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
19033
|
-
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
19034
|
-
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
19035
|
-
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
19036
|
-
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
19037
|
-
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
19038
|
-
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
19039
|
-
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
19040
|
-
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19041
|
-
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19042
|
-
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19043
|
-
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19044
|
-
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19045
|
-
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19046
|
-
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19047
|
-
safevalues.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
19048
|
-
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19049
|
-
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19050
|
-
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
19051
|
-
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
19052
|
-
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19053
|
-
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19054
|
-
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19055
|
-
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19056
|
-
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19057
|
-
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
19058
|
-
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19059
|
-
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19060
|
-
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
19061
|
-
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
19062
|
-
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
19063
|
-
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
19064
|
-
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
19065
|
-
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
19066
18723
|
goog.net = {};
|
|
19067
18724
|
goog.net.jsloader = {};
|
|
19068
18725
|
goog.net.jsloader.Options = {};
|
|
@@ -19531,7 +19188,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19531
19188
|
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
|
|
19532
19189
|
!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);
|
|
19533
19190
|
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()) {
|
|
19534
|
-
var $jscomp$destructuring$
|
|
19191
|
+
var $jscomp$destructuring$var41 = (0,$jscomp.makeIterator)($jscomp$key$m71669834$55$.value), key$jscomp$1 = $jscomp$destructuring$var41.next().value, value = $jscomp$destructuring$var41.next().value;
|
|
19535
19192
|
this.xhr_.setRequestHeader(key$jscomp$1, value);
|
|
19536
19193
|
}
|
|
19537
19194
|
this.responseType_ && (this.xhr_.responseType = this.responseType_);
|
|
@@ -19773,7 +19430,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19773
19430
|
ee.apiclient = {};
|
|
19774
19431
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19775
19432
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19776
|
-
ee.apiclient.API_CLIENT_VERSION = "1.1.
|
|
19433
|
+
ee.apiclient.API_CLIENT_VERSION = "1.1.1";
|
|
19777
19434
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19778
19435
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19779
19436
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19905,21 +19562,21 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
|
|
|
19905
19562
|
return this;
|
|
19906
19563
|
};
|
|
19907
19564
|
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
|
|
19908
|
-
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$
|
|
19909
|
-
var $jscomp$destructuring$
|
|
19910
|
-
var id = $jscomp$destructuring$
|
|
19911
|
-
var $jscomp$destructuring$
|
|
19912
|
-
var partBody = $jscomp$destructuring$
|
|
19913
|
-
$jscomp$destructuring$
|
|
19565
|
+
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var42) {
|
|
19566
|
+
var $jscomp$destructuring$var43 = (0,$jscomp.makeIterator)($jscomp$destructuring$var42);
|
|
19567
|
+
var id = $jscomp$destructuring$var43.next().value;
|
|
19568
|
+
var $jscomp$destructuring$var44 = (0,$jscomp.makeIterator)($jscomp$destructuring$var43.next().value);
|
|
19569
|
+
var partBody = $jscomp$destructuring$var44.next().value;
|
|
19570
|
+
$jscomp$destructuring$var44.next();
|
|
19914
19571
|
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";
|
|
19915
19572
|
}).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
|
|
19916
19573
|
var result = {};
|
|
19917
|
-
parts.forEach(function($jscomp$destructuring$
|
|
19918
|
-
var $jscomp$destructuring$
|
|
19919
|
-
var id = $jscomp$destructuring$
|
|
19920
|
-
var $jscomp$destructuring$
|
|
19921
|
-
$jscomp$destructuring$
|
|
19922
|
-
var ctor = $jscomp$destructuring$
|
|
19574
|
+
parts.forEach(function($jscomp$destructuring$var45) {
|
|
19575
|
+
var $jscomp$destructuring$var46 = (0,$jscomp.makeIterator)($jscomp$destructuring$var45);
|
|
19576
|
+
var id = $jscomp$destructuring$var46.next().value;
|
|
19577
|
+
var $jscomp$destructuring$var47 = (0,$jscomp.makeIterator)($jscomp$destructuring$var46.next().value);
|
|
19578
|
+
$jscomp$destructuring$var47.next();
|
|
19579
|
+
var ctor = $jscomp$destructuring$var47.next().value;
|
|
19923
19580
|
response[id] != null && (result[id] = module$contents$eeapiclient$domain_object_deserialize(ctor, response[id]));
|
|
19924
19581
|
});
|
|
19925
19582
|
return getResponse ? getResponse(result) : result;
|
|
@@ -20071,8 +19728,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
20071
19728
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
20072
19729
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
20073
19730
|
method = method || "POST";
|
|
20074
|
-
var headers = {"Content-Type":contentType}, version = "1.1.
|
|
20075
|
-
version === "1.1.
|
|
19731
|
+
var headers = {"Content-Type":contentType}, version = "1.1.1";
|
|
19732
|
+
version === "1.1.1" && (version = "latest");
|
|
20076
19733
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
20077
19734
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
20078
19735
|
if (authToken != null) {
|
|
@@ -20206,7 +19863,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
20206
19863
|
};
|
|
20207
19864
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
20208
19865
|
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()) {
|
|
20209
|
-
var $jscomp$destructuring$
|
|
19866
|
+
var $jscomp$destructuring$var49 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var49.next().value, item = $jscomp$destructuring$var49.next().value;
|
|
20210
19867
|
request.set(name, item);
|
|
20211
19868
|
}
|
|
20212
19869
|
return request;
|
|
@@ -20685,10 +20342,10 @@ ee.rpc_convert.legacyPropertiesToAssetUpdate = function(legacyProperties) {
|
|
|
20685
20342
|
typeof value !== "string" && value !== null || properties.title != null || (properties.title = asNull(value) || value);
|
|
20686
20343
|
extractValue("system:description");
|
|
20687
20344
|
typeof value !== "string" && value !== null || properties.description != null || (properties.description = asNull(value) || value);
|
|
20688
|
-
Object.entries(properties).forEach(function($jscomp$destructuring$
|
|
20689
|
-
var $jscomp$destructuring$
|
|
20690
|
-
var key = $jscomp$destructuring$
|
|
20691
|
-
var value = $jscomp$destructuring$
|
|
20345
|
+
Object.entries(properties).forEach(function($jscomp$destructuring$var50) {
|
|
20346
|
+
var $jscomp$destructuring$var51 = (0,$jscomp.makeIterator)($jscomp$destructuring$var50);
|
|
20347
|
+
var key = $jscomp$destructuring$var51.next().value;
|
|
20348
|
+
var value = $jscomp$destructuring$var51.next().value;
|
|
20692
20349
|
properties[key] = asNull(value) || value;
|
|
20693
20350
|
});
|
|
20694
20351
|
asset.properties = properties;
|
|
@@ -21274,7 +20931,7 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
|
|
|
21274
20931
|
return object;
|
|
21275
20932
|
}
|
|
21276
20933
|
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()) {
|
|
21277
|
-
var $jscomp$destructuring$
|
|
20934
|
+
var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var53.next().value, val = $jscomp$destructuring$var53.next().value;
|
|
21278
20935
|
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 ?
|
|
21279
20936
|
null : val : walkObject(val)) : ret[key] = walkObject(val);
|
|
21280
20937
|
}
|
|
@@ -21398,7 +21055,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
21398
21055
|
}
|
|
21399
21056
|
if (value.dictionaryValue != null) {
|
|
21400
21057
|
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()) {
|
|
21401
|
-
var $jscomp$destructuring$
|
|
21058
|
+
var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var55.next().value, v = $jscomp$destructuring$var55.next().value;
|
|
21402
21059
|
values[k] = this.optimizeValue(v, depth + 3);
|
|
21403
21060
|
constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
|
|
21404
21061
|
}
|
|
@@ -21685,9 +21342,9 @@ ee.rpc_convert_batch.buildRankByOneThingRule_ = function(ruleString) {
|
|
|
21685
21342
|
if (matches == null) {
|
|
21686
21343
|
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.");
|
|
21687
21344
|
}
|
|
21688
|
-
var $jscomp$destructuring$
|
|
21689
|
-
$jscomp$destructuring$
|
|
21690
|
-
var ruleType = $jscomp$destructuring$
|
|
21345
|
+
var $jscomp$destructuring$var56 = (0,$jscomp.makeIterator)(matches);
|
|
21346
|
+
$jscomp$destructuring$var56.next();
|
|
21347
|
+
var ruleType = $jscomp$destructuring$var56.next().value, direction = $jscomp$destructuring$var56.next().value;
|
|
21691
21348
|
switch(direction.toUpperCase()) {
|
|
21692
21349
|
case "ASC":
|
|
21693
21350
|
rankByOneThingRule.direction = "ASCENDING";
|
|
@@ -21948,8 +21605,8 @@ ee.data.getDownloadId = function(params, opt_callback) {
|
|
|
21948
21605
|
}) && (params.bands = params.bands.map(function(band) {
|
|
21949
21606
|
return {id:band};
|
|
21950
21607
|
}));
|
|
21951
|
-
if (params.bands && params.bands.some(function($jscomp$destructuring$
|
|
21952
|
-
return $jscomp$destructuring$
|
|
21608
|
+
if (params.bands && params.bands.some(function($jscomp$destructuring$var57) {
|
|
21609
|
+
return $jscomp$destructuring$var57.id == null;
|
|
21953
21610
|
})) {
|
|
21954
21611
|
throw Error("Each band dictionary must have an id.");
|
|
21955
21612
|
}
|
|
@@ -24581,7 +24238,7 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
|
|
|
24581
24238
|
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
24582
24239
|
}
|
|
24583
24240
|
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()) {
|
|
24584
|
-
var $jscomp$destructuring$
|
|
24241
|
+
var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var60.next().value, value = $jscomp$destructuring$var60.next().value;
|
|
24585
24242
|
if (!module$contents$goog$array_contains(validOptionKeys, key)) {
|
|
24586
24243
|
var validKeysMsg = validOptionKeys.join(", ");
|
|
24587
24244
|
throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
|
|
@@ -27601,29 +27258,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27601
27258
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27602
27259
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27603
27260
|
(function() {
|
|
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.
|
|
27261
|
+
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.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.filterMetadata ee.Collection.prototype.map ee.Collection.prototype.iterate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.updateAsset ee.data.updateTask ee.data.makeThumbUrl ee.data.getList ee.data.getFilmstripThumbId ee.data.startIngestion ee.data.createFolder ee.data.startProcessing ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.getMapId ee.data.renameAsset ee.data.listAssets ee.data.getTaskList ee.data.authenticate ee.data.setAssetProperties ee.data.getTaskStatus ee.data.copyAsset ee.data.getTileUrl ee.data.getTableDownloadId ee.data.makeTableDownloadUrl ee.data.listBuckets ee.data.deleteAsset ee.data.getTaskListWithLimit ee.data.listOperations ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.getDownloadId ee.data.authenticateViaPopup ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.getFeatureViewTilesKey ee.data.cancelOperation ee.data.listFeatures ee.data.makeDownloadUrl ee.data.listImages ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.createAssetHome ee.data.getOperation ee.data.newTaskId ee.data.createAsset ee.data.setWorkloadTag ee.data.computeValue ee.data.getInfo ee.data.getThumbId ee.data.setDefaultWorkloadTag ee.data.cancelTask ee.data.getVideoThumbId ee.data.resetWorkloadTag ee.Date ee.Deserializer.decode ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature ee.Feature.prototype.getMap ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getMapId ee.Filter.inList ee.Filter.gt ee.Filter.or ee.Filter.lt ee.Filter.neq ee.Filter.lte ee.Filter.gte ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.prototype.not ee.Filter ee.Filter.eq ee.Filter.and ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.serialize ee.Geometry.MultiPoint ee.Geometry.BBox ee.Geometry ee.Geometry.LineString ee.Geometry.Rectangle ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.MultiPolygon ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiLineString ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Image.prototype.expression ee.Image.rgb ee.Image.prototype.clip ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image ee.Image.prototype.getDownloadURL ee.Image.prototype.getMap ee.Image.prototype.getThumbURL ee.Image.cat ee.Image.prototype.rename ee.Image.prototype.select ee.Image.prototype.getThumbId ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.List ee.Number ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.String ee.Terrain".split(" "),
|
|
27605
27262
|
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
27263
|
"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
27264
|
"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
27265
|
["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
|
-
["
|
|
27610
|
-
["
|
|
27611
|
-
"
|
|
27612
|
-
["
|
|
27613
|
-
["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], [
|
|
27614
|
-
"
|
|
27615
|
-
"east", "north"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"
|
|
27616
|
-
|
|
27617
|
-
["list"], ["number"], ["obj"], ["obj"], ["obj", "
|
|
27266
|
+
["geometry"], ["start", "opt_end"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["filter"], ["name", "operator", "value"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "action", "opt_callback"], ["id"], ["params", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["path", "opt_force", "opt_callback"],
|
|
27267
|
+
["taskId", "params", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["assetId", "properties", "opt_callback"], ["taskId", "opt_callback"], ["sourceId", "destinationId",
|
|
27268
|
+
"opt_overwrite", "opt_callback"], ["id", "x", "y", "z"], ["params", "opt_callback"], ["id"], ["project", "opt_callback"], ["assetId", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["rootId", "opt_callback"], ["params", "opt_callback"], ["opt_success", "opt_error"], ["assetId", "opt_callback"], [], ["params", "opt_callback"], ["operationName", "opt_callback"], ["asset", "params", "opt_callback"], ["id"], ["parent", "opt_params",
|
|
27269
|
+
"opt_callback"], ["id", "opt_callback"], ["opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["requestedId", "opt_callback"], ["operationName", "opt_callback"], ["opt_count", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["tag"], ["obj", "opt_callback"], ["id", "opt_callback"], ["params", "opt_callback"], ["tag"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["opt_resetDefault"], ["date",
|
|
27270
|
+
"opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], ["func", "namedArgs"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["opt_callback"], ["opt_format", "opt_selectors",
|
|
27271
|
+
"opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], ["name", "value"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], [], ["opt_filter"], ["name", "value"], ["var_args"], ["namedArgs"], ["var_args"], ["legacy"], ["coords", "opt_proj"], ["west", "south",
|
|
27272
|
+
"east", "north"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["expression", "opt_map"], ["r",
|
|
27273
|
+
"g", "b"], ["geometry"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["var_args"], ["var_args"], ["params", "opt_callback"], [], ["params", "opt_callback"], ["args"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties",
|
|
27274
|
+
"opt_matchPropertyName"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["string"], []];
|
|
27618
27275
|
[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.
|
|
27620
|
-
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.
|
|
27621
|
-
ee.data.
|
|
27622
|
-
ee.data.
|
|
27623
|
-
ee.
|
|
27624
|
-
ee.Filter.
|
|
27625
|
-
ee.Image.
|
|
27626
|
-
ee.ImageCollection.prototype.
|
|
27276
|
+
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.filterBounds, ee.Collection.prototype.filterDate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filter, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.ComputedObject.prototype.aside,
|
|
27277
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.updateAsset, ee.data.updateTask, ee.data.makeThumbUrl, ee.data.getList, ee.data.getFilmstripThumbId, ee.data.startIngestion, ee.data.createFolder, ee.data.startProcessing, ee.data.authenticateViaOauth, ee.data.setAssetAcl, ee.data.getMapId, ee.data.renameAsset, ee.data.listAssets, ee.data.getTaskList, ee.data.authenticate, ee.data.setAssetProperties, ee.data.getTaskStatus, ee.data.copyAsset,
|
|
27278
|
+
ee.data.getTileUrl, ee.data.getTableDownloadId, ee.data.makeTableDownloadUrl, ee.data.listBuckets, ee.data.deleteAsset, ee.data.getTaskListWithLimit, ee.data.listOperations, ee.data.startTableIngestion, ee.data.getAssetRootQuota, ee.data.getDownloadId, ee.data.authenticateViaPopup, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.getFeatureViewTilesKey, ee.data.cancelOperation, ee.data.listFeatures, ee.data.makeDownloadUrl, ee.data.listImages, ee.data.getAsset, ee.data.getAssetRoots, ee.data.authenticateViaPrivateKey,
|
|
27279
|
+
ee.data.createAssetHome, ee.data.getOperation, ee.data.newTaskId, ee.data.createAsset, ee.data.setWorkloadTag, ee.data.computeValue, ee.data.getInfo, ee.data.getThumbId, ee.data.setDefaultWorkloadTag, ee.data.cancelTask, ee.data.getVideoThumbId, ee.data.resetWorkloadTag, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Dictionary, ee.InitState, ee.apply, ee.TILE_SIZE, ee.initialize, ee.call, ee.reset, ee.Algorithms,
|
|
27280
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature, ee.Feature.prototype.getMap, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getMapId, ee.Filter.inList, ee.Filter.gt, ee.Filter.or, ee.Filter.lt, ee.Filter.neq, ee.Filter.lte, ee.Filter.gte, ee.Filter.date,
|
|
27281
|
+
ee.Filter.metadata, ee.Filter.bounds, ee.Filter.prototype.not, ee.Filter, ee.Filter.eq, ee.Filter.and, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.prototype.serialize, ee.Geometry.MultiPoint, ee.Geometry.BBox, ee.Geometry, ee.Geometry.LineString, ee.Geometry.Rectangle, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.MultiPolygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.MultiLineString, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSONString, ee.Image.prototype.expression,
|
|
27282
|
+
ee.Image.rgb, ee.Image.prototype.clip, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getMap, ee.Image.prototype.getThumbURL, ee.Image.cat, ee.Image.prototype.rename, ee.Image.prototype.select, ee.Image.prototype.getThumbId, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.getFilmstripThumbURL,
|
|
27283
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.List, ee.Number, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27627
27284
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27628
27285
|
});
|
|
27629
27286
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|