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