@google/earthengine 0.1.413 → 0.1.414
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 +165 -161
- package/build/ee_api_js.js +273 -273
- package/build/ee_api_js_debug.js +143 -138
- package/build/ee_api_js_npm.js +165 -161
- package/build/main.js +165 -161
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/examples/UserInterface/PopulationExplorer.js +9 -3
package/build/main.js
CHANGED
|
@@ -1224,8 +1224,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1224
1224
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1225
1225
|
};
|
|
1226
1226
|
}, "es8", "es3");
|
|
1227
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1228
|
-
GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1};
|
|
1227
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_direct_reactions__disable:!1, GoogFlags__client_only_wiz_flush_queue_fix__enable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__enable:!1, GoogFlags__jspb_enable_low_index_extension_writes__disable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1,
|
|
1228
|
+
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};
|
|
1229
1229
|
/*
|
|
1230
1230
|
|
|
1231
1231
|
Copyright The Closure Library Authors.
|
|
@@ -1521,7 +1521,7 @@ goog.bindJs_ = function(fn, selfObj, var_args) {
|
|
|
1521
1521
|
};
|
|
1522
1522
|
};
|
|
1523
1523
|
goog.bind = function(fn, selfObj, var_args) {
|
|
1524
|
-
Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1 ? goog.bind = goog.bindNative_ : goog.bind = goog.bindJs_;
|
|
1524
|
+
goog.TRUSTED_SITE && goog.FEATURESET_YEAR > 2012 || Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1 ? goog.bind = goog.bindNative_ : goog.bind = goog.bindJs_;
|
|
1525
1525
|
return goog.bind.apply(null, arguments);
|
|
1526
1526
|
};
|
|
1527
1527
|
goog.partial = function(fn, var_args) {
|
|
@@ -1579,6 +1579,9 @@ goog.exportSymbol = function(publicPath, object, objectToExportTo) {
|
|
|
1579
1579
|
goog.exportProperty = function(object, publicName, symbol) {
|
|
1580
1580
|
object[publicName] = symbol;
|
|
1581
1581
|
};
|
|
1582
|
+
goog.weakUsage = function(name) {
|
|
1583
|
+
return name;
|
|
1584
|
+
};
|
|
1582
1585
|
goog.inherits = function(childCtor, parentCtor) {
|
|
1583
1586
|
function tempCtor() {
|
|
1584
1587
|
}
|
|
@@ -2042,6 +2045,8 @@ module$exports$tslib.__disposeResources = function(env) {
|
|
|
2042
2045
|
}
|
|
2043
2046
|
return next();
|
|
2044
2047
|
};
|
|
2048
|
+
var module$exports$enable_goog_asserts = {}, module$contents$enable_goog_asserts_module = module$contents$enable_goog_asserts_module || {id:"javascript/common/asserts/enable_goog_asserts.closure.js"};
|
|
2049
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS = goog.DEBUG;
|
|
2045
2050
|
var module$exports$eeapiclient$domain_object = {}, module$contents$eeapiclient$domain_object_module = module$contents$eeapiclient$domain_object_module || {id:"javascript/typescript/contrib/apiclient/core/domain_object.closure.js"};
|
|
2046
2051
|
module$exports$eeapiclient$domain_object.ObjectMapMetadata = function() {
|
|
2047
2052
|
};
|
|
@@ -2115,9 +2120,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2115
2120
|
};
|
|
2116
2121
|
var module$contents$eeapiclient$domain_object_CopyValueGetter, module$contents$eeapiclient$domain_object_CopyValueSetter, module$contents$eeapiclient$domain_object_CopyConstructor, module$contents$eeapiclient$domain_object_CopyInstanciator;
|
|
2117
2122
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2118
|
-
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$
|
|
2119
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2120
|
-
var key = $jscomp$key$
|
|
2123
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
2124
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2125
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2121
2126
|
if (value != null) {
|
|
2122
2127
|
var copy = void 0;
|
|
2123
2128
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2128,11 +2133,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2128
2133
|
} else if (objects.hasOwnProperty(key)) {
|
|
2129
2134
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2130
2135
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2131
|
-
$jscomp$loop$
|
|
2136
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2132
2137
|
return function(v) {
|
|
2133
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2138
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2134
2139
|
};
|
|
2135
|
-
}($jscomp$loop$
|
|
2140
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2136
2141
|
} else if (Array.isArray(value)) {
|
|
2137
2142
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2138
2143
|
continue;
|
|
@@ -2147,8 +2152,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2147
2152
|
return target;
|
|
2148
2153
|
}
|
|
2149
2154
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2150
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2151
|
-
var mapKey = $jscomp$key$
|
|
2155
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
2156
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2152
2157
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2153
2158
|
}
|
|
2154
2159
|
return objMap;
|
|
@@ -2178,39 +2183,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2178
2183
|
if (!(module$contents$eeapiclient$domain_object_sameKeys(keys1, metadata2.keys || []) && module$contents$eeapiclient$domain_object_sameKeys(arrays1, arrays2) && module$contents$eeapiclient$domain_object_sameKeys(objects1, objects2) && module$contents$eeapiclient$domain_object_sameKeys(objectMaps1, objectMaps2))) {
|
|
2179
2184
|
return !1;
|
|
2180
2185
|
}
|
|
2181
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2182
|
-
var key = $jscomp$key$
|
|
2186
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
2187
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2183
2188
|
if (has1 !== has2) {
|
|
2184
2189
|
return !1;
|
|
2185
2190
|
}
|
|
2186
2191
|
if (has1) {
|
|
2187
2192
|
var value1 = serializable1.Serializable$get(key);
|
|
2188
|
-
$jscomp$loop$
|
|
2193
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2189
2194
|
if (arrays1.hasOwnProperty(key)) {
|
|
2190
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2195
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2191
2196
|
return !1;
|
|
2192
2197
|
}
|
|
2193
2198
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2194
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2199
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2195
2200
|
return !1;
|
|
2196
2201
|
}
|
|
2197
2202
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2198
|
-
if ($jscomp$loop$
|
|
2199
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2203
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2204
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2200
2205
|
return function(v1, i) {
|
|
2201
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2206
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2202
2207
|
};
|
|
2203
|
-
}($jscomp$loop$
|
|
2208
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2204
2209
|
return !1;
|
|
2205
2210
|
}
|
|
2206
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2211
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2207
2212
|
return !1;
|
|
2208
2213
|
}
|
|
2209
2214
|
} else if (Array.isArray(value1)) {
|
|
2210
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2215
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2211
2216
|
return !1;
|
|
2212
2217
|
}
|
|
2213
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2218
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2214
2219
|
return !1;
|
|
2215
2220
|
}
|
|
2216
2221
|
}
|
|
@@ -2232,8 +2237,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2232
2237
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2233
2238
|
return !1;
|
|
2234
2239
|
}
|
|
2235
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2236
|
-
var mapKey = $jscomp$key$
|
|
2240
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
2241
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2237
2242
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2238
2243
|
return !1;
|
|
2239
2244
|
}
|
|
@@ -2314,15 +2319,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2314
2319
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2315
2320
|
};
|
|
2316
2321
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2317
|
-
var $jscomp$this$
|
|
2322
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2318
2323
|
payload += this._metadataPayload;
|
|
2319
2324
|
return Promise.all(this.files.map(function(f) {
|
|
2320
|
-
return $jscomp$this$
|
|
2325
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2321
2326
|
})).then(function(filePayloads) {
|
|
2322
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2323
|
-
payload += $jscomp$key$
|
|
2327
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
|
|
2328
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2324
2329
|
}
|
|
2325
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2330
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2326
2331
|
});
|
|
2327
2332
|
};
|
|
2328
2333
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2772,7 +2777,7 @@ goog.debug.Error = module$contents$goog$debug$Error_DebugError;
|
|
|
2772
2777
|
goog.dom = {};
|
|
2773
2778
|
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};
|
|
2774
2779
|
goog.asserts = {};
|
|
2775
|
-
goog.asserts.ENABLE_ASSERTS =
|
|
2780
|
+
goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
|
|
2776
2781
|
function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
|
|
2777
2782
|
module$contents$goog$debug$Error_DebugError.call(this, module$contents$goog$asserts_subs(messagePattern, messageArgs));
|
|
2778
2783
|
this.messagePattern = messagePattern;
|
|
@@ -2802,53 +2807,53 @@ function module$contents$goog$asserts_doAssertFailure(defaultMessage, defaultArg
|
|
|
2802
2807
|
module$contents$goog$asserts_errorHandler_(e);
|
|
2803
2808
|
}
|
|
2804
2809
|
goog.asserts.setErrorHandler = function(errorHandler) {
|
|
2805
|
-
|
|
2810
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && (module$contents$goog$asserts_errorHandler_ = errorHandler);
|
|
2806
2811
|
};
|
|
2807
2812
|
goog.asserts.assert = function(condition, opt_message, var_args) {
|
|
2808
|
-
|
|
2813
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !condition && module$contents$goog$asserts_doAssertFailure("", null, opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2809
2814
|
return condition;
|
|
2810
2815
|
};
|
|
2811
2816
|
goog.asserts.assertExists = function(value, opt_message, var_args) {
|
|
2812
|
-
|
|
2817
|
+
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));
|
|
2813
2818
|
return value;
|
|
2814
2819
|
};
|
|
2815
2820
|
goog.asserts.fail = function(opt_message, var_args) {
|
|
2816
|
-
|
|
2821
|
+
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)));
|
|
2817
2822
|
};
|
|
2818
2823
|
goog.asserts.assertNumber = function(value, opt_message, var_args) {
|
|
2819
|
-
|
|
2824
|
+
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));
|
|
2820
2825
|
return value;
|
|
2821
2826
|
};
|
|
2822
2827
|
goog.asserts.assertString = function(value, opt_message, var_args) {
|
|
2823
|
-
|
|
2828
|
+
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));
|
|
2824
2829
|
return value;
|
|
2825
2830
|
};
|
|
2826
2831
|
goog.asserts.assertFunction = function(value, opt_message, var_args) {
|
|
2827
|
-
|
|
2832
|
+
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));
|
|
2828
2833
|
return value;
|
|
2829
2834
|
};
|
|
2830
2835
|
goog.asserts.assertObject = function(value, opt_message, var_args) {
|
|
2831
|
-
|
|
2836
|
+
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));
|
|
2832
2837
|
return value;
|
|
2833
2838
|
};
|
|
2834
2839
|
goog.asserts.assertArray = function(value, opt_message, var_args) {
|
|
2835
|
-
|
|
2840
|
+
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));
|
|
2836
2841
|
return value;
|
|
2837
2842
|
};
|
|
2838
2843
|
goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
2839
|
-
|
|
2844
|
+
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));
|
|
2840
2845
|
return value;
|
|
2841
2846
|
};
|
|
2842
2847
|
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
2843
|
-
!
|
|
2848
|
+
!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));
|
|
2844
2849
|
return value;
|
|
2845
2850
|
};
|
|
2846
2851
|
goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
|
|
2847
|
-
!
|
|
2852
|
+
!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));
|
|
2848
2853
|
return value;
|
|
2849
2854
|
};
|
|
2850
2855
|
goog.asserts.assertFinite = function(value, opt_message, var_args) {
|
|
2851
|
-
!
|
|
2856
|
+
!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));
|
|
2852
2857
|
return value;
|
|
2853
2858
|
};
|
|
2854
2859
|
function module$contents$goog$asserts_getType(value) {
|
|
@@ -2972,8 +2977,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2972
2977
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
2973
2978
|
}
|
|
2974
2979
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2975
|
-
var $jscomp$templatelit$
|
|
2976
|
-
["\\0"]), $jscomp$templatelit$
|
|
2980
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2981
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
2977
2982
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2978
2983
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2979
2984
|
throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
|
|
@@ -2987,14 +2992,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2987
2992
|
return fn.toString().indexOf("`") === -1;
|
|
2988
2993
|
}
|
|
2989
2994
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2990
|
-
return tag($jscomp$templatelit$
|
|
2995
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2991
2996
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2992
|
-
return tag($jscomp$templatelit$
|
|
2997
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2993
2998
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2994
|
-
return tag($jscomp$templatelit$
|
|
2999
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2995
3000
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2996
|
-
return tag($jscomp$templatelit$
|
|
2997
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3001
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
3002
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
2998
3003
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2999
3004
|
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)) ?
|
|
3000
3005
|
!0 : !1;
|
|
@@ -3076,7 +3081,7 @@ module$exports$safevalues$builders$url_builders.SanitizableUrlScheme = {TEL:modu
|
|
|
3076
3081
|
}), MAILTO:module$contents$safevalues$builders$url_builders_simpleScheme("mailto"), INTENT:module$contents$safevalues$builders$url_builders_simpleScheme("intent"), MARKET:module$contents$safevalues$builders$url_builders_simpleScheme("market"), ITMS:module$contents$safevalues$builders$url_builders_simpleScheme("itms"), ITMS_APPSS:module$contents$safevalues$builders$url_builders_simpleScheme("itms-appss"),
|
|
3077
3082
|
ITMS_SERVICES:module$contents$safevalues$builders$url_builders_simpleScheme("itms-services"), FACEBOOK_MESSENGER:module$contents$safevalues$builders$url_builders_simpleScheme("fb-messenger"), WHATSAPP:module$contents$safevalues$builders$url_builders_simpleScheme("whatsapp"), SIP:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
3078
3083
|
return url.indexOf("sip:") === 0 || url.indexOf("sips:") === 0;
|
|
3079
|
-
}), SMS:module$contents$safevalues$builders$url_builders_simpleScheme("sms"), VND_YOUTUBE:module$contents$safevalues$builders$url_builders_simpleScheme("vnd.youtube")};
|
|
3084
|
+
}), SMS:module$contents$safevalues$builders$url_builders_simpleScheme("sms"), VND_YOUTUBE:module$contents$safevalues$builders$url_builders_simpleScheme("vnd.youtube"), GOOGLEHOME:module$contents$safevalues$builders$url_builders_simpleScheme("googlehome"), GOOGLEHOMESDK:module$contents$safevalues$builders$url_builders_simpleScheme("googlehomesdk")};
|
|
3080
3085
|
var module$contents$safevalues$builders$url_builders_DEFAULT_SCHEMES = [module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.DATA, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.HTTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.HTTPS, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.MAILTO,
|
|
3081
3086
|
module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.FTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.RELATIVE];
|
|
3082
3087
|
function module$contents$safevalues$builders$url_builders_trySanitizeUrl(url, allowedSchemes) {
|
|
@@ -4404,9 +4409,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
4404
4409
|
}
|
|
4405
4410
|
}
|
|
4406
4411
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
4407
|
-
var $jscomp$tmp$error$
|
|
4408
|
-
this.message = $jscomp$tmp$error$
|
|
4409
|
-
"stack" in $jscomp$tmp$error$
|
|
4412
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
4413
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
4414
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
4410
4415
|
this.type = type;
|
|
4411
4416
|
this.intent = intent;
|
|
4412
4417
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -4513,7 +4518,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
4513
4518
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
4514
4519
|
};
|
|
4515
4520
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
4516
|
-
var $jscomp$optchain$
|
|
4521
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
4517
4522
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
4518
4523
|
}
|
|
4519
4524
|
;var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"}, module$contents$safevalues$internals$script_impl_trustedTypes = goog.global.trustedTypes;
|
|
@@ -5180,9 +5185,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
5180
5185
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
5181
5186
|
var module$exports$safevalues$dom$globals$fetch = {}, module$contents$safevalues$dom$globals$fetch_module = module$contents$safevalues$dom$globals$fetch_module || {id:"third_party/javascript/safevalues/dom/globals/fetch.closure.js"};
|
|
5182
5187
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
5183
|
-
var $jscomp$tmp$error$
|
|
5184
|
-
this.message = $jscomp$tmp$error$
|
|
5185
|
-
"stack" in $jscomp$tmp$error$
|
|
5188
|
+
var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
5189
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
5190
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
5186
5191
|
this.url = url;
|
|
5187
5192
|
this.typeName = typeName;
|
|
5188
5193
|
this.contentType = contentType;
|
|
@@ -5194,48 +5199,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
5194
5199
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
5195
5200
|
}
|
|
5196
5201
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
5197
|
-
var response, $jscomp$optchain$
|
|
5198
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5199
|
-
if ($jscomp$generator$context$
|
|
5200
|
-
return $jscomp$generator$context$
|
|
5201
|
-
}
|
|
5202
|
-
response = $jscomp$generator$context$
|
|
5203
|
-
mimeType = ($jscomp$optchain$
|
|
5204
|
-
return $jscomp$generator$context$
|
|
5202
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
5203
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
5204
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
5205
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
5206
|
+
}
|
|
5207
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
5208
|
+
mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
5209
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
5205
5210
|
var text;
|
|
5206
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5207
|
-
if ($jscomp$generator$context$
|
|
5211
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
5212
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
5208
5213
|
if (mimeType !== "text/html") {
|
|
5209
5214
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
5210
5215
|
}
|
|
5211
|
-
return $jscomp$generator$context$
|
|
5216
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
5212
5217
|
}
|
|
5213
|
-
text = $jscomp$generator$context$
|
|
5214
|
-
return $jscomp$generator$context$
|
|
5218
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
5219
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
5215
5220
|
});
|
|
5216
5221
|
}, script:function() {
|
|
5217
5222
|
var text;
|
|
5218
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5219
|
-
if ($jscomp$generator$context$
|
|
5223
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
5224
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
5220
5225
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
5221
5226
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
5222
5227
|
}
|
|
5223
|
-
return $jscomp$generator$context$
|
|
5228
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
5224
5229
|
}
|
|
5225
|
-
text = $jscomp$generator$context$
|
|
5226
|
-
return $jscomp$generator$context$
|
|
5230
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
5231
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
5227
5232
|
});
|
|
5228
5233
|
}, styleSheet:function() {
|
|
5229
5234
|
var text;
|
|
5230
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5231
|
-
if ($jscomp$generator$context$
|
|
5235
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
5236
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
5232
5237
|
if (mimeType !== "text/css") {
|
|
5233
5238
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
5234
5239
|
}
|
|
5235
|
-
return $jscomp$generator$context$
|
|
5240
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
5236
5241
|
}
|
|
5237
|
-
text = $jscomp$generator$context$
|
|
5238
|
-
return $jscomp$generator$context$
|
|
5242
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
5243
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
5239
5244
|
});
|
|
5240
5245
|
}});
|
|
5241
5246
|
});
|
|
@@ -6657,8 +6662,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6657
6662
|
}
|
|
6658
6663
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6659
6664
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6660
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6661
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6665
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
|
|
6666
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6662
6667
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6663
6668
|
}
|
|
6664
6669
|
return urlQueryParams;
|
|
@@ -6669,8 +6674,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6669
6674
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6670
6675
|
if (params.headers) {
|
|
6671
6676
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6672
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6673
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6677
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
|
|
6678
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6674
6679
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6675
6680
|
}
|
|
6676
6681
|
}
|
|
@@ -6710,9 +6715,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6710
6715
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6711
6716
|
};
|
|
6712
6717
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6713
|
-
var $jscomp$this$
|
|
6718
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6714
6719
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6715
|
-
return $jscomp$this$
|
|
6720
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6716
6721
|
}));
|
|
6717
6722
|
};
|
|
6718
6723
|
var module$exports$eeapiclient$promise_request_service = {}, module$contents$eeapiclient$promise_request_service_module = module$contents$eeapiclient$promise_request_service_module || {id:"javascript/typescript/contrib/apiclient/request_service/promise_request_service.closure.js"};
|
|
@@ -6877,9 +6882,12 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_
|
|
|
6877
6882
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6878
6883
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6879
6884
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6880
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6885
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__disable = !1;
|
|
6881
6886
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__enable = !1;
|
|
6887
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__enable = !1;
|
|
6882
6888
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
|
|
6889
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6890
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
6883
6891
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6884
6892
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
6885
6893
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
|
|
@@ -6888,12 +6896,14 @@ goog.flags = {};
|
|
|
6888
6896
|
var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
|
|
6889
6897
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6890
6898
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6891
|
-
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ?
|
|
6892
|
-
module$contents$goog$flags_STAGING);
|
|
6893
|
-
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__enable : goog.readFlagInternalDoNotUseOrElse(641353869, goog.DEBUG);
|
|
6899
|
+
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);
|
|
6900
|
+
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = 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_direct_reactions__disable) : goog.readFlagInternalDoNotUseOrElse(641353869, module$contents$goog$flags_STAGING);
|
|
6894
6901
|
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__enable : goog.readFlagInternalDoNotUseOrElse(644029907, goog.DEBUG);
|
|
6902
|
+
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__enable : goog.readFlagInternalDoNotUseOrElse(1822726157, goog.DEBUG);
|
|
6895
6903
|
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable) : goog.readFlagInternalDoNotUseOrElse(645172343,
|
|
6896
6904
|
module$contents$goog$flags_STAGING);
|
|
6905
|
+
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);
|
|
6906
|
+
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);
|
|
6897
6907
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
6898
6908
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
6899
6909
|
goog.flags.TESTONLY_STAGING_FLAG = 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__testonly_staging_flag__disable) : goog.readFlagInternalDoNotUseOrElse(2147483646, module$contents$goog$flags_STAGING);
|
|
@@ -15208,10 +15218,10 @@ goog.dom.element.isHtmlScriptElement = function(value) {
|
|
|
15208
15218
|
};
|
|
15209
15219
|
goog.asserts.dom = {};
|
|
15210
15220
|
var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
15211
|
-
|
|
15221
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isHtmlElement(value) && goog.asserts.fail("Argument is not an HTML Element; got: " + module$contents$goog$asserts$dom_debugStringForType(value));
|
|
15212
15222
|
return value;
|
|
15213
15223
|
}, module$contents$goog$asserts$dom_assertIsHtmlElementOfType = function(value, tagName) {
|
|
15214
|
-
|
|
15224
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isHtmlElementOfType(value, tagName) && goog.asserts.fail("Argument is not an HTML Element with tag name " + (tagName.toString() + "; got: " + module$contents$goog$asserts$dom_debugStringForType(value)));
|
|
15215
15225
|
return value;
|
|
15216
15226
|
}, module$contents$goog$asserts$dom_assertIsHtmlAnchorElement = function(value) {
|
|
15217
15227
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.A);
|
|
@@ -15243,7 +15253,7 @@ var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
|
15243
15253
|
}
|
|
15244
15254
|
};
|
|
15245
15255
|
goog.asserts.dom.assertIsElement = function(value) {
|
|
15246
|
-
|
|
15256
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isElement(value) && goog.asserts.fail("Argument is not an Element; got: " + module$contents$goog$asserts$dom_debugStringForType(value));
|
|
15247
15257
|
return value;
|
|
15248
15258
|
};
|
|
15249
15259
|
goog.asserts.dom.assertIsHtmlElement = module$contents$goog$asserts$dom_assertIsHtmlElement;
|
|
@@ -15277,7 +15287,7 @@ goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
|
15277
15287
|
goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
|
|
15278
15288
|
goog.dom.BrowserFeature = {};
|
|
15279
15289
|
goog.dom.BrowserFeature.ASSUME_NO_OFFSCREEN_CANVAS = !1;
|
|
15280
|
-
goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS =
|
|
15290
|
+
goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS = goog.FEATURESET_YEAR >= 2024;
|
|
15281
15291
|
goog.dom.BrowserFeature.detectOffscreenCanvas_ = function(contextName) {
|
|
15282
15292
|
try {
|
|
15283
15293
|
return !!(new self.OffscreenCanvas(0, 0)).getContext(contextName);
|
|
@@ -15286,14 +15296,10 @@ goog.dom.BrowserFeature.detectOffscreenCanvas_ = function(contextName) {
|
|
|
15286
15296
|
return !1;
|
|
15287
15297
|
};
|
|
15288
15298
|
goog.dom.BrowserFeature.OFFSCREEN_CANVAS_2D = !goog.dom.BrowserFeature.ASSUME_NO_OFFSCREEN_CANVAS && (goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS || goog.dom.BrowserFeature.detectOffscreenCanvas_("2d"));
|
|
15289
|
-
goog.dom.BrowserFeature.
|
|
15290
|
-
goog.dom.BrowserFeature.CAN_USE_CHILDREN_ATTRIBUTE = !0;
|
|
15291
|
-
goog.dom.BrowserFeature.CAN_USE_INNER_TEXT = !1;
|
|
15292
|
-
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = goog.userAgent.WEBKIT;
|
|
15293
|
-
goog.dom.BrowserFeature.INNER_HTML_NEEDS_SCOPED_ELEMENT = !1;
|
|
15299
|
+
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = !0;
|
|
15294
15300
|
goog.dom.asserts = {};
|
|
15295
15301
|
goog.dom.asserts.assertIsLocation = function(o) {
|
|
15296
|
-
if (
|
|
15302
|
+
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
|
|
15297
15303
|
var win = goog.dom.asserts.getWindow_(o);
|
|
15298
15304
|
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));
|
|
15299
15305
|
}
|
|
@@ -15547,8 +15553,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15547
15553
|
this.replacements = new Map();
|
|
15548
15554
|
};
|
|
15549
15555
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15550
|
-
var $jscomp$this$
|
|
15551
|
-
return $jscomp$this$
|
|
15556
|
+
var $jscomp$this$1018007701$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
15557
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
15552
15558
|
});
|
|
15553
15559
|
if (openedTags.length !== 0) {
|
|
15554
15560
|
if (goog.DEBUG) {
|
|
@@ -15693,7 +15699,7 @@ function module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sani
|
|
|
15693
15699
|
}
|
|
15694
15700
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.isCustomElement = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement;
|
|
15695
15701
|
var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/default_sanitizer_table.closure.js"},
|
|
15696
|
-
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
|
|
15702
|
+
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
|
|
15697
15703
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])], ["AREA", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],
|
|
15698
15704
|
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
|
|
15699
15705
|
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
|
|
@@ -15758,8 +15764,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15758
15764
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15759
15765
|
};
|
|
15760
15766
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15761
|
-
for (var $jscomp$this$
|
|
15762
|
-
return $jscomp$this$
|
|
15767
|
+
for (var $jscomp$this$m1085474118$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
15768
|
+
return $jscomp$this$m1085474118$10.nodeFilter(n);
|
|
15763
15769
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
15764
15770
|
var sanitizedNode = void 0;
|
|
15765
15771
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15794,8 +15800,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15794
15800
|
return this.createTextNode(textNode.data);
|
|
15795
15801
|
};
|
|
15796
15802
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15797
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$32 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$
|
|
15798
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15803
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$32 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$31$ = $jscomp$iter$32.next(); !$jscomp$key$m1085474118$31$.done; $jscomp$key$m1085474118$31$ = $jscomp$iter$32.next()) {
|
|
15804
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1085474118$31$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
15799
15805
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15800
15806
|
switch(policy.policyAction) {
|
|
15801
15807
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15827,9 +15833,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15827
15833
|
break;
|
|
15828
15834
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
15829
15835
|
if (this.resourceUrlPolicy) {
|
|
15830
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, tagName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$31 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
15836
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, tagName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$31 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$30$part = $jscomp$iter$31.next(); !$jscomp$key$m1085474118$30$part.done; $jscomp$key$m1085474118$30$part =
|
|
15831
15837
|
$jscomp$iter$31.next()) {
|
|
15832
|
-
var part = $jscomp$key$
|
|
15838
|
+
var part = $jscomp$key$m1085474118$30$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
15833
15839
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
15834
15840
|
}
|
|
15835
15841
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -15873,8 +15879,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15873
15879
|
if (!conditions) {
|
|
15874
15880
|
return !0;
|
|
15875
15881
|
}
|
|
15876
|
-
for (var $jscomp$iter$33 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
15877
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15882
|
+
for (var $jscomp$iter$33 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$32$ = $jscomp$iter$33.next(); !$jscomp$key$m1085474118$32$.done; $jscomp$key$m1085474118$32$ = $jscomp$iter$33.next()) {
|
|
15883
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$32$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
15878
15884
|
if (value && !expectedValues.has(value)) {
|
|
15879
15885
|
return !1;
|
|
15880
15886
|
}
|
|
@@ -15889,8 +15895,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
15889
15895
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
15890
15896
|
};
|
|
15891
15897
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
15892
|
-
for (var parts = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
15893
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15898
|
+
for (var parts = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$33$part = $jscomp$iter$34.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part = $jscomp$iter$34.next()) {
|
|
15899
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$33$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var34.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var34.next().value;
|
|
15894
15900
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
15895
15901
|
}
|
|
15896
15902
|
return {parts:parts};
|
|
@@ -15947,8 +15953,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15947
15953
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
15948
15954
|
};
|
|
15949
15955
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15950
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$35 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
15951
|
-
var element = $jscomp$key$
|
|
15956
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$35 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$0$element = $jscomp$iter$35.next(); !$jscomp$key$435282654$0$element.done; $jscomp$key$435282654$0$element = $jscomp$iter$35.next()) {
|
|
15957
|
+
var element = $jscomp$key$435282654$0$element.value;
|
|
15952
15958
|
element = element.toUpperCase();
|
|
15953
15959
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15954
15960
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15966,8 +15972,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15966
15972
|
throw Error("Element: " + element + " is not a custom element");
|
|
15967
15973
|
}
|
|
15968
15974
|
if (allowedAttributes) {
|
|
15969
|
-
for (var elementPolicy = new Map(), $jscomp$iter$36 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
15970
|
-
elementPolicy.set($jscomp$key$
|
|
15975
|
+
for (var elementPolicy = new Map(), $jscomp$iter$36 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$1$attribute = $jscomp$iter$36.next(); !$jscomp$key$435282654$1$attribute.done; $jscomp$key$435282654$1$attribute = $jscomp$iter$36.next()) {
|
|
15976
|
+
elementPolicy.set($jscomp$key$435282654$1$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15971
15977
|
}
|
|
15972
15978
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15973
15979
|
} else {
|
|
@@ -15977,15 +15983,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15977
15983
|
return this;
|
|
15978
15984
|
};
|
|
15979
15985
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15980
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$37 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
15981
|
-
var attribute = $jscomp$key$
|
|
15986
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$37 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$2$attribute = $jscomp$iter$37.next(); !$jscomp$key$435282654$2$attribute.done; $jscomp$key$435282654$2$attribute = $jscomp$iter$37.next()) {
|
|
15987
|
+
var attribute = $jscomp$key$435282654$2$attribute.value;
|
|
15982
15988
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15983
15989
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15984
15990
|
}
|
|
15985
|
-
for (var $jscomp$iter$39 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
15986
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15991
|
+
for (var $jscomp$iter$39 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$4$ = $jscomp$iter$39.next(); !$jscomp$key$435282654$4$.done; $jscomp$key$435282654$4$ = $jscomp$iter$39.next()) {
|
|
15992
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$435282654$4$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$38 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$3$ = $jscomp$iter$38.next(); !$jscomp$key$435282654$3$.done; $jscomp$key$435282654$3$ =
|
|
15987
15993
|
$jscomp$iter$38.next()) {
|
|
15988
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15994
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$435282654$3$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
15989
15995
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15990
15996
|
}
|
|
15991
15997
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15994,8 +16000,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15994
16000
|
return this;
|
|
15995
16001
|
};
|
|
15996
16002
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15997
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$40 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
15998
|
-
var attribute = $jscomp$key$
|
|
16003
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$40 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$5$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$5$attribute.done; $jscomp$key$435282654$5$attribute = $jscomp$iter$40.next()) {
|
|
16004
|
+
var attribute = $jscomp$key$435282654$5$attribute.value;
|
|
15999
16005
|
if (attribute.indexOf("data-") !== 0) {
|
|
16000
16006
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
16001
16007
|
}
|
|
@@ -16250,12 +16256,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16250
16256
|
}
|
|
16251
16257
|
try {
|
|
16252
16258
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16253
|
-
} catch ($jscomp$unused$catch$
|
|
16259
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
16254
16260
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16255
16261
|
}
|
|
16256
16262
|
try {
|
|
16257
16263
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16258
|
-
} catch ($jscomp$unused$catch$
|
|
16264
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
16259
16265
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16260
16266
|
}
|
|
16261
16267
|
return !1;
|
|
@@ -16296,6 +16302,7 @@ module$exports$safevalues$index.sanitizeHtml = module$contents$safevalues$builde
|
|
|
16296
16302
|
module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
16297
16303
|
module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
16298
16304
|
module$exports$safevalues$index.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
16305
|
+
module$exports$safevalues$index.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
16299
16306
|
module$exports$safevalues$index.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16300
16307
|
module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
16301
16308
|
module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
@@ -16375,7 +16382,7 @@ goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
|
|
|
16375
16382
|
elem.innerHTML = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
|
|
16376
16383
|
};
|
|
16377
16384
|
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
16378
|
-
if (
|
|
16385
|
+
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
16379
16386
|
throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + elem.tagName + ".");
|
|
16380
16387
|
}
|
|
16381
16388
|
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(elem, html);
|
|
@@ -17000,7 +17007,7 @@ goog.dom.isWindow = function(obj) {
|
|
|
17000
17007
|
};
|
|
17001
17008
|
goog.dom.getParentElement = function(element) {
|
|
17002
17009
|
var parent;
|
|
17003
|
-
if (goog.
|
|
17010
|
+
if (goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY && (parent = element.parentElement)) {
|
|
17004
17011
|
return parent;
|
|
17005
17012
|
}
|
|
17006
17013
|
parent = element.parentNode;
|
|
@@ -18108,10 +18115,6 @@ module$contents$goog$async$Throttle_Throttle.prototype.doAction_ = function() {
|
|
|
18108
18115
|
this.listener_.apply(null, args);
|
|
18109
18116
|
};
|
|
18110
18117
|
goog.async.Throttle = module$contents$goog$async$Throttle_Throttle;
|
|
18111
|
-
goog.promise.deferredBase = {};
|
|
18112
|
-
function module$contents$goog$promise$deferredBase_DeferredBaseDoNotUse() {
|
|
18113
|
-
}
|
|
18114
|
-
goog.promise.deferredBase.DeferredBaseDoNotUse = module$contents$goog$promise$deferredBase_DeferredBaseDoNotUse;
|
|
18115
18118
|
/*
|
|
18116
18119
|
|
|
18117
18120
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
@@ -18134,7 +18137,6 @@ goog.async.Deferred = function(opt_onCancelFunction, opt_defaultScope) {
|
|
|
18134
18137
|
typeof target.stack == "string" && (this.constructorStack_ = target.stack.replace(/^[^\n]*\n/, ""));
|
|
18135
18138
|
}
|
|
18136
18139
|
};
|
|
18137
|
-
goog.inherits(goog.async.Deferred, module$contents$goog$promise$deferredBase_DeferredBaseDoNotUse);
|
|
18138
18140
|
goog.async.Deferred.STRICT_ERRORS = !1;
|
|
18139
18141
|
goog.async.Deferred.LONG_STACK_TRACES = !1;
|
|
18140
18142
|
goog.async.Deferred.prototype.cancel = function(opt_deepCancel) {
|
|
@@ -19085,6 +19087,9 @@ safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$htm
|
|
|
19085
19087
|
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19086
19088
|
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19087
19089
|
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19090
|
+
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19091
|
+
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
19092
|
+
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
19088
19093
|
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19089
19094
|
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19090
19095
|
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
@@ -19140,7 +19145,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19140
19145
|
ee.apiclient = {};
|
|
19141
19146
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19142
19147
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19143
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19148
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.414";
|
|
19144
19149
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19145
19150
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19146
19151
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19438,8 +19443,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19438
19443
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19439
19444
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19440
19445
|
method = method || "POST";
|
|
19441
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19442
|
-
version === "0.1.
|
|
19446
|
+
var headers = {"Content-Type":contentType}, version = "0.1.414";
|
|
19447
|
+
version === "0.1.414" && (version = "latest");
|
|
19443
19448
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19444
19449
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19445
19450
|
if (authToken != null) {
|
|
@@ -26968,29 +26973,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26968
26973
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26969
26974
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26970
26975
|
(function() {
|
|
26971
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26972
|
-
orderedParamLists = [["name", "
|
|
26973
|
-
"
|
|
26974
|
-
"collection opt_description
|
|
26975
|
-
"collection opt_description
|
|
26976
|
-
["
|
|
26977
|
-
"
|
|
26978
|
-
["
|
|
26979
|
-
"
|
|
26980
|
-
["
|
|
26981
|
-
"
|
|
26982
|
-
"
|
|
26983
|
-
"
|
|
26984
|
-
[
|
|
26985
|
-
|
|
26986
|
-
|
|
26987
|
-
ee.
|
|
26988
|
-
ee.data.
|
|
26989
|
-
ee.
|
|
26990
|
-
ee.
|
|
26991
|
-
ee.
|
|
26992
|
-
ee.
|
|
26993
|
-
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.List, ee.Number, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26976
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.computeValue ee.data.setDefaultWorkloadTag ee.data.getInfo ee.data.getThumbId ee.data.createAsset ee.data.cancelTask ee.data.resetWorkloadTag ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.updateTask ee.data.updateAsset ee.data.getList ee.data.getFilmstripThumbId ee.data.startIngestion ee.data.startProcessing ee.data.createFolder ee.data.makeThumbUrl ee.data.setAssetAcl ee.data.authenticateViaOauth ee.data.renameAsset ee.data.getMapId ee.data.listAssets ee.data.getTaskList ee.data.setAssetProperties ee.data.getTableDownloadId ee.data.authenticate ee.data.copyAsset ee.data.listBuckets ee.data.getTileUrl ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.listOperations ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.deleteAsset ee.data.getWorkloadTag ee.data.getDownloadId ee.data.cancelOperation ee.data.getFeatureViewTilesKey ee.data.makeDownloadUrl ee.data.listImages ee.data.authenticateViaPopup ee.data.getAssetAcl ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.setWorkloadTag ee.data.getOperation ee.data.authenticateViaPrivateKey ee.data.createAssetHome ee.data.newTaskId ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.reset ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Filter.metadata ee.Filter.and ee.Filter.inList ee.Filter.prototype.not ee.Filter.gt ee.Filter.lt ee.Filter.neq ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiPolygon ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.LineString ee.Geometry.Rectangle ee.Geometry ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image ee.Image.cat ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.select ee.ImageCollection ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
|
|
26977
|
+
orderedParamLists = [["name", "var_args"], ["name", "namedArgs"], ["name"], "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
26978
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
26979
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
26980
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["max", "opt_property", "opt_ascending"], ["start", "opt_end"], ["property", "opt_ascending"],
|
|
26981
|
+
["name", "operator", "value"], ["geometry"], ["filter"], ["callback"], ["func", "var_args"], ["opt_callback"], ["legacy"], ["obj", "opt_callback"], ["tag"], ["id", "opt_callback"], ["params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["taskId", "opt_callback"], ["opt_resetDefault"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"],
|
|
26982
|
+
["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], ["assetId", "aclUpdate", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["sourceId", "destinationId", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["opt_callback"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"],
|
|
26983
|
+
["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["id", "x", "y", "z"], ["id"], ["opt_limit", "opt_callback"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["rootId", "opt_callback"], ["assetId", "opt_callback"], [], ["params", "opt_callback"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["id"], ["parent", "opt_params", "opt_callback"],
|
|
26984
|
+
["opt_success", "opt_error"], ["assetId", "opt_callback"], ["asset", "params", "opt_callback"], ["id", "opt_callback"], ["opt_callback"], ["tag"], ["operationName", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], [], [], ["func", "namedArgs"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
26985
|
+
["func", "var_args"], ["var_args"], [], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["geometry", "opt_errorMargin"], ["name",
|
|
26986
|
+
"operator", "value"], ["var_args"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["name", "value"], ["name", "value"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], [], ["west", "south", "east", "north"],
|
|
26987
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["geometry"], ["opt_args"], ["var_args"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["r", "g", "b"], ["expression",
|
|
26988
|
+
"opt_map"], ["var_args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["opt_visParams", "opt_callback"], ["opt_callback"], ["params", "opt_callback"], ["selectors", "opt_names"], ["args"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26989
|
+
[ee.ApiFunction._call, ee.ApiFunction._apply, ee.ApiFunction.lookup, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toAsset,
|
|
26990
|
+
module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.Collection.prototype.filterDate, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filter, ee.ComputedObject.prototype.evaluate,
|
|
26991
|
+
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.computeValue, ee.data.setDefaultWorkloadTag, ee.data.getInfo, ee.data.getThumbId, ee.data.createAsset, ee.data.cancelTask, ee.data.resetWorkloadTag, ee.data.getVideoThumbId, ee.data.getTaskStatus, ee.data.updateTask, ee.data.updateAsset, ee.data.getList, ee.data.getFilmstripThumbId, ee.data.startIngestion, ee.data.startProcessing, ee.data.createFolder, ee.data.makeThumbUrl, ee.data.setAssetAcl,
|
|
26992
|
+
ee.data.authenticateViaOauth, ee.data.renameAsset, ee.data.getMapId, ee.data.listAssets, ee.data.getTaskList, ee.data.setAssetProperties, ee.data.getTableDownloadId, ee.data.authenticate, ee.data.copyAsset, ee.data.listBuckets, ee.data.getTileUrl, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.listOperations, ee.data.startTableIngestion, ee.data.getAssetRootQuota, ee.data.deleteAsset, ee.data.getWorkloadTag, ee.data.getDownloadId, ee.data.cancelOperation, ee.data.getFeatureViewTilesKey,
|
|
26993
|
+
ee.data.makeDownloadUrl, ee.data.listImages, ee.data.authenticateViaPopup, ee.data.getAssetAcl, ee.data.listFeatures, ee.data.getAsset, ee.data.getAssetRoots, ee.data.setWorkloadTag, ee.data.getOperation, ee.data.authenticateViaPrivateKey, ee.data.createAssetHome, ee.data.newTaskId, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.reset, ee.Algorithms, ee.InitState, ee.apply, ee.TILE_SIZE, ee.initialize,
|
|
26994
|
+
ee.call, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.bounds, ee.Filter.metadata, ee.Filter.and, ee.Filter.inList,
|
|
26995
|
+
ee.Filter.prototype.not, ee.Filter.gt, ee.Filter.lt, ee.Filter.neq, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.MultiPolygon, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.MultiPoint, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry.LineString, ee.Geometry.Rectangle, ee.Geometry, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.prototype.serialize, ee.Image.prototype.getMap,
|
|
26996
|
+
ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.Image.prototype.clip, ee.Image, ee.Image.cat, ee.Image.prototype.select, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.rgb, ee.Image.prototype.expression, ee.Image.prototype.rename, ee.Image.prototype.getDownloadURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getMapId,
|
|
26997
|
+
ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.select, ee.ImageCollection, ee.List, ee.Number, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toCloudApiJSON, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26994
26998
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26995
26999
|
});
|
|
26996
27000
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|