@google/earthengine 0.1.419 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/main.js CHANGED
@@ -131,10 +131,11 @@ $jscomp.iteratorPrototype = function(next) {
131
131
  return iterator;
132
132
  };
133
133
  $jscomp.createTemplateTagFirstArg = function(arrayStrings) {
134
- return arrayStrings.raw = arrayStrings;
134
+ return $jscomp.createTemplateTagFirstArgWithRaw(arrayStrings, arrayStrings);
135
135
  };
136
136
  $jscomp.createTemplateTagFirstArgWithRaw = function(arrayStrings, rawArrayStrings) {
137
137
  arrayStrings.raw = rawArrayStrings;
138
+ Object.freeze && (Object.freeze(arrayStrings), Object.freeze(rawArrayStrings));
138
139
  return arrayStrings;
139
140
  };
140
141
  $jscomp.makeIterator = function(iterable) {
@@ -766,28 +767,9 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
766
767
  });
767
768
  };
768
769
  }, "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");
770
+ $jscomp.polyfill("globalThis", function(orig) {
771
+ return orig || $jscomp.global;
772
+ }, "es_2020", "es3");
791
773
  $jscomp.checkEs6ConformanceViaProxy = function() {
792
774
  try {
793
775
  var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
@@ -1093,6 +1075,15 @@ $jscomp.polyfill("Array.prototype.entries", function(orig) {
1093
1075
  });
1094
1076
  };
1095
1077
  }, "es6", "es3");
