@google/earthengine 1.4.6 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/build/browser.js +397 -336
- package/build/ee_api_js.js +34 -34
- package/build/ee_api_js_debug.js +376 -315
- package/build/ee_api_js_npm.js +397 -336
- package/build/main.js +397 -336
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/batch.js +26 -28
- package/src/data.js +0 -7
- package/src/ee.js +0 -2
package/build/main.js
CHANGED
|
@@ -13,6 +13,7 @@ $jscomp.arrayIterator = function(array) {
|
|
|
13
13
|
};
|
|
14
14
|
$jscomp.ASSUME_ES5 = !1;
|
|
15
15
|
$jscomp.ASSUME_ES6 = !1;
|
|
16
|
+
$jscomp.ASSUME_ES2020 = !1;
|
|
16
17
|
$jscomp.ASSUME_NO_NATIVE_MAP = !1;
|
|
17
18
|
$jscomp.ASSUME_NO_NATIVE_SET = !1;
|
|
18
19
|
$jscomp.ISOLATE_POLYFILLS = !1;
|
|
@@ -37,7 +38,7 @@ $jscomp.getGlobal = function(passedInThis) {
|
|
|
37
38
|
throw Error("Cannot find global object");
|
|
38
39
|
}();
|
|
39
40
|
};
|
|
40
|
-
$jscomp.global = $jscomp.getGlobal(this);
|
|
41
|
+
$jscomp.global = $jscomp.ASSUME_ES2020 ? globalThis : $jscomp.getGlobal(this);
|
|
41
42
|
$jscomp.IS_SYMBOL_NATIVE = typeof Symbol === "function" && typeof Symbol("x") === "symbol";
|
|
42
43
|
$jscomp.TRUST_ES6_POLYFILLS = !$jscomp.ISOLATE_POLYFILLS || $jscomp.IS_SYMBOL_NATIVE;
|
|
43
44
|
$jscomp.polyfills = {};
|
|
@@ -469,6 +470,9 @@ $jscomp.getRestArguments = function() {
|
|
|
469
470
|
}
|
|
470
471
|
return restArgs;
|
|
471
472
|
};
|
|
473
|
+
$jscomp.polyfill("globalThis", function(orig) {
|
|
474
|
+
return orig || $jscomp.global;
|
|
475
|
+
}, "es_2020", "es3");
|
|
472
476
|
$jscomp.polyfill("Reflect", function(orig) {
|
|
473
477
|
return orig ? orig : {};
|
|
474
478
|
}, "es6", "es3");
|
|
@@ -770,9 +774,6 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
|
|
|
770
774
|
});
|
|
771
775
|
};
|
|
772
776
|
}, "es6", "es3");
|
|
773
|
-
$jscomp.polyfill("globalThis", function(orig) {
|
|
774
|
-
return orig || $jscomp.global;
|
|
775
|
-
}, "es_2020", "es3");
|
|
776
777
|
$jscomp.checkEs6ConformanceViaProxy = function() {
|
|
777
778
|
try {
|
|
778
779
|
var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
|
|
@@ -2187,9 +2188,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2187
2188
|
};
|
|
2188
2189
|
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;
|
|
2189
2190
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2190
|
-
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$
|
|
2191
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2192
|
-
var key = $jscomp$key$
|
|
2191
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
2192
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2193
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2193
2194
|
if (value != null) {
|
|
2194
2195
|
var copy = void 0;
|
|
2195
2196
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2200,11 +2201,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2200
2201
|
} else if (objects.hasOwnProperty(key)) {
|
|
2201
2202
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2202
2203
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2203
|
-
$jscomp$loop$
|
|
2204
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2204
2205
|
return function(v) {
|
|
2205
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2206
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2206
2207
|
};
|
|
2207
|
-
}($jscomp$loop$
|
|
2208
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2208
2209
|
} else if (Array.isArray(value)) {
|
|
2209
2210
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2210
2211
|
continue;
|
|
@@ -2219,8 +2220,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2219
2220
|
return target;
|
|
2220
2221
|
}
|
|
2221
2222
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2222
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2223
|
-
var mapKey = $jscomp$key$
|
|
2223
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m192531680$41$mapKey.done; $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next()) {
|
|
2224
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2224
2225
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2225
2226
|
}
|
|
2226
2227
|
return objMap;
|
|
@@ -2250,39 +2251,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2250
2251
|
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))) {
|
|
2251
2252
|
return !1;
|
|
2252
2253
|
}
|
|
2253
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2254
|
-
var key = $jscomp$key$
|
|
2254
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m192531680$42$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$45 = {}; !$jscomp$key$m192531680$42$key.done; $jscomp$loop$m192531680$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m192531680$42$key = $jscomp$iter$21.next()) {
|
|
2255
|
+
var key = $jscomp$key$m192531680$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2255
2256
|
if (has1 !== has2) {
|
|
2256
2257
|
return !1;
|
|
2257
2258
|
}
|
|
2258
2259
|
if (has1) {
|
|
2259
2260
|
var value1 = serializable1.Serializable$get(key);
|
|
2260
|
-
$jscomp$loop$
|
|
2261
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2261
2262
|
if (arrays1.hasOwnProperty(key)) {
|
|
2262
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2263
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2263
2264
|
return !1;
|
|
2264
2265
|
}
|
|
2265
2266
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2266
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2267
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2267
2268
|
return !1;
|
|
2268
2269
|
}
|
|
2269
2270
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2270
|
-
if ($jscomp$loop$
|
|
2271
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2271
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2272
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2272
2273
|
return function(v1, i) {
|
|
2273
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2274
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2274
2275
|
};
|
|
2275
|
-
}($jscomp$loop$
|
|
2276
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2276
2277
|
return !1;
|
|
2277
2278
|
}
|
|
2278
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2279
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2279
2280
|
return !1;
|
|
2280
2281
|
}
|
|
2281
2282
|
} else if (Array.isArray(value1)) {
|
|
2282
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2283
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2283
2284
|
return !1;
|
|
2284
2285
|
}
|
|
2285
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2286
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2286
2287
|
return !1;
|
|
2287
2288
|
}
|
|
2288
2289
|
}
|
|
@@ -2304,8 +2305,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2304
2305
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2305
2306
|
return !1;
|
|
2306
2307
|
}
|
|
2307
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2308
|
-
var mapKey = $jscomp$key$
|
|
2308
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m192531680$43$mapKey.done; $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next()) {
|
|
2309
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2309
2310
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2310
2311
|
return !1;
|
|
2311
2312
|
}
|
|
@@ -2386,15 +2387,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2386
2387
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2387
2388
|
};
|
|
2388
2389
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2389
|
-
var $jscomp$this$
|
|
2390
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2390
2391
|
payload += this._metadataPayload;
|
|
2391
2392
|
return Promise.all(this.files.map(function(f) {
|
|
2392
|
-
return $jscomp$this$
|
|
2393
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2393
2394
|
})).then(function(filePayloads) {
|
|
2394
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2395
|
-
payload += $jscomp$key$
|
|
2395
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m667091202$9$filePayload.done; $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next()) {
|
|
2396
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2396
2397
|
}
|
|
2397
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2398
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2398
2399
|
});
|
|
2399
2400
|
};
|
|
2400
2401
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2906,8 +2907,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2906
2907
|
throw Error(message);
|
|
2907
2908
|
}
|
|
2908
2909
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2909
|
-
var $jscomp$templatelit$
|
|
2910
|
-
["\\0"]), $jscomp$templatelit$
|
|
2910
|
+
var $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2911
|
+
["\\0"]), $jscomp$templatelit$1274514361$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
2911
2912
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2912
2913
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2913
2914
|
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 ##############################");
|
|
@@ -2921,14 +2922,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2921
2922
|
return fn.toString().indexOf("`") === -1;
|
|
2922
2923
|
}
|
|
2923
2924
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2924
|
-
return tag($jscomp$templatelit$
|
|
2925
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2925
2926
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2926
|
-
return tag($jscomp$templatelit$
|
|
2927
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2927
2928
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2928
|
-
return tag($jscomp$templatelit$
|
|
2929
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2929
2930
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2930
|
-
return tag($jscomp$templatelit$
|
|
2931
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2931
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2932
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$12);
|
|
2932
2933
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2933
2934
|
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)) ?
|
|
2934
2935
|
!0 : !1;
|
|
@@ -3171,32 +3172,33 @@ function module$contents$safevalues$dom$elements$button_setButtonFormaction(butt
|
|
|
3171
3172
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3172
3173
|
sanitizedUrl !== void 0 && (button.formAction = sanitizedUrl);
|
|
3173
3174
|
}
|
|
3174
|
-
;var module$
|
|
3175
|
-
module$
|
|
3176
|
-
|
|
3177
|
-
this.privateDoNotAccessOrElseWrappedAttributePrefix = value;
|
|
3178
|
-
};
|
|
3179
|
-
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix.prototype.toString = function() {
|
|
3180
|
-
return this.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
3181
|
-
};
|
|
3182
|
-
var module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
3183
|
-
function module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(value) {
|
|
3184
|
-
return new module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3175
|
+
;var module$contents$safevalues$dom$elements$embed_module = module$contents$safevalues$dom$elements$embed_module || {id:"third_party/javascript/safevalues/dom/elements/embed.closure.js"};
|
|
3176
|
+
function module$contents$safevalues$dom$elements$embed_setEmbedSrc(embedEl, url) {
|
|
3177
|
+
embedEl.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
3185
3178
|
}
|
|
3186
|
-
module$exports$safevalues$
|
|
3187
|
-
function module$contents$safevalues$
|
|
3188
|
-
|
|
3179
|
+
;var module$exports$safevalues$dom$elements$form = {}, module$contents$safevalues$dom$elements$form_module = module$contents$safevalues$dom$elements$form_module || {id:"third_party/javascript/safevalues/dom/elements/form.closure.js"};
|
|
3180
|
+
function module$contents$safevalues$dom$elements$form_setFormAction(form, url) {
|
|
3181
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3182
|
+
sanitizedUrl !== void 0 && (form.action = sanitizedUrl);
|
|
3189
3183
|
}
|
|
3190
|
-
module$exports$safevalues$
|
|
3191
|
-
function module$contents$safevalues$
|
|
3192
|
-
|
|
3193
|
-
return value.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
3194
|
-
}
|
|
3195
|
-
var message = "";
|
|
3196
|
-
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix, got '" + value + "' of type '" + typeof value + "'");
|
|
3197
|
-
throw Error(message);
|
|
3184
|
+
module$exports$safevalues$dom$elements$form.setFormAction = module$contents$safevalues$dom$elements$form_setFormAction;
|
|
3185
|
+
function module$contents$safevalues$dom$elements$form_setFormActionLite(form, url) {
|
|
3186
|
+
module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) || (form.action = url);
|
|
3198
3187
|
}
|
|
3199
|
-
module$exports$safevalues$
|
|
3188
|
+
module$exports$safevalues$dom$elements$form.setFormActionLite = module$contents$safevalues$dom$elements$form_setFormActionLite;
|
|
3189
|
+
var module$exports$check = {}, module$contents$check_module = module$contents$check_module || {id:"javascript/typescript/contrib/check.closure.js"};
|
|
3190
|
+
function module$contents$check_checkExhaustive(value, msg) {
|
|
3191
|
+
return module$contents$check_checkExhaustiveAllowing(value, msg);
|
|
3192
|
+
}
|
|
3193
|
+
module$exports$check.checkExhaustive = module$contents$check_checkExhaustive;
|
|
3194
|
+
function module$contents$check_checkExhaustiveAllowing(value, msg) {
|
|
3195
|
+
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
3196
|
+
}
|
|
3197
|
+
module$exports$check.checkExhaustiveAllowing = module$contents$check_checkExhaustiveAllowing;
|
|
3198
|
+
module$exports$check.assumeExhaustive = function(value) {
|
|
3199
|
+
};
|
|
3200
|
+
module$exports$check.assumeExhaustiveAllowing = function(value) {
|
|
3201
|
+
};
|
|
3200
3202
|
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
|
|
3201
3203
|
module$exports$safevalues$internals$html_impl.SafeHtml = function(token, value) {
|
|
3202
3204
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
@@ -3228,84 +3230,6 @@ module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
|
|
|
3228
3230
|
goog.DEBUG && (message = "Unexpected type when unwrapping SafeHtml");
|
|
3229
3231
|
throw Error(message);
|
|
3230
3232
|
};
|
|
3231
|
-
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;
|
|
3232
|
-
function module$contents$safevalues$dom$elements$element_setElementInnerHtml(elOrRoot, v) {
|
|
3233
|
-
module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
|
|
3234
|
-
elOrRoot.innerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3235
|
-
}
|
|
3236
|
-
module$exports$safevalues$dom$elements$element.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
3237
|
-
function module$contents$safevalues$dom$elements$element_setElementOuterHtml(e, v) {
|
|
3238
|
-
var parent = e.parentElement;
|
|
3239
|
-
parent !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(parent);
|
|
3240
|
-
e.outerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3241
|
-
}
|
|
3242
|
-
module$exports$safevalues$dom$elements$element.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
3243
|
-
function module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml(element, position, v) {
|
|
3244
|
-
var tagContext = position === "beforebegin" || position === "afterend" ? element.parentElement : element;
|
|
3245
|
-
tagContext !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(tagContext);
|
|
3246
|
-
element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
|
|
3247
|
-
}
|
|
3248
|
-
module$exports$safevalues$dom$elements$element.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
3249
|
-
function module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter(prefix) {
|
|
3250
|
-
var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
|
|
3251
|
-
return function(e, attr, value) {
|
|
3252
|
-
module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute(prefixes, e, attr, value);
|
|
3253
|
-
};
|
|
3254
|
-
}
|
|
3255
|
-
module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
3256
|
-
function module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute(attrPrefixes, e, attr, value) {
|
|
3257
|
-
if (attrPrefixes.length === 0) {
|
|
3258
|
-
var message = "";
|
|
3259
|
-
goog.DEBUG && (message = "No prefixes are provided");
|
|
3260
|
-
throw Error(message);
|
|
3261
|
-
}
|
|
3262
|
-
var prefixes = attrPrefixes.map(function(s) {
|
|
3263
|
-
return module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(s);
|
|
3264
|
-
}), attrLower = attr.toLowerCase();
|
|
3265
|
-
if (prefixes.every(function(p) {
|
|
3266
|
-
return attrLower.indexOf(p) !== 0;
|
|
3267
|
-
})) {
|
|
3268
|
-
throw Error('Attribute "' + attr + '" does not match any of the allowed prefixes.');
|
|
3269
|
-
}
|
|
3270
|
-
e.setAttribute(attr, value);
|
|
3271
|
-
}
|
|
3272
|
-
module$exports$safevalues$dom$elements$element.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
3273
|
-
function module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(element) {
|
|
3274
|
-
var message = "", tagName = element.tagName;
|
|
3275
|
-
if (/^(script|style)$/i.test(tagName)) {
|
|
3276
|
-
throw goog.DEBUG && (message = tagName.toLowerCase() === "script" ? "Use setScriptTextContent with a SafeScript." : "Use setStyleTextContent with a SafeStyleSheet."), Error(message);
|
|
3277
|
-
}
|
|
3278
|
-
}
|
|
3279
|
-
function module$contents$safevalues$dom$elements$element_isElement(elOrRoot) {
|
|
3280
|
-
return elOrRoot.nodeType === 1;
|
|
3281
|
-
}
|
|
3282
|
-
;var module$contents$safevalues$dom$elements$embed_module = module$contents$safevalues$dom$elements$embed_module || {id:"third_party/javascript/safevalues/dom/elements/embed.closure.js"};
|
|
3283
|
-
function module$contents$safevalues$dom$elements$embed_setEmbedSrc(embedEl, url) {
|
|
3284
|
-
embedEl.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
3285
|
-
}
|
|
3286
|
-
;var module$exports$safevalues$dom$elements$form = {}, module$contents$safevalues$dom$elements$form_module = module$contents$safevalues$dom$elements$form_module || {id:"third_party/javascript/safevalues/dom/elements/form.closure.js"};
|
|
3287
|
-
function module$contents$safevalues$dom$elements$form_setFormAction(form, url) {
|
|
3288
|
-
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3289
|
-
sanitizedUrl !== void 0 && (form.action = sanitizedUrl);
|
|
3290
|
-
}
|
|
3291
|
-
module$exports$safevalues$dom$elements$form.setFormAction = module$contents$safevalues$dom$elements$form_setFormAction;
|
|
3292
|
-
function module$contents$safevalues$dom$elements$form_setFormActionLite(form, url) {
|
|
3293
|
-
module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) || (form.action = url);
|
|
3294
|
-
}
|
|
3295
|
-
module$exports$safevalues$dom$elements$form.setFormActionLite = module$contents$safevalues$dom$elements$form_setFormActionLite;
|
|
3296
|
-
var module$exports$check = {}, module$contents$check_module = module$contents$check_module || {id:"javascript/typescript/contrib/check.closure.js"};
|
|
3297
|
-
function module$contents$check_checkExhaustive(value, msg) {
|
|
3298
|
-
return module$contents$check_checkExhaustiveAllowing(value, msg);
|
|
3299
|
-
}
|
|
3300
|
-
module$exports$check.checkExhaustive = module$contents$check_checkExhaustive;
|
|
3301
|
-
function module$contents$check_checkExhaustiveAllowing(value, msg) {
|
|
3302
|
-
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
3303
|
-
}
|
|
3304
|
-
module$exports$check.checkExhaustiveAllowing = module$contents$check_checkExhaustiveAllowing;
|
|
3305
|
-
module$exports$check.assumeExhaustive = function(value) {
|
|
3306
|
-
};
|
|
3307
|
-
module$exports$check.assumeExhaustiveAllowing = function(value) {
|
|
3308
|
-
};
|
|
3309
3233
|
var module$exports$safevalues$dom$elements$iframe = {}, module$contents$safevalues$dom$elements$iframe_module = module$contents$safevalues$dom$elements$iframe_module || {id:"third_party/javascript/safevalues/dom/elements/iframe.closure.js"};
|
|
3310
3234
|
function module$contents$safevalues$dom$elements$iframe_setIframeSrc(iframe, v) {
|
|
3311
3235
|
iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v).toString();
|
|
@@ -3327,9 +3251,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3327
3251
|
}
|
|
3328
3252
|
}
|
|
3329
3253
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3330
|
-
var $jscomp$tmp$error$
|
|
3331
|
-
this.message = $jscomp$tmp$error$
|
|
3332
|
-
"stack" in $jscomp$tmp$error$
|
|
3254
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3255
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3256
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3333
3257
|
this.type = type;
|
|
3334
3258
|
this.intent = intent;
|
|
3335
3259
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3405,25 +3329,7 @@ function module$contents$safevalues$dom$elements$input_setInputFormaction(input,
|
|
|
3405
3329
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3406
3330
|
sanitizedUrl !== void 0 && (input.formAction = sanitizedUrl);
|
|
3407
3331
|
}
|
|
3408
|
-
;var module$
|
|
3409
|
-
function module$contents$safevalues$dom$elements$link_setLinkHrefAndRel(link, url, rel) {
|
|
3410
|
-
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
3411
|
-
module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel(link, url, rel);
|
|
3412
|
-
} else {
|
|
3413
|
-
if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
|
|
3414
|
-
throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
|
|
3415
|
-
}
|
|
3416
|
-
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3417
|
-
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
3418
|
-
}
|
|
3419
|
-
}
|
|
3420
|
-
module$exports$safevalues$dom$elements$link.setLinkHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkHrefAndRel;
|
|
3421
|
-
function module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel(link, url, rel) {
|
|
3422
|
-
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
3423
|
-
link.rel = rel;
|
|
3424
|
-
}
|
|
3425
|
-
module$exports$safevalues$dom$elements$link.setLinkWithResourceUrlHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel;
|
|
3426
|
-
var module$contents$safevalues$dom$elements$object_module = module$contents$safevalues$dom$elements$object_module || {id:"third_party/javascript/safevalues/dom/elements/object.closure.js"};
|
|
3332
|
+
;var module$contents$safevalues$dom$elements$object_module = module$contents$safevalues$dom$elements$object_module || {id:"third_party/javascript/safevalues/dom/elements/object.closure.js"};
|
|
3427
3333
|
function module$contents$safevalues$dom$elements$object_setObjectData(obj, v) {
|
|
3428
3334
|
obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
3429
3335
|
}
|
|
@@ -3433,17 +3339,17 @@ function module$contents$safevalues$dom$globals$window_windowOpen(win, url, targ
|
|
|
3433
3339
|
return sanitizedUrl !== void 0 ? win.open(sanitizedUrl, target, features) : null;
|
|
3434
3340
|
}
|
|
3435
3341
|
module$exports$safevalues$dom$globals$window.windowOpen = module$contents$safevalues$dom$globals$window_windowOpen;
|
|
3436
|
-
function module$contents$safevalues$dom$globals$window_getScriptNonce(
|
|
3437
|
-
return module$contents$safevalues$dom$globals$window_getNonceFor("script",
|
|
3342
|
+
function module$contents$safevalues$dom$globals$window_getScriptNonce(doc) {
|
|
3343
|
+
return module$contents$safevalues$dom$globals$window_getNonceFor("script", doc);
|
|
3438
3344
|
}
|
|
3439
3345
|
module$exports$safevalues$dom$globals$window.getScriptNonce = module$contents$safevalues$dom$globals$window_getScriptNonce;
|
|
3440
|
-
function module$contents$safevalues$dom$globals$window_getStyleNonce(
|
|
3441
|
-
return module$contents$safevalues$dom$globals$window_getNonceFor("style",
|
|
3346
|
+
function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
3347
|
+
return module$contents$safevalues$dom$globals$window_getNonceFor("style", doc);
|
|
3442
3348
|
}
|
|
3443
3349
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3444
|
-
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName,
|
|
3445
|
-
|
|
3446
|
-
var $jscomp$optchain$
|
|
3350
|
+
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3351
|
+
doc = doc === void 0 ? document : doc;
|
|
3352
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = doc).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
3447
3353
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3448
3354
|
}
|
|
3449
3355
|
;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"};
|
|
@@ -3494,6 +3400,154 @@ function module$contents$safevalues$dom$elements$script_setScriptSrc(script, v,
|
|
|
3494
3400
|
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
3495
3401
|
}
|
|
3496
3402
|
module$exports$safevalues$dom$elements$script.setScriptSrc = module$contents$safevalues$dom$elements$script_setScriptSrc;
|
|
3403
|
+
var module$exports$safevalues$internals$attribute_impl = {}, module$contents$safevalues$internals$attribute_impl_module = module$contents$safevalues$internals$attribute_impl_module || {id:"third_party/javascript/safevalues/internals/attribute_impl.closure.js"};
|
|
3404
|
+
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function(token, value) {
|
|
3405
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3406
|
+
this.privateDoNotAccessOrElseWrappedAttributePrefix = value;
|
|
3407
|
+
};
|
|
3408
|
+
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix.prototype.toString = function() {
|
|
3409
|
+
return this.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
3410
|
+
};
|
|
3411
|
+
var module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
3412
|
+
function module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(value) {
|
|
3413
|
+
return new module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3414
|
+
}
|
|
3415
|
+
module$exports$safevalues$internals$attribute_impl.createAttributePrefixInternal = module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal;
|
|
3416
|
+
function module$contents$safevalues$internals$attribute_impl_isAttributePrefix(value) {
|
|
3417
|
+
return value instanceof module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
3418
|
+
}
|
|
3419
|
+
module$exports$safevalues$internals$attribute_impl.isAttributePrefix = module$contents$safevalues$internals$attribute_impl_isAttributePrefix;
|
|
3420
|
+
function module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(value) {
|
|
3421
|
+
if (module$contents$safevalues$internals$attribute_impl_isAttributePrefix(value)) {
|
|
3422
|
+
return value.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
3423
|
+
}
|
|
3424
|
+
var message = "";
|
|
3425
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix, got '" + value + "' of type '" + typeof value + "'");
|
|
3426
|
+
throw Error(message);
|
|
3427
|
+
}
|
|
3428
|
+
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
3429
|
+
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;
|
|
3430
|
+
function module$contents$safevalues$dom$elements$element_setElementInnerHtml(elOrRoot, v) {
|
|
3431
|
+
module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
|
|
3432
|
+
elOrRoot.innerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3433
|
+
}
|
|
3434
|
+
module$exports$safevalues$dom$elements$element.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
3435
|
+
function module$contents$safevalues$dom$elements$element_setElementOuterHtml(e, v) {
|
|
3436
|
+
var parent = e.parentElement;
|
|
3437
|
+
parent !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(parent);
|
|
3438
|
+
e.outerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3439
|
+
}
|
|
3440
|
+
module$exports$safevalues$dom$elements$element.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
3441
|
+
function module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml(element, position, v) {
|
|
3442
|
+
var tagContext = position === "beforebegin" || position === "afterend" ? element.parentElement : element;
|
|
3443
|
+
tagContext !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(tagContext);
|
|
3444
|
+
element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
|
|
3445
|
+
}
|
|
3446
|
+
module$exports$safevalues$dom$elements$element.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
3447
|
+
function module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter(prefix) {
|
|
3448
|
+
var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
|
|
3449
|
+
return function(e, attr, value) {
|
|
3450
|
+
module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute(prefixes, e, attr, value);
|
|
3451
|
+
};
|
|
3452
|
+
}
|
|
3453
|
+
module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
3454
|
+
function module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute(attrPrefixes, e, attr, value) {
|
|
3455
|
+
if (attrPrefixes.length === 0) {
|
|
3456
|
+
var message = "";
|
|
3457
|
+
goog.DEBUG && (message = "No prefixes are provided");
|
|
3458
|
+
throw Error(message);
|
|
3459
|
+
}
|
|
3460
|
+
var prefixes = attrPrefixes.map(function(s) {
|
|
3461
|
+
return module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(s);
|
|
3462
|
+
}), attrLower = attr.toLowerCase();
|
|
3463
|
+
if (prefixes.every(function(p) {
|
|
3464
|
+
return attrLower.indexOf(p) !== 0;
|
|
3465
|
+
})) {
|
|
3466
|
+
throw Error('Attribute "' + attr + '" does not match any of the allowed prefixes.');
|
|
3467
|
+
}
|
|
3468
|
+
e.setAttribute(attr, value);
|
|
3469
|
+
}
|
|
3470
|
+
module$exports$safevalues$dom$elements$element.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
3471
|
+
function module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(element) {
|
|
3472
|
+
var message = "", tagName = element.tagName;
|
|
3473
|
+
if (/^(script|style)$/i.test(tagName)) {
|
|
3474
|
+
throw goog.DEBUG && (message = tagName.toLowerCase() === "script" ? "Use setScriptTextContent with a SafeScript." : "Use setStyleTextContent with a SafeStyleSheet."), Error(message);
|
|
3475
|
+
}
|
|
3476
|
+
}
|
|
3477
|
+
function module$contents$safevalues$dom$elements$element_isElement(elOrRoot) {
|
|
3478
|
+
return elOrRoot.nodeType === 1;
|
|
3479
|
+
}
|
|
3480
|
+
function module$contents$safevalues$dom$elements$element_setElementAttribute(el, attr, value) {
|
|
3481
|
+
if (el.namespaceURI !== "http://www.w3.org/1999/xhtml") {
|
|
3482
|
+
throw Error("Cannot set attribute '" + attr + "' on '" + el.tagName + "'.Element is not in the HTML namespace");
|
|
3483
|
+
}
|
|
3484
|
+
attr = attr.toLowerCase();
|
|
3485
|
+
switch(el.tagName + " " + attr) {
|
|
3486
|
+
case "A href":
|
|
3487
|
+
module$contents$safevalues$dom$elements$anchor_setAnchorHref(el, value);
|
|
3488
|
+
break;
|
|
3489
|
+
case "AREA href":
|
|
3490
|
+
module$contents$safevalues$dom$elements$area_setAreaHref(el, value);
|
|
3491
|
+
break;
|
|
3492
|
+
case "BASE href":
|
|
3493
|
+
module$contents$safevalues$dom$elements$base_setBaseHref(el, value);
|
|
3494
|
+
break;
|
|
3495
|
+
case "BUTTON formaction":
|
|
3496
|
+
module$contents$safevalues$dom$elements$button_setButtonFormaction(el, value);
|
|
3497
|
+
break;
|
|
3498
|
+
case "EMBED src":
|
|
3499
|
+
module$contents$safevalues$dom$elements$embed_setEmbedSrc(el, value);
|
|
3500
|
+
break;
|
|
3501
|
+
case "FORM action":
|
|
3502
|
+
module$contents$safevalues$dom$elements$form_setFormAction(el, value);
|
|
3503
|
+
break;
|
|
3504
|
+
case "IFRAME src":
|
|
3505
|
+
module$contents$safevalues$dom$elements$iframe_setIframeSrc(el, value);
|
|
3506
|
+
break;
|
|
3507
|
+
case "IFRAME srcdoc":
|
|
3508
|
+
module$contents$safevalues$dom$elements$iframe_setIframeSrcdoc(el, value);
|
|
3509
|
+
break;
|
|
3510
|
+
case "IFRAME sandbox":
|
|
3511
|
+
throw Error("Can't set 'sandbox' on iframe tags. Use setIframeSrcWithIntent or setIframeSrcdocWithIntent instead");
|
|
3512
|
+
case "INPUT formaction":
|
|
3513
|
+
module$contents$safevalues$dom$elements$input_setInputFormaction(el, value);
|
|
3514
|
+
break;
|
|
3515
|
+
case "LINK href":
|
|
3516
|
+
throw Error("Can't set 'href' attribute on link tags. Use setLinkHrefAndRel instead");
|
|
3517
|
+
case "LINK rel":
|
|
3518
|
+
throw Error("Can't set 'rel' attribute on link tags. Use setLinkHrefAndRel instead");
|
|
3519
|
+
case "OBJECT data":
|
|
3520
|
+
module$contents$safevalues$dom$elements$object_setObjectData(el, value);
|
|
3521
|
+
break;
|
|
3522
|
+
case "SCRIPT src":
|
|
3523
|
+
module$contents$safevalues$dom$elements$script_setScriptSrc(el, value);
|
|
3524
|
+
break;
|
|
3525
|
+
default:
|
|
3526
|
+
if (/^on./.test(attr)) {
|
|
3527
|
+
throw Error('Attribute "' + attr + '" looks like an event handler attribute. Please use a safe alternative like addEventListener instead.');
|
|
3528
|
+
}
|
|
3529
|
+
el.setAttribute(attr, value);
|
|
3530
|
+
}
|
|
3531
|
+
}
|
|
3532
|
+
module$exports$safevalues$dom$elements$element.setElementAttribute = module$contents$safevalues$dom$elements$element_setElementAttribute;
|
|
3533
|
+
var module$exports$safevalues$dom$elements$link = {}, module$contents$safevalues$dom$elements$link_module = module$contents$safevalues$dom$elements$link_module || {id:"third_party/javascript/safevalues/dom/elements/link.closure.js"}, module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES = "alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");
|
|
3534
|
+
function module$contents$safevalues$dom$elements$link_setLinkHrefAndRel(link, url, rel) {
|
|
3535
|
+
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
3536
|
+
module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel(link, url, rel);
|
|
3537
|
+
} else {
|
|
3538
|
+
if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
|
|
3539
|
+
throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
|
|
3540
|
+
}
|
|
3541
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3542
|
+
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
3543
|
+
}
|
|
3544
|
+
}
|
|
3545
|
+
module$exports$safevalues$dom$elements$link.setLinkHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkHrefAndRel;
|
|
3546
|
+
function module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel(link, url, rel) {
|
|
3547
|
+
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
3548
|
+
link.rel = rel;
|
|
3549
|
+
}
|
|
3550
|
+
module$exports$safevalues$dom$elements$link.setLinkWithResourceUrlHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel;
|
|
3497
3551
|
var module$exports$safevalues$internals$style_sheet_impl = {}, module$contents$safevalues$internals$style_sheet_impl_module = module$contents$safevalues$internals$style_sheet_impl_module || {id:"third_party/javascript/safevalues/internals/style_sheet_impl.closure.js"};
|
|
3498
3552
|
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = function(token, value) {
|
|
3499
3553
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
@@ -4129,14 +4183,14 @@ goog.array.concatMap = function(arr, f, opt_obj) {
|
|
|
4129
4183
|
return module$contents$goog$array_concat.apply([], module$contents$goog$array_map(arr, f, opt_obj));
|
|
4130
4184
|
};
|
|
4131
4185
|
goog.debug.errorcontext = {};
|
|
4132
|
-
goog
|
|
4133
|
-
err
|
|
4134
|
-
err
|
|
4135
|
-
}
|
|
4186
|
+
function module$contents$goog$debug$errorcontext_addErrorContext(err, contextKey, contextValue) {
|
|
4187
|
+
err.__closure__error__context__984382 || (err.__closure__error__context__984382 = {});
|
|
4188
|
+
err.__closure__error__context__984382[contextKey] = contextValue;
|
|
4189
|
+
}
|
|
4190
|
+
goog.debug.errorcontext.addErrorContext = module$contents$goog$debug$errorcontext_addErrorContext;
|
|
4136
4191
|
goog.debug.errorcontext.getErrorContext = function(err) {
|
|
4137
|
-
return err
|
|
4192
|
+
return err.__closure__error__context__984382 || {};
|
|
4138
4193
|
};
|
|
4139
|
-
goog.debug.errorcontext.CONTEXT_KEY_ = "__closure__error__context__984382";
|
|
4140
4194
|
goog.debug.LOGGING_ENABLED = goog.DEBUG;
|
|
4141
4195
|
goog.debug.FORCE_SLOPPY_STACKS = !1;
|
|
4142
4196
|
goog.debug.CHECK_FOR_THROWN_EVENT = !1;
|
|
@@ -4296,7 +4350,7 @@ goog.debug.enhanceErrorWithContext = function(err, opt_context) {
|
|
|
4296
4350
|
var error = goog.debug.enhanceError(err);
|
|
4297
4351
|
if (opt_context) {
|
|
4298
4352
|
for (var key in opt_context) {
|
|
4299
|
-
goog
|
|
4353
|
+
module$contents$goog$debug$errorcontext_addErrorContext(error, key, opt_context[key]);
|
|
4300
4354
|
}
|
|
4301
4355
|
}
|
|
4302
4356
|
return error;
|
|
@@ -4733,9 +4787,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4733
4787
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4734
4788
|
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"};
|
|
4735
4789
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4736
|
-
var $jscomp$tmp$error$
|
|
4737
|
-
this.message = $jscomp$tmp$error$
|
|
4738
|
-
"stack" in $jscomp$tmp$error$
|
|
4790
|
+
var $jscomp$tmp$error$m991617773$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4791
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4792
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4739
4793
|
this.url = url;
|
|
4740
4794
|
this.typeName = typeName;
|
|
4741
4795
|
this.contentType = contentType;
|
|
@@ -4747,48 +4801,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4747
4801
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4748
4802
|
}
|
|
4749
4803
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4750
|
-
var response, $jscomp$optchain$
|
|
4751
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4752
|
-
if ($jscomp$generator$context$
|
|
4753
|
-
return $jscomp$generator$context$
|
|
4754
|
-
}
|
|
4755
|
-
response = $jscomp$generator$context$
|
|
4756
|
-
mimeType = ($jscomp$optchain$
|
|
4757
|
-
return $jscomp$generator$context$
|
|
4804
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4805
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4806
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
4807
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4808
|
+
}
|
|
4809
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
4810
|
+
mimeType = ($jscomp$optchain$tmpm991617773$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmpm991617773$1 = $jscomp$optchain$tmpm991617773$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmpm991617773$2 = $jscomp$optchain$tmpm991617773$1[0]) == null ? void 0 : $jscomp$optchain$tmpm991617773$2.toLowerCase();
|
|
4811
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4758
4812
|
var text;
|
|
4759
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4760
|
-
if ($jscomp$generator$context$
|
|
4813
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4814
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
4761
4815
|
if (mimeType !== "text/html") {
|
|
4762
4816
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4763
4817
|
}
|
|
4764
|
-
return $jscomp$generator$context$
|
|
4818
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4765
4819
|
}
|
|
4766
|
-
text = $jscomp$generator$context$
|
|
4767
|
-
return $jscomp$generator$context$
|
|
4820
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
4821
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4768
4822
|
});
|
|
4769
4823
|
}, script:function() {
|
|
4770
4824
|
var text;
|
|
4771
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4772
|
-
if ($jscomp$generator$context$
|
|
4825
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4826
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
4773
4827
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4774
4828
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4775
4829
|
}
|
|
4776
|
-
return $jscomp$generator$context$
|
|
4830
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4777
4831
|
}
|
|
4778
|
-
text = $jscomp$generator$context$
|
|
4779
|
-
return $jscomp$generator$context$
|
|
4832
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
4833
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4780
4834
|
});
|
|
4781
4835
|
}, styleSheet:function() {
|
|
4782
4836
|
var text;
|
|
4783
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4784
|
-
if ($jscomp$generator$context$
|
|
4837
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4838
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
4785
4839
|
if (mimeType !== "text/css") {
|
|
4786
4840
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4787
4841
|
}
|
|
4788
|
-
return $jscomp$generator$context$
|
|
4842
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4789
4843
|
}
|
|
4790
|
-
text = $jscomp$generator$context$
|
|
4791
|
-
return $jscomp$generator$context$
|
|
4844
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
4845
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4792
4846
|
});
|
|
4793
4847
|
}});
|
|
4794
4848
|
});
|
|
@@ -4855,6 +4909,7 @@ module$exports$safevalues$dom$index.setBaseHref = module$contents$safevalues$dom
|
|
|
4855
4909
|
module$exports$safevalues$dom$index.setButtonFormaction = module$contents$safevalues$dom$elements$button_setButtonFormaction;
|
|
4856
4910
|
module$exports$safevalues$dom$index.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
4857
4911
|
module$exports$safevalues$dom$index.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
4912
|
+
module$exports$safevalues$dom$index.setElementAttribute = module$contents$safevalues$dom$elements$element_setElementAttribute;
|
|
4858
4913
|
module$exports$safevalues$dom$index.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
4859
4914
|
module$exports$safevalues$dom$index.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
4860
4915
|
module$exports$safevalues$dom$index.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
@@ -4904,6 +4959,7 @@ safevalues.dom.setBaseHref = module$contents$safevalues$dom$elements$base_setBas
|
|
|
4904
4959
|
safevalues.dom.setButtonFormaction = module$contents$safevalues$dom$elements$button_setButtonFormaction;
|
|
4905
4960
|
safevalues.dom.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
4906
4961
|
safevalues.dom.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
4962
|
+
safevalues.dom.setElementAttribute = module$contents$safevalues$dom$elements$element_setElementAttribute;
|
|
4907
4963
|
safevalues.dom.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
4908
4964
|
safevalues.dom.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
4909
4965
|
safevalues.dom.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
@@ -6260,8 +6316,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6260
6316
|
}
|
|
6261
6317
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6262
6318
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6263
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6264
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6319
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$1047461284$0$ = $jscomp$iter$29.next(); !$jscomp$key$1047461284$0$.done; $jscomp$key$1047461284$0$ = $jscomp$iter$29.next()) {
|
|
6320
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6265
6321
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6266
6322
|
}
|
|
6267
6323
|
return urlQueryParams;
|
|
@@ -6272,8 +6328,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6272
6328
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6273
6329
|
if (params.headers) {
|
|
6274
6330
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6275
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6276
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6331
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$1047461284$1$ = $jscomp$iter$30.next(); !$jscomp$key$1047461284$1$.done; $jscomp$key$1047461284$1$ = $jscomp$iter$30.next()) {
|
|
6332
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6277
6333
|
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);
|
|
6278
6334
|
}
|
|
6279
6335
|
}
|
|
@@ -6313,9 +6369,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6313
6369
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6314
6370
|
};
|
|
6315
6371
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6316
|
-
var $jscomp$this$
|
|
6372
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6317
6373
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6318
|
-
return $jscomp$this$
|
|
6374
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6319
6375
|
}));
|
|
6320
6376
|
};
|
|
6321
6377
|
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"};
|
|
@@ -7230,18 +7286,19 @@ goog.userAgent.DOCUMENT_MODE = function() {
|
|
|
7230
7286
|
}
|
|
7231
7287
|
}();
|
|
7232
7288
|
goog.events.eventTypeHelpers = {};
|
|
7233
|
-
goog
|
|
7289
|
+
function module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName(eventName) {
|
|
7234
7290
|
return goog.userAgent.WEBKIT ? "webkit" + eventName : eventName.toLowerCase();
|
|
7235
|
-
}
|
|
7291
|
+
}
|
|
7236
7292
|
goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEventName, fallbackEventName) {
|
|
7237
7293
|
return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName : fallbackEventName;
|
|
7238
7294
|
};
|
|
7295
|
+
goog.events.eventTypeHelpers.getVendorPrefixedName = module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName;
|
|
7239
7296
|
goog.events.EventType = {CLICK:"click", RIGHTCLICK:"rightclick", DBLCLICK:"dblclick", AUXCLICK:"auxclick", MOUSEDOWN:"mousedown", MOUSEUP:"mouseup", MOUSEOVER:"mouseover", MOUSEOUT:"mouseout", MOUSEMOVE:"mousemove", MOUSEENTER:"mouseenter", MOUSELEAVE:"mouseleave", MOUSECANCEL:"mousecancel", SELECTIONCHANGE:"selectionchange", SELECTSTART:"selectstart", WHEEL:"wheel", KEYPRESS:"keypress", KEYDOWN:"keydown", KEYUP:"keyup", BLUR:"blur", FOCUS:"focus", DEACTIVATE:"deactivate", FOCUSIN:"focusin", FOCUSOUT:"focusout",
|
|
7240
7297
|
CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange", DEVICEMOTION:"devicemotion", DEVICEORIENTATION:"deviceorientation",
|
|
7241
7298
|
DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LOSECAPTURE:"losecapture", ORIENTATIONCHANGE:"orientationchange", READYSTATECHANGE:"readystatechange", RESIZE:"resize", SCROLL:"scroll", UNLOAD:"unload", CANPLAY:"canplay", CANPLAYTHROUGH:"canplaythrough", DURATIONCHANGE:"durationchange", EMPTIED:"emptied", ENDED:"ended", LOADEDDATA:"loadeddata", LOADEDMETADATA:"loadedmetadata", PAUSE:"pause", PLAY:"play", PLAYING:"playing", PROGRESS:"progress", RATECHANGE:"ratechange",
|
|
7242
7299
|
SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut", BEFORECOPY:"beforecopy", BEFORECUT:"beforecut", BEFOREPASTE:"beforepaste",
|
|
7243
|
-
ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:goog
|
|
7244
|
-
TRANSITIONEND:goog
|
|
7300
|
+
ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationStart"), ANIMATIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationEnd"), ANIMATIONITERATION:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationIteration"),
|
|
7301
|
+
TRANSITIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture", MSGESTURECHANGE:"MSGestureChange", MSGESTUREEND:"MSGestureEnd", MSGESTUREHOLD:"MSGestureHold", MSGESTURESTART:"MSGestureStart",
|
|
7245
7302
|
MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut", MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:"textInput", COMPOSITIONSTART:"compositionstart",
|
|
7246
7303
|
COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive", SIZECHANGED:"sizechanged", UNRESPONSIVE:"unresponsive", VISIBILITYCHANGE:"visibilitychange", STORAGE:"storage", BEFOREPRINT:"beforeprint",
|
|
7247
7304
|
AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
|
|
@@ -7456,8 +7513,6 @@ module$contents$goog$events$ListenerMap_ListenerMap.findListenerIndex_ = functio
|
|
|
7456
7513
|
return -1;
|
|
7457
7514
|
};
|
|
7458
7515
|
goog.events.ListenerMap = module$contents$goog$events$ListenerMap_ListenerMap;
|
|
7459
|
-
goog.events.Key = {};
|
|
7460
|
-
goog.events.ListenableType = {};
|
|
7461
7516
|
goog.events.LISTENER_MAP_PROP_ = "closure_lm_" + (Math.random() * 1E6 | 0);
|
|
7462
7517
|
goog.events.onString_ = "on";
|
|
7463
7518
|
goog.events.onStringMap_ = {};
|
|
@@ -8178,7 +8233,6 @@ goog.math.safeCeil = function(num, opt_epsilon) {
|
|
|
8178
8233
|
return Math.ceil(num - (opt_epsilon || 2E-15));
|
|
8179
8234
|
};
|
|
8180
8235
|
goog.iter = {};
|
|
8181
|
-
goog.iter.Iterable = {};
|
|
8182
8236
|
goog.iter.Iterator = function() {
|
|
8183
8237
|
};
|
|
8184
8238
|
goog.iter.Iterator.prototype.next = function() {
|
|
@@ -15814,7 +15868,7 @@ goog.string.Const.TYPE_MARKER_ = {};
|
|
|
15814
15868
|
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
15815
15869
|
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
15816
15870
|
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"};
|
|
15817
|
-
module$exports$safevalues$builders$sensitive_attributes.SECURITY_SENSITIVE_ATTRIBUTES = "src srcdoc codebase data href rel action formaction sandbox
|
|
15871
|
+
module$exports$safevalues$builders$sensitive_attributes.SECURITY_SENSITIVE_ATTRIBUTES = "src srcdoc codebase data href rel action formaction sandbox icon".split(" ");
|
|
15818
15872
|
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"};
|
|
15819
15873
|
function module$contents$safevalues$builders$attribute_builders_safeAttrPrefix(templ) {
|
|
15820
15874
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templ, 0);
|
|
@@ -16059,8 +16113,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16059
16113
|
this.replacements = new Map();
|
|
16060
16114
|
};
|
|
16061
16115
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16062
|
-
var $jscomp$this$
|
|
16063
|
-
return $jscomp$this$
|
|
16116
|
+
var $jscomp$this$380122516$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
16117
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
16064
16118
|
});
|
|
16065
16119
|
if (openedTags.length !== 0) {
|
|
16066
16120
|
if (goog.DEBUG) {
|
|
@@ -16278,8 +16332,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16278
16332
|
if (Array.isArray(token)) {
|
|
16279
16333
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16280
16334
|
} else {
|
|
16281
|
-
var $jscomp$optchain$
|
|
16282
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16335
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
16336
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm583190311$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm583190311$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16283
16337
|
tokens.push(token);
|
|
16284
16338
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16285
16339
|
return tokens;
|
|
@@ -16525,9 +16579,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16525
16579
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16526
16580
|
};
|
|
16527
16581
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16528
|
-
var $jscomp$this$
|
|
16582
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16529
16583
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16530
|
-
return $jscomp$this$
|
|
16584
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16531
16585
|
});
|
|
16532
16586
|
};
|
|
16533
16587
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16634,8 +16688,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16634
16688
|
return null;
|
|
16635
16689
|
}
|
|
16636
16690
|
if (token.lowercaseName === "url") {
|
|
16637
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16638
|
-
if ((($jscomp$optchain$
|
|
16691
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16692
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16639
16693
|
return null;
|
|
16640
16694
|
}
|
|
16641
16695
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16658,8 +16712,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16658
16712
|
if (!this.allowKeyframes) {
|
|
16659
16713
|
return null;
|
|
16660
16714
|
}
|
|
16661
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16662
|
-
var rule = $jscomp$key$
|
|
16715
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1877845113$1$rule.done; $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next()) {
|
|
16716
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16663
16717
|
if (rule instanceof CSSKeyframeRule) {
|
|
16664
16718
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16665
16719
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16671,8 +16725,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16671
16725
|
if (!this.propertyAllowlist.has(name)) {
|
|
16672
16726
|
return !1;
|
|
16673
16727
|
}
|
|
16674
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16675
|
-
var discarder = $jscomp$key$
|
|
16728
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1877845113$2$discarder.done; $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next()) {
|
|
16729
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16676
16730
|
if (discarder(name)) {
|
|
16677
16731
|
return !1;
|
|
16678
16732
|
}
|
|
@@ -16687,8 +16741,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16687
16741
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16688
16742
|
};
|
|
16689
16743
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16690
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16691
|
-
var name = $jscomp$key$
|
|
16744
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1877845113$3$name.done; $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next()) {
|
|
16745
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16692
16746
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16693
16747
|
}
|
|
16694
16748
|
return sanitizedProperties;
|
|
@@ -16702,8 +16756,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16702
16756
|
return selector + " { " + sanitizedProperties + " }";
|
|
16703
16757
|
};
|
|
16704
16758
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16705
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16706
|
-
var rule = $jscomp$key$
|
|
16759
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1877845113$4$rule.done; $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next()) {
|
|
16760
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16707
16761
|
if (rule instanceof CSSStyleRule) {
|
|
16708
16762
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16709
16763
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16799,14 +16853,14 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
16799
16853
|
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
|
|
16800
16854
|
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
|
|
16801
16855
|
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
|
|
16802
|
-
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
|
|
16856
|
+
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder poster preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
|
|
16803
16857
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES = [["dir", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
16804
16858
|
return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
|
|
16805
16859
|
})}], ["async", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
16806
16860
|
return new Map([["async", new Set(["async"])]]);
|
|
16807
|
-
})}], ["
|
|
16861
|
+
})}], ["loading", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
16808
16862
|
return new Map([["loading", new Set(["eager", "lazy"])]]);
|
|
16809
|
-
})}], ["
|
|
16863
|
+
})}], ["target", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
16810
16864
|
return new Map([["target", new Set(["_self", "_blank"])]]);
|
|
16811
16865
|
})}]];
|
|
16812
16866
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
@@ -16829,11 +16883,12 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer =
|
|
|
16829
16883
|
};
|
|
16830
16884
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.CssSanitizer = function() {
|
|
16831
16885
|
};
|
|
16832
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy) {
|
|
16886
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy, openShadow) {
|
|
16833
16887
|
this.sanitizerTable = sanitizerTable;
|
|
16834
16888
|
this.styleElementSanitizer = styleElementSanitizer;
|
|
16835
16889
|
this.styleAttributeSanitizer = styleAttributeSanitizer;
|
|
16836
16890
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16891
|
+
this.openShadow = openShadow;
|
|
16837
16892
|
this.changes = [];
|
|
16838
16893
|
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
16839
16894
|
};
|
|
@@ -16854,7 +16909,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16854
16909
|
return this.styleElementSanitizer && this.styleAttributeSanitizer ? this.sanitizeWithCssToFragment(html, inertDocument) : this.sanitizeToFragmentInternal(html, inertDocument);
|
|
16855
16910
|
};
|
|
16856
16911
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeWithCssToFragment = function(htmlWithCss, inertDocument) {
|
|
16857
|
-
var elem = document.createElement("safevalues-with-css"), shadow = elem.attachShadow({mode:"closed"}), sanitized = this.sanitizeToFragmentInternal(htmlWithCss, inertDocument), internalStyle = document.createElement("style");
|
|
16912
|
+
var elem = document.createElement("safevalues-with-css"), shadow = elem.attachShadow({mode:this.openShadow ? "open" : "closed"}), sanitized = this.sanitizeToFragmentInternal(htmlWithCss, inertDocument), internalStyle = document.createElement("style");
|
|
16858
16913
|
internalStyle.textContent = module$exports$safevalues$builders$html_sanitizer$css$css_isolation.CSS_ISOLATION_STYLESHEET;
|
|
16859
16914
|
internalStyle.id = "safevalues-internal-style";
|
|
16860
16915
|
shadow.appendChild(internalStyle);
|
|
@@ -16864,8 +16919,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16864
16919
|
return fragment;
|
|
16865
16920
|
};
|
|
16866
16921
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16867
|
-
for (var $jscomp$this$
|
|
16868
|
-
return $jscomp$this$
|
|
16922
|
+
for (var $jscomp$this$m1803429925$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
16923
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
16869
16924
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16870
16925
|
var sanitizedNode = void 0;
|
|
16871
16926
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16900,8 +16955,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16900
16955
|
return this.createTextNode(textNode.data);
|
|
16901
16956
|
};
|
|
16902
16957
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16903
|
-
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$
|
|
16904
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16958
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1803429925$34$.done; $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next()) {
|
|
16959
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1803429925$34$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
16905
16960
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16906
16961
|
switch(policy.policyAction) {
|
|
16907
16962
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16933,9 +16988,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16933
16988
|
break;
|
|
16934
16989
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16935
16990
|
if (this.resourceUrlPolicy) {
|
|
16936
|
-
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$
|
|
16991
|
+
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$m1803429925$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part =
|
|
16937
16992
|
$jscomp$iter$35.next()) {
|
|
16938
|
-
var part = $jscomp$key$
|
|
16993
|
+
var part = $jscomp$key$m1803429925$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);
|
|
16939
16994
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16940
16995
|
}
|
|
16941
16996
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16979,8 +17034,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16979
17034
|
if (!conditions) {
|
|
16980
17035
|
return !0;
|
|
16981
17036
|
}
|
|
16982
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16983
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17037
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1803429925$35$.done; $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next()) {
|
|
17038
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1803429925$0 = void 0, value = ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
16984
17039
|
if (value && !expectedValues.has(value)) {
|
|
16985
17040
|
return !1;
|
|
16986
17041
|
}
|
|
@@ -16995,8 +17050,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16995
17050
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16996
17051
|
};
|
|
16997
17052
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16998
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16999
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17053
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1803429925$36$part.done; $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next()) {
|
|
17054
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$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;
|
|
17000
17055
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17001
17056
|
}
|
|
17002
17057
|
return {parts:parts};
|
|
@@ -17053,8 +17108,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17053
17108
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17054
17109
|
};
|
|
17055
17110
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17056
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17057
|
-
var element = $jscomp$key$
|
|
17111
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$22$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$22$element.done; $jscomp$key$m1412690177$22$element = $jscomp$iter$39.next()) {
|
|
17112
|
+
var element = $jscomp$key$m1412690177$22$element.value;
|
|
17058
17113
|
element = element.toUpperCase();
|
|
17059
17114
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17060
17115
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17072,8 +17127,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17072
17127
|
throw Error("Element: " + element + " is not a custom element");
|
|
17073
17128
|
}
|
|
17074
17129
|
if (allowedAttributes) {
|
|
17075
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17076
|
-
elementPolicy.set($jscomp$key$
|
|
17130
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$23$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$23$attribute.done; $jscomp$key$m1412690177$23$attribute = $jscomp$iter$40.next()) {
|
|
17131
|
+
elementPolicy.set($jscomp$key$m1412690177$23$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17077
17132
|
}
|
|
17078
17133
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17079
17134
|
} else {
|
|
@@ -17083,15 +17138,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17083
17138
|
return this;
|
|
17084
17139
|
};
|
|
17085
17140
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17086
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17087
|
-
var attribute = $jscomp$key$
|
|
17141
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$24$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$24$attribute.done; $jscomp$key$m1412690177$24$attribute = $jscomp$iter$41.next()) {
|
|
17142
|
+
var attribute = $jscomp$key$m1412690177$24$attribute.value;
|
|
17088
17143
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17089
17144
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17090
17145
|
}
|
|
17091
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17092
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17146
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$26$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$26$.done; $jscomp$key$m1412690177$26$ = $jscomp$iter$43.next()) {
|
|
17147
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$26$.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$m1412690177$25$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$25$.done; $jscomp$key$m1412690177$25$ =
|
|
17093
17148
|
$jscomp$iter$42.next()) {
|
|
17094
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17149
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$25$.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;
|
|
17095
17150
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17096
17151
|
}
|
|
17097
17152
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17100,8 +17155,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17100
17155
|
return this;
|
|
17101
17156
|
};
|
|
17102
17157
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
17103
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17104
|
-
var attribute = $jscomp$key$
|
|
17158
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$27$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$27$attribute.done; $jscomp$key$m1412690177$27$attribute = $jscomp$iter$44.next()) {
|
|
17159
|
+
var attribute = $jscomp$key$m1412690177$27$attribute.value;
|
|
17105
17160
|
if (attribute.indexOf("data-") !== 0) {
|
|
17106
17161
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17107
17162
|
}
|
|
@@ -17151,7 +17206,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
17151
17206
|
};
|
|
17152
17207
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder = function() {
|
|
17153
17208
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
17154
|
-
this.transitionsAllowed = this.animationsAllowed = !1;
|
|
17209
|
+
this.openShadow = this.transitionsAllowed = this.animationsAllowed = !1;
|
|
17155
17210
|
};
|
|
17156
17211
|
$jscomp.inherits(module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder, module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder);
|
|
17157
17212
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.allowAnimations = function() {
|
|
@@ -17162,8 +17217,12 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17162
17217
|
this.transitionsAllowed = !0;
|
|
17163
17218
|
return this;
|
|
17164
17219
|
};
|
|
17220
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.withOpenShadow = function() {
|
|
17221
|
+
this.openShadow = !0;
|
|
17222
|
+
return this;
|
|
17223
|
+
};
|
|
17165
17224
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17166
|
-
var $jscomp$this$
|
|
17225
|
+
var $jscomp$this$m1412690177$18 = this;
|
|
17167
17226
|
this.extendSanitizerTableForCss();
|
|
17168
17227
|
var propertyDiscarders = [];
|
|
17169
17228
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17173,10 +17232,10 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17173
17232
|
return /^transition(-|$)/.test(property);
|
|
17174
17233
|
});
|
|
17175
17234
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17176
|
-
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$
|
|
17235
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$18.resourceUrlPolicy, $jscomp$this$m1412690177$18.animationsAllowed, propertyDiscarders);
|
|
17177
17236
|
}, function(cssText) {
|
|
17178
|
-
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$
|
|
17179
|
-
}, this.resourceUrlPolicy);
|
|
17237
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$18.resourceUrlPolicy, propertyDiscarders);
|
|
17238
|
+
}, this.resourceUrlPolicy, this.openShadow);
|
|
17180
17239
|
};
|
|
17181
17240
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
17182
17241
|
var allowedElements = new Set(this.sanitizerTable.allowedElements), allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), globalAttributePolicies = new Map(this.sanitizerTable.globalAttributePolicies);
|
|
@@ -17393,12 +17452,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17393
17452
|
}
|
|
17394
17453
|
try {
|
|
17395
17454
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17396
|
-
} catch ($jscomp$unused$catch$
|
|
17455
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17397
17456
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17398
17457
|
}
|
|
17399
17458
|
try {
|
|
17400
17459
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17401
|
-
} catch ($jscomp$unused$catch$
|
|
17460
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17402
17461
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17403
17462
|
}
|
|
17404
17463
|
return !1;
|
|
@@ -19254,7 +19313,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19254
19313
|
ee.apiclient = {};
|
|
19255
19314
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19256
19315
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19257
|
-
ee.apiclient.API_CLIENT_VERSION = "1.
|
|
19316
|
+
ee.apiclient.API_CLIENT_VERSION = "1.5.1";
|
|
19258
19317
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19259
19318
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19260
19319
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19552,8 +19611,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19552
19611
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19553
19612
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19554
19613
|
method = method || "POST";
|
|
19555
|
-
var headers = {"Content-Type":contentType}, version = "1.
|
|
19556
|
-
version === "1.
|
|
19614
|
+
var headers = {"Content-Type":contentType}, version = "1.5.1";
|
|
19615
|
+
version === "1.5.1" && (version = "latest");
|
|
19557
19616
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19558
19617
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19559
19618
|
if (authToken != null) {
|
|
@@ -25012,17 +25071,20 @@ goog.fs.FileReader.createDeferred_ = function(reader) {
|
|
|
25012
25071
|
return deferred;
|
|
25013
25072
|
};
|
|
25014
25073
|
goog.dom.vendor = {};
|
|
25015
|
-
goog
|
|
25074
|
+
function module$contents$goog$dom$vendor_getVendorJsPrefix() {
|
|
25016
25075
|
return goog.userAgent.WEBKIT ? "Webkit" : goog.userAgent.GECKO ? "Moz" : null;
|
|
25017
|
-
}
|
|
25018
|
-
goog
|
|
25076
|
+
}
|
|
25077
|
+
function module$contents$goog$dom$vendor_getVendorPrefix() {
|
|
25019
25078
|
return goog.userAgent.WEBKIT ? "-webkit" : goog.userAgent.GECKO ? "-moz" : null;
|
|
25079
|
+
}
|
|
25080
|
+
goog.dom.vendor.getPrefixedEventType = function(eventType) {
|
|
25081
|
+
return ((module$contents$goog$dom$vendor_getVendorJsPrefix() || "") + eventType).toLowerCase();
|
|
25020
25082
|
};
|
|
25021
25083
|
goog.dom.vendor.getPrefixedPropertyName = function(propertyName, opt_object) {
|
|
25022
25084
|
if (opt_object && propertyName in opt_object) {
|
|
25023
25085
|
return propertyName;
|
|
25024
25086
|
}
|
|
25025
|
-
var prefix = goog
|
|
25087
|
+
var prefix = module$contents$goog$dom$vendor_getVendorJsPrefix();
|
|
25026
25088
|
if (prefix) {
|
|
25027
25089
|
prefix = prefix.toLowerCase();
|
|
25028
25090
|
var prefixedPropertyName = prefix + goog.string.toTitleCase(propertyName);
|
|
@@ -25030,9 +25092,8 @@ goog.dom.vendor.getPrefixedPropertyName = function(propertyName, opt_object) {
|
|
|
25030
25092
|
}
|
|
25031
25093
|
return null;
|
|
25032
25094
|
};
|
|
25033
|
-
goog.dom.vendor.
|
|
25034
|
-
|
|
25035
|
-
};
|
|
25095
|
+
goog.dom.vendor.getVendorJsPrefix = module$contents$goog$dom$vendor_getVendorJsPrefix;
|
|
25096
|
+
goog.dom.vendor.getVendorPrefix = module$contents$goog$dom$vendor_getVendorPrefix;
|
|
25036
25097
|
function module$contents$goog$math$Box_Box(top, right, bottom, left) {
|
|
25037
25098
|
this.top = top;
|
|
25038
25099
|
this.right = right;
|
|
@@ -25290,7 +25351,7 @@ goog.style.getVendorJsStyleName_ = function(element, style) {
|
|
|
25290
25351
|
var camelStyle = goog.string.toCamelCase(style);
|
|
25291
25352
|
propertyName = camelStyle;
|
|
25292
25353
|
if (element.style[camelStyle] === void 0) {
|
|
25293
|
-
var prefixedStyle = goog
|
|
25354
|
+
var prefixedStyle = module$contents$goog$dom$vendor_getVendorJsPrefix() + goog.string.toTitleCase(camelStyle);
|
|
25294
25355
|
element.style[prefixedStyle] !== void 0 && (propertyName = prefixedStyle);
|
|
25295
25356
|
}
|
|
25296
25357
|
goog.style.styleNameCache_[style] = propertyName;
|
|
@@ -25300,9 +25361,9 @@ goog.style.getVendorJsStyleName_ = function(element, style) {
|
|
|
25300
25361
|
goog.style.getVendorStyleName_ = function(element, style) {
|
|
25301
25362
|
var camelStyle = goog.string.toCamelCase(style);
|
|
25302
25363
|
if (element.style[camelStyle] === void 0) {
|
|
25303
|
-
var prefixedStyle = goog
|
|
25364
|
+
var prefixedStyle = module$contents$goog$dom$vendor_getVendorJsPrefix() + goog.string.toTitleCase(camelStyle);
|
|
25304
25365
|
if (element.style[prefixedStyle] !== void 0) {
|
|
25305
|
-
return goog
|
|
25366
|
+
return module$contents$goog$dom$vendor_getVendorPrefix() + "-" + style;
|
|
25306
25367
|
}
|
|
25307
25368
|
}
|
|
25308
25369
|
return style;
|
|
@@ -25600,7 +25661,7 @@ goog.style.installSafeStyleSheet = function(safeStyleSheet, opt_node) {
|
|
|
25600
25661
|
head = dh.createDom(goog.dom.TagName.HEAD);
|
|
25601
25662
|
body.parentNode.insertBefore(head, body);
|
|
25602
25663
|
}
|
|
25603
|
-
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$contents$safevalues$dom$globals$window_getStyleNonce(
|
|
25664
|
+
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$contents$safevalues$dom$globals$window_getStyleNonce(document);
|
|
25604
25665
|
nonce && el.setAttribute("nonce", nonce);
|
|
25605
25666
|
goog.style.setSafeStyleSheet(el, safeStyleSheet);
|
|
25606
25667
|
dh.appendChild(head, el);
|
|
@@ -26284,40 +26345,40 @@ module$contents$goog$structs$Queue_Queue.prototype.getValues = function() {
|
|
|
26284
26345
|
return res;
|
|
26285
26346
|
};
|
|
26286
26347
|
goog.structs.Queue = module$contents$goog$structs$Queue_Queue;
|
|
26287
|
-
goog
|
|
26348
|
+
function module$contents$goog$structs$Pool_Pool(opt_minCount, opt_maxCount) {
|
|
26288
26349
|
goog.Disposable.call(this);
|
|
26289
26350
|
this.minCount_ = opt_minCount || 0;
|
|
26290
26351
|
this.maxCount_ = opt_maxCount || 10;
|
|
26291
26352
|
if (this.minCount_ > this.maxCount_) {
|
|
26292
|
-
throw Error(goog
|
|
26353
|
+
throw Error(module$contents$goog$structs$Pool_Pool.ERROR_MIN_MAX_);
|
|
26293
26354
|
}
|
|
26294
26355
|
this.freeQueue_ = new module$contents$goog$structs$Queue_Queue();
|
|
26295
|
-
this.inUseSet_ = new
|
|
26356
|
+
this.inUseSet_ = new Set();
|
|
26296
26357
|
this.delay = 0;
|
|
26297
26358
|
this.lastAccess = null;
|
|
26298
26359
|
this.adjustForMinMax();
|
|
26299
|
-
}
|
|
26300
|
-
goog.inherits(goog
|
|
26301
|
-
goog
|
|
26302
|
-
goog
|
|
26303
|
-
goog
|
|
26360
|
+
}
|
|
26361
|
+
goog.inherits(module$contents$goog$structs$Pool_Pool, goog.Disposable);
|
|
26362
|
+
module$contents$goog$structs$Pool_Pool.ERROR_MIN_MAX_ = "[goog.structs.Pool] Min can not be greater than max";
|
|
26363
|
+
module$contents$goog$structs$Pool_Pool.ERROR_DISPOSE_UNRELEASED_OBJS_ = "[goog.structs.Pool] Objects not released";
|
|
26364
|
+
module$contents$goog$structs$Pool_Pool.prototype.setMinimumCount = function(min) {
|
|
26304
26365
|
if (min > this.maxCount_) {
|
|
26305
|
-
throw Error(goog
|
|
26366
|
+
throw Error(module$contents$goog$structs$Pool_Pool.ERROR_MIN_MAX_);
|
|
26306
26367
|
}
|
|
26307
26368
|
this.minCount_ = min;
|
|
26308
26369
|
this.adjustForMinMax();
|
|
26309
26370
|
};
|
|
26310
|
-
goog
|
|
26371
|
+
module$contents$goog$structs$Pool_Pool.prototype.setMaximumCount = function(max) {
|
|
26311
26372
|
if (max < this.minCount_) {
|
|
26312
|
-
throw Error(goog
|
|
26373
|
+
throw Error(module$contents$goog$structs$Pool_Pool.ERROR_MIN_MAX_);
|
|
26313
26374
|
}
|
|
26314
26375
|
this.maxCount_ = max;
|
|
26315
26376
|
this.adjustForMinMax();
|
|
26316
26377
|
};
|
|
26317
|
-
goog
|
|
26378
|
+
module$contents$goog$structs$Pool_Pool.prototype.setDelay = function(delay) {
|
|
26318
26379
|
this.delay = delay;
|
|
26319
26380
|
};
|
|
26320
|
-
goog
|
|
26381
|
+
module$contents$goog$structs$Pool_Pool.prototype.getObject = function() {
|
|
26321
26382
|
var time = Date.now();
|
|
26322
26383
|
if (!(this.lastAccess != null && time - this.lastAccess < this.delay)) {
|
|
26323
26384
|
var obj = this.removeFreeObject_();
|
|
@@ -26325,21 +26386,21 @@ goog.structs.Pool.prototype.getObject = function() {
|
|
|
26325
26386
|
return obj;
|
|
26326
26387
|
}
|
|
26327
26388
|
};
|
|
26328
|
-
goog
|
|
26329
|
-
return this.inUseSet_.
|
|
26389
|
+
module$contents$goog$structs$Pool_Pool.prototype.releaseObject = function(obj) {
|
|
26390
|
+
return this.inUseSet_.delete(obj) ? (this.addFreeObject(obj), !0) : !1;
|
|
26330
26391
|
};
|
|
26331
|
-
goog
|
|
26392
|
+
module$contents$goog$structs$Pool_Pool.prototype.removeFreeObject_ = function() {
|
|
26332
26393
|
for (var obj; this.getFreeCount() > 0 && (obj = this.freeQueue_.dequeue(), !this.objectCanBeReused(obj));) {
|
|
26333
26394
|
this.adjustForMinMax();
|
|
26334
26395
|
}
|
|
26335
26396
|
!obj && this.getCount() < this.maxCount_ && (obj = this.createObject());
|
|
26336
26397
|
return obj;
|
|
26337
26398
|
};
|
|
26338
|
-
goog
|
|
26339
|
-
this.inUseSet_.
|
|
26399
|
+
module$contents$goog$structs$Pool_Pool.prototype.addFreeObject = function(obj) {
|
|
26400
|
+
this.inUseSet_.delete(obj);
|
|
26340
26401
|
this.objectCanBeReused(obj) && this.getCount() < this.maxCount_ ? this.freeQueue_.enqueue(obj) : this.disposeObject(obj);
|
|
26341
26402
|
};
|
|
26342
|
-
goog
|
|
26403
|
+
module$contents$goog$structs$Pool_Pool.prototype.adjustForMinMax = function() {
|
|
26343
26404
|
for (var freeQueue = this.freeQueue_; this.getCount() < this.minCount_;) {
|
|
26344
26405
|
freeQueue.enqueue(this.createObject());
|
|
26345
26406
|
}
|
|
@@ -26347,10 +26408,10 @@ goog.structs.Pool.prototype.adjustForMinMax = function() {
|
|
|
26347
26408
|
this.disposeObject(freeQueue.dequeue());
|
|
26348
26409
|
}
|
|
26349
26410
|
};
|
|
26350
|
-
goog
|
|
26411
|
+
module$contents$goog$structs$Pool_Pool.prototype.createObject = function() {
|
|
26351
26412
|
return {};
|
|
26352
26413
|
};
|
|
26353
|
-
goog
|
|
26414
|
+
module$contents$goog$structs$Pool_Pool.prototype.disposeObject = function(obj) {
|
|
26354
26415
|
if (typeof obj.dispose == "function") {
|
|
26355
26416
|
obj.dispose();
|
|
26356
26417
|
} else {
|
|
@@ -26359,28 +26420,28 @@ goog.structs.Pool.prototype.disposeObject = function(obj) {
|
|
|
26359
26420
|
}
|
|
26360
26421
|
}
|
|
26361
26422
|
};
|
|
26362
|
-
goog
|
|
26423
|
+
module$contents$goog$structs$Pool_Pool.prototype.objectCanBeReused = function(obj) {
|
|
26363
26424
|
return typeof obj.canBeReused == "function" ? obj.canBeReused() : !0;
|
|
26364
26425
|
};
|
|
26365
|
-
goog
|
|
26366
|
-
return this.freeQueue_.contains(obj) || this.inUseSet_.
|
|
26426
|
+
module$contents$goog$structs$Pool_Pool.prototype.contains = function(obj) {
|
|
26427
|
+
return this.freeQueue_.contains(obj) || this.inUseSet_.has(obj);
|
|
26367
26428
|
};
|
|
26368
|
-
goog
|
|
26369
|
-
return this.
|
|
26429
|
+
module$contents$goog$structs$Pool_Pool.prototype.getCount = function() {
|
|
26430
|
+
return this.getFreeCount() + this.getInUseCount();
|
|
26370
26431
|
};
|
|
26371
|
-
goog
|
|
26372
|
-
return this.inUseSet_.
|
|
26432
|
+
module$contents$goog$structs$Pool_Pool.prototype.getInUseCount = function() {
|
|
26433
|
+
return this.inUseSet_.size;
|
|
26373
26434
|
};
|
|
26374
|
-
goog
|
|
26435
|
+
module$contents$goog$structs$Pool_Pool.prototype.getFreeCount = function() {
|
|
26375
26436
|
return this.freeQueue_.getCount();
|
|
26376
26437
|
};
|
|
26377
|
-
goog
|
|
26378
|
-
return this.
|
|
26438
|
+
module$contents$goog$structs$Pool_Pool.prototype.isEmpty = function() {
|
|
26439
|
+
return this.getFreeCount() === 0 && this.getInUseCount() === 0;
|
|
26379
26440
|
};
|
|
26380
|
-
goog
|
|
26381
|
-
goog
|
|
26441
|
+
module$contents$goog$structs$Pool_Pool.prototype.disposeInternal = function() {
|
|
26442
|
+
module$contents$goog$structs$Pool_Pool.superClass_.disposeInternal.call(this);
|
|
26382
26443
|
if (this.getInUseCount() > 0) {
|
|
26383
|
-
throw Error(goog
|
|
26444
|
+
throw Error(module$contents$goog$structs$Pool_Pool.ERROR_DISPOSE_UNRELEASED_OBJS_);
|
|
26384
26445
|
}
|
|
26385
26446
|
delete this.inUseSet_;
|
|
26386
26447
|
for (var freeQueue = this.freeQueue_; !freeQueue.isEmpty();) {
|
|
@@ -26388,6 +26449,7 @@ goog.structs.Pool.prototype.disposeInternal = function() {
|
|
|
26388
26449
|
}
|
|
26389
26450
|
delete this.freeQueue_;
|
|
26390
26451
|
};
|
|
26452
|
+
goog.structs.Pool = module$contents$goog$structs$Pool_Pool;
|
|
26391
26453
|
function module$contents$goog$structs$Node_Node(key, value) {
|
|
26392
26454
|
this.key_ = key;
|
|
26393
26455
|
this.value_ = value;
|
|
@@ -26401,7 +26463,6 @@ module$contents$goog$structs$Node_Node.prototype.getValue = function() {
|
|
|
26401
26463
|
module$contents$goog$structs$Node_Node.prototype.clone = function() {
|
|
26402
26464
|
return new module$contents$goog$structs$Node_Node(this.key_, this.value_);
|
|
26403
26465
|
};
|
|
26404
|
-
goog.structs.Node = module$contents$goog$structs$Node_Node;
|
|
26405
26466
|
var module$contents$goog$structs$Heap_Heap = function(opt_heap) {
|
|
26406
26467
|
this.nodes_ = [];
|
|
26407
26468
|
opt_heap && this.insertAll(opt_heap);
|
|
@@ -26523,9 +26584,9 @@ goog.structs.PriorityQueue = module$contents$goog$structs$PriorityQueue_Priority
|
|
|
26523
26584
|
function module$contents$goog$structs$PriorityPool_PriorityPool(opt_minCount, opt_maxCount) {
|
|
26524
26585
|
this.delayTimeout_ = void 0;
|
|
26525
26586
|
this.requestQueue_ = new module$contents$goog$structs$PriorityQueue_PriorityQueue();
|
|
26526
|
-
goog
|
|
26587
|
+
module$contents$goog$structs$Pool_Pool.call(this, opt_minCount, opt_maxCount);
|
|
26527
26588
|
}
|
|
26528
|
-
goog.inherits(module$contents$goog$structs$PriorityPool_PriorityPool, goog
|
|
26589
|
+
goog.inherits(module$contents$goog$structs$PriorityPool_PriorityPool, module$contents$goog$structs$Pool_Pool);
|
|
26529
26590
|
module$contents$goog$structs$PriorityPool_PriorityPool.DEFAULT_PRIORITY_ = 100;
|
|
26530
26591
|
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.setDelay = function(delay) {
|
|
26531
26592
|
module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.setDelay.call(this, delay);
|
|
@@ -27069,28 +27130,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27069
27130
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27070
27131
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27071
27132
|
(function() {
|
|
27072
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27073
|
-
orderedParamLists = [["name", "
|
|
27133
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.getList ee.data.updateAsset ee.data.getFilmstripThumbId ee.data.startIngestion ee.data.startProcessing ee.data.createFolder ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.listAssets ee.data.getMapId ee.data.renameAsset ee.data.getTaskList ee.data.authenticate ee.data.setAssetProperties ee.data.getTableDownloadId ee.data.getTileUrl ee.data.copyAsset ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.deleteAsset ee.data.listOperations ee.data.getAssetRootQuota ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.cancelOperation ee.data.authenticateViaPopup ee.data.listImages ee.data.getWorkloadTag ee.data.getFeatureViewTilesKey ee.data.getAssetAcl ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.newTaskId ee.data.createAssetHome ee.data.setWorkloadTag ee.data.computeValue ee.data.getInfo ee.data.createAsset ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.resetWorkloadTag ee.data.getTaskStatus ee.data.updateTask ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMapId ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Filter.metadata ee.Filter.and ee.Filter.prototype.not ee.Filter.gt ee.Filter.neq ee.Filter.lt ee.Filter.inList ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPolygon ee.Geometry.LinearRing ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry.prototype.serialize ee.Geometry.Polygon ee.Geometry.MultiLineString ee.Geometry ee.Geometry.Rectangle ee.Geometry.prototype.toGeoJSON ee.Geometry.Point ee.Image.cat ee.Image.prototype.select ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getThumbURL ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.rename ee.Image ee.Image.prototype.getThumbId ee.Image.prototype.clip ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.linkCollection ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
27134
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "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(" "),
|
|
27074
27135
|
"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(" "),
|
|
27075
|
-
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "
|
|
27076
|
-
"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(" "), ["
|
|
27077
|
-
|
|
27078
|
-
"opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], "
|
|
27079
|
-
["opt_limit", "opt_callback"], ["
|
|
27080
|
-
["
|
|
27081
|
-
["func", "var_args"], [], [
|
|
27082
|
-
|
|
27083
|
-
["coords", "opt_proj", "opt_geodesic", "opt_maxError"
|
|
27084
|
-
["
|
|
27085
|
-
[ee.ApiFunction.
|
|
27086
|
-
module$contents$ee$batch_Export.
|
|
27087
|
-
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.
|
|
27088
|
-
ee.data.
|
|
27089
|
-
ee.data.
|
|
27090
|
-
ee.
|
|
27091
|
-
ee.Filter.
|
|
27092
|
-
ee.
|
|
27093
|
-
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.
|
|
27136
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27137
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["filter"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name",
|
|
27138
|
+
"operator", "value"], ["geometry"], ["start", "opt_end"], ["opt_callback"], ["legacy"], ["func", "var_args"], ["callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["assetId", "aclUpdate", "opt_callback"],
|
|
27139
|
+
["parent", "opt_params", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["assetId", "opt_callback"],
|
|
27140
|
+
["opt_limit", "opt_callback"], ["rootId", "opt_callback"], ["params", "opt_callback"], ["id"], ["operationName", "opt_callback"], ["opt_success", "opt_error"], ["parent", "opt_params", "opt_callback"], [], ["params", "opt_callback"], ["assetId", "opt_callback"], ["asset", "params", "opt_callback"], ["id", "opt_callback"], ["opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"], ["opt_count", "opt_callback"],
|
|
27141
|
+
["requestedId", "opt_callback"], ["tag"], ["obj", "opt_callback"], ["id", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], [], ["func", "namedArgs"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
27142
|
+
["func", "var_args"], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["name", "value"], ["start", "opt_end"], ["geometry", "opt_errorMargin"], ["name", "operator",
|
|
27143
|
+
"value"], ["var_args"], [], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], ["name", "value"], ["name", "value"], ["opt_filter"], ["namedArgs"], ["var_args"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27144
|
+
["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], [], ["coords", "opt_proj"], ["var_args"], ["var_args"], ["r", "g", "b"], ["expression", "opt_map"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["var_args"],
|
|
27145
|
+
["opt_args"], ["params", "opt_callback"], ["geometry"], [], ["args"], ["params", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["string"], []];
|
|
27146
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toAsset,
|
|
27147
|
+
module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filter, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterDate, ee.ComputedObject.prototype.getInfo,
|
|
27148
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.data.getList, ee.data.updateAsset, ee.data.getFilmstripThumbId, ee.data.startIngestion, ee.data.startProcessing, ee.data.createFolder, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.setAssetAcl, ee.data.listAssets, ee.data.getMapId, ee.data.renameAsset, ee.data.getTaskList, ee.data.authenticate, ee.data.setAssetProperties, ee.data.getTableDownloadId, ee.data.getTileUrl,
|
|
27149
|
+
ee.data.copyAsset, ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.deleteAsset, ee.data.listOperations, ee.data.getAssetRootQuota, ee.data.getDownloadId, ee.data.makeDownloadUrl, ee.data.cancelOperation, ee.data.authenticateViaPopup, ee.data.listImages, ee.data.getWorkloadTag, ee.data.getFeatureViewTilesKey, ee.data.getAssetAcl, ee.data.listFeatures, ee.data.getAsset, ee.data.getAssetRoots, ee.data.authenticateViaPrivateKey,
|
|
27150
|
+
ee.data.getOperation, ee.data.newTaskId, ee.data.createAssetHome, ee.data.setWorkloadTag, ee.data.computeValue, ee.data.getInfo, ee.data.createAsset, ee.data.getThumbId, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getVideoThumbId, ee.data.resetWorkloadTag, ee.data.getTaskStatus, ee.data.updateTask, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.Algorithms, ee.InitState, ee.apply, ee.TILE_SIZE,
|
|
27151
|
+
ee.initialize, ee.call, ee.reset, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMapId, ee.Feature, ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.Filter.eq, ee.Filter.date, ee.Filter.bounds, ee.Filter.metadata, ee.Filter.and,
|
|
27152
|
+
ee.Filter.prototype.not, ee.Filter.gt, ee.Filter.neq, ee.Filter.lt, ee.Filter.inList, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiPolygon, ee.Geometry.LinearRing, ee.Geometry.BBox, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry.prototype.serialize, ee.Geometry.Polygon, ee.Geometry.MultiLineString, ee.Geometry, ee.Geometry.Rectangle, ee.Geometry.prototype.toGeoJSON,
|
|
27153
|
+
ee.Geometry.Point, ee.Image.cat, ee.Image.prototype.select, ee.Image.rgb, ee.Image.prototype.expression, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getThumbURL, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.prototype.rename, ee.Image, ee.Image.prototype.getThumbId, ee.Image.prototype.clip, ee.ImageCollection.prototype.first, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select,
|
|
27154
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.linkCollection, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27094
27155
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27095
27156
|
});
|
|
27096
27157
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|