@google/earthengine 1.6.0 → 1.6.2
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 +163 -148
- package/build/ee_api_js.js +279 -279
- package/build/ee_api_js_debug.js +140 -126
- package/build/ee_api_js_npm.js +163 -148
- package/build/main.js +163 -148
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/eeapiclient/api_request_hook.ts +32 -3
- package/src/eeapiclient/domain_object.ts +1 -3
- package/src/eeapiclient/promise_api_client.ts +14 -10
package/build/main.js
CHANGED
|
@@ -1192,6 +1192,19 @@ $jscomp.polyfill("String.prototype.includes", function(orig) {
|
|
|
1192
1192
|
return $jscomp.checkStringArgs(this, searchString, "includes").indexOf(searchString, opt_position || 0) !== -1;
|
|
1193
1193
|
};
|
|
1194
1194
|
}, "es6", "es3");
|
|
1195
|
+
$jscomp.polyfill("Promise.prototype.finally", function(orig) {
|
|
1196
|
+
return orig ? orig : function(onFinally) {
|
|
1197
|
+
return this.then(function(value) {
|
|
1198
|
+
return Promise.resolve(onFinally()).then(function() {
|
|
1199
|
+
return value;
|
|
1200
|
+
});
|
|
1201
|
+
}, function(reason) {
|
|
1202
|
+
return Promise.resolve(onFinally()).then(function() {
|
|
1203
|
+
throw reason;
|
|
1204
|
+
});
|
|
1205
|
+
});
|
|
1206
|
+
};
|
|
1207
|
+
}, "es9", "es3");
|
|
1195
1208
|
$jscomp.findInternal = function(array, callback, thisArg) {
|
|
1196
1209
|
array instanceof String && (array = String(array));
|
|
1197
1210
|
for (var len = array.length, i = 0; i < len; i++) {
|
|
@@ -1315,7 +1328,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1315
1328
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1316
1329
|
};
|
|
1317
1330
|
}, "es8", "es3");
|
|
1318
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__enable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__enable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1331
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__enable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__enable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1, GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable:!1,
|
|
1319
1332
|
GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__optimize_get_ei_from_ved__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1320
1333
|
/*
|
|
1321
1334
|
|
|
@@ -2209,9 +2222,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2209
2222
|
};
|
|
2210
2223
|
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;
|
|
2211
2224
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2212
|
-
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$
|
|
2213
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2214
|
-
var key = $jscomp$key$
|
|
2225
|
+
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$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
2226
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2227
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2215
2228
|
if (value != null) {
|
|
2216
2229
|
var copy = void 0;
|
|
2217
2230
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2222,11 +2235,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2222
2235
|
} else if (objects.hasOwnProperty(key)) {
|
|
2223
2236
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2224
2237
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2225
|
-
$jscomp$loop$
|
|
2238
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2226
2239
|
return function(v) {
|
|
2227
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2240
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2228
2241
|
};
|
|
2229
|
-
}($jscomp$loop$
|
|
2242
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2230
2243
|
} else if (Array.isArray(value)) {
|
|
2231
2244
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2232
2245
|
continue;
|
|
@@ -2241,8 +2254,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2241
2254
|
return target;
|
|
2242
2255
|
}
|
|
2243
2256
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2244
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2245
|
-
var mapKey = $jscomp$key$
|
|
2257
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m192531680$41$mapKey.done; $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next()) {
|
|
2258
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2246
2259
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2247
2260
|
}
|
|
2248
2261
|
return objMap;
|
|
@@ -2272,39 +2285,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2272
2285
|
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))) {
|
|
2273
2286
|
return !1;
|
|
2274
2287
|
}
|
|
2275
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2276
|
-
var key = $jscomp$key$
|
|
2288
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m192531680$42$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$45 = {}; !$jscomp$key$m192531680$42$key.done; $jscomp$loop$m192531680$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m192531680$42$key = $jscomp$iter$21.next()) {
|
|
2289
|
+
var key = $jscomp$key$m192531680$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2277
2290
|
if (has1 !== has2) {
|
|
2278
2291
|
return !1;
|
|
2279
2292
|
}
|
|
2280
2293
|
if (has1) {
|
|
2281
2294
|
var value1 = serializable1.Serializable$get(key);
|
|
2282
|
-
$jscomp$loop$
|
|
2295
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2283
2296
|
if (arrays1.hasOwnProperty(key)) {
|
|
2284
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2297
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2285
2298
|
return !1;
|
|
2286
2299
|
}
|
|
2287
2300
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2288
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2301
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2289
2302
|
return !1;
|
|
2290
2303
|
}
|
|
2291
2304
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2292
|
-
if ($jscomp$loop$
|
|
2293
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2305
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2306
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2294
2307
|
return function(v1, i) {
|
|
2295
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2308
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2296
2309
|
};
|
|
2297
|
-
}($jscomp$loop$
|
|
2310
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2298
2311
|
return !1;
|
|
2299
2312
|
}
|
|
2300
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2313
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2301
2314
|
return !1;
|
|
2302
2315
|
}
|
|
2303
2316
|
} else if (Array.isArray(value1)) {
|
|
2304
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2317
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2305
2318
|
return !1;
|
|
2306
2319
|
}
|
|
2307
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2320
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2308
2321
|
return !1;
|
|
2309
2322
|
}
|
|
2310
2323
|
}
|
|
@@ -2326,8 +2339,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2326
2339
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2327
2340
|
return !1;
|
|
2328
2341
|
}
|
|
2329
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2330
|
-
var mapKey = $jscomp$key$
|
|
2342
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m192531680$43$mapKey.done; $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next()) {
|
|
2343
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2331
2344
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2332
2345
|
return !1;
|
|
2333
2346
|
}
|
|
@@ -2408,15 +2421,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2408
2421
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2409
2422
|
};
|
|
2410
2423
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2411
|
-
var $jscomp$this$
|
|
2424
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2412
2425
|
payload += this._metadataPayload;
|
|
2413
2426
|
return Promise.all(this.files.map(function(f) {
|
|
2414
|
-
return $jscomp$this$
|
|
2427
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2415
2428
|
})).then(function(filePayloads) {
|
|
2416
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2417
|
-
payload += $jscomp$key$
|
|
2429
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m667091202$9$filePayload.done; $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next()) {
|
|
2430
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2418
2431
|
}
|
|
2419
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2432
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2420
2433
|
});
|
|
2421
2434
|
};
|
|
2422
2435
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2928,8 +2941,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2928
2941
|
throw Error(message);
|
|
2929
2942
|
}
|
|
2930
2943
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2931
|
-
var $jscomp$templatelit$
|
|
2932
|
-
["\\0"]), $jscomp$templatelit$
|
|
2944
|
+
var $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2945
|
+
["\\0"]), $jscomp$templatelit$1274514361$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$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"};
|
|
2933
2946
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2934
2947
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2935
2948
|
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 ##############################");
|
|
@@ -2943,14 +2956,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2943
2956
|
return fn.toString().indexOf("`") === -1;
|
|
2944
2957
|
}
|
|
2945
2958
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2946
|
-
return tag($jscomp$templatelit$
|
|
2959
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2947
2960
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2948
|
-
return tag($jscomp$templatelit$
|
|
2961
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2949
2962
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2950
|
-
return tag($jscomp$templatelit$
|
|
2963
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2951
2964
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2952
|
-
return tag($jscomp$templatelit$
|
|
2953
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2965
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2966
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$12);
|
|
2954
2967
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2955
2968
|
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)) ?
|
|
2956
2969
|
!0 : !1;
|
|
@@ -3276,9 +3289,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3276
3289
|
}
|
|
3277
3290
|
}
|
|
3278
3291
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3279
|
-
var $jscomp$tmp$error$
|
|
3280
|
-
this.message = $jscomp$tmp$error$
|
|
3281
|
-
"stack" in $jscomp$tmp$error$
|
|
3292
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3293
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3294
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3282
3295
|
this.type = type;
|
|
3283
3296
|
this.intent = intent;
|
|
3284
3297
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3374,7 +3387,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3374
3387
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3375
3388
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3376
3389
|
doc = doc === void 0 ? document : doc;
|
|
3377
|
-
var $jscomp$optchain$
|
|
3390
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = doc).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
3378
3391
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3379
3392
|
}
|
|
3380
3393
|
;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"};
|
|
@@ -4806,9 +4819,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4806
4819
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4807
4820
|
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"};
|
|
4808
4821
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4809
|
-
var $jscomp$tmp$error$
|
|
4810
|
-
this.message = $jscomp$tmp$error$
|
|
4811
|
-
"stack" in $jscomp$tmp$error$
|
|
4822
|
+
var $jscomp$tmp$error$m991617773$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4823
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4824
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4812
4825
|
this.url = url;
|
|
4813
4826
|
this.typeName = typeName;
|
|
4814
4827
|
this.contentType = contentType;
|
|
@@ -4820,48 +4833,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4820
4833
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4821
4834
|
}
|
|
4822
4835
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4823
|
-
var response, $jscomp$optchain$
|
|
4824
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4825
|
-
if ($jscomp$generator$context$
|
|
4826
|
-
return $jscomp$generator$context$
|
|
4827
|
-
}
|
|
4828
|
-
response = $jscomp$generator$context$
|
|
4829
|
-
mimeType = ($jscomp$optchain$
|
|
4830
|
-
return $jscomp$generator$context$
|
|
4836
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4837
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4838
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
4839
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4840
|
+
}
|
|
4841
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
4842
|
+
mimeType = ($jscomp$optchain$tmpm991617773$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmpm991617773$1 = $jscomp$optchain$tmpm991617773$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmpm991617773$2 = $jscomp$optchain$tmpm991617773$1[0]) == null ? void 0 : $jscomp$optchain$tmpm991617773$2.toLowerCase();
|
|
4843
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4831
4844
|
var text;
|
|
4832
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4833
|
-
if ($jscomp$generator$context$
|
|
4845
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4846
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
4834
4847
|
if (mimeType !== "text/html") {
|
|
4835
4848
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4836
4849
|
}
|
|
4837
|
-
return $jscomp$generator$context$
|
|
4850
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4838
4851
|
}
|
|
4839
|
-
text = $jscomp$generator$context$
|
|
4840
|
-
return $jscomp$generator$context$
|
|
4852
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
4853
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4841
4854
|
});
|
|
4842
4855
|
}, script:function() {
|
|
4843
4856
|
var text;
|
|
4844
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4845
|
-
if ($jscomp$generator$context$
|
|
4857
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4858
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
4846
4859
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4847
4860
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4848
4861
|
}
|
|
4849
|
-
return $jscomp$generator$context$
|
|
4862
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4850
4863
|
}
|
|
4851
|
-
text = $jscomp$generator$context$
|
|
4852
|
-
return $jscomp$generator$context$
|
|
4864
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
4865
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4853
4866
|
});
|
|
4854
4867
|
}, styleSheet:function() {
|
|
4855
4868
|
var text;
|
|
4856
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4857
|
-
if ($jscomp$generator$context$
|
|
4869
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4870
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
4858
4871
|
if (mimeType !== "text/css") {
|
|
4859
4872
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4860
4873
|
}
|
|
4861
|
-
return $jscomp$generator$context$
|
|
4874
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4862
4875
|
}
|
|
4863
|
-
text = $jscomp$generator$context$
|
|
4864
|
-
return $jscomp$generator$context$
|
|
4876
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
4877
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4865
4878
|
});
|
|
4866
4879
|
}});
|
|
4867
4880
|
});
|
|
@@ -6283,8 +6296,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6283
6296
|
}
|
|
6284
6297
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6285
6298
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6286
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6287
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6299
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$1047461284$0$ = $jscomp$iter$29.next(); !$jscomp$key$1047461284$0$.done; $jscomp$key$1047461284$0$ = $jscomp$iter$29.next()) {
|
|
6300
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$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;
|
|
6288
6301
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6289
6302
|
}
|
|
6290
6303
|
return urlQueryParams;
|
|
@@ -6295,8 +6308,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6295
6308
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6296
6309
|
if (params.headers) {
|
|
6297
6310
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6298
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6299
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6311
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$1047461284$1$ = $jscomp$iter$30.next(); !$jscomp$key$1047461284$1$.done; $jscomp$key$1047461284$1$ = $jscomp$iter$30.next()) {
|
|
6312
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$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;
|
|
6300
6313
|
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);
|
|
6301
6314
|
}
|
|
6302
6315
|
}
|
|
@@ -6325,10 +6338,14 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient = function(reques
|
|
|
6325
6338
|
};
|
|
6326
6339
|
$jscomp.inherits(module$exports$eeapiclient$promise_api_client.PromiseApiClient, module$exports$eeapiclient$api_client.ApiClient);
|
|
6327
6340
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$addHooksToRequest = function(requestParams, promise) {
|
|
6328
|
-
|
|
6341
|
+
var hook = module$contents$eeapiclient$api_request_hook_getRequestHook(this.hookFactory, requestParams);
|
|
6342
|
+
return hook == null ? promise : promise.then(function(response) {
|
|
6329
6343
|
return response;
|
|
6330
6344
|
}, function(error) {
|
|
6331
6345
|
throw error;
|
|
6346
|
+
}).finally(function() {
|
|
6347
|
+
var $jscomp$optchain$tmp1237977804$1;
|
|
6348
|
+
($jscomp$optchain$tmp1237977804$1 = hook.onFinalize) == null || $jscomp$optchain$tmp1237977804$1.call(hook);
|
|
6332
6349
|
});
|
|
6333
6350
|
};
|
|
6334
6351
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$request = function(requestParams) {
|
|
@@ -6336,9 +6353,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6336
6353
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6337
6354
|
};
|
|
6338
6355
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6339
|
-
var $jscomp$this$
|
|
6356
|
+
var $jscomp$this$1237977804$6 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6340
6357
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6341
|
-
return $jscomp$this$
|
|
6358
|
+
return $jscomp$this$1237977804$6.requestService.send(params, responseCtor);
|
|
6342
6359
|
}));
|
|
6343
6360
|
};
|
|
6344
6361
|
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"};
|
|
@@ -6519,7 +6536,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native
|
|
|
6519
6536
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable = !1;
|
|
6520
6537
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable = !1;
|
|
6521
6538
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable = !1;
|
|
6522
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6539
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable = !1;
|
|
6523
6540
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6524
6541
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6525
6542
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
@@ -6531,13 +6548,14 @@ goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2eto
|
|
|
6531
6548
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6532
6549
|
goog.flags.CLIENT_ONLY_WIZ_QUEUE_EFFECT_AND_ON_INIT_INITIAL_RUNS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__enable : goog.readFlagInternalDoNotUseOrElse(772657768, !1);
|
|
6533
6550
|
goog.flags.CLIENT_ONLY_WIZ_CONTEXT_PER_COMPONENT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable : goog.readFlagInternalDoNotUseOrElse(513659523, goog.DEBUG);
|
|
6534
|
-
goog.flags.CLIENT_ONLY_WIZ_LAZY_TSX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_lazy_tsx__enable : goog.readFlagInternalDoNotUseOrElse(568333945,
|
|
6551
|
+
goog.flags.CLIENT_ONLY_WIZ_LAZY_TSX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_lazy_tsx__enable : goog.readFlagInternalDoNotUseOrElse(568333945, goog.DEBUG);
|
|
6535
6552
|
goog.flags.FIXED_NOOPENER_BEHAVIOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable : goog.readFlagInternalDoNotUseOrElse(1331761403, !1);
|
|
6536
6553
|
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
6537
6554
|
goog.flags.JSPB_DISALLOW_MESSAGE_TOJSON = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable : goog.readFlagInternalDoNotUseOrElse(722764542, goog.DEBUG);
|
|
6538
6555
|
goog.flags.JSPB_USE_CONSTANT_DEFAULT_PIVOT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable : goog.readFlagInternalDoNotUseOrElse(748402145, goog.DEBUG);
|
|
6539
6556
|
goog.flags.JSPB_SERIALIZE_WITH_DYNAMIC_PIVOT_SELECTOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable : goog.readFlagInternalDoNotUseOrElse(748402146, goog.DEBUG);
|
|
6540
|
-
goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6557
|
+
goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable) :
|
|
6558
|
+
goog.readFlagInternalDoNotUseOrElse(748402147, module$contents$goog$flags_STAGING);
|
|
6541
6559
|
goog.flags.OPTIMIZE_GET_EI_FROM_VED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable : goog.readFlagInternalDoNotUseOrElse(333098724, !1);
|
|
6542
6560
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
6543
6561
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
@@ -16211,8 +16229,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16211
16229
|
this.replacements = new Map();
|
|
16212
16230
|
};
|
|
16213
16231
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16214
|
-
var $jscomp$this$
|
|
16215
|
-
return $jscomp$this$
|
|
16232
|
+
var $jscomp$this$380122516$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) {
|
|
16233
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
16216
16234
|
});
|
|
16217
16235
|
if (openedTags.length !== 0) {
|
|
16218
16236
|
if (goog.DEBUG) {
|
|
@@ -16430,8 +16448,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16430
16448
|
if (Array.isArray(token)) {
|
|
16431
16449
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16432
16450
|
} else {
|
|
16433
|
-
var $jscomp$optchain$
|
|
16434
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16451
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
16452
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm583190311$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm583190311$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16435
16453
|
tokens.push(token);
|
|
16436
16454
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16437
16455
|
return tokens;
|
|
@@ -16677,9 +16695,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16677
16695
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16678
16696
|
};
|
|
16679
16697
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16680
|
-
var $jscomp$this$
|
|
16698
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16681
16699
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16682
|
-
return $jscomp$this$
|
|
16700
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16683
16701
|
});
|
|
16684
16702
|
};
|
|
16685
16703
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16786,8 +16804,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16786
16804
|
return null;
|
|
16787
16805
|
}
|
|
16788
16806
|
if (token.lowercaseName === "url") {
|
|
16789
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16790
|
-
if ((($jscomp$optchain$
|
|
16807
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16808
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16791
16809
|
return null;
|
|
16792
16810
|
}
|
|
16793
16811
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
@@ -16810,8 +16828,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16810
16828
|
if (!this.allowKeyframes) {
|
|
16811
16829
|
return null;
|
|
16812
16830
|
}
|
|
16813
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16814
|
-
var rule = $jscomp$key$
|
|
16831
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1877845113$1$rule.done; $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next()) {
|
|
16832
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16815
16833
|
if (rule instanceof CSSKeyframeRule) {
|
|
16816
16834
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16817
16835
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16823,8 +16841,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16823
16841
|
if (!this.propertyAllowlist.has(name)) {
|
|
16824
16842
|
return !1;
|
|
16825
16843
|
}
|
|
16826
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16827
|
-
var discarder = $jscomp$key$
|
|
16844
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1877845113$2$discarder.done; $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next()) {
|
|
16845
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16828
16846
|
if (discarder(name)) {
|
|
16829
16847
|
return !1;
|
|
16830
16848
|
}
|
|
@@ -16839,8 +16857,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16839
16857
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16840
16858
|
};
|
|
16841
16859
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16842
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16843
|
-
var name = $jscomp$key$
|
|
16860
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1877845113$3$name.done; $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next()) {
|
|
16861
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16844
16862
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16845
16863
|
}
|
|
16846
16864
|
return sanitizedProperties;
|
|
@@ -16854,8 +16872,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16854
16872
|
return selector + " { " + sanitizedProperties + " }";
|
|
16855
16873
|
};
|
|
16856
16874
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16857
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16858
|
-
var rule = $jscomp$key$
|
|
16875
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1877845113$4$rule.done; $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next()) {
|
|
16876
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16859
16877
|
if (rule instanceof CSSStyleRule) {
|
|
16860
16878
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16861
16879
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -17019,8 +17037,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17019
17037
|
return fragment;
|
|
17020
17038
|
};
|
|
17021
17039
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
17022
|
-
for (var $jscomp$this$
|
|
17023
|
-
return $jscomp$this$
|
|
17040
|
+
for (var $jscomp$this$m1803429925$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
17041
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
17024
17042
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
17025
17043
|
var sanitizedNode = void 0;
|
|
17026
17044
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -17055,8 +17073,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17055
17073
|
return this.createTextNode(textNode.data);
|
|
17056
17074
|
};
|
|
17057
17075
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
17058
|
-
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$
|
|
17059
|
-
var $jscomp$destructuring$var30 = $jscomp$key$
|
|
17076
|
+
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$m1803429925$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1803429925$34$.done; $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next()) {
|
|
17077
|
+
var $jscomp$destructuring$var30 = $jscomp$key$m1803429925$34$.value, name = $jscomp$destructuring$var30.name, value = $jscomp$destructuring$var30.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
17060
17078
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
17061
17079
|
switch(policy.policyAction) {
|
|
17062
17080
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -17088,9 +17106,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17088
17106
|
break;
|
|
17089
17107
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17090
17108
|
if (this.resourceUrlPolicy) {
|
|
17091
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.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$
|
|
17109
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.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$m1803429925$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part =
|
|
17092
17110
|
$jscomp$iter$35.next()) {
|
|
17093
|
-
var part = $jscomp$key$
|
|
17111
|
+
var part = $jscomp$key$m1803429925$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
17094
17112
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17095
17113
|
}
|
|
17096
17114
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17148,8 +17166,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17148
17166
|
if (!conditions) {
|
|
17149
17167
|
return !0;
|
|
17150
17168
|
}
|
|
17151
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17152
|
-
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17169
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1803429925$35$.done; $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next()) {
|
|
17170
|
+
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var32.next().value, expectedValues = $jscomp$destructuring$var32.next().value, $jscomp$optchain$tmpm1803429925$0 = void 0, value = ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
17153
17171
|
if (value && !expectedValues.has(value)) {
|
|
17154
17172
|
return !1;
|
|
17155
17173
|
}
|
|
@@ -17164,8 +17182,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17164
17182
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17165
17183
|
};
|
|
17166
17184
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
17167
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
17168
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17185
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1803429925$36$part.done; $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next()) {
|
|
17186
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var33.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var33.next().value;
|
|
17169
17187
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17170
17188
|
}
|
|
17171
17189
|
return {parts:parts};
|
|
@@ -17222,8 +17240,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17222
17240
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17223
17241
|
};
|
|
17224
17242
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17225
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17226
|
-
var element = $jscomp$key$
|
|
17243
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$23$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$23$element.done; $jscomp$key$m1412690177$23$element = $jscomp$iter$39.next()) {
|
|
17244
|
+
var element = $jscomp$key$m1412690177$23$element.value;
|
|
17227
17245
|
element = element.toUpperCase();
|
|
17228
17246
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17229
17247
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17241,8 +17259,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17241
17259
|
throw Error("Element: " + element + " is not a custom element");
|
|
17242
17260
|
}
|
|
17243
17261
|
if (allowedAttributes) {
|
|
17244
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17245
|
-
elementPolicy.set($jscomp$key$
|
|
17262
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$24$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$24$attribute.done; $jscomp$key$m1412690177$24$attribute = $jscomp$iter$40.next()) {
|
|
17263
|
+
elementPolicy.set($jscomp$key$m1412690177$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17246
17264
|
}
|
|
17247
17265
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17248
17266
|
} else {
|
|
@@ -17252,15 +17270,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17252
17270
|
return this;
|
|
17253
17271
|
};
|
|
17254
17272
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17255
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17256
|
-
var attribute = $jscomp$key$
|
|
17273
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$25$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$25$attribute.done; $jscomp$key$m1412690177$25$attribute = $jscomp$iter$41.next()) {
|
|
17274
|
+
var attribute = $jscomp$key$m1412690177$25$attribute.value;
|
|
17257
17275
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17258
17276
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17259
17277
|
}
|
|
17260
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17261
|
-
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17278
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$27$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$27$.done; $jscomp$key$m1412690177$27$ = $jscomp$iter$43.next()) {
|
|
17279
|
+
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$27$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var36.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var36.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$26$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$26$.done; $jscomp$key$m1412690177$26$ =
|
|
17262
17280
|
$jscomp$iter$42.next()) {
|
|
17263
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17281
|
+
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$26$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var38.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var38.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17264
17282
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17265
17283
|
}
|
|
17266
17284
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17275,8 +17293,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17275
17293
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies, globallyAllowedAttributePrefixes);
|
|
17276
17294
|
return this;
|
|
17277
17295
|
}
|
|
17278
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17279
|
-
var attribute = $jscomp$key$
|
|
17296
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$28$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$28$attribute.done; $jscomp$key$m1412690177$28$attribute = $jscomp$iter$44.next()) {
|
|
17297
|
+
var attribute = $jscomp$key$m1412690177$28$attribute.value;
|
|
17280
17298
|
if (attribute.indexOf("data-") !== 0) {
|
|
17281
17299
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17282
17300
|
}
|
|
@@ -17346,7 +17364,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17346
17364
|
return this;
|
|
17347
17365
|
};
|
|
17348
17366
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17349
|
-
var $jscomp$this$
|
|
17367
|
+
var $jscomp$this$m1412690177$19 = this;
|
|
17350
17368
|
this.extendSanitizerTableForCss();
|
|
17351
17369
|
var propertyDiscarders = [];
|
|
17352
17370
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17356,9 +17374,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17356
17374
|
return /^transition(-|$)/.test(property);
|
|
17357
17375
|
});
|
|
17358
17376
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17359
|
-
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$
|
|
17377
|
+
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$m1412690177$19.resourceUrlPolicy, $jscomp$this$m1412690177$19.animationsAllowed, propertyDiscarders);
|
|
17360
17378
|
}, function(cssText) {
|
|
17361
|
-
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$
|
|
17379
|
+
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$m1412690177$19.resourceUrlPolicy, propertyDiscarders);
|
|
17362
17380
|
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17363
17381
|
};
|
|
17364
17382
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17578,12 +17596,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17578
17596
|
}
|
|
17579
17597
|
try {
|
|
17580
17598
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17581
|
-
} catch ($jscomp$unused$catch$
|
|
17599
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17582
17600
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17583
17601
|
}
|
|
17584
17602
|
try {
|
|
17585
17603
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17586
|
-
} catch ($jscomp$unused$catch$
|
|
17604
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17587
17605
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17588
17606
|
}
|
|
17589
17607
|
return !1;
|
|
@@ -17628,7 +17646,6 @@ module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safeval
|
|
|
17628
17646
|
module$exports$safevalues$index.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
17629
17647
|
module$exports$safevalues$index.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
17630
17648
|
module$exports$safevalues$index.UrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17631
|
-
module$exports$safevalues$index.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17632
17649
|
module$exports$safevalues$index.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
17633
17650
|
module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
17634
17651
|
module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
@@ -17700,9 +17717,6 @@ safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_saniti
|
|
|
17700
17717
|
safevalues.UrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17701
17718
|
safevalues.UrlPolicy = module$exports$safevalues$index.UrlPolicy;
|
|
17702
17719
|
safevalues.UrlPolicyHints = module$exports$safevalues$index.UrlPolicyHints;
|
|
17703
|
-
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17704
|
-
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
17705
|
-
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
17706
17720
|
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
17707
17721
|
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
17708
17722
|
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
@@ -18640,7 +18654,7 @@ goog.async.Deferred.prototype.addFinally = function(f, opt_scope) {
|
|
|
18640
18654
|
};
|
|
18641
18655
|
goog.async.Deferred.prototype.finally = function(f) {
|
|
18642
18656
|
var $jscomp$this$m1728524513$17 = this;
|
|
18643
|
-
return new Promise(function(resolve, reject) {
|
|
18657
|
+
return goog.async.Deferred.fromPromise(new Promise(function(resolve, reject) {
|
|
18644
18658
|
$jscomp$this$m1728524513$17.addCallbacks(function(v) {
|
|
18645
18659
|
f();
|
|
18646
18660
|
resolve(v);
|
|
@@ -18648,7 +18662,7 @@ goog.async.Deferred.prototype.finally = function(f) {
|
|
|
18648
18662
|
f();
|
|
18649
18663
|
reject(err);
|
|
18650
18664
|
});
|
|
18651
|
-
});
|
|
18665
|
+
}));
|
|
18652
18666
|
};
|
|
18653
18667
|
goog.async.Deferred.prototype.addCallbacks = function(cb, eb, opt_scope) {
|
|
18654
18668
|
goog.asserts.assert(!this.blocking_, "Blocking Deferreds can not be re-used");
|
|
@@ -19454,7 +19468,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19454
19468
|
ee.apiclient = {};
|
|
19455
19469
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19456
19470
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19457
|
-
ee.apiclient.API_CLIENT_VERSION = "1.6.
|
|
19471
|
+
ee.apiclient.API_CLIENT_VERSION = "1.6.2";
|
|
19458
19472
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19459
19473
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19460
19474
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19752,8 +19766,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19752
19766
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19753
19767
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19754
19768
|
method = method || "POST";
|
|
19755
|
-
var headers = {"Content-Type":contentType}, version = "1.6.
|
|
19756
|
-
version === "1.6.
|
|
19769
|
+
var headers = {"Content-Type":contentType}, version = "1.6.2";
|
|
19770
|
+
version === "1.6.2" && (version = "latest");
|
|
19757
19771
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19758
19772
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19759
19773
|
if (authToken != null) {
|
|
@@ -27276,28 +27290,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27276
27290
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27277
27291
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27278
27292
|
(function() {
|
|
27279
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27280
|
-
orderedParamLists = [["name"], ["name", "
|
|
27281
|
-
"image opt_description
|
|
27282
|
-
"image opt_description
|
|
27283
|
-
"collection opt_description
|
|
27284
|
-
|
|
27285
|
-
["
|
|
27286
|
-
["
|
|
27287
|
-
"
|
|
27288
|
-
"
|
|
27289
|
-
|
|
27290
|
-
"
|
|
27291
|
-
"
|
|
27292
|
-
[
|
|
27293
|
-
module$contents$ee$batch_Export.
|
|
27294
|
-
ee.
|
|
27295
|
-
ee.
|
|
27296
|
-
ee.data.
|
|
27297
|
-
ee.
|
|
27298
|
-
ee.
|
|
27299
|
-
ee.
|
|
27300
|
-
ee.
|
|
27293
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.image.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.table.toDrive ee.Collection.prototype.filter ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.data.makeTableDownloadUrl ee.data.updateAsset ee.data.newTaskId ee.data.listImages ee.data.setAssetAcl ee.data.getMapId ee.data.listBuckets ee.data.setWorkloadTag ee.data.setAssetProperties ee.data.getTaskStatus ee.data.getAssetRoots ee.data.getTileUrl ee.data.getAssetRootQuota ee.data.createAssetHome ee.data.getWorkloadTag ee.data.startIngestion ee.data.getTaskList ee.data.getFeatureViewTilesKey ee.data.createAsset ee.data.getTaskListWithLimit ee.data.listOperations ee.data.setDefaultWorkloadTag ee.data.listFeatures ee.data.createFolder ee.data.resetWorkloadTag ee.data.computeValue ee.data.startTableIngestion ee.data.cancelOperation ee.data.getVideoThumbId ee.data.renameAsset ee.data.getThumbId ee.data.authenticateViaOauth ee.data.copyAsset ee.data.getOperation ee.data.getAsset ee.data.getFilmstripThumbId ee.data.deleteAsset ee.data.authenticate ee.data.cancelTask ee.data.makeThumbUrl ee.data.getInfo ee.data.getAssetAcl ee.data.authenticateViaPopup ee.data.updateTask ee.data.getDownloadId ee.data.getTableDownloadId ee.data.getList ee.data.makeDownloadUrl ee.data.startProcessing ee.data.listAssets ee.data.authenticateViaPrivateKey ee.Date ee.Deserializer.fromJSON ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.Algorithms ee.reset ee.TILE_SIZE ee.InitState ee.call ee.initialize ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getInfo ee.Feature.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.Filter.inList ee.Filter.prototype.not ee.Filter.and ee.Filter.metadata ee.Filter.bounds ee.Filter.gte ee.Filter ee.Filter.eq ee.Filter.or ee.Filter.date ee.Filter.gt ee.Filter.neq ee.Filter.lt ee.Filter.lte ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.MultiPolygon ee.Geometry.prototype.toGeoJSON ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Point ee.Geometry.prototype.toGeoJSONString ee.Geometry ee.Geometry.Polygon ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.BBox ee.Geometry.MultiLineString ee.Geometry.prototype.serialize ee.Image.prototype.getMap ee.Image.prototype.clip ee.Image.prototype.select ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.expression ee.Image.prototype.rename ee.Image ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbURL ee.Image.cat ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getInfo ee.ImageCollection ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.toCloudApiJSON ee.Serializer.encode ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
27294
|
+
orderedParamLists = [["name", "var_args"], ["name", "namedArgs"], ["name"], "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
27295
|
+
"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], "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(" "),
|
|
27296
|
+
"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(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "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(" "),
|
|
27297
|
+
"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(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
|
|
27298
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["filter"], ["name", "operator", "value"], ["geometry"], ["property", "opt_ascending"], ["algorithm", "opt_dropNulls"], ["start", "opt_end"], ["algorithm", "opt_first"], ["max", "opt_property", "opt_ascending"], ["legacy"], ["callback"], ["opt_callback"], ["func", "var_args"], ["id"], ["assetId", "asset", "updateFields", "opt_callback"], ["opt_count", "opt_callback"],
|
|
27299
|
+
["parent", "opt_params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["project", "opt_callback"], ["tag"], ["assetId", "properties", "opt_callback"], ["taskId", "opt_callback"], ["opt_callback"], ["id", "x", "y", "z"], ["rootId", "opt_callback"], ["requestedId", "opt_callback"], [], ["taskId", "request", "opt_callback"], ["opt_callback"], ["params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["opt_limit", "opt_callback"],
|
|
27300
|
+
["opt_limit", "opt_callback"], ["tag"], ["asset", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["opt_resetDefault"], ["obj", "opt_callback"], ["taskId", "request", "opt_callback"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["params", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["sourceId", "destinationId", "opt_overwrite", "opt_callback"],
|
|
27301
|
+
["operationName", "opt_callback"], ["id", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["taskId", "opt_callback"], ["id"], ["id", "opt_callback"], ["assetId", "opt_callback"], ["opt_success", "opt_error"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["id"], ["taskId", "params", "opt_callback"], ["parent", "opt_params",
|
|
27302
|
+
"opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], [], [], [], ["func", "var_args"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "namedArgs"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format",
|
|
27303
|
+
"opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["var_args"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["opt_filter"], ["name", "value"], ["var_args"], ["start", "opt_end"], ["name", "value"], ["name",
|
|
27304
|
+
"value"], ["name", "value"], ["name", "value"], ["var_args"], ["namedArgs"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], [], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["west",
|
|
27305
|
+
"south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["legacy"], ["opt_visParams", "opt_callback"], ["geometry"], ["var_args"], ["params", "opt_callback"], ["r", "g", "b"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["expression", "opt_map"], ["var_args"], ["opt_args"], ["params", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties",
|
|
27306
|
+
"opt_matchPropertyName"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["selectors", "opt_names"], [], ["opt_callback"], ["args"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27307
|
+
[ee.ApiFunction._call, ee.ApiFunction._apply, ee.ApiFunction.lookup, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toCloudStorage,
|
|
27308
|
+
module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.table.toDrive, ee.Collection.prototype.filter, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.sort, ee.Collection.prototype.map, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.ComputedObject.prototype.serialize,
|
|
27309
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.aside, ee.data.makeTableDownloadUrl, ee.data.updateAsset, ee.data.newTaskId, ee.data.listImages, ee.data.setAssetAcl, ee.data.getMapId, ee.data.listBuckets, ee.data.setWorkloadTag, ee.data.setAssetProperties, ee.data.getTaskStatus, ee.data.getAssetRoots, ee.data.getTileUrl, ee.data.getAssetRootQuota, ee.data.createAssetHome, ee.data.getWorkloadTag, ee.data.startIngestion, ee.data.getTaskList,
|
|
27310
|
+
ee.data.getFeatureViewTilesKey, ee.data.createAsset, ee.data.getTaskListWithLimit, ee.data.listOperations, ee.data.setDefaultWorkloadTag, ee.data.listFeatures, ee.data.createFolder, ee.data.resetWorkloadTag, ee.data.computeValue, ee.data.startTableIngestion, ee.data.cancelOperation, ee.data.getVideoThumbId, ee.data.renameAsset, ee.data.getThumbId, ee.data.authenticateViaOauth, ee.data.copyAsset, ee.data.getOperation, ee.data.getAsset, ee.data.getFilmstripThumbId, ee.data.deleteAsset, ee.data.authenticate,
|
|
27311
|
+
ee.data.cancelTask, ee.data.makeThumbUrl, ee.data.getInfo, ee.data.getAssetAcl, ee.data.authenticateViaPopup, ee.data.updateTask, ee.data.getDownloadId, ee.data.getTableDownloadId, ee.data.getList, ee.data.makeDownloadUrl, ee.data.startProcessing, ee.data.listAssets, ee.data.authenticateViaPrivateKey, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decode, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Dictionary, ee.Algorithms, ee.reset, ee.TILE_SIZE, ee.InitState, ee.call,
|
|
27312
|
+
ee.initialize, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getMapId, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.Filter.inList, ee.Filter.prototype.not, ee.Filter.and, ee.Filter.metadata, ee.Filter.bounds,
|
|
27313
|
+
ee.Filter.gte, ee.Filter, ee.Filter.eq, ee.Filter.or, ee.Filter.date, ee.Filter.gt, ee.Filter.neq, ee.Filter.lt, ee.Filter.lte, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.MultiPolygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.Point, ee.Geometry.prototype.toGeoJSONString, ee.Geometry, ee.Geometry.Polygon, ee.Geometry.LinearRing, ee.Geometry.MultiPoint, ee.Geometry.BBox, ee.Geometry.MultiLineString, ee.Geometry.prototype.serialize,
|
|
27314
|
+
ee.Image.prototype.getMap, ee.Image.prototype.clip, ee.Image.prototype.select, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.expression, ee.Image.prototype.rename, ee.Image, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbURL, ee.Image.cat, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getMapId,
|
|
27315
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getInfo, ee.ImageCollection, ee.List, ee.Number, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encode, ee.Serializer.encodeCloudApi, ee.Serializer.toJSON, ee.Serializer.encodeCloudApiPretty, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27301
27316
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27302
27317
|
});
|
|
27303
27318
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|