1078
+ $jscomp.checkStringArgs = function(thisArg, arg, func) {
1079
+ if (thisArg == null) {
1080
+ throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
1081
+ }
1082
+ if (arg instanceof RegExp) {
1083
+ throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
1084
+ }
1085
+ return thisArg + "";
1086
+ };
1096
1087
  $jscomp.polyfill("String.prototype.startsWith", function(orig) {
1097
1088
  return orig ? orig : function(searchString, opt_position) {
1098
1089
  var string = $jscomp.checkStringArgs(this, searchString, "startsWith");
@@ -1105,6 +1096,19 @@ $jscomp.polyfill("String.prototype.startsWith", function(orig) {
1105
1096
  return j >= searchLen;
1106
1097
  };
1107
1098
  }, "es6", "es3");
1099
+ $jscomp.polyfill("String.prototype.endsWith", function(orig) {
1100
+ return orig ? orig : function(searchString, opt_position) {
1101
+ var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
1102
+ searchString += "";
1103
+ opt_position === void 0 && (opt_position = string.length);
1104
+ for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
1105
+ if (string[--i] != searchString[--j]) {
1106
+ return !1;
1107
+ }
1108
+ }
1109
+ return j <= 0;
1110
+ };
1111
+ }, "es6", "es3");
1108
1112
  $jscomp.polyfill("Number.isFinite", function(orig) {
1109
1113
  return orig ? orig : function(x) {
1110
1114
  return typeof x !== "number" ? !1 : !isNaN(x) && x !== Infinity && x !== -Infinity;
@@ -1251,7 +1255,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
1251
1255
  return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
1252
1256
  };
1253
1257
  }, "es8", "es3");
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,
1258
+ var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable:!1, GoogFlags__jspb_enable_low_index_extension_writes__disable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__enable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1,
1255
1259
  GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
1256
1260
  /*
1257
1261
 
@@ -2787,227 +2791,77 @@ var module$contents$safevalues$internals$pure_module = module$contents$safevalue
2787
2791
  function module$contents$safevalues$internals$pure_pure(valueOf) {
2788
2792
  return {valueOf:valueOf}.valueOf();
2789
2793
  }
2790
- ;goog.debug = {};
2791
- function module$contents$goog$debug$Error_DebugError(msg, cause) {
2792
- if (Error.captureStackTrace) {
2793
- Error.captureStackTrace(this, module$contents$goog$debug$Error_DebugError);
2794
- } else {
2795
- var stack = Error().stack;
2796
- stack && (this.stack = stack);
2794
+ ;var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
2795
+ module$exports$safevalues$internals$secrets.secretToken = {};
2796
+ function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
2797
+ if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
2798
+ throw Error("Bad secret");
2797
2799
  }
2798
- msg && (this.message = String(msg));
2799
- cause !== void 0 && (this.cause = cause);
2800
- this.reportErrorToServer = !0;
2801
2800
  }
2802
- goog.inherits(module$contents$goog$debug$Error_DebugError, Error);
2803
- module$contents$goog$debug$Error_DebugError.prototype.name = "CustomError";
2804
- goog.debug.Error = module$contents$goog$debug$Error_DebugError;
2805
- goog.dom = {};
2806
- goog.dom.NodeType = {ELEMENT:1, ATTRIBUTE:2, TEXT:3, CDATA_SECTION:4, ENTITY_REFERENCE:5, ENTITY:6, PROCESSING_INSTRUCTION:7, COMMENT:8, DOCUMENT:9, DOCUMENT_TYPE:10, DOCUMENT_FRAGMENT:11, NOTATION:12};
2807
- goog.asserts = {};
2808
- goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
2809
- function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
2810
- module$contents$goog$debug$Error_DebugError.call(this, module$contents$goog$asserts_subs(messagePattern, messageArgs));
2811
- this.messagePattern = messagePattern;
2812
- }
2813
- goog.inherits(module$contents$goog$asserts_AssertionError, module$contents$goog$debug$Error_DebugError);
2814
- goog.asserts.AssertionError = module$contents$goog$asserts_AssertionError;
2815
- module$contents$goog$asserts_AssertionError.prototype.name = "AssertionError";
2816
- goog.asserts.DEFAULT_ERROR_HANDLER = function(e) {
2817
- throw e;
2818
- };
2819
- var module$contents$goog$asserts_errorHandler_ = goog.asserts.DEFAULT_ERROR_HANDLER;
2820
- function module$contents$goog$asserts_subs(pattern, subs) {
2821
- for (var splitParts = pattern.split("%s"), returnString = "", subLast = splitParts.length - 1, i = 0; i < subLast; i++) {
2822
- returnString += splitParts[i] + (i < subs.length ? subs[i] : "%s");
2801
+ module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
2802
+ var module$exports$safevalues$internals$trusted_types = {}, module$contents$safevalues$internals$trusted_types_module = module$contents$safevalues$internals$trusted_types_module || {id:"third_party/javascript/safevalues/internals/trusted_types.closure.js"}, module$contents$safevalues$internals$trusted_types_configuredPolicyName = goog.TRUSTED_TYPES_POLICY_NAME ? goog.TRUSTED_TYPES_POLICY_NAME +
2803
+ "#html" : "", module$contents$safevalues$internals$trusted_types_policyName = module$contents$safevalues$internals$trusted_types_configuredPolicyName;
2804
+ module$exports$safevalues$internals$trusted_types.trustedTypes = globalThis.trustedTypes;
2805
+ var module$contents$safevalues$internals$trusted_types_trustedTypesInternal = module$exports$safevalues$internals$trusted_types.trustedTypes, module$contents$safevalues$internals$trusted_types_policy;
2806
+ function module$contents$safevalues$internals$trusted_types_createPolicy() {
2807
+ var policy = null;
2808
+ if (module$contents$safevalues$internals$trusted_types_policyName === "" || !module$contents$safevalues$internals$trusted_types_trustedTypesInternal) {
2809
+ return policy;
2823
2810
  }
2824
- return returnString + splitParts[subLast];
2825
- }
2826
- function module$contents$goog$asserts_doAssertFailure(defaultMessage, defaultArgs, givenMessage, givenArgs) {
2827
- var message = "Assertion failed";
2828
- if (givenMessage) {
2829
- message += ": " + givenMessage;
2830
- var args = givenArgs;
2831
- } else {
2832
- defaultMessage && (message += ": " + defaultMessage, args = defaultArgs);
2811
+ try {
2812
+ var identity = function(x) {
2813
+ return x;
2814
+ };
2815
+ policy = module$contents$safevalues$internals$trusted_types_trustedTypesInternal.createPolicy(module$contents$safevalues$internals$trusted_types_policyName, {createHTML:identity, createScript:identity, createScriptURL:identity});
2816
+ } catch (e) {
2817
+ if (goog.DEBUG) {
2818
+ throw e;
2819
+ }
2833
2820
  }
2834
- var e = new module$contents$goog$asserts_AssertionError("" + message, args || []);
2835
- module$contents$goog$asserts_errorHandler_(e);
2821
+ return policy;
2836
2822
  }
2837
- goog.asserts.setErrorHandler = function(errorHandler) {
2838
- module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && (module$contents$goog$asserts_errorHandler_ = errorHandler);
2839
- };
2840
- goog.asserts.assert = function(condition, opt_message, var_args) {
2841
- module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !condition && module$contents$goog$asserts_doAssertFailure("", null, opt_message, Array.prototype.slice.call(arguments, 2));
2842
- return condition;
2843
- };
2844
- goog.asserts.assertExists = function(value, opt_message, var_args) {
2845
- module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && value == null && module$contents$goog$asserts_doAssertFailure("Expected to exist: %s.", [value], opt_message, Array.prototype.slice.call(arguments, 2));
2846
- return value;
2847
- };
2848
- goog.asserts.fail = function(opt_message, var_args) {
2849
- module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && module$contents$goog$asserts_errorHandler_(new module$contents$goog$asserts_AssertionError("Failure" + (opt_message ? ": " + opt_message : ""), Array.prototype.slice.call(arguments, 1)));
2850
- };
2851
- goog.asserts.assertNumber = function(value, opt_message, var_args) {
2852
- module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "number" && module$contents$goog$asserts_doAssertFailure("Expected number but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
2853
- return value;
2854
- };
2855
- goog.asserts.assertString = function(value, opt_message, var_args) {
2856
- module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "string" && module$contents$goog$asserts_doAssertFailure("Expected string but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
2857
- return value;
2858
- };
2859
- goog.asserts.assertFunction = function(value, opt_message, var_args) {
2860
- module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "function" && module$contents$goog$asserts_doAssertFailure("Expected function but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
2861
- return value;
2862
- };
2863
- goog.asserts.assertObject = function(value, opt_message, var_args) {
2864
- module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !goog.isObject(value) && module$contents$goog$asserts_doAssertFailure("Expected object but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
2865
- return value;
2866
- };
2867
- goog.asserts.assertArray = function(value, opt_message, var_args) {
2868
- module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !Array.isArray(value) && module$contents$goog$asserts_doAssertFailure("Expected array but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
2869
- return value;
2870
- };
2871
- goog.asserts.assertBoolean = function(value, opt_message, var_args) {
2872
- module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "boolean" && module$contents$goog$asserts_doAssertFailure("Expected boolean but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
2873
- return value;
2874
- };
2875
- goog.asserts.assertElement = function(value, opt_message, var_args) {
2876
- !module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog.dom.NodeType.ELEMENT || module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
2877
- return value;
2823
+ function module$contents$safevalues$internals$trusted_types_getPolicy() {
2824
+ module$contents$safevalues$internals$trusted_types_policy === void 0 && (module$contents$safevalues$internals$trusted_types_policy = module$contents$safevalues$internals$trusted_types_createPolicy());
2825
+ return module$contents$safevalues$internals$trusted_types_policy;
2826
+ }
2827
+ module$exports$safevalues$internals$trusted_types.getPolicy = module$contents$safevalues$internals$trusted_types_getPolicy;
2828
+ module$exports$safevalues$internals$trusted_types.TEST_ONLY = {setPolicyName:function(name) {
2829
+ module$contents$safevalues$internals$trusted_types_policyName = name;
2830
+ }, setTrustedTypes:function(mockTrustedTypes) {
2831
+ module$contents$safevalues$internals$trusted_types_trustedTypesInternal = mockTrustedTypes;
2832
+ }, resetDefaults:function() {
2833
+ module$contents$safevalues$internals$trusted_types_policy = void 0;
2834
+ module$contents$safevalues$internals$trusted_types_policyName = module$contents$safevalues$internals$trusted_types_configuredPolicyName;
2835
+ module$contents$safevalues$internals$trusted_types_trustedTypesInternal = module$exports$safevalues$internals$trusted_types.trustedTypes;
2836
+ }};
2837
+ var module$exports$safevalues$internals$resource_url_impl = {}, module$contents$safevalues$internals$resource_url_impl_module = module$contents$safevalues$internals$resource_url_impl_module || {id:"third_party/javascript/safevalues/internals/resource_url_impl.closure.js"};
2838
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = function(token, value) {
2839
+ goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
2840
+ this.privateDoNotAccessOrElseWrappedResourceUrl = value;
2878
2841
  };
2879
- goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
2880
- !module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || value instanceof type || module$contents$goog$asserts_doAssertFailure("Expected instanceof %s but got %s.", [module$contents$goog$asserts_getType(type), module$contents$goog$asserts_getType(value)], opt_message, Array.prototype.slice.call(arguments, 3));
2881
- return value;
2842
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.prototype.toString = function() {
2843
+ return this.privateDoNotAccessOrElseWrappedResourceUrl + "";
2882
2844
  };
2883
- goog.asserts.assertFinite = function(value, opt_message, var_args) {
2884
- !module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || typeof value == "number" && isFinite(value) || module$contents$goog$asserts_doAssertFailure("Expected %s to be a finite number but it is not.", [value], opt_message, Array.prototype.slice.call(arguments, 2));
2885
- return value;
2886
- };
2887
- function module$contents$goog$asserts_getType(value) {
2888
- return value instanceof Function ? value.displayName || value.name || "unknown type name" : value instanceof Object ? value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value) : value === null ? "null" : typeof value;
2845
+ var module$contents$safevalues$internals$resource_url_impl_ResourceUrlImpl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
2846
+ function module$contents$safevalues$internals$resource_url_impl_constructResourceUrl(value) {
2847
+ return new module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl(module$exports$safevalues$internals$secrets.secretToken, value);
2889
2848
  }
2890
- ;goog.html = {};
2891
- goog.html.trustedtypes = {};
2892
- goog.html.trustedtypes.POLICY_NAME = goog.TRUSTED_TYPES_POLICY_NAME ? goog.TRUSTED_TYPES_POLICY_NAME + "#html" : "";
2893
- goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse = function() {
2894
- if (!goog.html.trustedtypes.POLICY_NAME) {
2895
- return null;
2896
- }
2897
- goog.html.trustedtypes.cachedPolicy_ === void 0 && (goog.html.trustedtypes.cachedPolicy_ = goog.createTrustedTypesPolicy(goog.html.trustedtypes.POLICY_NAME));
2898
- return goog.html.trustedtypes.cachedPolicy_;
2899
- };
2900
- goog.string.Const = function(opt_token, opt_content) {
2901
- this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
2902
- this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
2903
- };
2904
- goog.string.Const.prototype.toString = function() {
2905
- return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
2906
- };
2907
- goog.string.Const.unwrap = function(stringConst) {
2908
- if (stringConst instanceof goog.string.Const && stringConst.constructor === goog.string.Const && stringConst.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_) {
2909
- return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
2910
- }
2911
- goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
2912
- return "type_error:Const";
2913
- };
2914
- goog.string.Const.from = function(s) {
2915
- return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
2916
- };
2917
- goog.string.Const.TYPE_MARKER_ = {};
2918
- goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
2919
- goog.string.Const.EMPTY = goog.string.Const.from("");
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_) {
2922
- throw Error("TrustedResourceUrl is not meant to be built directly");
2923
- }
2924
- this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = value;
2925
- };
2926
- module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.toString = function() {
2927
- return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
2928
- };
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
- };
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));
2935
- };
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) {
2941
- return trustedResourceUrl.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;
2942
- }
2943
- goog.asserts.fail("expected object of type TrustedResourceUrl, got '%s' of type %s", trustedResourceUrl, goog.typeOf(trustedResourceUrl));
2944
- return "type_error:TrustedResourceUrl";
2945
- };
2946
- module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format = function(format, args) {
2947
- var formatStr = goog.string.Const.unwrap(format);
2948
- if (!module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_.test(formatStr)) {
2949
- throw Error("Invalid TrustedResourceUrl format: " + formatStr);
2950
- }
2951
- var result = formatStr.replace(module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_, function(match, id) {
2952
- if (!Object.prototype.hasOwnProperty.call(args, id)) {
2953
- throw Error('Found marker, "' + id + '", in format string, "' + formatStr + '", but no valid label mapping found in args: ' + JSON.stringify(args));
2954
- }
2955
- var arg = args[id];
2956
- return arg instanceof goog.string.Const ? goog.string.Const.unwrap(arg) : encodeURIComponent(String(arg));
2957
- });
2958
- return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(result);
2959
- };
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);
2965
- };
2966
- module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstant = function(url) {
2967
- return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
2968
- };
2969
- module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstants = function(parts) {
2970
- for (var unwrapped = "", i = 0; i < parts.length; i++) {
2971
- unwrapped += goog.string.Const.unwrap(parts[i]);
2972
- }
2973
- return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(unwrapped);
2974
- };
2975
- module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(url) {
2976
- var noinlineUrl = url, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), value = policy ? policy.createScriptURL(noinlineUrl) : noinlineUrl;
2977
- return new module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl(value, module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_);
2978
- };
2979
- module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_ = function(prefix, currentString, params) {
2980
- if (params == null) {
2981
- return currentString;
2982
- }
2983
- if (typeof params === "string") {
2984
- return params ? prefix + encodeURIComponent(params) : "";
2985
- }
2986
- for (var key in params) {
2987
- if (Object.prototype.hasOwnProperty.call(params, key)) {
2988
- for (var value = params[key], outputValues = Array.isArray(value) ? value : [value], i = 0; i < outputValues.length; i++) {
2989
- var outputValue = outputValues[i];
2990
- outputValue != null && (currentString || (currentString = prefix), currentString += (currentString.length > prefix.length ? "&" : "") + encodeURIComponent(key) + "=" + encodeURIComponent(String(outputValue)));
2991
- }
2992
- }
2993
- }
2994
- return currentString;
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;
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"};
3000
- module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
3001
- function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
3002
- return (0,module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl)(url);
2849
+ function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(value) {
2850
+ var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
2851
+ return module$contents$safevalues$internals$resource_url_impl_constructResourceUrl(policy ? policy.createScriptURL(noinlineValue) : noinlineValue);
3003
2852
  }
3004
2853
  module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
3005
2854
  function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
3006
- return value instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
2855
+ return value instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
3007
2856
  }
3008
2857
  module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
3009
2858
  function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
3010
- return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(value);
2859
+ if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value)) {
2860
+ return value.privateDoNotAccessOrElseWrappedResourceUrl;
2861
+ }
2862
+ var message = "";
2863
+ goog.DEBUG && (message = "Unexpected type when unwrapping TrustedResourceUrl");
2864
+ throw Error(message);
3011
2865
  }
3012
2866
  module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
3013
2867
  var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
@@ -3037,15 +2891,7 @@ function module$contents$safevalues$internals$string_literal_isTemplateObject(te
3037
2891
  return Array.isArray(templateObj) && Array.isArray(templateObj.raw) && templateObj.length === templateObj.raw.length && (module$contents$safevalues$internals$string_literal_isTranspiled || templateObj !== templateObj.raw) && (module$contents$safevalues$internals$string_literal_isTranspiled && !module$contents$safevalues$internals$string_literal_frozenTSA || module$contents$safevalues$internals$string_literal_checkFrozen(templateObj)) ?
3038
2892
  !0 : !1;
3039
2893
  }
3040
- ;var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
3041
- module$exports$safevalues$internals$secrets.secretToken = {};
3042
- function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
3043
- if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
3044
- throw Error("Bad secret");
3045
- }
3046
- }
3047
- module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
3048
- var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
2894
+ ;var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
3049
2895
  module$exports$safevalues$internals$url_impl.SafeUrl = function(token, value) {
3050
2896
  goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
3051
2897
  this.privateDoNotAccessOrElseWrappedUrl = value;
@@ -3302,7 +3148,7 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
3302
3148
  throw Error(message);
3303
3149
  }
3304
3150
  module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
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;
3151
+ var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
3306
3152
  module$exports$safevalues$internals$html_impl.SafeHtml = function(token, value) {
3307
3153
  goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
3308
3154
  this.privateDoNotAccessOrElseWrappedHtml = value;
@@ -3315,11 +3161,11 @@ function module$contents$safevalues$internals$html_impl_constructHtml(value) {
3315
3161
  return new module$exports$safevalues$internals$html_impl.SafeHtml(module$exports$safevalues$internals$secrets.secretToken, value);
3316
3162
  }
3317
3163
  module$exports$safevalues$internals$html_impl.createHtmlInternal = function(value) {
3318
- var noinlineValue = value, policy = (0,goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse)();
3164
+ var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
3319
3165
  return module$contents$safevalues$internals$html_impl_constructHtml(policy ? policy.createHTML(noinlineValue) : noinlineValue);
3320
3166
  };
3321
3167
  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 : "");
3168
+ return module$contents$safevalues$internals$html_impl_constructHtml(module$exports$safevalues$internals$trusted_types.trustedTypes ? module$exports$safevalues$internals$trusted_types.trustedTypes.emptyHTML : "");
3323
3169
  });
3324
3170
  function module$contents$safevalues$internals$html_impl_isHtml(value) {
3325
3171
  return value instanceof module$exports$safevalues$internals$html_impl.SafeHtml;
@@ -3464,7 +3310,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
3464
3310
  element.removeAttribute("srcdoc");
3465
3311
  switch(intent) {
3466
3312
  case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
3467
- if (src instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
3313
+ if (src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
3468
3314
  throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
3469
3315
  }
3470
3316
  module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
@@ -3472,7 +3318,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
3472
3318
  sanitizedUrl !== void 0 && (element.src = sanitizedUrl);
3473
3319
  break;
3474
3320
  case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
3475
- if (!(src instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl)) {
3321
+ if (!(src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl)) {
3476
3322
  throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError(typeof src, module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
3477
3323
  }
3478
3324
  module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
@@ -3480,7 +3326,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
3480
3326
  module$contents$safevalues$dom$elements$iframe_setSrc(element, src);
3481
3327
  break;
3482
3328
  case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
3483
- if (src instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
3329
+ if (src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
3484
3330
  throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT);
3485
3331
  }
3486
3332
  module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
@@ -3564,7 +3410,7 @@ function module$contents$safevalues$dom$globals$window_getNonceFor(elementName,
3564
3410
  var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
3565
3411
  return el ? el.nonce || el.getAttribute("nonce") || "" : "";
3566
3412
  }
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;
3413
+ ;var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"};
3568
3414
  module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
3569
3415
  goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
3570
3416
  this.privateDoNotAccessOrElseWrappedScript = value;
@@ -3577,12 +3423,12 @@ function module$contents$safevalues$internals$script_impl_constructScript(value)
3577
3423
  return new module$exports$safevalues$internals$script_impl.SafeScript(module$exports$safevalues$internals$secrets.secretToken, value);
3578
3424
  }
3579
3425
  function module$contents$safevalues$internals$script_impl_createScriptInternal(value) {
3580
- var noinlineValue = value, policy = (0,goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse)();
3426
+ var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
3581
3427
  return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(noinlineValue) : noinlineValue);
3582
3428
  }
3583
3429
  module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
3584
3430
  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 : "");
3431
+ return module$contents$safevalues$internals$script_impl_constructScript(module$exports$safevalues$internals$trusted_types.trustedTypes ? module$exports$safevalues$internals$trusted_types.trustedTypes.emptyScript : "");
3586
3432
  });
3587
3433
  function module$contents$safevalues$internals$script_impl_isScript(value) {
3588
3434
  return value instanceof module$exports$safevalues$internals$script_impl.SafeScript;
@@ -3608,207 +3454,32 @@ module$exports$safevalues$dom$elements$script.setTextContent = function(script,
3608
3454
  };
3609
3455
  module$exports$safevalues$dom$elements$script.setSrc = function(script, v, options) {
3610
3456
  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
- };
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"};
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;
3619
- module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
3620
- module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
3621
- module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
3622
- module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
3623
- module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
3624
- var module$exports$safevalues$for_closure = {};
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;
3630
- module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
3631
- module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
3632
- module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
3633
- module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
3634
- module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
3635
- module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
3636
- var styleString = goog.string.Const.unwrap(style);
3637
- if (styleString.length === 0) {
3638
- return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
3639
- }
3640
- (0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
3641
- (0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
3642
- return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
3643
- };
3644
- module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
3645
- return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
3646
- };
3647
- module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
3648
- var style = "", name;
3649
- for (name in map) {
3650
- if (Object.prototype.hasOwnProperty.call(map, name)) {
3651
- if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
3652
- throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
3653
- }
3654
- var value = map[name];
3655
- value != null && (value = Array.isArray(value) ? value.map(module$contents$goog$html$SafeStyle_sanitizePropertyValue).join(" ") : module$contents$goog$html$SafeStyle_sanitizePropertyValue(value), style += name + ":" + value + ";");
3656
- }
3657
- }
3658
- return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
3659
- };
3660
- module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
3661
- var style = "", addArgument = function(argument) {
3662
- Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
3663
- };
3664
- Array.prototype.forEach.call(arguments, addArgument);
3665
- return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
3666
- };
3667
- module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
3668
- module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
3669
- function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
3670
- if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
3671
- return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
3672
- }
3673
- var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
3674
- if (/[{;}]/.test(result)) {
3675
- throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
3676
- }
3677
- return result;
3678
- }
3679
- function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
3680
- var valueWithoutFunctions = value.replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_URL_RE, "url");
3681
- if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
3682
- if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
3683
- return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
3684
- }
3685
- if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
3686
- return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
3687
- }
3688
- if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
3689
- return (0,goog.asserts.fail)("String value requires balanced square brackets and one identifier per pair of brackets, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
3690
- }
3691
- } else {
3692
- return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
3693
- }
3694
- return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
3695
- }
3696
- function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
3697
- for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
3698
- var c = value.charAt(i);
3699
- c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
3700
- }
3701
- return outsideSingle && outsideDouble;
3702
- }
3703
- function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
3704
- for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
3705
- var c = value.charAt(i);
3706
- if (c == "]") {
3707
- if (outside) {
3708
- return !1;
3709
- }
3710
- outside = !0;
3711
- } else if (c == "[") {
3712
- if (!outside) {
3713
- return !1;
3714
- }
3715
- outside = !1;
3716
- } else if (!outside && !tokenRe.test(c)) {
3717
- return !1;
3718
- }
3719
- }
3720
- return outside;
3721
- }
3722
- var module$contents$goog$html$SafeStyle_VALUE_RE = RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"), module$contents$goog$html$SafeStyle_URL_RE = RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))", "g"), module$contents$goog$html$SafeStyle_FUNCTIONS_RE = RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)", "g"), module$contents$goog$html$SafeStyle_COMMENT_RE =
3723
- /\/\*/;
3724
- function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
3725
- return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
3726
- var quote = "";
3727
- url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
3728
- quote = start;
3729
- return inside;
3730
- });
3731
- var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
3732
- return before + quote + sanitized + quote + after;
3733
- });
3734
- }
3735
- goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
3736
- var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
3737
- if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
3738
- throw Error("SafeStyleSheet is not meant to be built directly");
3739
- }
3740
- this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
3741
- };
3742
- module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
3743
- return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString();
3744
- };
3745
- module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(selector, style) {
3746
- if ((0,goog.string.internal.contains)(selector, "<")) {
3747
- throw Error("Selector does not allow '<', got: " + selector);
3748
- }
3749
- var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
3750
- if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
3751
- throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
3752
- }
3753
- if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
3754
- throw Error("() and [] in selector must be balanced, got: " + selector);
3755
- }
3756
- style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
3757
- var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
3758
- return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
3759
- };
3760
- module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
3761
- for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
3762
- var ch = s[i];
3763
- if (brackets[ch]) {
3764
- expectedBrackets.push(brackets[ch]);
3765
- } else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
3766
- return !1;
3767
- }
3768
- }
3769
- return expectedBrackets.length == 0;
3770
- };
3771
- module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat = function(var_args) {
3772
- var result = "", addArgument = function(argument) {
3773
- Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(argument);
3774
- };
3775
- Array.prototype.forEach.call(arguments, addArgument);
3776
- return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(result);
3777
- };
3778
- module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant = function(styleSheet) {
3779
- var styleSheetString = goog.string.Const.unwrap(styleSheet);
3780
- if (styleSheetString.length === 0) {
3781
- return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY;
3782
- }
3783
- (0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
3784
- return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheetString);
3457
+ (options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
3785
3458
  };
3786
- module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap = function(safeStyleSheet) {
3787
- if (safeStyleSheet instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet && safeStyleSheet.constructor === module$contents$goog$html$SafeStyleSheet_SafeStyleSheet) {
3788
- return safeStyleSheet.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;
3789
- }
3790
- (0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '" + safeStyleSheet + "' of type " + goog.typeOf(safeStyleSheet));
3791
- return "type_error:SafeStyleSheet";
3459
+ 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"};
3460
+ module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = function(token, value) {
3461
+ goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
3462
+ this.privateDoNotAccessOrElseWrappedStyleSheet = value;
3792
3463
  };
3793
- module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse = function(styleSheet) {
3794
- return new module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(styleSheet, module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE);
3464
+ module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.prototype.toString = function() {
3465
+ return this.privateDoNotAccessOrElseWrappedStyleSheet;
3795
3466
  };
3796
- module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse("");
3797
- goog.html.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
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);
3467
+ var module$contents$safevalues$internals$style_sheet_impl_StyleSheetImpl = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
3468
+ function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(value) {
3469
+ return new module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet(module$exports$safevalues$internals$secrets.secretToken, value);
3804
3470
  }
3805
3471
  module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
3806
3472
  function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
3807
- return value instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
3473
+ return value instanceof module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
3808
3474
  }
3809
3475
  module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
3810
3476
  function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
3811
- return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(value);
3477
+ if (module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value)) {
3478
+ return value.privateDoNotAccessOrElseWrappedStyleSheet;
3479
+ }
3480
+ var message = "";
3481
+ goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyleSheet, got '" + value + "' of type '" + typeof value + "'");
3482
+ throw Error(message);
3812
3483
  }
