@google/earthengine 0.1.417 → 0.1.419

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/main.js CHANGED
@@ -18,7 +18,7 @@ $jscomp.SIMPLE_FROUND_POLYFILL = !1;
18
18
  $jscomp.ISOLATE_POLYFILLS = !1;
19
19
  $jscomp.FORCE_POLYFILL_PROMISE = !1;
20
20
  $jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION = !1;
21
- $jscomp.INSTRUMENT_ASYNC_CONTEXT = !1;
21
+ $jscomp.INSTRUMENT_ASYNC_CONTEXT = !0;
22
22
  $jscomp.defineProperty = $jscomp.ASSUME_ES5 || typeof Object.defineProperties == "function" ? Object.defineProperty : function(target, property, descriptor) {
23
23
  if (target == Array.prototype || target == Object.prototype) {
24
24
  return target;
@@ -766,6 +766,28 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
766
766
  });
767
767
  };
768
768
  }, "es6", "es3");
769
+ $jscomp.checkStringArgs = function(thisArg, arg, func) {
770
+ if (thisArg == null) {
771
+ throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
772
+ }
773
+ if (arg instanceof RegExp) {
774
+ throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
775
+ }
776
+ return thisArg + "";
777
+ };
778
+ $jscomp.polyfill("String.prototype.endsWith", function(orig) {
779
+ return orig ? orig : function(searchString, opt_position) {
780
+ var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
781
+ searchString += "";
782
+ opt_position === void 0 && (opt_position = string.length);
783
+ for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
784
+ if (string[--i] != searchString[--j]) {
785
+ return !1;
786
+ }
787
+ }
788
+ return j <= 0;
789
+ };
790
+ }, "es6", "es3");
769
791
  $jscomp.checkEs6ConformanceViaProxy = function() {
770
792
  try {
771
793
  var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
@@ -1064,28 +1086,6 @@ $jscomp.polyfill("Set", function(NativeSet) {
1064
1086
  };
1065
1087
  return PolyfillSet;
1066
1088
  }, "es6", "es3");
1067
- $jscomp.checkStringArgs = function(thisArg, arg, func) {
1068
- if (thisArg == null) {
1069
- throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
1070
- }
1071
- if (arg instanceof RegExp) {
1072
- throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
1073
- }
1074
- return thisArg + "";
1075
- };
1076
- $jscomp.polyfill("String.prototype.endsWith", function(orig) {
1077
- return orig ? orig : function(searchString, opt_position) {
1078
- var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
1079
- searchString += "";
1080
- opt_position === void 0 && (opt_position = string.length);
1081
- for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
1082
- if (string[--i] != searchString[--j]) {
1083
- return !1;
1084
- }
1085
- }
1086
- return j <= 0;
1087
- };
1088
- }, "es6", "es3");
1089
1089
  $jscomp.polyfill("Array.prototype.entries", function(orig) {
1090
1090
  return orig ? orig : function() {
1091
1091
  return $jscomp.iteratorFromArray(this, function(i, v) {
@@ -1251,7 +1251,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
1251
1251
  return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
1252
1252
  };
1253
1253
  }, "es8", "es3");
1254
- 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,
1254
+ var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable:!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,
1255
1255
  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};
1256
1256
  /*
1257
1257
 
@@ -2147,9 +2147,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
2147
2147
  };
2148
2148
  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;
2149
2149
  function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
2150
- 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 =
2151
- {mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
2152
- var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
2150
+ 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 =
2151
+ {mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
2152
+ var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
2153
2153
  if (value != null) {
2154
2154
  var copy = void 0;
2155
2155
  if (arrays.hasOwnProperty(key)) {
@@ -2160,11 +2160,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
2160
2160
  } else if (objects.hasOwnProperty(key)) {
2161
2161
  copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
2162
2162
  } else if (objectMaps.hasOwnProperty(key)) {
2163
- $jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
2163
+ $jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
2164
2164
  return function(v) {
2165
- return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
2165
+ return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
2166
2166
  };
2167
- }($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
2167
+ }($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
2168
2168
  } else if (Array.isArray(value)) {
2169
2169
  if (metadata.emptyArrayIsUnset && value.length === 0) {
2170
2170
  continue;
@@ -2179,8 +2179,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
2179
2179
  return target;
2180
2180
  }
2181
2181
  function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
2182
- 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()) {
2183
- var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
2182
+ 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()) {
2183
+ var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
2184
2184
  mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
2185
2185
  }
2186
2186
  return objMap;
@@ -2210,39 +2210,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
2210
2210
  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))) {
2211
2211
  return !1;
2212
2212
  }
2213
- 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()) {
2214
- 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
+ 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()) {
2214
+ 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);
2215
2215
  if (has1 !== has2) {
2216
2216
  return !1;
2217
2217
  }
2218
2218
  if (has1) {
2219
2219
  var value1 = serializable1.Serializable$get(key);
2220
- $jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
2220
+ $jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
2221
2221
  if (arrays1.hasOwnProperty(key)) {
2222
- if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
2222
+ if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
2223
2223
  return !1;
2224
2224
  }
2225
2225
  } else if (objects1.hasOwnProperty(key)) {
2226
- if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
2226
+ if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
2227
2227
  return !1;
2228
2228
  }
2229
2229
  } else if (objectMaps1.hasOwnProperty(key)) {
2230
- if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
2231
- if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
2230
+ if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
2231
+ if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
2232
2232
  return function(v1, i) {
2233
- return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
2233
+ return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
2234
2234
  };
2235
- }($jscomp$loop$m192531680$45))) {
2235
+ }($jscomp$loop$m1892927425$45))) {
2236
2236
  return !1;
2237
2237
  }
2238
- } else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
2238
+ } else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
2239
2239
  return !1;
2240
2240
  }
2241
2241
  } else if (Array.isArray(value1)) {
2242
- if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
2242
+ if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
2243
2243
  return !1;
2244
2244
  }
2245
- } else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
2245
+ } else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
2246
2246
  return !1;
2247
2247
  }
2248
2248
  }
@@ -2264,8 +2264,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
2264
2264
  if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
2265
2265
  return !1;
2266
2266
  }
2267
- 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()) {
2268
- var mapKey = $jscomp$key$m192531680$43$mapKey.value;
2267
+ 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()) {
2268
+ var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
2269
2269
  if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
2270
2270
  return !1;
2271
2271
  }
@@ -2346,15 +2346,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
2346
2346
  this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
2347
2347
  };
2348
2348
  module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
2349
- var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
2349
+ var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
2350
2350
  payload += this._metadataPayload;
2351
2351
  return Promise.all(this.files.map(function(f) {
2352
- return $jscomp$this$m667091202$6.encodeFile(f);
2352
+ return $jscomp$this$m133342051$6.encodeFile(f);
2353
2353
  })).then(function(filePayloads) {
2354
- 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()) {
2355
- payload += $jscomp$key$m667091202$9$filePayload.value;
2354
+ 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()) {
2355
+ payload += $jscomp$key$m133342051$9$filePayload.value;
2356
2356
  }
2357
- return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
2357
+ return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
2358
2358
  });
2359
2359
  };
2360
2360
  module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
@@ -2779,6 +2779,7 @@ goog.string.internal.compareElements_ = function(left, right) {
2779
2779
  };
2780
2780
  /*
2781
2781
 
2782
+ Copyright Google LLC
2782
2783
  SPDX-License-Identifier: Apache-2.0
2783
2784
  */
2784
2785
  var module$contents$safevalues$environment$dev_module = module$contents$safevalues$environment$dev_module || {id:"third_party/javascript/safevalues/environment/dev.closure.js"};
@@ -2916,64 +2917,66 @@ goog.string.Const.from = function(s) {
2916
2917
  goog.string.Const.TYPE_MARKER_ = {};
2917
2918
  goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
2918
2919
  goog.string.Const.EMPTY = goog.string.Const.from("");
2919
- goog.html.TrustedResourceUrl = function(value, token) {
2920
- if (goog.DEBUG && token !== goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
2920
+ var module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_ = {}, module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl = function(value, token) {
2921
+ if (goog.DEBUG && token !== module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_) {
2921
2922
  throw Error("TrustedResourceUrl is not meant to be built directly");
2922
2923
  }
2923
2924
  this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = value;
2924
2925
  };
2925
- goog.html.TrustedResourceUrl.prototype.toString = function() {
2926
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.toString = function() {
2926
2927
  return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
2927
2928
  };
2928
- goog.html.TrustedResourceUrl.prototype.cloneWithParams = function(searchParams, opt_hashParams) {
2929
- var url = goog.html.TrustedResourceUrl.unwrap(this), parts = goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(url), urlHash = parts[3] || "";
2930
- return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(parts[1] + goog.html.TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + goog.html.TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
2929
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.cloneWithParams = function(searchParams, opt_hashParams) {
2930
+ return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(this, searchParams, opt_hashParams);
2931
2931
  };
2932
- goog.html.TrustedResourceUrl.unwrap = function(trustedResourceUrl) {
2933
- return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(trustedResourceUrl).toString();
2932
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
2933
+ var urlString = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url), parts = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_.exec(urlString), urlHash = parts[3] || "";
2934
+ return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(parts[1] + module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
2934
2935
  };
2935
- goog.html.TrustedResourceUrl.unwrapTrustedScriptURL = function(trustedResourceUrl) {
2936
- if (trustedResourceUrl instanceof goog.html.TrustedResourceUrl && trustedResourceUrl.constructor === goog.html.TrustedResourceUrl) {
2936
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap = function(trustedResourceUrl) {
2937
+ return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(trustedResourceUrl).toString();
2938
+ };
2939
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL = function(trustedResourceUrl) {
2940
+ if (trustedResourceUrl instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl && trustedResourceUrl.constructor === module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
2937
2941
  return trustedResourceUrl.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;
2938
2942
  }
2939
2943
  goog.asserts.fail("expected object of type TrustedResourceUrl, got '%s' of type %s", trustedResourceUrl, goog.typeOf(trustedResourceUrl));
2940
2944
  return "type_error:TrustedResourceUrl";
2941
2945
  };
2942
- goog.html.TrustedResourceUrl.format = function(format, args) {
2946
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format = function(format, args) {
2943
2947
  var formatStr = goog.string.Const.unwrap(format);
2944
- if (!goog.html.TrustedResourceUrl.BASE_URL_.test(formatStr)) {
2948
+ if (!module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_.test(formatStr)) {
2945
2949
  throw Error("Invalid TrustedResourceUrl format: " + formatStr);
2946
2950
  }
2947
- var result = formatStr.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_, function(match, id) {
2951
+ var result = formatStr.replace(module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_, function(match, id) {
2948
2952
  if (!Object.prototype.hasOwnProperty.call(args, id)) {
2949
2953
  throw Error('Found marker, "' + id + '", in format string, "' + formatStr + '", but no valid label mapping found in args: ' + JSON.stringify(args));
2950
2954
  }
2951
2955
  var arg = args[id];
2952
2956
  return arg instanceof goog.string.Const ? goog.string.Const.unwrap(arg) : encodeURIComponent(String(arg));
2953
2957
  });
2954
- return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(result);
2958
+ return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(result);
2955
2959
  };
2956
- goog.html.TrustedResourceUrl.FORMAT_MARKER_ = /%{(\w+)}/g;
2957
- goog.html.TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
2958
- goog.html.TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
2959
- goog.html.TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
2960
- return goog.html.TrustedResourceUrl.format(format, args).cloneWithParams(searchParams, opt_hashParams);
2960
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_ = /%{(\w+)}/g;
2961
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
2962
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
2963
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
2964
+ return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format(format, args).cloneWithParams(searchParams, opt_hashParams);
2961
2965
  };
2962
- goog.html.TrustedResourceUrl.fromConstant = function(url) {
2963
- return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
2966
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstant = function(url) {
2967
+ return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
2964
2968
  };
2965
- goog.html.TrustedResourceUrl.fromConstants = function(parts) {
2969
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstants = function(parts) {
2966
2970
  for (var unwrapped = "", i = 0; i < parts.length; i++) {
2967
2971
  unwrapped += goog.string.Const.unwrap(parts[i]);
2968
2972
  }
2969
- return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(unwrapped);
2973
+ return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(unwrapped);
2970
2974
  };
2971
- goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_ = {};
2972
- goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(url) {
2975
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(url) {
2973
2976
  var noinlineUrl = url, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), value = policy ? policy.createScriptURL(noinlineUrl) : noinlineUrl;
2974
- return new goog.html.TrustedResourceUrl(value, goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_);
2977
+ return new module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl(value, module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_);
2975
2978
  };
2976
- goog.html.TrustedResourceUrl.stringifyParams_ = function(prefix, currentString, params) {
2979
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_ = function(prefix, currentString, params) {
2977
2980
  if (params == null) {
2978
2981
  return currentString;
2979
2982
  }
@@ -2990,22 +2993,25 @@ goog.html.TrustedResourceUrl.stringifyParams_ = function(prefix, currentString,
2990
2993
  }
2991
2994
  return currentString;
2992
2995
  };
2996
+ goog.html.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
2997
+ var module$exports$goog$html$trustedresourceurl_internals_for_safevalues = {};
2998
+ module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
2993
2999
  var module$exports$safevalues$internals$resource_url_impl = {}, module$contents$safevalues$internals$resource_url_impl_module = module$contents$safevalues$internals$resource_url_impl_module || {id:"third_party/javascript/safevalues/internals/resource_url_impl.closure.js"};
2994
- module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = goog.html.TrustedResourceUrl;
3000
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
2995
3001
  function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
2996
- return (0,goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse)(url);
3002
+ return (0,module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl)(url);
2997
3003
  }
2998
3004
  module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
2999
3005
  function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
3000
- return value instanceof goog.html.TrustedResourceUrl;
3006
+ return value instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
3001
3007
  }
3002
3008
  module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
3003
3009
  function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
3004
- return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
3010
+ return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(value);
3005
3011
  }
3006
3012
  module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
3007
- 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"],
3008
- ["\\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"};
3013
+ 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"],
3014
+ ["\\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"};
3009
3015
  function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
3010
3016
  if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
3011
3017
  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 ##############################");
@@ -3019,14 +3025,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
3019
3025
  return fn.toString().indexOf("`") === -1;
3020
3026
  }
3021
3027
  var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
3022
- return tag($jscomp$templatelit$1274514361$5);
3028
+ return tag($jscomp$templatelit$m425881384$5);
3023
3029
  }) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
3024
- return tag($jscomp$templatelit$1274514361$6);
3030
+ return tag($jscomp$templatelit$m425881384$6);
3025
3031
  }) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
3026
- return tag($jscomp$templatelit$1274514361$7);
3032
+ return tag($jscomp$templatelit$m425881384$7);
3027
3033
  }) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
3028
- return tag($jscomp$templatelit$1274514361$8);
3029
- }), 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);
3034
+ return tag($jscomp$templatelit$m425881384$8);
3035
+ }), 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);
3030
3036
  function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
3031
3037
  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)) ?
3032
3038
  !0 : !1;
@@ -3296,672 +3302,320 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
3296
3302
  throw Error(message);
3297
3303
  }
3298
3304
  module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
3299
- goog.array = {};
3300
- goog.NATIVE_ARRAY_PROTOTYPES = goog.TRUSTED_SITE;
3301
- var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS = goog.FEATURESET_YEAR > 2012;
3302
- goog.array.ASSUME_NATIVE_FUNCTIONS = module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;
3303
- function module$contents$goog$array_peek(array) {
3304
- return array[array.length - 1];
3305
+ var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"}, module$contents$safevalues$internals$html_impl_trustedTypes = goog.global.trustedTypes;
3306
+ module$exports$safevalues$internals$html_impl.SafeHtml = function(token, value) {
3307
+ goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
3308
+ this.privateDoNotAccessOrElseWrappedHtml = value;
3309
+ };
3310
+ module$exports$safevalues$internals$html_impl.SafeHtml.prototype.toString = function() {
3311
+ return this.privateDoNotAccessOrElseWrappedHtml + "";
3312
+ };
3313
+ var module$contents$safevalues$internals$html_impl_HtmlImpl = module$exports$safevalues$internals$html_impl.SafeHtml;
3314
+ function module$contents$safevalues$internals$html_impl_constructHtml(value) {
3315
+ return new module$exports$safevalues$internals$html_impl.SafeHtml(module$exports$safevalues$internals$secrets.secretToken, value);
3305
3316
  }
3306
- goog.array.peek = module$contents$goog$array_peek;
3307
- goog.array.last = module$contents$goog$array_peek;
3308
- var module$contents$goog$array_indexOf = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.indexOf) ? function(arr, obj, opt_fromIndex) {
3309
- goog.asserts.assert(arr.length != null);
3310
- return Array.prototype.indexOf.call(arr, obj, opt_fromIndex);
3311
- } : function(arr, obj, opt_fromIndex) {
3312
- var fromIndex = opt_fromIndex == null ? 0 : opt_fromIndex < 0 ? Math.max(0, arr.length + opt_fromIndex) : opt_fromIndex;
3313
- if (typeof arr === "string") {
3314
- return typeof obj !== "string" || obj.length != 1 ? -1 : arr.indexOf(obj, fromIndex);
3315
- }
3316
- for (var i = fromIndex; i < arr.length; i++) {
3317
- if (i in arr && arr[i] === obj) {
3318
- return i;
3319
- }
3320
- }
3321
- return -1;
3317
+ module$exports$safevalues$internals$html_impl.createHtmlInternal = function(value) {
3318
+ var noinlineValue = value, policy = (0,goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse)();
3319
+ return module$contents$safevalues$internals$html_impl_constructHtml(policy ? policy.createHTML(noinlineValue) : noinlineValue);
3322
3320
  };
3323
- goog.array.indexOf = module$contents$goog$array_indexOf;
3324
- var module$contents$goog$array_lastIndexOf = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.lastIndexOf) ? function(arr, obj, opt_fromIndex) {
3325
- goog.asserts.assert(arr.length != null);
3326
- return Array.prototype.lastIndexOf.call(arr, obj, opt_fromIndex == null ? arr.length - 1 : opt_fromIndex);
3327
- } : function(arr, obj, opt_fromIndex) {
3328
- var fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex;
3329
- fromIndex < 0 && (fromIndex = Math.max(0, arr.length + fromIndex));
3330
- if (typeof arr === "string") {
3331
- return typeof obj !== "string" || obj.length != 1 ? -1 : arr.lastIndexOf(obj, fromIndex);
3332
- }
3333
- for (var i = fromIndex; i >= 0; i--) {
3334
- if (i in arr && arr[i] === obj) {
3335
- return i;
3336
- }
3321
+ module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$safevalues$internals$pure_pure(function() {
3322
+ return module$contents$safevalues$internals$html_impl_constructHtml(module$contents$safevalues$internals$html_impl_trustedTypes ? module$contents$safevalues$internals$html_impl_trustedTypes.emptyHTML : "");
3323
+ });
3324
+ function module$contents$safevalues$internals$html_impl_isHtml(value) {
3325
+ return value instanceof module$exports$safevalues$internals$html_impl.SafeHtml;
3326
+ }
3327
+ module$exports$safevalues$internals$html_impl.isHtml = module$contents$safevalues$internals$html_impl_isHtml;
3328
+ module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
3329
+ if (module$contents$safevalues$internals$html_impl_isHtml(value)) {
3330
+ return value.privateDoNotAccessOrElseWrappedHtml;
3337
3331
  }
3338
- return -1;
3332
+ var message = "";
3333
+ goog.DEBUG && (message = "Unexpected type when unwrapping SafeHtml");
3334
+ throw Error(message);
3339
3335
  };
3340
- goog.array.lastIndexOf = module$contents$goog$array_lastIndexOf;
3341
- var module$contents$goog$array_forEach = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.forEach) ? function(arr, f, opt_obj) {
3342
- goog.asserts.assert(arr.length != null);
3343
- Array.prototype.forEach.call(arr, f, opt_obj);
3344
- } : function(arr, f, opt_obj) {
3345
- for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3346
- i in arr2 && f.call(opt_obj, arr2[i], i, arr);
3347
- }
3336
+ 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"};
3337
+ module$exports$safevalues$internals$style_impl.SafeStyle = function(token, value) {
3338
+ goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
3339
+ this.privateDoNotAccessOrElseWrappedStyle = value;
3348
3340
  };
3349
- goog.array.forEach = module$contents$goog$array_forEach;
3350
- function module$contents$goog$array_forEachRight(arr, f, opt_obj) {
3351
- for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = l - 1; i >= 0; --i) {
3352
- i in arr2 && f.call(opt_obj, arr2[i], i, arr);
3353
- }
3341
+ module$exports$safevalues$internals$style_impl.SafeStyle.prototype.toString = function() {
3342
+ return this.privateDoNotAccessOrElseWrappedStyle;
3343
+ };
3344
+ var module$contents$safevalues$internals$style_impl_StyleImpl = module$exports$safevalues$internals$style_impl.SafeStyle;
3345
+ function module$contents$safevalues$internals$style_impl_createStyleInternal(value) {
3346
+ return new module$exports$safevalues$internals$style_impl.SafeStyle(module$exports$safevalues$internals$secrets.secretToken, value);
3354
3347
  }
3355
- goog.array.forEachRight = module$contents$goog$array_forEachRight;
3356
- var module$contents$goog$array_filter = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.filter) ? function(arr, f, opt_obj) {
3357
- goog.asserts.assert(arr.length != null);
3358
- return Array.prototype.filter.call(arr, f, opt_obj);
3359
- } : function(arr, f, opt_obj) {
3360
- for (var l = arr.length, res = [], resLength = 0, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3361
- if (i in arr2) {
3362
- var val = arr2[i];
3363
- f.call(opt_obj, val, i, arr) && (res[resLength++] = val);
3364
- }
3348
+ module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
3349
+ function module$contents$safevalues$internals$style_impl_isStyle(value) {
3350
+ return value instanceof module$exports$safevalues$internals$style_impl.SafeStyle;
3351
+ }
3352
+ module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
3353
+ function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
3354
+ if (module$contents$safevalues$internals$style_impl_isStyle(value)) {
3355
+ return value.privateDoNotAccessOrElseWrappedStyle;
3365
3356
  }
3366
- return res;
3357
+ var message = "";
3358
+ goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyle, got '" + value + "' of type '" + typeof value + "'");
3359
+ throw Error(message);
3360
+ }
3361
+ module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
3362
+ 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"};
3363
+ module$exports$safevalues$dom$elements$element.setInnerHtml = function(elOrRoot, v) {
3364
+ module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
3365
+ elOrRoot.innerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
3367
3366
  };
3368
- goog.array.filter = module$contents$goog$array_filter;
3369
- var module$contents$goog$array_map = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.map) ? function(arr, f, opt_obj) {
3370
- goog.asserts.assert(arr.length != null);
3371
- return Array.prototype.map.call(arr, f, opt_obj);
3372
- } : function(arr, f, opt_obj) {
3373
- for (var l = arr.length, res = Array(l), arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3374
- i in arr2 && (res[i] = f.call(opt_obj, arr2[i], i, arr));
3375
- }
3376
- return res;
3367
+ module$exports$safevalues$dom$elements$element.setOuterHtml = function(e, v) {
3368
+ var parent = e.parentElement;
3369
+ parent !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(parent);
3370
+ e.outerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
3377
3371
  };
3378
- goog.array.map = module$contents$goog$array_map;
3379
- goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduce) ? function(arr, f, val, opt_obj) {
3380
- goog.asserts.assert(arr.length != null);
3381
- opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
3382
- return Array.prototype.reduce.call(arr, f, val);
3383
- } : function(arr, f, val, opt_obj) {
3384
- var rval = val;
3385
- module$contents$goog$array_forEach(arr, function(val, index) {
3386
- rval = f.call(opt_obj, rval, val, index, arr);
3387
- });
3388
- return rval;
3372
+ module$exports$safevalues$dom$elements$element.setCssText = function(e, v) {
3373
+ e.style.cssText = module$contents$safevalues$internals$style_impl_unwrapStyle(v);
3389
3374
  };
3390
- goog.array.reduceRight = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduceRight) ? function(arr, f, val, opt_obj) {
3391
- goog.asserts.assert(arr.length != null);
3392
- goog.asserts.assert(f != null);
3393
- opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
3394
- return Array.prototype.reduceRight.call(arr, f, val);
3395
- } : function(arr, f, val, opt_obj) {
3396
- var rval = val;
3397
- module$contents$goog$array_forEachRight(arr, function(val, index) {
3398
- rval = f.call(opt_obj, rval, val, index, arr);
3399
- });
3400
- return rval;
3375
+ module$exports$safevalues$dom$elements$element.insertAdjacentHtml = function(element, position, v) {
3376
+ var tagContext = position === "beforebegin" || position === "afterend" ? element.parentElement : element;
3377
+ tagContext !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(tagContext);
3378
+ element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
3401
3379
  };
3402
- var module$contents$goog$array_some = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.some) ? function(arr, f, opt_obj) {
3403
- goog.asserts.assert(arr.length != null);
3404
- return Array.prototype.some.call(arr, f, opt_obj);
3405
- } : function(arr, f, opt_obj) {
3406
- for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3407
- if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
3408
- return !0;
3409
- }
3410
- }
3411
- return !1;
3380
+ module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = function(prefix) {
3381
+ var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
3382
+ return function(e, attr, value) {
3383
+ module$contents$safevalues$dom$elements$element_setPrefixedAttribute(prefixes, e, attr, value);
3384
+ };
3412
3385
  };
