@google/earthengine 1.6.10 → 1.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/browser.js +159 -148
- package/build/ee_api_js.js +18 -18
- package/build/ee_api_js_debug.js +136 -125
- package/build/ee_api_js_npm.js +159 -148
- package/build/main.js +159 -148
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/ee_api_js_debug.js
CHANGED
|
@@ -52,6 +52,19 @@ var $jscomp$lookupPolyfilledValue = function(target, property, isOptionalAccess)
|
|
|
52
52
|
return polyfill !== void 0 ? polyfill : target[property];
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
|
+
$jscomp.TYPED_ARRAY_CLASSES = function() {
|
|
56
|
+
var classes = "Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64".split(" ");
|
|
57
|
+
$jscomp.global.BigInt64Array && (classes.push("BigInt64"), classes.push("BigUint64"));
|
|
58
|
+
return classes;
|
|
59
|
+
}();
|
|
60
|
+
$jscomp.polyfillTypedArrayMethod = function(methodName, polyfill, fromLang, toLang) {
|
|
61
|
+
if (polyfill) {
|
|
62
|
+
for (var i = 0; i < $jscomp.TYPED_ARRAY_CLASSES.length; i++) {
|
|
63
|
+
var target = $jscomp.TYPED_ARRAY_CLASSES[i] + "Array.prototype." + methodName;
|
|
64
|
+
$jscomp.ISOLATE_POLYFILLS ? $jscomp.polyfillIsolated(target, polyfill, fromLang, toLang) : $jscomp.polyfillUnisolated(target, polyfill, fromLang, toLang);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
55
68
|
$jscomp.polyfill = function(target, polyfill, fromLang, toLang) {
|
|
56
69
|
polyfill && ($jscomp.ISOLATE_POLYFILLS ? $jscomp.polyfillIsolated(target, polyfill, fromLang, toLang) : $jscomp.polyfillUnisolated(target, polyfill, fromLang, toLang));
|
|
57
70
|
};
|
|
@@ -114,12 +127,10 @@ $jscomp.polyfill("Symbol.iterator", function(orig) {
|
|
|
114
127
|
if (orig) {
|
|
115
128
|
return orig;
|
|
116
129
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}});
|
|
122
|
-
}
|
|
130
|
+
var symbolIterator = Symbol("Symbol.iterator");
|
|
131
|
+
$jscomp.defineProperty(Array.prototype, symbolIterator, {configurable:!0, writable:!0, value:function() {
|
|
132
|
+
return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this));
|
|
133
|
+
}});
|
|
123
134
|
return symbolIterator;
|
|
124
135
|
}, "es6", "es3");
|
|
125
136
|
$jscomp.iteratorPrototype = function(next) {
|
|
@@ -2231,9 +2242,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2231
2242
|
};
|
|
2232
2243
|
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;
|
|
2233
2244
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2234
|
-
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$
|
|
2235
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2236
|
-
var key = $jscomp$key$
|
|
2245
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
2246
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2247
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2237
2248
|
if (value != null) {
|
|
2238
2249
|
var copy = void 0;
|
|
2239
2250
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2244,11 +2255,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2244
2255
|
} else if (objects.hasOwnProperty(key)) {
|
|
2245
2256
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2246
2257
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2247
|
-
$jscomp$loop$
|
|
2258
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2248
2259
|
return function(v) {
|
|
2249
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2260
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2250
2261
|
};
|
|
2251
|
-
}($jscomp$loop$
|
|
2262
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2252
2263
|
} else if (Array.isArray(value)) {
|
|
2253
2264
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2254
2265
|
continue;
|
|
@@ -2263,8 +2274,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2263
2274
|
return target;
|
|
2264
2275
|
}
|
|
2265
2276
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2266
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2267
|
-
var mapKey = $jscomp$key$
|
|
2277
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
2278
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2268
2279
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2269
2280
|
}
|
|
2270
2281
|
return objMap;
|
|
@@ -2294,39 +2305,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2294
2305
|
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))) {
|
|
2295
2306
|
return !1;
|
|
2296
2307
|
}
|
|
2297
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2298
|
-
var key = $jscomp$key$
|
|
2308
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
2309
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2299
2310
|
if (has1 !== has2) {
|
|
2300
2311
|
return !1;
|
|
2301
2312
|
}
|
|
2302
2313
|
if (has1) {
|
|
2303
2314
|
var value1 = serializable1.Serializable$get(key);
|
|
2304
|
-
$jscomp$loop$
|
|
2315
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2305
2316
|
if (arrays1.hasOwnProperty(key)) {
|
|
2306
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2317
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2307
2318
|
return !1;
|
|
2308
2319
|
}
|
|
2309
2320
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2310
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2321
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2311
2322
|
return !1;
|
|
2312
2323
|
}
|
|
2313
2324
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2314
|
-
if ($jscomp$loop$
|
|
2315
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2325
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2326
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2316
2327
|
return function(v1, i) {
|
|
2317
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2328
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2318
2329
|
};
|
|
2319
|
-
}($jscomp$loop$
|
|
2330
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2320
2331
|
return !1;
|
|
2321
2332
|
}
|
|
2322
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2333
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2323
2334
|
return !1;
|
|
2324
2335
|
}
|
|
2325
2336
|
} else if (Array.isArray(value1)) {
|
|
2326
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2337
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2327
2338
|
return !1;
|
|
2328
2339
|
}
|
|
2329
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2340
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2330
2341
|
return !1;
|
|
2331
2342
|
}
|
|
2332
2343
|
}
|
|
@@ -2348,8 +2359,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2348
2359
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2349
2360
|
return !1;
|
|
2350
2361
|
}
|
|
2351
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2352
|
-
var mapKey = $jscomp$key$
|
|
2362
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
2363
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2353
2364
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2354
2365
|
return !1;
|
|
2355
2366
|
}
|
|
@@ -2430,15 +2441,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2430
2441
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2431
2442
|
};
|
|
2432
2443
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2433
|
-
var $jscomp$this$
|
|
2444
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2434
2445
|
payload += this._metadataPayload;
|
|
2435
2446
|
return Promise.all(this.files.map(function(f) {
|
|
2436
|
-
return $jscomp$this$
|
|
2447
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2437
2448
|
})).then(function(filePayloads) {
|
|
2438
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2439
|
-
payload += $jscomp$key$
|
|
2449
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
|
|
2450
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2440
2451
|
}
|
|
2441
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2452
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2442
2453
|
});
|
|
2443
2454
|
};
|
|
2444
2455
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2950,8 +2961,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2950
2961
|
throw Error(message);
|
|
2951
2962
|
}
|
|
2952
2963
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2953
|
-
var $jscomp$templatelit$
|
|
2954
|
-
["\\0"]), $jscomp$templatelit$
|
|
2964
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2965
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
2955
2966
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2956
2967
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2957
2968
|
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 ##############################");
|
|
@@ -2965,14 +2976,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2965
2976
|
return fn.toString().indexOf("`") === -1;
|
|
2966
2977
|
}
|
|
2967
2978
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2968
|
-
return tag($jscomp$templatelit$
|
|
2979
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2969
2980
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2970
|
-
return tag($jscomp$templatelit$
|
|
2981
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2971
2982
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2972
|
-
return tag($jscomp$templatelit$
|
|
2983
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2973
2984
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2974
|
-
return tag($jscomp$templatelit$
|
|
2975
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2985
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
2986
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
2976
2987
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2977
2988
|
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)) ?
|
|
2978
2989
|
!0 : !1;
|
|
@@ -3298,9 +3309,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3298
3309
|
}
|
|
3299
3310
|
}
|
|
3300
3311
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3301
|
-
var $jscomp$tmp$error$
|
|
3302
|
-
this.message = $jscomp$tmp$error$
|
|
3303
|
-
"stack" in $jscomp$tmp$error$
|
|
3312
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3313
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3314
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3304
3315
|
this.type = type;
|
|
3305
3316
|
this.intent = intent;
|
|
3306
3317
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3396,7 +3407,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3396
3407
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3397
3408
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3398
3409
|
doc = doc === void 0 ? document : doc;
|
|
3399
|
-
var $jscomp$optchain$
|
|
3410
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = doc).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
3400
3411
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3401
3412
|
}
|
|
3402
3413
|
;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"};
|
|
@@ -4828,9 +4839,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4828
4839
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4829
4840
|
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"};
|
|
4830
4841
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4831
|
-
var $jscomp$tmp$error$
|
|
4832
|
-
this.message = $jscomp$tmp$error$
|
|
4833
|
-
"stack" in $jscomp$tmp$error$
|
|
4842
|
+
var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4843
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4844
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4834
4845
|
this.url = url;
|
|
4835
4846
|
this.typeName = typeName;
|
|
4836
4847
|
this.contentType = contentType;
|
|
@@ -4842,48 +4853,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4842
4853
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4843
4854
|
}
|
|
4844
4855
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4845
|
-
var response, $jscomp$optchain$
|
|
4846
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4847
|
-
if ($jscomp$generator$context$
|
|
4848
|
-
return $jscomp$generator$context$
|
|
4849
|
-
}
|
|
4850
|
-
response = $jscomp$generator$context$
|
|
4851
|
-
mimeType = ($jscomp$optchain$
|
|
4852
|
-
return $jscomp$generator$context$
|
|
4856
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4857
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4858
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4859
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4860
|
+
}
|
|
4861
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4862
|
+
mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
4863
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4853
4864
|
var text;
|
|
4854
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4855
|
-
if ($jscomp$generator$context$
|
|
4865
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4866
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4856
4867
|
if (mimeType !== "text/html") {
|
|
4857
4868
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4858
4869
|
}
|
|
4859
|
-
return $jscomp$generator$context$
|
|
4870
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4860
4871
|
}
|
|
4861
|
-
text = $jscomp$generator$context$
|
|
4862
|
-
return $jscomp$generator$context$
|
|
4872
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4873
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4863
4874
|
});
|
|
4864
4875
|
}, script:function() {
|
|
4865
4876
|
var text;
|
|
4866
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4867
|
-
if ($jscomp$generator$context$
|
|
4877
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4878
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4868
4879
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4869
4880
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4870
4881
|
}
|
|
4871
|
-
return $jscomp$generator$context$
|
|
4882
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4872
4883
|
}
|
|
4873
|
-
text = $jscomp$generator$context$
|
|
4874
|
-
return $jscomp$generator$context$
|
|
4884
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4885
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4875
4886
|
});
|
|
4876
4887
|
}, styleSheet:function() {
|
|
4877
4888
|
var text;
|
|
4878
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4879
|
-
if ($jscomp$generator$context$
|
|
4889
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4890
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4880
4891
|
if (mimeType !== "text/css") {
|
|
4881
4892
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4882
4893
|
}
|
|
4883
|
-
return $jscomp$generator$context$
|
|
4894
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4884
4895
|
}
|
|
4885
|
-
text = $jscomp$generator$context$
|
|
4886
|
-
return $jscomp$generator$context$
|
|
4896
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4897
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4887
4898
|
});
|
|
4888
4899
|
}});
|
|
4889
4900
|
});
|
|
@@ -6305,8 +6316,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6305
6316
|
}
|
|
6306
6317
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6307
6318
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6308
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6309
|
-
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$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
|
|
6320
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6310
6321
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6311
6322
|
}
|
|
6312
6323
|
return urlQueryParams;
|
|
@@ -6317,8 +6328,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6317
6328
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6318
6329
|
if (params.headers) {
|
|
6319
6330
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6320
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6321
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6331
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
|
|
6332
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6322
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);
|
|
6323
6334
|
}
|
|
6324
6335
|
}
|
|
@@ -6353,8 +6364,8 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$addHoo
|
|
|
6353
6364
|
}, function(error) {
|
|
6354
6365
|
throw error;
|
|
6355
6366
|
}).finally(function() {
|
|
6356
|
-
var $jscomp$optchain$
|
|
6357
|
-
($jscomp$optchain$
|
|
6367
|
+
var $jscomp$optchain$tmpm296226325$1;
|
|
6368
|
+
($jscomp$optchain$tmpm296226325$1 = hook.onFinalize) == null || $jscomp$optchain$tmpm296226325$1.call(hook);
|
|
6358
6369
|
});
|
|
6359
6370
|
};
|
|
6360
6371
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$request = function(requestParams) {
|
|
@@ -6362,9 +6373,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6362
6373
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6363
6374
|
};
|
|
6364
6375
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6365
|
-
var $jscomp$this$
|
|
6376
|
+
var $jscomp$this$m296226325$6 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6366
6377
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6367
|
-
return $jscomp$this$
|
|
6378
|
+
return $jscomp$this$m296226325$6.requestService.send(params, responseCtor);
|
|
6368
6379
|
}));
|
|
6369
6380
|
};
|
|
6370
6381
|
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"};
|
|
@@ -6563,8 +6574,8 @@ goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etogg
|
|
|
6563
6574
|
goog.flags.JSPB_DISALLOW_MESSAGE_TOJSON = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable : goog.readFlagInternalDoNotUseOrElse(722764542, goog.DEBUG);
|
|
6564
6575
|
goog.flags.JSPB_USE_CONSTANT_DEFAULT_PIVOT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable : goog.readFlagInternalDoNotUseOrElse(748402145, goog.DEBUG);
|
|
6565
6576
|
goog.flags.JSPB_SERIALIZE_WITH_DYNAMIC_PIVOT_SELECTOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable : goog.readFlagInternalDoNotUseOrElse(748402146, goog.DEBUG);
|
|
6566
|
-
goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ?
|
|
6567
|
-
|
|
6577
|
+
goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable : goog.readFlagInternalDoNotUseOrElse(748402147,
|
|
6578
|
+
!0);
|
|
6568
6579
|
goog.flags.OPTIMIZE_GET_EI_FROM_VED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable : goog.readFlagInternalDoNotUseOrElse(333098724, !1);
|
|
6569
6580
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
6570
6581
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
@@ -16238,8 +16249,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16238
16249
|
this.replacements = new Map();
|
|
16239
16250
|
};
|
|
16240
16251
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16241
|
-
var $jscomp$this$
|
|
16242
|
-
return $jscomp$this$
|
|
16252
|
+
var $jscomp$this$1018007701$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
16253
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
16243
16254
|
});
|
|
16244
16255
|
if (openedTags.length !== 0) {
|
|
16245
16256
|
if (goog.DEBUG) {
|
|
@@ -16457,8 +16468,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16457
16468
|
if (Array.isArray(token)) {
|
|
16458
16469
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16459
16470
|
} else {
|
|
16460
|
-
var $jscomp$optchain$
|
|
16461
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16471
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
16472
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm282935782$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm282935782$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16462
16473
|
tokens.push(token);
|
|
16463
16474
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16464
16475
|
return tokens;
|
|
@@ -16704,9 +16715,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16704
16715
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16705
16716
|
};
|
|
16706
16717
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16707
|
-
var $jscomp$this$
|
|
16718
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16708
16719
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16709
|
-
return $jscomp$this$
|
|
16720
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16710
16721
|
});
|
|
16711
16722
|
};
|
|
16712
16723
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16813,8 +16824,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16813
16824
|
return null;
|
|
16814
16825
|
}
|
|
16815
16826
|
if (token.lowercaseName === "url") {
|
|
16816
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16817
|
-
if ((($jscomp$optchain$
|
|
16827
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16828
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16818
16829
|
return null;
|
|
16819
16830
|
}
|
|
16820
16831
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
@@ -16837,8 +16848,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16837
16848
|
if (!this.allowKeyframes) {
|
|
16838
16849
|
return null;
|
|
16839
16850
|
}
|
|
16840
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16841
|
-
var rule = $jscomp$key$
|
|
16851
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next()) {
|
|
16852
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16842
16853
|
if (rule instanceof CSSKeyframeRule) {
|
|
16843
16854
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16844
16855
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16850,8 +16861,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16850
16861
|
if (!this.propertyAllowlist.has(name)) {
|
|
16851
16862
|
return !1;
|
|
16852
16863
|
}
|
|
16853
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16854
|
-
var discarder = $jscomp$key$
|
|
16864
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next()) {
|
|
16865
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16855
16866
|
if (discarder(name)) {
|
|
16856
16867
|
return !1;
|
|
16857
16868
|
}
|
|
@@ -16866,8 +16877,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16866
16877
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16867
16878
|
};
|
|
16868
16879
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16869
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16870
|
-
var name = $jscomp$key$
|
|
16880
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next()) {
|
|
16881
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16871
16882
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16872
16883
|
}
|
|
16873
16884
|
return sanitizedProperties;
|
|
@@ -16881,8 +16892,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16881
16892
|
return selector + " { " + sanitizedProperties + " }";
|
|
16882
16893
|
};
|
|
16883
16894
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16884
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16885
|
-
var rule = $jscomp$key$
|
|
16895
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next()) {
|
|
16896
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16886
16897
|
if (rule instanceof CSSStyleRule) {
|
|
16887
16898
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16888
16899
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -17046,8 +17057,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17046
17057
|
return fragment;
|
|
17047
17058
|
};
|
|
17048
17059
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
17049
|
-
for (var $jscomp$this$
|
|
17050
|
-
return $jscomp$this$
|
|
17060
|
+
for (var $jscomp$this$m1085474118$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
17061
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
17051
17062
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
17052
17063
|
var sanitizedNode = void 0;
|
|
17053
17064
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -17082,8 +17093,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17082
17093
|
return this.createTextNode(textNode.data);
|
|
17083
17094
|
};
|
|
17084
17095
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
17085
|
-
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$
|
|
17086
|
-
var $jscomp$destructuring$var30 = $jscomp$key$
|
|
17096
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
|
|
17097
|
+
var $jscomp$destructuring$var30 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var30.name, value = $jscomp$destructuring$var30.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
17087
17098
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
17088
17099
|
switch(policy.policyAction) {
|
|
17089
17100
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -17115,9 +17126,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17115
17126
|
break;
|
|
17116
17127
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17117
17128
|
if (this.resourceUrlPolicy) {
|
|
17118
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
17129
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
|
|
17119
17130
|
$jscomp$iter$35.next()) {
|
|
17120
|
-
var part = $jscomp$key$
|
|
17131
|
+
var part = $jscomp$key$m1085474118$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
17121
17132
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17122
17133
|
}
|
|
17123
17134
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17175,8 +17186,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17175
17186
|
if (!conditions) {
|
|
17176
17187
|
return !0;
|
|
17177
17188
|
}
|
|
17178
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17179
|
-
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17189
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
|
|
17190
|
+
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var32.next().value, expectedValues = $jscomp$destructuring$var32.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
17180
17191
|
if (value && !expectedValues.has(value)) {
|
|
17181
17192
|
return !1;
|
|
17182
17193
|
}
|
|
@@ -17191,8 +17202,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17191
17202
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17192
17203
|
};
|
|
17193
17204
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
17194
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
17195
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17205
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
|
|
17206
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var33.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var33.next().value;
|
|
17196
17207
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17197
17208
|
}
|
|
17198
17209
|
return {parts:parts};
|
|
@@ -17249,8 +17260,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17249
17260
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17250
17261
|
};
|
|
17251
17262
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17252
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17253
|
-
var element = $jscomp$key$
|
|
17263
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$23$element = $jscomp$iter$39.next(); !$jscomp$key$435282654$23$element.done; $jscomp$key$435282654$23$element = $jscomp$iter$39.next()) {
|
|
17264
|
+
var element = $jscomp$key$435282654$23$element.value;
|
|
17254
17265
|
element = element.toUpperCase();
|
|
17255
17266
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17256
17267
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17268,8 +17279,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17268
17279
|
throw Error("Element: " + element + " is not a custom element");
|
|
17269
17280
|
}
|
|
17270
17281
|
if (allowedAttributes) {
|
|
17271
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17272
|
-
elementPolicy.set($jscomp$key$
|
|
17282
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$24$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$24$attribute.done; $jscomp$key$435282654$24$attribute = $jscomp$iter$40.next()) {
|
|
17283
|
+
elementPolicy.set($jscomp$key$435282654$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17273
17284
|
}
|
|
17274
17285
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17275
17286
|
} else {
|
|
@@ -17279,15 +17290,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17279
17290
|
return this;
|
|
17280
17291
|
};
|
|
17281
17292
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17282
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17283
|
-
var attribute = $jscomp$key$
|
|
17293
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$25$attribute = $jscomp$iter$41.next(); !$jscomp$key$435282654$25$attribute.done; $jscomp$key$435282654$25$attribute = $jscomp$iter$41.next()) {
|
|
17294
|
+
var attribute = $jscomp$key$435282654$25$attribute.value;
|
|
17284
17295
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17285
17296
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17286
17297
|
}
|
|
17287
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17288
|
-
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17298
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$27$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$27$.done; $jscomp$key$435282654$27$ = $jscomp$iter$43.next()) {
|
|
17299
|
+
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$435282654$27$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var36.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var36.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$26$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$26$.done; $jscomp$key$435282654$26$ =
|
|
17289
17300
|
$jscomp$iter$42.next()) {
|
|
17290
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17301
|
+
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$435282654$26$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var38.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var38.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17291
17302
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17292
17303
|
}
|
|
17293
17304
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17302,8 +17313,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17302
17313
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies, globallyAllowedAttributePrefixes);
|
|
17303
17314
|
return this;
|
|
17304
17315
|
}
|
|
17305
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17306
|
-
var attribute = $jscomp$key$
|
|
17316
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$28$attribute = $jscomp$iter$44.next(); !$jscomp$key$435282654$28$attribute.done; $jscomp$key$435282654$28$attribute = $jscomp$iter$44.next()) {
|
|
17317
|
+
var attribute = $jscomp$key$435282654$28$attribute.value;
|
|
17307
17318
|
if (attribute.indexOf("data-") !== 0) {
|
|
17308
17319
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17309
17320
|
}
|
|
@@ -17373,7 +17384,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17373
17384
|
return this;
|
|
17374
17385
|
};
|
|
17375
17386
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17376
|
-
var $jscomp$this$
|
|
17387
|
+
var $jscomp$this$435282654$19 = this;
|
|
17377
17388
|
this.extendSanitizerTableForCss();
|
|
17378
17389
|
var propertyDiscarders = [];
|
|
17379
17390
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17383,9 +17394,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17383
17394
|
return /^transition(-|$)/.test(property);
|
|
17384
17395
|
});
|
|
17385
17396
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17386
|
-
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$
|
|
17397
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$19.resourceUrlPolicy, $jscomp$this$435282654$19.animationsAllowed, propertyDiscarders);
|
|
17387
17398
|
}, function(cssText) {
|
|
17388
|
-
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$
|
|
17399
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$19.resourceUrlPolicy, propertyDiscarders);
|
|
17389
17400
|
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17390
17401
|
};
|
|
17391
17402
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17605,12 +17616,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17605
17616
|
}
|
|
17606
17617
|
try {
|
|
17607
17618
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17608
|
-
} catch ($jscomp$unused$catch$
|
|
17619
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
17609
17620
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17610
17621
|
}
|
|
17611
17622
|
try {
|
|
17612
17623
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17613
|
-
} catch ($jscomp$unused$catch$
|
|
17624
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
17614
17625
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17615
17626
|
}
|
|
17616
17627
|
return !1;
|
|
@@ -19477,7 +19488,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19477
19488
|
ee.apiclient = {};
|
|
19478
19489
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19479
19490
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19480
|
-
ee.apiclient.API_CLIENT_VERSION = "1.6.
|
|
19491
|
+
ee.apiclient.API_CLIENT_VERSION = "1.6.12";
|
|
19481
19492
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19482
19493
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19483
19494
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19775,8 +19786,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19775
19786
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19776
19787
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19777
19788
|
method = method || "POST";
|
|
19778
|
-
var headers = {"Content-Type":contentType}, version = "1.6.
|
|
19779
|
-
version === "1.6.
|
|
19789
|
+
var headers = {"Content-Type":contentType}, version = "1.6.12";
|
|
19790
|
+
version === "1.6.12" && (version = "latest");
|
|
19780
19791
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19781
19792
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19782
19793
|
if (authToken != null) {
|