3813
3484
  module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
3814
3485
  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"};
@@ -3825,7 +3496,107 @@ module$exports$safevalues$dom$elements$svg.setAttribute = function(svg, attr, va
3825
3496
  }
3826
3497
  svg.setAttribute(attr, value);
3827
3498
  };
3828
- goog.array = {};
3499
+ goog.debug = {};
3500
+ function module$contents$goog$debug$Error_DebugError(msg, cause) {
3501
+ if (Error.captureStackTrace) {
3502
+ Error.captureStackTrace(this, module$contents$goog$debug$Error_DebugError);
3503
+ } else {
3504
+ var stack = Error().stack;
3505
+ stack && (this.stack = stack);
3506
+ }
3507
+ msg && (this.message = String(msg));
3508
+ cause !== void 0 && (this.cause = cause);
3509
+ this.reportErrorToServer = !0;
3510
+ }
3511
+ goog.inherits(module$contents$goog$debug$Error_DebugError, Error);
3512
+ module$contents$goog$debug$Error_DebugError.prototype.name = "CustomError";
3513
+ goog.debug.Error = module$contents$goog$debug$Error_DebugError;
3514
+ goog.dom = {};
3515
+ goog.dom.NodeType = {ELEMENT:1, ATTRIBUTE:2, TEXT:3, CDATA_SECTION:4, ENTITY_REFERENCE:5, ENTITY:6, PROCESSING_INSTRUCTION:7, COMMENT:8, DOCUMENT:9, DOCUMENT_TYPE:10, DOCUMENT_FRAGMENT:11, NOTATION:12};
3516
+ goog.asserts = {};
3517
+ goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
3518
+ function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
3519
+ module$contents$goog$debug$Error_DebugError.call(this, module$contents$goog$asserts_subs(messagePattern, messageArgs));
3520
+ this.messagePattern = messagePattern;
3521
+ }
3522
+ goog.inherits(module$contents$goog$asserts_AssertionError, module$contents$goog$debug$Error_DebugError);
3523
+ goog.asserts.AssertionError = module$contents$goog$asserts_AssertionError;
3524
+ module$contents$goog$asserts_AssertionError.prototype.name = "AssertionError";
3525
+ goog.asserts.DEFAULT_ERROR_HANDLER = function(e) {
3526
+ throw e;
3527
+ };
3528
+ var module$contents$goog$asserts_errorHandler_ = goog.asserts.DEFAULT_ERROR_HANDLER;
3529
+ function module$contents$goog$asserts_subs(pattern, subs) {
3530
+ for (var splitParts = pattern.split("%s"), returnString = "", subLast = splitParts.length - 1, i = 0; i < subLast; i++) {
3531
+ returnString += splitParts[i] + (i < subs.length ? subs[i] : "%s");
3532
+ }
3533
+ return returnString + splitParts[subLast];
3534
+ }
3535
+ function module$contents$goog$asserts_doAssertFailure(defaultMessage, defaultArgs, givenMessage, givenArgs) {
3536
+ var message = "Assertion failed";
3537
+ if (givenMessage) {
3538
+ message += ": " + givenMessage;
3539
+ var args = givenArgs;
3540
+ } else {
3541
+ defaultMessage && (message += ": " + defaultMessage, args = defaultArgs);
3542
+ }
3543
+ var e = new module$contents$goog$asserts_AssertionError("" + message, args || []);
3544
+ module$contents$goog$asserts_errorHandler_(e);
3545
+ }
3546
+ goog.asserts.setErrorHandler = function(errorHandler) {
3547
+ module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && (module$contents$goog$asserts_errorHandler_ = errorHandler);
3548
+ };
3549
+ goog.asserts.assert = function(condition, opt_message, var_args) {
3550
+ module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !condition && module$contents$goog$asserts_doAssertFailure("", null, opt_message, Array.prototype.slice.call(arguments, 2));
3551
+ return condition;
3552
+ };
3553
+ goog.asserts.assertExists = function(value, opt_message, var_args) {
3554
+ module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && value == null && module$contents$goog$asserts_doAssertFailure("Expected to exist: %s.", [value], opt_message, Array.prototype.slice.call(arguments, 2));
3555
+ return value;
3556
+ };
3557
+ goog.asserts.fail = function(opt_message, var_args) {
3558
+ module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && module$contents$goog$asserts_errorHandler_(new module$contents$goog$asserts_AssertionError("Failure" + (opt_message ? ": " + opt_message : ""), Array.prototype.slice.call(arguments, 1)));
3559
+ };
3560
+ goog.asserts.assertNumber = function(value, opt_message, var_args) {
3561
+ module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "number" && module$contents$goog$asserts_doAssertFailure("Expected number but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
3562
+ return value;
3563
+ };
3564
+ goog.asserts.assertString = function(value, opt_message, var_args) {
3565
+ module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "string" && module$contents$goog$asserts_doAssertFailure("Expected string but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
3566
+ return value;
3567
+ };
3568
+ goog.asserts.assertFunction = function(value, opt_message, var_args) {
3569
+ module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "function" && module$contents$goog$asserts_doAssertFailure("Expected function but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
3570
+ return value;
3571
+ };
3572
+ goog.asserts.assertObject = function(value, opt_message, var_args) {
3573
+ module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !goog.isObject(value) && module$contents$goog$asserts_doAssertFailure("Expected object but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
3574
+ return value;
3575
+ };
3576
+ goog.asserts.assertArray = function(value, opt_message, var_args) {
3577
+ module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !Array.isArray(value) && module$contents$goog$asserts_doAssertFailure("Expected array but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
3578
+ return value;
3579
+ };
3580
+ goog.asserts.assertBoolean = function(value, opt_message, var_args) {
3581
+ module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "boolean" && module$contents$goog$asserts_doAssertFailure("Expected boolean but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
3582
+ return value;
3583
+ };
3584
+ goog.asserts.assertElement = function(value, opt_message, var_args) {
3585
+ !module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog.dom.NodeType.ELEMENT || module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
3586
+ return value;
3587
+ };
3588
+ goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
3589
+ !module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || value instanceof type || module$contents$goog$asserts_doAssertFailure("Expected instanceof %s but got %s.", [module$contents$goog$asserts_getType(type), module$contents$goog$asserts_getType(value)], opt_message, Array.prototype.slice.call(arguments, 3));
3590
+ return value;
3591
+ };
3592
+ goog.asserts.assertFinite = function(value, opt_message, var_args) {
3593
+ !module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || typeof value == "number" && isFinite(value) || module$contents$goog$asserts_doAssertFailure("Expected %s to be a finite number but it is not.", [value], opt_message, Array.prototype.slice.call(arguments, 2));
3594
+ return value;
3595
+ };
3596
+ function module$contents$goog$asserts_getType(value) {
3597
+ return value instanceof Function ? value.displayName || value.name || "unknown type name" : value instanceof Object ? value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value) : value === null ? "null" : typeof value;
3598
+ }
3599
+ ;goog.array = {};
3829
3600
  goog.NATIVE_ARRAY_PROTOTYPES = goog.TRUSTED_SITE;
3830
3601
  var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS = goog.FEATURESET_YEAR > 2012;
3831
3602
  goog.array.ASSUME_NATIVE_FUNCTIONS = module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;
@@ -6579,7 +6350,7 @@ goog.debug.entryPointRegistry.unmonitorAllIfPossible = function(monitor) {
6579
6350
  var module$contents$goog$events$BrowserFeature_purify = function(fn) {
6580
6351
  return {valueOf:fn}.valueOf();
6581
6352
  };
6582
- goog.events.BrowserFeature = {TOUCH_ENABLED:"ontouchstart" in goog.global || !!(goog.global.document && document.documentElement && "ontouchstart" in document.documentElement) || !(!goog.global.navigator || !goog.global.navigator.maxTouchPoints && !goog.global.navigator.msMaxTouchPoints), POINTER_EVENTS:"PointerEvent" in goog.global, MSPOINTER_EVENTS:!1, PASSIVE_EVENTS:goog.FEATURESET_YEAR > 2018 || module$contents$goog$events$BrowserFeature_purify(function() {
6353
+ goog.events.BrowserFeature = {TOUCH_ENABLED:!!(goog.global.navigator && goog.global.navigator.maxTouchPoints || goog.FEATURESET_YEAR < 2018 && ("ontouchstart" in goog.global || goog.global.document && document.documentElement && "ontouchstart" in document.documentElement || goog.global.navigator && goog.global.navigator.msMaxTouchPoints)), POINTER_EVENTS:goog.FEATURESET_YEAR >= 2019 || "PointerEvent" in goog.global, PASSIVE_EVENTS:goog.FEATURESET_YEAR > 2018 || module$contents$goog$events$BrowserFeature_purify(function() {
6583
6354
  if (!goog.global.addEventListener || !Object.defineProperty) {
6584
6355
  return !1;
6585
6356
  }
@@ -6607,7 +6378,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_un
6607
6378
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
6608
6379
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
6609
6380
  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;
6381
+ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable = !1;
6611
6382
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
6612
6383
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
6613
6384
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
@@ -6623,9 +6394,9 @@ goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2
6623
6394
  goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable : goog.readFlagInternalDoNotUseOrElse(188588736, !0);
6624
6395
  goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable : goog.readFlagInternalDoNotUseOrElse(644029907, !0);
6625
6396
  goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable : goog.readFlagInternalDoNotUseOrElse(1822726157, !0);
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);
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,
6397
+ goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable) : goog.readFlagInternalDoNotUseOrElse(661449076,
6628
6398
  module$contents$goog$flags_STAGING);
6399
+ goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable : goog.readFlagInternalDoNotUseOrElse(645172343, !0);
6629
6400
  goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
6630
6401
  goog.flags.JSPB_READONLY_REPEATED_FIELDS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable) : goog.readFlagInternalDoNotUseOrElse(653718497, module$contents$goog$flags_STAGING);
6631
6402
  goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__enable : goog.readFlagInternalDoNotUseOrElse(660014094, goog.DEBUG);
@@ -11848,48 +11619,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
11848
11619
  }, set:function(value) {
11849
11620
  this.Serializable$set("uris", value);
11850
11621
  }}});
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
- };
11893
11622
  module$exports$eeapiclient$ee_api_client.ImportImageRequestParameters = function() {
11894
11623
  };
11895
11624
  module$exports$eeapiclient$ee_api_client.ImportImageRequest = function(parameters) {
@@ -13187,13 +12916,14 @@ module$exports$eeapiclient$ee_api_client.TableSource = function(parameters) {
13187
12916
  this.Serializable$set("dateFormat", parameters.dateFormat == null ? null : parameters.dateFormat);
13188
12917
  this.Serializable$set("csvDelimiter", parameters.csvDelimiter == null ? null : parameters.csvDelimiter);
13189
12918
  this.Serializable$set("csvQualifier", parameters.csvQualifier == null ? null : parameters.csvQualifier);
12919
+ this.Serializable$set("simplifyErrorMeters", parameters.simplifyErrorMeters == null ? null : parameters.simplifyErrorMeters);
13190
12920
  };
13191
12921
  $jscomp.inherits(module$exports$eeapiclient$ee_api_client.TableSource, module$exports$eeapiclient$domain_object.Serializable);
13192
12922
  module$exports$eeapiclient$ee_api_client.TableSource.prototype.getConstructor = function() {
13193
12923
  return module$exports$eeapiclient$ee_api_client.TableSource;
13194
12924
  };
13195
12925
  module$exports$eeapiclient$ee_api_client.TableSource.prototype.getPartialClassMetadata = function() {
13196
- return {keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")};
12926
+ return {keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn simplifyErrorMeters uris xColumn yColumn".split(" ")};
13197
12927
  };
13198
12928
  $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TableSource.prototype, {charset:{configurable:!0, enumerable:!0, get:function() {
13199
12929
  return this.Serializable$has("charset") ? this.Serializable$get("charset") : null;
@@ -13231,6 +12961,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
13231
12961
  return this.Serializable$has("primaryGeometryColumn") ? this.Serializable$get("primaryGeometryColumn") : null;
13232
12962
  }, set:function(value) {
13233
12963
  this.Serializable$set("primaryGeometryColumn", value);
12964
+ }}, simplifyErrorMeters:{configurable:!0, enumerable:!0, get:function() {
12965
+ return this.Serializable$has("simplifyErrorMeters") ? this.Serializable$get("simplifyErrorMeters") : null;
12966
+ }, set:function(value) {
12967
+ this.Serializable$set("simplifyErrorMeters", value);
13234
12968
  }}, uris:{configurable:!0, enumerable:!0, get:function() {
13235
12969
  return this.Serializable$has("uris") ? this.Serializable$get("uris") : null;
13236
12970
  }, set:function(value) {
@@ -14432,12 +14166,6 @@ module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.im
14432
14166
  this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
14433
14167
  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});
14434
14168
  };
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
- };
14441
14169
  module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient = function() {
14442
14170
  };
14443
14171
  module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClient$XgafvEnum = function() {
@@ -15246,6 +14974,166 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
15246
14974
  goog.dom.tags.isVoidTag = function(tagName) {
15247
14975
  return goog.dom.tags.VOID_TAGS_[tagName] === !0;
15248
14976
  };
14977
+ goog.string.Const = function(opt_token, opt_content) {
14978
+ this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
14979
+ this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
14980
+ };
14981
+ goog.string.Const.prototype.toString = function() {
14982
+ return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
14983
+ };
14984
+ goog.string.Const.unwrap = function(stringConst) {
14985
+ if (stringConst instanceof goog.string.Const && stringConst.constructor === goog.string.Const && stringConst.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_) {
14986
+ return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
14987
+ }
14988
+ goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
14989
+ return "type_error:Const";
14990
+ };
14991
+ goog.string.Const.from = function(s) {
14992
+ return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
14993
+ };
14994
+ goog.string.Const.TYPE_MARKER_ = {};
14995
+ goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
14996
+ goog.string.Const.EMPTY = goog.string.Const.from("");
14997
+ var module$exports$safevalues$for_closure$index = {}, module$contents$safevalues$for_closure$index_module = module$contents$safevalues$for_closure$index_module || {id:"third_party/javascript/safevalues/for_closure/index.closure.js"};
14998
+ module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
14999
+ module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
15000
+ module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
15001
+ module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
15002
+ module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
15003
+ module$exports$safevalues$for_closure$index.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
15004
+ module$exports$safevalues$for_closure$index.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
15005
+ module$exports$safevalues$for_closure$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
15006
+ module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
15007
+ module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
15008
+ module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
15009
+ module$exports$safevalues$for_closure$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
15010
+ module$exports$safevalues$for_closure$index.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
15011
+ module$exports$safevalues$for_closure$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
15012
+ module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
15013
+ module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
15014
+ var module$exports$safevalues$for_closure = {};
15015
+ module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
15016
+ module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
15017
+ module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
15018
+ module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
15019
+ module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
15020
+ module$exports$safevalues$for_closure.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
15021
+ module$exports$safevalues$for_closure.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
15022
+ module$exports$safevalues$for_closure.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
15023
+ module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
15024
+ module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
15025
+ module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
15026
+ module$exports$safevalues$for_closure.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
15027
+ module$exports$safevalues$for_closure.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
15028
+ module$exports$safevalues$for_closure.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
15029
+ module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
15030
+ module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
15031
+ goog.html = {};
15032
+ goog.html.deprecated = {};
15033
+ goog.html.deprecated.safeStyleSheetCreateRule = function(selector, style) {
15034
+ if ((0,goog.string.internal.contains)(selector, "<")) {
15035
+ throw Error("Selector does not allow '<', got: " + selector);
15036
+ }
15037
+ var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
15038
+ if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
15039
+ throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
15040
+ }
15041
+ if (!module$contents$goog$html$deprecated_hasBalancedBrackets(selectorToCheck)) {
15042
+ throw Error("() and [] in selector must be balanced, got: " + selector);
15043
+ }
15044
+ var styleStr = style instanceof module$exports$safevalues$internals$style_impl.SafeStyle ? module$contents$safevalues$internals$style_impl_unwrapStyle(style) : Object.entries(style).map(function($jscomp$destructuring$var30) {
15045
+ var $jscomp$destructuring$var31 = (0,$jscomp.makeIterator)($jscomp$destructuring$var30);
15046
+ var k = $jscomp$destructuring$var31.next().value;
15047
+ var v = $jscomp$destructuring$var31.next().value;
15048
+ return k + ":" + v + ";";
15049
+ }).join(""), styleSheet = selector + "{" + styleStr.replace(/</g, "\\3C ") + "}";
15050
+ return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
15051
+ };
15052
+ goog.html.deprecated.safeStyleSheetConcat = function(var_args) {
15053
+ var result = "", addArgument = function(argument) {
15054
+ Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(argument);
15055
+ };
15056
+ Array.prototype.forEach.call(arguments, addArgument);
15057
+ return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(result);
15058
+ };
15059
+ goog.html.deprecated.safeStyleSheetFromConstant = function(styleSheet) {
15060
+ var styleSheetString = goog.string.Const.unwrap(styleSheet);
15061
+ (0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
15062
+ return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetString);
15063
+ };
15064
+ function module$contents$goog$html$deprecated_hasBalancedBrackets(s) {
15065
+ for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
15066
+ var ch = s[i];
15067
+ if (brackets[ch]) {
15068
+ expectedBrackets.push(brackets[ch]);
15069
+ } else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
15070
+ return !1;
15071
+ }
15072
+ }
15073
+ return expectedBrackets.length == 0;
15074
+ }
15075
+ ;module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule = goog.html.deprecated.safeStyleSheetCreateRule;
15076
+ module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.concat = goog.html.deprecated.safeStyleSheetConcat;
15077
+ module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.fromConstant = goog.html.deprecated.safeStyleSheetFromConstant;
15078
+ goog.html.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
15079
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
15080
+ var urlString = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.unwrap(url), parts = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.URL_PARAM_PARSER_.exec(urlString), urlHash = parts[3] || "";
15081
+ return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(parts[1] + module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
15082
+ };
15083
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.unwrap = function(trustedResourceUrl) {
15084
+ return module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedResourceUrl).toString();
15085
+ };
15086
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.unwrapTrustedScriptURL = function(trustedResourceUrl) {
15087
+ return module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedResourceUrl);
15088
+ };
15089
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.format = function(format, args) {
15090
+ var formatStr = goog.string.Const.unwrap(format);
15091
+ if (!module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.BASE_URL_.test(formatStr)) {
15092
+ throw Error("Invalid TrustedResourceUrl format: " + formatStr);
15093
+ }
15094
+ var result = formatStr.replace(module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.FORMAT_MARKER_, function(match, id) {
15095
+ if (!Object.prototype.hasOwnProperty.call(args, id)) {
15096
+ throw Error('Found marker, "' + id + '", in format string, "' + formatStr + '", but no valid label mapping found in args: ' + JSON.stringify(args));
15097
+ }
15098
+ var arg = args[id];
15099
+ return arg instanceof goog.string.Const ? goog.string.Const.unwrap(arg) : encodeURIComponent(String(arg));
15100
+ });
15101
+ return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(result);
15102
+ };
15103
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.FORMAT_MARKER_ = /%{(\w+)}/g;
15104
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
15105
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
15106
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
15107
+ var url = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.format(format, args);
15108
+ return module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.cloneWithParams(url, searchParams, opt_hashParams);
15109
+ };
15110
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.fromConstant = function(url) {
15111
+ return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(goog.string.Const.unwrap(url));
15112
+ };
15113
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.fromConstants = function(parts) {
15114
+ for (var unwrapped = "", i = 0; i < parts.length; i++) {
15115
+ unwrapped += goog.string.Const.unwrap(parts[i]);
15116
+ }
15117
+ return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(unwrapped);
15118
+ };
15119
+ module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.stringifyParams_ = function(prefix, currentString, params) {
15120
+ if (params == null) {
15121
+ return currentString;
15122
+ }
15123
+ if (typeof params === "string") {
15124
+ return params ? prefix + encodeURIComponent(params) : "";
15125
+ }
15126
+ for (var key in params) {
15127
+ if (Object.prototype.hasOwnProperty.call(params, key)) {
15128
+ for (var value = params[key], outputValues = Array.isArray(value) ? value : [value], i = 0; i < outputValues.length; i++) {
15129
+ var outputValue = outputValues[i];
15130
+ outputValue != null && (currentString || (currentString = prefix), currentString += (currentString.length > prefix.length ? "&" : "") + encodeURIComponent(key) + "=" + encodeURIComponent(String(outputValue)));
15131
+ }
15132
+ }
15133
+ }
15134
+ return currentString;
15135
+ };
15136
+ goog.html.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
15249
15137
  module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