3413
- goog.array.some = module$contents$goog$array_some;
3414
- var module$contents$goog$array_every = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.every) ? function(arr, f, opt_obj) {
3415
- goog.asserts.assert(arr.length != null);
3416
- return Array.prototype.every.call(arr, f, opt_obj);
3417
- } : function(arr, f, opt_obj) {
3418
- for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3419
- if (i in arr2 && !f.call(opt_obj, arr2[i], i, arr)) {
3420
- return !1;
3421
- }
3386
+ function module$contents$safevalues$dom$elements$element_setPrefixedAttribute(attrPrefixes, e, attr, value) {
3387
+ if (attrPrefixes.length === 0) {
3388
+ var message = "";
3389
+ goog.DEBUG && (message = "No prefixes are provided");
3390
+ throw Error(message);
3422
3391
  }
3423
- return !0;
3424
- };
3425
- goog.array.every = module$contents$goog$array_every;
3426
- function module$contents$goog$array_count(arr, f, opt_obj) {
3427
- var count = 0;
3428
- module$contents$goog$array_forEach(arr, function(element, index, arr) {
3429
- f.call(opt_obj, element, index, arr) && ++count;
3430
- }, opt_obj);
3431
- return count;
3432
- }
3433
- goog.array.count = module$contents$goog$array_count;
3434
- function module$contents$goog$array_find(arr, f, opt_obj) {
3435
- var i = module$contents$goog$array_findIndex(arr, f, opt_obj);
3436
- return i < 0 ? null : typeof arr === "string" ? arr.charAt(i) : arr[i];
3392
+ var prefixes = attrPrefixes.map(function(s) {
3393
+ return module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(s);
3394
+ }), attrLower = attr.toLowerCase();
3395
+ if (prefixes.every(function(p) {
3396
+ return attrLower.indexOf(p) !== 0;
3397
+ })) {
3398
+ throw Error('Attribute "' + attr + '" does not match any of the allowed prefixes.');
3399
+ }
3400
+ e.setAttribute(attr, value);
3437
3401
  }
3438
- goog.array.find = module$contents$goog$array_find;
3439
- function module$contents$goog$array_findIndex(arr, f, opt_obj) {
3440
- for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3441
- if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
3442
- return i;
3443
- }
3402
+ module$exports$safevalues$dom$elements$element.setPrefixedAttribute = module$contents$safevalues$dom$elements$element_setPrefixedAttribute;
3403
+ function module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(element) {
3404
+ var message = "", tagName = element.tagName;
3405
+ if (tagName === "SCRIPT" || tagName === "STYLE") {
3406
+ throw goog.DEBUG && (message = tagName === "SCRIPT" ? "Use safeScriptEl.setTextContent with a SafeScript." : "Use safeStyleEl.setTextContent with a SafeStyleSheet."), Error(message);
3444
3407
  }
3445
- return -1;
3446
3408
  }
3447
- goog.array.findIndex = module$contents$goog$array_findIndex;
3448
- goog.array.findRight = function(arr, f, opt_obj) {
3449
- var i = module$contents$goog$array_findIndexRight(arr, f, opt_obj);
3450
- return i < 0 ? null : typeof arr === "string" ? arr.charAt(i) : arr[i];
3451
- };
3452
- function module$contents$goog$array_findIndexRight(arr, f, opt_obj) {
3453
- for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = l - 1; i >= 0; i--) {
3454
- if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
3455
- return i;
3456
- }
3457
- }
3458
- return -1;
3459
- }
3460
- goog.array.findIndexRight = module$contents$goog$array_findIndexRight;
3461
- function module$contents$goog$array_contains(arr, obj) {
3462
- return module$contents$goog$array_indexOf(arr, obj) >= 0;
3463
- }
3464
- goog.array.contains = module$contents$goog$array_contains;
3465
- function module$contents$goog$array_isEmpty(arr) {
3466
- return arr.length == 0;
3467
- }
3468
- goog.array.isEmpty = module$contents$goog$array_isEmpty;
3469
- function module$contents$goog$array_clear(arr) {
3470
- if (!Array.isArray(arr)) {
3471
- for (var i = arr.length - 1; i >= 0; i--) {
3472
- delete arr[i];
3473
- }
3474
- }
3475
- arr.length = 0;
3476
- }
3477
- goog.array.clear = module$contents$goog$array_clear;
3478
- goog.array.insert = function(arr, obj) {
3479
- module$contents$goog$array_contains(arr, obj) || arr.push(obj);
3480
- };
3481
- function module$contents$goog$array_insertAt(arr, obj, opt_i) {
3482
- module$contents$goog$array_splice(arr, opt_i, 0, obj);
3483
- }
3484
- goog.array.insertAt = module$contents$goog$array_insertAt;
3485
- goog.array.insertArrayAt = function(arr, elementsToAdd, opt_i) {
3486
- goog.partial(module$contents$goog$array_splice, arr, opt_i, 0).apply(null, elementsToAdd);
3487
- };
3488
- goog.array.insertBefore = function(arr, obj, opt_obj2) {
3489
- var i;
3490
- arguments.length == 2 || (i = module$contents$goog$array_indexOf(arr, opt_obj2)) < 0 ? arr.push(obj) : module$contents$goog$array_insertAt(arr, obj, i);
3491
- };
3492
- function module$contents$goog$array_remove(arr, obj) {
3493
- var i = module$contents$goog$array_indexOf(arr, obj), rv;
3494
- (rv = i >= 0) && module$contents$goog$array_removeAt(arr, i);
3495
- return rv;
3496
- }
3497
- goog.array.remove = module$contents$goog$array_remove;
3498
- function module$contents$goog$array_removeLast(arr, obj) {
3499
- var i = module$contents$goog$array_lastIndexOf(arr, obj);
3500
- return i >= 0 ? (module$contents$goog$array_removeAt(arr, i), !0) : !1;
3501
- }
3502
- goog.array.removeLast = module$contents$goog$array_removeLast;
3503
- function module$contents$goog$array_removeAt(arr, i) {
3504
- goog.asserts.assert(arr.length != null);
3505
- return Array.prototype.splice.call(arr, i, 1).length == 1;
3506
- }
3507
- goog.array.removeAt = module$contents$goog$array_removeAt;
3508
- goog.array.removeIf = function(arr, f, opt_obj) {
3509
- var i = module$contents$goog$array_findIndex(arr, f, opt_obj);
3510
- return i >= 0 ? (module$contents$goog$array_removeAt(arr, i), !0) : !1;
3511
- };
3512
- goog.array.removeAllIf = function(arr, f, opt_obj) {
3513
- var removedCount = 0;
3514
- module$contents$goog$array_forEachRight(arr, function(val, index) {
3515
- f.call(opt_obj, val, index, arr) && module$contents$goog$array_removeAt(arr, index) && removedCount++;
3516
- });
3517
- return removedCount;
3518
- };
3519
- function module$contents$goog$array_concat(var_args) {
3520
- return Array.prototype.concat.apply([], arguments);
3409
+ function module$contents$safevalues$dom$elements$element_isElement(elOrRoot) {
3410
+ return elOrRoot.nodeType === 1;
3521
3411
  }
3522
- goog.array.concat = module$contents$goog$array_concat;
3523
- goog.array.join = function(var_args) {
3524
- return Array.prototype.concat.apply([], arguments);
3412
+ ;var module$exports$safevalues$dom$elements$embed = {}, module$contents$safevalues$dom$elements$embed_module = module$contents$safevalues$dom$elements$embed_module || {id:"third_party/javascript/safevalues/dom/elements/embed.closure.js"};
3413
+ module$exports$safevalues$dom$elements$embed.setSrc = function(embedEl, url) {
3414
+ embedEl.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
3525
3415
  };
3526
- function module$contents$goog$array_toArray(object) {
3527
- var length = object.length;
3528
- if (length > 0) {
3529
- for (var rv = Array(length), i = 0; i < length; i++) {
3530
- rv[i] = object[i];
3531
- }
3532
- return rv;
3533
- }
3534
- return [];
3535
- }
3536
- goog.array.toArray = module$contents$goog$array_toArray;
3537
- goog.array.clone = module$contents$goog$array_toArray;
3538
- function module$contents$goog$array_extend(arr1, var_args) {
3539
- for (var i = 1; i < arguments.length; i++) {
3540
- var arr2 = arguments[i];
3541
- if (goog.isArrayLike(arr2)) {
3542
- var len1 = arr1.length || 0, len2 = arr2.length || 0;
3543
- arr1.length = len1 + len2;
3544
- for (var j = 0; j < len2; j++) {
3545
- arr1[len1 + j] = arr2[j];
3546
- }
3547
- } else {
3548
- arr1.push(arr2);
3549
- }
3550
- }
3551
- }
3552
- goog.array.extend = module$contents$goog$array_extend;
3553
- function module$contents$goog$array_splice(arr, index, howMany, var_args) {
3554
- goog.asserts.assert(arr.length != null);
3555
- return Array.prototype.splice.apply(arr, module$contents$goog$array_slice(arguments, 1));
3556
- }
3557
- goog.array.splice = module$contents$goog$array_splice;
3558
- function module$contents$goog$array_slice(arr, start, opt_end) {
3559
- goog.asserts.assert(arr.length != null);
3560
- return arguments.length <= 2 ? Array.prototype.slice.call(arr, start) : Array.prototype.slice.call(arr, start, opt_end);
3561
- }
3562
- goog.array.slice = module$contents$goog$array_slice;
3563
- function module$contents$goog$array_removeDuplicates(arr, opt_rv, opt_keyFn) {
3564
- var returnArray = opt_rv || arr;
3565
- if (goog.FEATURESET_YEAR >= 2018) {
3566
- for (var defaultKeyFn = function(item) {
3567
- return item;
3568
- }, keyFn = opt_keyFn || defaultKeyFn, cursorInsert = 0, cursorRead = 0, seen = new Set(); cursorRead < arr.length;) {
3569
- var current = arr[cursorRead++], key = keyFn(current);
3570
- seen.has(key) || (seen.add(key), returnArray[cursorInsert++] = current);
3571
- }
3572
- returnArray.length = cursorInsert;
3573
- } else {
3574
- for (var defaultKeyFn$jscomp$0 = function(item) {
3575
- return goog.isObject(item) ? "o" + goog.getUid(item) : (typeof item).charAt(0) + item;
3576
- }, keyFn$jscomp$0 = opt_keyFn || defaultKeyFn$jscomp$0, cursorInsert$jscomp$0 = 0, cursorRead$jscomp$0 = 0, seen$jscomp$0 = {}; cursorRead$jscomp$0 < arr.length;) {
3577
- var current$jscomp$0 = arr[cursorRead$jscomp$0++], key$jscomp$0 = keyFn$jscomp$0(current$jscomp$0);
3578
- Object.prototype.hasOwnProperty.call(seen$jscomp$0, key$jscomp$0) || (seen$jscomp$0[key$jscomp$0] = !0, returnArray[cursorInsert$jscomp$0++] = current$jscomp$0);
3579
- }
3580
- returnArray.length = cursorInsert$jscomp$0;
3581
- }
3582
- }
3583
- goog.array.removeDuplicates = module$contents$goog$array_removeDuplicates;
3584
- function module$contents$goog$array_binarySearch(arr, target, opt_compareFn) {
3585
- return module$contents$goog$array_binarySearch_(arr, opt_compareFn || module$contents$goog$array_defaultCompare, !1, target);
3586
- }
3587
- goog.array.binarySearch = module$contents$goog$array_binarySearch;
3588
- goog.array.binarySelect = function(arr, evaluator, opt_obj) {
3589
- return module$contents$goog$array_binarySearch_(arr, evaluator, !0, void 0, opt_obj);
3416
+ var module$exports$safevalues$dom$elements$form = {}, module$contents$safevalues$dom$elements$form_module = module$contents$safevalues$dom$elements$form_module || {id:"third_party/javascript/safevalues/dom/elements/form.closure.js"};
3417
+ module$exports$safevalues$dom$elements$form.setAction = function(form, url) {
3418
+ var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
3419
+ sanitizedUrl !== void 0 && (form.action = sanitizedUrl);
3590
3420
  };
3591
- function module$contents$goog$array_binarySearch_(arr, compareFn, isEvaluator, opt_target, opt_selfObj) {
3592
- for (var left = 0, right = arr.length, found; left < right;) {
3593
- var middle = left + (right - left >>> 1), compareResult = void 0;
3594
- compareResult = isEvaluator ? compareFn.call(opt_selfObj, arr[middle], middle, arr) : compareFn(opt_target, arr[middle]);
3595
- compareResult > 0 ? left = middle + 1 : (right = middle, found = !compareResult);
3596
- }
3597
- return found ? left : -left - 1;
3421
+ var module$exports$check = {}, module$contents$check_module = module$contents$check_module || {id:"javascript/typescript/contrib/check.closure.js"};
3422
+ function module$contents$check_checkExhaustive(value, msg) {
3423
+ return module$contents$check_checkExhaustiveAllowing(value, msg);
3598
3424
  }
3599
- function module$contents$goog$array_sort(arr, opt_compareFn) {
3600
- arr.sort(opt_compareFn || module$contents$goog$array_defaultCompare);
3425
+ module$exports$check.checkExhaustive = module$contents$check_checkExhaustive;
3426
+ function module$contents$check_checkExhaustiveAllowing(value, msg) {
3427
+ throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
3601
3428
  }
3602
- goog.array.sort = module$contents$goog$array_sort;
3603
- goog.array.stableSort = function(arr, opt_compareFn) {
3604
- for (var compArr = Array(arr.length), i = 0; i < arr.length; i++) {
3605
- compArr[i] = {index:i, value:arr[i]};
3606
- }
3607
- var valueCompareFn = opt_compareFn || module$contents$goog$array_defaultCompare;
3608
- module$contents$goog$array_sort(compArr, function(obj1, obj2) {
3609
- return valueCompareFn(obj1.value, obj2.value) || obj1.index - obj2.index;
3610
- });
3611
- for (var i$jscomp$0 = 0; i$jscomp$0 < arr.length; i$jscomp$0++) {
3612
- arr[i$jscomp$0] = compArr[i$jscomp$0].value;
3613
- }
3429
+ module$exports$check.checkExhaustiveAllowing = module$contents$check_checkExhaustiveAllowing;
3430
+ module$exports$check.assumeExhaustive = function(value) {
3614
3431
  };
3615
- function module$contents$goog$array_sortByKey(arr, keyFn, opt_compareFn) {
3616
- var keyCompareFn = opt_compareFn || module$contents$goog$array_defaultCompare;
3617
- module$contents$goog$array_sort(arr, function(a, b) {
3618
- return keyCompareFn(keyFn(a), keyFn(b));
3619
- });
3620
- }
3621
- goog.array.sortByKey = module$contents$goog$array_sortByKey;
3622
- goog.array.sortObjectsByKey = function(arr, key, opt_compareFn) {
3623
- module$contents$goog$array_sortByKey(arr, function(obj) {
3624
- return obj[key];
3625
- }, opt_compareFn);
3432
+ module$exports$check.assumeExhaustiveAllowing = function(value) {
3626
3433
  };
3627
- function module$contents$goog$array_isSorted(arr, opt_compareFn, opt_strict) {
3628
- for (var compare = opt_compareFn || module$contents$goog$array_defaultCompare, i = 1; i < arr.length; i++) {
3629
- var compareResult = compare(arr[i - 1], arr[i]);
3630
- if (compareResult > 0 || compareResult == 0 && opt_strict) {
3631
- return !1;
3632
- }
3633
- }
3634
- return !0;
3434
+ var module$exports$safevalues$dom$elements$iframe = {}, module$contents$safevalues$dom$elements$iframe_module = module$contents$safevalues$dom$elements$iframe_module || {id:"third_party/javascript/safevalues/dom/elements/iframe.closure.js"};
3435
+ function module$contents$safevalues$dom$elements$iframe_setSrc(iframe, v) {
3436
+ iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v).toString();
3635
3437
  }
3636
- goog.array.isSorted = module$contents$goog$array_isSorted;
3637
- function module$contents$goog$array_equals(arr1, arr2, opt_equalsFn) {
3638
- if (!goog.isArrayLike(arr1) || !goog.isArrayLike(arr2) || arr1.length != arr2.length) {
3639
- return !1;
3640
- }
3641
- for (var l = arr1.length, equalsFn = opt_equalsFn || module$contents$goog$array_defaultCompareEquality, i = 0; i < l; i++) {
3642
- if (!equalsFn(arr1[i], arr2[i])) {
3643
- return !1;
3644
- }
3645
- }
3646
- return !0;
3438
+ module$exports$safevalues$dom$elements$iframe.setSrc = module$contents$safevalues$dom$elements$iframe_setSrc;
3439
+ function module$contents$safevalues$dom$elements$iframe_setSrcdoc(iframe, v) {
3440
+ iframe.srcdoc = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
3647
3441
  }
3648
- goog.array.equals = module$contents$goog$array_equals;
3649
- goog.array.compare3 = function(arr1, arr2, opt_compareFn) {
3650
- for (var compare = opt_compareFn || module$contents$goog$array_defaultCompare, l = Math.min(arr1.length, arr2.length), i = 0; i < l; i++) {
3651
- var result = compare(arr1[i], arr2[i]);
3652
- if (result != 0) {
3653
- return result;
3654
- }
3442
+ module$exports$safevalues$dom$elements$iframe.setSrcdoc = module$contents$safevalues$dom$elements$iframe_setSrcdoc;
3443
+ module$exports$safevalues$dom$elements$iframe.Intent = {FORMATTED_HTML_CONTENT:0, EMBEDDED_INTERNAL_CONTENT:1, EMBEDDED_TRUSTED_EXTERNAL_CONTENT:2};
3444
+ module$exports$safevalues$dom$elements$iframe.Intent[module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT] = "FORMATTED_HTML_CONTENT";
3445
+ module$exports$safevalues$dom$elements$iframe.Intent[module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT] = "EMBEDDED_INTERNAL_CONTENT";
3446
+ module$exports$safevalues$dom$elements$iframe.Intent[module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT] = "EMBEDDED_TRUSTED_EXTERNAL_CONTENT";
3447
+ var module$contents$safevalues$dom$elements$iframe_SandboxDirective = {ALLOW_SAME_ORIGIN:"allow-same-origin", ALLOW_SCRIPTS:"allow-scripts", ALLOW_FORMS:"allow-forms", ALLOW_POPUPS:"allow-popups", ALLOW_POPUPS_TO_ESCAPE_SANDBOX:"allow-popups-to-escape-sandbox", ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION:"allow-storage-access-by-user-activation"};
3448
+ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr, directives) {
3449
+ ifr.setAttribute("sandbox", "");
3450
+ for (var i = 0; i < directives.length; i++) {
3451
+ ifr.sandbox.supports && !ifr.sandbox.supports(directives[i]) || ifr.sandbox.add(directives[i]);
3655
3452
  }
3656
- return module$contents$goog$array_defaultCompare(arr1.length, arr2.length);
3657
- };
3658
- function module$contents$goog$array_defaultCompare(a, b) {
3659
- return a > b ? 1 : a < b ? -1 : 0;
3660
- }
3661
- goog.array.defaultCompare = module$contents$goog$array_defaultCompare;
3662
- goog.array.inverseDefaultCompare = function(a, b) {
3663
- return -module$contents$goog$array_defaultCompare(a, b);
3664
- };
3665
- function module$contents$goog$array_defaultCompareEquality(a, b) {
3666
- return a === b;
3667
3453
  }
3668
- goog.array.defaultCompareEquality = module$contents$goog$array_defaultCompareEquality;
3669
- goog.array.binaryInsert = function(array, value, opt_compareFn) {
3670
- var index = module$contents$goog$array_binarySearch(array, value, opt_compareFn);
3671
- return index < 0 ? (module$contents$goog$array_insertAt(array, value, -(index + 1)), !0) : !1;
3672
- };
3673
- goog.array.binaryRemove = function(array, value, opt_compareFn) {
3674
- var index = module$contents$goog$array_binarySearch(array, value, opt_compareFn);
3675
- return index >= 0 ? module$contents$goog$array_removeAt(array, index) : !1;
3676
- };
3677
- goog.array.bucket = function(array, sorter, opt_obj) {
3678
- for (var buckets = {}, i = 0; i < array.length; i++) {
3679
- var value = array[i], key = sorter.call(opt_obj, value, i, array);
3680
- key !== void 0 && (buckets[key] || (buckets[key] = [])).push(value);
3681
- }
3682
- return buckets;
3683
- };
3684
- goog.array.bucketToMap = function(array, sorter) {
3685
- for (var buckets = new Map(), i = 0; i < array.length; i++) {
3686
- var value = array[i], key = sorter(value, i, array);
3687
- if (key !== void 0) {
3688
- var bucket = buckets.get(key);
3689
- bucket || (bucket = [], buckets.set(key, bucket));
3690
- bucket.push(value);
3691
- }
3692
- }
3693
- return buckets;
3694
- };
3695
- goog.array.toObject = function(arr, keyFunc, opt_obj) {
3696
- var ret = {};
3697
- module$contents$goog$array_forEach(arr, function(element, index) {
3698
- ret[keyFunc.call(opt_obj, element, index, arr)] = element;
3699
- });
3700
- return ret;
3701
- };
3702
- goog.array.toMap = function(arr, keyFunc) {
3703
- for (var map = new Map(), i = 0; i < arr.length; i++) {
3704
- var element = arr[i];
3705
- map.set(keyFunc(element, i, arr), element);
3706
- }
3707
- return map;
3454
+ module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
3455
+ var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
3456
+ this.message = $jscomp$tmp$error$494508883$1.message;
3457
+ "stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
3458
+ this.type = type;
3459
+ this.intent = intent;
3460
+ this.name = "TypeCannotBeUsedWithIntentError";
3708
3461
  };
3709
- function module$contents$goog$array_range(startOrEnd, opt_end, opt_step) {
3710
- var array = [], start = 0, end = startOrEnd, step = opt_step || 1;
3711
- opt_end !== void 0 && (start = startOrEnd, end = opt_end);
3712
- if (step * (end - start) < 0) {
3713
- return [];
3714
- }
3715
- if (step > 0) {
3716
- for (var i = start; i < end; i += step) {
3717
- array.push(i);
3718
- }
3719
- } else {
3720
- for (var i$jscomp$0 = start; i$jscomp$0 > end; i$jscomp$0 += step) {
3721
- array.push(i$jscomp$0);
3722
- }
3723
- }
3724
- return array;
3725
- }
3726
- goog.array.range = module$contents$goog$array_range;
3727
- function module$contents$goog$array_repeat(value, n) {
3728
- for (var array = [], i = 0; i < n; i++) {
3729
- array[i] = value;
3730
- }
3731
- return array;
3732
- }
3733
- goog.array.repeat = module$contents$goog$array_repeat;
3734
- function module$contents$goog$array_flatten(var_args) {
3735
- for (var result = [], i = 0; i < arguments.length; i++) {
3736
- var element = arguments[i];
3737
- if (Array.isArray(element)) {
3738
- for (var c = 0; c < element.length; c += 8192) {
3739
- for (var chunk = module$contents$goog$array_slice(element, c, c + 8192), recurseResult = module$contents$goog$array_flatten.apply(null, chunk), r = 0; r < recurseResult.length; r++) {
3740
- result.push(recurseResult[r]);
3741
- }
3462
+ $jscomp.inherits(module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError, Error);
3463
+ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(element, intent, src) {
3464
+ element.removeAttribute("srcdoc");
3465
+ switch(intent) {
3466
+ case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
3467
+ if (src instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
3468
+ throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
3742
3469
  }
3743
- } else {
3744
- result.push(element);
3745
- }
3746
- }
3747
- return result;
3748
- }
3749
- goog.array.flatten = module$contents$goog$array_flatten;
3750
- goog.array.rotate = function(array, n) {
3751
- goog.asserts.assert(array.length != null);
3752
- array.length && (n %= array.length, n > 0 ? Array.prototype.unshift.apply(array, array.splice(-n, n)) : n < 0 && Array.prototype.push.apply(array, array.splice(0, -n)));
3753
- return array;
3754
- };
3755
- goog.array.moveItem = function(arr, fromIndex, toIndex) {
3756
- goog.asserts.assert(fromIndex >= 0 && fromIndex < arr.length);
3757
- goog.asserts.assert(toIndex >= 0 && toIndex < arr.length);
3758
- var removedItems = Array.prototype.splice.call(arr, fromIndex, 1);
3759
- Array.prototype.splice.call(arr, toIndex, 0, removedItems[0]);
3760
- };
3761
- goog.array.zip = function(var_args) {
3762
- if (!arguments.length) {
3763
- return [];
3764
- }
3765
- for (var result = [], minLen = arguments[0].length, i = 1; i < arguments.length; i++) {
3766
- arguments[i].length < minLen && (minLen = arguments[i].length);
3767
- }
3768
- for (var i$jscomp$0 = 0; i$jscomp$0 < minLen; i$jscomp$0++) {
3769
- for (var value = [], j = 0; j < arguments.length; j++) {
3770
- value.push(arguments[j][i$jscomp$0]);
3771
- }
3772
- result.push(value);
3470
+ module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
3471
+ var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(src);
3472
+ sanitizedUrl !== void 0 && (element.src = sanitizedUrl);
3473
+ break;
3474
+ case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
3475
+ if (!(src instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl)) {
3476
+ throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError(typeof src, module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
3477
+ }
3478
+ module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
3479
+ module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
3480
+ module$contents$safevalues$dom$elements$iframe_setSrc(element, src);
3481
+ break;
3482
+ case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
3483
+ if (src instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
3484
+ throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT);
3485
+ }
3486
+ module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
3487
+ module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
3488
+ var sanitizedUrl$jscomp$0 = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(src);
3489
+ sanitizedUrl$jscomp$0 !== void 0 && (element.src = sanitizedUrl$jscomp$0);
3490
+ break;
3491
+ default:
3492
+ module$contents$check_checkExhaustive(intent);
3773
3493
  }
3774
- return result;
3775
3494
  };
3776
- goog.array.shuffle = function(arr, opt_randFn) {
3777
- for (var randFn = opt_randFn || Math.random, i = arr.length - 1; i > 0; i--) {
3778
- var j = Math.floor(randFn() * (i + 1)), tmp = arr[i];
3779
- arr[i] = arr[j];
3780
- arr[j] = tmp;
3495
+ module$exports$safevalues$dom$elements$iframe.setSrcdocWithIntent = function(element, intent, srcdoc) {
3496
+ element.removeAttribute("src");
3497
+ switch(intent) {
3498
+ case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
3499
+ if (srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
3500
+ throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("SafeHtml", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
3501
+ }
3502
+ element.csp = "default-src 'none'";
3503
+ module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
3504
+ module$contents$safevalues$dom$elements$iframe_setSrcdoc(element, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(srcdoc));
3505
+ break;
3506
+ case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
3507
+ if (!(srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml)) {
3508
+ throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("string", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
3509
+ }
3510
+ module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
3511
+ module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
3512
+ module$contents$safevalues$dom$elements$iframe_setSrcdoc(element, srcdoc);
3513
+ break;
3514
+ case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
3515
+ if (srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
3516
+ throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("SafeHtml", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
3517
+ }
3518
+ module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX,
3519
+ module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
3520
+ module$contents$safevalues$dom$elements$iframe_setSrcdoc(element, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(srcdoc));
3521
+ break;
3522
+ default:
3523
+ module$contents$check_checkExhaustive(intent);
3781
3524
  }
3782
3525
  };
3783
- goog.array.copyByIndex = function(arr, index_arr) {
3784
- var result = [];
3785
- module$contents$goog$array_forEach(index_arr, function(index) {
3786
- result.push(arr[index]);
3787
- });
3788
- return result;
3789
- };
3790
- goog.array.concatMap = function(arr, f, opt_obj) {
3791
- return module$contents$goog$array_concat.apply([], module$contents$goog$array_map(arr, f, opt_obj));
3526
+ var module$exports$safevalues$dom$elements$input = {}, module$contents$safevalues$dom$elements$input_module = module$contents$safevalues$dom$elements$input_module || {id:"third_party/javascript/safevalues/dom/elements/input.closure.js"};
3527
+ module$exports$safevalues$dom$elements$input.setFormaction = function(input, url) {
3528
+ var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
3529
+ sanitizedUrl !== void 0 && (input.formAction = sanitizedUrl);
3792
3530
  };
3793
- goog.dom.HtmlElement = function() {
3531
+ var module$exports$safevalues$dom$elements$link = {}, module$contents$safevalues$dom$elements$link_module = module$contents$safevalues$dom$elements$link_module || {id:"third_party/javascript/safevalues/dom/elements/link.closure.js"}, module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES = "alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");
3532
+ module$exports$safevalues$dom$elements$link.setHrefAndRel = function(link, url, rel) {
3533
+ if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
3534
+ module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel);
3535
+ } else {
3536
+ if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
3537
+ throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
3538
+ }
3539
+ var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
3540
+ sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
3541
+ }
3794
3542
  };
3795
- goog.dom.TagName = function() {
3543
+ function module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel) {
3544
+ link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
3545
+ link.rel = rel;
3546
+ }
3547
+ module$exports$safevalues$dom$elements$link.setHrefAndRelWithTrustedResourceUrl = module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl;
3548
+ var module$exports$safevalues$dom$elements$object = {}, module$contents$safevalues$dom$elements$object_module = module$contents$safevalues$dom$elements$object_module || {id:"third_party/javascript/safevalues/dom/elements/object.closure.js"};
3549
+ module$exports$safevalues$dom$elements$object.setData = function(obj, v) {
3550
+ obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
3796
3551
  };
3797
- goog.dom.TagName.cast = function(name, type) {
3798
- return name;
3552
+ var module$exports$safevalues$dom$globals$window = {}, module$contents$safevalues$dom$globals$window_module = module$contents$safevalues$dom$globals$window_module || {id:"third_party/javascript/safevalues/dom/globals/window.closure.js"};
3553
+ module$exports$safevalues$dom$globals$window.open = function(win, url, target, features) {
3554
+ var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
3555
+ return sanitizedUrl !== void 0 ? win.open(sanitizedUrl, target, features) : null;
3799
3556
  };
3800
- goog.dom.TagName.prototype.toString = function() {
3557
+ module$exports$safevalues$dom$globals$window.getScriptNonce = function(win) {
3558
+ return module$contents$safevalues$dom$globals$window_getNonceFor("script", win);
3801
3559
  };
3802
- goog.dom.TagName.A = "A";
3803
- goog.dom.TagName.ABBR = "ABBR";
3804
- goog.dom.TagName.ACRONYM = "ACRONYM";
3805
- goog.dom.TagName.ADDRESS = "ADDRESS";
3806
- goog.dom.TagName.APPLET = "APPLET";
3807
- goog.dom.TagName.AREA = "AREA";
3808
- goog.dom.TagName.ARTICLE = "ARTICLE";
3809
- goog.dom.TagName.ASIDE = "ASIDE";
3810
- goog.dom.TagName.AUDIO = "AUDIO";
3811
- goog.dom.TagName.B = "B";
3812
- goog.dom.TagName.BASE = "BASE";
3813
- goog.dom.TagName.BASEFONT = "BASEFONT";
3814
- goog.dom.TagName.BDI = "BDI";
3815
- goog.dom.TagName.BDO = "BDO";
3816
- goog.dom.TagName.BIG = "BIG";
3817
- goog.dom.TagName.BLOCKQUOTE = "BLOCKQUOTE";
3818
- goog.dom.TagName.BODY = "BODY";
3819
- goog.dom.TagName.BR = "BR";
3820
- goog.dom.TagName.BUTTON = "BUTTON";
3821
- goog.dom.TagName.CANVAS = "CANVAS";
3822
- goog.dom.TagName.CAPTION = "CAPTION";
3823
- goog.dom.TagName.CENTER = "CENTER";
3824
- goog.dom.TagName.CITE = "CITE";
3825
- goog.dom.TagName.CODE = "CODE";
3826
- goog.dom.TagName.COL = "COL";
3827
- goog.dom.TagName.COLGROUP = "COLGROUP";
3828
- goog.dom.TagName.COMMAND = "COMMAND";
3829
- goog.dom.TagName.DATA = "DATA";
3830
- goog.dom.TagName.DATALIST = "DATALIST";
3831
- goog.dom.TagName.DD = "DD";
3832
- goog.dom.TagName.DEL = "DEL";
3833
- goog.dom.TagName.DETAILS = "DETAILS";
3834
- goog.dom.TagName.DFN = "DFN";
3835
- goog.dom.TagName.DIALOG = "DIALOG";
3836
- goog.dom.TagName.DIR = "DIR";
3837
- goog.dom.TagName.DIV = "DIV";
3838
- goog.dom.TagName.DL = "DL";
3839
- goog.dom.TagName.DT = "DT";
3840
- goog.dom.TagName.EM = "EM";
3841
- goog.dom.TagName.EMBED = "EMBED";
3842
- goog.dom.TagName.FIELDSET = "FIELDSET";
3843
- goog.dom.TagName.FIGCAPTION = "FIGCAPTION";
3844
- goog.dom.TagName.FIGURE = "FIGURE";
3845
- goog.dom.TagName.FONT = "FONT";
3846
- goog.dom.TagName.FOOTER = "FOOTER";
3847
- goog.dom.TagName.FORM = "FORM";
3848
- goog.dom.TagName.FRAME = "FRAME";
3849
- goog.dom.TagName.FRAMESET = "FRAMESET";
3850
- goog.dom.TagName.H1 = "H1";
3851
- goog.dom.TagName.H2 = "H2";
3852
- goog.dom.TagName.H3 = "H3";
3853
- goog.dom.TagName.H4 = "H4";
3854
- goog.dom.TagName.H5 = "H5";
3855
- goog.dom.TagName.H6 = "H6";
3856
- goog.dom.TagName.HEAD = "HEAD";
3857
- goog.dom.TagName.HEADER = "HEADER";
3858
- goog.dom.TagName.HGROUP = "HGROUP";
3859
- goog.dom.TagName.HR = "HR";
3860
- goog.dom.TagName.HTML = "HTML";
3861
- goog.dom.TagName.I = "I";
3862
- goog.dom.TagName.IFRAME = "IFRAME";
3863
- goog.dom.TagName.IMG = "IMG";
3864
- goog.dom.TagName.INPUT = "INPUT";
3865
- goog.dom.TagName.INS = "INS";
3866
- goog.dom.TagName.ISINDEX = "ISINDEX";
3867
- goog.dom.TagName.KBD = "KBD";
3868
- goog.dom.TagName.KEYGEN = "KEYGEN";
3869
- goog.dom.TagName.LABEL = "LABEL";
3870
- goog.dom.TagName.LEGEND = "LEGEND";
3871
- goog.dom.TagName.LI = "LI";
3872
- goog.dom.TagName.LINK = "LINK";
3873
- goog.dom.TagName.MAIN = "MAIN";
3874
- goog.dom.TagName.MAP = "MAP";
3875
- goog.dom.TagName.MARK = "MARK";
3876
- goog.dom.TagName.MATH = "MATH";
3877
- goog.dom.TagName.MENU = "MENU";
3878
- goog.dom.TagName.MENUITEM = "MENUITEM";
3879
- goog.dom.TagName.META = "META";
3880
- goog.dom.TagName.METER = "METER";
3881
- goog.dom.TagName.NAV = "NAV";
3882
- goog.dom.TagName.NOFRAMES = "NOFRAMES";
3883
- goog.dom.TagName.NOSCRIPT = "NOSCRIPT";
3884
- goog.dom.TagName.OBJECT = "OBJECT";
3885
- goog.dom.TagName.OL = "OL";
3886
- goog.dom.TagName.OPTGROUP = "OPTGROUP";
3887
- goog.dom.TagName.OPTION = "OPTION";
3888
- goog.dom.TagName.OUTPUT = "OUTPUT";
3889
- goog.dom.TagName.P = "P";
3890
- goog.dom.TagName.PARAM = "PARAM";
3891
- goog.dom.TagName.PICTURE = "PICTURE";
3892
- goog.dom.TagName.PRE = "PRE";
3893
- goog.dom.TagName.PROGRESS = "PROGRESS";
3894
- goog.dom.TagName.Q = "Q";
3895
- goog.dom.TagName.RP = "RP";
3896
- goog.dom.TagName.RT = "RT";
3897
- goog.dom.TagName.RTC = "RTC";
3898
- goog.dom.TagName.RUBY = "RUBY";
3899
- goog.dom.TagName.S = "S";
3900
- goog.dom.TagName.SAMP = "SAMP";
3901
- goog.dom.TagName.SCRIPT = "SCRIPT";
3902
- goog.dom.TagName.SECTION = "SECTION";
3903
- goog.dom.TagName.SELECT = "SELECT";
3904
- goog.dom.TagName.SMALL = "SMALL";
3905
- goog.dom.TagName.SOURCE = "SOURCE";
3906
- goog.dom.TagName.SPAN = "SPAN";
3907
- goog.dom.TagName.STRIKE = "STRIKE";
3908
- goog.dom.TagName.STRONG = "STRONG";
3909
- goog.dom.TagName.STYLE = "STYLE";
3910
- goog.dom.TagName.SUB = "SUB";
3911
- goog.dom.TagName.SUMMARY = "SUMMARY";
3912
- goog.dom.TagName.SUP = "SUP";
3913
- goog.dom.TagName.SVG = "SVG";
3914
- goog.dom.TagName.TABLE = "TABLE";
3915
- goog.dom.TagName.TBODY = "TBODY";
3916
- goog.dom.TagName.TD = "TD";
3917
- goog.dom.TagName.TEMPLATE = "TEMPLATE";
3918
- goog.dom.TagName.TEXTAREA = "TEXTAREA";
3919
- goog.dom.TagName.TFOOT = "TFOOT";
3920
- goog.dom.TagName.TH = "TH";
3921
- goog.dom.TagName.THEAD = "THEAD";
3922
- goog.dom.TagName.TIME = "TIME";
3923
- goog.dom.TagName.TITLE = "TITLE";
3924
- goog.dom.TagName.TR = "TR";
3925
- goog.dom.TagName.TRACK = "TRACK";
3926
- goog.dom.TagName.TT = "TT";
3927
- goog.dom.TagName.U = "U";
3928
- goog.dom.TagName.UL = "UL";
3929
- goog.dom.TagName.VAR = "VAR";
3930
- goog.dom.TagName.VIDEO = "VIDEO";
3931
- goog.dom.TagName.WBR = "WBR";
3932
- goog.dom.tags = {};
3933
- goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!0, hr:!0, img:!0, input:!0, keygen:!0, link:!0, meta:!0, param:!0, source:!0, track:!0, wbr:!0};
3934
- goog.dom.tags.isVoidTag = function(tagName) {
3935
- return goog.dom.tags.VOID_TAGS_[tagName] === !0;
3560
+ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
3561
+ return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
3936
3562
  };
3937
- 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"};
3938
- module$exports$safevalues$internals$style_impl.SafeStyle = function(token, value) {
3563
+ function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
3564
+ 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]");
3565
+ return el ? el.nonce || el.getAttribute("nonce") || "" : "";
3566
+ }
3567
+ ;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;
3568
+ module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
3939
3569
  goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
3940
- this.privateDoNotAccessOrElseWrappedStyle = value;
3570
+ this.privateDoNotAccessOrElseWrappedScript = value;
3941
3571
  };
3942
- module$exports$safevalues$internals$style_impl.SafeStyle.prototype.toString = function() {
3943
- return this.privateDoNotAccessOrElseWrappedStyle;
3572
+ module$exports$safevalues$internals$script_impl.SafeScript.prototype.toString = function() {
3573
+ return this.privateDoNotAccessOrElseWrappedScript + "";
3944
3574
  };
3945
- var module$contents$safevalues$internals$style_impl_StyleImpl = module$exports$safevalues$internals$style_impl.SafeStyle;
3946
- function module$contents$safevalues$internals$style_impl_createStyleInternal(value) {
3947
- return new module$exports$safevalues$internals$style_impl.SafeStyle(module$exports$safevalues$internals$secrets.secretToken, value);
3575
+ var module$contents$safevalues$internals$script_impl_ScriptImpl = module$exports$safevalues$internals$script_impl.SafeScript;
3576
+ function module$contents$safevalues$internals$script_impl_constructScript(value) {
3577
+ return new module$exports$safevalues$internals$script_impl.SafeScript(module$exports$safevalues$internals$secrets.secretToken, value);
3948
3578
  }
3949
- module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
3950
- function module$contents$safevalues$internals$style_impl_isStyle(value) {
3951
- return value instanceof module$exports$safevalues$internals$style_impl.SafeStyle;
3579
+ function module$contents$safevalues$internals$script_impl_createScriptInternal(value) {
3580
+ var noinlineValue = value, policy = (0,goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse)();
3581
+ return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(noinlineValue) : noinlineValue);
3952
3582
  }
3953
- module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
3954
- function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
3955
- if (module$contents$safevalues$internals$style_impl_isStyle(value)) {
3956
- return value.privateDoNotAccessOrElseWrappedStyle;
3583
+ module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
3584
+ module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$safevalues$internals$pure_pure(function() {
3585
+ return module$contents$safevalues$internals$script_impl_constructScript(module$contents$safevalues$internals$script_impl_trustedTypes ? module$contents$safevalues$internals$script_impl_trustedTypes.emptyScript : "");
3586
+ });
3587
+ function module$contents$safevalues$internals$script_impl_isScript(value) {
3588
+ return value instanceof module$exports$safevalues$internals$script_impl.SafeScript;
3589
+ }
3590
+ module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
3591
+ function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
3592
+ if (module$contents$safevalues$internals$script_impl_isScript(value)) {
3593
+ return value.privateDoNotAccessOrElseWrappedScript;
3957
3594
  }
3958
3595
  var message = "";
3959
- goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyle, got '" + value + "' of type '" + typeof value + "'");
3596
+ goog.DEBUG && (message = "Unexpected type when unwrapping SafeScript");
3960
3597
  throw Error(message);
3961
3598
  }
3962
- module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
3599
+ module$exports$safevalues$internals$script_impl.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
3600
+ var module$exports$safevalues$dom$elements$script = {}, module$contents$safevalues$dom$elements$script_module = module$contents$safevalues$dom$elements$script_module || {id:"third_party/javascript/safevalues/dom/elements/script.closure.js"};
3601
+ function module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script) {
3602
+ var nonce = (0,module$exports$safevalues$dom$globals$window.getScriptNonce)(script.ownerDocument && script.ownerDocument.defaultView || window);
3603
+ nonce && script.setAttribute("nonce", nonce);
3604
+ }
3605
+ module$exports$safevalues$dom$elements$script.setTextContent = function(script, v, options) {
3606
+ script.textContent = module$contents$safevalues$internals$script_impl_unwrapScript(v);
3607
+ (options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
3608
+ };
3609
+ module$exports$safevalues$dom$elements$script.setSrc = function(script, v, options) {
3610
+ script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
3611
+ (options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
3612
+ };
3963
3613
  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"};
3964
3614
  module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
3615
+ module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
3616
+ module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
3617
+ module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
3618
+ module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
3965
3619
  module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
3966
3620
  module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
3967
3621
  module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
@@ -3969,6 +3623,10 @@ module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$
3969
3623
  module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
3970
3624
  var module$exports$safevalues$for_closure = {};
3971
3625
  module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
3626
+ module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
3627
+ module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
3628
+ module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
3629
+ module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
3972
3630
  module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
3973
3631
  module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
3974
3632
  module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
@@ -4137,503 +3795,529 @@ module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecu
4137
3795
  };
4138
3796
  module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse("");
4139
3797
  goog.html.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
4140
- var module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeHtml_SafeHtml = function(value, token) {
4141
- if (goog.DEBUG && token !== module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE) {
4142
- throw Error("SafeHtml is not meant to be built directly");
4143
- }
4144
- this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = value;
4145
- };
4146
- module$contents$goog$html$SafeHtml_SafeHtml.prototype.toString = function() {
4147
- return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString();
4148
- };
4149
- module$contents$goog$html$SafeHtml_SafeHtml.unwrap = function(safeHtml) {
4150
- return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(safeHtml).toString();
3798
+ var module$exports$goog$html$safestylesheet_internals_for_safevalues = {};
3799
+ module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
3800
+ var module$exports$safevalues$internals$style_sheet_impl = {}, module$contents$safevalues$internals$style_sheet_impl_module = module$contents$safevalues$internals$style_sheet_impl_module || {id:"third_party/javascript/safevalues/internals/style_sheet_impl.closure.js"};
3801
+ module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
3802
+ function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
3803
+ return (0,module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet)(styleSheet);
3804
+ }
3805
+ module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
3806
+ function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
3807
+ return value instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
3808
+ }
3809
+ module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
3810
+ function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
3811
+ return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(value);
3812
+ }
3813
+ module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
3814
+ var module$exports$safevalues$dom$elements$style = {}, module$contents$safevalues$dom$elements$style_module = module$contents$safevalues$dom$elements$style_module || {id:"third_party/javascript/safevalues/dom/elements/style.closure.js"};
3815
+ module$exports$safevalues$dom$elements$style.setTextContent = function(elem, safeStyleSheet) {
3816
+ elem.textContent = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
4151
3817
  };
4152
- module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML = function(safeHtml) {
4153
- if (safeHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml && safeHtml.constructor === module$contents$goog$html$SafeHtml_SafeHtml) {
4154
- return safeHtml.privateDoNotAccessOrElseSafeHtmlWrappedValue_;
3818
+ var module$exports$safevalues$dom$elements$svg = {}, module$contents$safevalues$dom$elements$svg_module = module$contents$safevalues$dom$elements$svg_module || {id:"third_party/javascript/safevalues/dom/elements/svg.closure.js"}, module$contents$safevalues$dom$elements$svg_UNSAFE_SVG_ATTRIBUTES = ["href", "xlink:href"];
3819
+ module$exports$safevalues$dom$elements$svg.setAttribute = function(svg, attr, value) {
3820
+ var attrLower = attr.toLowerCase();
3821
+ if (module$contents$safevalues$dom$elements$svg_UNSAFE_SVG_ATTRIBUTES.indexOf(attrLower) !== -1 || attrLower.indexOf("on") === 0) {
3822
+ var msg = "";
3823
+ goog.DEBUG && (msg = "Setting the '" + attrLower + "' attribute on SVG can cause XSS.");
3824
+ throw Error(msg);
4155
3825
  }
4156
- goog.asserts.fail("expected object of type SafeHtml, got '" + safeHtml + "' of type " + goog.typeOf(safeHtml));
4157
- return "type_error:SafeHtml";
4158
- };
4159
- module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape = function(textOrHtml) {
4160
- return textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml ? textOrHtml : module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(String(textOrHtml)));
3826
+ svg.setAttribute(attr, value);
4161
3827
  };
4162
- module$contents$goog$html$SafeHtml_SafeHtml.htmlEscapePreservingNewlines = function(textOrHtml) {
4163
- if (textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml) {
4164
- return textOrHtml;
3828
+ goog.array = {};
3829
+ goog.NATIVE_ARRAY_PROTOTYPES = goog.TRUSTED_SITE;
3830
+ var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS = goog.FEATURESET_YEAR > 2012;
3831
+ goog.array.ASSUME_NATIVE_FUNCTIONS = module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;
3832
+ function module$contents$goog$array_peek(array) {
3833
+ return array[array.length - 1];
3834
+ }
3835
+ goog.array.peek = module$contents$goog$array_peek;
3836
+ goog.array.last = module$contents$goog$array_peek;
3837
+ var module$contents$goog$array_indexOf = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.indexOf) ? function(arr, obj, opt_fromIndex) {
3838
+ goog.asserts.assert(arr.length != null);
3839
+ return Array.prototype.indexOf.call(arr, obj, opt_fromIndex);
3840
+ } : function(arr, obj, opt_fromIndex) {
3841
+ var fromIndex = opt_fromIndex == null ? 0 : opt_fromIndex < 0 ? Math.max(0, arr.length + opt_fromIndex) : opt_fromIndex;
3842
+ if (typeof arr === "string") {
3843
+ return typeof obj !== "string" || obj.length != 1 ? -1 : arr.indexOf(obj, fromIndex);
4165
3844
  }
4166
- var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(textOrHtml);
4167
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html)));
4168
- };
4169
- module$contents$goog$html$SafeHtml_SafeHtml.htmlEscapePreservingNewlinesAndSpaces = function(textOrHtml) {
4170
- if (textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml) {
4171
- return textOrHtml;
3845
+ for (var i = fromIndex; i < arr.length; i++) {
3846
+ if (i in arr && arr[i] === obj) {
3847
+ return i;
3848
+ }
4172
3849
  }
4173
- var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(textOrHtml);
4174
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html)));
4175
- };
4176
- module$contents$goog$html$SafeHtml_SafeHtml.create = function(tagName, attributes, content) {
4177
- module$contents$goog$html$SafeHtml_SafeHtml.verifyTagName(String(tagName));
4178
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(tagName), attributes, content);
3850
+ return -1;
4179
3851
  };
4180
- module$contents$goog$html$SafeHtml_SafeHtml.verifyTagName = function(tagName) {
4181
- if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(tagName)) {
4182
- throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "Invalid tag name <" + tagName + ">." : "");
3852
+ goog.array.indexOf = module$contents$goog$array_indexOf;
3853
+ var module$contents$goog$array_lastIndexOf = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.lastIndexOf) ? function(arr, obj, opt_fromIndex) {
3854
+ goog.asserts.assert(arr.length != null);
3855
+ return Array.prototype.lastIndexOf.call(arr, obj, opt_fromIndex == null ? arr.length - 1 : opt_fromIndex);
3856
+ } : function(arr, obj, opt_fromIndex) {
3857
+ var fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex;
3858
+ fromIndex < 0 && (fromIndex = Math.max(0, arr.length + fromIndex));
3859
+ if (typeof arr === "string") {
3860
+ return typeof obj !== "string" || obj.length != 1 ? -1 : arr.lastIndexOf(obj, fromIndex);
4183
3861
  }
4184
- if (tagName.toUpperCase() in module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES) {
4185
- throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "Tag name <" + tagName + "> is not allowed for SafeHtml." : "");
3862
+ for (var i = fromIndex; i >= 0; i--) {
3863
+ if (i in arr && arr[i] === obj) {
3864
+ return i;
3865
+ }
4186
3866
  }
3867
+ return -1;
4187
3868
  };
4188
- module$contents$goog$html$SafeHtml_SafeHtml.createIframe = function(src, srcdoc, attributes, content) {
4189
- src && goog.html.TrustedResourceUrl.unwrap(src);
4190
- var fixedAttributes = {};
4191
- fixedAttributes.src = src || null;
4192
- fixedAttributes.srcdoc = srcdoc && module$contents$goog$html$SafeHtml_SafeHtml.unwrap(srcdoc);
4193
- var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(fixedAttributes, {sandbox:""}, attributes);
4194
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
4195
- };
4196
- module$contents$goog$html$SafeHtml_SafeHtml.createSandboxIframe = function(src, srcdoc, attributes, content) {
4197
- if (!module$contents$goog$html$SafeHtml_SafeHtml.canUseSandboxIframe()) {
4198
- throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "The browser does not support sandboxed iframes." : "");
3869
+ goog.array.lastIndexOf = module$contents$goog$array_lastIndexOf;
3870
+ var module$contents$goog$array_forEach = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.forEach) ? function(arr, f, opt_obj) {
3871
+ goog.asserts.assert(arr.length != null);
3872
+ Array.prototype.forEach.call(arr, f, opt_obj);
3873
+ } : function(arr, f, opt_obj) {
3874
+ for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3875
+ i in arr2 && f.call(opt_obj, arr2[i], i, arr);
4199
3876
  }
4200
- var fixedAttributes = {};
4201
- fixedAttributes.src = src ? module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(src)) : null;
4202
- fixedAttributes.srcdoc = srcdoc || null;
4203
- fixedAttributes.sandbox = "";
4204
- var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
4205
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
4206
3877
  };
4207
- module$contents$goog$html$SafeHtml_SafeHtml.canUseSandboxIframe = function() {
4208
- return goog.global.HTMLIFrameElement && "sandbox" in goog.global.HTMLIFrameElement.prototype;
4209
- };
4210
- module$contents$goog$html$SafeHtml_SafeHtml.createScriptSrc = function(src, attributes) {
4211
- goog.html.TrustedResourceUrl.unwrap(src);
4212
- var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes({src:src}, {}, attributes);
4213
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
4214
- };
4215
- module$contents$goog$html$SafeHtml_SafeHtml.createStyle = function(styleSheet, attributes) {
4216
- var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
4217
- styleSheet = module$contents$goog$array_concat(styleSheet);
4218
- for (var i = 0; i < styleSheet.length; i++) {
4219
- content += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(styleSheet[i]);
3878
+ goog.array.forEach = module$contents$goog$array_forEach;
3879
+ function module$contents$goog$array_forEachRight(arr, f, opt_obj) {
3880
+ for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = l - 1; i >= 0; --i) {
3881
+ i in arr2 && f.call(opt_obj, arr2[i], i, arr);
4220
3882
  }
4221
- var htmlContent = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(content);
4222
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
4223
- };
4224
- module$contents$goog$html$SafeHtml_SafeHtml.createMetaRefresh = function(url, secs) {
4225
- var unwrappedUrl = module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(url));
4226
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
4227
- };
4228
- module$contents$goog$html$SafeHtml_SafeHtml.join = function(separator, parts) {
4229
- var separatorHtml = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(separator), content = [], addArgument = function(argument) {
4230
- if (Array.isArray(argument)) {
4231
- argument.forEach(addArgument);
4232
- } else {
4233
- var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(argument);
4234
- content.push(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html));
3883
+ }
3884
+ goog.array.forEachRight = module$contents$goog$array_forEachRight;
3885
+ var module$contents$goog$array_filter = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.filter) ? function(arr, f, opt_obj) {
3886
+ goog.asserts.assert(arr.length != null);
3887
+ return Array.prototype.filter.call(arr, f, opt_obj);
3888
+ } : function(arr, f, opt_obj) {
3889
+ for (var l = arr.length, res = [], resLength = 0, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3890
+ if (i in arr2) {
3891
+ var val = arr2[i];
3892
+ f.call(opt_obj, val, i, arr) && (res[resLength++] = val);
4235
3893
  }
4236
- };
4237
- parts.forEach(addArgument);
4238
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(content.join(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(separatorHtml)));
3894
+ }
3895
+ return res;
4239
3896
  };
4240
- module$contents$goog$html$SafeHtml_SafeHtml.concat = function(var_args) {
4241
- return module$contents$goog$html$SafeHtml_SafeHtml.join(module$contents$goog$html$SafeHtml_SafeHtml.EMPTY, Array.prototype.slice.call(arguments));
3897
+ goog.array.filter = module$contents$goog$array_filter;
3898
+ var module$contents$goog$array_map = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.map) ? function(arr, f, opt_obj) {
3899
+ goog.asserts.assert(arr.length != null);
3900
+ return Array.prototype.map.call(arr, f, opt_obj);
3901
+ } : function(arr, f, opt_obj) {
3902
+ for (var l = arr.length, res = Array(l), arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3903
+ i in arr2 && (res[i] = f.call(opt_obj, arr2[i], i, arr));
3904
+ }
3905
+ return res;
4242
3906
  };
4243
- module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse = function(html) {
4244
- var noinlineHtml = html, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), trustedHtml = policy ? policy.createHTML(noinlineHtml) : noinlineHtml;
4245
- return new module$contents$goog$html$SafeHtml_SafeHtml(trustedHtml, module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE);
3907
+ goog.array.map = module$contents$goog$array_map;
3908
+ goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduce) ? function(arr, f, val, opt_obj) {
3909
+ goog.asserts.assert(arr.length != null);
3910
+ opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
3911
+ return Array.prototype.reduce.call(arr, f, val);
3912
+ } : function(arr, f, val, opt_obj) {
3913
+ var rval = val;
3914
+ module$contents$goog$array_forEach(arr, function(val, index) {
3915
+ rval = f.call(opt_obj, rval, val, index, arr);
3916
+ });
3917
+ return rval;
4246
3918
  };
4247
- module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse = function(tagName, attributes, content) {
4248
- var result = "<" + tagName + module$contents$goog$html$SafeHtml_SafeHtml.stringifyAttributes(tagName, attributes);
4249
- content == null ? content = [] : Array.isArray(content) || (content = [content]);
4250
- if (goog.dom.tags.isVoidTag(tagName.toLowerCase())) {
4251
- goog.asserts.assert(!content.length, "Void tag <" + tagName + "> does not allow content."), result += ">";
4252
- } else {
4253
- var html = module$contents$goog$html$SafeHtml_SafeHtml.concat(content);
4254
- result += ">" + module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html) + "</" + tagName + ">";
4255
- }
4256
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(result);
3919
+ goog.array.reduceRight = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduceRight) ? function(arr, f, val, opt_obj) {
3920
+ goog.asserts.assert(arr.length != null);
3921
+ goog.asserts.assert(f != null);
3922
+ opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
3923
+ return Array.prototype.reduceRight.call(arr, f, val);
3924
+ } : function(arr, f, val, opt_obj) {
3925
+ var rval = val;
3926
+ module$contents$goog$array_forEachRight(arr, function(val, index) {
3927
+ rval = f.call(opt_obj, rval, val, index, arr);
3928
+ });
3929
+ return rval;
4257
3930
  };
4258
- module$contents$goog$html$SafeHtml_SafeHtml.stringifyAttributes = function(tagName, attributes) {
4259
- var result = "";
4260
- if (attributes) {
4261
- for (var name in attributes) {
4262
- if (Object.prototype.hasOwnProperty.call(attributes, name)) {
4263
- if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(name)) {
4264
- throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Invalid attribute name "' + name + '".' : "");
4265
- }
4266
- var value = attributes[name];
4267
- value != null && (result += " " + module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value));
4268
- }
3931
+ var module$contents$goog$array_some = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.some) ? function(arr, f, opt_obj) {
3932
+ goog.asserts.assert(arr.length != null);
3933
+ return Array.prototype.some.call(arr, f, opt_obj);
3934
+ } : function(arr, f, opt_obj) {
3935
+ for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3936
+ if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
3937
+ return !0;
4269
3938
  }
4270
3939
  }
4271
- return result;
3940
+ return !1;
4272
3941
  };
4273
- module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes = function(fixedAttributes, defaultAttributes, attributes) {
4274
- var combinedAttributes = {}, name;
4275
- for (name in fixedAttributes) {
4276
- Object.prototype.hasOwnProperty.call(fixedAttributes, name) && (goog.asserts.assert(name.toLowerCase() == name, "Must be lower case"), combinedAttributes[name] = fixedAttributes[name]);
4277
- }
4278
- for (var name$jscomp$0 in defaultAttributes) {
4279
- Object.prototype.hasOwnProperty.call(defaultAttributes, name$jscomp$0) && (goog.asserts.assert(name$jscomp$0.toLowerCase() == name$jscomp$0, "Must be lower case"), combinedAttributes[name$jscomp$0] = defaultAttributes[name$jscomp$0]);
4280
- }
4281
- if (attributes) {
4282
- for (var name$jscomp$1 in attributes) {
4283
- if (Object.prototype.hasOwnProperty.call(attributes, name$jscomp$1)) {
4284
- var nameLower = name$jscomp$1.toLowerCase();
4285
- if (nameLower in fixedAttributes) {
4286
- throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot override "' + nameLower + '" attribute, got "' + name$jscomp$1 + '" with value "' + attributes[name$jscomp$1] + '"' : "");
4287
- }
4288
- nameLower in defaultAttributes && delete combinedAttributes[nameLower];
4289
- combinedAttributes[name$jscomp$1] = attributes[name$jscomp$1];
4290
- }
3942
+ goog.array.some = module$contents$goog$array_some;
3943
+ var module$contents$goog$array_every = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.every) ? function(arr, f, opt_obj) {
3944
+ goog.asserts.assert(arr.length != null);
3945
+ return Array.prototype.every.call(arr, f, opt_obj);
3946
+ } : function(arr, f, opt_obj) {
3947
+ for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3948
+ if (i in arr2 && !f.call(opt_obj, arr2[i], i, arr)) {
3949
+ return !1;
4291
3950
  }
4292
3951
  }
4293
- return combinedAttributes;
3952
+ return !0;
4294
3953
  };
4295
- module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES = goog.DEBUG;
4296
- module$contents$goog$html$SafeHtml_SafeHtml.SUPPORT_STYLE_ATTRIBUTE = !0;
4297
- module$contents$goog$html$SafeHtml_SafeHtml.from = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape;
4298
- var module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG = /^[a-zA-Z0-9-]+$/, module$contents$goog$html$SafeHtml_URL_ATTRIBUTES = {action:!0, cite:!0, data:!0, formaction:!0, href:!0, manifest:!0, poster:!0, src:!0}, module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES = module$contents$goog$object_createSet(goog.dom.TagName.APPLET, goog.dom.TagName.BASE, goog.dom.TagName.EMBED, goog.dom.TagName.IFRAME, goog.dom.TagName.LINK, goog.dom.TagName.MATH, goog.dom.TagName.META, goog.dom.TagName.OBJECT,
4299
- goog.dom.TagName.SCRIPT, goog.dom.TagName.STYLE, goog.dom.TagName.SVG, goog.dom.TagName.TEMPLATE);
4300
- function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value) {
4301
- if (value instanceof goog.string.Const) {
4302
- value = goog.string.Const.unwrap(value);
4303
- } else if (name.toLowerCase() == "style") {
4304
- if (module$contents$goog$html$SafeHtml_SafeHtml.SUPPORT_STYLE_ATTRIBUTE) {
4305
- value = module$contents$goog$html$SafeHtml_getStyleValue(value);
4306
- } else {
4307
- throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "style" not supported.' : "");
4308
- }
4309
- } else {
4310
- if (/^on/i.test(name)) {
4311
- throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" requires goog.string.Const value, "' + value + '" given.' : "");
4312
- }
4313
- if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
4314
- if (value instanceof goog.html.TrustedResourceUrl) {
4315
- value = goog.html.TrustedResourceUrl.unwrap(value);
4316
- } else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
4317
- value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
4318
- } else if (typeof value === "string") {
4319
- value = module$contents$safevalues$builders$url_builders_sanitizeUrl(value).toString();
4320
- } else {
4321
- throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires safevalues.SafeUrl, goog.string.Const, or string, value "' + value + '" given.' : "");
4322
- }
4323
- }
4324
- }
4325
- 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);
4326
- return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
4327
- }
4328
- function module$contents$goog$html$SafeHtml_getStyleValue(value) {
4329
- if (!goog.isObject(value)) {
4330
- 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 : "");
4331
- }
4332
- value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (value = module$exports$safevalues$internals$style_impl.SafeStyle.create(value));
4333
- return module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(value);
3954
+ goog.array.every = module$contents$goog$array_every;
3955
+ function module$contents$goog$array_count(arr, f, opt_obj) {
3956
+ var count = 0;
3957
+ module$contents$goog$array_forEach(arr, function(element, index, arr) {
3958
+ f.call(opt_obj, element, index, arr) && ++count;
3959
+ }, opt_obj);
3960
+ return count;
4334
3961
  }
