@google/earthengine 1.0.0 → 1.1.1
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 +381 -781
- package/build/ee_api_js.js +618 -619
- package/build/ee_api_js_debug.js +358 -759
- package/build/ee_api_js_npm.js +381 -781
- package/build/main.js +381 -781
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/ee_api_js_debug.js
CHANGED
|
@@ -765,6 +765,9 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
|
|
|
765
765
|
});
|
|
766
766
|
};
|
|
767
767
|
}, "es6", "es3");
|
|
768
|
+
$jscomp.polyfill("globalThis", function(orig) {
|
|
769
|
+
return orig || $jscomp.global;
|
|
770
|
+
}, "es_2020", "es3");
|
|
768
771
|
$jscomp.checkEs6ConformanceViaProxy = function() {
|
|
769
772
|
try {
|
|
770
773
|
var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
|
|
@@ -1250,8 +1253,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1250
1253
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1251
1254
|
};
|
|
1252
1255
|
}, "es8", "es3");
|
|
1253
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1,
|
|
1254
|
-
|
|
1256
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__enable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1, GoogFlags__override_disable_toggles:!1,
|
|
1257
|
+
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};
|
|
1255
1258
|
/*
|
|
1256
1259
|
|
|
1257
1260
|
Copyright The Closure Library Authors.
|
|
@@ -2458,9 +2461,6 @@ function module$contents$goog$object_getCount(obj) {
|
|
|
2458
2461
|
}
|
|
2459
2462
|
return rv;
|
|
2460
2463
|
}
|
|
2461
|
-
function module$contents$goog$object_contains(obj, val) {
|
|
2462
|
-
return module$contents$goog$object_containsValue(obj, val);
|
|
2463
|
-
}
|
|
2464
2464
|
function module$contents$goog$object_getValues(obj) {
|
|
2465
2465
|
var res = [], i = 0, key;
|
|
2466
2466
|
for (key in obj) {
|
|
@@ -2584,7 +2584,9 @@ goog.object.add = function(obj, key, val) {
|
|
|
2584
2584
|
};
|
|
2585
2585
|
goog.object.clear = module$contents$goog$object_clear;
|
|
2586
2586
|
goog.object.clone = module$contents$goog$object_clone;
|
|
2587
|
-
goog.object.contains =
|
|
2587
|
+
goog.object.contains = function(obj, val) {
|
|
2588
|
+
return module$contents$goog$object_containsValue(obj, val);
|
|
2589
|
+
};
|
|
2588
2590
|
goog.object.containsKey = module$contents$goog$object_containsKey;
|
|
2589
2591
|
goog.object.containsValue = module$contents$goog$object_containsValue;
|
|
2590
2592
|
goog.object.create = module$contents$goog$object_create;
|
|
@@ -2786,225 +2788,77 @@ var module$contents$safevalues$internals$pure_module = module$contents$safevalue
|
|
|
2786
2788
|
function module$contents$safevalues$internals$pure_pure(valueOf) {
|
|
2787
2789
|
return {valueOf:valueOf}.valueOf();
|
|
2788
2790
|
}
|
|
2789
|
-
;
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
var stack = Error().stack;
|
|
2795
|
-
stack && (this.stack = stack);
|
|
2791
|
+
;var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
|
|
2792
|
+
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
2793
|
+
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
2794
|
+
if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
|
|
2795
|
+
throw Error("Bad secret");
|
|
2796
2796
|
}
|
|
2797
|
-
msg && (this.message = String(msg));
|
|
2798
|
-
cause !== void 0 && (this.cause = cause);
|
|
2799
|
-
this.reportErrorToServer = !0;
|
|
2800
|
-
}
|
|
2801
|
-
goog.inherits(module$contents$goog$debug$Error_DebugError, Error);
|
|
2802
|
-
module$contents$goog$debug$Error_DebugError.prototype.name = "CustomError";
|
|
2803
|
-
goog.debug.Error = module$contents$goog$debug$Error_DebugError;
|
|
2804
|
-
goog.dom = {};
|
|
2805
|
-
goog.dom.NodeType = {ELEMENT:1, ATTRIBUTE:2, TEXT:3, CDATA_SECTION:4, ENTITY_REFERENCE:5, ENTITY:6, PROCESSING_INSTRUCTION:7, COMMENT:8, DOCUMENT:9, DOCUMENT_TYPE:10, DOCUMENT_FRAGMENT:11, NOTATION:12};
|
|
2806
|
-
goog.asserts = {};
|
|
2807
|
-
goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
|
|
2808
|
-
function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
|
|
2809
|
-
module$contents$goog$debug$Error_DebugError.call(this, module$contents$goog$asserts_subs(messagePattern, messageArgs));
|
|
2810
|
-
this.messagePattern = messagePattern;
|
|
2811
2797
|
}
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
module$contents$
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
var
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
returnString += splitParts[i] + (i < subs.length ? subs[i] : "%s");
|
|
2798
|
+
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
2799
|
+
var module$exports$safevalues$internals$trusted_types = {}, module$contents$safevalues$internals$trusted_types_module = module$contents$safevalues$internals$trusted_types_module || {id:"third_party/javascript/safevalues/internals/trusted_types.closure.js"}, module$contents$safevalues$internals$trusted_types_configuredPolicyName = goog.TRUSTED_TYPES_POLICY_NAME ? goog.TRUSTED_TYPES_POLICY_NAME +
|
|
2800
|
+
"#html" : "", module$contents$safevalues$internals$trusted_types_policyName = module$contents$safevalues$internals$trusted_types_configuredPolicyName;
|
|
2801
|
+
module$exports$safevalues$internals$trusted_types.trustedTypes = globalThis.trustedTypes;
|
|
2802
|
+
var module$contents$safevalues$internals$trusted_types_trustedTypesInternal = module$exports$safevalues$internals$trusted_types.trustedTypes, module$contents$safevalues$internals$trusted_types_policy;
|
|
2803
|
+
function module$contents$safevalues$internals$trusted_types_createPolicy() {
|
|
2804
|
+
var policy = null;
|
|
2805
|
+
if (module$contents$safevalues$internals$trusted_types_policyName === "" || !module$contents$safevalues$internals$trusted_types_trustedTypesInternal) {
|
|
2806
|
+
return policy;
|
|
2822
2807
|
}
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2808
|
+
try {
|
|
2809
|
+
var identity = function(x) {
|
|
2810
|
+
return x;
|
|
2811
|
+
};
|
|
2812
|
+
policy = module$contents$safevalues$internals$trusted_types_trustedTypesInternal.createPolicy(module$contents$safevalues$internals$trusted_types_policyName, {createHTML:identity, createScript:identity, createScriptURL:identity});
|
|
2813
|
+
} catch (e) {
|
|
2814
|
+
if (goog.DEBUG) {
|
|
2815
|
+
throw e;
|
|
2816
|
+
}
|
|
2832
2817
|
}
|
|
2833
|
-
|
|
2834
|
-
module$contents$goog$asserts_errorHandler_(e);
|
|
2818
|
+
return policy;
|
|
2835
2819
|
}
|
|
2836
|
-
|
|
2837
|
-
module$
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
module$
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
module$
|
|
2849
|
-
};
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
goog.asserts.assertString = function(value, opt_message, var_args) {
|
|
2855
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "string" && module$contents$goog$asserts_doAssertFailure("Expected string but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2856
|
-
return value;
|
|
2857
|
-
};
|
|
2858
|
-
goog.asserts.assertFunction = function(value, opt_message, var_args) {
|
|
2859
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "function" && module$contents$goog$asserts_doAssertFailure("Expected function but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2860
|
-
return value;
|
|
2861
|
-
};
|
|
2862
|
-
goog.asserts.assertObject = function(value, opt_message, var_args) {
|
|
2863
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !goog.isObject(value) && module$contents$goog$asserts_doAssertFailure("Expected object but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2864
|
-
return value;
|
|
2865
|
-
};
|
|
2866
|
-
goog.asserts.assertArray = function(value, opt_message, var_args) {
|
|
2867
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !Array.isArray(value) && module$contents$goog$asserts_doAssertFailure("Expected array but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2868
|
-
return value;
|
|
2869
|
-
};
|
|
2870
|
-
goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
2871
|
-
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "boolean" && module$contents$goog$asserts_doAssertFailure("Expected boolean but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2872
|
-
return value;
|
|
2873
|
-
};
|
|
2874
|
-
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
2875
|
-
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog.dom.NodeType.ELEMENT || module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2876
|
-
return value;
|
|
2877
|
-
};
|
|
2878
|
-
goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
|
|
2879
|
-
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || value instanceof type || module$contents$goog$asserts_doAssertFailure("Expected instanceof %s but got %s.", [module$contents$goog$asserts_getType(type), module$contents$goog$asserts_getType(value)], opt_message, Array.prototype.slice.call(arguments, 3));
|
|
2880
|
-
return value;
|
|
2820
|
+
function module$contents$safevalues$internals$trusted_types_getPolicy() {
|
|
2821
|
+
module$contents$safevalues$internals$trusted_types_policy === void 0 && (module$contents$safevalues$internals$trusted_types_policy = module$contents$safevalues$internals$trusted_types_createPolicy());
|
|
2822
|
+
return module$contents$safevalues$internals$trusted_types_policy;
|
|
2823
|
+
}
|
|
2824
|
+
module$exports$safevalues$internals$trusted_types.getPolicy = module$contents$safevalues$internals$trusted_types_getPolicy;
|
|
2825
|
+
module$exports$safevalues$internals$trusted_types.TEST_ONLY = {setPolicyName:function(name) {
|
|
2826
|
+
module$contents$safevalues$internals$trusted_types_policyName = name;
|
|
2827
|
+
}, setTrustedTypes:function(mockTrustedTypes) {
|
|
2828
|
+
module$contents$safevalues$internals$trusted_types_trustedTypesInternal = mockTrustedTypes;
|
|
2829
|
+
}, resetDefaults:function() {
|
|
2830
|
+
module$contents$safevalues$internals$trusted_types_policy = void 0;
|
|
2831
|
+
module$contents$safevalues$internals$trusted_types_policyName = module$contents$safevalues$internals$trusted_types_configuredPolicyName;
|
|
2832
|
+
module$contents$safevalues$internals$trusted_types_trustedTypesInternal = module$exports$safevalues$internals$trusted_types.trustedTypes;
|
|
2833
|
+
}};
|
|
2834
|
+
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"};
|
|
2835
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = function(token, value) {
|
|
2836
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
2837
|
+
this.privateDoNotAccessOrElseWrappedResourceUrl = value;
|
|
2881
2838
|
};
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
return value;
|
|
2839
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl.prototype.toString = function() {
|
|
2840
|
+
return this.privateDoNotAccessOrElseWrappedResourceUrl + "";
|
|
2885
2841
|
};
|
|
2886
|
-
|
|
2887
|
-
|
|
2842
|
+
var module$contents$safevalues$internals$resource_url_impl_ResourceUrlImpl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
2843
|
+
function module$contents$safevalues$internals$resource_url_impl_constructResourceUrl(value) {
|
|
2844
|
+
return new module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
2888
2845
|
}
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse = function() {
|
|
2893
|
-
if (!goog.html.trustedtypes.POLICY_NAME) {
|
|
2894
|
-
return null;
|
|
2895
|
-
}
|
|
2896
|
-
goog.html.trustedtypes.cachedPolicy_ === void 0 && (goog.html.trustedtypes.cachedPolicy_ = goog.createTrustedTypesPolicy(goog.html.trustedtypes.POLICY_NAME));
|
|
2897
|
-
return goog.html.trustedtypes.cachedPolicy_;
|
|
2898
|
-
};
|
|
2899
|
-
goog.string.Const = function(opt_token, opt_content) {
|
|
2900
|
-
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
2901
|
-
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
2902
|
-
};
|
|
2903
|
-
goog.string.Const.prototype.toString = function() {
|
|
2904
|
-
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
2905
|
-
};
|
|
2906
|
-
goog.string.Const.unwrap = function(stringConst) {
|
|
2907
|
-
if (stringConst instanceof goog.string.Const && stringConst.constructor === goog.string.Const && stringConst.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_) {
|
|
2908
|
-
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
2909
|
-
}
|
|
2910
|
-
goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
|
|
2911
|
-
return "type_error:Const";
|
|
2912
|
-
};
|
|
2913
|
-
goog.string.Const.from = function(s) {
|
|
2914
|
-
return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
|
|
2915
|
-
};
|
|
2916
|
-
goog.string.Const.TYPE_MARKER_ = {};
|
|
2917
|
-
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
2918
|
-
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
2919
|
-
var module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_ = {}, module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl = function(value, token) {
|
|
2920
|
-
if (goog.DEBUG && token !== module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
2921
|
-
throw Error("TrustedResourceUrl is not meant to be built directly");
|
|
2922
|
-
}
|
|
2923
|
-
this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = value;
|
|
2924
|
-
};
|
|
2925
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.toString = function() {
|
|
2926
|
-
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
|
|
2927
|
-
};
|
|
2928
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
|
|
2929
|
-
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] || "";
|
|
2930
|
-
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));
|
|
2931
|
-
};
|
|
2932
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap = function(trustedResourceUrl) {
|
|
2933
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(trustedResourceUrl).toString();
|
|
2934
|
-
};
|
|
2935
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL = function(trustedResourceUrl) {
|
|
2936
|
-
if (trustedResourceUrl instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl && trustedResourceUrl.constructor === module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
|
|
2937
|
-
return trustedResourceUrl.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;
|
|
2938
|
-
}
|
|
2939
|
-
goog.asserts.fail("expected object of type TrustedResourceUrl, got '%s' of type %s", trustedResourceUrl, goog.typeOf(trustedResourceUrl));
|
|
2940
|
-
return "type_error:TrustedResourceUrl";
|
|
2941
|
-
};
|
|
2942
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format = function(format, args) {
|
|
2943
|
-
var formatStr = goog.string.Const.unwrap(format);
|
|
2944
|
-
if (!module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_.test(formatStr)) {
|
|
2945
|
-
throw Error("Invalid TrustedResourceUrl format: " + formatStr);
|
|
2946
|
-
}
|
|
2947
|
-
var result = formatStr.replace(module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_, function(match, id) {
|
|
2948
|
-
if (!Object.prototype.hasOwnProperty.call(args, id)) {
|
|
2949
|
-
throw Error('Found marker, "' + id + '", in format string, "' + formatStr + '", but no valid label mapping found in args: ' + JSON.stringify(args));
|
|
2950
|
-
}
|
|
2951
|
-
var arg = args[id];
|
|
2952
|
-
return arg instanceof goog.string.Const ? goog.string.Const.unwrap(arg) : encodeURIComponent(String(arg));
|
|
2953
|
-
});
|
|
2954
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(result);
|
|
2955
|
-
};
|
|
2956
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_ = /%{(\w+)}/g;
|
|
2957
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
|
|
2958
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
|
|
2959
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
|
|
2960
|
-
var url = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format(format, args);
|
|
2961
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(url, searchParams, opt_hashParams);
|
|
2962
|
-
};
|
|
2963
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstant = function(url) {
|
|
2964
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
|
|
2965
|
-
};
|
|
2966
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstants = function(parts) {
|
|
2967
|
-
for (var unwrapped = "", i = 0; i < parts.length; i++) {
|
|
2968
|
-
unwrapped += goog.string.Const.unwrap(parts[i]);
|
|
2969
|
-
}
|
|
2970
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(unwrapped);
|
|
2971
|
-
};
|
|
2972
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(url) {
|
|
2973
|
-
var noinlineUrl = url, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), value = policy ? policy.createScriptURL(noinlineUrl) : noinlineUrl;
|
|
2974
|
-
return new module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl(value, module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_);
|
|
2975
|
-
};
|
|
2976
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_ = function(prefix, currentString, params) {
|
|
2977
|
-
if (params == null) {
|
|
2978
|
-
return currentString;
|
|
2979
|
-
}
|
|
2980
|
-
if (typeof params === "string") {
|
|
2981
|
-
return params ? prefix + encodeURIComponent(params) : "";
|
|
2982
|
-
}
|
|
2983
|
-
for (var key in params) {
|
|
2984
|
-
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
2985
|
-
for (var value = params[key], outputValues = Array.isArray(value) ? value : [value], i = 0; i < outputValues.length; i++) {
|
|
2986
|
-
var outputValue = outputValues[i];
|
|
2987
|
-
outputValue != null && (currentString || (currentString = prefix), currentString += (currentString.length > prefix.length ? "&" : "") + encodeURIComponent(key) + "=" + encodeURIComponent(String(outputValue)));
|
|
2988
|
-
}
|
|
2989
|
-
}
|
|
2990
|
-
}
|
|
2991
|
-
return currentString;
|
|
2992
|
-
};
|
|
2993
|
-
goog.html.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
2994
|
-
var module$exports$goog$html$trustedresourceurl_internals_for_safevalues = {};
|
|
2995
|
-
module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
|
|
2996
|
-
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"};
|
|
2997
|
-
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
2998
|
-
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
|
|
2999
|
-
return (0,module$exports$goog$html$trustedresourceurl_internals_for_safevalues.createTrustedResourceUrl)(url);
|
|
2846
|
+
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(value) {
|
|
2847
|
+
var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
|
|
2848
|
+
return module$contents$safevalues$internals$resource_url_impl_constructResourceUrl(policy ? policy.createScriptURL(noinlineValue) : noinlineValue);
|
|
3000
2849
|
}
|
|
3001
2850
|
module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
3002
2851
|
function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
|
|
3003
|
-
return value instanceof module$
|
|
2852
|
+
return value instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
3004
2853
|
}
|
|
3005
2854
|
module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
3006
2855
|
function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
|
|
3007
|
-
|
|
2856
|
+
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value)) {
|
|
2857
|
+
return value.privateDoNotAccessOrElseWrappedResourceUrl;
|
|
2858
|
+
}
|
|
2859
|
+
var message = "";
|
|
2860
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping TrustedResourceUrl");
|
|
2861
|
+
throw Error(message);
|
|
3008
2862
|
}
|
|
3009
2863
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3010
2864
|
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"],
|
|
@@ -3034,15 +2888,7 @@ function module$contents$safevalues$internals$string_literal_isTemplateObject(te
|
|
|
3034
2888
|
return Array.isArray(templateObj) && Array.isArray(templateObj.raw) && templateObj.length === templateObj.raw.length && (module$contents$safevalues$internals$string_literal_isTranspiled || templateObj !== templateObj.raw) && (module$contents$safevalues$internals$string_literal_isTranspiled && !module$contents$safevalues$internals$string_literal_frozenTSA || module$contents$safevalues$internals$string_literal_checkFrozen(templateObj)) ?
|
|
3035
2889
|
!0 : !1;
|
|
3036
2890
|
}
|
|
3037
|
-
;var module$exports$safevalues$internals$
|
|
3038
|
-
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
3039
|
-
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
3040
|
-
if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
|
|
3041
|
-
throw Error("Bad secret");
|
|
3042
|
-
}
|
|
3043
|
-
}
|
|
3044
|
-
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
3045
|
-
var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
|
|
2891
|
+
;var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
|
|
3046
2892
|
module$exports$safevalues$internals$url_impl.SafeUrl = function(token, value) {
|
|
3047
2893
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3048
2894
|
this.privateDoNotAccessOrElseWrappedUrl = value;
|
|
@@ -3299,7 +3145,7 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
3299
3145
|
throw Error(message);
|
|
3300
3146
|
}
|
|
3301
3147
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
3302
|
-
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"}
|
|
3148
|
+
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"};
|
|
3303
3149
|
module$exports$safevalues$internals$html_impl.SafeHtml = function(token, value) {
|
|
3304
3150
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3305
3151
|
this.privateDoNotAccessOrElseWrappedHtml = value;
|
|
@@ -3312,11 +3158,11 @@ function module$contents$safevalues$internals$html_impl_constructHtml(value) {
|
|
|
3312
3158
|
return new module$exports$safevalues$internals$html_impl.SafeHtml(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3313
3159
|
}
|
|
3314
3160
|
module$exports$safevalues$internals$html_impl.createHtmlInternal = function(value) {
|
|
3315
|
-
var noinlineValue = value, policy = (
|
|
3161
|
+
var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
|
|
3316
3162
|
return module$contents$safevalues$internals$html_impl_constructHtml(policy ? policy.createHTML(noinlineValue) : noinlineValue);
|
|
3317
3163
|
};
|
|
3318
3164
|
module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$safevalues$internals$pure_pure(function() {
|
|
3319
|
-
return module$contents$safevalues$internals$html_impl_constructHtml(module$
|
|
3165
|
+
return module$contents$safevalues$internals$html_impl_constructHtml(module$exports$safevalues$internals$trusted_types.trustedTypes ? module$exports$safevalues$internals$trusted_types.trustedTypes.emptyHTML : "");
|
|
3320
3166
|
});
|
|
3321
3167
|
function module$contents$safevalues$internals$html_impl_isHtml(value) {
|
|
3322
3168
|
return value instanceof module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
@@ -3461,7 +3307,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
|
|
|
3461
3307
|
element.removeAttribute("srcdoc");
|
|
3462
3308
|
switch(intent) {
|
|
3463
3309
|
case module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT:
|
|
3464
|
-
if (src instanceof module$
|
|
3310
|
+
if (src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
3465
3311
|
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
|
|
3466
3312
|
}
|
|
3467
3313
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
|
|
@@ -3469,7 +3315,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
|
|
|
3469
3315
|
sanitizedUrl !== void 0 && (element.src = sanitizedUrl);
|
|
3470
3316
|
break;
|
|
3471
3317
|
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT:
|
|
3472
|
-
if (!(src instanceof module$
|
|
3318
|
+
if (!(src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl)) {
|
|
3473
3319
|
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError(typeof src, module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
|
|
3474
3320
|
}
|
|
3475
3321
|
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,
|
|
@@ -3477,7 +3323,7 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
|
|
|
3477
3323
|
module$contents$safevalues$dom$elements$iframe_setSrc(element, src);
|
|
3478
3324
|
break;
|
|
3479
3325
|
case module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
|
|
3480
|
-
if (src instanceof module$
|
|
3326
|
+
if (src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
3481
3327
|
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT);
|
|
3482
3328
|
}
|
|
3483
3329
|
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,
|
|
@@ -3561,7 +3407,7 @@ function module$contents$safevalues$dom$globals$window_getNonceFor(elementName,
|
|
|
3561
3407
|
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]");
|
|
3562
3408
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
3563
3409
|
}
|
|
3564
|
-
;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"}
|
|
3410
|
+
;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"};
|
|
3565
3411
|
module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
|
|
3566
3412
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3567
3413
|
this.privateDoNotAccessOrElseWrappedScript = value;
|
|
@@ -3574,12 +3420,12 @@ function module$contents$safevalues$internals$script_impl_constructScript(value)
|
|
|
3574
3420
|
return new module$exports$safevalues$internals$script_impl.SafeScript(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3575
3421
|
}
|
|
3576
3422
|
function module$contents$safevalues$internals$script_impl_createScriptInternal(value) {
|
|
3577
|
-
var noinlineValue = value, policy = (
|
|
3423
|
+
var noinlineValue = value, policy = module$contents$safevalues$internals$trusted_types_getPolicy();
|
|
3578
3424
|
return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(noinlineValue) : noinlineValue);
|
|
3579
3425
|
}
|
|
3580
3426
|
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
3581
3427
|
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$safevalues$internals$pure_pure(function() {
|
|
3582
|
-
return module$contents$safevalues$internals$script_impl_constructScript(module$
|
|
3428
|
+
return module$contents$safevalues$internals$script_impl_constructScript(module$exports$safevalues$internals$trusted_types.trustedTypes ? module$exports$safevalues$internals$trusted_types.trustedTypes.emptyScript : "");
|
|
3583
3429
|
});
|
|
3584
3430
|
function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
3585
3431
|
return value instanceof module$exports$safevalues$internals$script_impl.SafeScript;
|
|
@@ -3647,7 +3493,107 @@ module$exports$safevalues$dom$elements$svg.setAttribute = function(svg, attr, va
|
|
|
3647
3493
|
}
|
|
3648
3494
|
svg.setAttribute(attr, value);
|
|
3649
3495
|
};
|
|
3650
|
-
goog.
|
|
3496
|
+
goog.debug = {};
|
|
3497
|
+
function module$contents$goog$debug$Error_DebugError(msg, cause) {
|
|
3498
|
+
if (Error.captureStackTrace) {
|
|
3499
|
+
Error.captureStackTrace(this, module$contents$goog$debug$Error_DebugError);
|
|
3500
|
+
} else {
|
|
3501
|
+
var stack = Error().stack;
|
|
3502
|
+
stack && (this.stack = stack);
|
|
3503
|
+
}
|
|
3504
|
+
msg && (this.message = String(msg));
|
|
3505
|
+
cause !== void 0 && (this.cause = cause);
|
|
3506
|
+
this.reportErrorToServer = !0;
|
|
3507
|
+
}
|
|
3508
|
+
goog.inherits(module$contents$goog$debug$Error_DebugError, Error);
|
|
3509
|
+
module$contents$goog$debug$Error_DebugError.prototype.name = "CustomError";
|
|
3510
|
+
goog.debug.Error = module$contents$goog$debug$Error_DebugError;
|
|
3511
|
+
goog.dom = {};
|
|
3512
|
+
goog.dom.NodeType = {ELEMENT:1, ATTRIBUTE:2, TEXT:3, CDATA_SECTION:4, ENTITY_REFERENCE:5, ENTITY:6, PROCESSING_INSTRUCTION:7, COMMENT:8, DOCUMENT:9, DOCUMENT_TYPE:10, DOCUMENT_FRAGMENT:11, NOTATION:12};
|
|
3513
|
+
goog.asserts = {};
|
|
3514
|
+
goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
|
|
3515
|
+
function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
|
|
3516
|
+
module$contents$goog$debug$Error_DebugError.call(this, module$contents$goog$asserts_subs(messagePattern, messageArgs));
|
|
3517
|
+
this.messagePattern = messagePattern;
|
|
3518
|
+
}
|
|
3519
|
+
goog.inherits(module$contents$goog$asserts_AssertionError, module$contents$goog$debug$Error_DebugError);
|
|
3520
|
+
goog.asserts.AssertionError = module$contents$goog$asserts_AssertionError;
|
|
3521
|
+
module$contents$goog$asserts_AssertionError.prototype.name = "AssertionError";
|
|
3522
|
+
goog.asserts.DEFAULT_ERROR_HANDLER = function(e) {
|
|
3523
|
+
throw e;
|
|
3524
|
+
};
|
|
3525
|
+
var module$contents$goog$asserts_errorHandler_ = goog.asserts.DEFAULT_ERROR_HANDLER;
|
|
3526
|
+
function module$contents$goog$asserts_subs(pattern, subs) {
|
|
3527
|
+
for (var splitParts = pattern.split("%s"), returnString = "", subLast = splitParts.length - 1, i = 0; i < subLast; i++) {
|
|
3528
|
+
returnString += splitParts[i] + (i < subs.length ? subs[i] : "%s");
|
|
3529
|
+
}
|
|
3530
|
+
return returnString + splitParts[subLast];
|
|
3531
|
+
}
|
|
3532
|
+
function module$contents$goog$asserts_doAssertFailure(defaultMessage, defaultArgs, givenMessage, givenArgs) {
|
|
3533
|
+
var message = "Assertion failed";
|
|
3534
|
+
if (givenMessage) {
|
|
3535
|
+
message += ": " + givenMessage;
|
|
3536
|
+
var args = givenArgs;
|
|
3537
|
+
} else {
|
|
3538
|
+
defaultMessage && (message += ": " + defaultMessage, args = defaultArgs);
|
|
3539
|
+
}
|
|
3540
|
+
var e = new module$contents$goog$asserts_AssertionError("" + message, args || []);
|
|
3541
|
+
module$contents$goog$asserts_errorHandler_(e);
|
|
3542
|
+
}
|
|
3543
|
+
goog.asserts.setErrorHandler = function(errorHandler) {
|
|
3544
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && (module$contents$goog$asserts_errorHandler_ = errorHandler);
|
|
3545
|
+
};
|
|
3546
|
+
goog.asserts.assert = function(condition, opt_message, var_args) {
|
|
3547
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !condition && module$contents$goog$asserts_doAssertFailure("", null, opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3548
|
+
return condition;
|
|
3549
|
+
};
|
|
3550
|
+
goog.asserts.assertExists = function(value, opt_message, var_args) {
|
|
3551
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && value == null && module$contents$goog$asserts_doAssertFailure("Expected to exist: %s.", [value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3552
|
+
return value;
|
|
3553
|
+
};
|
|
3554
|
+
goog.asserts.fail = function(opt_message, var_args) {
|
|
3555
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && module$contents$goog$asserts_errorHandler_(new module$contents$goog$asserts_AssertionError("Failure" + (opt_message ? ": " + opt_message : ""), Array.prototype.slice.call(arguments, 1)));
|
|
3556
|
+
};
|
|
3557
|
+
goog.asserts.assertNumber = function(value, opt_message, var_args) {
|
|
3558
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "number" && module$contents$goog$asserts_doAssertFailure("Expected number but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3559
|
+
return value;
|
|
3560
|
+
};
|
|
3561
|
+
goog.asserts.assertString = function(value, opt_message, var_args) {
|
|
3562
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "string" && module$contents$goog$asserts_doAssertFailure("Expected string but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3563
|
+
return value;
|
|
3564
|
+
};
|
|
3565
|
+
goog.asserts.assertFunction = function(value, opt_message, var_args) {
|
|
3566
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "function" && module$contents$goog$asserts_doAssertFailure("Expected function but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3567
|
+
return value;
|
|
3568
|
+
};
|
|
3569
|
+
goog.asserts.assertObject = function(value, opt_message, var_args) {
|
|
3570
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !goog.isObject(value) && module$contents$goog$asserts_doAssertFailure("Expected object but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3571
|
+
return value;
|
|
3572
|
+
};
|
|
3573
|
+
goog.asserts.assertArray = function(value, opt_message, var_args) {
|
|
3574
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !Array.isArray(value) && module$contents$goog$asserts_doAssertFailure("Expected array but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3575
|
+
return value;
|
|
3576
|
+
};
|
|
3577
|
+
goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
3578
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "boolean" && module$contents$goog$asserts_doAssertFailure("Expected boolean but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3579
|
+
return value;
|
|
3580
|
+
};
|
|
3581
|
+
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
3582
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog.dom.NodeType.ELEMENT || module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3583
|
+
return value;
|
|
3584
|
+
};
|
|
3585
|
+
goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
|
|
3586
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || value instanceof type || module$contents$goog$asserts_doAssertFailure("Expected instanceof %s but got %s.", [module$contents$goog$asserts_getType(type), module$contents$goog$asserts_getType(value)], opt_message, Array.prototype.slice.call(arguments, 3));
|
|
3587
|
+
return value;
|
|
3588
|
+
};
|
|
3589
|
+
goog.asserts.assertFinite = function(value, opt_message, var_args) {
|
|
3590
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || typeof value == "number" && isFinite(value) || module$contents$goog$asserts_doAssertFailure("Expected %s to be a finite number but it is not.", [value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3591
|
+
return value;
|
|
3592
|
+
};
|
|
3593
|
+
function module$contents$goog$asserts_getType(value) {
|
|
3594
|
+
return value instanceof Function ? value.displayName || value.name || "unknown type name" : value instanceof Object ? value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value) : value === null ? "null" : typeof value;
|
|
3595
|
+
}
|
|
3596
|
+
;goog.array = {};
|
|
3651
3597
|
goog.NATIVE_ARRAY_PROTOTYPES = goog.TRUSTED_SITE;
|
|
3652
3598
|
var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS = goog.FEATURESET_YEAR > 2012;
|
|
3653
3599
|
goog.array.ASSUME_NATIVE_FUNCTIONS = module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;
|
|
@@ -4714,15 +4660,19 @@ module$exports$safevalues$dom$globals$dom_parser.parseHtml = function(parser, ht
|
|
|
4714
4660
|
return module$contents$safevalues$dom$globals$dom_parser_parseFromString(parser, html, "text/html");
|
|
4715
4661
|
};
|
|
4716
4662
|
module$exports$safevalues$dom$globals$dom_parser.parseXml = function(parser, xml) {
|
|
4717
|
-
for (var doc = module$contents$safevalues$dom$globals$dom_parser_parseFromString(parser, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(xml), "text/xml"), iterator = document.createNodeIterator(doc, NodeFilter.
|
|
4718
|
-
|
|
4663
|
+
for (var doc = module$contents$safevalues$dom$globals$dom_parser_parseFromString(parser, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(xml), "text/xml"), iterator = document.createNodeIterator(doc, NodeFilter.SHOW_ELEMENT), currentNode; currentNode = iterator.nextNode();) {
|
|
4664
|
+
var ns = currentNode.namespaceURI;
|
|
4665
|
+
if (module$contents$safevalues$dom$globals$dom_parser_isUnsafeNamespace(ns)) {
|
|
4719
4666
|
var message = "unsafe XML";
|
|
4720
|
-
goog.DEBUG && (message
|
|
4667
|
+
goog.DEBUG && (message += " - attempted to parse an XML document containing an element with namespace " + ns + ". Parsing HTML, SVG or MathML content is unsafe because it may lead to XSS when the content is appended to the document.");
|
|
4721
4668
|
throw Error(message);
|
|
4722
4669
|
}
|
|
4723
4670
|
}
|
|
4724
4671
|
return doc;
|
|
4725
4672
|
};
|
|
4673
|
+
function module$contents$safevalues$dom$globals$dom_parser_isUnsafeNamespace(ns) {
|
|
4674
|
+
return ns === "http://www.w3.org/1999/xhtml" || ns === "http://www.w3.org/2000/svg" || ns === "http://www.w3.org/1998/Math/MathML";
|
|
4675
|
+
}
|
|
4726
4676
|
function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parser, content, contentType) {
|
|
4727
4677
|
return parser.parseFromString((0,module$exports$safevalues$internals$html_impl.unwrapHtml)(content), contentType);
|
|
4728
4678
|
}
|
|
@@ -6429,8 +6379,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_un
|
|
|
6429
6379
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6430
6380
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
|
|
6431
6381
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable = !1;
|
|
6432
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6433
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
|
|
6382
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable = !1;
|
|
6434
6383
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6435
6384
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
6436
6385
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__enable = !1;
|
|
@@ -6445,8 +6394,8 @@ goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2
|
|
|
6445
6394
|
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable : goog.readFlagInternalDoNotUseOrElse(188588736, !0);
|
|
6446
6395
|
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable : goog.readFlagInternalDoNotUseOrElse(644029907, !0);
|
|
6447
6396
|
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable : goog.readFlagInternalDoNotUseOrElse(1822726157, !0);
|
|
6448
|
-
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6449
|
-
|
|
6397
|
+
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable) : goog.readFlagInternalDoNotUseOrElse(661449076,
|
|
6398
|
+
module$contents$goog$flags_STAGING);
|
|
6450
6399
|
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);
|
|
6451
6400
|
goog.flags.JSPB_READONLY_REPEATED_FIELDS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable) : goog.readFlagInternalDoNotUseOrElse(653718497, module$contents$goog$flags_STAGING);
|
|
6452
6401
|
goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__enable : goog.readFlagInternalDoNotUseOrElse(660014094, goog.DEBUG);
|
|
@@ -9149,6 +9098,11 @@ module$exports$eeapiclient$ee_api_client.IPixelDataTypePrecisionEnum = function(
|
|
|
9149
9098
|
module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum = {DOUBLE:"DOUBLE", FLOAT:"FLOAT", INT:"INT", PRECISION_UNSPECIFIED:"PRECISION_UNSPECIFIED", values:function() {
|
|
9150
9099
|
return [module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.PRECISION_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.INT, module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.FLOAT, module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.DOUBLE];
|
|
9151
9100
|
}};
|
|
9101
|
+
module$exports$eeapiclient$ee_api_client.IProjectConfigRegistrationStateEnum = function() {
|
|
9102
|
+
};
|
|
9103
|
+
module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum = {NOT_REGISTERED:"NOT_REGISTERED", REGISTERED_COMMERCILALLY:"REGISTERED_COMMERCILALLY", REGISTERED_NOT_COMMERCILALLY:"REGISTERED_NOT_COMMERCILALLY", REGISTRATION_STATE_UNSPECIFIED:"REGISTRATION_STATE_UNSPECIFIED", values:function() {
|
|
9104
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum.REGISTRATION_STATE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum.NOT_REGISTERED, module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum.REGISTERED_COMMERCILALLY, module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum.REGISTERED_NOT_COMMERCILALLY];
|
|
9105
|
+
}};
|
|
9152
9106
|
module$exports$eeapiclient$ee_api_client.IProjectRegistrationBillingConsentEnum = function() {
|
|
9153
9107
|
};
|
|
9154
9108
|
module$exports$eeapiclient$ee_api_client.ProjectRegistrationBillingConsentEnum = {BILLING_CONSENT_FULL:"BILLING_CONSENT_FULL", BILLING_CONSENT_NONE:"BILLING_CONSENT_NONE", BILLING_CONSENT_UNSPECIFIED:"BILLING_CONSENT_UNSPECIFIED", values:function() {
|
|
@@ -12332,6 +12286,7 @@ module$exports$eeapiclient$ee_api_client.ProjectConfig = function(parameters) {
|
|
|
12332
12286
|
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
12333
12287
|
this.Serializable$set("name", parameters.name == null ? null : parameters.name);
|
|
12334
12288
|
this.Serializable$set("registration", parameters.registration == null ? null : parameters.registration);
|
|
12289
|
+
this.Serializable$set("registrationState", parameters.registrationState == null ? null : parameters.registrationState);
|
|
12335
12290
|
this.Serializable$set("trialStatus", parameters.trialStatus == null ? null : parameters.trialStatus);
|
|
12336
12291
|
this.Serializable$set("vpcServiceControlsRestricted", parameters.vpcServiceControlsRestricted == null ? null : parameters.vpcServiceControlsRestricted);
|
|
12337
12292
|
};
|
|
@@ -12340,7 +12295,7 @@ module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype.getConstructor
|
|
|
12340
12295
|
return module$exports$eeapiclient$ee_api_client.ProjectConfig;
|
|
12341
12296
|
};
|
|
12342
12297
|
module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype.getPartialClassMetadata = function() {
|
|
12343
|
-
return {keys:["name", "registration", "trialStatus", "vpcServiceControlsRestricted"], objects:{registration:module$exports$eeapiclient$ee_api_client.ProjectRegistration, trialStatus:module$exports$eeapiclient$ee_api_client.TrialStatus}};
|
|
12298
|
+
return {enums:{registrationState:module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum}, keys:["name", "registration", "registrationState", "trialStatus", "vpcServiceControlsRestricted"], objects:{registration:module$exports$eeapiclient$ee_api_client.ProjectRegistration, trialStatus:module$exports$eeapiclient$ee_api_client.TrialStatus}};
|
|
12344
12299
|
};
|
|
12345
12300
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype, {name:{configurable:!0, enumerable:!0, get:function() {
|
|
12346
12301
|
return this.Serializable$has("name") ? this.Serializable$get("name") : null;
|
|
@@ -12350,6 +12305,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
12350
12305
|
return this.Serializable$has("registration") ? this.Serializable$get("registration") : null;
|
|
12351
12306
|
}, set:function(value) {
|
|
12352
12307
|
this.Serializable$set("registration", value);
|
|
12308
|
+
}}, registrationState:{configurable:!0, enumerable:!0, get:function() {
|
|
12309
|
+
return this.Serializable$has("registrationState") ? this.Serializable$get("registrationState") : null;
|
|
12310
|
+
}, set:function(value) {
|
|
12311
|
+
this.Serializable$set("registrationState", value);
|
|
12353
12312
|
}}, trialStatus:{configurable:!0, enumerable:!0, get:function() {
|
|
12354
12313
|
return this.Serializable$has("trialStatus") ? this.Serializable$get("trialStatus") : null;
|
|
12355
12314
|
}, set:function(value) {
|
|
@@ -12359,6 +12318,9 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
12359
12318
|
}, set:function(value) {
|
|
12360
12319
|
this.Serializable$set("vpcServiceControlsRestricted", value);
|
|
12361
12320
|
}}});
|
|
12321
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ProjectConfig, {RegistrationState:{configurable:!0, enumerable:!0, get:function() {
|
|
12322
|
+
return module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum;
|
|
12323
|
+
}}});
|
|
12362
12324
|
module$exports$eeapiclient$ee_api_client.ProjectRegistrationParameters = function() {
|
|
12363
12325
|
};
|
|
12364
12326
|
module$exports$eeapiclient$ee_api_client.ProjectRegistration = function(parameters) {
|
|
@@ -12966,13 +12928,14 @@ module$exports$eeapiclient$ee_api_client.TableSource = function(parameters) {
|
|
|
12966
12928
|
this.Serializable$set("dateFormat", parameters.dateFormat == null ? null : parameters.dateFormat);
|
|
12967
12929
|
this.Serializable$set("csvDelimiter", parameters.csvDelimiter == null ? null : parameters.csvDelimiter);
|
|
12968
12930
|
this.Serializable$set("csvQualifier", parameters.csvQualifier == null ? null : parameters.csvQualifier);
|
|
12931
|
+
this.Serializable$set("simplifyErrorMeters", parameters.simplifyErrorMeters == null ? null : parameters.simplifyErrorMeters);
|
|
12969
12932
|
};
|
|
12970
12933
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.TableSource, module$exports$eeapiclient$domain_object.Serializable);
|
|
12971
12934
|
module$exports$eeapiclient$ee_api_client.TableSource.prototype.getConstructor = function() {
|
|
12972
12935
|
return module$exports$eeapiclient$ee_api_client.TableSource;
|
|
12973
12936
|
};
|
|
12974
12937
|
module$exports$eeapiclient$ee_api_client.TableSource.prototype.getPartialClassMetadata = function() {
|
|
12975
|
-
return {keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")};
|
|
12938
|
+
return {keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn simplifyErrorMeters uris xColumn yColumn".split(" ")};
|
|
12976
12939
|
};
|
|
12977
12940
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TableSource.prototype, {charset:{configurable:!0, enumerable:!0, get:function() {
|
|
12978
12941
|
return this.Serializable$has("charset") ? this.Serializable$get("charset") : null;
|
|
@@ -13010,6 +12973,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
13010
12973
|
return this.Serializable$has("primaryGeometryColumn") ? this.Serializable$get("primaryGeometryColumn") : null;
|
|
13011
12974
|
}, set:function(value) {
|
|
13012
12975
|
this.Serializable$set("primaryGeometryColumn", value);
|
|
12976
|
+
}}, simplifyErrorMeters:{configurable:!0, enumerable:!0, get:function() {
|
|
12977
|
+
return this.Serializable$has("simplifyErrorMeters") ? this.Serializable$get("simplifyErrorMeters") : null;
|
|
12978
|
+
}, set:function(value) {
|
|
12979
|
+
this.Serializable$set("simplifyErrorMeters", value);
|
|
13013
12980
|
}}, uris:{configurable:!0, enumerable:!0, get:function() {
|
|
13014
12981
|
return this.Serializable$has("uris") ? this.Serializable$get("uris") : null;
|
|
13015
12982
|
}, set:function(value) {
|
|
@@ -14930,8 +14897,6 @@ var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
|
14930
14897
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
14931
14898
|
}, module$contents$goog$asserts$dom_assertIsHtmlIFrameElement = function(value) {
|
|
14932
14899
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IFRAME);
|
|
14933
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlScriptElement = function(value) {
|
|
14934
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
14935
14900
|
}, module$contents$goog$asserts$dom_debugStringForType = function(value) {
|
|
14936
14901
|
if (goog.isObject(value)) {
|
|
14937
14902
|
try {
|
|
@@ -14951,439 +14916,91 @@ goog.asserts.dom.assertIsHtmlElement = module$contents$goog$asserts$dom_assertIs
|
|
|
14951
14916
|
goog.asserts.dom.assertIsHtmlElementOfType = module$contents$goog$asserts$dom_assertIsHtmlElementOfType;
|
|
14952
14917
|
goog.asserts.dom.assertIsHtmlAnchorElement = module$contents$goog$asserts$dom_assertIsHtmlAnchorElement;
|
|
14953
14918
|
goog.asserts.dom.assertIsHtmlButtonElement = function(value) {
|
|
14954
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.BUTTON);
|
|
14955
|
-
};
|
|
14956
|
-
goog.asserts.dom.assertIsHtmlLinkElement = module$contents$goog$asserts$dom_assertIsHtmlLinkElement;
|
|
14957
|
-
goog.asserts.dom.assertIsHtmlImageElement = function(value) {
|
|
14958
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IMG);
|
|
14959
|
-
};
|
|
14960
|
-
goog.asserts.dom.assertIsHtmlAudioElement = function(value) {
|
|
14961
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.AUDIO);
|
|
14962
|
-
};
|
|
14963
|
-
goog.asserts.dom.assertIsHtmlVideoElement = function(value) {
|
|
14964
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
14965
|
-
};
|
|
14966
|
-
goog.asserts.dom.assertIsHtmlInputElement = function(value) {
|
|
14967
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
14968
|
-
};
|
|
14969
|
-
goog.asserts.dom.assertIsHtmlTextAreaElement = function(value) {
|
|
14970
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.TEXTAREA);
|
|
14971
|
-
};
|
|
14972
|
-
goog.asserts.dom.assertIsHtmlCanvasElement = function(value) {
|
|
14973
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.CANVAS);
|
|
14974
|
-
};
|
|
14975
|
-
goog.asserts.dom.assertIsHtmlEmbedElement = function(value) {
|
|
14976
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
|
|
14977
|
-
};
|
|
14978
|
-
goog.asserts.dom.assertIsHtmlFormElement = module$contents$goog$asserts$dom_assertIsHtmlFormElement;
|
|
14979
|
-
goog.asserts.dom.assertIsHtmlFrameElement = function(value) {
|
|
14980
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
|
|
14981
|
-
};
|
|
14982
|
-
goog.asserts.dom.assertIsHtmlIFrameElement = module$contents$goog$asserts$dom_assertIsHtmlIFrameElement;
|
|
14983
|
-
goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
14984
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
14985
|
-
};
|
|
14986
|
-
goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
|
|
14987
|
-
goog.dom.asserts = {};
|
|
14988
|
-
goog.dom.asserts.assertIsLocation = function(o) {
|
|
14989
|
-
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
|
|
14990
|
-
var win = goog.dom.asserts.getWindow_(o);
|
|
14991
|
-
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));
|
|
14992
|
-
}
|
|
14993
|
-
return o;
|
|
14994
|
-
};
|
|
14995
|
-
goog.dom.asserts.debugStringForType_ = function(value) {
|
|
14996
|
-
if (goog.isObject(value)) {
|
|
14997
|
-
try {
|
|
14998
|
-
return value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value);
|
|
14999
|
-
} catch (e) {
|
|
15000
|
-
return "<object could not be stringified>";
|
|
15001
|
-
}
|
|
15002
|
-
} else {
|
|
15003
|
-
return value === void 0 ? "undefined" : value === null ? "null" : typeof value;
|
|
15004
|
-
}
|
|
15005
|
-
};
|
|
15006
|
-
goog.dom.asserts.getWindow_ = function(o) {
|
|
15007
|
-
try {
|
|
15008
|
-
var doc = o && o.ownerDocument, win = doc && (doc.defaultView || doc.parentWindow);
|
|
15009
|
-
win = win || goog.global;
|
|
15010
|
-
if (win.Element && win.Location) {
|
|
15011
|
-
return win;
|
|
15012
|
-
}
|
|
15013
|
-
} catch (ex) {
|
|
15014
|
-
}
|
|
15015
|
-
return null;
|
|
15016
|
-
};
|
|
15017
|
-
goog.dom.tags = {};
|
|
15018
|
-
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};
|
|
15019
|
-
goog.dom.tags.isVoidTag = function(tagName) {
|
|
15020
|
-
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
15021
|
-
};
|
|
15022
|
-
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"};
|
|
15023
|
-
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15024
|
-
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
15025
|
-
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15026
|
-
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
15027
|
-
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
15028
|
-
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15029
|
-
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15030
|
-
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15031
|
-
module$exports$safevalues$for_closure$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15032
|
-
module$exports$safevalues$for_closure$index.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15033
|
-
module$exports$safevalues$for_closure$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15034
|
-
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15035
|
-
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15036
|
-
var module$exports$safevalues$for_closure = {};
|
|
15037
|
-
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15038
|
-
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
15039
|
-
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15040
|
-
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
15041
|
-
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
15042
|
-
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15043
|
-
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15044
|
-
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15045
|
-
module$exports$safevalues$for_closure.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15046
|
-
module$exports$safevalues$for_closure.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15047
|
-
module$exports$safevalues$for_closure.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15048
|
-
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15049
|
-
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15050
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
15051
|
-
var styleString = goog.string.Const.unwrap(style);
|
|
15052
|
-
if (styleString.length === 0) {
|
|
15053
|
-
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15054
|
-
}
|
|
15055
|
-
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
15056
|
-
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
15057
|
-
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
15058
|
-
};
|
|
15059
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
15060
|
-
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
15061
|
-
};
|
|
15062
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
15063
|
-
var style = "", name;
|
|
15064
|
-
for (name in map) {
|
|
15065
|
-
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
15066
|
-
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
15067
|
-
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
15068
|
-
}
|
|
15069
|
-
var value = map[name];
|
|
15070
|
-
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 + ";");
|
|
15071
|
-
}
|
|
15072
|
-
}
|
|
15073
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15074
|
-
};
|
|
15075
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
15076
|
-
var style = "", addArgument = function(argument) {
|
|
15077
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
15078
|
-
};
|
|
15079
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
15080
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15081
|
-
};
|
|
15082
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
15083
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
15084
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
15085
|
-
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15086
|
-
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
15087
|
-
}
|
|
15088
|
-
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
15089
|
-
if (/[{;}]/.test(result)) {
|
|
15090
|
-
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
15091
|
-
}
|
|
15092
|
-
return result;
|
|
15093
|
-
}
|
|
15094
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
15095
|
-
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");
|
|
15096
|
-
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
15097
|
-
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
15098
|
-
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15099
|
-
}
|
|
15100
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
15101
|
-
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15102
|
-
}
|
|
15103
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
15104
|
-
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;
|
|
15105
|
-
}
|
|
15106
|
-
} else {
|
|
15107
|
-
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;
|
|
15108
|
-
}
|
|
15109
|
-
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
15110
|
-
}
|
|
15111
|
-
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
15112
|
-
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
15113
|
-
var c = value.charAt(i);
|
|
15114
|
-
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
15115
|
-
}
|
|
15116
|
-
return outsideSingle && outsideDouble;
|
|
15117
|
-
}
|
|
15118
|
-
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
15119
|
-
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
15120
|
-
var c = value.charAt(i);
|
|
15121
|
-
if (c == "]") {
|
|
15122
|
-
if (outside) {
|
|
15123
|
-
return !1;
|
|
15124
|
-
}
|
|
15125
|
-
outside = !0;
|
|
15126
|
-
} else if (c == "[") {
|
|
15127
|
-
if (!outside) {
|
|
15128
|
-
return !1;
|
|
15129
|
-
}
|
|
15130
|
-
outside = !1;
|
|
15131
|
-
} else if (!outside && !tokenRe.test(c)) {
|
|
15132
|
-
return !1;
|
|
15133
|
-
}
|
|
15134
|
-
}
|
|
15135
|
-
return outside;
|
|
15136
|
-
}
|
|
15137
|
-
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 =
|
|
15138
|
-
/\/\*/;
|
|
15139
|
-
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
15140
|
-
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
15141
|
-
var quote = "";
|
|
15142
|
-
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
15143
|
-
quote = start;
|
|
15144
|
-
return inside;
|
|
15145
|
-
});
|
|
15146
|
-
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
15147
|
-
return before + quote + sanitized + quote + after;
|
|
15148
|
-
});
|
|
15149
|
-
}
|
|
15150
|
-
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15151
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule = function(selector, style) {
|
|
15152
|
-
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
15153
|
-
throw Error("Selector does not allow '<', got: " + selector);
|
|
15154
|
-
}
|
|
15155
|
-
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
15156
|
-
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
15157
|
-
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
15158
|
-
}
|
|
15159
|
-
if (!module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(selectorToCheck)) {
|
|
15160
|
-
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
15161
|
-
}
|
|
15162
|
-
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
15163
|
-
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
15164
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15165
|
-
};
|
|
15166
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.concat = function(var_args) {
|
|
15167
|
-
var result = "", addArgument = function(argument) {
|
|
15168
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap(argument);
|
|
15169
|
-
};
|
|
15170
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
15171
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(result);
|
|
15172
|
-
};
|
|
15173
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
15174
|
-
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
15175
|
-
if (styleSheetString.length === 0) {
|
|
15176
|
-
return module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY;
|
|
15177
|
-
}
|
|
15178
|
-
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
15179
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetString);
|
|
15180
|
-
};
|
|
15181
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
15182
|
-
return module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
15183
|
-
};
|
|
15184
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal("");
|
|
15185
|
-
function module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(s) {
|
|
15186
|
-
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
15187
|
-
var ch = s[i];
|
|
15188
|
-
if (brackets[ch]) {
|
|
15189
|
-
expectedBrackets.push(brackets[ch]);
|
|
15190
|
-
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
15191
|
-
return !1;
|
|
15192
|
-
}
|
|
15193
|
-
}
|
|
15194
|
-
return expectedBrackets.length == 0;
|
|
15195
|
-
}
|
|
15196
|
-
goog.html.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15197
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
|
|
15198
|
-
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
|
|
14919
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.BUTTON);
|
|
15199
14920
|
};
|
|
15200
|
-
module$
|
|
15201
|
-
|
|
14921
|
+
goog.asserts.dom.assertIsHtmlLinkElement = module$contents$goog$asserts$dom_assertIsHtmlLinkElement;
|
|
14922
|
+
goog.asserts.dom.assertIsHtmlImageElement = function(value) {
|
|
14923
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IMG);
|
|
15202
14924
|
};
|
|
15203
|
-
|
|
15204
|
-
return
|
|
14925
|
+
goog.asserts.dom.assertIsHtmlAudioElement = function(value) {
|
|
14926
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.AUDIO);
|
|
15205
14927
|
};
|
|
15206
|
-
|
|
15207
|
-
|
|
15208
|
-
return textOrHtml;
|
|
15209
|
-
}
|
|
15210
|
-
var html = module$exports$safevalues$internals$html_impl.SafeHtml.htmlEscape(textOrHtml);
|
|
15211
|
-
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(goog.string.internal.newLineToBr(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html)));
|
|
14928
|
+
goog.asserts.dom.assertIsHtmlVideoElement = function(value) {
|
|
14929
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
15212
14930
|
};
|
|
15213
|
-
|
|
15214
|
-
|
|
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.whitespaceEscape(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html)));
|
|
14931
|
+
goog.asserts.dom.assertIsHtmlInputElement = function(value) {
|
|
14932
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
15219
14933
|
};
|
|
15220
|
-
|
|
15221
|
-
module$
|
|
15222
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(tagName), attributes, content);
|
|
14934
|
+
goog.asserts.dom.assertIsHtmlTextAreaElement = function(value) {
|
|
14935
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.TEXTAREA);
|
|
15223
14936
|
};
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "Invalid tag name <" + tagName + ">." : "");
|
|
15227
|
-
}
|
|
15228
|
-
if (tagName.toUpperCase() in module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES) {
|
|
15229
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? "Tag name <" + tagName + "> is not allowed for SafeHtml." : "");
|
|
15230
|
-
}
|
|
14937
|
+
goog.asserts.dom.assertIsHtmlCanvasElement = function(value) {
|
|
14938
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.CANVAS);
|
|
15231
14939
|
};
|
|
15232
|
-
|
|
15233
|
-
|
|
15234
|
-
var fixedAttributes = {};
|
|
15235
|
-
fixedAttributes.src = src || null;
|
|
15236
|
-
fixedAttributes.srcdoc = srcdoc && module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(srcdoc);
|
|
15237
|
-
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes(fixedAttributes, {sandbox:""}, attributes);
|
|
15238
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
14940
|
+
goog.asserts.dom.assertIsHtmlEmbedElement = function(value) {
|
|
14941
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
|
|
15239
14942
|
};
|
|
15240
|
-
module$
|
|
15241
|
-
|
|
15242
|
-
|
|
15243
|
-
}
|
|
15244
|
-
var fixedAttributes = {};
|
|
15245
|
-
fixedAttributes.src = src ? module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(src)) : null;
|
|
15246
|
-
fixedAttributes.srcdoc = srcdoc || null;
|
|
15247
|
-
fixedAttributes.sandbox = "";
|
|
15248
|
-
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
|
|
15249
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
14943
|
+
goog.asserts.dom.assertIsHtmlFormElement = module$contents$goog$asserts$dom_assertIsHtmlFormElement;
|
|
14944
|
+
goog.asserts.dom.assertIsHtmlFrameElement = function(value) {
|
|
14945
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
|
|
15250
14946
|
};
|
|
15251
|
-
module$
|
|
15252
|
-
|
|
14947
|
+
goog.asserts.dom.assertIsHtmlIFrameElement = module$contents$goog$asserts$dom_assertIsHtmlIFrameElement;
|
|
14948
|
+
goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
14949
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
15253
14950
|
};
|
|
15254
|
-
|
|
15255
|
-
module$contents$goog$
|
|
15256
|
-
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({src:src}, {}, attributes);
|
|
15257
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
|
|
14951
|
+
goog.asserts.dom.assertIsHtmlScriptElement = function(value) {
|
|
14952
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
15258
14953
|
};
|
|
15259
|
-
|
|
15260
|
-
|
|
15261
|
-
|
|
15262
|
-
|
|
15263
|
-
|
|
14954
|
+
goog.dom.asserts = {};
|
|
14955
|
+
goog.dom.asserts.assertIsLocation = function(o) {
|
|
14956
|
+
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
|
|
14957
|
+
var win = goog.dom.asserts.getWindow_(o);
|
|
14958
|
+
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));
|
|
15264
14959
|
}
|
|
15265
|
-
|
|
15266
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
15267
|
-
};
|
|
15268
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.createMetaRefresh = function(url, secs) {
|
|
15269
|
-
var unwrappedUrl = module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(url));
|
|
15270
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
|
|
14960
|
+
return o;
|
|
15271
14961
|
};
|
|
15272
|
-
|
|
15273
|
-
|
|
15274
|
-
|
|
15275
|
-
|
|
15276
|
-
}
|
|
15277
|
-
|
|
15278
|
-
content.push(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html));
|
|
14962
|
+
goog.dom.asserts.debugStringForType_ = function(value) {
|
|
14963
|
+
if (goog.isObject(value)) {
|
|
14964
|
+
try {
|
|
14965
|
+
return value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value);
|
|
14966
|
+
} catch (e) {
|
|
14967
|
+
return "<object could not be stringified>";
|
|
15279
14968
|
}
|
|
15280
|
-
};
|
|
15281
|
-
parts.forEach(addArgument);
|
|
15282
|
-
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content.join(module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(separatorHtml)));
|
|
15283
|
-
};
|
|
15284
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.concat = function(var_args) {
|
|
15285
|
-
return module$exports$safevalues$internals$html_impl.SafeHtml.join(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY, Array.prototype.slice.call(arguments));
|
|
15286
|
-
};
|
|
15287
|
-
module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse = function(tagName, attributes, content) {
|
|
15288
|
-
var result = "<" + tagName + module$exports$safevalues$internals$html_impl.SafeHtml.stringifyAttributes(tagName, attributes);
|
|
15289
|
-
content == null ? content = [] : Array.isArray(content) || (content = [content]);
|
|
15290
|
-
if (goog.dom.tags.isVoidTag(tagName.toLowerCase())) {
|
|
15291
|
-
goog.asserts.assert(!content.length, "Void tag <" + tagName + "> does not allow content."), result += ">";
|
|
15292
14969
|
} else {
|
|
15293
|
-
|
|
15294
|
-
result += ">" + module$exports$safevalues$internals$html_impl.SafeHtml.unwrap(html) + "</" + tagName + ">";
|
|
14970
|
+
return value === void 0 ? "undefined" : value === null ? "null" : typeof value;
|
|
15295
14971
|
}
|
|
15296
|
-
return (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(result);
|
|
15297
14972
|
};
|
|
15298
|
-
|
|
15299
|
-
|
|
15300
|
-
|
|
15301
|
-
|
|
15302
|
-
|
|
15303
|
-
|
|
15304
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Invalid attribute name "' + name + '".' : "");
|
|
15305
|
-
}
|
|
15306
|
-
var value = attributes[name];
|
|
15307
|
-
value != null && (result += " " + module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value));
|
|
15308
|
-
}
|
|
14973
|
+
goog.dom.asserts.getWindow_ = function(o) {
|
|
14974
|
+
try {
|
|
14975
|
+
var doc = o && o.ownerDocument, win = doc && (doc.defaultView || doc.parentWindow);
|
|
14976
|
+
win = win || goog.global;
|
|
14977
|
+
if (win.Element && win.Location) {
|
|
14978
|
+
return win;
|
|
15309
14979
|
}
|
|
14980
|
+
} catch (ex) {
|
|
15310
14981
|
}
|
|
15311
|
-
return
|
|
14982
|
+
return null;
|
|
15312
14983
|
};
|
|
15313
|
-
|
|
15314
|
-
|
|
15315
|
-
|
|
15316
|
-
Object.prototype.hasOwnProperty.call(fixedAttributes, name) && (goog.asserts.assert(name.toLowerCase() == name, "Must be lower case"), combinedAttributes[name] = fixedAttributes[name]);
|
|
15317
|
-
}
|
|
15318
|
-
for (var name$jscomp$0 in defaultAttributes) {
|
|
15319
|
-
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]);
|
|
15320
|
-
}
|
|
15321
|
-
if (attributes) {
|
|
15322
|
-
for (var name$jscomp$1 in attributes) {
|
|
15323
|
-
if (Object.prototype.hasOwnProperty.call(attributes, name$jscomp$1)) {
|
|
15324
|
-
var nameLower = name$jscomp$1.toLowerCase();
|
|
15325
|
-
if (nameLower in fixedAttributes) {
|
|
15326
|
-
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] + '"' : "");
|
|
15327
|
-
}
|
|
15328
|
-
nameLower in defaultAttributes && delete combinedAttributes[nameLower];
|
|
15329
|
-
combinedAttributes[name$jscomp$1] = attributes[name$jscomp$1];
|
|
15330
|
-
}
|
|
15331
|
-
}
|
|
15332
|
-
}
|
|
15333
|
-
return combinedAttributes;
|
|
14984
|
+
goog.string.Const = function(opt_token, opt_content) {
|
|
14985
|
+
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
14986
|
+
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
15334
14987
|
};
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
15338
|
-
|
|
15339
|
-
goog.
|
|
15340
|
-
|
|
15341
|
-
if (value instanceof goog.string.Const) {
|
|
15342
|
-
value = goog.string.Const.unwrap(value);
|
|
15343
|
-
} else if (name.toLowerCase() == "style") {
|
|
15344
|
-
if (module$exports$safevalues$internals$html_impl.SafeHtml.SUPPORT_STYLE_ATTRIBUTE) {
|
|
15345
|
-
value = module$contents$goog$html$SafeHtml_getStyleValue(value);
|
|
15346
|
-
} else {
|
|
15347
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "style" not supported.' : "");
|
|
15348
|
-
}
|
|
15349
|
-
} else {
|
|
15350
|
-
if (/^on/i.test(name)) {
|
|
15351
|
-
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" requires goog.string.Const value, "' + value + '" given.' : "");
|
|
15352
|
-
}
|
|
15353
|
-
if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
|
|
15354
|
-
if (value instanceof module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl) {
|
|
15355
|
-
value = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(value);
|
|
15356
|
-
} else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15357
|
-
value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
|
|
15358
|
-
} else if (typeof value === "string") {
|
|
15359
|
-
value = module$contents$safevalues$builders$url_builders_sanitizeUrl(value).toString();
|
|
15360
|
-
} else {
|
|
15361
|
-
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.' : "");
|
|
15362
|
-
}
|
|
15363
|
-
}
|
|
15364
|
-
}
|
|
15365
|
-
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 " +
|
|
15366
|
-
typeof value + " with value: " + value);
|
|
15367
|
-
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
15368
|
-
}
|
|
15369
|
-
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
15370
|
-
if (typeof value === "string") {
|
|
15371
|
-
return value;
|
|
15372
|
-
}
|
|
15373
|
-
if (!goog.isObject(value)) {
|
|
15374
|
-
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 : "");
|
|
14988
|
+
goog.string.Const.prototype.toString = function() {
|
|
14989
|
+
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
14990
|
+
};
|
|
14991
|
+
goog.string.Const.unwrap = function(stringConst) {
|
|
14992
|
+
if (stringConst instanceof goog.string.Const && stringConst.constructor === goog.string.Const && stringConst.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_) {
|
|
14993
|
+
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
15375
14994
|
}
|
|
15376
|
-
|
|
15377
|
-
return
|
|
15378
|
-
}
|
|
15379
|
-
|
|
15380
|
-
return (
|
|
15381
|
-
}
|
|
15382
|
-
|
|
15383
|
-
|
|
15384
|
-
|
|
15385
|
-
}();
|
|
15386
|
-
goog.html.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
14995
|
+
goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
|
|
14996
|
+
return "type_error:Const";
|
|
14997
|
+
};
|
|
14998
|
+
goog.string.Const.from = function(s) {
|
|
14999
|
+
return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
|
|
15000
|
+
};
|
|
15001
|
+
goog.string.Const.TYPE_MARKER_ = {};
|
|
15002
|
+
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
15003
|
+
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
15387
15004
|
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"};
|
|
15388
15005
|
module$exports$safevalues$for_friends$index.IS_NOT_JAVASCRIPT_URL_PATTERN = module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN;
|
|
15389
15006
|
module$exports$safevalues$for_friends$index.unwrapUrlOrSanitize = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize;
|
|
@@ -15589,7 +15206,7 @@ function module$contents$safevalues$builders$html_builders_stringifyAttributes(t
|
|
|
15589
15206
|
}
|
|
15590
15207
|
module$exports$safevalues$builders$html_builders.stringifyAttributes = module$contents$safevalues$builders$html_builders_stringifyAttributes;
|
|
15591
15208
|
function module$contents$safevalues$builders$html_builders_getAttrNameAndValue(tagName, name, value) {
|
|
15592
|
-
if (/^on
|
|
15209
|
+
if (/^on./i.test(name)) {
|
|
15593
15210
|
throw Error(goog.DEBUG ? 'Attribute "' + name + " is forbidden. Inline event handlers can lead to XSS. Please use the 'addEventListener' API instead." : "");
|
|
15594
15211
|
}
|
|
15595
15212
|
module$contents$safevalues$builders$html_builders_URL_ATTRIBUTES.indexOf(name.toLowerCase()) !== -1 && (value = module$contents$safevalues$internals$url_impl_isUrl(value) ? value.toString() : module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(String(value)) || "about:invalid#zClosurez");
|
|
@@ -17057,7 +16674,7 @@ module$exports$safevalues$index.EMPTY_HTML = module$exports$safevalues$internals
|
|
|
17057
16674
|
module$exports$safevalues$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
17058
16675
|
module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
|
|
17059
16676
|
module$exports$safevalues$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
17060
|
-
module$exports$safevalues$index.TrustedResourceUrl = module$
|
|
16677
|
+
module$exports$safevalues$index.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
17061
16678
|
module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
17062
16679
|
module$exports$safevalues$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
17063
16680
|
module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
@@ -17076,28 +16693,99 @@ module$exports$safevalues$index.SafeUrl = module$exports$safevalues$internals$ur
|
|
|
17076
16693
|
module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
17077
16694
|
module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
17078
16695
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
16696
|
+
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
16697
|
+
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
16698
|
+
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
16699
|
+
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
16700
|
+
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
16701
|
+
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
16702
|
+
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
16703
|
+
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
16704
|
+
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
16705
|
+
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
16706
|
+
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
16707
|
+
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
16708
|
+
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
16709
|
+
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
16710
|
+
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
16711
|
+
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
16712
|
+
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
16713
|
+
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
16714
|
+
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
16715
|
+
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
16716
|
+
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
16717
|
+
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
16718
|
+
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
16719
|
+
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
16720
|
+
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
16721
|
+
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16722
|
+
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
16723
|
+
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
16724
|
+
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
16725
|
+
safevalues.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
16726
|
+
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
16727
|
+
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
16728
|
+
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
16729
|
+
safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
16730
|
+
safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
|
|
16731
|
+
safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
|
|
16732
|
+
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
16733
|
+
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
16734
|
+
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
16735
|
+
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
16736
|
+
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
16737
|
+
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
16738
|
+
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
16739
|
+
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
16740
|
+
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
16741
|
+
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
16742
|
+
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
16743
|
+
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
16744
|
+
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
16745
|
+
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
16746
|
+
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
16747
|
+
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
16748
|
+
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
16749
|
+
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
16750
|
+
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
16751
|
+
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
16752
|
+
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
16753
|
+
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
16754
|
+
safevalues.TrustedResourceUrl = module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl;
|
|
16755
|
+
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
16756
|
+
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
16757
|
+
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
16758
|
+
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
16759
|
+
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
16760
|
+
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
16761
|
+
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
16762
|
+
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
16763
|
+
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
16764
|
+
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
16765
|
+
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
16766
|
+
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
16767
|
+
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
16768
|
+
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
16769
|
+
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
16770
|
+
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
16771
|
+
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
16772
|
+
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
17079
16773
|
goog.dom.safe = {};
|
|
17080
|
-
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
17081
|
-
node.insertAdjacentHTML(position, module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html));
|
|
17082
|
-
};
|
|
17083
16774
|
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0};
|
|
17084
16775
|
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
17085
16776
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
17086
16777
|
throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + elem.tagName + ".");
|
|
17087
16778
|
}
|
|
17088
|
-
elem.innerHTML = module$exports$safevalues$
|
|
16779
|
+
elem.innerHTML = module$exports$safevalues$index.unwrapHtml(html);
|
|
17089
16780
|
};
|
|
17090
16781
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
17091
16782
|
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
17092
16783
|
};
|
|
17093
|
-
goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
17094
|
-
elem.outerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
|
|
17095
|
-
};
|
|
17096
16784
|
goog.dom.safe.setFormElementAction = function(form, url) {
|
|
17097
16785
|
module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17098
16786
|
};
|
|
17099
16787
|
goog.dom.safe.documentWrite = function(doc, html) {
|
|
17100
|
-
doc.write(module$exports$safevalues$
|
|
16788
|
+
doc.write(module$exports$safevalues$index.unwrapHtml(html));
|
|
17101
16789
|
};
|
|
17102
16790
|
goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
17103
16791
|
module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(anchor);
|
|
@@ -17105,29 +16793,20 @@ goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
|
17105
16793
|
};
|
|
17106
16794
|
goog.dom.safe.setIframeSrc = function(iframe, url) {
|
|
17107
16795
|
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
17108
|
-
iframe.src = module$contents$
|
|
16796
|
+
iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
17109
16797
|
};
|
|
17110
16798
|
goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
|
|
17111
16799
|
module$contents$goog$asserts$dom_assertIsHtmlLinkElement(link);
|
|
17112
16800
|
link.rel = rel;
|
|
17113
16801
|
if (goog.string.internal.caseInsensitiveContains(rel, "stylesheet")) {
|
|
17114
|
-
goog.asserts.assert(url instanceof module$
|
|
17115
|
-
link.href = module$contents$
|
|
16802
|
+
goog.asserts.assert(url instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl, 'URL must be TrustedResourceUrl because "rel" contains "stylesheet"');
|
|
16803
|
+
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
17116
16804
|
var nonce = goog.dom.safe.getStyleNonce(link.ownerDocument && link.ownerDocument.defaultView);
|
|
17117
16805
|
nonce && link.setAttribute("nonce", nonce);
|
|
17118
16806
|
} else {
|
|
17119
|
-
link.href = url instanceof module$
|
|
16807
|
+
link.href = url instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl ? module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString() : goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17120
16808
|
}
|
|
17121
16809
|
};
|
|
17122
|
-
goog.dom.safe.setScriptSrc = function(script, url) {
|
|
17123
|
-
module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
|
|
17124
|
-
goog.dom.safe.setNonceForScriptElement_(script);
|
|
17125
|
-
script.src = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(url);
|
|
17126
|
-
};
|
|
17127
|
-
goog.dom.safe.setNonceForScriptElement_ = function(script) {
|
|
17128
|
-
var nonce = goog.dom.safe.getScriptNonce(script.ownerDocument && script.ownerDocument.defaultView);
|
|
17129
|
-
nonce && script.setAttribute("nonce", nonce);
|
|
17130
|
-
};
|
|
17131
16810
|
goog.dom.safe.setLocationHref = function(loc, url) {
|
|
17132
16811
|
goog.dom.asserts.assertIsLocation(loc);
|
|
17133
16812
|
loc.href = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
@@ -17143,11 +16822,8 @@ goog.dom.safe.openInWindow = function(url, opt_openerWin, opt_name, opt_specs) {
|
|
|
17143
16822
|
var sanitizedUrl = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url), win = opt_openerWin || goog.global, name = opt_name instanceof goog.string.Const ? goog.string.Const.unwrap(opt_name) : opt_name || "";
|
|
17144
16823
|
return opt_specs !== void 0 ? win.open(sanitizedUrl, name, opt_specs) : win.open(sanitizedUrl, name);
|
|
17145
16824
|
};
|
|
17146
|
-
goog.dom.safe.parseFromStringHtml = function(parser, html) {
|
|
17147
|
-
return goog.dom.safe.parseFromString(parser, html, "text/html");
|
|
17148
|
-
};
|
|
17149
16825
|
goog.dom.safe.parseFromString = function(parser, content, type) {
|
|
17150
|
-
return parser.parseFromString(module$exports$safevalues$
|
|
16826
|
+
return parser.parseFromString(module$exports$safevalues$index.unwrapHtml(content), type);
|
|
17151
16827
|
};
|
|
17152
16828
|
goog.dom.safe.createImageFromBlob = function(blob) {
|
|
17153
16829
|
if (!/^image\/.*/g.test(blob.type)) {
|
|
@@ -19042,83 +18718,6 @@ goog.async.Deferred.assertNoErrors = function() {
|
|
|
19042
18718
|
error.throwError();
|
|
19043
18719
|
}
|
|
19044
18720
|
};
|
|
19045
|
-
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
19046
|
-
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
19047
|
-
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
19048
|
-
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
19049
|
-
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
19050
|
-
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19051
|
-
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
19052
|
-
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
19053
|
-
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
19054
|
-
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
19055
|
-
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
19056
|
-
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19057
|
-
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19058
|
-
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19059
|
-
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
19060
|
-
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19061
|
-
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19062
|
-
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19063
|
-
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
19064
|
-
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19065
|
-
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
19066
|
-
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19067
|
-
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19068
|
-
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
19069
|
-
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
19070
|
-
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19071
|
-
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19072
|
-
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19073
|
-
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19074
|
-
safevalues.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
19075
|
-
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19076
|
-
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19077
|
-
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
19078
|
-
safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
19079
|
-
safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
|
|
19080
|
-
safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
|
|
19081
|
-
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
19082
|
-
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
19083
|
-
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
19084
|
-
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
19085
|
-
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
19086
|
-
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
19087
|
-
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19088
|
-
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
19089
|
-
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
19090
|
-
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
19091
|
-
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
19092
|
-
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
19093
|
-
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
19094
|
-
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
19095
|
-
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
19096
|
-
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19097
|
-
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19098
|
-
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19099
|
-
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19100
|
-
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19101
|
-
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19102
|
-
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19103
|
-
safevalues.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
19104
|
-
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19105
|
-
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19106
|
-
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
19107
|
-
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
19108
|
-
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19109
|
-
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19110
|
-
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19111
|
-
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19112
|
-
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19113
|
-
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
19114
|
-
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19115
|
-
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19116
|
-
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
19117
|
-
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
19118
|
-
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
19119
|
-
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
19120
|
-
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
19121
|
-
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
19122
18721
|
goog.net = {};
|
|
19123
18722
|
goog.net.jsloader = {};
|
|
19124
18723
|
goog.net.jsloader.Options = {};
|
|
@@ -19829,7 +19428,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19829
19428
|
ee.apiclient = {};
|
|
19830
19429
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19831
19430
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19832
|
-
ee.apiclient.API_CLIENT_VERSION = "1.
|
|
19431
|
+
ee.apiclient.API_CLIENT_VERSION = "1.1.1";
|
|
19833
19432
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19834
19433
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19835
19434
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -20127,8 +19726,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
20127
19726
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
20128
19727
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
20129
19728
|
method = method || "POST";
|
|
20130
|
-
var headers = {"Content-Type":contentType}, version = "1.
|
|
20131
|
-
version === "1.
|
|
19729
|
+
var headers = {"Content-Type":contentType}, version = "1.1.1";
|
|
19730
|
+
version === "1.1.1" && (version = "latest");
|
|
20132
19731
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
20133
19732
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
20134
19733
|
if (authToken != null) {
|