@google/earthengine 1.1.2 → 1.1.4
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 +425 -519
- package/build/ee_api_js.js +45 -45
- package/build/ee_api_js_debug.js +403 -497
- package/build/ee_api_js_npm.js +425 -519
- package/build/main.js +425 -519
- package/package.json +1 -1
- package/src/apiclient.js +13 -2
package/build/main.js
CHANGED
|
@@ -1255,7 +1255,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1255
1255
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1256
1256
|
};
|
|
1257
1257
|
}, "es8", "es3");
|
|
1258
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_on_init_within_reaction_throws_error__enable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable:!1,
|
|
1258
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_on_init_within_reaction_throws_error__enable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__disable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1,
|
|
1259
1259
|
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};
|
|
1260
1260
|
/*
|
|
1261
1261
|
|
|
@@ -1299,8 +1299,9 @@ goog.readFlagInternalDoNotUseOrElse = function(googFlagId, defaultValue) {
|
|
|
1299
1299
|
};
|
|
1300
1300
|
goog.FLAGS_OBJECT_ = "CLOSURE_FLAGS";
|
|
1301
1301
|
goog.FLAGS_STAGING_DEFAULT = !0;
|
|
1302
|
+
goog.CLOSURE_TOGGLE_ORDINALS = typeof CLOSURE_TOGGLE_ORDINALS === "object" ? CLOSURE_TOGGLE_ORDINALS : goog.global.CLOSURE_TOGGLE_ORDINALS;
|
|
1302
1303
|
goog.readToggleInternalDoNotCallDirectly = function(name) {
|
|
1303
|
-
var ordinals =
|
|
1304
|
+
var ordinals = goog.CLOSURE_TOGGLE_ORDINALS, ordinal = ordinals && ordinals[name];
|
|
1304
1305
|
return typeof ordinal !== "number" ? !!ordinal : !!(goog.TOGGLES_[Math.floor(ordinal / 30)] & 1 << ordinal % 30);
|
|
1305
1306
|
};
|
|
1306
1307
|
goog.TOGGLE_VAR_ = "_F_toggles";
|
|
@@ -2153,9 +2154,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2153
2154
|
};
|
|
2154
2155
|
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;
|
|
2155
2156
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2156
|
-
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$
|
|
2157
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2158
|
-
var key = $jscomp$key$
|
|
2157
|
+
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 =
|
|
2158
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2159
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2159
2160
|
if (value != null) {
|
|
2160
2161
|
var copy = void 0;
|
|
2161
2162
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2166,11 +2167,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2166
2167
|
} else if (objects.hasOwnProperty(key)) {
|
|
2167
2168
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2168
2169
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2169
|
-
$jscomp$loop$
|
|
2170
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2170
2171
|
return function(v) {
|
|
2171
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2172
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2172
2173
|
};
|
|
2173
|
-
}($jscomp$loop$
|
|
2174
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2174
2175
|
} else if (Array.isArray(value)) {
|
|
2175
2176
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2176
2177
|
continue;
|
|
@@ -2185,8 +2186,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2185
2186
|
return target;
|
|
2186
2187
|
}
|
|
2187
2188
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2188
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2189
|
-
var mapKey = $jscomp$key$
|
|
2189
|
+
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()) {
|
|
2190
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2190
2191
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2191
2192
|
}
|
|
2192
2193
|
return objMap;
|
|
@@ -2216,39 +2217,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2216
2217
|
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))) {
|
|
2217
2218
|
return !1;
|
|
2218
2219
|
}
|
|
2219
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2220
|
-
var key = $jscomp$key$
|
|
2220
|
+
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()) {
|
|
2221
|
+
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);
|
|
2221
2222
|
if (has1 !== has2) {
|
|
2222
2223
|
return !1;
|
|
2223
2224
|
}
|
|
2224
2225
|
if (has1) {
|
|
2225
2226
|
var value1 = serializable1.Serializable$get(key);
|
|
2226
|
-
$jscomp$loop$
|
|
2227
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2227
2228
|
if (arrays1.hasOwnProperty(key)) {
|
|
2228
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2229
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2229
2230
|
return !1;
|
|
2230
2231
|
}
|
|
2231
2232
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2232
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2233
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2233
2234
|
return !1;
|
|
2234
2235
|
}
|
|
2235
2236
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2236
|
-
if ($jscomp$loop$
|
|
2237
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2237
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2238
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2238
2239
|
return function(v1, i) {
|
|
2239
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2240
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2240
2241
|
};
|
|
2241
|
-
}($jscomp$loop$
|
|
2242
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2242
2243
|
return !1;
|
|
2243
2244
|
}
|
|
2244
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2245
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2245
2246
|
return !1;
|
|
2246
2247
|
}
|
|
2247
2248
|
} else if (Array.isArray(value1)) {
|
|
2248
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2249
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2249
2250
|
return !1;
|
|
2250
2251
|
}
|
|
2251
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2252
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2252
2253
|
return !1;
|
|
2253
2254
|
}
|
|
2254
2255
|
}
|
|
@@ -2270,8 +2271,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2270
2271
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2271
2272
|
return !1;
|
|
2272
2273
|
}
|
|
2273
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2274
|
-
var mapKey = $jscomp$key$
|
|
2274
|
+
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()) {
|
|
2275
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2275
2276
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2276
2277
|
return !1;
|
|
2277
2278
|
}
|
|
@@ -2352,15 +2353,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2352
2353
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2353
2354
|
};
|
|
2354
2355
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2355
|
-
var $jscomp$this$
|
|
2356
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2356
2357
|
payload += this._metadataPayload;
|
|
2357
2358
|
return Promise.all(this.files.map(function(f) {
|
|
2358
|
-
return $jscomp$this$
|
|
2359
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2359
2360
|
})).then(function(filePayloads) {
|
|
2360
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2361
|
-
payload += $jscomp$key$
|
|
2361
|
+
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()) {
|
|
2362
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2362
2363
|
}
|
|
2363
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2364
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2364
2365
|
});
|
|
2365
2366
|
};
|
|
2366
2367
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2865,8 +2866,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2865
2866
|
throw Error(message);
|
|
2866
2867
|
}
|
|
2867
2868
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2868
|
-
var $jscomp$templatelit$
|
|
2869
|
-
["\\0"]), $jscomp$templatelit$
|
|
2869
|
+
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"],
|
|
2870
|
+
["\\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"};
|
|
2870
2871
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2871
2872
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2872
2873
|
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 ##############################");
|
|
@@ -2880,14 +2881,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2880
2881
|
return fn.toString().indexOf("`") === -1;
|
|
2881
2882
|
}
|
|
2882
2883
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2883
|
-
return tag($jscomp$templatelit$
|
|
2884
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2884
2885
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2885
|
-
return tag($jscomp$templatelit$
|
|
2886
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2886
2887
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2887
|
-
return tag($jscomp$templatelit$
|
|
2888
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2888
2889
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2889
|
-
return tag($jscomp$templatelit$
|
|
2890
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2890
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
2891
|
+
}), 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);
|
|
2891
2892
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2892
2893
|
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)) ?
|
|
2893
2894
|
!0 : !1;
|
|
@@ -2935,7 +2936,7 @@ function module$contents$safevalues$builders$url_builders_isSafeAudioMimeType(mi
|
|
|
2935
2936
|
return /^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(mimeType);
|
|
2936
2937
|
}
|
|
2937
2938
|
function module$contents$safevalues$builders$url_builders_isSafeFontMimeType(mimeType) {
|
|
2938
|
-
return /^font
|
|
2939
|
+
return /^font\/[\w-]+$/i.test(mimeType);
|
|
2939
2940
|
}
|
|
2940
2941
|
module$exports$safevalues$builders$url_builders.Scheme = function() {
|
|
2941
2942
|
};
|
|
@@ -3181,29 +3182,16 @@ module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
|
|
|
3181
3182
|
throw Error(message);
|
|
3182
3183
|
};
|
|
3183
3184
|
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
3184
|
-
module$exports$safevalues$internals$style_impl.SafeStyle = function(token, value) {
|
|
3185
|
-
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3186
|
-
this.privateDoNotAccessOrElseWrappedStyle = value;
|
|
3187
|
-
};
|
|
3188
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.prototype.toString = function() {
|
|
3189
|
-
return this.privateDoNotAccessOrElseWrappedStyle;
|
|
3190
|
-
};
|
|
3191
|
-
var module$contents$safevalues$internals$style_impl_StyleImpl = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3192
3185
|
function module$contents$safevalues$internals$style_impl_createStyleInternal(value) {
|
|
3193
|
-
return
|
|
3186
|
+
return value;
|
|
3194
3187
|
}
|
|
3195
3188
|
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3196
3189
|
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
3197
|
-
return value
|
|
3190
|
+
return typeof value === "string";
|
|
3198
3191
|
}
|
|
3199
3192
|
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
3200
3193
|
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
3201
|
-
|
|
3202
|
-
return value.privateDoNotAccessOrElseWrappedStyle;
|
|
3203
|
-
}
|
|
3204
|
-
var message = "";
|
|
3205
|
-
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyle, got '" + value + "' of type '" + typeof value + "'");
|
|
3206
|
-
throw Error(message);
|
|
3194
|
+
return value;
|
|
3207
3195
|
}
|
|
3208
3196
|
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3209
3197
|
var module$exports$safevalues$dom$elements$element = {}, module$contents$safevalues$dom$elements$element_module = module$contents$safevalues$dom$elements$element_module || {id:"third_party/javascript/safevalues/dom/elements/element.closure.js"}, module$contents$safevalues$dom$elements$element_ScriptOrStyle;
|
|
@@ -3265,6 +3253,9 @@ module$exports$safevalues$dom$elements$form.setAction = function(form, url) {
|
|
|
3265
3253
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3266
3254
|
sanitizedUrl !== void 0 && (form.action = sanitizedUrl);
|
|
3267
3255
|
};
|
|
3256
|
+
module$exports$safevalues$dom$elements$form.setActionLite = function(form, url) {
|
|
3257
|
+
module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) || (form.action = url);
|
|
3258
|
+
};
|
|
3268
3259
|
var module$exports$check = {}, module$contents$check_module = module$contents$check_module || {id:"javascript/typescript/contrib/check.closure.js"};
|
|
3269
3260
|
function module$contents$check_checkExhaustive(value, msg) {
|
|
3270
3261
|
return module$contents$check_checkExhaustiveAllowing(value, msg);
|
|
@@ -3299,9 +3290,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3299
3290
|
}
|
|
3300
3291
|
}
|
|
3301
3292
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
3302
|
-
var $jscomp$tmp$error$
|
|
3303
|
-
this.message = $jscomp$tmp$error$
|
|
3304
|
-
"stack" in $jscomp$tmp$error$
|
|
3293
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
3294
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3295
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3305
3296
|
this.type = type;
|
|
3306
3297
|
this.intent = intent;
|
|
3307
3298
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -3401,15 +3392,16 @@ module$exports$safevalues$dom$globals$window.open = function(win, url, target, f
|
|
|
3401
3392
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3402
3393
|
return sanitizedUrl !== void 0 ? win.open(sanitizedUrl, target, features) : null;
|
|
3403
3394
|
};
|
|
3404
|
-
module$exports$safevalues$dom$globals$window.getScriptNonce = function(
|
|
3405
|
-
return module$contents$safevalues$dom$globals$window_getNonceFor("script",
|
|
3395
|
+
module$exports$safevalues$dom$globals$window.getScriptNonce = function(documentOrWindow) {
|
|
3396
|
+
return module$contents$safevalues$dom$globals$window_getNonceFor("script", documentOrWindow);
|
|
3406
3397
|
};
|
|
3407
|
-
module$exports$safevalues$dom$globals$window.getStyleNonce = function(
|
|
3408
|
-
return module$contents$safevalues$dom$globals$window_getNonceFor("style",
|
|
3398
|
+
module$exports$safevalues$dom$globals$window.getStyleNonce = function(documentOrWindow) {
|
|
3399
|
+
return module$contents$safevalues$dom$globals$window_getNonceFor("style", documentOrWindow);
|
|
3409
3400
|
};
|
|
3410
|
-
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName,
|
|
3411
|
-
|
|
3412
|
-
|
|
3401
|
+
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, documentOrWindow) {
|
|
3402
|
+
documentOrWindow = documentOrWindow === void 0 ? document : documentOrWindow;
|
|
3403
|
+
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]");
|
|
3404
|
+
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3413
3405
|
}
|
|
3414
3406
|
;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"};
|
|
3415
3407
|
module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
|
|
@@ -4225,6 +4217,13 @@ goog.debug.serializeErrorStack_ = function(e, seen) {
|
|
|
4225
4217
|
seen[goog.debug.serializeErrorAsKey_(e)] = !0;
|
|
4226
4218
|
var stack = e.stack || "", cause = e.cause;
|
|
4227
4219
|
cause && !seen[goog.debug.serializeErrorAsKey_(cause)] && (stack += "\nCaused by: ", cause.stack && cause.stack.indexOf(cause.toString()) == 0 || (stack += typeof cause === "string" ? cause : cause.message + "\n"), stack += goog.debug.serializeErrorStack_(cause, seen));
|
|
4220
|
+
var errors = e.errors;
|
|
4221
|
+
if (Array.isArray(errors)) {
|
|
4222
|
+
for (var actualIndex = 1, i = 0; i < errors.length && !(actualIndex > 4); i++) {
|
|
4223
|
+
seen[goog.debug.serializeErrorAsKey_(errors[i])] || (stack += "\nInner error " + actualIndex++ + ": ", errors[i].stack && errors[i].stack.indexOf(errors[i].toString()) == 0 || (stack += typeof errors[i] === "string" ? errors[i] : errors[i].message + "\n"), stack += goog.debug.serializeErrorStack_(errors[i], seen));
|
|
4224
|
+
}
|
|
4225
|
+
i < errors.length && (stack += "\n... " + (errors.length - i) + " more inner errors");
|
|
4226
|
+
}
|
|
4228
4227
|
return stack;
|
|
4229
4228
|
};
|
|
4230
4229
|
goog.debug.serializeErrorAsKey_ = function(e) {
|
|
@@ -4683,9 +4682,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
4683
4682
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
4684
4683
|
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"};
|
|
4685
4684
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4686
|
-
var $jscomp$tmp$error$
|
|
4687
|
-
this.message = $jscomp$tmp$error$
|
|
4688
|
-
"stack" in $jscomp$tmp$error$
|
|
4685
|
+
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.");
|
|
4686
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4687
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4689
4688
|
this.url = url;
|
|
4690
4689
|
this.typeName = typeName;
|
|
4691
4690
|
this.contentType = contentType;
|
|
@@ -4697,48 +4696,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4697
4696
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4698
4697
|
}
|
|
4699
4698
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4700
|
-
var response, $jscomp$optchain$
|
|
4701
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4702
|
-
if ($jscomp$generator$context$
|
|
4703
|
-
return $jscomp$generator$context$
|
|
4704
|
-
}
|
|
4705
|
-
response = $jscomp$generator$context$
|
|
4706
|
-
mimeType = ($jscomp$optchain$
|
|
4707
|
-
return $jscomp$generator$context$
|
|
4699
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4700
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4701
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4702
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4703
|
+
}
|
|
4704
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4705
|
+
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();
|
|
4706
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4708
4707
|
var text;
|
|
4709
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4710
|
-
if ($jscomp$generator$context$
|
|
4708
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4709
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4711
4710
|
if (mimeType !== "text/html") {
|
|
4712
4711
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4713
4712
|
}
|
|
4714
|
-
return $jscomp$generator$context$
|
|
4713
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4715
4714
|
}
|
|
4716
|
-
text = $jscomp$generator$context$
|
|
4717
|
-
return $jscomp$generator$context$
|
|
4715
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4716
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4718
4717
|
});
|
|
4719
4718
|
}, script:function() {
|
|
4720
4719
|
var text;
|
|
4721
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4722
|
-
if ($jscomp$generator$context$
|
|
4720
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4721
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4723
4722
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4724
4723
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4725
4724
|
}
|
|
4726
|
-
return $jscomp$generator$context$
|
|
4725
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4727
4726
|
}
|
|
4728
|
-
text = $jscomp$generator$context$
|
|
4729
|
-
return $jscomp$generator$context$
|
|
4727
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4728
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4730
4729
|
});
|
|
4731
4730
|
}, styleSheet:function() {
|
|
4732
4731
|
var text;
|
|
4733
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4734
|
-
if ($jscomp$generator$context$
|
|
4732
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4733
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4735
4734
|
if (mimeType !== "text/css") {
|
|
4736
4735
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4737
4736
|
}
|
|
4738
|
-
return $jscomp$generator$context$
|
|
4737
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4739
4738
|
}
|
|
4740
|
-
text = $jscomp$generator$context$
|
|
4741
|
-
return $jscomp$generator$context$
|
|
4739
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4740
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4742
4741
|
});
|
|
4743
4742
|
}});
|
|
4744
4743
|
});
|
|
@@ -4815,6 +4814,54 @@ module$exports$safevalues$dom$index.safeServiceWorkerContainer = module$exports$
|
|
|
4815
4814
|
module$exports$safevalues$dom$index.safeUrl = module$exports$safevalues$dom$globals$url;
|
|
4816
4815
|
module$exports$safevalues$dom$index.safeWindow = module$exports$safevalues$dom$globals$window;
|
|
4817
4816
|
module$exports$safevalues$dom$index.safeWorker = module$exports$safevalues$dom$globals$worker;
|
|
4817
|
+
module$exports$safevalues$dom$index.setAnchorHref = module$exports$safevalues$dom$elements$anchor.setHref;
|
|
4818
|
+
module$exports$safevalues$dom$index.setAnchorHrefLite = module$exports$safevalues$dom$elements$anchor.setHrefLite;
|
|
4819
|
+
module$exports$safevalues$dom$index.setAreaHref = module$exports$safevalues$dom$elements$area.setHref;
|
|
4820
|
+
module$exports$safevalues$dom$index.setBaseHref = module$exports$safevalues$dom$elements$base.setHref;
|
|
4821
|
+
module$exports$safevalues$dom$index.setButtonFormaction = module$exports$safevalues$dom$elements$button.setFormaction;
|
|
4822
|
+
module$exports$safevalues$dom$index.buildPrefixedAttributeSetter = module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter;
|
|
4823
|
+
module$exports$safevalues$dom$index.elementInsertAdjacentHtml = module$exports$safevalues$dom$elements$element.insertAdjacentHtml;
|
|
4824
|
+
module$exports$safevalues$dom$index.setElementCssText = module$exports$safevalues$dom$elements$element.setCssText;
|
|
4825
|
+
module$exports$safevalues$dom$index.setElementInnerHtml = module$exports$safevalues$dom$elements$element.setInnerHtml;
|
|
4826
|
+
module$exports$safevalues$dom$index.setElementOuterHtml = module$exports$safevalues$dom$elements$element.setOuterHtml;
|
|
4827
|
+
module$exports$safevalues$dom$index.setElementPrefixedAttribute = module$exports$safevalues$dom$elements$element.setPrefixedAttribute;
|
|
4828
|
+
module$exports$safevalues$dom$index.setEmbedSrc = module$exports$safevalues$dom$elements$embed.setSrc;
|
|
4829
|
+
module$exports$safevalues$dom$index.setFormAction = module$exports$safevalues$dom$elements$form.setAction;
|
|
4830
|
+
module$exports$safevalues$dom$index.IframeIntent = module$exports$safevalues$dom$elements$iframe.Intent;
|
|
4831
|
+
module$exports$safevalues$dom$index.TypeCannotBeUsedWithIframeIntentError = module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError;
|
|
4832
|
+
module$exports$safevalues$dom$index.setIframeSrc = module$exports$safevalues$dom$elements$iframe.setSrc;
|
|
4833
|
+
module$exports$safevalues$dom$index.setIframeSrcWithIntent = module$exports$safevalues$dom$elements$iframe.setSrcWithIntent;
|
|
4834
|
+
module$exports$safevalues$dom$index.setIframeSrcdoc = module$exports$safevalues$dom$elements$iframe.setSrcdoc;
|
|
4835
|
+
module$exports$safevalues$dom$index.setIframeSrcdocWithIntent = module$exports$safevalues$dom$elements$iframe.setSrcdocWithIntent;
|
|
4836
|
+
module$exports$safevalues$dom$index.setInputFormaction = module$exports$safevalues$dom$elements$input.setFormaction;
|
|
4837
|
+
module$exports$safevalues$dom$index.setLinkHrefAndRel = module$exports$safevalues$dom$elements$link.setHrefAndRel;
|
|
4838
|
+
module$exports$safevalues$dom$index.setLinkWithResourceUrlHrefAndRel = module$exports$safevalues$dom$elements$link.setHrefAndRelWithTrustedResourceUrl;
|
|
4839
|
+
module$exports$safevalues$dom$index.setObjectData = module$exports$safevalues$dom$elements$object.setData;
|
|
4840
|
+
module$exports$safevalues$dom$index.setScriptSrc = module$exports$safevalues$dom$elements$script.setSrc;
|
|
4841
|
+
module$exports$safevalues$dom$index.setScriptTextContent = module$exports$safevalues$dom$elements$script.setTextContent;
|
|
4842
|
+
module$exports$safevalues$dom$index.setStyleTextContent = module$exports$safevalues$dom$elements$style.setTextContent;
|
|
4843
|
+
module$exports$safevalues$dom$index.setSvgAttribute = module$exports$safevalues$dom$elements$svg.setAttribute;
|
|
4844
|
+
module$exports$safevalues$dom$index.setSvgUseHref = module$exports$safevalues$dom$elements$svg_use.setHref;
|
|
4845
|
+
module$exports$safevalues$dom$index.documentExecCommand = module$exports$safevalues$dom$globals$document.execCommand;
|
|
4846
|
+
module$exports$safevalues$dom$index.documentExecCommandInsertHtml = module$exports$safevalues$dom$globals$document.execCommandInsertHtml;
|
|
4847
|
+
module$exports$safevalues$dom$index.documentWrite = module$exports$safevalues$dom$globals$document.write;
|
|
4848
|
+
module$exports$safevalues$dom$index.domParserParseFromString = module$exports$safevalues$dom$globals$dom_parser.parseFromString;
|
|
4849
|
+
module$exports$safevalues$dom$index.domParserParseHtml = module$exports$safevalues$dom$globals$dom_parser.parseHtml;
|
|
4850
|
+
module$exports$safevalues$dom$index.domParserParseXml = module$exports$safevalues$dom$globals$dom_parser.parseXml;
|
|
4851
|
+
module$exports$safevalues$dom$index.fetchResourceUrl = module$exports$safevalues$dom$globals$global.fetchResourceUrl;
|
|
4852
|
+
module$exports$safevalues$dom$index.globalEval = module$exports$safevalues$dom$globals$global.globalEval;
|
|
4853
|
+
module$exports$safevalues$dom$index.locationAssign = module$exports$safevalues$dom$globals$location.assign;
|
|
4854
|
+
module$exports$safevalues$dom$index.locationReplace = module$exports$safevalues$dom$globals$location.replace;
|
|
4855
|
+
module$exports$safevalues$dom$index.setLocationHref = module$exports$safevalues$dom$globals$location.setHref;
|
|
4856
|
+
module$exports$safevalues$dom$index.rangeCreateContextualFragment = module$exports$safevalues$dom$globals$range.createContextualFragment;
|
|
4857
|
+
module$exports$safevalues$dom$index.serviceWorkerContainerRegister = module$exports$safevalues$dom$globals$service_worker_container.register;
|
|
4858
|
+
module$exports$safevalues$dom$index.objectUrlFromSafeSource = module$exports$safevalues$dom$globals$url.objectUrlFromSafeSource;
|
|
4859
|
+
module$exports$safevalues$dom$index.getScriptNonce = module$exports$safevalues$dom$globals$window.getScriptNonce;
|
|
4860
|
+
module$exports$safevalues$dom$index.getStyleNonce = module$exports$safevalues$dom$globals$window.getStyleNonce;
|
|
4861
|
+
module$exports$safevalues$dom$index.windowOpen = module$exports$safevalues$dom$globals$window.open;
|
|
4862
|
+
module$exports$safevalues$dom$index.createWorker = module$exports$safevalues$dom$globals$worker.create;
|
|
4863
|
+
module$exports$safevalues$dom$index.createSharedWorker = module$exports$safevalues$dom$globals$worker.createShared;
|
|
4864
|
+
module$exports$safevalues$dom$index.workerGlobalScopeImportScripts = module$exports$safevalues$dom$globals$worker.importScripts;
|
|
4818
4865
|
var safevalues = {dom:{}};
|
|
4819
4866
|
safevalues.dom.safeAnchorEl = module$exports$safevalues$dom$elements$anchor;
|
|
4820
4867
|
safevalues.dom.safeAreaEl = module$exports$safevalues$dom$elements$area;
|
|
@@ -4840,6 +4887,54 @@ safevalues.dom.safeServiceWorkerContainer = module$exports$safevalues$dom$global
|
|
|
4840
4887
|
safevalues.dom.safeUrl = module$exports$safevalues$dom$globals$url;
|
|
4841
4888
|
safevalues.dom.safeWindow = module$exports$safevalues$dom$globals$window;
|
|
4842
4889
|
safevalues.dom.safeWorker = module$exports$safevalues$dom$globals$worker;
|
|
4890
|
+
safevalues.dom.setAnchorHref = module$exports$safevalues$dom$index.setAnchorHref;
|
|
4891
|
+
safevalues.dom.setAnchorHrefLite = module$exports$safevalues$dom$index.setAnchorHrefLite;
|
|
4892
|
+
safevalues.dom.setAreaHref = module$exports$safevalues$dom$index.setAreaHref;
|
|
4893
|
+
safevalues.dom.setBaseHref = module$exports$safevalues$dom$index.setBaseHref;
|
|
4894
|
+
safevalues.dom.setButtonFormaction = module$exports$safevalues$dom$index.setButtonFormaction;
|
|
4895
|
+
safevalues.dom.buildPrefixedAttributeSetter = module$exports$safevalues$dom$index.buildPrefixedAttributeSetter;
|
|
4896
|
+
safevalues.dom.elementInsertAdjacentHtml = module$exports$safevalues$dom$index.elementInsertAdjacentHtml;
|
|
4897
|
+
safevalues.dom.setElementCssText = module$exports$safevalues$dom$index.setElementCssText;
|
|
4898
|
+
safevalues.dom.setElementInnerHtml = module$exports$safevalues$dom$index.setElementInnerHtml;
|
|
4899
|
+
safevalues.dom.setElementOuterHtml = module$exports$safevalues$dom$index.setElementOuterHtml;
|
|
4900
|
+
safevalues.dom.setElementPrefixedAttribute = module$exports$safevalues$dom$index.setElementPrefixedAttribute;
|
|
4901
|
+
safevalues.dom.setEmbedSrc = module$exports$safevalues$dom$index.setEmbedSrc;
|
|
4902
|
+
safevalues.dom.setFormAction = module$exports$safevalues$dom$index.setFormAction;
|
|
4903
|
+
safevalues.dom.IframeIntent = module$exports$safevalues$dom$index.IframeIntent;
|
|
4904
|
+
safevalues.dom.TypeCannotBeUsedWithIframeIntentError = module$exports$safevalues$dom$index.TypeCannotBeUsedWithIframeIntentError;
|
|
4905
|
+
safevalues.dom.setIframeSrc = module$exports$safevalues$dom$index.setIframeSrc;
|
|
4906
|
+
safevalues.dom.setIframeSrcWithIntent = module$exports$safevalues$dom$index.setIframeSrcWithIntent;
|
|
4907
|
+
safevalues.dom.setIframeSrcdoc = module$exports$safevalues$dom$index.setIframeSrcdoc;
|
|
4908
|
+
safevalues.dom.setIframeSrcdocWithIntent = module$exports$safevalues$dom$index.setIframeSrcdocWithIntent;
|
|
4909
|
+
safevalues.dom.setInputFormaction = module$exports$safevalues$dom$index.setInputFormaction;
|
|
4910
|
+
safevalues.dom.setLinkHrefAndRel = module$exports$safevalues$dom$index.setLinkHrefAndRel;
|
|
4911
|
+
safevalues.dom.setLinkWithResourceUrlHrefAndRel = module$exports$safevalues$dom$index.setLinkWithResourceUrlHrefAndRel;
|
|
4912
|
+
safevalues.dom.setObjectData = module$exports$safevalues$dom$index.setObjectData;
|
|
4913
|
+
safevalues.dom.setScriptSrc = module$exports$safevalues$dom$index.setScriptSrc;
|
|
4914
|
+
safevalues.dom.setScriptTextContent = module$exports$safevalues$dom$index.setScriptTextContent;
|
|
4915
|
+
safevalues.dom.setStyleTextContent = module$exports$safevalues$dom$index.setStyleTextContent;
|
|
4916
|
+
safevalues.dom.setSvgAttribute = module$exports$safevalues$dom$index.setSvgAttribute;
|
|
4917
|
+
safevalues.dom.setSvgUseHref = module$exports$safevalues$dom$index.setSvgUseHref;
|
|
4918
|
+
safevalues.dom.documentExecCommand = module$exports$safevalues$dom$index.documentExecCommand;
|
|
4919
|
+
safevalues.dom.documentExecCommandInsertHtml = module$exports$safevalues$dom$index.documentExecCommandInsertHtml;
|
|
4920
|
+
safevalues.dom.documentWrite = module$exports$safevalues$dom$index.documentWrite;
|
|
4921
|
+
safevalues.dom.domParserParseFromString = module$exports$safevalues$dom$index.domParserParseFromString;
|
|
4922
|
+
safevalues.dom.domParserParseHtml = module$exports$safevalues$dom$index.domParserParseHtml;
|
|
4923
|
+
safevalues.dom.domParserParseXml = module$exports$safevalues$dom$index.domParserParseXml;
|
|
4924
|
+
safevalues.dom.fetchResourceUrl = module$exports$safevalues$dom$index.fetchResourceUrl;
|
|
4925
|
+
safevalues.dom.globalEval = module$exports$safevalues$dom$index.globalEval;
|
|
4926
|
+
safevalues.dom.locationAssign = module$exports$safevalues$dom$index.locationAssign;
|
|
4927
|
+
safevalues.dom.locationReplace = module$exports$safevalues$dom$index.locationReplace;
|
|
4928
|
+
safevalues.dom.setLocationHref = module$exports$safevalues$dom$index.setLocationHref;
|
|
4929
|
+
safevalues.dom.rangeCreateContextualFragment = module$exports$safevalues$dom$index.rangeCreateContextualFragment;
|
|
4930
|
+
safevalues.dom.serviceWorkerContainerRegister = module$exports$safevalues$dom$index.serviceWorkerContainerRegister;
|
|
4931
|
+
safevalues.dom.objectUrlFromSafeSource = module$exports$safevalues$dom$index.objectUrlFromSafeSource;
|
|
4932
|
+
safevalues.dom.getScriptNonce = module$exports$safevalues$dom$index.getScriptNonce;
|
|
4933
|
+
safevalues.dom.getStyleNonce = module$exports$safevalues$dom$index.getStyleNonce;
|
|
4934
|
+
safevalues.dom.windowOpen = module$exports$safevalues$dom$index.windowOpen;
|
|
4935
|
+
safevalues.dom.createWorker = module$exports$safevalues$dom$index.createWorker;
|
|
4936
|
+
safevalues.dom.createSharedWorker = module$exports$safevalues$dom$index.createSharedWorker;
|
|
4937
|
+
safevalues.dom.workerGlobalScopeImportScripts = module$exports$safevalues$dom$index.workerGlobalScopeImportScripts;
|
|
4843
4938
|
var module$exports$safevalues$restricted$reviewed = {}, module$contents$safevalues$restricted$reviewed_module = module$contents$safevalues$restricted$reviewed_module || {id:"third_party/javascript/safevalues/restricted/reviewed.closure.js"};
|
|
4844
4939
|
function module$contents$safevalues$restricted$reviewed_assertValidJustification(justification) {
|
|
4845
4940
|
if (typeof justification !== "string" || justification.trim() === "") {
|
|
@@ -6160,8 +6255,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6160
6255
|
}
|
|
6161
6256
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6162
6257
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6163
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6164
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6258
|
+
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()) {
|
|
6259
|
+
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;
|
|
6165
6260
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6166
6261
|
}
|
|
6167
6262
|
return urlQueryParams;
|
|
@@ -6172,8 +6267,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6172
6267
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6173
6268
|
if (params.headers) {
|
|
6174
6269
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6175
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6176
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6270
|
+
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()) {
|
|
6271
|
+
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;
|
|
6177
6272
|
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);
|
|
6178
6273
|
}
|
|
6179
6274
|
}
|
|
@@ -6213,9 +6308,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6213
6308
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6214
6309
|
};
|
|
6215
6310
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6216
|
-
var $jscomp$this$
|
|
6311
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6217
6312
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6218
|
-
return $jscomp$this$
|
|
6313
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6219
6314
|
}));
|
|
6220
6315
|
};
|
|
6221
6316
|
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"};
|
|
@@ -6391,7 +6486,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_o
|
|
|
6391
6486
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable = !1;
|
|
6392
6487
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6393
6488
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
6394
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6489
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__disable = !1;
|
|
6395
6490
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6396
6491
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
6397
6492
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
|
|
@@ -6408,7 +6503,7 @@ goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$e
|
|
|
6408
6503
|
!0);
|
|
6409
6504
|
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);
|
|
6410
6505
|
goog.flags.JSPB_READONLY_REPEATED_FIELDS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable) : goog.readFlagInternalDoNotUseOrElse(653718497, module$contents$goog$flags_STAGING);
|
|
6411
|
-
goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6506
|
+
goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = 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_ignore_implicit_extension_deps__disable) : goog.readFlagInternalDoNotUseOrElse(660014094, module$contents$goog$flags_STAGING);
|
|
6412
6507
|
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);
|
|
6413
6508
|
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);
|
|
6414
6509
|
goog.flags.TESTONLY_STAGING_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable) : goog.readFlagInternalDoNotUseOrElse(2147483646, module$contents$goog$flags_STAGING);
|
|
@@ -9211,17 +9306,6 @@ module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum = {DATA_TYPE_UNSPEC
|
|
|
9211
9306
|
return [module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.DATA_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.INT8, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.UINT8, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.INT16, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.UINT16,
|
|
9212
9307
|
module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.INT32, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.UINT32, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.FLOAT, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.DOUBLE];
|
|
9213
9308
|
}};
|
|
9214
|
-
module$exports$eeapiclient$ee_api_client.ITrialStatusEligibilityEnum = function() {
|
|
9215
|
-
};
|
|
9216
|
-
module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum = {ACCOUNT_INELIGIBLE:"ACCOUNT_INELIGIBLE", ALREADY_EVALUATED:"ALREADY_EVALUATED", ELIGIBILITY_UNSPECIFIED:"ELIGIBILITY_UNSPECIFIED", ELIGIBLE:"ELIGIBLE", NO_BILLING_ACCOUNT:"NO_BILLING_ACCOUNT", REDEEMED:"REDEEMED", values:function() {
|
|
9217
|
-
return [module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.ELIGIBILITY_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.ELIGIBLE, module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.REDEEMED, module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.ALREADY_EVALUATED, module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.NO_BILLING_ACCOUNT,
|
|
9218
|
-
module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.ACCOUNT_INELIGIBLE];
|
|
9219
|
-
}};
|
|
9220
|
-
module$exports$eeapiclient$ee_api_client.ITrialStatusStateEnum = function() {
|
|
9221
|
-
};
|
|
9222
|
-
module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum = {ACTIVE:"ACTIVE", EXPIRED:"EXPIRED", STATE_UNSPECIFIED:"STATE_UNSPECIFIED", values:function() {
|
|
9223
|
-
return [module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum.STATE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum.ACTIVE, module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum.EXPIRED];
|
|
9224
|
-
}};
|
|
9225
9309
|
module$exports$eeapiclient$ee_api_client.IVideoFileExportOptionsFileFormatEnum = function() {
|
|
9226
9310
|
};
|
|
9227
9311
|
module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsFileFormatEnum = {GIF:"GIF", MP4:"MP4", VIDEO_FILE_FORMAT_UNSPECIFIED:"VIDEO_FILE_FORMAT_UNSPECIFIED", VP9:"VP9", values:function() {
|
|
@@ -12296,7 +12380,6 @@ module$exports$eeapiclient$ee_api_client.ProjectConfig = function(parameters) {
|
|
|
12296
12380
|
this.Serializable$set("name", parameters.name == null ? null : parameters.name);
|
|
12297
12381
|
this.Serializable$set("registration", parameters.registration == null ? null : parameters.registration);
|
|
12298
12382
|
this.Serializable$set("registrationState", parameters.registrationState == null ? null : parameters.registrationState);
|
|
12299
|
-
this.Serializable$set("trialStatus", parameters.trialStatus == null ? null : parameters.trialStatus);
|
|
12300
12383
|
this.Serializable$set("vpcServiceControlsRestricted", parameters.vpcServiceControlsRestricted == null ? null : parameters.vpcServiceControlsRestricted);
|
|
12301
12384
|
};
|
|
12302
12385
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ProjectConfig, module$exports$eeapiclient$domain_object.Serializable);
|
|
@@ -12304,7 +12387,7 @@ module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype.getConstructor
|
|
|
12304
12387
|
return module$exports$eeapiclient$ee_api_client.ProjectConfig;
|
|
12305
12388
|
};
|
|
12306
12389
|
module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype.getPartialClassMetadata = function() {
|
|
12307
|
-
return {enums:{registrationState:module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum}, keys:["name", "registration", "registrationState", "
|
|
12390
|
+
return {enums:{registrationState:module$exports$eeapiclient$ee_api_client.ProjectConfigRegistrationStateEnum}, keys:["name", "registration", "registrationState", "vpcServiceControlsRestricted"], objects:{registration:module$exports$eeapiclient$ee_api_client.ProjectRegistration}};
|
|
12308
12391
|
};
|
|
12309
12392
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype, {name:{configurable:!0, enumerable:!0, get:function() {
|
|
12310
12393
|
return this.Serializable$has("name") ? this.Serializable$get("name") : null;
|
|
@@ -12318,10 +12401,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
12318
12401
|
return this.Serializable$has("registrationState") ? this.Serializable$get("registrationState") : null;
|
|
12319
12402
|
}, set:function(value) {
|
|
12320
12403
|
this.Serializable$set("registrationState", value);
|
|
12321
|
-
}}, trialStatus:{configurable:!0, enumerable:!0, get:function() {
|
|
12322
|
-
return this.Serializable$has("trialStatus") ? this.Serializable$get("trialStatus") : null;
|
|
12323
|
-
}, set:function(value) {
|
|
12324
|
-
this.Serializable$set("trialStatus", value);
|
|
12325
12404
|
}}, vpcServiceControlsRestricted:{configurable:!0, enumerable:!0, get:function() {
|
|
12326
12405
|
return this.Serializable$has("vpcServiceControlsRestricted") ? this.Serializable$get("vpcServiceControlsRestricted") : null;
|
|
12327
12406
|
}, set:function(value) {
|
|
@@ -13480,55 +13559,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
13480
13559
|
}, set:function(value) {
|
|
13481
13560
|
this.Serializable$set("tilesPerFile", value);
|
|
13482
13561
|
}}});
|
|
13483
|
-
module$exports$eeapiclient$ee_api_client.TrialStatusParameters = function() {
|
|
13484
|
-
};
|
|
13485
|
-
module$exports$eeapiclient$ee_api_client.TrialStatus = function(parameters) {
|
|
13486
|
-
parameters = parameters === void 0 ? {} : parameters;
|
|
13487
|
-
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
13488
|
-
this.Serializable$set("billingAccount", parameters.billingAccount == null ? null : parameters.billingAccount);
|
|
13489
|
-
this.Serializable$set("eligibility", parameters.eligibility == null ? null : parameters.eligibility);
|
|
13490
|
-
this.Serializable$set("state", parameters.state == null ? null : parameters.state);
|
|
13491
|
-
this.Serializable$set("startTime", parameters.startTime == null ? null : parameters.startTime);
|
|
13492
|
-
this.Serializable$set("expiryTime", parameters.expiryTime == null ? null : parameters.expiryTime);
|
|
13493
|
-
this.Serializable$set("subscription", parameters.subscription == null ? null : parameters.subscription);
|
|
13494
|
-
};
|
|
13495
|
-
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.TrialStatus, module$exports$eeapiclient$domain_object.Serializable);
|
|
13496
|
-
module$exports$eeapiclient$ee_api_client.TrialStatus.prototype.getConstructor = function() {
|
|
13497
|
-
return module$exports$eeapiclient$ee_api_client.TrialStatus;
|
|
13498
|
-
};
|
|
13499
|
-
module$exports$eeapiclient$ee_api_client.TrialStatus.prototype.getPartialClassMetadata = function() {
|
|
13500
|
-
return {enums:{eligibility:module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum, state:module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum}, keys:"billingAccount eligibility expiryTime startTime state subscription".split(" ")};
|
|
13501
|
-
};
|
|
13502
|
-
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TrialStatus.prototype, {billingAccount:{configurable:!0, enumerable:!0, get:function() {
|
|
13503
|
-
return this.Serializable$has("billingAccount") ? this.Serializable$get("billingAccount") : null;
|
|
13504
|
-
}, set:function(value) {
|
|
13505
|
-
this.Serializable$set("billingAccount", value);
|
|
13506
|
-
}}, eligibility:{configurable:!0, enumerable:!0, get:function() {
|
|
13507
|
-
return this.Serializable$has("eligibility") ? this.Serializable$get("eligibility") : null;
|
|
13508
|
-
}, set:function(value) {
|
|
13509
|
-
this.Serializable$set("eligibility", value);
|
|
13510
|
-
}}, expiryTime:{configurable:!0, enumerable:!0, get:function() {
|
|
13511
|
-
return this.Serializable$has("expiryTime") ? this.Serializable$get("expiryTime") : null;
|
|
13512
|
-
}, set:function(value) {
|
|
13513
|
-
this.Serializable$set("expiryTime", value);
|
|
13514
|
-
}}, startTime:{configurable:!0, enumerable:!0, get:function() {
|
|
13515
|
-
return this.Serializable$has("startTime") ? this.Serializable$get("startTime") : null;
|
|
13516
|
-
}, set:function(value) {
|
|
13517
|
-
this.Serializable$set("startTime", value);
|
|
13518
|
-
}}, state:{configurable:!0, enumerable:!0, get:function() {
|
|
13519
|
-
return this.Serializable$has("state") ? this.Serializable$get("state") : null;
|
|
13520
|
-
}, set:function(value) {
|
|
13521
|
-
this.Serializable$set("state", value);
|
|
13522
|
-
}}, subscription:{configurable:!0, enumerable:!0, get:function() {
|
|
13523
|
-
return this.Serializable$has("subscription") ? this.Serializable$get("subscription") : null;
|
|
13524
|
-
}, set:function(value) {
|
|
13525
|
-
this.Serializable$set("subscription", value);
|
|
13526
|
-
}}});
|
|
13527
|
-
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TrialStatus, {Eligibility:{configurable:!0, enumerable:!0, get:function() {
|
|
13528
|
-
return module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum;
|
|
13529
|
-
}}, State:{configurable:!0, enumerable:!0, get:function() {
|
|
13530
|
-
return module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum;
|
|
13531
|
-
}}});
|
|
13532
13562
|
module$exports$eeapiclient$ee_api_client.UpdateAssetRequestParameters = function() {
|
|
13533
13563
|
};
|
|
13534
13564
|
module$exports$eeapiclient$ee_api_client.UpdateAssetRequest = function(parameters) {
|
|
@@ -14696,11 +14726,11 @@ module$contents$goog$async$FreeList_FreeList.prototype.occupants = function() {
|
|
|
14696
14726
|
return this.occupants_;
|
|
14697
14727
|
};
|
|
14698
14728
|
goog.async.FreeList = module$contents$goog$async$FreeList_FreeList;
|
|
14699
|
-
goog.async.nextTick = function(callback, opt_context
|
|
14729
|
+
goog.async.nextTick = function(callback, opt_context) {
|
|
14700
14730
|
var cb = callback;
|
|
14701
14731
|
opt_context && (cb = goog.bind(callback, opt_context));
|
|
14702
14732
|
cb = goog.async.nextTick.wrapCallback_(cb);
|
|
14703
|
-
goog.async.nextTick.USE_SET_TIMEOUT ? setTimeout(cb, 0) : typeof goog.global.setImmediate === "function" &&
|
|
14733
|
+
goog.async.nextTick.USE_SET_TIMEOUT ? setTimeout(cb, 0) : 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));
|
|
14704
14734
|
};
|
|
14705
14735
|
goog.async.nextTick.USE_SET_TIMEOUT = !1;
|
|
14706
14736
|
goog.async.nextTick.useSetImmediate_ = function() {
|
|
@@ -14820,26 +14850,29 @@ goog.debug.asyncStackTag.getTestNameProvider = function() {
|
|
|
14820
14850
|
return module$contents$goog$debug$asyncStackTag_testNameProvider;
|
|
14821
14851
|
};
|
|
14822
14852
|
var module$contents$goog$async$run_ASSUME_NATIVE_PROMISE = goog.FEATURESET_YEAR >= 2018, module$contents$goog$async$run_schedule, module$contents$goog$async$run_workQueueScheduled = !1, module$contents$goog$async$run_workQueue = new module$contents$goog$async$WorkQueue_WorkQueue(), module$contents$goog$async$run_run = function(callback, context) {
|
|
14853
|
+
callback = module$contents$goog$debug$asyncStackTag_wrap(callback, "goog.async.run");
|
|
14823
14854
|
module$contents$goog$async$run_schedule || module$contents$goog$async$run_initializeRunner();
|
|
14824
14855
|
module$contents$goog$async$run_workQueueScheduled || (module$contents$goog$async$run_schedule(), module$contents$goog$async$run_workQueueScheduled = !0);
|
|
14825
|
-
callback = module$contents$goog$debug$asyncStackTag_wrap(callback, "goog.async.run");
|
|
14826
14856
|
module$contents$goog$async$run_workQueue.add(callback, context);
|
|
14827
14857
|
}, module$contents$goog$async$run_initializeRunner = function() {
|
|
14828
14858
|
if (module$contents$goog$async$run_ASSUME_NATIVE_PROMISE || goog.global.Promise && goog.global.Promise.resolve) {
|
|
14829
14859
|
var promise = goog.global.Promise.resolve(void 0);
|
|
14830
14860
|
module$contents$goog$async$run_schedule = function() {
|
|
14831
|
-
promise.then(module$contents$goog$async$
|
|
14861
|
+
promise.then(module$contents$goog$async$run_processWorkQueueInternal);
|
|
14832
14862
|
};
|
|
14833
14863
|
} else {
|
|
14834
14864
|
module$contents$goog$async$run_schedule = function() {
|
|
14835
|
-
(0,goog.async.nextTick)(module$contents$goog$async$
|
|
14865
|
+
(0,goog.async.nextTick)(module$contents$goog$async$run_processWorkQueueInternal);
|
|
14836
14866
|
};
|
|
14837
14867
|
}
|
|
14838
14868
|
};
|
|
14839
14869
|
module$contents$goog$async$run_run.forceNextTick = function(realSetTimeout) {
|
|
14870
|
+
if (goog.DISALLOW_TEST_ONLY_CODE) {
|
|
14871
|
+
throw Error("goog.async.run.forceNextTick is only available with goog.DEBUG");
|
|
14872
|
+
}
|
|
14840
14873
|
module$contents$goog$async$run_schedule = function() {
|
|
14841
|
-
(0,goog.async.nextTick)(module$contents$goog$async$
|
|
14842
|
-
realSetTimeout && realSetTimeout(module$contents$goog$async$
|
|
14874
|
+
(0,goog.async.nextTick)(module$contents$goog$async$run_processWorkQueueInternal);
|
|
14875
|
+
realSetTimeout && realSetTimeout(module$contents$goog$async$run_processWorkQueueInternal);
|
|
14843
14876
|
};
|
|
14844
14877
|
};
|
|
14845
14878
|
goog.DEBUG && (module$contents$goog$async$run_run.resetQueue = function() {
|
|
@@ -14848,7 +14881,7 @@ goog.DEBUG && (module$contents$goog$async$run_run.resetQueue = function() {
|
|
|
14848
14881
|
}, module$contents$goog$async$run_run.resetSchedulerForTest = function() {
|
|
14849
14882
|
module$contents$goog$async$run_initializeRunner();
|
|
14850
14883
|
});
|
|
14851
|
-
module$contents$goog$async$
|
|
14884
|
+
function module$contents$goog$async$run_processWorkQueueInternal() {
|
|
14852
14885
|
for (var item = null; item = module$contents$goog$async$run_workQueue.remove();) {
|
|
14853
14886
|
try {
|
|
14854
14887
|
item.fn.call(item.scope);
|
|
@@ -14858,6 +14891,12 @@ module$contents$goog$async$run_run.processWorkQueue = function() {
|
|
|
14858
14891
|
module$contents$goog$async$run_workQueue.returnUnused(item);
|
|
14859
14892
|
}
|
|
14860
14893
|
module$contents$goog$async$run_workQueueScheduled = !1;
|
|
14894
|
+
}
|
|
14895
|
+
module$contents$goog$async$run_run.processWorkQueue = function() {
|
|
14896
|
+
if (goog.DISALLOW_TEST_ONLY_CODE) {
|
|
14897
|
+
throw Error("goog.async.run.processWorkQueue is only available for tests.");
|
|
14898
|
+
}
|
|
14899
|
+
module$contents$goog$async$run_processWorkQueueInternal();
|
|
14861
14900
|
};
|
|
14862
14901
|
goog.async.run = module$contents$goog$async$run_run;
|
|
14863
14902
|
goog.promise = {};
|
|
@@ -15551,14 +15590,6 @@ var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
|
15551
15590
|
}, module$contents$goog$asserts$dom_assertIsHtmlElementOfType = function(value, tagName) {
|
|
15552
15591
|
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isHtmlElementOfType(value, tagName) && goog.asserts.fail("Argument is not an HTML Element with tag name " + (tagName.toString() + "; got: " + module$contents$goog$asserts$dom_debugStringForType(value)));
|
|
15553
15592
|
return value;
|
|
15554
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlAnchorElement = function(value) {
|
|
15555
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.A);
|
|
15556
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlLinkElement = function(value) {
|
|
15557
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.LINK);
|
|
15558
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlFormElement = function(value) {
|
|
15559
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
15560
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlIFrameElement = function(value) {
|
|
15561
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IFRAME);
|
|
15562
15593
|
}, module$contents$goog$asserts$dom_debugStringForType = function(value) {
|
|
15563
15594
|
if (goog.isObject(value)) {
|
|
15564
15595
|
try {
|
|
@@ -15576,11 +15607,15 @@ goog.asserts.dom.assertIsElement = function(value) {
|
|
|
15576
15607
|
};
|
|
15577
15608
|
goog.asserts.dom.assertIsHtmlElement = module$contents$goog$asserts$dom_assertIsHtmlElement;
|
|
15578
15609
|
goog.asserts.dom.assertIsHtmlElementOfType = module$contents$goog$asserts$dom_assertIsHtmlElementOfType;
|
|
15579
|
-
goog.asserts.dom.assertIsHtmlAnchorElement =
|
|
15610
|
+
goog.asserts.dom.assertIsHtmlAnchorElement = function(value) {
|
|
15611
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.A);
|
|
15612
|
+
};
|
|
15580
15613
|
goog.asserts.dom.assertIsHtmlButtonElement = function(value) {
|
|
15581
15614
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.BUTTON);
|
|
15582
15615
|
};
|
|
15583
|
-
goog.asserts.dom.assertIsHtmlLinkElement =
|
|
15616
|
+
goog.asserts.dom.assertIsHtmlLinkElement = function(value) {
|
|
15617
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.LINK);
|
|
15618
|
+
};
|
|
15584
15619
|
goog.asserts.dom.assertIsHtmlImageElement = function(value) {
|
|
15585
15620
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IMG);
|
|
15586
15621
|
};
|
|
@@ -15602,46 +15637,152 @@ goog.asserts.dom.assertIsHtmlCanvasElement = function(value) {
|
|
|
15602
15637
|
goog.asserts.dom.assertIsHtmlEmbedElement = function(value) {
|
|
15603
15638
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
|
|
15604
15639
|
};
|
|
15605
|
-
goog.asserts.dom.assertIsHtmlFormElement =
|
|
15640
|
+
goog.asserts.dom.assertIsHtmlFormElement = function(value) {
|
|
15641
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
15642
|
+
};
|
|
15606
15643
|
goog.asserts.dom.assertIsHtmlFrameElement = function(value) {
|
|
15607
15644
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
|
|
15608
15645
|
};
|
|
15609
|
-
goog.asserts.dom.assertIsHtmlIFrameElement =
|
|
15646
|
+
goog.asserts.dom.assertIsHtmlIFrameElement = function(value) {
|
|
15647
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IFRAME);
|
|
15648
|
+
};
|
|
15610
15649
|
goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
15611
15650
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
15612
15651
|
};
|
|
15613
15652
|
goog.asserts.dom.assertIsHtmlScriptElement = function(value) {
|
|
15614
15653
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
15615
15654
|
};
|
|
15616
|
-
goog.
|
|
15617
|
-
|
|
15618
|
-
|
|
15619
|
-
var win = goog.dom.asserts.getWindow_(o);
|
|
15620
|
-
win && (!o || !(o instanceof win.Location) && o instanceof win.Element) && goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s", goog.dom.asserts.debugStringForType_(o));
|
|
15621
|
-
}
|
|
15622
|
-
return o;
|
|
15655
|
+
goog.math.Coordinate = function(opt_x, opt_y) {
|
|
15656
|
+
this.x = opt_x !== void 0 ? opt_x : 0;
|
|
15657
|
+
this.y = opt_y !== void 0 ? opt_y : 0;
|
|
15623
15658
|
};
|
|
15624
|
-
goog.
|
|
15625
|
-
|
|
15626
|
-
try {
|
|
15627
|
-
return value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value);
|
|
15628
|
-
} catch (e) {
|
|
15629
|
-
return "<object could not be stringified>";
|
|
15630
|
-
}
|
|
15631
|
-
} else {
|
|
15632
|
-
return value === void 0 ? "undefined" : value === null ? "null" : typeof value;
|
|
15633
|
-
}
|
|
15659
|
+
goog.math.Coordinate.prototype.clone = function() {
|
|
15660
|
+
return new goog.math.Coordinate(this.x, this.y);
|
|
15634
15661
|
};
|
|
15635
|
-
goog.
|
|
15636
|
-
|
|
15637
|
-
|
|
15638
|
-
|
|
15639
|
-
|
|
15640
|
-
|
|
15641
|
-
|
|
15642
|
-
|
|
15643
|
-
|
|
15644
|
-
|
|
15662
|
+
goog.DEBUG && (goog.math.Coordinate.prototype.toString = function() {
|
|
15663
|
+
return "(" + this.x + ", " + this.y + ")";
|
|
15664
|
+
});
|
|
15665
|
+
goog.math.Coordinate.prototype.equals = function(other) {
|
|
15666
|
+
return other instanceof goog.math.Coordinate && goog.math.Coordinate.equals(this, other);
|
|
15667
|
+
};
|
|
15668
|
+
goog.math.Coordinate.equals = function(a, b) {
|
|
15669
|
+
return a == b ? !0 : a && b ? a.x == b.x && a.y == b.y : !1;
|
|
15670
|
+
};
|
|
15671
|
+
goog.math.Coordinate.distance = function(a, b) {
|
|
15672
|
+
var dx = a.x - b.x, dy = a.y - b.y;
|
|
15673
|
+
return Math.sqrt(dx * dx + dy * dy);
|
|
15674
|
+
};
|
|
15675
|
+
goog.math.Coordinate.magnitude = function(a) {
|
|
15676
|
+
return Math.sqrt(a.x * a.x + a.y * a.y);
|
|
15677
|
+
};
|
|
15678
|
+
goog.math.Coordinate.azimuth = function(a) {
|
|
15679
|
+
return goog.math.angle(0, 0, a.x, a.y);
|
|
15680
|
+
};
|
|
15681
|
+
goog.math.Coordinate.squaredDistance = function(a, b) {
|
|
15682
|
+
var dx = a.x - b.x, dy = a.y - b.y;
|
|
15683
|
+
return dx * dx + dy * dy;
|
|
15684
|
+
};
|
|
15685
|
+
goog.math.Coordinate.difference = function(a, b) {
|
|
15686
|
+
return new goog.math.Coordinate(a.x - b.x, a.y - b.y);
|
|
15687
|
+
};
|
|
15688
|
+
goog.math.Coordinate.sum = function(a, b) {
|
|
15689
|
+
return new goog.math.Coordinate(a.x + b.x, a.y + b.y);
|
|
15690
|
+
};
|
|
15691
|
+
goog.math.Coordinate.prototype.ceil = function() {
|
|
15692
|
+
this.x = Math.ceil(this.x);
|
|
15693
|
+
this.y = Math.ceil(this.y);
|
|
15694
|
+
return this;
|
|
15695
|
+
};
|
|
15696
|
+
goog.math.Coordinate.prototype.floor = function() {
|
|
15697
|
+
this.x = Math.floor(this.x);
|
|
15698
|
+
this.y = Math.floor(this.y);
|
|
15699
|
+
return this;
|
|
15700
|
+
};
|
|
15701
|
+
goog.math.Coordinate.prototype.round = function() {
|
|
15702
|
+
this.x = Math.round(this.x);
|
|
15703
|
+
this.y = Math.round(this.y);
|
|
15704
|
+
return this;
|
|
15705
|
+
};
|
|
15706
|
+
goog.math.Coordinate.prototype.translate = function(tx, opt_ty) {
|
|
15707
|
+
tx instanceof goog.math.Coordinate ? (this.x += tx.x, this.y += tx.y) : (this.x += Number(tx), typeof opt_ty === "number" && (this.y += opt_ty));
|
|
15708
|
+
return this;
|
|
15709
|
+
};
|
|
15710
|
+
goog.math.Coordinate.prototype.scale = function(sx, opt_sy) {
|
|
15711
|
+
var sy;
|
|
15712
|
+
this.x *= sx;
|
|
15713
|
+
this.y *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
15714
|
+
return this;
|
|
15715
|
+
};
|
|
15716
|
+
goog.math.Coordinate.prototype.rotateRadians = function(radians, opt_center) {
|
|
15717
|
+
var center = opt_center || new goog.math.Coordinate(0, 0), x = this.x, y = this.y, cos = Math.cos(radians), sin = Math.sin(radians);
|
|
15718
|
+
this.x = (x - center.x) * cos - (y - center.y) * sin + center.x;
|
|
15719
|
+
this.y = (x - center.x) * sin + (y - center.y) * cos + center.y;
|
|
15720
|
+
};
|
|
15721
|
+
goog.math.Coordinate.prototype.rotateDegrees = function(degrees, opt_center) {
|
|
15722
|
+
this.rotateRadians(goog.math.toRadians(degrees), opt_center);
|
|
15723
|
+
};
|
|
15724
|
+
goog.math.Size = function(width, height) {
|
|
15725
|
+
this.width = width;
|
|
15726
|
+
this.height = height;
|
|
15727
|
+
};
|
|
15728
|
+
goog.math.Size.equals = function(a, b) {
|
|
15729
|
+
return a == b ? !0 : a && b ? a.width == b.width && a.height == b.height : !1;
|
|
15730
|
+
};
|
|
15731
|
+
goog.math.Size.prototype.clone = function() {
|
|
15732
|
+
return new goog.math.Size(this.width, this.height);
|
|
15733
|
+
};
|
|
15734
|
+
goog.DEBUG && (goog.math.Size.prototype.toString = function() {
|
|
15735
|
+
return "(" + this.width + " x " + this.height + ")";
|
|
15736
|
+
});
|
|
15737
|
+
goog.math.Size.prototype.getLongest = function() {
|
|
15738
|
+
return Math.max(this.width, this.height);
|
|
15739
|
+
};
|
|
15740
|
+
goog.math.Size.prototype.getShortest = function() {
|
|
15741
|
+
return Math.min(this.width, this.height);
|
|
15742
|
+
};
|
|
15743
|
+
goog.math.Size.prototype.area = function() {
|
|
15744
|
+
return this.width * this.height;
|
|
15745
|
+
};
|
|
15746
|
+
goog.math.Size.prototype.perimeter = function() {
|
|
15747
|
+
return (this.width + this.height) * 2;
|
|
15748
|
+
};
|
|
15749
|
+
goog.math.Size.prototype.aspectRatio = function() {
|
|
15750
|
+
return this.width / this.height;
|
|
15751
|
+
};
|
|
15752
|
+
goog.math.Size.prototype.isEmpty = function() {
|
|
15753
|
+
return !this.area();
|
|
15754
|
+
};
|
|
15755
|
+
goog.math.Size.prototype.ceil = function() {
|
|
15756
|
+
this.width = Math.ceil(this.width);
|
|
15757
|
+
this.height = Math.ceil(this.height);
|
|
15758
|
+
return this;
|
|
15759
|
+
};
|
|
15760
|
+
goog.math.Size.prototype.fitsInside = function(target) {
|
|
15761
|
+
return this.width <= target.width && this.height <= target.height;
|
|
15762
|
+
};
|
|
15763
|
+
goog.math.Size.prototype.floor = function() {
|
|
15764
|
+
this.width = Math.floor(this.width);
|
|
15765
|
+
this.height = Math.floor(this.height);
|
|
15766
|
+
return this;
|
|
15767
|
+
};
|
|
15768
|
+
goog.math.Size.prototype.round = function() {
|
|
15769
|
+
this.width = Math.round(this.width);
|
|
15770
|
+
this.height = Math.round(this.height);
|
|
15771
|
+
return this;
|
|
15772
|
+
};
|
|
15773
|
+
goog.math.Size.prototype.scale = function(sx, opt_sy) {
|
|
15774
|
+
var sy;
|
|
15775
|
+
this.width *= sx;
|
|
15776
|
+
this.height *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
15777
|
+
return this;
|
|
15778
|
+
};
|
|
15779
|
+
goog.math.Size.prototype.scaleToCover = function(target) {
|
|
15780
|
+
var s = this.aspectRatio() <= target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
15781
|
+
return this.scale(s);
|
|
15782
|
+
};
|
|
15783
|
+
goog.math.Size.prototype.scaleToFit = function(target) {
|
|
15784
|
+
var s = this.aspectRatio() > target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
15785
|
+
return this.scale(s);
|
|
15645
15786
|
};
|
|
15646
15787
|
goog.string.Const = function(opt_token, opt_content) {
|
|
15647
15788
|
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
@@ -15663,12 +15804,6 @@ goog.string.Const.from = function(s) {
|
|
|
15663
15804
|
goog.string.Const.TYPE_MARKER_ = {};
|
|
15664
15805
|
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
15665
15806
|
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
15666
|
-
var module$exports$safevalues$for_friends$index = {}, module$contents$safevalues$for_friends$index_module = module$contents$safevalues$for_friends$index_module || {id:"third_party/javascript/safevalues/for_friends/index.closure.js"};
|
|
15667
|
-
module$exports$safevalues$for_friends$index.IS_NOT_JAVASCRIPT_URL_PATTERN = module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN;
|
|
15668
|
-
module$exports$safevalues$for_friends$index.unwrapUrlOrSanitize = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize;
|
|
15669
|
-
safevalues.for_friends = {};
|
|
15670
|
-
safevalues.for_friends.IS_NOT_JAVASCRIPT_URL_PATTERN = module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN;
|
|
15671
|
-
safevalues.for_friends.unwrapUrlOrSanitize = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize;
|
|
15672
15807
|
var module$exports$safevalues$builders$sensitive_attributes = {}, module$contents$safevalues$builders$sensitive_attributes_module = module$contents$safevalues$builders$sensitive_attributes_module || {id:"third_party/javascript/safevalues/builders/sensitive_attributes.closure.js"};
|
|
15673
15808
|
module$exports$safevalues$builders$sensitive_attributes.SECURITY_SENSITIVE_ATTRIBUTES = "src srcdoc codebase data href rel action formaction sandbox cite poster icon".split(" ");
|
|
15674
15809
|
var module$contents$safevalues$builders$attribute_builders_module = module$contents$safevalues$builders$attribute_builders_module || {id:"third_party/javascript/safevalues/builders/attribute_builders.closure.js"};
|
|
@@ -15783,6 +15918,7 @@ module$exports$safevalues$builders$html_builders.scriptUrlToHtml = function(src,
|
|
|
15783
15918
|
if (options == null ? 0 : options.async) {
|
|
15784
15919
|
stringTag += " async";
|
|
15785
15920
|
}
|
|
15921
|
+
(options == null ? void 0 : options.attributionSrc) !== void 0 && (stringTag += ' attributionsrc="' + module$contents$safevalues$builders$html_builders_htmlEscapeToString(options.attributionSrc) + '"');
|
|
15786
15922
|
if (options == null ? 0 : options.customElement) {
|
|
15787
15923
|
stringTag += ' custom-element="' + module$contents$safevalues$builders$html_builders_htmlEscapeToString(options.customElement) + '"';
|
|
15788
15924
|
}
|
|
@@ -15914,8 +16050,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15914
16050
|
this.replacements = new Map();
|
|
15915
16051
|
};
|
|
15916
16052
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15917
|
-
var $jscomp$this$
|
|
15918
|
-
return $jscomp$this$
|
|
16053
|
+
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) {
|
|
16054
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
15919
16055
|
});
|
|
15920
16056
|
if (openedTags.length !== 0) {
|
|
15921
16057
|
if (goog.DEBUG) {
|
|
@@ -16133,8 +16269,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16133
16269
|
if (Array.isArray(token)) {
|
|
16134
16270
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16135
16271
|
} else {
|
|
16136
|
-
var $jscomp$optchain$
|
|
16137
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16272
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
16273
|
+
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) {
|
|
16138
16274
|
tokens.push(token);
|
|
16139
16275
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16140
16276
|
return tokens;
|
|
@@ -16380,9 +16516,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16380
16516
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16381
16517
|
};
|
|
16382
16518
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16383
|
-
var $jscomp$this$
|
|
16519
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16384
16520
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16385
|
-
return $jscomp$this$
|
|
16521
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16386
16522
|
});
|
|
16387
16523
|
};
|
|
16388
16524
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16489,8 +16625,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16489
16625
|
return null;
|
|
16490
16626
|
}
|
|
16491
16627
|
if (token.lowercaseName === "url") {
|
|
16492
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16493
|
-
if ((($jscomp$optchain$
|
|
16628
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16629
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16494
16630
|
return null;
|
|
16495
16631
|
}
|
|
16496
16632
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16513,8 +16649,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16513
16649
|
if (!this.allowKeyframes) {
|
|
16514
16650
|
return null;
|
|
16515
16651
|
}
|
|
16516
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16517
|
-
var rule = $jscomp$key$
|
|
16652
|
+
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()) {
|
|
16653
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16518
16654
|
if (rule instanceof CSSKeyframeRule) {
|
|
16519
16655
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16520
16656
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16526,8 +16662,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16526
16662
|
if (!this.propertyAllowlist.has(name)) {
|
|
16527
16663
|
return !1;
|
|
16528
16664
|
}
|
|
16529
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16530
|
-
var discarder = $jscomp$key$
|
|
16665
|
+
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()) {
|
|
16666
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16531
16667
|
if (discarder(name)) {
|
|
16532
16668
|
return !1;
|
|
16533
16669
|
}
|
|
@@ -16542,8 +16678,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16542
16678
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16543
16679
|
};
|
|
16544
16680
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16545
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16546
|
-
var name = $jscomp$key$
|
|
16681
|
+
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()) {
|
|
16682
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16547
16683
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16548
16684
|
}
|
|
16549
16685
|
return sanitizedProperties;
|
|
@@ -16557,8 +16693,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16557
16693
|
return selector + " { " + sanitizedProperties + " }";
|
|
16558
16694
|
};
|
|
16559
16695
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16560
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16561
|
-
var rule = $jscomp$key$
|
|
16696
|
+
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()) {
|
|
16697
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16562
16698
|
if (rule instanceof CSSStyleRule) {
|
|
16563
16699
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16564
16700
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16719,8 +16855,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16719
16855
|
return fragment;
|
|
16720
16856
|
};
|
|
16721
16857
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16722
|
-
for (var $jscomp$this$
|
|
16723
|
-
return $jscomp$this$
|
|
16858
|
+
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) {
|
|
16859
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
16724
16860
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16725
16861
|
var sanitizedNode = void 0;
|
|
16726
16862
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16755,8 +16891,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16755
16891
|
return this.createTextNode(textNode.data);
|
|
16756
16892
|
};
|
|
16757
16893
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16758
|
-
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$
|
|
16759
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16894
|
+
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()) {
|
|
16895
|
+
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);
|
|
16760
16896
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16761
16897
|
switch(policy.policyAction) {
|
|
16762
16898
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16788,9 +16924,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16788
16924
|
break;
|
|
16789
16925
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16790
16926
|
if (this.resourceUrlPolicy) {
|
|
16791
|
-
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$
|
|
16927
|
+
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 =
|
|
16792
16928
|
$jscomp$iter$35.next()) {
|
|
16793
|
-
var part = $jscomp$key$
|
|
16929
|
+
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);
|
|
16794
16930
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16795
16931
|
}
|
|
16796
16932
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16834,8 +16970,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16834
16970
|
if (!conditions) {
|
|
16835
16971
|
return !0;
|
|
16836
16972
|
}
|
|
16837
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16838
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16973
|
+
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()) {
|
|
16974
|
+
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;
|
|
16839
16975
|
if (value && !expectedValues.has(value)) {
|
|
16840
16976
|
return !1;
|
|
16841
16977
|
}
|
|
@@ -16850,8 +16986,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16850
16986
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16851
16987
|
};
|
|
16852
16988
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16853
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16854
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16989
|
+
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()) {
|
|
16990
|
+
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;
|
|
16855
16991
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16856
16992
|
}
|
|
16857
16993
|
return {parts:parts};
|
|
@@ -16908,8 +17044,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16908
17044
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
16909
17045
|
};
|
|
16910
17046
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
16911
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
16912
|
-
var element = $jscomp$key$
|
|
17047
|
+
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()) {
|
|
17048
|
+
var element = $jscomp$key$435282654$21$element.value;
|
|
16913
17049
|
element = element.toUpperCase();
|
|
16914
17050
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
16915
17051
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -16927,8 +17063,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16927
17063
|
throw Error("Element: " + element + " is not a custom element");
|
|
16928
17064
|
}
|
|
16929
17065
|
if (allowedAttributes) {
|
|
16930
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
16931
|
-
elementPolicy.set($jscomp$key$
|
|
17066
|
+
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()) {
|
|
17067
|
+
elementPolicy.set($jscomp$key$435282654$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
16932
17068
|
}
|
|
16933
17069
|
allowedElementPolicies.set(element, elementPolicy);
|
|
16934
17070
|
} else {
|
|
@@ -16938,15 +17074,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16938
17074
|
return this;
|
|
16939
17075
|
};
|
|
16940
17076
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
16941
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
16942
|
-
var attribute = $jscomp$key$
|
|
17077
|
+
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()) {
|
|
17078
|
+
var attribute = $jscomp$key$435282654$23$attribute.value;
|
|
16943
17079
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
16944
17080
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
16945
17081
|
}
|
|
16946
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
16947
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17082
|
+
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()) {
|
|
17083
|
+
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$ =
|
|
16948
17084
|
$jscomp$iter$42.next()) {
|
|
16949
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17085
|
+
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;
|
|
16950
17086
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
16951
17087
|
}
|
|
16952
17088
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -16955,8 +17091,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16955
17091
|
return this;
|
|
16956
17092
|
};
|
|
16957
17093
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
16958
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
16959
|
-
var attribute = $jscomp$key$
|
|
17094
|
+
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()) {
|
|
17095
|
+
var attribute = $jscomp$key$435282654$26$attribute.value;
|
|
16960
17096
|
if (attribute.indexOf("data-") !== 0) {
|
|
16961
17097
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
16962
17098
|
}
|
|
@@ -17018,7 +17154,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17018
17154
|
return this;
|
|
17019
17155
|
};
|
|
17020
17156
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17021
|
-
var $jscomp$this$
|
|
17157
|
+
var $jscomp$this$435282654$17 = this;
|
|
17022
17158
|
this.extendSanitizerTableForCss();
|
|
17023
17159
|
var propertyDiscarders = [];
|
|
17024
17160
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17028,9 +17164,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17028
17164
|
return /^transition(-|$)/.test(property);
|
|
17029
17165
|
});
|
|
17030
17166
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17031
|
-
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$
|
|
17167
|
+
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);
|
|
17032
17168
|
}, function(cssText) {
|
|
17033
|
-
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$
|
|
17169
|
+
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);
|
|
17034
17170
|
}, this.resourceUrlPolicy);
|
|
17035
17171
|
};
|
|
17036
17172
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17280,12 +17416,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17280
17416
|
}
|
|
17281
17417
|
try {
|
|
17282
17418
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17283
|
-
} catch ($jscomp$unused$catch$
|
|
17419
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
17284
17420
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17285
17421
|
}
|
|
17286
17422
|
try {
|
|
17287
17423
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17288
|
-
} catch ($jscomp$unused$catch$
|
|
17424
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
17289
17425
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17290
17426
|
}
|
|
17291
17427
|
return !1;
|
|
@@ -17368,7 +17504,6 @@ module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$interna
|
|
|
17368
17504
|
module$exports$safevalues$index.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
17369
17505
|
module$exports$safevalues$index.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
17370
17506
|
module$exports$safevalues$index.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
17371
|
-
module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
17372
17507
|
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17373
17508
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17374
17509
|
module$exports$safevalues$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
@@ -17445,9 +17580,9 @@ safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_
|
|
|
17445
17580
|
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
17446
17581
|
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
17447
17582
|
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
17448
|
-
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
17449
17583
|
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17450
17584
|
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17585
|
+
safevalues.SafeStyle = module$exports$safevalues$index.SafeStyle;
|
|
17451
17586
|
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
17452
17587
|
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
17453
17588
|
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
@@ -17457,230 +17592,6 @@ safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
|
17457
17592
|
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
17458
17593
|
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
17459
17594
|
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
17460
|
-
goog.dom.safe = {};
|
|
17461
|
-
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0};
|
|
17462
|
-
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
17463
|
-
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
17464
|
-
throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + elem.tagName + ".");
|
|
17465
|
-
}
|
|
17466
|
-
elem.innerHTML = module$exports$safevalues$index.unwrapHtml(html);
|
|
17467
|
-
};
|
|
17468
|
-
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
17469
|
-
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
17470
|
-
};
|
|
17471
|
-
goog.dom.safe.setFormElementAction = function(form, url) {
|
|
17472
|
-
module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17473
|
-
};
|
|
17474
|
-
goog.dom.safe.documentWrite = function(doc, html) {
|
|
17475
|
-
doc.write(module$exports$safevalues$index.unwrapHtml(html));
|
|
17476
|
-
};
|
|
17477
|
-
goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
17478
|
-
module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(anchor);
|
|
17479
|
-
anchor.href = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17480
|
-
};
|
|
17481
|
-
goog.dom.safe.setIframeSrc = function(iframe, url) {
|
|
17482
|
-
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
17483
|
-
iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
17484
|
-
};
|
|
17485
|
-
goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
|
|
17486
|
-
module$contents$goog$asserts$dom_assertIsHtmlLinkElement(link);
|
|
17487
|
-
link.rel = rel;
|
|
17488
|
-
if (goog.string.internal.caseInsensitiveContains(rel, "stylesheet")) {
|
|
17489
|
-
goog.asserts.assert(url instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl, 'URL must be TrustedResourceUrl because "rel" contains "stylesheet"');
|
|
17490
|
-
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
17491
|
-
var nonce = goog.dom.safe.getStyleNonce(link.ownerDocument && link.ownerDocument.defaultView);
|
|
17492
|
-
nonce && link.setAttribute("nonce", nonce);
|
|
17493
|
-
} else {
|
|
17494
|
-
link.href = url instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl ? module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString() : goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17495
|
-
}
|
|
17496
|
-
};
|
|
17497
|
-
goog.dom.safe.setLocationHref = function(loc, url) {
|
|
17498
|
-
goog.dom.asserts.assertIsLocation(loc);
|
|
17499
|
-
loc.href = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
17500
|
-
};
|
|
17501
|
-
goog.dom.safe.assignLocation = function(loc, url) {
|
|
17502
|
-
goog.dom.asserts.assertIsLocation(loc);
|
|
17503
|
-
loc.assign(goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url));
|
|
17504
|
-
};
|
|
17505
|
-
goog.dom.safe.replaceLocation = function(loc, url) {
|
|
17506
|
-
loc.replace(goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url));
|
|
17507
|
-
};
|
|
17508
|
-
goog.dom.safe.openInWindow = function(url, opt_openerWin, opt_name, opt_specs) {
|
|
17509
|
-
var sanitizedUrl = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url), win = opt_openerWin || goog.global, name = opt_name instanceof goog.string.Const ? goog.string.Const.unwrap(opt_name) : opt_name || "";
|
|
17510
|
-
return opt_specs !== void 0 ? win.open(sanitizedUrl, name, opt_specs) : win.open(sanitizedUrl, name);
|
|
17511
|
-
};
|
|
17512
|
-
goog.dom.safe.parseFromString = function(parser, content, type) {
|
|
17513
|
-
return parser.parseFromString(module$exports$safevalues$index.unwrapHtml(content), type);
|
|
17514
|
-
};
|
|
17515
|
-
goog.dom.safe.createImageFromBlob = function(blob) {
|
|
17516
|
-
if (!/^image\/.*/g.test(blob.type)) {
|
|
17517
|
-
throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");
|
|
17518
|
-
}
|
|
17519
|
-
var objectUrl = goog.global.URL.createObjectURL(blob), image = new goog.global.Image(), revokeFn = function() {
|
|
17520
|
-
goog.global.URL.revokeObjectURL(objectUrl);
|
|
17521
|
-
};
|
|
17522
|
-
image.onload = revokeFn;
|
|
17523
|
-
image.onerror = revokeFn;
|
|
17524
|
-
image.src = objectUrl;
|
|
17525
|
-
return image;
|
|
17526
|
-
};
|
|
17527
|
-
goog.dom.safe.getScriptNonce = function(opt_window) {
|
|
17528
|
-
return goog.dom.safe.getNonce_("script[nonce]", opt_window);
|
|
17529
|
-
};
|
|
17530
|
-
goog.dom.safe.getStyleNonce = function(opt_window) {
|
|
17531
|
-
return goog.dom.safe.getNonce_('style[nonce],link[rel="stylesheet"][nonce]', opt_window);
|
|
17532
|
-
};
|
|
17533
|
-
goog.dom.safe.NONCE_PATTERN_ = /^[\w+/_-]+[=]{0,2}$/;
|
|
17534
|
-
goog.dom.safe.getNonce_ = function(selector, win) {
|
|
17535
|
-
var doc = (win || goog.global).document;
|
|
17536
|
-
if (!doc.querySelector) {
|
|
17537
|
-
return "";
|
|
17538
|
-
}
|
|
17539
|
-
var el = doc.querySelector(selector);
|
|
17540
|
-
if (el) {
|
|
17541
|
-
var nonce = el.nonce || el.getAttribute("nonce");
|
|
17542
|
-
if (nonce && goog.dom.safe.NONCE_PATTERN_.test(nonce)) {
|
|
17543
|
-
return nonce;
|
|
17544
|
-
}
|
|
17545
|
-
}
|
|
17546
|
-
return "";
|
|
17547
|
-
};
|
|
17548
|
-
goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_ = function(url) {
|
|
17549
|
-
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
17550
|
-
return goog.asserts.assert(sanitizedUrl !== void 0, "%s is a javascript: URL", url) ? sanitizedUrl : module$exports$safevalues$internals$url_impl.INNOCUOUS_URL.toString();
|
|
17551
|
-
};
|
|
17552
|
-
goog.math.Coordinate = function(opt_x, opt_y) {
|
|
17553
|
-
this.x = opt_x !== void 0 ? opt_x : 0;
|
|
17554
|
-
this.y = opt_y !== void 0 ? opt_y : 0;
|
|
17555
|
-
};
|
|
17556
|
-
goog.math.Coordinate.prototype.clone = function() {
|
|
17557
|
-
return new goog.math.Coordinate(this.x, this.y);
|
|
17558
|
-
};
|
|
17559
|
-
goog.DEBUG && (goog.math.Coordinate.prototype.toString = function() {
|
|
17560
|
-
return "(" + this.x + ", " + this.y + ")";
|
|
17561
|
-
});
|
|
17562
|
-
goog.math.Coordinate.prototype.equals = function(other) {
|
|
17563
|
-
return other instanceof goog.math.Coordinate && goog.math.Coordinate.equals(this, other);
|
|
17564
|
-
};
|
|
17565
|
-
goog.math.Coordinate.equals = function(a, b) {
|
|
17566
|
-
return a == b ? !0 : a && b ? a.x == b.x && a.y == b.y : !1;
|
|
17567
|
-
};
|
|
17568
|
-
goog.math.Coordinate.distance = function(a, b) {
|
|
17569
|
-
var dx = a.x - b.x, dy = a.y - b.y;
|
|
17570
|
-
return Math.sqrt(dx * dx + dy * dy);
|
|
17571
|
-
};
|
|
17572
|
-
goog.math.Coordinate.magnitude = function(a) {
|
|
17573
|
-
return Math.sqrt(a.x * a.x + a.y * a.y);
|
|
17574
|
-
};
|
|
17575
|
-
goog.math.Coordinate.azimuth = function(a) {
|
|
17576
|
-
return goog.math.angle(0, 0, a.x, a.y);
|
|
17577
|
-
};
|
|
17578
|
-
goog.math.Coordinate.squaredDistance = function(a, b) {
|
|
17579
|
-
var dx = a.x - b.x, dy = a.y - b.y;
|
|
17580
|
-
return dx * dx + dy * dy;
|
|
17581
|
-
};
|
|
17582
|
-
goog.math.Coordinate.difference = function(a, b) {
|
|
17583
|
-
return new goog.math.Coordinate(a.x - b.x, a.y - b.y);
|
|
17584
|
-
};
|
|
17585
|
-
goog.math.Coordinate.sum = function(a, b) {
|
|
17586
|
-
return new goog.math.Coordinate(a.x + b.x, a.y + b.y);
|
|
17587
|
-
};
|
|
17588
|
-
goog.math.Coordinate.prototype.ceil = function() {
|
|
17589
|
-
this.x = Math.ceil(this.x);
|
|
17590
|
-
this.y = Math.ceil(this.y);
|
|
17591
|
-
return this;
|
|
17592
|
-
};
|
|
17593
|
-
goog.math.Coordinate.prototype.floor = function() {
|
|
17594
|
-
this.x = Math.floor(this.x);
|
|
17595
|
-
this.y = Math.floor(this.y);
|
|
17596
|
-
return this;
|
|
17597
|
-
};
|
|
17598
|
-
goog.math.Coordinate.prototype.round = function() {
|
|
17599
|
-
this.x = Math.round(this.x);
|
|
17600
|
-
this.y = Math.round(this.y);
|
|
17601
|
-
return this;
|
|
17602
|
-
};
|
|
17603
|
-
goog.math.Coordinate.prototype.translate = function(tx, opt_ty) {
|
|
17604
|
-
tx instanceof goog.math.Coordinate ? (this.x += tx.x, this.y += tx.y) : (this.x += Number(tx), typeof opt_ty === "number" && (this.y += opt_ty));
|
|
17605
|
-
return this;
|
|
17606
|
-
};
|
|
17607
|
-
goog.math.Coordinate.prototype.scale = function(sx, opt_sy) {
|
|
17608
|
-
var sy;
|
|
17609
|
-
this.x *= sx;
|
|
17610
|
-
this.y *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
17611
|
-
return this;
|
|
17612
|
-
};
|
|
17613
|
-
goog.math.Coordinate.prototype.rotateRadians = function(radians, opt_center) {
|
|
17614
|
-
var center = opt_center || new goog.math.Coordinate(0, 0), x = this.x, y = this.y, cos = Math.cos(radians), sin = Math.sin(radians);
|
|
17615
|
-
this.x = (x - center.x) * cos - (y - center.y) * sin + center.x;
|
|
17616
|
-
this.y = (x - center.x) * sin + (y - center.y) * cos + center.y;
|
|
17617
|
-
};
|
|
17618
|
-
goog.math.Coordinate.prototype.rotateDegrees = function(degrees, opt_center) {
|
|
17619
|
-
this.rotateRadians(goog.math.toRadians(degrees), opt_center);
|
|
17620
|
-
};
|
|
17621
|
-
goog.math.Size = function(width, height) {
|
|
17622
|
-
this.width = width;
|
|
17623
|
-
this.height = height;
|
|
17624
|
-
};
|
|
17625
|
-
goog.math.Size.equals = function(a, b) {
|
|
17626
|
-
return a == b ? !0 : a && b ? a.width == b.width && a.height == b.height : !1;
|
|
17627
|
-
};
|
|
17628
|
-
goog.math.Size.prototype.clone = function() {
|
|
17629
|
-
return new goog.math.Size(this.width, this.height);
|
|
17630
|
-
};
|
|
17631
|
-
goog.DEBUG && (goog.math.Size.prototype.toString = function() {
|
|
17632
|
-
return "(" + this.width + " x " + this.height + ")";
|
|
17633
|
-
});
|
|
17634
|
-
goog.math.Size.prototype.getLongest = function() {
|
|
17635
|
-
return Math.max(this.width, this.height);
|
|
17636
|
-
};
|
|
17637
|
-
goog.math.Size.prototype.getShortest = function() {
|
|
17638
|
-
return Math.min(this.width, this.height);
|
|
17639
|
-
};
|
|
17640
|
-
goog.math.Size.prototype.area = function() {
|
|
17641
|
-
return this.width * this.height;
|
|
17642
|
-
};
|
|
17643
|
-
goog.math.Size.prototype.perimeter = function() {
|
|
17644
|
-
return (this.width + this.height) * 2;
|
|
17645
|
-
};
|
|
17646
|
-
goog.math.Size.prototype.aspectRatio = function() {
|
|
17647
|
-
return this.width / this.height;
|
|
17648
|
-
};
|
|
17649
|
-
goog.math.Size.prototype.isEmpty = function() {
|
|
17650
|
-
return !this.area();
|
|
17651
|
-
};
|
|
17652
|
-
goog.math.Size.prototype.ceil = function() {
|
|
17653
|
-
this.width = Math.ceil(this.width);
|
|
17654
|
-
this.height = Math.ceil(this.height);
|
|
17655
|
-
return this;
|
|
17656
|
-
};
|
|
17657
|
-
goog.math.Size.prototype.fitsInside = function(target) {
|
|
17658
|
-
return this.width <= target.width && this.height <= target.height;
|
|
17659
|
-
};
|
|
17660
|
-
goog.math.Size.prototype.floor = function() {
|
|
17661
|
-
this.width = Math.floor(this.width);
|
|
17662
|
-
this.height = Math.floor(this.height);
|
|
17663
|
-
return this;
|
|
17664
|
-
};
|
|
17665
|
-
goog.math.Size.prototype.round = function() {
|
|
17666
|
-
this.width = Math.round(this.width);
|
|
17667
|
-
this.height = Math.round(this.height);
|
|
17668
|
-
return this;
|
|
17669
|
-
};
|
|
17670
|
-
goog.math.Size.prototype.scale = function(sx, opt_sy) {
|
|
17671
|
-
var sy;
|
|
17672
|
-
this.width *= sx;
|
|
17673
|
-
this.height *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
17674
|
-
return this;
|
|
17675
|
-
};
|
|
17676
|
-
goog.math.Size.prototype.scaleToCover = function(target) {
|
|
17677
|
-
var s = this.aspectRatio() <= target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
17678
|
-
return this.scale(s);
|
|
17679
|
-
};
|
|
17680
|
-
goog.math.Size.prototype.scaleToFit = function(target) {
|
|
17681
|
-
var s = this.aspectRatio() > target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
17682
|
-
return this.scale(s);
|
|
17683
|
-
};
|
|
17684
17595
|
goog.dom.Appendable = {};
|
|
17685
17596
|
goog.dom.ASSUME_QUIRKS_MODE = !1;
|
|
17686
17597
|
goog.dom.ASSUME_STANDARDS_MODE = !1;
|
|
@@ -17891,7 +17802,7 @@ goog.dom.safeHtmlToNode = function(html) {
|
|
|
17891
17802
|
};
|
|
17892
17803
|
goog.dom.safeHtmlToNode_ = function(doc, html) {
|
|
17893
17804
|
var tempDiv = goog.dom.createElement_(doc, goog.dom.TagName.DIV);
|
|
17894
|
-
|
|
17805
|
+
module$exports$safevalues$dom$index.setElementInnerHtml(tempDiv, html);
|
|
17895
17806
|
return goog.dom.childrenToNode_(doc, tempDiv);
|
|
17896
17807
|
};
|
|
17897
17808
|
goog.dom.childrenToNode_ = function(doc, tempDiv) {
|
|
@@ -18775,7 +18686,7 @@ goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
|
18775
18686
|
var properties = options.attributes || {};
|
|
18776
18687
|
module$contents$goog$object_extend(properties, {type:"text/javascript", charset:"UTF-8"});
|
|
18777
18688
|
goog.dom.setProperties(script, properties);
|
|
18778
|
-
module$exports$safevalues$dom$
|
|
18689
|
+
module$exports$safevalues$dom$index.setScriptSrc(script, trustedUri);
|
|
18779
18690
|
goog.net.jsloader.getScriptParentElement_(doc).appendChild(script);
|
|
18780
18691
|
return deferred;
|
|
18781
18692
|
};
|
|
@@ -19445,7 +19356,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19445
19356
|
ee.apiclient = {};
|
|
19446
19357
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19447
19358
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19448
|
-
ee.apiclient.API_CLIENT_VERSION = "1.1.
|
|
19359
|
+
ee.apiclient.API_CLIENT_VERSION = "1.1.4";
|
|
19449
19360
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19450
19361
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19451
19362
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19743,8 +19654,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19743
19654
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19744
19655
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19745
19656
|
method = method || "POST";
|
|
19746
|
-
var headers = {"Content-Type":contentType}, version = "1.1.
|
|
19747
|
-
version === "1.1.
|
|
19657
|
+
var headers = {"Content-Type":contentType}, version = "1.1.4";
|
|
19658
|
+
version === "1.1.4" && (version = "latest");
|
|
19748
19659
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19749
19660
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19750
19661
|
if (authToken != null) {
|
|
@@ -19816,19 +19727,14 @@ module$contents$ee$apiclient_apiclient.handleResponse_ = function(status, getRes
|
|
|
19816
19727
|
var response = JSON.parse(body);
|
|
19817
19728
|
return !(goog.isObject(response) && "error" in response && "message" in response.error) || detectPartialError && detectPartialError(response) ? {parsed:response} : response.error.message;
|
|
19818
19729
|
} catch (e) {
|
|
19819
|
-
return "Invalid JSON: " + body;
|
|
19730
|
+
return body === "" ? "" : "Invalid JSON: " + body;
|
|
19820
19731
|
}
|
|
19821
19732
|
}, statusError = function(status) {
|
|
19822
|
-
|
|
19823
|
-
return "Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";
|
|
19824
|
-
}
|
|
19825
|
-
if (status < 200 || status >= 300) {
|
|
19826
|
-
return "Server returned HTTP code: " + status + " for " + method + " " + url;
|
|
19827
|
-
}
|
|
19733
|
+
return status === 0 ? "Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings." : status < 200 || status >= 300 ? "Server returned HTTP code: " + status + " for " + method + " " + url : "";
|
|
19828
19734
|
}, errorMessage, data, typeHeader = getResponseHeader("Content-Type") || "application/json", contentType = typeHeader.replace(/;.*/, "");
|
|
19829
19735
|
if (contentType === "application/json" || contentType === "text/json") {
|
|
19830
19736
|
var response = parseJson(responseText);
|
|
19831
|
-
response.parsed ? data = response.parsed : errorMessage = response;
|
|
19737
|
+
response.parsed ? data = response.parsed : errorMessage = response || statusError(status) || "Response was too large to parse. Hint: Use limit() to fetch less elements of a collection.";
|
|
19832
19738
|
} else if (contentType === "multipart/mixed") {
|
|
19833
19739
|
data = {};
|
|
19834
19740
|
var errors = [];
|
|
@@ -27273,29 +27179,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27273
27179
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27274
27180
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27275
27181
|
(function() {
|
|
27276
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.
|
|
27277
|
-
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "
|
|
27278
|
-
"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27279
|
-
"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(" "),
|
|
27182
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call 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.batch.Export.table.toBigQuery ee.Collection.prototype.filter ee.Collection.prototype.filterMetadata ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.data.makeThumbUrl ee.data.listAssets ee.data.authenticateViaOauth ee.data.setAssetProperties ee.data.getMapId ee.data.copyAsset ee.data.getTaskList ee.data.authenticate ee.data.getAssetRootQuota ee.data.getTableDownloadId ee.data.listBuckets ee.data.deleteAsset ee.data.getTileUrl ee.data.renameAsset ee.data.makeTableDownloadUrl ee.data.startTableIngestion ee.data.getTaskListWithLimit ee.data.getWorkloadTag ee.data.listOperations ee.data.getAssetAcl ee.data.listImages ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.cancelOperation ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.getAssetRoots ee.data.listFeatures ee.data.getAsset ee.data.setWorkloadTag ee.data.createAssetHome ee.data.createAsset ee.data.setDefaultWorkloadTag ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.getInfo ee.data.newTaskId ee.data.computeValue ee.data.getThumbId ee.data.updateAsset ee.data.cancelTask ee.data.getVideoThumbId ee.data.getList ee.data.createFolder ee.data.getTaskStatus ee.data.startIngestion ee.data.updateTask ee.data.setAssetAcl ee.data.getFilmstripThumbId ee.data.startProcessing ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.Filter.date ee.Filter.bounds ee.Filter ee.Filter.and ee.Filter.inList ee.Filter.gt ee.Filter.lt ee.Filter.prototype.not ee.Filter.neq ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter.eq ee.Filter.metadata ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiLineString ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.serialize ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.MultiPolygon ee.Image.prototype.getThumbURL ee.Image.rgb ee.Image.prototype.clip ee.Image ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.prototype.select ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.prototype.rename ee.Image.prototype.expression ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27183
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "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(" "),
|
|
27280
27184
|
"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(" "),
|
|
27281
|
-
["
|
|
27282
|
-
"
|
|
27283
|
-
|
|
27284
|
-
|
|
27285
|
-
["
|
|
27286
|
-
"opt_callback"], ["
|
|
27287
|
-
"
|
|
27288
|
-
"
|
|
27289
|
-
"
|
|
27290
|
-
[
|
|
27291
|
-
|
|
27292
|
-
ee.
|
|
27293
|
-
ee.
|
|
27294
|
-
ee.
|
|
27295
|
-
ee.
|
|
27296
|
-
ee.
|
|
27297
|
-
ee.
|
|
27298
|
-
ee.
|
|
27185
|
+
["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(" "),
|
|
27186
|
+
"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(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), ["filter"], ["name", "operator",
|
|
27187
|
+
"value"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["geometry"], ["start", "opt_end"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["callback"], ["opt_callback"], ["legacy"], ["func", "var_args"], ["id"], ["parent", "opt_params", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId",
|
|
27188
|
+
"opt_overwrite", "opt_callback"], ["opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["rootId", "opt_callback"], ["params", "opt_callback"], ["project", "opt_callback"], ["assetId", "opt_callback"], ["id", "x", "y", "z"], ["sourceId", "destinationId", "opt_callback"], ["id"], ["taskId", "request", "opt_callback"], ["opt_limit", "opt_callback"], [], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["parent", "opt_params", "opt_callback"],
|
|
27189
|
+
["params", "opt_callback"], ["id"], ["operationName", "opt_callback"], ["opt_success", "opt_error"], ["params", "opt_callback"], ["opt_callback"], ["asset", "params", "opt_callback"], ["id", "opt_callback"], ["tag"], ["requestedId", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["tag"], ["opt_resetDefault"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"], ["id", "opt_callback"],
|
|
27190
|
+
["opt_count", "opt_callback"], ["obj", "opt_callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "action", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["date", "opt_tz"], ["json"],
|
|
27191
|
+
["json"], ["json"], ["json"], ["opt_dict"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], [], ["func", "namedArgs"], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties",
|
|
27192
|
+
"opt_retainGeometry"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["start", "opt_end"], ["geometry", "opt_errorMargin"], ["opt_filter"], ["var_args"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["name", "value"], [], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], ["var_args"], ["namedArgs"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords",
|
|
27193
|
+
"opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], [], ["legacy"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["params", "opt_callback"], ["r", "g", "b"],
|
|
27194
|
+
["geometry"], ["opt_args"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["expression", "opt_map"], [], ["opt_callback"], ["selectors", "opt_names"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["args"], ["params", "opt_callback"], ["opt_visParams",
|
|
27195
|
+
"opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27196
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, 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, module$contents$ee$batch_Export.table.toCloudStorage,
|
|
27197
|
+
module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, ee.Collection.prototype.filter, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterDate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.ComputedObject.prototype.evaluate,
|
|
27198
|
+
ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.data.makeThumbUrl, ee.data.listAssets, ee.data.authenticateViaOauth, ee.data.setAssetProperties, ee.data.getMapId, ee.data.copyAsset, ee.data.getTaskList, ee.data.authenticate, ee.data.getAssetRootQuota, ee.data.getTableDownloadId, ee.data.listBuckets, ee.data.deleteAsset, ee.data.getTileUrl, ee.data.renameAsset, ee.data.makeTableDownloadUrl, ee.data.startTableIngestion, ee.data.getTaskListWithLimit,
|
|
27199
|
+
ee.data.getWorkloadTag, ee.data.listOperations, ee.data.getAssetAcl, ee.data.listImages, ee.data.getDownloadId, ee.data.makeDownloadUrl, ee.data.cancelOperation, ee.data.authenticateViaPopup, ee.data.getFeatureViewTilesKey, ee.data.getAssetRoots, ee.data.listFeatures, ee.data.getAsset, ee.data.setWorkloadTag, ee.data.createAssetHome, ee.data.createAsset, ee.data.setDefaultWorkloadTag, ee.data.resetWorkloadTag, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.getInfo, ee.data.newTaskId,
|
|
27200
|
+
ee.data.computeValue, ee.data.getThumbId, ee.data.updateAsset, ee.data.cancelTask, ee.data.getVideoThumbId, ee.data.getList, ee.data.createFolder, ee.data.getTaskStatus, ee.data.startIngestion, ee.data.updateTask, ee.data.setAssetAcl, ee.data.getFilmstripThumbId, ee.data.startProcessing, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.TILE_SIZE, ee.initialize, ee.call, ee.reset, ee.Algorithms, ee.InitState,
|
|
27201
|
+
ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.Filter.date, ee.Filter.bounds, ee.Filter, ee.Filter.and, ee.Filter.inList, ee.Filter.gt, ee.Filter.lt, ee.Filter.prototype.not,
|
|
27202
|
+
ee.Filter.neq, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter.eq, ee.Filter.metadata, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSON, ee.Geometry.MultiLineString, ee.Geometry.BBox, ee.Geometry.MultiPoint, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.prototype.serialize, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.MultiPolygon, ee.Image.prototype.getThumbURL,
|
|
27203
|
+
ee.Image.rgb, ee.Image.prototype.clip, ee.Image, ee.Image.cat, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image.prototype.select, ee.Image.prototype.getMap, ee.Image.prototype.getThumbId, ee.Image.prototype.rename, ee.Image.prototype.expression, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.linkCollection,
|
|
27204
|
+
ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27299
27205
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27300
27206
|
});
|
|
27301
27207
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|