4335
- module$contents$goog$html$SafeHtml_SafeHtml.DOCTYPE_HTML = function() {
4336
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>");
4337
- }();
4338
- module$contents$goog$html$SafeHtml_SafeHtml.EMPTY = new module$contents$goog$html$SafeHtml_SafeHtml(goog.global.trustedTypes && goog.global.trustedTypes.emptyHTML || "", module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE);
4339
- module$contents$goog$html$SafeHtml_SafeHtml.BR = function() {
4340
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>");
4341
- }();
4342
- goog.html.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
4343
- var module$exports$goog$html$safehtml_internals_for_safevalues = {};
4344
- module$exports$goog$html$safehtml_internals_for_safevalues.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
4345
- var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
4346
- module$exports$safevalues$internals$html_impl.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
4347
- module$exports$safevalues$internals$html_impl.createHtmlInternal = function(html) {
4348
- return (0,module$exports$goog$html$safehtml_internals_for_safevalues.createSafeHtml)(html);
4349
- };
4350
- module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$goog$html$SafeHtml_SafeHtml.EMPTY;
4351
- module$exports$safevalues$internals$html_impl.isHtml = function(value) {
4352
- return value instanceof module$contents$goog$html$SafeHtml_SafeHtml;
4353
- };
4354
- module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
4355
- return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
4356
- };
4357
- 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"};
4358
- module$exports$safevalues$dom$elements$element.setInnerHtml = function(elOrRoot, v) {
4359
- module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
4360
- elOrRoot.innerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
4361
- };
4362
- module$exports$safevalues$dom$elements$element.setOuterHtml = function(e, v) {
4363
- var parent = e.parentElement;
4364
- parent !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(parent);
4365
- e.outerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
4366
- };
4367
- module$exports$safevalues$dom$elements$element.setCssText = function(e, v) {
4368
- e.style.cssText = module$contents$safevalues$internals$style_impl_unwrapStyle(v);
4369
- };
4370
- module$exports$safevalues$dom$elements$element.insertAdjacentHtml = function(element, position, v) {
4371
- var tagContext = position === "beforebegin" || position === "afterend" ? element.parentElement : element;
4372
- tagContext !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(tagContext);
4373
- element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
4374
- };
4375
- module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = function(prefix) {
4376
- var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
4377
- return function(e, attr, value) {
4378
- module$contents$safevalues$dom$elements$element_setPrefixedAttribute(prefixes, e, attr, value);
4379
- };
4380
- };
4381
- function module$contents$safevalues$dom$elements$element_setPrefixedAttribute(attrPrefixes, e, attr, value) {
4382
- if (attrPrefixes.length === 0) {
4383
- var message = "";
4384
- goog.DEBUG && (message = "No prefixes are provided");
4385
- throw Error(message);
3962
+ goog.array.count = module$contents$goog$array_count;
3963
+ function module$contents$goog$array_find(arr, f, opt_obj) {
3964
+ var i = module$contents$goog$array_findIndex(arr, f, opt_obj);
3965
+ return i < 0 ? null : typeof arr === "string" ? arr.charAt(i) : arr[i];
3966
+ }
3967
+ goog.array.find = module$contents$goog$array_find;
3968
+ function module$contents$goog$array_findIndex(arr, f, opt_obj) {
3969
+ for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
3970
+ if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
3971
+ return i;
3972
+ }
4386
3973
  }
4387
- var prefixes = attrPrefixes.map(function(s) {
4388
- return module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(s);
4389
- }), attrLower = attr.toLowerCase();
4390
- if (prefixes.every(function(p) {
4391
- return attrLower.indexOf(p) !== 0;
4392
- })) {
4393
- throw Error('Attribute "' + attr + '" does not match any of the allowed prefixes.');
3974
+ return -1;
3975
+ }
3976
+ goog.array.findIndex = module$contents$goog$array_findIndex;
3977
+ goog.array.findRight = function(arr, f, opt_obj) {
3978
+ var i = module$contents$goog$array_findIndexRight(arr, f, opt_obj);
3979
+ return i < 0 ? null : typeof arr === "string" ? arr.charAt(i) : arr[i];
3980
+ };
3981
+ function module$contents$goog$array_findIndexRight(arr, f, opt_obj) {
3982
+ for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = l - 1; i >= 0; i--) {
3983
+ if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
3984
+ return i;
3985
+ }
4394
3986
  }