15250
15138
  return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
15251
15139
  };
@@ -15282,7 +15170,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.verifyTagName = function(
15282
15170
  }
15283
15171
  };
15284
15172
  module$exports$safevalues$internals$html_impl.SafeHtml.createIframe = function(src, srcdoc, attributes, content) {
15285
- src && module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(src);
15173
+ src && module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(src);
15286
15174
  var fixedAttributes = {};
15287
15175
  fixedAttributes.src = src || null;
15288
15176
  fixedAttributes.srcdoc = srcdoc && module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(srcdoc);
@@ -15304,7 +15192,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.canUseSandboxIframe = fun
15304
15192
  return goog.global.HTMLIFrameElement && "sandbox" in goog.global.HTMLIFrameElement.prototype;
15305
15193
  };
15306
15194
  module$exports$safevalues$internals$html_impl.SafeHtml.createScriptSrc = function(src, attributes) {
15307
- module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(src);
15195
+ module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(src);
15308
15196
  var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({src:src}, {}, attributes);
15309
15197
  return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
15310
15198
  };
@@ -15312,7 +15200,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.createStyle = function(st
15312
15200
  var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
15313
15201
  styleSheet = module$contents$goog$array_concat(styleSheet);
15314
15202
  for (var i = 0; i < styleSheet.length; i++) {
15315
- content += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(styleSheet[i]);
15203
+ content += module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(styleSheet[i]);
15316
15204
  }
15317
15205
  var htmlContent = (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content);
15318
15206
  return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
@@ -15403,8 +15291,8 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
15403
15291
  throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" requires goog.string.Const value, "' + value + '" given.' : "");
15404
15292
  }
