@google/earthengine 0.1.416 → 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 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,78 +1197,6 @@ $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("Set", function(NativeSet) {
1129
- function isConformant() {
1130
- if ($jscomp.ASSUME_NO_NATIVE_SET || !NativeSet || typeof NativeSet != "function" || !NativeSet.prototype.entries || typeof Object.seal != "function") {
1131
- return !1;
1132
- }
1133
- try {
1134
- var value = Object.seal({x:4}), set = new NativeSet($jscomp.makeIterator([value]));
1135
- if (!set.has(value) || set.size != 1 || set.add(value) != set || set.size != 1 || set.add({x:4}) != set || set.size != 2) {
1136
- return !1;
1137
- }
1138
- var iter = set.entries(), item = iter.next();
1139
- if (item.done || item.value[0] != value || item.value[1] != value) {
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;
1146
- }
1147
- }
1148
- if ($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS) {
1149
- if (NativeSet && $jscomp.ES6_CONFORMANCE) {
1150
- return NativeSet;
1151
- }
1152
- } else {
1153
- if (isConformant()) {
1154
- return NativeSet;
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);
1162
- }
1163
- }
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
- return result;
1176
- };
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
- }, "es6", "es3");
1200
1200
  $jscomp.polyfill("String.prototype.codePointAt", function(orig) {
1201
1201
  return orig ? orig : function(position) {
1202
1202
  var string = $jscomp.checkStringArgs(this, null, "codePointAt"), size = string.length;
@@ -1249,8 +1249,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
1249
1249
  return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
1250
1250
  };
1251
1251
  }, "es8", "es3");
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_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1,
1253
- 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};
1254
1254
  /*
1255
1255
 
1256
1256
  Copyright The Closure Library Authors.
@@ -2145,9 +2145,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
2145
2145
  };
2146
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;
2147
2147
  function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
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$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
2149
- {mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
2150
- var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
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);
2151
2151
  if (value != null) {
2152
2152
  var copy = void 0;
2153
2153
  if (arrays.hasOwnProperty(key)) {
@@ -2158,11 +2158,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
2158
2158
  } else if (objects.hasOwnProperty(key)) {
2159
2159
  copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
2160
2160
  } else if (objectMaps.hasOwnProperty(key)) {
2161
- $jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
2161
+ $jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
2162
2162
  return function(v) {
2163
- return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
2163
+ return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
2164
2164
  };
2165
- }($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
2165
+ }($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
2166
2166
  } else if (Array.isArray(value)) {
2167
2167
  if (metadata.emptyArrayIsUnset && value.length === 0) {
2168
2168
  continue;
@@ -2177,8 +2177,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
2177
2177
  return target;
2178
2178
  }
2179
2179
  function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
2180
- for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
2181
- var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
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];
2182
2182
  mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
2183
2183
  }
2184
2184
  return objMap;
@@ -2208,39 +2208,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
2208
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))) {
2209
2209
  return !1;
2210
2210
  }
2211
- for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
2212
- var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
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);
2213
2213
  if (has1 !== has2) {
2214
2214
  return !1;
2215
2215
  }
2216
2216
  if (has1) {
2217
2217
  var value1 = serializable1.Serializable$get(key);
2218
- $jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
2218
+ $jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
2219
2219
  if (arrays1.hasOwnProperty(key)) {
2220
- if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
2220
+ if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
2221
2221
  return !1;
2222
2222
  }
2223
2223
  } else if (objects1.hasOwnProperty(key)) {
2224
- if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
2224
+ if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
2225
2225
  return !1;
2226
2226
  }
2227
2227
  } else if (objectMaps1.hasOwnProperty(key)) {
2228
- if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
2229
- if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
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) {
2230
2230
  return function(v1, i) {
2231
- return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
2231
+ return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
2232
2232
  };
2233
- }($jscomp$loop$m1892927425$45))) {
2233
+ }($jscomp$loop$m192531680$45))) {
2234
2234
  return !1;
2235
2235
  }
2236
- } else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
2236
+ } else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
2237
2237
  return !1;
2238
2238
  }
2239
2239
  } else if (Array.isArray(value1)) {
2240
- if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
2240
+ if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
2241
2241
  return !1;
2242
2242
  }
2243
- } else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
2243
+ } else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
2244
2244
  return !1;
2245
2245
  }
2246
2246
  }
@@ -2262,8 +2262,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
2262
2262
  if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
2263
2263
  return !1;
2264
2264
  }
2265
- for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
2266
- var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
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;
2267
2267
  if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
2268
2268
  return !1;
2269
2269
  }
@@ -2344,15 +2344,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
2344
2344
  this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
2345
2345
  };
2346
2346
  module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
2347
- var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
2347
+ var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
2348
2348
  payload += this._metadataPayload;
2349
2349
  return Promise.all(this.files.map(function(f) {
2350
- return $jscomp$this$m133342051$6.encodeFile(f);
2350
+ return $jscomp$this$m667091202$6.encodeFile(f);
2351
2351
  })).then(function(filePayloads) {
2352
- for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
2353
- payload += $jscomp$key$m133342051$9$filePayload.value;
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;
2354
2354
  }
2355
- return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
2355
+ return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
2356
2356
  });
2357
2357
  };
2358
2358
  module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
@@ -3002,8 +3002,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
3002
3002
  return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
3003
3003
  }
3004
3004
  module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
3005
- var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
3006
- ["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
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"};
3007
3007
  function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
3008
3008
  if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
3009
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 ##############################");
@@ -3017,14 +3017,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
3017
3017
  return fn.toString().indexOf("`") === -1;
3018
3018
  }
3019
3019
  var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
3020
- return tag($jscomp$templatelit$m425881384$5);
3020
+ return tag($jscomp$templatelit$1274514361$5);
3021
3021
  }) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
3022
- return tag($jscomp$templatelit$m425881384$6);
3022
+ return tag($jscomp$templatelit$1274514361$6);
3023
3023
  }) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
3024
- return tag($jscomp$templatelit$m425881384$7);
3024
+ return tag($jscomp$templatelit$1274514361$7);
3025
3025
  }) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
3026
- return tag($jscomp$templatelit$m425881384$8);
3027
- }), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
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);
3028
3028
  function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
3029
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)) ?
3030
3030
  !0 : !1;
@@ -3558,14 +3558,25 @@ function module$contents$goog$array_slice(arr, start, opt_end) {
3558
3558
  return arguments.length <= 2 ? Array.prototype.slice.call(arr, start) : Array.prototype.slice.call(arr, start, opt_end);
3559
3559
  }
3560
3560
  goog.array.slice = module$contents$goog$array_slice;
3561
- function module$contents$goog$array_removeDuplicates(arr, opt_rv, opt_hashFn) {
3562
- for (var returnArray = opt_rv || arr, defaultHashFn = function(item) {
3563
- return goog.isObject(item) ? "o" + goog.getUid(item) : (typeof item).charAt(0) + item;
3564
- }, hashFn = opt_hashFn || defaultHashFn, cursorInsert = 0, cursorRead = 0, seen = {}; cursorRead < arr.length;) {
3565
- var current = arr[cursorRead++], key = hashFn(current);
3566
- Object.prototype.hasOwnProperty.call(seen, key) || (seen[key] = !0, returnArray[cursorInsert++] = current);
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;
3567
3579
  }
3568
- returnArray.length = cursorInsert;
3569
3580
  }
3570
3581
  goog.array.removeDuplicates = module$contents$goog$array_removeDuplicates;
3571
3582
  function module$contents$goog$array_binarySearch(arr, target, opt_compareFn) {
@@ -3921,43 +3932,59 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
3921
3932
  goog.dom.tags.isVoidTag = function(tagName) {
3922
3933
  return goog.dom.tags.VOID_TAGS_[tagName] === !0;
3923
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;
3924
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"};
3925
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;
3926
3966
  module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
3927
3967
  module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
3928
3968
  var module$exports$safevalues$for_closure = {};
3929
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;
3930
3973
  module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
3931
3974
  module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
3932
- var module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyle_SafeStyle = function(value, token) {
3933
- if (goog.DEBUG && token !== module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE) {
3934
- throw Error("SafeStyle is not meant to be built directly");
3935
- }
3936
- this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = value;
3937
- };
3938
- module$contents$goog$html$SafeStyle_SafeStyle.fromConstant = function(style) {
3975
+ module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
3939
3976
  var styleString = goog.string.Const.unwrap(style);
3940
3977
  if (styleString.length === 0) {
3941
- return module$contents$goog$html$SafeStyle_SafeStyle.EMPTY;
3978
+ return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
3942
3979
  }
3943
3980
  (0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
3944
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);
3945
- return module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(styleString);
3946
- };
3947
- module$contents$goog$html$SafeStyle_SafeStyle.prototype.toString = function() {
3948
- return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString();
3949
- };
3950
- module$contents$goog$html$SafeStyle_SafeStyle.unwrap = function(safeStyle) {
3951
- if (safeStyle instanceof module$contents$goog$html$SafeStyle_SafeStyle && safeStyle.constructor === module$contents$goog$html$SafeStyle_SafeStyle) {
3952
- return safeStyle.privateDoNotAccessOrElseSafeStyleWrappedValue_;
3953
- }
3954
- (0,goog.asserts.fail)("expected object of type SafeStyle, got '" + safeStyle + "' of type " + goog.typeOf(safeStyle));
3955
- return "type_error:SafeStyle";
3982
+ return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
3956
3983
  };
3957
- module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse = function(style) {
3958
- 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);
3959
3986
  };
3960
- module$contents$goog$html$SafeStyle_SafeStyle.create = function(map) {
3987
+ module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
3961
3988
  var style = "", name;
3962
3989
  for (name in map) {
3963
3990
  if (Object.prototype.hasOwnProperty.call(map, name)) {
@@ -3968,17 +3995,17 @@ module$contents$goog$html$SafeStyle_SafeStyle.create = function(map) {
3968
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 + ";");
3969
3996
  }
3970
3997
  }
3971
- return style ? module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(style) : module$contents$goog$html$SafeStyle_SafeStyle.EMPTY;
3998
+ return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
3972
3999
  };
3973
- module$contents$goog$html$SafeStyle_SafeStyle.concat = function(var_args) {
4000
+ module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
3974
4001
  var style = "", addArgument = function(argument) {
3975
- Array.isArray(argument) ? argument.forEach(addArgument) : style += module$contents$goog$html$SafeStyle_SafeStyle.unwrap(argument);
4002
+ Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
3976
4003
  };
3977
4004
  Array.prototype.forEach.call(arguments, addArgument);
3978
- return style ? module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(style) : module$contents$goog$html$SafeStyle_SafeStyle.EMPTY;
4005
+ return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
3979
4006
  };
3980
- module$contents$goog$html$SafeStyle_SafeStyle.EMPTY = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse("");
3981
- module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING = "zClosurez";
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";
3982
4009
  function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
3983
4010
  if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
3984
4011
  return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
@@ -3993,16 +4020,16 @@ function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value)
3993
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");
3994
4021
  if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
3995
4022
  if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
3996
- return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;
4023
+ return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
3997
4024
  }
3998
4025
  if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
3999
- return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;
4026
+ return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
4000
4027
  }
4001
4028
  if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
4002
- return (0,goog.asserts.fail)("String value requires balanced square brackets and one identifier per pair of brackets, got: " + value), module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;
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;
4003
4030
  }
4004
4031
  } else {
4005
- return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;
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;
4006
4033
  }
4007
4034
  return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
4008
4035
  }
@@ -4045,7 +4072,7 @@ function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
4045
4072
  return before + quote + sanitized + quote + after;
4046
4073
  });
4047
4074
  }
4048
- goog.html.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
4075
+ goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
4049
4076
  var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
4050
4077
  if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
4051
4078
  throw Error("SafeStyleSheet is not meant to be built directly");
@@ -4066,8 +4093,8 @@ module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(se
4066
4093
  if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
4067
4094
  throw Error("() and [] in selector must be balanced, got: " + selector);
4068
4095
  }
4069
- style instanceof module$contents$goog$html$SafeStyle_SafeStyle || (style = module$contents$goog$html$SafeStyle_SafeStyle.create(style));
4070
- var styleSheet = selector + "{" + module$contents$goog$html$SafeStyle_SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
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 ") + "}";
4071
4098
  return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
4072
4099
  };
4073
4100
  module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
@@ -4293,15 +4320,15 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
4293
4320
  }
4294
4321
  }
4295
4322
  }
4296
- goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof goog.html.TrustedResourceUrl || value instanceof module$contents$goog$html$SafeStyle_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);
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);
4297
4324
  return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
4298
4325
  }
4299
4326
  function module$contents$goog$html$SafeHtml_getStyleValue(value) {
4300
4327
  if (!goog.isObject(value)) {
4301
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 : "");
4302
4329
  }
4303
- value instanceof module$contents$goog$html$SafeStyle_SafeStyle || (value = module$contents$goog$html$SafeStyle_SafeStyle.create(value));
4304
- return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
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);
4305
4332
  }
4306
4333
  module$contents$goog$html$SafeHtml_SafeHtml.DOCTYPE_HTML = function() {
4307
4334
  return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>");
@@ -4325,22 +4352,6 @@ module$exports$safevalues$internals$html_impl.isHtml = function(value) {
4325
4352
  module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
4326
4353
  return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
4327
4354
  };
4328
- var module$exports$goog$html$safestyle_internals_for_safevalues = {};
4329
- module$exports$goog$html$safestyle_internals_for_safevalues.createSafeStyle = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;
4330
- 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"};
4331
- module$exports$safevalues$internals$style_impl.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
4332
- function module$contents$safevalues$internals$style_impl_createStyleInternal(style) {
4333
- return (0,module$exports$goog$html$safestyle_internals_for_safevalues.createSafeStyle)(style);
4334
- }
4335
- module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
4336
- function module$contents$safevalues$internals$style_impl_isStyle(value) {
4337
- return value instanceof module$contents$goog$html$SafeStyle_SafeStyle;
4338
- }
4339
- module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
4340
- function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
4341
- return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
4342
- }
4343
- module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
4344
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"};
4345
4356
  module$exports$safevalues$dom$elements$element.setInnerHtml = function(elOrRoot, v) {
4346
4357
  module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
@@ -4434,9 +4445,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
4434
4445
  }
4435
4446
  }
4436
4447
  module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
4437
- var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
4438
- this.message = $jscomp$tmp$error$494508883$1.message;
4439
- "stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
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);
4440
4451
  this.type = type;
4441
4452
  this.intent = intent;
4442
4453
  this.name = "TypeCannotBeUsedWithIntentError";
@@ -4543,7 +4554,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
4543
4554
  return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
4544
4555
  };
4545
4556
  function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
4546
- var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
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]");
4547
4558
  return el ? el.nonce || el.getAttribute("nonce") || "" : "";
4548
4559
  }
4549
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;
@@ -5210,9 +5221,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
5210
5221
  module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
5211
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"};
5212
5223
  module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
5213
- var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
5214
- this.message = $jscomp$tmp$error$1153895636$25.message;
5215
- "stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
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);
5216
5227
  this.url = url;
5217
5228
  this.typeName = typeName;
5218
5229
  this.contentType = contentType;
@@ -5224,48 +5235,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
5224
5235
  return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
5225
5236
  }
5226
5237
  function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
5227
- var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
5228
- return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
5229
- if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
5230
- return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
5231
- }
5232
- response = $jscomp$generator$context$1153895636$29.yieldResult;
5233
- mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
5234
- return $jscomp$generator$context$1153895636$29.return({html:function() {
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() {
5235
5246
  var text;
5236
- return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
5237
- if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
5247
+ return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
5248
+ if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
5238
5249
  if (mimeType !== "text/html") {
5239
5250
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
5240
5251
  }
5241
- return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
5252
+ return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
5242
5253
  }
5243
- text = $jscomp$generator$context$1153895636$26.yieldResult;
5244
- return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
5254
+ text = $jscomp$generator$context$m991617773$26.yieldResult;
5255
+ return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
5245
5256
  });
5246
5257
  }, script:function() {
5247
5258
  var text;
5248
- return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
5249
- if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
5259
+ return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
5260
+ if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
5250
5261
  if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
5251
5262
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
5252
5263
  }
5253
- return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
5264
+ return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
5254
5265
  }
5255
- text = $jscomp$generator$context$1153895636$27.yieldResult;
5256
- return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
5266
+ text = $jscomp$generator$context$m991617773$27.yieldResult;
5267
+ return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
5257
5268
  });
5258
5269
  }, styleSheet:function() {
5259
5270
  var text;
5260
- return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
5261
- if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
5271
+ return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
5272
+ if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
5262
5273
  if (mimeType !== "text/css") {
5263
5274
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
5264
5275
  }
5265
- return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
5276
+ return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
5266
5277
  }
5267
- text = $jscomp$generator$context$1153895636$28.yieldResult;
5268
- return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
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));
5269
5280
  });
5270
5281
  }});
5271
5282
  });
@@ -6687,8 +6698,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
6687
6698
  }
6688
6699
  module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
6689
6700
  function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
6690
- for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
6691
- var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
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;
6692
6703
  jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
6693
6704
  }
6694
6705
  return urlQueryParams;
@@ -6699,8 +6710,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
6699
6710
  var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
6700
6711
  if (params.headers) {
6701
6712
  hasContentType = params.headers["Content-Type"] != null;
6702
- for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
6703
- var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
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;
6704
6715
  module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
6705
6716
  }
6706
6717
  }
@@ -6740,9 +6751,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
6740
6751
  return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
6741
6752
  };
6742
6753
  module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
6743
- var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
6754
+ var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
6744
6755
  return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
6745
- return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
6756
+ return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
6746
6757
  }));
6747
6758
  };
6748
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"};
@@ -6882,7 +6893,7 @@ goog.debug.entryPointRegistry.unmonitorAllIfPossible = function(monitor) {
6882
6893
  var module$contents$goog$events$BrowserFeature_purify = function(fn) {
6883
6894
  return {valueOf:fn}.valueOf();
6884
6895
  };
6885
- goog.events.BrowserFeature = {TOUCH_ENABLED:"ontouchstart" in goog.global || !!(goog.global.document && document.documentElement && "ontouchstart" in document.documentElement) || !!(goog.FEATURESET_YEAR < 2018 && goog.global.navigator && (goog.global.navigator.maxTouchPoints || goog.global.navigator.msMaxTouchPoints)), POINTER_EVENTS:goog.FEATURESET_YEAR >= 2019 || "PointerEvent" in goog.global, MSPOINTER_EVENTS:!1, PASSIVE_EVENTS:goog.FEATURESET_YEAR > 2018 || module$contents$goog$events$BrowserFeature_purify(function() {
6896
+ goog.events.BrowserFeature = {TOUCH_ENABLED:"ontouchstart" in goog.global || !!(goog.global.document && document.documentElement && "ontouchstart" in document.documentElement) || !(!goog.global.navigator || !goog.global.navigator.maxTouchPoints && !goog.global.navigator.msMaxTouchPoints), POINTER_EVENTS:"PointerEvent" in goog.global, MSPOINTER_EVENTS:!1, PASSIVE_EVENTS:goog.FEATURESET_YEAR > 2018 || module$contents$goog$events$BrowserFeature_purify(function() {
6886
6897
  if (!goog.global.addEventListener || !Object.defineProperty) {
6887
6898
  return !1;
6888
6899
  }
@@ -6914,6 +6925,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_o
6914
6925
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
6915
6926
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
6916
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;
6917
6929
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
6918
6930
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
6919
6931
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
@@ -6923,7 +6935,7 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
6923
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);
6924
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);
6925
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);
6926
- goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = 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_direct_reactions__disable) : goog.readFlagInternalDoNotUseOrElse(641353869, module$contents$goog$flags_STAGING);
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);
6927
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);
6928
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,
6929
6941
  module$contents$goog$flags_STAGING);
@@ -6931,6 +6943,7 @@ goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags
6931
6943
  module$contents$goog$flags_STAGING);
6932
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);
6933
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);
6934
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);
6935
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);
6936
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);
@@ -9497,6 +9510,11 @@ module$exports$eeapiclient$ee_api_client.ICloudStorageDestinationPermissionsEnum
9497
9510
  module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum = {DEFAULT_OBJECT_ACL:"DEFAULT_OBJECT_ACL", PUBLIC:"PUBLIC", TILE_PERMISSIONS_UNSPECIFIED:"TILE_PERMISSIONS_UNSPECIFIED", values:function() {
9498
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];
9499
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
+ }};
9500
9518
  module$exports$eeapiclient$ee_api_client.IComputePixelsRequestFileFormatEnum = function() {
9501
9519
  };
9502
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() {
@@ -10267,18 +10285,23 @@ module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest = function(param
10267
10285
  this.Serializable$set("pageSize", parameters.pageSize == null ? null : parameters.pageSize);
10268
10286
  this.Serializable$set("pageToken", parameters.pageToken == null ? null : parameters.pageToken);
10269
10287
  this.Serializable$set("workloadTag", parameters.workloadTag == null ? null : parameters.workloadTag);
10288
+ this.Serializable$set("featureProjection", parameters.featureProjection == null ? null : parameters.featureProjection);
10270
10289
  };
10271
10290
  $jscomp.inherits(module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest, module$exports$eeapiclient$domain_object.Serializable);
10272
10291
  module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest.prototype.getConstructor = function() {
10273
10292
  return module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest;
10274
10293
  };
10275
10294
  module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest.prototype.getPartialClassMetadata = function() {
10276
- 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}};
10277
10296
  };
10278
10297
  $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest.prototype, {expression:{configurable:!0, enumerable:!0, get:function() {
10279
10298
  return this.Serializable$has("expression") ? this.Serializable$get("expression") : null;
10280
10299
  }, set:function(value) {
10281
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);
10282
10305
  }}, pageSize:{configurable:!0, enumerable:!0, get:function() {
10283
10306
  return this.Serializable$has("pageSize") ? this.Serializable$get("pageSize") : null;
10284
10307
  }, set:function(value) {
@@ -10292,6 +10315,9 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
10292
10315
  }, set:function(value) {
10293
10316
  this.Serializable$set("workloadTag", value);
10294
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
+ }}});
10295
10321
  module$exports$eeapiclient$ee_api_client.ComputeFeaturesResponseParameters = function() {
10296
10322
  };
10297
10323
  module$exports$eeapiclient$ee_api_client.ComputeFeaturesResponse = function(parameters) {
@@ -14286,8 +14312,8 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
14286
14312
  }, set:function(value) {
14287
14313
  this.Serializable$set("start", value);
14288
14314
  }}});
14289
- 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", upload_protocol:"upload_protocol",
14290
- 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"};
14291
14317
  module$exports$eeapiclient$ee_api_client.IBillingAccountsSubscriptionsApiClient$XgafvEnum = function() {
14292
14318
  };
14293
14319
  module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
@@ -14426,6 +14452,11 @@ module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientAltEnum = funct
14426
14452
  module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
14427
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];
14428
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
+ }};
14429
14460
  module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientViewEnum = function() {
14430
14461
  };
14431
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() {
@@ -15249,16 +15280,8 @@ var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
15249
15280
  return value;
15250
15281
  }, module$contents$goog$asserts$dom_assertIsHtmlAnchorElement = function(value) {
15251
15282
  return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.A);
15252
- }, module$contents$goog$asserts$dom_assertIsHtmlButtonElement = function(value) {
15253
- return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.BUTTON);
15254
15283
  }, module$contents$goog$asserts$dom_assertIsHtmlLinkElement = function(value) {
15255
15284
  return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.LINK);
15256
- }, module$contents$goog$asserts$dom_assertIsHtmlAudioElement = function(value) {
15257
- return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.AUDIO);
15258
- }, module$contents$goog$asserts$dom_assertIsHtmlVideoElement = function(value) {
15259
- return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
15260
- }, module$contents$goog$asserts$dom_assertIsHtmlInputElement = function(value) {
15261
- return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
15262
15285
  }, module$contents$goog$asserts$dom_assertIsHtmlFormElement = function(value) {
15263
15286
  return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
15264
15287
  }, module$contents$goog$asserts$dom_assertIsHtmlIFrameElement = function(value) {
@@ -15283,14 +15306,22 @@ goog.asserts.dom.assertIsElement = function(value) {
15283
15306
  goog.asserts.dom.assertIsHtmlElement = module$contents$goog$asserts$dom_assertIsHtmlElement;
15284
15307
  goog.asserts.dom.assertIsHtmlElementOfType = module$contents$goog$asserts$dom_assertIsHtmlElementOfType;
15285
15308
  goog.asserts.dom.assertIsHtmlAnchorElement = module$contents$goog$asserts$dom_assertIsHtmlAnchorElement;
15286
- goog.asserts.dom.assertIsHtmlButtonElement = module$contents$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
+ };
15287
15312
  goog.asserts.dom.assertIsHtmlLinkElement = module$contents$goog$asserts$dom_assertIsHtmlLinkElement;
15288
15313
  goog.asserts.dom.assertIsHtmlImageElement = function(value) {
15289
15314
  return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IMG);
15290
15315
  };
15291
- goog.asserts.dom.assertIsHtmlAudioElement = module$contents$goog$asserts$dom_assertIsHtmlAudioElement;
15292
- goog.asserts.dom.assertIsHtmlVideoElement = module$contents$goog$asserts$dom_assertIsHtmlVideoElement;
15293
- goog.asserts.dom.assertIsHtmlInputElement = module$contents$goog$asserts$dom_assertIsHtmlInputElement;
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
+ };
15294
15325
  goog.asserts.dom.assertIsHtmlTextAreaElement = function(value) {
15295
15326
  return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.TEXTAREA);
15296
15327
  };
@@ -15565,8 +15596,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
15565
15596
  this.replacements = new Map();
15566
15597
  };
15567
15598
  module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
15568
- var $jscomp$this$1018007701$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
15569
- return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
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);
15570
15601
  });
15571
15602
  if (openedTags.length !== 0) {
15572
15603
  if (goog.DEBUG) {
@@ -15629,342 +15660,6 @@ function module$contents$safevalues$builders$html_formatter_getRandomString() {
15629
15660
  function module$contents$safevalues$builders$html_formatter_checkExhaustive(value, msg) {
15630
15661
  throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
15631
15662
  }
15632
- ;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"};
15633
- function module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(dirtyHtml, inertDocument) {
15634
- if (goog.DEBUG && inertDocument.defaultView) {
15635
- throw Error("createInertFragment called with non-inert document");
15636
- }
15637
- var range = inertDocument.createRange();
15638
- range.selectNode(inertDocument.body);
15639
- var temporarySafeHtml = (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(dirtyHtml);
15640
- return (0,module$exports$safevalues$dom$globals$range.createContextualFragment)(range, temporarySafeHtml);
15641
- }
15642
- ;var module$exports$safevalues$builders$html_sanitizer$no_clobber = {}, module$contents$safevalues$builders$html_sanitizer$no_clobber_module = module$contents$safevalues$builders$html_sanitizer$no_clobber_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/no_clobber.closure.js"};
15643
- function module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(node) {
15644
- var nodeName = node.nodeName;
15645
- return typeof nodeName === "string" ? nodeName : "FORM";
15646
- }
15647
- module$exports$safevalues$builders$html_sanitizer$no_clobber.getNodeName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName;
15648
- function module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(node) {
15649
- return node.nodeType === 3;
15650
- }
15651
- module$exports$safevalues$builders$html_sanitizer$no_clobber.isText = module$contents$safevalues$builders$html_sanitizer$no_clobber_isText;
15652
- function module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement(node) {
15653
- var nodeType = node.nodeType;
15654
- return nodeType === 1 || typeof nodeType !== "number";
15655
- }
15656
- module$exports$safevalues$builders$html_sanitizer$no_clobber.isElement = module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement;
15657
- 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"};
15658
- module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType = {STYLE_ELEMENT:0, STYLE_ATTRIBUTE:1, HTML_ATTRIBUTE:2};
15659
- module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ELEMENT] = "STYLE_ELEMENT";
15660
- module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ATTRIBUTE] = "STYLE_ATTRIBUTE";
15661
- module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE] = "HTML_ATTRIBUTE";
15662
- function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_StyleElementOrAttributeResourceUrlPolicyHints() {
15663
- }
15664
- function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_HtmlAttributeResourceUrlPolicyHints() {
15665
- }
15666
- function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value) {
15667
- try {
15668
- return new URL(value, window.document.baseURI);
15669
- } catch (e) {
15670
- return new URL("about:invalid");
15671
- }
15672
- }
15673
- module$exports$safevalues$builders$html_sanitizer$resource_url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl;
15674
- 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"};
15675
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable = function(allowedElements, elementPolicies, allowedGlobalAttributes, globalAttributePolicies, globallyAllowedAttributePrefixes) {
15676
- this.allowedElements = allowedElements;
15677
- this.elementPolicies = elementPolicies;
15678
- this.allowedGlobalAttributes = allowedGlobalAttributes;
15679
- this.globalAttributePolicies = globalAttributePolicies;
15680
- this.globallyAllowedAttributePrefixes = globallyAllowedAttributePrefixes;
15681
- };
15682
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable.prototype.isAllowedElement = function(elementName) {
15683
- return elementName !== "FORM" && (this.allowedElements.has(elementName) || this.elementPolicies.has(elementName));
15684
- };
15685
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable.prototype.getAttributePolicy = function(attributeName, elementName) {
15686
- var elementPolicy = this.elementPolicies.get(elementName);
15687
- if (elementPolicy == null ? 0 : elementPolicy.has(attributeName)) {
15688
- return elementPolicy.get(attributeName);
15689
- }
15690
- if (this.allowedGlobalAttributes.has(attributeName)) {
15691
- return {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP};
15692
- }
15693
- var globalPolicy = this.globalAttributePolicies.get(attributeName);
15694
- return globalPolicy ? globalPolicy : this.globallyAllowedAttributePrefixes && [].concat((0,$jscomp.arrayFromIterable)(this.globallyAllowedAttributePrefixes)).some(function(prefix) {
15695
- return attributeName.indexOf(prefix) === 0;
15696
- }) ? {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP} : {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP};
15697
- };
15698
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction = {DROP:0, KEEP:1, KEEP_AND_SANITIZE_URL:2, KEEP_AND_NORMALIZE:3, KEEP_AND_SANITIZE_STYLE:4, KEEP_AND_USE_RESOURCE_URL_POLICY:5, KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:6};
15699
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP] = "DROP";
15700
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP] = "KEEP";
15701
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL] = "KEEP_AND_SANITIZE_URL";
15702
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE] = "KEEP_AND_NORMALIZE";
15703
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE] = "KEEP_AND_SANITIZE_STYLE";
15704
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY] = "KEEP_AND_USE_RESOURCE_URL_POLICY";
15705
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET] = "KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET";
15706
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicy = function() {
15707
- };
15708
- var module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_FORBIDDEN_CUSTOM_ELEMENT_NAMES = new Set("ANNOTATION-XML COLOR-PROFILE FONT-FACE FONT-FACE-SRC FONT-FACE-URI FONT-FACE-FORMAT FONT-FACE-NAME MISSING-GLYPH".split(" "));
15709
- function module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement(tag) {
15710
- return !module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_FORBIDDEN_CUSTOM_ELEMENT_NAMES.has(tag.toUpperCase()) && /^[a-z][-_.a-z0-9]*-[-_.a-z0-9]*$/i.test(tag);
15711
- }
15712
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.isCustomElement = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement;
15713
- var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/default_sanitizer_table.closure.js"},
15714
- module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
15715
- module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])], ["AREA", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],
15716
- ["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
15717
- ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
15718
- ["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
15719
- "title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
15720
- module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES = [["dir", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
15721
- return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
15722
- })}], ["async", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
15723
- return new Map([["async", new Set(["async"])]]);
15724
- })}], ["cite", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}], ["loading", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
15725
- return new Map([["loading", new Set(["eager", "lazy"])]]);
15726
- })}], ["poster", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}], ["target", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
15727
- return new Map([["target", new Set(["_self", "_blank"])]]);
15728
- })}]];
15729
- 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),
15730
- 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));
15731
- 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),
15732
- new Set(module$contents$safevalues$internals$pure_pure(function() {
15733
- return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "name"]);
15734
- })), new Map(module$contents$safevalues$internals$pure_pure(function() {
15735
- 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}]]);
15736
- })));
15737
- module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.SUPER_LENIENT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$internals$pure_pure(function() {
15738
- return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat("STYLE TITLE INPUT TEXTAREA BUTTON LABEL".split(" "));
15739
- })), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
15740
- return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "tabindex", "contenteditable", "name"]);
15741
- })), new Map(module$contents$safevalues$internals$pure_pure(function() {
15742
- 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}]]);
15743
- })), new Set(["data-", "aria-"]));
15744
- 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"};
15745
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer = function() {
15746
- };
15747
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.CssSanitizer = function() {
15748
- };
15749
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy) {
15750
- this.sanitizerTable = sanitizerTable;
15751
- this.styleElementSanitizer = styleElementSanitizer;
15752
- this.styleAttributeSanitizer = styleAttributeSanitizer;
15753
- this.resourceUrlPolicy = resourceUrlPolicy;
15754
- this.SHADOW_DOM_INTERNAL_CSS = ":host{display:block;clip-path:inset(0);overflow:hidden}";
15755
- this.changes = [];
15756
- module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
15757
- };
15758
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeAssertUnchanged = function(html) {
15759
- goog.DEBUG && (this.changes = []);
15760
- var sanitizedHtml = this.sanitize(html);
15761
- if (goog.DEBUG && this.changes.length !== 0) {
15762
- throw Error('Unexpected change to HTML value as a result of sanitization. Input: "' + (html + '", sanitized output: "' + sanitizedHtml + '"\nList of changes:') + this.changes.join("\n"));
15763
- }
15764
- return sanitizedHtml;
15765
- };
15766
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitize = function(html) {
15767
- var inertDocument = document.implementation.createHTMLDocument("");
15768
- return (0,module$exports$safevalues$builders$html_builders.nodeToHtmlInternal)(this.sanitizeToFragmentInternal(html, inertDocument), inertDocument.body);
15769
- };
15770
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragment = function(html) {
15771
- var inertDocument = document.implementation.createHTMLDocument("");
15772
- return this.styleElementSanitizer && this.styleAttributeSanitizer ? this.sanitizeWithCssToFragment(html, inertDocument) : this.sanitizeToFragmentInternal(html, inertDocument);
15773
- };
15774
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeWithCssToFragment = function(htmlWithCss, inertDocument) {
15775
- var elem = document.createElement("safevalues-with-css"), shadow = elem.attachShadow({mode:"closed"}), sanitized = this.sanitizeToFragmentInternal(htmlWithCss, inertDocument), internalStyle = document.createElement("style");
15776
- internalStyle.textContent = this.SHADOW_DOM_INTERNAL_CSS;
15777
- internalStyle.id = "safevalues-internal-style";
15778
- shadow.appendChild(internalStyle);
15779
- shadow.appendChild(sanitized);
15780
- var fragment = inertDocument.createDocumentFragment();
15781
- fragment.appendChild(elem);
15782
- return fragment;
15783
- };
15784
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
15785
- for (var $jscomp$this$m1085474118$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
15786
- return $jscomp$this$m1085474118$13.nodeFilter(n);
15787
- }), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
15788
- var sanitizedNode = void 0;
15789
- if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
15790
- if (this.styleElementSanitizer && sanitizedParent.nodeName === "STYLE") {
15791
- var sanitizedCss = this.styleElementSanitizer(currentNode.data);
15792
- sanitizedNode = this.createTextNode(sanitizedCss);
15793
- } else {
15794
- sanitizedNode = this.sanitizeTextNode(currentNode);
15795
- }
15796
- } else if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement(currentNode)) {
15797
- sanitizedNode = this.sanitizeElementNode(currentNode, inertDocument);
15798
- } else {
15799
- var message = "";
15800
- goog.DEBUG && (message = "Node is not of type text or element");
15801
- throw Error(message);
15802
- }
15803
- sanitizedParent.appendChild(sanitizedNode);
15804
- if (currentNode = treeWalker.firstChild()) {
15805
- sanitizedParent = sanitizedNode;
15806
- } else {
15807
- for (; !(currentNode = treeWalker.nextSibling()) && (currentNode = treeWalker.parentNode());) {
15808
- sanitizedParent = sanitizedParent.parentNode;
15809
- }
15810
- }
15811
- }
15812
- return sanitizedFragment;
15813
- };
15814
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.createTextNode = function(text) {
15815
- return document.createTextNode(text);
15816
- };
15817
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeTextNode = function(textNode) {
15818
- return this.createTextNode(textNode.data);
15819
- };
15820
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
15821
- for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$32 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$32.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$32.next()) {
15822
- var $jscomp$destructuring$var31 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
15823
- if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
15824
- switch(policy.policyAction) {
15825
- case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
15826
- module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
15827
- break;
15828
- case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL:
15829
- var sanitizedAttrUrl = module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl(value);
15830
- sanitizedAttrUrl !== value && this.recordChange("Url in attribute " + name + ' was modified during sanitization. Original url:"' + value + '" was sanitized to: "' + sanitizedAttrUrl + '"');
15831
- module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedAttrUrl);
15832
- break;
15833
- case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE:
15834
- module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value.toLowerCase());
15835
- break;
15836
- case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE:
15837
- if (this.styleAttributeSanitizer) {
15838
- var sanitizedCss = this.styleAttributeSanitizer(value);
15839
- module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedCss);
15840
- } else {
15841
- module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
15842
- }
15843
- break;
15844
- case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY:
15845
- if (this.resourceUrlPolicy) {
15846
- var hints = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, url = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value), sanitizedUrl = this.resourceUrlPolicy(url, hints);
15847
- sanitizedUrl && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedUrl.toString());
15848
- } else {
15849
- module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
15850
- }
15851
- break;
15852
- case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
15853
- if (this.resourceUrlPolicy) {
15854
- 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$31 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$31.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
15855
- $jscomp$iter$31.next()) {
15856
- var part = $jscomp$key$m1085474118$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
15857
- sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
15858
- }
15859
- module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
15860
- } else {
15861
- module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
15862
- }
15863
- break;
15864
- case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP:
15865
- this.recordChange("Attribute: " + name + " was dropped");
15866
- break;
15867
- default:
15868
- goog.DEBUG && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_checkExhaustive(policy.policyAction, "Unhandled AttributePolicyAction case");
15869
- }
15870
- } else {
15871
- this.recordChange("Not all conditions satisfied for attribute: " + name + ".");
15872
- }
15873
- }
15874
- return newNode;
15875
- };
15876
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.nodeFilter = function(node) {
15877
- if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(node)) {
15878
- return 1;
15879
- }
15880
- if (!module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement(node)) {
15881
- return 2;
15882
- }
15883
- var nodeName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(node);
15884
- if (nodeName === null) {
15885
- return this.recordChange("Node name was null for node: " + node), 2;
15886
- }
15887
- if (this.sanitizerTable.isAllowedElement(nodeName)) {
15888
- return 1;
15889
- }
15890
- this.recordChange("Element: " + nodeName + " was dropped");
15891
- return 2;
15892
- };
15893
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.recordChange = function(errorMessage) {
15894
- goog.DEBUG && this.changes.push(errorMessage);
15895
- };
15896
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.satisfiesAllConditions = function(conditions, attrs) {
15897
- if (!conditions) {
15898
- return !0;
15899
- }
15900
- for (var $jscomp$iter$33 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$33.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$33.next()) {
15901
- var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
15902
- if (value && !expectedValues.has(value)) {
15903
- return !1;
15904
- }
15905
- }
15906
- return !0;
15907
- };
15908
- function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(el, name, value) {
15909
- el.setAttribute(name, value);
15910
- }
15911
- function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_SrcsetPart() {
15912
- }
15913
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
15914
- };
15915
- function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
15916
- for (var parts = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$34.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$34.next()) {
15917
- var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$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;
15918
- parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
15919
- }
15920
- return {parts:parts};
15921
- }
15922
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.parseSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset;
15923
- function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(srcset) {
15924
- return srcset.parts.map(function(part) {
15925
- var descriptor = part.descriptor;
15926
- return "" + part.url + (descriptor ? " " + descriptor : "");
15927
- }).join(" , ");
15928
- }
15929
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.serializeSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset;
15930
- var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
15931
- return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
15932
- });
15933
- function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml(html) {
15934
- return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer.sanitize(html);
15935
- }
15936
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
15937
- function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(html) {
15938
- return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer.sanitizeAssertUnchanged(html);
15939
- }
15940
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
15941
- function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment(html) {
15942
- return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer.sanitizeToFragment(html);
15943
- }
15944
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
15945
- var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
15946
- return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.LENIENT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
15947
- });
15948
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtml = function(html) {
15949
- return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer.sanitize(html);
15950
- };
15951
- function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(html) {
15952
- return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer.sanitizeAssertUnchanged(html);
15953
- }
15954
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged;
15955
- var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
15956
- return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.SUPER_LENIENT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
15957
- });
15958
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.superLenientlySanitizeHtml = function(html) {
15959
- return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer.sanitize(html);
15960
- };
15961
- function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientlySanitizeHtmlAssertUnchanged(html) {
15962
- return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer.sanitizeAssertUnchanged(html);
15963
- }
15964
- module$exports$safevalues$builders$html_sanitizer$html_sanitizer.superLenientlySanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientlySanitizeHtmlAssertUnchanged;
15965
- function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_checkExhaustive(value, msg) {
15966
- throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
15967
- }
15968
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"};
15969
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(" "));
15970
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(" "));
@@ -16120,8 +15815,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
16120
15815
  if (Array.isArray(token)) {
16121
15816
  tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
16122
15817
  } else {
16123
- var $jscomp$optchain$tmpm282935782$0 = void 0;
16124
- if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm282935782$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm282935782$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
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) {
16125
15820
  tokens.push(token);
16126
15821
  if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
16127
15822
  return tokens;
@@ -16367,9 +16062,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
16367
16062
  repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
16368
16063
  };
16369
16064
  module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
16370
- var $jscomp$this$m282935782$26 = this;
16065
+ var $jscomp$this$m583190311$26 = this;
16371
16066
  return this.nextTwoInputCodePoints().every(function(c) {
16372
- return $jscomp$this$m282935782$26.isWhitespace(c);
16067
+ return $jscomp$this$m583190311$26.isWhitespace(c);
16373
16068
  });
16374
16069
  };
16375
16070
  module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
@@ -16414,7 +16109,24 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
16414
16109
  function module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(css) {
16415
16110
  return (new module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer(css)).tokenize();
16416
16111
  }
16417
- ;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 =
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 =
16418
16130
  function(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders) {
16419
16131
  this.propertyAllowlist = propertyAllowlist;
16420
16132
  this.functionAllowlist = functionAllowlist;
@@ -16439,126 +16151,445 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
16439
16151
  div.remove();
16440
16152
  return style;
16441
16153
  };
16442
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.hasShadowDomEscapingTokens = function(token, nextToken) {
16443
- 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" ||
16444
- nextToken.lowercaseName === "host-context") ? !0 : !1;
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"};
16267
+ function module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(dirtyHtml, inertDocument) {
16268
+ if (goog.DEBUG && inertDocument.defaultView) {
16269
+ throw Error("createInertFragment called with non-inert document");
16270
+ }
16271
+ var range = inertDocument.createRange();
16272
+ range.selectNode(inertDocument.body);
16273
+ var temporarySafeHtml = (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(dirtyHtml);
16274
+ return (0,module$exports$safevalues$dom$globals$range.createContextualFragment)(range, temporarySafeHtml);
16275
+ }
16276
+ ;var module$exports$safevalues$builders$html_sanitizer$no_clobber = {}, module$contents$safevalues$builders$html_sanitizer$no_clobber_module = module$contents$safevalues$builders$html_sanitizer$no_clobber_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/no_clobber.closure.js"};
16277
+ function module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(node) {
16278
+ var nodeName = node.nodeName;
16279
+ return typeof nodeName === "string" ? nodeName : "FORM";
16280
+ }
16281
+ module$exports$safevalues$builders$html_sanitizer$no_clobber.getNodeName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName;
16282
+ function module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(node) {
16283
+ return node.nodeType === 3;
16284
+ }
16285
+ module$exports$safevalues$builders$html_sanitizer$no_clobber.isText = module$contents$safevalues$builders$html_sanitizer$no_clobber_isText;
16286
+ function module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement(node) {
16287
+ var nodeType = node.nodeType;
16288
+ return nodeType === 1 || typeof nodeType !== "number";
16289
+ }
16290
+ module$exports$safevalues$builders$html_sanitizer$no_clobber.isElement = module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement;
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"};
16292
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable = function(allowedElements, elementPolicies, allowedGlobalAttributes, globalAttributePolicies, globallyAllowedAttributePrefixes) {
16293
+ this.allowedElements = allowedElements;
16294
+ this.elementPolicies = elementPolicies;
16295
+ this.allowedGlobalAttributes = allowedGlobalAttributes;
16296
+ this.globalAttributePolicies = globalAttributePolicies;
16297
+ this.globallyAllowedAttributePrefixes = globallyAllowedAttributePrefixes;
16298
+ };
16299
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable.prototype.isAllowedElement = function(elementName) {
16300
+ return elementName !== "FORM" && (this.allowedElements.has(elementName) || this.elementPolicies.has(elementName));
16301
+ };
16302
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable.prototype.getAttributePolicy = function(attributeName, elementName) {
16303
+ var elementPolicy = this.elementPolicies.get(elementName);
16304
+ if (elementPolicy == null ? 0 : elementPolicy.has(attributeName)) {
16305
+ return elementPolicy.get(attributeName);
16306
+ }
16307
+ if (this.allowedGlobalAttributes.has(attributeName)) {
16308
+ return {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP};
16309
+ }
16310
+ var globalPolicy = this.globalAttributePolicies.get(attributeName);
16311
+ return globalPolicy ? globalPolicy : this.globallyAllowedAttributePrefixes && [].concat((0,$jscomp.arrayFromIterable)(this.globallyAllowedAttributePrefixes)).some(function(prefix) {
16312
+ return attributeName.indexOf(prefix) === 0;
16313
+ }) ? {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP} : {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP};
16314
+ };
16315
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction = {DROP:0, KEEP:1, KEEP_AND_SANITIZE_URL:2, KEEP_AND_NORMALIZE:3, KEEP_AND_SANITIZE_STYLE:4, KEEP_AND_USE_RESOURCE_URL_POLICY:5, KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:6};
16316
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP] = "DROP";
16317
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP] = "KEEP";
16318
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL] = "KEEP_AND_SANITIZE_URL";
16319
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE] = "KEEP_AND_NORMALIZE";
16320
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE] = "KEEP_AND_SANITIZE_STYLE";
16321
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY] = "KEEP_AND_USE_RESOURCE_URL_POLICY";
16322
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET] = "KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET";
16323
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicy = function() {
16324
+ };
16325
+ var module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_FORBIDDEN_CUSTOM_ELEMENT_NAMES = new Set("ANNOTATION-XML COLOR-PROFILE FONT-FACE FONT-FACE-SRC FONT-FACE-URI FONT-FACE-FORMAT FONT-FACE-NAME MISSING-GLYPH".split(" "));
16326
+ function module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement(tag) {
16327
+ return !module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_FORBIDDEN_CUSTOM_ELEMENT_NAMES.has(tag.toUpperCase()) && /^[a-z][-_.a-z0-9]*-[-_.a-z0-9]*$/i.test(tag);
16328
+ }
16329
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.isCustomElement = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement;
16330
+ var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/default_sanitizer_table.closure.js"},
16331
+ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
16332
+ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])], ["AREA", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],
16333
+ ["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
16334
+ ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
16335
+ ["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
16336
+ "title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
16337
+ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES = [["dir", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
16338
+ return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
16339
+ })}], ["async", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
16340
+ return new Map([["async", new Set(["async"])]]);
16341
+ })}], ["cite", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}], ["loading", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
16342
+ return new Map([["loading", new Set(["eager", "lazy"])]]);
16343
+ })}], ["poster", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}], ["target", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
16344
+ return new Map([["target", new Set(["_self", "_blank"])]]);
16345
+ })}]];
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),
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));
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),
16349
+ new Set(module$contents$safevalues$internals$pure_pure(function() {
16350
+ return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "name"]);
16351
+ })), new Map(module$contents$safevalues$internals$pure_pure(function() {
16352
+ 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}]]);
16353
+ })));
16354
+ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.SUPER_LENIENT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$internals$pure_pure(function() {
16355
+ return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat("STYLE TITLE INPUT TEXTAREA BUTTON LABEL".split(" "));
16356
+ })), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
16357
+ return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "tabindex", "contenteditable", "name"]);
16358
+ })), new Map(module$contents$safevalues$internals$pure_pure(function() {
16359
+ 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}]]);
16360
+ })), new Set(["data-", "aria-"]));
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"};
16362
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer = function() {
16363
+ };
16364
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.CssSanitizer = function() {
16365
+ };
16366
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy) {
16367
+ this.sanitizerTable = sanitizerTable;
16368
+ this.styleElementSanitizer = styleElementSanitizer;
16369
+ this.styleAttributeSanitizer = styleAttributeSanitizer;
16370
+ this.resourceUrlPolicy = resourceUrlPolicy;
16371
+ this.SHADOW_DOM_INTERNAL_CSS = ":host{display:block;clip-path:inset(0);overflow:hidden}";
16372
+ this.changes = [];
16373
+ module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
16374
+ };
16375
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeAssertUnchanged = function(html) {
16376
+ goog.DEBUG && (this.changes = []);
16377
+ var sanitizedHtml = this.sanitize(html);
16378
+ if (goog.DEBUG && this.changes.length !== 0) {
16379
+ throw Error('Unexpected change to HTML value as a result of sanitization. Input: "' + (html + '", sanitized output: "' + sanitizedHtml + '"\nList of changes:') + this.changes.join("\n"));
16380
+ }
16381
+ return sanitizedHtml;
16382
+ };
16383
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitize = function(html) {
16384
+ var inertDocument = document.implementation.createHTMLDocument("");
16385
+ return (0,module$exports$safevalues$builders$html_builders.nodeToHtmlInternal)(this.sanitizeToFragmentInternal(html, inertDocument), inertDocument.body);
16445
16386
  };
16446
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeSelector = function(selector) {
16447
- for (var tokens = module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(selector), i = 0; i < tokens.length - 1; i++) {
16448
- if (this.hasShadowDomEscapingTokens(tokens[i], tokens[i + 1])) {
16449
- return null;
16450
- }
16451
- }
16452
- return module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeTokens(tokens);
16387
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragment = function(html) {
16388
+ var inertDocument = document.implementation.createHTMLDocument("");
16389
+ return this.styleElementSanitizer && this.styleAttributeSanitizer ? this.sanitizeWithCssToFragment(html, inertDocument) : this.sanitizeToFragmentInternal(html, inertDocument);
16453
16390
  };
16454
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeValue = function(propertyName, value, calledFromStyleElement) {
16455
- for (var tokens = module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(value), i = 0; i < tokens.length; i++) {
16456
- var token = tokens[i];
16457
- if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION) {
16458
- if (!this.functionAllowlist.has(token.lowercaseName)) {
16459
- return null;
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;
16400
+ };
16401
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
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);
16404
+ }), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
16405
+ var sanitizedNode = void 0;
16406
+ if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
16407
+ if (this.styleElementSanitizer && sanitizedParent.nodeName === "STYLE") {
16408
+ var sanitizedCss = this.styleElementSanitizer(currentNode.data);
16409
+ sanitizedNode = this.createTextNode(sanitizedCss);
16410
+ } else {
16411
+ sanitizedNode = this.sanitizeTextNode(currentNode);
16460
16412
  }
16461
- if (token.lowercaseName === "url") {
16462
- var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
16463
- if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
16464
- return null;
16465
- }
16466
- var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
16467
- 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}));
16468
- if (!parsedUrl) {
16469
- return null;
16470
- }
16471
- tokens[i + 1] = {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING, value:parsedUrl.toString()};
16472
- i++;
16413
+ } else if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement(currentNode)) {
16414
+ sanitizedNode = this.sanitizeElementNode(currentNode, inertDocument);
16415
+ } else {
16416
+ var message = "";
16417
+ goog.DEBUG && (message = "Node is not of type text or element");
16418
+ throw Error(message);
16419
+ }
16420
+ sanitizedParent.appendChild(sanitizedNode);
16421
+ if (currentNode = treeWalker.firstChild()) {
16422
+ sanitizedParent = sanitizedNode;
16423
+ } else {
16424
+ for (; !(currentNode = treeWalker.nextSibling()) && (currentNode = treeWalker.parentNode());) {
16425
+ sanitizedParent = sanitizedParent.parentNode;
16473
16426
  }
16474
16427
  }
16475
16428
  }
16476
- return module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeTokens(tokens);
16429
+ return sanitizedFragment;
16477
16430
  };
16478
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeKeyframeRule = function(rule) {
16479
- var sanitizedProperties = this.sanitizeStyleDeclaration(rule.style, !0);
16480
- return rule.keyText + " { " + sanitizedProperties + " }";
16431
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.createTextNode = function(text) {
16432
+ return document.createTextNode(text);
16481
16433
  };
16482
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeKeyframesRule = function(keyframesRule) {
16483
- if (!this.allowKeyframes) {
16484
- return null;
16485
- }
16486
- for (var keyframeRules = [], $jscomp$iter$35 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$35.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$35.next()) {
16487
- var rule = $jscomp$key$m1577590584$1$rule.value;
16488
- if (rule instanceof CSSKeyframeRule) {
16489
- var sanitizedRule = this.sanitizeKeyframeRule(rule);
16490
- sanitizedRule && keyframeRules.push(sanitizedRule);
16434
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeTextNode = function(textNode) {
16435
+ return this.createTextNode(textNode.data);
16436
+ };
16437
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
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);
16440
+ if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
16441
+ switch(policy.policyAction) {
16442
+ case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
16443
+ module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
16444
+ break;
16445
+ case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL:
16446
+ var sanitizedAttrUrl = module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl(value);
16447
+ sanitizedAttrUrl !== value && this.recordChange("Url in attribute " + name + ' was modified during sanitization. Original url:"' + value + '" was sanitized to: "' + sanitizedAttrUrl + '"');
16448
+ module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedAttrUrl);
16449
+ break;
16450
+ case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE:
16451
+ module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value.toLowerCase());
16452
+ break;
16453
+ case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE:
16454
+ if (this.styleAttributeSanitizer) {
16455
+ var sanitizedCss = this.styleAttributeSanitizer(value);
16456
+ module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedCss);
16457
+ } else {
16458
+ module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
16459
+ }
16460
+ break;
16461
+ case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY:
16462
+ if (this.resourceUrlPolicy) {
16463
+ var hints = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, url = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value), sanitizedUrl = this.resourceUrlPolicy(url, hints);
16464
+ sanitizedUrl && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedUrl.toString());
16465
+ } else {
16466
+ module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
16467
+ }
16468
+ break;
16469
+ case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
16470
+ if (this.resourceUrlPolicy) {
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);
16474
+ sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
16475
+ }
16476
+ module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
16477
+ } else {
16478
+ module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
16479
+ }
16480
+ break;
16481
+ case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP:
16482
+ this.recordChange("Attribute: " + name + " was dropped");
16483
+ break;
16484
+ default:
16485
+ goog.DEBUG && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_checkExhaustive(policy.policyAction, "Unhandled AttributePolicyAction case");
16486
+ }
16487
+ } else {
16488
+ this.recordChange("Not all conditions satisfied for attribute: " + name + ".");
16491
16489
  }
16492
16490
  }
16493
- return "@keyframes " + module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(keyframesRule.name) + " { " + keyframeRules.join(" ") + " }";
16491
+ return newNode;
16494
16492
  };
16495
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.isPropertyNameAllowed = function(name) {
16496
- if (!this.propertyAllowlist.has(name)) {
16497
- return !1;
16493
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.nodeFilter = function(node) {
16494
+ if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(node)) {
16495
+ return 1;
16498
16496
  }
16499
- for (var $jscomp$iter$36 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$36.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$36.next()) {
16500
- var discarder = $jscomp$key$m1577590584$2$discarder.value;
16501
- if (discarder(name)) {
16502
- return !1;
16503
- }
16497
+ if (!module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement(node)) {
16498
+ return 2;
16504
16499
  }
16505
- return !0;
16506
- };
16507
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeProperty = function(name, value, isImportant, calledFromStyleElement) {
16508
- if (!this.isPropertyNameAllowed(name)) {
16509
- return null;
16500
+ var nodeName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(node);
16501
+ if (nodeName === null) {
16502
+ return this.recordChange("Node name was null for node: " + node), 2;
16510
16503
  }
16511
- var sanitizedValue = this.sanitizeValue(name, value, calledFromStyleElement);
16512
- return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
16513
- };
16514
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
16515
- for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$37 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$37.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$37.next()) {
16516
- var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
16517
- sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
16504
+ if (this.sanitizerTable.isAllowedElement(nodeName)) {
16505
+ return 1;
16518
16506
  }
16519
- return sanitizedProperties;
16507
+ this.recordChange("Element: " + nodeName + " was dropped");
16508
+ return 2;
16520
16509
  };
16521
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleRule = function(rule) {
16522
- var selector = this.sanitizeSelector(rule.selectorText);
16523
- if (!selector) {
16524
- return null;
16525
- }
16526
- var sanitizedProperties = this.sanitizeStyleDeclaration(rule.style, !0);
16527
- return selector + " { " + sanitizedProperties + " }";
16510
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.recordChange = function(errorMessage) {
16511
+ goog.DEBUG && this.changes.push(errorMessage);
16528
16512
  };
16529
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
16530
- for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$38.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$38.next()) {
16531
- var rule = $jscomp$key$m1577590584$4$rule.value;
16532
- if (rule instanceof CSSStyleRule) {
16533
- var sanitizedRule = this.sanitizeStyleRule(rule);
16534
- sanitizedRule && output.push(sanitizedRule);
16535
- } else if (rule instanceof CSSKeyframesRule) {
16536
- var sanitizedRule$jscomp$0 = this.sanitizeKeyframesRule(rule);
16537
- sanitizedRule$jscomp$0 && output.push(sanitizedRule$jscomp$0);
16513
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.satisfiesAllConditions = function(conditions, attrs) {
16514
+ if (!conditions) {
16515
+ return !0;
16516
+ }
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;
16519
+ if (value && !expectedValues.has(value)) {
16520
+ return !1;
16538
16521
  }
16539
16522
  }
16540
- return output.join("\n");
16523
+ return !0;
16541
16524
  };
16542
- module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleAttribute = function(cssText) {
16543
- var styleDeclaration = this.getStyleDeclaration(cssText);
16544
- return this.sanitizeStyleDeclaration(styleDeclaration, !1);
16525
+ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(el, name, value) {
16526
+ el.setAttribute(name, value);
16527
+ }
16528
+ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_SrcsetPart() {
16529
+ }
16530
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
16545
16531
  };
16546
- function module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders) {
16547
- return (new module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders)).sanitizeStyleElement(cssText);
16532
+ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
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;
16535
+ parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
16536
+ }
16537
+ return {parts:parts};
16548
16538
  }
16549
- module$exports$safevalues$builders$html_sanitizer$css$sanitizer.sanitizeStyleElement = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement;
16550
- function module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, propertyAllowlist, functionAllowlist, resourceUrlPolicy, propertyDiscarders) {
16551
- return (new module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer(propertyAllowlist, functionAllowlist, resourceUrlPolicy, !1, propertyDiscarders)).sanitizeStyleAttribute(cssText);
16539
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.parseSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset;
16540
+ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(srcset) {
16541
+ return srcset.parts.map(function(part) {
16542
+ var descriptor = part.descriptor;
16543
+ return "" + part.url + (descriptor ? " " + descriptor : "");
16544
+ }).join(" , ");
16552
16545
  }
16553
- module$exports$safevalues$builders$html_sanitizer$css$sanitizer.sanitizeStyleAttribute = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute;
16554
- 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"};
16546
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.serializeSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset;
16547
+ var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
16548
+ return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
16549
+ });
16550
+ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml(html) {
16551
+ return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer.sanitize(html);
16552
+ }
16553
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
16554
+ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(html) {
16555
+ return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer.sanitizeAssertUnchanged(html);
16556
+ }
16557
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
16558
+ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment(html) {
16559
+ return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer.sanitizeToFragment(html);
16560
+ }
16561
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
16562
+ var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
16563
+ return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.LENIENT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
16564
+ });
16565
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtml = function(html) {
16566
+ return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer.sanitize(html);
16567
+ };
16568
+ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(html) {
16569
+ return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer.sanitizeAssertUnchanged(html);
16570
+ }
16571
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged;
16572
+ var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
16573
+ return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.SUPER_LENIENT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
16574
+ });
16575
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.superLenientlySanitizeHtml = function(html) {
16576
+ return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer.sanitize(html);
16577
+ };
16578
+ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientlySanitizeHtmlAssertUnchanged(html) {
16579
+ return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer.sanitizeAssertUnchanged(html);
16580
+ }
16581
+ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.superLenientlySanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientlySanitizeHtmlAssertUnchanged;
16582
+ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_checkExhaustive(value, msg) {
16583
+ throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
16584
+ }
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"};
16555
16586
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder = function() {
16556
16587
  this.calledBuild = !1;
16557
16588
  this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
16558
16589
  };
16559
16590
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
16560
- for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$21$element = $jscomp$iter$39.next(); !$jscomp$key$435282654$21$element.done; $jscomp$key$435282654$21$element = $jscomp$iter$39.next()) {
16561
- var element = $jscomp$key$435282654$21$element.value;
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;
16562
16593
  element = element.toUpperCase();
16563
16594
  if (!this.sanitizerTable.isAllowedElement(element)) {
16564
16595
  throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
@@ -16576,8 +16607,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
16576
16607
  throw Error("Element: " + element + " is not a custom element");
16577
16608
  }
16578
16609
  if (allowedAttributes) {
16579
- for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$22$attribute.done; $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next()) {
16580
- elementPolicy.set($jscomp$key$435282654$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
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});
16581
16612
  }
16582
16613
  allowedElementPolicies.set(element, elementPolicy);
16583
16614
  } else {
@@ -16587,15 +16618,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
16587
16618
  return this;
16588
16619
  };
16589
16620
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
16590
- for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next(); !$jscomp$key$435282654$23$attribute.done; $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next()) {
16591
- var attribute = $jscomp$key$435282654$23$attribute.value;
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;
16592
16623
  this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
16593
16624
  this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
16594
16625
  }
16595
- for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$25$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$25$.done; $jscomp$key$435282654$25$ = $jscomp$iter$43.next()) {
16596
- for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$435282654$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$435282654$24$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$24$.done; $jscomp$key$435282654$24$ =
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$ =
16597
16628
  $jscomp$iter$42.next()) {
16598
- var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$435282654$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;
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;
16599
16630
  attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
16600
16631
  }
16601
16632
  elementPolicies.set(elementName, newElementPolicy);
@@ -16604,8 +16635,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
16604
16635
  return this;
16605
16636
  };
16606
16637
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
16607
- for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next(); !$jscomp$key$435282654$26$attribute.done; $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next()) {
16608
- var attribute = $jscomp$key$435282654$26$attribute.value;
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;
16609
16640
  if (attribute.indexOf("data-") !== 0) {
16610
16641
  throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
16611
16642
  }
@@ -16667,7 +16698,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
16667
16698
  return this;
16668
16699
  };
16669
16700
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
16670
- var $jscomp$this$435282654$17 = this;
16701
+ var $jscomp$this$m1412690177$17 = this;
16671
16702
  this.extendSanitizerTableForCss();
16672
16703
  var propertyDiscarders = [];
16673
16704
  this.animationsAllowed || propertyDiscarders.push(function(property) {
@@ -16677,9 +16708,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
16677
16708
  return /^transition(-|$)/.test(property);
16678
16709
  });
16679
16710
  return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
16680
- return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, $jscomp$this$435282654$17.animationsAllowed, propertyDiscarders);
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);
16681
16712
  }, function(cssText) {
16682
- return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, propertyDiscarders);
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);
16683
16714
  }, this.resourceUrlPolicy);
16684
16715
  };
16685
16716
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
@@ -16691,7 +16722,13 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
16691
16722
  allowedGlobalAttributes.add("class");
16692
16723
  this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, globalAttributePolicies);
16693
16724
  };
16694
- 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;
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;
16695
16732
  function module$contents$safevalues$builders$resource_url_builders_hasValidOrigin(base) {
16696
16733
  if (!/^https:\/\//.test(base) && !/^\/\//.test(base)) {
16697
16734
  return !1;
@@ -16902,12 +16939,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
16902
16939
  }
16903
16940
  try {
16904
16941
  module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
16905
- } catch ($jscomp$unused$catch$696273141$0) {
16942
+ } catch ($jscomp$unused$catch$442189172$0) {
16906
16943
  return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
16907
16944
  }
16908
16945
  try {
16909
16946
  module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
16910
- } catch ($jscomp$unused$catch$696273141$1) {
16947
+ } catch ($jscomp$unused$catch$442189172$1) {
16911
16948
  return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
16912
16949
  }
16913
16950
  return !1;
@@ -16944,9 +16981,11 @@ module$exports$safevalues$index.scriptToHtml = module$exports$safevalues$builder
16944
16981
  module$exports$safevalues$index.scriptUrlToHtml = module$exports$safevalues$builders$html_builders.scriptUrlToHtml;
16945
16982
  module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
16946
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;
16947
16985
  module$exports$safevalues$index.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
16948
16986
  module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
16949
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;
16950
16989
  module$exports$safevalues$index.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
16951
16990
  module$exports$safevalues$index.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
16952
16991
  module$exports$safevalues$index.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
@@ -16987,7 +17026,7 @@ module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$interna
16987
17026
  module$exports$safevalues$index.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
16988
17027
  module$exports$safevalues$index.isScript = module$contents$safevalues$internals$script_impl_isScript;
16989
17028
  module$exports$safevalues$index.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
16990
- module$exports$safevalues$index.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
17029
+ module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
16991
17030
  module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
16992
17031
  module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
16993
17032
  module$exports$safevalues$index.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
@@ -17042,12 +17081,6 @@ goog.dom.safe.setOuterHtml = function(elem, html) {
17042
17081
  goog.dom.safe.setFormElementAction = function(form, url) {
17043
17082
  module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17044
17083
  };
17045
- goog.dom.safe.setButtonFormAction = function(button, url) {
17046
- module$contents$goog$asserts$dom_assertIsHtmlButtonElement(button).formAction = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17047
- };
17048
- goog.dom.safe.setInputFormAction = function(input, url) {
17049
- module$contents$goog$asserts$dom_assertIsHtmlInputElement(input).formAction = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17050
- };
17051
17084
  goog.dom.safe.documentWrite = function(doc, html) {
17052
17085
  doc.write(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html));
17053
17086
  };
@@ -17055,22 +17088,10 @@ goog.dom.safe.setAnchorHref = function(anchor, url) {
17055
17088
  module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(anchor);
17056
17089
  anchor.href = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17057
17090
  };
17058
- goog.dom.safe.setAudioSrc = function(audioElement, url) {
17059
- module$contents$goog$asserts$dom_assertIsHtmlAudioElement(audioElement);
17060
- audioElement.src = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17061
- };
17062
- goog.dom.safe.setVideoSrc = function(videoElement, url) {
17063
- module$contents$goog$asserts$dom_assertIsHtmlVideoElement(videoElement);
17064
- videoElement.src = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17065
- };
17066
17091
  goog.dom.safe.setIframeSrc = function(iframe, url) {
17067
17092
  module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
17068
17093
  iframe.src = goog.html.TrustedResourceUrl.unwrap(url);
17069
17094
  };
17070
- goog.dom.safe.setIframeSrcdoc = function(iframe, html) {
17071
- module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
17072
- iframe.srcdoc = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
17073
- };
17074
17095
  goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
17075
17096
  module$contents$goog$asserts$dom_assertIsHtmlLinkElement(link);
17076
17097
  link.rel = rel;
@@ -18229,13 +18250,13 @@ goog.debug.asyncStackTag.getTestNameProvider = function() {
18229
18250
  return module$contents$goog$debug$asyncStackTag_testNameProvider;
18230
18251
  };
18231
18252
  goog.ASSUME_NATIVE_PROMISE = !1;
18232
- 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) {
18233
18254
  module$contents$goog$async$run_schedule || module$contents$goog$async$run_initializeRunner();
18234
18255
  module$contents$goog$async$run_workQueueScheduled || (module$contents$goog$async$run_schedule(), module$contents$goog$async$run_workQueueScheduled = !0);
18235
18256
  callback = module$contents$goog$debug$asyncStackTag_wrap(callback, "goog.async.run");
18236
18257
  module$contents$goog$async$run_workQueue.add(callback, context);
18237
18258
  }, module$contents$goog$async$run_initializeRunner = function() {
18238
- if (goog.ASSUME_NATIVE_PROMISE || goog.global.Promise && goog.global.Promise.resolve) {
18259
+ if (module$contents$goog$async$run_ASSUME_NATIVE_PROMISE || goog.global.Promise && goog.global.Promise.resolve) {
18239
18260
  var promise = goog.global.Promise.resolve(void 0);
18240
18261
  module$contents$goog$async$run_schedule = function() {
18241
18262
  promise.then(module$contents$goog$async$run_run.processWorkQueue);
@@ -19726,10 +19747,13 @@ safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
19726
19747
  safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
19727
19748
  safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
19728
19749
  safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
19750
+ safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
19729
19751
  safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
19730
19752
  safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
19731
19753
  safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
19754
+ safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
19732
19755
  safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
19756
+ safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
19733
19757
  safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
19734
19758
  safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
19735
19759
  safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
@@ -19773,7 +19797,7 @@ safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_
19773
19797
  safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
19774
19798
  safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
19775
19799
  safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
19776
- safevalues.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
19800
+ safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
19777
19801
  safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
19778
19802
  safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
19779
19803
  safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
@@ -19789,7 +19813,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
19789
19813
  ee.apiclient = {};
19790
19814
  var module$contents$ee$apiclient_apiclient = {};
19791
19815
  ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
19792
- ee.apiclient.API_CLIENT_VERSION = "0.1.416";
19816
+ ee.apiclient.API_CLIENT_VERSION = "0.1.417";
19793
19817
  ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
19794
19818
  ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
19795
19819
  ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
@@ -20087,8 +20111,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
20087
20111
  var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
20088
20112
  body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
20089
20113
  method = method || "POST";
20090
- var headers = {"Content-Type":contentType}, version = "0.1.416";
20091
- version === "0.1.416" && (version = "latest");
20114
+ var headers = {"Content-Type":contentType}, version = "0.1.417";
20115
+ version === "0.1.417" && (version = "latest");
20092
20116
  headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
20093
20117
  var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
20094
20118
  if (authToken != null) {
@@ -27617,29 +27641,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
27617
27641
  ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
27618
27642
  ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
27619
27643
  (function() {
27620
- var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.createAssetHome ee.data.createAsset ee.data.newTaskId ee.data.getInfo ee.data.computeValue ee.data.setDefaultWorkloadTag ee.data.cancelTask ee.data.resetWorkloadTag ee.data.getThumbId ee.data.getVideoThumbId ee.data.updateAsset ee.data.updateTask ee.data.getTaskStatus ee.data.getList ee.data.startIngestion ee.data.getFilmstripThumbId ee.data.createFolder ee.data.startProcessing ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.makeThumbUrl ee.data.getMapId ee.data.renameAsset ee.data.listAssets ee.data.getTaskList ee.data.setAssetProperties ee.data.copyAsset ee.data.authenticate ee.data.listBuckets ee.data.getTileUrl ee.data.getTableDownloadId ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.listOperations ee.data.deleteAsset ee.data.getDownloadId ee.data.cancelOperation ee.data.authenticateViaPopup ee.data.listImages ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.makeDownloadUrl ee.data.getAsset ee.data.getAssetRoots ee.data.setWorkloadTag ee.data.getOperation ee.data.authenticateViaPrivateKey ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.Filter.gte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.and ee.Filter.prototype.not ee.Filter.gt ee.Filter.lt ee.Filter.neq ee.Filter.inList ee.Filter.or ee.Filter.lte ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.BBox ee.Geometry.prototype.toGeoJSONString ee.Geometry.Polygon ee.Geometry.LineString ee.Geometry ee.Geometry.prototype.serialize ee.Geometry.Point ee.Geometry.MultiLineString ee.Geometry.MultiPolygon ee.Image.rgb ee.Image.prototype.clip ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.prototype.rename ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.prototype.getThumbURL ee.Image.cat ee.Image ee.Image.prototype.expression ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.first ee.ImageCollection ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
27621
- orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),
27622
- "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
27623
- "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
27624
- "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "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(" "),
27625
- ["filter"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["callback"], ["func", "var_args"], ["opt_callback"], ["legacy"], ["requestedId", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["opt_count", "opt_callback"], ["id", "opt_callback"], ["obj", "opt_callback"], ["tag"], ["taskId", "opt_callback"], ["opt_resetDefault"],
27626
- ["params", "opt_callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "params", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["assetId", "aclUpdate", "opt_callback"], ["id"],
27627
- ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["opt_callback"], ["assetId", "properties", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["project", "opt_callback"], ["id", "x", "y", "z"], ["params", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["rootId", "opt_callback"],
27628
- ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["opt_success", "opt_error"], ["parent", "opt_params", "opt_callback"], ["assetId", "opt_callback"], [], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["id"], ["id", "opt_callback"], ["opt_callback"], ["tag"], ["operationName", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["date", "opt_tz"],
27629
- ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], [], ["func", "namedArgs"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["opt_callback"], ["opt_visParams",
27630
- "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["name", "value"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["var_args"], [], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], ["name", "value"], ["var_args"], ["namedArgs"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords",
27631
- "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["west", "south", "east", "north"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["r", "g", "b"], ["geometry"], ["opt_callback"],
27632
- ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["var_args"], ["opt_args"], ["expression", "opt_map"], ["opt_callback"], ["selectors", "opt_names"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], [],
27633
- ["args"], ["list"], ["number"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
27634
- [ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toCloudStorage,
27635
- module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.ComputedObject.prototype.evaluate,
27636
- ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.createAssetHome, ee.data.createAsset, ee.data.newTaskId, ee.data.getInfo, ee.data.computeValue, ee.data.setDefaultWorkloadTag, ee.data.cancelTask, ee.data.resetWorkloadTag, ee.data.getThumbId, ee.data.getVideoThumbId, ee.data.updateAsset, ee.data.updateTask, ee.data.getTaskStatus, ee.data.getList, ee.data.startIngestion, ee.data.getFilmstripThumbId, ee.data.createFolder, ee.data.startProcessing,
27637
- ee.data.authenticateViaOauth, ee.data.setAssetAcl, ee.data.makeThumbUrl, ee.data.getMapId, ee.data.renameAsset, ee.data.listAssets, ee.data.getTaskList, ee.data.setAssetProperties, ee.data.copyAsset, ee.data.authenticate, ee.data.listBuckets, ee.data.getTileUrl, ee.data.getTableDownloadId, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.getAssetRootQuota, ee.data.listOperations, ee.data.deleteAsset, ee.data.getDownloadId, ee.data.cancelOperation,
27638
- ee.data.authenticateViaPopup, ee.data.listImages, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.getFeatureViewTilesKey, ee.data.listFeatures, ee.data.makeDownloadUrl, ee.data.getAsset, ee.data.getAssetRoots, ee.data.setWorkloadTag, ee.data.getOperation, ee.data.authenticateViaPrivateKey, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.Algorithms, ee.InitState, ee.apply, ee.TILE_SIZE, ee.initialize,
27639
- ee.call, ee.reset, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.select, ee.Filter.gte, ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.and,
27640
- ee.Filter.prototype.not, ee.Filter.gt, ee.Filter.lt, ee.Filter.neq, ee.Filter.inList, ee.Filter.or, ee.Filter.lte, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.MultiPoint, ee.Geometry.Rectangle, ee.Geometry.BBox, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Polygon, ee.Geometry.LineString, ee.Geometry, ee.Geometry.prototype.serialize, ee.Geometry.Point, ee.Geometry.MultiLineString, ee.Geometry.MultiPolygon, ee.Image.rgb,
27641
- ee.Image.prototype.clip, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image.prototype.rename, ee.Image.prototype.getMap, ee.Image.prototype.getThumbId, ee.Image.prototype.select, ee.Image.prototype.getThumbURL, ee.Image.cat, ee.Image, ee.Image.prototype.expression, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.linkCollection,
27642
- ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.first, ee.ImageCollection, ee.List, ee.Number, ee.Serializer.toReadableJSON, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.String, ee.Terrain].forEach(function(fn, i) {
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) {
27643
27667
  fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
27644
27668
  });
27645
27669
  goog.global.EXPORTED_FN_INFO = exportedFnInfo;