4395
- e.setAttribute(attr, value);
3987
+ return -1;
4396
3988
  }
4397
- module$exports$safevalues$dom$elements$element.setPrefixedAttribute = module$contents$safevalues$dom$elements$element_setPrefixedAttribute;
4398
- function module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(element) {
4399
- var message = "", tagName = element.tagName;
4400
- if (tagName === "SCRIPT" || tagName === "STYLE") {
4401
- throw goog.DEBUG && (message = tagName === "SCRIPT" ? "Use safeScriptEl.setTextContent with a SafeScript." : "Use safeStyleEl.setTextContent with a SafeStyleSheet."), Error(message);
3989
+ goog.array.findIndexRight = module$contents$goog$array_findIndexRight;
3990
+ function module$contents$goog$array_contains(arr, obj) {
3991
+ return module$contents$goog$array_indexOf(arr, obj) >= 0;
3992
+ }
3993
+ goog.array.contains = module$contents$goog$array_contains;
3994
+ function module$contents$goog$array_isEmpty(arr) {
3995
+ return arr.length == 0;
3996
+ }
3997
+ goog.array.isEmpty = module$contents$goog$array_isEmpty;
3998
+ function module$contents$goog$array_clear(arr) {
3999
+ if (!Array.isArray(arr)) {
4000
+ for (var i = arr.length - 1; i >= 0; i--) {
4001
+ delete arr[i];
4002
+ }
4402
4003
  }
4004
+ arr.length = 0;
4403
4005
  }
4404
- function module$contents$safevalues$dom$elements$element_isElement(elOrRoot) {
4405
- return elOrRoot.nodeType === 1;
4006
+ goog.array.clear = module$contents$goog$array_clear;
4007
+ goog.array.insert = function(arr, obj) {
4008
+ module$contents$goog$array_contains(arr, obj) || arr.push(obj);
4009
+ };
4010
+ function module$contents$goog$array_insertAt(arr, obj, opt_i) {
4011
+ module$contents$goog$array_splice(arr, opt_i, 0, obj);
4406
4012
  }
4407
- ;var module$exports$safevalues$dom$elements$embed = {}, module$contents$safevalues$dom$elements$embed_module = module$contents$safevalues$dom$elements$embed_module || {id:"third_party/javascript/safevalues/dom/elements/embed.closure.js"};
4408
- module$exports$safevalues$dom$elements$embed.setSrc = function(embedEl, url) {
4409
- embedEl.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
4013
+ goog.array.insertAt = module$contents$goog$array_insertAt;
4014
+ goog.array.insertArrayAt = function(arr, elementsToAdd, opt_i) {
4015
+ goog.partial(module$contents$goog$array_splice, arr, opt_i, 0).apply(null, elementsToAdd);
4410
4016
  };
4411
- var module$exports$safevalues$dom$elements$form = {}, module$contents$safevalues$dom$elements$form_module = module$contents$safevalues$dom$elements$form_module || {id:"third_party/javascript/safevalues/dom/elements/form.closure.js"};
4412
- module$exports$safevalues$dom$elements$form.setAction = function(form, url) {
4413
- var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
4414
- sanitizedUrl !== void 0 && (form.action = sanitizedUrl);
4017
+ goog.array.insertBefore = function(arr, obj, opt_obj2) {
4018
+ var i;
4019
+ arguments.length == 2 || (i = module$contents$goog$array_indexOf(arr, opt_obj2)) < 0 ? arr.push(obj) : module$contents$goog$array_insertAt(arr, obj, i);
4415
4020
  };
4416
- var module$exports$check = {}, module$contents$check_module = module$contents$check_module || {id:"javascript/typescript/contrib/check.closure.js"};
4417
- function module$contents$check_checkExhaustive(value, msg) {
4418
- return module$contents$check_checkExhaustiveAllowing(value, msg);
4021
+ function module$contents$goog$array_remove(arr, obj) {
4022
+ var i = module$contents$goog$array_indexOf(arr, obj), rv;
4023
+ (rv = i >= 0) && module$contents$goog$array_removeAt(arr, i);
4024
+ return rv;
4419
4025
  }
4420
- module$exports$check.checkExhaustive = module$contents$check_checkExhaustive;
4421
- function module$contents$check_checkExhaustiveAllowing(value, msg) {
4422
- throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
4026
+ goog.array.remove = module$contents$goog$array_remove;
4027
+ function module$contents$goog$array_removeLast(arr, obj) {
4028
+ var i = module$contents$goog$array_lastIndexOf(arr, obj);
4029
+ return i >= 0 ? (module$contents$goog$array_removeAt(arr, i), !0) : !1;
4423
4030
  }
4424
- module$exports$check.checkExhaustiveAllowing = module$contents$check_checkExhaustiveAllowing;
4425
- module$exports$check.assumeExhaustive = function(value) {
4031
+ goog.array.removeLast = module$contents$goog$array_removeLast;
4032
+ function module$contents$goog$array_removeAt(arr, i) {
4033
+ goog.asserts.assert(arr.length != null);
4034
+ return Array.prototype.splice.call(arr, i, 1).length == 1;
4035
+ }
4036
+ goog.array.removeAt = module$contents$goog$array_removeAt;
4037
+ goog.array.removeIf = function(arr, f, opt_obj) {
4038
+ var i = module$contents$goog$array_findIndex(arr, f, opt_obj);
4039
+ return i >= 0 ? (module$contents$goog$array_removeAt(arr, i), !0) : !1;
4426
4040
  };
4427
- module$exports$check.assumeExhaustiveAllowing = function(value) {
4041
+ goog.array.removeAllIf = function(arr, f, opt_obj) {
4042
+ var removedCount = 0;
4043
+ module$contents$goog$array_forEachRight(arr, function(val, index) {
4044
+ f.call(opt_obj, val, index, arr) && module$contents$goog$array_removeAt(arr, index) && removedCount++;
4045
+ });
4046
+ return removedCount;
4428
4047
  };
4429
- var module$exports$safevalues$dom$elements$iframe = {}, module$contents$safevalues$dom$elements$iframe_module = module$contents$safevalues$dom$elements$iframe_module || {id:"third_party/javascript/safevalues/dom/elements/iframe.closure.js"};
4430
- function module$contents$safevalues$dom$elements$iframe_setSrc(iframe, v) {
4431
- iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v).toString();
4432
- }
4433
- module$exports$safevalues$dom$elements$iframe.setSrc = module$contents$safevalues$dom$elements$iframe_setSrc;
4434
- function module$contents$safevalues$dom$elements$iframe_setSrcdoc(iframe, v) {
4435
- iframe.srcdoc = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
4048
+ function module$contents$goog$array_concat(var_args) {
4049
+ return Array.prototype.concat.apply([], arguments);
4436
4050
  }
4437
- module$exports$safevalues$dom$elements$iframe.setSrcdoc = module$contents$safevalues$dom$elements$iframe_setSrcdoc;
4438
- module$exports$safevalues$dom$elements$iframe.Intent = {FORMATTED_HTML_CONTENT:0, EMBEDDED_INTERNAL_CONTENT:1, EMBEDDED_TRUSTED_EXTERNAL_CONTENT:2};
4439
- module$exports$safevalues$dom$elements$iframe.Intent[module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT] = "FORMATTED_HTML_CONTENT";
4440
- module$exports$safevalues$dom$elements$iframe.Intent[module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT] = "EMBEDDED_INTERNAL_CONTENT";
4441
- module$exports$safevalues$dom$elements$iframe.Intent[module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT] = "EMBEDDED_TRUSTED_EXTERNAL_CONTENT";
4442
- var module$contents$safevalues$dom$elements$iframe_SandboxDirective = {ALLOW_SAME_ORIGIN:"allow-same-origin", ALLOW_SCRIPTS:"allow-scripts", ALLOW_FORMS:"allow-forms", ALLOW_POPUPS:"allow-popups", ALLOW_POPUPS_TO_ESCAPE_SANDBOX:"allow-popups-to-escape-sandbox", ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION:"allow-storage-access-by-user-activation"};
4443
- function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr, directives) {
4444
- ifr.setAttribute("sandbox", "");
4445
- for (var i = 0; i < directives.length; i++) {
4446
- ifr.sandbox.supports && !ifr.sandbox.supports(directives[i]) || ifr.sandbox.add(directives[i]);
4051
+ goog.array.concat = module$contents$goog$array_concat;
4052
+ goog.array.join = function(var_args) {
4053
+ return Array.prototype.concat.apply([], arguments);
4054
+ };
4055
+ function module$contents$goog$array_toArray(object) {
4056
+ var length = object.length;
4057
+ if (length > 0) {
4058
+ for (var rv = Array(length), i = 0; i < length; i++) {
4059
+ rv[i] = object[i];
4060
+ }
4061
+ return rv;
4447
4062
  }
4063
+ return [];
4448
4064
  }
4449
- module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
4450
- var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
4451
- this.message = $jscomp$tmp$error$240424914$1.message;
4452
- "stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
4453
- this.type = type;
4454
- this.intent = intent;
4455
- this.name = "TypeCannotBeUsedWithIntentError";
4456
- };
4457
- $jscomp.inherits(module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError, Error);
4458
- module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(element, intent, src) {
4459
- element.removeAttribute("srcdoc");
4460
- switch(intent) {
4461
- case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
4462
- if (src instanceof goog.html.TrustedResourceUrl) {
4463
- throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
4464
- }
4465
- module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
4466
- var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(src);
4467
- sanitizedUrl !== void 0 && (element.src = sanitizedUrl);
4468
- break;
4469
- case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
4470
- if (!(src instanceof goog.html.TrustedResourceUrl)) {
4471
- throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError(typeof src, module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
4472
- }
4473
- module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
4474
- module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
4475
- module$contents$safevalues$dom$elements$iframe_setSrc(element, src);
4476
- break;
4477
- case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
4478
- if (src instanceof goog.html.TrustedResourceUrl) {
4479
- throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT);
4065
+ goog.array.toArray = module$contents$goog$array_toArray;
4066
+ goog.array.clone = module$contents$goog$array_toArray;
4067
+ function module$contents$goog$array_extend(arr1, var_args) {
4068
+ for (var i = 1; i < arguments.length; i++) {
4069
+ var arr2 = arguments[i];
4070
+ if (goog.isArrayLike(arr2)) {
4071
+ var len1 = arr1.length || 0, len2 = arr2.length || 0;
4072
+ arr1.length = len1 + len2;
4073
+ for (var j = 0; j < len2; j++) {
4074
+ arr1[len1 + j] = arr2[j];
4480
4075
  }
4481
- module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
4482
- module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
4483
- var sanitizedUrl$jscomp$0 = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(src);
4484
- sanitizedUrl$jscomp$0 !== void 0 && (element.src = sanitizedUrl$jscomp$0);
4485
- break;
4486
- default:
4487
- module$contents$check_checkExhaustive(intent);
4076
+ } else {
4077
+ arr1.push(arr2);
4078
+ }
4079
+ }
4080
+ }
4081
+ goog.array.extend = module$contents$goog$array_extend;
4082
+ function module$contents$goog$array_splice(arr, index, howMany, var_args) {
4083
+ goog.asserts.assert(arr.length != null);
4084
+ return Array.prototype.splice.apply(arr, module$contents$goog$array_slice(arguments, 1));
4085
+ }
4086
+ goog.array.splice = module$contents$goog$array_splice;
4087
+ function module$contents$goog$array_slice(arr, start, opt_end) {
4088
+ goog.asserts.assert(arr.length != null);
4089
+ return arguments.length <= 2 ? Array.prototype.slice.call(arr, start) : Array.prototype.slice.call(arr, start, opt_end);
4090
+ }
4091
+ goog.array.slice = module$contents$goog$array_slice;
4092
+ function module$contents$goog$array_removeDuplicates(arr, opt_rv, opt_keyFn) {
4093
+ var returnArray = opt_rv || arr;
4094
+ if (goog.FEATURESET_YEAR >= 2018) {
4095
+ for (var defaultKeyFn = function(item) {
4096
+ return item;
4097
+ }, keyFn = opt_keyFn || defaultKeyFn, cursorInsert = 0, cursorRead = 0, seen = new Set(); cursorRead < arr.length;) {
4098
+ var current = arr[cursorRead++], key = keyFn(current);
4099
+ seen.has(key) || (seen.add(key), returnArray[cursorInsert++] = current);
4100
+ }
4101
+ returnArray.length = cursorInsert;
4102
+ } else {
4103
+ for (var defaultKeyFn$jscomp$0 = function(item) {
4104
+ return goog.isObject(item) ? "o" + goog.getUid(item) : (typeof item).charAt(0) + item;
4105
+ }, keyFn$jscomp$0 = opt_keyFn || defaultKeyFn$jscomp$0, cursorInsert$jscomp$0 = 0, cursorRead$jscomp$0 = 0, seen$jscomp$0 = {}; cursorRead$jscomp$0 < arr.length;) {
4106
+ var current$jscomp$0 = arr[cursorRead$jscomp$0++], key$jscomp$0 = keyFn$jscomp$0(current$jscomp$0);
4107
+ Object.prototype.hasOwnProperty.call(seen$jscomp$0, key$jscomp$0) || (seen$jscomp$0[key$jscomp$0] = !0, returnArray[cursorInsert$jscomp$0++] = current$jscomp$0);
4108
+ }
4109
+ returnArray.length = cursorInsert$jscomp$0;
4488
4110
  }
4111
+ }
4112
+ goog.array.removeDuplicates = module$contents$goog$array_removeDuplicates;
4113
+ function module$contents$goog$array_binarySearch(arr, target, opt_compareFn) {
4114
+ return module$contents$goog$array_binarySearch_(arr, opt_compareFn || module$contents$goog$array_defaultCompare, !1, target);
4115
+ }
4116
+ goog.array.binarySearch = module$contents$goog$array_binarySearch;
4117
+ goog.array.binarySelect = function(arr, evaluator, opt_obj) {
4118
+ return module$contents$goog$array_binarySearch_(arr, evaluator, !0, void 0, opt_obj);
4489
4119
  };
4490
- module$exports$safevalues$dom$elements$iframe.setSrcdocWithIntent = function(element, intent, srcdoc) {
4491
- element.removeAttribute("src");
4492
- switch(intent) {
4493
- case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
4494
- if (srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
4495
- throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("SafeHtml", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
4496
- }
4497
- element.csp = "default-src 'none'";
4498
- module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
4499
- module$contents$safevalues$dom$elements$iframe_setSrcdoc(element, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(srcdoc));
4500
- break;
4501
- case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
4502
- if (!(srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml)) {
4503
- throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("string", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
4504
- }
4505
- module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
4506
- module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
4507
- module$contents$safevalues$dom$elements$iframe_setSrcdoc(element, srcdoc);
4508
- break;
4509
- case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
4510
- if (srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
4511
- throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("SafeHtml", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
4512
- }
4513
- module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX,
4514
- module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
4515
- module$contents$safevalues$dom$elements$iframe_setSrcdoc(element, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(srcdoc));
4516
- break;
4517
- default:
4518
- module$contents$check_checkExhaustive(intent);
4120
+ function module$contents$goog$array_binarySearch_(arr, compareFn, isEvaluator, opt_target, opt_selfObj) {
4121
+ for (var left = 0, right = arr.length, found; left < right;) {
4122
+ var middle = left + (right - left >>> 1), compareResult = void 0;
4123
+ compareResult = isEvaluator ? compareFn.call(opt_selfObj, arr[middle], middle, arr) : compareFn(opt_target, arr[middle]);
4124
+ compareResult > 0 ? left = middle + 1 : (right = middle, found = !compareResult);
4125
+ }
4126
+ return found ? left : -left - 1;
4127
+ }
4128
+ function module$contents$goog$array_sort(arr, opt_compareFn) {
4129
+ arr.sort(opt_compareFn || module$contents$goog$array_defaultCompare);
4130
+ }
4131
+ goog.array.sort = module$contents$goog$array_sort;
4132
+ goog.array.stableSort = function(arr, opt_compareFn) {
4133
+ for (var compArr = Array(arr.length), i = 0; i < arr.length; i++) {
4134
+ compArr[i] = {index:i, value:arr[i]};
4135
+ }
4136
+ var valueCompareFn = opt_compareFn || module$contents$goog$array_defaultCompare;
4137
+ module$contents$goog$array_sort(compArr, function(obj1, obj2) {
4138
+ return valueCompareFn(obj1.value, obj2.value) || obj1.index - obj2.index;
4139
+ });
4140
+ for (var i$jscomp$0 = 0; i$jscomp$0 < arr.length; i$jscomp$0++) {
4141
+ arr[i$jscomp$0] = compArr[i$jscomp$0].value;
4519
4142
  }
4520
4143
  };
4521
- var module$exports$safevalues$dom$elements$input = {}, module$contents$safevalues$dom$elements$input_module = module$contents$safevalues$dom$elements$input_module || {id:"third_party/javascript/safevalues/dom/elements/input.closure.js"};
4522
- module$exports$safevalues$dom$elements$input.setFormaction = function(input, url) {
4523
- var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
4524
- sanitizedUrl !== void 0 && (input.formAction = sanitizedUrl);
4144
+ function module$contents$goog$array_sortByKey(arr, keyFn, opt_compareFn) {
4145
+ var keyCompareFn = opt_compareFn || module$contents$goog$array_defaultCompare;
4146
+ module$contents$goog$array_sort(arr, function(a, b) {
4147
+ return keyCompareFn(keyFn(a), keyFn(b));
4148
+ });
4149
+ }
4150
+ goog.array.sortByKey = module$contents$goog$array_sortByKey;
4151
+ goog.array.sortObjectsByKey = function(arr, key, opt_compareFn) {
4152
+ module$contents$goog$array_sortByKey(arr, function(obj) {
4153
+ return obj[key];
4154
+ }, opt_compareFn);
4525
4155
  };
4526
- var module$exports$safevalues$dom$elements$link = {}, module$contents$safevalues$dom$elements$link_module = module$contents$safevalues$dom$elements$link_module || {id:"third_party/javascript/safevalues/dom/elements/link.closure.js"}, module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES = "alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");
4527
- module$exports$safevalues$dom$elements$link.setHrefAndRel = function(link, url, rel) {
4528
- if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
4529
- module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel);
4530
- } else {
4531
- if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
4532
- throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
4156
+ function module$contents$goog$array_isSorted(arr, opt_compareFn, opt_strict) {
4157
+ for (var compare = opt_compareFn || module$contents$goog$array_defaultCompare, i = 1; i < arr.length; i++) {
4158
+ var compareResult = compare(arr[i - 1], arr[i]);
4159
+ if (compareResult > 0 || compareResult == 0 && opt_strict) {
4160
+ return !1;
4161
+ }
4162
+ }
4163
+ return !0;
4164
+ }
4165
+ goog.array.isSorted = module$contents$goog$array_isSorted;
4166
+ function module$contents$goog$array_equals(arr1, arr2, opt_equalsFn) {
4167
+ if (!goog.isArrayLike(arr1) || !goog.isArrayLike(arr2) || arr1.length != arr2.length) {
4168
+ return !1;
4169
+ }
4170
+ for (var l = arr1.length, equalsFn = opt_equalsFn || module$contents$goog$array_defaultCompareEquality, i = 0; i < l; i++) {
4171
+ if (!equalsFn(arr1[i], arr2[i])) {
4172
+ return !1;
4173
+ }
4174
+ }
4175
+ return !0;
4176
+ }
4177
+ goog.array.equals = module$contents$goog$array_equals;
4178
+ goog.array.compare3 = function(arr1, arr2, opt_compareFn) {
4179
+ for (var compare = opt_compareFn || module$contents$goog$array_defaultCompare, l = Math.min(arr1.length, arr2.length), i = 0; i < l; i++) {
4180
+ var result = compare(arr1[i], arr2[i]);
4181
+ if (result != 0) {
4182
+ return result;
4533
4183
  }
4534
- var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
4535
- sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
4536
4184
  }
4185
+ return module$contents$goog$array_defaultCompare(arr1.length, arr2.length);
4537
4186
  };
4538
- function module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel) {
4539
- link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
4540
- link.rel = rel;
4187
+ function module$contents$goog$array_defaultCompare(a, b) {
4188
+ return a > b ? 1 : a < b ? -1 : 0;
4541
4189
  }
4542
- module$exports$safevalues$dom$elements$link.setHrefAndRelWithTrustedResourceUrl = module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl;
4543
- var module$exports$safevalues$dom$elements$object = {}, module$contents$safevalues$dom$elements$object_module = module$contents$safevalues$dom$elements$object_module || {id:"third_party/javascript/safevalues/dom/elements/object.closure.js"};
4544
- module$exports$safevalues$dom$elements$object.setData = function(obj, v) {
4545
- obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
4190
+ goog.array.defaultCompare = module$contents$goog$array_defaultCompare;
4191
+ goog.array.inverseDefaultCompare = function(a, b) {
4192
+ return -module$contents$goog$array_defaultCompare(a, b);
4546
4193
  };
4547
- var module$exports$safevalues$dom$globals$window = {}, module$contents$safevalues$dom$globals$window_module = module$contents$safevalues$dom$globals$window_module || {id:"third_party/javascript/safevalues/dom/globals/window.closure.js"};
4548
- module$exports$safevalues$dom$globals$window.open = function(win, url, target, features) {
4549
- var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
4550
- return sanitizedUrl !== void 0 ? win.open(sanitizedUrl, target, features) : null;
4194
+ function module$contents$goog$array_defaultCompareEquality(a, b) {
4195
+ return a === b;
4196
+ }
4197
+ goog.array.defaultCompareEquality = module$contents$goog$array_defaultCompareEquality;
4198
+ goog.array.binaryInsert = function(array, value, opt_compareFn) {
4199
+ var index = module$contents$goog$array_binarySearch(array, value, opt_compareFn);
4200
+ return index < 0 ? (module$contents$goog$array_insertAt(array, value, -(index + 1)), !0) : !1;
4551
4201
  };
4552
- module$exports$safevalues$dom$globals$window.getScriptNonce = function(win) {
4553
- return module$contents$safevalues$dom$globals$window_getNonceFor("script", win);
4202
+ goog.array.binaryRemove = function(array, value, opt_compareFn) {
4203
+ var index = module$contents$goog$array_binarySearch(array, value, opt_compareFn);
4204
+ return index >= 0 ? module$contents$goog$array_removeAt(array, index) : !1;
4554
4205
  };
4555
- module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
4556
- return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
4206
+ goog.array.bucket = function(array, sorter, opt_obj) {
4207
+ for (var buckets = {}, i = 0; i < array.length; i++) {
4208
+ var value = array[i], key = sorter.call(opt_obj, value, i, array);
4209
+ key !== void 0 && (buckets[key] || (buckets[key] = [])).push(value);
4210
+ }
4211
+ return buckets;
4557
4212
  };
4558
- function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
4559
- 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]");
4560
- return el ? el.nonce || el.getAttribute("nonce") || "" : "";
4561
- }
4562
- ;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;
4563
- module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
4564
- goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
4565
- this.privateDoNotAccessOrElseWrappedScript = value;
4213
+ goog.array.bucketToMap = function(array, sorter) {
4214
+ for (var buckets = new Map(), i = 0; i < array.length; i++) {
4215
+ var value = array[i], key = sorter(value, i, array);
4216
+ if (key !== void 0) {
4217
+ var bucket = buckets.get(key);
4218
+ bucket || (bucket = [], buckets.set(key, bucket));
4219
+ bucket.push(value);
4220
+ }
4221
+ }
4222
+ return buckets;
4566
4223
  };
4567
- module$exports$safevalues$internals$script_impl.SafeScript.prototype.toString = function() {
4568
- return this.privateDoNotAccessOrElseWrappedScript.toString();
4224
+ goog.array.toObject = function(arr, keyFunc, opt_obj) {
4225
+ var ret = {};
4226
+ module$contents$goog$array_forEach(arr, function(element, index) {
4227
+ ret[keyFunc.call(opt_obj, element, index, arr)] = element;
4228
+ });
4229
+ return ret;
4569
4230
  };
4570
- var module$contents$safevalues$internals$script_impl_ScriptImpl = module$exports$safevalues$internals$script_impl.SafeScript;
4571
- function module$contents$safevalues$internals$script_impl_constructScript(value) {
4572
- return new module$exports$safevalues$internals$script_impl.SafeScript(module$exports$safevalues$internals$secrets.secretToken, value);
4573
- }
4574
- function module$contents$safevalues$internals$script_impl_createScriptInternal(value) {
4575
- var noinlineValue = value, policy = (0,goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse)();
4576
- return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(noinlineValue) : noinlineValue);
4577
- }
4578
- module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
4579
- module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$safevalues$internals$pure_pure(function() {
4580
- return module$contents$safevalues$internals$script_impl_constructScript(module$contents$safevalues$internals$script_impl_trustedTypes ? module$contents$safevalues$internals$script_impl_trustedTypes.emptyScript : "");
4581
- });
4582
- function module$contents$safevalues$internals$script_impl_isScript(value) {
4583
- return value instanceof module$exports$safevalues$internals$script_impl.SafeScript;
4231
+ goog.array.toMap = function(arr, keyFunc) {
4232
+ for (var map = new Map(), i = 0; i < arr.length; i++) {
4233
+ var element = arr[i];
4234
+ map.set(keyFunc(element, i, arr), element);
4235
+ }
4236
+ return map;
4237
+ };
4238
+ function module$contents$goog$array_range(startOrEnd, opt_end, opt_step) {
4239
+ var array = [], start = 0, end = startOrEnd, step = opt_step || 1;
4240
+ opt_end !== void 0 && (start = startOrEnd, end = opt_end);
4241
+ if (step * (end - start) < 0) {
4242
+ return [];
4243
+ }
4244
+ if (step > 0) {
4245
+ for (var i = start; i < end; i += step) {
4246
+ array.push(i);
4247
+ }
4248
+ } else {
4249
+ for (var i$jscomp$0 = start; i$jscomp$0 > end; i$jscomp$0 += step) {
4250
+ array.push(i$jscomp$0);
4251
+ }
4252
+ }
4253
+ return array;
4584
4254
  }
4585
- module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
4586
- function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
4587
- if (module$contents$safevalues$internals$script_impl_isScript(value)) {
4588
- return value.privateDoNotAccessOrElseWrappedScript;
4255
+ goog.array.range = module$contents$goog$array_range;
4256
+ function module$contents$goog$array_repeat(value, n) {
4257
+ for (var array = [], i = 0; i < n; i++) {
4258
+ array[i] = value;
4589
4259
  }
4590
- var message = "";
4591
- goog.DEBUG && (message = "Unexpected type when unwrapping SafeScript");
4592
- throw Error(message);
4260
+ return array;
4593
4261
  }
4594
- module$exports$safevalues$internals$script_impl.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
4595
- var module$exports$safevalues$dom$elements$script = {}, module$contents$safevalues$dom$elements$script_module = module$contents$safevalues$dom$elements$script_module || {id:"third_party/javascript/safevalues/dom/elements/script.closure.js"};
4596
- function module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script) {
4597
- var nonce = (0,module$exports$safevalues$dom$globals$window.getScriptNonce)(script.ownerDocument && script.ownerDocument.defaultView || window);
4598
- nonce && script.setAttribute("nonce", nonce);
4262
+ goog.array.repeat = module$contents$goog$array_repeat;
4263
+ function module$contents$goog$array_flatten(var_args) {
4264
+ for (var result = [], i = 0; i < arguments.length; i++) {
4265
+ var element = arguments[i];
4266
+ if (Array.isArray(element)) {
4267
+ for (var c = 0; c < element.length; c += 8192) {
4268
+ for (var chunk = module$contents$goog$array_slice(element, c, c + 8192), recurseResult = module$contents$goog$array_flatten.apply(null, chunk), r = 0; r < recurseResult.length; r++) {
4269
+ result.push(recurseResult[r]);
4270
+ }
4271
+ }
4272
+ } else {
4273
+ result.push(element);
4274
+ }
4275
+ }
4276
+ return result;
4599
4277
  }
4600
- module$exports$safevalues$dom$elements$script.setTextContent = function(script, v, options) {
4601
- script.textContent = module$contents$safevalues$internals$script_impl_unwrapScript(v);
4602
- (options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
4278
+ goog.array.flatten = module$contents$goog$array_flatten;
4279
+ goog.array.rotate = function(array, n) {
4280
+ goog.asserts.assert(array.length != null);
4281
+ array.length && (n %= array.length, n > 0 ? Array.prototype.unshift.apply(array, array.splice(-n, n)) : n < 0 && Array.prototype.push.apply(array, array.splice(0, -n)));
4282
+ return array;
4603
4283
  };
4604
- module$exports$safevalues$dom$elements$script.setSrc = function(script, v, options) {
4605
- script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
4606
- (options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
4284
+ goog.array.moveItem = function(arr, fromIndex, toIndex) {
4285
+ goog.asserts.assert(fromIndex >= 0 && fromIndex < arr.length);
4286
+ goog.asserts.assert(toIndex >= 0 && toIndex < arr.length);
4287
+ var removedItems = Array.prototype.splice.call(arr, fromIndex, 1);
4288
+ Array.prototype.splice.call(arr, toIndex, 0, removedItems[0]);
4607
4289
  };
4608
- var module$exports$goog$html$safestylesheet_internals_for_safevalues = {};
4609
- module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
4610
- var module$exports$safevalues$internals$style_sheet_impl = {}, module$contents$safevalues$internals$style_sheet_impl_module = module$contents$safevalues$internals$style_sheet_impl_module || {id:"third_party/javascript/safevalues/internals/style_sheet_impl.closure.js"};
4611
- module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
4612
- function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
4613
- return (0,module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet)(styleSheet);
4614
- }
4615
- module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
4616
- function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
4617
- return value instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
4618
- }
4619
- module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
4620
- function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
4621
- return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(value);
4622
- }
4623
- module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
4624
- var module$exports$safevalues$dom$elements$style = {}, module$contents$safevalues$dom$elements$style_module = module$contents$safevalues$dom$elements$style_module || {id:"third_party/javascript/safevalues/dom/elements/style.closure.js"};
4625
- module$exports$safevalues$dom$elements$style.setTextContent = function(elem, safeStyleSheet) {
4626
- elem.textContent = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
4290
+ goog.array.zip = function(var_args) {
4291
+ if (!arguments.length) {
4292
+ return [];
4293
+ }
4294
+ for (var result = [], minLen = arguments[0].length, i = 1; i < arguments.length; i++) {
4295
+ arguments[i].length < minLen && (minLen = arguments[i].length);
4296
+ }
4297
+ for (var i$jscomp$0 = 0; i$jscomp$0 < minLen; i$jscomp$0++) {
4298
+ for (var value = [], j = 0; j < arguments.length; j++) {
4299
+ value.push(arguments[j][i$jscomp$0]);
4300
+ }
4301
+ result.push(value);
4302
+ }
4303
+ return result;
4627
4304
  };
4628
- var module$exports$safevalues$dom$elements$svg = {}, module$contents$safevalues$dom$elements$svg_module = module$contents$safevalues$dom$elements$svg_module || {id:"third_party/javascript/safevalues/dom/elements/svg.closure.js"}, module$contents$safevalues$dom$elements$svg_UNSAFE_SVG_ATTRIBUTES = ["href", "xlink:href"];
4629
- module$exports$safevalues$dom$elements$svg.setAttribute = function(svg, attr, value) {
4630
- var attrLower = attr.toLowerCase();
4631
- if (module$contents$safevalues$dom$elements$svg_UNSAFE_SVG_ATTRIBUTES.indexOf(attrLower) !== -1 || attrLower.indexOf("on") === 0) {
4632
- var msg = "";
4633
- goog.DEBUG && (msg = "Setting the '" + attrLower + "' attribute on SVG can cause XSS.");
4634
- throw Error(msg);
4305
+ goog.array.shuffle = function(arr, opt_randFn) {
4306
+ for (var randFn = opt_randFn || Math.random, i = arr.length - 1; i > 0; i--) {
4307
+ var j = Math.floor(randFn() * (i + 1)), tmp = arr[i];
4308
+ arr[i] = arr[j];
4309
+ arr[j] = tmp;
4635
4310
  }
4636
- svg.setAttribute(attr, value);
4311
+ };
4312
+ goog.array.copyByIndex = function(arr, index_arr) {
4313
+ var result = [];
4314
+ module$contents$goog$array_forEach(index_arr, function(index) {
4315
+ result.push(arr[index]);
4316
+ });
4317
+ return result;
4318
+ };
4319
+ goog.array.concatMap = function(arr, f, opt_obj) {
4320
+ return module$contents$goog$array_concat.apply([], module$contents$goog$array_map(arr, f, opt_obj));
4637
4321
  };
4638
4322
  goog.debug.errorcontext = {};
4639
4323
  goog.debug.errorcontext.addErrorContext = function(err, contextKey, contextValue) {
@@ -5223,9 +4907,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
5223
4907
  module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
5224
4908
  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"};
5225
4909
  module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
5226
- 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.");
5227
- this.message = $jscomp$tmp$error$m991617773$25.message;
5228
- "stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
4910
+ 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.");
4911
+ this.message = $jscomp$tmp$error$1153895636$25.message;
4912
+ "stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
5229
4913
  this.url = url;
5230
4914
  this.typeName = typeName;
5231
4915
  this.contentType = contentType;
@@ -5237,48 +4921,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
5237
4921
  return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
5238
4922
  }
5239
4923
  function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
5240
- var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
5241
- return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
5242
- if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
5243
- return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
5244
- }
5245
- response = $jscomp$generator$context$m991617773$29.yieldResult;
5246
- 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();
5247
- return $jscomp$generator$context$m991617773$29.return({html:function() {
4924
+ var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
4925
+ return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
4926
+ if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
4927
+ return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
4928
+ }
4929
+ response = $jscomp$generator$context$1153895636$29.yieldResult;
4930
+ 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();
4931
+ return $jscomp$generator$context$1153895636$29.return({html:function() {
5248
4932
  var text;
5249
- return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
5250
- if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
4933
+ return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
4934
+ if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
5251
4935
  if (mimeType !== "text/html") {
5252
4936
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
5253
4937
  }
5254
- return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
4938
+ return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
5255
4939
  }
5256
- text = $jscomp$generator$context$m991617773$26.yieldResult;
5257
- return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
4940
+ text = $jscomp$generator$context$1153895636$26.yieldResult;
4941
+ return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
5258
4942
  });
5259
4943
  }, script:function() {
5260
4944
  var text;
5261
- return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
5262
- if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
4945
+ return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
4946
+ if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
5263
4947
  if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
5264
4948
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
5265
4949
  }
5266
- return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
4950
+ return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
5267
4951
  }
5268
- text = $jscomp$generator$context$m991617773$27.yieldResult;
5269
- return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
4952
+ text = $jscomp$generator$context$1153895636$27.yieldResult;
4953
+ return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
5270
4954
  });
5271
4955
  }, styleSheet:function() {
5272
4956
  var text;
5273
- return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
5274
- if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
4957
+ return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
4958
+ if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
5275
4959
  if (mimeType !== "text/css") {
5276
4960
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
5277
4961
  }
5278
- return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
4962
+ return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
5279
4963
  }
5280
- text = $jscomp$generator$context$m991617773$28.yieldResult;
5281
- return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
4964
+ text = $jscomp$generator$context$1153895636$28.yieldResult;
4965
+ return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
5282
4966
  });
5283
4967
  }});
5284
4968
  });
@@ -6700,25 +6384,25 @@ function module$contents$eeapiclient$request_params_processParams(params) {
6700
6384
  }
6701
6385
  module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
6702
6386
  function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
6703
- 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()) {
6704
- 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;
6387
+ 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()) {
6388
+ 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;
6705
6389
  jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
6706
6390
  }
6707
6391
  return urlQueryParams;
6708
6392
  }
6709
6393
  module$exports$eeapiclient$request_params.buildQueryParams = module$contents$eeapiclient$request_params_buildQueryParams;
6710
- var module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders = ["accept", "accept-language", "content-language"], module$contents$eeapiclient$request_params_simpleCorsAllowedMethods = ["GET", "HEAD", "POST"];
6394
+ var module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders = ["accept", "accept-language", "content-language"], module$contents$eeapiclient$request_params_simpleCorsAllowedMethods = ["GET", "HEAD", "POST"], module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"];
6711
6395
  module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params) {
6712
- var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
6396
+ var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
6713
6397
  if (params.headers) {
6714
6398
  hasContentType = params.headers["Content-Type"] != null;
6715
- 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()) {
6716
- 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;
6717
- module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
6399
+ 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()) {
6400
+ 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;
6401
+ module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
6718
6402
  }
6719
6403
  }
6720
6404
  if (params.body != null || params.httpMethod === "PUT" || params.httpMethod === "POST") {
6721
- hasContentType || (unsafeHeaders["Content-Type"] = "application/json", hasUnsafeHeaders = !0), safeHeaders["Content-Type"] = "text/plain";
6405
+ hasContentType || (unsafeHeaders["Content-Type"] = "application/json", hasUnsafeHeaders = !0), hasSafeContentType || (safeHeaders["Content-Type"] = "text/plain");
6722
6406
  }
6723
6407
  if (hasUnsafeHeaders) {
6724
6408
  var finalParam = (0,module$exports$goog$net$rpc$HttpCors.generateEncodedHttpHeadersOverwriteParam)(unsafeHeaders);
@@ -6753,9 +6437,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
6753
6437
  return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
6754
6438
  };
6755
6439
  module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
6756
- var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
6440
+ var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
6757
6441
  return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
6758
- return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
6442
+ return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
6759
6443
  }));
6760
6444
  };
6761
6445
  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"};
@@ -6921,9 +6605,9 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_
6921
6605
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
6922
6606
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
6923
6607
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
6924
- module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__disable = !1;
6925
6608
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
6926
6609
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable = !1;
6610
+ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable = !1;
6927
6611
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
6928
6612
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
6929
6613
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
@@ -6937,10 +6621,9 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
6937
6621
  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);
6938
6622
  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);
6939
6623
  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);
6940
- 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);
6941
- 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);
6942
- 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,
6943
- module$contents$goog$flags_STAGING);
6624
+ goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable : goog.readFlagInternalDoNotUseOrElse(644029907, !0);
6625
+ goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable : goog.readFlagInternalDoNotUseOrElse(1822726157, !0);
6626
+ goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable : goog.readFlagInternalDoNotUseOrElse(661449076, !1);
6944
6627
  goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = 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_enable_low_index_extension_writes__disable) : goog.readFlagInternalDoNotUseOrElse(645172343,
6945
6628
  module$contents$goog$flags_STAGING);
