@google/earthengine 1.4.4 → 1.4.5
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 +424 -418
- package/build/ee_api_js.js +24 -23
- package/build/ee_api_js_debug.js +401 -395
- package/build/ee_api_js_npm.js +424 -418
- package/build/main.js +424 -418
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/data.js +0 -9
- package/src/geometry.js +0 -2
- package/src/layers/featureviewtilesource.js +1 -2
package/build/main.js
CHANGED
|
@@ -1258,8 +1258,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1258
1258
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1259
1259
|
};
|
|
1260
1260
|
}, "es8", "es3");
|
|
1261
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1262
|
-
|
|
1261
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__disable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1,
|
|
1262
|
+
GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1263
1263
|
/*
|
|
1264
1264
|
|
|
1265
1265
|
Copyright The Closure Library Authors.
|
|
@@ -1684,7 +1684,7 @@ goog.createTrustedTypesPolicy = function(name) {
|
|
|
1684
1684
|
}
|
|
1685
1685
|
return policy;
|
|
1686
1686
|
};
|
|
1687
|
-
goog.CodeLocation = {};
|
|
1687
|
+
goog.CodeLocation = {DO_NOT_USE:"", DO_NOT_USE_ME_EITHER:"."};
|
|
1688
1688
|
goog.callerLocation = function() {
|
|
1689
1689
|
var stack;
|
|
1690
1690
|
return "";
|
|
@@ -1701,6 +1701,9 @@ module$exports$tslib.__extends = function(d, b) {
|
|
|
1701
1701
|
function __() {
|
|
1702
1702
|
this.constructor = d;
|
|
1703
1703
|
}
|
|
1704
|
+
if (typeof b !== "function" && b !== null && (b === void 0 || b !== goog.global.Event)) {
|
|
1705
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
1706
|
+
}
|
|
1704
1707
|
module$contents$tslib_extendStatics(d, b);
|
|
1705
1708
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1706
1709
|
};
|
|
@@ -1728,7 +1731,7 @@ module$exports$tslib.__rest = function(s, e) {
|
|
|
1728
1731
|
};
|
|
1729
1732
|
module$exports$tslib.__decorate = function(decorators, target, key, desc) {
|
|
1730
1733
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1731
|
-
if (typeof Reflect === "object" &&
|
|
1734
|
+
if (Reflect && typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
1732
1735
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
1733
1736
|
} else {
|
|
1734
1737
|
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
@@ -1749,7 +1752,7 @@ module$exports$tslib.__setFunctionName = function(f, name, prefix) {
|
|
|
1749
1752
|
return Object.defineProperty(f, "name", {configurable:!0, value:prefix ? "".concat(prefix, " ", name) : name});
|
|
1750
1753
|
};
|
|
1751
1754
|
module$exports$tslib.__metadata = function(metadataKey, metadataValue) {
|
|
1752
|
-
if (typeof Reflect === "object" &&
|
|
1755
|
+
if (Reflect && typeof Reflect === "object" && typeof Reflect.metadata === "function") {
|
|
1753
1756
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
1754
1757
|
}
|
|
1755
1758
|
};
|
|
@@ -1790,7 +1793,7 @@ module$exports$tslib.__generator = function(thisArg, body) {
|
|
|
1790
1793
|
if (f) {
|
|
1791
1794
|
throw new TypeError("Generator is already executing.");
|
|
1792
1795
|
}
|
|
1793
|
-
for (; _;) {
|
|
1796
|
+
for (; g && (g = 0, op[0] && (_ = 0)), _;) {
|
|
1794
1797
|
try {
|
|
1795
1798
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) {
|
|
1796
1799
|
return t;
|
|
@@ -1852,22 +1855,28 @@ module$exports$tslib.__generator = function(thisArg, body) {
|
|
|
1852
1855
|
throw t[1];
|
|
1853
1856
|
}
|
|
1854
1857
|
return t[1];
|
|
1855
|
-
}, trys:[], ops:[]}, f, y, t, g;
|
|
1856
|
-
return g =
|
|
1857
|
-
return
|
|
1858
|
+
}, trys:[], ops:[]}, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
1859
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
1860
|
+
return this;
|
|
1858
1861
|
}), g;
|
|
1859
1862
|
};
|
|
1860
1863
|
module$exports$tslib.__exportStar = function(m, o) {
|
|
1861
1864
|
for (var p in m) {
|
|
1862
|
-
|
|
1865
|
+
p === "default" || Object.prototype.hasOwnProperty.call(o, p) || (o[p] = m[p]);
|
|
1863
1866
|
}
|
|
1864
1867
|
};
|
|
1865
1868
|
module$exports$tslib.__values = function(o) {
|
|
1866
|
-
var
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1869
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
1870
|
+
if (m) {
|
|
1871
|
+
return m.call(o);
|
|
1872
|
+
}
|
|
1873
|
+
if (o && typeof o.length === "number") {
|
|
1874
|
+
return {next:function() {
|
|
1875
|
+
o && i >= o.length && (o = void 0);
|
|
1876
|
+
return {value:o && o[i++], done:!o};
|
|
1877
|
+
}};
|
|
1878
|
+
}
|
|
1879
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
1871
1880
|
};
|
|
1872
1881
|
module$exports$tslib.__read = function(o, n) {
|
|
1873
1882
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -1911,9 +1920,6 @@ module$exports$tslib.__spreadArrays = function() {
|
|
|
1911
1920
|
return r;
|
|
1912
1921
|
};
|
|
1913
1922
|
module$exports$tslib.__spreadArray = function(to, from, pack) {
|
|
1914
|
-
if (!(Array.isArray(from) || from instanceof NodeList) && Object.prototype.toString.call(from) !== "[object Arguments]") {
|
|
1915
|
-
throw new TypeError("Expected an Array, NodeList, or or Arguments: " + String(from));
|
|
1916
|
-
}
|
|
1917
1923
|
if (pack || arguments.length === 2) {
|
|
1918
1924
|
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1919
1925
|
!ar && i in from || (ar || (ar = Array.prototype.slice.call(from, 0, i)), ar[i] = from[i]);
|
|
@@ -1955,7 +1961,7 @@ module$exports$tslib.__asyncGenerator = function(thisArg, _arguments, generator)
|
|
|
1955
1961
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1956
1962
|
}
|
|
1957
1963
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
1958
|
-
return i =
|
|
1964
|
+
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", function(f) {
|
|
1959
1965
|
return function(v) {
|
|
1960
1966
|
return Promise.resolve(v).then(f, reject);
|
|
1961
1967
|
};
|
|
@@ -1966,14 +1972,14 @@ module$exports$tslib.__asyncGenerator = function(thisArg, _arguments, generator)
|
|
|
1966
1972
|
module$exports$tslib.__asyncDelegator = function(o) {
|
|
1967
1973
|
function verb(n, f) {
|
|
1968
1974
|
i[n] = o[n] ? function(v) {
|
|
1969
|
-
return (p = !p) ? {value:new module$exports$tslib.__await(o[n](v)), done
|
|
1975
|
+
return (p = !p) ? {value:new module$exports$tslib.__await(o[n](v)), done:!1} : f ? f(v) : v;
|
|
1970
1976
|
} : f;
|
|
1971
1977
|
}
|
|
1972
1978
|
var i, p;
|
|
1973
1979
|
return i = {}, verb("next"), verb("throw", function(e) {
|
|
1974
1980
|
throw e;
|
|
1975
1981
|
}), verb("return"), i[Symbol.iterator] = function() {
|
|
1976
|
-
return
|
|
1982
|
+
return this;
|
|
1977
1983
|
}, i;
|
|
1978
1984
|
};
|
|
1979
1985
|
module$exports$tslib.__asyncValues = function(o) {
|
|
@@ -2070,24 +2076,34 @@ module$exports$tslib.__disposeResources = function(env) {
|
|
|
2070
2076
|
env.hasError = !0;
|
|
2071
2077
|
}
|
|
2072
2078
|
function next() {
|
|
2073
|
-
for (; env.stack.
|
|
2074
|
-
var rec = env.stack.pop();
|
|
2079
|
+
for (; r = env.stack.pop();) {
|
|
2075
2080
|
try {
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2081
|
+
if (!r.async && s === 1) {
|
|
2082
|
+
return s = 0, env.stack.push(r), Promise.resolve().then(next);
|
|
2083
|
+
}
|
|
2084
|
+
if (r.dispose) {
|
|
2085
|
+
var result = r.dispose.call(r.value);
|
|
2086
|
+
if (r.async) {
|
|
2087
|
+
return s |= 2, Promise.resolve(result).then(next, function(e) {
|
|
2088
|
+
fail(e);
|
|
2089
|
+
return next();
|
|
2090
|
+
});
|
|
2091
|
+
}
|
|
2092
|
+
} else {
|
|
2093
|
+
s |= 1;
|
|
2082
2094
|
}
|
|
2083
2095
|
} catch (e) {
|
|
2084
2096
|
fail(e);
|
|
2085
2097
|
}
|
|
2086
2098
|
}
|
|
2099
|
+
if (s === 1) {
|
|
2100
|
+
return env.hasError ? Promise.reject(env.error) : Promise.resolve();
|
|
2101
|
+
}
|
|
2087
2102
|
if (env.hasError) {
|
|
2088
2103
|
throw env.error;
|
|
2089
2104
|
}
|
|
2090
2105
|
}
|
|
2106
|
+
var r, s = 0;
|
|
2091
2107
|
return next();
|
|
2092
2108
|
};
|
|
2093
2109
|
var module$exports$enable_goog_asserts = {}, module$contents$enable_goog_asserts_module = module$contents$enable_goog_asserts_module || {id:"javascript/common/asserts/enable_goog_asserts.closure.js"};
|
|
@@ -2171,9 +2187,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2171
2187
|
};
|
|
2172
2188
|
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;
|
|
2173
2189
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2174
|
-
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$
|
|
2175
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2176
|
-
var key = $jscomp$key$
|
|
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$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
2191
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2192
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2177
2193
|
if (value != null) {
|
|
2178
2194
|
var copy = void 0;
|
|
2179
2195
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2184,11 +2200,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2184
2200
|
} else if (objects.hasOwnProperty(key)) {
|
|
2185
2201
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2186
2202
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2187
|
-
$jscomp$loop$
|
|
2203
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2188
2204
|
return function(v) {
|
|
2189
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2205
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2190
2206
|
};
|
|
2191
|
-
}($jscomp$loop$
|
|
2207
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2192
2208
|
} else if (Array.isArray(value)) {
|
|
2193
2209
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2194
2210
|
continue;
|
|
@@ -2203,8 +2219,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2203
2219
|
return target;
|
|
2204
2220
|
}
|
|
2205
2221
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2206
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2207
|
-
var mapKey = $jscomp$key$
|
|
2222
|
+
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()) {
|
|
2223
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2208
2224
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2209
2225
|
}
|
|
2210
2226
|
return objMap;
|
|
@@ -2234,39 +2250,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2234
2250
|
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))) {
|
|
2235
2251
|
return !1;
|
|
2236
2252
|
}
|
|
2237
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2238
|
-
var key = $jscomp$key$
|
|
2253
|
+
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()) {
|
|
2254
|
+
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);
|
|
2239
2255
|
if (has1 !== has2) {
|
|
2240
2256
|
return !1;
|
|
2241
2257
|
}
|
|
2242
2258
|
if (has1) {
|
|
2243
2259
|
var value1 = serializable1.Serializable$get(key);
|
|
2244
|
-
$jscomp$loop$
|
|
2260
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2245
2261
|
if (arrays1.hasOwnProperty(key)) {
|
|
2246
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2262
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2247
2263
|
return !1;
|
|
2248
2264
|
}
|
|
2249
2265
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2250
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2266
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2251
2267
|
return !1;
|
|
2252
2268
|
}
|
|
2253
2269
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2254
|
-
if ($jscomp$loop$
|
|
2255
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2270
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2271
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2256
2272
|
return function(v1, i) {
|
|
2257
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2273
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2258
2274
|
};
|
|
2259
|
-
}($jscomp$loop$
|
|
2275
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2260
2276
|
return !1;
|
|
2261
2277
|
}
|
|
2262
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2278
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2263
2279
|
return !1;
|
|
2264
2280
|
}
|
|
2265
2281
|
} else if (Array.isArray(value1)) {
|
|
2266
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2282
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2267
2283
|
return !1;
|
|
2268
2284
|
}
|
|
2269
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2285
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2270
2286
|
return !1;
|
|
2271
2287
|
}
|
|
2272
2288
|
}
|
|
@@ -2288,8 +2304,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2288
2304
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2289
2305
|
return !1;
|
|
2290
2306
|
}
|
|
2291
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2292
|
-
var mapKey = $jscomp$key$
|
|
2307
|
+
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()) {
|
|
2308
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2293
2309
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2294
2310
|
return !1;
|
|
2295
2311
|
}
|
|
@@ -2370,15 +2386,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2370
2386
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2371
2387
|
};
|
|
2372
2388
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2373
|
-
var $jscomp$this$
|
|
2389
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2374
2390
|
payload += this._metadataPayload;
|
|
2375
2391
|
return Promise.all(this.files.map(function(f) {
|
|
2376
|
-
return $jscomp$this$
|
|
2392
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2377
2393
|
})).then(function(filePayloads) {
|
|
2378
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2379
|
-
payload += $jscomp$key$
|
|
2394
|
+
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()) {
|
|
2395
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2380
2396
|
}
|
|
2381
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2397
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2382
2398
|
});
|
|
2383
2399
|
};
|
|
2384
2400
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2883,8 +2899,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2883
2899
|
throw Error(message);
|
|
2884
2900
|
}
|
|
2885
2901
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2886
|
-
var $jscomp$templatelit$
|
|
2887
|
-
["\\0"]), $jscomp$templatelit$
|
|
2902
|
+
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"],
|
|
2903
|
+
["\\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"};
|
|
2888
2904
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2889
2905
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2890
2906
|
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 ##############################");
|
|
@@ -2898,14 +2914,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2898
2914
|
return fn.toString().indexOf("`") === -1;
|
|
2899
2915
|
}
|
|
2900
2916
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2901
|
-
return tag($jscomp$templatelit$
|
|
2917
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2902
2918
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2903
|
-
return tag($jscomp$templatelit$
|
|
2919
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2904
2920
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2905
|
-
return tag($jscomp$templatelit$
|
|
2921
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2906
2922
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2907
|
-
return tag($jscomp$templatelit$
|
|
2908
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2923
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2924
|
+
}), 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);
|
|
2909
2925
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2910
2926
|
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)) ?
|
|
2911
2927
|
!0 : !1;
|
|
@@ -3125,24 +3141,26 @@ function module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSan
|
|
|
3125
3141
|
}
|
|
3126
3142
|
module$exports$safevalues$builders$url_builders.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
3127
3143
|
var module$exports$safevalues$dom$elements$anchor = {}, module$contents$safevalues$dom$elements$anchor_module = module$contents$safevalues$dom$elements$anchor_module || {id:"third_party/javascript/safevalues/dom/elements/anchor.closure.js"};
|
|
3128
|
-
module$
|
|
3144
|
+
function module$contents$safevalues$dom$elements$anchor_setAnchorHref(anchor, url) {
|
|
3129
3145
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3130
3146
|
sanitizedUrl !== void 0 && (anchor.href = sanitizedUrl);
|
|
3131
|
-
}
|
|
3132
|
-
module$exports$safevalues$dom$elements$anchor.
|
|
3147
|
+
}
|
|
3148
|
+
module$exports$safevalues$dom$elements$anchor.setAnchorHref = module$contents$safevalues$dom$elements$anchor_setAnchorHref;
|
|
3149
|
+
function module$contents$safevalues$dom$elements$anchor_setAnchorHrefLite(anchor, url) {
|
|
3133
3150
|
module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) || (anchor.href = url);
|
|
3134
|
-
}
|
|
3151
|
+
}
|
|
3152
|
+
module$exports$safevalues$dom$elements$anchor.setAnchorHrefLite = module$contents$safevalues$dom$elements$anchor_setAnchorHrefLite;
|
|
3135
3153
|
var module$contents$safevalues$dom$elements$area_module = module$contents$safevalues$dom$elements$area_module || {id:"third_party/javascript/safevalues/dom/elements/area.closure.js"};
|
|
3136
|
-
function module$contents$safevalues$dom$elements$
|
|
3154
|
+
function module$contents$safevalues$dom$elements$area_setAreaHref(area, url) {
|
|
3137
3155
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3138
3156
|
sanitizedUrl !== void 0 && (area.href = sanitizedUrl);
|
|
3139
3157
|
}
|
|
3140
3158
|
;var module$contents$safevalues$dom$elements$base_module = module$contents$safevalues$dom$elements$base_module || {id:"third_party/javascript/safevalues/dom/elements/base.closure.js"};
|
|
3141
|
-
function module$contents$safevalues$dom$elements$
|
|
3159
|
+
function module$contents$safevalues$dom$elements$base_setBaseHref(baseEl, url) {
|
|
3142
3160
|
baseEl.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
3143
3161
|
}
|
|
3144
3162
|
;var module$contents$safevalues$dom$elements$button_module = module$contents$safevalues$dom$elements$button_module || {id:"third_party/javascript/safevalues/dom/elements/button.closure.js"};
|
|
3145
|
-
function module$contents$safevalues$dom$elements$
|
|
3163
|
+
function module$contents$safevalues$dom$elements$button_setButtonFormaction(button, url) {
|
|
3146
3164
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3147
3165
|
sanitizedUrl !== void 0 && (button.formAction = sanitizedUrl);
|
|
3148
3166
|
}
|
|
@@ -3204,27 +3222,31 @@ module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
|
|
|
3204
3222
|
throw Error(message);
|
|
3205
3223
|
};
|
|
3206
3224
|
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;
|
|
3207
|
-
module$
|
|
3225
|
+
function module$contents$safevalues$dom$elements$element_setElementInnerHtml(elOrRoot, v) {
|
|
3208
3226
|
module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
|
|
3209
3227
|
elOrRoot.innerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3210
|
-
}
|
|
3211
|
-
module$exports$safevalues$dom$elements$element.
|
|
3228
|
+
}
|
|
3229
|
+
module$exports$safevalues$dom$elements$element.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
3230
|
+
function module$contents$safevalues$dom$elements$element_setElementOuterHtml(e, v) {
|
|
3212
3231
|
var parent = e.parentElement;
|
|
3213
3232
|
parent !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(parent);
|
|
3214
3233
|
e.outerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3215
|
-
}
|
|
3216
|
-
module$exports$safevalues$dom$elements$element.
|
|
3234
|
+
}
|
|
3235
|
+
module$exports$safevalues$dom$elements$element.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
3236
|
+
function module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml(element, position, v) {
|
|
3217
3237
|
var tagContext = position === "beforebegin" || position === "afterend" ? element.parentElement : element;
|
|
3218
3238
|
tagContext !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(tagContext);
|
|
3219
3239
|
element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
|
|
3220
|
-
}
|
|
3221
|
-
module$exports$safevalues$dom$elements$element.
|
|
3240
|
+
}
|
|
3241
|
+
module$exports$safevalues$dom$elements$element.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
3242
|
+
function module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter(prefix) {
|
|
3222
3243
|
var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
|
|
3223
3244
|
return function(e, attr, value) {
|
|
3224
|
-
module$contents$safevalues$dom$elements$
|
|
3245
|
+
module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute(prefixes, e, attr, value);
|
|
3225
3246
|
};
|
|
3226
|
-
}
|
|
3227
|
-
|
|
3247
|
+
}
|
|
3248
|
+
module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
3249
|
+
function module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute(attrPrefixes, e, attr, value) {
|
|
3228
3250
|
if (attrPrefixes.length === 0) {
|
|
3229
3251
|
var message = "";
|
|
3230
3252
|
goog.DEBUG && (message = "No prefixes are provided");
|
|
@@ -3240,28 +3262,30 @@ function module$contents$safevalues$dom$elements$element_setPrefixedAttribute(at
|
|
|
3240
3262
|
}
|
|
3241
3263
|
e.setAttribute(attr, value);
|
|
3242
3264
|
}
|
|
3243
|
-
module$exports$safevalues$dom$elements$element.
|
|
3265
|
+
module$exports$safevalues$dom$elements$element.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
3244
3266
|
function module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(element) {
|
|
3245
3267
|
var message = "", tagName = element.tagName;
|
|
3246
3268
|
if (/^(script|style)$/i.test(tagName)) {
|
|
3247
|
-
throw goog.DEBUG && (message = tagName.toLowerCase() === "script" ? "Use
|
|
3269
|
+
throw goog.DEBUG && (message = tagName.toLowerCase() === "script" ? "Use setScriptTextContent with a SafeScript." : "Use setStyleTextContent with a SafeStyleSheet."), Error(message);
|
|
3248
3270
|
}
|
|
3249
3271
|
}
|
|
3250
3272
|
function module$contents$safevalues$dom$elements$element_isElement(elOrRoot) {
|
|
3251
3273
|
return elOrRoot.nodeType === 1;
|
|
3252
3274
|
}
|
|
3253
3275
|
;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"};
|
|
3254
|
-
function module$contents$safevalues$dom$elements$
|
|
3276
|
+
function module$contents$safevalues$dom$elements$embed_setEmbedSrc(embedEl, url) {
|
|
3255
3277
|
embedEl.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
3256
3278
|
}
|
|
3257
3279
|
;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"};
|
|
3258
|
-
module$
|
|
3280
|
+
function module$contents$safevalues$dom$elements$form_setFormAction(form, url) {
|
|
3259
3281
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3260
3282
|
sanitizedUrl !== void 0 && (form.action = sanitizedUrl);
|
|
3261
|
-
}
|
|
3262
|
-
module$exports$safevalues$dom$elements$form.
|
|
3283
|
+
}
|
|
3284
|
+
module$exports$safevalues$dom$elements$form.setFormAction = module$contents$safevalues$dom$elements$form_setFormAction;
|
|
3285
|
+
function module$contents$safevalues$dom$elements$form_setFormActionLite(form, url) {
|
|
3263
3286
|
module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) || (form.action = url);
|
|
3264
|
-
}
|
|
3287
|
+
}
|
|
3288
|
+
module$exports$safevalues$dom$elements$form.setFormActionLite = module$contents$safevalues$dom$elements$form_setFormActionLite;
|
|
3265
3289
|
var module$exports$check = {}, module$contents$check_module = module$contents$check_module || {id:"javascript/typescript/contrib/check.closure.js"};
|
|
3266
3290
|
function module$contents$check_checkExhaustive(value, msg) {
|
|
3267
3291
|
return module$contents$check_checkExhaustiveAllowing(value, msg);
|
|
@@ -3276,18 +3300,18 @@ module$exports$check.assumeExhaustive = function(value) {
|
|
|
3276
3300
|
module$exports$check.assumeExhaustiveAllowing = function(value) {
|
|
3277
3301
|
};
|
|
3278
3302
|
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"};
|
|
3279
|
-
function module$contents$safevalues$dom$elements$
|
|
3303
|
+
function module$contents$safevalues$dom$elements$iframe_setIframeSrc(iframe, v) {
|
|
3280
3304
|
iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v).toString();
|
|
3281
3305
|
}
|
|
3282
|
-
module$exports$safevalues$dom$elements$iframe.
|
|
3283
|
-
function module$contents$safevalues$dom$elements$
|
|
3306
|
+
module$exports$safevalues$dom$elements$iframe.setIframeSrc = module$contents$safevalues$dom$elements$iframe_setIframeSrc;
|
|
3307
|
+
function module$contents$safevalues$dom$elements$iframe_setIframeSrcdoc(iframe, v) {
|
|
3284
3308
|
iframe.srcdoc = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3285
3309
|
}
|
|
3286
|
-
module$exports$safevalues$dom$elements$iframe.
|
|
3287
|
-
module$exports$safevalues$dom$elements$iframe.
|
|
3288
|
-
module$exports$safevalues$dom$elements$iframe.
|
|
3289
|
-
module$exports$safevalues$dom$elements$iframe.
|
|
3290
|
-
module$exports$safevalues$dom$elements$iframe.
|
|
3310
|
+
module$exports$safevalues$dom$elements$iframe.setIframeSrcdoc = module$contents$safevalues$dom$elements$iframe_setIframeSrcdoc;
|
|
3311
|
+
module$exports$safevalues$dom$elements$iframe.IframeIntent = {FORMATTED_HTML_CONTENT:0, EMBEDDED_INTERNAL_CONTENT:1, EMBEDDED_TRUSTED_EXTERNAL_CONTENT:2};
|
|
3312
|
+
module$exports$safevalues$dom$elements$iframe.IframeIntent[module$exports$safevalues$dom$elements$iframe.IframeIntent.FORMATTED_HTML_CONTENT] = "FORMATTED_HTML_CONTENT";
|
|
3313
|
+
module$exports$safevalues$dom$elements$iframe.IframeIntent[module$exports$safevalues$dom$elements$iframe.IframeIntent.EMBEDDED_INTERNAL_CONTENT] = "EMBEDDED_INTERNAL_CONTENT";
|
|
3314
|
+
module$exports$safevalues$dom$elements$iframe.IframeIntent[module$exports$safevalues$dom$elements$iframe.IframeIntent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT] = "EMBEDDED_TRUSTED_EXTERNAL_CONTENT";
|
|
3291
3315
|
var module$contents$safevalues$dom$elements$iframe_SandboxDirective = {ALLOW_SAME_ORIGIN:"allow-same-origin", ALLOW_SCRIPTS:"allow-scripts", ALLOW_FORMS:"allow-forms", ALLOW_POPUPS:"allow-popups", ALLOW_POPUPS_TO_ESCAPE_SANDBOX:"allow-popups-to-escape-sandbox", ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION:"allow-storage-access-by-user-activation"};
|
|
3292
3316
|
function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr, directives) {
|
|
3293
3317
|
ifr.setAttribute("sandbox", "");
|
|
@@ -3295,37 +3319,37 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3295
3319
|
ifr.sandbox.supports && !ifr.sandbox.supports(directives[i]) || ifr.sandbox.add(directives[i]);
|
|
3296
3320
|
}
|
|
3297
3321
|
}
|
|
3298
|
-
module$exports$safevalues$dom$elements$iframe.
|
|
3299
|
-
var $jscomp$tmp$error$
|
|
3300
|
-
this.message = $jscomp$tmp$error$
|
|
3301
|
-
"stack" in $jscomp$tmp$error$
|
|
3322
|
+
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3323
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3324
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3325
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3302
3326
|
this.type = type;
|
|
3303
3327
|
this.intent = intent;
|
|
3304
|
-
this.name = "
|
|
3328
|
+
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
3305
3329
|
};
|
|
3306
|
-
$jscomp.inherits(module$exports$safevalues$dom$elements$iframe.
|
|
3307
|
-
module$
|
|
3330
|
+
$jscomp.inherits(module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError, Error);
|
|
3331
|
+
function module$contents$safevalues$dom$elements$iframe_setIframeSrcWithIntent(element, intent, src) {
|
|
3308
3332
|
element.removeAttribute("srcdoc");
|
|
3309
3333
|
switch(intent) {
|
|
3310
|
-
case module$exports$safevalues$dom$elements$iframe.
|
|
3334
|
+
case module$exports$safevalues$dom$elements$iframe.IframeIntent.FORMATTED_HTML_CONTENT:
|
|
3311
3335
|
if (src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
3312
|
-
throw new module$exports$safevalues$dom$elements$iframe.
|
|
3336
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.IframeIntent.FORMATTED_HTML_CONTENT);
|
|
3313
3337
|
}
|
|
3314
3338
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
|
|
3315
3339
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(src);
|
|
3316
3340
|
sanitizedUrl !== void 0 && (element.src = sanitizedUrl);
|
|
3317
3341
|
break;
|
|
3318
|
-
case module$exports$safevalues$dom$elements$iframe.
|
|
3342
|
+
case module$exports$safevalues$dom$elements$iframe.IframeIntent.EMBEDDED_INTERNAL_CONTENT:
|
|
3319
3343
|
if (!(src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl)) {
|
|
3320
|
-
throw new module$exports$safevalues$dom$elements$iframe.
|
|
3344
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError(typeof src, module$exports$safevalues$dom$elements$iframe.IframeIntent.EMBEDDED_INTERNAL_CONTENT);
|
|
3321
3345
|
}
|
|
3322
3346
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
|
|
3323
3347
|
module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
|
|
3324
|
-
module$contents$safevalues$dom$elements$
|
|
3348
|
+
module$contents$safevalues$dom$elements$iframe_setIframeSrc(element, src);
|
|
3325
3349
|
break;
|
|
3326
|
-
case module$exports$safevalues$dom$elements$iframe.
|
|
3350
|
+
case module$exports$safevalues$dom$elements$iframe.IframeIntent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
|
|
3327
3351
|
if (src instanceof module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl) {
|
|
3328
|
-
throw new module$exports$safevalues$dom$elements$iframe.
|
|
3352
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError("TrustedResourceUrl", module$exports$safevalues$dom$elements$iframe.IframeIntent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT);
|
|
3329
3353
|
}
|
|
3330
3354
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
|
|
3331
3355
|
module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
|
|
@@ -3335,47 +3359,49 @@ module$exports$safevalues$dom$elements$iframe.setSrcWithIntent = function(elemen
|
|
|
3335
3359
|
default:
|
|
3336
3360
|
module$contents$check_checkExhaustive(intent);
|
|
3337
3361
|
}
|
|
3338
|
-
}
|
|
3339
|
-
module$exports$safevalues$dom$elements$iframe.
|
|
3362
|
+
}
|
|
3363
|
+
module$exports$safevalues$dom$elements$iframe.setIframeSrcWithIntent = module$contents$safevalues$dom$elements$iframe_setIframeSrcWithIntent;
|
|
3364
|
+
function module$contents$safevalues$dom$elements$iframe_setIframeSrcdocWithIntent(element, intent, srcdoc) {
|
|
3340
3365
|
element.removeAttribute("src");
|
|
3341
3366
|
switch(intent) {
|
|
3342
|
-
case module$exports$safevalues$dom$elements$iframe.
|
|
3367
|
+
case module$exports$safevalues$dom$elements$iframe.IframeIntent.FORMATTED_HTML_CONTENT:
|
|
3343
3368
|
if (srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
|
|
3344
|
-
throw new module$exports$safevalues$dom$elements$iframe.
|
|
3369
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError("SafeHtml", module$exports$safevalues$dom$elements$iframe.IframeIntent.FORMATTED_HTML_CONTENT);
|
|
3345
3370
|
}
|
|
3346
3371
|
element.csp = "default-src 'none'";
|
|
3347
3372
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, []);
|
|
3348
|
-
module$contents$safevalues$dom$elements$
|
|
3373
|
+
module$contents$safevalues$dom$elements$iframe_setIframeSrcdoc(element, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(srcdoc));
|
|
3349
3374
|
break;
|
|
3350
|
-
case module$exports$safevalues$dom$elements$iframe.
|
|
3375
|
+
case module$exports$safevalues$dom$elements$iframe.IframeIntent.EMBEDDED_INTERNAL_CONTENT:
|
|
3351
3376
|
if (!(srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml)) {
|
|
3352
|
-
throw new module$exports$safevalues$dom$elements$iframe.
|
|
3377
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError("string", module$exports$safevalues$dom$elements$iframe.IframeIntent.EMBEDDED_INTERNAL_CONTENT);
|
|
3353
3378
|
}
|
|
3354
3379
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SAME_ORIGIN, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,
|
|
3355
3380
|
module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
|
|
3356
|
-
module$contents$safevalues$dom$elements$
|
|
3381
|
+
module$contents$safevalues$dom$elements$iframe_setIframeSrcdoc(element, srcdoc);
|
|
3357
3382
|
break;
|
|
3358
|
-
case module$exports$safevalues$dom$elements$iframe.
|
|
3383
|
+
case module$exports$safevalues$dom$elements$iframe.IframeIntent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:
|
|
3359
3384
|
if (srcdoc instanceof module$exports$safevalues$internals$html_impl.SafeHtml) {
|
|
3360
|
-
throw new module$exports$safevalues$dom$elements$iframe.
|
|
3385
|
+
throw new module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError("SafeHtml", module$exports$safevalues$dom$elements$iframe.IframeIntent.EMBEDDED_INTERNAL_CONTENT);
|
|
3361
3386
|
}
|
|
3362
3387
|
module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(element, [module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS, module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX,
|
|
3363
3388
|
module$contents$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);
|
|
3364
|
-
module$contents$safevalues$dom$elements$
|
|
3389
|
+
module$contents$safevalues$dom$elements$iframe_setIframeSrcdoc(element, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(srcdoc));
|
|
3365
3390
|
break;
|
|
3366
3391
|
default:
|
|
3367
3392
|
module$contents$check_checkExhaustive(intent);
|
|
3368
3393
|
}
|
|
3369
|
-
}
|
|
3394
|
+
}
|
|
3395
|
+
module$exports$safevalues$dom$elements$iframe.setIframeSrcdocWithIntent = module$contents$safevalues$dom$elements$iframe_setIframeSrcdocWithIntent;
|
|
3370
3396
|
var module$contents$safevalues$dom$elements$input_module = module$contents$safevalues$dom$elements$input_module || {id:"third_party/javascript/safevalues/dom/elements/input.closure.js"};
|
|
3371
|
-
function module$contents$safevalues$dom$elements$
|
|
3397
|
+
function module$contents$safevalues$dom$elements$input_setInputFormaction(input, url) {
|
|
3372
3398
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3373
3399
|
sanitizedUrl !== void 0 && (input.formAction = sanitizedUrl);
|
|
3374
3400
|
}
|
|
3375
3401
|
;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(" ");
|
|
3376
|
-
module$
|
|
3402
|
+
function module$contents$safevalues$dom$elements$link_setLinkHrefAndRel(link, url, rel) {
|
|
3377
3403
|
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
3378
|
-
module$contents$safevalues$dom$elements$
|
|
3404
|
+
module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel(link, url, rel);
|
|
3379
3405
|
} else {
|
|
3380
3406
|
if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
|
|
3381
3407
|
throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
|
|
@@ -3383,30 +3409,34 @@ module$exports$safevalues$dom$elements$link.setHrefAndRel = function(link, url,
|
|
|
3383
3409
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3384
3410
|
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
3385
3411
|
}
|
|
3386
|
-
}
|
|
3387
|
-
|
|
3412
|
+
}
|
|
3413
|
+
module$exports$safevalues$dom$elements$link.setLinkHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkHrefAndRel;
|
|
3414
|
+
function module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel(link, url, rel) {
|
|
3388
3415
|
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
3389
3416
|
link.rel = rel;
|
|
3390
3417
|
}
|
|
3391
|
-
module$exports$safevalues$dom$elements$link.
|
|
3418
|
+
module$exports$safevalues$dom$elements$link.setLinkWithResourceUrlHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel;
|
|
3392
3419
|
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"};
|
|
3393
|
-
function module$contents$safevalues$dom$elements$
|
|
3420
|
+
function module$contents$safevalues$dom$elements$object_setObjectData(obj, v) {
|
|
3394
3421
|
obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
3395
3422
|
}
|
|
3396
3423
|
;var module$exports$safevalues$dom$globals$window = {}, module$contents$safevalues$dom$globals$window_module = module$contents$safevalues$dom$globals$window_module || {id:"third_party/javascript/safevalues/dom/globals/window.closure.js"};
|
|
3397
|
-
module$
|
|
3424
|
+
function module$contents$safevalues$dom$globals$window_windowOpen(win, url, target, features) {
|
|
3398
3425
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3399
3426
|
return sanitizedUrl !== void 0 ? win.open(sanitizedUrl, target, features) : null;
|
|
3400
|
-
}
|
|
3401
|
-
module$exports$safevalues$dom$globals$window.
|
|
3427
|
+
}
|
|
3428
|
+
module$exports$safevalues$dom$globals$window.windowOpen = module$contents$safevalues$dom$globals$window_windowOpen;
|
|
3429
|
+
function module$contents$safevalues$dom$globals$window_getScriptNonce(documentOrWindow) {
|
|
3402
3430
|
return module$contents$safevalues$dom$globals$window_getNonceFor("script", documentOrWindow);
|
|
3403
|
-
}
|
|
3404
|
-
module$exports$safevalues$dom$globals$window.
|
|
3431
|
+
}
|
|
3432
|
+
module$exports$safevalues$dom$globals$window.getScriptNonce = module$contents$safevalues$dom$globals$window_getScriptNonce;
|
|
3433
|
+
function module$contents$safevalues$dom$globals$window_getStyleNonce(documentOrWindow) {
|
|
3405
3434
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", documentOrWindow);
|
|
3406
|
-
}
|
|
3435
|
+
}
|
|
3436
|
+
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3407
3437
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, documentOrWindow) {
|
|
3408
3438
|
documentOrWindow = documentOrWindow === void 0 ? document : documentOrWindow;
|
|
3409
|
-
var $jscomp$optchain$
|
|
3439
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = "document" in documentOrWindow ? documentOrWindow.document : documentOrWindow).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
3410
3440
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3411
3441
|
}
|
|
3412
3442
|
;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"};
|
|
@@ -3444,17 +3474,19 @@ function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
|
|
|
3444
3474
|
module$exports$safevalues$internals$script_impl.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
3445
3475
|
var module$exports$safevalues$dom$elements$script = {}, module$contents$safevalues$dom$elements$script_module = module$contents$safevalues$dom$elements$script_module || {id:"third_party/javascript/safevalues/dom/elements/script.closure.js"};
|
|
3446
3476
|
function module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script) {
|
|
3447
|
-
var nonce =
|
|
3477
|
+
var nonce = module$contents$safevalues$dom$globals$window_getScriptNonce(script.ownerDocument);
|
|
3448
3478
|
nonce && script.setAttribute("nonce", nonce);
|
|
3449
3479
|
}
|
|
3450
|
-
module$
|
|
3480
|
+
function module$contents$safevalues$dom$elements$script_setScriptTextContent(script, v, options) {
|
|
3451
3481
|
script.textContent = module$contents$safevalues$internals$script_impl_unwrapScript(v);
|
|
3452
3482
|
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
3453
|
-
}
|
|
3454
|
-
module$exports$safevalues$dom$elements$script.
|
|
3483
|
+
}
|
|
3484
|
+
module$exports$safevalues$dom$elements$script.setScriptTextContent = module$contents$safevalues$dom$elements$script_setScriptTextContent;
|
|
3485
|
+
function module$contents$safevalues$dom$elements$script_setScriptSrc(script, v, options) {
|
|
3455
3486
|
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
3456
3487
|
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
3457
|
-
}
|
|
3488
|
+
}
|
|
3489
|
+
module$exports$safevalues$dom$elements$script.setScriptSrc = module$contents$safevalues$dom$elements$script_setScriptSrc;
|
|
3458
3490
|
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"};
|
|
3459
3491
|
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = function(token, value) {
|
|
3460
3492
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
@@ -3481,12 +3513,12 @@ function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(
|
|
|
3481
3513
|
throw Error(message);
|
|
3482
3514
|
}
|
|
3483
3515
|
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
3484
|
-
var module$
|
|
3485
|
-
module$
|
|
3516
|
+
var module$contents$safevalues$dom$elements$style_module = module$contents$safevalues$dom$elements$style_module || {id:"third_party/javascript/safevalues/dom/elements/style.closure.js"};
|
|
3517
|
+
function module$contents$safevalues$dom$elements$style_setStyleTextContent(elem, safeStyleSheet) {
|
|
3486
3518
|
elem.textContent = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
3487
|
-
}
|
|
3488
|
-
var module$contents$safevalues$dom$elements$svg_module = module$contents$safevalues$dom$elements$svg_module || {id:"third_party/javascript/safevalues/dom/elements/svg.closure.js"}, module$contents$safevalues$dom$elements$svg_UNSAFE_SVG_ATTRIBUTES = ["href", "xlink:href"];
|
|
3489
|
-
function module$contents$safevalues$dom$elements$
|
|
3519
|
+
}
|
|
3520
|
+
;var module$contents$safevalues$dom$elements$svg_module = module$contents$safevalues$dom$elements$svg_module || {id:"third_party/javascript/safevalues/dom/elements/svg.closure.js"}, module$contents$safevalues$dom$elements$svg_UNSAFE_SVG_ATTRIBUTES = ["href", "xlink:href"];
|
|
3521
|
+
function module$contents$safevalues$dom$elements$svg_setSvgAttribute(svg, attr, value) {
|
|
3490
3522
|
var attrLower = attr.toLowerCase();
|
|
3491
3523
|
if (module$contents$safevalues$dom$elements$svg_UNSAFE_SVG_ATTRIBUTES.indexOf(attrLower) !== -1 || attrLower.indexOf("on") === 0) {
|
|
3492
3524
|
var msg = "";
|
|
@@ -4641,7 +4673,7 @@ goog.log.fine = function(logger, msg, exception) {
|
|
|
4641
4673
|
goog.log.ENABLED && logger && goog.log.log(logger, goog.log.Level.FINE, msg, exception);
|
|
4642
4674
|
};
|
|
4643
4675
|
var module$contents$safevalues$dom$elements$svg_use_module = module$contents$safevalues$dom$elements$svg_use_module || {id:"third_party/javascript/safevalues/dom/elements/svg_use.closure.js"};
|
|
4644
|
-
function module$contents$safevalues$dom$elements$
|
|
4676
|
+
function module$contents$safevalues$dom$elements$svg_use_setSvgUseHref(useEl, url) {
|
|
4645
4677
|
var scheme = module$contents$safevalues$builders$url_builders_extractScheme(url);
|
|
4646
4678
|
if (scheme === "javascript:" || scheme === "data:") {
|
|
4647
4679
|
if (goog.DEBUG) {
|
|
@@ -4653,27 +4685,28 @@ function module$contents$safevalues$dom$elements$svg_use_setHref(useEl, url) {
|
|
|
4653
4685
|
}
|
|
4654
4686
|
}
|
|
4655
4687
|
;var module$exports$safevalues$dom$globals$document = {}, module$contents$safevalues$dom$globals$document_module = module$contents$safevalues$dom$globals$document_module || {id:"third_party/javascript/safevalues/dom/globals/document.closure.js"};
|
|
4656
|
-
function module$contents$safevalues$dom$globals$
|
|
4688
|
+
function module$contents$safevalues$dom$globals$document_documentWrite(doc, text) {
|
|
4657
4689
|
doc.write((0,module$exports$safevalues$internals$html_impl.unwrapHtml)(text));
|
|
4658
4690
|
}
|
|
4659
|
-
module$exports$safevalues$dom$globals$document.
|
|
4691
|
+
module$exports$safevalues$dom$globals$document.documentWrite = module$contents$safevalues$dom$globals$document_documentWrite;
|
|
4660
4692
|
var module$contents$safevalues$dom$globals$document_ValueType;
|
|
4661
|
-
function module$contents$safevalues$dom$globals$
|
|
4693
|
+
function module$contents$safevalues$dom$globals$document_documentExecCommand(doc, command, value) {
|
|
4662
4694
|
var commandString = String(command), valueArgument = value;
|
|
4663
4695
|
commandString.toLowerCase() === "inserthtml" && (valueArgument = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(value));
|
|
4664
4696
|
return doc.execCommand(commandString, !1, valueArgument);
|
|
4665
4697
|
}
|
|
4666
|
-
module$exports$safevalues$dom$globals$document.
|
|
4667
|
-
function module$contents$safevalues$dom$globals$
|
|
4698
|
+
module$exports$safevalues$dom$globals$document.documentExecCommand = module$contents$safevalues$dom$globals$document_documentExecCommand;
|
|
4699
|
+
function module$contents$safevalues$dom$globals$document_documentExecCommandInsertHtml(doc, html) {
|
|
4668
4700
|
return doc.execCommand("insertHTML", !1, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(html));
|
|
4669
4701
|
}
|
|
4670
|
-
module$exports$safevalues$dom$globals$document.
|
|
4702
|
+
module$exports$safevalues$dom$globals$document.documentExecCommandInsertHtml = module$contents$safevalues$dom$globals$document_documentExecCommandInsertHtml;
|
|
4671
4703
|
var module$exports$safevalues$dom$globals$dom_parser = {}, module$contents$safevalues$dom$globals$dom_parser_module = module$contents$safevalues$dom$globals$dom_parser_module || {id:"third_party/javascript/safevalues/dom/globals/dom_parser.closure.js"};
|
|
4672
|
-
module$
|
|
4673
|
-
return module$contents$safevalues$dom$globals$
|
|
4674
|
-
}
|
|
4675
|
-
module$exports$safevalues$dom$globals$dom_parser.
|
|
4676
|
-
|
|
4704
|
+
function module$contents$safevalues$dom$globals$dom_parser_domParserParseHtml(parser, html) {
|
|
4705
|
+
return module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString(parser, html, "text/html");
|
|
4706
|
+
}
|
|
4707
|
+
module$exports$safevalues$dom$globals$dom_parser.domParserParseHtml = module$contents$safevalues$dom$globals$dom_parser_domParserParseHtml;
|
|
4708
|
+
function module$contents$safevalues$dom$globals$dom_parser_domParserParseXml(parser, xml) {
|
|
4709
|
+
for (var doc = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString(parser, (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(xml), "text/xml"), iterator = document.createNodeIterator(doc, NodeFilter.SHOW_ELEMENT), currentNode; currentNode = iterator.nextNode();) {
|
|
4677
4710
|
var ns = currentNode.namespaceURI;
|
|
4678
4711
|
if (module$contents$safevalues$dom$globals$dom_parser_isUnsafeNamespace(ns)) {
|
|
4679
4712
|
var message = "unsafe XML";
|
|
@@ -4682,19 +4715,20 @@ module$exports$safevalues$dom$globals$dom_parser.parseXml = function(parser, xml
|
|
|
4682
4715
|
}
|
|
4683
4716
|
}
|
|
4684
4717
|
return doc;
|
|
4685
|
-
}
|
|
4718
|
+
}
|
|
4719
|
+
module$exports$safevalues$dom$globals$dom_parser.domParserParseXml = module$contents$safevalues$dom$globals$dom_parser_domParserParseXml;
|
|
4686
4720
|
function module$contents$safevalues$dom$globals$dom_parser_isUnsafeNamespace(ns) {
|
|
4687
4721
|
return ns === "http://www.w3.org/1999/xhtml" || ns === "http://www.w3.org/2000/svg" || ns === "http://www.w3.org/1998/Math/MathML";
|
|
4688
4722
|
}
|
|
4689
|
-
function module$contents$safevalues$dom$globals$
|
|
4723
|
+
function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString(parser, content, contentType) {
|
|
4690
4724
|
return parser.parseFromString((0,module$exports$safevalues$internals$html_impl.unwrapHtml)(content), contentType);
|
|
4691
4725
|
}
|
|
4692
|
-
module$exports$safevalues$dom$globals$dom_parser.
|
|
4726
|
+
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4693
4727
|
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"};
|
|
4694
4728
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4695
|
-
var $jscomp$tmp$error$
|
|
4696
|
-
this.message = $jscomp$tmp$error$
|
|
4697
|
-
"stack" in $jscomp$tmp$error$
|
|
4729
|
+
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.");
|
|
4730
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4731
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4698
4732
|
this.url = url;
|
|
4699
4733
|
this.typeName = typeName;
|
|
4700
4734
|
this.contentType = contentType;
|
|
@@ -4706,48 +4740,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4706
4740
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4707
4741
|
}
|
|
4708
4742
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4709
|
-
var response, $jscomp$optchain$
|
|
4710
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4711
|
-
if ($jscomp$generator$context$
|
|
4712
|
-
return $jscomp$generator$context$
|
|
4713
|
-
}
|
|
4714
|
-
response = $jscomp$generator$context$
|
|
4715
|
-
mimeType = ($jscomp$optchain$
|
|
4716
|
-
return $jscomp$generator$context$
|
|
4743
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4744
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4745
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
4746
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4747
|
+
}
|
|
4748
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
4749
|
+
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();
|
|
4750
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4717
4751
|
var text;
|
|
4718
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4719
|
-
if ($jscomp$generator$context$
|
|
4752
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4753
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
4720
4754
|
if (mimeType !== "text/html") {
|
|
4721
4755
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4722
4756
|
}
|
|
4723
|
-
return $jscomp$generator$context$
|
|
4757
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4724
4758
|
}
|
|
4725
|
-
text = $jscomp$generator$context$
|
|
4726
|
-
return $jscomp$generator$context$
|
|
4759
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
4760
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4727
4761
|
});
|
|
4728
4762
|
}, script:function() {
|
|
4729
4763
|
var text;
|
|
4730
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4731
|
-
if ($jscomp$generator$context$
|
|
4764
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4765
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
4732
4766
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4733
4767
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4734
4768
|
}
|
|
4735
|
-
return $jscomp$generator$context$
|
|
4769
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4736
4770
|
}
|
|
4737
|
-
text = $jscomp$generator$context$
|
|
4738
|
-
return $jscomp$generator$context$
|
|
4771
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
4772
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4739
4773
|
});
|
|
4740
4774
|
}, styleSheet:function() {
|
|
4741
4775
|
var text;
|
|
4742
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4743
|
-
if ($jscomp$generator$context$
|
|
4776
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4777
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
4744
4778
|
if (mimeType !== "text/css") {
|
|
4745
4779
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4746
4780
|
}
|
|
4747
|
-
return $jscomp$generator$context$
|
|
4781
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4748
4782
|
}
|
|
4749
|
-
text = $jscomp$generator$context$
|
|
4750
|
-
return $jscomp$generator$context$
|
|
4783
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
4784
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4751
4785
|
});
|
|
4752
4786
|
}});
|
|
4753
4787
|
});
|
|
@@ -4762,31 +4796,27 @@ function module$contents$safevalues$dom$globals$global_globalEval(win, script) {
|
|
|
4762
4796
|
}
|
|
4763
4797
|
module$exports$safevalues$dom$globals$global.globalEval = module$contents$safevalues$dom$globals$global_globalEval;
|
|
4764
4798
|
var module$exports$safevalues$dom$globals$location = {}, module$contents$safevalues$dom$globals$location_module = module$contents$safevalues$dom$globals$location_module || {id:"third_party/javascript/safevalues/dom/globals/location.closure.js"};
|
|
4765
|
-
module$
|
|
4799
|
+
function module$contents$safevalues$dom$globals$location_setLocationHref(loc, url) {
|
|
4766
4800
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4767
|
-
sanitizedUrl !== void 0 &&
|
|
4768
|
-
}
|
|
4769
|
-
module$exports$safevalues$dom$globals$location.
|
|
4801
|
+
sanitizedUrl !== void 0 && (loc.href = sanitizedUrl);
|
|
4802
|
+
}
|
|
4803
|
+
module$exports$safevalues$dom$globals$location.setLocationHref = module$contents$safevalues$dom$globals$location_setLocationHref;
|
|
4804
|
+
function module$contents$safevalues$dom$globals$location_locationReplace(loc, url) {
|
|
4770
4805
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4771
|
-
sanitizedUrl !== void 0 &&
|
|
4772
|
-
}
|
|
4773
|
-
module$exports$safevalues$dom$globals$location.
|
|
4806
|
+
sanitizedUrl !== void 0 && loc.replace(sanitizedUrl);
|
|
4807
|
+
}
|
|
4808
|
+
module$exports$safevalues$dom$globals$location.locationReplace = module$contents$safevalues$dom$globals$location_locationReplace;
|
|
4809
|
+
function module$contents$safevalues$dom$globals$location_locationAssign(loc, url) {
|
|
4774
4810
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4775
|
-
sanitizedUrl !== void 0 &&
|
|
4776
|
-
}
|
|
4777
|
-
module$exports$safevalues$dom$globals$location.
|
|
4778
|
-
loc.href = url;
|
|
4779
|
-
}, replace:function(loc, url) {
|
|
4780
|
-
loc.replace(url);
|
|
4781
|
-
}, assign:function(loc, url) {
|
|
4782
|
-
loc.assign(url);
|
|
4783
|
-
}};
|
|
4811
|
+
sanitizedUrl !== void 0 && loc.assign(sanitizedUrl);
|
|
4812
|
+
}
|
|
4813
|
+
module$exports$safevalues$dom$globals$location.locationAssign = module$contents$safevalues$dom$globals$location_locationAssign;
|
|
4784
4814
|
var module$contents$safevalues$dom$globals$range_module = module$contents$safevalues$dom$globals$range_module || {id:"third_party/javascript/safevalues/dom/globals/range.closure.js"};
|
|
4785
|
-
function module$contents$safevalues$dom$globals$
|
|
4815
|
+
function module$contents$safevalues$dom$globals$range_rangeCreateContextualFragment(range, html) {
|
|
4786
4816
|
return range.createContextualFragment((0,module$exports$safevalues$internals$html_impl.unwrapHtml)(html));
|
|
4787
4817
|
}
|
|
4788
4818
|
;var module$contents$safevalues$dom$globals$service_worker_container_module = module$contents$safevalues$dom$globals$service_worker_container_module || {id:"third_party/javascript/safevalues/dom/globals/service_worker_container.closure.js"};
|
|
4789
|
-
function module$contents$safevalues$dom$globals$
|
|
4819
|
+
function module$contents$safevalues$dom$globals$service_worker_container_serviceWorkerContainerRegister(container, scriptURL, options) {
|
|
4790
4820
|
return container.register(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(scriptURL), options);
|
|
4791
4821
|
}
|
|
4792
4822
|
;var module$contents$safevalues$dom$globals$url_module = module$contents$safevalues$dom$globals$url_module || {id:"third_party/javascript/safevalues/dom/globals/url.closure.js"};
|
|
@@ -4794,140 +4824,120 @@ function module$contents$safevalues$dom$globals$url_objectUrlFromSafeSource(sour
|
|
|
4794
4824
|
return module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource(source).toString();
|
|
4795
4825
|
}
|
|
4796
4826
|
;var module$exports$safevalues$dom$globals$worker = {}, module$contents$safevalues$dom$globals$worker_module = module$contents$safevalues$dom$globals$worker_module || {id:"third_party/javascript/safevalues/dom/globals/worker.closure.js"};
|
|
4797
|
-
module$exports$safevalues$dom$globals$worker.
|
|
4827
|
+
module$exports$safevalues$dom$globals$worker.WorkerGlobalScopeWithImportScripts = function() {
|
|
4798
4828
|
};
|
|
4799
|
-
module$
|
|
4829
|
+
function module$contents$safevalues$dom$globals$worker_createWorker(url, options) {
|
|
4800
4830
|
return new Worker(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url), options);
|
|
4801
|
-
}
|
|
4802
|
-
module$exports$safevalues$dom$globals$worker.
|
|
4831
|
+
}
|
|
4832
|
+
module$exports$safevalues$dom$globals$worker.createWorker = module$contents$safevalues$dom$globals$worker_createWorker;
|
|
4833
|
+
function module$contents$safevalues$dom$globals$worker_createSharedWorker(url, options) {
|
|
4803
4834
|
return new SharedWorker(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url), options);
|
|
4804
|
-
}
|
|
4805
|
-
module$exports$safevalues$dom$globals$worker.
|
|
4835
|
+
}
|
|
4836
|
+
module$exports$safevalues$dom$globals$worker.createSharedWorker = module$contents$safevalues$dom$globals$worker_createSharedWorker;
|
|
4837
|
+
function module$contents$safevalues$dom$globals$worker_workerGlobalScopeImportScripts(scope) {
|
|
4806
4838
|
scope.importScripts.apply(scope, (0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments).map(function(url) {
|
|
4807
4839
|
return module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
4808
4840
|
})));
|
|
4809
|
-
}
|
|
4841
|
+
}
|
|
4842
|
+
module$exports$safevalues$dom$globals$worker.workerGlobalScopeImportScripts = module$contents$safevalues$dom$globals$worker_workerGlobalScopeImportScripts;
|
|
4810
4843
|
var module$exports$safevalues$dom$index = {}, module$contents$safevalues$dom$index_module = module$contents$safevalues$dom$index_module || {id:"third_party/javascript/safevalues/dom/index.closure.js"};
|
|
4811
|
-
module$exports$safevalues$dom$index.
|
|
4812
|
-
module$exports$safevalues$dom$index.
|
|
4813
|
-
module$exports$safevalues$dom$index.
|
|
4814
|
-
module$exports$safevalues$dom$index.
|
|
4815
|
-
module$exports$safevalues$dom$index.
|
|
4816
|
-
module$exports$safevalues$dom$index.
|
|
4817
|
-
module$exports$safevalues$dom$index.
|
|
4818
|
-
module$exports$safevalues$dom$index.
|
|
4819
|
-
module$exports$safevalues$dom$index.
|
|
4820
|
-
module$exports$safevalues$dom$index.
|
|
4821
|
-
module$exports$safevalues$dom$index.
|
|
4822
|
-
|
|
4823
|
-
module$exports$safevalues$dom$index.
|
|
4824
|
-
module$exports$safevalues$dom$index.
|
|
4825
|
-
module$exports$safevalues$dom$index.
|
|
4826
|
-
module$exports$safevalues$dom$index.
|
|
4827
|
-
module$exports$safevalues$dom$index.
|
|
4828
|
-
module$exports$safevalues$dom$index.
|
|
4829
|
-
module$exports$safevalues$dom$index.
|
|
4830
|
-
module$exports$safevalues$dom$index.
|
|
4831
|
-
module$exports$safevalues$dom$index.
|
|
4832
|
-
module$exports$safevalues$dom$index.
|
|
4833
|
-
module$exports$safevalues$dom$index.
|
|
4834
|
-
module$exports$safevalues$dom$index.
|
|
4835
|
-
module$exports$safevalues$dom$index.
|
|
4836
|
-
module$exports$safevalues$dom$index.
|
|
4837
|
-
module$exports$safevalues$dom$index.
|
|
4838
|
-
module$exports$safevalues$dom$index.
|
|
4839
|
-
module$exports$safevalues$dom$index.
|
|
4840
|
-
module$exports$safevalues$dom$index.
|
|
4841
|
-
module$exports$safevalues$dom$index.
|
|
4842
|
-
module$exports$safevalues$dom$index.
|
|
4843
|
-
module$exports$safevalues$dom$index.
|
|
4844
|
-
module$exports$safevalues$dom$index.
|
|
4845
|
-
module$exports$safevalues$dom$index.setObjectData = module$contents$safevalues$dom$elements$object_setData;
|
|
4846
|
-
module$exports$safevalues$dom$index.setScriptSrc = module$exports$safevalues$dom$elements$script.setSrc;
|
|
4847
|
-
module$exports$safevalues$dom$index.setScriptTextContent = module$exports$safevalues$dom$elements$script.setTextContent;
|
|
4848
|
-
module$exports$safevalues$dom$index.setStyleTextContent = module$exports$safevalues$dom$elements$style.setTextContent;
|
|
4849
|
-
module$exports$safevalues$dom$index.setSvgAttribute = module$contents$safevalues$dom$elements$svg_setAttribute;
|
|
4850
|
-
module$exports$safevalues$dom$index.setSvgUseHref = module$contents$safevalues$dom$elements$svg_use_setHref;
|
|
4851
|
-
module$exports$safevalues$dom$index.documentExecCommand = module$contents$safevalues$dom$globals$document_execCommand;
|
|
4852
|
-
module$exports$safevalues$dom$index.documentExecCommandInsertHtml = module$contents$safevalues$dom$globals$document_execCommandInsertHtml;
|
|
4853
|
-
module$exports$safevalues$dom$index.documentWrite = module$contents$safevalues$dom$globals$document_write;
|
|
4854
|
-
module$exports$safevalues$dom$index.domParserParseFromString = module$exports$safevalues$dom$globals$dom_parser.parseFromString;
|
|
4855
|
-
module$exports$safevalues$dom$index.domParserParseHtml = module$exports$safevalues$dom$globals$dom_parser.parseHtml;
|
|
4856
|
-
module$exports$safevalues$dom$index.domParserParseXml = module$exports$safevalues$dom$globals$dom_parser.parseXml;
|
|
4844
|
+
module$exports$safevalues$dom$index.setAnchorHref = module$contents$safevalues$dom$elements$anchor_setAnchorHref;
|
|
4845
|
+
module$exports$safevalues$dom$index.setAnchorHrefLite = module$contents$safevalues$dom$elements$anchor_setAnchorHrefLite;
|
|
4846
|
+
module$exports$safevalues$dom$index.setAreaHref = module$contents$safevalues$dom$elements$area_setAreaHref;
|
|
4847
|
+
module$exports$safevalues$dom$index.setBaseHref = module$contents$safevalues$dom$elements$base_setBaseHref;
|
|
4848
|
+
module$exports$safevalues$dom$index.setButtonFormaction = module$contents$safevalues$dom$elements$button_setButtonFormaction;
|
|
4849
|
+
module$exports$safevalues$dom$index.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
4850
|
+
module$exports$safevalues$dom$index.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
4851
|
+
module$exports$safevalues$dom$index.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
4852
|
+
module$exports$safevalues$dom$index.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
4853
|
+
module$exports$safevalues$dom$index.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
4854
|
+
module$exports$safevalues$dom$index.setEmbedSrc = module$contents$safevalues$dom$elements$embed_setEmbedSrc;
|
|
4855
|
+
module$exports$safevalues$dom$index.setFormAction = module$contents$safevalues$dom$elements$form_setFormAction;
|
|
4856
|
+
module$exports$safevalues$dom$index.setFormActionLite = module$contents$safevalues$dom$elements$form_setFormActionLite;
|
|
4857
|
+
module$exports$safevalues$dom$index.IframeIntent = module$exports$safevalues$dom$elements$iframe.IframeIntent;
|
|
4858
|
+
module$exports$safevalues$dom$index.setIframeSrc = module$contents$safevalues$dom$elements$iframe_setIframeSrc;
|
|
4859
|
+
module$exports$safevalues$dom$index.setIframeSrcdoc = module$contents$safevalues$dom$elements$iframe_setIframeSrcdoc;
|
|
4860
|
+
module$exports$safevalues$dom$index.setIframeSrcdocWithIntent = module$contents$safevalues$dom$elements$iframe_setIframeSrcdocWithIntent;
|
|
4861
|
+
module$exports$safevalues$dom$index.setIframeSrcWithIntent = module$contents$safevalues$dom$elements$iframe_setIframeSrcWithIntent;
|
|
4862
|
+
module$exports$safevalues$dom$index.TypeCannotBeUsedWithIframeIntentError = module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError;
|
|
4863
|
+
module$exports$safevalues$dom$index.setInputFormaction = module$contents$safevalues$dom$elements$input_setInputFormaction;
|
|
4864
|
+
module$exports$safevalues$dom$index.setLinkHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkHrefAndRel;
|
|
4865
|
+
module$exports$safevalues$dom$index.setLinkWithResourceUrlHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel;
|
|
4866
|
+
module$exports$safevalues$dom$index.setObjectData = module$contents$safevalues$dom$elements$object_setObjectData;
|
|
4867
|
+
module$exports$safevalues$dom$index.setScriptSrc = module$contents$safevalues$dom$elements$script_setScriptSrc;
|
|
4868
|
+
module$exports$safevalues$dom$index.setScriptTextContent = module$contents$safevalues$dom$elements$script_setScriptTextContent;
|
|
4869
|
+
module$exports$safevalues$dom$index.setStyleTextContent = module$contents$safevalues$dom$elements$style_setStyleTextContent;
|
|
4870
|
+
module$exports$safevalues$dom$index.setSvgAttribute = module$contents$safevalues$dom$elements$svg_setSvgAttribute;
|
|
4871
|
+
module$exports$safevalues$dom$index.setSvgUseHref = module$contents$safevalues$dom$elements$svg_use_setSvgUseHref;
|
|
4872
|
+
module$exports$safevalues$dom$index.documentExecCommand = module$contents$safevalues$dom$globals$document_documentExecCommand;
|
|
4873
|
+
module$exports$safevalues$dom$index.documentExecCommandInsertHtml = module$contents$safevalues$dom$globals$document_documentExecCommandInsertHtml;
|
|
4874
|
+
module$exports$safevalues$dom$index.documentWrite = module$contents$safevalues$dom$globals$document_documentWrite;
|
|
4875
|
+
module$exports$safevalues$dom$index.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4876
|
+
module$exports$safevalues$dom$index.domParserParseHtml = module$contents$safevalues$dom$globals$dom_parser_domParserParseHtml;
|
|
4877
|
+
module$exports$safevalues$dom$index.domParserParseXml = module$contents$safevalues$dom$globals$dom_parser_domParserParseXml;
|
|
4857
4878
|
module$exports$safevalues$dom$index.fetchResourceUrl = module$contents$safevalues$dom$globals$fetch_fetchResourceUrl;
|
|
4858
4879
|
module$exports$safevalues$dom$index.globalEval = module$contents$safevalues$dom$globals$global_globalEval;
|
|
4859
|
-
module$exports$safevalues$dom$index.locationAssign = module$
|
|
4860
|
-
module$exports$safevalues$dom$index.locationReplace = module$
|
|
4861
|
-
module$exports$safevalues$dom$index.setLocationHref = module$
|
|
4862
|
-
module$exports$safevalues$dom$index.rangeCreateContextualFragment = module$contents$safevalues$dom$globals$
|
|
4863
|
-
module$exports$safevalues$dom$index.serviceWorkerContainerRegister = module$contents$safevalues$dom$globals$
|
|
4880
|
+
module$exports$safevalues$dom$index.locationAssign = module$contents$safevalues$dom$globals$location_locationAssign;
|
|
4881
|
+
module$exports$safevalues$dom$index.locationReplace = module$contents$safevalues$dom$globals$location_locationReplace;
|
|
4882
|
+
module$exports$safevalues$dom$index.setLocationHref = module$contents$safevalues$dom$globals$location_setLocationHref;
|
|
4883
|
+
module$exports$safevalues$dom$index.rangeCreateContextualFragment = module$contents$safevalues$dom$globals$range_rangeCreateContextualFragment;
|
|
4884
|
+
module$exports$safevalues$dom$index.serviceWorkerContainerRegister = module$contents$safevalues$dom$globals$service_worker_container_serviceWorkerContainerRegister;
|
|
4864
4885
|
module$exports$safevalues$dom$index.objectUrlFromSafeSource = module$contents$safevalues$dom$globals$url_objectUrlFromSafeSource;
|
|
4865
|
-
module$exports$safevalues$dom$index.getScriptNonce = module$
|
|
4866
|
-
module$exports$safevalues$dom$index.getStyleNonce = module$
|
|
4867
|
-
module$exports$safevalues$dom$index.windowOpen = module$
|
|
4868
|
-
module$exports$safevalues$dom$index.
|
|
4869
|
-
module$exports$safevalues$dom$index.
|
|
4870
|
-
module$exports$safevalues$dom$index.workerGlobalScopeImportScripts = module$
|
|
4886
|
+
module$exports$safevalues$dom$index.getScriptNonce = module$contents$safevalues$dom$globals$window_getScriptNonce;
|
|
4887
|
+
module$exports$safevalues$dom$index.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
4888
|
+
module$exports$safevalues$dom$index.windowOpen = module$contents$safevalues$dom$globals$window_windowOpen;
|
|
4889
|
+
module$exports$safevalues$dom$index.createSharedWorker = module$contents$safevalues$dom$globals$worker_createSharedWorker;
|
|
4890
|
+
module$exports$safevalues$dom$index.createWorker = module$contents$safevalues$dom$globals$worker_createWorker;
|
|
4891
|
+
module$exports$safevalues$dom$index.workerGlobalScopeImportScripts = module$contents$safevalues$dom$globals$worker_workerGlobalScopeImportScripts;
|
|
4871
4892
|
var safevalues = {dom:{}};
|
|
4872
|
-
safevalues.dom.
|
|
4873
|
-
safevalues.dom.
|
|
4874
|
-
safevalues.dom.
|
|
4875
|
-
safevalues.dom.
|
|
4876
|
-
safevalues.dom.
|
|
4877
|
-
safevalues.dom.
|
|
4878
|
-
safevalues.dom.
|
|
4879
|
-
safevalues.dom.
|
|
4880
|
-
safevalues.dom.
|
|
4881
|
-
safevalues.dom.
|
|
4882
|
-
safevalues.dom.
|
|
4883
|
-
safevalues.dom.
|
|
4884
|
-
safevalues.dom.
|
|
4885
|
-
safevalues.dom.
|
|
4886
|
-
safevalues.dom.
|
|
4887
|
-
safevalues.dom.
|
|
4888
|
-
safevalues.dom.
|
|
4889
|
-
safevalues.dom.
|
|
4890
|
-
safevalues.dom.
|
|
4891
|
-
safevalues.dom.
|
|
4892
|
-
safevalues.dom.
|
|
4893
|
-
safevalues.dom.
|
|
4894
|
-
safevalues.dom.
|
|
4895
|
-
safevalues.dom.
|
|
4896
|
-
safevalues.dom.
|
|
4897
|
-
safevalues.dom.
|
|
4898
|
-
safevalues.dom.
|
|
4899
|
-
safevalues.dom.
|
|
4900
|
-
safevalues.dom.
|
|
4901
|
-
safevalues.dom.
|
|
4902
|
-
safevalues.dom.
|
|
4903
|
-
safevalues.dom.
|
|
4904
|
-
safevalues.dom.
|
|
4905
|
-
safevalues.dom.
|
|
4906
|
-
safevalues.dom.setScriptSrc = module$exports$safevalues$dom$index.setScriptSrc;
|
|
4907
|
-
safevalues.dom.setScriptTextContent = module$exports$safevalues$dom$index.setScriptTextContent;
|
|
4908
|
-
safevalues.dom.setStyleTextContent = module$exports$safevalues$dom$index.setStyleTextContent;
|
|
4909
|
-
safevalues.dom.setSvgAttribute = module$contents$safevalues$dom$elements$svg_setAttribute;
|
|
4910
|
-
safevalues.dom.setSvgUseHref = module$contents$safevalues$dom$elements$svg_use_setHref;
|
|
4911
|
-
safevalues.dom.documentExecCommand = module$contents$safevalues$dom$globals$document_execCommand;
|
|
4912
|
-
safevalues.dom.documentExecCommandInsertHtml = module$contents$safevalues$dom$globals$document_execCommandInsertHtml;
|
|
4913
|
-
safevalues.dom.documentWrite = module$contents$safevalues$dom$globals$document_write;
|
|
4914
|
-
safevalues.dom.domParserParseFromString = module$exports$safevalues$dom$index.domParserParseFromString;
|
|
4915
|
-
safevalues.dom.domParserParseHtml = module$exports$safevalues$dom$index.domParserParseHtml;
|
|
4916
|
-
safevalues.dom.domParserParseXml = module$exports$safevalues$dom$index.domParserParseXml;
|
|
4893
|
+
safevalues.dom.setAnchorHref = module$contents$safevalues$dom$elements$anchor_setAnchorHref;
|
|
4894
|
+
safevalues.dom.setAnchorHrefLite = module$contents$safevalues$dom$elements$anchor_setAnchorHrefLite;
|
|
4895
|
+
safevalues.dom.setAreaHref = module$contents$safevalues$dom$elements$area_setAreaHref;
|
|
4896
|
+
safevalues.dom.setBaseHref = module$contents$safevalues$dom$elements$base_setBaseHref;
|
|
4897
|
+
safevalues.dom.setButtonFormaction = module$contents$safevalues$dom$elements$button_setButtonFormaction;
|
|
4898
|
+
safevalues.dom.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
4899
|
+
safevalues.dom.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
4900
|
+
safevalues.dom.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
4901
|
+
safevalues.dom.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
4902
|
+
safevalues.dom.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
4903
|
+
safevalues.dom.setEmbedSrc = module$contents$safevalues$dom$elements$embed_setEmbedSrc;
|
|
4904
|
+
safevalues.dom.setFormAction = module$contents$safevalues$dom$elements$form_setFormAction;
|
|
4905
|
+
safevalues.dom.setFormActionLite = module$contents$safevalues$dom$elements$form_setFormActionLite;
|
|
4906
|
+
safevalues.dom.IframeIntent = module$exports$safevalues$dom$elements$iframe.IframeIntent;
|
|
4907
|
+
safevalues.dom.setIframeSrc = module$contents$safevalues$dom$elements$iframe_setIframeSrc;
|
|
4908
|
+
safevalues.dom.setIframeSrcdoc = module$contents$safevalues$dom$elements$iframe_setIframeSrcdoc;
|
|
4909
|
+
safevalues.dom.setIframeSrcdocWithIntent = module$contents$safevalues$dom$elements$iframe_setIframeSrcdocWithIntent;
|
|
4910
|
+
safevalues.dom.setIframeSrcWithIntent = module$contents$safevalues$dom$elements$iframe_setIframeSrcWithIntent;
|
|
4911
|
+
safevalues.dom.TypeCannotBeUsedWithIframeIntentError = module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError;
|
|
4912
|
+
safevalues.dom.setInputFormaction = module$contents$safevalues$dom$elements$input_setInputFormaction;
|
|
4913
|
+
safevalues.dom.setLinkHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkHrefAndRel;
|
|
4914
|
+
safevalues.dom.setLinkWithResourceUrlHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel;
|
|
4915
|
+
safevalues.dom.setObjectData = module$contents$safevalues$dom$elements$object_setObjectData;
|
|
4916
|
+
safevalues.dom.setScriptSrc = module$contents$safevalues$dom$elements$script_setScriptSrc;
|
|
4917
|
+
safevalues.dom.setScriptTextContent = module$contents$safevalues$dom$elements$script_setScriptTextContent;
|
|
4918
|
+
safevalues.dom.setStyleTextContent = module$contents$safevalues$dom$elements$style_setStyleTextContent;
|
|
4919
|
+
safevalues.dom.setSvgAttribute = module$contents$safevalues$dom$elements$svg_setSvgAttribute;
|
|
4920
|
+
safevalues.dom.setSvgUseHref = module$contents$safevalues$dom$elements$svg_use_setSvgUseHref;
|
|
4921
|
+
safevalues.dom.documentExecCommand = module$contents$safevalues$dom$globals$document_documentExecCommand;
|
|
4922
|
+
safevalues.dom.documentExecCommandInsertHtml = module$contents$safevalues$dom$globals$document_documentExecCommandInsertHtml;
|
|
4923
|
+
safevalues.dom.documentWrite = module$contents$safevalues$dom$globals$document_documentWrite;
|
|
4924
|
+
safevalues.dom.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4925
|
+
safevalues.dom.domParserParseHtml = module$contents$safevalues$dom$globals$dom_parser_domParserParseHtml;
|
|
4926
|
+
safevalues.dom.domParserParseXml = module$contents$safevalues$dom$globals$dom_parser_domParserParseXml;
|
|
4917
4927
|
safevalues.dom.fetchResourceUrl = module$contents$safevalues$dom$globals$fetch_fetchResourceUrl;
|
|
4918
4928
|
safevalues.dom.globalEval = module$contents$safevalues$dom$globals$global_globalEval;
|
|
4919
|
-
safevalues.dom.locationAssign = module$
|
|
4920
|
-
safevalues.dom.locationReplace = module$
|
|
4921
|
-
safevalues.dom.setLocationHref = module$
|
|
4922
|
-
safevalues.dom.rangeCreateContextualFragment = module$contents$safevalues$dom$globals$
|
|
4923
|
-
safevalues.dom.serviceWorkerContainerRegister = module$contents$safevalues$dom$globals$
|
|
4929
|
+
safevalues.dom.locationAssign = module$contents$safevalues$dom$globals$location_locationAssign;
|
|
4930
|
+
safevalues.dom.locationReplace = module$contents$safevalues$dom$globals$location_locationReplace;
|
|
4931
|
+
safevalues.dom.setLocationHref = module$contents$safevalues$dom$globals$location_setLocationHref;
|
|
4932
|
+
safevalues.dom.rangeCreateContextualFragment = module$contents$safevalues$dom$globals$range_rangeCreateContextualFragment;
|
|
4933
|
+
safevalues.dom.serviceWorkerContainerRegister = module$contents$safevalues$dom$globals$service_worker_container_serviceWorkerContainerRegister;
|
|
4924
4934
|
safevalues.dom.objectUrlFromSafeSource = module$contents$safevalues$dom$globals$url_objectUrlFromSafeSource;
|
|
4925
|
-
safevalues.dom.getScriptNonce = module$
|
|
4926
|
-
safevalues.dom.getStyleNonce = module$
|
|
4927
|
-
safevalues.dom.windowOpen = module$
|
|
4928
|
-
safevalues.dom.
|
|
4929
|
-
safevalues.dom.
|
|
4930
|
-
safevalues.dom.workerGlobalScopeImportScripts = module$
|
|
4935
|
+
safevalues.dom.getScriptNonce = module$contents$safevalues$dom$globals$window_getScriptNonce;
|
|
4936
|
+
safevalues.dom.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
4937
|
+
safevalues.dom.windowOpen = module$contents$safevalues$dom$globals$window_windowOpen;
|
|
4938
|
+
safevalues.dom.createSharedWorker = module$contents$safevalues$dom$globals$worker_createSharedWorker;
|
|
4939
|
+
safevalues.dom.createWorker = module$contents$safevalues$dom$globals$worker_createWorker;
|
|
4940
|
+
safevalues.dom.workerGlobalScopeImportScripts = module$contents$safevalues$dom$globals$worker_workerGlobalScopeImportScripts;
|
|
4931
4941
|
safevalues.dom.WorkerGlobalScopeWithImportScripts = module$exports$safevalues$dom$index.WorkerGlobalScopeWithImportScripts;
|
|
4932
4942
|
var module$exports$safevalues$restricted$reviewed = {}, module$contents$safevalues$restricted$reviewed_module = module$contents$safevalues$restricted$reviewed_module || {id:"third_party/javascript/safevalues/restricted/reviewed.closure.js"};
|
|
4933
4943
|
function module$contents$safevalues$restricted$reviewed_assertValidJustification(justification) {
|
|
@@ -5098,7 +5108,7 @@ goog.string.unescapeEntitiesUsingDom_ = function(str, opt_document) {
|
|
|
5098
5108
|
var n = Number("0" + entity.slice(1));
|
|
5099
5109
|
isNaN(n) || (value = String.fromCharCode(n));
|
|
5100
5110
|
}
|
|
5101
|
-
value || (module$
|
|
5111
|
+
value || (module$contents$safevalues$dom$elements$element_setElementInnerHtml(div, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(s + " ", {justification:"Single HTML entity."})), value = div.firstChild.nodeValue.slice(0, -1));
|
|
5102
5112
|
return seen[s] = value;
|
|
5103
5113
|
});
|
|
5104
5114
|
};
|
|
@@ -5524,7 +5534,6 @@ goog.structs.every = function(col, f, opt_obj) {
|
|
|
5524
5534
|
};
|
|
5525
5535
|
goog.uri = {};
|
|
5526
5536
|
goog.uri.utils = {};
|
|
5527
|
-
goog.uri.utils.QueryArray = {};
|
|
5528
5537
|
goog.uri.utils.CharCode_ = {AMPERSAND:38, EQUAL:61, HASH:35, QUESTION:63};
|
|
5529
5538
|
goog.uri.utils.buildFromEncodedParts = function(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {
|
|
5530
5539
|
var out = "";
|
|
@@ -6244,8 +6253,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6244
6253
|
}
|
|
6245
6254
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6246
6255
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6247
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6248
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6256
|
+
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()) {
|
|
6257
|
+
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;
|
|
6249
6258
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6250
6259
|
}
|
|
6251
6260
|
return urlQueryParams;
|
|
@@ -6256,8 +6265,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6256
6265
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6257
6266
|
if (params.headers) {
|
|
6258
6267
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6259
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6260
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6268
|
+
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()) {
|
|
6269
|
+
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;
|
|
6261
6270
|
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);
|
|
6262
6271
|
}
|
|
6263
6272
|
}
|
|
@@ -6297,9 +6306,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6297
6306
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6298
6307
|
};
|
|
6299
6308
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6300
|
-
var $jscomp$this$
|
|
6309
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6301
6310
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6302
|
-
return $jscomp$this$
|
|
6311
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6303
6312
|
}));
|
|
6304
6313
|
};
|
|
6305
6314
|
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"};
|
|
@@ -6469,7 +6478,6 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_
|
|
|
6469
6478
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6470
6479
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6471
6480
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6472
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_distinct_contexts_for_control_flow_branches__disable = !1;
|
|
6473
6481
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6474
6482
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
6475
6483
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__disable = !1;
|
|
@@ -6482,8 +6490,6 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
|
|
|
6482
6490
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6483
6491
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6484
6492
|
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = 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_stop_using_repeated_field_sets_from_gencode__disable : goog.readFlagInternalDoNotUseOrElse(188588736, !0);
|
|
6485
|
-
goog.flags.CLIENT_ONLY_WIZ_DISTINCT_CONTEXTS_FOR_CONTROL_FLOW_BRANCHES = 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__client_only_wiz_distinct_contexts_for_control_flow_branches__disable : goog.readFlagInternalDoNotUseOrElse(691955189,
|
|
6486
|
-
!0);
|
|
6487
6493
|
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
6488
6494
|
goog.flags.JSPB_READONLY_REPEATED_FIELDS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable) : goog.readFlagInternalDoNotUseOrElse(653718497, module$contents$goog$flags_STAGING);
|
|
6489
6495
|
goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__disable) : goog.readFlagInternalDoNotUseOrElse(660014094, module$contents$goog$flags_STAGING);
|
|
@@ -16030,8 +16036,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16030
16036
|
this.replacements = new Map();
|
|
16031
16037
|
};
|
|
16032
16038
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16033
|
-
var $jscomp$this$
|
|
16034
|
-
return $jscomp$this$
|
|
16039
|
+
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) {
|
|
16040
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
16035
16041
|
});
|
|
16036
16042
|
if (openedTags.length !== 0) {
|
|
16037
16043
|
if (goog.DEBUG) {
|
|
@@ -16249,8 +16255,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16249
16255
|
if (Array.isArray(token)) {
|
|
16250
16256
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16251
16257
|
} else {
|
|
16252
|
-
var $jscomp$optchain$
|
|
16253
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16258
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
16259
|
+
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) {
|
|
16254
16260
|
tokens.push(token);
|
|
16255
16261
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16256
16262
|
return tokens;
|
|
@@ -16496,9 +16502,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16496
16502
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16497
16503
|
};
|
|
16498
16504
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16499
|
-
var $jscomp$this$
|
|
16505
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16500
16506
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16501
|
-
return $jscomp$this$
|
|
16507
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16502
16508
|
});
|
|
16503
16509
|
};
|
|
16504
16510
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16571,7 +16577,7 @@ function(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes
|
|
|
16571
16577
|
};
|
|
16572
16578
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.getStyleSheet = function(cssText) {
|
|
16573
16579
|
var styleEl = this.inertDocument.createElement("style"), safeStyleSheet = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(cssText);
|
|
16574
|
-
|
|
16580
|
+
module$contents$safevalues$dom$elements$style_setStyleTextContent(styleEl, safeStyleSheet);
|
|
16575
16581
|
this.inertDocument.head.appendChild(styleEl);
|
|
16576
16582
|
var sheet = styleEl.sheet;
|
|
16577
16583
|
styleEl.remove();
|
|
@@ -16605,8 +16611,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16605
16611
|
return null;
|
|
16606
16612
|
}
|
|
16607
16613
|
if (token.lowercaseName === "url") {
|
|
16608
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16609
|
-
if ((($jscomp$optchain$
|
|
16614
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16615
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16610
16616
|
return null;
|
|
16611
16617
|
}
|
|
16612
16618
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16629,8 +16635,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16629
16635
|
if (!this.allowKeyframes) {
|
|
16630
16636
|
return null;
|
|
16631
16637
|
}
|
|
16632
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16633
|
-
var rule = $jscomp$key$
|
|
16638
|
+
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()) {
|
|
16639
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16634
16640
|
if (rule instanceof CSSKeyframeRule) {
|
|
16635
16641
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16636
16642
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16642,8 +16648,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16642
16648
|
if (!this.propertyAllowlist.has(name)) {
|
|
16643
16649
|
return !1;
|
|
16644
16650
|
}
|
|
16645
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16646
|
-
var discarder = $jscomp$key$
|
|
16651
|
+
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()) {
|
|
16652
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16647
16653
|
if (discarder(name)) {
|
|
16648
16654
|
return !1;
|
|
16649
16655
|
}
|
|
@@ -16658,8 +16664,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16658
16664
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16659
16665
|
};
|
|
16660
16666
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16661
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16662
|
-
var name = $jscomp$key$
|
|
16667
|
+
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()) {
|
|
16668
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16663
16669
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16664
16670
|
}
|
|
16665
16671
|
return sanitizedProperties;
|
|
@@ -16673,8 +16679,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16673
16679
|
return selector + " { " + sanitizedProperties + " }";
|
|
16674
16680
|
};
|
|
16675
16681
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16676
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16677
|
-
var rule = $jscomp$key$
|
|
16682
|
+
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()) {
|
|
16683
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16678
16684
|
if (rule instanceof CSSStyleRule) {
|
|
16679
16685
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16680
16686
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16708,7 +16714,7 @@ function module$contents$safevalues$builders$html_sanitizer$inert_fragment_creat
|
|
|
16708
16714
|
var range = inertDocument.createRange();
|
|
16709
16715
|
range.selectNode(inertDocument.body);
|
|
16710
16716
|
var temporarySafeHtml = (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(dirtyHtml);
|
|
16711
|
-
return module$contents$safevalues$dom$globals$
|
|
16717
|
+
return module$contents$safevalues$dom$globals$range_rangeCreateContextualFragment(range, temporarySafeHtml);
|
|
16712
16718
|
}
|
|
16713
16719
|
;var module$exports$safevalues$builders$html_sanitizer$no_clobber = {}, module$contents$safevalues$builders$html_sanitizer$no_clobber_module = module$contents$safevalues$builders$html_sanitizer$no_clobber_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/no_clobber.closure.js"};
|
|
16714
16720
|
function module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(node) {
|
|
@@ -16835,8 +16841,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16835
16841
|
return fragment;
|
|
16836
16842
|
};
|
|
16837
16843
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16838
|
-
for (var $jscomp$this$
|
|
16839
|
-
return $jscomp$this$
|
|
16844
|
+
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) {
|
|
16845
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
16840
16846
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16841
16847
|
var sanitizedNode = void 0;
|
|
16842
16848
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16871,8 +16877,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16871
16877
|
return this.createTextNode(textNode.data);
|
|
16872
16878
|
};
|
|
16873
16879
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16874
|
-
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$
|
|
16875
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16880
|
+
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()) {
|
|
16881
|
+
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);
|
|
16876
16882
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16877
16883
|
switch(policy.policyAction) {
|
|
16878
16884
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16904,9 +16910,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16904
16910
|
break;
|
|
16905
16911
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16906
16912
|
if (this.resourceUrlPolicy) {
|
|
16907
|
-
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$
|
|
16913
|
+
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 =
|
|
16908
16914
|
$jscomp$iter$35.next()) {
|
|
16909
|
-
var part = $jscomp$key$
|
|
16915
|
+
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);
|
|
16910
16916
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16911
16917
|
}
|
|
16912
16918
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16950,8 +16956,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16950
16956
|
if (!conditions) {
|
|
16951
16957
|
return !0;
|
|
16952
16958
|
}
|
|
16953
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16954
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16959
|
+
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()) {
|
|
16960
|
+
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;
|
|
16955
16961
|
if (value && !expectedValues.has(value)) {
|
|
16956
16962
|
return !1;
|
|
16957
16963
|
}
|
|
@@ -16966,8 +16972,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16966
16972
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16967
16973
|
};
|
|
16968
16974
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16969
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16970
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16975
|
+
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()) {
|
|
16976
|
+
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;
|
|
16971
16977
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16972
16978
|
}
|
|
16973
16979
|
return {parts:parts};
|
|
@@ -17024,8 +17030,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17024
17030
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17025
17031
|
};
|
|
17026
17032
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17027
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17028
|
-
var element = $jscomp$key$
|
|
17033
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$21$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$21$element.done; $jscomp$key$m1412690177$21$element = $jscomp$iter$39.next()) {
|
|
17034
|
+
var element = $jscomp$key$m1412690177$21$element.value;
|
|
17029
17035
|
element = element.toUpperCase();
|
|
17030
17036
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17031
17037
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17043,8 +17049,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17043
17049
|
throw Error("Element: " + element + " is not a custom element");
|
|
17044
17050
|
}
|
|
17045
17051
|
if (allowedAttributes) {
|
|
17046
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17047
|
-
elementPolicy.set($jscomp$key$
|
|
17052
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$22$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$22$attribute.done; $jscomp$key$m1412690177$22$attribute = $jscomp$iter$40.next()) {
|
|
17053
|
+
elementPolicy.set($jscomp$key$m1412690177$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17048
17054
|
}
|
|
17049
17055
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17050
17056
|
} else {
|
|
@@ -17054,15 +17060,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17054
17060
|
return this;
|
|
17055
17061
|
};
|
|
17056
17062
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17057
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17058
|
-
var attribute = $jscomp$key$
|
|
17063
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$23$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$23$attribute.done; $jscomp$key$m1412690177$23$attribute = $jscomp$iter$41.next()) {
|
|
17064
|
+
var attribute = $jscomp$key$m1412690177$23$attribute.value;
|
|
17059
17065
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17060
17066
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17061
17067
|
}
|
|
17062
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17063
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17068
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$25$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$25$.done; $jscomp$key$m1412690177$25$ = $jscomp$iter$43.next()) {
|
|
17069
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$25$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$24$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$24$.done; $jscomp$key$m1412690177$24$ =
|
|
17064
17070
|
$jscomp$iter$42.next()) {
|
|
17065
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17071
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$24$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17066
17072
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17067
17073
|
}
|
|
17068
17074
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17071,8 +17077,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17071
17077
|
return this;
|
|
17072
17078
|
};
|
|
17073
17079
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
17074
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17075
|
-
var attribute = $jscomp$key$
|
|
17080
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$26$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$26$attribute.done; $jscomp$key$m1412690177$26$attribute = $jscomp$iter$44.next()) {
|
|
17081
|
+
var attribute = $jscomp$key$m1412690177$26$attribute.value;
|
|
17076
17082
|
if (attribute.indexOf("data-") !== 0) {
|
|
17077
17083
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17078
17084
|
}
|
|
@@ -17134,7 +17140,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17134
17140
|
return this;
|
|
17135
17141
|
};
|
|
17136
17142
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17137
|
-
var $jscomp$this$
|
|
17143
|
+
var $jscomp$this$m1412690177$17 = this;
|
|
17138
17144
|
this.extendSanitizerTableForCss();
|
|
17139
17145
|
var propertyDiscarders = [];
|
|
17140
17146
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17144,9 +17150,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17144
17150
|
return /^transition(-|$)/.test(property);
|
|
17145
17151
|
});
|
|
17146
17152
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17147
|
-
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$
|
|
17153
|
+
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$17.resourceUrlPolicy, $jscomp$this$m1412690177$17.animationsAllowed, propertyDiscarders);
|
|
17148
17154
|
}, function(cssText) {
|
|
17149
|
-
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$
|
|
17155
|
+
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$17.resourceUrlPolicy, propertyDiscarders);
|
|
17150
17156
|
}, this.resourceUrlPolicy);
|
|
17151
17157
|
};
|
|
17152
17158
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17364,12 +17370,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17364
17370
|
}
|
|
17365
17371
|
try {
|
|
17366
17372
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17367
|
-
} catch ($jscomp$unused$catch$
|
|
17373
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17368
17374
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17369
17375
|
}
|
|
17370
17376
|
try {
|
|
17371
17377
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17372
|
-
} catch ($jscomp$unused$catch$
|
|
17378
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17373
17379
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17374
17380
|
}
|
|
17375
17381
|
return !1;
|
|
@@ -17711,7 +17717,7 @@ goog.dom.safeHtmlToNode = function(html) {
|
|
|
17711
17717
|
};
|
|
17712
17718
|
goog.dom.safeHtmlToNode_ = function(doc, html) {
|
|
17713
17719
|
var tempDiv = goog.dom.createElement_(doc, goog.dom.TagName.DIV);
|
|
17714
|
-
module$
|
|
17720
|
+
module$contents$safevalues$dom$elements$element_setElementInnerHtml(tempDiv, html);
|
|
17715
17721
|
return goog.dom.childrenToNode_(doc, tempDiv);
|
|
17716
17722
|
};
|
|
17717
17723
|
goog.dom.childrenToNode_ = function(doc, tempDiv) {
|
|
@@ -18330,6 +18336,7 @@ goog.async.Deferred = function(opt_onCancelFunction, opt_defaultScope) {
|
|
|
18330
18336
|
typeof target.stack == "string" && (this.constructorStack_ = target.stack.replace(/^[^\n]*\n/, ""));
|
|
18331
18337
|
}
|
|
18332
18338
|
};
|
|
18339
|
+
goog.async.Deferred.wrap_ = module$exports$common$async$context$propagate.propagateAsyncContext;
|
|
18333
18340
|
goog.async.Deferred.STRICT_ERRORS = !1;
|
|
18334
18341
|
goog.async.Deferred.LONG_STACK_TRACES = !1;
|
|
18335
18342
|
goog.async.Deferred.prototype.cancel = function(opt_deepCancel) {
|
|
@@ -18410,8 +18417,10 @@ goog.async.Deferred.prototype.addFinally = function(f, opt_scope) {
|
|
|
18410
18417
|
};
|
|
18411
18418
|
goog.async.Deferred.prototype.addCallbacks = function(cb, eb, opt_scope) {
|
|
18412
18419
|
goog.asserts.assert(!this.blocking_, "Blocking Deferreds can not be re-used");
|
|
18420
|
+
var fired = this.hasFired();
|
|
18421
|
+
fired || (cb === eb ? cb = eb = module$exports$common$async$context$propagate.propagateAsyncContext(cb) : (cb = module$exports$common$async$context$propagate.propagateAsyncContext(cb), eb = module$exports$common$async$context$propagate.propagateAsyncContext(eb)));
|
|
18413
18422
|
this.sequence_.push([cb, eb, opt_scope]);
|
|
18414
|
-
|
|
18423
|
+
fired && this.fire_();
|
|
18415
18424
|
return this;
|
|
18416
18425
|
};
|
|
18417
18426
|
goog.async.Deferred.prototype.then = function(opt_onFulfilled, opt_onRejected, opt_context) {
|
|
@@ -18594,7 +18603,7 @@ goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
|
18594
18603
|
var properties = options.attributes || {};
|
|
18595
18604
|
module$contents$goog$object_extend(properties, {type:"text/javascript", charset:"UTF-8"});
|
|
18596
18605
|
goog.dom.setProperties(script, properties);
|
|
18597
|
-
module$
|
|
18606
|
+
module$contents$safevalues$dom$elements$script_setScriptSrc(script, trustedUri);
|
|
18598
18607
|
goog.net.jsloader.getScriptParentElement_(doc).appendChild(script);
|
|
18599
18608
|
return deferred;
|
|
18600
18609
|
};
|
|
@@ -19209,7 +19218,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19209
19218
|
ee.apiclient = {};
|
|
19210
19219
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19211
19220
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19212
|
-
ee.apiclient.API_CLIENT_VERSION = "1.4.
|
|
19221
|
+
ee.apiclient.API_CLIENT_VERSION = "1.4.5";
|
|
19213
19222
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19214
19223
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19215
19224
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19507,8 +19516,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19507
19516
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19508
19517
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19509
19518
|
method = method || "POST";
|
|
19510
|
-
var headers = {"Content-Type":contentType}, version = "1.4.
|
|
19511
|
-
version === "1.4.
|
|
19519
|
+
var headers = {"Content-Type":contentType}, version = "1.4.5";
|
|
19520
|
+
version === "1.4.5" && (version = "latest");
|
|
19512
19521
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19513
19522
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19514
19523
|
if (authToken != null) {
|
|
@@ -21156,7 +21165,6 @@ goog.singleton.getInstance = function(ctor) {
|
|
|
21156
21165
|
};
|
|
21157
21166
|
goog.singleton.instantiatedSingletons = module$contents$goog$singleton_instantiatedSingletons;
|
|
21158
21167
|
ee.data = {};
|
|
21159
|
-
ee.data.AbstractTaskConfig = {};
|
|
21160
21168
|
ee.data.ClassifierTaskConfig = {};
|
|
21161
21169
|
ee.data.ImageTaskConfig = {};
|
|
21162
21170
|
ee.data.MapTaskConfig = {};
|
|
@@ -25558,7 +25566,7 @@ goog.style.installSafeStyleSheet = function(safeStyleSheet, opt_node) {
|
|
|
25558
25566
|
head = dh.createDom(goog.dom.TagName.HEAD);
|
|
25559
25567
|
body.parentNode.insertBefore(head, body);
|
|
25560
25568
|
}
|
|
25561
|
-
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$
|
|
25569
|
+
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$contents$safevalues$dom$globals$window_getStyleNonce(window);
|
|
25562
25570
|
nonce && el.setAttribute("nonce", nonce);
|
|
25563
25571
|
goog.style.setSafeStyleSheet(el, safeStyleSheet);
|
|
25564
25572
|
dh.appendChild(head, el);
|
|
@@ -26572,21 +26580,19 @@ goog.exportSymbol("ee.layers.EarthEngineTileSource", module$contents$ee$layers$E
|
|
|
26572
26580
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = null;
|
|
26573
26581
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_ = 4;
|
|
26574
26582
|
ee.layers.EarthEngineTileSource = module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource;
|
|
26575
|
-
ee
|
|
26576
|
-
var module$contents$ee$layers$FeatureViewTileSource_FeatureViewTileSource = function(tilesKey) {
|
|
26583
|
+
var module$exports$ee$layers$FeatureViewTileSource = {FeatureViewTileSource:function(tilesKey) {
|
|
26577
26584
|
module$exports$ee$layers$AbstractTileSource.call(this);
|
|
26578
26585
|
this.tilesKey_ = tilesKey;
|
|
26579
|
-
};
|
|
26580
|
-
$jscomp.inherits(module$
|
|
26581
|
-
module$
|
|
26586
|
+
}};
|
|
26587
|
+
$jscomp.inherits(module$exports$ee$layers$FeatureViewTileSource.FeatureViewTileSource, module$exports$ee$layers$AbstractTileSource);
|
|
26588
|
+
module$exports$ee$layers$FeatureViewTileSource.FeatureViewTileSource.prototype.loadTile = function(tile, opt_priority) {
|
|
26582
26589
|
tile.sourceUrl = this.tilesKey_.formatTileUrl(tile.coord.x, tile.coord.y, tile.zoom);
|
|
26583
26590
|
tile.startLoad();
|
|
26584
26591
|
};
|
|
26585
|
-
module$
|
|
26592
|
+
module$exports$ee$layers$FeatureViewTileSource.FeatureViewTileSource.prototype.getUniqueId = function() {
|
|
26586
26593
|
return this.tilesKey_.token;
|
|
26587
26594
|
};
|
|
26588
|
-
goog.exportSymbol("ee.layers.FeatureViewTileSource", module$
|
|
26589
|
-
ee.layers.FeatureViewTileSource.FeatureViewTileSource = module$contents$ee$layers$FeatureViewTileSource_FeatureViewTileSource;
|
|
26595
|
+
goog.exportSymbol("ee.layers.FeatureViewTileSource", module$exports$ee$layers$FeatureViewTileSource.FeatureViewTileSource);
|
|
26590
26596
|
ee.MapTileManager = function() {
|
|
26591
26597
|
goog.events.EventTarget.call(this);
|
|
26592
26598
|
this.tokenPool_ = new ee.MapTileManager.TokenPool_(0, 60);
|
|
@@ -27025,29 +27031,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27025
27031
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27026
27032
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27027
27033
|
(function() {
|
|
27028
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.
|
|
27029
|
-
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "
|
|
27030
|
-
"
|
|
27031
|
-
"collection opt_description
|
|
27032
|
-
"collection opt_description opt_bucket opt_fileNamePrefix
|
|
27033
|
-
["
|
|
27034
|
-
|
|
27035
|
-
"opt_callback"], "
|
|
27036
|
-
"
|
|
27037
|
-
|
|
27038
|
-
|
|
27039
|
-
"opt_maxError"
|
|
27040
|
-
["
|
|
27041
|
-
|
|
27042
|
-
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.
|
|
27043
|
-
module$contents$ee$batch_Export.
|
|
27044
|
-
ee.ComputedObject.prototype.
|
|
27045
|
-
ee.data.
|
|
27046
|
-
ee.data.
|
|
27047
|
-
ee.
|
|
27048
|
-
ee.Filter.
|
|
27049
|
-
ee.Image.
|
|
27050
|
-
ee.ImageCollection.prototype.
|
|
27034
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.Collection.prototype.sort ee.Collection.prototype.filterDate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.data.resetWorkloadTag ee.data.cancelTask ee.data.getThumbId ee.data.updateAsset ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.getList ee.data.updateTask ee.data.startIngestion ee.data.createFolder ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.setAssetAcl ee.data.authenticateViaOauth ee.data.makeThumbUrl ee.data.renameAsset ee.data.listAssets ee.data.getMapId ee.data.setAssetProperties ee.data.getTaskList ee.data.copyAsset ee.data.getTableDownloadId ee.data.authenticate ee.data.listBuckets ee.data.getTileUrl ee.data.getAssetRootQuota ee.data.deleteAsset ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.listOperations ee.data.getDownloadId ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.listImages ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.setWorkloadTag ee.data.createAssetHome ee.data.getOperation ee.data.authenticateViaPrivateKey ee.data.createAsset ee.data.newTaskId ee.data.getInfo ee.data.setDefaultWorkloadTag ee.data.computeValue ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.call ee.reset ee.initialize ee.Algorithms ee.apply ee.InitState ee.TILE_SIZE ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.Filter.gt ee.Filter.inList ee.Filter.lt ee.Filter.or ee.Filter.neq ee.Filter.lte ee.Filter.gte ee.Filter.prototype.not ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.eq ee.Filter ee.Filter.and ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry ee.Geometry.LineString ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.serialize ee.Geometry.Point ee.Geometry.Rectangle ee.Geometry.prototype.toGeoJSON ee.Geometry.Polygon ee.Geometry.MultiPolygon ee.Geometry.BBox ee.Geometry.MultiLineString ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.cat ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.prototype.expression ee.Image.prototype.clip ee.Image.prototype.rename ee.Image ee.Image.prototype.getThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27035
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
27036
|
+
"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(" "),
|
|
27037
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27038
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), ["filter"], ["algorithm", "opt_first"],
|
|
27039
|
+
["max", "opt_property", "opt_ascending"], ["algorithm", "opt_dropNulls"], ["geometry"], ["name", "operator", "value"], ["property", "opt_ascending"], ["start", "opt_end"], ["opt_callback"], ["func", "var_args"], ["legacy"], ["callback"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId",
|
|
27040
|
+
"request", "opt_callback"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["id"], ["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["opt_callback"], ["sourceId", "destinationId", "opt_overwrite",
|
|
27041
|
+
"opt_callback"], ["params", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["project", "opt_callback"], ["id", "x", "y", "z"], ["rootId", "opt_callback"], ["assetId", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["opt_limit", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], [], ["parent", "opt_params", "opt_callback"], ["operationName", "opt_callback"], ["id"], ["opt_success",
|
|
27042
|
+
"opt_error"], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"], ["id", "opt_callback"], ["tag"], ["requestedId", "opt_callback"], ["operationName", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["opt_count", "opt_callback"], ["id", "opt_callback"], ["tag"], ["obj", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"],
|
|
27043
|
+
["json"], ["opt_dict"], ["func", "var_args"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], ["func", "namedArgs"], [], [], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_callback"],
|
|
27044
|
+
["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], [], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["opt_filter"], ["var_args"], ["var_args"], ["namedArgs"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic",
|
|
27045
|
+
"opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], [], ["legacy"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["r", "g", "b"], ["opt_callback"], ["opt_visParams", "opt_callback"],
|
|
27046
|
+
["params", "opt_callback"], ["var_args"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["expression", "opt_map"], ["geometry"], ["var_args"], ["opt_args"], ["params", "opt_callback"], ["params", "opt_callback"], [], ["args"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["params", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["list"],
|
|
27047
|
+
["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27048
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage,
|
|
27049
|
+
module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, ee.Collection.prototype.filter, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.sort, ee.Collection.prototype.filterDate, ee.ComputedObject.prototype.getInfo,
|
|
27050
|
+
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.evaluate, ee.data.resetWorkloadTag, ee.data.cancelTask, ee.data.getThumbId, ee.data.updateAsset, ee.data.getVideoThumbId, ee.data.getTaskStatus, ee.data.getList, ee.data.updateTask, ee.data.startIngestion, ee.data.createFolder, ee.data.getFilmstripThumbId, ee.data.startProcessing, ee.data.setAssetAcl, ee.data.authenticateViaOauth, ee.data.makeThumbUrl, ee.data.renameAsset, ee.data.listAssets, ee.data.getMapId,
|
|
27051
|
+
ee.data.setAssetProperties, ee.data.getTaskList, ee.data.copyAsset, ee.data.getTableDownloadId, ee.data.authenticate, ee.data.listBuckets, ee.data.getTileUrl, ee.data.getAssetRootQuota, ee.data.deleteAsset, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.listOperations, ee.data.getDownloadId, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.listImages, ee.data.cancelOperation, ee.data.makeDownloadUrl, ee.data.authenticateViaPopup, ee.data.getFeatureViewTilesKey,
|
|
27052
|
+
ee.data.listFeatures, ee.data.getAssetRoots, ee.data.getAsset, ee.data.setWorkloadTag, ee.data.createAssetHome, ee.data.getOperation, ee.data.authenticateViaPrivateKey, ee.data.createAsset, ee.data.newTaskId, ee.data.getInfo, ee.data.setDefaultWorkloadTag, ee.data.computeValue, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.call, ee.reset, ee.initialize, ee.Algorithms, ee.apply, ee.InitState, ee.TILE_SIZE,
|
|
27053
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.Filter.gt, ee.Filter.inList, ee.Filter.lt, ee.Filter.or, ee.Filter.neq, ee.Filter.lte, ee.Filter.gte, ee.Filter.prototype.not,
|
|
27054
|
+
ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.eq, ee.Filter, ee.Filter.and, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry, ee.Geometry.LineString, ee.Geometry.LinearRing, ee.Geometry.MultiPoint, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.prototype.serialize, ee.Geometry.Point, ee.Geometry.Rectangle, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Polygon, ee.Geometry.MultiPolygon, ee.Geometry.BBox, ee.Geometry.MultiLineString, ee.Image.rgb, ee.Image.prototype.getInfo,
|
|
27055
|
+
ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image.cat, ee.Image.prototype.getMap, ee.Image.prototype.getThumbId, ee.Image.prototype.select, ee.Image.prototype.expression, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.Image, ee.Image.prototype.getThumbURL, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.first, ee.ImageCollection, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.linkCollection,
|
|
27056
|
+
ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27051
27057
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27052
27058
|
});
|
|
27053
27059
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|