15405
15293
  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);
15294
+ if (value instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
15295
+ value = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value).toString();
15408
15296
  } else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
15409
15297
  value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
15410
15298
  } else if (typeof value === "string") {
@@ -15414,16 +15302,23 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
15414
15302
  }
15415
15303
  }
15416
15304
  }
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);
15305
+ goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl || value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || value instanceof module$exports$safevalues$internals$html_impl.SafeHtml || typeof value === "string" || typeof value ===
15306
+ "number", "String or number value expected, got " + typeof value + " with value: " + value);
15419
15307
  return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
15420
15308
  }
15421
15309
  function module$contents$goog$html$SafeHtml_getStyleValue(value) {
15310
+ if (typeof value === "string") {
15311
+ return value;
15312
+ }
15422
15313
  if (!goog.isObject(value)) {
15423
15314
  throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof value + " given: " + value : "");
15424
15315
  }
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);
15316
+ return value instanceof module$exports$safevalues$internals$style_impl.SafeStyle ? module$contents$safevalues$internals$style_impl_unwrapStyle(value) : Object.entries(value).map(function($jscomp$destructuring$var32) {
15317
+ var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$destructuring$var32);
15318
+ var k = $jscomp$destructuring$var33.next().value;
15319
+ var v = $jscomp$destructuring$var33.next().value;
15320
+ return k + ":" + v + ";";
15321
+ }).join("");
15427
15322
  }