6946
6629
  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);
@@ -7670,7 +7353,6 @@ goog.userAgent.isVersionOrHigher = function(version) {
7670
7353
  goog.userAgent.isDocumentModeOrHigher = function(documentMode) {
7671
7354
  return Number(goog.userAgent.DOCUMENT_MODE) >= documentMode;
7672
7355
  };
7673
- goog.userAgent.isDocumentMode = goog.userAgent.isDocumentModeOrHigher;
7674
7356
  goog.userAgent.DOCUMENT_MODE = function() {
7675
7357
  if (goog.global.document && goog.userAgent.IE) {
7676
7358
  var documentMode = goog.userAgent.getDocumentMode_();
@@ -12166,6 +11848,48 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
12166
11848
  }, set:function(value) {
12167
11849
  this.Serializable$set("uris", value);
12168
11850
  }}});
11851
+ module$exports$eeapiclient$ee_api_client.ImportExternalImageRequestParameters = function() {
11852
+ };
11853
+ module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest = function(parameters) {
11854
+ parameters = parameters === void 0 ? {} : parameters;
11855
+ module$exports$eeapiclient$domain_object.Serializable.call(this);
11856
+ this.Serializable$set("imageManifest", parameters.imageManifest == null ? null : parameters.imageManifest);
11857
+ this.Serializable$set("overwrite", parameters.overwrite == null ? null : parameters.overwrite);
11858
+ this.Serializable$set("useLatestObjectVersion", parameters.useLatestObjectVersion == null ? null : parameters.useLatestObjectVersion);
11859
+ };
11860
+ $jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest, module$exports$eeapiclient$domain_object.Serializable);
11861
+ module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getConstructor = function() {
11862
+ return module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest;
11863
+ };
11864
+ module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getPartialClassMetadata = function() {
11865
+ return {keys:["imageManifest", "overwrite", "useLatestObjectVersion"], objects:{imageManifest:module$exports$eeapiclient$ee_api_client.ImageManifest}};
11866
+ };
11867
+ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype, {imageManifest:{configurable:!0, enumerable:!0, get:function() {
11868
+ return this.Serializable$has("imageManifest") ? this.Serializable$get("imageManifest") : null;
11869
+ }, set:function(value) {
11870
+ this.Serializable$set("imageManifest", value);
11871
+ }}, overwrite:{configurable:!0, enumerable:!0, get:function() {
11872
+ return this.Serializable$has("overwrite") ? this.Serializable$get("overwrite") : null;
11873
+ }, set:function(value) {
11874
+ this.Serializable$set("overwrite", value);
11875
+ }}, useLatestObjectVersion:{configurable:!0, enumerable:!0, get:function() {
11876
+ return this.Serializable$has("useLatestObjectVersion") ? this.Serializable$get("useLatestObjectVersion") : null;
11877
+ }, set:function(value) {
11878
+ this.Serializable$set("useLatestObjectVersion", value);
11879
+ }}});
11880
+ module$exports$eeapiclient$ee_api_client.ImportExternalImageResponseParameters = function() {
11881
+ };
11882
+ module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse = function(parameters) {
11883
+ parameters = parameters === void 0 ? {} : parameters;
11884
+ module$exports$eeapiclient$domain_object.Serializable.call(this);
11885
+ };
11886
+ $jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse, module$exports$eeapiclient$domain_object.Serializable);
11887
+ module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getConstructor = function() {
11888
+ return module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse;
11889
+ };
11890
+ module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getPartialClassMetadata = function() {
11891
+ return {keys:[]};
11892
+ };
12169
11893
  module$exports$eeapiclient$ee_api_client.ImportImageRequestParameters = function() {
12170
11894
  };
