@google/earthengine 0.1.415 → 0.1.417
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 +1038 -370
- package/build/ee_api_js.js +605 -603
- package/build/ee_api_js_debug.js +1015 -347
- package/build/ee_api_js_npm.js +1038 -370
- package/build/main.js +1038 -370
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/examples/UserInterface/OceanTimeseriesInvestigator.js +35 -19
package/build/ee_api_js_npm.js
CHANGED
|
@@ -990,6 +990,78 @@ $jscomp.polyfill("Map", function(NativeMap) {
|
|
|
990
990
|
};
|
|
991
991
|
return PolyfillMap;
|
|
992
992
|
}, "es6", "es3");
|
|
993
|
+
$jscomp.polyfill("Set", function(NativeSet) {
|
|
994
|
+
function isConformant() {
|
|
995
|
+
if ($jscomp.ASSUME_NO_NATIVE_SET || !NativeSet || typeof NativeSet != "function" || !NativeSet.prototype.entries || typeof Object.seal != "function") {
|
|
996
|
+
return !1;
|
|
997
|
+
}
|
|
998
|
+
try {
|
|
999
|
+
var value = Object.seal({x:4}), set = new NativeSet($jscomp.makeIterator([value]));
|
|
1000
|
+
if (!set.has(value) || set.size != 1 || set.add(value) != set || set.size != 1 || set.add({x:4}) != set || set.size != 2) {
|
|
1001
|
+
return !1;
|
|
1002
|
+
}
|
|
1003
|
+
var iter = set.entries(), item = iter.next();
|
|
1004
|
+
if (item.done || item.value[0] != value || item.value[1] != value) {
|
|
1005
|
+
return !1;
|
|
1006
|
+
}
|
|
1007
|
+
item = iter.next();
|
|
1008
|
+
return item.done || item.value[0] == value || item.value[0].x != 4 || item.value[1] != item.value[0] ? !1 : iter.next().done;
|
|
1009
|
+
} catch (err) {
|
|
1010
|
+
return !1;
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
if ($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS) {
|
|
1014
|
+
if (NativeSet && $jscomp.ES6_CONFORMANCE) {
|
|
1015
|
+
return NativeSet;
|
|
1016
|
+
}
|
|
1017
|
+
} else {
|
|
1018
|
+
if (isConformant()) {
|
|
1019
|
+
return NativeSet;
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
var PolyfillSet = function(opt_iterable) {
|
|
1023
|
+
this.map_ = new Map();
|
|
1024
|
+
if (opt_iterable) {
|
|
1025
|
+
for (var iter = $jscomp.makeIterator(opt_iterable), entry; !(entry = iter.next()).done;) {
|
|
1026
|
+
this.add(entry.value);
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
this.size = this.map_.size;
|
|
1030
|
+
};
|
|
1031
|
+
PolyfillSet.prototype.add = function(value) {
|
|
1032
|
+
value = value === 0 ? 0 : value;
|
|
1033
|
+
this.map_.set(value, value);
|
|
1034
|
+
this.size = this.map_.size;
|
|
1035
|
+
return this;
|
|
1036
|
+
};
|
|
1037
|
+
PolyfillSet.prototype.delete = function(value) {
|
|
1038
|
+
var result = this.map_.delete(value);
|
|
1039
|
+
this.size = this.map_.size;
|
|
1040
|
+
return result;
|
|
1041
|
+
};
|
|
1042
|
+
PolyfillSet.prototype.clear = function() {
|
|
1043
|
+
this.map_.clear();
|
|
1044
|
+
this.size = 0;
|
|
1045
|
+
};
|
|
1046
|
+
PolyfillSet.prototype.has = function(value) {
|
|
1047
|
+
return this.map_.has(value);
|
|
1048
|
+
};
|
|
1049
|
+
PolyfillSet.prototype.entries = function() {
|
|
1050
|
+
return this.map_.entries();
|
|
1051
|
+
};
|
|
1052
|
+
PolyfillSet.prototype.values = function() {
|
|
1053
|
+
return this.map_.values();
|
|
1054
|
+
};
|
|
1055
|
+
PolyfillSet.prototype.keys = PolyfillSet.prototype.values;
|
|
1056
|
+
PolyfillSet.prototype[Symbol.iterator] = PolyfillSet.prototype.values;
|
|
1057
|
+
PolyfillSet.prototype.forEach = function(callback, opt_thisArg) {
|
|
1058
|
+
var set = this;
|
|
1059
|
+
this.map_.forEach(function(value) {
|
|
1060
|
+
return callback.call(opt_thisArg, value, value, set);
|
|
1061
|
+
});
|
|
1062
|
+
};
|
|
1063
|
+
return PolyfillSet;
|
|
1064
|
+
}, "es6", "es3");
|
|
993
1065
|
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
994
1066
|
if (thisArg == null) {
|
|
995
1067
|
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
@@ -1125,77 +1197,32 @@ $jscomp.polyfill("Array.prototype.find", function(orig) {
|
|
|
1125
1197
|
return $jscomp.findInternal(this, callback, opt_thisArg).v;
|
|
1126
1198
|
};
|
|
1127
1199
|
}, "es6", "es3");
|
|
1128
|
-
$jscomp.polyfill("
|
|
1129
|
-
function
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
var
|
|
1135
|
-
if (
|
|
1136
|
-
return
|
|
1200
|
+
$jscomp.polyfill("String.prototype.codePointAt", function(orig) {
|
|
1201
|
+
return orig ? orig : function(position) {
|
|
1202
|
+
var string = $jscomp.checkStringArgs(this, null, "codePointAt"), size = string.length;
|
|
1203
|
+
position = Number(position) || 0;
|
|
1204
|
+
if (position >= 0 && position < size) {
|
|
1205
|
+
position |= 0;
|
|
1206
|
+
var first = string.charCodeAt(position);
|
|
1207
|
+
if (first < 55296 || first > 56319 || position + 1 === size) {
|
|
1208
|
+
return first;
|
|
1137
1209
|
}
|
|
1138
|
-
var
|
|
1139
|
-
|
|
1140
|
-
return !1;
|
|
1141
|
-
}
|
|
1142
|
-
item = iter.next();
|
|
1143
|
-
return item.done || item.value[0] == value || item.value[0].x != 4 || item.value[1] != item.value[0] ? !1 : iter.next().done;
|
|
1144
|
-
} catch (err) {
|
|
1145
|
-
return !1;
|
|
1210
|
+
var second = string.charCodeAt(position + 1);
|
|
1211
|
+
return second < 56320 || second > 57343 ? first : (first - 55296) * 1024 + second + 9216;
|
|
1146
1212
|
}
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
var PolyfillSet = function(opt_iterable) {
|
|
1158
|
-
this.map_ = new Map();
|
|
1159
|
-
if (opt_iterable) {
|
|
1160
|
-
for (var iter = $jscomp.makeIterator(opt_iterable), entry; !(entry = iter.next()).done;) {
|
|
1161
|
-
this.add(entry.value);
|
|
1213
|
+
};
|
|
1214
|
+
}, "es6", "es3");
|
|
1215
|
+
$jscomp.polyfill("String.fromCodePoint", function(orig) {
|
|
1216
|
+
return orig ? orig : function(var_args) {
|
|
1217
|
+
for (var result = "", i = 0; i < arguments.length; i++) {
|
|
1218
|
+
var code = Number(arguments[i]);
|
|
1219
|
+
if (code < 0 || code > 1114111 || code !== Math.floor(code)) {
|
|
1220
|
+
throw new RangeError("invalid_code_point " + code);
|
|
1162
1221
|
}
|
|
1222
|
+
code <= 65535 ? result += String.fromCharCode(code) : (code -= 65536, result += String.fromCharCode(code >>> 10 & 1023 | 55296), result += String.fromCharCode(code & 1023 | 56320));
|
|
1163
1223
|
}
|
|
1164
|
-
this.size = this.map_.size;
|
|
1165
|
-
};
|
|
1166
|
-
PolyfillSet.prototype.add = function(value) {
|
|
1167
|
-
value = value === 0 ? 0 : value;
|
|
1168
|
-
this.map_.set(value, value);
|
|
1169
|
-
this.size = this.map_.size;
|
|
1170
|
-
return this;
|
|
1171
|
-
};
|
|
1172
|
-
PolyfillSet.prototype.delete = function(value) {
|
|
1173
|
-
var result = this.map_.delete(value);
|
|
1174
|
-
this.size = this.map_.size;
|
|
1175
1224
|
return result;
|
|
1176
1225
|
};
|
|
1177
|
-
PolyfillSet.prototype.clear = function() {
|
|
1178
|
-
this.map_.clear();
|
|
1179
|
-
this.size = 0;
|
|
1180
|
-
};
|
|
1181
|
-
PolyfillSet.prototype.has = function(value) {
|
|
1182
|
-
return this.map_.has(value);
|
|
1183
|
-
};
|
|
1184
|
-
PolyfillSet.prototype.entries = function() {
|
|
1185
|
-
return this.map_.entries();
|
|
1186
|
-
};
|
|
1187
|
-
PolyfillSet.prototype.values = function() {
|
|
1188
|
-
return this.map_.values();
|
|
1189
|
-
};
|
|
1190
|
-
PolyfillSet.prototype.keys = PolyfillSet.prototype.values;
|
|
1191
|
-
PolyfillSet.prototype[Symbol.iterator] = PolyfillSet.prototype.values;
|
|
1192
|
-
PolyfillSet.prototype.forEach = function(callback, opt_thisArg) {
|
|
1193
|
-
var set = this;
|
|
1194
|
-
this.map_.forEach(function(value) {
|
|
1195
|
-
return callback.call(opt_thisArg, value, value, set);
|
|
1196
|
-
});
|
|
1197
|
-
};
|
|
1198
|
-
return PolyfillSet;
|
|
1199
1226
|
}, "es6", "es3");
|
|
1200
1227
|
$jscomp.polyfill("String.prototype.trimLeft", function(orig) {
|
|
1201
1228
|
function polyfill() {
|
|
@@ -1222,8 +1249,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1222
1249
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1223
1250
|
};
|
|
1224
1251
|
}, "es8", "es3");
|
|
1225
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_direct_reactions__disable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__jspb_enable_low_index_extension_writes__disable:!1,
|
|
1226
|
-
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};
|
|
1252
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_direct_reactions__disable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__jspb_enable_low_index_extension_writes__disable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__enable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1,
|
|
1253
|
+
GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1227
1254
|
/*
|
|
1228
1255
|
|
|
1229
1256
|
Copyright The Closure Library Authors.
|
|
@@ -2118,9 +2145,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2118
2145
|
};
|
|
2119
2146
|
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;
|
|
2120
2147
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2121
|
-
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$
|
|
2122
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2123
|
-
var key = $jscomp$key$
|
|
2148
|
+
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 =
|
|
2149
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2150
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2124
2151
|
if (value != null) {
|
|
2125
2152
|
var copy = void 0;
|
|
2126
2153
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2131,11 +2158,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2131
2158
|
} else if (objects.hasOwnProperty(key)) {
|
|
2132
2159
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2133
2160
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2134
|
-
$jscomp$loop$
|
|
2161
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2135
2162
|
return function(v) {
|
|
2136
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2163
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2137
2164
|
};
|
|
2138
|
-
}($jscomp$loop$
|
|
2165
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2139
2166
|
} else if (Array.isArray(value)) {
|
|
2140
2167
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2141
2168
|
continue;
|
|
@@ -2150,8 +2177,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2150
2177
|
return target;
|
|
2151
2178
|
}
|
|
2152
2179
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2153
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2154
|
-
var mapKey = $jscomp$key$
|
|
2180
|
+
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()) {
|
|
2181
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2155
2182
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2156
2183
|
}
|
|
2157
2184
|
return objMap;
|
|
@@ -2181,39 +2208,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2181
2208
|
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))) {
|
|
2182
2209
|
return !1;
|
|
2183
2210
|
}
|
|
2184
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2185
|
-
var key = $jscomp$key$
|
|
2211
|
+
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()) {
|
|
2212
|
+
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);
|
|
2186
2213
|
if (has1 !== has2) {
|
|
2187
2214
|
return !1;
|
|
2188
2215
|
}
|
|
2189
2216
|
if (has1) {
|
|
2190
2217
|
var value1 = serializable1.Serializable$get(key);
|
|
2191
|
-
$jscomp$loop$
|
|
2218
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2192
2219
|
if (arrays1.hasOwnProperty(key)) {
|
|
2193
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2220
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2194
2221
|
return !1;
|
|
2195
2222
|
}
|
|
2196
2223
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2197
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2224
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2198
2225
|
return !1;
|
|
2199
2226
|
}
|
|
2200
2227
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2201
|
-
if ($jscomp$loop$
|
|
2202
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2228
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2229
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2203
2230
|
return function(v1, i) {
|
|
2204
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2231
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2205
2232
|
};
|
|
2206
|
-
}($jscomp$loop$
|
|
2233
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2207
2234
|
return !1;
|
|
2208
2235
|
}
|
|
2209
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2236
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2210
2237
|
return !1;
|
|
2211
2238
|
}
|
|
2212
2239
|
} else if (Array.isArray(value1)) {
|
|
2213
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2240
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2214
2241
|
return !1;
|
|
2215
2242
|
}
|
|
2216
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2243
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2217
2244
|
return !1;
|
|
2218
2245
|
}
|
|
2219
2246
|
}
|
|
@@ -2235,8 +2262,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2235
2262
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2236
2263
|
return !1;
|
|
2237
2264
|
}
|
|
2238
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2239
|
-
var mapKey = $jscomp$key$
|
|
2265
|
+
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()) {
|
|
2266
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2240
2267
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2241
2268
|
return !1;
|
|
2242
2269
|
}
|
|
@@ -2317,15 +2344,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2317
2344
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2318
2345
|
};
|
|
2319
2346
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2320
|
-
var $jscomp$this$
|
|
2347
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2321
2348
|
payload += this._metadataPayload;
|
|
2322
2349
|
return Promise.all(this.files.map(function(f) {
|
|
2323
|
-
return $jscomp$this$
|
|
2350
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2324
2351
|
})).then(function(filePayloads) {
|
|
2325
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2326
|
-
payload += $jscomp$key$
|
|
2352
|
+
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()) {
|
|
2353
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2327
2354
|
}
|
|
2328
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2355
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2329
2356
|
});
|
|
2330
2357
|
};
|
|
2331
2358
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2975,8 +3002,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2975
3002
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
2976
3003
|
}
|
|
2977
3004
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2978
|
-
var $jscomp$templatelit$
|
|
2979
|
-
["\\0"]), $jscomp$templatelit$
|
|
3005
|
+
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"],
|
|
3006
|
+
["\\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"};
|
|
2980
3007
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2981
3008
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2982
3009
|
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 ##############################");
|
|
@@ -2990,14 +3017,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2990
3017
|
return fn.toString().indexOf("`") === -1;
|
|
2991
3018
|
}
|
|
2992
3019
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2993
|
-
return tag($jscomp$templatelit$
|
|
3020
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2994
3021
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2995
|
-
return tag($jscomp$templatelit$
|
|
3022
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2996
3023
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2997
|
-
return tag($jscomp$templatelit$
|
|
3024
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2998
3025
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2999
|
-
return tag($jscomp$templatelit$
|
|
3000
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3026
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
3027
|
+
}), 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);
|
|
3001
3028
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3002
3029
|
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)) ?
|
|
3003
3030
|
!0 : !1;
|
|
@@ -3349,7 +3376,7 @@ var module$contents$goog$array_map = goog.NATIVE_ARRAY_PROTOTYPES && (module$con
|
|
|
3349
3376
|
goog.array.map = module$contents$goog$array_map;
|
|
3350
3377
|
goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduce) ? function(arr, f, val, opt_obj) {
|
|
3351
3378
|
goog.asserts.assert(arr.length != null);
|
|
3352
|
-
opt_obj && (f = goog.bind(f, opt_obj));
|
|
3379
|
+
opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
|
|
3353
3380
|
return Array.prototype.reduce.call(arr, f, val);
|
|
3354
3381
|
} : function(arr, f, val, opt_obj) {
|
|
3355
3382
|
var rval = val;
|
|
@@ -3361,7 +3388,7 @@ goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_
|
|
|
3361
3388
|
goog.array.reduceRight = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduceRight) ? function(arr, f, val, opt_obj) {
|
|
3362
3389
|
goog.asserts.assert(arr.length != null);
|
|
3363
3390
|
goog.asserts.assert(f != null);
|
|
3364
|
-
opt_obj && (f = goog.bind(f, opt_obj));
|
|
3391
|
+
opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
|
|
3365
3392
|
return Array.prototype.reduceRight.call(arr, f, val);
|
|
3366
3393
|
} : function(arr, f, val, opt_obj) {
|
|
3367
3394
|
var rval = val;
|
|
@@ -3531,14 +3558,25 @@ function module$contents$goog$array_slice(arr, start, opt_end) {
|
|
|
3531
3558
|
return arguments.length <= 2 ? Array.prototype.slice.call(arr, start) : Array.prototype.slice.call(arr, start, opt_end);
|
|
3532
3559
|
}
|
|
3533
3560
|
goog.array.slice = module$contents$goog$array_slice;
|
|
3534
|
-
function module$contents$goog$array_removeDuplicates(arr, opt_rv,
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3561
|
+
function module$contents$goog$array_removeDuplicates(arr, opt_rv, opt_keyFn) {
|
|
3562
|
+
var returnArray = opt_rv || arr;
|
|
3563
|
+
if (goog.FEATURESET_YEAR >= 2018) {
|
|
3564
|
+
for (var defaultKeyFn = function(item) {
|
|
3565
|
+
return item;
|
|
3566
|
+
}, keyFn = opt_keyFn || defaultKeyFn, cursorInsert = 0, cursorRead = 0, seen = new Set(); cursorRead < arr.length;) {
|
|
3567
|
+
var current = arr[cursorRead++], key = keyFn(current);
|
|
3568
|
+
seen.has(key) || (seen.add(key), returnArray[cursorInsert++] = current);
|
|
3569
|
+
}
|
|
3570
|
+
returnArray.length = cursorInsert;
|
|
3571
|
+
} else {
|
|
3572
|
+
for (var defaultKeyFn$jscomp$0 = function(item) {
|
|
3573
|
+
return goog.isObject(item) ? "o" + goog.getUid(item) : (typeof item).charAt(0) + item;
|
|
3574
|
+
}, keyFn$jscomp$0 = opt_keyFn || defaultKeyFn$jscomp$0, cursorInsert$jscomp$0 = 0, cursorRead$jscomp$0 = 0, seen$jscomp$0 = {}; cursorRead$jscomp$0 < arr.length;) {
|
|
3575
|
+
var current$jscomp$0 = arr[cursorRead$jscomp$0++], key$jscomp$0 = keyFn$jscomp$0(current$jscomp$0);
|
|
3576
|
+
Object.prototype.hasOwnProperty.call(seen$jscomp$0, key$jscomp$0) || (seen$jscomp$0[key$jscomp$0] = !0, returnArray[cursorInsert$jscomp$0++] = current$jscomp$0);
|
|
3577
|
+
}
|
|
3578
|
+
returnArray.length = cursorInsert$jscomp$0;
|
|
3540
3579
|
}
|
|
3541
|
-
returnArray.length = cursorInsert;
|
|
3542
3580
|
}
|
|
3543
3581
|
goog.array.removeDuplicates = module$contents$goog$array_removeDuplicates;
|
|
3544
3582
|
function module$contents$goog$array_binarySearch(arr, target, opt_compareFn) {
|
|
@@ -3894,43 +3932,59 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
3894
3932
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
3895
3933
|
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
3896
3934
|
};
|
|
3935
|
+
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
3936
|
+
module$exports$safevalues$internals$style_impl.SafeStyle = function(token, value) {
|
|
3937
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3938
|
+
this.privateDoNotAccessOrElseWrappedStyle = value;
|
|
3939
|
+
};
|
|
3940
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.prototype.toString = function() {
|
|
3941
|
+
return this.privateDoNotAccessOrElseWrappedStyle;
|
|
3942
|
+
};
|
|
3943
|
+
var module$contents$safevalues$internals$style_impl_StyleImpl = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3944
|
+
function module$contents$safevalues$internals$style_impl_createStyleInternal(value) {
|
|
3945
|
+
return new module$exports$safevalues$internals$style_impl.SafeStyle(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3946
|
+
}
|
|
3947
|
+
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3948
|
+
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
3949
|
+
return value instanceof module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3950
|
+
}
|
|
3951
|
+
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
3952
|
+
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
3953
|
+
if (module$contents$safevalues$internals$style_impl_isStyle(value)) {
|
|
3954
|
+
return value.privateDoNotAccessOrElseWrappedStyle;
|
|
3955
|
+
}
|
|
3956
|
+
var message = "";
|
|
3957
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyle, got '" + value + "' of type '" + typeof value + "'");
|
|
3958
|
+
throw Error(message);
|
|
3959
|
+
}
|
|
3960
|
+
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3897
3961
|
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"};
|
|
3898
3962
|
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3963
|
+
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3964
|
+
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3965
|
+
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3899
3966
|
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3900
3967
|
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3901
3968
|
var module$exports$safevalues$for_closure = {};
|
|
3902
3969
|
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3970
|
+
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3971
|
+
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3972
|
+
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3903
3973
|
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3904
3974
|
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3905
|
-
|
|
3906
|
-
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
3907
|
-
throw Error("SafeStyle is not meant to be built directly");
|
|
3908
|
-
}
|
|
3909
|
-
this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = value;
|
|
3910
|
-
};
|
|
3911
|
-
module$contents$goog$html$SafeStyle_SafeStyle.fromConstant = function(style) {
|
|
3975
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
3912
3976
|
var styleString = goog.string.Const.unwrap(style);
|
|
3913
3977
|
if (styleString.length === 0) {
|
|
3914
|
-
return module$
|
|
3978
|
+
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3915
3979
|
}
|
|
3916
3980
|
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
3917
3981
|
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
3918
|
-
return module$contents$
|
|
3919
|
-
};
|
|
3920
|
-
module$contents$goog$html$SafeStyle_SafeStyle.prototype.toString = function() {
|
|
3921
|
-
return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString();
|
|
3982
|
+
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
3922
3983
|
};
|
|
3923
|
-
module$
|
|
3924
|
-
|
|
3925
|
-
return safeStyle.privateDoNotAccessOrElseSafeStyleWrappedValue_;
|
|
3926
|
-
}
|
|
3927
|
-
(0,goog.asserts.fail)("expected object of type SafeStyle, got '" + safeStyle + "' of type " + goog.typeOf(safeStyle));
|
|
3928
|
-
return "type_error:SafeStyle";
|
|
3929
|
-
};
|
|
3930
|
-
module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse = function(style) {
|
|
3931
|
-
return new module$contents$goog$html$SafeStyle_SafeStyle(style, module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
3984
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
3985
|
+
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
3932
3986
|
};
|
|
3933
|
-
module$
|
|
3987
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
3934
3988
|
var style = "", name;
|
|
3935
3989
|
for (name in map) {
|
|
3936
3990
|
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
@@ -3941,17 +3995,17 @@ module$contents$goog$html$SafeStyle_SafeStyle.create = function(map) {
|
|
|
3941
3995
|
value != null && (value = Array.isArray(value) ? value.map(module$contents$goog$html$SafeStyle_sanitizePropertyValue).join(" ") : module$contents$goog$html$SafeStyle_sanitizePropertyValue(value), style += name + ":" + value + ";");
|
|
3942
3996
|
}
|
|
3943
3997
|
}
|
|
3944
|
-
return style ? module$contents$
|
|
3998
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3945
3999
|
};
|
|
3946
|
-
module$
|
|
4000
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
3947
4001
|
var style = "", addArgument = function(argument) {
|
|
3948
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$
|
|
4002
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
3949
4003
|
};
|
|
3950
4004
|
Array.prototype.forEach.call(arguments, addArgument);
|
|
3951
|
-
return style ? module$contents$
|
|
4005
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3952
4006
|
};
|
|
3953
|
-
module$
|
|
3954
|
-
module$
|
|
4007
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
4008
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
3955
4009
|
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
3956
4010
|
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
3957
4011
|
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
@@ -3966,16 +4020,16 @@ function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value)
|
|
|
3966
4020
|
var valueWithoutFunctions = value.replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_URL_RE, "url");
|
|
3967
4021
|
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
3968
4022
|
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
3969
|
-
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$
|
|
4023
|
+
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3970
4024
|
}
|
|
3971
4025
|
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
3972
|
-
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$
|
|
4026
|
+
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3973
4027
|
}
|
|
3974
4028
|
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
3975
|
-
return (0,goog.asserts.fail)("String value requires balanced square brackets and one identifier per pair of brackets, got: " + value), module$
|
|
4029
|
+
return (0,goog.asserts.fail)("String value requires balanced square brackets and one identifier per pair of brackets, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3976
4030
|
}
|
|
3977
4031
|
} else {
|
|
3978
|
-
return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$
|
|
4032
|
+
return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3979
4033
|
}
|
|
3980
4034
|
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
3981
4035
|
}
|
|
@@ -4018,7 +4072,7 @@ function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
|
4018
4072
|
return before + quote + sanitized + quote + after;
|
|
4019
4073
|
});
|
|
4020
4074
|
}
|
|
4021
|
-
goog.html.SafeStyle = module$
|
|
4075
|
+
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
4022
4076
|
var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
|
|
4023
4077
|
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
4024
4078
|
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
@@ -4039,8 +4093,8 @@ module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(se
|
|
|
4039
4093
|
if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
|
|
4040
4094
|
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
4041
4095
|
}
|
|
4042
|
-
style instanceof module$
|
|
4043
|
-
var styleSheet = selector + "{" + module$
|
|
4096
|
+
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
4097
|
+
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
4044
4098
|
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
4045
4099
|
};
|
|
4046
4100
|
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
|
|
@@ -4266,15 +4320,15 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
4266
4320
|
}
|
|
4267
4321
|
}
|
|
4268
4322
|
}
|
|
4269
|
-
goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof goog.html.TrustedResourceUrl || value instanceof module$
|
|
4323
|
+
goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof goog.html.TrustedResourceUrl || value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || value instanceof module$contents$goog$html$SafeHtml_SafeHtml || typeof value === "string" || typeof value === "number", "String or number value expected, got " + typeof value + " with value: " + value);
|
|
4270
4324
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
4271
4325
|
}
|
|
4272
4326
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
4273
4327
|
if (!goog.isObject(value)) {
|
|
4274
4328
|
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof value + " given: " + value : "");
|
|
4275
4329
|
}
|
|
4276
|
-
value instanceof module$
|
|
4277
|
-
return module$
|
|
4330
|
+
value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (value = module$exports$safevalues$internals$style_impl.SafeStyle.create(value));
|
|
4331
|
+
return module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(value);
|
|
4278
4332
|
}
|
|
4279
4333
|
module$contents$goog$html$SafeHtml_SafeHtml.DOCTYPE_HTML = function() {
|
|
4280
4334
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>");
|
|
@@ -4298,22 +4352,6 @@ module$exports$safevalues$internals$html_impl.isHtml = function(value) {
|
|
|
4298
4352
|
module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
|
|
4299
4353
|
return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
|
|
4300
4354
|
};
|
|
4301
|
-
var module$exports$goog$html$safestyle_internals_for_safevalues = {};
|
|
4302
|
-
module$exports$goog$html$safestyle_internals_for_safevalues.createSafeStyle = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;
|
|
4303
|
-
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
4304
|
-
module$exports$safevalues$internals$style_impl.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
4305
|
-
function module$contents$safevalues$internals$style_impl_createStyleInternal(style) {
|
|
4306
|
-
return (0,module$exports$goog$html$safestyle_internals_for_safevalues.createSafeStyle)(style);
|
|
4307
|
-
}
|
|
4308
|
-
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
4309
|
-
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
4310
|
-
return value instanceof module$contents$goog$html$SafeStyle_SafeStyle;
|
|
4311
|
-
}
|
|
4312
|
-
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
4313
|
-
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
4314
|
-
return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
|
|
4315
|
-
}
|
|
4316
|
-
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
4317
4355
|
var module$exports$safevalues$dom$elements$element = {}, module$contents$safevalues$dom$elements$element_module = module$contents$safevalues$dom$elements$element_module || {id:"third_party/javascript/safevalues/dom/elements/element.closure.js"};
|
|
4318
4356
|
module$exports$safevalues$dom$elements$element.setInnerHtml = function(elOrRoot, v) {
|
|
4319
4357
|
module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
|
|
@@ -4407,9 +4445,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
4407
4445
|
}
|
|
4408
4446
|
}
|
|
4409
4447
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
4410
|
-
var $jscomp$tmp$error$
|
|
4411
|
-
this.message = $jscomp$tmp$error$
|
|
4412
|
-
"stack" in $jscomp$tmp$error$
|
|
4448
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
4449
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
4450
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
4413
4451
|
this.type = type;
|
|
4414
4452
|
this.intent = intent;
|
|
4415
4453
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -4516,7 +4554,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
4516
4554
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
4517
4555
|
};
|
|
4518
4556
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
4519
|
-
var $jscomp$optchain$
|
|
4557
|
+
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]");
|
|
4520
4558
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
4521
4559
|
}
|
|
4522
4560
|
;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"}, module$contents$safevalues$internals$script_impl_trustedTypes = goog.global.trustedTypes;
|
|
@@ -5183,9 +5221,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
5183
5221
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
5184
5222
|
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"};
|
|
5185
5223
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
5186
|
-
var $jscomp$tmp$error$
|
|
5187
|
-
this.message = $jscomp$tmp$error$
|
|
5188
|
-
"stack" in $jscomp$tmp$error$
|
|
5224
|
+
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.");
|
|
5225
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
5226
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
5189
5227
|
this.url = url;
|
|
5190
5228
|
this.typeName = typeName;
|
|
5191
5229
|
this.contentType = contentType;
|
|
@@ -5197,48 +5235,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
5197
5235
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
5198
5236
|
}
|
|
5199
5237
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
5200
|
-
var response, $jscomp$optchain$
|
|
5201
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5202
|
-
if ($jscomp$generator$context$
|
|
5203
|
-
return $jscomp$generator$context$
|
|
5204
|
-
}
|
|
5205
|
-
response = $jscomp$generator$context$
|
|
5206
|
-
mimeType = ($jscomp$optchain$
|
|
5207
|
-
return $jscomp$generator$context$
|
|
5238
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
5239
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
5240
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
5241
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
5242
|
+
}
|
|
5243
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
5244
|
+
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();
|
|
5245
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
5208
5246
|
var text;
|
|
5209
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5210
|
-
if ($jscomp$generator$context$
|
|
5247
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
5248
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
5211
5249
|
if (mimeType !== "text/html") {
|
|
5212
5250
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
5213
5251
|
}
|
|
5214
|
-
return $jscomp$generator$context$
|
|
5252
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
5215
5253
|
}
|
|
5216
|
-
text = $jscomp$generator$context$
|
|
5217
|
-
return $jscomp$generator$context$
|
|
5254
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
5255
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
5218
5256
|
});
|
|
5219
5257
|
}, script:function() {
|
|
5220
5258
|
var text;
|
|
5221
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5222
|
-
if ($jscomp$generator$context$
|
|
5259
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
5260
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
5223
5261
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
5224
5262
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
5225
5263
|
}
|
|
5226
|
-
return $jscomp$generator$context$
|
|
5264
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
5227
5265
|
}
|
|
5228
|
-
text = $jscomp$generator$context$
|
|
5229
|
-
return $jscomp$generator$context$
|
|
5266
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
5267
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
5230
5268
|
});
|
|
5231
5269
|
}, styleSheet:function() {
|
|
5232
5270
|
var text;
|
|
5233
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5234
|
-
if ($jscomp$generator$context$
|
|
5271
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
5272
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
5235
5273
|
if (mimeType !== "text/css") {
|
|
5236
5274
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
5237
5275
|
}
|
|
5238
|
-
return $jscomp$generator$context$
|
|
5276
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
5239
5277
|
}
|
|
5240
|
-
text = $jscomp$generator$context$
|
|
5241
|
-
return $jscomp$generator$context$
|
|
5278
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
5279
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
5242
5280
|
});
|
|
5243
5281
|
}});
|
|
5244
5282
|
});
|
|
@@ -6660,8 +6698,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6660
6698
|
}
|
|
6661
6699
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6662
6700
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6663
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6664
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6701
|
+
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()) {
|
|
6702
|
+
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;
|
|
6665
6703
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6666
6704
|
}
|
|
6667
6705
|
return urlQueryParams;
|
|
@@ -6672,8 +6710,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6672
6710
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6673
6711
|
if (params.headers) {
|
|
6674
6712
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6675
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6676
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6713
|
+
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()) {
|
|
6714
|
+
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;
|
|
6677
6715
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6678
6716
|
}
|
|
6679
6717
|
}
|
|
@@ -6713,9 +6751,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6713
6751
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6714
6752
|
};
|
|
6715
6753
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6716
|
-
var $jscomp$this$
|
|
6754
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6717
6755
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6718
|
-
return $jscomp$this$
|
|
6756
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6719
6757
|
}));
|
|
6720
6758
|
};
|
|
6721
6759
|
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"};
|
|
@@ -6784,7 +6822,7 @@ goog.Disposable.prototype.registerDisposable = function(disposable) {
|
|
|
6784
6822
|
this.addOnDisposeCallback(goog.partial(module$contents$goog$dispose_dispose, disposable));
|
|
6785
6823
|
};
|
|
6786
6824
|
goog.Disposable.prototype.addOnDisposeCallback = function(callback, opt_scope) {
|
|
6787
|
-
this.disposed_ ? opt_scope !== void 0 ? callback.call(opt_scope) : callback() : (this.onDisposeCallbacks_ || (this.onDisposeCallbacks_ = []),
|
|
6825
|
+
this.disposed_ ? opt_scope !== void 0 ? callback.call(opt_scope) : callback() : (this.onDisposeCallbacks_ || (this.onDisposeCallbacks_ = []), opt_scope && (callback = goog.TRUSTED_SITE ? callback.bind(opt_scope) : goog.bind(callback, opt_scope)), this.onDisposeCallbacks_.push(callback));
|
|
6788
6826
|
};
|
|
6789
6827
|
goog.Disposable.prototype.disposeInternal = function() {
|
|
6790
6828
|
if (this.onDisposeCallbacks_) {
|
|
@@ -6887,6 +6925,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_o
|
|
|
6887
6925
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
|
|
6888
6926
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6889
6927
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
6928
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__enable = !1;
|
|
6890
6929
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6891
6930
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
6892
6931
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
|
|
@@ -6896,7 +6935,7 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
|
|
|
6896
6935
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6897
6936
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6898
6937
|
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable : goog.readFlagInternalDoNotUseOrElse(188588736, !0);
|
|
6899
|
-
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ?
|
|
6938
|
+
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = 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_direct_reactions__disable : goog.readFlagInternalDoNotUseOrElse(641353869, !0);
|
|
6900
6939
|
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = 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_flush_queue_fix__disable) : goog.readFlagInternalDoNotUseOrElse(644029907, module$contents$goog$flags_STAGING);
|
|
6901
6940
|
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = 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_ordered_reaction_execution__disable) : goog.readFlagInternalDoNotUseOrElse(1822726157,
|
|
6902
6941
|
module$contents$goog$flags_STAGING);
|
|
@@ -6904,6 +6943,7 @@ goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags
|
|
|
6904
6943
|
module$contents$goog$flags_STAGING);
|
|
6905
6944
|
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);
|
|
6906
6945
|
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);
|
|
6946
|
+
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);
|
|
6907
6947
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
6908
6948
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
6909
6949
|
goog.flags.TESTONLY_STAGING_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable) : goog.readFlagInternalDoNotUseOrElse(2147483646, module$contents$goog$flags_STAGING);
|
|
@@ -7639,8 +7679,8 @@ goog.events.eventTypeHelpers = {};
|
|
|
7639
7679
|
goog.events.eventTypeHelpers.getVendorPrefixedName = function(eventName) {
|
|
7640
7680
|
return goog.userAgent.WEBKIT ? "webkit" + eventName : eventName.toLowerCase();
|
|
7641
7681
|
};
|
|
7642
|
-
goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEventName,
|
|
7643
|
-
return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName :
|
|
7682
|
+
goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEventName, fallbackEventName) {
|
|
7683
|
+
return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName : fallbackEventName;
|
|
7644
7684
|
};
|
|
7645
7685
|
goog.events.EventType = {CLICK:"click", RIGHTCLICK:"rightclick", DBLCLICK:"dblclick", AUXCLICK:"auxclick", MOUSEDOWN:"mousedown", MOUSEUP:"mouseup", MOUSEOVER:"mouseover", MOUSEOUT:"mouseout", MOUSEMOVE:"mousemove", MOUSEENTER:"mouseenter", MOUSELEAVE:"mouseleave", MOUSECANCEL:"mousecancel", SELECTIONCHANGE:"selectionchange", SELECTSTART:"selectstart", WHEEL:"wheel", KEYPRESS:"keypress", KEYDOWN:"keydown", KEYUP:"keyup", BLUR:"blur", FOCUS:"focus", DEACTIVATE:"deactivate", FOCUSIN:"focusin", FOCUSOUT:"focusout",
|
|
7646
7686
|
CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange", DEVICEMOTION:"devicemotion", DEVICEORIENTATION:"deviceorientation",
|
|
@@ -7670,15 +7710,12 @@ goog.inherits(goog.events.BrowserEvent, goog.events.Event);
|
|
|
7670
7710
|
goog.events.BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY = !1;
|
|
7671
7711
|
goog.events.BrowserEvent.MouseButton = {LEFT:0, MIDDLE:1, RIGHT:2, BACK:3, FORWARD:4};
|
|
7672
7712
|
goog.events.BrowserEvent.PointerType = {MOUSE:"mouse", PEN:"pen", TOUCH:"touch"};
|
|
7673
|
-
goog.events.BrowserEvent.IEButtonMap = goog.debug.freeze([1, 4, 2]);
|
|
7674
|
-
goog.events.BrowserEvent.IE_BUTTON_MAP = goog.events.BrowserEvent.IEButtonMap;
|
|
7675
|
-
goog.events.BrowserEvent.IE_POINTER_TYPE_MAP = goog.debug.freeze({2:goog.events.BrowserEvent.PointerType.TOUCH, 3:goog.events.BrowserEvent.PointerType.PEN, 4:goog.events.BrowserEvent.PointerType.MOUSE});
|
|
7676
7713
|
goog.events.BrowserEvent.prototype.init = function(e, opt_currentTarget) {
|
|
7677
7714
|
var type = this.type = e.type, relevantTouch = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : null;
|
|
7678
7715
|
this.target = e.target || e.srcElement;
|
|
7679
7716
|
this.currentTarget = opt_currentTarget;
|
|
7680
7717
|
var relatedTarget = e.relatedTarget;
|
|
7681
|
-
relatedTarget
|
|
7718
|
+
relatedTarget || (type == goog.events.EventType.MOUSEOVER ? relatedTarget = e.fromElement : type == goog.events.EventType.MOUSEOUT && (relatedTarget = e.toElement));
|
|
7682
7719
|
this.relatedTarget = relatedTarget;
|
|
7683
7720
|
relevantTouch ? (this.clientX = relevantTouch.clientX !== void 0 ? relevantTouch.clientX : relevantTouch.pageX, this.clientY = relevantTouch.clientY !== void 0 ? relevantTouch.clientY : relevantTouch.pageY, this.screenX = relevantTouch.screenX || 0, this.screenY = relevantTouch.screenY || 0) : (goog.events.BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY ? (this.offsetX = e.layerX !== void 0 ? e.layerX : e.offsetX, this.offsetY = e.layerY !== void 0 ? e.layerY : e.offsetY) : (this.offsetX = goog.userAgent.WEBKIT ||
|
|
7684
7721
|
e.offsetX !== void 0 ? e.offsetX : e.layerX, this.offsetY = goog.userAgent.WEBKIT || e.offsetY !== void 0 ? e.offsetY : e.layerY), this.clientX = e.clientX !== void 0 ? e.clientX : e.pageX, this.clientY = e.clientY !== void 0 ? e.clientY : e.pageY, this.screenX = e.screenX || 0, this.screenY = e.screenY || 0);
|
|
@@ -7717,7 +7754,7 @@ goog.events.BrowserEvent.prototype.getBrowserEvent = function() {
|
|
|
7717
7754
|
return this.event_;
|
|
7718
7755
|
};
|
|
7719
7756
|
goog.events.BrowserEvent.getPointerType_ = function(e) {
|
|
7720
|
-
return
|
|
7757
|
+
return e.pointerType;
|
|
7721
7758
|
};
|
|
7722
7759
|
goog.events.Listenable = function() {
|
|
7723
7760
|
};
|
|
@@ -9473,6 +9510,11 @@ module$exports$eeapiclient$ee_api_client.ICloudStorageDestinationPermissionsEnum
|
|
|
9473
9510
|
module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum = {DEFAULT_OBJECT_ACL:"DEFAULT_OBJECT_ACL", PUBLIC:"PUBLIC", TILE_PERMISSIONS_UNSPECIFIED:"TILE_PERMISSIONS_UNSPECIFIED", values:function() {
|
|
9474
9511
|
return [module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum.TILE_PERMISSIONS_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum.PUBLIC, module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum.DEFAULT_OBJECT_ACL];
|
|
9475
9512
|
}};
|
|
9513
|
+
module$exports$eeapiclient$ee_api_client.IComputeFeaturesRequestFeatureProjectionEnum = function() {
|
|
9514
|
+
};
|
|
9515
|
+
module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum = {FEATURE_PROJECTION_NATIVE:"FEATURE_PROJECTION_NATIVE", FEATURE_PROJECTION_UNSPECIFIED:"FEATURE_PROJECTION_UNSPECIFIED", FEATURE_PROJECTION_WGS_84_PLANAR:"FEATURE_PROJECTION_WGS_84_PLANAR", values:function() {
|
|
9516
|
+
return [module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum.FEATURE_PROJECTION_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum.FEATURE_PROJECTION_WGS_84_PLANAR, module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum.FEATURE_PROJECTION_NATIVE];
|
|
9517
|
+
}};
|
|
9476
9518
|
module$exports$eeapiclient$ee_api_client.IComputePixelsRequestFileFormatEnum = function() {
|
|
9477
9519
|
};
|
|
9478
9520
|
module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", GEO_TIFF:"GEO_TIFF", IMAGE_FILE_FORMAT_UNSPECIFIED:"IMAGE_FILE_FORMAT_UNSPECIFIED", JPEG:"JPEG", MULTI_BAND_IMAGE_TILE:"MULTI_BAND_IMAGE_TILE", NPY:"NPY", PNG:"PNG", TF_RECORD_IMAGE:"TF_RECORD_IMAGE", ZIPPED_GEO_TIFF:"ZIPPED_GEO_TIFF", ZIPPED_GEO_TIFF_PER_BAND:"ZIPPED_GEO_TIFF_PER_BAND", values:function() {
|
|
@@ -10243,18 +10285,23 @@ module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest = function(param
|
|
|
10243
10285
|
this.Serializable$set("pageSize", parameters.pageSize == null ? null : parameters.pageSize);
|
|
10244
10286
|
this.Serializable$set("pageToken", parameters.pageToken == null ? null : parameters.pageToken);
|
|
10245
10287
|
this.Serializable$set("workloadTag", parameters.workloadTag == null ? null : parameters.workloadTag);
|
|
10288
|
+
this.Serializable$set("featureProjection", parameters.featureProjection == null ? null : parameters.featureProjection);
|
|
10246
10289
|
};
|
|
10247
10290
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10248
10291
|
module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest.prototype.getConstructor = function() {
|
|
10249
10292
|
return module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest;
|
|
10250
10293
|
};
|
|
10251
10294
|
module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest.prototype.getPartialClassMetadata = function() {
|
|
10252
|
-
return {keys:["expression", "pageSize", "pageToken", "workloadTag"], objects:{expression:module$exports$eeapiclient$ee_api_client.Expression}};
|
|
10295
|
+
return {enums:{featureProjection:module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum}, keys:["expression", "featureProjection", "pageSize", "pageToken", "workloadTag"], objects:{expression:module$exports$eeapiclient$ee_api_client.Expression}};
|
|
10253
10296
|
};
|
|
10254
10297
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest.prototype, {expression:{configurable:!0, enumerable:!0, get:function() {
|
|
10255
10298
|
return this.Serializable$has("expression") ? this.Serializable$get("expression") : null;
|
|
10256
10299
|
}, set:function(value) {
|
|
10257
10300
|
this.Serializable$set("expression", value);
|
|
10301
|
+
}}, featureProjection:{configurable:!0, enumerable:!0, get:function() {
|
|
10302
|
+
return this.Serializable$has("featureProjection") ? this.Serializable$get("featureProjection") : null;
|
|
10303
|
+
}, set:function(value) {
|
|
10304
|
+
this.Serializable$set("featureProjection", value);
|
|
10258
10305
|
}}, pageSize:{configurable:!0, enumerable:!0, get:function() {
|
|
10259
10306
|
return this.Serializable$has("pageSize") ? this.Serializable$get("pageSize") : null;
|
|
10260
10307
|
}, set:function(value) {
|
|
@@ -10268,6 +10315,9 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10268
10315
|
}, set:function(value) {
|
|
10269
10316
|
this.Serializable$set("workloadTag", value);
|
|
10270
10317
|
}}});
|
|
10318
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest, {FeatureProjection:{configurable:!0, enumerable:!0, get:function() {
|
|
10319
|
+
return module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum;
|
|
10320
|
+
}}});
|
|
10271
10321
|
module$exports$eeapiclient$ee_api_client.ComputeFeaturesResponseParameters = function() {
|
|
10272
10322
|
};
|
|
10273
10323
|
module$exports$eeapiclient$ee_api_client.ComputeFeaturesResponse = function(parameters) {
|
|
@@ -14262,8 +14312,8 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
14262
14312
|
}, set:function(value) {
|
|
14263
14313
|
this.Serializable$set("start", value);
|
|
14264
14314
|
}}});
|
|
14265
|
-
var module$contents$eeapiclient$ee_api_client_PARAM_MAP_0 = {$Xgafv:"$.xgafv", access_token:"access_token", alt:"alt", assetId:"assetId", callback:"callback", fields:"fields", filter:"filter", key:"key", oauth_token:"oauth_token", overwrite:"overwrite", pageSize:"pageSize", pageToken:"pageToken", parent:"parent", prettyPrint:"prettyPrint", quotaUser:"quotaUser", region:"region", updateMask:"updateMask", uploadType:"uploadType",
|
|
14266
|
-
view:"view", workloadTag:"workloadTag"};
|
|
14315
|
+
var module$contents$eeapiclient$ee_api_client_PARAM_MAP_0 = {$Xgafv:"$.xgafv", access_token:"access_token", alt:"alt", assetId:"assetId", callback:"callback", featureProjection:"featureProjection", fields:"fields", filter:"filter", key:"key", oauth_token:"oauth_token", overwrite:"overwrite", pageSize:"pageSize", pageToken:"pageToken", parent:"parent", prettyPrint:"prettyPrint", quotaUser:"quotaUser", region:"region", updateMask:"updateMask", uploadType:"uploadType",
|
|
14316
|
+
upload_protocol:"upload_protocol", view:"view", workloadTag:"workloadTag"};
|
|
14267
14317
|
module$exports$eeapiclient$ee_api_client.IBillingAccountsSubscriptionsApiClient$XgafvEnum = function() {
|
|
14268
14318
|
};
|
|
14269
14319
|
module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
|
|
@@ -14402,6 +14452,11 @@ module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientAltEnum = funct
|
|
|
14402
14452
|
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
|
|
14403
14453
|
return [module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum.PROTO];
|
|
14404
14454
|
}};
|
|
14455
|
+
module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientFeatureProjectionEnum = function() {
|
|
14456
|
+
};
|
|
14457
|
+
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientFeatureProjectionEnum = {FEATURE_PROJECTION_NATIVE:"FEATURE_PROJECTION_NATIVE", FEATURE_PROJECTION_UNSPECIFIED:"FEATURE_PROJECTION_UNSPECIFIED", FEATURE_PROJECTION_WGS_84_PLANAR:"FEATURE_PROJECTION_WGS_84_PLANAR", values:function() {
|
|
14458
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientFeatureProjectionEnum.FEATURE_PROJECTION_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientFeatureProjectionEnum.FEATURE_PROJECTION_WGS_84_PLANAR, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientFeatureProjectionEnum.FEATURE_PROJECTION_NATIVE];
|
|
14459
|
+
}};
|
|
14405
14460
|
module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientViewEnum = function() {
|
|
14406
14461
|
};
|
|
14407
14462
|
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum = {BASIC:"BASIC", BASIC_SYNC:"BASIC_SYNC", EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED:"EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED", FULL:"FULL", values:function() {
|
|
@@ -15225,16 +15280,8 @@ var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
|
15225
15280
|
return value;
|
|
15226
15281
|
}, module$contents$goog$asserts$dom_assertIsHtmlAnchorElement = function(value) {
|
|
15227
15282
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.A);
|
|
15228
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlButtonElement = function(value) {
|
|
15229
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.BUTTON);
|
|
15230
15283
|
}, module$contents$goog$asserts$dom_assertIsHtmlLinkElement = function(value) {
|
|
15231
15284
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.LINK);
|
|
15232
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlAudioElement = function(value) {
|
|
15233
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.AUDIO);
|
|
15234
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlVideoElement = function(value) {
|
|
15235
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
15236
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlInputElement = function(value) {
|
|
15237
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
15238
15285
|
}, module$contents$goog$asserts$dom_assertIsHtmlFormElement = function(value) {
|
|
15239
15286
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
15240
15287
|
}, module$contents$goog$asserts$dom_assertIsHtmlIFrameElement = function(value) {
|
|
@@ -15259,14 +15306,22 @@ goog.asserts.dom.assertIsElement = function(value) {
|
|
|
15259
15306
|
goog.asserts.dom.assertIsHtmlElement = module$contents$goog$asserts$dom_assertIsHtmlElement;
|
|
15260
15307
|
goog.asserts.dom.assertIsHtmlElementOfType = module$contents$goog$asserts$dom_assertIsHtmlElementOfType;
|
|
15261
15308
|
goog.asserts.dom.assertIsHtmlAnchorElement = module$contents$goog$asserts$dom_assertIsHtmlAnchorElement;
|
|
15262
|
-
goog.asserts.dom.assertIsHtmlButtonElement =
|
|
15309
|
+
goog.asserts.dom.assertIsHtmlButtonElement = function(value) {
|
|
15310
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.BUTTON);
|
|
15311
|
+
};
|
|
15263
15312
|
goog.asserts.dom.assertIsHtmlLinkElement = module$contents$goog$asserts$dom_assertIsHtmlLinkElement;
|
|
15264
15313
|
goog.asserts.dom.assertIsHtmlImageElement = function(value) {
|
|
15265
15314
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IMG);
|
|
15266
15315
|
};
|
|
15267
|
-
goog.asserts.dom.assertIsHtmlAudioElement =
|
|
15268
|
-
|
|
15269
|
-
|
|
15316
|
+
goog.asserts.dom.assertIsHtmlAudioElement = function(value) {
|
|
15317
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.AUDIO);
|
|
15318
|
+
};
|
|
15319
|
+
goog.asserts.dom.assertIsHtmlVideoElement = function(value) {
|
|
15320
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
15321
|
+
};
|
|
15322
|
+
goog.asserts.dom.assertIsHtmlInputElement = function(value) {
|
|
15323
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
15324
|
+
};
|
|
15270
15325
|
goog.asserts.dom.assertIsHtmlTextAreaElement = function(value) {
|
|
15271
15326
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.TEXTAREA);
|
|
15272
15327
|
};
|
|
@@ -15285,18 +15340,6 @@ goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
|
15285
15340
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
15286
15341
|
};
|
|
15287
15342
|
goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
|
|
15288
|
-
goog.dom.BrowserFeature = {};
|
|
15289
|
-
goog.dom.BrowserFeature.ASSUME_NO_OFFSCREEN_CANVAS = !1;
|
|
15290
|
-
goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS = goog.FEATURESET_YEAR >= 2024;
|
|
15291
|
-
goog.dom.BrowserFeature.detectOffscreenCanvas_ = function(contextName) {
|
|
15292
|
-
try {
|
|
15293
|
-
return !!(new self.OffscreenCanvas(0, 0)).getContext(contextName);
|
|
15294
|
-
} catch (ex) {
|
|
15295
|
-
}
|
|
15296
|
-
return !1;
|
|
15297
|
-
};
|
|
15298
|
-
goog.dom.BrowserFeature.OFFSCREEN_CANVAS_2D = !goog.dom.BrowserFeature.ASSUME_NO_OFFSCREEN_CANVAS && (goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS || goog.dom.BrowserFeature.detectOffscreenCanvas_("2d"));
|
|
15299
|
-
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = !0;
|
|
15300
15343
|
goog.dom.asserts = {};
|
|
15301
15344
|
goog.dom.asserts.assertIsLocation = function(o) {
|
|
15302
15345
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
|
|
@@ -15553,8 +15596,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15553
15596
|
this.replacements = new Map();
|
|
15554
15597
|
};
|
|
15555
15598
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15556
|
-
var $jscomp$this$
|
|
15557
|
-
return $jscomp$this$
|
|
15599
|
+
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) {
|
|
15600
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15558
15601
|
});
|
|
15559
15602
|
if (openedTags.length !== 0) {
|
|
15560
15603
|
if (goog.DEBUG) {
|
|
@@ -15617,7 +15660,610 @@ function module$contents$safevalues$builders$html_formatter_getRandomString() {
|
|
|
15617
15660
|
function module$contents$safevalues$builders$html_formatter_checkExhaustive(value, msg) {
|
|
15618
15661
|
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
15619
15662
|
}
|
|
15620
|
-
;var module$contents$safevalues$builders$html_sanitizer$
|
|
15663
|
+
;var module$exports$safevalues$builders$html_sanitizer$css$allowlists = {}, module$contents$safevalues$builders$html_sanitizer$css$allowlists_module = module$contents$safevalues$builders$html_sanitizer$css$allowlists_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/allowlists.closure.js"};
|
|
15664
|
+
module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST = new Set("accent-color align-content align-items align-self alignment-baseline all appearance aspect-ratio backdrop-filter backface-visibility background background-attachment background-blend-mode background-clip background-color background-image background-origin background-position background-position-x background-position-y background-repeat background-size block-size border border-block border-block-color border-block-end border-block-end-color border-block-end-style border-block-end-width border-block-start border-block-start-color border-block-start-style border-block-start-width border-block-style border-block-width border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-end-end-radius border-end-start-radius border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-inline border-inline-color border-inline-end border-inline-end-color border-inline-end-style border-inline-end-width border-inline-start border-inline-start-color border-inline-start-style border-inline-start-width border-inline-style border-inline-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-start-end-radius border-start-start-radius border-style border-top border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width bottom box-shadow box-sizing caption-side caret-color clear clip clip-path clip-rule color color-interpolation color-interpolation-filters color-scheme column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns contain contain-intrinsic-block-size contain-intrinsic-height contain-intrinsic-inline-size contain-intrinsic-size contain-intrinsic-width content content-visibility counter-increment counter-reset counter-set cx cy d display dominant-baseline empty-cells field-sizing fill fill-opacity fill-rule filter flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float flood-color flood-opacity font font-family font-feature-settings font-kerning font-optical-sizing font-palette font-size font-size-adjust font-stretch font-style font-synthesis font-synthesis-small-caps font-synthesis-style font-synthesis-weight font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-emoji font-variant-ligatures font-variant-numeric font-variant-position font-variation-settings font-weight forced-color-adjust gap grid grid-area grid-auto-columns grid-auto-flow grid-auto-rows grid-column grid-column-end grid-column-gap grid-column-start grid-gap grid-row grid-row-end grid-row-gap grid-row-start grid-template grid-template-areas grid-template-columns grid-template-rows height hyphenate-character hyphenate-limit-chars hyphens image-orientation image-rendering inline-size inset inset-area inset-block inset-block-end inset-block-start inset-inline inset-inline-end inset-inline-start isolation justify-content justify-items justify-self left letter-spacing lighting-color line-break line-clamp line-gap-override line-height list-style list-style-image list-style-position list-style-type margin margin-block margin-block-end margin-block-start margin-bottom margin-inline margin-inline-end margin-inline-start margin-left margin-right margin-top marker marker-end marker-mid marker-start mask mask-clip mask-composite mask-image mask-mode mask-origin mask-position mask-repeat mask-size mask-type max-block-size max-height max-inline-size max-width min-block-size min-height min-inline-size min-width mix-blend-mode object-fit object-position object-view-box opacity order orphans outline outline-color outline-offset outline-style outline-width overflow overflow-anchor overflow-block overflow-clip-margin overflow-inline overflow-wrap overflow-x overflow-y padding padding-block padding-block-end padding-block-start padding-bottom padding-inline padding-inline-end padding-inline-start padding-left padding-right padding-top paint-order perspective perspective-origin place-content place-items place-self position quotes r resize right rotate row-gap ruby-align ruby-position rx ry scale shape-image-threshold shape-margin shape-outside shape-rendering stop-color stop-opacity stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width tab-size table-layout text-align text-align-last text-anchor text-autospace text-box-edge text-box-trim text-combine-upright text-decoration text-decoration-color text-decoration-line text-decoration-skip-ink text-decoration-style text-decoration-thickness text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style text-indent text-orientation text-overflow text-rendering text-shadow text-size-adjust text-spacing text-spacing-trim text-transform text-underline-offset text-underline-position text-wrap top transform transform-box transform-origin transform-style translate unicode-bidi vector-effect vertical-align visibility white-space white-space-collapse widows width will-change word-break word-spacing word-wrap writing-mode x y z-index zoom animation animation-composition animation-delay animation-direction animation-duration animation-fill-mode animation-iteration-count animation-name animation-play-state animation-range animation-range-end animation-range-start animation-timeline animation-timing-function offset offset-anchor offset-distance offset-path offset-position offset-rotate transition transition-behavior transition-delay transition-duration transition-property transition-timing-function".split(" "));
|
|
15665
|
+
module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST = new Set("alpha cubic-bezier linear-gradient matrix perspective radial-gradient rect repeating-linear-gradient repeating-radial-gradient rgb rgba rotate rotate3d rotatex rotatey rotatez scale scale3d scalex scaley scalez skew skewx skewy steps translate translate3d translatex translatey translatez url".split(" "));
|
|
15666
|
+
var module$exports$safevalues$builders$html_sanitizer$css$tokens = {}, module$contents$safevalues$builders$html_sanitizer$css$tokens_module = module$contents$safevalues$builders$html_sanitizer$css$tokens_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/tokens.closure.js"};
|
|
15667
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind = {AT_KEYWORD:0, CDC:1, CDO:2, CLOSE_CURLY:3, CLOSE_PAREN:4, CLOSE_SQUARE:5, COLON:6, COMMA:7, DELIM:8, DIMENSION:9, EOF:10, FUNCTION:11, HASH:12, IDENT:13, NUMBER:14, OPEN_CURLY:15, OPEN_PAREN:16, OPEN_SQUARE:17, PERCENTAGE:18, SEMICOLON:19, STRING:20, WHITESPACE:21};
|
|
15668
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.AT_KEYWORD] = "AT_KEYWORD";
|
|
15669
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDC] = "CDC";
|
|
15670
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDO] = "CDO";
|
|
15671
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_CURLY] = "CLOSE_CURLY";
|
|
15672
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_PAREN] = "CLOSE_PAREN";
|
|
15673
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_SQUARE] = "CLOSE_SQUARE";
|
|
15674
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COLON] = "COLON";
|
|
15675
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COMMA] = "COMMA";
|
|
15676
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM] = "DELIM";
|
|
15677
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DIMENSION] = "DIMENSION";
|
|
15678
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF] = "EOF";
|
|
15679
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION] = "FUNCTION";
|
|
15680
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.HASH] = "HASH";
|
|
15681
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.IDENT] = "IDENT";
|
|
15682
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER] = "NUMBER";
|
|
15683
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_CURLY] = "OPEN_CURLY";
|
|
15684
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_PAREN] = "OPEN_PAREN";
|
|
15685
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_SQUARE] = "OPEN_SQUARE";
|
|
15686
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.PERCENTAGE] = "PERCENTAGE";
|
|
15687
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.SEMICOLON] = "SEMICOLON";
|
|
15688
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING] = "STRING";
|
|
15689
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE] = "WHITESPACE";
|
|
15690
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.AtKeywordToken = function() {
|
|
15691
|
+
};
|
|
15692
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CdcToken = function() {
|
|
15693
|
+
};
|
|
15694
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CdoToken = function() {
|
|
15695
|
+
};
|
|
15696
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CloseCurlyToken = function() {
|
|
15697
|
+
};
|
|
15698
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CloseParenToken = function() {
|
|
15699
|
+
};
|
|
15700
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CloseSquareToken = function() {
|
|
15701
|
+
};
|
|
15702
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.ColonToken = function() {
|
|
15703
|
+
};
|
|
15704
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CommaToken = function() {
|
|
15705
|
+
};
|
|
15706
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.DelimToken = function() {
|
|
15707
|
+
};
|
|
15708
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.DimensionToken = function() {
|
|
15709
|
+
};
|
|
15710
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.EofToken = function() {
|
|
15711
|
+
};
|
|
15712
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.FunctionToken = function() {
|
|
15713
|
+
};
|
|
15714
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.HashToken = function() {
|
|
15715
|
+
};
|
|
15716
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.IdentToken = function() {
|
|
15717
|
+
};
|
|
15718
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.NumberToken = function() {
|
|
15719
|
+
};
|
|
15720
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.OpenCurlyToken = function() {
|
|
15721
|
+
};
|
|
15722
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.OpenParenToken = function() {
|
|
15723
|
+
};
|
|
15724
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.OpenSquareToken = function() {
|
|
15725
|
+
};
|
|
15726
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.PercentageToken = function() {
|
|
15727
|
+
};
|
|
15728
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.SemicolonToken = function() {
|
|
15729
|
+
};
|
|
15730
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.StringToken = function() {
|
|
15731
|
+
};
|
|
15732
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.WhitespaceToken = function() {
|
|
15733
|
+
};
|
|
15734
|
+
var module$exports$safevalues$builders$html_sanitizer$css$serializer = {}, module$contents$safevalues$builders$html_sanitizer$css$serializer_module = module$contents$safevalues$builders$html_sanitizer$css$serializer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/serializer.closure.js"};
|
|
15735
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeCodePoint(c) {
|
|
15736
|
+
return "\\" + c.codePointAt(0).toString(16) + " ";
|
|
15737
|
+
}
|
|
15738
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeString(str) {
|
|
15739
|
+
return '"' + str.replace(/[^A-Za-z0-9_/. :,?=%;-]/g, function(c) {
|
|
15740
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeCodePoint(c);
|
|
15741
|
+
}) + '"';
|
|
15742
|
+
}
|
|
15743
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(ident) {
|
|
15744
|
+
return (/^[^A-Za-z_]/.test(ident) ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeCodePoint(ident[0]) : ident[0]) + ident.slice(1).replace(/[^A-Za-z0-9_-]/g, function(c) {
|
|
15745
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeCodePoint(c);
|
|
15746
|
+
});
|
|
15747
|
+
}
|
|
15748
|
+
module$exports$safevalues$builders$html_sanitizer$css$serializer.escapeIdent = module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent;
|
|
15749
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeToken(token) {
|
|
15750
|
+
switch(token.tokenKind) {
|
|
15751
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.AT_KEYWORD:
|
|
15752
|
+
return "@" + module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(token.name);
|
|
15753
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDC:
|
|
15754
|
+
return "--\x3e";
|
|
15755
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDO:
|
|
15756
|
+
return "\x3c!--";
|
|
15757
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_CURLY:
|
|
15758
|
+
return "}";
|
|
15759
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_PAREN:
|
|
15760
|
+
return ")";
|
|
15761
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_SQUARE:
|
|
15762
|
+
return "]";
|
|
15763
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COLON:
|
|
15764
|
+
return ":";
|
|
15765
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COMMA:
|
|
15766
|
+
return ",";
|
|
15767
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM:
|
|
15768
|
+
return token.codePoint === "\\" ? "\\\n" : token.codePoint;
|
|
15769
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DIMENSION:
|
|
15770
|
+
return token.repr + module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(token.dimension);
|
|
15771
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF:
|
|
15772
|
+
return "";
|
|
15773
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION:
|
|
15774
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(token.lowercaseName) + "(";
|
|
15775
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.HASH:
|
|
15776
|
+
return "#" + module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(token.value);
|
|
15777
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.IDENT:
|
|
15778
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(token.ident);
|
|
15779
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER:
|
|
15780
|
+
return token.repr;
|
|
15781
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_CURLY:
|
|
15782
|
+
return "{";
|
|
15783
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_PAREN:
|
|
15784
|
+
return "(";
|
|
15785
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_SQUARE:
|
|
15786
|
+
return "[";
|
|
15787
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.PERCENTAGE:
|
|
15788
|
+
return token.repr + "%";
|
|
15789
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.SEMICOLON:
|
|
15790
|
+
return ";";
|
|
15791
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING:
|
|
15792
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeString(token.value);
|
|
15793
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE:
|
|
15794
|
+
return " ";
|
|
15795
|
+
default:
|
|
15796
|
+
module$contents$safevalues$builders$html_sanitizer$css$serializer_checkExhaustive(token);
|
|
15797
|
+
}
|
|
15798
|
+
}
|
|
15799
|
+
module$exports$safevalues$builders$html_sanitizer$css$serializer.serializeToken = module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeToken;
|
|
15800
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeTokens(tokens) {
|
|
15801
|
+
return tokens.map(module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeToken).join("");
|
|
15802
|
+
}
|
|
15803
|
+
module$exports$safevalues$builders$html_sanitizer$css$serializer.serializeTokens = module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeTokens;
|
|
15804
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_checkExhaustive(value, msg) {
|
|
15805
|
+
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
15806
|
+
}
|
|
15807
|
+
;var module$contents$safevalues$builders$html_sanitizer$css$tokenizer_module = module$contents$safevalues$builders$html_sanitizer$css$tokenizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/tokenizer.closure.js"}, module$contents$safevalues$builders$html_sanitizer$css$tokenizer_HEX_DIGIT_REGEX = /^[0-9a-fA-F]$/, module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer =
|
|
15808
|
+
function(css) {
|
|
15809
|
+
this.pos = 0;
|
|
15810
|
+
this.css = this.preprocess(css);
|
|
15811
|
+
};
|
|
15812
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.tokenize = function() {
|
|
15813
|
+
for (var tokens = [], lastToken = void 0;;) {
|
|
15814
|
+
var token = this.consumeToken();
|
|
15815
|
+
if (Array.isArray(token)) {
|
|
15816
|
+
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
15817
|
+
} else {
|
|
15818
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
15819
|
+
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) {
|
|
15820
|
+
tokens.push(token);
|
|
15821
|
+
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
15822
|
+
return tokens;
|
|
15823
|
+
}
|
|
15824
|
+
lastToken = token;
|
|
15825
|
+
}
|
|
15826
|
+
}
|
|
15827
|
+
}
|
|
15828
|
+
};
|
|
15829
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextInputCodePoint = function() {
|
|
15830
|
+
return this.css[this.pos];
|
|
15831
|
+
};
|
|
15832
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputCodePoints = function() {
|
|
15833
|
+
return [this.css[this.pos], this.css[this.pos + 1]];
|
|
15834
|
+
};
|
|
15835
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextThreeInputCodePoints = function() {
|
|
15836
|
+
return [this.css[this.pos], this.css[this.pos + 1], this.css[this.pos + 2]];
|
|
15837
|
+
};
|
|
15838
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.currentInputCodePoint = function() {
|
|
15839
|
+
return this.css[this.pos - 1];
|
|
15840
|
+
};
|
|
15841
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextNInputCodePoints = function(n) {
|
|
15842
|
+
return this.css.slice(this.pos, this.pos + n);
|
|
15843
|
+
};
|
|
15844
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeTheNextInputCodePoint = function() {
|
|
15845
|
+
this.pos++;
|
|
15846
|
+
};
|
|
15847
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeNInputCodePoints = function(n) {
|
|
15848
|
+
this.pos += n;
|
|
15849
|
+
};
|
|
15850
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.reconsumeTheCurrentInputCodePoint = function() {
|
|
15851
|
+
this.pos--;
|
|
15852
|
+
};
|
|
15853
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.preprocess = function(css) {
|
|
15854
|
+
return css.replace(/[\x0d\x0c]|\x0d\x0a/g, "\n").replace(/\x00/g, "\ufffd");
|
|
15855
|
+
};
|
|
15856
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeToken = function() {
|
|
15857
|
+
if (this.consumeComments()) {
|
|
15858
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE};
|
|
15859
|
+
}
|
|
15860
|
+
var codePoint = this.nextInputCodePoint();
|
|
15861
|
+
this.consumeTheNextInputCodePoint();
|
|
15862
|
+
if (codePoint === void 0) {
|
|
15863
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF};
|
|
15864
|
+
}
|
|
15865
|
+
if (this.isWhitespace(codePoint)) {
|
|
15866
|
+
return this.consumeAsMuchWhitespaceAsPossible(), {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE};
|
|
15867
|
+
}
|
|
15868
|
+
if (codePoint === "'" || codePoint === '"') {
|
|
15869
|
+
return this.consumeString(codePoint);
|
|
15870
|
+
}
|
|
15871
|
+
if (codePoint === "#") {
|
|
15872
|
+
return this.isIdentCodePoint(this.nextInputCodePoint()) || this.twoCodePointsAreValidEscape.apply(this, (0,$jscomp.arrayFromIterable)(this.nextTwoInputCodePoints())) ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.HASH, value:this.consumeIdentSequence()} : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"#"};
|
|
15873
|
+
}
|
|
15874
|
+
if (codePoint === "(") {
|
|
15875
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_PAREN};
|
|
15876
|
+
}
|
|
15877
|
+
if (codePoint === ")") {
|
|
15878
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_PAREN};
|
|
15879
|
+
}
|
|
15880
|
+
if (codePoint === "+") {
|
|
15881
|
+
return this.streamStartsWithANumber() ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeNumericToken()) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"+"};
|
|
15882
|
+
}
|
|
15883
|
+
if (codePoint === ",") {
|
|
15884
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COMMA};
|
|
15885
|
+
}
|
|
15886
|
+
if (codePoint === "-") {
|
|
15887
|
+
return this.streamStartsWithANumber() ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeNumericToken()) : this.nextNInputCodePoints(2) === "->" ? (this.consumeNInputCodePoints(2), {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDC}) : this.streamStartsWithAnIdentSequence() ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeIdentLikeToken()) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM,
|
|
15888
|
+
codePoint:"-"};
|
|
15889
|
+
}
|
|
15890
|
+
if (codePoint === ".") {
|
|
15891
|
+
return this.streamStartsWithANumber() ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeNumericToken()) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"."};
|
|
15892
|
+
}
|
|
15893
|
+
if (codePoint === ":") {
|
|
15894
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COLON};
|
|
15895
|
+
}
|
|
15896
|
+
if (codePoint === ";") {
|
|
15897
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.SEMICOLON};
|
|
15898
|
+
}
|
|
15899
|
+
if (codePoint === "<") {
|
|
15900
|
+
return this.nextNInputCodePoints(3) === "!--" ? (this.consumeNInputCodePoints(3), {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDO}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"<"};
|
|
15901
|
+
}
|
|
15902
|
+
if (codePoint === "@") {
|
|
15903
|
+
if (this.threeCodePointsWouldStartAnIdentSequence.apply(this, (0,$jscomp.arrayFromIterable)(this.nextThreeInputCodePoints()))) {
|
|
15904
|
+
var ident = this.consumeIdentSequence();
|
|
15905
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.AT_KEYWORD, name:ident};
|
|
15906
|
+
}
|
|
15907
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"@"};
|
|
15908
|
+
}
|
|
15909
|
+
return codePoint === "\\" ? this.streamStartsWithValidEscape() ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeIdentLikeToken()) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"\\"} : codePoint === "[" ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_SQUARE} : codePoint === "]" ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_SQUARE} :
|
|
15910
|
+
codePoint === "{" ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_CURLY} : codePoint === "}" ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_CURLY} : this.isDigit(codePoint) ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeNumericToken()) : this.isIdentStartCodePoint(codePoint) ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeIdentLikeToken()) :
|
|
15911
|
+
{tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:codePoint};
|
|
15912
|
+
};
|
|
15913
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeComments = function() {
|
|
15914
|
+
for (var anyComments = !1; this.nextNInputCodePoints(2) === "/*";) {
|
|
15915
|
+
anyComments = !0;
|
|
15916
|
+
this.consumeNInputCodePoints(2);
|
|
15917
|
+
var endIndex = this.css.indexOf("*/", this.pos);
|
|
15918
|
+
if (endIndex === -1) {
|
|
15919
|
+
this.pos = this.css.length;
|
|
15920
|
+
break;
|
|
15921
|
+
}
|
|
15922
|
+
this.pos = endIndex + 2;
|
|
15923
|
+
}
|
|
15924
|
+
return anyComments;
|
|
15925
|
+
};
|
|
15926
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeString = function(quote) {
|
|
15927
|
+
for (var stringToken = {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING, value:""};;) {
|
|
15928
|
+
var codePoint = this.nextInputCodePoint();
|
|
15929
|
+
this.consumeTheNextInputCodePoint();
|
|
15930
|
+
if (codePoint === void 0 || codePoint === quote) {
|
|
15931
|
+
return stringToken;
|
|
15932
|
+
}
|
|
15933
|
+
if (this.isNewline(codePoint)) {
|
|
15934
|
+
return this.reconsumeTheCurrentInputCodePoint(), stringToken.value = "", stringToken;
|
|
15935
|
+
}
|
|
15936
|
+
if (codePoint === "\\") {
|
|
15937
|
+
if (this.nextInputCodePoint() !== void 0) {
|
|
15938
|
+
if (this.isNewline(this.nextInputCodePoint())) {
|
|
15939
|
+
this.consumeTheNextInputCodePoint();
|
|
15940
|
+
} else {
|
|
15941
|
+
var escapedCodePoint = this.consumeEscapedCodePoint();
|
|
15942
|
+
stringToken.value += escapedCodePoint;
|
|
15943
|
+
}
|
|
15944
|
+
}
|
|
15945
|
+
} else {
|
|
15946
|
+
stringToken.value += codePoint;
|
|
15947
|
+
}
|
|
15948
|
+
}
|
|
15949
|
+
};
|
|
15950
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeEscapedCodePoint = function() {
|
|
15951
|
+
var codePoint = this.nextInputCodePoint();
|
|
15952
|
+
this.consumeTheNextInputCodePoint();
|
|
15953
|
+
if (codePoint === void 0) {
|
|
15954
|
+
return "\ufffd";
|
|
15955
|
+
}
|
|
15956
|
+
if (this.isHexDigit(codePoint)) {
|
|
15957
|
+
for (var hexDigits = codePoint; this.isHexDigit(this.nextInputCodePoint()) && hexDigits.length < 6;) {
|
|
15958
|
+
hexDigits += this.nextInputCodePoint(), this.consumeTheNextInputCodePoint();
|
|
15959
|
+
}
|
|
15960
|
+
this.isWhitespace(this.nextInputCodePoint()) && this.consumeTheNextInputCodePoint();
|
|
15961
|
+
return String.fromCodePoint(parseInt(hexDigits, 16));
|
|
15962
|
+
}
|
|
15963
|
+
return codePoint;
|
|
15964
|
+
};
|
|
15965
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeAsMuchWhitespaceAsPossible = function() {
|
|
15966
|
+
for (; this.isWhitespace(this.nextInputCodePoint());) {
|
|
15967
|
+
this.consumeTheNextInputCodePoint();
|
|
15968
|
+
}
|
|
15969
|
+
};
|
|
15970
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeIdentSequence = function() {
|
|
15971
|
+
for (var result = "";;) {
|
|
15972
|
+
var codePoint = this.nextInputCodePoint();
|
|
15973
|
+
this.consumeTheNextInputCodePoint();
|
|
15974
|
+
var codePoint2 = this.nextInputCodePoint();
|
|
15975
|
+
if (this.isIdentCodePoint(codePoint)) {
|
|
15976
|
+
result += codePoint;
|
|
15977
|
+
} else if (this.twoCodePointsAreValidEscape(codePoint, codePoint2)) {
|
|
15978
|
+
result += this.consumeEscapedCodePoint();
|
|
15979
|
+
} else {
|
|
15980
|
+
return this.reconsumeTheCurrentInputCodePoint(), result;
|
|
15981
|
+
}
|
|
15982
|
+
}
|
|
15983
|
+
};
|
|
15984
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeIdentLikeToken = function() {
|
|
15985
|
+
var ident = this.consumeIdentSequence();
|
|
15986
|
+
if (/^url$/i.test(ident) && this.nextInputCodePoint() === "(") {
|
|
15987
|
+
for (this.consumeTheNextInputCodePoint(); this.nextTwoInputsPointsAreWhitespace();) {
|
|
15988
|
+
this.consumeTheNextInputCodePoint();
|
|
15989
|
+
}
|
|
15990
|
+
var nextTwo = this.nextTwoInputCodePoints();
|
|
15991
|
+
return this.isWhitespace(nextTwo[0]) && (nextTwo[1] === '"' || nextTwo[1] === "'") || nextTwo[0] === '"' || nextTwo[0] === "'" ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION, lowercaseName:"url"} : this.consumeUrlToken();
|
|
15992
|
+
}
|
|
15993
|
+
return this.nextInputCodePoint() === "(" ? (this.consumeTheNextInputCodePoint(), {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION, lowercaseName:ident.toLowerCase()}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.IDENT, ident:ident};
|
|
15994
|
+
};
|
|
15995
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeUrlToken = function() {
|
|
15996
|
+
var url = "";
|
|
15997
|
+
for (this.consumeAsMuchWhitespaceAsPossible();;) {
|
|
15998
|
+
var codePoint = this.nextInputCodePoint();
|
|
15999
|
+
this.consumeTheNextInputCodePoint();
|
|
16000
|
+
if (codePoint === ")" || codePoint === void 0) {
|
|
16001
|
+
return this.createFunctionUrlToken(url);
|
|
16002
|
+
}
|
|
16003
|
+
if (this.isWhitespace(codePoint)) {
|
|
16004
|
+
this.consumeAsMuchWhitespaceAsPossible();
|
|
16005
|
+
if (this.nextInputCodePoint() === ")" || this.nextInputCodePoint() === void 0) {
|
|
16006
|
+
return this.consumeTheNextInputCodePoint(), this.createFunctionUrlToken(url);
|
|
16007
|
+
}
|
|
16008
|
+
this.consumeRemnantsOfBadUrl();
|
|
16009
|
+
return this.createFunctionUrlToken("");
|
|
16010
|
+
}
|
|
16011
|
+
if (codePoint === '"' || codePoint === "'" || codePoint === "(" || this.isNonPrintableCodePoint(codePoint)) {
|
|
16012
|
+
return this.consumeRemnantsOfBadUrl(), this.createFunctionUrlToken("");
|
|
16013
|
+
}
|
|
16014
|
+
if (codePoint === "\\") {
|
|
16015
|
+
if (this.streamStartsWithValidEscape()) {
|
|
16016
|
+
url += this.consumeEscapedCodePoint();
|
|
16017
|
+
} else {
|
|
16018
|
+
return this.consumeRemnantsOfBadUrl(), this.createFunctionUrlToken("");
|
|
16019
|
+
}
|
|
16020
|
+
} else {
|
|
16021
|
+
url += codePoint;
|
|
16022
|
+
}
|
|
16023
|
+
}
|
|
16024
|
+
};
|
|
16025
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.createFunctionUrlToken = function(url) {
|
|
16026
|
+
return [{tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION, lowercaseName:"url"}, {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING, value:url}, {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_PAREN}];
|
|
16027
|
+
};
|
|
16028
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeRemnantsOfBadUrl = function() {
|
|
16029
|
+
for (;;) {
|
|
16030
|
+
var codePoint = this.nextInputCodePoint();
|
|
16031
|
+
this.consumeTheNextInputCodePoint();
|
|
16032
|
+
if (codePoint === void 0 || codePoint === ")") {
|
|
16033
|
+
break;
|
|
16034
|
+
} else {
|
|
16035
|
+
this.streamStartsWithValidEscape() && this.consumeEscapedCodePoint();
|
|
16036
|
+
}
|
|
16037
|
+
}
|
|
16038
|
+
};
|
|
16039
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeNumber = function() {
|
|
16040
|
+
var repr = "", next = this.nextInputCodePoint();
|
|
16041
|
+
if (next === "+" || next === "-") {
|
|
16042
|
+
this.consumeTheNextInputCodePoint(), repr += next;
|
|
16043
|
+
}
|
|
16044
|
+
repr += this.consumeDigits();
|
|
16045
|
+
var next2 = this.css[this.pos + 1];
|
|
16046
|
+
this.nextInputCodePoint() === "." && this.isDigit(next2) && (this.consumeTheNextInputCodePoint(), repr += "." + this.consumeDigits());
|
|
16047
|
+
var next$jscomp$0 = this.nextInputCodePoint(), next2$jscomp$0 = this.css[this.pos + 1], next3 = this.css[this.pos + 2];
|
|
16048
|
+
if (next$jscomp$0 === "e" || next$jscomp$0 === "E") {
|
|
16049
|
+
next2$jscomp$0 !== "+" && next2$jscomp$0 !== "-" || !this.isDigit(next3) ? this.isDigit(next2$jscomp$0) && (this.consumeTheNextInputCodePoint(), repr += next$jscomp$0 + this.consumeDigits()) : (this.consumeNInputCodePoints(2), repr += next$jscomp$0 + next2$jscomp$0 + this.consumeDigits());
|
|
16050
|
+
}
|
|
16051
|
+
return repr;
|
|
16052
|
+
};
|
|
16053
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeDigits = function() {
|
|
16054
|
+
for (var repr = ""; this.isDigit(this.nextInputCodePoint());) {
|
|
16055
|
+
repr += this.nextInputCodePoint(), this.consumeTheNextInputCodePoint();
|
|
16056
|
+
}
|
|
16057
|
+
return repr;
|
|
16058
|
+
};
|
|
16059
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeNumericToken = function() {
|
|
16060
|
+
var repr = this.consumeNumber();
|
|
16061
|
+
return this.threeCodePointsWouldStartAnIdentSequence.apply(this, (0,$jscomp.arrayFromIterable)(this.nextThreeInputCodePoints())) ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DIMENSION, repr:repr, dimension:this.consumeIdentSequence()} : this.nextInputCodePoint() === "%" ? (this.consumeTheNextInputCodePoint(), {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.PERCENTAGE,
|
|
16062
|
+
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16063
|
+
};
|
|
16064
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16065
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16066
|
+
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16067
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16068
|
+
});
|
|
16069
|
+
};
|
|
16070
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
16071
|
+
return codePoint1 === "\\" && codePoint2 !== "\n";
|
|
16072
|
+
};
|
|
16073
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.streamStartsWithValidEscape = function() {
|
|
16074
|
+
return this.twoCodePointsAreValidEscape(this.currentInputCodePoint(), this.nextInputCodePoint());
|
|
16075
|
+
};
|
|
16076
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.threeCodePointsWouldStartANumber = function(codePoint1, codePoint2, codePoint3) {
|
|
16077
|
+
return codePoint1 === "+" || codePoint1 === "-" ? this.isDigit(codePoint2) || codePoint2 === "." && this.isDigit(codePoint3) : codePoint1 === "." ? this.isDigit(codePoint2) : this.isDigit(codePoint1);
|
|
16078
|
+
};
|
|
16079
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.streamStartsWithANumber = function() {
|
|
16080
|
+
return this.threeCodePointsWouldStartANumber.apply(this, [this.currentInputCodePoint()].concat((0,$jscomp.arrayFromIterable)(this.nextTwoInputCodePoints())));
|
|
16081
|
+
};
|
|
16082
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.threeCodePointsWouldStartAnIdentSequence = function(codePoint1, codePoint2, codePoint3) {
|
|
16083
|
+
return codePoint1 === "-" ? this.isIdentStartCodePoint(codePoint2) || codePoint2 === "-" ? !0 : this.twoCodePointsAreValidEscape(codePoint2, codePoint3) ? !0 : !1 : this.isIdentStartCodePoint(codePoint1) ? !0 : codePoint1 === "\\" ? this.twoCodePointsAreValidEscape(codePoint1, codePoint2) : !1;
|
|
16084
|
+
};
|
|
16085
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.streamStartsWithAnIdentSequence = function() {
|
|
16086
|
+
return this.threeCodePointsWouldStartAnIdentSequence.apply(this, [this.currentInputCodePoint()].concat((0,$jscomp.arrayFromIterable)(this.nextTwoInputCodePoints())));
|
|
16087
|
+
};
|
|
16088
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isDigit = function(codePoint) {
|
|
16089
|
+
return codePoint !== void 0 && codePoint >= "0" && codePoint <= "9";
|
|
16090
|
+
};
|
|
16091
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isHexDigit = function(codePoint) {
|
|
16092
|
+
return codePoint !== void 0 && module$contents$safevalues$builders$html_sanitizer$css$tokenizer_HEX_DIGIT_REGEX.test(codePoint);
|
|
16093
|
+
};
|
|
16094
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isNewline = function(codePoint) {
|
|
16095
|
+
return codePoint === "\n";
|
|
16096
|
+
};
|
|
16097
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isWhitespace = function(codePoint) {
|
|
16098
|
+
return codePoint === " " || codePoint === "\t" || this.isNewline(codePoint);
|
|
16099
|
+
};
|
|
16100
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isIdentCodePoint = function(codePoint) {
|
|
16101
|
+
return codePoint === void 0 ? !1 : /^([A-Za-z0-9_-]|[^\u0000-\u007f])$/.test(codePoint);
|
|
16102
|
+
};
|
|
16103
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isIdentStartCodePoint = function(codePoint) {
|
|
16104
|
+
return codePoint === void 0 ? !1 : /^([A-Za-z_]|[^\u0000-\u007f])$/.test(codePoint);
|
|
16105
|
+
};
|
|
16106
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isNonPrintableCodePoint = function(codePoint) {
|
|
16107
|
+
return codePoint === void 0 ? !1 : /[\x00-\x08\x0b\x0e-\x1f\x7f]/.test(codePoint);
|
|
16108
|
+
};
|
|
16109
|
+
function module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(css) {
|
|
16110
|
+
return (new module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer(css)).tokenize();
|
|
16111
|
+
}
|
|
16112
|
+
;var module$exports$safevalues$builders$html_sanitizer$resource_url_policy = {}, module$contents$safevalues$builders$html_sanitizer$resource_url_policy_module = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/resource_url_policy.closure.js"};
|
|
16113
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType = {STYLE_ELEMENT:0, STYLE_ATTRIBUTE:1, HTML_ATTRIBUTE:2};
|
|
16114
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ELEMENT] = "STYLE_ELEMENT";
|
|
16115
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ATTRIBUTE] = "STYLE_ATTRIBUTE";
|
|
16116
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE] = "HTML_ATTRIBUTE";
|
|
16117
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_StyleElementOrAttributeResourceUrlPolicyHints() {
|
|
16118
|
+
}
|
|
16119
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_HtmlAttributeResourceUrlPolicyHints() {
|
|
16120
|
+
}
|
|
16121
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value) {
|
|
16122
|
+
try {
|
|
16123
|
+
return new URL(value, window.document.baseURI);
|
|
16124
|
+
} catch (e) {
|
|
16125
|
+
return new URL("about:invalid");
|
|
16126
|
+
}
|
|
16127
|
+
}
|
|
16128
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl;
|
|
16129
|
+
var module$exports$safevalues$builders$html_sanitizer$css$sanitizer = {}, module$contents$safevalues$builders$html_sanitizer$css$sanitizer_module = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/sanitizer.closure.js"}, module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer =
|
|
16130
|
+
function(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders) {
|
|
16131
|
+
this.propertyAllowlist = propertyAllowlist;
|
|
16132
|
+
this.functionAllowlist = functionAllowlist;
|
|
16133
|
+
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16134
|
+
this.allowKeyframes = allowKeyframes;
|
|
16135
|
+
this.propertyDiscarders = propertyDiscarders;
|
|
16136
|
+
this.inertDocument = document.implementation.createHTMLDocument();
|
|
16137
|
+
};
|
|
16138
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.getStyleSheet = function(cssText) {
|
|
16139
|
+
var style = this.inertDocument.createElement("style"), safeStyle = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(cssText);
|
|
16140
|
+
(0,module$exports$safevalues$dom$elements$style.setTextContent)(style, safeStyle);
|
|
16141
|
+
this.inertDocument.head.appendChild(style);
|
|
16142
|
+
var sheet = style.sheet;
|
|
16143
|
+
style.remove();
|
|
16144
|
+
return sheet;
|
|
16145
|
+
};
|
|
16146
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.getStyleDeclaration = function(cssText) {
|
|
16147
|
+
var div = this.inertDocument.createElement("div");
|
|
16148
|
+
div.style.cssText = cssText;
|
|
16149
|
+
this.inertDocument.body.appendChild(div);
|
|
16150
|
+
var style = div.style;
|
|
16151
|
+
div.remove();
|
|
16152
|
+
return style;
|
|
16153
|
+
};
|
|
16154
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.hasShadowDomEscapingTokens = function(token, nextToken) {
|
|
16155
|
+
return token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COLON ? !1 : nextToken.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.IDENT && nextToken.ident.toLowerCase() === "host" || nextToken.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION && (nextToken.lowercaseName === "host" ||
|
|
16156
|
+
nextToken.lowercaseName === "host-context") ? !0 : !1;
|
|
16157
|
+
};
|
|
16158
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeSelector = function(selector) {
|
|
16159
|
+
for (var tokens = module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(selector), i = 0; i < tokens.length - 1; i++) {
|
|
16160
|
+
if (this.hasShadowDomEscapingTokens(tokens[i], tokens[i + 1])) {
|
|
16161
|
+
return null;
|
|
16162
|
+
}
|
|
16163
|
+
}
|
|
16164
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeTokens(tokens);
|
|
16165
|
+
};
|
|
16166
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeValue = function(propertyName, value, calledFromStyleElement) {
|
|
16167
|
+
for (var tokens = module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(value), i = 0; i < tokens.length; i++) {
|
|
16168
|
+
var token = tokens[i];
|
|
16169
|
+
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION) {
|
|
16170
|
+
if (!this.functionAllowlist.has(token.lowercaseName)) {
|
|
16171
|
+
return null;
|
|
16172
|
+
}
|
|
16173
|
+
if (token.lowercaseName === "url") {
|
|
16174
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16175
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16176
|
+
return null;
|
|
16177
|
+
}
|
|
16178
|
+
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
16179
|
+
this.resourceUrlPolicy && (parsedUrl = this.resourceUrlPolicy(parsedUrl, {type:calledFromStyleElement ? module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ELEMENT : module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ATTRIBUTE, propertyName:propertyName}));
|
|
16180
|
+
if (!parsedUrl) {
|
|
16181
|
+
return null;
|
|
16182
|
+
}
|
|
16183
|
+
tokens[i + 1] = {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING, value:parsedUrl.toString()};
|
|
16184
|
+
i++;
|
|
16185
|
+
}
|
|
16186
|
+
}
|
|
16187
|
+
}
|
|
16188
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeTokens(tokens);
|
|
16189
|
+
};
|
|
16190
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeKeyframeRule = function(rule) {
|
|
16191
|
+
var sanitizedProperties = this.sanitizeStyleDeclaration(rule.style, !0);
|
|
16192
|
+
return rule.keyText + " { " + sanitizedProperties + " }";
|
|
16193
|
+
};
|
|
16194
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeKeyframesRule = function(keyframesRule) {
|
|
16195
|
+
if (!this.allowKeyframes) {
|
|
16196
|
+
return null;
|
|
16197
|
+
}
|
|
16198
|
+
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()) {
|
|
16199
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16200
|
+
if (rule instanceof CSSKeyframeRule) {
|
|
16201
|
+
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16202
|
+
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
16203
|
+
}
|
|
16204
|
+
}
|
|
16205
|
+
return "@keyframes " + module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(keyframesRule.name) + " { " + keyframeRules.join(" ") + " }";
|
|
16206
|
+
};
|
|
16207
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.isPropertyNameAllowed = function(name) {
|
|
16208
|
+
if (!this.propertyAllowlist.has(name)) {
|
|
16209
|
+
return !1;
|
|
16210
|
+
}
|
|
16211
|
+
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()) {
|
|
16212
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16213
|
+
if (discarder(name)) {
|
|
16214
|
+
return !1;
|
|
16215
|
+
}
|
|
16216
|
+
}
|
|
16217
|
+
return !0;
|
|
16218
|
+
};
|
|
16219
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeProperty = function(name, value, isImportant, calledFromStyleElement) {
|
|
16220
|
+
if (!this.isPropertyNameAllowed(name)) {
|
|
16221
|
+
return null;
|
|
16222
|
+
}
|
|
16223
|
+
var sanitizedValue = this.sanitizeValue(name, value, calledFromStyleElement);
|
|
16224
|
+
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16225
|
+
};
|
|
16226
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16227
|
+
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()) {
|
|
16228
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16229
|
+
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16230
|
+
}
|
|
16231
|
+
return sanitizedProperties;
|
|
16232
|
+
};
|
|
16233
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleRule = function(rule) {
|
|
16234
|
+
var selector = this.sanitizeSelector(rule.selectorText);
|
|
16235
|
+
if (!selector) {
|
|
16236
|
+
return null;
|
|
16237
|
+
}
|
|
16238
|
+
var sanitizedProperties = this.sanitizeStyleDeclaration(rule.style, !0);
|
|
16239
|
+
return selector + " { " + sanitizedProperties + " }";
|
|
16240
|
+
};
|
|
16241
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16242
|
+
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()) {
|
|
16243
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16244
|
+
if (rule instanceof CSSStyleRule) {
|
|
16245
|
+
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16246
|
+
sanitizedRule && output.push(sanitizedRule);
|
|
16247
|
+
} else if (rule instanceof CSSKeyframesRule) {
|
|
16248
|
+
var sanitizedRule$jscomp$0 = this.sanitizeKeyframesRule(rule);
|
|
16249
|
+
sanitizedRule$jscomp$0 && output.push(sanitizedRule$jscomp$0);
|
|
16250
|
+
}
|
|
16251
|
+
}
|
|
16252
|
+
return output.join("\n");
|
|
16253
|
+
};
|
|
16254
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleAttribute = function(cssText) {
|
|
16255
|
+
var styleDeclaration = this.getStyleDeclaration(cssText);
|
|
16256
|
+
return this.sanitizeStyleDeclaration(styleDeclaration, !1);
|
|
16257
|
+
};
|
|
16258
|
+
function module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders) {
|
|
16259
|
+
return (new module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders)).sanitizeStyleElement(cssText);
|
|
16260
|
+
}
|
|
16261
|
+
module$exports$safevalues$builders$html_sanitizer$css$sanitizer.sanitizeStyleElement = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement;
|
|
16262
|
+
function module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, propertyAllowlist, functionAllowlist, resourceUrlPolicy, propertyDiscarders) {
|
|
16263
|
+
return (new module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer(propertyAllowlist, functionAllowlist, resourceUrlPolicy, !1, propertyDiscarders)).sanitizeStyleAttribute(cssText);
|
|
16264
|
+
}
|
|
16265
|
+
module$exports$safevalues$builders$html_sanitizer$css$sanitizer.sanitizeStyleAttribute = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute;
|
|
16266
|
+
var module$contents$safevalues$builders$html_sanitizer$inert_fragment_module = module$contents$safevalues$builders$html_sanitizer$inert_fragment_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/inert_fragment.closure.js"};
|
|
15621
16267
|
function module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(dirtyHtml, inertDocument) {
|
|
15622
16268
|
if (goog.DEBUG && inertDocument.defaultView) {
|
|
15623
16269
|
throw Error("createInertFragment called with non-inert document");
|
|
@@ -15642,23 +16288,6 @@ function module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement
|
|
|
15642
16288
|
return nodeType === 1 || typeof nodeType !== "number";
|
|
15643
16289
|
}
|
|
15644
16290
|
module$exports$safevalues$builders$html_sanitizer$no_clobber.isElement = module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement;
|
|
15645
|
-
var module$exports$safevalues$builders$html_sanitizer$resource_url_policy = {}, module$contents$safevalues$builders$html_sanitizer$resource_url_policy_module = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/resource_url_policy.closure.js"};
|
|
15646
|
-
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType = {STYLE_ELEMENT:0, STYLE_ATTRIBUTE:1, HTML_ATTRIBUTE:2};
|
|
15647
|
-
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ELEMENT] = "STYLE_ELEMENT";
|
|
15648
|
-
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ATTRIBUTE] = "STYLE_ATTRIBUTE";
|
|
15649
|
-
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE] = "HTML_ATTRIBUTE";
|
|
15650
|
-
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_StyleElementOrAttributeResourceUrlPolicyHints() {
|
|
15651
|
-
}
|
|
15652
|
-
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_HtmlAttributeResourceUrlPolicyHints() {
|
|
15653
|
-
}
|
|
15654
|
-
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value) {
|
|
15655
|
-
try {
|
|
15656
|
-
return new URL(value, window.document.baseURI);
|
|
15657
|
-
} catch (e) {
|
|
15658
|
-
return new URL("about:invalid");
|
|
15659
|
-
}
|
|
15660
|
-
}
|
|
15661
|
-
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl;
|
|
15662
16291
|
var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/sanitizer_table.closure.js"};
|
|
15663
16292
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable = function(allowedElements, elementPolicies, allowedGlobalAttributes, globalAttributePolicies, globallyAllowedAttributePrefixes) {
|
|
15664
16293
|
this.allowedElements = allowedElements;
|
|
@@ -15716,13 +16345,6 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
15716
16345
|
})}]];
|
|
15717
16346
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
15718
16347
|
new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES));
|
|
15719
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.CSS_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15720
|
-
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["STYLE"]);
|
|
15721
|
-
})), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15722
|
-
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["id", "name", "class"]);
|
|
15723
|
-
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
15724
|
-
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES.concat([["style", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE}]]);
|
|
15725
|
-
})));
|
|
15726
16348
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.LENIENT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["BUTTON", "INPUT"])), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
15727
16349
|
new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15728
16350
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "name"]);
|
|
@@ -15739,11 +16361,14 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_saniti
|
|
|
15739
16361
|
var module$exports$safevalues$builders$html_sanitizer$html_sanitizer = {}, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_module = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/html_sanitizer.closure.js"};
|
|
15740
16362
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer = function() {
|
|
15741
16363
|
};
|
|
16364
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.CssSanitizer = function() {
|
|
16365
|
+
};
|
|
15742
16366
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy) {
|
|
15743
16367
|
this.sanitizerTable = sanitizerTable;
|
|
15744
16368
|
this.styleElementSanitizer = styleElementSanitizer;
|
|
15745
16369
|
this.styleAttributeSanitizer = styleAttributeSanitizer;
|
|
15746
16370
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16371
|
+
this.SHADOW_DOM_INTERNAL_CSS = ":host{display:block;clip-path:inset(0);overflow:hidden}";
|
|
15747
16372
|
this.changes = [];
|
|
15748
16373
|
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
15749
16374
|
};
|
|
@@ -15761,11 +16386,21 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15761
16386
|
};
|
|
15762
16387
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragment = function(html) {
|
|
15763
16388
|
var inertDocument = document.implementation.createHTMLDocument("");
|
|
15764
|
-
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
16389
|
+
return this.styleElementSanitizer && this.styleAttributeSanitizer ? this.sanitizeWithCssToFragment(html, inertDocument) : this.sanitizeToFragmentInternal(html, inertDocument);
|
|
16390
|
+
};
|
|
16391
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeWithCssToFragment = function(htmlWithCss, inertDocument) {
|
|
16392
|
+
var elem = document.createElement("safevalues-with-css"), shadow = elem.attachShadow({mode:"closed"}), sanitized = this.sanitizeToFragmentInternal(htmlWithCss, inertDocument), internalStyle = document.createElement("style");
|
|
16393
|
+
internalStyle.textContent = this.SHADOW_DOM_INTERNAL_CSS;
|
|
16394
|
+
internalStyle.id = "safevalues-internal-style";
|
|
16395
|
+
shadow.appendChild(internalStyle);
|
|
16396
|
+
shadow.appendChild(sanitized);
|
|
16397
|
+
var fragment = inertDocument.createDocumentFragment();
|
|
16398
|
+
fragment.appendChild(elem);
|
|
16399
|
+
return fragment;
|
|
15765
16400
|
};
|
|
15766
16401
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15767
|
-
for (var $jscomp$this$
|
|
15768
|
-
return $jscomp$this$
|
|
16402
|
+
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) {
|
|
16403
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
15769
16404
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
15770
16405
|
var sanitizedNode = void 0;
|
|
15771
16406
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15800,8 +16435,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15800
16435
|
return this.createTextNode(textNode.data);
|
|
15801
16436
|
};
|
|
15802
16437
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15803
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$
|
|
15804
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16438
|
+
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()) {
|
|
16439
|
+
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);
|
|
15805
16440
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15806
16441
|
switch(policy.policyAction) {
|
|
15807
16442
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15833,9 +16468,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15833
16468
|
break;
|
|
15834
16469
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
15835
16470
|
if (this.resourceUrlPolicy) {
|
|
15836
|
-
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$
|
|
15837
|
-
$jscomp$iter$
|
|
15838
|
-
var part = $jscomp$key$
|
|
16471
|
+
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 =
|
|
16472
|
+
$jscomp$iter$35.next()) {
|
|
16473
|
+
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);
|
|
15839
16474
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
15840
16475
|
}
|
|
15841
16476
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -15879,8 +16514,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15879
16514
|
if (!conditions) {
|
|
15880
16515
|
return !0;
|
|
15881
16516
|
}
|
|
15882
|
-
for (var $jscomp$iter$
|
|
15883
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16517
|
+
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()) {
|
|
16518
|
+
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;
|
|
15884
16519
|
if (value && !expectedValues.has(value)) {
|
|
15885
16520
|
return !1;
|
|
15886
16521
|
}
|
|
@@ -15895,8 +16530,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
15895
16530
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
15896
16531
|
};
|
|
15897
16532
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
15898
|
-
for (var parts = [], $jscomp$iter$
|
|
15899
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16533
|
+
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()) {
|
|
16534
|
+
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;
|
|
15900
16535
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
15901
16536
|
}
|
|
15902
16537
|
return {parts:parts};
|
|
@@ -15948,13 +16583,13 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_check
|
|
|
15948
16583
|
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
15949
16584
|
}
|
|
15950
16585
|
;var module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder = {}, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_builder_module = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_builder_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/html_sanitizer_builder.closure.js"};
|
|
15951
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16586
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder = function() {
|
|
15952
16587
|
this.calledBuild = !1;
|
|
15953
16588
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
15954
16589
|
};
|
|
15955
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
15956
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$
|
|
15957
|
-
var element = $jscomp$key$
|
|
16590
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
16591
|
+
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()) {
|
|
16592
|
+
var element = $jscomp$key$m1412690177$21$element.value;
|
|
15958
16593
|
element = element.toUpperCase();
|
|
15959
16594
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15960
16595
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15965,15 +16600,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15965
16600
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(allowedElements, allowedElementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
15966
16601
|
return this;
|
|
15967
16602
|
};
|
|
15968
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16603
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowCustomElement = function(element, allowedAttributes) {
|
|
15969
16604
|
var allowedElements = new Set(this.sanitizerTable.allowedElements), allowedElementPolicies = new Map(this.sanitizerTable.elementPolicies);
|
|
15970
16605
|
element = element.toUpperCase();
|
|
15971
16606
|
if (!module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement(element)) {
|
|
15972
16607
|
throw Error("Element: " + element + " is not a custom element");
|
|
15973
16608
|
}
|
|
15974
16609
|
if (allowedAttributes) {
|
|
15975
|
-
for (var elementPolicy = new Map(), $jscomp$iter$
|
|
15976
|
-
elementPolicy.set($jscomp$key$
|
|
16610
|
+
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()) {
|
|
16611
|
+
elementPolicy.set($jscomp$key$m1412690177$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15977
16612
|
}
|
|
15978
16613
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15979
16614
|
} else {
|
|
@@ -15982,16 +16617,16 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15982
16617
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(allowedElements, allowedElementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
15983
16618
|
return this;
|
|
15984
16619
|
};
|
|
15985
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
15986
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$
|
|
15987
|
-
var attribute = $jscomp$key$
|
|
16620
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
16621
|
+
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()) {
|
|
16622
|
+
var attribute = $jscomp$key$m1412690177$23$attribute.value;
|
|
15988
16623
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15989
16624
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15990
16625
|
}
|
|
15991
|
-
for (var $jscomp$iter$
|
|
15992
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15993
|
-
$jscomp$iter$
|
|
15994
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16626
|
+
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()) {
|
|
16627
|
+
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$ =
|
|
16628
|
+
$jscomp$iter$42.next()) {
|
|
16629
|
+
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;
|
|
15995
16630
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15996
16631
|
}
|
|
15997
16632
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15999,9 +16634,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15999
16634
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, elementPolicies, allowedGlobalAttributes, globalAttributePolicies);
|
|
16000
16635
|
return this;
|
|
16001
16636
|
};
|
|
16002
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16003
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$
|
|
16004
|
-
var attribute = $jscomp$key$
|
|
16637
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
16638
|
+
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()) {
|
|
16639
|
+
var attribute = $jscomp$key$m1412690177$26$attribute.value;
|
|
16005
16640
|
if (attribute.indexOf("data-") !== 0) {
|
|
16006
16641
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
16007
16642
|
}
|
|
@@ -16010,34 +16645,38 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
16010
16645
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
16011
16646
|
return this;
|
|
16012
16647
|
};
|
|
16013
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16648
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowStyleAttributes = function() {
|
|
16014
16649
|
var globalAttributePolicies = new Map(this.sanitizerTable.globalAttributePolicies);
|
|
16015
16650
|
globalAttributePolicies.set("style", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE});
|
|
16016
16651
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, globalAttributePolicies);
|
|
16017
16652
|
return this;
|
|
16018
16653
|
};
|
|
16019
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16654
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowClassAttributes = function() {
|
|
16020
16655
|
var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes);
|
|
16021
16656
|
allowedGlobalAttributes.add("class");
|
|
16022
16657
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
16023
16658
|
return this;
|
|
16024
16659
|
};
|
|
16025
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16660
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowIdAttributes = function() {
|
|
16026
16661
|
var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes);
|
|
16027
16662
|
allowedGlobalAttributes.add("id");
|
|
16028
16663
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
16029
16664
|
return this;
|
|
16030
16665
|
};
|
|
16031
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16666
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowIdReferenceAttributes = function() {
|
|
16032
16667
|
var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes);
|
|
16033
16668
|
allowedGlobalAttributes.add("aria-activedescendant").add("aria-controls").add("aria-labelledby").add("aria-owns").add("for").add("list");
|
|
16034
16669
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
16035
16670
|
return this;
|
|
16036
16671
|
};
|
|
16037
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16672
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.withResourceUrlPolicy = function(resourceUrlPolicy) {
|
|
16038
16673
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16039
16674
|
return this;
|
|
16040
16675
|
};
|
|
16676
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder = function() {
|
|
16677
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
16678
|
+
};
|
|
16679
|
+
$jscomp.inherits(module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder, module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder);
|
|
16041
16680
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.build = function() {
|
|
16042
16681
|
if (this.calledBuild) {
|
|
16043
16682
|
throw Error("this sanitizer has already called build");
|
|
@@ -16045,7 +16684,51 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
16045
16684
|
this.calledBuild = !0;
|
|
16046
16685
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, void 0, void 0, this.resourceUrlPolicy);
|
|
16047
16686
|
};
|
|
16048
|
-
|
|
16687
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder = function() {
|
|
16688
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
16689
|
+
this.transitionsAllowed = this.animationsAllowed = !1;
|
|
16690
|
+
};
|
|
16691
|
+
$jscomp.inherits(module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder, module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder);
|
|
16692
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.allowAnimations = function() {
|
|
16693
|
+
this.animationsAllowed = !0;
|
|
16694
|
+
return this;
|
|
16695
|
+
};
|
|
16696
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.allowTransitions = function() {
|
|
16697
|
+
this.transitionsAllowed = !0;
|
|
16698
|
+
return this;
|
|
16699
|
+
};
|
|
16700
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
16701
|
+
var $jscomp$this$m1412690177$17 = this;
|
|
16702
|
+
this.extendSanitizerTableForCss();
|
|
16703
|
+
var propertyDiscarders = [];
|
|
16704
|
+
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
16705
|
+
return /^(animation|offset)(-|$)/.test(property);
|
|
16706
|
+
});
|
|
16707
|
+
this.transitionsAllowed || propertyDiscarders.push(function(property) {
|
|
16708
|
+
return /^transition(-|$)/.test(property);
|
|
16709
|
+
});
|
|
16710
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
16711
|
+
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);
|
|
16712
|
+
}, function(cssText) {
|
|
16713
|
+
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);
|
|
16714
|
+
}, this.resourceUrlPolicy);
|
|
16715
|
+
};
|
|
16716
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
16717
|
+
var allowedElements = new Set(this.sanitizerTable.allowedElements), allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), globalAttributePolicies = new Map(this.sanitizerTable.globalAttributePolicies);
|
|
16718
|
+
allowedElements.add("STYLE");
|
|
16719
|
+
globalAttributePolicies.set("style", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE});
|
|
16720
|
+
allowedGlobalAttributes.add("id");
|
|
16721
|
+
allowedGlobalAttributes.add("name");
|
|
16722
|
+
allowedGlobalAttributes.add("class");
|
|
16723
|
+
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, globalAttributePolicies);
|
|
16724
|
+
};
|
|
16725
|
+
var module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_module = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/default_css_sanitizer.closure.js"}, module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_defaultCssSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
16726
|
+
return (new module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder()).build();
|
|
16727
|
+
});
|
|
16728
|
+
function module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss(css) {
|
|
16729
|
+
return module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_defaultCssSanitizer.sanitizeToFragment(css);
|
|
16730
|
+
}
|
|
16731
|
+
;var module$exports$safevalues$builders$resource_url_builders = {}, module$contents$safevalues$builders$resource_url_builders_module = module$contents$safevalues$builders$resource_url_builders_module || {id:"third_party/javascript/safevalues/builders/resource_url_builders.closure.js"}, module$contents$safevalues$builders$resource_url_builders_Primitive;
|
|
16049
16732
|
function module$contents$safevalues$builders$resource_url_builders_hasValidOrigin(base) {
|
|
16050
16733
|
if (!/^https:\/\//.test(base) && !/^\/\//.test(base)) {
|
|
16051
16734
|
return !1;
|
|
@@ -16256,12 +16939,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16256
16939
|
}
|
|
16257
16940
|
try {
|
|
16258
16941
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16259
|
-
} catch ($jscomp$unused$catch$
|
|
16942
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
16260
16943
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16261
16944
|
}
|
|
16262
16945
|
try {
|
|
16263
16946
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16264
|
-
} catch ($jscomp$unused$catch$
|
|
16947
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
16265
16948
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16266
16949
|
}
|
|
16267
16950
|
return !1;
|
|
@@ -16298,9 +16981,11 @@ module$exports$safevalues$index.scriptToHtml = module$exports$safevalues$builder
|
|
|
16298
16981
|
module$exports$safevalues$index.scriptUrlToHtml = module$exports$safevalues$builders$html_builders.scriptUrlToHtml;
|
|
16299
16982
|
module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
|
|
16300
16983
|
module$exports$safevalues$index.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
16984
|
+
module$exports$safevalues$index.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
16301
16985
|
module$exports$safevalues$index.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
16302
16986
|
module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
16303
16987
|
module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
16988
|
+
module$exports$safevalues$index.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
16304
16989
|
module$exports$safevalues$index.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
16305
16990
|
module$exports$safevalues$index.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
16306
16991
|
module$exports$safevalues$index.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
@@ -16341,7 +17026,7 @@ module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$interna
|
|
|
16341
17026
|
module$exports$safevalues$index.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
16342
17027
|
module$exports$safevalues$index.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
16343
17028
|
module$exports$safevalues$index.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
16344
|
-
module$exports$safevalues$index.SafeStyle = module$
|
|
17029
|
+
module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
16345
17030
|
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
16346
17031
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
16347
17032
|
module$exports$safevalues$index.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
@@ -16396,12 +17081,6 @@ goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
|
16396
17081
|
goog.dom.safe.setFormElementAction = function(form, url) {
|
|
16397
17082
|
module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16398
17083
|
};
|
|
16399
|
-
goog.dom.safe.setButtonFormAction = function(button, url) {
|
|
16400
|
-
module$contents$goog$asserts$dom_assertIsHtmlButtonElement(button).formAction = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16401
|
-
};
|
|
16402
|
-
goog.dom.safe.setInputFormAction = function(input, url) {
|
|
16403
|
-
module$contents$goog$asserts$dom_assertIsHtmlInputElement(input).formAction = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16404
|
-
};
|
|
16405
17084
|
goog.dom.safe.documentWrite = function(doc, html) {
|
|
16406
17085
|
doc.write(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html));
|
|
16407
17086
|
};
|
|
@@ -16409,22 +17088,10 @@ goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
|
16409
17088
|
module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(anchor);
|
|
16410
17089
|
anchor.href = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16411
17090
|
};
|
|
16412
|
-
goog.dom.safe.setAudioSrc = function(audioElement, url) {
|
|
16413
|
-
module$contents$goog$asserts$dom_assertIsHtmlAudioElement(audioElement);
|
|
16414
|
-
audioElement.src = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16415
|
-
};
|
|
16416
|
-
goog.dom.safe.setVideoSrc = function(videoElement, url) {
|
|
16417
|
-
module$contents$goog$asserts$dom_assertIsHtmlVideoElement(videoElement);
|
|
16418
|
-
videoElement.src = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16419
|
-
};
|
|
16420
17091
|
goog.dom.safe.setIframeSrc = function(iframe, url) {
|
|
16421
17092
|
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
16422
17093
|
iframe.src = goog.html.TrustedResourceUrl.unwrap(url);
|
|
16423
17094
|
};
|
|
16424
|
-
goog.dom.safe.setIframeSrcdoc = function(iframe, html) {
|
|
16425
|
-
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
16426
|
-
iframe.srcdoc = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
|
|
16427
|
-
};
|
|
16428
17095
|
goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
|
|
16429
17096
|
module$contents$goog$asserts$dom_assertIsHtmlLinkElement(link);
|
|
16430
17097
|
link.rel = rel;
|
|
@@ -16950,7 +17617,7 @@ goog.dom.flattenElement = function(element) {
|
|
|
16950
17617
|
}
|
|
16951
17618
|
};
|
|
16952
17619
|
goog.dom.getChildren = function(element) {
|
|
16953
|
-
return element.children != void 0 ? element.children : Array.prototype.filter.call(element.childNodes, function(node) {
|
|
17620
|
+
return goog.FEATURESET_YEAR > 2018 || element.children != void 0 ? element.children : Array.prototype.filter.call(element.childNodes, function(node) {
|
|
16954
17621
|
return node.nodeType == goog.dom.NodeType.ELEMENT;
|
|
16955
17622
|
});
|
|
16956
17623
|
};
|
|
@@ -16961,7 +17628,7 @@ goog.dom.getLastElementChild = function(node) {
|
|
|
16961
17628
|
return node.lastElementChild !== void 0 ? node.lastElementChild : goog.dom.getNextElementNode_(node.lastChild, !1);
|
|
16962
17629
|
};
|
|
16963
17630
|
goog.dom.getNextElementSibling = function(node) {
|
|
16964
|
-
return node.nextElementSibling !== void 0 ? node.nextElementSibling : goog.dom.getNextElementNode_(node.nextSibling, !0);
|
|
17631
|
+
return goog.FEATURESET_YEAR > 2018 || node.nextElementSibling !== void 0 ? node.nextElementSibling : goog.dom.getNextElementNode_(node.nextSibling, !0);
|
|
16965
17632
|
};
|
|
16966
17633
|
goog.dom.getPreviousElementSibling = function(node) {
|
|
16967
17634
|
return node.previousElementSibling !== void 0 ? node.previousElementSibling : goog.dom.getNextElementNode_(node.previousSibling, !1);
|
|
@@ -17006,18 +17673,13 @@ goog.dom.isWindow = function(obj) {
|
|
|
17006
17673
|
return goog.isObject(obj) && obj.window == obj;
|
|
17007
17674
|
};
|
|
17008
17675
|
goog.dom.getParentElement = function(element) {
|
|
17009
|
-
|
|
17010
|
-
if (goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY && (parent = element.parentElement)) {
|
|
17011
|
-
return parent;
|
|
17012
|
-
}
|
|
17013
|
-
parent = element.parentNode;
|
|
17014
|
-
return goog.dom.isElement(parent) ? parent : null;
|
|
17676
|
+
return element.parentElement || null;
|
|
17015
17677
|
};
|
|
17016
17678
|
goog.dom.contains = function(parent, descendant) {
|
|
17017
17679
|
if (!parent || !descendant) {
|
|
17018
17680
|
return !1;
|
|
17019
17681
|
}
|
|
17020
|
-
if (parent.contains && descendant.nodeType == goog.dom.NodeType.ELEMENT) {
|
|
17682
|
+
if (goog.FEATURESET_YEAR > 2018 || parent.contains && descendant.nodeType == goog.dom.NodeType.ELEMENT) {
|
|
17021
17683
|
return parent == descendant || parent.contains(descendant);
|
|
17022
17684
|
}
|
|
17023
17685
|
if (typeof parent.compareDocumentPosition != "undefined") {
|
|
@@ -17275,6 +17937,9 @@ goog.dom.getNodeAtOffset = function(parent, offset, opt_result) {
|
|
|
17275
17937
|
return cur;
|
|
17276
17938
|
};
|
|
17277
17939
|
goog.dom.isNodeList = function(val) {
|
|
17940
|
+
if (goog.FEATURESET_YEAR >= 2018) {
|
|
17941
|
+
return !!val && typeof val.length == "number" && typeof val.item == "function";
|
|
17942
|
+
}
|
|
17278
17943
|
if (val && typeof val.length == "number") {
|
|
17279
17944
|
if (goog.isObject(val)) {
|
|
17280
17945
|
return typeof val.item == "function" || typeof val.item == "string";
|
|
@@ -17585,13 +18250,13 @@ goog.debug.asyncStackTag.getTestNameProvider = function() {
|
|
|
17585
18250
|
return module$contents$goog$debug$asyncStackTag_testNameProvider;
|
|
17586
18251
|
};
|
|
17587
18252
|
goog.ASSUME_NATIVE_PROMISE = !1;
|
|
17588
|
-
var module$contents$goog$async$run_schedule, module$contents$goog$async$run_workQueueScheduled = !1, module$contents$goog$async$run_workQueue = new module$contents$goog$async$WorkQueue_WorkQueue(), module$contents$goog$async$run_run = function(callback, context) {
|
|
18253
|
+
var module$contents$goog$async$run_ASSUME_NATIVE_PROMISE = goog.ASSUME_NATIVE_PROMISE, module$contents$goog$async$run_schedule, module$contents$goog$async$run_workQueueScheduled = !1, module$contents$goog$async$run_workQueue = new module$contents$goog$async$WorkQueue_WorkQueue(), module$contents$goog$async$run_run = function(callback, context) {
|
|
17589
18254
|
module$contents$goog$async$run_schedule || module$contents$goog$async$run_initializeRunner();
|
|
17590
18255
|
module$contents$goog$async$run_workQueueScheduled || (module$contents$goog$async$run_schedule(), module$contents$goog$async$run_workQueueScheduled = !0);
|
|
17591
18256
|
callback = module$contents$goog$debug$asyncStackTag_wrap(callback, "goog.async.run");
|
|
17592
18257
|
module$contents$goog$async$run_workQueue.add(callback, context);
|
|
17593
18258
|
}, module$contents$goog$async$run_initializeRunner = function() {
|
|
17594
|
-
if (goog
|
|
18259
|
+
if (module$contents$goog$async$run_ASSUME_NATIVE_PROMISE || goog.global.Promise && goog.global.Promise.resolve) {
|
|
17595
18260
|
var promise = goog.global.Promise.resolve(void 0);
|
|
17596
18261
|
module$contents$goog$async$run_schedule = function() {
|
|
17597
18262
|
promise.then(module$contents$goog$async$run_run.processWorkQueue);
|
|
@@ -18817,7 +19482,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18817
19482
|
headers.set(key, opt_headers[key]);
|
|
18818
19483
|
}
|
|
18819
19484
|
} else if (typeof opt_headers.keys === "function" && typeof opt_headers.get === "function") {
|
|
18820
|
-
for (var $jscomp$iter$
|
|
19485
|
+
for (var $jscomp$iter$45 = (0,$jscomp.makeIterator)(opt_headers.keys()), $jscomp$key$m71669834$54$key = $jscomp$iter$45.next(); !$jscomp$key$m71669834$54$key.done; $jscomp$key$m71669834$54$key = $jscomp$iter$45.next()) {
|
|
18821
19486
|
var key$jscomp$0 = $jscomp$key$m71669834$54$key.value;
|
|
18822
19487
|
headers.set(key$jscomp$0, opt_headers.get(key$jscomp$0));
|
|
18823
19488
|
}
|
|
@@ -18829,7 +19494,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18829
19494
|
return goog.string.caseInsensitiveEquals(goog.net.XhrIo.CONTENT_TYPE_HEADER, header);
|
|
18830
19495
|
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
|
|
18831
19496
|
!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);
|
|
18832
|
-
for (var $jscomp$iter$
|
|
19497
|
+
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()) {
|
|
18833
19498
|
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;
|
|
18834
19499
|
this.xhr_.setRequestHeader(key$jscomp$1, value);
|
|
18835
19500
|
}
|
|
@@ -19082,10 +19747,13 @@ safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
|
19082
19747
|
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19083
19748
|
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19084
19749
|
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19750
|
+
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
19085
19751
|
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19086
19752
|
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19087
19753
|
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19754
|
+
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
19088
19755
|
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19756
|
+
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
19089
19757
|
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19090
19758
|
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19091
19759
|
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
@@ -19129,7 +19797,7 @@ safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_
|
|
|
19129
19797
|
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
19130
19798
|
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19131
19799
|
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19132
|
-
safevalues.SafeStyle = module$
|
|
19800
|
+
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19133
19801
|
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19134
19802
|
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19135
19803
|
safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
@@ -19145,7 +19813,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19145
19813
|
ee.apiclient = {};
|
|
19146
19814
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19147
19815
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19148
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19816
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.417";
|
|
19149
19817
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19150
19818
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19151
19819
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19314,7 +19982,7 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
|
|
|
19314
19982
|
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
|
|
19315
19983
|
};
|
|
19316
19984
|
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
|
|
19317
|
-
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$
|
|
19985
|
+
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$47 = (0,$jscomp.makeIterator)(responseText.split("--" + boundary)), $jscomp$key$m1153655765$100$part = $jscomp$iter$47.next(); !$jscomp$key$m1153655765$100$part.done; $jscomp$key$m1153655765$100$part = $jscomp$iter$47.next()) {
|
|
19318
19986
|
var groups = $jscomp$key$m1153655765$100$part.value.split("\r\n\r\n");
|
|
19319
19987
|
if (!(groups.length < 3)) {
|
|
19320
19988
|
var id = groups[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1], status = Number(groups[1].match(/^HTTP\S*\s(\d+)\s/)[1]), text = groups.slice(2).join("\r\n\r\n");
|
|
@@ -19443,8 +20111,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19443
20111
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19444
20112
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19445
20113
|
method = method || "POST";
|
|
19446
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19447
|
-
version === "0.1.
|
|
20114
|
+
var headers = {"Content-Type":contentType}, version = "0.1.417";
|
|
20115
|
+
version === "0.1.417" && (version = "latest");
|
|
19448
20116
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19449
20117
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19450
20118
|
if (authToken != null) {
|
|
@@ -19577,7 +20245,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19577
20245
|
}
|
|
19578
20246
|
};
|
|
19579
20247
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
19580
|
-
for (var request = new goog.Uri.QueryData(), $jscomp$iter$
|
|
20248
|
+
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()) {
|
|
19581
20249
|
var $jscomp$destructuring$var49 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var49.next().value, item = $jscomp$destructuring$var49.next().value;
|
|
19582
20250
|
request.set(name, item);
|
|
19583
20251
|
}
|
|
@@ -19932,7 +20600,7 @@ ee.rpc_convert.algorithms = function(result) {
|
|
|
19932
20600
|
algorithm.deprecated && (internalAlgorithm.deprecated = algorithm.deprecationReason);
|
|
19933
20601
|
algorithm.sourceCodeUri && (internalAlgorithm.sourceCodeUri = algorithm.sourceCodeUri);
|
|
19934
20602
|
return internalAlgorithm;
|
|
19935
|
-
}, internalAlgorithms = {}, $jscomp$iter$
|
|
20603
|
+
}, internalAlgorithms = {}, $jscomp$iter$49 = (0,$jscomp.makeIterator)(result.algorithms || []), $jscomp$key$m29782521$48$algorithm = $jscomp$iter$49.next(); !$jscomp$key$m29782521$48$algorithm.done; $jscomp$key$m29782521$48$algorithm = $jscomp$iter$49.next()) {
|
|
19936
20604
|
var algorithm = $jscomp$key$m29782521$48$algorithm.value, name = algorithm.name.replace(/^algorithms\//, "");
|
|
19937
20605
|
internalAlgorithms[name] = convertAlgorithm(algorithm);
|
|
19938
20606
|
}
|
|
@@ -20082,9 +20750,9 @@ ee.rpc_convert.getListToListAssets = function(param) {
|
|
|
20082
20750
|
param.bbox && (assetsRequest.region = ee.rpc_convert.boundingBoxToGeoJson(param.bbox));
|
|
20083
20751
|
param.region && (assetsRequest.region = param.region);
|
|
20084
20752
|
param.bbox && param.region && console.warn("Multiple request parameters converted to region");
|
|
20085
|
-
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$
|
|
20753
|
+
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$50 = (0,$jscomp.makeIterator)(Object.keys(param).filter(function(k) {
|
|
20086
20754
|
return !allKeys.includes(k);
|
|
20087
|
-
})), $jscomp$key$m29782521$49$key = $jscomp$iter$
|
|
20755
|
+
})), $jscomp$key$m29782521$49$key = $jscomp$iter$50.next(); !$jscomp$key$m29782521$49$key.done; $jscomp$key$m29782521$49$key = $jscomp$iter$50.next()) {
|
|
20088
20756
|
console.warn("Unrecognized key " + $jscomp$key$m29782521$49$key.value + " ignored");
|
|
20089
20757
|
}
|
|
20090
20758
|
return ee.rpc_convert.processListImagesParams(assetsRequest);
|
|
@@ -20308,7 +20976,7 @@ ee.rpc_convert.parseFilterParamsFromListImages_ = function(params) {
|
|
|
20308
20976
|
})) {
|
|
20309
20977
|
throw Error('Filter parameter "properties" must be an array of strings');
|
|
20310
20978
|
}
|
|
20311
|
-
for (var $jscomp$iter$
|
|
20979
|
+
for (var $jscomp$iter$51 = (0,$jscomp.makeIterator)(params.properties), $jscomp$key$m29782521$50$propertyQuery = $jscomp$iter$51.next(); !$jscomp$key$m29782521$50$propertyQuery.done; $jscomp$key$m29782521$50$propertyQuery = $jscomp$iter$51.next()) {
|
|
20312
20980
|
queryStrings.push($jscomp$key$m29782521$50$propertyQuery.value.trim().replace(/^(properties\.)?/, "properties."));
|
|
20313
20981
|
}
|
|
20314
20982
|
delete params.properties;
|
|
@@ -20645,7 +21313,7 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
|
|
|
20645
21313
|
if (!goog.isObject(object)) {
|
|
20646
21314
|
return object;
|
|
20647
21315
|
}
|
|
20648
|
-
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$
|
|
21316
|
+
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()) {
|
|
20649
21317
|
var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var53.next().value, val = $jscomp$destructuring$var53.next().value;
|
|
20650
21318
|
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 ?
|
|
20651
21319
|
null : val : walkObject(val)) : ret[key] = walkObject(val);
|
|
@@ -20769,7 +21437,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20769
21437
|
return storeInSourceMap(value, optimized$jscomp$1);
|
|
20770
21438
|
}
|
|
20771
21439
|
if (value.dictionaryValue != null) {
|
|
20772
|
-
for (var values = {}, constantValues = {}, $jscomp$iter$
|
|
21440
|
+
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()) {
|
|
20773
21441
|
var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var55.next().value, v = $jscomp$destructuring$var55.next().value;
|
|
20774
21442
|
values[k] = this.optimizeValue(v, depth + 3);
|
|
20775
21443
|
constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
|
|
@@ -20781,7 +21449,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20781
21449
|
return storeInSourceMap(value, optimized$jscomp$2);
|
|
20782
21450
|
}
|
|
20783
21451
|
if (value.functionInvocationValue != null) {
|
|
20784
|
-
for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$
|
|
21452
|
+
for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$54 = (0,$jscomp.makeIterator)(Object.keys(inv.arguments || {})), $jscomp$key$m759255156$30$k = $jscomp$iter$54.next(); !$jscomp$key$m759255156$30$k.done; $jscomp$key$m759255156$30$k = $jscomp$iter$54.next()) {
|
|
20785
21453
|
var k$jscomp$0 = $jscomp$key$m759255156$30$k.value;
|
|
20786
21454
|
args[k$jscomp$0] = this.optimizeValue(inv.arguments[k$jscomp$0], depth + 3);
|
|
20787
21455
|
}
|
|
@@ -21679,7 +22347,7 @@ ee.data.createAsset = function(value, opt_path, opt_force, opt_properties, opt_c
|
|
|
21679
22347
|
value.gcsLocation && !value.cloudStorageLocation && (value.cloudStorageLocation = value.gcsLocation, delete value.gcsLocation);
|
|
21680
22348
|
value.cloudStorageLocation && (value.cloudStorageLocation = new module$exports$eeapiclient$ee_api_client.CloudStorageLocation(value.cloudStorageLocation));
|
|
21681
22349
|
opt_properties && !value.properties && (value.properties = Object.assign({}, opt_properties));
|
|
21682
|
-
for (var $jscomp$iter$
|
|
22350
|
+
for (var $jscomp$iter$55 = (0,$jscomp.makeIterator)(["title", "description"]), $jscomp$key$m1075644492$123$prop = $jscomp$iter$55.next(); !$jscomp$key$m1075644492$123$prop.done; $jscomp$key$m1075644492$123$prop = $jscomp$iter$55.next()) {
|
|
21683
22351
|
var prop = $jscomp$key$m1075644492$123$prop.value;
|
|
21684
22352
|
if (value[prop]) {
|
|
21685
22353
|
var $jscomp$compprop17 = {};
|
|
@@ -23952,7 +24620,7 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
|
|
|
23952
24620
|
})) {
|
|
23953
24621
|
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
23954
24622
|
}
|
|
23955
|
-
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$
|
|
24623
|
+
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()) {
|
|
23956
24624
|
var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var60.next().value, value = $jscomp$destructuring$var60.next().value;
|
|
23957
24625
|
if (!module$contents$goog$array_contains(validOptionKeys, key)) {
|
|
23958
24626
|
var validKeysMsg = validOptionKeys.join(", ");
|
|
@@ -26973,29 +27641,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26973
27641
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26974
27642
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26975
27643
|
(function() {
|
|
26976
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.
|
|
26977
|
-
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "
|
|
26978
|
-
"
|
|
26979
|
-
"collection opt_description opt_bucket opt_fileNamePrefix
|
|
26980
|
-
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond
|
|
26981
|
-
["
|
|
26982
|
-
["
|
|
26983
|
-
"
|
|
26984
|
-
|
|
26985
|
-
|
|
26986
|
-
"opt_selectors", "opt_filename", "opt_callback"], ["
|
|
26987
|
-
"
|
|
26988
|
-
"
|
|
26989
|
-
["list"], ["number"], ["obj"
|
|
26990
|
-
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.
|
|
26991
|
-
module$contents$ee$batch_Export.image.
|
|
26992
|
-
ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.
|
|
26993
|
-
ee.data.
|
|
26994
|
-
ee.data.
|
|
26995
|
-
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.
|
|
26996
|
-
ee.Filter.and, ee.Filter.
|
|
26997
|
-
ee.Image.
|
|
26998
|
-
ee.ImageCollection.prototype.
|
|
27644
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call 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.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.Collection.prototype.limit ee.Collection.prototype.filter ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.data.authenticateViaOauth ee.data.makeThumbUrl ee.data.setAssetAcl ee.data.renameAsset ee.data.getMapId ee.data.listAssets ee.data.authenticate ee.data.getTaskList ee.data.setAssetProperties ee.data.copyAsset ee.data.getTableDownloadId ee.data.getTileUrl ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.deleteAsset ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.listOperations ee.data.getDownloadId ee.data.authenticateViaPopup ee.data.makeDownloadUrl ee.data.cancelOperation ee.data.getWorkloadTag ee.data.getFeatureViewTilesKey ee.data.getAssetAcl ee.data.listImages ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.createAssetHome ee.data.newTaskId ee.data.setWorkloadTag ee.data.computeValue ee.data.createAsset ee.data.getInfo ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.resetWorkloadTag ee.data.getTaskStatus ee.data.updateAsset ee.data.updateTask ee.data.getFilmstripThumbId ee.data.getList ee.data.startIngestion ee.data.createFolder ee.data.startProcessing ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.TILE_SIZE ee.initialize ee.reset ee.call ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.FeatureCollection.prototype.getMap 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.Filter.inList ee.Filter.gt ee.Filter.or ee.Filter.lt ee.Filter.neq ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry ee.Geometry.MultiLineString ee.Geometry.Polygon ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.serialize ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry.Rectangle ee.Geometry.MultiPolygon ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.getDownloadURL ee.Image ee.Image.prototype.clip ee.Image.prototype.expression ee.Image.prototype.getThumbURL ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.cat ee.Image.prototype.rename ee.Image.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27645
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "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(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices",
|
|
27646
|
+
"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(" "),
|
|
27647
|
+
"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(" "), "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(" "),
|
|
27648
|
+
"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(" "), "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(" "),
|
|
27649
|
+
["max", "opt_property", "opt_ascending"], ["filter"], ["geometry"], ["algorithm", "opt_dropNulls"], ["start", "opt_end"], ["algorithm", "opt_first"], ["property", "opt_ascending"], ["name", "operator", "value"], ["callback"], ["opt_callback"], ["legacy"], ["func", "var_args"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["id"], ["assetId", "aclUpdate", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["params", "opt_callback"],
|
|
27650
|
+
["parent", "opt_params", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_callback"], ["assetId", "properties", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["project", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["taskId", "request", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], ["params",
|
|
27651
|
+
"opt_callback"], ["opt_success", "opt_error"], ["id"], ["operationName", "opt_callback"], [], ["params", "opt_callback"], ["assetId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"], ["id", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["tag"], ["obj", "opt_callback"], ["value",
|
|
27652
|
+
"opt_path", "opt_force", "opt_properties", "opt_callback"], ["id", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "params", "opt_callback"], ["date",
|
|
27653
|
+
"opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], ["func", "var_args"], [], [], ["func", "namedArgs"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_format",
|
|
27654
|
+
"opt_selectors", "opt_filename", "opt_callback"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["name", "value"], ["name", "value"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], [], ["opt_filter"], ["name", "value"], ["var_args"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"],
|
|
27655
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["legacy"], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["params", "opt_callback"], ["r",
|
|
27656
|
+
"g", "b"], ["params", "opt_callback"], ["opt_args"], ["geometry"], ["expression", "opt_map"], ["params", "opt_callback"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["var_args"], ["var_args"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["args"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"],
|
|
27657
|
+
[], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27658
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset, 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, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery,
|
|
27659
|
+
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, ee.Collection.prototype.limit, ee.Collection.prototype.filter, ee.Collection.prototype.filterBounds, ee.Collection.prototype.map, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.ComputedObject.prototype.evaluate,
|
|
27660
|
+
ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.data.authenticateViaOauth, ee.data.makeThumbUrl, ee.data.setAssetAcl, ee.data.renameAsset, ee.data.getMapId, ee.data.listAssets, ee.data.authenticate, ee.data.getTaskList, ee.data.setAssetProperties, ee.data.copyAsset, ee.data.getTableDownloadId, ee.data.getTileUrl, ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.deleteAsset, ee.data.startTableIngestion,
|
|
27661
|
+
ee.data.getAssetRootQuota, ee.data.listOperations, ee.data.getDownloadId, ee.data.authenticateViaPopup, ee.data.makeDownloadUrl, ee.data.cancelOperation, ee.data.getWorkloadTag, ee.data.getFeatureViewTilesKey, ee.data.getAssetAcl, ee.data.listImages, ee.data.listFeatures, ee.data.getAssetRoots, ee.data.getAsset, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.createAssetHome, ee.data.newTaskId, ee.data.setWorkloadTag, ee.data.computeValue, ee.data.createAsset, ee.data.getInfo,
|
|
27662
|
+
ee.data.getThumbId, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getVideoThumbId, ee.data.resetWorkloadTag, ee.data.getTaskStatus, ee.data.updateAsset, ee.data.updateTask, ee.data.getFilmstripThumbId, ee.data.getList, ee.data.startIngestion, ee.data.createFolder, ee.data.startProcessing, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.TILE_SIZE, ee.initialize, ee.reset, ee.call, ee.Algorithms,
|
|
27663
|
+
ee.InitState, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.Filter.lte, ee.Filter.gte, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.prototype.not,
|
|
27664
|
+
ee.Filter, ee.Filter.eq, ee.Filter.and, ee.Filter.inList, ee.Filter.gt, ee.Filter.or, ee.Filter.lt, ee.Filter.neq, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry, ee.Geometry.MultiLineString, ee.Geometry.Polygon, ee.Geometry.Point, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.prototype.serialize, ee.Geometry.BBox, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry.Rectangle, ee.Geometry.MultiPolygon, ee.Image.prototype.getThumbId,
|
|
27665
|
+
ee.Image.rgb, ee.Image.prototype.getDownloadURL, ee.Image, ee.Image.prototype.clip, ee.Image.prototype.expression, ee.Image.prototype.getThumbURL, ee.Image.prototype.select, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.cat, ee.Image.prototype.rename, ee.Image.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection,
|
|
27666
|
+
ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26999
27667
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27000
27668
|
});
|
|
27001
27669
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|