15428
15323
  module$exports$safevalues$internals$html_impl.SafeHtml.DOCTYPE_HTML = function() {
15429
15324
  return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)("<!DOCTYPE html>");
@@ -16501,7 +16396,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
16501
16396
  };
16502
16397
  module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
16503
16398
  for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
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);
16399
+ var $jscomp$destructuring$var35 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var35.name, value = $jscomp$destructuring$var35.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
16505
16400
  if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
16506
16401
  switch(policy.policyAction) {
16507
16402
  case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
@@ -16580,7 +16475,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
16580
16475
  return !0;
16581
16476
  }
16582
16477
  for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
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;
16478
+ var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, expectedValues = $jscomp$destructuring$var37.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
16584
16479
  if (value && !expectedValues.has(value)) {
16585
16480
  return !1;
16586
16481
  }
@@ -16596,7 +16491,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = functi
16596
16491
  };
16597
16492
  function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
16598
16493
  for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
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;
16494
+ var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var38.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var38.next().value;
16600
16495
  parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
16601
16496
  }
16602
16497
  return {parts:parts};
@@ -16689,9 +16584,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
16689
16584
  this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
16690
16585
  }
16691
16586
  for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$25$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$25$.done; $jscomp$key$435282654$25$ = $jscomp$iter$43.next()) {
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$ =
16587
+ for (var $jscomp$destructuring$var41 = (0,$jscomp.makeIterator)($jscomp$key$435282654$25$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var41.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var41.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$24$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$24$.done; $jscomp$key$435282654$24$ =
16693
16588
  $jscomp$iter$42.next()) {
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;
16589
+ var $jscomp$destructuring$var43 = (0,$jscomp.makeIterator)($jscomp$key$435282654$24$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var43.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var43.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
16695
16590
  attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
16696
16591
  }
16697
16592
  elementPolicies.set(elementName, newElementPolicy);
@@ -16838,8 +16733,8 @@ function module$contents$safevalues$builders$resource_url_builders_isValidRelati
16838
16733
  function module$contents$safevalues$builders$resource_url_builders_UrlSegments() {
16839
16734
  }
16840
16735
  function module$contents$safevalues$builders$resource_url_builders_getUrlSegments(url) {
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]) : ""};
16736
+ var parts = url.split(/[?#]/), params = /[?]/.test(url) ? "?" + parts[1] : "";
16737
+ return {urlPath:parts[0], params:params, fragment:/[#]/.test(url) ? "#" + (params ? parts[2] : parts[1]) : ""};
16843
16738
  }
16844
16739
  function module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl(templateObj) {
16845
16740
  var rest = $jscomp.getRestArguments.apply(1, arguments);
@@ -16863,20 +16758,29 @@ function module$contents$safevalues$builders$resource_url_builders_trustedResour
16863
16758
  }
16864
16759
  module$exports$safevalues$builders$resource_url_builders.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
16865
16760
  var module$contents$safevalues$builders$resource_url_builders_IterableEntries, module$contents$safevalues$builders$resource_url_builders_SearchParams;
16761
+ function module$contents$safevalues$builders$resource_url_builders_replaceParams(trustedUrl, params) {
16762
+ var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString());
16763
+ return module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(urlSegments.urlPath, "", urlSegments.fragment, params);
16764
+ }
16765
+ module$exports$safevalues$builders$resource_url_builders.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
16866
16766
  function module$contents$safevalues$builders$resource_url_builders_appendParams(trustedUrl, params) {
16767
+ var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString());
16768
+ return module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(urlSegments.urlPath, urlSegments.params, urlSegments.fragment, params);
16769
+ }
16770
+ module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
16771
+ function module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(path, params, hash, newParams) {
16867
16772
  function addParam(value, key) {
16868
16773
  value != null && (module$contents$safevalues$builders$resource_url_builders_isArray(value) ? value.forEach(function(v) {
16869
16774
  return addParam(v, key);
16870
- }) : (urlParams += separator + encodeURIComponent(key) + "=" + encodeURIComponent(value), separator = "&"));
16775
+ }) : (params += separator + encodeURIComponent(key) + "=" + encodeURIComponent(value), separator = "&"));
16871
16776
  }
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 ? "&" : "?";
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) {
16777
+ var separator = params.length ? "&" : "?";
16778
+ module$contents$safevalues$builders$resource_url_builders_isPlainObject(newParams) && (newParams = Object.entries(newParams));
16779
+ module$contents$safevalues$builders$resource_url_builders_isArray(newParams) ? newParams.forEach(function(pair) {
16875
16780
  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);
16781
+ }) : newParams.forEach(addParam);
16782
+ return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(path + params + hash);
16878
16783
  }
16879
- module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
16880
16784
  function module$contents$safevalues$builders$resource_url_builders_isArray(x) {
16881
16785
  return Array.isArray(x);
16882
16786
  }
@@ -17069,6 +16973,7 @@ module$exports$safevalues$index.appendParams = module$contents$safevalues$builde
17069
16973
  module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
17070
16974
  module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
17071
16975
  module$exports$safevalues$index.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
16976
+ module$exports$safevalues$index.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
17072
16977
  module$exports$safevalues$index.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
17073
16978
  module$exports$safevalues$index.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
17074
16979
  module$exports$safevalues$index.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
@@ -17096,7 +17001,7 @@ module$exports$safevalues$index.EMPTY_HTML = module$exports$safevalues$internals
17096
17001
  module$exports$safevalues$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
17097
17002
  module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
17098
17003
  module$exports$safevalues$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
17099
- module$exports$safevalues$index.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
17004
+ module$exports$safevalues$index.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
17100
17005
  module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
17101
17006
  module$exports$safevalues$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
17102
17007
  module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
@@ -17106,7 +17011,7 @@ module$exports$safevalues$index.unwrapScript = module$contents$safevalues$intern
17106
17011
  module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
17107
17012
  module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
17108
17013
  module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
17109
- module$exports$safevalues$index.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
17014
+ module$exports$safevalues$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
17110
17015
  module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
17111
17016
  module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
17112
17017
  module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
@@ -17116,50 +17021,27 @@ module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url
17116
17021
  module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
17117
17022
  module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
17118
17023
  goog.dom.safe = {};
17119
- goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
17120
17024
  goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
17121
- node.insertAdjacentHTML(position, module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html));
17122
- };
17123
- goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0, TEMPLATE:!0};
17124
- goog.dom.safe.isInnerHtmlCleanupRecursive_ = goog.functions.cacheReturnValue(function() {
17125
- if (goog.DEBUG && typeof document === "undefined") {
17126
- return !1;
17127
- }
17128
- var div = document.createElement("div"), childDiv = document.createElement("div");
17129
- childDiv.appendChild(document.createElement("div"));
17130
- div.appendChild(childDiv);
17131
- if (goog.DEBUG && !div.firstChild) {
17132
- return !1;
17133
- }
17134
- var innerChild = div.firstChild.firstChild;
17135
- div.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY);
17136
- return !innerChild.parentElement;
17137
- });
17138
- goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
17139
- if (goog.dom.safe.isInnerHtmlCleanupRecursive_()) {
17140
- for (; elem.lastChild;) {
17141
- elem.removeChild(elem.lastChild);
17142
- }
17143
- }
17144
- elem.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
17025
+ node.insertAdjacentHTML(position, module$exports$safevalues$index.unwrapHtml(html));
17145
17026
  };
17027
+ goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0};
17146
17028
  goog.dom.safe.setInnerHtml = function(elem, html) {
17147
17029
  if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
17148
17030
  throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + elem.tagName + ".");
17149
17031
  }
17150
- goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(elem, html);
17032
+ elem.innerHTML = module$exports$safevalues$index.unwrapHtml(html);
17151
17033
  };
17152
17034
  goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
17153
17035
  goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
17154
17036
  };
17155
17037
  goog.dom.safe.setOuterHtml = function(elem, html) {
17156
- elem.outerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
17038
+ elem.outerHTML = module$exports$safevalues$index.unwrapHtml(html);
17157
17039
  };
17158
17040
  goog.dom.safe.setFormElementAction = function(form, url) {
17159
17041
  module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17160
17042
  };
17161
17043
  goog.dom.safe.documentWrite = function(doc, html) {
17162
- doc.write(module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html));
17044
+ doc.write(module$exports$safevalues$index.unwrapHtml(html));
17163
17045
  };