12171
11895
  module$exports$eeapiclient$ee_api_client.ImportImageRequest = function(parameters) {
@@ -14708,6 +14432,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.im
14708
14432
  this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
14709
14433
  return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.image.import", path:"/" + this.gapiVersion + "/" + project + "/image:import", queryParams:module$contents$eeapiclient$request_params_buildQueryParams(namedParameters, module$contents$eeapiclient$ee_api_client_PARAM_MAP_0, passthroughNamedParameters), responseCtor:module$exports$eeapiclient$ee_api_client.Operation});
14710
14434
  };
14435
+ module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.importExternal = function(project, $requestBody, namedParameters, passthroughNamedParameters) {
14436
+ namedParameters = namedParameters === void 0 ? {} : namedParameters;
14437
+ passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
14438
+ this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
14439
+ return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.image.importExternal", path:"/" + this.gapiVersion + "/" + project + "/image:importExternal", queryParams:module$contents$eeapiclient$request_params_buildQueryParams(namedParameters, module$contents$eeapiclient$ee_api_client_PARAM_MAP_0, passthroughNamedParameters), responseCtor:module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse});
14440
+ };
14711
14441
  module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient = function() {
14712
14442
  };
14713
14443
  module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClient$XgafvEnum = function() {
@@ -15217,6 +14947,145 @@ module$contents$goog$async$FreeList_FreeList.prototype.occupants = function() {
15217
14947
  return this.occupants_;
15218
14948
  };
15219
14949
  goog.async.FreeList = module$contents$goog$async$FreeList_FreeList;
14950
+ goog.dom.HtmlElement = function() {
14951
+ };
14952
+ goog.dom.TagName = function() {
14953
+ };
14954
+ goog.dom.TagName.cast = function(name, type) {
14955
+ return name;
14956
+ };
14957
+ goog.dom.TagName.prototype.toString = function() {
14958
+ };
14959
+ goog.dom.TagName.A = "A";
14960
+ goog.dom.TagName.ABBR = "ABBR";
14961
+ goog.dom.TagName.ACRONYM = "ACRONYM";
14962
+ goog.dom.TagName.ADDRESS = "ADDRESS";
14963
+ goog.dom.TagName.APPLET = "APPLET";
14964
+ goog.dom.TagName.AREA = "AREA";
14965
+ goog.dom.TagName.ARTICLE = "ARTICLE";
14966
+ goog.dom.TagName.ASIDE = "ASIDE";
14967
+ goog.dom.TagName.AUDIO = "AUDIO";
14968
+ goog.dom.TagName.B = "B";
14969
+ goog.dom.TagName.BASE = "BASE";
14970
+ goog.dom.TagName.BASEFONT = "BASEFONT";
14971
+ goog.dom.TagName.BDI = "BDI";
14972
+ goog.dom.TagName.BDO = "BDO";
14973
+ goog.dom.TagName.BIG = "BIG";
14974
+ goog.dom.TagName.BLOCKQUOTE = "BLOCKQUOTE";
14975
+ goog.dom.TagName.BODY = "BODY";
14976
+ goog.dom.TagName.BR = "BR";
14977
+ goog.dom.TagName.BUTTON = "BUTTON";
14978
+ goog.dom.TagName.CANVAS = "CANVAS";
14979
+ goog.dom.TagName.CAPTION = "CAPTION";
14980
+ goog.dom.TagName.CENTER = "CENTER";
14981
+ goog.dom.TagName.CITE = "CITE";
14982
+ goog.dom.TagName.CODE = "CODE";
14983
+ goog.dom.TagName.COL = "COL";
14984
+ goog.dom.TagName.COLGROUP = "COLGROUP";
14985
+ goog.dom.TagName.COMMAND = "COMMAND";
14986
+ goog.dom.TagName.DATA = "DATA";
14987
+ goog.dom.TagName.DATALIST = "DATALIST";
14988
+ goog.dom.TagName.DD = "DD";
14989
+ goog.dom.TagName.DEL = "DEL";
14990
+ goog.dom.TagName.DETAILS = "DETAILS";
14991
+ goog.dom.TagName.DFN = "DFN";
14992
+ goog.dom.TagName.DIALOG = "DIALOG";
14993
+ goog.dom.TagName.DIR = "DIR";
14994
+ goog.dom.TagName.DIV = "DIV";
14995
+ goog.dom.TagName.DL = "DL";
14996
+ goog.dom.TagName.DT = "DT";
14997
+ goog.dom.TagName.EM = "EM";
14998
+ goog.dom.TagName.EMBED = "EMBED";
14999
+ goog.dom.TagName.FIELDSET = "FIELDSET";
15000
+ goog.dom.TagName.FIGCAPTION = "FIGCAPTION";
15001
+ goog.dom.TagName.FIGURE = "FIGURE";
15002
+ goog.dom.TagName.FONT = "FONT";
15003
+ goog.dom.TagName.FOOTER = "FOOTER";
15004
+ goog.dom.TagName.FORM = "FORM";
15005
+ goog.dom.TagName.FRAME = "FRAME";
15006
+ goog.dom.TagName.FRAMESET = "FRAMESET";
15007
+ goog.dom.TagName.H1 = "H1";
15008
+ goog.dom.TagName.H2 = "H2";
15009
+ goog.dom.TagName.H3 = "H3";
15010
+ goog.dom.TagName.H4 = "H4";
15011
+ goog.dom.TagName.H5 = "H5";
15012
+ goog.dom.TagName.H6 = "H6";
15013
+ goog.dom.TagName.HEAD = "HEAD";
15014
+ goog.dom.TagName.HEADER = "HEADER";
15015
+ goog.dom.TagName.HGROUP = "HGROUP";
15016
+ goog.dom.TagName.HR = "HR";
15017
+ goog.dom.TagName.HTML = "HTML";
15018
+ goog.dom.TagName.I = "I";
15019
+ goog.dom.TagName.IFRAME = "IFRAME";
15020
+ goog.dom.TagName.IMG = "IMG";
15021
+ goog.dom.TagName.INPUT = "INPUT";
15022
+ goog.dom.TagName.INS = "INS";
15023
+ goog.dom.TagName.ISINDEX = "ISINDEX";
15024
+ goog.dom.TagName.KBD = "KBD";
15025
+ goog.dom.TagName.KEYGEN = "KEYGEN";
15026
+ goog.dom.TagName.LABEL = "LABEL";
15027
+ goog.dom.TagName.LEGEND = "LEGEND";
15028
+ goog.dom.TagName.LI = "LI";
15029
+ goog.dom.TagName.LINK = "LINK";
15030
+ goog.dom.TagName.MAIN = "MAIN";
15031
+ goog.dom.TagName.MAP = "MAP";
15032
+ goog.dom.TagName.MARK = "MARK";
15033
+ goog.dom.TagName.MATH = "MATH";
15034
+ goog.dom.TagName.MENU = "MENU";
15035
+ goog.dom.TagName.MENUITEM = "MENUITEM";
15036
+ goog.dom.TagName.META = "META";
15037
+ goog.dom.TagName.METER = "METER";
15038
+ goog.dom.TagName.NAV = "NAV";
15039
+ goog.dom.TagName.NOFRAMES = "NOFRAMES";
15040
+ goog.dom.TagName.NOSCRIPT = "NOSCRIPT";
15041
+ goog.dom.TagName.OBJECT = "OBJECT";
15042
+ goog.dom.TagName.OL = "OL";
15043
+ goog.dom.TagName.OPTGROUP = "OPTGROUP";
15044
+ goog.dom.TagName.OPTION = "OPTION";
15045
+ goog.dom.TagName.OUTPUT = "OUTPUT";
15046
+ goog.dom.TagName.P = "P";
15047
+ goog.dom.TagName.PARAM = "PARAM";
15048
+ goog.dom.TagName.PICTURE = "PICTURE";
15049
+ goog.dom.TagName.PRE = "PRE";
15050
+ goog.dom.TagName.PROGRESS = "PROGRESS";
15051
+ goog.dom.TagName.Q = "Q";
15052
+ goog.dom.TagName.RP = "RP";
15053
+ goog.dom.TagName.RT = "RT";
15054
+ goog.dom.TagName.RTC = "RTC";
15055
+ goog.dom.TagName.RUBY = "RUBY";
15056
+ goog.dom.TagName.S = "S";
15057
+ goog.dom.TagName.SAMP = "SAMP";
15058
+ goog.dom.TagName.SCRIPT = "SCRIPT";
15059
+ goog.dom.TagName.SECTION = "SECTION";
15060
+ goog.dom.TagName.SELECT = "SELECT";
15061
+ goog.dom.TagName.SMALL = "SMALL";
15062
+ goog.dom.TagName.SOURCE = "SOURCE";
15063
+ goog.dom.TagName.SPAN = "SPAN";
15064
+ goog.dom.TagName.STRIKE = "STRIKE";
15065
+ goog.dom.TagName.STRONG = "STRONG";
15066
+ goog.dom.TagName.STYLE = "STYLE";
15067
+ goog.dom.TagName.SUB = "SUB";
15068
+ goog.dom.TagName.SUMMARY = "SUMMARY";
15069
+ goog.dom.TagName.SUP = "SUP";
15070
+ goog.dom.TagName.SVG = "SVG";
15071
+ goog.dom.TagName.TABLE = "TABLE";
15072
+ goog.dom.TagName.TBODY = "TBODY";
15073
+ goog.dom.TagName.TD = "TD";
15074
+ goog.dom.TagName.TEMPLATE = "TEMPLATE";
15075
+ goog.dom.TagName.TEXTAREA = "TEXTAREA";
15076
+ goog.dom.TagName.TFOOT = "TFOOT";
15077
+ goog.dom.TagName.TH = "TH";
15078
+ goog.dom.TagName.THEAD = "THEAD";
15079
+ goog.dom.TagName.TIME = "TIME";
15080
+ goog.dom.TagName.TITLE = "TITLE";
15081
+ goog.dom.TagName.TR = "TR";
15082
+ goog.dom.TagName.TRACK = "TRACK";
15083
+ goog.dom.TagName.TT = "TT";
15084
+ goog.dom.TagName.U = "U";
15085
+ goog.dom.TagName.UL = "UL";
15086
+ goog.dom.TagName.VAR = "VAR";
15087
+ goog.dom.TagName.VIDEO = "VIDEO";
15088
+ goog.dom.TagName.WBR = "WBR";
15220
15089
  goog.dom.element = {};
15221
15090
  var module$contents$goog$dom$element_isElement = function(value) {
15222
15091
  return goog.isObject(value) && value.nodeType === goog.dom.NodeType.ELEMENT;
@@ -15330,48 +15199,240 @@ goog.asserts.dom.assertIsHtmlTextAreaElement = function(value) {
15330
15199
  goog.asserts.dom.assertIsHtmlCanvasElement = function(value) {
15331
15200
  return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.CANVAS);
15332
15201
  };
15333
- goog.asserts.dom.assertIsHtmlEmbedElement = function(value) {
15334
- return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
15202
+ goog.asserts.dom.assertIsHtmlEmbedElement = function(value) {
15203
+ return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
15204
+ };
15205
+ goog.asserts.dom.assertIsHtmlFormElement = module$contents$goog$asserts$dom_assertIsHtmlFormElement;
15206
+ goog.asserts.dom.assertIsHtmlFrameElement = function(value) {
15207
+ return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
15208
+ };
15209
+ goog.asserts.dom.assertIsHtmlIFrameElement = module$contents$goog$asserts$dom_assertIsHtmlIFrameElement;
15210
+ goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
15211
+ return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
15212
+ };
15213
+ goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
15214
+ goog.dom.asserts = {};
15215
+ goog.dom.asserts.assertIsLocation = function(o) {
15216
+ if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
15217
+ var win = goog.dom.asserts.getWindow_(o);
15218
+ win && (!o || !(o instanceof win.Location) && o instanceof win.Element) && goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s", goog.dom.asserts.debugStringForType_(o));
15219
+ }
15220
+ return o;
15221
+ };
15222
+ goog.dom.asserts.debugStringForType_ = function(value) {
15223
+ if (goog.isObject(value)) {
15224
+ try {
15225
+ return value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value);
15226
+ } catch (e) {
15227
+ return "<object could not be stringified>";
15228
+ }
15229
+ } else {
15230
+ return value === void 0 ? "undefined" : value === null ? "null" : typeof value;
15231
+ }
15232
+ };
15233
+ goog.dom.asserts.getWindow_ = function(o) {
15234
+ try {
15235
+ var doc = o && o.ownerDocument, win = doc && (doc.defaultView || doc.parentWindow);
15236
+ win = win || goog.global;
15237
+ if (win.Element && win.Location) {
15238
+ return win;
15239
+ }
15240
+ } catch (ex) {
15241
+ }
15242
+ return null;
15243
+ };
15244
+ goog.dom.tags = {};
15245
+ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!0, hr:!0, img:!0, input:!0, keygen:!0, link:!0, meta:!0, param:!0, source:!0, track:!0, wbr:!0};
15246
+ goog.dom.tags.isVoidTag = function(tagName) {
15247
+ return goog.dom.tags.VOID_TAGS_[tagName] === !0;
15248
+ };
15249
+ module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
15250
+ return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
15251
+ };
15252
+ module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML = function(safeHtml) {
15253
+ return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml);
15254
+ };
15255
+ module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape = function(textOrHtml) {
15256
+ return textOrHtml instanceof module$exports$safevalues$internals$html_impl.SafeHtml ? textOrHtml : (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(goog.string.internal.htmlEscape(String(textOrHtml)));
15257
+ };
15258
+ module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscapePreservingNewlines = function(textOrHtml) {
15259
+ if (textOrHtml instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
15260
+ return textOrHtml;
15261
+ }
15262
+ var html = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(textOrHtml);
15263
+ return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(goog.string.internal.newLineToBr(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html)));
15264
+ };
15265
+ module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscapePreservingNewlinesAndSpaces = function(textOrHtml) {
15266
+ if (textOrHtml instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
15267
+ return textOrHtml;
15268
+ }
15269
+ var html = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(textOrHtml);
15270
+ return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(goog.string.internal.whitespaceEscape(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html)));
15271
+ };
15272
+ module$exports$safevalues$internals$html_impl.SafeHtml.create = function(tagName, attributes, content) {
15273
+ module$exports$safevalues$internals$html_impl.SafeHtml.verifyTagName(String(tagName));
15274
+ return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(tagName), attributes, content);
15275
+ };
15276
+ module$exports$safevalues$internals$html_impl.SafeHtml.verifyTagName = function(tagName) {
15277
+ if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(tagName)) {
15278
+ throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "Invalid tag name <" + tagName + ">." : "");
15279
+ }
15280
+ if (tagName.toUpperCase() in module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES) {
15281
+ throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "Tag name <" + tagName + "> is not allowed for SafeHtml." : "");
15282
+ }
15283
+ };
15284
+ module$exports$safevalues$internals$html_impl.SafeHtml.createIframe = function(src, srcdoc, attributes, content) {
15285
+ src && module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(src);
15286
+ var fixedAttributes = {};
15287
+ fixedAttributes.src = src || null;
15288
+ fixedAttributes.srcdoc = srcdoc && module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(srcdoc);
15289
+ var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes(fixedAttributes, {sandbox:""}, attributes);
15290
+ return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
15291
+ };
15292
+ module$exports$safevalues$internals$html_impl.SafeHtml.createSandboxIframe = function(src, srcdoc, attributes, content) {
15293
+ if (!module$exports$safevalues$internals$html_impl.SafeHtml.canUseSandboxIframe()) {
15294
+ throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "The browser does not support sandboxed iframes." : "");
15295
+ }
15296
+ var fixedAttributes = {};
15297
+ fixedAttributes.src = src ? module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(src)) : null;
15298
+ fixedAttributes.srcdoc = srcdoc || null;
15299
+ fixedAttributes.sandbox = "";
15300
+ var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
15301
+ return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
15302
+ };
15303
+ module$exports$safevalues$internals$html_impl.SafeHtml.canUseSandboxIframe = function() {
15304
+ return goog.global.HTMLIFrameElement && "sandbox" in goog.global.HTMLIFrameElement.prototype;
15305
+ };
15306
+ module$exports$safevalues$internals$html_impl.SafeHtml.createScriptSrc = function(src, attributes) {
15307
+ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(src);
15308
+ var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({src:src}, {}, attributes);
15309
+ return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
15310
+ };
15311
+ module$exports$safevalues$internals$html_impl.SafeHtml.createStyle = function(styleSheet, attributes) {
15312
+ var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
15313
+ styleSheet = module$contents$goog$array_concat(styleSheet);
15314
+ for (var i = 0; i < styleSheet.length; i++) {
15315
+ content += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(styleSheet[i]);
15316
+ }
15317
+ var htmlContent = (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content);
15318
+ return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
15319
+ };
15320
+ module$exports$safevalues$internals$html_impl.SafeHtml.createMetaRefresh = function(url, secs) {
15321
+ var unwrappedUrl = module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(url));
15322
+ return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
15335
15323
  };
