@google/earthengine 0.1.417 → 0.1.418
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 +1626 -1608
- package/build/ee_api_js.js +615 -614
- package/build/ee_api_js_debug.js +1603 -1585
- package/build/ee_api_js_npm.js +1626 -1608
- package/build/main.js +1626 -1608
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/main.js
CHANGED
|
@@ -18,7 +18,7 @@ $jscomp.SIMPLE_FROUND_POLYFILL = !1;
|
|
|
18
18
|
$jscomp.ISOLATE_POLYFILLS = !1;
|
|
19
19
|
$jscomp.FORCE_POLYFILL_PROMISE = !1;
|
|
20
20
|
$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION = !1;
|
|
21
|
-
$jscomp.INSTRUMENT_ASYNC_CONTEXT = !
|
|
21
|
+
$jscomp.INSTRUMENT_ASYNC_CONTEXT = !0;
|
|
22
22
|
$jscomp.defineProperty = $jscomp.ASSUME_ES5 || typeof Object.defineProperties == "function" ? Object.defineProperty : function(target, property, descriptor) {
|
|
23
23
|
if (target == Array.prototype || target == Object.prototype) {
|
|
24
24
|
return target;
|
|
@@ -1064,6 +1064,13 @@ $jscomp.polyfill("Set", function(NativeSet) {
|
|
|
1064
1064
|
};
|
|
1065
1065
|
return PolyfillSet;
|
|
1066
1066
|
}, "es6", "es3");
|
|
1067
|
+
$jscomp.polyfill("Array.prototype.entries", function(orig) {
|
|
1068
|
+
return orig ? orig : function() {
|
|
1069
|
+
return $jscomp.iteratorFromArray(this, function(i, v) {
|
|
1070
|
+
return [i, v];
|
|
1071
|
+
});
|
|
1072
|
+
};
|
|
1073
|
+
}, "es6", "es3");
|
|
1067
1074
|
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
1068
1075
|
if (thisArg == null) {
|
|
1069
1076
|
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
@@ -1073,36 +1080,29 @@ $jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
|
1073
1080
|
}
|
|
1074
1081
|
return thisArg + "";
|
|
1075
1082
|
};
|
|
1076
|
-
$jscomp.polyfill("String.prototype.
|
|
1083
|
+
$jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
1077
1084
|
return orig ? orig : function(searchString, opt_position) {
|
|
1078
|
-
var string = $jscomp.checkStringArgs(this, searchString, "
|
|
1085
|
+
var string = $jscomp.checkStringArgs(this, searchString, "startsWith");
|
|
1079
1086
|
searchString += "";
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
if (string[--i] != searchString[--j]) {
|
|
1087
|
+
for (var strLen = string.length, searchLen = searchString.length, i = Math.max(0, Math.min(opt_position | 0, string.length)), j = 0; j < searchLen && i < strLen;) {
|
|
1088
|
+
if (string[i++] != searchString[j++]) {
|
|
1083
1089
|
return !1;
|
|
1084
1090
|
}
|
|
1085
1091
|
}
|
|
1086
|
-
return j
|
|
1087
|
-
};
|
|
1088
|
-
}, "es6", "es3");
|
|
1089
|
-
$jscomp.polyfill("Array.prototype.entries", function(orig) {
|
|
1090
|
-
return orig ? orig : function() {
|
|
1091
|
-
return $jscomp.iteratorFromArray(this, function(i, v) {
|
|
1092
|
-
return [i, v];
|
|
1093
|
-
});
|
|
1092
|
+
return j >= searchLen;
|
|
1094
1093
|
};
|
|
1095
1094
|
}, "es6", "es3");
|
|
1096
|
-
$jscomp.polyfill("String.prototype.
|
|
1095
|
+
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
1097
1096
|
return orig ? orig : function(searchString, opt_position) {
|
|
1098
|
-
var string = $jscomp.checkStringArgs(this, searchString, "
|
|
1097
|
+
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
1099
1098
|
searchString += "";
|
|
1100
|
-
|
|
1101
|
-
|
|
1099
|
+
opt_position === void 0 && (opt_position = string.length);
|
|
1100
|
+
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
1101
|
+
if (string[--i] != searchString[--j]) {
|
|
1102
1102
|
return !1;
|
|
1103
1103
|
}
|
|
1104
1104
|
}
|
|
1105
|
-
return j
|
|
1105
|
+
return j <= 0;
|
|
1106
1106
|
};
|
|
1107
1107
|
}, "es6", "es3");
|
|
1108
1108
|
$jscomp.polyfill("Number.isFinite", function(orig) {
|
|
@@ -1251,8 +1251,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1251
1251
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1252
1252
|
};
|
|
1253
1253
|
}, "es8", "es3");
|
|
1254
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_direct_reactions__disable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1,
|
|
1255
|
-
GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1254
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_direct_reactions__disable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable:!1, GoogFlags__jspb_enable_low_index_extension_writes__disable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__enable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1,
|
|
1255
|
+
GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1256
1256
|
/*
|
|
1257
1257
|
|
|
1258
1258
|
Copyright The Closure Library Authors.
|
|
@@ -2779,6 +2779,7 @@ goog.string.internal.compareElements_ = function(left, right) {
|
|
|
2779
2779
|
};
|
|
2780
2780
|
/*
|
|
2781
2781
|
|
|
2782
|
+
Copyright Google LLC
|
|
2782
2783
|
SPDX-License-Identifier: Apache-2.0
|
|
2783
2784
|
*/
|
|
2784
2785
|
var module$contents$safevalues$environment$dev_module = module$contents$safevalues$environment$dev_module || {id:"third_party/javascript/safevalues/environment/dev.closure.js"};
|
|
@@ -2916,64 +2917,66 @@ goog.string.Const.from = function(s) {
|
|
|
2916
2917
|
goog.string.Const.TYPE_MARKER_ = {};
|
|
2917
2918
|
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
2918
2919
|
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
2919
|
-
goog
|
|
2920
|
-
if (goog.DEBUG && token !== goog
|
|
2920
|
+
var module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_ = {}, module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl = function(value, token) {
|
|
2921
|
+
if (goog.DEBUG && token !== module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
2921
2922
|
throw Error("TrustedResourceUrl is not meant to be built directly");
|
|
2922
2923
|
}
|
|
2923
2924
|
this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = value;
|
|
2924
2925
|
};
|
|
2925
|
-
goog
|
|
2926
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.toString = function() {
|
|
2926
2927
|
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
|
|
2927
2928
|
};
|
|
2928
|
-
goog
|
|
2929
|
-
|
|
2930
|
-
return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(parts[1] + goog.html.TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + goog.html.TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
|
|
2929
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.cloneWithParams = function(searchParams, opt_hashParams) {
|
|
2930
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(this, searchParams, opt_hashParams);
|
|
2931
2931
|
};
|
|
2932
|
-
goog
|
|
2933
|
-
|
|
2932
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
|
|
2933
|
+
var urlString = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url), parts = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_.exec(urlString), urlHash = parts[3] || "";
|
|
2934
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(parts[1] + module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
|
|
2934
2935
|
};
|
|
2935
|
-
goog
|
|
2936
|
-
|
|
2936
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap = function(trustedResourceUrl) {
|
|
2937
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(trustedResourceUrl).toString();
|
|
2938
|
+
};
|
|
2939
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL = function(trustedResourceUrl) {
|
|
2940
|
+
if (trustedResourceUrl instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl && trustedResourceUrl.constructor === module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
|
|
2937
2941
|
return trustedResourceUrl.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;
|
|
2938
2942
|
}
|
|
2939
2943
|
goog.asserts.fail("expected object of type TrustedResourceUrl, got '%s' of type %s", trustedResourceUrl, goog.typeOf(trustedResourceUrl));
|
|
2940
2944
|
return "type_error:TrustedResourceUrl";
|
|
2941
2945
|
};
|
|
2942
|
-
goog
|
|
2946
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format = function(format, args) {
|
|
2943
2947
|
var formatStr = goog.string.Const.unwrap(format);
|
|
2944
|
-
if (!goog
|
|
2948
|
+
if (!module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_.test(formatStr)) {
|
|
2945
2949
|
throw Error("Invalid TrustedResourceUrl format: " + formatStr);
|
|
2946
2950
|
}
|
|
2947
|
-
var result = formatStr.replace(goog
|
|
2951
|
+
var result = formatStr.replace(module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_, function(match, id) {
|
|
2948
2952
|
if (!Object.prototype.hasOwnProperty.call(args, id)) {
|
|
2949
2953
|
throw Error('Found marker, "' + id + '", in format string, "' + formatStr + '", but no valid label mapping found in args: ' + JSON.stringify(args));
|
|
2950
2954
|
}
|
|
2951
2955
|
var arg = args[id];
|
|
2952
2956
|
return arg instanceof goog.string.Const ? goog.string.Const.unwrap(arg) : encodeURIComponent(String(arg));
|
|
2953
2957
|
});
|
|
2954
|
-
return goog
|
|
2958
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(result);
|
|
2955
2959
|
};
|
|
2956
|
-
goog
|
|
2957
|
-
goog
|
|
2958
|
-
goog
|
|
2959
|
-
goog
|
|
2960
|
-
return goog
|
|
2960
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_ = /%{(\w+)}/g;
|
|
2961
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
|
|
2962
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
|
|
2963
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
|
|
2964
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format(format, args).cloneWithParams(searchParams, opt_hashParams);
|
|
2961
2965
|
};
|
|
2962
|
-
goog
|
|
2963
|
-
return goog
|
|
2966
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstant = function(url) {
|
|
2967
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
|
|
2964
2968
|
};
|
|
2965
|
-
goog
|
|
2969
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstants = function(parts) {
|
|
2966
2970
|
for (var unwrapped = "", i = 0; i < parts.length; i++) {
|
|
2967
2971
|
unwrapped += goog.string.Const.unwrap(parts[i]);
|
|
2968
2972
|
}
|
|
2969
|
-
return goog
|
|
2973
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(unwrapped);
|
|
2970
2974
|
};
|
|
2971
|
-
goog
|
|
2972
|
-
goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(url) {
|
|
2975
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(url) {
|
|
2973
2976
|
var noinlineUrl = url, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), value = policy ? policy.createScriptURL(noinlineUrl) : noinlineUrl;
|
|
2974
|
-
return new goog
|
|
2977
|
+
return new module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl(value, module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_);
|
|
2975
2978
|
};
|
|
2976
|
-
goog
|
|
2979
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_ = function(prefix, currentString, params) {
|
|
2977
2980
|
if (params == null) {
|
|
2978
2981
|
return currentString;
|
|
2979
2982
|
}
|
|
@@ -2990,18 +2993,21 @@ goog.html.TrustedResourceUrl.stringifyParams_ = function(prefix, currentString,
|
|
|
2990
2993
|
}
|
|
2991
2994
|
return currentString;
|
|
2992
2995
|
};
|
|
2996
|
+
goog.html.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
2997
|
+
var module$exports$goog$html$trustedresourceurl_internals_for_safevalues = {};
|
|
2998
|
+
module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
|
|
2993
2999
|
var module$exports$safevalues$internals$resource_url_impl = {}, module$contents$safevalues$internals$resource_url_impl_module = module$contents$safevalues$internals$resource_url_impl_module || {id:"third_party/javascript/safevalues/internals/resource_url_impl.closure.js"};
|
|
2994
|
-
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = goog
|
|
3000
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
2995
3001
|
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
|
|
2996
|
-
return (0,goog
|
|
3002
|
+
return (0,module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl)(url);
|
|
2997
3003
|
}
|
|
2998
3004
|
module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
2999
3005
|
function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
|
|
3000
|
-
return value instanceof goog
|
|
3006
|
+
return value instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
3001
3007
|
}
|
|
3002
3008
|
module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
3003
3009
|
function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
|
|
3004
|
-
return goog
|
|
3010
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
3005
3011
|
}
|
|
3006
3012
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3007
3013
|
var $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
@@ -3296,1344 +3302,847 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
3296
3302
|
throw Error(message);
|
|
3297
3303
|
}
|
|
3298
3304
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
+
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"}, module$contents$safevalues$internals$html_impl_trustedTypes = goog.global.trustedTypes;
|
|
3306
|
+
module$exports$safevalues$internals$html_impl.SafeHtml = function(token, value) {
|
|
3307
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3308
|
+
this.privateDoNotAccessOrElseWrappedHtml = value;
|
|
3309
|
+
};
|
|
3310
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.prototype.toString = function() {
|
|
3311
|
+
return this.privateDoNotAccessOrElseWrappedHtml + "";
|
|
3312
|
+
};
|
|
3313
|
+
var module$contents$safevalues$internals$html_impl_HtmlImpl = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
3314
|
+
function module$contents$safevalues$internals$html_impl_constructHtml(value) {
|
|
3315
|
+
return new module$exports$safevalues$internals$html_impl.SafeHtml(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3305
3316
|
}
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
goog.asserts.assert(arr.length != null);
|
|
3310
|
-
return Array.prototype.indexOf.call(arr, obj, opt_fromIndex);
|
|
3311
|
-
} : function(arr, obj, opt_fromIndex) {
|
|
3312
|
-
var fromIndex = opt_fromIndex == null ? 0 : opt_fromIndex < 0 ? Math.max(0, arr.length + opt_fromIndex) : opt_fromIndex;
|
|
3313
|
-
if (typeof arr === "string") {
|
|
3314
|
-
return typeof obj !== "string" || obj.length != 1 ? -1 : arr.indexOf(obj, fromIndex);
|
|
3315
|
-
}
|
|
3316
|
-
for (var i = fromIndex; i < arr.length; i++) {
|
|
3317
|
-
if (i in arr && arr[i] === obj) {
|
|
3318
|
-
return i;
|
|
3319
|
-
}
|
|
3320
|
-
}
|
|
3321
|
-
return -1;
|
|
3317
|
+
module$exports$safevalues$internals$html_impl.createHtmlInternal = function(value) {
|
|
3318
|
+
var noinlineValue = value, policy = (0,goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse)();
|
|
3319
|
+
return module$contents$safevalues$internals$html_impl_constructHtml(policy ? policy.createHTML(noinlineValue) : noinlineValue);
|
|
3322
3320
|
};
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
for (var i = fromIndex; i >= 0; i--) {
|
|
3334
|
-
if (i in arr && arr[i] === obj) {
|
|
3335
|
-
return i;
|
|
3336
|
-
}
|
|
3321
|
+
module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$safevalues$internals$pure_pure(function() {
|
|
3322
|
+
return module$contents$safevalues$internals$html_impl_constructHtml(module$contents$safevalues$internals$html_impl_trustedTypes ? module$contents$safevalues$internals$html_impl_trustedTypes.emptyHTML : "");
|
|
3323
|
+
});
|
|
3324
|
+
function module$contents$safevalues$internals$html_impl_isHtml(value) {
|
|
3325
|
+
return value instanceof module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
3326
|
+
}
|
|
3327
|
+
module$exports$safevalues$internals$html_impl.isHtml = module$contents$safevalues$internals$html_impl_isHtml;
|
|
3328
|
+
module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
|
|
3329
|
+
if (module$contents$safevalues$internals$html_impl_isHtml(value)) {
|
|
3330
|
+
return value.privateDoNotAccessOrElseWrappedHtml;
|
|
3337
3331
|
}
|
|
3338
|
-
|
|
3332
|
+
var message = "";
|
|
3333
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeHtml");
|
|
3334
|
+
throw Error(message);
|
|
3339
3335
|
};
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
goog.
|
|
3343
|
-
|
|
3344
|
-
} : function(arr, f, opt_obj) {
|
|
3345
|
-
for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
|
|
3346
|
-
i in arr2 && f.call(opt_obj, arr2[i], i, arr);
|
|
3347
|
-
}
|
|
3336
|
+
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
3337
|
+
module$exports$safevalues$internals$style_impl.SafeStyle = function(token, value) {
|
|
3338
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3339
|
+
this.privateDoNotAccessOrElseWrappedStyle = value;
|
|
3348
3340
|
};
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3341
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.prototype.toString = function() {
|
|
3342
|
+
return this.privateDoNotAccessOrElseWrappedStyle;
|
|
3343
|
+
};
|
|
3344
|
+
var module$contents$safevalues$internals$style_impl_StyleImpl = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3345
|
+
function module$contents$safevalues$internals$style_impl_createStyleInternal(value) {
|
|
3346
|
+
return new module$exports$safevalues$internals$style_impl.SafeStyle(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3354
3347
|
}
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
f.call(opt_obj, val, i, arr) && (res[resLength++] = val);
|
|
3364
|
-
}
|
|
3348
|
+
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3349
|
+
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
3350
|
+
return value instanceof module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3351
|
+
}
|
|
3352
|
+
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
3353
|
+
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
3354
|
+
if (module$contents$safevalues$internals$style_impl_isStyle(value)) {
|
|
3355
|
+
return value.privateDoNotAccessOrElseWrappedStyle;
|
|
3365
3356
|
}
|
|
3366
|
-
|
|
3357
|
+
var message = "";
|
|
3358
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyle, got '" + value + "' of type '" + typeof value + "'");
|
|
3359
|
+
throw Error(message);
|
|
3360
|
+
}
|
|
3361
|
+
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3362
|
+
var module$exports$safevalues$dom$elements$element = {}, module$contents$safevalues$dom$elements$element_module = module$contents$safevalues$dom$elements$element_module || {id:"third_party/javascript/safevalues/dom/elements/element.closure.js"};
|
|
3363
|
+
module$exports$safevalues$dom$elements$element.setInnerHtml = function(elOrRoot, v) {
|
|
3364
|
+
module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
|
|
3365
|
+
elOrRoot.innerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3367
3366
|
};
|
|
3368
|
-
|
|
3369
|
-
var
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
} : function(arr, f, opt_obj) {
|
|
3373
|
-
for (var l = arr.length, res = Array(l), arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
|
|
3374
|
-
i in arr2 && (res[i] = f.call(opt_obj, arr2[i], i, arr));
|
|
3375
|
-
}
|
|
3376
|
-
return res;
|
|
3367
|
+
module$exports$safevalues$dom$elements$element.setOuterHtml = function(e, v) {
|
|
3368
|
+
var parent = e.parentElement;
|
|
3369
|
+
parent !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(parent);
|
|
3370
|
+
e.outerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3377
3371
|
};
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
goog.asserts.assert(arr.length != null);
|
|
3381
|
-
opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
|
|
3382
|
-
return Array.prototype.reduce.call(arr, f, val);
|
|
3383
|
-
} : function(arr, f, val, opt_obj) {
|
|
3384
|
-
var rval = val;
|
|
3385
|
-
module$contents$goog$array_forEach(arr, function(val, index) {
|
|
3386
|
-
rval = f.call(opt_obj, rval, val, index, arr);
|
|
3387
|
-
});
|
|
3388
|
-
return rval;
|
|
3372
|
+
module$exports$safevalues$dom$elements$element.setCssText = function(e, v) {
|
|
3373
|
+
e.style.cssText = module$contents$safevalues$internals$style_impl_unwrapStyle(v);
|
|
3389
3374
|
};
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
return Array.prototype.reduceRight.call(arr, f, val);
|
|
3395
|
-
} : function(arr, f, val, opt_obj) {
|
|
3396
|
-
var rval = val;
|
|
3397
|
-
module$contents$goog$array_forEachRight(arr, function(val, index) {
|
|
3398
|
-
rval = f.call(opt_obj, rval, val, index, arr);
|
|
3399
|
-
});
|
|
3400
|
-
return rval;
|
|
3375
|
+
module$exports$safevalues$dom$elements$element.insertAdjacentHtml = function(element, position, v) {
|
|
3376
|
+
var tagContext = position === "beforebegin" || position === "afterend" ? element.parentElement : element;
|
|
3377
|
+
tagContext !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(tagContext);
|
|
3378
|
+
element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
|
|
3401
3379
|
};
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
return
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
|
|
3408
|
-
return !0;
|
|
3409
|
-
}
|
|
3410
|
-
}
|
|
3411
|
-
return !1;
|
|
3380
|
+
module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = function(prefix) {
|
|
3381
|
+
var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
|
|
3382
|
+
return function(e, attr, value) {
|
|
3383
|
+
module$contents$safevalues$dom$elements$element_setPrefixedAttribute(prefixes, e, attr, value);
|
|
3384
|
+
};
|
|
3412
3385
|
};
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
|
|
3419
|
-
if (i in arr2 && !f.call(opt_obj, arr2[i], i, arr)) {
|
|
3420
|
-
return !1;
|
|
3421
|
-
}
|
|
3386
|
+
function module$contents$safevalues$dom$elements$element_setPrefixedAttribute(attrPrefixes, e, attr, value) {
|
|
3387
|
+
if (attrPrefixes.length === 0) {
|
|
3388
|
+
var message = "";
|
|
3389
|
+
goog.DEBUG && (message = "No prefixes are provided");
|
|
3390
|
+
throw Error(message);
|
|
3422
3391
|
}
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
}, opt_obj);
|
|
3431
|
-
return count;
|
|
3432
|
-
}
|
|
3433
|
-
goog.array.count = module$contents$goog$array_count;
|
|
3434
|
-
function module$contents$goog$array_find(arr, f, opt_obj) {
|
|
3435
|
-
var i = module$contents$goog$array_findIndex(arr, f, opt_obj);
|
|
3436
|
-
return i < 0 ? null : typeof arr === "string" ? arr.charAt(i) : arr[i];
|
|
3437
|
-
}
|
|
3438
|
-
goog.array.find = module$contents$goog$array_find;
|
|
3439
|
-
function module$contents$goog$array_findIndex(arr, f, opt_obj) {
|
|
3440
|
-
for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
|
|
3441
|
-
if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
|
|
3442
|
-
return i;
|
|
3443
|
-
}
|
|
3392
|
+
var prefixes = attrPrefixes.map(function(s) {
|
|
3393
|
+
return module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(s);
|
|
3394
|
+
}), attrLower = attr.toLowerCase();
|
|
3395
|
+
if (prefixes.every(function(p) {
|
|
3396
|
+
return attrLower.indexOf(p) !== 0;
|
|
3397
|
+
})) {
|
|
3398
|
+
throw Error('Attribute "' + attr + '" does not match any of the allowed prefixes.');
|
|
3444
3399
|
}
|
|
3445
|
-
|
|
3400
|
+
e.setAttribute(attr, value);
|
|
3446
3401
|
}
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
var
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
function module$contents$goog$array_findIndexRight(arr, f, opt_obj) {
|
|
3453
|
-
for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = l - 1; i >= 0; i--) {
|
|
3454
|
-
if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
|
|
3455
|
-
return i;
|
|
3456
|
-
}
|
|
3402
|
+
module$exports$safevalues$dom$elements$element.setPrefixedAttribute = module$contents$safevalues$dom$elements$element_setPrefixedAttribute;
|
|
3403
|
+
function module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(element) {
|
|
3404
|
+
var message = "", tagName = element.tagName;
|
|
3405
|
+
if (tagName === "SCRIPT" || tagName === "STYLE") {
|
|
3406
|
+
throw goog.DEBUG && (message = tagName === "SCRIPT" ? "Use safeScriptEl.setTextContent with a SafeScript." : "Use safeStyleEl.setTextContent with a SafeStyleSheet."), Error(message);
|
|
3457
3407
|
}
|
|
3458
|
-
return -1;
|
|
3459
3408
|
}
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
return module$contents$goog$array_indexOf(arr, obj) >= 0;
|
|
3409
|
+
function module$contents$safevalues$dom$elements$element_isElement(elOrRoot) {
|
|
3410
|
+
return elOrRoot.nodeType === 1;
|
|
3463
3411
|
}
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
}
|
|
3468
|
-
goog.array.isEmpty = module$contents$goog$array_isEmpty;
|
|
3469
|
-
function module$contents$goog$array_clear(arr) {
|
|
3470
|
-
if (!Array.isArray(arr)) {
|
|
3471
|
-
for (var i = arr.length - 1; i >= 0; i--) {
|
|
3472
|
-
delete arr[i];
|
|
3473
|
-
}
|
|
3474
|
-
}
|
|
3475
|
-
arr.length = 0;
|
|
3476
|
-
}
|
|
3477
|
-
goog.array.clear = module$contents$goog$array_clear;
|
|
3478
|
-
goog.array.insert = function(arr, obj) {
|
|
3479
|
-
module$contents$goog$array_contains(arr, obj) || arr.push(obj);
|
|
3480
|
-
};
|
|
3481
|
-
function module$contents$goog$array_insertAt(arr, obj, opt_i) {
|
|
3482
|
-
module$contents$goog$array_splice(arr, opt_i, 0, obj);
|
|
3483
|
-
}
|
|
3484
|
-
goog.array.insertAt = module$contents$goog$array_insertAt;
|
|
3485
|
-
goog.array.insertArrayAt = function(arr, elementsToAdd, opt_i) {
|
|
3486
|
-
goog.partial(module$contents$goog$array_splice, arr, opt_i, 0).apply(null, elementsToAdd);
|
|
3487
|
-
};
|
|
3488
|
-
goog.array.insertBefore = function(arr, obj, opt_obj2) {
|
|
3489
|
-
var i;
|
|
3490
|
-
arguments.length == 2 || (i = module$contents$goog$array_indexOf(arr, opt_obj2)) < 0 ? arr.push(obj) : module$contents$goog$array_insertAt(arr, obj, i);
|
|
3491
|
-
};
|
|
3492
|
-
function module$contents$goog$array_remove(arr, obj) {
|
|
3493
|
-
var i = module$contents$goog$array_indexOf(arr, obj), rv;
|
|
3494
|
-
(rv = i >= 0) && module$contents$goog$array_removeAt(arr, i);
|
|
3495
|
-
return rv;
|
|
3496
|
-
}
|
|
3497
|
-
goog.array.remove = module$contents$goog$array_remove;
|
|
3498
|
-
function module$contents$goog$array_removeLast(arr, obj) {
|
|
3499
|
-
var i = module$contents$goog$array_lastIndexOf(arr, obj);
|
|
3500
|
-
return i >= 0 ? (module$contents$goog$array_removeAt(arr, i), !0) : !1;
|
|
3501
|
-
}
|
|
3502
|
-
goog.array.removeLast = module$contents$goog$array_removeLast;
|
|
3503
|
-
function module$contents$goog$array_removeAt(arr, i) {
|
|
3504
|
-
goog.asserts.assert(arr.length != null);
|
|
3505
|
-
return Array.prototype.splice.call(arr, i, 1).length == 1;
|
|
3506
|
-
}
|
|
3507
|
-
goog.array.removeAt = module$contents$goog$array_removeAt;
|
|
3508
|
-
goog.array.removeIf = function(arr, f, opt_obj) {
|
|
3509
|
-
var i = module$contents$goog$array_findIndex(arr, f, opt_obj);
|
|
3510
|
-
return i >= 0 ? (module$contents$goog$array_removeAt(arr, i), !0) : !1;
|
|
3511
|
-
};
|
|
3512
|
-
goog.array.removeAllIf = function(arr, f, opt_obj) {
|
|
3513
|
-
var removedCount = 0;
|
|
3514
|
-
module$contents$goog$array_forEachRight(arr, function(val, index) {
|
|
3515
|
-
f.call(opt_obj, val, index, arr) && module$contents$goog$array_removeAt(arr, index) && removedCount++;
|
|
3516
|
-
});
|
|
3517
|
-
return removedCount;
|
|
3518
|
-
};
|
|
3519
|
-
function module$contents$goog$array_concat(var_args) {
|
|
3520
|
-
return Array.prototype.concat.apply([], arguments);
|
|
3521
|
-
}
|
|
3522
|
-
goog.array.concat = module$contents$goog$array_concat;
|
|
3523
|
-
goog.array.join = function(var_args) {
|
|
3524
|
-
return Array.prototype.concat.apply([], arguments);
|
|
3525
|
-
};
|
|
3526
|
-
function module$contents$goog$array_toArray(object) {
|
|
3527
|
-
var length = object.length;
|
|
3528
|
-
if (length > 0) {
|
|
3529
|
-
for (var rv = Array(length), i = 0; i < length; i++) {
|
|
3530
|
-
rv[i] = object[i];
|
|
3531
|
-
}
|
|
3532
|
-
return rv;
|
|
3533
|
-
}
|
|
3534
|
-
return [];
|
|
3535
|
-
}
|
|
3536
|
-
goog.array.toArray = module$contents$goog$array_toArray;
|
|
3537
|
-
goog.array.clone = module$contents$goog$array_toArray;
|
|
3538
|
-
function module$contents$goog$array_extend(arr1, var_args) {
|
|
3539
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
3540
|
-
var arr2 = arguments[i];
|
|
3541
|
-
if (goog.isArrayLike(arr2)) {
|
|
3542
|
-
var len1 = arr1.length || 0, len2 = arr2.length || 0;
|
|
3543
|
-
arr1.length = len1 + len2;
|
|
3544
|
-
for (var j = 0; j < len2; j++) {
|
|
3545
|
-
arr1[len1 + j] = arr2[j];
|
|
3546
|
-
}
|
|
3547
|
-
} else {
|
|
3548
|
-
arr1.push(arr2);
|
|
3549
|
-
}
|
|
3550
|
-
}
|
|
3551
|
-
}
|
|
3552
|
-
goog.array.extend = module$contents$goog$array_extend;
|
|
3553
|
-
function module$contents$goog$array_splice(arr, index, howMany, var_args) {
|
|
3554
|
-
goog.asserts.assert(arr.length != null);
|
|
3555
|
-
return Array.prototype.splice.apply(arr, module$contents$goog$array_slice(arguments, 1));
|
|
3556
|
-
}
|
|
3557
|
-
goog.array.splice = module$contents$goog$array_splice;
|
|
3558
|
-
function module$contents$goog$array_slice(arr, start, opt_end) {
|
|
3559
|
-
goog.asserts.assert(arr.length != null);
|
|
3560
|
-
return arguments.length <= 2 ? Array.prototype.slice.call(arr, start) : Array.prototype.slice.call(arr, start, opt_end);
|
|
3561
|
-
}
|
|
3562
|
-
goog.array.slice = module$contents$goog$array_slice;
|
|
3563
|
-
function module$contents$goog$array_removeDuplicates(arr, opt_rv, opt_keyFn) {
|
|
3564
|
-
var returnArray = opt_rv || arr;
|
|
3565
|
-
if (goog.FEATURESET_YEAR >= 2018) {
|
|
3566
|
-
for (var defaultKeyFn = function(item) {
|
|
3567
|
-
return item;
|
|
3568
|
-
}, keyFn = opt_keyFn || defaultKeyFn, cursorInsert = 0, cursorRead = 0, seen = new Set(); cursorRead < arr.length;) {
|
|
3569
|
-
var current = arr[cursorRead++], key = keyFn(current);
|
|
3570
|
-
seen.has(key) || (seen.add(key), returnArray[cursorInsert++] = current);
|
|
3571
|
-
}
|
|
3572
|
-
returnArray.length = cursorInsert;
|
|
3573
|
-
} else {
|
|
3574
|
-
for (var defaultKeyFn$jscomp$0 = function(item) {
|
|
3575
|
-
return goog.isObject(item) ? "o" + goog.getUid(item) : (typeof item).charAt(0) + item;
|
|
3576
|
-
}, keyFn$jscomp$0 = opt_keyFn || defaultKeyFn$jscomp$0, cursorInsert$jscomp$0 = 0, cursorRead$jscomp$0 = 0, seen$jscomp$0 = {}; cursorRead$jscomp$0 < arr.length;) {
|
|
3577
|
-
var current$jscomp$0 = arr[cursorRead$jscomp$0++], key$jscomp$0 = keyFn$jscomp$0(current$jscomp$0);
|
|
3578
|
-
Object.prototype.hasOwnProperty.call(seen$jscomp$0, key$jscomp$0) || (seen$jscomp$0[key$jscomp$0] = !0, returnArray[cursorInsert$jscomp$0++] = current$jscomp$0);
|
|
3579
|
-
}
|
|
3580
|
-
returnArray.length = cursorInsert$jscomp$0;
|
|
3581
|
-
}
|
|
3582
|
-
}
|
|
3583
|
-
goog.array.removeDuplicates = module$contents$goog$array_removeDuplicates;
|
|
3584
|
-
function module$contents$goog$array_binarySearch(arr, target, opt_compareFn) {
|
|
3585
|
-
return module$contents$goog$array_binarySearch_(arr, opt_compareFn || module$contents$goog$array_defaultCompare, !1, target);
|
|
3586
|
-
}
|
|
3587
|
-
goog.array.binarySearch = module$contents$goog$array_binarySearch;
|
|
3588
|
-
goog.array.binarySelect = function(arr, evaluator, opt_obj) {
|
|
3589
|
-
return module$contents$goog$array_binarySearch_(arr, evaluator, !0, void 0, opt_obj);
|
|
3590
|
-
};
|
|
3591
|
-
function module$contents$goog$array_binarySearch_(arr, compareFn, isEvaluator, opt_target, opt_selfObj) {
|
|
3592
|
-
for (var left = 0, right = arr.length, found; left < right;) {
|
|
3593
|
-
var middle = left + (right - left >>> 1), compareResult = void 0;
|
|
3594
|
-
compareResult = isEvaluator ? compareFn.call(opt_selfObj, arr[middle], middle, arr) : compareFn(opt_target, arr[middle]);
|
|
3595
|
-
compareResult > 0 ? left = middle + 1 : (right = middle, found = !compareResult);
|
|
3596
|
-
}
|
|
3597
|
-
return found ? left : -left - 1;
|
|
3598
|
-
}
|
|
3599
|
-
function module$contents$goog$array_sort(arr, opt_compareFn) {
|
|
3600
|
-
arr.sort(opt_compareFn || module$contents$goog$array_defaultCompare);
|
|
3601
|
-
}
|
|
3602
|
-
goog.array.sort = module$contents$goog$array_sort;
|
|
3603
|
-
goog.array.stableSort = function(arr, opt_compareFn) {
|
|
3604
|
-
for (var compArr = Array(arr.length), i = 0; i < arr.length; i++) {
|
|
3605
|
-
compArr[i] = {index:i, value:arr[i]};
|
|
3606
|
-
}
|
|
3607
|
-
var valueCompareFn = opt_compareFn || module$contents$goog$array_defaultCompare;
|
|
3608
|
-
module$contents$goog$array_sort(compArr, function(obj1, obj2) {
|
|
3609
|
-
return valueCompareFn(obj1.value, obj2.value) || obj1.index - obj2.index;
|
|
3610
|
-
});
|
|
3611
|
-
for (var i$jscomp$0 = 0; i$jscomp$0 < arr.length; i$jscomp$0++) {
|
|
3612
|
-
arr[i$jscomp$0] = compArr[i$jscomp$0].value;
|
|
3613
|
-
}
|
|
3614
|
-
};
|
|
3615
|
-
function module$contents$goog$array_sortByKey(arr, keyFn, opt_compareFn) {
|
|
3616
|
-
var keyCompareFn = opt_compareFn || module$contents$goog$array_defaultCompare;
|
|
3617
|
-
module$contents$goog$array_sort(arr, function(a, b) {
|
|
3618
|
-
return keyCompareFn(keyFn(a), keyFn(b));
|
|
3619
|
-
});
|
|
3620
|
-
}
|
|
3621
|
-
goog.array.sortByKey = module$contents$goog$array_sortByKey;
|
|
3622
|
-
goog.array.sortObjectsByKey = function(arr, key, opt_compareFn) {
|
|
3623
|
-
module$contents$goog$array_sortByKey(arr, function(obj) {
|
|
3624
|
-
return obj[key];
|
|
3625
|
-
}, opt_compareFn);
|
|
3626
|
-
};
|
|
3627
|
-
function module$contents$goog$array_isSorted(arr, opt_compareFn, opt_strict) {
|
|
3628
|
-
for (var compare = opt_compareFn || module$contents$goog$array_defaultCompare, i = 1; i < arr.length; i++) {
|
|
3629
|
-
var compareResult = compare(arr[i - 1], arr[i]);
|
|
3630
|
-
if (compareResult > 0 || compareResult == 0 && opt_strict) {
|
|
3631
|
-
return !1;
|
|
3632
|
-
}
|
|
3633
|
-
}
|
|
3634
|
-
return !0;
|
|
3635
|
-
}
|
|
3636
|
-
goog.array.isSorted = module$contents$goog$array_isSorted;
|
|
3637
|
-
function module$contents$goog$array_equals(arr1, arr2, opt_equalsFn) {
|
|
3638
|
-
if (!goog.isArrayLike(arr1) || !goog.isArrayLike(arr2) || arr1.length != arr2.length) {
|
|
3639
|
-
return !1;
|
|
3640
|
-
}
|
|
3641
|
-
for (var l = arr1.length, equalsFn = opt_equalsFn || module$contents$goog$array_defaultCompareEquality, i = 0; i < l; i++) {
|
|
3642
|
-
if (!equalsFn(arr1[i], arr2[i])) {
|
|
3643
|
-
return !1;
|
|
3644
|
-
}
|
|
3645
|
-
}
|
|
3646
|
-
return !0;
|
|
3647
|
-
}
|
|
3648
|
-
goog.array.equals = module$contents$goog$array_equals;
|
|
3649
|
-
goog.array.compare3 = function(arr1, arr2, opt_compareFn) {
|
|
3650
|
-
for (var compare = opt_compareFn || module$contents$goog$array_defaultCompare, l = Math.min(arr1.length, arr2.length), i = 0; i < l; i++) {
|
|
3651
|
-
var result = compare(arr1[i], arr2[i]);
|
|
3652
|
-
if (result != 0) {
|
|
3653
|
-
return result;
|
|
3654
|
-
}
|
|
3655
|
-
}
|
|
3656
|
-
return module$contents$goog$array_defaultCompare(arr1.length, arr2.length);
|
|
3657
|
-
};
|
|
3658
|
-
function module$contents$goog$array_defaultCompare(a, b) {
|
|
3659
|
-
return a > b ? 1 : a < b ? -1 : 0;
|
|
3660
|
-
}
|
|
3661
|
-
goog.array.defaultCompare = module$contents$goog$array_defaultCompare;
|
|
3662
|
-
goog.array.inverseDefaultCompare = function(a, b) {
|
|
3663
|
-
return -module$contents$goog$array_defaultCompare(a, b);
|
|
3664
|
-
};
|
|
3665
|
-
function module$contents$goog$array_defaultCompareEquality(a, b) {
|
|
3666
|
-
return a === b;
|
|
3667
|
-
}
|
|
3668
|
-
goog.array.defaultCompareEquality = module$contents$goog$array_defaultCompareEquality;
|
|
3669
|
-
goog.array.binaryInsert = function(array, value, opt_compareFn) {
|
|
3670
|
-
var index = module$contents$goog$array_binarySearch(array, value, opt_compareFn);
|
|
3671
|
-
return index < 0 ? (module$contents$goog$array_insertAt(array, value, -(index + 1)), !0) : !1;
|
|
3672
|
-
};
|
|
3673
|
-
goog.array.binaryRemove = function(array, value, opt_compareFn) {
|
|
3674
|
-
var index = module$contents$goog$array_binarySearch(array, value, opt_compareFn);
|
|
3675
|
-
return index >= 0 ? module$contents$goog$array_removeAt(array, index) : !1;
|
|
3676
|
-
};
|
|
3677
|
-
goog.array.bucket = function(array, sorter, opt_obj) {
|
|
3678
|
-
for (var buckets = {}, i = 0; i < array.length; i++) {
|
|
3679
|
-
var value = array[i], key = sorter.call(opt_obj, value, i, array);
|
|
3680
|
-
key !== void 0 && (buckets[key] || (buckets[key] = [])).push(value);
|
|
3681
|
-
}
|
|
3682
|
-
return buckets;
|
|
3683
|
-
};
|
|
3684
|
-
goog.array.bucketToMap = function(array, sorter) {
|
|
3685
|
-
for (var buckets = new Map(), i = 0; i < array.length; i++) {
|
|
3686
|
-
var value = array[i], key = sorter(value, i, array);
|
|
3687
|
-
if (key !== void 0) {
|
|
3688
|
-
var bucket = buckets.get(key);
|
|
3689
|
-
bucket || (bucket = [], buckets.set(key, bucket));
|
|
3690
|
-
bucket.push(value);
|
|
3691
|
-
}
|
|
3692
|
-
}
|
|
3693
|
-
return buckets;
|
|
3694
|
-
};
|
|
3695
|
-
goog.array.toObject = function(arr, keyFunc, opt_obj) {
|
|
3696
|
-
var ret = {};
|
|
3697
|
-
module$contents$goog$array_forEach(arr, function(element, index) {
|
|
3698
|
-
ret[keyFunc.call(opt_obj, element, index, arr)] = element;
|
|
3699
|
-
});
|
|
3700
|
-
return ret;
|
|
3412
|
+
;var module$exports$safevalues$dom$elements$embed = {}, module$contents$safevalues$dom$elements$embed_module = module$contents$safevalues$dom$elements$embed_module || {id:"third_party/javascript/safevalues/dom/elements/embed.closure.js"};
|
|
3413
|
+
module$exports$safevalues$dom$elements$embed.setSrc = function(embedEl, url) {
|
|
3414
|
+
embedEl.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
3701
3415
|
};
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
}
|
|
3707
|
-
return map;
|
|
3416
|
+
var module$exports$safevalues$dom$elements$form = {}, module$contents$safevalues$dom$elements$form_module = module$contents$safevalues$dom$elements$form_module || {id:"third_party/javascript/safevalues/dom/elements/form.closure.js"};
|
|
3417
|
+
module$exports$safevalues$dom$elements$form.setAction = function(form, url) {
|
|
3418
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3419
|
+
sanitizedUrl !== void 0 && (form.action = sanitizedUrl);
|
|
3708
3420
|
};
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
if (step * (end - start) < 0) {
|
|
3713
|
-
return [];
|
|
3714
|
-
}
|
|
3715
|
-
if (step > 0) {
|
|
3716
|
-
for (var i = start; i < end; i += step) {
|
|
3717
|
-
array.push(i);
|
|
3718
|
-
}
|
|
3719
|
-
} else {
|
|
3720
|
-
for (var i$jscomp$0 = start; i$jscomp$0 > end; i$jscomp$0 += step) {
|
|
3721
|
-
array.push(i$jscomp$0);
|
|
3722
|
-
}
|
|
3723
|
-
}
|
|
3724
|
-
return array;
|
|
3725
|
-
}
|
|
3726
|
-
goog.array.range = module$contents$goog$array_range;
|
|
3727
|
-
function module$contents$goog$array_repeat(value, n) {
|
|
3728
|
-
for (var array = [], i = 0; i < n; i++) {
|
|
3729
|
-
array[i] = value;
|
|
3730
|
-
}
|
|
3731
|
-
return array;
|
|
3421
|
+
var module$exports$check = {}, module$contents$check_module = module$contents$check_module || {id:"javascript/typescript/contrib/check.closure.js"};
|
|
3422
|
+
function module$contents$check_checkExhaustive(value, msg) {
|
|
3423
|
+
return module$contents$check_checkExhaustiveAllowing(value, msg);
|
|
3732
3424
|
}
|
|
3733
|
-
|
|
3734
|
-
function module$contents$
|
|
3735
|
-
|
|
3736
|
-
var element = arguments[i];
|
|
3737
|
-
if (Array.isArray(element)) {
|
|
3738
|
-
for (var c = 0; c < element.length; c += 8192) {
|
|
3739
|
-
for (var chunk = module$contents$goog$array_slice(element, c, c + 8192), recurseResult = module$contents$goog$array_flatten.apply(null, chunk), r = 0; r < recurseResult.length; r++) {
|
|
3740
|
-
result.push(recurseResult[r]);
|
|
3741
|
-
}
|
|
3742
|
-
}
|
|
3743
|
-
} else {
|
|
3744
|
-
result.push(element);
|
|
3745
|
-
}
|
|
3746
|
-
}
|
|
3747
|
-
return result;
|
|
3425
|
+
module$exports$check.checkExhaustive = module$contents$check_checkExhaustive;
|
|
3426
|
+
function module$contents$check_checkExhaustiveAllowing(value, msg) {
|
|
3427
|
+
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
3748
3428
|
}
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
goog.asserts.assert(array.length != null);
|
|
3752
|
-
array.length && (n %= array.length, n > 0 ? Array.prototype.unshift.apply(array, array.splice(-n, n)) : n < 0 && Array.prototype.push.apply(array, array.splice(0, -n)));
|
|
3753
|
-
return array;
|
|
3754
|
-
};
|
|
3755
|
-
goog.array.moveItem = function(arr, fromIndex, toIndex) {
|
|
3756
|
-
goog.asserts.assert(fromIndex >= 0 && fromIndex < arr.length);
|
|
3757
|
-
goog.asserts.assert(toIndex >= 0 && toIndex < arr.length);
|
|
3758
|
-
var removedItems = Array.prototype.splice.call(arr, fromIndex, 1);
|
|
3759
|
-
Array.prototype.splice.call(arr, toIndex, 0, removedItems[0]);
|
|
3760
|
-
};
|
|
3761
|
-
goog.array.zip = function(var_args) {
|
|
3762
|
-
if (!arguments.length) {
|
|
3763
|
-
return [];
|
|
3764
|
-
}
|
|
3765
|
-
for (var result = [], minLen = arguments[0].length, i = 1; i < arguments.length; i++) {
|
|
3766
|
-
arguments[i].length < minLen && (minLen = arguments[i].length);
|
|
3767
|
-
}
|
|
3768
|
-
for (var i$jscomp$0 = 0; i$jscomp$0 < minLen; i$jscomp$0++) {
|
|
3769
|
-
for (var value = [], j = 0; j < arguments.length; j++) {
|
|
3770
|
-
value.push(arguments[j][i$jscomp$0]);
|
|
3771
|
-
}
|
|
3772
|
-
result.push(value);
|
|
3773
|
-
}
|
|
3774
|
-
return result;
|
|
3775
|
-
};
|
|
3776
|
-
goog.array.shuffle = function(arr, opt_randFn) {
|
|
3777
|
-
for (var randFn = opt_randFn || Math.random, i = arr.length - 1; i > 0; i--) {
|
|
3778
|
-
var j = Math.floor(randFn() * (i + 1)), tmp = arr[i];
|
|
3779
|
-
arr[i] = arr[j];
|
|
3780
|
-
arr[j] = tmp;
|
|
3781
|
-
}
|
|
3782
|
-
};
|
|
3783
|
-
goog.array.copyByIndex = function(arr, index_arr) {
|
|
3784
|
-
var result = [];
|
|
3785
|
-
module$contents$goog$array_forEach(index_arr, function(index) {
|
|
3786
|
-
result.push(arr[index]);
|
|
3787
|
-
});
|
|
3788
|
-
return result;
|
|
3789
|
-
};
|
|
3790
|
-
goog.array.concatMap = function(arr, f, opt_obj) {
|
|
3791
|
-
return module$contents$goog$array_concat.apply([], module$contents$goog$array_map(arr, f, opt_obj));
|
|
3792
|
-
};
|
|
3793
|
-
goog.dom.HtmlElement = function() {
|
|
3794
|
-
};
|
|
3795
|
-
goog.dom.TagName = function() {
|
|
3796
|
-
};
|
|
3797
|
-
goog.dom.TagName.cast = function(name, type) {
|
|
3798
|
-
return name;
|
|
3799
|
-
};
|
|
3800
|
-
goog.dom.TagName.prototype.toString = function() {
|
|
3801
|
-
};
|
|
3802
|
-
goog.dom.TagName.A = "A";
|
|
3803
|
-
goog.dom.TagName.ABBR = "ABBR";
|
|
3804
|
-
goog.dom.TagName.ACRONYM = "ACRONYM";
|
|
3805
|
-
goog.dom.TagName.ADDRESS = "ADDRESS";
|
|
3806
|
-
goog.dom.TagName.APPLET = "APPLET";
|
|
3807
|
-
goog.dom.TagName.AREA = "AREA";
|
|
3808
|
-
goog.dom.TagName.ARTICLE = "ARTICLE";
|
|
3809
|
-
goog.dom.TagName.ASIDE = "ASIDE";
|
|
3810
|
-
goog.dom.TagName.AUDIO = "AUDIO";
|
|
3811
|
-
goog.dom.TagName.B = "B";
|
|
3812
|
-
goog.dom.TagName.BASE = "BASE";
|
|
3813
|
-
goog.dom.TagName.BASEFONT = "BASEFONT";
|
|
3814
|
-
goog.dom.TagName.BDI = "BDI";
|
|
3815
|
-
goog.dom.TagName.BDO = "BDO";
|
|
3816
|
-
goog.dom.TagName.BIG = "BIG";
|
|
3817
|
-
goog.dom.TagName.BLOCKQUOTE = "BLOCKQUOTE";
|
|
3818
|
-
goog.dom.TagName.BODY = "BODY";
|
|
3819
|
-
goog.dom.TagName.BR = "BR";
|
|
3820
|
-
goog.dom.TagName.BUTTON = "BUTTON";
|
|
3821
|
-
goog.dom.TagName.CANVAS = "CANVAS";
|
|
3822
|
-
goog.dom.TagName.CAPTION = "CAPTION";
|
|
3823
|
-
goog.dom.TagName.CENTER = "CENTER";
|
|
3824
|
-
goog.dom.TagName.CITE = "CITE";
|
|
3825
|
-
goog.dom.TagName.CODE = "CODE";
|
|
3826
|
-
goog.dom.TagName.COL = "COL";
|
|
3827
|
-
goog.dom.TagName.COLGROUP = "COLGROUP";
|
|
3828
|
-
goog.dom.TagName.COMMAND = "COMMAND";
|
|
3829
|
-
goog.dom.TagName.DATA = "DATA";
|
|
3830
|
-
goog.dom.TagName.DATALIST = "DATALIST";
|
|
3831
|
-
goog.dom.TagName.DD = "DD";
|
|
3832
|
-
goog.dom.TagName.DEL = "DEL";
|
|
3833
|
-
goog.dom.TagName.DETAILS = "DETAILS";
|
|
3834
|
-
goog.dom.TagName.DFN = "DFN";
|
|
3835
|
-
goog.dom.TagName.DIALOG = "DIALOG";
|
|
3836
|
-
goog.dom.TagName.DIR = "DIR";
|
|
3837
|
-
goog.dom.TagName.DIV = "DIV";
|
|
3838
|
-
goog.dom.TagName.DL = "DL";
|
|
3839
|
-
goog.dom.TagName.DT = "DT";
|
|
3840
|
-
goog.dom.TagName.EM = "EM";
|
|
3841
|
-
goog.dom.TagName.EMBED = "EMBED";
|
|
3842
|
-
goog.dom.TagName.FIELDSET = "FIELDSET";
|
|
3843
|
-
goog.dom.TagName.FIGCAPTION = "FIGCAPTION";
|
|
3844
|
-
goog.dom.TagName.FIGURE = "FIGURE";
|
|
3845
|
-
goog.dom.TagName.FONT = "FONT";
|
|
3846
|
-
goog.dom.TagName.FOOTER = "FOOTER";
|
|
3847
|
-
goog.dom.TagName.FORM = "FORM";
|
|
3848
|
-
goog.dom.TagName.FRAME = "FRAME";
|
|
3849
|
-
goog.dom.TagName.FRAMESET = "FRAMESET";
|
|
3850
|
-
goog.dom.TagName.H1 = "H1";
|
|
3851
|
-
goog.dom.TagName.H2 = "H2";
|
|
3852
|
-
goog.dom.TagName.H3 = "H3";
|
|
3853
|
-
goog.dom.TagName.H4 = "H4";
|
|
3854
|
-
goog.dom.TagName.H5 = "H5";
|
|
3855
|
-
goog.dom.TagName.H6 = "H6";
|
|
3856
|
-
goog.dom.TagName.HEAD = "HEAD";
|
|
3857
|
-
goog.dom.TagName.HEADER = "HEADER";
|
|
3858
|
-
goog.dom.TagName.HGROUP = "HGROUP";
|
|
3859
|
-
goog.dom.TagName.HR = "HR";
|
|
3860
|
-
goog.dom.TagName.HTML = "HTML";
|
|
3861
|
-
goog.dom.TagName.I = "I";
|
|
3862
|
-
goog.dom.TagName.IFRAME = "IFRAME";
|
|
3863
|
-
goog.dom.TagName.IMG = "IMG";
|
|
3864
|
-
goog.dom.TagName.INPUT = "INPUT";
|
|
3865
|
-
goog.dom.TagName.INS = "INS";
|
|
3866
|
-
goog.dom.TagName.ISINDEX = "ISINDEX";
|
|
3867
|
-
goog.dom.TagName.KBD = "KBD";
|
|
3868
|
-
goog.dom.TagName.KEYGEN = "KEYGEN";
|
|
3869
|
-
goog.dom.TagName.LABEL = "LABEL";
|
|
3870
|
-
goog.dom.TagName.LEGEND = "LEGEND";
|
|
3871
|
-
goog.dom.TagName.LI = "LI";
|
|
3872
|
-
goog.dom.TagName.LINK = "LINK";
|
|
3873
|
-
goog.dom.TagName.MAIN = "MAIN";
|
|
3874
|
-
goog.dom.TagName.MAP = "MAP";
|
|
3875
|
-
goog.dom.TagName.MARK = "MARK";
|
|
3876
|
-
goog.dom.TagName.MATH = "MATH";
|
|
3877
|
-
goog.dom.TagName.MENU = "MENU";
|
|
3878
|
-
goog.dom.TagName.MENUITEM = "MENUITEM";
|
|
3879
|
-
goog.dom.TagName.META = "META";
|
|
3880
|
-
goog.dom.TagName.METER = "METER";
|
|
3881
|
-
goog.dom.TagName.NAV = "NAV";
|
|
3882
|
-
goog.dom.TagName.NOFRAMES = "NOFRAMES";
|
|
3883
|
-
goog.dom.TagName.NOSCRIPT = "NOSCRIPT";
|
|
3884
|
-
goog.dom.TagName.OBJECT = "OBJECT";
|
|
3885
|
-
goog.dom.TagName.OL = "OL";
|
|
3886
|
-
goog.dom.TagName.OPTGROUP = "OPTGROUP";
|
|
3887
|
-
goog.dom.TagName.OPTION = "OPTION";
|
|
3888
|
-
goog.dom.TagName.OUTPUT = "OUTPUT";
|
|
3889
|
-
goog.dom.TagName.P = "P";
|
|
3890
|
-
goog.dom.TagName.PARAM = "PARAM";
|
|
3891
|
-
goog.dom.TagName.PICTURE = "PICTURE";
|
|
3892
|
-
goog.dom.TagName.PRE = "PRE";
|
|
3893
|
-
goog.dom.TagName.PROGRESS = "PROGRESS";
|
|
3894
|
-
goog.dom.TagName.Q = "Q";
|
|
3895
|
-
goog.dom.TagName.RP = "RP";
|
|
3896
|
-
goog.dom.TagName.RT = "RT";
|
|
3897
|
-
goog.dom.TagName.RTC = "RTC";
|
|
3898
|
-
goog.dom.TagName.RUBY = "RUBY";
|
|
3899
|
-
goog.dom.TagName.S = "S";
|
|
3900
|
-
goog.dom.TagName.SAMP = "SAMP";
|
|
3901
|
-
goog.dom.TagName.SCRIPT = "SCRIPT";
|
|
3902
|
-
goog.dom.TagName.SECTION = "SECTION";
|
|
3903
|
-
goog.dom.TagName.SELECT = "SELECT";
|
|
3904
|
-
goog.dom.TagName.SMALL = "SMALL";
|
|
3905
|
-
goog.dom.TagName.SOURCE = "SOURCE";
|
|
3906
|
-
goog.dom.TagName.SPAN = "SPAN";
|
|
3907
|
-
goog.dom.TagName.STRIKE = "STRIKE";
|
|
3908
|
-
goog.dom.TagName.STRONG = "STRONG";
|
|
3909
|
-
goog.dom.TagName.STYLE = "STYLE";
|
|
3910
|
-
goog.dom.TagName.SUB = "SUB";
|
|
3911
|
-
goog.dom.TagName.SUMMARY = "SUMMARY";
|
|
3912
|
-
goog.dom.TagName.SUP = "SUP";
|
|
3913
|
-
goog.dom.TagName.SVG = "SVG";
|
|
3914
|
-
goog.dom.TagName.TABLE = "TABLE";
|
|
3915
|
-
goog.dom.TagName.TBODY = "TBODY";
|
|
3916
|
-
goog.dom.TagName.TD = "TD";
|
|
3917
|
-
goog.dom.TagName.TEMPLATE = "TEMPLATE";
|
|
3918
|
-
goog.dom.TagName.TEXTAREA = "TEXTAREA";
|
|
3919
|
-
goog.dom.TagName.TFOOT = "TFOOT";
|
|
3920
|
-
goog.dom.TagName.TH = "TH";
|
|
3921
|
-
goog.dom.TagName.THEAD = "THEAD";
|
|
3922
|
-
goog.dom.TagName.TIME = "TIME";
|
|
3923
|
-
goog.dom.TagName.TITLE = "TITLE";
|
|
3924
|
-
goog.dom.TagName.TR = "TR";
|
|
3925
|
-
goog.dom.TagName.TRACK = "TRACK";
|
|
3926
|
-
goog.dom.TagName.TT = "TT";
|
|
3927
|
-
goog.dom.TagName.U = "U";
|
|
3928
|
-
goog.dom.TagName.UL = "UL";
|
|
3929
|
-
goog.dom.TagName.VAR = "VAR";
|
|
3930
|
-
goog.dom.TagName.VIDEO = "VIDEO";
|
|
3931
|
-
goog.dom.TagName.WBR = "WBR";
|
|
3932
|
-
goog.dom.tags = {};
|
|
3933
|
-
goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!0, hr:!0, img:!0, input:!0, keygen:!0, link:!0, meta:!0, param:!0, source:!0, track:!0, wbr:!0};
|
|
3934
|
-
goog.dom.tags.isVoidTag = function(tagName) {
|
|
3935
|
-
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
3936
|
-
};
|
|
3937
|
-
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
3938
|
-
module$exports$safevalues$internals$style_impl.SafeStyle = function(token, value) {
|
|
3939
|
-
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3940
|
-
this.privateDoNotAccessOrElseWrappedStyle = value;
|
|
3429
|
+
module$exports$check.checkExhaustiveAllowing = module$contents$check_checkExhaustiveAllowing;
|
|
3430
|
+
module$exports$check.assumeExhaustive = function(value) {
|
|
3941
3431
|
};
|
|
3942
|
-
module$exports$
|
|
3943
|
-
return this.privateDoNotAccessOrElseWrappedStyle;
|
|
3432
|
+
module$exports$check.assumeExhaustiveAllowing = function(value) {
|
|
3944
3433
|
};
|
|
3945
|
-
var module$contents$safevalues$
|
|
3946
|
-
function module$contents$safevalues$
|
|
3947
|
-
|
|
3434
|
+
var module$exports$safevalues$dom$elements$iframe = {}, module$contents$safevalues$dom$elements$iframe_module = module$contents$safevalues$dom$elements$iframe_module || {id:"third_party/javascript/safevalues/dom/elements/iframe.closure.js"};
|
|
3435
|
+
function module$contents$safevalues$dom$elements$iframe_setSrc(iframe, v) {
|
|
3436
|
+
iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v).toString();
|
|
3948
3437
|
}
|
|
3949
|
-
module$exports$safevalues$
|
|
3950
|
-
function module$contents$safevalues$
|
|
3951
|
-
|
|
3438
|
+
module$exports$safevalues$dom$elements$iframe.setSrc = module$contents$safevalues$dom$elements$iframe_setSrc;
|
|
3439
|
+
function module$contents$safevalues$dom$elements$iframe_setSrcdoc(iframe, v) {
|
|
3440
|
+
iframe.srcdoc = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3952
3441
|
}
|
|
3953
|
-
module$exports$safevalues$
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3442
|
+
module$exports$safevalues$dom$elements$iframe.setSrcdoc = module$contents$safevalues$dom$elements$iframe_setSrcdoc;
|
|
3443
|
+
module$exports$safevalues$dom$elements$iframe.Intent = {FORMATTED_HTML_CONTENT:0, EMBEDDED_INTERNAL_CONTENT:1, EMBEDDED_TRUSTED_EXTERNAL_CONTENT:2};
|
|
3444
|
+
module$exports$safevalues$dom$elements$iframe.Intent[module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT] = "FORMATTED_HTML_CONTENT";
|
|
3445
|
+
module$exports$safevalues$dom$elements$iframe.Intent[module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT] = "EMBEDDED_INTERNAL_CONTENT";
|
|
3446
|
+
module$exports$safevalues$dom$elements$iframe.Intent[module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT] = "EMBEDDED_TRUSTED_EXTERNAL_CONTENT";
|
|
3447
|
+
var module$contents$safevalues$dom$elements$iframe_SandboxDirective = {ALLOW_SAME_ORIGIN:"allow-same-origin", ALLOW_SCRIPTS:"allow-scripts", ALLOW_FORMS:"allow-forms", ALLOW_POPUPS:"allow-popups", ALLOW_POPUPS_TO_ESCAPE_SANDBOX:"allow-popups-to-escape-sandbox", ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION:"allow-storage-access-by-user-activation"};
|
|
3448
|
+
function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr, directives) {
|
|
3449
|
+
ifr.setAttribute("sandbox", "");
|
|
3450
|
+
for (var i = 0; i < directives.length; i++) {
|
|
3451
|
+
ifr.sandbox.supports && !ifr.sandbox.supports(directives[i]) || ifr.sandbox.add(directives[i]);
|
|
3957
3452
|
}
|
|
3958
|
-
var message = "";
|
|
3959
|
-
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyle, got '" + value + "' of type '" + typeof value + "'");
|
|
3960
|
-
throw Error(message);
|
|
3961
3453
|
}
|
|
3962
|
-
module$exports$safevalues$
|
|
3963
|
-
var
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3970
|
-
var module$exports$safevalues$for_closure = {};
|
|
3971
|
-
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3972
|
-
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3973
|
-
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3974
|
-
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3975
|
-
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3976
|
-
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3977
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
3978
|
-
var styleString = goog.string.Const.unwrap(style);
|
|
3979
|
-
if (styleString.length === 0) {
|
|
3980
|
-
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3981
|
-
}
|
|
3982
|
-
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
3983
|
-
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
3984
|
-
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
3985
|
-
};
|
|
3986
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
3987
|
-
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
3454
|
+
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
3455
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
3456
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3457
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3458
|
+
this.type = type;
|
|
3459
|
+
this.intent = intent;
|
|
3460
|
+
this.name = "TypeCannotBeUsedWithIntentError";
|
|
3988
3461
|
};
|
|
3989
|
-
module$exports$safevalues$
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3462
|
+
$jscomp.inherits(module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError, Error);
|
|
3463
|
+
module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(element, intent, src) {
|
|
3464
|
+
element.removeAttribute("srcdoc");
|
|
3465
|
+
switch(intent) {
|
|
3466
|
+
case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
|
|
3467
|
+
if (src instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
|
|
3468
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
|
|
3995
3469
|
}
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3470
|
+
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
|
|
3471
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(src);
|
|
3472
|
+
sanitizedUrl !== void 0 && (element.src = sanitizedUrl);
|
|
3473
|
+
break;
|
|
3474
|
+
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
|
|
3475
|
+
if (!(src instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl)) {
|
|
3476
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError(typeof src, module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
|
|
3477
|
+
}
|
|
3478
|
+
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
|
|
3479
|
+
module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
|
|
3480
|
+
module$contents$safevalues$dom$elements$iframe_setSrc(element, src);
|
|
3481
|
+
break;
|
|
3482
|
+
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
|
|
3483
|
+
if (src instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
|
|
3484
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT);
|
|
3485
|
+
}
|
|
3486
|
+
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
|
|
3487
|
+
module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
|
|
3488
|
+
var sanitizedUrl$jscomp$0 = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(src);
|
|
3489
|
+
sanitizedUrl$jscomp$0 !== void 0 && (element.src = sanitizedUrl$jscomp$0);
|
|
3490
|
+
break;
|
|
3491
|
+
default:
|
|
3492
|
+
module$contents$check_checkExhaustive(intent);
|
|
3999
3493
|
}
|
|
4000
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
4001
|
-
};
|
|
4002
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
4003
|
-
var style = "", addArgument = function(argument) {
|
|
4004
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
4005
|
-
};
|
|
4006
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
4007
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
4008
3494
|
};
|
|
4009
|
-
module$exports$safevalues$
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
4016
|
-
if (/[{;}]/.test(result)) {
|
|
4017
|
-
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
4018
|
-
}
|
|
4019
|
-
return result;
|
|
4020
|
-
}
|
|
4021
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
4022
|
-
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");
|
|
4023
|
-
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
4024
|
-
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
4025
|
-
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
4026
|
-
}
|
|
4027
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
4028
|
-
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
4029
|
-
}
|
|
4030
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
4031
|
-
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;
|
|
4032
|
-
}
|
|
4033
|
-
} else {
|
|
4034
|
-
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;
|
|
4035
|
-
}
|
|
4036
|
-
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
4037
|
-
}
|
|
4038
|
-
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
4039
|
-
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
4040
|
-
var c = value.charAt(i);
|
|
4041
|
-
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
4042
|
-
}
|
|
4043
|
-
return outsideSingle && outsideDouble;
|
|
4044
|
-
}
|
|
4045
|
-
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
4046
|
-
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
4047
|
-
var c = value.charAt(i);
|
|
4048
|
-
if (c == "]") {
|
|
4049
|
-
if (outside) {
|
|
4050
|
-
return !1;
|
|
3495
|
+
module$exports$safevalues$dom$elements$iframe.setSrcdocWithIntent = function(element, intent, srcdoc) {
|
|
3496
|
+
element.removeAttribute("src");
|
|
3497
|
+
switch(intent) {
|
|
3498
|
+
case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
|
|
3499
|
+
if (srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
|
|
3500
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("SafeHtml", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
|
|
4051
3501
|
}
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
3502
|
+
element.csp = "default-src 'none'";
|
|
3503
|
+
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
|
|
3504
|
+
module$contents$safevalues$dom$elements$iframe_setSrcdoc(element, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(srcdoc));
|
|
3505
|
+
break;
|
|
3506
|
+
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
|
|
3507
|
+
if (!(srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml)) {
|
|
3508
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("string", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
|
|
4056
3509
|
}
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
return inside;
|
|
4072
|
-
});
|
|
4073
|
-
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
4074
|
-
return before + quote + sanitized + quote + after;
|
|
4075
|
-
});
|
|
4076
|
-
}
|
|
4077
|
-
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
4078
|
-
var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
|
|
4079
|
-
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
4080
|
-
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
3510
|
+
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
|
|
3511
|
+
module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
|
|
3512
|
+
module$contents$safevalues$dom$elements$iframe_setSrcdoc(element, srcdoc);
|
|
3513
|
+
break;
|
|
3514
|
+
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
|
|
3515
|
+
if (srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
|
|
3516
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("SafeHtml", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
|
|
3517
|
+
}
|
|
3518
|
+
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX,
|
|
3519
|
+
module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
|
|
3520
|
+
module$contents$safevalues$dom$elements$iframe_setSrcdoc(element, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(srcdoc));
|
|
3521
|
+
break;
|
|
3522
|
+
default:
|
|
3523
|
+
module$contents$check_checkExhaustive(intent);
|
|
4081
3524
|
}
|
|
4082
|
-
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
|
|
4083
3525
|
};
|
|
4084
|
-
module$contents$
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
4089
|
-
throw Error("Selector does not allow '<', got: " + selector);
|
|
4090
|
-
}
|
|
4091
|
-
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
4092
|
-
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
4093
|
-
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
4094
|
-
}
|
|
4095
|
-
if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
|
|
4096
|
-
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
4097
|
-
}
|
|
4098
|
-
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
4099
|
-
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
4100
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
3526
|
+
var module$exports$safevalues$dom$elements$input = {}, module$contents$safevalues$dom$elements$input_module = module$contents$safevalues$dom$elements$input_module || {id:"third_party/javascript/safevalues/dom/elements/input.closure.js"};
|
|
3527
|
+
module$exports$safevalues$dom$elements$input.setFormaction = function(input, url) {
|
|
3528
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3529
|
+
sanitizedUrl !== void 0 && (input.formAction = sanitizedUrl);
|
|
4101
3530
|
};
|
|
4102
|
-
module$contents$
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
3531
|
+
var module$exports$safevalues$dom$elements$link = {}, module$contents$safevalues$dom$elements$link_module = module$contents$safevalues$dom$elements$link_module || {id:"third_party/javascript/safevalues/dom/elements/link.closure.js"}, module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES = "alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");
|
|
3532
|
+
module$exports$safevalues$dom$elements$link.setHrefAndRel = function(link, url, rel) {
|
|
3533
|
+
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
3534
|
+
module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel);
|
|
3535
|
+
} else {
|
|
3536
|
+
if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
|
|
3537
|
+
throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
|
|
4109
3538
|
}
|
|
3539
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3540
|
+
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
4110
3541
|
}
|
|
4111
|
-
return expectedBrackets.length == 0;
|
|
4112
|
-
};
|
|
4113
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat = function(var_args) {
|
|
4114
|
-
var result = "", addArgument = function(argument) {
|
|
4115
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(argument);
|
|
4116
|
-
};
|
|
4117
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
4118
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(result);
|
|
4119
3542
|
};
|
|
4120
|
-
module$contents$
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
3543
|
+
function module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel) {
|
|
3544
|
+
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
3545
|
+
link.rel = rel;
|
|
3546
|
+
}
|
|
3547
|
+
module$exports$safevalues$dom$elements$link.setHrefAndRelWithTrustedResourceUrl = module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl;
|
|
3548
|
+
var module$exports$safevalues$dom$elements$object = {}, module$contents$safevalues$dom$elements$object_module = module$contents$safevalues$dom$elements$object_module || {id:"third_party/javascript/safevalues/dom/elements/object.closure.js"};
|
|
3549
|
+
module$exports$safevalues$dom$elements$object.setData = function(obj, v) {
|
|
3550
|
+
obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
4127
3551
|
};
|
|
4128
|
-
module$contents$
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
(0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '" + safeStyleSheet + "' of type " + goog.typeOf(safeStyleSheet));
|
|
4133
|
-
return "type_error:SafeStyleSheet";
|
|
3552
|
+
var module$exports$safevalues$dom$globals$window = {}, module$contents$safevalues$dom$globals$window_module = module$contents$safevalues$dom$globals$window_module || {id:"third_party/javascript/safevalues/dom/globals/window.closure.js"};
|
|
3553
|
+
module$exports$safevalues$dom$globals$window.open = function(win, url, target, features) {
|
|
3554
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3555
|
+
return sanitizedUrl !== void 0 ? win.open(sanitizedUrl, target, features) : null;
|
|
4134
3556
|
};
|
|
4135
|
-
module$
|
|
4136
|
-
return
|
|
3557
|
+
module$exports$safevalues$dom$globals$window.getScriptNonce = function(win) {
|
|
3558
|
+
return module$contents$safevalues$dom$globals$window_getNonceFor("script", win);
|
|
4137
3559
|
};
|
|
4138
|
-
module$
|
|
4139
|
-
|
|
4140
|
-
var module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeHtml_SafeHtml = function(value, token) {
|
|
4141
|
-
if (goog.DEBUG && token !== module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
4142
|
-
throw Error("SafeHtml is not meant to be built directly");
|
|
4143
|
-
}
|
|
4144
|
-
this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = value;
|
|
3560
|
+
module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
3561
|
+
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
4145
3562
|
};
|
|
4146
|
-
module$contents$
|
|
4147
|
-
|
|
3563
|
+
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
3564
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
3565
|
+
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
3566
|
+
}
|
|
3567
|
+
;var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"}, module$contents$safevalues$internals$script_impl_trustedTypes = goog.global.trustedTypes;
|
|
3568
|
+
module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
|
|
3569
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3570
|
+
this.privateDoNotAccessOrElseWrappedScript = value;
|
|
4148
3571
|
};
|
|
4149
|
-
module$
|
|
4150
|
-
return
|
|
3572
|
+
module$exports$safevalues$internals$script_impl.SafeScript.prototype.toString = function() {
|
|
3573
|
+
return this.privateDoNotAccessOrElseWrappedScript + "";
|
|
4151
3574
|
};
|
|
4152
|
-
module$contents$
|
|
4153
|
-
|
|
4154
|
-
|
|
3575
|
+
var module$contents$safevalues$internals$script_impl_ScriptImpl = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
3576
|
+
function module$contents$safevalues$internals$script_impl_constructScript(value) {
|
|
3577
|
+
return new module$exports$safevalues$internals$script_impl.SafeScript(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3578
|
+
}
|
|
3579
|
+
function module$contents$safevalues$internals$script_impl_createScriptInternal(value) {
|
|
3580
|
+
var noinlineValue = value, policy = (0,goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse)();
|
|
3581
|
+
return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(noinlineValue) : noinlineValue);
|
|
3582
|
+
}
|
|
3583
|
+
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
3584
|
+
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$safevalues$internals$pure_pure(function() {
|
|
3585
|
+
return module$contents$safevalues$internals$script_impl_constructScript(module$contents$safevalues$internals$script_impl_trustedTypes ? module$contents$safevalues$internals$script_impl_trustedTypes.emptyScript : "");
|
|
3586
|
+
});
|
|
3587
|
+
function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
3588
|
+
return value instanceof module$exports$safevalues$internals$script_impl.SafeScript;
|
|
3589
|
+
}
|
|
3590
|
+
module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
3591
|
+
function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
|
|
3592
|
+
if (module$contents$safevalues$internals$script_impl_isScript(value)) {
|
|
3593
|
+
return value.privateDoNotAccessOrElseWrappedScript;
|
|
4155
3594
|
}
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
3595
|
+
var message = "";
|
|
3596
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeScript");
|
|
3597
|
+
throw Error(message);
|
|
3598
|
+
}
|
|
3599
|
+
module$exports$safevalues$internals$script_impl.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
3600
|
+
var module$exports$safevalues$dom$elements$script = {}, module$contents$safevalues$dom$elements$script_module = module$contents$safevalues$dom$elements$script_module || {id:"third_party/javascript/safevalues/dom/elements/script.closure.js"};
|
|
3601
|
+
function module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script) {
|
|
3602
|
+
var nonce = (0,module$exports$safevalues$dom$globals$window.getScriptNonce)(script.ownerDocument && script.ownerDocument.defaultView || window);
|
|
3603
|
+
nonce && script.setAttribute("nonce", nonce);
|
|
3604
|
+
}
|
|
3605
|
+
module$exports$safevalues$dom$elements$script.setTextContent = function(script, v, options) {
|
|
3606
|
+
script.textContent = module$contents$safevalues$internals$script_impl_unwrapScript(v);
|
|
3607
|
+
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
4161
3608
|
};
|
|
4162
|
-
module$
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
}
|
|
4166
|
-
var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(textOrHtml);
|
|
4167
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html)));
|
|
3609
|
+
module$exports$safevalues$dom$elements$script.setSrc = function(script, v, options) {
|
|
3610
|
+
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
3611
|
+
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
4168
3612
|
};
|
|
4169
|
-
module$contents$
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(textOrHtml);
|
|
4174
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html)));
|
|
3613
|
+
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"};
|
|
3614
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = function(token, value) {
|
|
3615
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3616
|
+
this.privateDoNotAccessOrElseWrappedStyleSheet = value;
|
|
4175
3617
|
};
|
|
4176
|
-
module$
|
|
4177
|
-
|
|
4178
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(tagName), attributes, content);
|
|
3618
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.prototype.toString = function() {
|
|
3619
|
+
return this.privateDoNotAccessOrElseWrappedStyleSheet;
|
|
4179
3620
|
};
|
|
4180
|
-
module$contents$
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
3621
|
+
var module$contents$safevalues$internals$style_sheet_impl_StyleSheetImpl = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
3622
|
+
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(value) {
|
|
3623
|
+
return new module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3624
|
+
}
|
|
3625
|
+
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
3626
|
+
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
3627
|
+
return value instanceof module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
3628
|
+
}
|
|
3629
|
+
module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
3630
|
+
function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
|
|
3631
|
+
if (module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value)) {
|
|
3632
|
+
return value.privateDoNotAccessOrElseWrappedStyleSheet;
|
|
4186
3633
|
}
|
|
3634
|
+
var message = "";
|
|
3635
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyleSheet, got '" + value + "' of type '" + typeof value + "'");
|
|
3636
|
+
throw Error(message);
|
|
3637
|
+
}
|
|
3638
|
+
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
3639
|
+
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"};
|
|
3640
|
+
module$exports$safevalues$dom$elements$style.setTextContent = function(elem, safeStyleSheet) {
|
|
3641
|
+
elem.textContent = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
4187
3642
|
};
|
|
4188
|
-
module$
|
|
4189
|
-
|
|
4190
|
-
var
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
};
|
|
4196
|
-
module$contents$goog$html$SafeHtml_SafeHtml.createSandboxIframe = function(src, srcdoc, attributes, content) {
|
|
4197
|
-
if (!module$contents$goog$html$SafeHtml_SafeHtml.canUseSandboxIframe()) {
|
|
4198
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "The browser does not support sandboxed iframes." : "");
|
|
3643
|
+
var module$exports$safevalues$dom$elements$svg = {}, module$contents$safevalues$dom$elements$svg_module = module$contents$safevalues$dom$elements$svg_module || {id:"third_party/javascript/safevalues/dom/elements/svg.closure.js"}, module$contents$safevalues$dom$elements$svg_UNSAFE_SVG_ATTRIBUTES = ["href", "xlink:href"];
|
|
3644
|
+
module$exports$safevalues$dom$elements$svg.setAttribute = function(svg, attr, value) {
|
|
3645
|
+
var attrLower = attr.toLowerCase();
|
|
3646
|
+
if (module$contents$safevalues$dom$elements$svg_UNSAFE_SVG_ATTRIBUTES.indexOf(attrLower) !== -1 || attrLower.indexOf("on") === 0) {
|
|
3647
|
+
var msg = "";
|
|
3648
|
+
goog.DEBUG && (msg = "Setting the '" + attrLower + "' attribute on SVG can cause XSS.");
|
|
3649
|
+
throw Error(msg);
|
|
4199
3650
|
}
|
|
4200
|
-
|
|
4201
|
-
fixedAttributes.src = src ? module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(src)) : null;
|
|
4202
|
-
fixedAttributes.srcdoc = srcdoc || null;
|
|
4203
|
-
fixedAttributes.sandbox = "";
|
|
4204
|
-
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
|
|
4205
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
4206
|
-
};
|
|
4207
|
-
module$contents$goog$html$SafeHtml_SafeHtml.canUseSandboxIframe = function() {
|
|
4208
|
-
return goog.global.HTMLIFrameElement && "sandbox" in goog.global.HTMLIFrameElement.prototype;
|
|
4209
|
-
};
|
|
4210
|
-
module$contents$goog$html$SafeHtml_SafeHtml.createScriptSrc = function(src, attributes) {
|
|
4211
|
-
goog.html.TrustedResourceUrl.unwrap(src);
|
|
4212
|
-
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes({src:src}, {}, attributes);
|
|
4213
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
|
|
3651
|
+
svg.setAttribute(attr, value);
|
|
4214
3652
|
};
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
3653
|
+
goog.array = {};
|
|
3654
|
+
goog.NATIVE_ARRAY_PROTOTYPES = goog.TRUSTED_SITE;
|
|
3655
|
+
var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS = goog.FEATURESET_YEAR > 2012;
|
|
3656
|
+
goog.array.ASSUME_NATIVE_FUNCTIONS = module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;
|
|
3657
|
+
function module$contents$goog$array_peek(array) {
|
|
3658
|
+
return array[array.length - 1];
|
|
3659
|
+
}
|
|
3660
|
+
goog.array.peek = module$contents$goog$array_peek;
|
|
3661
|
+
goog.array.last = module$contents$goog$array_peek;
|
|
3662
|
+
var module$contents$goog$array_indexOf = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.indexOf) ? function(arr, obj, opt_fromIndex) {
|
|
3663
|
+
goog.asserts.assert(arr.length != null);
|
|
3664
|
+
return Array.prototype.indexOf.call(arr, obj, opt_fromIndex);
|
|
3665
|
+
} : function(arr, obj, opt_fromIndex) {
|
|
3666
|
+
var fromIndex = opt_fromIndex == null ? 0 : opt_fromIndex < 0 ? Math.max(0, arr.length + opt_fromIndex) : opt_fromIndex;
|
|
3667
|
+
if (typeof arr === "string") {
|
|
3668
|
+
return typeof obj !== "string" || obj.length != 1 ? -1 : arr.indexOf(obj, fromIndex);
|
|
4220
3669
|
}
|
|
4221
|
-
var
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
module$contents$goog$html$SafeHtml_SafeHtml.createMetaRefresh = function(url, secs) {
|
|
4225
|
-
var unwrappedUrl = module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(url));
|
|
4226
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
|
|
4227
|
-
};
|
|
4228
|
-
module$contents$goog$html$SafeHtml_SafeHtml.join = function(separator, parts) {
|
|
4229
|
-
var separatorHtml = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(separator), content = [], addArgument = function(argument) {
|
|
4230
|
-
if (Array.isArray(argument)) {
|
|
4231
|
-
argument.forEach(addArgument);
|
|
4232
|
-
} else {
|
|
4233
|
-
var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(argument);
|
|
4234
|
-
content.push(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html));
|
|
3670
|
+
for (var i = fromIndex; i < arr.length; i++) {
|
|
3671
|
+
if (i in arr && arr[i] === obj) {
|
|
3672
|
+
return i;
|
|
4235
3673
|
}
|
|
4236
|
-
};
|
|
4237
|
-
parts.forEach(addArgument);
|
|
4238
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(content.join(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(separatorHtml)));
|
|
4239
|
-
};
|
|
4240
|
-
module$contents$goog$html$SafeHtml_SafeHtml.concat = function(var_args) {
|
|
4241
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.join(module$contents$goog$html$SafeHtml_SafeHtml.EMPTY, Array.prototype.slice.call(arguments));
|
|
4242
|
-
};
|
|
4243
|
-
module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse = function(html) {
|
|
4244
|
-
var noinlineHtml = html, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), trustedHtml = policy ? policy.createHTML(noinlineHtml) : noinlineHtml;
|
|
4245
|
-
return new module$contents$goog$html$SafeHtml_SafeHtml(trustedHtml, module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
4246
|
-
};
|
|
4247
|
-
module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse = function(tagName, attributes, content) {
|
|
4248
|
-
var result = "<" + tagName + module$contents$goog$html$SafeHtml_SafeHtml.stringifyAttributes(tagName, attributes);
|
|
4249
|
-
content == null ? content = [] : Array.isArray(content) || (content = [content]);
|
|
4250
|
-
if (goog.dom.tags.isVoidTag(tagName.toLowerCase())) {
|
|
4251
|
-
goog.asserts.assert(!content.length, "Void tag <" + tagName + "> does not allow content."), result += ">";
|
|
4252
|
-
} else {
|
|
4253
|
-
var html = module$contents$goog$html$SafeHtml_SafeHtml.concat(content);
|
|
4254
|
-
result += ">" + module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html) + "</" + tagName + ">";
|
|
4255
3674
|
}
|
|
4256
|
-
return
|
|
3675
|
+
return -1;
|
|
4257
3676
|
};
|
|
4258
|
-
module$contents$goog$
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
3677
|
+
goog.array.indexOf = module$contents$goog$array_indexOf;
|
|
3678
|
+
var module$contents$goog$array_lastIndexOf = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.lastIndexOf) ? function(arr, obj, opt_fromIndex) {
|
|
3679
|
+
goog.asserts.assert(arr.length != null);
|
|
3680
|
+
return Array.prototype.lastIndexOf.call(arr, obj, opt_fromIndex == null ? arr.length - 1 : opt_fromIndex);
|
|
3681
|
+
} : function(arr, obj, opt_fromIndex) {
|
|
3682
|
+
var fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex;
|
|
3683
|
+
fromIndex < 0 && (fromIndex = Math.max(0, arr.length + fromIndex));
|
|
3684
|
+
if (typeof arr === "string") {
|
|
3685
|
+
return typeof obj !== "string" || obj.length != 1 ? -1 : arr.lastIndexOf(obj, fromIndex);
|
|
3686
|
+
}
|
|
3687
|
+
for (var i = fromIndex; i >= 0; i--) {
|
|
3688
|
+
if (i in arr && arr[i] === obj) {
|
|
3689
|
+
return i;
|
|
4269
3690
|
}
|
|
4270
3691
|
}
|
|
4271
|
-
return
|
|
3692
|
+
return -1;
|
|
4272
3693
|
};
|
|
4273
|
-
module$contents$goog$
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
3694
|
+
goog.array.lastIndexOf = module$contents$goog$array_lastIndexOf;
|
|
3695
|
+
var module$contents$goog$array_forEach = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.forEach) ? function(arr, f, opt_obj) {
|
|
3696
|
+
goog.asserts.assert(arr.length != null);
|
|
3697
|
+
Array.prototype.forEach.call(arr, f, opt_obj);
|
|
3698
|
+
} : function(arr, f, opt_obj) {
|
|
3699
|
+
for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
|
|
3700
|
+
i in arr2 && f.call(opt_obj, arr2[i], i, arr);
|
|
4277
3701
|
}
|
|
4278
|
-
|
|
4279
|
-
|
|
3702
|
+
};
|
|
3703
|
+
goog.array.forEach = module$contents$goog$array_forEach;
|
|
3704
|
+
function module$contents$goog$array_forEachRight(arr, f, opt_obj) {
|
|
3705
|
+
for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = l - 1; i >= 0; --i) {
|
|
3706
|
+
i in arr2 && f.call(opt_obj, arr2[i], i, arr);
|
|
4280
3707
|
}
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
3708
|
+
}
|
|
3709
|
+
goog.array.forEachRight = module$contents$goog$array_forEachRight;
|
|
3710
|
+
var module$contents$goog$array_filter = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.filter) ? function(arr, f, opt_obj) {
|
|
3711
|
+
goog.asserts.assert(arr.length != null);
|
|
3712
|
+
return Array.prototype.filter.call(arr, f, opt_obj);
|
|
3713
|
+
} : function(arr, f, opt_obj) {
|
|
3714
|
+
for (var l = arr.length, res = [], resLength = 0, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
|
|
3715
|
+
if (i in arr2) {
|
|
3716
|
+
var val = arr2[i];
|
|
3717
|
+
f.call(opt_obj, val, i, arr) && (res[resLength++] = val);
|
|
4291
3718
|
}
|
|
4292
3719
|
}
|
|
4293
|
-
return
|
|
3720
|
+
return res;
|
|
4294
3721
|
};
|
|
4295
|
-
module$contents$goog$
|
|
4296
|
-
module$contents$goog$
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
3722
|
+
goog.array.filter = module$contents$goog$array_filter;
|
|
3723
|
+
var module$contents$goog$array_map = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.map) ? function(arr, f, opt_obj) {
|
|
3724
|
+
goog.asserts.assert(arr.length != null);
|
|
3725
|
+
return Array.prototype.map.call(arr, f, opt_obj);
|
|
3726
|
+
} : function(arr, f, opt_obj) {
|
|
3727
|
+
for (var l = arr.length, res = Array(l), arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
|
|
3728
|
+
i in arr2 && (res[i] = f.call(opt_obj, arr2[i], i, arr));
|
|
3729
|
+
}
|
|
3730
|
+
return res;
|
|
3731
|
+
};
|
|
3732
|
+
goog.array.map = module$contents$goog$array_map;
|
|
3733
|
+
goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduce) ? function(arr, f, val, opt_obj) {
|
|
3734
|
+
goog.asserts.assert(arr.length != null);
|
|
3735
|
+
opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
|
|
3736
|
+
return Array.prototype.reduce.call(arr, f, val);
|
|
3737
|
+
} : function(arr, f, val, opt_obj) {
|
|
3738
|
+
var rval = val;
|
|
3739
|
+
module$contents$goog$array_forEach(arr, function(val, index) {
|
|
3740
|
+
rval = f.call(opt_obj, rval, val, index, arr);
|
|
3741
|
+
});
|
|
3742
|
+
return rval;
|
|
3743
|
+
};
|
|
3744
|
+
goog.array.reduceRight = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduceRight) ? function(arr, f, val, opt_obj) {
|
|
3745
|
+
goog.asserts.assert(arr.length != null);
|
|
3746
|
+
goog.asserts.assert(f != null);
|
|
3747
|
+
opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
|
|
3748
|
+
return Array.prototype.reduceRight.call(arr, f, val);
|
|
3749
|
+
} : function(arr, f, val, opt_obj) {
|
|
3750
|
+
var rval = val;
|
|
3751
|
+
module$contents$goog$array_forEachRight(arr, function(val, index) {
|
|
3752
|
+
rval = f.call(opt_obj, rval, val, index, arr);
|
|
3753
|
+
});
|
|
3754
|
+
return rval;
|
|
3755
|
+
};
|
|
3756
|
+
var module$contents$goog$array_some = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.some) ? function(arr, f, opt_obj) {
|
|
3757
|
+
goog.asserts.assert(arr.length != null);
|
|
3758
|
+
return Array.prototype.some.call(arr, f, opt_obj);
|
|
3759
|
+
} : function(arr, f, opt_obj) {
|
|
3760
|
+
for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
|
|
3761
|
+
if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
|
|
3762
|
+
return !0;
|
|
4312
3763
|
}
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
3764
|
+
}
|
|
3765
|
+
return !1;
|
|
3766
|
+
};
|
|
3767
|
+
goog.array.some = module$contents$goog$array_some;
|
|
3768
|
+
var module$contents$goog$array_every = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.every) ? function(arr, f, opt_obj) {
|
|
3769
|
+
goog.asserts.assert(arr.length != null);
|
|
3770
|
+
return Array.prototype.every.call(arr, f, opt_obj);
|
|
3771
|
+
} : function(arr, f, opt_obj) {
|
|
3772
|
+
for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
|
|
3773
|
+
if (i in arr2 && !f.call(opt_obj, arr2[i], i, arr)) {
|
|
3774
|
+
return !1;
|
|
4323
3775
|
}
|
|
4324
3776
|
}
|
|
4325
|
-
|
|
4326
|
-
|
|
3777
|
+
return !0;
|
|
3778
|
+
};
|
|
3779
|
+
goog.array.every = module$contents$goog$array_every;
|
|
3780
|
+
function module$contents$goog$array_count(arr, f, opt_obj) {
|
|
3781
|
+
var count = 0;
|
|
3782
|
+
module$contents$goog$array_forEach(arr, function(element, index, arr) {
|
|
3783
|
+
f.call(opt_obj, element, index, arr) && ++count;
|
|
3784
|
+
}, opt_obj);
|
|
3785
|
+
return count;
|
|
4327
3786
|
}
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
3787
|
+
goog.array.count = module$contents$goog$array_count;
|
|
3788
|
+
function module$contents$goog$array_find(arr, f, opt_obj) {
|
|
3789
|
+
var i = module$contents$goog$array_findIndex(arr, f, opt_obj);
|
|
3790
|
+
return i < 0 ? null : typeof arr === "string" ? arr.charAt(i) : arr[i];
|
|
3791
|
+
}
|
|
3792
|
+
goog.array.find = module$contents$goog$array_find;
|
|
3793
|
+
function module$contents$goog$array_findIndex(arr, f, opt_obj) {
|
|
3794
|
+
for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = 0; i < l; i++) {
|
|
3795
|
+
if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
|
|
3796
|
+
return i;
|
|
3797
|
+
}
|
|
4331
3798
|
}
|
|
4332
|
-
|
|
4333
|
-
return module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(value);
|
|
3799
|
+
return -1;
|
|
4334
3800
|
}
|
|
4335
|
-
module$contents$goog$
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
module$contents$goog$html$SafeHtml_SafeHtml.BR = function() {
|
|
4340
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>");
|
|
4341
|
-
}();
|
|
4342
|
-
goog.html.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
4343
|
-
var module$exports$goog$html$safehtml_internals_for_safevalues = {};
|
|
4344
|
-
module$exports$goog$html$safehtml_internals_for_safevalues.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
|
|
4345
|
-
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
|
|
4346
|
-
module$exports$safevalues$internals$html_impl.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
4347
|
-
module$exports$safevalues$internals$html_impl.createHtmlInternal = function(html) {
|
|
4348
|
-
return (0,module$exports$goog$html$safehtml_internals_for_safevalues.createSafeHtml)(html);
|
|
4349
|
-
};
|
|
4350
|
-
module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$goog$html$SafeHtml_SafeHtml.EMPTY;
|
|
4351
|
-
module$exports$safevalues$internals$html_impl.isHtml = function(value) {
|
|
4352
|
-
return value instanceof module$contents$goog$html$SafeHtml_SafeHtml;
|
|
4353
|
-
};
|
|
4354
|
-
module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
|
|
4355
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
|
|
4356
|
-
};
|
|
4357
|
-
var module$exports$safevalues$dom$elements$element = {}, module$contents$safevalues$dom$elements$element_module = module$contents$safevalues$dom$elements$element_module || {id:"third_party/javascript/safevalues/dom/elements/element.closure.js"};
|
|
4358
|
-
module$exports$safevalues$dom$elements$element.setInnerHtml = function(elOrRoot, v) {
|
|
4359
|
-
module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
|
|
4360
|
-
elOrRoot.innerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
4361
|
-
};
|
|
4362
|
-
module$exports$safevalues$dom$elements$element.setOuterHtml = function(e, v) {
|
|
4363
|
-
var parent = e.parentElement;
|
|
4364
|
-
parent !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(parent);
|
|
4365
|
-
e.outerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
4366
|
-
};
|
|
4367
|
-
module$exports$safevalues$dom$elements$element.setCssText = function(e, v) {
|
|
4368
|
-
e.style.cssText = module$contents$safevalues$internals$style_impl_unwrapStyle(v);
|
|
4369
|
-
};
|
|
4370
|
-
module$exports$safevalues$dom$elements$element.insertAdjacentHtml = function(element, position, v) {
|
|
4371
|
-
var tagContext = position === "beforebegin" || position === "afterend" ? element.parentElement : element;
|
|
4372
|
-
tagContext !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(tagContext);
|
|
4373
|
-
element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
|
|
4374
|
-
};
|
|
4375
|
-
module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = function(prefix) {
|
|
4376
|
-
var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
|
|
4377
|
-
return function(e, attr, value) {
|
|
4378
|
-
module$contents$safevalues$dom$elements$element_setPrefixedAttribute(prefixes, e, attr, value);
|
|
4379
|
-
};
|
|
3801
|
+
goog.array.findIndex = module$contents$goog$array_findIndex;
|
|
3802
|
+
goog.array.findRight = function(arr, f, opt_obj) {
|
|
3803
|
+
var i = module$contents$goog$array_findIndexRight(arr, f, opt_obj);
|
|
3804
|
+
return i < 0 ? null : typeof arr === "string" ? arr.charAt(i) : arr[i];
|
|
4380
3805
|
};
|
|
4381
|
-
function module$contents$
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
}
|
|
4387
|
-
var prefixes = attrPrefixes.map(function(s) {
|
|
4388
|
-
return module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(s);
|
|
4389
|
-
}), attrLower = attr.toLowerCase();
|
|
4390
|
-
if (prefixes.every(function(p) {
|
|
4391
|
-
return attrLower.indexOf(p) !== 0;
|
|
4392
|
-
})) {
|
|
4393
|
-
throw Error('Attribute "' + attr + '" does not match any of the allowed prefixes.');
|
|
3806
|
+
function module$contents$goog$array_findIndexRight(arr, f, opt_obj) {
|
|
3807
|
+
for (var l = arr.length, arr2 = typeof arr === "string" ? arr.split("") : arr, i = l - 1; i >= 0; i--) {
|
|
3808
|
+
if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) {
|
|
3809
|
+
return i;
|
|
3810
|
+
}
|
|
4394
3811
|
}
|
|
4395
|
-
|
|
3812
|
+
return -1;
|
|
4396
3813
|
}
|
|
4397
|
-
|
|
4398
|
-
function module$contents$
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
3814
|
+
goog.array.findIndexRight = module$contents$goog$array_findIndexRight;
|
|
3815
|
+
function module$contents$goog$array_contains(arr, obj) {
|
|
3816
|
+
return module$contents$goog$array_indexOf(arr, obj) >= 0;
|
|
3817
|
+
}
|
|
3818
|
+
goog.array.contains = module$contents$goog$array_contains;
|
|
3819
|
+
function module$contents$goog$array_isEmpty(arr) {
|
|
3820
|
+
return arr.length == 0;
|
|
3821
|
+
}
|
|
3822
|
+
goog.array.isEmpty = module$contents$goog$array_isEmpty;
|
|
3823
|
+
function module$contents$goog$array_clear(arr) {
|
|
3824
|
+
if (!Array.isArray(arr)) {
|
|
3825
|
+
for (var i = arr.length - 1; i >= 0; i--) {
|
|
3826
|
+
delete arr[i];
|
|
3827
|
+
}
|
|
4402
3828
|
}
|
|
3829
|
+
arr.length = 0;
|
|
4403
3830
|
}
|
|
4404
|
-
|
|
4405
|
-
|
|
3831
|
+
goog.array.clear = module$contents$goog$array_clear;
|
|
3832
|
+
goog.array.insert = function(arr, obj) {
|
|
3833
|
+
module$contents$goog$array_contains(arr, obj) || arr.push(obj);
|
|
3834
|
+
};
|
|
3835
|
+
function module$contents$goog$array_insertAt(arr, obj, opt_i) {
|
|
3836
|
+
module$contents$goog$array_splice(arr, opt_i, 0, obj);
|
|
4406
3837
|
}
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
3838
|
+
goog.array.insertAt = module$contents$goog$array_insertAt;
|
|
3839
|
+
goog.array.insertArrayAt = function(arr, elementsToAdd, opt_i) {
|
|
3840
|
+
goog.partial(module$contents$goog$array_splice, arr, opt_i, 0).apply(null, elementsToAdd);
|
|
4410
3841
|
};
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
sanitizedUrl !== void 0 && (form.action = sanitizedUrl);
|
|
3842
|
+
goog.array.insertBefore = function(arr, obj, opt_obj2) {
|
|
3843
|
+
var i;
|
|
3844
|
+
arguments.length == 2 || (i = module$contents$goog$array_indexOf(arr, opt_obj2)) < 0 ? arr.push(obj) : module$contents$goog$array_insertAt(arr, obj, i);
|
|
4415
3845
|
};
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
3846
|
+
function module$contents$goog$array_remove(arr, obj) {
|
|
3847
|
+
var i = module$contents$goog$array_indexOf(arr, obj), rv;
|
|
3848
|
+
(rv = i >= 0) && module$contents$goog$array_removeAt(arr, i);
|
|
3849
|
+
return rv;
|
|
4419
3850
|
}
|
|
4420
|
-
|
|
4421
|
-
function module$contents$
|
|
4422
|
-
|
|
3851
|
+
goog.array.remove = module$contents$goog$array_remove;
|
|
3852
|
+
function module$contents$goog$array_removeLast(arr, obj) {
|
|
3853
|
+
var i = module$contents$goog$array_lastIndexOf(arr, obj);
|
|
3854
|
+
return i >= 0 ? (module$contents$goog$array_removeAt(arr, i), !0) : !1;
|
|
4423
3855
|
}
|
|
4424
|
-
|
|
4425
|
-
module$
|
|
3856
|
+
goog.array.removeLast = module$contents$goog$array_removeLast;
|
|
3857
|
+
function module$contents$goog$array_removeAt(arr, i) {
|
|
3858
|
+
goog.asserts.assert(arr.length != null);
|
|
3859
|
+
return Array.prototype.splice.call(arr, i, 1).length == 1;
|
|
3860
|
+
}
|
|
3861
|
+
goog.array.removeAt = module$contents$goog$array_removeAt;
|
|
3862
|
+
goog.array.removeIf = function(arr, f, opt_obj) {
|
|
3863
|
+
var i = module$contents$goog$array_findIndex(arr, f, opt_obj);
|
|
3864
|
+
return i >= 0 ? (module$contents$goog$array_removeAt(arr, i), !0) : !1;
|
|
4426
3865
|
};
|
|
4427
|
-
|
|
3866
|
+
goog.array.removeAllIf = function(arr, f, opt_obj) {
|
|
3867
|
+
var removedCount = 0;
|
|
3868
|
+
module$contents$goog$array_forEachRight(arr, function(val, index) {
|
|
3869
|
+
f.call(opt_obj, val, index, arr) && module$contents$goog$array_removeAt(arr, index) && removedCount++;
|
|
3870
|
+
});
|
|
3871
|
+
return removedCount;
|
|
4428
3872
|
};
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v).toString();
|
|
4432
|
-
}
|
|
4433
|
-
module$exports$safevalues$dom$elements$iframe.setSrc = module$contents$safevalues$dom$elements$iframe_setSrc;
|
|
4434
|
-
function module$contents$safevalues$dom$elements$iframe_setSrcdoc(iframe, v) {
|
|
4435
|
-
iframe.srcdoc = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3873
|
+
function module$contents$goog$array_concat(var_args) {
|
|
3874
|
+
return Array.prototype.concat.apply([], arguments);
|
|
4436
3875
|
}
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
module$
|
|
4442
|
-
var
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
3876
|
+
goog.array.concat = module$contents$goog$array_concat;
|
|
3877
|
+
goog.array.join = function(var_args) {
|
|
3878
|
+
return Array.prototype.concat.apply([], arguments);
|
|
3879
|
+
};
|
|
3880
|
+
function module$contents$goog$array_toArray(object) {
|
|
3881
|
+
var length = object.length;
|
|
3882
|
+
if (length > 0) {
|
|
3883
|
+
for (var rv = Array(length), i = 0; i < length; i++) {
|
|
3884
|
+
rv[i] = object[i];
|
|
3885
|
+
}
|
|
3886
|
+
return rv;
|
|
4447
3887
|
}
|
|
3888
|
+
return [];
|
|
4448
3889
|
}
|
|
4449
|
-
module$
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
element.removeAttribute("srcdoc");
|
|
4460
|
-
switch(intent) {
|
|
4461
|
-
case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
|
|
4462
|
-
if (src instanceof goog.html.TrustedResourceUrl) {
|
|
4463
|
-
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
|
|
4464
|
-
}
|
|
4465
|
-
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
|
|
4466
|
-
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(src);
|
|
4467
|
-
sanitizedUrl !== void 0 && (element.src = sanitizedUrl);
|
|
4468
|
-
break;
|
|
4469
|
-
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
|
|
4470
|
-
if (!(src instanceof goog.html.TrustedResourceUrl)) {
|
|
4471
|
-
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError(typeof src, module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
|
|
4472
|
-
}
|
|
4473
|
-
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
|
|
4474
|
-
module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
|
|
4475
|
-
module$contents$safevalues$dom$elements$iframe_setSrc(element, src);
|
|
4476
|
-
break;
|
|
4477
|
-
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
|
|
4478
|
-
if (src instanceof goog.html.TrustedResourceUrl) {
|
|
4479
|
-
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT);
|
|
3890
|
+
goog.array.toArray = module$contents$goog$array_toArray;
|
|
3891
|
+
goog.array.clone = module$contents$goog$array_toArray;
|
|
3892
|
+
function module$contents$goog$array_extend(arr1, var_args) {
|
|
3893
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
3894
|
+
var arr2 = arguments[i];
|
|
3895
|
+
if (goog.isArrayLike(arr2)) {
|
|
3896
|
+
var len1 = arr1.length || 0, len2 = arr2.length || 0;
|
|
3897
|
+
arr1.length = len1 + len2;
|
|
3898
|
+
for (var j = 0; j < len2; j++) {
|
|
3899
|
+
arr1[len1 + j] = arr2[j];
|
|
4480
3900
|
}
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
3901
|
+
} else {
|
|
3902
|
+
arr1.push(arr2);
|
|
3903
|
+
}
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
goog.array.extend = module$contents$goog$array_extend;
|
|
3907
|
+
function module$contents$goog$array_splice(arr, index, howMany, var_args) {
|
|
3908
|
+
goog.asserts.assert(arr.length != null);
|
|
3909
|
+
return Array.prototype.splice.apply(arr, module$contents$goog$array_slice(arguments, 1));
|
|
3910
|
+
}
|
|
3911
|
+
goog.array.splice = module$contents$goog$array_splice;
|
|
3912
|
+
function module$contents$goog$array_slice(arr, start, opt_end) {
|
|
3913
|
+
goog.asserts.assert(arr.length != null);
|
|
3914
|
+
return arguments.length <= 2 ? Array.prototype.slice.call(arr, start) : Array.prototype.slice.call(arr, start, opt_end);
|
|
3915
|
+
}
|
|
3916
|
+
goog.array.slice = module$contents$goog$array_slice;
|
|
3917
|
+
function module$contents$goog$array_removeDuplicates(arr, opt_rv, opt_keyFn) {
|
|
3918
|
+
var returnArray = opt_rv || arr;
|
|
3919
|
+
if (goog.FEATURESET_YEAR >= 2018) {
|
|
3920
|
+
for (var defaultKeyFn = function(item) {
|
|
3921
|
+
return item;
|
|
3922
|
+
}, keyFn = opt_keyFn || defaultKeyFn, cursorInsert = 0, cursorRead = 0, seen = new Set(); cursorRead < arr.length;) {
|
|
3923
|
+
var current = arr[cursorRead++], key = keyFn(current);
|
|
3924
|
+
seen.has(key) || (seen.add(key), returnArray[cursorInsert++] = current);
|
|
3925
|
+
}
|
|
3926
|
+
returnArray.length = cursorInsert;
|
|
3927
|
+
} else {
|
|
3928
|
+
for (var defaultKeyFn$jscomp$0 = function(item) {
|
|
3929
|
+
return goog.isObject(item) ? "o" + goog.getUid(item) : (typeof item).charAt(0) + item;
|
|
3930
|
+
}, keyFn$jscomp$0 = opt_keyFn || defaultKeyFn$jscomp$0, cursorInsert$jscomp$0 = 0, cursorRead$jscomp$0 = 0, seen$jscomp$0 = {}; cursorRead$jscomp$0 < arr.length;) {
|
|
3931
|
+
var current$jscomp$0 = arr[cursorRead$jscomp$0++], key$jscomp$0 = keyFn$jscomp$0(current$jscomp$0);
|
|
3932
|
+
Object.prototype.hasOwnProperty.call(seen$jscomp$0, key$jscomp$0) || (seen$jscomp$0[key$jscomp$0] = !0, returnArray[cursorInsert$jscomp$0++] = current$jscomp$0);
|
|
3933
|
+
}
|
|
3934
|
+
returnArray.length = cursorInsert$jscomp$0;
|
|
4488
3935
|
}
|
|
3936
|
+
}
|
|
3937
|
+
goog.array.removeDuplicates = module$contents$goog$array_removeDuplicates;
|
|
3938
|
+
function module$contents$goog$array_binarySearch(arr, target, opt_compareFn) {
|
|
3939
|
+
return module$contents$goog$array_binarySearch_(arr, opt_compareFn || module$contents$goog$array_defaultCompare, !1, target);
|
|
3940
|
+
}
|
|
3941
|
+
goog.array.binarySearch = module$contents$goog$array_binarySearch;
|
|
3942
|
+
goog.array.binarySelect = function(arr, evaluator, opt_obj) {
|
|
3943
|
+
return module$contents$goog$array_binarySearch_(arr, evaluator, !0, void 0, opt_obj);
|
|
4489
3944
|
};
|
|
4490
|
-
module$
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
}
|
|
4513
|
-
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX,
|
|
4514
|
-
module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
|
|
4515
|
-
module$contents$safevalues$dom$elements$iframe_setSrcdoc(element, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(srcdoc));
|
|
4516
|
-
break;
|
|
4517
|
-
default:
|
|
4518
|
-
module$contents$check_checkExhaustive(intent);
|
|
3945
|
+
function module$contents$goog$array_binarySearch_(arr, compareFn, isEvaluator, opt_target, opt_selfObj) {
|
|
3946
|
+
for (var left = 0, right = arr.length, found; left < right;) {
|
|
3947
|
+
var middle = left + (right - left >>> 1), compareResult = void 0;
|
|
3948
|
+
compareResult = isEvaluator ? compareFn.call(opt_selfObj, arr[middle], middle, arr) : compareFn(opt_target, arr[middle]);
|
|
3949
|
+
compareResult > 0 ? left = middle + 1 : (right = middle, found = !compareResult);
|
|
3950
|
+
}
|
|
3951
|
+
return found ? left : -left - 1;
|
|
3952
|
+
}
|
|
3953
|
+
function module$contents$goog$array_sort(arr, opt_compareFn) {
|
|
3954
|
+
arr.sort(opt_compareFn || module$contents$goog$array_defaultCompare);
|
|
3955
|
+
}
|
|
3956
|
+
goog.array.sort = module$contents$goog$array_sort;
|
|
3957
|
+
goog.array.stableSort = function(arr, opt_compareFn) {
|
|
3958
|
+
for (var compArr = Array(arr.length), i = 0; i < arr.length; i++) {
|
|
3959
|
+
compArr[i] = {index:i, value:arr[i]};
|
|
3960
|
+
}
|
|
3961
|
+
var valueCompareFn = opt_compareFn || module$contents$goog$array_defaultCompare;
|
|
3962
|
+
module$contents$goog$array_sort(compArr, function(obj1, obj2) {
|
|
3963
|
+
return valueCompareFn(obj1.value, obj2.value) || obj1.index - obj2.index;
|
|
3964
|
+
});
|
|
3965
|
+
for (var i$jscomp$0 = 0; i$jscomp$0 < arr.length; i$jscomp$0++) {
|
|
3966
|
+
arr[i$jscomp$0] = compArr[i$jscomp$0].value;
|
|
4519
3967
|
}
|
|
4520
3968
|
};
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
3969
|
+
function module$contents$goog$array_sortByKey(arr, keyFn, opt_compareFn) {
|
|
3970
|
+
var keyCompareFn = opt_compareFn || module$contents$goog$array_defaultCompare;
|
|
3971
|
+
module$contents$goog$array_sort(arr, function(a, b) {
|
|
3972
|
+
return keyCompareFn(keyFn(a), keyFn(b));
|
|
3973
|
+
});
|
|
3974
|
+
}
|
|
3975
|
+
goog.array.sortByKey = module$contents$goog$array_sortByKey;
|
|
3976
|
+
goog.array.sortObjectsByKey = function(arr, key, opt_compareFn) {
|
|
3977
|
+
module$contents$goog$array_sortByKey(arr, function(obj) {
|
|
3978
|
+
return obj[key];
|
|
3979
|
+
}, opt_compareFn);
|
|
4525
3980
|
};
|
|
4526
|
-
|
|
4527
|
-
module$
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
3981
|
+
function module$contents$goog$array_isSorted(arr, opt_compareFn, opt_strict) {
|
|
3982
|
+
for (var compare = opt_compareFn || module$contents$goog$array_defaultCompare, i = 1; i < arr.length; i++) {
|
|
3983
|
+
var compareResult = compare(arr[i - 1], arr[i]);
|
|
3984
|
+
if (compareResult > 0 || compareResult == 0 && opt_strict) {
|
|
3985
|
+
return !1;
|
|
3986
|
+
}
|
|
3987
|
+
}
|
|
3988
|
+
return !0;
|
|
3989
|
+
}
|
|
3990
|
+
goog.array.isSorted = module$contents$goog$array_isSorted;
|
|
3991
|
+
function module$contents$goog$array_equals(arr1, arr2, opt_equalsFn) {
|
|
3992
|
+
if (!goog.isArrayLike(arr1) || !goog.isArrayLike(arr2) || arr1.length != arr2.length) {
|
|
3993
|
+
return !1;
|
|
3994
|
+
}
|
|
3995
|
+
for (var l = arr1.length, equalsFn = opt_equalsFn || module$contents$goog$array_defaultCompareEquality, i = 0; i < l; i++) {
|
|
3996
|
+
if (!equalsFn(arr1[i], arr2[i])) {
|
|
3997
|
+
return !1;
|
|
3998
|
+
}
|
|
3999
|
+
}
|
|
4000
|
+
return !0;
|
|
4001
|
+
}
|
|
4002
|
+
goog.array.equals = module$contents$goog$array_equals;
|
|
4003
|
+
goog.array.compare3 = function(arr1, arr2, opt_compareFn) {
|
|
4004
|
+
for (var compare = opt_compareFn || module$contents$goog$array_defaultCompare, l = Math.min(arr1.length, arr2.length), i = 0; i < l; i++) {
|
|
4005
|
+
var result = compare(arr1[i], arr2[i]);
|
|
4006
|
+
if (result != 0) {
|
|
4007
|
+
return result;
|
|
4533
4008
|
}
|
|
4534
|
-
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4535
|
-
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
4536
4009
|
}
|
|
4010
|
+
return module$contents$goog$array_defaultCompare(arr1.length, arr2.length);
|
|
4537
4011
|
};
|
|
4538
|
-
function module$contents$
|
|
4539
|
-
|
|
4540
|
-
link.rel = rel;
|
|
4012
|
+
function module$contents$goog$array_defaultCompare(a, b) {
|
|
4013
|
+
return a > b ? 1 : a < b ? -1 : 0;
|
|
4541
4014
|
}
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
module$
|
|
4545
|
-
obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
4015
|
+
goog.array.defaultCompare = module$contents$goog$array_defaultCompare;
|
|
4016
|
+
goog.array.inverseDefaultCompare = function(a, b) {
|
|
4017
|
+
return -module$contents$goog$array_defaultCompare(a, b);
|
|
4546
4018
|
};
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4019
|
+
function module$contents$goog$array_defaultCompareEquality(a, b) {
|
|
4020
|
+
return a === b;
|
|
4021
|
+
}
|
|
4022
|
+
goog.array.defaultCompareEquality = module$contents$goog$array_defaultCompareEquality;
|
|
4023
|
+
goog.array.binaryInsert = function(array, value, opt_compareFn) {
|
|
4024
|
+
var index = module$contents$goog$array_binarySearch(array, value, opt_compareFn);
|
|
4025
|
+
return index < 0 ? (module$contents$goog$array_insertAt(array, value, -(index + 1)), !0) : !1;
|
|
4551
4026
|
};
|
|
4552
|
-
|
|
4553
|
-
|
|
4027
|
+
goog.array.binaryRemove = function(array, value, opt_compareFn) {
|
|
4028
|
+
var index = module$contents$goog$array_binarySearch(array, value, opt_compareFn);
|
|
4029
|
+
return index >= 0 ? module$contents$goog$array_removeAt(array, index) : !1;
|
|
4554
4030
|
};
|
|
4555
|
-
|
|
4556
|
-
|
|
4031
|
+
goog.array.bucket = function(array, sorter, opt_obj) {
|
|
4032
|
+
for (var buckets = {}, i = 0; i < array.length; i++) {
|
|
4033
|
+
var value = array[i], key = sorter.call(opt_obj, value, i, array);
|
|
4034
|
+
key !== void 0 && (buckets[key] || (buckets[key] = [])).push(value);
|
|
4035
|
+
}
|
|
4036
|
+
return buckets;
|
|
4557
4037
|
};
|
|
4558
|
-
function
|
|
4559
|
-
var
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4038
|
+
goog.array.bucketToMap = function(array, sorter) {
|
|
4039
|
+
for (var buckets = new Map(), i = 0; i < array.length; i++) {
|
|
4040
|
+
var value = array[i], key = sorter(value, i, array);
|
|
4041
|
+
if (key !== void 0) {
|
|
4042
|
+
var bucket = buckets.get(key);
|
|
4043
|
+
bucket || (bucket = [], buckets.set(key, bucket));
|
|
4044
|
+
bucket.push(value);
|
|
4045
|
+
}
|
|
4046
|
+
}
|
|
4047
|
+
return buckets;
|
|
4566
4048
|
};
|
|
4567
|
-
|
|
4568
|
-
|
|
4049
|
+
goog.array.toObject = function(arr, keyFunc, opt_obj) {
|
|
4050
|
+
var ret = {};
|
|
4051
|
+
module$contents$goog$array_forEach(arr, function(element, index) {
|
|
4052
|
+
ret[keyFunc.call(opt_obj, element, index, arr)] = element;
|
|
4053
|
+
});
|
|
4054
|
+
return ret;
|
|
4569
4055
|
};
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4056
|
+
goog.array.toMap = function(arr, keyFunc) {
|
|
4057
|
+
for (var map = new Map(), i = 0; i < arr.length; i++) {
|
|
4058
|
+
var element = arr[i];
|
|
4059
|
+
map.set(keyFunc(element, i, arr), element);
|
|
4060
|
+
}
|
|
4061
|
+
return map;
|
|
4062
|
+
};
|
|
4063
|
+
function module$contents$goog$array_range(startOrEnd, opt_end, opt_step) {
|
|
4064
|
+
var array = [], start = 0, end = startOrEnd, step = opt_step || 1;
|
|
4065
|
+
opt_end !== void 0 && (start = startOrEnd, end = opt_end);
|
|
4066
|
+
if (step * (end - start) < 0) {
|
|
4067
|
+
return [];
|
|
4068
|
+
}
|
|
4069
|
+
if (step > 0) {
|
|
4070
|
+
for (var i = start; i < end; i += step) {
|
|
4071
|
+
array.push(i);
|
|
4072
|
+
}
|
|
4073
|
+
} else {
|
|
4074
|
+
for (var i$jscomp$0 = start; i$jscomp$0 > end; i$jscomp$0 += step) {
|
|
4075
|
+
array.push(i$jscomp$0);
|
|
4076
|
+
}
|
|
4077
|
+
}
|
|
4078
|
+
return array;
|
|
4584
4079
|
}
|
|
4585
|
-
|
|
4586
|
-
function module$contents$
|
|
4587
|
-
|
|
4588
|
-
|
|
4080
|
+
goog.array.range = module$contents$goog$array_range;
|
|
4081
|
+
function module$contents$goog$array_repeat(value, n) {
|
|
4082
|
+
for (var array = [], i = 0; i < n; i++) {
|
|
4083
|
+
array[i] = value;
|
|
4589
4084
|
}
|
|
4590
|
-
|
|
4591
|
-
goog.DEBUG && (message = "Unexpected type when unwrapping SafeScript");
|
|
4592
|
-
throw Error(message);
|
|
4085
|
+
return array;
|
|
4593
4086
|
}
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4087
|
+
goog.array.repeat = module$contents$goog$array_repeat;
|
|
4088
|
+
function module$contents$goog$array_flatten(var_args) {
|
|
4089
|
+
for (var result = [], i = 0; i < arguments.length; i++) {
|
|
4090
|
+
var element = arguments[i];
|
|
4091
|
+
if (Array.isArray(element)) {
|
|
4092
|
+
for (var c = 0; c < element.length; c += 8192) {
|
|
4093
|
+
for (var chunk = module$contents$goog$array_slice(element, c, c + 8192), recurseResult = module$contents$goog$array_flatten.apply(null, chunk), r = 0; r < recurseResult.length; r++) {
|
|
4094
|
+
result.push(recurseResult[r]);
|
|
4095
|
+
}
|
|
4096
|
+
}
|
|
4097
|
+
} else {
|
|
4098
|
+
result.push(element);
|
|
4099
|
+
}
|
|
4100
|
+
}
|
|
4101
|
+
return result;
|
|
4599
4102
|
}
|
|
4600
|
-
module$
|
|
4601
|
-
|
|
4602
|
-
(
|
|
4103
|
+
goog.array.flatten = module$contents$goog$array_flatten;
|
|
4104
|
+
goog.array.rotate = function(array, n) {
|
|
4105
|
+
goog.asserts.assert(array.length != null);
|
|
4106
|
+
array.length && (n %= array.length, n > 0 ? Array.prototype.unshift.apply(array, array.splice(-n, n)) : n < 0 && Array.prototype.push.apply(array, array.splice(0, -n)));
|
|
4107
|
+
return array;
|
|
4603
4108
|
};
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
(
|
|
4109
|
+
goog.array.moveItem = function(arr, fromIndex, toIndex) {
|
|
4110
|
+
goog.asserts.assert(fromIndex >= 0 && fromIndex < arr.length);
|
|
4111
|
+
goog.asserts.assert(toIndex >= 0 && toIndex < arr.length);
|
|
4112
|
+
var removedItems = Array.prototype.splice.call(arr, fromIndex, 1);
|
|
4113
|
+
Array.prototype.splice.call(arr, toIndex, 0, removedItems[0]);
|
|
4607
4114
|
};
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
}
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
}
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
return
|
|
4622
|
-
}
|
|
4623
|
-
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
4624
|
-
var module$exports$safevalues$dom$elements$style = {}, module$contents$safevalues$dom$elements$style_module = module$contents$safevalues$dom$elements$style_module || {id:"third_party/javascript/safevalues/dom/elements/style.closure.js"};
|
|
4625
|
-
module$exports$safevalues$dom$elements$style.setTextContent = function(elem, safeStyleSheet) {
|
|
4626
|
-
elem.textContent = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
4115
|
+
goog.array.zip = function(var_args) {
|
|
4116
|
+
if (!arguments.length) {
|
|
4117
|
+
return [];
|
|
4118
|
+
}
|
|
4119
|
+
for (var result = [], minLen = arguments[0].length, i = 1; i < arguments.length; i++) {
|
|
4120
|
+
arguments[i].length < minLen && (minLen = arguments[i].length);
|
|
4121
|
+
}
|
|
4122
|
+
for (var i$jscomp$0 = 0; i$jscomp$0 < minLen; i$jscomp$0++) {
|
|
4123
|
+
for (var value = [], j = 0; j < arguments.length; j++) {
|
|
4124
|
+
value.push(arguments[j][i$jscomp$0]);
|
|
4125
|
+
}
|
|
4126
|
+
result.push(value);
|
|
4127
|
+
}
|
|
4128
|
+
return result;
|
|
4627
4129
|
};
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
goog.DEBUG && (msg = "Setting the '" + attrLower + "' attribute on SVG can cause XSS.");
|
|
4634
|
-
throw Error(msg);
|
|
4130
|
+
goog.array.shuffle = function(arr, opt_randFn) {
|
|
4131
|
+
for (var randFn = opt_randFn || Math.random, i = arr.length - 1; i > 0; i--) {
|
|
4132
|
+
var j = Math.floor(randFn() * (i + 1)), tmp = arr[i];
|
|
4133
|
+
arr[i] = arr[j];
|
|
4134
|
+
arr[j] = tmp;
|
|
4635
4135
|
}
|
|
4636
|
-
|
|
4136
|
+
};
|
|
4137
|
+
goog.array.copyByIndex = function(arr, index_arr) {
|
|
4138
|
+
var result = [];
|
|
4139
|
+
module$contents$goog$array_forEach(index_arr, function(index) {
|
|
4140
|
+
result.push(arr[index]);
|
|
4141
|
+
});
|
|
4142
|
+
return result;
|
|
4143
|
+
};
|
|
4144
|
+
goog.array.concatMap = function(arr, f, opt_obj) {
|
|
4145
|
+
return module$contents$goog$array_concat.apply([], module$contents$goog$array_map(arr, f, opt_obj));
|
|
4637
4146
|
};
|
|
4638
4147
|
goog.debug.errorcontext = {};
|
|
4639
4148
|
goog.debug.errorcontext.addErrorContext = function(err, contextKey, contextValue) {
|
|
@@ -6924,6 +6433,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_r
|
|
|
6924
6433
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__disable = !1;
|
|
6925
6434
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
|
|
6926
6435
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable = !1;
|
|
6436
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable = !1;
|
|
6927
6437
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
|
|
6928
6438
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6929
6439
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
@@ -6941,6 +6451,7 @@ goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = module$exports$closure$flags$flags
|
|
|
6941
6451
|
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable) : goog.readFlagInternalDoNotUseOrElse(644029907, module$contents$goog$flags_STAGING);
|
|
6942
6452
|
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable) : goog.readFlagInternalDoNotUseOrElse(1822726157,
|
|
6943
6453
|
module$contents$goog$flags_STAGING);
|
|
6454
|
+
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable : goog.readFlagInternalDoNotUseOrElse(661449076, !1);
|
|
6944
6455
|
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable) : goog.readFlagInternalDoNotUseOrElse(645172343,
|
|
6945
6456
|
module$contents$goog$flags_STAGING);
|
|
6946
6457
|
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
@@ -7670,7 +7181,6 @@ goog.userAgent.isVersionOrHigher = function(version) {
|
|
|
7670
7181
|
goog.userAgent.isDocumentModeOrHigher = function(documentMode) {
|
|
7671
7182
|
return Number(goog.userAgent.DOCUMENT_MODE) >= documentMode;
|
|
7672
7183
|
};
|
|
7673
|
-
goog.userAgent.isDocumentMode = goog.userAgent.isDocumentModeOrHigher;
|
|
7674
7184
|
goog.userAgent.DOCUMENT_MODE = function() {
|
|
7675
7185
|
if (goog.global.document && goog.userAgent.IE) {
|
|
7676
7186
|
var documentMode = goog.userAgent.getDocumentMode_();
|
|
@@ -15023,355 +14533,861 @@ module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClient$XgafvEnum = {1:
|
|
|
15023
14533
|
}};
|
|
15024
14534
|
module$exports$eeapiclient$ee_api_client.IProjectsTablesApiClientAltEnum = function() {
|
|
15025
14535
|
};
|
|
15026
|
-
module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
|
|
15027
|
-
return [module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum.PROTO];
|
|
15028
|
-
}};
|
|
15029
|
-
module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
15030
|
-
this.gapiVersion = gapiVersion;
|
|
15031
|
-
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14536
|
+
module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
|
|
14537
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum.PROTO];
|
|
14538
|
+
}};
|
|
14539
|
+
module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
14540
|
+
this.gapiVersion = gapiVersion;
|
|
14541
|
+
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14542
|
+
};
|
|
14543
|
+
module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientImpl.prototype.create = function(parent, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14544
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14545
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14546
|
+
this.$apiClient.$validateParameter(parent, RegExp("^projects/[^/]+$"));
|
|
14547
|
+
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.tables.create", path:"/" + this.gapiVersion + "/" + parent + "/tables", 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.Table});
|
|
14548
|
+
};
|
|
14549
|
+
module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientImpl.prototype.getFeatures = function(name, namedParameters, passthroughNamedParameters) {
|
|
14550
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14551
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14552
|
+
this.$apiClient.$validateParameter(name, RegExp("^projects/[^/]+/tables/[^/]+$"));
|
|
14553
|
+
return this.$apiClient.$request({body:null, httpMethod:"GET", methodId:"earthengine.projects.tables.getFeatures", path:"/" + this.gapiVersion + "/" + name + ":getFeatures", 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.HttpBody});
|
|
14554
|
+
};
|
|
14555
|
+
module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClient = function() {
|
|
14556
|
+
};
|
|
14557
|
+
module$exports$eeapiclient$ee_api_client.IProjectsThumbnailsApiClient$XgafvEnum = function() {
|
|
14558
|
+
};
|
|
14559
|
+
module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
|
|
14560
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClient$XgafvEnum[2]];
|
|
14561
|
+
}};
|
|
14562
|
+
module$exports$eeapiclient$ee_api_client.IProjectsThumbnailsApiClientAltEnum = function() {
|
|
14563
|
+
};
|
|
14564
|
+
module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
|
|
14565
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientAltEnum.PROTO];
|
|
14566
|
+
}};
|
|
14567
|
+
module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
14568
|
+
this.gapiVersion = gapiVersion;
|
|
14569
|
+
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14570
|
+
};
|
|
14571
|
+
module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientImpl.prototype.create = function(parent, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14572
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14573
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14574
|
+
this.$apiClient.$validateParameter(parent, RegExp("^projects/[^/]+$"));
|
|
14575
|
+
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.thumbnails.create", path:"/" + this.gapiVersion + "/" + parent + "/thumbnails", 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.Thumbnail});
|
|
14576
|
+
};
|
|
14577
|
+
module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientImpl.prototype.getPixels = function(name, namedParameters, passthroughNamedParameters) {
|
|
14578
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14579
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14580
|
+
this.$apiClient.$validateParameter(name, RegExp("^projects/[^/]+/thumbnails/[^/]+$"));
|
|
14581
|
+
return this.$apiClient.$request({body:null, httpMethod:"GET", methodId:"earthengine.projects.thumbnails.getPixels", path:"/" + this.gapiVersion + "/" + name + ":getPixels", 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.HttpBody});
|
|
14582
|
+
};
|
|
14583
|
+
module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClient = function() {
|
|
14584
|
+
};
|
|
14585
|
+
module$exports$eeapiclient$ee_api_client.IProjectsValueApiClient$XgafvEnum = function() {
|
|
14586
|
+
};
|
|
14587
|
+
module$exports$eeapiclient$ee_api_client.ProjectsValueApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
|
|
14588
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsValueApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsValueApiClient$XgafvEnum[2]];
|
|
14589
|
+
}};
|
|
14590
|
+
module$exports$eeapiclient$ee_api_client.IProjectsValueApiClientAltEnum = function() {
|
|
14591
|
+
};
|
|
14592
|
+
module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
|
|
14593
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientAltEnum.PROTO];
|
|
14594
|
+
}};
|
|
14595
|
+
module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
14596
|
+
this.gapiVersion = gapiVersion;
|
|
14597
|
+
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14598
|
+
};
|
|
14599
|
+
module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientImpl.prototype.compute = function(project, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14600
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14601
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14602
|
+
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14603
|
+
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.value.compute", path:"/" + this.gapiVersion + "/" + project + "/value:compute", 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.ComputeValueResponse});
|
|
14604
|
+
};
|
|
14605
|
+
module$exports$eeapiclient$ee_api_client.ProjectsValueApiClient = function() {
|
|
14606
|
+
};
|
|
14607
|
+
module$exports$eeapiclient$ee_api_client.IProjectsVideoApiClient$XgafvEnum = function() {
|
|
14608
|
+
};
|
|
14609
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
|
|
14610
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClient$XgafvEnum[2]];
|
|
14611
|
+
}};
|
|
14612
|
+
module$exports$eeapiclient$ee_api_client.IProjectsVideoApiClientAltEnum = function() {
|
|
14613
|
+
};
|
|
14614
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
|
|
14615
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientAltEnum.PROTO];
|
|
14616
|
+
}};
|
|
14617
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
14618
|
+
this.gapiVersion = gapiVersion;
|
|
14619
|
+
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14620
|
+
};
|
|
14621
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientImpl.prototype.export = function(project, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14622
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14623
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14624
|
+
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14625
|
+
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.video.export", path:"/" + this.gapiVersion + "/" + project + "/video:export", 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});
|
|
14626
|
+
};
|
|
14627
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClient = function() {
|
|
14628
|
+
};
|
|
14629
|
+
module$exports$eeapiclient$ee_api_client.IProjectsVideoMapApiClient$XgafvEnum = function() {
|
|
14630
|
+
};
|
|
14631
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
|
|
14632
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClient$XgafvEnum[2]];
|
|
14633
|
+
}};
|
|
14634
|
+
module$exports$eeapiclient$ee_api_client.IProjectsVideoMapApiClientAltEnum = function() {
|
|
14635
|
+
};
|
|
14636
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
|
|
14637
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientAltEnum.PROTO];
|
|
14638
|
+
}};
|
|
14639
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
14640
|
+
this.gapiVersion = gapiVersion;
|
|
14641
|
+
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14642
|
+
};
|
|
14643
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientImpl.prototype.export = function(project, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14644
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14645
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14646
|
+
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14647
|
+
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.videoMap.export", path:"/" + this.gapiVersion + "/" + project + "/videoMap:export", 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});
|
|
14648
|
+
};
|
|
14649
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClient = function() {
|
|
14650
|
+
};
|
|
14651
|
+
module$exports$eeapiclient$ee_api_client.IProjectsVideoThumbnailsApiClient$XgafvEnum = function() {
|
|
14652
|
+
};
|
|
14653
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
|
|
14654
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClient$XgafvEnum[2]];
|
|
14655
|
+
}};
|
|
14656
|
+
module$exports$eeapiclient$ee_api_client.IProjectsVideoThumbnailsApiClientAltEnum = function() {
|
|
14657
|
+
};
|
|
14658
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
|
|
14659
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientAltEnum.PROTO];
|
|
14660
|
+
}};
|
|
14661
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
14662
|
+
this.gapiVersion = gapiVersion;
|
|
14663
|
+
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14664
|
+
};
|
|
14665
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientImpl.prototype.create = function(parent, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14666
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14667
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14668
|
+
this.$apiClient.$validateParameter(parent, RegExp("^projects/[^/]+$"));
|
|
14669
|
+
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.videoThumbnails.create", path:"/" + this.gapiVersion + "/" + parent + "/videoThumbnails", 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.VideoThumbnail});
|
|
14670
|
+
};
|
|
14671
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientImpl.prototype.getPixels = function(name, namedParameters, passthroughNamedParameters) {
|
|
14672
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14673
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14674
|
+
this.$apiClient.$validateParameter(name, RegExp("^projects/[^/]+/videoThumbnails/[^/]+$"));
|
|
14675
|
+
return this.$apiClient.$request({body:null, httpMethod:"GET", methodId:"earthengine.projects.videoThumbnails.getPixels", path:"/" + this.gapiVersion + "/" + name + ":getPixels", 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.HttpBody});
|
|
14676
|
+
};
|
|
14677
|
+
module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClient = function() {
|
|
14678
|
+
};
|
|
14679
|
+
module$exports$eeapiclient$ee_api_client.IV1ApiClient$XgafvEnum = function() {
|
|
14680
|
+
};
|
|
14681
|
+
module$exports$eeapiclient$ee_api_client.V1ApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
|
|
14682
|
+
return [module$exports$eeapiclient$ee_api_client.V1ApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.V1ApiClient$XgafvEnum[2]];
|
|
14683
|
+
}};
|
|
14684
|
+
module$exports$eeapiclient$ee_api_client.IV1ApiClientAltEnum = function() {
|
|
14685
|
+
};
|
|
14686
|
+
module$exports$eeapiclient$ee_api_client.V1ApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
|
|
14687
|
+
return [module$exports$eeapiclient$ee_api_client.V1ApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.V1ApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.V1ApiClientAltEnum.PROTO];
|
|
14688
|
+
}};
|
|
14689
|
+
module$exports$eeapiclient$ee_api_client.V1ApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
14690
|
+
this.gapiVersion = gapiVersion;
|
|
14691
|
+
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14692
|
+
};
|
|
14693
|
+
module$exports$eeapiclient$ee_api_client.V1ApiClientImpl.prototype.getCapabilities = function(namedParameters, passthroughNamedParameters) {
|
|
14694
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14695
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14696
|
+
return this.$apiClient.$request({body:null, httpMethod:"GET", methodId:"earthengine.getCapabilities", path:"/" + this.gapiVersion + "/capabilities", 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.Capabilities});
|
|
14697
|
+
};
|
|
14698
|
+
module$exports$eeapiclient$ee_api_client.V1ApiClient = function() {
|
|
14699
|
+
};
|
|
14700
|
+
ee.api = module$exports$eeapiclient$ee_api_client;
|
|
14701
|
+
var module$exports$ee$apiVersion = {V1ALPHA:"v1alpha", V1:"v1"};
|
|
14702
|
+
module$exports$ee$apiVersion.VERSION = module$exports$ee$apiVersion.V1;
|
|
14703
|
+
goog.async = {};
|
|
14704
|
+
var module$contents$goog$async$FreeList_FreeList = function(create, reset, limit) {
|
|
14705
|
+
this.limit_ = limit;
|
|
14706
|
+
this.create_ = create;
|
|
14707
|
+
this.reset_ = reset;
|
|
14708
|
+
this.occupants_ = 0;
|
|
14709
|
+
this.head_ = null;
|
|
14710
|
+
};
|
|
14711
|
+
module$contents$goog$async$FreeList_FreeList.prototype.get = function() {
|
|
14712
|
+
if (this.occupants_ > 0) {
|
|
14713
|
+
this.occupants_--;
|
|
14714
|
+
var item = this.head_;
|
|
14715
|
+
this.head_ = item.next;
|
|
14716
|
+
item.next = null;
|
|
14717
|
+
} else {
|
|
14718
|
+
item = this.create_();
|
|
14719
|
+
}
|
|
14720
|
+
return item;
|
|
14721
|
+
};
|
|
14722
|
+
module$contents$goog$async$FreeList_FreeList.prototype.put = function(item) {
|
|
14723
|
+
this.reset_(item);
|
|
14724
|
+
this.occupants_ < this.limit_ && (this.occupants_++, item.next = this.head_, this.head_ = item);
|
|
14725
|
+
};
|
|
14726
|
+
module$contents$goog$async$FreeList_FreeList.prototype.occupants = function() {
|
|
14727
|
+
return this.occupants_;
|
|
14728
|
+
};
|
|
14729
|
+
goog.async.FreeList = module$contents$goog$async$FreeList_FreeList;
|
|
14730
|
+
goog.dom.HtmlElement = function() {
|
|
14731
|
+
};
|
|
14732
|
+
goog.dom.TagName = function() {
|
|
14733
|
+
};
|
|
14734
|
+
goog.dom.TagName.cast = function(name, type) {
|
|
14735
|
+
return name;
|
|
15032
14736
|
};
|
|
15033
|
-
|
|
15034
|
-
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
15035
|
-
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
15036
|
-
this.$apiClient.$validateParameter(parent, RegExp("^projects/[^/]+$"));
|
|
15037
|
-
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.tables.create", path:"/" + this.gapiVersion + "/" + parent + "/tables", 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.Table});
|
|
14737
|
+
goog.dom.TagName.prototype.toString = function() {
|
|
15038
14738
|
};
|
|
15039
|
-
|
|
15040
|
-
|
|
15041
|
-
|
|
15042
|
-
|
|
15043
|
-
|
|
14739
|
+
goog.dom.TagName.A = "A";
|
|
14740
|
+
goog.dom.TagName.ABBR = "ABBR";
|
|
14741
|
+
goog.dom.TagName.ACRONYM = "ACRONYM";
|
|
14742
|
+
goog.dom.TagName.ADDRESS = "ADDRESS";
|
|
14743
|
+
goog.dom.TagName.APPLET = "APPLET";
|
|
14744
|
+
goog.dom.TagName.AREA = "AREA";
|
|
14745
|
+
goog.dom.TagName.ARTICLE = "ARTICLE";
|
|
14746
|
+
goog.dom.TagName.ASIDE = "ASIDE";
|
|
14747
|
+
goog.dom.TagName.AUDIO = "AUDIO";
|
|
14748
|
+
goog.dom.TagName.B = "B";
|
|
14749
|
+
goog.dom.TagName.BASE = "BASE";
|
|
14750
|
+
goog.dom.TagName.BASEFONT = "BASEFONT";
|
|
14751
|
+
goog.dom.TagName.BDI = "BDI";
|
|
14752
|
+
goog.dom.TagName.BDO = "BDO";
|
|
14753
|
+
goog.dom.TagName.BIG = "BIG";
|
|
14754
|
+
goog.dom.TagName.BLOCKQUOTE = "BLOCKQUOTE";
|
|
14755
|
+
goog.dom.TagName.BODY = "BODY";
|
|
14756
|
+
goog.dom.TagName.BR = "BR";
|
|
14757
|
+
goog.dom.TagName.BUTTON = "BUTTON";
|
|
14758
|
+
goog.dom.TagName.CANVAS = "CANVAS";
|
|
14759
|
+
goog.dom.TagName.CAPTION = "CAPTION";
|
|
14760
|
+
goog.dom.TagName.CENTER = "CENTER";
|
|
14761
|
+
goog.dom.TagName.CITE = "CITE";
|
|
14762
|
+
goog.dom.TagName.CODE = "CODE";
|
|
14763
|
+
goog.dom.TagName.COL = "COL";
|
|
14764
|
+
goog.dom.TagName.COLGROUP = "COLGROUP";
|
|
14765
|
+
goog.dom.TagName.COMMAND = "COMMAND";
|
|
14766
|
+
goog.dom.TagName.DATA = "DATA";
|
|
14767
|
+
goog.dom.TagName.DATALIST = "DATALIST";
|
|
14768
|
+
goog.dom.TagName.DD = "DD";
|
|
14769
|
+
goog.dom.TagName.DEL = "DEL";
|
|
14770
|
+
goog.dom.TagName.DETAILS = "DETAILS";
|
|
14771
|
+
goog.dom.TagName.DFN = "DFN";
|
|
14772
|
+
goog.dom.TagName.DIALOG = "DIALOG";
|
|
14773
|
+
goog.dom.TagName.DIR = "DIR";
|
|
14774
|
+
goog.dom.TagName.DIV = "DIV";
|
|
14775
|
+
goog.dom.TagName.DL = "DL";
|
|
14776
|
+
goog.dom.TagName.DT = "DT";
|
|
14777
|
+
goog.dom.TagName.EM = "EM";
|
|
14778
|
+
goog.dom.TagName.EMBED = "EMBED";
|
|
14779
|
+
goog.dom.TagName.FIELDSET = "FIELDSET";
|
|
14780
|
+
goog.dom.TagName.FIGCAPTION = "FIGCAPTION";
|
|
14781
|
+
goog.dom.TagName.FIGURE = "FIGURE";
|
|
14782
|
+
goog.dom.TagName.FONT = "FONT";
|
|
14783
|
+
goog.dom.TagName.FOOTER = "FOOTER";
|
|
14784
|
+
goog.dom.TagName.FORM = "FORM";
|
|
14785
|
+
goog.dom.TagName.FRAME = "FRAME";
|
|
14786
|
+
goog.dom.TagName.FRAMESET = "FRAMESET";
|
|
14787
|
+
goog.dom.TagName.H1 = "H1";
|
|
14788
|
+
goog.dom.TagName.H2 = "H2";
|
|
14789
|
+
goog.dom.TagName.H3 = "H3";
|
|
14790
|
+
goog.dom.TagName.H4 = "H4";
|
|
14791
|
+
goog.dom.TagName.H5 = "H5";
|
|
14792
|
+
goog.dom.TagName.H6 = "H6";
|
|
14793
|
+
goog.dom.TagName.HEAD = "HEAD";
|
|
14794
|
+
goog.dom.TagName.HEADER = "HEADER";
|
|
14795
|
+
goog.dom.TagName.HGROUP = "HGROUP";
|
|
14796
|
+
goog.dom.TagName.HR = "HR";
|
|
14797
|
+
goog.dom.TagName.HTML = "HTML";
|
|
14798
|
+
goog.dom.TagName.I = "I";
|
|
14799
|
+
goog.dom.TagName.IFRAME = "IFRAME";
|
|
14800
|
+
goog.dom.TagName.IMG = "IMG";
|
|
14801
|
+
goog.dom.TagName.INPUT = "INPUT";
|
|
14802
|
+
goog.dom.TagName.INS = "INS";
|
|
14803
|
+
goog.dom.TagName.ISINDEX = "ISINDEX";
|
|
14804
|
+
goog.dom.TagName.KBD = "KBD";
|
|
14805
|
+
goog.dom.TagName.KEYGEN = "KEYGEN";
|
|
14806
|
+
goog.dom.TagName.LABEL = "LABEL";
|
|
14807
|
+
goog.dom.TagName.LEGEND = "LEGEND";
|
|
14808
|
+
goog.dom.TagName.LI = "LI";
|
|
14809
|
+
goog.dom.TagName.LINK = "LINK";
|
|
14810
|
+
goog.dom.TagName.MAIN = "MAIN";
|
|
14811
|
+
goog.dom.TagName.MAP = "MAP";
|
|
14812
|
+
goog.dom.TagName.MARK = "MARK";
|
|
14813
|
+
goog.dom.TagName.MATH = "MATH";
|
|
14814
|
+
goog.dom.TagName.MENU = "MENU";
|
|
14815
|
+
goog.dom.TagName.MENUITEM = "MENUITEM";
|
|
14816
|
+
goog.dom.TagName.META = "META";
|
|
14817
|
+
goog.dom.TagName.METER = "METER";
|
|
14818
|
+
goog.dom.TagName.NAV = "NAV";
|
|
14819
|
+
goog.dom.TagName.NOFRAMES = "NOFRAMES";
|
|
14820
|
+
goog.dom.TagName.NOSCRIPT = "NOSCRIPT";
|
|
14821
|
+
goog.dom.TagName.OBJECT = "OBJECT";
|
|
14822
|
+
goog.dom.TagName.OL = "OL";
|
|
14823
|
+
goog.dom.TagName.OPTGROUP = "OPTGROUP";
|
|
14824
|
+
goog.dom.TagName.OPTION = "OPTION";
|
|
14825
|
+
goog.dom.TagName.OUTPUT = "OUTPUT";
|
|
14826
|
+
goog.dom.TagName.P = "P";
|
|
14827
|
+
goog.dom.TagName.PARAM = "PARAM";
|
|
14828
|
+
goog.dom.TagName.PICTURE = "PICTURE";
|
|
14829
|
+
goog.dom.TagName.PRE = "PRE";
|
|
14830
|
+
goog.dom.TagName.PROGRESS = "PROGRESS";
|
|
14831
|
+
goog.dom.TagName.Q = "Q";
|
|
14832
|
+
goog.dom.TagName.RP = "RP";
|
|
14833
|
+
goog.dom.TagName.RT = "RT";
|
|
14834
|
+
goog.dom.TagName.RTC = "RTC";
|
|
14835
|
+
goog.dom.TagName.RUBY = "RUBY";
|
|
14836
|
+
goog.dom.TagName.S = "S";
|
|
14837
|
+
goog.dom.TagName.SAMP = "SAMP";
|
|
14838
|
+
goog.dom.TagName.SCRIPT = "SCRIPT";
|
|
14839
|
+
goog.dom.TagName.SECTION = "SECTION";
|
|
14840
|
+
goog.dom.TagName.SELECT = "SELECT";
|
|
14841
|
+
goog.dom.TagName.SMALL = "SMALL";
|
|
14842
|
+
goog.dom.TagName.SOURCE = "SOURCE";
|
|
14843
|
+
goog.dom.TagName.SPAN = "SPAN";
|
|
14844
|
+
goog.dom.TagName.STRIKE = "STRIKE";
|
|
14845
|
+
goog.dom.TagName.STRONG = "STRONG";
|
|
14846
|
+
goog.dom.TagName.STYLE = "STYLE";
|
|
14847
|
+
goog.dom.TagName.SUB = "SUB";
|
|
14848
|
+
goog.dom.TagName.SUMMARY = "SUMMARY";
|
|
14849
|
+
goog.dom.TagName.SUP = "SUP";
|
|
14850
|
+
goog.dom.TagName.SVG = "SVG";
|
|
14851
|
+
goog.dom.TagName.TABLE = "TABLE";
|
|
14852
|
+
goog.dom.TagName.TBODY = "TBODY";
|
|
14853
|
+
goog.dom.TagName.TD = "TD";
|
|
14854
|
+
goog.dom.TagName.TEMPLATE = "TEMPLATE";
|
|
14855
|
+
goog.dom.TagName.TEXTAREA = "TEXTAREA";
|
|
14856
|
+
goog.dom.TagName.TFOOT = "TFOOT";
|
|
14857
|
+
goog.dom.TagName.TH = "TH";
|
|
14858
|
+
goog.dom.TagName.THEAD = "THEAD";
|
|
14859
|
+
goog.dom.TagName.TIME = "TIME";
|
|
14860
|
+
goog.dom.TagName.TITLE = "TITLE";
|
|
14861
|
+
goog.dom.TagName.TR = "TR";
|
|
14862
|
+
goog.dom.TagName.TRACK = "TRACK";
|
|
14863
|
+
goog.dom.TagName.TT = "TT";
|
|
14864
|
+
goog.dom.TagName.U = "U";
|
|
14865
|
+
goog.dom.TagName.UL = "UL";
|
|
14866
|
+
goog.dom.TagName.VAR = "VAR";
|
|
14867
|
+
goog.dom.TagName.VIDEO = "VIDEO";
|
|
14868
|
+
goog.dom.TagName.WBR = "WBR";
|
|
14869
|
+
goog.dom.element = {};
|
|
14870
|
+
var module$contents$goog$dom$element_isElement = function(value) {
|
|
14871
|
+
return goog.isObject(value) && value.nodeType === goog.dom.NodeType.ELEMENT;
|
|
14872
|
+
}, module$contents$goog$dom$element_isHtmlElement = function(value) {
|
|
14873
|
+
return goog.isObject(value) && module$contents$goog$dom$element_isElement(value) && (!value.namespaceURI || value.namespaceURI === "http://www.w3.org/1999/xhtml");
|
|
14874
|
+
}, module$contents$goog$dom$element_isHtmlElementOfType = function(value, tagName) {
|
|
14875
|
+
return goog.isObject(value) && module$contents$goog$dom$element_isHtmlElement(value) && value.tagName.toUpperCase() === tagName.toString();
|
|
15044
14876
|
};
|
|
15045
|
-
module$
|
|
14877
|
+
goog.dom.element.isElement = module$contents$goog$dom$element_isElement;
|
|
14878
|
+
goog.dom.element.isHtmlElement = module$contents$goog$dom$element_isHtmlElement;
|
|
14879
|
+
goog.dom.element.isHtmlElementOfType = module$contents$goog$dom$element_isHtmlElementOfType;
|
|
14880
|
+
goog.dom.element.isHtmlAnchorElement = function(value) {
|
|
14881
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.A);
|
|
15046
14882
|
};
|
|
15047
|
-
|
|
14883
|
+
goog.dom.element.isHtmlButtonElement = function(value) {
|
|
14884
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.BUTTON);
|
|
15048
14885
|
};
|
|
15049
|
-
|
|
15050
|
-
return
|
|
15051
|
-
}};
|
|
15052
|
-
module$exports$eeapiclient$ee_api_client.IProjectsThumbnailsApiClientAltEnum = function() {
|
|
14886
|
+
goog.dom.element.isHtmlLinkElement = function(value) {
|
|
14887
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.LINK);
|
|
15053
14888
|
};
|
|
15054
|
-
|
|
15055
|
-
return
|
|
15056
|
-
}};
|
|
15057
|
-
module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
15058
|
-
this.gapiVersion = gapiVersion;
|
|
15059
|
-
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14889
|
+
goog.dom.element.isHtmlImageElement = function(value) {
|
|
14890
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.IMG);
|
|
15060
14891
|
};
|
|
15061
|
-
|
|
15062
|
-
|
|
15063
|
-
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
15064
|
-
this.$apiClient.$validateParameter(parent, RegExp("^projects/[^/]+$"));
|
|
15065
|
-
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.thumbnails.create", path:"/" + this.gapiVersion + "/" + parent + "/thumbnails", 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.Thumbnail});
|
|
14892
|
+
goog.dom.element.isHtmlAudioElement = function(value) {
|
|
14893
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.AUDIO);
|
|
15066
14894
|
};
|
|
15067
|
-
|
|
15068
|
-
|
|
15069
|
-
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
15070
|
-
this.$apiClient.$validateParameter(name, RegExp("^projects/[^/]+/thumbnails/[^/]+$"));
|
|
15071
|
-
return this.$apiClient.$request({body:null, httpMethod:"GET", methodId:"earthengine.projects.thumbnails.getPixels", path:"/" + this.gapiVersion + "/" + name + ":getPixels", 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.HttpBody});
|
|
14895
|
+
goog.dom.element.isHtmlVideoElement = function(value) {
|
|
14896
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
15072
14897
|
};
|
|
15073
|
-
|
|
14898
|
+
goog.dom.element.isHtmlInputElement = function(value) {
|
|
14899
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
15074
14900
|
};
|
|
15075
|
-
|
|
14901
|
+
goog.dom.element.isHtmlTextAreaElement = function(value) {
|
|
14902
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.TEXTAREA);
|
|
15076
14903
|
};
|
|
15077
|
-
|
|
15078
|
-
return
|
|
15079
|
-
}};
|
|
15080
|
-
module$exports$eeapiclient$ee_api_client.IProjectsValueApiClientAltEnum = function() {
|
|
14904
|
+
goog.dom.element.isHtmlCanvasElement = function(value) {
|
|
14905
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.CANVAS);
|
|
15081
14906
|
};
|
|
15082
|
-
|
|
15083
|
-
return
|
|
15084
|
-
}};
|
|
15085
|
-
module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
15086
|
-
this.gapiVersion = gapiVersion;
|
|
15087
|
-
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14907
|
+
goog.dom.element.isHtmlEmbedElement = function(value) {
|
|
14908
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.EMBED);
|
|
15088
14909
|
};
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
15092
|
-
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
15093
|
-
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.value.compute", path:"/" + this.gapiVersion + "/" + project + "/value:compute", 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.ComputeValueResponse});
|
|
14910
|
+
goog.dom.element.isHtmlFormElement = function(value) {
|
|
14911
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
15094
14912
|
};
|
|
15095
|
-
|
|
14913
|
+
goog.dom.element.isHtmlFrameElement = function(value) {
|
|
14914
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.FRAME);
|
|
15096
14915
|
};
|
|
15097
|
-
|
|
14916
|
+
goog.dom.element.isHtmlIFrameElement = function(value) {
|
|
14917
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.IFRAME);
|
|
15098
14918
|
};
|
|
15099
|
-
|
|
15100
|
-
return
|
|
15101
|
-
}};
|
|
15102
|
-
module$exports$eeapiclient$ee_api_client.IProjectsVideoApiClientAltEnum = function() {
|
|
14919
|
+
goog.dom.element.isHtmlObjectElement = function(value) {
|
|
14920
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
15103
14921
|
};
|
|
15104
|
-
|
|
15105
|
-
return
|
|
15106
|
-
}
|
|
15107
|
-
|
|
15108
|
-
|
|
15109
|
-
|
|
14922
|
+
goog.dom.element.isHtmlScriptElement = function(value) {
|
|
14923
|
+
return module$contents$goog$dom$element_isHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
14924
|
+
};
|
|
14925
|
+
goog.asserts.dom = {};
|
|
14926
|
+
var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
14927
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isHtmlElement(value) && goog.asserts.fail("Argument is not an HTML Element; got: " + module$contents$goog$asserts$dom_debugStringForType(value));
|
|
14928
|
+
return value;
|
|
14929
|
+
}, module$contents$goog$asserts$dom_assertIsHtmlElementOfType = function(value, tagName) {
|
|
14930
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isHtmlElementOfType(value, tagName) && goog.asserts.fail("Argument is not an HTML Element with tag name " + (tagName.toString() + "; got: " + module$contents$goog$asserts$dom_debugStringForType(value)));
|
|
14931
|
+
return value;
|
|
14932
|
+
}, module$contents$goog$asserts$dom_assertIsHtmlAnchorElement = function(value) {
|
|
14933
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.A);
|
|
14934
|
+
}, module$contents$goog$asserts$dom_assertIsHtmlLinkElement = function(value) {
|
|
14935
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.LINK);
|
|
14936
|
+
}, module$contents$goog$asserts$dom_assertIsHtmlFormElement = function(value) {
|
|
14937
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
14938
|
+
}, module$contents$goog$asserts$dom_assertIsHtmlIFrameElement = function(value) {
|
|
14939
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IFRAME);
|
|
14940
|
+
}, module$contents$goog$asserts$dom_assertIsHtmlScriptElement = function(value) {
|
|
14941
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
14942
|
+
}, module$contents$goog$asserts$dom_debugStringForType = function(value) {
|
|
14943
|
+
if (goog.isObject(value)) {
|
|
14944
|
+
try {
|
|
14945
|
+
return value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value);
|
|
14946
|
+
} catch (e) {
|
|
14947
|
+
return "<object could not be stringified>";
|
|
14948
|
+
}
|
|
14949
|
+
} else {
|
|
14950
|
+
return value === void 0 ? "undefined" : value === null ? "null" : typeof value;
|
|
14951
|
+
}
|
|
15110
14952
|
};
|
|
15111
|
-
|
|
15112
|
-
|
|
15113
|
-
|
|
15114
|
-
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
15115
|
-
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.video.export", path:"/" + this.gapiVersion + "/" + project + "/video:export", 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});
|
|
14953
|
+
goog.asserts.dom.assertIsElement = function(value) {
|
|
14954
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isElement(value) && goog.asserts.fail("Argument is not an Element; got: " + module$contents$goog$asserts$dom_debugStringForType(value));
|
|
14955
|
+
return value;
|
|
15116
14956
|
};
|
|
15117
|
-
module$
|
|
14957
|
+
goog.asserts.dom.assertIsHtmlElement = module$contents$goog$asserts$dom_assertIsHtmlElement;
|
|
14958
|
+
goog.asserts.dom.assertIsHtmlElementOfType = module$contents$goog$asserts$dom_assertIsHtmlElementOfType;
|
|
14959
|
+
goog.asserts.dom.assertIsHtmlAnchorElement = module$contents$goog$asserts$dom_assertIsHtmlAnchorElement;
|
|
14960
|
+
goog.asserts.dom.assertIsHtmlButtonElement = function(value) {
|
|
14961
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.BUTTON);
|
|
15118
14962
|
};
|
|
15119
|
-
module$
|
|
14963
|
+
goog.asserts.dom.assertIsHtmlLinkElement = module$contents$goog$asserts$dom_assertIsHtmlLinkElement;
|
|
14964
|
+
goog.asserts.dom.assertIsHtmlImageElement = function(value) {
|
|
14965
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IMG);
|
|
15120
14966
|
};
|
|
15121
|
-
|
|
15122
|
-
return
|
|
15123
|
-
}};
|
|
15124
|
-
module$exports$eeapiclient$ee_api_client.IProjectsVideoMapApiClientAltEnum = function() {
|
|
14967
|
+
goog.asserts.dom.assertIsHtmlAudioElement = function(value) {
|
|
14968
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.AUDIO);
|
|
15125
14969
|
};
|
|
15126
|
-
|
|
15127
|
-
return
|
|
15128
|
-
}};
|
|
15129
|
-
module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
15130
|
-
this.gapiVersion = gapiVersion;
|
|
15131
|
-
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14970
|
+
goog.asserts.dom.assertIsHtmlVideoElement = function(value) {
|
|
14971
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
15132
14972
|
};
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
|
-
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
15136
|
-
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
15137
|
-
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.videoMap.export", path:"/" + this.gapiVersion + "/" + project + "/videoMap:export", 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});
|
|
14973
|
+
goog.asserts.dom.assertIsHtmlInputElement = function(value) {
|
|
14974
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
15138
14975
|
};
|
|
15139
|
-
|
|
14976
|
+
goog.asserts.dom.assertIsHtmlTextAreaElement = function(value) {
|
|
14977
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.TEXTAREA);
|
|
15140
14978
|
};
|
|
15141
|
-
|
|
14979
|
+
goog.asserts.dom.assertIsHtmlCanvasElement = function(value) {
|
|
14980
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.CANVAS);
|
|
15142
14981
|
};
|
|
15143
|
-
|
|
15144
|
-
return
|
|
15145
|
-
}};
|
|
15146
|
-
module$exports$eeapiclient$ee_api_client.IProjectsVideoThumbnailsApiClientAltEnum = function() {
|
|
14982
|
+
goog.asserts.dom.assertIsHtmlEmbedElement = function(value) {
|
|
14983
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
|
|
15147
14984
|
};
|
|
15148
|
-
module$
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
|
|
15152
|
-
this.gapiVersion = gapiVersion;
|
|
15153
|
-
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, apiClientHookFactory === void 0 ? null : apiClientHookFactory);
|
|
14985
|
+
goog.asserts.dom.assertIsHtmlFormElement = module$contents$goog$asserts$dom_assertIsHtmlFormElement;
|
|
14986
|
+
goog.asserts.dom.assertIsHtmlFrameElement = function(value) {
|
|
14987
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
|
|
15154
14988
|
};
|
|
15155
|
-
|
|
15156
|
-
|
|
15157
|
-
|
|
15158
|
-
this.$apiClient.$validateParameter(parent, RegExp("^projects/[^/]+$"));
|
|
15159
|
-
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.videoThumbnails.create", path:"/" + this.gapiVersion + "/" + parent + "/videoThumbnails", 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.VideoThumbnail});
|
|
14989
|
+
goog.asserts.dom.assertIsHtmlIFrameElement = module$contents$goog$asserts$dom_assertIsHtmlIFrameElement;
|
|
14990
|
+
goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
14991
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
15160
14992
|
};
|
|
15161
|
-
|
|
15162
|
-
|
|
15163
|
-
|
|
15164
|
-
|
|
15165
|
-
|
|
14993
|
+
goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
|
|
14994
|
+
goog.dom.asserts = {};
|
|
14995
|
+
goog.dom.asserts.assertIsLocation = function(o) {
|
|
14996
|
+
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
|
|
14997
|
+
var win = goog.dom.asserts.getWindow_(o);
|
|
14998
|
+
win && (!o || !(o instanceof win.Location) && o instanceof win.Element) && goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s", goog.dom.asserts.debugStringForType_(o));
|
|
14999
|
+
}
|
|
15000
|
+
return o;
|
|
15166
15001
|
};
|
|
15167
|
-
|
|
15002
|
+
goog.dom.asserts.debugStringForType_ = function(value) {
|
|
15003
|
+
if (goog.isObject(value)) {
|
|
15004
|
+
try {
|
|
15005
|
+
return value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value);
|
|
15006
|
+
} catch (e) {
|
|
15007
|
+
return "<object could not be stringified>";
|
|
15008
|
+
}
|
|
15009
|
+
} else {
|
|
15010
|
+
return value === void 0 ? "undefined" : value === null ? "null" : typeof value;
|
|
15011
|
+
}
|
|
15168
15012
|
};
|
|
15169
|
-
|
|
15013
|
+
goog.dom.asserts.getWindow_ = function(o) {
|
|
15014
|
+
try {
|
|
15015
|
+
var doc = o && o.ownerDocument, win = doc && (doc.defaultView || doc.parentWindow);
|
|
15016
|
+
win = win || goog.global;
|
|
15017
|
+
if (win.Element && win.Location) {
|
|
15018
|
+
return win;
|
|
15019
|
+
}
|
|
15020
|
+
} catch (ex) {
|
|
15021
|
+
}
|
|
15022
|
+
return null;
|
|
15170
15023
|
};
|
|
15171
|
-
|
|
15172
|
-
|
|
15173
|
-
|
|
15174
|
-
|
|
15024
|
+
goog.dom.tags = {};
|
|
15025
|
+
goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!0, hr:!0, img:!0, input:!0, keygen:!0, link:!0, meta:!0, param:!0, source:!0, track:!0, wbr:!0};
|
|
15026
|
+
goog.dom.tags.isVoidTag = function(tagName) {
|
|
15027
|
+
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
15175
15028
|
};
|
|
15176
|
-
module$exports$
|
|
15177
|
-
|
|
15178
|
-
|
|
15179
|
-
module$exports$
|
|
15180
|
-
|
|
15181
|
-
|
|
15029
|
+
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"};
|
|
15030
|
+
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15031
|
+
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
15032
|
+
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15033
|
+
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
15034
|
+
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
15035
|
+
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15036
|
+
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15037
|
+
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15038
|
+
module$exports$safevalues$for_closure$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15039
|
+
module$exports$safevalues$for_closure$index.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15040
|
+
module$exports$safevalues$for_closure$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15041
|
+
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15042
|
+
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15043
|
+
var module$exports$safevalues$for_closure = {};
|
|
15044
|
+
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15045
|
+
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
15046
|
+
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15047
|
+
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
15048
|
+
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
15049
|
+
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15050
|
+
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15051
|
+
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15052
|
+
module$exports$safevalues$for_closure.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15053
|
+
module$exports$safevalues$for_closure.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15054
|
+
module$exports$safevalues$for_closure.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15055
|
+
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15056
|
+
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15057
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
15058
|
+
var styleString = goog.string.Const.unwrap(style);
|
|
15059
|
+
if (styleString.length === 0) {
|
|
15060
|
+
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15061
|
+
}
|
|
15062
|
+
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
15063
|
+
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
15064
|
+
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
15182
15065
|
};
|
|
15183
|
-
module$exports$
|
|
15184
|
-
|
|
15185
|
-
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
15186
|
-
return this.$apiClient.$request({body:null, httpMethod:"GET", methodId:"earthengine.getCapabilities", path:"/" + this.gapiVersion + "/capabilities", 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.Capabilities});
|
|
15066
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
15067
|
+
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
15187
15068
|
};
|
|
15188
|
-
module$exports$
|
|
15069
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
15070
|
+
var style = "", name;
|
|
15071
|
+
for (name in map) {
|
|
15072
|
+
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
15073
|
+
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
15074
|
+
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
15075
|
+
}
|
|
15076
|
+
var value = map[name];
|
|
15077
|
+
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 + ";");
|
|
15078
|
+
}
|
|
15079
|
+
}
|
|
15080
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15189
15081
|
};
|
|
15190
|
-
|
|
15191
|
-
var
|
|
15192
|
-
|
|
15193
|
-
|
|
15194
|
-
|
|
15195
|
-
|
|
15196
|
-
this.create_ = create;
|
|
15197
|
-
this.reset_ = reset;
|
|
15198
|
-
this.occupants_ = 0;
|
|
15199
|
-
this.head_ = null;
|
|
15082
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
15083
|
+
var style = "", addArgument = function(argument) {
|
|
15084
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
15085
|
+
};
|
|
15086
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
15087
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15200
15088
|
};
|
|
15201
|
-
module$
|
|
15202
|
-
|
|
15203
|
-
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
|
|
15089
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
15090
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
15091
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
15092
|
+
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15093
|
+
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
15094
|
+
}
|
|
15095
|
+
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
15096
|
+
if (/[{;}]/.test(result)) {
|
|
15097
|
+
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
15098
|
+
}
|
|
15099
|
+
return result;
|
|
15100
|
+
}
|
|
15101
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
15102
|
+
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");
|
|
15103
|
+
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
15104
|
+
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
15105
|
+
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15106
|
+
}
|
|
15107
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
15108
|
+
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15109
|
+
}
|
|
15110
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
15111
|
+
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;
|
|
15112
|
+
}
|
|
15207
15113
|
} else {
|
|
15208
|
-
|
|
15114
|
+
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;
|
|
15115
|
+
}
|
|
15116
|
+
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
15117
|
+
}
|
|
15118
|
+
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
15119
|
+
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
15120
|
+
var c = value.charAt(i);
|
|
15121
|
+
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
15122
|
+
}
|
|
15123
|
+
return outsideSingle && outsideDouble;
|
|
15124
|
+
}
|
|
15125
|
+
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
15126
|
+
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
15127
|
+
var c = value.charAt(i);
|
|
15128
|
+
if (c == "]") {
|
|
15129
|
+
if (outside) {
|
|
15130
|
+
return !1;
|
|
15131
|
+
}
|
|
15132
|
+
outside = !0;
|
|
15133
|
+
} else if (c == "[") {
|
|
15134
|
+
if (!outside) {
|
|
15135
|
+
return !1;
|
|
15136
|
+
}
|
|
15137
|
+
outside = !1;
|
|
15138
|
+
} else if (!outside && !tokenRe.test(c)) {
|
|
15139
|
+
return !1;
|
|
15140
|
+
}
|
|
15141
|
+
}
|
|
15142
|
+
return outside;
|
|
15143
|
+
}
|
|
15144
|
+
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 =
|
|
15145
|
+
/\/\*/;
|
|
15146
|
+
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
15147
|
+
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
15148
|
+
var quote = "";
|
|
15149
|
+
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
15150
|
+
quote = start;
|
|
15151
|
+
return inside;
|
|
15152
|
+
});
|
|
15153
|
+
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
15154
|
+
return before + quote + sanitized + quote + after;
|
|
15155
|
+
});
|
|
15156
|
+
}
|
|
15157
|
+
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15158
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule = function(selector, style) {
|
|
15159
|
+
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
15160
|
+
throw Error("Selector does not allow '<', got: " + selector);
|
|
15209
15161
|
}
|
|
15210
|
-
|
|
15162
|
+
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
15163
|
+
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
15164
|
+
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
15165
|
+
}
|
|
15166
|
+
if (!module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(selectorToCheck)) {
|
|
15167
|
+
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
15168
|
+
}
|
|
15169
|
+
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
15170
|
+
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
15171
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15211
15172
|
};
|
|
15212
|
-
module$
|
|
15213
|
-
|
|
15214
|
-
|
|
15173
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.concat = function(var_args) {
|
|
15174
|
+
var result = "", addArgument = function(argument) {
|
|
15175
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap(argument);
|
|
15176
|
+
};
|
|
15177
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
15178
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(result);
|
|
15215
15179
|
};
|
|
15216
|
-
module$
|
|
15217
|
-
|
|
15180
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
15181
|
+
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
15182
|
+
if (styleSheetString.length === 0) {
|
|
15183
|
+
return module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY;
|
|
15184
|
+
}
|
|
15185
|
+
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
15186
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetString);
|
|
15218
15187
|
};
|
|
15219
|
-
|
|
15220
|
-
|
|
15221
|
-
var module$contents$goog$dom$element_isElement = function(value) {
|
|
15222
|
-
return goog.isObject(value) && value.nodeType === goog.dom.NodeType.ELEMENT;
|
|
15223
|
-
}, module$contents$goog$dom$element_isHtmlElement = function(value) {
|
|
15224
|
-
return goog.isObject(value) && module$contents$goog$dom$element_isElement(value) && (!value.namespaceURI || value.namespaceURI === "http://www.w3.org/1999/xhtml");
|
|
15225
|
-
}, module$contents$goog$dom$element_isHtmlElementOfType = function(value, tagName) {
|
|
15226
|
-
return goog.isObject(value) && module$contents$goog$dom$element_isHtmlElement(value) && value.tagName.toUpperCase() === tagName.toString();
|
|
15188
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
15189
|
+
return module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
15227
15190
|
};
|
|
15228
|
-
|
|
15229
|
-
|
|
15230
|
-
|
|
15231
|
-
|
|
15232
|
-
|
|
15191
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal("");
|
|
15192
|
+
function module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(s) {
|
|
15193
|
+
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
15194
|
+
var ch = s[i];
|
|
15195
|
+
if (brackets[ch]) {
|
|
15196
|
+
expectedBrackets.push(brackets[ch]);
|
|
15197
|
+
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
15198
|
+
return !1;
|
|
15199
|
+
}
|
|
15200
|
+
}
|
|
15201
|
+
return expectedBrackets.length == 0;
|
|
15202
|
+
}
|
|
15203
|
+
goog.html.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15204
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
|
|
15205
|
+
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
|
|
15233
15206
|
};
|
|
15234
|
-
|
|
15235
|
-
return module$
|
|
15207
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML = function(safeHtml) {
|
|
15208
|
+
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml);
|
|
15236
15209
|
};
|
|
15237
|
-
|
|
15238
|
-
return module$
|
|
15210
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape = function(textOrHtml) {
|
|
15211
|
+
return textOrHtml instanceof module$exports$safevalues$internals$html_impl.SafeHtml ? textOrHtml : (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(goog.string.internal.htmlEscape(String(textOrHtml)));
|
|
15239
15212
|
};
|
|
15240
|
-
|
|
15241
|
-
|
|
15213
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscapePreservingNewlines = function(textOrHtml) {
|
|
15214
|
+
if (textOrHtml instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
|
|
15215
|
+
return textOrHtml;
|
|
15216
|
+
}
|
|
15217
|
+
var html = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(textOrHtml);
|
|
15218
|
+
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(goog.string.internal.newLineToBr(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html)));
|
|
15242
15219
|
};
|
|
15243
|
-
|
|
15244
|
-
|
|
15220
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscapePreservingNewlinesAndSpaces = function(textOrHtml) {
|
|
15221
|
+
if (textOrHtml instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
|
|
15222
|
+
return textOrHtml;
|
|
15223
|
+
}
|
|
15224
|
+
var html = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(textOrHtml);
|
|
15225
|
+
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(goog.string.internal.whitespaceEscape(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html)));
|
|
15245
15226
|
};
|
|
15246
|
-
|
|
15247
|
-
|
|
15227
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.create = function(tagName, attributes, content) {
|
|
15228
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.verifyTagName(String(tagName));
|
|
15229
|
+
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(tagName), attributes, content);
|
|
15248
15230
|
};
|
|
15249
|
-
|
|
15250
|
-
|
|
15231
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.verifyTagName = function(tagName) {
|
|
15232
|
+
if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(tagName)) {
|
|
15233
|
+
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "Invalid tag name <" + tagName + ">." : "");
|
|
15234
|
+
}
|
|
15235
|
+
if (tagName.toUpperCase() in module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES) {
|
|
15236
|
+
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "Tag name <" + tagName + "> is not allowed for SafeHtml." : "");
|
|
15237
|
+
}
|
|
15251
15238
|
};
|
|
15252
|
-
|
|
15253
|
-
|
|
15239
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.createIframe = function(src, srcdoc, attributes, content) {
|
|
15240
|
+
src && module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(src);
|
|
15241
|
+
var fixedAttributes = {};
|
|
15242
|
+
fixedAttributes.src = src || null;
|
|
15243
|
+
fixedAttributes.srcdoc = srcdoc && module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(srcdoc);
|
|
15244
|
+
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes(fixedAttributes, {sandbox:""}, attributes);
|
|
15245
|
+
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
15254
15246
|
};
|
|
15255
|
-
|
|
15256
|
-
|
|
15247
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.createSandboxIframe = function(src, srcdoc, attributes, content) {
|
|
15248
|
+
if (!module$exports$safevalues$internals$html_impl.SafeHtml.canUseSandboxIframe()) {
|
|
15249
|
+
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "The browser does not support sandboxed iframes." : "");
|
|
15250
|
+
}
|
|
15251
|
+
var fixedAttributes = {};
|
|
15252
|
+
fixedAttributes.src = src ? module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(src)) : null;
|
|
15253
|
+
fixedAttributes.srcdoc = srcdoc || null;
|
|
15254
|
+
fixedAttributes.sandbox = "";
|
|
15255
|
+
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
|
|
15256
|
+
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
15257
15257
|
};
|
|
15258
|
-
|
|
15259
|
-
return
|
|
15258
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.canUseSandboxIframe = function() {
|
|
15259
|
+
return goog.global.HTMLIFrameElement && "sandbox" in goog.global.HTMLIFrameElement.prototype;
|
|
15260
15260
|
};
|
|
15261
|
-
|
|
15262
|
-
|
|
15261
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.createScriptSrc = function(src, attributes) {
|
|
15262
|
+
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(src);
|
|
15263
|
+
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({src:src}, {}, attributes);
|
|
15264
|
+
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
|
|
15263
15265
|
};
|
|
15264
|
-
|
|
15265
|
-
|
|
15266
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.createStyle = function(styleSheet, attributes) {
|
|
15267
|
+
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
15268
|
+
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
15269
|
+
for (var i = 0; i < styleSheet.length; i++) {
|
|
15270
|
+
content += module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap(styleSheet[i]);
|
|
15271
|
+
}
|
|
15272
|
+
var htmlContent = (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content);
|
|
15273
|
+
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
15266
15274
|
};
|
|
15267
|
-
|
|
15268
|
-
|
|
15275
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.createMetaRefresh = function(url, secs) {
|
|
15276
|
+
var unwrappedUrl = module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(url));
|
|
15277
|
+
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
|
|
15269
15278
|
};
|
|
15270
|
-
|
|
15271
|
-
|
|
15279
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.join = function(separator, parts) {
|
|
15280
|
+
var separatorHtml = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(separator), content = [], addArgument = function(argument) {
|
|
15281
|
+
if (Array.isArray(argument)) {
|
|
15282
|
+
argument.forEach(addArgument);
|
|
15283
|
+
} else {
|
|
15284
|
+
var html = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(argument);
|
|
15285
|
+
content.push(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html));
|
|
15286
|
+
}
|
|
15287
|
+
};
|
|
15288
|
+
parts.forEach(addArgument);
|
|
15289
|
+
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content.join(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(separatorHtml)));
|
|
15272
15290
|
};
|
|
15273
|
-
|
|
15274
|
-
return module$
|
|
15291
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.concat = function(var_args) {
|
|
15292
|
+
return module$exports$safevalues$internals$html_impl.SafeHtml.join(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY, Array.prototype.slice.call(arguments));
|
|
15275
15293
|
};
|
|
15276
|
-
|
|
15277
|
-
var module$
|
|
15278
|
-
|
|
15279
|
-
|
|
15280
|
-
|
|
15281
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isHtmlElementOfType(value, tagName) && goog.asserts.fail("Argument is not an HTML Element with tag name " + (tagName.toString() + "; got: " + module$contents$goog$asserts$dom_debugStringForType(value)));
|
|
15282
|
-
return value;
|
|
15283
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlAnchorElement = function(value) {
|
|
15284
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.A);
|
|
15285
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlLinkElement = function(value) {
|
|
15286
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.LINK);
|
|
15287
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlFormElement = function(value) {
|
|
15288
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
15289
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlIFrameElement = function(value) {
|
|
15290
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IFRAME);
|
|
15291
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlScriptElement = function(value) {
|
|
15292
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
15293
|
-
}, module$contents$goog$asserts$dom_debugStringForType = function(value) {
|
|
15294
|
-
if (goog.isObject(value)) {
|
|
15295
|
-
try {
|
|
15296
|
-
return value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value);
|
|
15297
|
-
} catch (e) {
|
|
15298
|
-
return "<object could not be stringified>";
|
|
15299
|
-
}
|
|
15294
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse = function(tagName, attributes, content) {
|
|
15295
|
+
var result = "<" + tagName + module$exports$safevalues$internals$html_impl.SafeHtml.stringifyAttributes(tagName, attributes);
|
|
15296
|
+
content == null ? content = [] : Array.isArray(content) || (content = [content]);
|
|
15297
|
+
if (goog.dom.tags.isVoidTag(tagName.toLowerCase())) {
|
|
15298
|
+
goog.asserts.assert(!content.length, "Void tag <" + tagName + "> does not allow content."), result += ">";
|
|
15300
15299
|
} else {
|
|
15301
|
-
|
|
15300
|
+
var html = module$exports$safevalues$internals$html_impl.SafeHtml.concat(content);
|
|
15301
|
+
result += ">" + module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html) + "</" + tagName + ">";
|
|
15302
15302
|
}
|
|
15303
|
+
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(result);
|
|
15303
15304
|
};
|
|
15304
|
-
|
|
15305
|
-
|
|
15306
|
-
|
|
15307
|
-
|
|
15308
|
-
|
|
15309
|
-
|
|
15310
|
-
|
|
15311
|
-
|
|
15312
|
-
|
|
15313
|
-
|
|
15314
|
-
|
|
15315
|
-
|
|
15316
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IMG);
|
|
15317
|
-
};
|
|
15318
|
-
goog.asserts.dom.assertIsHtmlAudioElement = function(value) {
|
|
15319
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.AUDIO);
|
|
15320
|
-
};
|
|
15321
|
-
goog.asserts.dom.assertIsHtmlVideoElement = function(value) {
|
|
15322
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
15323
|
-
};
|
|
15324
|
-
goog.asserts.dom.assertIsHtmlInputElement = function(value) {
|
|
15325
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
15326
|
-
};
|
|
15327
|
-
goog.asserts.dom.assertIsHtmlTextAreaElement = function(value) {
|
|
15328
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.TEXTAREA);
|
|
15329
|
-
};
|
|
15330
|
-
goog.asserts.dom.assertIsHtmlCanvasElement = function(value) {
|
|
15331
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.CANVAS);
|
|
15332
|
-
};
|
|
15333
|
-
goog.asserts.dom.assertIsHtmlEmbedElement = function(value) {
|
|
15334
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
|
|
15335
|
-
};
|
|
15336
|
-
goog.asserts.dom.assertIsHtmlFormElement = module$contents$goog$asserts$dom_assertIsHtmlFormElement;
|
|
15337
|
-
goog.asserts.dom.assertIsHtmlFrameElement = function(value) {
|
|
15338
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
|
|
15339
|
-
};
|
|
15340
|
-
goog.asserts.dom.assertIsHtmlIFrameElement = module$contents$goog$asserts$dom_assertIsHtmlIFrameElement;
|
|
15341
|
-
goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
15342
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
15343
|
-
};
|
|
15344
|
-
goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
|
|
15345
|
-
goog.dom.asserts = {};
|
|
15346
|
-
goog.dom.asserts.assertIsLocation = function(o) {
|
|
15347
|
-
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
|
|
15348
|
-
var win = goog.dom.asserts.getWindow_(o);
|
|
15349
|
-
win && (!o || !(o instanceof win.Location) && o instanceof win.Element) && goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s", goog.dom.asserts.debugStringForType_(o));
|
|
15305
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.stringifyAttributes = function(tagName, attributes) {
|
|
15306
|
+
var result = "";
|
|
15307
|
+
if (attributes) {
|
|
15308
|
+
for (var name in attributes) {
|
|
15309
|
+
if (Object.prototype.hasOwnProperty.call(attributes, name)) {
|
|
15310
|
+
if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(name)) {
|
|
15311
|
+
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Invalid attribute name "' + name + '".' : "");
|
|
15312
|
+
}
|
|
15313
|
+
var value = attributes[name];
|
|
15314
|
+
value != null && (result += " " + module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value));
|
|
15315
|
+
}
|
|
15316
|
+
}
|
|
15350
15317
|
}
|
|
15351
|
-
return
|
|
15318
|
+
return result;
|
|
15352
15319
|
};
|
|
15353
|
-
|
|
15354
|
-
|
|
15355
|
-
|
|
15356
|
-
|
|
15357
|
-
|
|
15358
|
-
|
|
15320
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes = function(fixedAttributes, defaultAttributes, attributes) {
|
|
15321
|
+
var combinedAttributes = {}, name;
|
|
15322
|
+
for (name in fixedAttributes) {
|
|
15323
|
+
Object.prototype.hasOwnProperty.call(fixedAttributes, name) && (goog.asserts.assert(name.toLowerCase() == name, "Must be lower case"), combinedAttributes[name] = fixedAttributes[name]);
|
|
15324
|
+
}
|
|
15325
|
+
for (var name$jscomp$0 in defaultAttributes) {
|
|
15326
|
+
Object.prototype.hasOwnProperty.call(defaultAttributes, name$jscomp$0) && (goog.asserts.assert(name$jscomp$0.toLowerCase() == name$jscomp$0, "Must be lower case"), combinedAttributes[name$jscomp$0] = defaultAttributes[name$jscomp$0]);
|
|
15327
|
+
}
|
|
15328
|
+
if (attributes) {
|
|
15329
|
+
for (var name$jscomp$1 in attributes) {
|
|
15330
|
+
if (Object.prototype.hasOwnProperty.call(attributes, name$jscomp$1)) {
|
|
15331
|
+
var nameLower = name$jscomp$1.toLowerCase();
|
|
15332
|
+
if (nameLower in fixedAttributes) {
|
|
15333
|
+
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot override "' + nameLower + '" attribute, got "' + name$jscomp$1 + '" with value "' + attributes[name$jscomp$1] + '"' : "");
|
|
15334
|
+
}
|
|
15335
|
+
nameLower in defaultAttributes && delete combinedAttributes[nameLower];
|
|
15336
|
+
combinedAttributes[name$jscomp$1] = attributes[name$jscomp$1];
|
|
15337
|
+
}
|
|
15359
15338
|
}
|
|
15360
|
-
} else {
|
|
15361
|
-
return value === void 0 ? "undefined" : value === null ? "null" : typeof value;
|
|
15362
15339
|
}
|
|
15340
|
+
return combinedAttributes;
|
|
15363
15341
|
};
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15342
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES = goog.DEBUG;
|
|
15343
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.SUPPORT_STYLE_ATTRIBUTE = !0;
|
|
15344
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.from = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape;
|
|
15345
|
+
var module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG = /^[a-zA-Z0-9-]+$/, module$contents$goog$html$SafeHtml_URL_ATTRIBUTES = {action:!0, cite:!0, data:!0, formaction:!0, href:!0, manifest:!0, poster:!0, src:!0}, module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES = module$contents$goog$object_createSet(goog.dom.TagName.APPLET, goog.dom.TagName.BASE, goog.dom.TagName.EMBED, goog.dom.TagName.IFRAME, goog.dom.TagName.LINK, goog.dom.TagName.MATH, goog.dom.TagName.META, goog.dom.TagName.OBJECT,
|
|
15346
|
+
goog.dom.TagName.SCRIPT, goog.dom.TagName.STYLE, goog.dom.TagName.SVG, goog.dom.TagName.TEMPLATE);
|
|
15347
|
+
function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value) {
|
|
15348
|
+
if (value instanceof goog.string.Const) {
|
|
15349
|
+
value = goog.string.Const.unwrap(value);
|
|
15350
|
+
} else if (name.toLowerCase() == "style") {
|
|
15351
|
+
if (module$exports$safevalues$internals$html_impl.SafeHtml.SUPPORT_STYLE_ATTRIBUTE) {
|
|
15352
|
+
value = module$contents$goog$html$SafeHtml_getStyleValue(value);
|
|
15353
|
+
} else {
|
|
15354
|
+
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "style" not supported.' : "");
|
|
15355
|
+
}
|
|
15356
|
+
} else {
|
|
15357
|
+
if (/^on/i.test(name)) {
|
|
15358
|
+
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" requires goog.string.Const value, "' + value + '" given.' : "");
|
|
15359
|
+
}
|
|
15360
|
+
if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
|
|
15361
|
+
if (value instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
|
|
15362
|
+
value = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(value);
|
|
15363
|
+
} else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15364
|
+
value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
|
|
15365
|
+
} else if (typeof value === "string") {
|
|
15366
|
+
value = module$contents$safevalues$builders$url_builders_sanitizeUrl(value).toString();
|
|
15367
|
+
} else {
|
|
15368
|
+
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires safevalues.SafeUrl, goog.string.Const, or string, value "' + value + '" given.' : "");
|
|
15369
|
+
}
|
|
15370
15370
|
}
|
|
15371
|
-
} catch (ex) {
|
|
15372
15371
|
}
|
|
15373
|
-
|
|
15374
|
-
|
|
15372
|
+
goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl || value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || value instanceof module$exports$safevalues$internals$html_impl.SafeHtml || typeof value === "string" || typeof value === "number", "String or number value expected, got " +
|
|
15373
|
+
typeof value + " with value: " + value);
|
|
15374
|
+
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
15375
|
+
}
|
|
15376
|
+
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
15377
|
+
if (!goog.isObject(value)) {
|
|
15378
|
+
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 : "");
|
|
15379
|
+
}
|
|
15380
|
+
value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (value = module$exports$safevalues$internals$style_impl.SafeStyle.create(value));
|
|
15381
|
+
return module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(value);
|
|
15382
|
+
}
|
|
15383
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.DOCTYPE_HTML = function() {
|
|
15384
|
+
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)("<!DOCTYPE html>");
|
|
15385
|
+
}();
|
|
15386
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
15387
|
+
module$exports$safevalues$internals$html_impl.SafeHtml.BR = function() {
|
|
15388
|
+
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)("<br>");
|
|
15389
|
+
}();
|
|
15390
|
+
goog.html.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15375
15391
|
var module$exports$safevalues$for_friends$index = {}, module$contents$safevalues$for_friends$index_module = module$contents$safevalues$for_friends$index_module || {id:"third_party/javascript/safevalues/for_friends/index.closure.js"};
|
|
15376
15392
|
module$exports$safevalues$for_friends$index.IS_NOT_JAVASCRIPT_URL_PATTERN = module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN;
|
|
15377
15393
|
module$exports$safevalues$for_friends$index.unwrapUrlOrSanitize = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize;
|
|
@@ -16265,6 +16281,9 @@ function module$contents$safevalues$builders$html_sanitizer$css$sanitizer_saniti
|
|
|
16265
16281
|
return (new module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer(propertyAllowlist, functionAllowlist, resourceUrlPolicy, !1, propertyDiscarders)).sanitizeStyleAttribute(cssText);
|
|
16266
16282
|
}
|
|
16267
16283
|
module$exports$safevalues$builders$html_sanitizer$css$sanitizer.sanitizeStyleAttribute = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute;
|
|
16284
|
+
var module$exports$safevalues$builders$html_sanitizer$css$css_isolation = {}, module$contents$safevalues$builders$html_sanitizer$css$css_isolation_module = module$contents$safevalues$builders$html_sanitizer$css$css_isolation_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/css_isolation.closure.js"};
|
|
16285
|
+
module$exports$safevalues$builders$html_sanitizer$css$css_isolation.CSS_ISOLATION_PROPERTIES = "display:inline-block;clip-path:inset(0);overflow:hidden;vertical-align:top;text-decoration:inherit";
|
|
16286
|
+
module$exports$safevalues$builders$html_sanitizer$css$css_isolation.CSS_ISOLATION_STYLESHEET = ":host{" + module$exports$safevalues$builders$html_sanitizer$css$css_isolation.CSS_ISOLATION_PROPERTIES + "}";
|
|
16268
16287
|
var module$contents$safevalues$builders$html_sanitizer$inert_fragment_module = module$contents$safevalues$builders$html_sanitizer$inert_fragment_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/inert_fragment.closure.js"};
|
|
16269
16288
|
function module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(dirtyHtml, inertDocument) {
|
|
16270
16289
|
if (goog.DEBUG && inertDocument.defaultView) {
|
|
@@ -16370,7 +16389,6 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16370
16389
|
this.styleElementSanitizer = styleElementSanitizer;
|
|
16371
16390
|
this.styleAttributeSanitizer = styleAttributeSanitizer;
|
|
16372
16391
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16373
|
-
this.SHADOW_DOM_INTERNAL_CSS = ":host{display:block;clip-path:inset(0);overflow:hidden}";
|
|
16374
16392
|
this.changes = [];
|
|
16375
16393
|
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
16376
16394
|
};
|
|
@@ -16392,7 +16410,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16392
16410
|
};
|
|
16393
16411
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeWithCssToFragment = function(htmlWithCss, inertDocument) {
|
|
16394
16412
|
var elem = document.createElement("safevalues-with-css"), shadow = elem.attachShadow({mode:"closed"}), sanitized = this.sanitizeToFragmentInternal(htmlWithCss, inertDocument), internalStyle = document.createElement("style");
|
|
16395
|
-
internalStyle.textContent =
|
|
16413
|
+
internalStyle.textContent = module$exports$safevalues$builders$html_sanitizer$css$css_isolation.CSS_ISOLATION_STYLESHEET;
|
|
16396
16414
|
internalStyle.id = "safevalues-internal-style";
|
|
16397
16415
|
shadow.appendChild(internalStyle);
|
|
16398
16416
|
shadow.appendChild(sanitized);
|
|
@@ -17021,7 +17039,7 @@ module$exports$safevalues$index.EMPTY_HTML = module$exports$safevalues$internals
|
|
|
17021
17039
|
module$exports$safevalues$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
17022
17040
|
module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
|
|
17023
17041
|
module$exports$safevalues$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
17024
|
-
module$exports$safevalues$index.TrustedResourceUrl = goog
|
|
17042
|
+
module$exports$safevalues$index.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
17025
17043
|
module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
17026
17044
|
module$exports$safevalues$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
17027
17045
|
module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
@@ -17031,7 +17049,7 @@ module$exports$safevalues$index.unwrapScript = module$contents$safevalues$intern
|
|
|
17031
17049
|
module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
17032
17050
|
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17033
17051
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17034
|
-
module$exports$safevalues$index.SafeStyleSheet = module$
|
|
17052
|
+
module$exports$safevalues$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
17035
17053
|
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
17036
17054
|
module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
17037
17055
|
module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
@@ -17043,7 +17061,7 @@ module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safe
|
|
|
17043
17061
|
goog.dom.safe = {};
|
|
17044
17062
|
goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
|
|
17045
17063
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
17046
|
-
node.insertAdjacentHTML(position, module$
|
|
17064
|
+
node.insertAdjacentHTML(position, module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html));
|
|
17047
17065
|
};
|
|
17048
17066
|
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0, TEMPLATE:!0};
|
|
17049
17067
|
goog.dom.safe.isInnerHtmlCleanupRecursive_ = goog.functions.cacheReturnValue(function() {
|
|
@@ -17057,7 +17075,7 @@ goog.dom.safe.isInnerHtmlCleanupRecursive_ = goog.functions.cacheReturnValue(fun
|
|
|
17057
17075
|
return !1;
|
|
17058
17076
|
}
|
|
17059
17077
|
var innerChild = div.firstChild.firstChild;
|
|
17060
|
-
div.innerHTML = module$
|
|
17078
|
+
div.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY);
|
|
17061
17079
|
return !innerChild.parentElement;
|
|
17062
17080
|
});
|
|
17063
17081
|
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
|
|
@@ -17066,7 +17084,7 @@ goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
|
|
|
17066
17084
|
elem.removeChild(elem.lastChild);
|
|
17067
17085
|
}
|
|
17068
17086
|
}
|
|
17069
|
-
elem.innerHTML = module$
|
|
17087
|
+
elem.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
|
|
17070
17088
|
};
|
|
17071
17089
|
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
17072
17090
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
@@ -17078,13 +17096,13 @@ goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
|
17078
17096
|
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
17079
17097
|
};
|
|
17080
17098
|
goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
17081
|
-
elem.outerHTML = module$
|
|
17099
|
+
elem.outerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
|
|
17082
17100
|
};
|
|
17083
17101
|
goog.dom.safe.setFormElementAction = function(form, url) {
|
|
17084
17102
|
module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17085
17103
|
};
|
|
17086
17104
|
goog.dom.safe.documentWrite = function(doc, html) {
|
|
17087
|
-
doc.write(module$
|
|
17105
|
+
doc.write(module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html));
|
|
17088
17106
|
};
|
|
17089
17107
|
goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
17090
17108
|
module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(anchor);
|
|
@@ -17092,24 +17110,24 @@ goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
|
17092
17110
|
};
|
|
17093
17111
|
goog.dom.safe.setIframeSrc = function(iframe, url) {
|
|
17094
17112
|
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
17095
|
-
iframe.src = goog
|
|
17113
|
+
iframe.src = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url);
|
|
17096
17114
|
};
|
|
17097
17115
|
goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
|
|
17098
17116
|
module$contents$goog$asserts$dom_assertIsHtmlLinkElement(link);
|
|
17099
17117
|
link.rel = rel;
|
|
17100
17118
|
if (goog.string.internal.caseInsensitiveContains(rel, "stylesheet")) {
|
|
17101
|
-
goog.asserts.assert(url instanceof goog
|
|
17102
|
-
link.href = goog
|
|
17119
|
+
goog.asserts.assert(url instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl, 'URL must be TrustedResourceUrl because "rel" contains "stylesheet"');
|
|
17120
|
+
link.href = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url);
|
|
17103
17121
|
var nonce = goog.dom.safe.getStyleNonce(link.ownerDocument && link.ownerDocument.defaultView);
|
|
17104
17122
|
nonce && link.setAttribute("nonce", nonce);
|
|
17105
17123
|
} else {
|
|
17106
|
-
link.href = url instanceof goog
|
|
17124
|
+
link.href = url instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl ? module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url) : goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17107
17125
|
}
|
|
17108
17126
|
};
|
|
17109
17127
|
goog.dom.safe.setScriptSrc = function(script, url) {
|
|
17110
17128
|
module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
|
|
17111
17129
|
goog.dom.safe.setNonceForScriptElement_(script);
|
|
17112
|
-
script.src = goog
|
|
17130
|
+
script.src = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(url);
|
|
17113
17131
|
};
|
|
17114
17132
|
goog.dom.safe.setNonceForScriptElement_ = function(script) {
|
|
17115
17133
|
var nonce = goog.dom.safe.getScriptNonce(script.ownerDocument && script.ownerDocument.defaultView);
|
|
@@ -17134,7 +17152,7 @@ goog.dom.safe.parseFromStringHtml = function(parser, html) {
|
|
|
17134
17152
|
return goog.dom.safe.parseFromString(parser, html, "text/html");
|
|
17135
17153
|
};
|
|
17136
17154
|
goog.dom.safe.parseFromString = function(parser, content, type) {
|
|
17137
|
-
return parser.parseFromString(module$
|
|
17155
|
+
return parser.parseFromString(module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(content), type);
|
|
17138
17156
|
};
|
|
17139
17157
|
goog.dom.safe.createImageFromBlob = function(blob) {
|
|
17140
17158
|
if (!/^image\/.*/g.test(blob.type)) {
|
|
@@ -17460,7 +17478,7 @@ goog.dom.getWindow = function(opt_doc) {
|
|
|
17460
17478
|
return opt_doc ? goog.dom.getWindow_(opt_doc) : window;
|
|
17461
17479
|
};
|
|
17462
17480
|
goog.dom.getWindow_ = function(doc) {
|
|
17463
|
-
return doc.
|
|
17481
|
+
return doc.defaultView;
|
|
17464
17482
|
};
|
|
17465
17483
|
goog.dom.createDom = function(tagName, opt_attributes, var_args) {
|
|
17466
17484
|
return goog.dom.createDom_(document, arguments);
|
|
@@ -19054,7 +19072,7 @@ goog.net.jsloader.safeLoadMany = function(trustedUris, opt_options) {
|
|
|
19054
19072
|
return goog.net.jsloader.scriptLoadingDeferred_;
|
|
19055
19073
|
};
|
|
19056
19074
|
goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
19057
|
-
var options = opt_options || {}, doc = options.document || document, uri = goog
|
|
19075
|
+
var options = opt_options || {}, doc = options.document || document, uri = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(trustedUri), script = (new goog.dom.DomHelper(doc)).createElement(goog.dom.TagName.SCRIPT), request = {script_:script, timeout_:void 0}, deferred = new goog.async.Deferred(goog.net.jsloader.cancel_, request), timeout = null, timeoutDuration = options.timeout != null ? options.timeout : goog.net.jsloader.DEFAULT_TIMEOUT;
|
|
19058
19076
|
timeoutDuration > 0 && (timeout = window.setTimeout(function() {
|
|
19059
19077
|
goog.net.jsloader.cleanup_(script, !0);
|
|
19060
19078
|
deferred.errback(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.TIMEOUT, "Timeout reached for loading script " + uri));
|
|
@@ -19075,7 +19093,7 @@ goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
|
19075
19093
|
};
|
|
19076
19094
|
goog.net.jsloader.safeLoadAndVerify = function(trustedUri, verificationObjName, options) {
|
|
19077
19095
|
goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] || (goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] = {});
|
|
19078
|
-
var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = goog
|
|
19096
|
+
var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(trustedUri);
|
|
19079
19097
|
if (verifyObjs[verificationObjName] !== void 0) {
|
|
19080
19098
|
return goog.async.Deferred.fail(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.VERIFY_OBJECT_ALREADY_EXISTS, "Verification object " + verificationObjName + " already defined."));
|
|
19081
19099
|
}
|
|
@@ -19789,10 +19807,10 @@ safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
|
19789
19807
|
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19790
19808
|
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19791
19809
|
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19792
|
-
safevalues.SafeHtml = module$exports$safevalues$
|
|
19810
|
+
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19793
19811
|
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19794
19812
|
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19795
|
-
safevalues.TrustedResourceUrl = goog
|
|
19813
|
+
safevalues.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
19796
19814
|
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19797
19815
|
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19798
19816
|
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
@@ -19802,7 +19820,7 @@ safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwra
|
|
|
19802
19820
|
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19803
19821
|
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19804
19822
|
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19805
|
-
safevalues.SafeStyleSheet = module$
|
|
19823
|
+
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
19806
19824
|
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19807
19825
|
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19808
19826
|
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
@@ -19815,7 +19833,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19815
19833
|
ee.apiclient = {};
|
|
19816
19834
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19817
19835
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19818
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19836
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.418";
|
|
19819
19837
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19820
19838
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19821
19839
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -20113,8 +20131,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
20113
20131
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
20114
20132
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
20115
20133
|
method = method || "POST";
|
|
20116
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
20117
|
-
version === "0.1.
|
|
20134
|
+
var headers = {"Content-Type":contentType}, version = "0.1.418";
|
|
20135
|
+
version === "0.1.418" && (version = "latest");
|
|
20118
20136
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
20119
20137
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
20120
20138
|
if (authToken != null) {
|
|
@@ -26185,7 +26203,7 @@ goog.style.uninstallStyles = function(styleSheet) {
|
|
|
26185
26203
|
goog.dom.removeNode(styleSheet.ownerNode || styleSheet.owningElement || styleSheet);
|
|
26186
26204
|
};
|
|
26187
26205
|
goog.style.setSafeStyleSheet = function(element, safeStyleSheet) {
|
|
26188
|
-
var stylesString = module$
|
|
26206
|
+
var stylesString = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap(safeStyleSheet);
|
|
26189
26207
|
goog.global.trustedTypes ? goog.dom.setTextContent(element, stylesString) : element.innerHTML = stylesString;
|
|
26190
26208
|
};
|
|
26191
26209
|
goog.style.setPreWrap = function(el) {
|
|
@@ -27643,29 +27661,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27643
27661
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27644
27662
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27645
27663
|
(function() {
|
|
27646
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27647
|
-
orderedParamLists = [["name", "
|
|
27648
|
-
|
|
27649
|
-
"collection opt_description
|
|
27650
|
-
"collection opt_description
|
|
27651
|
-
|
|
27652
|
-
["
|
|
27653
|
-
"
|
|
27654
|
-
"
|
|
27655
|
-
"
|
|
27656
|
-
"
|
|
27657
|
-
|
|
27658
|
-
"
|
|
27659
|
-
[
|
|
27660
|
-
[ee.ApiFunction.
|
|
27661
|
-
module$contents$ee$batch_Export.
|
|
27662
|
-
ee.ComputedObject.prototype.
|
|
27663
|
-
ee.data.
|
|
27664
|
-
ee.data.
|
|
27665
|
-
ee.
|
|
27666
|
-
ee.Filter, ee.Filter.
|
|
27667
|
-
ee.Image.
|
|
27668
|
-
ee.ImageCollection.prototype.
|
|
27664
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.limit ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.listFeatures ee.data.setWorkloadTag ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.newTaskId ee.data.createAssetHome ee.data.createAsset ee.data.computeValue ee.data.setDefaultWorkloadTag ee.data.getInfo ee.data.getThumbId ee.data.resetWorkloadTag ee.data.cancelTask ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.updateAsset ee.data.getTaskStatus ee.data.updateTask ee.data.getList ee.data.startIngestion ee.data.startProcessing ee.data.createFolder ee.data.setAssetAcl ee.data.authenticateViaOauth ee.data.makeThumbUrl ee.data.getMapId ee.data.renameAsset ee.data.listAssets ee.data.setAssetProperties ee.data.getTaskList ee.data.copyAsset ee.data.authenticate ee.data.getTileUrl ee.data.getTableDownloadId ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getAssetRootQuota ee.data.deleteAsset ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.listOperations ee.data.getWorkloadTag ee.data.cancelOperation ee.data.getDownloadId ee.data.getAssetAcl ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.listImages ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.reset ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.Filter.eq ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.and ee.Filter.prototype.not ee.Filter.gt ee.Filter.neq ee.Filter.inList ee.Filter.lt ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiPolygon ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.BBox ee.Geometry ee.Geometry.Rectangle ee.Geometry.prototype.toGeoJSONString ee.Geometry.LineString ee.Geometry.Point ee.Image.prototype.rename ee.Image.cat ee.Image.prototype.expression ee.Image.prototype.select ee.Image.rgb ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image ee.Image.prototype.getMap ee.Image.prototype.clip ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.toJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
27665
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
27666
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "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(" "),
|
|
27667
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "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(" "),
|
|
27668
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["algorithm", "opt_first"], ["name",
|
|
27669
|
+
"operator", "value"], ["geometry"], ["property", "opt_ascending"], ["filter"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["max", "opt_property", "opt_ascending"], ["legacy"], ["func", "var_args"], ["callback"], ["opt_callback"], ["asset", "params", "opt_callback"], ["tag"], ["id", "opt_callback"], ["opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"], ["opt_count", "opt_callback"], ["requestedId",
|
|
27670
|
+
"opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["obj", "opt_callback"], ["tag"], ["id", "opt_callback"], ["params", "opt_callback"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "params", "opt_callback"],
|
|
27671
|
+
["path", "opt_force", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["id"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"],
|
|
27672
|
+
["id", "x", "y", "z"], ["params", "opt_callback"], ["project", "opt_callback"], ["id"], ["rootId", "opt_callback"], ["assetId", "opt_callback"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["opt_limit", "opt_callback"], [], ["operationName", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["id"], ["opt_success", "opt_error"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"],
|
|
27673
|
+
["json"], ["opt_dict"], [], [], ["func", "namedArgs"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], ["func", "var_args"], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"],
|
|
27674
|
+
["opt_callback"], ["opt_visParams", "opt_callback"], ["name", "value"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["var_args"], [], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["opt_filter"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj",
|
|
27675
|
+
"opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["west", "south", "east", "north"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["var_args"], ["var_args"], ["expression", "opt_map"], ["var_args"], ["r", "g",
|
|
27676
|
+
"b"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["opt_args"], ["opt_visParams", "opt_callback"], ["geometry"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["args"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["params", "opt_callback"], [], ["list"], ["number"],
|
|
27677
|
+
["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["string"], []];
|
|
27678
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage,
|
|
27679
|
+
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, ee.Collection.prototype.iterate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.sort, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.limit, ee.ComputedObject.prototype.serialize,
|
|
27680
|
+
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.data.listFeatures, ee.data.setWorkloadTag, ee.data.getAsset, ee.data.getAssetRoots, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.newTaskId, ee.data.createAssetHome, ee.data.createAsset, ee.data.computeValue, ee.data.setDefaultWorkloadTag, ee.data.getInfo, ee.data.getThumbId, ee.data.resetWorkloadTag, ee.data.cancelTask, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId,
|
|
27681
|
+
ee.data.updateAsset, ee.data.getTaskStatus, ee.data.updateTask, ee.data.getList, ee.data.startIngestion, ee.data.startProcessing, ee.data.createFolder, ee.data.setAssetAcl, ee.data.authenticateViaOauth, ee.data.makeThumbUrl, ee.data.getMapId, ee.data.renameAsset, ee.data.listAssets, ee.data.setAssetProperties, ee.data.getTaskList, ee.data.copyAsset, ee.data.authenticate, ee.data.getTileUrl, ee.data.getTableDownloadId, ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getAssetRootQuota,
|
|
27682
|
+
ee.data.deleteAsset, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.listOperations, ee.data.getWorkloadTag, ee.data.cancelOperation, ee.data.getDownloadId, ee.data.getAssetAcl, ee.data.makeDownloadUrl, ee.data.authenticateViaPopup, ee.data.getFeatureViewTilesKey, ee.data.listImages, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.Algorithms, ee.InitState, ee.apply, ee.TILE_SIZE, ee.initialize,
|
|
27683
|
+
ee.reset, ee.call, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMapId, ee.Filter.eq, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.and, ee.Filter.prototype.not,
|
|
27684
|
+
ee.Filter.gt, ee.Filter.neq, ee.Filter.inList, ee.Filter.lt, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.MultiPolygon, ee.Geometry.prototype.serialize, ee.Geometry.MultiLineString, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.MultiPoint, ee.Geometry.BBox, ee.Geometry, ee.Geometry.Rectangle, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.LineString, ee.Geometry.Point,
|
|
27685
|
+
ee.Image.prototype.rename, ee.Image.cat, ee.Image.prototype.expression, ee.Image.prototype.select, ee.Image.rgb, ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image, ee.Image.prototype.getMap, ee.Image.prototype.clip, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection,
|
|
27686
|
+
ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.toJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27669
27687
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27670
27688
|
});
|
|
27671
27689
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|