@google/earthengine 0.1.419 → 1.0.0
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 +385 -445
- package/build/ee_api_js.js +601 -601
- package/build/ee_api_js_debug.js +363 -422
- package/build/ee_api_js_npm.js +385 -445
- package/build/main.js +385 -445
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/main.js
CHANGED
|
@@ -131,10 +131,11 @@ $jscomp.iteratorPrototype = function(next) {
|
|
|
131
131
|
return iterator;
|
|
132
132
|
};
|
|
133
133
|
$jscomp.createTemplateTagFirstArg = function(arrayStrings) {
|
|
134
|
-
return arrayStrings
|
|
134
|
+
return $jscomp.createTemplateTagFirstArgWithRaw(arrayStrings, arrayStrings);
|
|
135
135
|
};
|
|
136
136
|
$jscomp.createTemplateTagFirstArgWithRaw = function(arrayStrings, rawArrayStrings) {
|
|
137
137
|
arrayStrings.raw = rawArrayStrings;
|
|
138
|
+
Object.freeze && (Object.freeze(arrayStrings), Object.freeze(rawArrayStrings));
|
|
138
139
|
return arrayStrings;
|
|
139
140
|
};
|
|
140
141
|
$jscomp.makeIterator = function(iterable) {
|
|
@@ -766,28 +767,6 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
|
|
|
766
767
|
});
|
|
767
768
|
};
|
|
768
769
|
}, "es6", "es3");
|
|
769
|
-
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
770
|
-
if (thisArg == null) {
|
|
771
|
-
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
772
|
-
}
|
|
773
|
-
if (arg instanceof RegExp) {
|
|
774
|
-
throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
|
|
775
|
-
}
|
|
776
|
-
return thisArg + "";
|
|
777
|
-
};
|
|
778
|
-
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
779
|
-
return orig ? orig : function(searchString, opt_position) {
|
|
780
|
-
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
781
|
-
searchString += "";
|
|
782
|
-
opt_position === void 0 && (opt_position = string.length);
|
|
783
|
-
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
784
|
-
if (string[--i] != searchString[--j]) {
|
|
785
|
-
return !1;
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
return j <= 0;
|
|
789
|
-
};
|
|
790
|
-
}, "es6", "es3");
|
|
791
770
|
$jscomp.checkEs6ConformanceViaProxy = function() {
|
|
792
771
|
try {
|
|
793
772
|
var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
|
|
@@ -1093,6 +1072,15 @@ $jscomp.polyfill("Array.prototype.entries", function(orig) {
|
|
|
1093
1072
|
});
|
|
1094
1073
|
};
|
|
1095
1074
|
}, "es6", "es3");
|
|
1075
|
+
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
1076
|
+
if (thisArg == null) {
|
|
1077
|
+
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
1078
|
+
}
|
|
1079
|
+
if (arg instanceof RegExp) {
|
|
1080
|
+
throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
|
|
1081
|
+
}
|
|
1082
|
+
return thisArg + "";
|
|
1083
|
+
};
|
|
1096
1084
|
$jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
1097
1085
|
return orig ? orig : function(searchString, opt_position) {
|
|
1098
1086
|
var string = $jscomp.checkStringArgs(this, searchString, "startsWith");
|
|
@@ -1105,6 +1093,19 @@ $jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
|
1105
1093
|
return j >= searchLen;
|
|
1106
1094
|
};
|
|
1107
1095
|
}, "es6", "es3");
|
|
1096
|
+
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
1097
|
+
return orig ? orig : function(searchString, opt_position) {
|
|
1098
|
+
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
1099
|
+
searchString += "";
|
|
1100
|
+
opt_position === void 0 && (opt_position = string.length);
|
|
1101
|
+
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
1102
|
+
if (string[--i] != searchString[--j]) {
|
|
1103
|
+
return !1;
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
return j <= 0;
|
|
1107
|
+
};
|
|
1108
|
+
}, "es6", "es3");
|
|
1108
1109
|
$jscomp.polyfill("Number.isFinite", function(orig) {
|
|
1109
1110
|
return orig ? orig : function(x) {
|
|
1110
1111
|
return typeof x !== "number" ? !1 : !isNaN(x) && x !== Infinity && x !== -Infinity;
|
|
@@ -2147,9 +2148,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2147
2148
|
};
|
|
2148
2149
|
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;
|
|
2149
2150
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2150
|
-
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$
|
|
2151
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2152
|
-
var key = $jscomp$key$
|
|
2151
|
+
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 =
|
|
2152
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2153
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2153
2154
|
if (value != null) {
|
|
2154
2155
|
var copy = void 0;
|
|
2155
2156
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2160,11 +2161,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2160
2161
|
} else if (objects.hasOwnProperty(key)) {
|
|
2161
2162
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2162
2163
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2163
|
-
$jscomp$loop$
|
|
2164
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2164
2165
|
return function(v) {
|
|
2165
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2166
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2166
2167
|
};
|
|
2167
|
-
}($jscomp$loop$
|
|
2168
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2168
2169
|
} else if (Array.isArray(value)) {
|
|
2169
2170
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2170
2171
|
continue;
|
|
@@ -2179,8 +2180,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2179
2180
|
return target;
|
|
2180
2181
|
}
|
|
2181
2182
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2182
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2183
|
-
var mapKey = $jscomp$key$
|
|
2183
|
+
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()) {
|
|
2184
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2184
2185
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2185
2186
|
}
|
|
2186
2187
|
return objMap;
|
|
@@ -2210,39 +2211,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2210
2211
|
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))) {
|
|
2211
2212
|
return !1;
|
|
2212
2213
|
}
|
|
2213
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2214
|
-
var key = $jscomp$key$
|
|
2214
|
+
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()) {
|
|
2215
|
+
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);
|
|
2215
2216
|
if (has1 !== has2) {
|
|
2216
2217
|
return !1;
|
|
2217
2218
|
}
|
|
2218
2219
|
if (has1) {
|
|
2219
2220
|
var value1 = serializable1.Serializable$get(key);
|
|
2220
|
-
$jscomp$loop$
|
|
2221
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2221
2222
|
if (arrays1.hasOwnProperty(key)) {
|
|
2222
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2223
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2223
2224
|
return !1;
|
|
2224
2225
|
}
|
|
2225
2226
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2226
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2227
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2227
2228
|
return !1;
|
|
2228
2229
|
}
|
|
2229
2230
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2230
|
-
if ($jscomp$loop$
|
|
2231
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2231
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2232
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2232
2233
|
return function(v1, i) {
|
|
2233
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2234
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2234
2235
|
};
|
|
2235
|
-
}($jscomp$loop$
|
|
2236
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2236
2237
|
return !1;
|
|
2237
2238
|
}
|
|
2238
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2239
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2239
2240
|
return !1;
|
|
2240
2241
|
}
|
|
2241
2242
|
} else if (Array.isArray(value1)) {
|
|
2242
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2243
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2243
2244
|
return !1;
|
|
2244
2245
|
}
|
|
2245
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2246
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2246
2247
|
return !1;
|
|
2247
2248
|
}
|
|
2248
2249
|
}
|
|
@@ -2264,8 +2265,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2264
2265
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2265
2266
|
return !1;
|
|
2266
2267
|
}
|
|
2267
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2268
|
-
var mapKey = $jscomp$key$
|
|
2268
|
+
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()) {
|
|
2269
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2269
2270
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2270
2271
|
return !1;
|
|
2271
2272
|
}
|
|
@@ -2346,15 +2347,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2346
2347
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2347
2348
|
};
|
|
2348
2349
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2349
|
-
var $jscomp$this$
|
|
2350
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2350
2351
|
payload += this._metadataPayload;
|
|
2351
2352
|
return Promise.all(this.files.map(function(f) {
|
|
2352
|
-
return $jscomp$this$
|
|
2353
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2353
2354
|
})).then(function(filePayloads) {
|
|
2354
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2355
|
-
payload += $jscomp$key$
|
|
2355
|
+
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()) {
|
|
2356
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2356
2357
|
}
|
|
2357
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2358
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2358
2359
|
});
|
|
2359
2360
|
};
|
|
2360
2361
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2926,9 +2927,6 @@ var module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_ = {}
|
|
|
2926
2927
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.toString = function() {
|
|
2927
2928
|
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
|
|
2928
2929
|
};
|
|
2929
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.cloneWithParams = function(searchParams, opt_hashParams) {
|
|
2930
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(this, searchParams, opt_hashParams);
|
|
2931
|
-
};
|
|
2932
2930
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
|
|
2933
2931
|
var urlString = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url), parts = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_.exec(urlString), urlHash = parts[3] || "";
|
|
2934
2932
|
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(parts[1] + module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
|
|
@@ -2961,7 +2959,8 @@ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_ =
|
|
|
2961
2959
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
|
|
2962
2960
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
|
|
2963
2961
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
|
|
2964
|
-
|
|
2962
|
+
var url = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format(format, args);
|
|
2963
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(url, searchParams, opt_hashParams);
|
|
2965
2964
|
};
|
|
2966
2965
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstant = function(url) {
|
|
2967
2966
|
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
|
|
@@ -3010,8 +3009,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
3010
3009
|
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
3011
3010
|
}
|
|
3012
3011
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3013
|
-
var $jscomp$templatelit$
|
|
3014
|
-
["\\0"]), $jscomp$templatelit$
|
|
3012
|
+
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"],
|
|
3013
|
+
["\\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"};
|
|
3015
3014
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
3016
3015
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
3017
3016
|
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 ##############################");
|
|
@@ -3025,14 +3024,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
3025
3024
|
return fn.toString().indexOf("`") === -1;
|
|
3026
3025
|
}
|
|
3027
3026
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3028
|
-
return tag($jscomp$templatelit$
|
|
3027
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
3029
3028
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3030
|
-
return tag($jscomp$templatelit$
|
|
3029
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
3031
3030
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3032
|
-
return tag($jscomp$templatelit$
|
|
3031
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
3033
3032
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3034
|
-
return tag($jscomp$templatelit$
|
|
3035
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3033
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
3034
|
+
}), 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);
|
|
3036
3035
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3037
3036
|
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)) ?
|
|
3038
3037
|
!0 : !1;
|
|
@@ -3452,9 +3451,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3452
3451
|
}
|
|
3453
3452
|
}
|
|
3454
3453
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
3455
|
-
var $jscomp$tmp$error$
|
|
3456
|
-
this.message = $jscomp$tmp$error$
|
|
3457
|
-
"stack" in $jscomp$tmp$error$
|
|
3454
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
3455
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3456
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3458
3457
|
this.type = type;
|
|
3459
3458
|
this.intent = intent;
|
|
3460
3459
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -3561,7 +3560,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
3561
3560
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
3562
3561
|
};
|
|
3563
3562
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
3564
|
-
var $jscomp$optchain$
|
|
3563
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
3565
3564
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
3566
3565
|
}
|
|
3567
3566
|
;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"}, module$contents$safevalues$internals$script_impl_trustedTypes = goog.global.trustedTypes;
|
|
@@ -3610,205 +3609,30 @@ module$exports$safevalues$dom$elements$script.setSrc = function(script, v, optio
|
|
|
3610
3609
|
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
3611
3610
|
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
3612
3611
|
};
|
|
3613
|
-
var module$exports$safevalues$
|
|
3614
|
-
module$exports$safevalues$
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
3618
|
-
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
3619
|
-
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3620
|
-
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3621
|
-
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3622
|
-
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3623
|
-
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3624
|
-
var module$exports$safevalues$for_closure = {};
|
|
3625
|
-
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3626
|
-
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
3627
|
-
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
3628
|
-
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
3629
|
-
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
3630
|
-
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3631
|
-
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3632
|
-
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3633
|
-
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3634
|
-
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3635
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
3636
|
-
var styleString = goog.string.Const.unwrap(style);
|
|
3637
|
-
if (styleString.length === 0) {
|
|
3638
|
-
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3639
|
-
}
|
|
3640
|
-
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
3641
|
-
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
3642
|
-
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
3643
|
-
};
|
|
3644
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
3645
|
-
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
3646
|
-
};
|
|
3647
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
3648
|
-
var style = "", name;
|
|
3649
|
-
for (name in map) {
|
|
3650
|
-
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
3651
|
-
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
3652
|
-
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
3653
|
-
}
|
|
3654
|
-
var value = map[name];
|
|
3655
|
-
value != null && (value = Array.isArray(value) ? value.map(module$contents$goog$html$SafeStyle_sanitizePropertyValue).join(" ") : module$contents$goog$html$SafeStyle_sanitizePropertyValue(value), style += name + ":" + value + ";");
|
|
3656
|
-
}
|
|
3657
|
-
}
|
|
3658
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3659
|
-
};
|
|
3660
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
3661
|
-
var style = "", addArgument = function(argument) {
|
|
3662
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
3663
|
-
};
|
|
3664
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
3665
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3666
|
-
};
|
|
3667
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
3668
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
3669
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
3670
|
-
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
3671
|
-
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
3672
|
-
}
|
|
3673
|
-
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
3674
|
-
if (/[{;}]/.test(result)) {
|
|
3675
|
-
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
3676
|
-
}
|
|
3677
|
-
return result;
|
|
3678
|
-
}
|
|
3679
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
3680
|
-
var valueWithoutFunctions = value.replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_URL_RE, "url");
|
|
3681
|
-
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
3682
|
-
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
3683
|
-
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3684
|
-
}
|
|
3685
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
3686
|
-
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3687
|
-
}
|
|
3688
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
3689
|
-
return (0,goog.asserts.fail)("String value requires balanced square brackets and one identifier per pair of brackets, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3690
|
-
}
|
|
3691
|
-
} else {
|
|
3692
|
-
return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3693
|
-
}
|
|
3694
|
-
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
3695
|
-
}
|
|
3696
|
-
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
3697
|
-
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
3698
|
-
var c = value.charAt(i);
|
|
3699
|
-
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
3700
|
-
}
|
|
3701
|
-
return outsideSingle && outsideDouble;
|
|
3702
|
-
}
|
|
3703
|
-
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
3704
|
-
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
3705
|
-
var c = value.charAt(i);
|
|
3706
|
-
if (c == "]") {
|
|
3707
|
-
if (outside) {
|
|
3708
|
-
return !1;
|
|
3709
|
-
}
|
|
3710
|
-
outside = !0;
|
|
3711
|
-
} else if (c == "[") {
|
|
3712
|
-
if (!outside) {
|
|
3713
|
-
return !1;
|
|
3714
|
-
}
|
|
3715
|
-
outside = !1;
|
|
3716
|
-
} else if (!outside && !tokenRe.test(c)) {
|
|
3717
|
-
return !1;
|
|
3718
|
-
}
|
|
3719
|
-
}
|
|
3720
|
-
return outside;
|
|
3721
|
-
}
|
|
3722
|
-
var module$contents$goog$html$SafeStyle_VALUE_RE = RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"), module$contents$goog$html$SafeStyle_URL_RE = RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))", "g"), module$contents$goog$html$SafeStyle_FUNCTIONS_RE = RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)", "g"), module$contents$goog$html$SafeStyle_COMMENT_RE =
|
|
3723
|
-
/\/\*/;
|
|
3724
|
-
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
3725
|
-
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
3726
|
-
var quote = "";
|
|
3727
|
-
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
3728
|
-
quote = start;
|
|
3729
|
-
return inside;
|
|
3730
|
-
});
|
|
3731
|
-
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
3732
|
-
return before + quote + sanitized + quote + after;
|
|
3733
|
-
});
|
|
3734
|
-
}
|
|
3735
|
-
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3736
|
-
var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
|
|
3737
|
-
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
3738
|
-
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
3739
|
-
}
|
|
3740
|
-
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
|
|
3741
|
-
};
|
|
3742
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
|
|
3743
|
-
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString();
|
|
3744
|
-
};
|
|
3745
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(selector, style) {
|
|
3746
|
-
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
3747
|
-
throw Error("Selector does not allow '<', got: " + selector);
|
|
3748
|
-
}
|
|
3749
|
-
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
3750
|
-
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
3751
|
-
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
3752
|
-
}
|
|
3753
|
-
if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
|
|
3754
|
-
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
3755
|
-
}
|
|
3756
|
-
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
3757
|
-
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
3758
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
3759
|
-
};
|
|
3760
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
|
|
3761
|
-
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
3762
|
-
var ch = s[i];
|
|
3763
|
-
if (brackets[ch]) {
|
|
3764
|
-
expectedBrackets.push(brackets[ch]);
|
|
3765
|
-
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
3766
|
-
return !1;
|
|
3767
|
-
}
|
|
3768
|
-
}
|
|
3769
|
-
return expectedBrackets.length == 0;
|
|
3770
|
-
};
|
|
3771
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat = function(var_args) {
|
|
3772
|
-
var result = "", addArgument = function(argument) {
|
|
3773
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(argument);
|
|
3774
|
-
};
|
|
3775
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
3776
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(result);
|
|
3777
|
-
};
|
|
3778
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
3779
|
-
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
3780
|
-
if (styleSheetString.length === 0) {
|
|
3781
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY;
|
|
3782
|
-
}
|
|
3783
|
-
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
3784
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheetString);
|
|
3785
|
-
};
|
|
3786
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
3787
|
-
if (safeStyleSheet instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet && safeStyleSheet.constructor === module$contents$goog$html$SafeStyleSheet_SafeStyleSheet) {
|
|
3788
|
-
return safeStyleSheet.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;
|
|
3789
|
-
}
|
|
3790
|
-
(0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '" + safeStyleSheet + "' of type " + goog.typeOf(safeStyleSheet));
|
|
3791
|
-
return "type_error:SafeStyleSheet";
|
|
3612
|
+
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"};
|
|
3613
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = function(token, value) {
|
|
3614
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3615
|
+
this.privateDoNotAccessOrElseWrappedStyleSheet = value;
|
|
3792
3616
|
};
|
|
3793
|
-
module$
|
|
3794
|
-
return
|
|
3617
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.prototype.toString = function() {
|
|
3618
|
+
return this.privateDoNotAccessOrElseWrappedStyleSheet;
|
|
3795
3619
|
};
|
|
3796
|
-
module$contents$
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
3800
|
-
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"};
|
|
3801
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
3802
|
-
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
|
|
3803
|
-
return (0,module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet)(styleSheet);
|
|
3620
|
+
var module$contents$safevalues$internals$style_sheet_impl_StyleSheetImpl = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
3621
|
+
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(value) {
|
|
3622
|
+
return new module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3804
3623
|
}
|
|
3805
3624
|
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
3806
3625
|
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
3807
|
-
return value instanceof module$
|
|
3626
|
+
return value instanceof module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
3808
3627
|
}
|
|
3809
3628
|
module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
3810
3629
|
function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
|
|
3811
|
-
|
|
3630
|
+
if (module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value)) {
|
|
3631
|
+
return value.privateDoNotAccessOrElseWrappedStyleSheet;
|
|
3632
|
+
}
|
|
3633
|
+
var message = "";
|
|
3634
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyleSheet, got '" + value + "' of type '" + typeof value + "'");
|
|
3635
|
+
throw Error(message);
|
|
3812
3636
|
}
|
|
3813
3637
|
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
3814
3638
|
var module$exports$safevalues$dom$elements$style = {}, module$contents$safevalues$dom$elements$style_module = module$contents$safevalues$dom$elements$style_module || {id:"third_party/javascript/safevalues/dom/elements/style.closure.js"};
|
|
@@ -4907,9 +4731,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
4907
4731
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
4908
4732
|
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"};
|
|
4909
4733
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4910
|
-
var $jscomp$tmp$error$
|
|
4911
|
-
this.message = $jscomp$tmp$error$
|
|
4912
|
-
"stack" in $jscomp$tmp$error$
|
|
4734
|
+
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.");
|
|
4735
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4736
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4913
4737
|
this.url = url;
|
|
4914
4738
|
this.typeName = typeName;
|
|
4915
4739
|
this.contentType = contentType;
|
|
@@ -4921,48 +4745,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4921
4745
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4922
4746
|
}
|
|
4923
4747
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4924
|
-
var response, $jscomp$optchain$
|
|
4925
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4926
|
-
if ($jscomp$generator$context$
|
|
4927
|
-
return $jscomp$generator$context$
|
|
4928
|
-
}
|
|
4929
|
-
response = $jscomp$generator$context$
|
|
4930
|
-
mimeType = ($jscomp$optchain$
|
|
4931
|
-
return $jscomp$generator$context$
|
|
4748
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4749
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4750
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
4751
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4752
|
+
}
|
|
4753
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
4754
|
+
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();
|
|
4755
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4932
4756
|
var text;
|
|
4933
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4934
|
-
if ($jscomp$generator$context$
|
|
4757
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4758
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
4935
4759
|
if (mimeType !== "text/html") {
|
|
4936
4760
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4937
4761
|
}
|
|
4938
|
-
return $jscomp$generator$context$
|
|
4762
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4939
4763
|
}
|
|
4940
|
-
text = $jscomp$generator$context$
|
|
4941
|
-
return $jscomp$generator$context$
|
|
4764
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
4765
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4942
4766
|
});
|
|
4943
4767
|
}, script:function() {
|
|
4944
4768
|
var text;
|
|
4945
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4946
|
-
if ($jscomp$generator$context$
|
|
4769
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4770
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
4947
4771
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4948
4772
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4949
4773
|
}
|
|
4950
|
-
return $jscomp$generator$context$
|
|
4774
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4951
4775
|
}
|
|
4952
|
-
text = $jscomp$generator$context$
|
|
4953
|
-
return $jscomp$generator$context$
|
|
4776
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
4777
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4954
4778
|
});
|
|
4955
4779
|
}, styleSheet:function() {
|
|
4956
4780
|
var text;
|
|
4957
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4958
|
-
if ($jscomp$generator$context$
|
|
4781
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4782
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
4959
4783
|
if (mimeType !== "text/css") {
|
|
4960
4784
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4961
4785
|
}
|
|
4962
|
-
return $jscomp$generator$context$
|
|
4786
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4963
4787
|
}
|
|
4964
|
-
text = $jscomp$generator$context$
|
|
4965
|
-
return $jscomp$generator$context$
|
|
4788
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
4789
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4966
4790
|
});
|
|
4967
4791
|
}});
|
|
4968
4792
|
});
|
|
@@ -6384,8 +6208,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6384
6208
|
}
|
|
6385
6209
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6386
6210
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6387
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6388
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6211
|
+
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()) {
|
|
6212
|
+
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;
|
|
6389
6213
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6390
6214
|
}
|
|
6391
6215
|
return urlQueryParams;
|
|
@@ -6396,8 +6220,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6396
6220
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6397
6221
|
if (params.headers) {
|
|
6398
6222
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6399
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6400
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6223
|
+
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()) {
|
|
6224
|
+
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;
|
|
6401
6225
|
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);
|
|
6402
6226
|
}
|
|
6403
6227
|
}
|
|
@@ -6437,9 +6261,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6437
6261
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6438
6262
|
};
|
|
6439
6263
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6440
|
-
var $jscomp$this$
|
|
6264
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6441
6265
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6442
|
-
return $jscomp$this$
|
|
6266
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6443
6267
|
}));
|
|
6444
6268
|
};
|
|
6445
6269
|
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"};
|
|
@@ -6579,7 +6403,7 @@ goog.debug.entryPointRegistry.unmonitorAllIfPossible = function(monitor) {
|
|
|
6579
6403
|
var module$contents$goog$events$BrowserFeature_purify = function(fn) {
|
|
6580
6404
|
return {valueOf:fn}.valueOf();
|
|
6581
6405
|
};
|
|
6582
|
-
goog.events.BrowserFeature = {TOUCH_ENABLED
|
|
6406
|
+
goog.events.BrowserFeature = {TOUCH_ENABLED:!!(goog.global.navigator && goog.global.navigator.maxTouchPoints || goog.FEATURESET_YEAR < 2018 && ("ontouchstart" in goog.global || goog.global.document && document.documentElement && "ontouchstart" in document.documentElement || goog.global.navigator && goog.global.navigator.msMaxTouchPoints)), POINTER_EVENTS:goog.FEATURESET_YEAR >= 2019 || "PointerEvent" in goog.global, PASSIVE_EVENTS:goog.FEATURESET_YEAR > 2018 || module$contents$goog$events$BrowserFeature_purify(function() {
|
|
6583
6407
|
if (!goog.global.addEventListener || !Object.defineProperty) {
|
|
6584
6408
|
return !1;
|
|
6585
6409
|
}
|
|
@@ -6623,9 +6447,8 @@ goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2
|
|
|
6623
6447
|
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);
|
|
6624
6448
|
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = 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_flush_queue_fix__disable : goog.readFlagInternalDoNotUseOrElse(644029907, !0);
|
|
6625
6449
|
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = 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_ordered_reaction_execution__disable : goog.readFlagInternalDoNotUseOrElse(1822726157, !0);
|
|
6626
|
-
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable : goog.readFlagInternalDoNotUseOrElse(661449076,
|
|
6627
|
-
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ?
|
|
6628
|
-
module$contents$goog$flags_STAGING);
|
|
6450
|
+
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable : goog.readFlagInternalDoNotUseOrElse(661449076, goog.DEBUG);
|
|
6451
|
+
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = 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_enable_low_index_extension_writes__disable : goog.readFlagInternalDoNotUseOrElse(645172343, !0);
|
|
6629
6452
|
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);
|
|
6630
6453
|
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);
|
|
6631
6454
|
goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__enable : goog.readFlagInternalDoNotUseOrElse(660014094, goog.DEBUG);
|
|
@@ -11848,48 +11671,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
11848
11671
|
}, set:function(value) {
|
|
11849
11672
|
this.Serializable$set("uris", value);
|
|
11850
11673
|
}}});
|
|
11851
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequestParameters = function() {
|
|
11852
|
-
};
|
|
11853
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest = function(parameters) {
|
|
11854
|
-
parameters = parameters === void 0 ? {} : parameters;
|
|
11855
|
-
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
11856
|
-
this.Serializable$set("imageManifest", parameters.imageManifest == null ? null : parameters.imageManifest);
|
|
11857
|
-
this.Serializable$set("overwrite", parameters.overwrite == null ? null : parameters.overwrite);
|
|
11858
|
-
this.Serializable$set("useLatestObjectVersion", parameters.useLatestObjectVersion == null ? null : parameters.useLatestObjectVersion);
|
|
11859
|
-
};
|
|
11860
|
-
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
11861
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getConstructor = function() {
|
|
11862
|
-
return module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest;
|
|
11863
|
-
};
|
|
11864
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getPartialClassMetadata = function() {
|
|
11865
|
-
return {keys:["imageManifest", "overwrite", "useLatestObjectVersion"], objects:{imageManifest:module$exports$eeapiclient$ee_api_client.ImageManifest}};
|
|
11866
|
-
};
|
|
11867
|
-
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype, {imageManifest:{configurable:!0, enumerable:!0, get:function() {
|
|
11868
|
-
return this.Serializable$has("imageManifest") ? this.Serializable$get("imageManifest") : null;
|
|
11869
|
-
}, set:function(value) {
|
|
11870
|
-
this.Serializable$set("imageManifest", value);
|
|
11871
|
-
}}, overwrite:{configurable:!0, enumerable:!0, get:function() {
|
|
11872
|
-
return this.Serializable$has("overwrite") ? this.Serializable$get("overwrite") : null;
|
|
11873
|
-
}, set:function(value) {
|
|
11874
|
-
this.Serializable$set("overwrite", value);
|
|
11875
|
-
}}, useLatestObjectVersion:{configurable:!0, enumerable:!0, get:function() {
|
|
11876
|
-
return this.Serializable$has("useLatestObjectVersion") ? this.Serializable$get("useLatestObjectVersion") : null;
|
|
11877
|
-
}, set:function(value) {
|
|
11878
|
-
this.Serializable$set("useLatestObjectVersion", value);
|
|
11879
|
-
}}});
|
|
11880
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponseParameters = function() {
|
|
11881
|
-
};
|
|
11882
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse = function(parameters) {
|
|
11883
|
-
parameters = parameters === void 0 ? {} : parameters;
|
|
11884
|
-
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
11885
|
-
};
|
|
11886
|
-
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse, module$exports$eeapiclient$domain_object.Serializable);
|
|
11887
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getConstructor = function() {
|
|
11888
|
-
return module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse;
|
|
11889
|
-
};
|
|
11890
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getPartialClassMetadata = function() {
|
|
11891
|
-
return {keys:[]};
|
|
11892
|
-
};
|
|
11893
11674
|
module$exports$eeapiclient$ee_api_client.ImportImageRequestParameters = function() {
|
|
11894
11675
|
};
|
|
11895
11676
|
module$exports$eeapiclient$ee_api_client.ImportImageRequest = function(parameters) {
|
|
@@ -14432,12 +14213,6 @@ module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.im
|
|
|
14432
14213
|
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14433
14214
|
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.image.import", path:"/" + this.gapiVersion + "/" + project + "/image:import", queryParams:module$contents$eeapiclient$request_params_buildQueryParams(namedParameters, module$contents$eeapiclient$ee_api_client_PARAM_MAP_0, passthroughNamedParameters), responseCtor:module$exports$eeapiclient$ee_api_client.Operation});
|
|
14434
14215
|
};
|
|
14435
|
-
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.importExternal = function(project, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14436
|
-
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14437
|
-
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14438
|
-
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14439
|
-
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.image.importExternal", path:"/" + this.gapiVersion + "/" + project + "/image:importExternal", queryParams:module$contents$eeapiclient$request_params_buildQueryParams(namedParameters, module$contents$eeapiclient$ee_api_client_PARAM_MAP_0, passthroughNamedParameters), responseCtor:module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse});
|
|
14440
|
-
};
|
|
14441
14216
|
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient = function() {
|
|
14442
14217
|
};
|
|
14443
14218
|
module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClient$XgafvEnum = function() {
|
|
@@ -15246,6 +15021,181 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
15246
15021
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
15247
15022
|
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
15248
15023
|
};
|
|
15024
|
+
var module$exports$safevalues$for_closure$index = {}, module$contents$safevalues$for_closure$index_module = module$contents$safevalues$for_closure$index_module || {id:"third_party/javascript/safevalues/for_closure/index.closure.js"};
|
|
15025
|
+
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15026
|
+
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
15027
|
+
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15028
|
+
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
15029
|
+
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
15030
|
+
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15031
|
+
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15032
|
+
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15033
|
+
module$exports$safevalues$for_closure$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15034
|
+
module$exports$safevalues$for_closure$index.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15035
|
+
module$exports$safevalues$for_closure$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15036
|
+
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15037
|
+
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15038
|
+
var module$exports$safevalues$for_closure = {};
|
|
15039
|
+
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15040
|
+
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
15041
|
+
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15042
|
+
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
15043
|
+
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
15044
|
+
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15045
|
+
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15046
|
+
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15047
|
+
module$exports$safevalues$for_closure.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15048
|
+
module$exports$safevalues$for_closure.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15049
|
+
module$exports$safevalues$for_closure.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15050
|
+
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15051
|
+
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15052
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
15053
|
+
var styleString = goog.string.Const.unwrap(style);
|
|
15054
|
+
if (styleString.length === 0) {
|
|
15055
|
+
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15056
|
+
}
|
|
15057
|
+
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
15058
|
+
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
15059
|
+
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
15060
|
+
};
|
|
15061
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
15062
|
+
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
15063
|
+
};
|
|
15064
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
15065
|
+
var style = "", name;
|
|
15066
|
+
for (name in map) {
|
|
15067
|
+
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
15068
|
+
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
15069
|
+
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
15070
|
+
}
|
|
15071
|
+
var value = map[name];
|
|
15072
|
+
value != null && (value = Array.isArray(value) ? value.map(module$contents$goog$html$SafeStyle_sanitizePropertyValue).join(" ") : module$contents$goog$html$SafeStyle_sanitizePropertyValue(value), style += name + ":" + value + ";");
|
|
15073
|
+
}
|
|
15074
|
+
}
|
|
15075
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15076
|
+
};
|
|
15077
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
15078
|
+
var style = "", addArgument = function(argument) {
|
|
15079
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
15080
|
+
};
|
|
15081
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
15082
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15083
|
+
};
|
|
15084
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
15085
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
15086
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
15087
|
+
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15088
|
+
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
15089
|
+
}
|
|
15090
|
+
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
15091
|
+
if (/[{;}]/.test(result)) {
|
|
15092
|
+
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
15093
|
+
}
|
|
15094
|
+
return result;
|
|
15095
|
+
}
|
|
15096
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
15097
|
+
var valueWithoutFunctions = value.replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_URL_RE, "url");
|
|
15098
|
+
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
15099
|
+
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
15100
|
+
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15101
|
+
}
|
|
15102
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
15103
|
+
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15104
|
+
}
|
|
15105
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
15106
|
+
return (0,goog.asserts.fail)("String value requires balanced square brackets and one identifier per pair of brackets, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15107
|
+
}
|
|
15108
|
+
} else {
|
|
15109
|
+
return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15110
|
+
}
|
|
15111
|
+
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
15112
|
+
}
|
|
15113
|
+
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
15114
|
+
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
15115
|
+
var c = value.charAt(i);
|
|
15116
|
+
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
15117
|
+
}
|
|
15118
|
+
return outsideSingle && outsideDouble;
|
|
15119
|
+
}
|
|
15120
|
+
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
15121
|
+
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
15122
|
+
var c = value.charAt(i);
|
|
15123
|
+
if (c == "]") {
|
|
15124
|
+
if (outside) {
|
|
15125
|
+
return !1;
|
|
15126
|
+
}
|
|
15127
|
+
outside = !0;
|
|
15128
|
+
} else if (c == "[") {
|
|
15129
|
+
if (!outside) {
|
|
15130
|
+
return !1;
|
|
15131
|
+
}
|
|
15132
|
+
outside = !1;
|
|
15133
|
+
} else if (!outside && !tokenRe.test(c)) {
|
|
15134
|
+
return !1;
|
|
15135
|
+
}
|
|
15136
|
+
}
|
|
15137
|
+
return outside;
|
|
15138
|
+
}
|
|
15139
|
+
var module$contents$goog$html$SafeStyle_VALUE_RE = RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"), module$contents$goog$html$SafeStyle_URL_RE = RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))", "g"), module$contents$goog$html$SafeStyle_FUNCTIONS_RE = RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)", "g"), module$contents$goog$html$SafeStyle_COMMENT_RE =
|
|
15140
|
+
/\/\*/;
|
|
15141
|
+
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
15142
|
+
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
15143
|
+
var quote = "";
|
|
15144
|
+
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
15145
|
+
quote = start;
|
|
15146
|
+
return inside;
|
|
15147
|
+
});
|
|
15148
|
+
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
15149
|
+
return before + quote + sanitized + quote + after;
|
|
15150
|
+
});
|
|
15151
|
+
}
|
|
15152
|
+
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15153
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule = function(selector, style) {
|
|
15154
|
+
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
15155
|
+
throw Error("Selector does not allow '<', got: " + selector);
|
|
15156
|
+
}
|
|
15157
|
+
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
15158
|
+
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
15159
|
+
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
15160
|
+
}
|
|
15161
|
+
if (!module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(selectorToCheck)) {
|
|
15162
|
+
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
15163
|
+
}
|
|
15164
|
+
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
15165
|
+
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
15166
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15167
|
+
};
|
|
15168
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.concat = function(var_args) {
|
|
15169
|
+
var result = "", addArgument = function(argument) {
|
|
15170
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap(argument);
|
|
15171
|
+
};
|
|
15172
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
15173
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(result);
|
|
15174
|
+
};
|
|
15175
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
15176
|
+
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
15177
|
+
if (styleSheetString.length === 0) {
|
|
15178
|
+
return module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY;
|
|
15179
|
+
}
|
|
15180
|
+
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
15181
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetString);
|
|
15182
|
+
};
|
|
15183
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
15184
|
+
return module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
15185
|
+
};
|
|
15186
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal("");
|
|
15187
|
+
function module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(s) {
|
|
15188
|
+
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
15189
|
+
var ch = s[i];
|
|
15190
|
+
if (brackets[ch]) {
|
|
15191
|
+
expectedBrackets.push(brackets[ch]);
|
|
15192
|
+
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
15193
|
+
return !1;
|
|
15194
|
+
}
|
|
15195
|
+
}
|
|
15196
|
+
return expectedBrackets.length == 0;
|
|
15197
|
+
}
|
|
15198
|
+
goog.html.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15249
15199
|
module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
|
|
15250
15200
|
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
|
|
15251
15201
|
};
|
|
@@ -15312,7 +15262,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.createStyle = function(st
|
|
|
15312
15262
|
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
15313
15263
|
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
15314
15264
|
for (var i = 0; i < styleSheet.length; i++) {
|
|
15315
|
-
content += module$
|
|
15265
|
+
content += module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap(styleSheet[i]);
|
|
15316
15266
|
}
|
|
15317
15267
|
var htmlContent = (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content);
|
|
15318
15268
|
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
@@ -15419,6 +15369,9 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
15419
15369
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
15420
15370
|
}
|
|
15421
15371
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
15372
|
+
if (typeof value === "string") {
|
|
15373
|
+
return value;
|
|
15374
|
+
}
|
|
15422
15375
|
if (!goog.isObject(value)) {
|
|
15423
15376
|
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof value + " given: " + value : "");
|
|
15424
15377
|
}
|
|
@@ -15659,8 +15612,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15659
15612
|
this.replacements = new Map();
|
|
15660
15613
|
};
|
|
15661
15614
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15662
|
-
var $jscomp$this$
|
|
15663
|
-
return $jscomp$this$
|
|
15615
|
+
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) {
|
|
15616
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15664
15617
|
});
|
|
15665
15618
|
if (openedTags.length !== 0) {
|
|
15666
15619
|
if (goog.DEBUG) {
|
|
@@ -15878,8 +15831,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
15878
15831
|
if (Array.isArray(token)) {
|
|
15879
15832
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
15880
15833
|
} else {
|
|
15881
|
-
var $jscomp$optchain$
|
|
15882
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
15834
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
15835
|
+
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) {
|
|
15883
15836
|
tokens.push(token);
|
|
15884
15837
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
15885
15838
|
return tokens;
|
|
@@ -16125,9 +16078,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16125
16078
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16126
16079
|
};
|
|
16127
16080
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16128
|
-
var $jscomp$this$
|
|
16081
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16129
16082
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16130
|
-
return $jscomp$this$
|
|
16083
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16131
16084
|
});
|
|
16132
16085
|
};
|
|
16133
16086
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16234,8 +16187,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16234
16187
|
return null;
|
|
16235
16188
|
}
|
|
16236
16189
|
if (token.lowercaseName === "url") {
|
|
16237
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16238
|
-
if ((($jscomp$optchain$
|
|
16190
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16191
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16239
16192
|
return null;
|
|
16240
16193
|
}
|
|
16241
16194
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16258,8 +16211,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16258
16211
|
if (!this.allowKeyframes) {
|
|
16259
16212
|
return null;
|
|
16260
16213
|
}
|
|
16261
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16262
|
-
var rule = $jscomp$key$
|
|
16214
|
+
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()) {
|
|
16215
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16263
16216
|
if (rule instanceof CSSKeyframeRule) {
|
|
16264
16217
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16265
16218
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16271,8 +16224,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16271
16224
|
if (!this.propertyAllowlist.has(name)) {
|
|
16272
16225
|
return !1;
|
|
16273
16226
|
}
|
|
16274
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16275
|
-
var discarder = $jscomp$key$
|
|
16227
|
+
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()) {
|
|
16228
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16276
16229
|
if (discarder(name)) {
|
|
16277
16230
|
return !1;
|
|
16278
16231
|
}
|
|
@@ -16287,8 +16240,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16287
16240
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16288
16241
|
};
|
|
16289
16242
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16290
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16291
|
-
var name = $jscomp$key$
|
|
16243
|
+
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()) {
|
|
16244
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16292
16245
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16293
16246
|
}
|
|
16294
16247
|
return sanitizedProperties;
|
|
@@ -16302,8 +16255,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16302
16255
|
return selector + " { " + sanitizedProperties + " }";
|
|
16303
16256
|
};
|
|
16304
16257
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16305
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16306
|
-
var rule = $jscomp$key$
|
|
16258
|
+
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()) {
|
|
16259
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16307
16260
|
if (rule instanceof CSSStyleRule) {
|
|
16308
16261
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16309
16262
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16464,8 +16417,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16464
16417
|
return fragment;
|
|
16465
16418
|
};
|
|
16466
16419
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16467
|
-
for (var $jscomp$this$
|
|
16468
|
-
return $jscomp$this$
|
|
16420
|
+
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) {
|
|
16421
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
16469
16422
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16470
16423
|
var sanitizedNode = void 0;
|
|
16471
16424
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16500,8 +16453,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16500
16453
|
return this.createTextNode(textNode.data);
|
|
16501
16454
|
};
|
|
16502
16455
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16503
|
-
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$
|
|
16504
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16456
|
+
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()) {
|
|
16457
|
+
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);
|
|
16505
16458
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16506
16459
|
switch(policy.policyAction) {
|
|
16507
16460
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16533,9 +16486,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16533
16486
|
break;
|
|
16534
16487
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16535
16488
|
if (this.resourceUrlPolicy) {
|
|
16536
|
-
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$
|
|
16489
|
+
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 =
|
|
16537
16490
|
$jscomp$iter$35.next()) {
|
|
16538
|
-
var part = $jscomp$key$
|
|
16491
|
+
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);
|
|
16539
16492
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16540
16493
|
}
|
|
16541
16494
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16579,8 +16532,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16579
16532
|
if (!conditions) {
|
|
16580
16533
|
return !0;
|
|
16581
16534
|
}
|
|
16582
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16583
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16535
|
+
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()) {
|
|
16536
|
+
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;
|
|
16584
16537
|
if (value && !expectedValues.has(value)) {
|
|
16585
16538
|
return !1;
|
|
16586
16539
|
}
|
|
@@ -16595,8 +16548,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16595
16548
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16596
16549
|
};
|
|
16597
16550
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16598
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16599
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16551
|
+
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()) {
|
|
16552
|
+
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;
|
|
16600
16553
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16601
16554
|
}
|
|
16602
16555
|
return {parts:parts};
|
|
@@ -16653,8 +16606,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16653
16606
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
16654
16607
|
};
|
|
16655
16608
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
16656
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
16657
|
-
var element = $jscomp$key$
|
|
16609
|
+
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()) {
|
|
16610
|
+
var element = $jscomp$key$m1412690177$21$element.value;
|
|
16658
16611
|
element = element.toUpperCase();
|
|
16659
16612
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
16660
16613
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -16672,8 +16625,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16672
16625
|
throw Error("Element: " + element + " is not a custom element");
|
|
16673
16626
|
}
|
|
16674
16627
|
if (allowedAttributes) {
|
|
16675
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
16676
|
-
elementPolicy.set($jscomp$key$
|
|
16628
|
+
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()) {
|
|
16629
|
+
elementPolicy.set($jscomp$key$m1412690177$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
16677
16630
|
}
|
|
16678
16631
|
allowedElementPolicies.set(element, elementPolicy);
|
|
16679
16632
|
} else {
|
|
@@ -16683,15 +16636,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16683
16636
|
return this;
|
|
16684
16637
|
};
|
|
16685
16638
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
16686
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
16687
|
-
var attribute = $jscomp$key$
|
|
16639
|
+
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()) {
|
|
16640
|
+
var attribute = $jscomp$key$m1412690177$23$attribute.value;
|
|
16688
16641
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
16689
16642
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
16690
16643
|
}
|
|
16691
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
16692
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16644
|
+
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()) {
|
|
16645
|
+
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$ =
|
|
16693
16646
|
$jscomp$iter$42.next()) {
|
|
16694
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16647
|
+
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;
|
|
16695
16648
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
16696
16649
|
}
|
|
16697
16650
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -16700,8 +16653,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16700
16653
|
return this;
|
|
16701
16654
|
};
|
|
16702
16655
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
16703
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
16704
|
-
var attribute = $jscomp$key$
|
|
16656
|
+
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()) {
|
|
16657
|
+
var attribute = $jscomp$key$m1412690177$26$attribute.value;
|
|
16705
16658
|
if (attribute.indexOf("data-") !== 0) {
|
|
16706
16659
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
16707
16660
|
}
|
|
@@ -16763,7 +16716,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16763
16716
|
return this;
|
|
16764
16717
|
};
|
|
16765
16718
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
16766
|
-
var $jscomp$this$
|
|
16719
|
+
var $jscomp$this$m1412690177$17 = this;
|
|
16767
16720
|
this.extendSanitizerTableForCss();
|
|
16768
16721
|
var propertyDiscarders = [];
|
|
16769
16722
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -16773,9 +16726,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16773
16726
|
return /^transition(-|$)/.test(property);
|
|
16774
16727
|
});
|
|
16775
16728
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
16776
|
-
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$
|
|
16729
|
+
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);
|
|
16777
16730
|
}, function(cssText) {
|
|
16778
|
-
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$
|
|
16731
|
+
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);
|
|
16779
16732
|
}, this.resourceUrlPolicy);
|
|
16780
16733
|
};
|
|
16781
16734
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -16838,8 +16791,8 @@ function module$contents$safevalues$builders$resource_url_builders_isValidRelati
|
|
|
16838
16791
|
function module$contents$safevalues$builders$resource_url_builders_UrlSegments() {
|
|
16839
16792
|
}
|
|
16840
16793
|
function module$contents$safevalues$builders$resource_url_builders_getUrlSegments(url) {
|
|
16841
|
-
var parts = url.split(
|
|
16842
|
-
return {urlPath:parts[0], params:params, fragment
|
|
16794
|
+
var parts = url.split(/[?#]/), params = /[?]/.test(url) ? "?" + parts[1] : "";
|
|
16795
|
+
return {urlPath:parts[0], params:params, fragment:/[#]/.test(url) ? "#" + (params ? parts[2] : parts[1]) : ""};
|
|
16843
16796
|
}
|
|
16844
16797
|
function module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl(templateObj) {
|
|
16845
16798
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
@@ -16863,20 +16816,29 @@ function module$contents$safevalues$builders$resource_url_builders_trustedResour
|
|
|
16863
16816
|
}
|
|
16864
16817
|
module$exports$safevalues$builders$resource_url_builders.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
16865
16818
|
var module$contents$safevalues$builders$resource_url_builders_IterableEntries, module$contents$safevalues$builders$resource_url_builders_SearchParams;
|
|
16819
|
+
function module$contents$safevalues$builders$resource_url_builders_replaceParams(trustedUrl, params) {
|
|
16820
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString());
|
|
16821
|
+
return module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(urlSegments.urlPath, "", urlSegments.fragment, params);
|
|
16822
|
+
}
|
|
16823
|
+
module$exports$safevalues$builders$resource_url_builders.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
16866
16824
|
function module$contents$safevalues$builders$resource_url_builders_appendParams(trustedUrl, params) {
|
|
16825
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString());
|
|
16826
|
+
return module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(urlSegments.urlPath, urlSegments.params, urlSegments.fragment, params);
|
|
16827
|
+
}
|
|
16828
|
+
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16829
|
+
function module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(path, params, hash, newParams) {
|
|
16867
16830
|
function addParam(value, key) {
|
|
16868
16831
|
value != null && (module$contents$safevalues$builders$resource_url_builders_isArray(value) ? value.forEach(function(v) {
|
|
16869
16832
|
return addParam(v, key);
|
|
16870
|
-
}) : (
|
|
16833
|
+
}) : (params += separator + encodeURIComponent(key) + "=" + encodeURIComponent(value), separator = "&"));
|
|
16871
16834
|
}
|
|
16872
|
-
var
|
|
16873
|
-
module$contents$safevalues$builders$resource_url_builders_isPlainObject(
|
|
16874
|
-
module$contents$safevalues$builders$resource_url_builders_isArray(
|
|
16835
|
+
var separator = params.length ? "&" : "?";
|
|
16836
|
+
module$contents$safevalues$builders$resource_url_builders_isPlainObject(newParams) && (newParams = Object.entries(newParams));
|
|
16837
|
+
module$contents$safevalues$builders$resource_url_builders_isArray(newParams) ? newParams.forEach(function(pair) {
|
|
16875
16838
|
return addParam(pair[1], pair[0]);
|
|
16876
|
-
}) :
|
|
16877
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(
|
|
16839
|
+
}) : newParams.forEach(addParam);
|
|
16840
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(path + params + hash);
|
|
16878
16841
|
}
|
|
16879
|
-
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16880
16842
|
function module$contents$safevalues$builders$resource_url_builders_isArray(x) {
|
|
16881
16843
|
return Array.isArray(x);
|
|
16882
16844
|
}
|
|
@@ -17016,12 +16978,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17016
16978
|
}
|
|
17017
16979
|
try {
|
|
17018
16980
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17019
|
-
} catch ($jscomp$unused$catch$
|
|
16981
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17020
16982
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17021
16983
|
}
|
|
17022
16984
|
try {
|
|
17023
16985
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17024
|
-
} catch ($jscomp$unused$catch$
|
|
16986
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17025
16987
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17026
16988
|
}
|
|
17027
16989
|
return !1;
|
|
@@ -17069,6 +17031,7 @@ module$exports$safevalues$index.appendParams = module$contents$safevalues$builde
|
|
|
17069
17031
|
module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
17070
17032
|
module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
17071
17033
|
module$exports$safevalues$index.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
17034
|
+
module$exports$safevalues$index.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
17072
17035
|
module$exports$safevalues$index.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
17073
17036
|
module$exports$safevalues$index.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
17074
17037
|
module$exports$safevalues$index.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
@@ -17106,7 +17069,7 @@ module$exports$safevalues$index.unwrapScript = module$contents$safevalues$intern
|
|
|
17106
17069
|
module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
17107
17070
|
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17108
17071
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17109
|
-
module$exports$safevalues$index.SafeStyleSheet = module$
|
|
17072
|
+
module$exports$safevalues$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
17110
17073
|
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
17111
17074
|
module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
17112
17075
|
module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
@@ -17116,38 +17079,15 @@ module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url
|
|
|
17116
17079
|
module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
17117
17080
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
17118
17081
|
goog.dom.safe = {};
|
|
17119
|
-
goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
|
|
17120
17082
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
17121
17083
|
node.insertAdjacentHTML(position, module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html));
|
|
17122
17084
|
};
|
|
17123
|
-
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0
|
|
17124
|
-
goog.dom.safe.isInnerHtmlCleanupRecursive_ = goog.functions.cacheReturnValue(function() {
|
|
17125
|
-
if (goog.DEBUG && typeof document === "undefined") {
|
|
17126
|
-
return !1;
|
|
17127
|
-
}
|
|
17128
|
-
var div = document.createElement("div"), childDiv = document.createElement("div");
|
|
17129
|
-
childDiv.appendChild(document.createElement("div"));
|
|
17130
|
-
div.appendChild(childDiv);
|
|
17131
|
-
if (goog.DEBUG && !div.firstChild) {
|
|
17132
|
-
return !1;
|
|
17133
|
-
}
|
|
17134
|
-
var innerChild = div.firstChild.firstChild;
|
|
17135
|
-
div.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY);
|
|
17136
|
-
return !innerChild.parentElement;
|
|
17137
|
-
});
|
|
17138
|
-
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
|
|
17139
|
-
if (goog.dom.safe.isInnerHtmlCleanupRecursive_()) {
|
|
17140
|
-
for (; elem.lastChild;) {
|
|
17141
|
-
elem.removeChild(elem.lastChild);
|
|
17142
|
-
}
|
|
17143
|
-
}
|
|
17144
|
-
elem.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
|
|
17145
|
-
};
|
|
17085
|
+
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0};
|
|
17146
17086
|
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
17147
17087
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
17148
17088
|
throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + elem.tagName + ".");
|
|
17149
17089
|
}
|
|
17150
|
-
|
|
17090
|
+
elem.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
|
|
17151
17091
|
};
|
|
17152
17092
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
17153
17093
|
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
@@ -19133,6 +19073,7 @@ safevalues.appendParams = module$contents$safevalues$builders$resource_url_build
|
|
|
19133
19073
|
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19134
19074
|
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19135
19075
|
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19076
|
+
safevalues.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
19136
19077
|
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19137
19078
|
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19138
19079
|
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
@@ -19171,7 +19112,7 @@ safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwra
|
|
|
19171
19112
|
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19172
19113
|
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19173
19114
|
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19174
|
-
safevalues.SafeStyleSheet = module$
|
|
19115
|
+
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
19175
19116
|
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19176
19117
|
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19177
19118
|
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
@@ -19890,7 +19831,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19890
19831
|
ee.apiclient = {};
|
|
19891
19832
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19892
19833
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19893
|
-
ee.apiclient.API_CLIENT_VERSION = "0.
|
|
19834
|
+
ee.apiclient.API_CLIENT_VERSION = "1.0.0";
|
|
19894
19835
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19895
19836
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19896
19837
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -20188,8 +20129,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
20188
20129
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
20189
20130
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
20190
20131
|
method = method || "POST";
|
|
20191
|
-
var headers = {"Content-Type":contentType}, version = "0.
|
|
20192
|
-
version === "0.
|
|
20132
|
+
var headers = {"Content-Type":contentType}, version = "1.0.0";
|
|
20133
|
+
version === "1.0.0" && (version = "latest");
|
|
20193
20134
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
20194
20135
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
20195
20136
|
if (authToken != null) {
|
|
@@ -27718,29 +27659,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27718
27659
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27719
27660
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27720
27661
|
(function() {
|
|
27721
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.
|
|
27722
|
-
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description
|
|
27723
|
-
"
|
|
27724
|
-
"
|
|
27725
|
-
|
|
27726
|
-
["
|
|
27727
|
-
"
|
|
27728
|
-
["
|
|
27729
|
-
"
|
|
27730
|
-
[
|
|
27731
|
-
["
|
|
27732
|
-
"
|
|
27733
|
-
|
|
27734
|
-
[
|
|
27735
|
-
|
|
27736
|
-
|
|
27737
|
-
ee.
|
|
27738
|
-
ee.data.
|
|
27739
|
-
ee.
|
|
27740
|
-
ee.
|
|
27741
|
-
ee.
|
|
27742
|
-
ee.
|
|
27743
|
-
ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27662
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.table.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.map ee.Collection.prototype.iterate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.startProcessing ee.data.makeThumbUrl ee.data.setAssetAcl ee.data.authenticateViaOauth ee.data.renameAsset ee.data.getMapId ee.data.listAssets ee.data.getTaskList ee.data.setAssetProperties ee.data.copyAsset ee.data.authenticate ee.data.getTableDownloadId ee.data.getTileUrl ee.data.makeTableDownloadUrl ee.data.listBuckets ee.data.getTaskListWithLimit ee.data.listOperations ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.startTableIngestion ee.data.getDownloadId ee.data.getWorkloadTag ee.data.authenticateViaPopup ee.data.getAssetAcl ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.getFeatureViewTilesKey ee.data.listImages ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.createAssetHome ee.data.newTaskId ee.data.setWorkloadTag ee.data.computeValue ee.data.createAsset ee.data.getInfo ee.data.getThumbId ee.data.setDefaultWorkloadTag ee.data.cancelTask ee.data.getVideoThumbId ee.data.resetWorkloadTag ee.data.getTaskStatus ee.data.updateAsset ee.data.updateTask ee.data.getFilmstripThumbId ee.data.getList ee.data.startIngestion ee.data.createFolder ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.TILE_SIZE ee.initialize ee.reset ee.call ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.Filter.bounds ee.Filter.and ee.Filter.prototype.not ee.Filter.gt ee.Filter.neq ee.Filter.lt ee.Filter.inList ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.metadata ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.LinearRing ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.prototype.toGeoJSONString ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.MultiLineString ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry.prototype.toGeoJSON ee.Image.rgb ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.select ee.Image.prototype.getThumbURL ee.Image ee.Image.prototype.getMap ee.Image.prototype.expression ee.Image.prototype.getThumbId ee.Image.prototype.getDownloadURL ee.Image.prototype.clip ee.Image.prototype.rename ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
27663
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
27664
|
+
"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(" "),
|
|
27665
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "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(" "),
|
|
27666
|
+
"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(" "), ["geometry"], ["start", "opt_end"], ["name", "operator", "value"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["filter"],
|
|
27667
|
+
["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["legacy"], ["func", "var_args"], ["callback"], ["opt_callback"], ["taskId", "params", "opt_callback"], ["id"], ["assetId", "aclUpdate", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["sourceId", "destinationId", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["opt_callback"], ["assetId", "properties", "opt_callback"], ["sourceId",
|
|
27668
|
+
"destinationId", "opt_overwrite", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["id"], ["project", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["rootId", "opt_callback"], ["taskId", "request", "opt_callback"], ["params", "opt_callback"], [], ["opt_success", "opt_error"], ["assetId", "opt_callback"], ["operationName", "opt_callback"],
|
|
27669
|
+
["id"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"], ["id", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["tag"], ["obj", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["id", "opt_callback"], ["params", "opt_callback"],
|
|
27670
|
+
["tag"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["path", "opt_force", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
27671
|
+
[], ["func", "var_args"], [], [], ["func", "namedArgs"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["args", "opt_column"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["geometry", "opt_errorMargin"], ["var_args"], [], ["name", "value"],
|
|
27672
|
+
["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], ["name", "value"], ["name", "value"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["name", "operator", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south", "east", "north"], ["coords", "opt_proj"], [], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27673
|
+
["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["r", "g", "b"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["opt_args"], ["opt_visParams", "opt_callback"], ["expression", "opt_map"], ["params",
|
|
27674
|
+
"opt_callback"], ["params", "opt_callback"], ["geometry"], ["var_args"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["params", "opt_callback"], ["args"], [], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["string"], []];
|
|
27675
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toAsset,
|
|
27676
|
+
module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterDate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filter, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.ComputedObject.prototype.serialize,
|
|
27677
|
+
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.data.startProcessing, ee.data.makeThumbUrl, ee.data.setAssetAcl, ee.data.authenticateViaOauth, ee.data.renameAsset, ee.data.getMapId, ee.data.listAssets, ee.data.getTaskList, ee.data.setAssetProperties, ee.data.copyAsset, ee.data.authenticate, ee.data.getTableDownloadId, ee.data.getTileUrl, ee.data.makeTableDownloadUrl, ee.data.listBuckets, ee.data.getTaskListWithLimit, ee.data.listOperations,
|
|
27678
|
+
ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.startTableIngestion, ee.data.getDownloadId, ee.data.getWorkloadTag, ee.data.authenticateViaPopup, ee.data.getAssetAcl, ee.data.cancelOperation, ee.data.makeDownloadUrl, ee.data.getFeatureViewTilesKey, ee.data.listImages, ee.data.listFeatures, ee.data.getAssetRoots, ee.data.getAsset, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.createAssetHome, ee.data.newTaskId, ee.data.setWorkloadTag, ee.data.computeValue, ee.data.createAsset,
|
|
27679
|
+
ee.data.getInfo, ee.data.getThumbId, ee.data.setDefaultWorkloadTag, ee.data.cancelTask, ee.data.getVideoThumbId, ee.data.resetWorkloadTag, ee.data.getTaskStatus, ee.data.updateAsset, ee.data.updateTask, ee.data.getFilmstripThumbId, ee.data.getList, ee.data.startIngestion, ee.data.createFolder, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.TILE_SIZE, ee.initialize, ee.reset, ee.call, ee.Algorithms, ee.InitState,
|
|
27680
|
+
ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.Filter.bounds, ee.Filter.and, ee.Filter.prototype.not, ee.Filter.gt, ee.Filter.neq, ee.Filter.lt, ee.Filter.inList,
|
|
27681
|
+
ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.metadata, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.LinearRing, ee.Geometry.BBox, ee.Geometry.MultiPoint, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.MultiLineString, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry.prototype.toGeoJSON, ee.Image.rgb,
|
|
27682
|
+
ee.Image.cat, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.select, ee.Image.prototype.getThumbURL, ee.Image, ee.Image.prototype.getMap, ee.Image.prototype.expression, ee.Image.prototype.getThumbId, ee.Image.prototype.getDownloadURL, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getInfo,
|
|
27683
|
+
ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27744
27684
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27745
27685
|
});
|
|
27746
27686
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|