15336
- goog.asserts.dom.assertIsHtmlFormElement = module$contents$goog$asserts$dom_assertIsHtmlFormElement;
15337
- goog.asserts.dom.assertIsHtmlFrameElement = function(value) {
15338
- return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
15324
+ module$exports$safevalues$internals$html_impl.SafeHtml.join = function(separator, parts) {
15325
+ var separatorHtml = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(separator), content = [], addArgument = function(argument) {
15326
+ if (Array.isArray(argument)) {
15327
+ argument.forEach(addArgument);
15328
+ } else {
15329
+ var html = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(argument);
15330
+ content.push(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html));
15331
+ }
15332
+ };
15333
+ parts.forEach(addArgument);
15334
+ return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content.join(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(separatorHtml)));
15339
15335
  };
15340
- goog.asserts.dom.assertIsHtmlIFrameElement = module$contents$goog$asserts$dom_assertIsHtmlIFrameElement;
15341
- goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
15342
- return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
15336
+ module$exports$safevalues$internals$html_impl.SafeHtml.concat = function(var_args) {
15337
+ return module$exports$safevalues$internals$html_impl.SafeHtml.join(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY, Array.prototype.slice.call(arguments));
15343
15338
  };
15344
- goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
15345
- goog.dom.asserts = {};
15346
- goog.dom.asserts.assertIsLocation = function(o) {
15347
- if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
15348
- var win = goog.dom.asserts.getWindow_(o);
15349
- win && (!o || !(o instanceof win.Location) && o instanceof win.Element) && goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s", goog.dom.asserts.debugStringForType_(o));
15339
+ module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse = function(tagName, attributes, content) {
15340
+ var result = "<" + tagName + module$exports$safevalues$internals$html_impl.SafeHtml.stringifyAttributes(tagName, attributes);
15341
+ content == null ? content = [] : Array.isArray(content) || (content = [content]);
15342
+ if (goog.dom.tags.isVoidTag(tagName.toLowerCase())) {
15343
+ goog.asserts.assert(!content.length, "Void tag <" + tagName + "> does not allow content."), result += ">";
15344
+ } else {
15345
+ var html = module$exports$safevalues$internals$html_impl.SafeHtml.concat(content);
15346
+ result += ">" + module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html) + "</" + tagName + ">";
15350
15347
  }
15351
- return o;
15348
+ return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(result);
15352
15349
  };
15353
- goog.dom.asserts.debugStringForType_ = function(value) {
15354
- if (goog.isObject(value)) {
15355
- try {
15356
- return value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value);
15357
- } catch (e) {
15358
- return "<object could not be stringified>";
15350
+ module$exports$safevalues$internals$html_impl.SafeHtml.stringifyAttributes = function(tagName, attributes) {
15351
+ var result = "";
15352
+ if (attributes) {
15353
+ for (var name in attributes) {
15354
+ if (Object.prototype.hasOwnProperty.call(attributes, name)) {
15355
+ if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(name)) {
15356
+ throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Invalid attribute name "' + name + '".' : "");
15357
+ }
15358
+ var value = attributes[name];
15359
+ value != null && (result += " " + module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value));
15360
+ }
15359
15361
  }
15360
- } else {
15361
- return value === void 0 ? "undefined" : value === null ? "null" : typeof value;
15362
15362
  }
15363
+ return result;
15363
15364
  };
15364
- goog.dom.asserts.getWindow_ = function(o) {
15365
- try {
15366
- var doc = o && o.ownerDocument, win = doc && (doc.defaultView || doc.parentWindow);
15367
- win = win || goog.global;
15368
- if (win.Element && win.Location) {
15369
- return win;
15365
+ module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes = function(fixedAttributes, defaultAttributes, attributes) {
15366
+ var combinedAttributes = {}, name;
15367
+ for (name in fixedAttributes) {
15368
+ Object.prototype.hasOwnProperty.call(fixedAttributes, name) && (goog.asserts.assert(name.toLowerCase() == name, "Must be lower case"), combinedAttributes[name] = fixedAttributes[name]);
15369
+ }
15370
+ for (var name$jscomp$0 in defaultAttributes) {
15371
+ Object.prototype.hasOwnProperty.call(defaultAttributes, name$jscomp$0) && (goog.asserts.assert(name$jscomp$0.toLowerCase() == name$jscomp$0, "Must be lower case"), combinedAttributes[name$jscomp$0] = defaultAttributes[name$jscomp$0]);
15372
+ }
15373
+ if (attributes) {
15374
+ for (var name$jscomp$1 in attributes) {
15375
+ if (Object.prototype.hasOwnProperty.call(attributes, name$jscomp$1)) {
15376
+ var nameLower = name$jscomp$1.toLowerCase();
15377
+ if (nameLower in fixedAttributes) {
15378
+ throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot override "' + nameLower + '" attribute, got "' + name$jscomp$1 + '" with value "' + attributes[name$jscomp$1] + '"' : "");
15379
+ }
15380
+ nameLower in defaultAttributes && delete combinedAttributes[nameLower];
15381
+ combinedAttributes[name$jscomp$1] = attributes[name$jscomp$1];
15382
+ }
15370
15383
  }
15371
- } catch (ex) {
15372
15384
  }
15373
- return null;
15385
+ return combinedAttributes;
15374
15386
  };
15387
+ module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES = goog.DEBUG;
15388
+ module$exports$safevalues$internals$html_impl.SafeHtml.SUPPORT_STYLE_ATTRIBUTE = !0;
15389
+ module$exports$safevalues$internals$html_impl.SafeHtml.from = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape;
15390
+ var module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG = /^[a-zA-Z0-9-]+$/, module$contents$goog$html$SafeHtml_URL_ATTRIBUTES = {action:!0, cite:!0, data:!0, formaction:!0, href:!0, manifest:!0, poster:!0, src:!0}, module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES = module$contents$goog$object_createSet(goog.dom.TagName.APPLET, goog.dom.TagName.BASE, goog.dom.TagName.EMBED, goog.dom.TagName.IFRAME, goog.dom.TagName.LINK, goog.dom.TagName.MATH, goog.dom.TagName.META, goog.dom.TagName.OBJECT,
15391
+ goog.dom.TagName.SCRIPT, goog.dom.TagName.STYLE, goog.dom.TagName.SVG, goog.dom.TagName.TEMPLATE);
15392
+ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value) {
15393
+ if (value instanceof goog.string.Const) {
15394
+ value = goog.string.Const.unwrap(value);
15395
+ } else if (name.toLowerCase() == "style") {
15396
+ if (module$exports$safevalues$internals$html_impl.SafeHtml.SUPPORT_STYLE_ATTRIBUTE) {
15397
+ value = module$contents$goog$html$SafeHtml_getStyleValue(value);
15398
+ } else {
15399
+ throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "style" not supported.' : "");
15400
+ }
15401
+ } else {
15402
+ if (/^on/i.test(name)) {
15403
+ throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" requires goog.string.Const value, "' + value + '" given.' : "");
15404
+ }
15405
+ if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
15406
+ if (value instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
15407
+ value = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(value);
15408
+ } else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
15409
+ value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
15410
+ } else if (typeof value === "string") {
15411
+ value = module$contents$safevalues$builders$url_builders_sanitizeUrl(value).toString();
15412
+ } else {
15413
+ throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires safevalues.SafeUrl, goog.string.Const, or string, value "' + value + '" given.' : "");
15414
+ }
15415
+ }
15416
+ }
15417
+ goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl || value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || value instanceof module$exports$safevalues$internals$html_impl.SafeHtml || typeof value === "string" || typeof value === "number", "String or number value expected, got " +
15418
+ typeof value + " with value: " + value);
15419
+ return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
15420
+ }
15421
+ function module$contents$goog$html$SafeHtml_getStyleValue(value) {
15422
+ if (!goog.isObject(value)) {
15423
+ throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof value + " given: " + value : "");
15424
+ }
15425
+ value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (value = module$exports$safevalues$internals$style_impl.SafeStyle.create(value));
15426
+ return module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(value);
15427
+ }
15428
+ module$exports$safevalues$internals$html_impl.SafeHtml.DOCTYPE_HTML = function() {
15429
+ return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)("<!DOCTYPE html>");
15430
+ }();
15431
+ module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY = module$exports$safevalues$for_closure$index.EMPTY_HTML;
15432
+ module$exports$safevalues$internals$html_impl.SafeHtml.BR = function() {
15433
+ return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)("<br>");
15434
+ }();
15435
+ goog.html.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
15375
15436
  var module$exports$safevalues$for_friends$index = {}, module$contents$safevalues$for_friends$index_module = module$contents$safevalues$for_friends$index_module || {id:"third_party/javascript/safevalues/for_friends/index.closure.js"};
15376
15437
  module$exports$safevalues$for_friends$index.IS_NOT_JAVASCRIPT_URL_PATTERN = module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN;
15377
15438
  module$exports$safevalues$for_friends$index.unwrapUrlOrSanitize = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize;
@@ -15598,8 +15659,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
15598
15659
  this.replacements = new Map();
15599
15660
  };
15600
15661
  module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
15601
- 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) {
15602
- return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
15662
+ 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) {
15663
+ return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
15603
15664
  });
15604
15665
  if (openedTags.length !== 0) {
15605
15666
  if (goog.DEBUG) {
@@ -15817,8 +15878,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
15817
15878
  if (Array.isArray(token)) {
15818
15879
  tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
15819
15880
  } else {
15820
- var $jscomp$optchain$tmpm583190311$0 = void 0;
15821
- 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) {
15881
+ var $jscomp$optchain$tmpm282935782$0 = void 0;
15882
+ 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) {
15822
15883
  tokens.push(token);
15823
15884
  if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
15824
15885
  return tokens;
@@ -16064,9 +16125,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
16064
16125
  repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
16065
16126
  };
16066
16127
  module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
16067
- var $jscomp$this$m583190311$26 = this;
16128
+ var $jscomp$this$m282935782$26 = this;
16068
16129
  return this.nextTwoInputCodePoints().every(function(c) {
16069
- return $jscomp$this$m583190311$26.isWhitespace(c);
16130
+ return $jscomp$this$m282935782$26.isWhitespace(c);
16070
16131
  });
16071
16132
  };
16072
16133
  module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
@@ -16173,8 +16234,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
16173
16234
  return null;
16174
16235
  }
16175
16236
  if (token.lowercaseName === "url") {
16176
- var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
16177
- if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
16237
+ var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
16238
+ if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
16178
16239
  return null;
16179
16240
  }
16180
16241
  var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
@@ -16197,8 +16258,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
16197
16258
  if (!this.allowKeyframes) {
16198
16259
  return null;
16199
16260
  }
16200
- 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()) {
16201
- var rule = $jscomp$key$m1877845113$1$rule.value;
16261
+ for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next()) {
16262
+ var rule = $jscomp$key$m1577590584$1$rule.value;
16202
16263
  if (rule instanceof CSSKeyframeRule) {
16203
16264
  var sanitizedRule = this.sanitizeKeyframeRule(rule);
16204
16265
  sanitizedRule && keyframeRules.push(sanitizedRule);
@@ -16210,8 +16271,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
16210
16271
  if (!this.propertyAllowlist.has(name)) {
16211
16272
  return !1;
16212
16273
  }
16213
- 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()) {
16214
- var discarder = $jscomp$key$m1877845113$2$discarder.value;
16274
+ for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next()) {
16275
+ var discarder = $jscomp$key$m1577590584$2$discarder.value;
16215
16276
  if (discarder(name)) {
16216
16277
  return !1;
16217
16278
  }
@@ -16226,8 +16287,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
16226
16287
  return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
16227
16288
  };
16228
16289
  module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
16229
- 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()) {
16230
- var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
16290
+ for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next()) {
16291
+ var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
16231
16292
  sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
16232
16293
  }
16233
16294
  return sanitizedProperties;
@@ -16241,8 +16302,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
16241
16302
  return selector + " { " + sanitizedProperties + " }";
16242
16303
  };
16243
16304
  module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
16244
- 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()) {
16245
- var rule = $jscomp$key$m1877845113$4$rule.value;
16305
+ for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next()) {
16306
+ var rule = $jscomp$key$m1577590584$4$rule.value;
16246
16307
  if (rule instanceof CSSStyleRule) {
16247
16308
  var sanitizedRule = this.sanitizeStyleRule(rule);
16248
16309
  sanitizedRule && output.push(sanitizedRule);
@@ -16265,6 +16326,9 @@ function module$contents$safevalues$builders$html_sanitizer$css$sanitizer_saniti
16265
16326
  return (new module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer(propertyAllowlist, functionAllowlist, resourceUrlPolicy, !1, propertyDiscarders)).sanitizeStyleAttribute(cssText);
16266
16327
  }
16267
16328
  module$exports$safevalues$builders$html_sanitizer$css$sanitizer.sanitizeStyleAttribute = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute;
16329
+ var module$exports$safevalues$builders$html_sanitizer$css$css_isolation = {}, module$contents$safevalues$builders$html_sanitizer$css$css_isolation_module = module$contents$safevalues$builders$html_sanitizer$css$css_isolation_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/css_isolation.closure.js"};
16330
+ module$exports$safevalues$builders$html_sanitizer$css$css_isolation.CSS_ISOLATION_PROPERTIES = "display:inline-block;clip-path:inset(0);overflow:hidden;vertical-align:top;text-decoration:inherit";
16331
+ module$exports$safevalues$builders$html_sanitizer$css$css_isolation.CSS_ISOLATION_STYLESHEET = ":host{" + module$exports$safevalues$builders$html_sanitizer$css$css_isolation.CSS_ISOLATION_PROPERTIES + "}";
16268
16332
  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"};
16269
16333
  function module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(dirtyHtml, inertDocument) {
16270
16334
  if (goog.DEBUG && inertDocument.defaultView) {
@@ -16370,7 +16434,6 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
16370
16434
  this.styleElementSanitizer = styleElementSanitizer;
16371
16435
  this.styleAttributeSanitizer = styleAttributeSanitizer;
16372
16436
  this.resourceUrlPolicy = resourceUrlPolicy;
16373
- this.SHADOW_DOM_INTERNAL_CSS = ":host{display:block;clip-path:inset(0);overflow:hidden}";
16374
16437
  this.changes = [];
16375
16438
  module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
16376
16439
  };
@@ -16392,7 +16455,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
16392
16455
  };
16393
16456
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeWithCssToFragment = function(htmlWithCss, inertDocument) {
16394
16457
  var elem = document.createElement("safevalues-with-css"), shadow = elem.attachShadow({mode:"closed"}), sanitized = this.sanitizeToFragmentInternal(htmlWithCss, inertDocument), internalStyle = document.createElement("style");
16395
- internalStyle.textContent = this.SHADOW_DOM_INTERNAL_CSS;
16458
+ internalStyle.textContent = module$exports$safevalues$builders$html_sanitizer$css$css_isolation.CSS_ISOLATION_STYLESHEET;
16396
16459
  internalStyle.id = "safevalues-internal-style";
16397
16460
  shadow.appendChild(internalStyle);
16398
16461
  shadow.appendChild(sanitized);
@@ -16401,8 +16464,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
16401
16464
  return fragment;
16402
16465
  };
16403
16466
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
16404
- 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) {
16405
- return $jscomp$this$m1803429925$13.nodeFilter(n);
16467
+ 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) {
16468
+ return $jscomp$this$m1085474118$13.nodeFilter(n);
16406
16469
  }), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
16407
16470
  var sanitizedNode = void 0;
16408
16471
  if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
@@ -16437,8 +16500,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
16437
16500
  return this.createTextNode(textNode.data);
16438
16501
  };
16439
16502
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
16440
- 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()) {
16441
- 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);
16503
+ for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
16504
+ 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);
16442
16505
  if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
16443
16506
  switch(policy.policyAction) {
16444
16507
  case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
@@ -16470,9 +16533,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
16470
16533
  break;
16471
16534
  case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
16472
16535
  if (this.resourceUrlPolicy) {
16473
- 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 =
16536
+ for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
16474
16537
  $jscomp$iter$35.next()) {
16475
- 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);
16538
+ 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);
16476
16539
  sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
16477
16540
  }
16478
16541
  module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
@@ -16516,8 +16579,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
16516
16579
  if (!conditions) {
16517
16580
  return !0;
16518
16581
  }
16519
- 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()) {
16520
- 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;
16582
+ for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
16583
+ 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;
16521
16584
  if (value && !expectedValues.has(value)) {
16522
16585
  return !1;
16523
16586
  }
@@ -16532,8 +16595,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
16532
16595
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
16533
16596
  };
16534
16597
  function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
16535
- 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()) {
16536
- 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;
16598
+ for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
16599
+ 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;
16537
16600
  parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
16538
16601
  }
16539
16602
  return {parts:parts};
@@ -16590,8 +16653,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
16590
16653
  this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
16591
16654
  };
16592
16655
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
16593
- 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()) {
16594
- var element = $jscomp$key$m1412690177$21$element.value;
16656
+ 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()) {
16657
+ var element = $jscomp$key$435282654$21$element.value;
16595
16658
  element = element.toUpperCase();
16596
16659
  if (!this.sanitizerTable.isAllowedElement(element)) {
16597
16660
  throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
@@ -16609,8 +16672,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
16609
16672
  throw Error("Element: " + element + " is not a custom element");
16610
16673
  }
16611
16674
  if (allowedAttributes) {
16612
- 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()) {
16613
- elementPolicy.set($jscomp$key$m1412690177$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
16675
+ 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()) {
16676
+ elementPolicy.set($jscomp$key$435282654$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
16614
16677
  }
16615
16678
  allowedElementPolicies.set(element, elementPolicy);
16616
16679
  } else {
@@ -16620,15 +16683,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
16620
16683
  return this;
16621
16684
  };
16622
16685
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
16623
- 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()) {
16624
- var attribute = $jscomp$key$m1412690177$23$attribute.value;
16686
+ 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()) {
16687
+ var attribute = $jscomp$key$435282654$23$attribute.value;
16625
16688
  this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
16626
16689
  this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
16627
16690
  }
16628
- 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()) {
16629
- 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$ =
16691
+ 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()) {
16692
+ 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$ =
16630
16693
  $jscomp$iter$42.next()) {
16631
- 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;
16694
+ 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;
16632
16695
  attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
16633
16696
  }
16634
16697
  elementPolicies.set(elementName, newElementPolicy);
@@ -16637,8 +16700,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
16637
16700
  return this;
16638
16701
  };
16639
16702
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
16640
- 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()) {
16641
- var attribute = $jscomp$key$m1412690177$26$attribute.value;
16703
+ 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()) {
16704
+ var attribute = $jscomp$key$435282654$26$attribute.value;
16642
16705
  if (attribute.indexOf("data-") !== 0) {
16643
16706
  throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
16644
16707
  }
@@ -16700,7 +16763,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
16700
16763
  return this;
16701
16764
  };
16702
16765
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
16703
- var $jscomp$this$m1412690177$17 = this;
16766
+ var $jscomp$this$435282654$17 = this;
16704
16767
  this.extendSanitizerTableForCss();
16705
16768
  var propertyDiscarders = [];
16706
16769
  this.animationsAllowed || propertyDiscarders.push(function(property) {
@@ -16710,9 +16773,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
16710
16773
  return /^transition(-|$)/.test(property);
16711
16774
  });
16712
16775
  return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
16713
- 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);
16776
+ 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);
16714
16777
  }, function(cssText) {
16715
- 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);
16778
+ 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);
16716
16779
  }, this.resourceUrlPolicy);
16717
16780
  };
16718
16781
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
@@ -16772,9 +16835,11 @@ function module$contents$safevalues$builders$resource_url_builders_isValidPathSt
16772
16835
  function module$contents$safevalues$builders$resource_url_builders_isValidRelativePathStart(base) {
16773
16836
  return RegExp("^[^:\\s\\\\/]+/").test(base);
16774
16837
  }