17164
17046
  goog.dom.safe.setAnchorHref = function(anchor, url) {
17165
17047
  module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(anchor);
@@ -17167,24 +17049,24 @@ goog.dom.safe.setAnchorHref = function(anchor, url) {
17167
17049
  };
17168
17050
  goog.dom.safe.setIframeSrc = function(iframe, url) {
17169
17051
  module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
17170
- iframe.src = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url);
17052
+ iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
17171
17053
  };
17172
17054
  goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
17173
17055
  module$contents$goog$asserts$dom_assertIsHtmlLinkElement(link);
17174
17056
  link.rel = rel;
17175
17057
  if (goog.string.internal.caseInsensitiveContains(rel, "stylesheet")) {
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);
17058
+ goog.asserts.assert(url instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl, 'URL must be TrustedResourceUrl because "rel" contains "stylesheet"');
17059
+ link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
17178
17060
  var nonce = goog.dom.safe.getStyleNonce(link.ownerDocument && link.ownerDocument.defaultView);
17179
17061
  nonce && link.setAttribute("nonce", nonce);
17180
17062
  } else {
17181
- link.href = url instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl ? module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url) : goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17063
+ link.href = url instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl ? module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString() : goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
17182
17064
  }
17183
17065
  };
17184
17066
  goog.dom.safe.setScriptSrc = function(script, url) {
17185
17067
  module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
17186
17068
  goog.dom.safe.setNonceForScriptElement_(script);
17187
- script.src = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(url);
17069
+ script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
17188
17070
  };
17189
17071
  goog.dom.safe.setNonceForScriptElement_ = function(script) {
17190
17072
  var nonce = goog.dom.safe.getScriptNonce(script.ownerDocument && script.ownerDocument.defaultView);
@@ -17209,7 +17091,7 @@ goog.dom.safe.parseFromStringHtml = function(parser, html) {
17209
17091
  return goog.dom.safe.parseFromString(parser, html, "text/html");
17210
17092
  };
17211
17093
  goog.dom.safe.parseFromString = function(parser, content, type) {
17212
- return parser.parseFromString(module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(content), type);
17094
+ return parser.parseFromString(module$exports$safevalues$index.unwrapHtml(content), type);
17213
17095
  };
17214
17096
  goog.dom.safe.createImageFromBlob = function(blob) {
17215
17097
  if (!/^image\/.*/g.test(blob.type)) {
@@ -19133,6 +19015,7 @@ safevalues.appendParams = module$contents$safevalues$builders$resource_url_build
19133
19015
  safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
19134
19016
  safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
19135
19017
  safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
19018
+ safevalues.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
19136
19019
  safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
19137
19020
  safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
19138
19021
  safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
@@ -19161,7 +19044,7 @@ safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
19161
19044
  safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
19162
19045
  safevalues.isHtml = module$exports$safevalues$index.isHtml;
19163
19046
  safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
19164
- safevalues.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
19047
+ safevalues.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
19165
19048
  safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
19166
19049
  safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
19167
19050
  safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
@@ -19171,7 +19054,7 @@ safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwra
19171
19054
  safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
19172
19055
  safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
19173
19056
  safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
19174
- safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
19057
+ safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
19175
19058
  safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
19176
19059
  safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
19177
19060
  safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
@@ -19648,7 +19531,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
19648
19531
  }), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
19649
19532
  !module$contents$goog$array_contains(goog.net.XhrIo.METHODS_WITH_FORM_DATA, method) || contentTypeKey || contentIsFormData || headers.set(goog.net.XhrIo.CONTENT_TYPE_HEADER, goog.net.XhrIo.FORM_CONTENT_TYPE);
19650
19533
  for (var $jscomp$iter$46 = (0,$jscomp.makeIterator)(headers), $jscomp$key$m71669834$55$ = $jscomp$iter$46.next(); !$jscomp$key$m71669834$55$.done; $jscomp$key$m71669834$55$ = $jscomp$iter$46.next()) {
19651
- var $jscomp$destructuring$var41 = (0,$jscomp.makeIterator)($jscomp$key$m71669834$55$.value), key$jscomp$1 = $jscomp$destructuring$var41.next().value, value = $jscomp$destructuring$var41.next().value;
19534
+ var $jscomp$destructuring$var45 = (0,$jscomp.makeIterator)($jscomp$key$m71669834$55$.value), key$jscomp$1 = $jscomp$destructuring$var45.next().value, value = $jscomp$destructuring$var45.next().value;
19652
19535
  this.xhr_.setRequestHeader(key$jscomp$1, value);
19653
19536
  }
19654
19537
  this.responseType_ && (this.xhr_.responseType = this.responseType_);
@@ -19890,7 +19773,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
19890
19773
  ee.apiclient = {};
19891
19774
  var module$contents$ee$apiclient_apiclient = {};
19892
19775
  ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
19893
- ee.apiclient.API_CLIENT_VERSION = "0.1.419";
19776
+ ee.apiclient.API_CLIENT_VERSION = "1.1.0";
19894
19777
  ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
19895
19778
  ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
19896
19779
  ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
@@ -20022,21 +19905,21 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
20022
19905
  return this;
20023
19906
  };
20024
19907
  module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
20025
- var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var42) {
20026
- var $jscomp$destructuring$var43 = (0,$jscomp.makeIterator)($jscomp$destructuring$var42);
20027
- var id = $jscomp$destructuring$var43.next().value;
20028
- var $jscomp$destructuring$var44 = (0,$jscomp.makeIterator)($jscomp$destructuring$var43.next().value);
20029
- var partBody = $jscomp$destructuring$var44.next().value;
20030
- $jscomp$destructuring$var44.next();
19908
+ var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var46) {
19909
+ var $jscomp$destructuring$var47 = (0,$jscomp.makeIterator)($jscomp$destructuring$var46);
19910
+ var id = $jscomp$destructuring$var47.next().value;
19911
+ var $jscomp$destructuring$var48 = (0,$jscomp.makeIterator)($jscomp$destructuring$var47.next().value);
19912
+ var partBody = $jscomp$destructuring$var48.next().value;
19913
+ $jscomp$destructuring$var48.next();
20031
19914
  return "--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <" + id + ">\r\n\r\n" + partBody + "\r\n";
20032
19915
  }).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
20033
19916
  var result = {};
