@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/browser.js +486 -603
- package/build/ee_api_js.js +630 -631
- package/build/ee_api_js_debug.js +468 -585
- package/build/ee_api_js_npm.js +486 -603
- package/build/main.js +486 -603
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/browser.js
CHANGED
|
@@ -129,10 +129,11 @@ $jscomp.iteratorPrototype = function(next) {
|
|
|
129
129
|
return iterator;
|
|
130
130
|
};
|
|
131
131
|
$jscomp.createTemplateTagFirstArg = function(arrayStrings) {
|
|
132
|
-
return arrayStrings
|
|
132
|
+
return $jscomp.createTemplateTagFirstArgWithRaw(arrayStrings, arrayStrings);
|
|
133
133
|
};
|
|
134
134
|
$jscomp.createTemplateTagFirstArgWithRaw = function(arrayStrings, rawArrayStrings) {
|
|
135
135
|
arrayStrings.raw = rawArrayStrings;
|
|
136
|
+
Object.freeze && (Object.freeze(arrayStrings), Object.freeze(rawArrayStrings));
|
|
136
137
|
return arrayStrings;
|
|
137
138
|
};
|
|
138
139
|
$jscomp.makeIterator = function(iterable) {
|
|
@@ -764,28 +765,9 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
|
|
|
764
765
|
});
|
|
765
766
|
};
|
|
766
767
|
}, "es6", "es3");
|
|
767
|
-
$jscomp.
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
}
|
|
771
|
-
if (arg instanceof RegExp) {
|
|
772
|
-
throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
|
|
773
|
-
}
|
|
774
|
-
return thisArg + "";
|
|
775
|
-
};
|
|
776
|
-
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
777
|
-
return orig ? orig : function(searchString, opt_position) {
|
|
778
|
-
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
779
|
-
searchString += "";
|
|
780
|
-
opt_position === void 0 && (opt_position = string.length);
|
|
781
|
-
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
782
|
-
if (string[--i] != searchString[--j]) {
|
|
783
|
-
return !1;
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
return j <= 0;
|
|
787
|
-
};
|
|
788
|
-
}, "es6", "es3");
|
|
768
|
+
$jscomp.polyfill("globalThis", function(orig) {
|
|
769
|
+
return orig || $jscomp.global;
|
|
770
|
+
}, "es_2020", "es3");
|
|
789
771
|
$jscomp.checkEs6ConformanceViaProxy = function() {
|
|
790
772
|
try {
|
|
791
773
|
var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
|
|
@@ -1091,6 +1073,15 @@ $jscomp.polyfill("Array.prototype.entries", function(orig) {
|
|
|
1091
1073
|
});
|
|
1092
1074
|
};
|
|
1093
1075
|
}, "es6", "es3");
|
|
1076
|
+
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
1077
|
+
if (thisArg == null) {
|
|
1078
|
+
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
1079
|
+
}
|
|
1080
|
+
if (arg instanceof RegExp) {
|
|
1081
|
+
throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
|
|
1082
|
+
}
|
|
1083
|
+
return thisArg + "";
|
|
1084
|
+
};
|
|
1094
1085
|
$jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
1095
1086
|
return orig ? orig : function(searchString, opt_position) {
|
|
1096
1087
|
var string = $jscomp.checkStringArgs(this, searchString, "startsWith");
|
|
@@ -1103,6 +1094,19 @@ $jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
|
1103
1094
|
return j >= searchLen;
|
|
1104
1095
|
};
|
|
1105
1096
|
}, "es6", "es3");
|
|
1097
|
+
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
1098
|
+
return orig ? orig : function(searchString, opt_position) {
|
|
1099
|
+
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
1100
|
+
searchString += "";
|
|
1101
|
+
opt_position === void 0 && (opt_position = string.length);
|
|
1102
|
+
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
1103
|
+
if (string[--i] != searchString[--j]) {
|
|
1104
|
+
return !1;
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
return j <= 0;
|
|
1108
|
+
};
|
|
1109
|
+
}, "es6", "es3");
|
|
1106
1110
|
$jscomp.polyfill("Number.isFinite", function(orig) {
|
|
1107
1111
|
return orig ? orig : function(x) {
|
|
1108
1112
|
return typeof x !== "number" ? !1 : !isNaN(x) && x !== Infinity && x !== -Infinity;
|
|
@@ -1249,7 +1253,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1249
1253
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1250
1254
|
};
|
|
1251
1255
|
}, "es8", "es3");
|
|
1252
|
-
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,
|
|
1256
|
+
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,
|
|
1253
1257
|
GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1254
1258
|
/*
|
|
1255
1259
|
|
|
@@ -2785,227 +2789,77 @@ var module$contents$safevalues$internals$pure_module = module$contents$safevalue
|
|
|
2785
2789
|
function module$contents$safevalues$internals$pure_pure(valueOf) {
|
|
2786
2790
|
return {valueOf:valueOf}.valueOf();
|
|
2787
2791
|
}
|
|
2788
|
-
;
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
var stack = Error().stack;
|
|
2794
|
-
stack && (this.stack = stack);
|
|
2792
|
+
;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"};
|
|
2793
|
+
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
2794
|
+
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
2795
|
+
if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
|
|
2796
|
+
throw Error("Bad secret");
|
|
2795
2797
|
}
|
|
2796
|
-
msg && (this.message = String(msg));
|
|
2797
|
-
cause !== void 0 && (this.cause = cause);
|
|
2798
|
-
this.reportErrorToServer = !0;
|
|
2799
2798
|
}
|
|
2800
|
-
|
|
2801
|
-
module$contents$
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
this.messagePattern = messagePattern;
|
|
2810
|
-
}
|
|
2811
|
-
goog.inherits(module$contents$goog$asserts_AssertionError, module$contents$goog$debug$Error_DebugError);
|
|
2812
|
-
goog.asserts.AssertionError = module$contents$goog$asserts_AssertionError;
|
|
2813
|
-
module$contents$goog$asserts_AssertionError.prototype.name = "AssertionError";
|
|
2814
|
-
goog.asserts.DEFAULT_ERROR_HANDLER = function(e) {
|
|
2815
|
-
throw e;
|
|
2816
|
-
};
|
|
2817
|
-
var module$contents$goog$asserts_errorHandler_ = goog.asserts.DEFAULT_ERROR_HANDLER;
|
|
2818
|
-
function module$contents$goog$asserts_subs(pattern, subs) {
|
|
2819
|
-
for (var splitParts = pattern.split("%s"), returnString = "", subLast = splitParts.length - 1, i = 0; i < subLast; i++) {
|
|
2820
|
-
returnString += splitParts[i] + (i < subs.length ? subs[i] : "%s");
|
|
2799
|
+
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
2800
|
+
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 +
|
|
2801
|
+
"#html" : "", module$contents$safevalues$internals$trusted_types_policyName = module$contents$safevalues$internals$trusted_types_configuredPolicyName;
|
|
2802
|
+
module$exports$safevalues$internals$trusted_types.trustedTypes = globalThis.trustedTypes;
|
|
2803
|
+
var module$contents$safevalues$internals$trusted_types_trustedTypesInternal = module$exports$safevalues$internals$trusted_types.trustedTypes, module$contents$safevalues$internals$trusted_types_policy;
|
|
2804
|
+
function module$contents$safevalues$internals$trusted_types_createPolicy() {
|
|
2805
|
+
var policy = null;
|
|
2806
|
+
if (module$contents$safevalues$internals$trusted_types_policyName === "" || !module$contents$safevalues$internals$trusted_types_trustedTypesInternal) {
|
|
2807
|
+
return policy;
|
|
2821
2808
|
}
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2809
|
+
try {
|
|
2810
|
+
var identity = function(x) {
|
|
2811
|
+
return x;
|
|
2812
|
+
};
|
|
2813
|
+
policy = module$contents$safevalues$internals$trusted_types_trustedTypesInternal.createPolicy(module$contents$safevalues$internals$trusted_types_policyName, {createHTML:identity, createScript:identity, createScriptURL:identity});
|
|
2814
|
+
} catch (e) {
|
|
2815
|
+
if (goog.DEBUG) {
|
|
2816
|
+
throw e;
|
|
2817
|
+
}
|
|
2831
2818
|
}
|
|
2832
|
-
|
|
2833
|
-
module$contents$goog$asserts_errorHandler_(e);
|
|
2819
|
+
return policy;
|
|
2834
2820
|
}
|
|
2835
|
-
|
|
2836
|
-
module$
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
module$
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
module$
|
|
2848
|
-
};
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
goog.asserts.assertString = function(value, opt_message, var_args) {
|
|
2854
|
-
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));
|
|
2855
|
-
return value;
|
|
2856
|
-
};
|
|
2857
|
-
goog.asserts.assertFunction = function(value, opt_message, var_args) {
|
|
2858
|
-
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));
|
|
2859
|
-
return value;
|
|
2860
|
-
};
|
|
2861
|
-
goog.asserts.assertObject = function(value, opt_message, var_args) {
|
|
2862
|
-
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));
|
|
2863
|
-
return value;
|
|
2864
|
-
};
|
|
2865
|
-
goog.asserts.assertArray = function(value, opt_message, var_args) {
|
|
2866
|
-
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));
|
|
2867
|
-
return value;
|
|
2868
|
-
};
|
|
2869
|
-
goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
2870
|
-
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));
|
|
2871
|
-
return value;
|
|
2872
|
-
};
|
|
2873
|
-
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
2874
|
-
!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));
|
|
2875
|
-
return value;
|
|
2821
|
+
function module$contents$safevalues$internals$trusted_types_getPolicy() {
|
|
2822
|
+
module$contents$safevalues$internals$trusted_types_policy === void 0 && (module$contents$safevalues$internals$trusted_types_policy = module$contents$safevalues$internals$trusted_types_createPolicy());
|
|
2823
|
+
return module$contents$safevalues$internals$trusted_types_policy;
|
|
2824
|
+
}
|
|
2825
|
+
module$exports$safevalues$internals$trusted_types.getPolicy = module$contents$safevalues$internals$trusted_types_getPolicy;
|
|
2826
|
+
module$exports$safevalues$internals$trusted_types.TEST_ONLY = {setPolicyName:function(name) {
|
|
2827
|
+
module$contents$safevalues$internals$trusted_types_policyName = name;
|
|
2828
|
+
}, setTrustedTypes:function(mockTrustedTypes) {
|
|
2829
|
+
module$contents$safevalues$internals$trusted_types_trustedTypesInternal = mockTrustedTypes;
|
|
2830
|
+
}, resetDefaults:function() {
|
|
2831
|
+
module$contents$safevalues$internals$trusted_types_policy = void 0;
|
|
2832
|
+
module$contents$safevalues$internals$trusted_types_policyName = module$contents$safevalues$internals$trusted_types_configuredPolicyName;
|
|
2833
|
+
module$contents$safevalues$internals$trusted_types_trustedTypesInternal = module$exports$safevalues$internals$trusted_types.trustedTypes;
|
|
2834
|
+
}};
|
|
2835
|
+
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"};
|
|
2836
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = function(token, value) {
|
|
2837
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
2838
|
+
this.privateDoNotAccessOrElseWrappedResourceUrl = value;
|
|
2876
2839
|
};
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
return value;
|
|
2840
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.prototype.toString = function() {
|
|
2841
|
+
return this.privateDoNotAccessOrElseWrappedResourceUrl + "";
|
|
2880
2842
|
};
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
return value;
|
|
2884
|
-
};
|
|
2885
|
-
function module$contents$goog$asserts_getType(value) {
|
|
2886
|
-
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;
|
|
2843
|
+
var module$contents$safevalues$internals$resource_url_impl_ResourceUrlImpl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
2844
|
+
function module$contents$safevalues$internals$resource_url_impl_constructResourceUrl(value) {
|
|
2845
|
+
return new module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
2887
2846
|
}
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse = function() {
|
|
2892
|
-
if (!goog.html.trustedtypes.POLICY_NAME) {
|
|
2893
|
-
return null;
|
|
2894
|
-
}
|
|
2895
|
-
goog.html.trustedtypes.cachedPolicy_ === void 0 && (goog.html.trustedtypes.cachedPolicy_ = goog.createTrustedTypesPolicy(goog.html.trustedtypes.POLICY_NAME));
|
|
2896
|
-
return goog.html.trustedtypes.cachedPolicy_;
|
|
2897
|
-
};
|
|
2898
|
-
goog.string.Const = function(opt_token, opt_content) {
|
|
2899
|
-
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
2900
|
-
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
2901
|
-
};
|
|
2902
|
-
goog.string.Const.prototype.toString = function() {
|
|
2903
|
-
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
2904
|
-
};
|
|
2905
|
-
goog.string.Const.unwrap = function(stringConst) {
|
|
2906
|
-
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_) {
|
|
2907
|
-
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
2908
|
-
}
|
|
2909
|
-
goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
|
|
2910
|
-
return "type_error:Const";
|
|
2911
|
-
};
|
|
2912
|
-
goog.string.Const.from = function(s) {
|
|
2913
|
-
return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
|
|
2914
|
-
};
|
|
2915
|
-
goog.string.Const.TYPE_MARKER_ = {};
|
|
2916
|
-
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
2917
|
-
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
2918
|
-
var module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_ = {}, module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl = function(value, token) {
|
|
2919
|
-
if (goog.DEBUG && token !== module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
2920
|
-
throw Error("TrustedResourceUrl is not meant to be built directly");
|
|
2921
|
-
}
|
|
2922
|
-
this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = value;
|
|
2923
|
-
};
|
|
2924
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.toString = function() {
|
|
2925
|
-
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
|
|
2926
|
-
};
|
|
2927
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.cloneWithParams = function(searchParams, opt_hashParams) {
|
|
2928
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(this, searchParams, opt_hashParams);
|
|
2929
|
-
};
|
|
2930
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
|
|
2931
|
-
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] || "";
|
|
2932
|
-
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));
|
|
2933
|
-
};
|
|
2934
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap = function(trustedResourceUrl) {
|
|
2935
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(trustedResourceUrl).toString();
|
|
2936
|
-
};
|
|
2937
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL = function(trustedResourceUrl) {
|
|
2938
|
-
if (trustedResourceUrl instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl && trustedResourceUrl.constructor === module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
|
|
2939
|
-
return trustedResourceUrl.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;
|
|
2940
|
-
}
|
|
2941
|
-
goog.asserts.fail("expected object of type TrustedResourceUrl, got '%s' of type %s", trustedResourceUrl, goog.typeOf(trustedResourceUrl));
|
|
2942
|
-
return "type_error:TrustedResourceUrl";
|
|
2943
|
-
};
|
|
2944
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format = function(format, args) {
|
|
2945
|
-
var formatStr = goog.string.Const.unwrap(format);
|
|
2946
|
-
if (!module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_.test(formatStr)) {
|
|
2947
|
-
throw Error("Invalid TrustedResourceUrl format: " + formatStr);
|
|
2948
|
-
}
|
|
2949
|
-
var result = formatStr.replace(module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_, function(match, id) {
|
|
2950
|
-
if (!Object.prototype.hasOwnProperty.call(args, id)) {
|
|
2951
|
-
throw Error('Found marker, "' + id + '", in format string, "' + formatStr + '", but no valid label mapping found in args: ' + JSON.stringify(args));
|
|
2952
|
-
}
|
|
2953
|
-
var arg = args[id];
|
|
2954
|
-
return arg instanceof goog.string.Const ? goog.string.Const.unwrap(arg) : encodeURIComponent(String(arg));
|
|
2955
|
-
});
|
|
2956
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(result);
|
|
2957
|
-
};
|
|
2958
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_ = /%{(\w+)}/g;
|
|
2959
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
|
|
2960
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
|
|
2961
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
|
|
2962
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format(format, args).cloneWithParams(searchParams, opt_hashParams);
|
|
2963
|
-
};
|
|
2964
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstant = function(url) {
|
|
2965
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
|
|
2966
|
-
};
|
|
2967
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstants = function(parts) {
|
|
2968
|
-
for (var unwrapped = "", i = 0; i < parts.length; i++) {
|
|
2969
|
-
unwrapped += goog.string.Const.unwrap(parts[i]);
|
|
2970
|
-
}
|
|
2971
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(unwrapped);
|
|
2972
|
-
};
|
|
2973
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(url) {
|
|
2974
|
-
var noinlineUrl = url, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), value = policy ? policy.createScriptURL(noinlineUrl) : noinlineUrl;
|
|
2975
|
-
return new module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl(value, module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_);
|
|
2976
|
-
};
|
|
2977
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_ = function(prefix, currentString, params) {
|
|
2978
|
-
if (params == null) {
|
|
2979
|
-
return currentString;
|
|
2980
|
-
}
|
|
2981
|
-
if (typeof params === "string") {
|
|
2982
|
-
return params ? prefix + encodeURIComponent(params) : "";
|
|
2983
|
-
}
|
|
2984
|
-
for (var key in params) {
|
|
2985
|
-
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
2986
|
-
for (var value = params[key], outputValues = Array.isArray(value) ? value : [value], i = 0; i < outputValues.length; i++) {
|
|
2987
|
-
var outputValue = outputValues[i];
|
|
2988
|
-
outputValue != null && (currentString || (currentString = prefix), currentString += (currentString.length > prefix.length ? "&" : "") + encodeURIComponent(key) + "=" + encodeURIComponent(String(outputValue)));
|
|
2989
|
-
}
|
|
2990
|
-
}
|
|
2991
|
-
}
|
|
2992
|
-
return currentString;
|
|
2993
|
-
};
|
|
2994
|
-
goog.html.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
2995
|
-
var module$exports$goog$html$trustedresourceurl_internals_for_safevalues = {};
|
|
2996
|
-
module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
|
|
2997
|
-
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"};
|
|
2998
|
-
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
2999
|
-
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
|
|
3000
|
-
return (0,module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl)(url);
|
|
2847
|
+
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(value) {
|
|
2848
|
+
var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
|
|
2849
|
+
return module$contents$safevalues$internals$resource_url_impl_constructResourceUrl(policy ? policy.createScriptURL(noinlineValue) : noinlineValue);
|
|
3001
2850
|
}
|
|
3002
2851
|
module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
3003
2852
|
function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
|
|
3004
|
-
return value instanceof module$
|
|
2853
|
+
return value instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
3005
2854
|
}
|
|
3006
2855
|
module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
3007
2856
|
function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
|
|
3008
|
-
|
|
2857
|
+
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value)) {
|
|
2858
|
+
return value.privateDoNotAccessOrElseWrappedResourceUrl;
|
|
2859
|
+
}
|
|
2860
|
+
var message = "";
|
|
2861
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping TrustedResourceUrl");
|
|
2862
|
+
throw Error(message);
|
|
3009
2863
|
}
|
|
3010
2864
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3011
2865
|
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"],
|
|
@@ -3035,15 +2889,7 @@ function module$contents$safevalues$internals$string_literal_isTemplateObject(te
|
|
|
3035
2889
|
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)) ?
|
|
3036
2890
|
!0 : !1;
|
|
3037
2891
|
}
|
|
3038
|
-
;var module$exports$safevalues$internals$
|
|
3039
|
-
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
3040
|
-
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
3041
|
-
if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
|
|
3042
|
-
throw Error("Bad secret");
|
|
3043
|
-
}
|
|
3044
|
-
}
|
|
3045
|
-
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
3046
|
-
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"};
|
|
2892
|
+
;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"};
|
|
3047
2893
|
module$exports$safevalues$internals$url_impl.SafeUrl = function(token, value) {
|
|
3048
2894
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3049
2895
|
this.privateDoNotAccessOrElseWrappedUrl = value;
|
|
@@ -3300,7 +3146,7 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
3300
3146
|
throw Error(message);
|
|
3301
3147
|
}
|
|
3302
3148
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
3303
|
-
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"}
|
|
3149
|
+
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"};
|
|
3304
3150
|
module$exports$safevalues$internals$html_impl.SafeHtml = function(token, value) {
|
|
3305
3151
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3306
3152
|
this.privateDoNotAccessOrElseWrappedHtml = value;
|
|
@@ -3313,11 +3159,11 @@ function module$contents$safevalues$internals$html_impl_constructHtml(value) {
|
|
|
3313
3159
|
return new module$exports$safevalues$internals$html_impl.SafeHtml(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3314
3160
|
}
|
|
3315
3161
|
module$exports$safevalues$internals$html_impl.createHtmlInternal = function(value) {
|
|
3316
|
-
var noinlineValue = value, policy = (
|
|
3162
|
+
var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
|
|
3317
3163
|
return module$contents$safevalues$internals$html_impl_constructHtml(policy ? policy.createHTML(noinlineValue) : noinlineValue);
|
|
3318
3164
|
};
|
|
3319
3165
|
module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$safevalues$internals$pure_pure(function() {
|
|
3320
|
-
return module$contents$safevalues$internals$html_impl_constructHtml(module$
|
|
3166
|
+
return module$contents$safevalues$internals$html_impl_constructHtml(module$exports$safevalues$internals$trusted_types.trustedTypes ? module$exports$safevalues$internals$trusted_types.trustedTypes.emptyHTML : "");
|
|
3321
3167
|
});
|
|
3322
3168
|
function module$contents$safevalues$internals$html_impl_isHtml(value) {
|
|
3323
3169
|
return value instanceof module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
@@ -3462,7 +3308,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
|
|
|
3462
3308
|
element.removeAttribute("srcdoc");
|
|
3463
3309
|
switch(intent) {
|
|
3464
3310
|
case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
|
|
3465
|
-
if (src instanceof module$
|
|
3311
|
+
if (src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
3466
3312
|
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
|
|
3467
3313
|
}
|
|
3468
3314
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
|
|
@@ -3470,7 +3316,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
|
|
|
3470
3316
|
sanitizedUrl !== void 0 && (element.src = sanitizedUrl);
|
|
3471
3317
|
break;
|
|
3472
3318
|
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
|
|
3473
|
-
if (!(src instanceof module$
|
|
3319
|
+
if (!(src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl)) {
|
|
3474
3320
|
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError(typeof src, module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
|
|
3475
3321
|
}
|
|
3476
3322
|
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,
|
|
@@ -3478,7 +3324,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
|
|
|
3478
3324
|
module$contents$safevalues$dom$elements$iframe_setSrc(element, src);
|
|
3479
3325
|
break;
|
|
3480
3326
|
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
|
|
3481
|
-
if (src instanceof module$
|
|
3327
|
+
if (src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
3482
3328
|
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT);
|
|
3483
3329
|
}
|
|
3484
3330
|
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,
|
|
@@ -3562,7 +3408,7 @@ function module$contents$safevalues$dom$globals$window_getNonceFor(elementName,
|
|
|
3562
3408
|
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]");
|
|
3563
3409
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
3564
3410
|
}
|
|
3565
|
-
;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"}
|
|
3411
|
+
;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"};
|
|
3566
3412
|
module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
|
|
3567
3413
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3568
3414
|
this.privateDoNotAccessOrElseWrappedScript = value;
|
|
@@ -3575,12 +3421,12 @@ function module$contents$safevalues$internals$script_impl_constructScript(value)
|
|
|
3575
3421
|
return new module$exports$safevalues$internals$script_impl.SafeScript(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3576
3422
|
}
|
|
3577
3423
|
function module$contents$safevalues$internals$script_impl_createScriptInternal(value) {
|
|
3578
|
-
var noinlineValue = value, policy = (
|
|
3424
|
+
var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
|
|
3579
3425
|
return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(noinlineValue) : noinlineValue);
|
|
3580
3426
|
}
|
|
3581
3427
|
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
3582
3428
|
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$safevalues$internals$pure_pure(function() {
|
|
3583
|
-
return module$contents$safevalues$internals$script_impl_constructScript(module$
|
|
3429
|
+
return module$contents$safevalues$internals$script_impl_constructScript(module$exports$safevalues$internals$trusted_types.trustedTypes ? module$exports$safevalues$internals$trusted_types.trustedTypes.emptyScript : "");
|
|
3584
3430
|
});
|
|
3585
3431
|
function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
3586
3432
|
return value instanceof module$exports$safevalues$internals$script_impl.SafeScript;
|
|
@@ -3606,207 +3452,32 @@ module$exports$safevalues$dom$elements$script.setTextContent = function(script,
|
|
|
3606
3452
|
};
|
|
3607
3453
|
module$exports$safevalues$dom$elements$script.setSrc = function(script, v, options) {
|
|
3608
3454
|
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
3609
|
-
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
3610
|
-
};
|
|
3611
|
-
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"};
|
|
3612
|
-
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3613
|
-
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
3614
|
-
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
3615
|
-
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
3616
|
-
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
3617
|
-
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3618
|
-
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3619
|
-
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3620
|
-
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3621
|
-
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3622
|
-
var module$exports$safevalues$for_closure = {};
|
|
3623
|
-
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3624
|
-
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
3625
|
-
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
3626
|
-
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
3627
|
-
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
3628
|
-
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3629
|
-
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3630
|
-
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3631
|
-
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3632
|
-
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3633
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
3634
|
-
var styleString = goog.string.Const.unwrap(style);
|
|
3635
|
-
if (styleString.length === 0) {
|
|
3636
|
-
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3637
|
-
}
|
|
3638
|
-
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
3639
|
-
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
3640
|
-
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
3641
|
-
};
|
|
3642
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
3643
|
-
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
3644
|
-
};
|
|
3645
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
3646
|
-
var style = "", name;
|
|
3647
|
-
for (name in map) {
|
|
3648
|
-
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
3649
|
-
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
3650
|
-
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
3651
|
-
}
|
|
3652
|
-
var value = map[name];
|
|
3653
|
-
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 + ";");
|
|
3654
|
-
}
|
|
3655
|
-
}
|
|
3656
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3657
|
-
};
|
|
3658
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
3659
|
-
var style = "", addArgument = function(argument) {
|
|
3660
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
3661
|
-
};
|
|
3662
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
3663
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3664
|
-
};
|
|
3665
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
3666
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
3667
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
3668
|
-
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
3669
|
-
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
3670
|
-
}
|
|
3671
|
-
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
3672
|
-
if (/[{;}]/.test(result)) {
|
|
3673
|
-
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
3674
|
-
}
|
|
3675
|
-
return result;
|
|
3676
|
-
}
|
|
3677
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
3678
|
-
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");
|
|
3679
|
-
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
3680
|
-
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
3681
|
-
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3682
|
-
}
|
|
3683
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
3684
|
-
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3685
|
-
}
|
|
3686
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
3687
|
-
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;
|
|
3688
|
-
}
|
|
3689
|
-
} else {
|
|
3690
|
-
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;
|
|
3691
|
-
}
|
|
3692
|
-
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
3693
|
-
}
|
|
3694
|
-
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
3695
|
-
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
3696
|
-
var c = value.charAt(i);
|
|
3697
|
-
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
3698
|
-
}
|
|
3699
|
-
return outsideSingle && outsideDouble;
|
|
3700
|
-
}
|
|
3701
|
-
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
3702
|
-
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
3703
|
-
var c = value.charAt(i);
|
|
3704
|
-
if (c == "]") {
|
|
3705
|
-
if (outside) {
|
|
3706
|
-
return !1;
|
|
3707
|
-
}
|
|
3708
|
-
outside = !0;
|
|
3709
|
-
} else if (c == "[") {
|
|
3710
|
-
if (!outside) {
|
|
3711
|
-
return !1;
|
|
3712
|
-
}
|
|
3713
|
-
outside = !1;
|
|
3714
|
-
} else if (!outside && !tokenRe.test(c)) {
|
|
3715
|
-
return !1;
|
|
3716
|
-
}
|
|
3717
|
-
}
|
|
3718
|
-
return outside;
|
|
3719
|
-
}
|
|
3720
|
-
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 =
|
|
3721
|
-
/\/\*/;
|
|
3722
|
-
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
3723
|
-
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
3724
|
-
var quote = "";
|
|
3725
|
-
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
3726
|
-
quote = start;
|
|
3727
|
-
return inside;
|
|
3728
|
-
});
|
|
3729
|
-
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
3730
|
-
return before + quote + sanitized + quote + after;
|
|
3731
|
-
});
|
|
3732
|
-
}
|
|
3733
|
-
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3734
|
-
var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
|
|
3735
|
-
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
3736
|
-
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
3737
|
-
}
|
|
3738
|
-
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
|
|
3739
|
-
};
|
|
3740
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
|
|
3741
|
-
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString();
|
|
3742
|
-
};
|
|
3743
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(selector, style) {
|
|
3744
|
-
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
3745
|
-
throw Error("Selector does not allow '<', got: " + selector);
|
|
3746
|
-
}
|
|
3747
|
-
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
3748
|
-
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
3749
|
-
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
3750
|
-
}
|
|
3751
|
-
if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
|
|
3752
|
-
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
3753
|
-
}
|
|
3754
|
-
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
3755
|
-
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
3756
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
3757
|
-
};
|
|
3758
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
|
|
3759
|
-
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
3760
|
-
var ch = s[i];
|
|
3761
|
-
if (brackets[ch]) {
|
|
3762
|
-
expectedBrackets.push(brackets[ch]);
|
|
3763
|
-
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
3764
|
-
return !1;
|
|
3765
|
-
}
|
|
3766
|
-
}
|
|
3767
|
-
return expectedBrackets.length == 0;
|
|
3768
|
-
};
|
|
3769
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat = function(var_args) {
|
|
3770
|
-
var result = "", addArgument = function(argument) {
|
|
3771
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(argument);
|
|
3772
|
-
};
|
|
3773
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
3774
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(result);
|
|
3775
|
-
};
|
|
3776
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
3777
|
-
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
3778
|
-
if (styleSheetString.length === 0) {
|
|
3779
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY;
|
|
3780
|
-
}
|
|
3781
|
-
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
3782
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheetString);
|
|
3455
|
+
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
3783
3456
|
};
|
|
3784
|
-
module$contents$
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
(0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '" + safeStyleSheet + "' of type " + goog.typeOf(safeStyleSheet));
|
|
3789
|
-
return "type_error:SafeStyleSheet";
|
|
3457
|
+
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"};
|
|
3458
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = function(token, value) {
|
|
3459
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3460
|
+
this.privateDoNotAccessOrElseWrappedStyleSheet = value;
|
|
3790
3461
|
};
|
|
3791
|
-
module$
|
|
3792
|
-
return
|
|
3462
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.prototype.toString = function() {
|
|
3463
|
+
return this.privateDoNotAccessOrElseWrappedStyleSheet;
|
|
3793
3464
|
};
|
|
3794
|
-
module$contents$
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
3798
|
-
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"};
|
|
3799
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
3800
|
-
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
|
|
3801
|
-
return (0,module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet)(styleSheet);
|
|
3465
|
+
var module$contents$safevalues$internals$style_sheet_impl_StyleSheetImpl = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
3466
|
+
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(value) {
|
|
3467
|
+
return new module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3802
3468
|
}
|
|
3803
3469
|
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
3804
3470
|
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
3805
|
-
return value instanceof module$
|
|
3471
|
+
return value instanceof module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
3806
3472
|
}
|
|
3807
3473
|
module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
3808
3474
|
function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
|
|
3809
|
-
|
|
3475
|
+
if (module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value)) {
|
|
3476
|
+
return value.privateDoNotAccessOrElseWrappedStyleSheet;
|
|
3477
|
+
}
|
|
3478
|
+
var message = "";
|
|
3479
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyleSheet, got '" + value + "' of type '" + typeof value + "'");
|
|
3480
|
+
throw Error(message);
|
|
3810
3481
|
}
|
|
3811
3482
|
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
3812
3483
|
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"};
|
|
@@ -3823,7 +3494,107 @@ module$exports$safevalues$dom$elements$svg.setAttribute = function(svg, attr, va
|
|
|
3823
3494
|
}
|
|
3824
3495
|
svg.setAttribute(attr, value);
|
|
3825
3496
|
};
|
|
3826
|
-
goog.
|
|
3497
|
+
goog.debug = {};
|
|
3498
|
+
function module$contents$goog$debug$Error_DebugError(msg, cause) {
|
|
3499
|
+
if (Error.captureStackTrace) {
|
|
3500
|
+
Error.captureStackTrace(this, module$contents$goog$debug$Error_DebugError);
|
|
3501
|
+
} else {
|
|
3502
|
+
var stack = Error().stack;
|
|
3503
|
+
stack && (this.stack = stack);
|
|
3504
|
+
}
|
|
3505
|
+
msg && (this.message = String(msg));
|
|
3506
|
+
cause !== void 0 && (this.cause = cause);
|
|
3507
|
+
this.reportErrorToServer = !0;
|
|
3508
|
+
}
|
|
3509
|
+
goog.inherits(module$contents$goog$debug$Error_DebugError, Error);
|
|
3510
|
+
module$contents$goog$debug$Error_DebugError.prototype.name = "CustomError";
|
|
3511
|
+
goog.debug.Error = module$contents$goog$debug$Error_DebugError;
|
|
3512
|
+
goog.dom = {};
|
|
3513
|
+
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};
|
|
3514
|
+
goog.asserts = {};
|
|
3515
|
+
goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
|
|
3516
|
+
function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
|
|
3517
|
+
module$contents$goog$debug$Error_DebugError.call(this, module$contents$goog$asserts_subs(messagePattern, messageArgs));
|
|
3518
|
+
this.messagePattern = messagePattern;
|
|
3519
|
+
}
|
|
3520
|
+
goog.inherits(module$contents$goog$asserts_AssertionError, module$contents$goog$debug$Error_DebugError);
|
|
3521
|
+
goog.asserts.AssertionError = module$contents$goog$asserts_AssertionError;
|
|
3522
|
+
module$contents$goog$asserts_AssertionError.prototype.name = "AssertionError";
|
|
3523
|
+
goog.asserts.DEFAULT_ERROR_HANDLER = function(e) {
|
|
3524
|
+
throw e;
|
|
3525
|
+
};
|
|
3526
|
+
var module$contents$goog$asserts_errorHandler_ = goog.asserts.DEFAULT_ERROR_HANDLER;
|
|
3527
|
+
function module$contents$goog$asserts_subs(pattern, subs) {
|
|
3528
|
+
for (var splitParts = pattern.split("%s"), returnString = "", subLast = splitParts.length - 1, i = 0; i < subLast; i++) {
|
|
3529
|
+
returnString += splitParts[i] + (i < subs.length ? subs[i] : "%s");
|
|
3530
|
+
}
|
|
3531
|
+
return returnString + splitParts[subLast];
|
|
3532
|
+
}
|
|
3533
|
+
function module$contents$goog$asserts_doAssertFailure(defaultMessage, defaultArgs, givenMessage, givenArgs) {
|
|
3534
|
+
var message = "Assertion failed";
|
|
3535
|
+
if (givenMessage) {
|
|
3536
|
+
message += ": " + givenMessage;
|
|
3537
|
+
var args = givenArgs;
|
|
3538
|
+
} else {
|
|
3539
|
+
defaultMessage && (message += ": " + defaultMessage, args = defaultArgs);
|
|
3540
|
+
}
|
|
3541
|
+
var e = new module$contents$goog$asserts_AssertionError("" + message, args || []);
|
|
3542
|
+
module$contents$goog$asserts_errorHandler_(e);
|
|
3543
|
+
}
|
|
3544
|
+
goog.asserts.setErrorHandler = function(errorHandler) {
|
|
3545
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && (module$contents$goog$asserts_errorHandler_ = errorHandler);
|
|
3546
|
+
};
|
|
3547
|
+
goog.asserts.assert = function(condition, opt_message, var_args) {
|
|
3548
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !condition && module$contents$goog$asserts_doAssertFailure("", null, opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3549
|
+
return condition;
|
|
3550
|
+
};
|
|
3551
|
+
goog.asserts.assertExists = function(value, opt_message, var_args) {
|
|
3552
|
+
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));
|
|
3553
|
+
return value;
|
|
3554
|
+
};
|
|
3555
|
+
goog.asserts.fail = function(opt_message, var_args) {
|
|
3556
|
+
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)));
|
|
3557
|
+
};
|
|
3558
|
+
goog.asserts.assertNumber = function(value, opt_message, var_args) {
|
|
3559
|
+
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));
|
|
3560
|
+
return value;
|
|
3561
|
+
};
|
|
3562
|
+
goog.asserts.assertString = function(value, opt_message, var_args) {
|
|
3563
|
+
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));
|
|
3564
|
+
return value;
|
|
3565
|
+
};
|
|
3566
|
+
goog.asserts.assertFunction = function(value, opt_message, var_args) {
|
|
3567
|
+
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));
|
|
3568
|
+
return value;
|
|
3569
|
+
};
|
|
3570
|
+
goog.asserts.assertObject = function(value, opt_message, var_args) {
|
|
3571
|
+
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));
|
|
3572
|
+
return value;
|
|
3573
|
+
};
|
|
3574
|
+
goog.asserts.assertArray = function(value, opt_message, var_args) {
|
|
3575
|
+
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));
|
|
3576
|
+
return value;
|
|
3577
|
+
};
|
|
3578
|
+
goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
3579
|
+
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));
|
|
3580
|
+
return value;
|
|
3581
|
+
};
|
|
3582
|
+
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
3583
|
+
!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));
|
|
3584
|
+
return value;
|
|
3585
|
+
};
|
|
3586
|
+
goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
|
|
3587
|
+
!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));
|
|
3588
|
+
return value;
|
|
3589
|
+
};
|
|
3590
|
+
goog.asserts.assertFinite = function(value, opt_message, var_args) {
|
|
3591
|
+
!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));
|
|
3592
|
+
return value;
|
|
3593
|
+
};
|
|
3594
|
+
function module$contents$goog$asserts_getType(value) {
|
|
3595
|
+
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;
|
|
3596
|
+
}
|
|
3597
|
+
;goog.array = {};
|
|
3827
3598
|
goog.NATIVE_ARRAY_PROTOTYPES = goog.TRUSTED_SITE;
|
|
3828
3599
|
var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS = goog.FEATURESET_YEAR > 2012;
|
|
3829
3600
|
goog.array.ASSUME_NATIVE_FUNCTIONS = module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;
|
|
@@ -6577,7 +6348,7 @@ goog.debug.entryPointRegistry.unmonitorAllIfPossible = function(monitor) {
|
|
|
6577
6348
|
var module$contents$goog$events$BrowserFeature_purify = function(fn) {
|
|
6578
6349
|
return {valueOf:fn}.valueOf();
|
|
6579
6350
|
};
|
|
6580
|
-
goog.events.BrowserFeature = {TOUCH_ENABLED
|
|
6351
|
+
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() {
|
|
6581
6352
|
if (!goog.global.addEventListener || !Object.defineProperty) {
|
|
6582
6353
|
return !1;
|
|
6583
6354
|
}
|
|
@@ -6605,7 +6376,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_un
|
|
|
6605
6376
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6606
6377
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
|
|
6607
6378
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable = !1;
|
|
6608
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6379
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable = !1;
|
|
6609
6380
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
|
|
6610
6381
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6611
6382
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
@@ -6621,9 +6392,9 @@ goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2
|
|
|
6621
6392
|
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);
|
|
6622
6393
|
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);
|
|
6623
6394
|
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);
|
|
6624
|
-
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.
|
|
6625
|
-
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,
|
|
6395
|
+
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,
|
|
6626
6396
|
module$contents$goog$flags_STAGING);
|
|
6397
|
+
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);
|
|
6627
6398
|
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);
|
|
6628
6399
|
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);
|
|
6629
6400
|
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);
|
|
@@ -11846,48 +11617,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
11846
11617
|
}, set:function(value) {
|
|
11847
11618
|
this.Serializable$set("uris", value);
|
|
11848
11619
|
}}});
|
|
11849
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequestParameters = function() {
|
|
11850
|
-
};
|
|
11851
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest = function(parameters) {
|
|
11852
|
-
parameters = parameters === void 0 ? {} : parameters;
|
|
11853
|
-
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
11854
|
-
this.Serializable$set("imageManifest", parameters.imageManifest == null ? null : parameters.imageManifest);
|
|
11855
|
-
this.Serializable$set("overwrite", parameters.overwrite == null ? null : parameters.overwrite);
|
|
11856
|
-
this.Serializable$set("useLatestObjectVersion", parameters.useLatestObjectVersion == null ? null : parameters.useLatestObjectVersion);
|
|
11857
|
-
};
|
|
11858
|
-
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
11859
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getConstructor = function() {
|
|
11860
|
-
return module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest;
|
|
11861
|
-
};
|
|
11862
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getPartialClassMetadata = function() {
|
|
11863
|
-
return {keys:["imageManifest", "overwrite", "useLatestObjectVersion"], objects:{imageManifest:module$exports$eeapiclient$ee_api_client.ImageManifest}};
|
|
11864
|
-
};
|
|
11865
|
-
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype, {imageManifest:{configurable:!0, enumerable:!0, get:function() {
|
|
11866
|
-
return this.Serializable$has("imageManifest") ? this.Serializable$get("imageManifest") : null;
|
|
11867
|
-
}, set:function(value) {
|
|
11868
|
-
this.Serializable$set("imageManifest", value);
|
|
11869
|
-
}}, overwrite:{configurable:!0, enumerable:!0, get:function() {
|
|
11870
|
-
return this.Serializable$has("overwrite") ? this.Serializable$get("overwrite") : null;
|
|
11871
|
-
}, set:function(value) {
|
|
11872
|
-
this.Serializable$set("overwrite", value);
|
|
11873
|
-
}}, useLatestObjectVersion:{configurable:!0, enumerable:!0, get:function() {
|
|
11874
|
-
return this.Serializable$has("useLatestObjectVersion") ? this.Serializable$get("useLatestObjectVersion") : null;
|
|
11875
|
-
}, set:function(value) {
|
|
11876
|
-
this.Serializable$set("useLatestObjectVersion", value);
|
|
11877
|
-
}}});
|
|
11878
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponseParameters = function() {
|
|
11879
|
-
};
|
|
11880
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse = function(parameters) {
|
|
11881
|
-
parameters = parameters === void 0 ? {} : parameters;
|
|
11882
|
-
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
11883
|
-
};
|
|
11884
|
-
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse, module$exports$eeapiclient$domain_object.Serializable);
|
|
11885
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getConstructor = function() {
|
|
11886
|
-
return module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse;
|
|
11887
|
-
};
|
|
11888
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getPartialClassMetadata = function() {
|
|
11889
|
-
return {keys:[]};
|
|
11890
|
-
};
|
|
11891
11620
|
module$exports$eeapiclient$ee_api_client.ImportImageRequestParameters = function() {
|
|
11892
11621
|
};
|
|
11893
11622
|
module$exports$eeapiclient$ee_api_client.ImportImageRequest = function(parameters) {
|
|
@@ -13185,13 +12914,14 @@ module$exports$eeapiclient$ee_api_client.TableSource = function(parameters) {
|
|
|
13185
12914
|
this.Serializable$set("dateFormat", parameters.dateFormat == null ? null : parameters.dateFormat);
|
|
13186
12915
|
this.Serializable$set("csvDelimiter", parameters.csvDelimiter == null ? null : parameters.csvDelimiter);
|
|
13187
12916
|
this.Serializable$set("csvQualifier", parameters.csvQualifier == null ? null : parameters.csvQualifier);
|
|
12917
|
+
this.Serializable$set("simplifyErrorMeters", parameters.simplifyErrorMeters == null ? null : parameters.simplifyErrorMeters);
|
|
13188
12918
|
};
|
|
13189
12919
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.TableSource, module$exports$eeapiclient$domain_object.Serializable);
|
|
13190
12920
|
module$exports$eeapiclient$ee_api_client.TableSource.prototype.getConstructor = function() {
|
|
13191
12921
|
return module$exports$eeapiclient$ee_api_client.TableSource;
|
|
13192
12922
|
};
|
|
13193
12923
|
module$exports$eeapiclient$ee_api_client.TableSource.prototype.getPartialClassMetadata = function() {
|
|
13194
|
-
return {keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")};
|
|
12924
|
+
return {keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn simplifyErrorMeters uris xColumn yColumn".split(" ")};
|
|
13195
12925
|
};
|
|
13196
12926
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TableSource.prototype, {charset:{configurable:!0, enumerable:!0, get:function() {
|
|
13197
12927
|
return this.Serializable$has("charset") ? this.Serializable$get("charset") : null;
|
|
@@ -13229,6 +12959,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
13229
12959
|
return this.Serializable$has("primaryGeometryColumn") ? this.Serializable$get("primaryGeometryColumn") : null;
|
|
13230
12960
|
}, set:function(value) {
|
|
13231
12961
|
this.Serializable$set("primaryGeometryColumn", value);
|
|
12962
|
+
}}, simplifyErrorMeters:{configurable:!0, enumerable:!0, get:function() {
|
|
12963
|
+
return this.Serializable$has("simplifyErrorMeters") ? this.Serializable$get("simplifyErrorMeters") : null;
|
|
12964
|
+
}, set:function(value) {
|
|
12965
|
+
this.Serializable$set("simplifyErrorMeters", value);
|
|
13232
12966
|
}}, uris:{configurable:!0, enumerable:!0, get:function() {
|
|
13233
12967
|
return this.Serializable$has("uris") ? this.Serializable$get("uris") : null;
|
|
13234
12968
|
}, set:function(value) {
|
|
@@ -14430,12 +14164,6 @@ module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.im
|
|
|
14430
14164
|
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14431
14165
|
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});
|
|
14432
14166
|
};
|
|
14433
|
-
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.importExternal = function(project, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14434
|
-
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14435
|
-
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14436
|
-
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14437
|
-
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});
|
|
14438
|
-
};
|
|
14439
14167
|
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient = function() {
|
|
14440
14168
|
};
|
|
14441
14169
|
module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClient$XgafvEnum = function() {
|
|
@@ -15244,6 +14972,166 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
15244
14972
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
15245
14973
|
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
15246
14974
|
};
|
|
14975
|
+
goog.string.Const = function(opt_token, opt_content) {
|
|
14976
|
+
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
14977
|
+
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
14978
|
+
};
|
|
14979
|
+
goog.string.Const.prototype.toString = function() {
|
|
14980
|
+
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
14981
|
+
};
|
|
14982
|
+
goog.string.Const.unwrap = function(stringConst) {
|
|
14983
|
+
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_) {
|
|
14984
|
+
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
14985
|
+
}
|
|
14986
|
+
goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
|
|
14987
|
+
return "type_error:Const";
|
|
14988
|
+
};
|
|
14989
|
+
goog.string.Const.from = function(s) {
|
|
14990
|
+
return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
|
|
14991
|
+
};
|
|
14992
|
+
goog.string.Const.TYPE_MARKER_ = {};
|
|
14993
|
+
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
14994
|
+
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
14995
|
+
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"};
|
|
14996
|
+
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
14997
|
+
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
14998
|
+
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
14999
|
+
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
15000
|
+
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
15001
|
+
module$exports$safevalues$for_closure$index.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
15002
|
+
module$exports$safevalues$for_closure$index.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
15003
|
+
module$exports$safevalues$for_closure$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
15004
|
+
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15005
|
+
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15006
|
+
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15007
|
+
module$exports$safevalues$for_closure$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15008
|
+
module$exports$safevalues$for_closure$index.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15009
|
+
module$exports$safevalues$for_closure$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15010
|
+
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15011
|
+
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15012
|
+
var module$exports$safevalues$for_closure = {};
|
|
15013
|
+
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15014
|
+
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
15015
|
+
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15016
|
+
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
15017
|
+
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
15018
|
+
module$exports$safevalues$for_closure.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
15019
|
+
module$exports$safevalues$for_closure.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
15020
|
+
module$exports$safevalues$for_closure.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
15021
|
+
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15022
|
+
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15023
|
+
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15024
|
+
module$exports$safevalues$for_closure.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15025
|
+
module$exports$safevalues$for_closure.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15026
|
+
module$exports$safevalues$for_closure.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15027
|
+
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15028
|
+
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15029
|
+
goog.html = {};
|
|
15030
|
+
goog.html.deprecated = {};
|
|
15031
|
+
goog.html.deprecated.safeStyleSheetCreateRule = function(selector, style) {
|
|
15032
|
+
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
15033
|
+
throw Error("Selector does not allow '<', got: " + selector);
|
|
15034
|
+
}
|
|
15035
|
+
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
15036
|
+
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
15037
|
+
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
15038
|
+
}
|
|
15039
|
+
if (!module$contents$goog$html$deprecated_hasBalancedBrackets(selectorToCheck)) {
|
|
15040
|
+
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
15041
|
+
}
|
|
15042
|
+
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) {
|
|
15043
|
+
var $jscomp$destructuring$var31 = (0,$jscomp.makeIterator)($jscomp$destructuring$var30);
|
|
15044
|
+
var k = $jscomp$destructuring$var31.next().value;
|
|
15045
|
+
var v = $jscomp$destructuring$var31.next().value;
|
|
15046
|
+
return k + ":" + v + ";";
|
|
15047
|
+
}).join(""), styleSheet = selector + "{" + styleStr.replace(/</g, "\\3C ") + "}";
|
|
15048
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15049
|
+
};
|
|
15050
|
+
goog.html.deprecated.safeStyleSheetConcat = function(var_args) {
|
|
15051
|
+
var result = "", addArgument = function(argument) {
|
|
15052
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(argument);
|
|
15053
|
+
};
|
|
15054
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
15055
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(result);
|
|
15056
|
+
};
|
|
15057
|
+
goog.html.deprecated.safeStyleSheetFromConstant = function(styleSheet) {
|
|
15058
|
+
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
15059
|
+
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
15060
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetString);
|
|
15061
|
+
};
|
|
15062
|
+
function module$contents$goog$html$deprecated_hasBalancedBrackets(s) {
|
|
15063
|
+
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
15064
|
+
var ch = s[i];
|
|
15065
|
+
if (brackets[ch]) {
|
|
15066
|
+
expectedBrackets.push(brackets[ch]);
|
|
15067
|
+
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
15068
|
+
return !1;
|
|
15069
|
+
}
|
|
15070
|
+
}
|
|
15071
|
+
return expectedBrackets.length == 0;
|
|
15072
|
+
}
|
|
15073
|
+
;module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule = goog.html.deprecated.safeStyleSheetCreateRule;
|
|
15074
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.concat = goog.html.deprecated.safeStyleSheetConcat;
|
|
15075
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.fromConstant = goog.html.deprecated.safeStyleSheetFromConstant;
|
|
15076
|
+
goog.html.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15077
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
|
|
15078
|
+
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] || "";
|
|
15079
|
+
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));
|
|
15080
|
+
};
|
|
15081
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.unwrap = function(trustedResourceUrl) {
|
|
15082
|
+
return module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedResourceUrl).toString();
|
|
15083
|
+
};
|
|
15084
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.unwrapTrustedScriptURL = function(trustedResourceUrl) {
|
|
15085
|
+
return module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedResourceUrl);
|
|
15086
|
+
};
|
|
15087
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.format = function(format, args) {
|
|
15088
|
+
var formatStr = goog.string.Const.unwrap(format);
|
|
15089
|
+
if (!module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.BASE_URL_.test(formatStr)) {
|
|
15090
|
+
throw Error("Invalid TrustedResourceUrl format: " + formatStr);
|
|
15091
|
+
}
|
|
15092
|
+
var result = formatStr.replace(module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.FORMAT_MARKER_, function(match, id) {
|
|
15093
|
+
if (!Object.prototype.hasOwnProperty.call(args, id)) {
|
|
15094
|
+
throw Error('Found marker, "' + id + '", in format string, "' + formatStr + '", but no valid label mapping found in args: ' + JSON.stringify(args));
|
|
15095
|
+
}
|
|
15096
|
+
var arg = args[id];
|
|
15097
|
+
return arg instanceof goog.string.Const ? goog.string.Const.unwrap(arg) : encodeURIComponent(String(arg));
|
|
15098
|
+
});
|
|
15099
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(result);
|
|
15100
|
+
};
|
|
15101
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.FORMAT_MARKER_ = /%{(\w+)}/g;
|
|
15102
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
|
|
15103
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
|
|
15104
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
|
|
15105
|
+
var url = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.format(format, args);
|
|
15106
|
+
return module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.cloneWithParams(url, searchParams, opt_hashParams);
|
|
15107
|
+
};
|
|
15108
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.fromConstant = function(url) {
|
|
15109
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(goog.string.Const.unwrap(url));
|
|
15110
|
+
};
|
|
15111
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.fromConstants = function(parts) {
|
|
15112
|
+
for (var unwrapped = "", i = 0; i < parts.length; i++) {
|
|
15113
|
+
unwrapped += goog.string.Const.unwrap(parts[i]);
|
|
15114
|
+
}
|
|
15115
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(unwrapped);
|
|
15116
|
+
};
|
|
15117
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.stringifyParams_ = function(prefix, currentString, params) {
|
|
15118
|
+
if (params == null) {
|
|
15119
|
+
return currentString;
|
|
15120
|
+
}
|
|
15121
|
+
if (typeof params === "string") {
|
|
15122
|
+
return params ? prefix + encodeURIComponent(params) : "";
|
|
15123
|
+
}
|
|
15124
|
+
for (var key in params) {
|
|
15125
|
+
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
15126
|
+
for (var value = params[key], outputValues = Array.isArray(value) ? value : [value], i = 0; i < outputValues.length; i++) {
|
|
15127
|
+
var outputValue = outputValues[i];
|
|
15128
|
+
outputValue != null && (currentString || (currentString = prefix), currentString += (currentString.length > prefix.length ? "&" : "") + encodeURIComponent(key) + "=" + encodeURIComponent(String(outputValue)));
|
|
15129
|
+
}
|
|
15130
|
+
}
|
|
15131
|
+
}
|
|
15132
|
+
return currentString;
|
|
15133
|
+
};
|
|
15134
|
+
goog.html.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
15247
15135
|
module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
|
|
15248
15136
|
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
|
|
15249
15137
|
};
|
|
@@ -15280,7 +15168,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.verifyTagName = function(
|
|
|
15280
15168
|
}
|
|
15281
15169
|
};
|
|
15282
15170
|
module$exports$safevalues$internals$html_impl.SafeHtml.createIframe = function(src, srcdoc, attributes, content) {
|
|
15283
|
-
src && module$contents$
|
|
15171
|
+
src && module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(src);
|
|
15284
15172
|
var fixedAttributes = {};
|
|
15285
15173
|
fixedAttributes.src = src || null;
|
|
15286
15174
|
fixedAttributes.srcdoc = srcdoc && module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(srcdoc);
|
|
@@ -15302,7 +15190,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.canUseSandboxIframe = fun
|
|
|
15302
15190
|
return goog.global.HTMLIFrameElement && "sandbox" in goog.global.HTMLIFrameElement.prototype;
|
|
15303
15191
|
};
|
|
15304
15192
|
module$exports$safevalues$internals$html_impl.SafeHtml.createScriptSrc = function(src, attributes) {
|
|
15305
|
-
module$contents$
|
|
15193
|
+
module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(src);
|
|
15306
15194
|
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({src:src}, {}, attributes);
|
|
15307
15195
|
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
|
|
15308
15196
|
};
|
|
@@ -15310,7 +15198,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.createStyle = function(st
|
|
|
15310
15198
|
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
15311
15199
|
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
15312
15200
|
for (var i = 0; i < styleSheet.length; i++) {
|
|
15313
|
-
content += module$contents$
|
|
15201
|
+
content += module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(styleSheet[i]);
|
|
15314
15202
|
}
|
|
15315
15203
|
var htmlContent = (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content);
|
|
15316
15204
|
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
@@ -15401,8 +15289,8 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
15401
15289
|
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" requires goog.string.Const value, "' + value + '" given.' : "");
|
|
15402
15290
|
}
|
|
15403
15291
|
if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
|
|
15404
|
-
if (value instanceof module$
|
|
15405
|
-
value = module$contents$
|
|
15292
|
+
if (value instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
15293
|
+
value = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value).toString();
|
|
15406
15294
|
} else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15407
15295
|
value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
|
|
15408
15296
|
} else if (typeof value === "string") {
|
|
@@ -15412,16 +15300,23 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
15412
15300
|
}
|
|
15413
15301
|
}
|
|
15414
15302
|
}
|
|
15415
|
-
goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof module$
|
|
15416
|
-
typeof value + " with value: " + value);
|
|
15303
|
+
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 ===
|
|
15304
|
+
"number", "String or number value expected, got " + typeof value + " with value: " + value);
|
|
15417
15305
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
15418
15306
|
}
|
|
15419
15307
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
15308
|
+
if (typeof value === "string") {
|
|
15309
|
+
return value;
|
|
15310
|
+
}
|
|
15420
15311
|
if (!goog.isObject(value)) {
|
|
15421
15312
|
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 : "");
|
|
15422
15313
|
}
|
|
15423
|
-
value instanceof module$exports$safevalues$internals$style_impl.SafeStyle
|
|
15424
|
-
|
|
15314
|
+
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) {
|
|
15315
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$destructuring$var32);
|
|
15316
|
+
var k = $jscomp$destructuring$var33.next().value;
|
|
15317
|
+
var v = $jscomp$destructuring$var33.next().value;
|
|
15318
|
+
return k + ":" + v + ";";
|
|
15319
|
+
}).join("");
|
|
15425
15320
|
}
|
|
15426
15321
|
module$exports$safevalues$internals$html_impl.SafeHtml.DOCTYPE_HTML = function() {
|
|
15427
15322
|
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)("<!DOCTYPE html>");
|
|
@@ -16499,7 +16394,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16499
16394
|
};
|
|
16500
16395
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16501
16396
|
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()) {
|
|
16502
|
-
var $jscomp$destructuring$
|
|
16397
|
+
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);
|
|
16503
16398
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16504
16399
|
switch(policy.policyAction) {
|
|
16505
16400
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16578,7 +16473,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16578
16473
|
return !0;
|
|
16579
16474
|
}
|
|
16580
16475
|
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()) {
|
|
16581
|
-
var $jscomp$destructuring$
|
|
16476
|
+
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;
|
|
16582
16477
|
if (value && !expectedValues.has(value)) {
|
|
16583
16478
|
return !1;
|
|
16584
16479
|
}
|
|
@@ -16594,7 +16489,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = functi
|
|
|
16594
16489
|
};
|
|
16595
16490
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16596
16491
|
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()) {
|
|
16597
|
-
var $jscomp$destructuring$
|
|
16492
|
+
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;
|
|
16598
16493
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16599
16494
|
}
|
|
16600
16495
|
return {parts:parts};
|
|
@@ -16687,9 +16582,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16687
16582
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
16688
16583
|
}
|
|
16689
16584
|
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()) {
|
|
16690
|
-
for (var $jscomp$destructuring$
|
|
16585
|
+
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$ =
|
|
16691
16586
|
$jscomp$iter$42.next()) {
|
|
16692
|
-
var $jscomp$destructuring$
|
|
16587
|
+
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;
|
|
16693
16588
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
16694
16589
|
}
|
|
16695
16590
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -16836,8 +16731,8 @@ function module$contents$safevalues$builders$resource_url_builders_isValidRelati
|
|
|
16836
16731
|
function module$contents$safevalues$builders$resource_url_builders_UrlSegments() {
|
|
16837
16732
|
}
|
|
16838
16733
|
function module$contents$safevalues$builders$resource_url_builders_getUrlSegments(url) {
|
|
16839
|
-
var parts = url.split(
|
|
16840
|
-
return {urlPath:parts[0], params:params, fragment
|
|
16734
|
+
var parts = url.split(/[?#]/), params = /[?]/.test(url) ? "?" + parts[1] : "";
|
|
16735
|
+
return {urlPath:parts[0], params:params, fragment:/[#]/.test(url) ? "#" + (params ? parts[2] : parts[1]) : ""};
|
|
16841
16736
|
}
|
|
16842
16737
|
function module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl(templateObj) {
|
|
16843
16738
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
@@ -16861,20 +16756,29 @@ function module$contents$safevalues$builders$resource_url_builders_trustedResour
|
|
|
16861
16756
|
}
|
|
16862
16757
|
module$exports$safevalues$builders$resource_url_builders.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
16863
16758
|
var module$contents$safevalues$builders$resource_url_builders_IterableEntries, module$contents$safevalues$builders$resource_url_builders_SearchParams;
|
|
16759
|
+
function module$contents$safevalues$builders$resource_url_builders_replaceParams(trustedUrl, params) {
|
|
16760
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString());
|
|
16761
|
+
return module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(urlSegments.urlPath, "", urlSegments.fragment, params);
|
|
16762
|
+
}
|
|
16763
|
+
module$exports$safevalues$builders$resource_url_builders.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
16864
16764
|
function module$contents$safevalues$builders$resource_url_builders_appendParams(trustedUrl, params) {
|
|
16765
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString());
|
|
16766
|
+
return module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(urlSegments.urlPath, urlSegments.params, urlSegments.fragment, params);
|
|
16767
|
+
}
|
|
16768
|
+
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16769
|
+
function module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(path, params, hash, newParams) {
|
|
16865
16770
|
function addParam(value, key) {
|
|
16866
16771
|
value != null && (module$contents$safevalues$builders$resource_url_builders_isArray(value) ? value.forEach(function(v) {
|
|
16867
16772
|
return addParam(v, key);
|
|
16868
|
-
}) : (
|
|
16773
|
+
}) : (params += separator + encodeURIComponent(key) + "=" + encodeURIComponent(value), separator = "&"));
|
|
16869
16774
|
}
|
|
16870
|
-
var
|
|
16871
|
-
module$contents$safevalues$builders$resource_url_builders_isPlainObject(
|
|
16872
|
-
module$contents$safevalues$builders$resource_url_builders_isArray(
|
|
16775
|
+
var separator = params.length ? "&" : "?";
|
|
16776
|
+
module$contents$safevalues$builders$resource_url_builders_isPlainObject(newParams) && (newParams = Object.entries(newParams));
|
|
16777
|
+
module$contents$safevalues$builders$resource_url_builders_isArray(newParams) ? newParams.forEach(function(pair) {
|
|
16873
16778
|
return addParam(pair[1], pair[0]);
|
|
16874
|
-
}) :
|
|
16875
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(
|
|
16779
|
+
}) : newParams.forEach(addParam);
|
|
16780
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(path + params + hash);
|
|
16876
16781
|
}
|
|
16877
|
-
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16878
16782
|
function module$contents$safevalues$builders$resource_url_builders_isArray(x) {
|
|
16879
16783
|
return Array.isArray(x);
|
|
16880
16784
|
}
|
|
@@ -17067,6 +16971,7 @@ module$exports$safevalues$index.appendParams = module$contents$safevalues$builde
|
|
|
17067
16971
|
module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
17068
16972
|
module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
17069
16973
|
module$exports$safevalues$index.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
16974
|
+
module$exports$safevalues$index.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
17070
16975
|
module$exports$safevalues$index.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
17071
16976
|
module$exports$safevalues$index.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
17072
16977
|
module$exports$safevalues$index.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
@@ -17094,7 +16999,7 @@ module$exports$safevalues$index.EMPTY_HTML = module$exports$safevalues$internals
|
|
|
17094
16999
|
module$exports$safevalues$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
17095
17000
|
module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
|
|
17096
17001
|
module$exports$safevalues$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
17097
|
-
module$exports$safevalues$index.TrustedResourceUrl = module$
|
|
17002
|
+
module$exports$safevalues$index.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
17098
17003
|
module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
17099
17004
|
module$exports$safevalues$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
17100
17005
|
module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
@@ -17104,7 +17009,7 @@ module$exports$safevalues$index.unwrapScript = module$contents$safevalues$intern
|
|
|
17104
17009
|
module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
17105
17010
|
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17106
17011
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17107
|
-
module$exports$safevalues$index.SafeStyleSheet = module$
|
|
17012
|
+
module$exports$safevalues$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
17108
17013
|
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
17109
17014
|
module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
17110
17015
|
module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
@@ -17114,50 +17019,27 @@ module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url
|
|
|
17114
17019
|
module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
17115
17020
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
17116
17021
|
goog.dom.safe = {};
|
|
17117
|
-
goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
|
|
17118
17022
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
17119
|
-
node.insertAdjacentHTML(position, module$exports$safevalues$
|
|
17120
|
-
};
|
|
17121
|
-
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0, TEMPLATE:!0};
|
|
17122
|
-
goog.dom.safe.isInnerHtmlCleanupRecursive_ = goog.functions.cacheReturnValue(function() {
|
|
17123
|
-
if (goog.DEBUG && typeof document === "undefined") {
|
|
17124
|
-
return !1;
|
|
17125
|
-
}
|
|
17126
|
-
var div = document.createElement("div"), childDiv = document.createElement("div");
|
|
17127
|
-
childDiv.appendChild(document.createElement("div"));
|
|
17128
|
-
div.appendChild(childDiv);
|
|
17129
|
-
if (goog.DEBUG && !div.firstChild) {
|
|
17130
|
-
return !1;
|
|
17131
|
-
}
|
|
17132
|
-
var innerChild = div.firstChild.firstChild;
|
|
17133
|
-
div.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY);
|
|
17134
|
-
return !innerChild.parentElement;
|
|
17135
|
-
});
|
|
17136
|
-
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
|
|
17137
|
-
if (goog.dom.safe.isInnerHtmlCleanupRecursive_()) {
|
|
17138
|
-
for (; elem.lastChild;) {
|
|
17139
|
-
elem.removeChild(elem.lastChild);
|
|
17140
|
-
}
|
|
17141
|
-
}
|
|
17142
|
-
elem.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
|
|
17023
|
+
node.insertAdjacentHTML(position, module$exports$safevalues$index.unwrapHtml(html));
|
|
17143
17024
|
};
|
|
17025
|
+
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0};
|
|
17144
17026
|
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
17145
17027
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
17146
17028
|
throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + elem.tagName + ".");
|
|
17147
17029
|
}
|
|
17148
|
-
|
|
17030
|
+
elem.innerHTML = module$exports$safevalues$index.unwrapHtml(html);
|
|
17149
17031
|
};
|
|
17150
17032
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
17151
17033
|
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
17152
17034
|
};
|
|
17153
17035
|
goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
17154
|
-
elem.outerHTML = module$exports$safevalues$
|
|
17036
|
+
elem.outerHTML = module$exports$safevalues$index.unwrapHtml(html);
|
|
17155
17037
|
};
|
|
17156
17038
|
goog.dom.safe.setFormElementAction = function(form, url) {
|
|
17157
17039
|
module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17158
17040
|
};
|
|
17159
17041
|
goog.dom.safe.documentWrite = function(doc, html) {
|
|
17160
|
-
doc.write(module$exports$safevalues$
|
|
17042
|
+
doc.write(module$exports$safevalues$index.unwrapHtml(html));
|
|
17161
17043
|
};
|
|
17162
17044
|
goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
17163
17045
|
module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(anchor);
|
|
@@ -17165,24 +17047,24 @@ goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
|
17165
17047
|
};
|
|
17166
17048
|
goog.dom.safe.setIframeSrc = function(iframe, url) {
|
|
17167
17049
|
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
17168
|
-
iframe.src = module$contents$
|
|
17050
|
+
iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
17169
17051
|
};
|
|
17170
17052
|
goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
|
|
17171
17053
|
module$contents$goog$asserts$dom_assertIsHtmlLinkElement(link);
|
|
17172
17054
|
link.rel = rel;
|
|
17173
17055
|
if (goog.string.internal.caseInsensitiveContains(rel, "stylesheet")) {
|
|
17174
|
-
goog.asserts.assert(url instanceof module$
|
|
17175
|
-
link.href = module$contents$
|
|
17056
|
+
goog.asserts.assert(url instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl, 'URL must be TrustedResourceUrl because "rel" contains "stylesheet"');
|
|
17057
|
+
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
17176
17058
|
var nonce = goog.dom.safe.getStyleNonce(link.ownerDocument && link.ownerDocument.defaultView);
|
|
17177
17059
|
nonce && link.setAttribute("nonce", nonce);
|
|
17178
17060
|
} else {
|
|
17179
|
-
link.href = url instanceof module$
|
|
17061
|
+
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);
|
|
17180
17062
|
}
|
|
17181
17063
|
};
|
|
17182
17064
|
goog.dom.safe.setScriptSrc = function(script, url) {
|
|
17183
17065
|
module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
|
|
17184
17066
|
goog.dom.safe.setNonceForScriptElement_(script);
|
|
17185
|
-
script.src = module$contents$
|
|
17067
|
+
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
17186
17068
|
};
|
|
17187
17069
|
goog.dom.safe.setNonceForScriptElement_ = function(script) {
|
|
17188
17070
|
var nonce = goog.dom.safe.getScriptNonce(script.ownerDocument && script.ownerDocument.defaultView);
|
|
@@ -17207,7 +17089,7 @@ goog.dom.safe.parseFromStringHtml = function(parser, html) {
|
|
|
17207
17089
|
return goog.dom.safe.parseFromString(parser, html, "text/html");
|
|
17208
17090
|
};
|
|
17209
17091
|
goog.dom.safe.parseFromString = function(parser, content, type) {
|
|
17210
|
-
return parser.parseFromString(module$exports$safevalues$
|
|
17092
|
+
return parser.parseFromString(module$exports$safevalues$index.unwrapHtml(content), type);
|
|
17211
17093
|
};
|
|
17212
17094
|
goog.dom.safe.createImageFromBlob = function(blob) {
|
|
17213
17095
|
if (!/^image\/.*/g.test(blob.type)) {
|
|
@@ -19131,6 +19013,7 @@ safevalues.appendParams = module$contents$safevalues$builders$resource_url_build
|
|
|
19131
19013
|
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19132
19014
|
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19133
19015
|
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19016
|
+
safevalues.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
19134
19017
|
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19135
19018
|
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19136
19019
|
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
@@ -19159,7 +19042,7 @@ safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
|
19159
19042
|
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19160
19043
|
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19161
19044
|
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19162
|
-
safevalues.TrustedResourceUrl = module$
|
|
19045
|
+
safevalues.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
19163
19046
|
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19164
19047
|
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19165
19048
|
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
@@ -19169,7 +19052,7 @@ safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwra
|
|
|
19169
19052
|
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19170
19053
|
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19171
19054
|
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19172
|
-
safevalues.SafeStyleSheet = module$
|
|
19055
|
+
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
19173
19056
|
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19174
19057
|
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19175
19058
|
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
@@ -19646,7 +19529,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19646
19529
|
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
|
|
19647
19530
|
!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);
|
|
19648
19531
|
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()) {
|
|
19649
|
-
var $jscomp$destructuring$
|
|
19532
|
+
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;
|
|
19650
19533
|
this.xhr_.setRequestHeader(key$jscomp$1, value);
|
|
19651
19534
|
}
|
|
19652
19535
|
this.responseType_ && (this.xhr_.responseType = this.responseType_);
|
|
@@ -19888,7 +19771,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19888
19771
|
ee.apiclient = {};
|
|
19889
19772
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19890
19773
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19891
|
-
ee.apiclient.API_CLIENT_VERSION = "
|
|
19774
|
+
ee.apiclient.API_CLIENT_VERSION = "1.1.0";
|
|
19892
19775
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19893
19776
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19894
19777
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -20020,21 +19903,21 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
|
|
|
20020
19903
|
return this;
|
|
20021
19904
|
};
|
|
20022
19905
|
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
|
|
20023
|
-
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$
|
|
20024
|
-
var $jscomp$destructuring$
|
|
20025
|
-
var id = $jscomp$destructuring$
|
|
20026
|
-
var $jscomp$destructuring$
|
|
20027
|
-
var partBody = $jscomp$destructuring$
|
|
20028
|
-
$jscomp$destructuring$
|
|
19906
|
+
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var46) {
|
|
19907
|
+
var $jscomp$destructuring$var47 = (0,$jscomp.makeIterator)($jscomp$destructuring$var46);
|
|
19908
|
+
var id = $jscomp$destructuring$var47.next().value;
|
|
19909
|
+
var $jscomp$destructuring$var48 = (0,$jscomp.makeIterator)($jscomp$destructuring$var47.next().value);
|
|
19910
|
+
var partBody = $jscomp$destructuring$var48.next().value;
|
|
19911
|
+
$jscomp$destructuring$var48.next();
|
|
20029
19912
|
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";
|
|
20030
19913
|
}).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
|
|
20031
19914
|
var result = {};
|
|
20032
|
-
parts.forEach(function($jscomp$destructuring$
|
|
20033
|
-
var $jscomp$destructuring$
|
|
20034
|
-
var id = $jscomp$destructuring$
|
|
20035
|
-
var $jscomp$destructuring$
|
|
20036
|
-
$jscomp$destructuring$
|
|
20037
|
-
var ctor = $jscomp$destructuring$
|
|
19915
|
+
parts.forEach(function($jscomp$destructuring$var49) {
|
|
19916
|
+
var $jscomp$destructuring$var50 = (0,$jscomp.makeIterator)($jscomp$destructuring$var49);
|
|
19917
|
+
var id = $jscomp$destructuring$var50.next().value;
|
|
19918
|
+
var $jscomp$destructuring$var51 = (0,$jscomp.makeIterator)($jscomp$destructuring$var50.next().value);
|
|
19919
|
+
$jscomp$destructuring$var51.next();
|
|
19920
|
+
var ctor = $jscomp$destructuring$var51.next().value;
|
|
20038
19921
|
response[id] != null && (result[id] = module$contents$eeapiclient$domain_object_deserialize(ctor, response[id]));
|
|
20039
19922
|
});
|
|
20040
19923
|
return getResponse ? getResponse(result) : result;
|
|
@@ -20186,8 +20069,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
20186
20069
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
20187
20070
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
20188
20071
|
method = method || "POST";
|
|
20189
|
-
var headers = {"Content-Type":contentType}, version = "
|
|
20190
|
-
version === "
|
|
20072
|
+
var headers = {"Content-Type":contentType}, version = "1.1.0";
|
|
20073
|
+
version === "1.1.0" && (version = "latest");
|
|
20191
20074
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
20192
20075
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
20193
20076
|
if (authToken != null) {
|
|
@@ -20321,7 +20204,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
20321
20204
|
};
|
|
20322
20205
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
20323
20206
|
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()) {
|
|
20324
|
-
var $jscomp$destructuring$
|
|
20207
|
+
var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var53.next().value, item = $jscomp$destructuring$var53.next().value;
|
|
20325
20208
|
request.set(name, item);
|
|
20326
20209
|
}
|
|
20327
20210
|
return request;
|
|
@@ -20800,10 +20683,10 @@ ee.rpc_convert.legacyPropertiesToAssetUpdate = function(legacyProperties) {
|
|
|
20800
20683
|
typeof value !== "string" && value !== null || properties.title != null || (properties.title = asNull(value) || value);
|
|
20801
20684
|
extractValue("system:description");
|
|
20802
20685
|
typeof value !== "string" && value !== null || properties.description != null || (properties.description = asNull(value) || value);
|
|
20803
|
-
Object.entries(properties).forEach(function($jscomp$destructuring$
|
|
20804
|
-
var $jscomp$destructuring$
|
|
20805
|
-
var key = $jscomp$destructuring$
|
|
20806
|
-
var value = $jscomp$destructuring$
|
|
20686
|
+
Object.entries(properties).forEach(function($jscomp$destructuring$var54) {
|
|
20687
|
+
var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$destructuring$var54);
|
|
20688
|
+
var key = $jscomp$destructuring$var55.next().value;
|
|
20689
|
+
var value = $jscomp$destructuring$var55.next().value;
|
|
20807
20690
|
properties[key] = asNull(value) || value;
|
|
20808
20691
|
});
|
|
20809
20692
|
asset.properties = properties;
|
|
@@ -21389,7 +21272,7 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
|
|
|
21389
21272
|
return object;
|
|
21390
21273
|
}
|
|
21391
21274
|
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()) {
|
|
21392
|
-
var $jscomp$destructuring$
|
|
21275
|
+
var $jscomp$destructuring$var57 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var57.next().value, val = $jscomp$destructuring$var57.next().value;
|
|
21393
21276
|
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 ?
|
|
21394
21277
|
null : val : walkObject(val)) : ret[key] = walkObject(val);
|
|
21395
21278
|
}
|
|
@@ -21513,7 +21396,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
21513
21396
|
}
|
|
21514
21397
|
if (value.dictionaryValue != null) {
|
|
21515
21398
|
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()) {
|
|
21516
|
-
var $jscomp$destructuring$
|
|
21399
|
+
var $jscomp$destructuring$var59 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var59.next().value, v = $jscomp$destructuring$var59.next().value;
|
|
21517
21400
|
values[k] = this.optimizeValue(v, depth + 3);
|
|
21518
21401
|
constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
|
|
21519
21402
|
}
|
|
@@ -21800,9 +21683,9 @@ ee.rpc_convert_batch.buildRankByOneThingRule_ = function(ruleString) {
|
|
|
21800
21683
|
if (matches == null) {
|
|
21801
21684
|
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.");
|
|
21802
21685
|
}
|
|
21803
|
-
var $jscomp$destructuring$
|
|
21804
|
-
$jscomp$destructuring$
|
|
21805
|
-
var ruleType = $jscomp$destructuring$
|
|
21686
|
+
var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)(matches);
|
|
21687
|
+
$jscomp$destructuring$var60.next();
|
|
21688
|
+
var ruleType = $jscomp$destructuring$var60.next().value, direction = $jscomp$destructuring$var60.next().value;
|
|
21806
21689
|
switch(direction.toUpperCase()) {
|
|
21807
21690
|
case "ASC":
|
|
21808
21691
|
rankByOneThingRule.direction = "ASCENDING";
|
|
@@ -22063,8 +21946,8 @@ ee.data.getDownloadId = function(params, opt_callback) {
|
|
|
22063
21946
|
}) && (params.bands = params.bands.map(function(band) {
|
|
22064
21947
|
return {id:band};
|
|
22065
21948
|
}));
|
|
22066
|
-
if (params.bands && params.bands.some(function($jscomp$destructuring$
|
|
22067
|
-
return $jscomp$destructuring$
|
|
21949
|
+
if (params.bands && params.bands.some(function($jscomp$destructuring$var61) {
|
|
21950
|
+
return $jscomp$destructuring$var61.id == null;
|
|
22068
21951
|
})) {
|
|
22069
21952
|
throw Error("Each band dictionary must have an id.");
|
|
22070
21953
|
}
|
|
@@ -24696,7 +24579,7 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
|
|
|
24696
24579
|
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
24697
24580
|
}
|
|
24698
24581
|
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()) {
|
|
24699
|
-
var $jscomp$destructuring$
|
|
24582
|
+
var $jscomp$destructuring$var64 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var64.next().value, value = $jscomp$destructuring$var64.next().value;
|
|
24700
24583
|
if (!module$contents$goog$array_contains(validOptionKeys, key)) {
|
|
24701
24584
|
var validKeysMsg = validOptionKeys.join(", ");
|
|
24702
24585
|
throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
|
|
@@ -27716,29 +27599,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27716
27599
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27717
27600
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27718
27601
|
(function() {
|
|
27719
|
-
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.
|
|
27602
|
+
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(" "),
|
|
27720
27603
|
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(" "),
|
|
27721
27604
|
"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(" "),
|
|
27722
27605
|
"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(" "),
|
|
27723
27606
|
["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(" "),
|
|
27724
|
-
["
|
|
27725
|
-
"
|
|
27726
|
-
|
|
27727
|
-
"opt_callback"], ["
|
|
27728
|
-
["json"], ["json"], ["json"], ["json"], ["opt_dict"],
|
|
27729
|
-
|
|
27730
|
-
"
|
|
27731
|
-
["
|
|
27732
|
-
[
|
|
27607
|
+
["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"],
|
|
27608
|
+
["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",
|
|
27609
|
+
"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"],
|
|
27610
|
+
["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"],
|
|
27611
|
+
["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",
|
|
27612
|
+
"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",
|
|
27613
|
+
"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"],
|
|
27614
|
+
["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"],
|
|
27615
|
+
["list"], ["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27733
27616
|
[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,
|
|
27734
|
-
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.
|
|
27735
|
-
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.
|
|
27736
|
-
ee.data.
|
|
27737
|
-
ee.data.
|
|
27738
|
-
ee.
|
|
27739
|
-
ee.Filter.prototype.not, ee.Filter.
|
|
27740
|
-
ee.Image.prototype.
|
|
27741
|
-
ee.ImageCollection.prototype.
|
|
27617
|
+
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,
|
|
27618
|
+
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,
|
|
27619
|
+
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,
|
|
27620
|
+
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,
|
|
27621
|
+
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,
|
|
27622
|
+
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,
|
|
27623
|
+
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,
|
|
27624
|
+
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) {
|
|
27742
27625
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27743
27626
|
});
|
|
27744
27627
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|