16838
+ function module$contents$safevalues$builders$resource_url_builders_UrlSegments() {
16839
+ }
16775
16840
  function module$contents$safevalues$builders$resource_url_builders_getUrlSegments(url) {
16776
- var segments = url.split(/\?|#/), params = /\?/.test(url) ? "?" + segments[1] : "";
16777
- return {path:segments[0], params:params, hash:/#/.test(url) ? "#" + (params ? segments[2] : segments[1]) : ""};
16841
+ var parts = url.split(/\?|#/), params = /\?/.test(url) ? "?" + parts[1] : "";
16842
+ return {urlPath:parts[0], params:params, fragment:/#/.test(url) ? "#" + (params ? parts[2] : parts[1]) : ""};
16778
16843
  }
16779
16844
  function module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl(templateObj) {
16780
16845
  var rest = $jscomp.getRestArguments.apply(1, arguments);
@@ -16797,26 +16862,36 @@ function module$contents$safevalues$builders$resource_url_builders_trustedResour
16797
16862
  return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url);
16798
16863
  }
16799
16864
  module$exports$safevalues$builders$resource_url_builders.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
16865
+ var module$contents$safevalues$builders$resource_url_builders_IterableEntries, module$contents$safevalues$builders$resource_url_builders_SearchParams;
16800
16866
  function module$contents$safevalues$builders$resource_url_builders_appendParams(trustedUrl, params) {
16867
+ function addParam(value, key) {
16868
+ value != null && (module$contents$safevalues$builders$resource_url_builders_isArray(value) ? value.forEach(function(v) {
16869
+ return addParam(v, key);
16870
+ }) : (urlParams += separator + encodeURIComponent(key) + "=" + encodeURIComponent(value), separator = "&"));
16871
+ }
16801
16872
  var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), urlParams = urlSegments.params, separator = urlParams.length ? "&" : "?";
16802
- params.forEach(function(value, key) {
16803
- for (var values = value instanceof Array ? value : [value], i = 0; i < values.length; i++) {
16804
- var v = values[i];
16805
- v !== null && v !== void 0 && (urlParams += separator + encodeURIComponent(key) + "=" + encodeURIComponent(String(v)), separator = "&");
16806
- }
16807
- });
16808
- return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(urlSegments.path + urlParams + urlSegments.hash);
16873
+ module$contents$safevalues$builders$resource_url_builders_isPlainObject(params) && (params = Object.entries(params));
16874
+ module$contents$safevalues$builders$resource_url_builders_isArray(params) ? params.forEach(function(pair) {
16875
+ return addParam(pair[1], pair[0]);
16876
+ }) : params.forEach(addParam);
16877
+ return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(urlSegments.urlPath + urlParams + urlSegments.fragment);
16809
16878
  }
16810
16879
  module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
16880
+ function module$contents$safevalues$builders$resource_url_builders_isArray(x) {
16881
+ return Array.isArray(x);
16882
+ }
16883
+ function module$contents$safevalues$builders$resource_url_builders_isPlainObject(x) {
16884
+ return x.constructor === Object;
16885
+ }
16811
16886
  var module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP = /[^#]*/;
16812
16887
  function module$contents$safevalues$builders$resource_url_builders_replaceFragment(trustedUrl, fragment) {
16813
16888
  var urlString = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString();
16814
- return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP.exec(urlString)[0] + "#" + fragment);
16889
+ return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP.exec(urlString)[0] + (fragment.trim() ? "#" + fragment : ""));
16815
16890
  }
16816
16891
  module$exports$safevalues$builders$resource_url_builders.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
16817
16892
  function module$contents$safevalues$builders$resource_url_builders_appendPathSegment(trustedUrl, pathSegment) {
16818
- var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), separator = urlSegments.path.slice(-1) === "/" ? "" : "/", newPath = urlSegments.path + separator + encodeURIComponent(pathSegment);
16819
- return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(newPath + urlSegments.params + urlSegments.hash);
16893
+ var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), separator = urlSegments.urlPath.slice(-1) === "/" ? "" : "/", newPath = urlSegments.urlPath + separator + encodeURIComponent(pathSegment);
16894
+ return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(newPath + urlSegments.params + urlSegments.fragment);
16820
16895
  }
16821
16896
  module$exports$safevalues$builders$resource_url_builders.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
16822
16897
  function module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript(safeScript) {
@@ -16941,12 +17016,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
16941
17016
  }
16942
17017
  try {
16943
17018
  module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
16944
- } catch ($jscomp$unused$catch$442189172$0) {
17019
+ } catch ($jscomp$unused$catch$696273141$0) {
16945
17020
  return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
16946
17021
  }
16947
17022
  try {
16948
17023
  module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
16949
- } catch ($jscomp$unused$catch$442189172$1) {
17024
+ } catch ($jscomp$unused$catch$696273141$1) {
16950
17025
  return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
16951
17026
  }
16952
17027
  return !1;
@@ -17021,7 +17096,7 @@ module$exports$safevalues$index.EMPTY_HTML = module$exports$safevalues$internals
17021
17096
  module$exports$safevalues$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
17022
17097
  module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
17023
17098
  module$exports$safevalues$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
17024
- module$exports$safevalues$index.TrustedResourceUrl = goog.html.TrustedResourceUrl;
17099
+ module$exports$safevalues$index.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
17025
17100
  module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
17026
17101
  module$exports$safevalues$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
17027
17102
  module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
@@ -17043,7 +17118,7 @@ module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safe
17043
17118
  goog.dom.safe = {};
17044
17119
  goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
17045
17120
  goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
17046
- node.insertAdjacentHTML(position, module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html));
17121
+ node.insertAdjacentHTML(position, module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html));
17047
17122
  };
17048
17123
  goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0, TEMPLATE:!0};
17049
17124
  goog.dom.safe.isInnerHtmlCleanupRecursive_ = goog.functions.cacheReturnValue(function() {
@@ -17057,7 +17132,7 @@ goog.dom.safe.isInnerHtmlCleanupRecursive_ = goog.functions.cacheReturnValue(fun
17057
17132
  return !1;
17058
17133
  }
17059
17134
  var innerChild = div.firstChild.firstChild;
17060
- div.innerHTML = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(module$contents$goog$html$SafeHtml_SafeHtml.EMPTY);
17135
+ div.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY);
17061
17136
  return !innerChild.parentElement;
17062
17137
  });
17063
17138
  goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
@@ -17066,7 +17141,7 @@ goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
17066
17141
  elem.removeChild(elem.lastChild);
17067
17142
  }
17068
17143
  }
17069
- elem.innerHTML = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
17144
+ elem.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
17070
17145
  };
17071
17146
  goog.dom.safe.setInnerHtml = function(elem, html) {
17072
17147
  if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
@@ -17078,13 +17153,13 @@ goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
17078
17153
  goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
17079
17154
  };
17080
17155
  goog.dom.safe.setOuterHtml = function(elem, html) {
17081
- elem.outerHTML = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
17156
+ elem.outerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
17082
17157
  };
17083
17158
  goog.dom.safe.setFormElementAction = function(form, url) {
17084
17159
  module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17085
17160
  };
17086
17161
  goog.dom.safe.documentWrite = function(doc, html) {
17087
- doc.write(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html));
17162
+ doc.write(module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html));
17088
17163
  };
17089
17164
  goog.dom.safe.setAnchorHref = function(anchor, url) {
17090
17165
  module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(anchor);
@@ -17092,24 +17167,24 @@ goog.dom.safe.setAnchorHref = function(anchor, url) {
17092
17167
  };
17093
17168
  goog.dom.safe.setIframeSrc = function(iframe, url) {
17094
17169
  module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
17095
- iframe.src = goog.html.TrustedResourceUrl.unwrap(url);
17170
+ iframe.src = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url);
17096
17171
  };
17097
17172
  goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
17098
17173
  module$contents$goog$asserts$dom_assertIsHtmlLinkElement(link);
17099
17174
  link.rel = rel;
17100
17175
  if (goog.string.internal.caseInsensitiveContains(rel, "stylesheet")) {
17101
- goog.asserts.assert(url instanceof goog.html.TrustedResourceUrl, 'URL must be TrustedResourceUrl because "rel" contains "stylesheet"');
17102
- link.href = goog.html.TrustedResourceUrl.unwrap(url);
17176
+ goog.asserts.assert(url instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl, 'URL must be TrustedResourceUrl because "rel" contains "stylesheet"');
17177
+ link.href = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url);
17103
17178
  var nonce = goog.dom.safe.getStyleNonce(link.ownerDocument && link.ownerDocument.defaultView);
17104
17179
  nonce && link.setAttribute("nonce", nonce);
17105
17180
  } else {
17106
- link.href = url instanceof goog.html.TrustedResourceUrl ? goog.html.TrustedResourceUrl.unwrap(url) : goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17181
+ link.href = url instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl ? module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url) : goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17107
17182
  }
17108
17183
  };
17109
17184
  goog.dom.safe.setScriptSrc = function(script, url) {
17110
17185
  module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
17111
17186
  goog.dom.safe.setNonceForScriptElement_(script);
17112
- script.src = goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(url);
17187
+ script.src = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(url);
17113
17188
  };
17114
17189
  goog.dom.safe.setNonceForScriptElement_ = function(script) {
17115
17190
  var nonce = goog.dom.safe.getScriptNonce(script.ownerDocument && script.ownerDocument.defaultView);
@@ -17134,7 +17209,7 @@ goog.dom.safe.parseFromStringHtml = function(parser, html) {
17134
17209
  return goog.dom.safe.parseFromString(parser, html, "text/html");
17135
17210
  };
17136
17211
  goog.dom.safe.parseFromString = function(parser, content, type) {
17137
- return parser.parseFromString(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(content), type);
17212
+ return parser.parseFromString(module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(content), type);
17138
17213
  };
17139
17214
  goog.dom.safe.createImageFromBlob = function(blob) {
17140
17215
  if (!/^image\/.*/g.test(blob.type)) {
@@ -17460,7 +17535,7 @@ goog.dom.getWindow = function(opt_doc) {
17460
17535
  return opt_doc ? goog.dom.getWindow_(opt_doc) : window;
17461
17536
  };
17462
17537
  goog.dom.getWindow_ = function(doc) {
17463
- return doc.parentWindow || doc.defaultView;
17538
+ return doc.defaultView;
17464
17539
  };
17465
17540
  goog.dom.createDom = function(tagName, opt_attributes, var_args) {
17466
17541
  return goog.dom.createDom_(document, arguments);
@@ -19029,6 +19104,82 @@ goog.async.Deferred.assertNoErrors = function() {
19029
19104
  error.throwError();
19030
19105
  }
19031
19106
  };
19107
+ safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
19108
+ safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
19109
+ safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
19110
+ safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
19111
+ safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
19112
+ safevalues.createHtml = module$exports$safevalues$index.createHtml;
19113
+ safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
19114
+ safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
19115
+ safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
19116
+ safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
19117
+ safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
19118
+ safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
19119
+ safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
19120
+ safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
19121
+ safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
19122
+ safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
19123
+ safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
19124
+ safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
19125
+ safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
19126
+ safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
19127
+ safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
19128
+ safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
19129
+ safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
19130
+ safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
19131
+ safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
19132
+ safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
19133
+ safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
19134
+ safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
19135
+ safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
19136
+ safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
19137
+ safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
19138
+ safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
19139
+ safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
19140
+ safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
19141
+ safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
19142
+ safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
19143
+ safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
19144
+ safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
19145
+ safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
19146
+ safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
19147
+ safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
19148
+ safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
19149
+ safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
19150
+ safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
19151
+ safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
19152
+ safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
19153
+ safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
19154
+ safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
19155
+ safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
19156
+ safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
19157
+ safevalues.Scheme = module$exports$safevalues$index.Scheme;
19158
+ safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
19159
+ safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
19160
+ safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
19161
+ safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
19162
+ safevalues.isHtml = module$exports$safevalues$index.isHtml;
19163
+ safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
19164
+ safevalues.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
19165
+ safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
19166
+ safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
19167
+ safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
19168
+ safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
19169
+ safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
19170
+ safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
19171
+ safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
19172
+ safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
19173
+ safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
19174
+ safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
19175
+ safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
19176
+ safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
19177
+ safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
19178
+ safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
19179
+ safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
19180
+ safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
19181
+ safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
19182
+ safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
19032
19183
  goog.net = {};
19033
19184
  goog.net.jsloader = {};
19034
19185
  goog.net.jsloader.Options = {};
@@ -19054,7 +19205,7 @@ goog.net.jsloader.safeLoadMany = function(trustedUris, opt_options) {
19054
19205
  return goog.net.jsloader.scriptLoadingDeferred_;
19055
19206
  };
19056
19207
  goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
19057
- var options = opt_options || {}, doc = options.document || document, uri = goog.html.TrustedResourceUrl.unwrap(trustedUri), script = (new goog.dom.DomHelper(doc)).createElement(goog.dom.TagName.SCRIPT), request = {script_:script, timeout_:void 0}, deferred = new goog.async.Deferred(goog.net.jsloader.cancel_, request), timeout = null, timeoutDuration = options.timeout != null ? options.timeout : goog.net.jsloader.DEFAULT_TIMEOUT;
19208
+ var options = opt_options || {}, doc = options.document || document, uri = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUri).toString(), script = (new goog.dom.DomHelper(doc)).createElement(goog.dom.TagName.SCRIPT), request = {script_:script, timeout_:void 0}, deferred = new goog.async.Deferred(goog.net.jsloader.cancel_, request), timeout = null, timeoutDuration = options.timeout != null ? options.timeout : goog.net.jsloader.DEFAULT_TIMEOUT;
19058
19209
  timeoutDuration > 0 && (timeout = window.setTimeout(function() {
19059
19210
  goog.net.jsloader.cleanup_(script, !0);
19060
19211
  deferred.errback(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.TIMEOUT, "Timeout reached for loading script " + uri));
@@ -19069,13 +19220,13 @@ goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
19069
19220
  var properties = options.attributes || {};
19070
19221
  module$contents$goog$object_extend(properties, {type:"text/javascript", charset:"UTF-8"});
19071
19222
  goog.dom.setProperties(script, properties);
19072
- goog.dom.safe.setScriptSrc(script, trustedUri);
19223
+ module$exports$safevalues$dom$elements$script.setSrc(script, trustedUri);
19073
19224
  goog.net.jsloader.getScriptParentElement_(doc).appendChild(script);
19074
19225
  return deferred;
19075
19226
  };
19076
19227
  goog.net.jsloader.safeLoadAndVerify = function(trustedUri, verificationObjName, options) {
19077
19228
  goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] || (goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] = {});
19078
- var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = goog.html.TrustedResourceUrl.unwrap(trustedUri);
19229
+ var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUri).toString();
19079
19230
  if (verifyObjs[verificationObjName] !== void 0) {
19080
19231
  return goog.async.Deferred.fail(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.VERIFY_OBJECT_ALREADY_EXISTS, "Verification object " + verificationObjName + " already defined."));
19081
19232
  }
@@ -19735,87 +19886,11 @@ goog.net.XhrIo.prototype.formatMsg_ = function(msg) {
19735
19886
  goog.debug.entryPointRegistry.register(function(transformer) {
19736
19887
  goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_ = transformer(goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_);
19737
19888
  });
19738
- safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
19739
- safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
19740
- safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
19741
- safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
19742
- safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
19743
- safevalues.createHtml = module$exports$safevalues$index.createHtml;
19744
- safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
19745
- safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
19746
- safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
19747
- safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
19748
- safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
19749
- safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
19750
- safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
19751
- safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
19752
- safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
19753
- safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
19754
- safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
19755
- safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
19756
- safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
19757
- safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
19758
- safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
19759
- safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
19760
- safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
19761
- safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
19762
- safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
19763
- safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
19764
- safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
19765
- safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
19766
- safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
19767
- safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
19768
- safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
19769
- safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
19770
- safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
19771
- safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
19772
- safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
19773
- safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
19774
- safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
19775
- safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
19776
- safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
19777
- safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
19778
- safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
19779
- safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
19780
- safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
19781
- safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
19782
- safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
19783
- safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
19784
- safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
19785
- safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
19786
- safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
19787
- safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
19788
- safevalues.Scheme = module$exports$safevalues$index.Scheme;
19789
- safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
19790
- safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
19791
- safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
19792
- safevalues.SafeHtml = module$exports$safevalues$index.SafeHtml;
19793
- safevalues.isHtml = module$exports$safevalues$index.isHtml;
19794
- safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
19795
- safevalues.TrustedResourceUrl = goog.html.TrustedResourceUrl;
19796
- safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
19797
- safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
19798
- safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
19799
- safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
19800
- safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
19801
- safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
19802
- safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
19803
- safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
19804
- safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
19805
- safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
19806
- safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
19807
- safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
19808
- safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
19809
- safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
19810
- safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
19811
- safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
19812
- safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
19813
- safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
19814
19889
  var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
19815
19890
  ee.apiclient = {};
19816
19891
  var module$contents$ee$apiclient_apiclient = {};
19817
19892
  ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
19818
- ee.apiclient.API_CLIENT_VERSION = "0.1.417";
19893
+ ee.apiclient.API_CLIENT_VERSION = "0.1.419";
19819
19894
  ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
19820
19895
  ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
19821
19896
  ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
@@ -20113,8 +20188,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
20113
20188
  var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
20114
20189
  body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
20115
20190
  method = method || "POST";
20116
- var headers = {"Content-Type":contentType}, version = "0.1.417";
20117
- version === "0.1.417" && (version = "latest");
20191
+ var headers = {"Content-Type":contentType}, version = "0.1.419";
20192
+ version === "0.1.419" && (version = "latest");
20118
20193
  headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
20119
20194
  var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
20120
20195
  if (authToken != null) {
@@ -26175,7 +26250,7 @@ goog.style.installSafeStyleSheet = function(safeStyleSheet, opt_node) {
26175
26250
  head = dh.createDom(goog.dom.TagName.HEAD);
26176
26251
  body.parentNode.insertBefore(head, body);
26177
26252
  }
26178
- var el = dh.createDom(goog.dom.TagName.STYLE), nonce = goog.dom.safe.getStyleNonce();
26253
+ var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$exports$safevalues$dom$globals$window.getStyleNonce(window);
26179
26254
  nonce && el.setAttribute("nonce", nonce);
26180
26255
  goog.style.setSafeStyleSheet(el, safeStyleSheet);
26181
26256
  dh.appendChild(head, el);
@@ -26185,7 +26260,7 @@ goog.style.uninstallStyles = function(styleSheet) {
26185
26260
  goog.dom.removeNode(styleSheet.ownerNode || styleSheet.owningElement || styleSheet);
26186
26261
  };
26187
26262
  goog.style.setSafeStyleSheet = function(element, safeStyleSheet) {
26188
- var stylesString = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(safeStyleSheet);
26263
+ var stylesString = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
26189
26264
  goog.global.trustedTypes ? goog.dom.setTextContent(element, stylesString) : element.innerHTML = stylesString;
26190
26265
  };
26191
26266
  goog.style.setPreWrap = function(el) {
@@ -27643,29 +27718,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
27643
27718
  ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
27644
27719
  ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
27645
27720
  (function() {
27646
- 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(" "),
27647
- 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",
27648
- "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(" "),
27649
- "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(" "),
27650
- "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(" "),
27651
- ["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"],
27652
- ["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",
27653
- "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",
27654
- "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",
27655
- "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",
27656
- "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"],
27657
- ["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",
27658
- "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"],
27659
- [], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
27660
- [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,
27661
- 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,
27662
- 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,
27663
- 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,
27664
- 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,
27665
- 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,
27666
- 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,
27667
- 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,
27668
- 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) {
27721
+ var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.filter ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.setWorkloadTag ee.data.authenticate ee.data.getTileUrl ee.data.getTableDownloadId ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.listImages ee.data.listOperations ee.data.getDownloadId ee.data.getAssetRoots ee.data.cancelOperation ee.data.authenticateViaPopup ee.data.getAsset ee.data.createAssetHome ee.data.makeDownloadUrl ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.setDefaultWorkloadTag ee.data.getInfo ee.data.createAsset ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.updateAsset ee.data.newTaskId ee.data.computeValue ee.data.getThumbId ee.data.cancelTask ee.data.getList ee.data.createFolder ee.data.setAssetAcl ee.data.getVideoThumbId ee.data.startIngestion ee.data.updateTask ee.data.getTaskStatus ee.data.renameAsset ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.listAssets ee.data.setAssetProperties ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.copyAsset ee.data.listBuckets ee.data.getAssetRootQuota ee.data.getMapId ee.data.deleteAsset ee.data.getTaskList ee.data.startTableIngestion ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.Filter.neq ee.Filter.and ee.Filter.lt ee.Filter.gt ee.Filter.metadata ee.Filter.inList ee.Filter.prototype.not ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSON ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.prototype.toGeoJSONString ee.Geometry ee.Geometry.LineString ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry.Polygon ee.Geometry.MultiLineString ee.Image.prototype.getThumbURL ee.Image.prototype.select ee.Image ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.cat ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.clip ee.Image.prototype.getMapId ee.Image.prototype.getInfo ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.String ee.Terrain".split(" "),
27722
+ 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(" "),
27723
+ "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(" "),
27724
+ "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(" "),
27725
+ ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
27726
+ ["property", "opt_ascending"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["name", "operator", "value"], ["max", "opt_property", "opt_ascending"], ["geometry"], ["start", "opt_end"], ["filter"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["tag"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id", "x", "y", "z"], ["params", "opt_callback"], ["assetId", "opt_callback"], [], ["id"], ["opt_limit", "opt_callback"], ["parent",
27727
+ "opt_params", "opt_callback"], ["opt_limit", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["operationName", "opt_callback"], ["opt_success", "opt_error"], ["id", "opt_callback"], ["requestedId", "opt_callback"], ["id"], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["tag"], ["id", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["opt_resetDefault"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"],
27728
+ ["operationName", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["opt_count", "opt_callback"], ["obj", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["params",
27729
+ "opt_callback"], ["taskId", "params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["rootId", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["opt_callback"], ["taskId", "request", "opt_callback"], ["date", "opt_tz"],
27730
+ ["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"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"],
27731
+ ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["var_args"], ["name", "value"], ["name", "value"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["geometry", "opt_errorMargin"], ["var_args"], ["namedArgs"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["west",
27732
+ "south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], [], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["params", "opt_callback"], ["var_args"], ["opt_args"],
27733
+ ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["r", "g", "b"], ["var_args"], ["expression", "opt_map"], ["var_args"], ["geometry"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"],
27734
+ [], ["list"], ["number"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
27735
+ [ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset,
27736
+ module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, ee.Collection.prototype.sort, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.limit, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterDate, ee.Collection.prototype.filter, ee.ComputedObject.prototype.aside,
27737
+ ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.setWorkloadTag, ee.data.authenticate, ee.data.getTileUrl, ee.data.getTableDownloadId, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.listImages, ee.data.listOperations, ee.data.getDownloadId, ee.data.getAssetRoots, ee.data.cancelOperation, ee.data.authenticateViaPopup, ee.data.getAsset, ee.data.createAssetHome,
27738
+ ee.data.makeDownloadUrl, ee.data.getFeatureViewTilesKey, ee.data.listFeatures, ee.data.setDefaultWorkloadTag, ee.data.getInfo, ee.data.createAsset, ee.data.resetWorkloadTag, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.updateAsset, ee.data.newTaskId, ee.data.computeValue, ee.data.getThumbId, ee.data.cancelTask, ee.data.getList, ee.data.createFolder, ee.data.setAssetAcl, ee.data.getVideoThumbId, ee.data.startIngestion, ee.data.updateTask, ee.data.getTaskStatus, ee.data.renameAsset,
27739
+ ee.data.getFilmstripThumbId, ee.data.startProcessing, ee.data.listAssets, ee.data.setAssetProperties, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.copyAsset, ee.data.listBuckets, ee.data.getAssetRootQuota, ee.data.getMapId, ee.data.deleteAsset, ee.data.getTaskList, ee.data.startTableIngestion, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.InitState, ee.apply, ee.TILE_SIZE, ee.initialize,
27740
+ ee.call, ee.reset, ee.Algorithms, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.Filter.neq, ee.Filter.and, ee.Filter.lt, ee.Filter.gt, ee.Filter.metadata, ee.Filter.inList,
27741
+ ee.Filter.prototype.not, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.bounds, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSON, ee.Geometry.BBox, ee.Geometry.MultiPoint, ee.Geometry.Rectangle, ee.Geometry.prototype.toGeoJSONString, ee.Geometry, ee.Geometry.LineString, ee.Geometry.Point, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry.Polygon, ee.Geometry.MultiLineString,
27742
+ ee.Image.prototype.getThumbURL, ee.Image.prototype.select, ee.Image, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.cat, ee.Image.prototype.expression, ee.Image.prototype.rename, ee.Image.prototype.clip, ee.Image.prototype.getMapId, ee.Image.prototype.getInfo, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection,
27743
+ ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
27669
27744
  fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
27670
27745
  });
27671
27746
  goog.global.EXPORTED_FN_INFO = exportedFnInfo;