@google/earthengine 1.4.5 → 1.4.6
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 +370 -333
- package/build/ee_api_js.js +290 -290
- package/build/ee_api_js_debug.js +350 -312
- package/build/ee_api_js_npm.js +370 -333
- package/build/main.js +370 -333
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/data.js +0 -6
- package/src/geometry.js +0 -1
- package/src/serializer.js +1 -1
package/build/browser.js
CHANGED
|
@@ -169,7 +169,7 @@ $jscomp.underscoreProtoCanBeSet = function() {
|
|
|
169
169
|
}
|
|
170
170
|
return !1;
|
|
171
171
|
};
|
|
172
|
-
$jscomp.setPrototypeOf = $jscomp.TRUST_ES6_POLYFILLS && typeof Object.setPrototypeOf == "function" ? Object.setPrototypeOf : $jscomp.underscoreProtoCanBeSet() ? function(target, proto) {
|
|
172
|
+
$jscomp.setPrototypeOf = $jscomp.ASSUME_ES6 || $jscomp.TRUST_ES6_POLYFILLS && typeof Object.setPrototypeOf == "function" ? Object.setPrototypeOf : $jscomp.underscoreProtoCanBeSet() ? function(target, proto) {
|
|
173
173
|
target.__proto__ = proto;
|
|
174
174
|
if (target.__proto__ !== proto) {
|
|
175
175
|
throw new TypeError(target + " is not extensible");
|
|
@@ -179,7 +179,7 @@ $jscomp.setPrototypeOf = $jscomp.TRUST_ES6_POLYFILLS && typeof Object.setPrototy
|
|
|
179
179
|
$jscomp.inherits = function(childCtor, parentCtor) {
|
|
180
180
|
childCtor.prototype = $jscomp.objectCreate(parentCtor.prototype);
|
|
181
181
|
childCtor.prototype.constructor = childCtor;
|
|
182
|
-
if ($jscomp.setPrototypeOf) {
|
|
182
|
+
if ($jscomp.ASSUME_ES6 || $jscomp.setPrototypeOf) {
|
|
183
183
|
var setPrototypeOf = $jscomp.setPrototypeOf;
|
|
184
184
|
setPrototypeOf(childCtor, parentCtor);
|
|
185
185
|
} else {
|
|
@@ -2185,9 +2185,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2185
2185
|
};
|
|
2186
2186
|
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;
|
|
2187
2187
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2188
|
-
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$
|
|
2189
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2190
|
-
var key = $jscomp$key$
|
|
2188
|
+
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 =
|
|
2189
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2190
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2191
2191
|
if (value != null) {
|
|
2192
2192
|
var copy = void 0;
|
|
2193
2193
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2198,11 +2198,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2198
2198
|
} else if (objects.hasOwnProperty(key)) {
|
|
2199
2199
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2200
2200
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2201
|
-
$jscomp$loop$
|
|
2201
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2202
2202
|
return function(v) {
|
|
2203
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2203
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2204
2204
|
};
|
|
2205
|
-
}($jscomp$loop$
|
|
2205
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2206
2206
|
} else if (Array.isArray(value)) {
|
|
2207
2207
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2208
2208
|
continue;
|
|
@@ -2217,8 +2217,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2217
2217
|
return target;
|
|
2218
2218
|
}
|
|
2219
2219
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2220
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2221
|
-
var mapKey = $jscomp$key$
|
|
2220
|
+
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()) {
|
|
2221
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2222
2222
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2223
2223
|
}
|
|
2224
2224
|
return objMap;
|
|
@@ -2248,39 +2248,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2248
2248
|
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))) {
|
|
2249
2249
|
return !1;
|
|
2250
2250
|
}
|
|
2251
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2252
|
-
var key = $jscomp$key$
|
|
2251
|
+
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()) {
|
|
2252
|
+
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);
|
|
2253
2253
|
if (has1 !== has2) {
|
|
2254
2254
|
return !1;
|
|
2255
2255
|
}
|
|
2256
2256
|
if (has1) {
|
|
2257
2257
|
var value1 = serializable1.Serializable$get(key);
|
|
2258
|
-
$jscomp$loop$
|
|
2258
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2259
2259
|
if (arrays1.hasOwnProperty(key)) {
|
|
2260
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2260
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2261
2261
|
return !1;
|
|
2262
2262
|
}
|
|
2263
2263
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2264
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2264
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2265
2265
|
return !1;
|
|
2266
2266
|
}
|
|
2267
2267
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2268
|
-
if ($jscomp$loop$
|
|
2269
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2268
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2269
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2270
2270
|
return function(v1, i) {
|
|
2271
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2271
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2272
2272
|
};
|
|
2273
|
-
}($jscomp$loop$
|
|
2273
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2274
2274
|
return !1;
|
|
2275
2275
|
}
|
|
2276
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2276
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2277
2277
|
return !1;
|
|
2278
2278
|
}
|
|
2279
2279
|
} else if (Array.isArray(value1)) {
|
|
2280
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2280
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2281
2281
|
return !1;
|
|
2282
2282
|
}
|
|
2283
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2283
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2284
2284
|
return !1;
|
|
2285
2285
|
}
|
|
2286
2286
|
}
|
|
@@ -2302,8 +2302,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2302
2302
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2303
2303
|
return !1;
|
|
2304
2304
|
}
|
|
2305
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2306
|
-
var mapKey = $jscomp$key$
|
|
2305
|
+
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()) {
|
|
2306
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2307
2307
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2308
2308
|
return !1;
|
|
2309
2309
|
}
|
|
@@ -2384,15 +2384,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2384
2384
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2385
2385
|
};
|
|
2386
2386
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2387
|
-
var $jscomp$this$
|
|
2387
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2388
2388
|
payload += this._metadataPayload;
|
|
2389
2389
|
return Promise.all(this.files.map(function(f) {
|
|
2390
|
-
return $jscomp$this$
|
|
2390
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2391
2391
|
})).then(function(filePayloads) {
|
|
2392
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2393
|
-
payload += $jscomp$key$
|
|
2392
|
+
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()) {
|
|
2393
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2394
2394
|
}
|
|
2395
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2395
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2396
2396
|
});
|
|
2397
2397
|
};
|
|
2398
2398
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2733,86 +2733,93 @@ goog.object.transpose = function(obj) {
|
|
|
2733
2733
|
goog.object.unsafeClone = module$contents$goog$object_unsafeClone;
|
|
2734
2734
|
goog.string = {};
|
|
2735
2735
|
goog.string.internal = {};
|
|
2736
|
-
goog
|
|
2736
|
+
function module$contents$goog$string$internal_startsWith(str, prefix) {
|
|
2737
2737
|
return str.lastIndexOf(prefix, 0) == 0;
|
|
2738
|
-
}
|
|
2739
|
-
goog
|
|
2738
|
+
}
|
|
2739
|
+
function module$contents$goog$string$internal_endsWith(str, suffix) {
|
|
2740
2740
|
var l = str.length - suffix.length;
|
|
2741
2741
|
return l >= 0 && str.indexOf(suffix, l) == l;
|
|
2742
|
-
}
|
|
2743
|
-
goog
|
|
2744
|
-
return goog
|
|
2745
|
-
}
|
|
2746
|
-
goog
|
|
2747
|
-
return goog
|
|
2748
|
-
}
|
|
2749
|
-
goog
|
|
2742
|
+
}
|
|
2743
|
+
function module$contents$goog$string$internal_caseInsensitiveStartsWith(str, prefix) {
|
|
2744
|
+
return module$contents$goog$string$internal_caseInsensitiveCompare(prefix, str.slice(0, prefix.length)) == 0;
|
|
2745
|
+
}
|
|
2746
|
+
function module$contents$goog$string$internal_caseInsensitiveEndsWith(str, suffix) {
|
|
2747
|
+
return module$contents$goog$string$internal_caseInsensitiveCompare(suffix, str.slice(str.length - suffix.length)) == 0;
|
|
2748
|
+
}
|
|
2749
|
+
function module$contents$goog$string$internal_caseInsensitiveEquals(str1, str2) {
|
|
2750
2750
|
return str1.toLowerCase() == str2.toLowerCase();
|
|
2751
|
-
}
|
|
2752
|
-
goog
|
|
2751
|
+
}
|
|
2752
|
+
function module$contents$goog$string$internal_isEmptyOrWhitespace(str) {
|
|
2753
2753
|
return /^[\s\xa0]*$/.test(str);
|
|
2754
|
-
}
|
|
2755
|
-
goog
|
|
2754
|
+
}
|
|
2755
|
+
var module$contents$goog$string$internal_trim = goog.TRUSTED_SITE && (goog.FEATURESET_YEAR >= 2018 || String.prototype.trim) ? function(str) {
|
|
2756
2756
|
return str.trim();
|
|
2757
2757
|
} : function(str) {
|
|
2758
2758
|
return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(str)[1];
|
|
2759
2759
|
};
|
|
2760
|
-
goog
|
|
2760
|
+
function module$contents$goog$string$internal_caseInsensitiveCompare(str1, str2) {
|
|
2761
2761
|
var test1 = String(str1).toLowerCase(), test2 = String(str2).toLowerCase();
|
|
2762
2762
|
return test1 < test2 ? -1 : test1 == test2 ? 0 : 1;
|
|
2763
|
-
}
|
|
2764
|
-
goog
|
|
2763
|
+
}
|
|
2764
|
+
function module$contents$goog$string$internal_newLineToBr(str, opt_xml) {
|
|
2765
2765
|
return str.replace(/(\r\n|\r|\n)/g, opt_xml ? "<br />" : "<br>");
|
|
2766
|
-
}
|
|
2767
|
-
goog
|
|
2766
|
+
}
|
|
2767
|
+
function module$contents$goog$string$internal_htmlEscape(str, opt_isLikelyToContainHtmlChars) {
|
|
2768
2768
|
if (opt_isLikelyToContainHtmlChars) {
|
|
2769
|
-
str = str.replace(goog
|
|
2769
|
+
str = str.replace(module$contents$goog$string$internal_AMP_RE, "&").replace(module$contents$goog$string$internal_LT_RE, "<").replace(module$contents$goog$string$internal_GT_RE, ">").replace(module$contents$goog$string$internal_QUOT_RE, """).replace(module$contents$goog$string$internal_SINGLE_QUOTE_RE, "'").replace(module$contents$goog$string$internal_NULL_RE, "�");
|
|
2770
2770
|
} else {
|
|
2771
|
-
if (!goog
|
|
2771
|
+
if (!module$contents$goog$string$internal_ALL_RE.test(str)) {
|
|
2772
2772
|
return str;
|
|
2773
2773
|
}
|
|
2774
|
-
str.indexOf("&") != -1 && (str = str.replace(goog
|
|
2775
|
-
str.indexOf("<") != -1 && (str = str.replace(goog
|
|
2776
|
-
str.indexOf(">") != -1 && (str = str.replace(goog
|
|
2777
|
-
str.indexOf('"') != -1 && (str = str.replace(goog
|
|
2778
|
-
str.indexOf("'") != -1 && (str = str.replace(goog
|
|
2779
|
-
str.indexOf("\x00") != -1 && (str = str.replace(goog
|
|
2774
|
+
str.indexOf("&") != -1 && (str = str.replace(module$contents$goog$string$internal_AMP_RE, "&"));
|
|
2775
|
+
str.indexOf("<") != -1 && (str = str.replace(module$contents$goog$string$internal_LT_RE, "<"));
|
|
2776
|
+
str.indexOf(">") != -1 && (str = str.replace(module$contents$goog$string$internal_GT_RE, ">"));
|
|
2777
|
+
str.indexOf('"') != -1 && (str = str.replace(module$contents$goog$string$internal_QUOT_RE, """));
|
|
2778
|
+
str.indexOf("'") != -1 && (str = str.replace(module$contents$goog$string$internal_SINGLE_QUOTE_RE, "'"));
|
|
2779
|
+
str.indexOf("\x00") != -1 && (str = str.replace(module$contents$goog$string$internal_NULL_RE, "�"));
|
|
2780
2780
|
}
|
|
2781
2781
|
return str;
|
|
2782
|
-
}
|
|
2783
|
-
goog
|
|
2784
|
-
goog
|
|
2785
|
-
goog.string.internal.GT_RE_ = />/g;
|
|
2786
|
-
goog.string.internal.QUOT_RE_ = /"/g;
|
|
2787
|
-
goog.string.internal.SINGLE_QUOTE_RE_ = /'/g;
|
|
2788
|
-
goog.string.internal.NULL_RE_ = /\x00/g;
|
|
2789
|
-
goog.string.internal.ALL_RE_ = /[\x00&<>"']/;
|
|
2790
|
-
goog.string.internal.whitespaceEscape = function(str, opt_xml) {
|
|
2791
|
-
return goog.string.internal.newLineToBr(str.replace(/ /g, "  "), opt_xml);
|
|
2792
|
-
};
|
|
2793
|
-
goog.string.internal.contains = function(str, subString) {
|
|
2782
|
+
}
|
|
2783
|
+
var module$contents$goog$string$internal_AMP_RE = /&/g, module$contents$goog$string$internal_LT_RE = /</g, module$contents$goog$string$internal_GT_RE = />/g, module$contents$goog$string$internal_QUOT_RE = /"/g, module$contents$goog$string$internal_SINGLE_QUOTE_RE = /'/g, module$contents$goog$string$internal_NULL_RE = /\x00/g, module$contents$goog$string$internal_ALL_RE = /[\x00&<>"']/;
|
|
2784
|
+
function module$contents$goog$string$internal_contains(str, subString) {
|
|
2794
2785
|
return str.indexOf(subString) != -1;
|
|
2795
|
-
}
|
|
2796
|
-
goog
|
|
2797
|
-
return goog
|
|
2798
|
-
}
|
|
2799
|
-
goog
|
|
2800
|
-
for (var order = 0, v1Subs = goog
|
|
2786
|
+
}
|
|
2787
|
+
function module$contents$goog$string$internal_caseInsensitiveContains(str, subString) {
|
|
2788
|
+
return module$contents$goog$string$internal_contains(str.toLowerCase(), subString.toLowerCase());
|
|
2789
|
+
}
|
|
2790
|
+
function module$contents$goog$string$internal_compareVersions(version1, version2) {
|
|
2791
|
+
for (var order = 0, v1Subs = module$contents$goog$string$internal_trim(String(version1)).split("."), v2Subs = module$contents$goog$string$internal_trim(String(version2)).split("."), subCount = Math.max(v1Subs.length, v2Subs.length), subIdx = 0; order == 0 && subIdx < subCount; subIdx++) {
|
|
2801
2792
|
var v1Sub = v1Subs[subIdx] || "", v2Sub = v2Subs[subIdx] || "";
|
|
2802
2793
|
do {
|
|
2803
2794
|
var v1Comp = /(\d*)(\D*)(.*)/.exec(v1Sub) || ["", "", "", ""], v2Comp = /(\d*)(\D*)(.*)/.exec(v2Sub) || ["", "", "", ""];
|
|
2804
2795
|
if (v1Comp[0].length == 0 && v2Comp[0].length == 0) {
|
|
2805
2796
|
break;
|
|
2806
2797
|
}
|
|
2807
|
-
order = goog
|
|
2798
|
+
order = module$contents$goog$string$internal_compareElements(v1Comp[1].length == 0 ? 0 : parseInt(v1Comp[1], 10), v2Comp[1].length == 0 ? 0 : parseInt(v2Comp[1], 10)) || module$contents$goog$string$internal_compareElements(v1Comp[2].length == 0, v2Comp[2].length == 0) || module$contents$goog$string$internal_compareElements(v1Comp[2], v2Comp[2]);
|
|
2808
2799
|
v1Sub = v1Comp[3];
|
|
2809
2800
|
v2Sub = v2Comp[3];
|
|
2810
2801
|
} while (order == 0);
|
|
2811
2802
|
}
|
|
2812
2803
|
return order;
|
|
2813
|
-
}
|
|
2814
|
-
goog
|
|
2804
|
+
}
|
|
2805
|
+
function module$contents$goog$string$internal_compareElements(left, right) {
|
|
2815
2806
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
2807
|
+
}
|
|
2808
|
+
goog.string.internal.caseInsensitiveCompare = module$contents$goog$string$internal_caseInsensitiveCompare;
|
|
2809
|
+
goog.string.internal.caseInsensitiveContains = module$contents$goog$string$internal_caseInsensitiveContains;
|
|
2810
|
+
goog.string.internal.caseInsensitiveEndsWith = module$contents$goog$string$internal_caseInsensitiveEndsWith;
|
|
2811
|
+
goog.string.internal.caseInsensitiveEquals = module$contents$goog$string$internal_caseInsensitiveEquals;
|
|
2812
|
+
goog.string.internal.caseInsensitiveStartsWith = module$contents$goog$string$internal_caseInsensitiveStartsWith;
|
|
2813
|
+
goog.string.internal.compareVersions = module$contents$goog$string$internal_compareVersions;
|
|
2814
|
+
goog.string.internal.contains = module$contents$goog$string$internal_contains;
|
|
2815
|
+
goog.string.internal.endsWith = module$contents$goog$string$internal_endsWith;
|
|
2816
|
+
goog.string.internal.htmlEscape = module$contents$goog$string$internal_htmlEscape;
|
|
2817
|
+
goog.string.internal.isEmptyOrWhitespace = module$contents$goog$string$internal_isEmptyOrWhitespace;
|
|
2818
|
+
goog.string.internal.newLineToBr = module$contents$goog$string$internal_newLineToBr;
|
|
2819
|
+
goog.string.internal.startsWith = module$contents$goog$string$internal_startsWith;
|
|
2820
|
+
goog.string.internal.trim = module$contents$goog$string$internal_trim;
|
|
2821
|
+
goog.string.internal.whitespaceEscape = function(str, opt_xml) {
|
|
2822
|
+
return module$contents$goog$string$internal_newLineToBr(str.replace(/ /g, "  "), opt_xml);
|
|
2816
2823
|
};
|
|
2817
2824
|
/*
|
|
2818
2825
|
|
|
@@ -2897,8 +2904,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2897
2904
|
throw Error(message);
|
|
2898
2905
|
}
|
|
2899
2906
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2900
|
-
var $jscomp$templatelit$
|
|
2901
|
-
["\\0"]), $jscomp$templatelit$
|
|
2907
|
+
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"],
|
|
2908
|
+
["\\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"};
|
|
2902
2909
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2903
2910
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2904
2911
|
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 ##############################");
|
|
@@ -2912,14 +2919,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2912
2919
|
return fn.toString().indexOf("`") === -1;
|
|
2913
2920
|
}
|
|
2914
2921
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2915
|
-
return tag($jscomp$templatelit$
|
|
2922
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2916
2923
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2917
|
-
return tag($jscomp$templatelit$
|
|
2924
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2918
2925
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2919
|
-
return tag($jscomp$templatelit$
|
|
2926
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2920
2927
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2921
|
-
return tag($jscomp$templatelit$
|
|
2922
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2928
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
2929
|
+
}), 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);
|
|
2923
2930
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2924
2931
|
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)) ?
|
|
2925
2932
|
!0 : !1;
|
|
@@ -3318,9 +3325,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3318
3325
|
}
|
|
3319
3326
|
}
|
|
3320
3327
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3321
|
-
var $jscomp$tmp$error$
|
|
3322
|
-
this.message = $jscomp$tmp$error$
|
|
3323
|
-
"stack" in $jscomp$tmp$error$
|
|
3328
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3329
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3330
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3324
3331
|
this.type = type;
|
|
3325
3332
|
this.intent = intent;
|
|
3326
3333
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3434,7 +3441,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(documentOrW
|
|
|
3434
3441
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3435
3442
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, documentOrWindow) {
|
|
3436
3443
|
documentOrWindow = documentOrWindow === void 0 ? document : documentOrWindow;
|
|
3437
|
-
var $jscomp$optchain$
|
|
3444
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = "document" in documentOrWindow ? documentOrWindow.document : documentOrWindow).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
3438
3445
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3439
3446
|
}
|
|
3440
3447
|
;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"};
|
|
@@ -4724,9 +4731,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4724
4731
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4725
4732
|
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"};
|
|
4726
4733
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4727
|
-
var $jscomp$tmp$error$
|
|
4728
|
-
this.message = $jscomp$tmp$error$
|
|
4729
|
-
"stack" in $jscomp$tmp$error$
|
|
4734
|
+
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.");
|
|
4735
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4736
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4730
4737
|
this.url = url;
|
|
4731
4738
|
this.typeName = typeName;
|
|
4732
4739
|
this.contentType = contentType;
|
|
@@ -4738,48 +4745,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4738
4745
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4739
4746
|
}
|
|
4740
4747
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4741
|
-
var response, $jscomp$optchain$
|
|
4742
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4743
|
-
if ($jscomp$generator$context$
|
|
4744
|
-
return $jscomp$generator$context$
|
|
4745
|
-
}
|
|
4746
|
-
response = $jscomp$generator$context$
|
|
4747
|
-
mimeType = ($jscomp$optchain$
|
|
4748
|
-
return $jscomp$generator$context$
|
|
4748
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4749
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4750
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4751
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4752
|
+
}
|
|
4753
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4754
|
+
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();
|
|
4755
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4749
4756
|
var text;
|
|
4750
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4751
|
-
if ($jscomp$generator$context$
|
|
4757
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4758
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4752
4759
|
if (mimeType !== "text/html") {
|
|
4753
4760
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4754
4761
|
}
|
|
4755
|
-
return $jscomp$generator$context$
|
|
4762
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4756
4763
|
}
|
|
4757
|
-
text = $jscomp$generator$context$
|
|
4758
|
-
return $jscomp$generator$context$
|
|
4764
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4765
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4759
4766
|
});
|
|
4760
4767
|
}, script:function() {
|
|
4761
4768
|
var text;
|
|
4762
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4763
|
-
if ($jscomp$generator$context$
|
|
4769
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4770
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4764
4771
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4765
4772
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4766
4773
|
}
|
|
4767
|
-
return $jscomp$generator$context$
|
|
4774
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4768
4775
|
}
|
|
4769
|
-
text = $jscomp$generator$context$
|
|
4770
|
-
return $jscomp$generator$context$
|
|
4776
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4777
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4771
4778
|
});
|
|
4772
4779
|
}, styleSheet:function() {
|
|
4773
4780
|
var text;
|
|
4774
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4775
|
-
if ($jscomp$generator$context$
|
|
4781
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4782
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4776
4783
|
if (mimeType !== "text/css") {
|
|
4777
4784
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4778
4785
|
}
|
|
4779
|
-
return $jscomp$generator$context$
|
|
4786
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4780
4787
|
}
|
|
4781
|
-
text = $jscomp$generator$context$
|
|
4782
|
-
return $jscomp$generator$context$
|
|
4788
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4789
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4783
4790
|
});
|
|
4784
4791
|
}});
|
|
4785
4792
|
});
|
|
@@ -4979,11 +4986,11 @@ safevalues.restricted.reviewed.urlSafeByReview = module$contents$safevalues$rest
|
|
|
4979
4986
|
goog.string.DETECT_DOUBLE_ESCAPING = !1;
|
|
4980
4987
|
goog.string.FORCE_NON_DOM_HTML_UNESCAPING = !1;
|
|
4981
4988
|
goog.string.Unicode = {NBSP:"\u00a0", ZERO_WIDTH_SPACE:"\u200b"};
|
|
4982
|
-
goog.string.startsWith = goog
|
|
4983
|
-
goog.string.endsWith = goog
|
|
4984
|
-
goog.string.caseInsensitiveStartsWith = goog
|
|
4985
|
-
goog.string.caseInsensitiveEndsWith = goog
|
|
4986
|
-
goog.string.caseInsensitiveEquals = goog
|
|
4989
|
+
goog.string.startsWith = module$contents$goog$string$internal_startsWith;
|
|
4990
|
+
goog.string.endsWith = module$contents$goog$string$internal_endsWith;
|
|
4991
|
+
goog.string.caseInsensitiveStartsWith = module$contents$goog$string$internal_caseInsensitiveStartsWith;
|
|
4992
|
+
goog.string.caseInsensitiveEndsWith = module$contents$goog$string$internal_caseInsensitiveEndsWith;
|
|
4993
|
+
goog.string.caseInsensitiveEquals = module$contents$goog$string$internal_caseInsensitiveEquals;
|
|
4987
4994
|
goog.string.subs = function(str, var_args) {
|
|
4988
4995
|
for (var splitParts = str.split("%s"), returnString = "", subsArguments = Array.prototype.slice.call(arguments, 1); subsArguments.length && splitParts.length > 1;) {
|
|
4989
4996
|
returnString += splitParts.shift() + subsArguments.shift();
|
|
@@ -4993,7 +5000,7 @@ goog.string.subs = function(str, var_args) {
|
|
|
4993
5000
|
goog.string.collapseWhitespace = function(str) {
|
|
4994
5001
|
return str.replace(/[\s\xa0]+/g, " ").replace(/^\s+|\s+$/g, "");
|
|
4995
5002
|
};
|
|
4996
|
-
goog.string.isEmptyOrWhitespace = goog
|
|
5003
|
+
goog.string.isEmptyOrWhitespace = module$contents$goog$string$internal_isEmptyOrWhitespace;
|
|
4997
5004
|
goog.string.isEmptyString = function(str) {
|
|
4998
5005
|
return str.length == 0;
|
|
4999
5006
|
};
|
|
@@ -5035,14 +5042,14 @@ goog.string.normalizeSpaces = function(str) {
|
|
|
5035
5042
|
goog.string.collapseBreakingSpaces = function(str) {
|
|
5036
5043
|
return str.replace(/[\t\r\n ]+/g, " ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g, "");
|
|
5037
5044
|
};
|
|
5038
|
-
goog.string.trim = goog
|
|
5045
|
+
goog.string.trim = module$contents$goog$string$internal_trim;
|
|
5039
5046
|
goog.string.trimLeft = function(str) {
|
|
5040
5047
|
return str.replace(/^[\s\xa0]+/, "");
|
|
5041
5048
|
};
|
|
5042
5049
|
goog.string.trimRight = function(str) {
|
|
5043
5050
|
return str.replace(/[\s\xa0]+$/, "");
|
|
5044
5051
|
};
|
|
5045
|
-
goog.string.caseInsensitiveCompare = goog
|
|
5052
|
+
goog.string.caseInsensitiveCompare = module$contents$goog$string$internal_caseInsensitiveCompare;
|
|
5046
5053
|
goog.string.numberAwareCompare_ = function(str1, str2, tokenizerRegExp) {
|
|
5047
5054
|
if (str1 == str2) {
|
|
5048
5055
|
return 0;
|
|
@@ -5081,9 +5088,9 @@ goog.string.urlEncode = function(str) {
|
|
|
5081
5088
|
goog.string.urlDecode = function(str) {
|
|
5082
5089
|
return decodeURIComponent(str.replace(/\+/g, " "));
|
|
5083
5090
|
};
|
|
5084
|
-
goog.string.newLineToBr = goog
|
|
5091
|
+
goog.string.newLineToBr = module$contents$goog$string$internal_newLineToBr;
|
|
5085
5092
|
goog.string.htmlEscape = function(str, opt_isLikelyToContainHtmlChars) {
|
|
5086
|
-
str = goog
|
|
5093
|
+
str = module$contents$goog$string$internal_htmlEscape(str, opt_isLikelyToContainHtmlChars);
|
|
5087
5094
|
goog.string.DETECT_DOUBLE_ESCAPING && (str = str.replace(goog.string.E_RE_, "e"));
|
|
5088
5095
|
return str;
|
|
5089
5096
|
};
|
|
@@ -5204,8 +5211,8 @@ goog.string.escapeChar = function(c) {
|
|
|
5204
5211
|
}
|
|
5205
5212
|
return goog.string.jsEscapeCache_[c] = rv;
|
|
5206
5213
|
};
|
|
5207
|
-
goog.string.contains = goog
|
|
5208
|
-
goog.string.caseInsensitiveContains = goog
|
|
5214
|
+
goog.string.contains = module$contents$goog$string$internal_contains;
|
|
5215
|
+
goog.string.caseInsensitiveContains = module$contents$goog$string$internal_caseInsensitiveContains;
|
|
5209
5216
|
goog.string.countOf = function(s, ss) {
|
|
5210
5217
|
return s && ss ? s.split(ss).length - 1 : 0;
|
|
5211
5218
|
};
|
|
@@ -5249,7 +5256,7 @@ goog.string.makeSafe = function(obj) {
|
|
|
5249
5256
|
goog.string.getRandomString = function() {
|
|
5250
5257
|
return Math.floor(Math.random() * 2147483648).toString(36) + Math.abs(Math.floor(Math.random() * 2147483648) ^ goog.now()).toString(36);
|
|
5251
5258
|
};
|
|
5252
|
-
goog.string.compareVersions = goog
|
|
5259
|
+
goog.string.compareVersions = module$contents$goog$string$internal_compareVersions;
|
|
5253
5260
|
goog.string.hashCode = function(str) {
|
|
5254
5261
|
for (var result = 0, i = 0; i < str.length; ++i) {
|
|
5255
5262
|
result = 31 * result + str.charCodeAt(i) >>> 0;
|
|
@@ -6251,8 +6258,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6251
6258
|
}
|
|
6252
6259
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6253
6260
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6254
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6255
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6261
|
+
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()) {
|
|
6262
|
+
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;
|
|
6256
6263
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6257
6264
|
}
|
|
6258
6265
|
return urlQueryParams;
|
|
@@ -6263,8 +6270,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6263
6270
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6264
6271
|
if (params.headers) {
|
|
6265
6272
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6266
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6267
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6273
|
+
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()) {
|
|
6274
|
+
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;
|
|
6268
6275
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6269
6276
|
}
|
|
6270
6277
|
}
|
|
@@ -6304,9 +6311,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6304
6311
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6305
6312
|
};
|
|
6306
6313
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6307
|
-
var $jscomp$this$
|
|
6314
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6308
6315
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6309
|
-
return $jscomp$this$
|
|
6316
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6310
6317
|
}));
|
|
6311
6318
|
};
|
|
6312
6319
|
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"};
|
|
@@ -6534,14 +6541,14 @@ function module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(str) {
|
|
|
6534
6541
|
var data = module$contents$goog$labs$userAgent$util_getUserAgentData();
|
|
6535
6542
|
return data ? data.brands.some(function($jscomp$destructuring$var6) {
|
|
6536
6543
|
var brand;
|
|
6537
|
-
return (brand = $jscomp$destructuring$var6.brand) &&
|
|
6544
|
+
return (brand = $jscomp$destructuring$var6.brand) && module$contents$goog$string$internal_contains(brand, str);
|
|
6538
6545
|
}) : !1;
|
|
6539
6546
|
}
|
|
6540
6547
|
function module$contents$goog$labs$userAgent$util_matchUserAgent(str) {
|
|
6541
|
-
return
|
|
6548
|
+
return module$contents$goog$string$internal_contains(module$contents$goog$labs$userAgent$util_getUserAgent(), str);
|
|
6542
6549
|
}
|
|
6543
6550
|
function module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase(str) {
|
|
6544
|
-
return
|
|
6551
|
+
return module$contents$goog$string$internal_caseInsensitiveContains(module$contents$goog$labs$userAgent$util_getUserAgent(), str);
|
|
6545
6552
|
}
|
|
6546
6553
|
function module$contents$goog$labs$userAgent$util_extractVersionTuples(userAgent) {
|
|
6547
6554
|
for (var versionRegExp = RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?", "g"), data = [], match; match = versionRegExp.exec(userAgent);) {
|
|
@@ -6623,7 +6630,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version.prototyp
|
|
|
6623
6630
|
return this.versionString_;
|
|
6624
6631
|
};
|
|
6625
6632
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version.prototype.isAtLeast = function(version) {
|
|
6626
|
-
return
|
|
6633
|
+
return module$contents$goog$string$internal_compareVersions(this.versionString_, version) >= 0;
|
|
6627
6634
|
};
|
|
6628
6635
|
var module$exports$goog$labs$userAgent$highEntropy$highEntropyData = {};
|
|
6629
6636
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList = new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("fullVersionList");
|
|
@@ -6737,7 +6744,7 @@ function module$contents$goog$labs$userAgent$browser_getVersion() {
|
|
|
6737
6744
|
}
|
|
6738
6745
|
goog.labs.userAgent.browser.getVersion = module$contents$goog$labs$userAgent$browser_getVersion;
|
|
6739
6746
|
goog.labs.userAgent.browser.isVersionOrHigher = function(version) {
|
|
6740
|
-
return
|
|
6747
|
+
return module$contents$goog$string$internal_compareVersions(module$contents$goog$labs$userAgent$browser_getVersion(), version) >= 0;
|
|
6741
6748
|
};
|
|
6742
6749
|
function module$contents$goog$labs$userAgent$browser_getIEVersion(userAgent) {
|
|
6743
6750
|
var rv = /rv: *([\d\.]*)/.exec(userAgent);
|
|
@@ -6971,7 +6978,7 @@ goog.labs.userAgent.engine.isPresto = function() {
|
|
|
6971
6978
|
};
|
|
6972
6979
|
goog.labs.userAgent.engine.isTrident = module$contents$goog$labs$userAgent$engine_isTrident;
|
|
6973
6980
|
goog.labs.userAgent.engine.isVersionOrHigher = function(version) {
|
|
6974
|
-
return goog
|
|
6981
|
+
return module$contents$goog$string$internal_compareVersions(module$contents$goog$labs$userAgent$engine_getVersion(), version) >= 0;
|
|
6975
6982
|
};
|
|
6976
6983
|
goog.labs.userAgent.engine.isWebKit = module$contents$goog$labs$userAgent$engine_isWebKit;
|
|
6977
6984
|
goog.labs.userAgent.platform = {};
|
|
@@ -7085,7 +7092,7 @@ goog.labs.userAgent.platform.isKaiOS = module$contents$goog$labs$userAgent$platf
|
|
|
7085
7092
|
goog.labs.userAgent.platform.isLinux = module$contents$goog$labs$userAgent$platform_isLinux;
|
|
7086
7093
|
goog.labs.userAgent.platform.isMacintosh = module$contents$goog$labs$userAgent$platform_isMacintosh;
|
|
7087
7094
|
goog.labs.userAgent.platform.isVersionOrHigher = function(version) {
|
|
7088
|
-
return goog
|
|
7095
|
+
return module$contents$goog$string$internal_compareVersions(module$contents$goog$labs$userAgent$platform_getVersion(), version) >= 0;
|
|
7089
7096
|
};
|
|
7090
7097
|
goog.labs.userAgent.platform.isWindows = module$contents$goog$labs$userAgent$platform_isWindows;
|
|
7091
7098
|
goog.labs.userAgent.platform.version = module$contents$goog$labs$userAgent$platform_version;
|
|
@@ -7203,12 +7210,12 @@ goog.userAgent.getDocumentMode_ = function() {
|
|
|
7203
7210
|
};
|
|
7204
7211
|
goog.userAgent.VERSION = goog.userAgent.determineVersion_();
|
|
7205
7212
|
goog.userAgent.compare = function(v1, v2) {
|
|
7206
|
-
return goog
|
|
7213
|
+
return module$contents$goog$string$internal_compareVersions(v1, v2);
|
|
7207
7214
|
};
|
|
7208
7215
|
goog.userAgent.isVersionOrHigherCache_ = {};
|
|
7209
7216
|
goog.userAgent.isVersionOrHigher = function(version) {
|
|
7210
7217
|
return goog.userAgent.ASSUME_ANY_VERSION || goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_, version, function() {
|
|
7211
|
-
return goog
|
|
7218
|
+
return module$contents$goog$string$internal_compareVersions(goog.userAgent.VERSION, version) >= 0;
|
|
7212
7219
|
});
|
|
7213
7220
|
};
|
|
7214
7221
|
goog.userAgent.isDocumentModeOrHigher = function(documentMode) {
|
|
@@ -7354,25 +7361,25 @@ goog.events.Listener.prototype.markAsRemoved = function() {
|
|
|
7354
7361
|
this.removed = !0;
|
|
7355
7362
|
this.handler = this.src = this.proxy = this.listener = null;
|
|
7356
7363
|
};
|
|
7357
|
-
goog
|
|
7364
|
+
function module$contents$goog$events$ListenerMap_ListenerMap(src) {
|
|
7358
7365
|
this.src = src;
|
|
7359
7366
|
this.listeners = {};
|
|
7360
7367
|
this.typeCount_ = 0;
|
|
7361
|
-
}
|
|
7362
|
-
goog
|
|
7368
|
+
}
|
|
7369
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.getTypeCount = function() {
|
|
7363
7370
|
return this.typeCount_;
|
|
7364
7371
|
};
|
|
7365
|
-
goog
|
|
7372
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.getListenerCount = function() {
|
|
7366
7373
|
var count = 0, type;
|
|
7367
7374
|
for (type in this.listeners) {
|
|
7368
7375
|
count += this.listeners[type].length;
|
|
7369
7376
|
}
|
|
7370
7377
|
return count;
|
|
7371
7378
|
};
|
|
7372
|
-
goog
|
|
7379
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.add = function(type, listener, callOnce, opt_useCapture, opt_listenerScope) {
|
|
7373
7380
|
var typeStr = type.toString(), listenerArray = this.listeners[typeStr];
|
|
7374
7381
|
listenerArray || (listenerArray = this.listeners[typeStr] = [], this.typeCount_++);
|
|
7375
|
-
var index = goog
|
|
7382
|
+
var index = module$contents$goog$events$ListenerMap_ListenerMap.findListenerIndex_(listenerArray, listener, opt_useCapture, opt_listenerScope);
|
|
7376
7383
|
if (index > -1) {
|
|
7377
7384
|
var listenerObj = listenerArray[index];
|
|
7378
7385
|
callOnce || (listenerObj.callOnce = !1);
|
|
@@ -7381,15 +7388,15 @@ goog.events.ListenerMap.prototype.add = function(type, listener, callOnce, opt_u
|
|
|
7381
7388
|
}
|
|
7382
7389
|
return listenerObj;
|
|
7383
7390
|
};
|
|
7384
|
-
goog
|
|
7391
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.remove = function(type, listener, opt_useCapture, opt_listenerScope) {
|
|
7385
7392
|
var typeStr = type.toString();
|
|
7386
7393
|
if (!(typeStr in this.listeners)) {
|
|
7387
7394
|
return !1;
|
|
7388
7395
|
}
|
|
7389
|
-
var listenerArray = this.listeners[typeStr], index = goog
|
|
7396
|
+
var listenerArray = this.listeners[typeStr], index = module$contents$goog$events$ListenerMap_ListenerMap.findListenerIndex_(listenerArray, listener, opt_useCapture, opt_listenerScope);
|
|
7390
7397
|
return index > -1 ? (listenerArray[index].markAsRemoved(), module$contents$goog$array_removeAt(listenerArray, index), listenerArray.length == 0 && (delete this.listeners[typeStr], this.typeCount_--), !0) : !1;
|
|
7391
7398
|
};
|
|
7392
|
-
goog
|
|
7399
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.removeByKey = function(listener) {
|
|
7393
7400
|
var type = listener.type;
|
|
7394
7401
|
if (!(type in this.listeners)) {
|
|
7395
7402
|
return !1;
|
|
@@ -7398,7 +7405,7 @@ goog.events.ListenerMap.prototype.removeByKey = function(listener) {
|
|
|
7398
7405
|
removed && (listener.markAsRemoved(), this.listeners[type].length == 0 && (delete this.listeners[type], this.typeCount_--));
|
|
7399
7406
|
return removed;
|
|
7400
7407
|
};
|
|
7401
|
-
goog
|
|
7408
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.removeAll = function(opt_type) {
|
|
7402
7409
|
var typeStr = opt_type && opt_type.toString(), count = 0, type;
|
|
7403
7410
|
for (type in this.listeners) {
|
|
7404
7411
|
if (!typeStr || type == typeStr) {
|
|
@@ -7411,7 +7418,7 @@ goog.events.ListenerMap.prototype.removeAll = function(opt_type) {
|
|
|
7411
7418
|
}
|
|
7412
7419
|
return count;
|
|
7413
7420
|
};
|
|
7414
|
-
goog
|
|
7421
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.getListeners = function(type, capture) {
|
|
7415
7422
|
var listenerArray = this.listeners[type.toString()], rv = [];
|
|
7416
7423
|
if (listenerArray) {
|
|
7417
7424
|
for (var i = 0; i < listenerArray.length; ++i) {
|
|
@@ -7421,12 +7428,12 @@ goog.events.ListenerMap.prototype.getListeners = function(type, capture) {
|
|
|
7421
7428
|
}
|
|
7422
7429
|
return rv;
|
|
7423
7430
|
};
|
|
7424
|
-
goog
|
|
7431
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.getListener = function(type, listener, capture, opt_listenerScope) {
|
|
7425
7432
|
var listenerArray = this.listeners[type.toString()], i = -1;
|
|
7426
|
-
listenerArray && (i = goog
|
|
7433
|
+
listenerArray && (i = module$contents$goog$events$ListenerMap_ListenerMap.findListenerIndex_(listenerArray, listener, capture, opt_listenerScope));
|
|
7427
7434
|
return i > -1 ? listenerArray[i] : null;
|
|
7428
7435
|
};
|
|
7429
|
-
goog
|
|
7436
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.hasListener = function(opt_type, opt_capture) {
|
|
7430
7437
|
var hasType = opt_type !== void 0, typeStr = hasType ? opt_type.toString() : "", hasCapture = opt_capture !== void 0;
|
|
7431
7438
|
return module$contents$goog$object_some(this.listeners, function(listenerArray, type) {
|
|
7432
7439
|
for (var i = 0; i < listenerArray.length; ++i) {
|
|
@@ -7437,7 +7444,7 @@ goog.events.ListenerMap.prototype.hasListener = function(opt_type, opt_capture)
|
|
|
7437
7444
|
return !1;
|
|
7438
7445
|
});
|
|
7439
7446
|
};
|
|
7440
|
-
goog
|
|
7447
|
+
module$contents$goog$events$ListenerMap_ListenerMap.findListenerIndex_ = function(listenerArray, listener, opt_useCapture, opt_listenerScope) {
|
|
7441
7448
|
for (var i = 0; i < listenerArray.length; ++i) {
|
|
7442
7449
|
var listenerObj = listenerArray[i];
|
|
7443
7450
|
if (!listenerObj.removed && listenerObj.listener == listener && listenerObj.capture == !!opt_useCapture && listenerObj.handler == opt_listenerScope) {
|
|
@@ -7446,6 +7453,7 @@ goog.events.ListenerMap.findListenerIndex_ = function(listenerArray, listener, o
|
|
|
7446
7453
|
}
|
|
7447
7454
|
return -1;
|
|
7448
7455
|
};
|
|
7456
|
+
goog.events.ListenerMap = module$contents$goog$events$ListenerMap_ListenerMap;
|
|
7449
7457
|
goog.events.Key = {};
|
|
7450
7458
|
goog.events.ListenableType = {};
|
|
7451
7459
|
goog.events.LISTENER_MAP_PROP_ = "closure_lm_" + (Math.random() * 1E6 | 0);
|
|
@@ -7471,7 +7479,7 @@ goog.events.listen_ = function(src, type, listener, callOnce, opt_options, opt_h
|
|
|
7471
7479
|
throw Error("Invalid event type");
|
|
7472
7480
|
}
|
|
7473
7481
|
var capture = goog.isObject(opt_options) ? !!opt_options.capture : !!opt_options, listenerMap = goog.events.getListenerMap_(src);
|
|
7474
|
-
listenerMap || (src[goog.events.LISTENER_MAP_PROP_] = listenerMap = new goog
|
|
7482
|
+
listenerMap || (src[goog.events.LISTENER_MAP_PROP_] = listenerMap = new module$contents$goog$events$ListenerMap_ListenerMap(src));
|
|
7475
7483
|
var listenerObj = listenerMap.add(type, listener, callOnce, capture, opt_handler);
|
|
7476
7484
|
if (listenerObj.proxy) {
|
|
7477
7485
|
return listenerObj;
|
|
@@ -7674,7 +7682,7 @@ goog.events.getUniqueId = function(identifier) {
|
|
|
7674
7682
|
};
|
|
7675
7683
|
goog.events.getListenerMap_ = function(src) {
|
|
7676
7684
|
var listenerMap = src[goog.events.LISTENER_MAP_PROP_];
|
|
7677
|
-
return listenerMap instanceof goog
|
|
7685
|
+
return listenerMap instanceof module$contents$goog$events$ListenerMap_ListenerMap ? listenerMap : null;
|
|
7678
7686
|
};
|
|
7679
7687
|
goog.events.LISTENER_WRAPPER_PROP_ = "__closure_events_fn_" + (Math.random() * 1E9 >>> 0);
|
|
7680
7688
|
goog.events.wrapListener = function(listener) {
|
|
@@ -7693,7 +7701,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
7693
7701
|
});
|
|
7694
7702
|
goog.events.EventTarget = function() {
|
|
7695
7703
|
goog.Disposable.call(this);
|
|
7696
|
-
this.eventTargetListeners_ = new goog
|
|
7704
|
+
this.eventTargetListeners_ = new module$contents$goog$events$ListenerMap_ListenerMap(this);
|
|
7697
7705
|
this.actualEventTarget_ = this;
|
|
7698
7706
|
this.parentEventTarget_ = null;
|
|
7699
7707
|
};
|
|
@@ -14721,6 +14729,7 @@ goog.async.nextTick = function(callback, opt_context) {
|
|
|
14721
14729
|
cb = goog.async.nextTick.wrapCallback_(cb);
|
|
14722
14730
|
goog.async.nextTick.USE_SET_TIMEOUT ? setTimeout(cb, 0) : (cb = module$exports$common$async$context$propagate.propagateAsyncContext(cb), goog.DEBUG && typeof goog.global.setImmediate === "function" && goog.async.nextTick.useSetImmediate_() ? goog.global.setImmediate(cb) : (goog.async.nextTick.nextTickImpl || (goog.async.nextTick.nextTickImpl = goog.async.nextTick.getNextTickImpl_()), goog.async.nextTick.nextTickImpl(cb)));
|
|
14723
14731
|
};
|
|
14732
|
+
goog.async.nextTick.propagateAsyncContext_ = module$exports$common$async$context$propagate.propagateAsyncContext;
|
|
14724
14733
|
goog.async.nextTick.USE_SET_TIMEOUT = !1;
|
|
14725
14734
|
goog.async.nextTick.useSetImmediate_ = function() {
|
|
14726
14735
|
return goog.global.Window && goog.global.Window.prototype && goog.global.Window.prototype.setImmediate == goog.global.setImmediate ? !1 : !0;
|
|
@@ -15064,6 +15073,20 @@ goog.Promise.prototype.thenAlways = function(onSettled, opt_context) {
|
|
|
15064
15073
|
this.addCallbackEntry_(entry);
|
|
15065
15074
|
return this;
|
|
15066
15075
|
};
|
|
15076
|
+
goog.Promise.prototype.finally = function(onSettled) {
|
|
15077
|
+
var $jscomp$this$m1061044379$32 = this;
|
|
15078
|
+
goog.Promise.LONG_STACK_TRACES && this.addStackTrace_(Error("finally"));
|
|
15079
|
+
onSettled = module$exports$common$async$context$propagate.propagateAsyncContext(onSettled);
|
|
15080
|
+
return new Promise(function(resolve, reject) {
|
|
15081
|
+
$jscomp$this$m1061044379$32.thenVoid(function(value) {
|
|
15082
|
+
onSettled();
|
|
15083
|
+
resolve(value);
|
|
15084
|
+
}, function(cause) {
|
|
15085
|
+
onSettled();
|
|
15086
|
+
reject(cause);
|
|
15087
|
+
});
|
|
15088
|
+
});
|
|
15089
|
+
};
|
|
15067
15090
|
goog.Promise.prototype.thenCatch = function(onRejected, opt_context) {
|
|
15068
15091
|
goog.Promise.LONG_STACK_TRACES && this.addStackTrace_(Error("thenCatch"));
|
|
15069
15092
|
return this.addChildPromise_(null, module$exports$common$async$context$propagate.propagateAsyncContext(onRejected), opt_context);
|
|
@@ -16034,8 +16057,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16034
16057
|
this.replacements = new Map();
|
|
16035
16058
|
};
|
|
16036
16059
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16037
|
-
var $jscomp$this$
|
|
16038
|
-
return $jscomp$this$
|
|
16060
|
+
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) {
|
|
16061
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
16039
16062
|
});
|
|
16040
16063
|
if (openedTags.length !== 0) {
|
|
16041
16064
|
if (goog.DEBUG) {
|
|
@@ -16253,8 +16276,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16253
16276
|
if (Array.isArray(token)) {
|
|
16254
16277
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16255
16278
|
} else {
|
|
16256
|
-
var $jscomp$optchain$
|
|
16257
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16279
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
16280
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm282935782$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm282935782$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16258
16281
|
tokens.push(token);
|
|
16259
16282
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16260
16283
|
return tokens;
|
|
@@ -16500,9 +16523,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16500
16523
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16501
16524
|
};
|
|
16502
16525
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16503
|
-
var $jscomp$this$
|
|
16526
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16504
16527
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16505
|
-
return $jscomp$this$
|
|
16528
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16506
16529
|
});
|
|
16507
16530
|
};
|
|
16508
16531
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16609,8 +16632,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16609
16632
|
return null;
|
|
16610
16633
|
}
|
|
16611
16634
|
if (token.lowercaseName === "url") {
|
|
16612
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16613
|
-
if ((($jscomp$optchain$
|
|
16635
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16636
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16614
16637
|
return null;
|
|
16615
16638
|
}
|
|
16616
16639
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16633,8 +16656,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16633
16656
|
if (!this.allowKeyframes) {
|
|
16634
16657
|
return null;
|
|
16635
16658
|
}
|
|
16636
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16637
|
-
var rule = $jscomp$key$
|
|
16659
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next()) {
|
|
16660
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16638
16661
|
if (rule instanceof CSSKeyframeRule) {
|
|
16639
16662
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16640
16663
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16646,8 +16669,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16646
16669
|
if (!this.propertyAllowlist.has(name)) {
|
|
16647
16670
|
return !1;
|
|
16648
16671
|
}
|
|
16649
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16650
|
-
var discarder = $jscomp$key$
|
|
16672
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next()) {
|
|
16673
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16651
16674
|
if (discarder(name)) {
|
|
16652
16675
|
return !1;
|
|
16653
16676
|
}
|
|
@@ -16662,8 +16685,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16662
16685
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16663
16686
|
};
|
|
16664
16687
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16665
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16666
|
-
var name = $jscomp$key$
|
|
16688
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next()) {
|
|
16689
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16667
16690
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16668
16691
|
}
|
|
16669
16692
|
return sanitizedProperties;
|
|
@@ -16677,8 +16700,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16677
16700
|
return selector + " { " + sanitizedProperties + " }";
|
|
16678
16701
|
};
|
|
16679
16702
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16680
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16681
|
-
var rule = $jscomp$key$
|
|
16703
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next()) {
|
|
16704
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16682
16705
|
if (rule instanceof CSSStyleRule) {
|
|
16683
16706
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16684
16707
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16839,8 +16862,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16839
16862
|
return fragment;
|
|
16840
16863
|
};
|
|
16841
16864
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16842
|
-
for (var $jscomp$this$
|
|
16843
|
-
return $jscomp$this$
|
|
16865
|
+
for (var $jscomp$this$m1085474118$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
16866
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
16844
16867
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16845
16868
|
var sanitizedNode = void 0;
|
|
16846
16869
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16875,8 +16898,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16875
16898
|
return this.createTextNode(textNode.data);
|
|
16876
16899
|
};
|
|
16877
16900
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16878
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$
|
|
16879
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16901
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
|
|
16902
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
16880
16903
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16881
16904
|
switch(policy.policyAction) {
|
|
16882
16905
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16908,9 +16931,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16908
16931
|
break;
|
|
16909
16932
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16910
16933
|
if (this.resourceUrlPolicy) {
|
|
16911
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
16934
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
|
|
16912
16935
|
$jscomp$iter$35.next()) {
|
|
16913
|
-
var part = $jscomp$key$
|
|
16936
|
+
var part = $jscomp$key$m1085474118$33$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);
|
|
16914
16937
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16915
16938
|
}
|
|
16916
16939
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16954,8 +16977,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16954
16977
|
if (!conditions) {
|
|
16955
16978
|
return !0;
|
|
16956
16979
|
}
|
|
16957
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16958
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16980
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
|
|
16981
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
16959
16982
|
if (value && !expectedValues.has(value)) {
|
|
16960
16983
|
return !1;
|
|
16961
16984
|
}
|
|
@@ -16970,8 +16993,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16970
16993
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16971
16994
|
};
|
|
16972
16995
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16973
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16974
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16996
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
|
|
16997
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var34.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var34.next().value;
|
|
16975
16998
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16976
16999
|
}
|
|
16977
17000
|
return {parts:parts};
|
|
@@ -17028,8 +17051,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17028
17051
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17029
17052
|
};
|
|
17030
17053
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17031
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17032
|
-
var element = $jscomp$key$
|
|
17054
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$21$element = $jscomp$iter$39.next(); !$jscomp$key$435282654$21$element.done; $jscomp$key$435282654$21$element = $jscomp$iter$39.next()) {
|
|
17055
|
+
var element = $jscomp$key$435282654$21$element.value;
|
|
17033
17056
|
element = element.toUpperCase();
|
|
17034
17057
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17035
17058
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17047,8 +17070,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17047
17070
|
throw Error("Element: " + element + " is not a custom element");
|
|
17048
17071
|
}
|
|
17049
17072
|
if (allowedAttributes) {
|
|
17050
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17051
|
-
elementPolicy.set($jscomp$key$
|
|
17073
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$22$attribute.done; $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next()) {
|
|
17074
|
+
elementPolicy.set($jscomp$key$435282654$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17052
17075
|
}
|
|
17053
17076
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17054
17077
|
} else {
|
|
@@ -17058,15 +17081,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17058
17081
|
return this;
|
|
17059
17082
|
};
|
|
17060
17083
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17061
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17062
|
-
var attribute = $jscomp$key$
|
|
17084
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next(); !$jscomp$key$435282654$23$attribute.done; $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next()) {
|
|
17085
|
+
var attribute = $jscomp$key$435282654$23$attribute.value;
|
|
17063
17086
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17064
17087
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17065
17088
|
}
|
|
17066
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17067
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17089
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$25$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$25$.done; $jscomp$key$435282654$25$ = $jscomp$iter$43.next()) {
|
|
17090
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$435282654$25$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$24$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$24$.done; $jscomp$key$435282654$24$ =
|
|
17068
17091
|
$jscomp$iter$42.next()) {
|
|
17069
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17092
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$435282654$24$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17070
17093
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17071
17094
|
}
|
|
17072
17095
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17075,8 +17098,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17075
17098
|
return this;
|
|
17076
17099
|
};
|
|
17077
17100
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
17078
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17079
|
-
var attribute = $jscomp$key$
|
|
17101
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next(); !$jscomp$key$435282654$26$attribute.done; $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next()) {
|
|
17102
|
+
var attribute = $jscomp$key$435282654$26$attribute.value;
|
|
17080
17103
|
if (attribute.indexOf("data-") !== 0) {
|
|
17081
17104
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17082
17105
|
}
|
|
@@ -17138,7 +17161,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17138
17161
|
return this;
|
|
17139
17162
|
};
|
|
17140
17163
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17141
|
-
var $jscomp$this$
|
|
17164
|
+
var $jscomp$this$435282654$17 = this;
|
|
17142
17165
|
this.extendSanitizerTableForCss();
|
|
17143
17166
|
var propertyDiscarders = [];
|
|
17144
17167
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17148,9 +17171,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17148
17171
|
return /^transition(-|$)/.test(property);
|
|
17149
17172
|
});
|
|
17150
17173
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17151
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17174
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, $jscomp$this$435282654$17.animationsAllowed, propertyDiscarders);
|
|
17152
17175
|
}, function(cssText) {
|
|
17153
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17176
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, propertyDiscarders);
|
|
17154
17177
|
}, this.resourceUrlPolicy);
|
|
17155
17178
|
};
|
|
17156
17179
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17368,12 +17391,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17368
17391
|
}
|
|
17369
17392
|
try {
|
|
17370
17393
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17371
|
-
} catch ($jscomp$unused$catch$
|
|
17394
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
17372
17395
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17373
17396
|
}
|
|
17374
17397
|
try {
|
|
17375
17398
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17376
|
-
} catch ($jscomp$unused$catch$
|
|
17399
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
17377
17400
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17378
17401
|
}
|
|
17379
17402
|
return !1;
|
|
@@ -18413,6 +18436,18 @@ goog.async.Deferred.prototype.addFinally = function(f, opt_scope) {
|
|
|
18413
18436
|
return result;
|
|
18414
18437
|
}, opt_scope);
|
|
18415
18438
|
};
|
|
18439
|
+
goog.async.Deferred.prototype.finally = function(f) {
|
|
18440
|
+
var $jscomp$this$m1728524513$17 = this;
|
|
18441
|
+
return new Promise(function(resolve, reject) {
|
|
18442
|
+
$jscomp$this$m1728524513$17.addCallbacks(function(v) {
|
|
18443
|
+
f();
|
|
18444
|
+
resolve(v);
|
|
18445
|
+
}, function(err) {
|
|
18446
|
+
f();
|
|
18447
|
+
reject(err);
|
|
18448
|
+
});
|
|
18449
|
+
});
|
|
18450
|
+
};
|
|
18416
18451
|
goog.async.Deferred.prototype.addCallbacks = function(cb, eb, opt_scope) {
|
|
18417
18452
|
goog.asserts.assert(!this.blocking_, "Blocking Deferreds can not be re-used");
|
|
18418
18453
|
var fired = this.hasFired();
|
|
@@ -18843,8 +18878,9 @@ goog.net.XhrLike.prototype.getAllResponseHeaders = function() {
|
|
|
18843
18878
|
};
|
|
18844
18879
|
goog.net.XhrLike.prototype.setTrustToken = function(trustTokenAttribute) {
|
|
18845
18880
|
};
|
|
18846
|
-
goog
|
|
18847
|
-
}
|
|
18881
|
+
function module$contents$goog$net$XmlHttpFactory_XmlHttpFactory() {
|
|
18882
|
+
}
|
|
18883
|
+
goog.net.XmlHttpFactory = module$contents$goog$net$XmlHttpFactory_XmlHttpFactory;
|
|
18848
18884
|
goog.net.XmlHttp = function() {
|
|
18849
18885
|
return goog.net.XmlHttp.factory_.createInstance();
|
|
18850
18886
|
};
|
|
@@ -18854,7 +18890,7 @@ goog.net.XmlHttp.setGlobalFactory = function(factory) {
|
|
|
18854
18890
|
};
|
|
18855
18891
|
goog.net.DefaultXmlHttpFactory = function() {
|
|
18856
18892
|
};
|
|
18857
|
-
goog.inherits(goog.net.DefaultXmlHttpFactory, goog
|
|
18893
|
+
goog.inherits(goog.net.DefaultXmlHttpFactory, module$contents$goog$net$XmlHttpFactory_XmlHttpFactory);
|
|
18858
18894
|
goog.net.DefaultXmlHttpFactory.prototype.createInstance = function() {
|
|
18859
18895
|
return new XMLHttpRequest();
|
|
18860
18896
|
};
|
|
@@ -19216,7 +19252,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19216
19252
|
ee.apiclient = {};
|
|
19217
19253
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19218
19254
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19219
|
-
ee.apiclient.API_CLIENT_VERSION = "1.4.
|
|
19255
|
+
ee.apiclient.API_CLIENT_VERSION = "1.4.6";
|
|
19220
19256
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19221
19257
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19222
19258
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19514,8 +19550,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19514
19550
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19515
19551
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19516
19552
|
method = method || "POST";
|
|
19517
|
-
var headers = {"Content-Type":contentType}, version = "1.4.
|
|
19518
|
-
version === "1.4.
|
|
19553
|
+
var headers = {"Content-Type":contentType}, version = "1.4.6";
|
|
19554
|
+
version === "1.4.6" && (version = "latest");
|
|
19519
19555
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19520
19556
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19521
19557
|
if (authToken != null) {
|
|
@@ -20388,26 +20424,27 @@ ee.rpc_convert.processListImagesParams = function(params) {
|
|
|
20388
20424
|
return params;
|
|
20389
20425
|
};
|
|
20390
20426
|
goog.crypt = {};
|
|
20391
|
-
goog
|
|
20427
|
+
function module$contents$goog$crypt$Hash_Hash() {
|
|
20392
20428
|
this.blockSize = -1;
|
|
20393
|
-
}
|
|
20394
|
-
goog.crypt.
|
|
20395
|
-
|
|
20429
|
+
}
|
|
20430
|
+
goog.crypt.Hash = module$contents$goog$crypt$Hash_Hash;
|
|
20431
|
+
function module$contents$goog$crypt$Md5_Md5() {
|
|
20432
|
+
module$contents$goog$crypt$Hash_Hash.call(this);
|
|
20396
20433
|
this.blockSize = 64;
|
|
20397
20434
|
this.chain_ = Array(4);
|
|
20398
20435
|
this.block_ = Array(this.blockSize);
|
|
20399
20436
|
this.totalLength_ = this.blockLength_ = 0;
|
|
20400
20437
|
this.reset();
|
|
20401
|
-
}
|
|
20402
|
-
goog.inherits(goog
|
|
20403
|
-
goog
|
|
20438
|
+
}
|
|
20439
|
+
goog.inherits(module$contents$goog$crypt$Md5_Md5, module$contents$goog$crypt$Hash_Hash);
|
|
20440
|
+
module$contents$goog$crypt$Md5_Md5.prototype.reset = function() {
|
|
20404
20441
|
this.chain_[0] = 1732584193;
|
|
20405
20442
|
this.chain_[1] = 4023233417;
|
|
20406
20443
|
this.chain_[2] = 2562383102;
|
|
20407
20444
|
this.chain_[3] = 271733878;
|
|
20408
20445
|
this.totalLength_ = this.blockLength_ = 0;
|
|
20409
20446
|
};
|
|
20410
|
-
goog
|
|
20447
|
+
module$contents$goog$crypt$Md5_Md5.prototype.compress_ = function(buf, opt_offset) {
|
|
20411
20448
|
opt_offset || (opt_offset = 0);
|
|
20412
20449
|
var X = Array(16);
|
|
20413
20450
|
if (typeof buf === "string") {
|
|
@@ -20552,7 +20589,7 @@ goog.crypt.Md5.prototype.compress_ = function(buf, opt_offset) {
|
|
|
20552
20589
|
this.chain_[2] = this.chain_[2] + C & 4294967295;
|
|
20553
20590
|
this.chain_[3] = this.chain_[3] + D & 4294967295;
|
|
20554
20591
|
};
|
|
20555
|
-
goog
|
|
20592
|
+
module$contents$goog$crypt$Md5_Md5.prototype.update = function(bytes, opt_length) {
|
|
20556
20593
|
opt_length === void 0 && (opt_length = bytes.length);
|
|
20557
20594
|
for (var lengthMinusBlock = opt_length - this.blockSize, block = this.block_, blockLength = this.blockLength_, i = 0; i < opt_length;) {
|
|
20558
20595
|
if (blockLength == 0) {
|
|
@@ -20581,7 +20618,7 @@ goog.crypt.Md5.prototype.update = function(bytes, opt_length) {
|
|
|
20581
20618
|
this.blockLength_ = blockLength;
|
|
20582
20619
|
this.totalLength_ += opt_length;
|
|
20583
20620
|
};
|
|
20584
|
-
goog
|
|
20621
|
+
module$contents$goog$crypt$Md5_Md5.prototype.digest = function() {
|
|
20585
20622
|
var pad = Array((this.blockLength_ < 56 ? this.blockSize : this.blockSize * 2) - this.blockLength_);
|
|
20586
20623
|
pad[0] = 128;
|
|
20587
20624
|
for (var i = 1; i < pad.length - 8; ++i) {
|
|
@@ -20598,6 +20635,7 @@ goog.crypt.Md5.prototype.digest = function() {
|
|
|
20598
20635
|
}
|
|
20599
20636
|
return digest;
|
|
20600
20637
|
};
|
|
20638
|
+
goog.crypt.Md5 = module$contents$goog$crypt$Md5_Md5;
|
|
20601
20639
|
ee.Serializer = function(opt_isCompound) {
|
|
20602
20640
|
this.HASH_KEY = "__ee_hash__";
|
|
20603
20641
|
this.isCompound_ = opt_isCompound !== !1;
|
|
@@ -20610,7 +20648,7 @@ ee.Serializer = function(opt_isCompound) {
|
|
|
20610
20648
|
};
|
|
20611
20649
|
goog.exportSymbol("ee.Serializer", ee.Serializer);
|
|
20612
20650
|
ee.Serializer.jsonSerializer_ = new goog.json.Serializer();
|
|
20613
|
-
ee.Serializer.hash_ = new goog
|
|
20651
|
+
ee.Serializer.hash_ = new module$contents$goog$crypt$Md5_Md5();
|
|
20614
20652
|
ee.Serializer.encode = function(obj, opt_isCompound) {
|
|
20615
20653
|
return (new ee.Serializer(opt_isCompound !== void 0 ? opt_isCompound : !0)).encode_(obj);
|
|
20616
20654
|
};
|
|
@@ -21163,11 +21201,6 @@ goog.singleton.getInstance = function(ctor) {
|
|
|
21163
21201
|
};
|
|
21164
21202
|
goog.singleton.instantiatedSingletons = module$contents$goog$singleton_instantiatedSingletons;
|
|
21165
21203
|
ee.data = {};
|
|
21166
|
-
ee.data.ClassifierTaskConfig = {};
|
|
21167
|
-
ee.data.ImageTaskConfig = {};
|
|
21168
|
-
ee.data.MapTaskConfig = {};
|
|
21169
|
-
ee.data.TableTaskConfig = {};
|
|
21170
|
-
ee.data.VideoTaskConfig = {};
|
|
21171
21204
|
ee.data.authenticateViaOauth = function(clientId, success, opt_error, opt_extraScopes, opt_onImmediateFailed, opt_suppressDefaultScopes) {
|
|
21172
21205
|
var scopes = module$contents$ee$apiclient_apiclient.mergeAuthScopes_(!opt_suppressDefaultScopes, !1, opt_extraScopes || []);
|
|
21173
21206
|
module$contents$ee$apiclient_apiclient.setAuthClient(clientId, scopes);
|
|
@@ -24998,97 +25031,97 @@ goog.dom.vendor.getPrefixedPropertyName = function(propertyName, opt_object) {
|
|
|
24998
25031
|
goog.dom.vendor.getPrefixedEventType = function(eventType) {
|
|
24999
25032
|
return ((goog.dom.vendor.getVendorJsPrefix() || "") + eventType).toLowerCase();
|
|
25000
25033
|
};
|
|
25001
|
-
goog
|
|
25034
|
+
function module$contents$goog$math$Box_Box(top, right, bottom, left) {
|
|
25002
25035
|
this.top = top;
|
|
25003
25036
|
this.right = right;
|
|
25004
25037
|
this.bottom = bottom;
|
|
25005
25038
|
this.left = left;
|
|
25006
|
-
}
|
|
25007
|
-
goog
|
|
25008
|
-
for (var box = new goog
|
|
25039
|
+
}
|
|
25040
|
+
module$contents$goog$math$Box_Box.boundingBox = function(var_args) {
|
|
25041
|
+
for (var box = new module$contents$goog$math$Box_Box(arguments[0].y, arguments[0].x, arguments[0].y, arguments[0].x), i = 1; i < arguments.length; i++) {
|
|
25009
25042
|
box.expandToIncludeCoordinate(arguments[i]);
|
|
25010
25043
|
}
|
|
25011
25044
|
return box;
|
|
25012
25045
|
};
|
|
25013
|
-
goog
|
|
25046
|
+
module$contents$goog$math$Box_Box.prototype.getWidth = function() {
|
|
25014
25047
|
return this.right - this.left;
|
|
25015
25048
|
};
|
|
25016
|
-
goog
|
|
25049
|
+
module$contents$goog$math$Box_Box.prototype.getHeight = function() {
|
|
25017
25050
|
return this.bottom - this.top;
|
|
25018
25051
|
};
|
|
25019
|
-
goog
|
|
25020
|
-
return new goog
|
|
25052
|
+
module$contents$goog$math$Box_Box.prototype.clone = function() {
|
|
25053
|
+
return new module$contents$goog$math$Box_Box(this.top, this.right, this.bottom, this.left);
|
|
25021
25054
|
};
|
|
25022
|
-
goog.DEBUG && (goog
|
|
25055
|
+
goog.DEBUG && (module$contents$goog$math$Box_Box.prototype.toString = function() {
|
|
25023
25056
|
return "(" + this.top + "t, " + this.right + "r, " + this.bottom + "b, " + this.left + "l)";
|
|
25024
25057
|
});
|
|
25025
|
-
goog
|
|
25026
|
-
return goog
|
|
25058
|
+
module$contents$goog$math$Box_Box.prototype.contains = function(other) {
|
|
25059
|
+
return module$contents$goog$math$Box_Box.contains(this, other);
|
|
25027
25060
|
};
|
|
25028
|
-
goog
|
|
25061
|
+
module$contents$goog$math$Box_Box.prototype.expand = function(top, opt_right, opt_bottom, opt_left) {
|
|
25029
25062
|
goog.isObject(top) ? (this.top -= top.top, this.right += top.right, this.bottom += top.bottom, this.left -= top.left) : (this.top -= top, this.right += Number(opt_right), this.bottom += Number(opt_bottom), this.left -= Number(opt_left));
|
|
25030
25063
|
return this;
|
|
25031
25064
|
};
|
|
25032
|
-
goog
|
|
25065
|
+
module$contents$goog$math$Box_Box.prototype.expandToInclude = function(box) {
|
|
25033
25066
|
this.left = Math.min(this.left, box.left);
|
|
25034
25067
|
this.top = Math.min(this.top, box.top);
|
|
25035
25068
|
this.right = Math.max(this.right, box.right);
|
|
25036
25069
|
this.bottom = Math.max(this.bottom, box.bottom);
|
|
25037
25070
|
};
|
|
25038
|
-
goog
|
|
25071
|
+
module$contents$goog$math$Box_Box.prototype.expandToIncludeCoordinate = function(coord) {
|
|
25039
25072
|
this.top = Math.min(this.top, coord.y);
|
|
25040
25073
|
this.right = Math.max(this.right, coord.x);
|
|
25041
25074
|
this.bottom = Math.max(this.bottom, coord.y);
|
|
25042
25075
|
this.left = Math.min(this.left, coord.x);
|
|
25043
25076
|
};
|
|
25044
|
-
goog
|
|
25077
|
+
module$contents$goog$math$Box_Box.equals = function(a, b) {
|
|
25045
25078
|
return a == b ? !0 : a && b ? a.top == b.top && a.right == b.right && a.bottom == b.bottom && a.left == b.left : !1;
|
|
25046
25079
|
};
|
|
25047
|
-
goog
|
|
25048
|
-
return box && other ? other instanceof goog
|
|
25080
|
+
module$contents$goog$math$Box_Box.contains = function(box, other) {
|
|
25081
|
+
return box && other ? other instanceof module$contents$goog$math$Box_Box ? other.left >= box.left && other.right <= box.right && other.top >= box.top && other.bottom <= box.bottom : other.x >= box.left && other.x <= box.right && other.y >= box.top && other.y <= box.bottom : !1;
|
|
25049
25082
|
};
|
|
25050
|
-
goog
|
|
25083
|
+
module$contents$goog$math$Box_Box.relativePositionX = function(box, coord) {
|
|
25051
25084
|
return coord.x < box.left ? coord.x - box.left : coord.x > box.right ? coord.x - box.right : 0;
|
|
25052
25085
|
};
|
|
25053
|
-
goog
|
|
25086
|
+
module$contents$goog$math$Box_Box.relativePositionY = function(box, coord) {
|
|
25054
25087
|
return coord.y < box.top ? coord.y - box.top : coord.y > box.bottom ? coord.y - box.bottom : 0;
|
|
25055
25088
|
};
|
|
25056
|
-
goog
|
|
25057
|
-
var x = goog
|
|
25089
|
+
module$contents$goog$math$Box_Box.distance = function(box, coord) {
|
|
25090
|
+
var x = module$contents$goog$math$Box_Box.relativePositionX(box, coord), y = module$contents$goog$math$Box_Box.relativePositionY(box, coord);
|
|
25058
25091
|
return Math.sqrt(x * x + y * y);
|
|
25059
25092
|
};
|
|
25060
|
-
goog
|
|
25093
|
+
module$contents$goog$math$Box_Box.intersects = function(a, b) {
|
|
25061
25094
|
return a.left <= b.right && b.left <= a.right && a.top <= b.bottom && b.top <= a.bottom;
|
|
25062
25095
|
};
|
|
25063
|
-
goog
|
|
25096
|
+
module$contents$goog$math$Box_Box.intersectsWithPadding = function(a, b, padding) {
|
|
25064
25097
|
return a.left <= b.right + padding && b.left <= a.right + padding && a.top <= b.bottom + padding && b.top <= a.bottom + padding;
|
|
25065
25098
|
};
|
|
25066
|
-
goog
|
|
25099
|
+
module$contents$goog$math$Box_Box.prototype.ceil = function() {
|
|
25067
25100
|
this.top = Math.ceil(this.top);
|
|
25068
25101
|
this.right = Math.ceil(this.right);
|
|
25069
25102
|
this.bottom = Math.ceil(this.bottom);
|
|
25070
25103
|
this.left = Math.ceil(this.left);
|
|
25071
25104
|
return this;
|
|
25072
25105
|
};
|
|
25073
|
-
goog
|
|
25106
|
+
module$contents$goog$math$Box_Box.prototype.floor = function() {
|
|
25074
25107
|
this.top = Math.floor(this.top);
|
|
25075
25108
|
this.right = Math.floor(this.right);
|
|
25076
25109
|
this.bottom = Math.floor(this.bottom);
|
|
25077
25110
|
this.left = Math.floor(this.left);
|
|
25078
25111
|
return this;
|
|
25079
25112
|
};
|
|
25080
|
-
goog
|
|
25113
|
+
module$contents$goog$math$Box_Box.prototype.round = function() {
|
|
25081
25114
|
this.top = Math.round(this.top);
|
|
25082
25115
|
this.right = Math.round(this.right);
|
|
25083
25116
|
this.bottom = Math.round(this.bottom);
|
|
25084
25117
|
this.left = Math.round(this.left);
|
|
25085
25118
|
return this;
|
|
25086
25119
|
};
|
|
25087
|
-
goog
|
|
25120
|
+
module$contents$goog$math$Box_Box.prototype.translate = function(tx, opt_ty) {
|
|
25088
25121
|
tx instanceof goog.math.Coordinate ? (this.left += tx.x, this.right += tx.x, this.top += tx.y, this.bottom += tx.y) : (goog.asserts.assertNumber(tx), this.left += tx, this.right += tx, typeof opt_ty === "number" && (this.top += opt_ty, this.bottom += opt_ty));
|
|
25089
25122
|
return this;
|
|
25090
25123
|
};
|
|
25091
|
-
goog
|
|
25124
|
+
module$contents$goog$math$Box_Box.prototype.scale = function(sx, opt_sy) {
|
|
25092
25125
|
var sy = typeof opt_sy === "number" ? opt_sy : sx;
|
|
25093
25126
|
this.left *= sx;
|
|
25094
25127
|
this.right *= sx;
|
|
@@ -25096,6 +25129,7 @@ goog.math.Box.prototype.scale = function(sx, opt_sy) {
|
|
|
25096
25129
|
this.bottom *= sy;
|
|
25097
25130
|
return this;
|
|
25098
25131
|
};
|
|
25132
|
+
goog.math.Box = module$contents$goog$math$Box_Box;
|
|
25099
25133
|
goog.math.IRect = function() {
|
|
25100
25134
|
};
|
|
25101
25135
|
goog.math.Rect = function(x, y, w, h) {
|
|
@@ -25108,7 +25142,7 @@ goog.math.Rect.prototype.clone = function() {
|
|
|
25108
25142
|
return new goog.math.Rect(this.left, this.top, this.width, this.height);
|
|
25109
25143
|
};
|
|
25110
25144
|
goog.math.Rect.prototype.toBox = function() {
|
|
25111
|
-
return new goog
|
|
25145
|
+
return new module$contents$goog$math$Box_Box(this.top, this.left + this.width, this.top + this.height, this.left);
|
|
25112
25146
|
};
|
|
25113
25147
|
goog.math.Rect.createFromPositionAndSize = function(position, size) {
|
|
25114
25148
|
return new goog.math.Rect(position.x, position.y, size.width, size.height);
|
|
@@ -25355,7 +25389,7 @@ goog.style.getOffsetParent = function(element) {
|
|
|
25355
25389
|
return null;
|
|
25356
25390
|
};
|
|
25357
25391
|
goog.style.getVisibleRectForElement = function(element) {
|
|
25358
|
-
for (var visibleRect = new goog
|
|
25392
|
+
for (var visibleRect = new module$contents$goog$math$Box_Box(0, Infinity, Infinity, 0), dom = goog.dom.getDomHelper(element), body = dom.getDocument().body, documentElement = dom.getDocument().documentElement, scrollEl = dom.getDocumentScrollElement(), el = element; el = goog.style.getOffsetParent(el);) {
|
|
25359
25393
|
if ((!goog.userAgent.WEBKIT || el.clientHeight != 0 || el != body) && el != body && el != documentElement && goog.style.getStyle_(el, "overflow") != "visible") {
|
|
25360
25394
|
var pos = goog.style.getPageOffset(el), client = goog.style.getClientLeftTop(el);
|
|
25361
25395
|
pos.x += client.x;
|
|
@@ -25641,7 +25675,7 @@ goog.style.getIePixelDistance_ = function(element, propName) {
|
|
|
25641
25675
|
};
|
|
25642
25676
|
goog.style.getBox_ = function(element, stylePrefix) {
|
|
25643
25677
|
var left = goog.style.getComputedStyle(element, stylePrefix + "Left"), right = goog.style.getComputedStyle(element, stylePrefix + "Right"), top = goog.style.getComputedStyle(element, stylePrefix + "Top"), bottom = goog.style.getComputedStyle(element, stylePrefix + "Bottom");
|
|
25644
|
-
return new goog
|
|
25678
|
+
return new module$contents$goog$math$Box_Box(parseFloat(top), parseFloat(right), parseFloat(bottom), parseFloat(left));
|
|
25645
25679
|
};
|
|
25646
25680
|
goog.style.getPaddingBox = function(element) {
|
|
25647
25681
|
return goog.style.getBox_(element, "padding");
|
|
@@ -25659,7 +25693,7 @@ goog.style.getIePixelBorder_ = function(element, prop) {
|
|
|
25659
25693
|
};
|
|
25660
25694
|
goog.style.getBorderBox = function(element) {
|
|
25661
25695
|
var left = goog.style.getComputedStyle(element, "borderLeftWidth"), right = goog.style.getComputedStyle(element, "borderRightWidth"), top = goog.style.getComputedStyle(element, "borderTopWidth"), bottom = goog.style.getComputedStyle(element, "borderBottomWidth");
|
|
25662
|
-
return new goog
|
|
25696
|
+
return new module$contents$goog$math$Box_Box(parseFloat(top), parseFloat(right), parseFloat(bottom), parseFloat(left));
|
|
25663
25697
|
};
|
|
25664
25698
|
goog.style.getFontFamily = function(el) {
|
|
25665
25699
|
var doc = goog.dom.getOwnerDocument(el), font = "";
|
|
@@ -26204,41 +26238,41 @@ module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.BASE_URL
|
|
|
26204
26238
|
module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.MISSING_TILE_ERROR_ = "The specified key does not exist.";
|
|
26205
26239
|
module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.ACCESS_DENIED_ERROR_ = "AccessDenied";
|
|
26206
26240
|
ee.layers.CloudStorageTileSource = module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource;
|
|
26207
|
-
goog
|
|
26241
|
+
function module$contents$goog$structs$Queue_Queue() {
|
|
26208
26242
|
this.front_ = [];
|
|
26209
26243
|
this.back_ = [];
|
|
26210
|
-
}
|
|
26211
|
-
goog
|
|
26244
|
+
}
|
|
26245
|
+
module$contents$goog$structs$Queue_Queue.prototype.maybeFlip_ = function() {
|
|
26212
26246
|
this.front_.length === 0 && (this.front_ = this.back_, this.front_.reverse(), this.back_ = []);
|
|
26213
26247
|
};
|
|
26214
|
-
goog
|
|
26248
|
+
module$contents$goog$structs$Queue_Queue.prototype.enqueue = function(element) {
|
|
26215
26249
|
this.back_.push(element);
|
|
26216
26250
|
};
|
|
26217
|
-
goog
|
|
26251
|
+
module$contents$goog$structs$Queue_Queue.prototype.dequeue = function() {
|
|
26218
26252
|
this.maybeFlip_();
|
|
26219
26253
|
return this.front_.pop();
|
|
26220
26254
|
};
|
|
26221
|
-
goog
|
|
26255
|
+
module$contents$goog$structs$Queue_Queue.prototype.peek = function() {
|
|
26222
26256
|
this.maybeFlip_();
|
|
26223
26257
|
return module$contents$goog$array_peek(this.front_);
|
|
26224
26258
|
};
|
|
26225
|
-
goog
|
|
26259
|
+
module$contents$goog$structs$Queue_Queue.prototype.getCount = function() {
|
|
26226
26260
|
return this.front_.length + this.back_.length;
|
|
26227
26261
|
};
|
|
26228
|
-
goog
|
|
26262
|
+
module$contents$goog$structs$Queue_Queue.prototype.isEmpty = function() {
|
|
26229
26263
|
return this.front_.length === 0 && this.back_.length === 0;
|
|
26230
26264
|
};
|
|
26231
|
-
goog
|
|
26265
|
+
module$contents$goog$structs$Queue_Queue.prototype.clear = function() {
|
|
26232
26266
|
this.front_ = [];
|
|
26233
26267
|
this.back_ = [];
|
|
26234
26268
|
};
|
|
26235
|
-
goog
|
|
26269
|
+
module$contents$goog$structs$Queue_Queue.prototype.contains = function(obj) {
|
|
26236
26270
|
return module$contents$goog$array_contains(this.front_, obj) || module$contents$goog$array_contains(this.back_, obj);
|
|
26237
26271
|
};
|
|
26238
|
-
goog
|
|
26272
|
+
module$contents$goog$structs$Queue_Queue.prototype.remove = function(obj) {
|
|
26239
26273
|
return module$contents$goog$array_removeLast(this.front_, obj) || module$contents$goog$array_remove(this.back_, obj);
|
|
26240
26274
|
};
|
|
26241
|
-
goog
|
|
26275
|
+
module$contents$goog$structs$Queue_Queue.prototype.getValues = function() {
|
|
26242
26276
|
for (var res = [], i = this.front_.length - 1; i >= 0; --i) {
|
|
26243
26277
|
res.push(this.front_[i]);
|
|
26244
26278
|
}
|
|
@@ -26247,6 +26281,7 @@ goog.structs.Queue.prototype.getValues = function() {
|
|
|
26247
26281
|
}
|
|
26248
26282
|
return res;
|
|
26249
26283
|
};
|
|
26284
|
+
goog.structs.Queue = module$contents$goog$structs$Queue_Queue;
|
|
26250
26285
|
goog.structs.Pool = function(opt_minCount, opt_maxCount) {
|
|
26251
26286
|
goog.Disposable.call(this);
|
|
26252
26287
|
this.minCount_ = opt_minCount || 0;
|
|
@@ -26254,7 +26289,7 @@ goog.structs.Pool = function(opt_minCount, opt_maxCount) {
|
|
|
26254
26289
|
if (this.minCount_ > this.maxCount_) {
|
|
26255
26290
|
throw Error(goog.structs.Pool.ERROR_MIN_MAX_);
|
|
26256
26291
|
}
|
|
26257
|
-
this.freeQueue_ = new goog
|
|
26292
|
+
this.freeQueue_ = new module$contents$goog$structs$Queue_Queue();
|
|
26258
26293
|
this.inUseSet_ = new goog.structs.Set();
|
|
26259
26294
|
this.delay = 0;
|
|
26260
26295
|
this.lastAccess = null;
|
|
@@ -26351,26 +26386,27 @@ goog.structs.Pool.prototype.disposeInternal = function() {
|
|
|
26351
26386
|
}
|
|
26352
26387
|
delete this.freeQueue_;
|
|
26353
26388
|
};
|
|
26354
|
-
goog
|
|
26389
|
+
function module$contents$goog$structs$Node_Node(key, value) {
|
|
26355
26390
|
this.key_ = key;
|
|
26356
26391
|
this.value_ = value;
|
|
26357
|
-
}
|
|
26358
|
-
goog
|
|
26392
|
+
}
|
|
26393
|
+
module$contents$goog$structs$Node_Node.prototype.getKey = function() {
|
|
26359
26394
|
return this.key_;
|
|
26360
26395
|
};
|
|
26361
|
-
goog
|
|
26396
|
+
module$contents$goog$structs$Node_Node.prototype.getValue = function() {
|
|
26362
26397
|
return this.value_;
|
|
26363
26398
|
};
|
|
26364
|
-
goog
|
|
26365
|
-
return new goog
|
|
26399
|
+
module$contents$goog$structs$Node_Node.prototype.clone = function() {
|
|
26400
|
+
return new module$contents$goog$structs$Node_Node(this.key_, this.value_);
|
|
26366
26401
|
};
|
|
26402
|
+
goog.structs.Node = module$contents$goog$structs$Node_Node;
|
|
26367
26403
|
var module$contents$goog$structs$Heap_Heap = function(opt_heap) {
|
|
26368
26404
|
this.nodes_ = [];
|
|
26369
26405
|
opt_heap && this.insertAll(opt_heap);
|
|
26370
26406
|
};
|
|
26371
26407
|
module$contents$goog$structs$Heap_Heap.prototype.insert = function(key, value) {
|
|
26372
|
-
var
|
|
26373
|
-
nodes.push(
|
|
26408
|
+
var nodes = this.nodes_;
|
|
26409
|
+
nodes.push(new module$contents$goog$structs$Node_Node(key, value));
|
|
26374
26410
|
this.moveUp_(nodes.length - 1);
|
|
26375
26411
|
};
|
|
26376
26412
|
module$contents$goog$structs$Heap_Heap.prototype.insertAll = function(heap) {
|
|
@@ -26379,7 +26415,7 @@ module$contents$goog$structs$Heap_Heap.prototype.insertAll = function(heap) {
|
|
|
26379
26415
|
var values = heap.getValues();
|
|
26380
26416
|
if (this.getCount() <= 0) {
|
|
26381
26417
|
for (var nodes = this.nodes_, i = 0; i < keys.length; i++) {
|
|
26382
|
-
nodes.push(new goog
|
|
26418
|
+
nodes.push(new module$contents$goog$structs$Node_Node(keys[i], values[i]));
|
|
26383
26419
|
}
|
|
26384
26420
|
return;
|
|
26385
26421
|
}
|
|
@@ -26482,27 +26518,27 @@ module$contents$goog$structs$PriorityQueue_PriorityQueue.prototype.dequeue = fun
|
|
|
26482
26518
|
return this.remove();
|
|
26483
26519
|
};
|
|
26484
26520
|
goog.structs.PriorityQueue = module$contents$goog$structs$PriorityQueue_PriorityQueue;
|
|
26485
|
-
goog
|
|
26521
|
+
function module$contents$goog$structs$PriorityPool_PriorityPool(opt_minCount, opt_maxCount) {
|
|
26486
26522
|
this.delayTimeout_ = void 0;
|
|
26487
26523
|
this.requestQueue_ = new module$contents$goog$structs$PriorityQueue_PriorityQueue();
|
|
26488
26524
|
goog.structs.Pool.call(this, opt_minCount, opt_maxCount);
|
|
26489
|
-
}
|
|
26490
|
-
goog.inherits(goog
|
|
26491
|
-
goog
|
|
26492
|
-
goog
|
|
26493
|
-
goog
|
|
26525
|
+
}
|
|
26526
|
+
goog.inherits(module$contents$goog$structs$PriorityPool_PriorityPool, goog.structs.Pool);
|
|
26527
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.DEFAULT_PRIORITY_ = 100;
|
|
26528
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.setDelay = function(delay) {
|
|
26529
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.setDelay.call(this, delay);
|
|
26494
26530
|
this.lastAccess != null && (goog.global.clearTimeout(this.delayTimeout_), this.delayTimeout_ = goog.global.setTimeout(goog.bind(this.handleQueueRequests_, this), this.delay + this.lastAccess - Date.now()), this.handleQueueRequests_());
|
|
26495
26531
|
};
|
|
26496
|
-
goog
|
|
26532
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.getObject = function(opt_callback, opt_priority) {
|
|
26497
26533
|
if (!opt_callback) {
|
|
26498
|
-
var result = goog
|
|
26534
|
+
var result = module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.getObject.call(this);
|
|
26499
26535
|
result && this.delay && (this.delayTimeout_ = goog.global.setTimeout(goog.bind(this.handleQueueRequests_, this), this.delay));
|
|
26500
26536
|
return result;
|
|
26501
26537
|
}
|
|
26502
|
-
this.requestQueue_.enqueue(opt_priority !== void 0 ? opt_priority : goog
|
|
26538
|
+
this.requestQueue_.enqueue(opt_priority !== void 0 ? opt_priority : module$contents$goog$structs$PriorityPool_PriorityPool.DEFAULT_PRIORITY_, opt_callback);
|
|
26503
26539
|
this.handleQueueRequests_();
|
|
26504
26540
|
};
|
|
26505
|
-
goog
|
|
26541
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.handleQueueRequests_ = function() {
|
|
26506
26542
|
for (var requestQueue = this.requestQueue_; requestQueue.getCount() > 0;) {
|
|
26507
26543
|
var obj = this.getObject();
|
|
26508
26544
|
if (obj) {
|
|
@@ -26512,20 +26548,21 @@ goog.structs.PriorityPool.prototype.handleQueueRequests_ = function() {
|
|
|
26512
26548
|
}
|
|
26513
26549
|
}
|
|
26514
26550
|
};
|
|
26515
|
-
goog
|
|
26516
|
-
goog
|
|
26551
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.addFreeObject = function(obj) {
|
|
26552
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.addFreeObject.call(this, obj);
|
|
26517
26553
|
this.handleQueueRequests_();
|
|
26518
26554
|
};
|
|
26519
|
-
goog
|
|
26520
|
-
goog
|
|
26555
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.adjustForMinMax = function() {
|
|
26556
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.adjustForMinMax.call(this);
|
|
26521
26557
|
this.handleQueueRequests_();
|
|
26522
26558
|
};
|
|
26523
|
-
goog
|
|
26524
|
-
goog
|
|
26559
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.disposeInternal = function() {
|
|
26560
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.disposeInternal.call(this);
|
|
26525
26561
|
goog.global.clearTimeout(this.delayTimeout_);
|
|
26526
26562
|
this.requestQueue_.clear();
|
|
26527
26563
|
this.requestQueue_ = null;
|
|
26528
26564
|
};
|
|
26565
|
+
goog.structs.PriorityPool = module$contents$goog$structs$PriorityPool_PriorityPool;
|
|
26529
26566
|
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler) {
|
|
26530
26567
|
module$exports$ee$layers$AbstractTileSource.call(this);
|
|
26531
26568
|
this.mapId_ = mapId;
|
|
@@ -26571,7 +26608,7 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26571
26608
|
return this.profiler_ && this.profiler_.isEnabled() ? url + "&profiling=1" : url;
|
|
26572
26609
|
};
|
|
26573
26610
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getGlobalTokenPool_ = function() {
|
|
26574
|
-
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new goog
|
|
26611
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new module$contents$goog$structs$PriorityPool_PriorityPool(0, module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_));
|
|
26575
26612
|
return module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_;
|
|
26576
26613
|
};
|
|
26577
26614
|
goog.exportSymbol("ee.layers.EarthEngineTileSource", module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource);
|
|
@@ -26785,9 +26822,9 @@ ee.MapTileManager.Token_.prototype.isActive = function() {
|
|
|
26785
26822
|
return this.active_;
|
|
26786
26823
|
};
|
|
26787
26824
|
ee.MapTileManager.TokenPool_ = function(opt_minCount, opt_maxCount) {
|
|
26788
|
-
goog
|
|
26825
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.call(this, opt_minCount, opt_maxCount);
|
|
26789
26826
|
};
|
|
26790
|
-
$jscomp.inherits(ee.MapTileManager.TokenPool_, goog
|
|
26827
|
+
$jscomp.inherits(ee.MapTileManager.TokenPool_, module$contents$goog$structs$PriorityPool_PriorityPool);
|
|
26791
26828
|
ee.MapTileManager.TokenPool_.prototype.createObject = function() {
|
|
26792
26829
|
return new ee.MapTileManager.Token_();
|
|
26793
26830
|
};
|
|
@@ -26879,46 +26916,47 @@ goog.exportProperty(ee.MapLayerOverlay.prototype, "addTileCallback", ee.MapLayer
|
|
|
26879
26916
|
goog.exportProperty(ee.MapLayerOverlay.prototype, "getTile", ee.MapLayerOverlay.prototype.getTile);
|
|
26880
26917
|
goog.exportProperty(ee.MapLayerOverlay.prototype, "setOpacity", ee.MapLayerOverlay.prototype.setOpacity);
|
|
26881
26918
|
goog.exportProperty(ee.MapLayerOverlay.prototype, "releaseTile", ee.MapLayerOverlay.prototype.releaseTile);
|
|
26882
|
-
goog
|
|
26919
|
+
function module$contents$goog$async$Delay_Delay(listener, opt_interval, opt_handler) {
|
|
26883
26920
|
goog.Disposable.call(this);
|
|
26884
26921
|
this.listener_ = listener;
|
|
26885
26922
|
this.interval_ = opt_interval || 0;
|
|
26886
26923
|
this.handler_ = opt_handler;
|
|
26887
26924
|
this.callback_ = goog.bind(this.doAction_, this);
|
|
26888
|
-
}
|
|
26889
|
-
goog.inherits(goog
|
|
26890
|
-
goog
|
|
26891
|
-
goog
|
|
26892
|
-
goog
|
|
26925
|
+
}
|
|
26926
|
+
goog.inherits(module$contents$goog$async$Delay_Delay, goog.Disposable);
|
|
26927
|
+
module$contents$goog$async$Delay_Delay.prototype.id_ = 0;
|
|
26928
|
+
module$contents$goog$async$Delay_Delay.prototype.disposeInternal = function() {
|
|
26929
|
+
module$contents$goog$async$Delay_Delay.superClass_.disposeInternal.call(this);
|
|
26893
26930
|
this.stop();
|
|
26894
26931
|
delete this.listener_;
|
|
26895
26932
|
delete this.handler_;
|
|
26896
26933
|
};
|
|
26897
|
-
goog
|
|
26934
|
+
module$contents$goog$async$Delay_Delay.prototype.start = function(opt_interval) {
|
|
26898
26935
|
this.stop();
|
|
26899
26936
|
this.id_ = goog.Timer.callOnce(this.callback_, opt_interval !== void 0 ? opt_interval : this.interval_);
|
|
26900
26937
|
};
|
|
26901
|
-
goog
|
|
26938
|
+
module$contents$goog$async$Delay_Delay.prototype.startIfNotActive = function(opt_interval) {
|
|
26902
26939
|
this.isActive() || this.start(opt_interval);
|
|
26903
26940
|
};
|
|
26904
|
-
goog
|
|
26941
|
+
module$contents$goog$async$Delay_Delay.prototype.stop = function() {
|
|
26905
26942
|
this.isActive() && goog.Timer.clear(this.id_);
|
|
26906
26943
|
this.id_ = 0;
|
|
26907
26944
|
};
|
|
26908
|
-
goog
|
|
26945
|
+
module$contents$goog$async$Delay_Delay.prototype.fire = function() {
|
|
26909
26946
|
this.stop();
|
|
26910
26947
|
this.doAction_();
|
|
26911
26948
|
};
|
|
26912
|
-
goog
|
|
26949
|
+
module$contents$goog$async$Delay_Delay.prototype.fireIfActive = function() {
|
|
26913
26950
|
this.isActive() && this.fire();
|
|
26914
26951
|
};
|
|
26915
|
-
goog
|
|
26952
|
+
module$contents$goog$async$Delay_Delay.prototype.isActive = function() {
|
|
26916
26953
|
return this.id_ != 0;
|
|
26917
26954
|
};
|
|
26918
|
-
goog
|
|
26955
|
+
module$contents$goog$async$Delay_Delay.prototype.doAction_ = function() {
|
|
26919
26956
|
this.id_ = 0;
|
|
26920
26957
|
this.listener_ && this.listener_.call(this.handler_);
|
|
26921
26958
|
};
|
|
26959
|
+
goog.async.Delay = module$contents$goog$async$Delay_Delay;
|
|
26922
26960
|
ee.data.Profiler = function(format) {
|
|
26923
26961
|
goog.events.EventTarget.call(this);
|
|
26924
26962
|
this.format_ = format;
|
|
@@ -26928,7 +26966,7 @@ ee.data.Profiler = function(format) {
|
|
|
26928
26966
|
this.tileProfileIds_ = Object.create(null);
|
|
26929
26967
|
this.showInternal_ = !1;
|
|
26930
26968
|
this.profileError_ = null;
|
|
26931
|
-
this.throttledRefresh_ = new goog
|
|
26969
|
+
this.throttledRefresh_ = new module$contents$goog$async$Delay_Delay(goog.bind(this.refresh_, this), ee.data.Profiler.DELAY_BEFORE_REFRESH_);
|
|
26932
26970
|
this.profileData_ = ee.data.Profiler.getEmptyProfile_(format);
|
|
26933
26971
|
this.MAX_RETRY_COUNT_ = 5;
|
|
26934
26972
|
};
|
|
@@ -27029,29 +27067,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27029
27067
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27030
27068
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27031
27069
|
(function() {
|
|
27032
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.
|
|
27033
|
-
orderedParamLists = [["name", "
|
|
27070
|
+
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.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.Collection.prototype.filter ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.updateAsset ee.data.getList ee.data.updateTask ee.data.startIngestion ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.createFolder ee.data.setAssetAcl ee.data.makeThumbUrl ee.data.listAssets ee.data.renameAsset ee.data.authenticateViaOauth ee.data.getTableDownloadId ee.data.getMapId ee.data.getTaskList ee.data.setAssetProperties ee.data.authenticate ee.data.copyAsset ee.data.listBuckets ee.data.getTileUrl ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.listOperations ee.data.getWorkloadTag ee.data.getDownloadId ee.data.cancelOperation ee.data.listImages ee.data.makeDownloadUrl ee.data.getAssetAcl ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.getOperation ee.data.createAssetHome ee.data.setWorkloadTag ee.data.authenticateViaPrivateKey ee.data.newTaskId ee.data.getInfo ee.data.createAsset ee.data.computeValue ee.data.setDefaultWorkloadTag ee.data.cancelTask ee.data.getThumbId ee.data.resetWorkloadTag ee.Date ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Dictionary ee.initialize ee.call ee.reset ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.prototype.not ee.Filter.lt ee.Filter.gt ee.Filter.neq ee.Filter.inList ee.Filter.or ee.Filter.gte ee.Filter.lte ee.Filter.eq ee.Filter ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.and ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiLineString ee.Geometry.LinearRing ee.Geometry.BBox ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.MultiPolygon ee.Geometry.Rectangle ee.Geometry.LineString ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.select ee.Image ee.Image.prototype.getThumbURL ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.clip ee.Image.prototype.rename ee.Image.cat ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.List ee.Number ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27071
|
+
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(" "),
|
|
27034
27072
|
"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(" "),
|
|
27035
27073
|
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27036
|
-
"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(" "), "
|
|
27037
|
-
["
|
|
27038
|
-
"
|
|
27039
|
-
|
|
27040
|
-
|
|
27041
|
-
["
|
|
27042
|
-
["
|
|
27043
|
-
|
|
27044
|
-
["
|
|
27045
|
-
[
|
|
27046
|
-
|
|
27047
|
-
|
|
27048
|
-
ee.
|
|
27049
|
-
ee.data.
|
|
27050
|
-
ee.
|
|
27051
|
-
ee.
|
|
27052
|
-
ee.
|
|
27053
|
-
ee.
|
|
27054
|
-
ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27074
|
+
"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(" "), ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["algorithm", "opt_dropNulls"],
|
|
27075
|
+
["algorithm", "opt_first"], ["start", "opt_end"], ["filter"], ["func", "var_args"], ["legacy"], ["callback"], ["opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "request", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["id"], ["parent",
|
|
27076
|
+
"opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["params", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["assetId", "properties", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["id", "x", "y", "z"], ["id"],
|
|
27077
|
+
["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["assetId", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], [], ["params", "opt_callback"], ["operationName", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["id"], ["assetId", "opt_callback"], ["opt_success", "opt_error"], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"], ["id", "opt_callback"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"],
|
|
27078
|
+
["tag"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["opt_count", "opt_callback"], ["id", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["obj", "opt_callback"], ["tag"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["opt_resetDefault"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
27079
|
+
["func", "var_args"], [], [], [], ["func", "namedArgs"], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], [], ["name", "value"], ["name", "value"], ["name", "value"],
|
|
27080
|
+
["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_filter"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["var_args"], ["namedArgs"], ["var_args"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27081
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south", "east", "north"], [], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["var_args"], ["opt_args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"],
|
|
27082
|
+
["r", "g", "b"], ["expression", "opt_map"], ["geometry"], ["var_args"], ["var_args"], [], ["params", "opt_callback"], ["args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27083
|
+
[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.toAsset, module$contents$ee$batch_Export.classifier.toAsset,
|
|
27084
|
+
module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filterDate, ee.Collection.prototype.filter, ee.ComputedObject.prototype.aside,
|
|
27085
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.data.getVideoThumbId, ee.data.getTaskStatus, ee.data.updateAsset, ee.data.getList, ee.data.updateTask, ee.data.startIngestion, ee.data.getFilmstripThumbId, ee.data.startProcessing, ee.data.createFolder, ee.data.setAssetAcl, ee.data.makeThumbUrl, ee.data.listAssets, ee.data.renameAsset, ee.data.authenticateViaOauth, ee.data.getTableDownloadId, ee.data.getMapId, ee.data.getTaskList,
|
|
27086
|
+
ee.data.setAssetProperties, ee.data.authenticate, ee.data.copyAsset, ee.data.listBuckets, ee.data.getTileUrl, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.listOperations, ee.data.getWorkloadTag, ee.data.getDownloadId, ee.data.cancelOperation, ee.data.listImages, ee.data.makeDownloadUrl, ee.data.getAssetAcl, ee.data.authenticateViaPopup, ee.data.getFeatureViewTilesKey, ee.data.listFeatures, ee.data.getAssetRoots,
|
|
27087
|
+
ee.data.getAsset, ee.data.getOperation, ee.data.createAssetHome, ee.data.setWorkloadTag, ee.data.authenticateViaPrivateKey, ee.data.newTaskId, ee.data.getInfo, ee.data.createAsset, ee.data.computeValue, ee.data.setDefaultWorkloadTag, ee.data.cancelTask, ee.data.getThumbId, ee.data.resetWorkloadTag, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromJSON, ee.Dictionary, ee.initialize, ee.call, ee.reset, ee.Algorithms, ee.InitState,
|
|
27088
|
+
ee.apply, ee.TILE_SIZE, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.Filter.prototype.not, ee.Filter.lt, ee.Filter.gt, ee.Filter.neq, ee.Filter.inList, ee.Filter.or,
|
|
27089
|
+
ee.Filter.gte, ee.Filter.lte, ee.Filter.eq, ee.Filter, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.and, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.prototype.serialize, ee.Geometry.prototype.toGeoJSON, ee.Geometry.MultiLineString, ee.Geometry.LinearRing, ee.Geometry.BBox, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiPoint, ee.Geometry.MultiPolygon, ee.Geometry.Rectangle, ee.Geometry.LineString,
|
|
27090
|
+
ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.select, ee.Image, ee.Image.prototype.getThumbURL, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.prototype.expression, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.Image.cat, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId,
|
|
27091
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27055
27092
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27056
27093
|
});
|
|
27057
27094
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|