20034
- parts.forEach(function($jscomp$destructuring$var45) {
20035
- var $jscomp$destructuring$var46 = (0,$jscomp.makeIterator)($jscomp$destructuring$var45);
20036
- var id = $jscomp$destructuring$var46.next().value;
20037
- var $jscomp$destructuring$var47 = (0,$jscomp.makeIterator)($jscomp$destructuring$var46.next().value);
20038
- $jscomp$destructuring$var47.next();
20039
- var ctor = $jscomp$destructuring$var47.next().value;
19917
+ parts.forEach(function($jscomp$destructuring$var49) {
19918
+ var $jscomp$destructuring$var50 = (0,$jscomp.makeIterator)($jscomp$destructuring$var49);
19919
+ var id = $jscomp$destructuring$var50.next().value;
19920
+ var $jscomp$destructuring$var51 = (0,$jscomp.makeIterator)($jscomp$destructuring$var50.next().value);
19921
+ $jscomp$destructuring$var51.next();
19922
+ var ctor = $jscomp$destructuring$var51.next().value;
20040
19923
  response[id] != null && (result[id] = module$contents$eeapiclient$domain_object_deserialize(ctor, response[id]));
20041
19924
  });
20042
19925
  return getResponse ? getResponse(result) : result;
@@ -20188,8 +20071,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
20188
20071
  var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
20189
20072
  body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
20190
20073
  method = method || "POST";
20191
- var headers = {"Content-Type":contentType}, version = "0.1.419";
20192
- version === "0.1.419" && (version = "latest");
20074
+ var headers = {"Content-Type":contentType}, version = "1.1.0";
20075
+ version === "1.1.0" && (version = "latest");
20193
20076
  headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
20194
20077
  var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
20195
20078
  if (authToken != null) {
@@ -20323,7 +20206,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
20323
20206
  };
20324
20207
  module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
20325
20208
  for (var request = new goog.Uri.QueryData(), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$101$ = $jscomp$iter$48.next(); !$jscomp$key$m1153655765$101$.done; $jscomp$key$m1153655765$101$ = $jscomp$iter$48.next()) {
20326
- var $jscomp$destructuring$var49 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var49.next().value, item = $jscomp$destructuring$var49.next().value;
20209
+ var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var53.next().value, item = $jscomp$destructuring$var53.next().value;
20327
20210
  request.set(name, item);
20328
20211
  }
20329
20212
  return request;
@@ -20802,10 +20685,10 @@ ee.rpc_convert.legacyPropertiesToAssetUpdate = function(legacyProperties) {
20802
20685
  typeof value !== "string" && value !== null || properties.title != null || (properties.title = asNull(value) || value);
20803
20686
  extractValue("system:description");
20804
20687
  typeof value !== "string" && value !== null || properties.description != null || (properties.description = asNull(value) || value);
20805
- Object.entries(properties).forEach(function($jscomp$destructuring$var50) {
20806
- var $jscomp$destructuring$var51 = (0,$jscomp.makeIterator)($jscomp$destructuring$var50);
20807
- var key = $jscomp$destructuring$var51.next().value;
20808
- var value = $jscomp$destructuring$var51.next().value;
20688
+ Object.entries(properties).forEach(function($jscomp$destructuring$var54) {
20689
+ var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$destructuring$var54);
20690
+ var key = $jscomp$destructuring$var55.next().value;
20691
+ var value = $jscomp$destructuring$var55.next().value;
20809
20692
  properties[key] = asNull(value) || value;
20810
20693
  });
20811
20694
  asset.properties = properties;
@@ -21391,7 +21274,7 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
21391
21274
  return object;
21392
21275
  }
21393
21276
  for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$52 = (0,$jscomp.makeIterator)(Object.entries(isNode ? object.Serializable$values : object)), $jscomp$key$m759255156$28$ = $jscomp$iter$52.next(); !$jscomp$key$m759255156$28$.done; $jscomp$key$m759255156$28$ = $jscomp$iter$52.next()) {
21394
- var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var53.next().value, val = $jscomp$destructuring$var53.next().value;
21277
+ var $jscomp$destructuring$var57 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var57.next().value, val = $jscomp$destructuring$var57.next().value;
21395
21278
  isNode ? val !== null && (ret[key] = key === "functionDefinitionValue" && val.body != null ? {argumentNames:val.argumentNames, body:walkObject(values[val.body])} : key === "functionInvocationValue" && val.functionReference != null ? {arguments:module$contents$goog$object_map(val.arguments, walkObject), functionReference:walkObject(values[val.functionReference])} : key === "constantValue" ? val === module$exports$eeapiclient$domain_object.NULL_VALUE ?
21396
21279
  null : val : walkObject(val)) : ret[key] = walkObject(val);
21397
21280
  }
@@ -21515,7 +21398,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
21515
21398
  }
21516
21399
  if (value.dictionaryValue != null) {
21517
21400
  for (var values = {}, constantValues = {}, $jscomp$iter$53 = (0,$jscomp.makeIterator)(Object.entries(value.dictionaryValue.values || {})), $jscomp$key$m759255156$29$ = $jscomp$iter$53.next(); !$jscomp$key$m759255156$29$.done; $jscomp$key$m759255156$29$ = $jscomp$iter$53.next()) {
21518
- var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var55.next().value, v = $jscomp$destructuring$var55.next().value;
21401
+ var $jscomp$destructuring$var59 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var59.next().value, v = $jscomp$destructuring$var59.next().value;
21519
21402
  values[k] = this.optimizeValue(v, depth + 3);
21520
21403
  constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
21521
21404
  }
@@ -21802,9 +21685,9 @@ ee.rpc_convert_batch.buildRankByOneThingRule_ = function(ruleString) {
21802
21685
  if (matches == null) {
21803
21686
  throw Error("Ranking rule format is invalid. Each rule should be defined by a rule type and a direction (ASC or DESC), separated by a space. Valid rule types are: .geometryType, .minZoomLevel, or a feature property name.");
21804
21687
  }
21805
- var $jscomp$destructuring$var56 = (0,$jscomp.makeIterator)(matches);
21806
- $jscomp$destructuring$var56.next();
21807
- var ruleType = $jscomp$destructuring$var56.next().value, direction = $jscomp$destructuring$var56.next().value;
21688
+ var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)(matches);
21689
+ $jscomp$destructuring$var60.next();
21690
+ var ruleType = $jscomp$destructuring$var60.next().value, direction = $jscomp$destructuring$var60.next().value;
21808
21691
  switch(direction.toUpperCase()) {
21809
21692
  case "ASC":
21810
21693
  rankByOneThingRule.direction = "ASCENDING";
@@ -22065,8 +21948,8 @@ ee.data.getDownloadId = function(params, opt_callback) {
22065
21948
  }) && (params.bands = params.bands.map(function(band) {
22066
21949
  return {id:band};
22067
21950
  }));
22068
- if (params.bands && params.bands.some(function($jscomp$destructuring$var57) {
22069
- return $jscomp$destructuring$var57.id == null;
21951
+ if (params.bands && params.bands.some(function($jscomp$destructuring$var61) {
21952
+ return $jscomp$destructuring$var61.id == null;
22070
21953
  })) {
22071
21954
  throw Error("Each band dictionary must have an id.");
22072
21955
  }
@@ -24698,7 +24581,7 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
24698
24581
  throw Error("Parameter specified at least twice: once in config, and once in config format options.");
24699
24582
  }
24700
24583
  for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$56 = (0,$jscomp.makeIterator)(Object.entries(formatOptions)), $jscomp$key$1827622838$35$ = $jscomp$iter$56.next(); !$jscomp$key$1827622838$35$.done; $jscomp$key$1827622838$35$ = $jscomp$iter$56.next()) {
24701
- var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var60.next().value, value = $jscomp$destructuring$var60.next().value;
24584
+ var $jscomp$destructuring$var64 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var64.next().value, value = $jscomp$destructuring$var64.next().value;
24702
24585
  if (!module$contents$goog$array_contains(validOptionKeys, key)) {
24703
24586
  var validKeysMsg = validOptionKeys.join(", ");
24704
24587
  throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
@@ -27718,29 +27601,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
27718
27601
  ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
27719
27602
  ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
27720
27603
  (function() {
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(" "),
27604
+ var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.Collection.prototype.filter ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.sort ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.getDownloadId ee.data.getAssetAcl ee.data.authenticateViaPopup ee.data.makeDownloadUrl ee.data.getWorkloadTag ee.data.getFeatureViewTilesKey ee.data.listImages ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.authenticateViaPrivateKey ee.data.setWorkloadTag ee.data.getOperation ee.data.createAssetHome ee.data.newTaskId ee.data.computeValue ee.data.createAsset ee.data.getInfo ee.data.setDefaultWorkloadTag ee.data.getThumbId ee.data.cancelTask ee.data.resetWorkloadTag ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.updateAsset ee.data.getTaskStatus ee.data.updateTask ee.data.getList ee.data.startIngestion ee.data.createFolder ee.data.startProcessing ee.data.setAssetAcl ee.data.authenticateViaOauth ee.data.getMapId ee.data.makeThumbUrl ee.data.renameAsset ee.data.listAssets ee.data.setAssetProperties ee.data.authenticate ee.data.getTaskList ee.data.copyAsset ee.data.getTileUrl ee.data.getTableDownloadId ee.data.listOperations ee.data.deleteAsset ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getAssetRootQuota ee.data.getTaskListWithLimit ee.data.cancelOperation ee.data.startTableIngestion ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Dictionary ee.initialize ee.call ee.reset ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.Filter.gt ee.Filter.inList ee.Filter.neq ee.Filter.lt ee.Filter.or ee.Filter.lte ee.Filter.prototype.not ee.Filter.gte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Filter.metadata ee.Filter.and ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.LineString ee.Geometry.BBox ee.Geometry ee.Geometry.MultiPolygon ee.Geometry.prototype.serialize ee.Geometry.Rectangle ee.Geometry.Point ee.Geometry.MultiLineString ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.prototype.getThumbId ee.Image.prototype.expression ee.Image ee.Image.rgb ee.Image.cat ee.Image.prototype.select ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.ImageCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMapId ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
27722
27605
  orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),
27723
27606
  "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
27724
27607
  "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
27725
27608
  ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
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"], []];
27609
+ ["filter"], ["geometry"], ["max", "opt_property", "opt_ascending"], ["name", "operator", "value"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["property", "opt_ascending"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["opt_success", "opt_error"], ["id"], [], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"],
27610
+ ["id", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["tag"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["obj", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["id", "opt_callback"], ["tag"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["opt_resetDefault"], ["params", "opt_callback"], ["params", "opt_callback"], ["assetId", "asset",
27611
+ "updateFields", "opt_callback"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["params", "opt_callback"], ["id"], ["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"],
27612
+ ["assetId", "properties", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["id", "x", "y", "z"], ["params", "opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["project", "opt_callback"], ["id"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], ["operationName", "opt_callback"], ["taskId", "request", "opt_callback"], ["date", "opt_tz"],
27613
+ ["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], [], ["func", "namedArgs"], [], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["propertySelectors",
27614
+ "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["name", "value"], ["var_args"], ["name", "value"], [], ["name", "value"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["geometry", "opt_errorMargin"], ["name", "operator", "value"], ["var_args"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south",
27615
+ "east", "north"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj"], ["params", "opt_callback"], ["params", "opt_callback"],
27616
+ ["geometry"], ["params", "opt_callback"], ["expression", "opt_map"], ["opt_args"], ["r", "g", "b"], ["var_args"], ["var_args"], ["opt_visParams", "opt_callback"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["args"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"],
27617
+ ["list"], ["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
27735
27618
  [ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset,
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) {
27619
+ module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, ee.Collection.prototype.filter, ee.Collection.prototype.filterBounds, ee.Collection.prototype.limit, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.sort, ee.ComputedObject.prototype.aside,
27620
+ ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.getDownloadId, ee.data.getAssetAcl, ee.data.authenticateViaPopup, ee.data.makeDownloadUrl, ee.data.getWorkloadTag, ee.data.getFeatureViewTilesKey, ee.data.listImages, ee.data.listFeatures, ee.data.getAssetRoots, ee.data.getAsset, ee.data.authenticateViaPrivateKey, ee.data.setWorkloadTag, ee.data.getOperation, ee.data.createAssetHome, ee.data.newTaskId, ee.data.computeValue,
27621
+ ee.data.createAsset, ee.data.getInfo, ee.data.setDefaultWorkloadTag, ee.data.getThumbId, ee.data.cancelTask, ee.data.resetWorkloadTag, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId, ee.data.updateAsset, ee.data.getTaskStatus, ee.data.updateTask, ee.data.getList, ee.data.startIngestion, ee.data.createFolder, ee.data.startProcessing, ee.data.setAssetAcl, ee.data.authenticateViaOauth, ee.data.getMapId, ee.data.makeThumbUrl, ee.data.renameAsset, ee.data.listAssets, ee.data.setAssetProperties,
27622
+ ee.data.authenticate, ee.data.getTaskList, ee.data.copyAsset, ee.data.getTileUrl, ee.data.getTableDownloadId, ee.data.listOperations, ee.data.deleteAsset, ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getAssetRootQuota, ee.data.getTaskListWithLimit, ee.data.cancelOperation, ee.data.startTableIngestion, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Dictionary, ee.initialize, ee.call, ee.reset, ee.Algorithms,
27623
+ ee.InitState, ee.apply, ee.TILE_SIZE, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.Filter.gt, ee.Filter.inList, ee.Filter.neq, ee.Filter.lt, ee.Filter.or, ee.Filter.lte,
27624
+ ee.Filter.prototype.not, ee.Filter.gte, ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.bounds, ee.Filter.metadata, ee.Filter.and, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.LineString, ee.Geometry.BBox, ee.Geometry, ee.Geometry.MultiPolygon, ee.Geometry.prototype.serialize, ee.Geometry.Rectangle, ee.Geometry.Point, ee.Geometry.MultiLineString, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiPoint,
27625
+ ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbURL, ee.Image.prototype.clip, ee.Image.prototype.getThumbId, ee.Image.prototype.expression, ee.Image, ee.Image.rgb, ee.Image.cat, ee.Image.prototype.select, ee.Image.prototype.getMap, ee.Image.prototype.rename, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.ImageCollection, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection,
27626
+ ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMapId, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
27744
27627
  fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
27745
27628
  });
27746
27629
  goog.global.EXPORTED_FN_INFO = exportedFnInfo;